quartz: Fix discontinuities in wave parser.
[wine] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.59.
4 #
5 # Report bugs to <wine-devel@winehq.org>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
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+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if 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
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57   as_unset=unset
58 else
59   as_unset=false
60 fi
61
62
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.)
68 as_nl='
69 '
70 IFS=" ""        $as_nl"
71
72 # Find who we are.  Look in the path if we contain no directory separator.
73 case $0 in
74   *[\\/]* ) as_myself=$0 ;;
75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78   IFS=$as_save_IFS
79   test -z "$as_dir" && as_dir=.
80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84      ;;
85 esac
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.
88 if test "x$as_myself" = x; then
89   as_myself=$0
90 fi
91 if 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; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for 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
109 do
110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111     eval $as_var=C; export $as_var
112   else
113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114   fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
120   as_expr=expr
121 else
122   as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126   as_basename=basename
127 else
128   as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135          X"$0" : 'X\(//\)$' \| \
136          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
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'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157   if (eval ":") 2>/dev/null; then
158   as_have_required=yes
159 else
160   as_have_required=no
161 fi
162
163   if test $as_have_required = yes &&     (eval ":
164 (as_func_return () {
165   (exit \$1)
166 }
167 as_func_success () {
168   as_func_return 0
169 }
170 as_func_failure () {
171   as_func_return 1
172 }
173 as_func_ret_success () {
174   return 0
175 }
176 as_func_ret_failure () {
177   return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182   :
183 else
184   exitcode=1
185   echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189   exitcode=1
190   echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194   :
195 else
196   exitcode=1
197   echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201   exitcode=1
202   echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206   :
207 else
208   exitcode=1
209   echo positional parameters were not saved.
210 fi
211
212 test \$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   :
221 else
222   as_candidate_shells=
223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226   IFS=$as_save_IFS
227   test -z "$as_dir" && as_dir=.
228   case $as_dir in
229          /*)
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
234 done
235 IFS=$as_save_IFS
236
237
238       for as_shell in $as_candidate_shells $SHELL; do
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
242 if 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
249 else
250   case `(set -o) 2>/dev/null` in
251   *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260   CONFIG_SHELL=$as_shell
261                as_have_required=yes
262                if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if 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
270 else
271   case `(set -o) 2>/dev/null` in
272   *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280   (exit $1)
281 }
282 as_func_success () {
283   as_func_return 0
284 }
285 as_func_failure () {
286   as_func_return 1
287 }
288 as_func_ret_success () {
289   return 0
290 }
291 as_func_ret_failure () {
292   return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297   :
298 else
299   exitcode=1
300   echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304   exitcode=1
305   echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309   :
310 else
311   exitcode=1
312   echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316   exitcode=1
317   echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321   :
322 else
323   exitcode=1
324   echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330   as_lineno_1=$LINENO
331   as_lineno_2=$LINENO
332   test "x$as_lineno_1" != "x$as_lineno_2" &&
333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337   break
338 fi
339
340 fi
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+"$@"}
350 fi
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; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369   (exit \$1)
370 }
371 as_func_success () {
372   as_func_return 0
373 }
374 as_func_failure () {
375   as_func_return 1
376 }
377 as_func_ret_success () {
378   return 0
379 }
380 as_func_ret_failure () {
381   return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386   :
387 else
388   exitcode=1
389   echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393   exitcode=1
394   echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398   :
399 else
400   exitcode=1
401   echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405   exitcode=1
406   echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410   :
411 else
412   exitcode=1
413   echo positional parameters were not saved.
414 fi
415
416 test \$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" || {
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
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.
437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
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 |
444     sed '
445       s/[$]LINENO.*/&-/
446       t lineno
447       b
448       :lineno
449       N
450       :loop
451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452       t loop
453       s/-\n.*//
454     ' >$as_me.lineno &&
455   chmod +x "$as_me.lineno" ||
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
461   # original and so on.  Autoconf is especially sensitive to this).
462   . "./$as_me.lineno"
463   # Exit status is that of the last command.
464   exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469   as_dirname=dirname
470 else
471   as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `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';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
487   as_expr=expr
488 else
489   as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494   rm -f conf$$.dir/conf$$.file
495 else
496   rm -f conf$$.dir
497   mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
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 ||
507     as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509   as_ln_s=ln
510 else
511   as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517   as_mkdir_p=:
518 else
519   test -d ./-p && rmdir ./-p
520   as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524   as_test_x='test -x'
525 else
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   '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
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.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.59'
578 PACKAGE_STRING='Wine 0.9.59'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
580
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 #  include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 #  include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
617
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 MAINTAINER_MODE
656 build
657 build_cpu
658 build_vendor
659 build_os
660 host
661 host_cpu
662 host_vendor
663 host_os
664 WIN16_FILES
665 WIN16_INSTALL
666 SET_MAKE
667 CC
668 CFLAGS
669 LDFLAGS
670 CPPFLAGS
671 ac_ct_CC
672 EXEEXT
673 OBJEXT
674 CXX
675 CXXFLAGS
676 ac_ct_CXX
677 CPPBIN
678 TOOLSDIR
679 XMKMF
680 CPP
681 X_CFLAGS
682 X_PRE_LIBS
683 X_LIBS
684 X_EXTRA_LIBS
685 FLEX
686 BISON
687 AS
688 ac_ct_AS
689 LD
690 AR
691 ARFLAGS
692 RANLIB
693 STRIP
694 WINDRES
695 LN_S
696 LN
697 GREP
698 EGREP
699 LDCONFIG
700 INSTALL_PROGRAM
701 INSTALL_SCRIPT
702 INSTALL_DATA
703 LINT
704 LINTFLAGS
705 FONTFORGE
706 PKG_CONFIG
707 RSVG
708 ICOTOOL
709 PRELINK
710 LIBPTHREAD
711 XLIB
712 XFILES
713 OPENGLFILES
714 GLU32FILES
715 OPENGL_LIBS
716 QUARTZFILES
717 DLLEXT
718 DLLFLAGS
719 LDSHARED
720 LDDLLFLAGS
721 LIBEXT
722 IMPLIBEXT
723 LDRPATH_INSTALL
724 LDRPATH_LOCAL
725 LDD
726 DLLTOOL
727 DLLWRAP
728 MINGWAR
729 SECURITYLIB
730 COREFOUNDATIONLIB
731 IOKITLIB
732 LDEXECFLAGS
733 DISKARBITRATIONLIB
734 COREAUDIO
735 CARBONLIB
736 CROSSTEST
737 CROSSCC
738 CROSSWINDRES
739 NASLIBS
740 XML2LIBS
741 XML2INCL
742 XSLTLIBS
743 XSLTINCL
744 HALINCL
745 sane_devel
746 SANEINCL
747 gphoto2_devel
748 gphoto2port_devel
749 GPHOTO2LIBS
750 GPHOTO2INCL
751 RESOLVLIBS
752 LCMSLIBS
753 LDAPLIBS
754 ft_devel
755 FREETYPELIBS
756 FREETYPEINCL
757 FONTSSUBDIRS
758 ESDCONFIG
759 ESDLIBS
760 ESDINCL
761 ALSALIBS
762 AUDIOIOLIBS
763 FONTCONFIGINCL
764 EXTRACFLAGS
765 BUILTINFLAG
766 LDPATH
767 CRTLIBS
768 SOCKETLIBS
769 MAIN_BINARY
770 EXTRA_BINARIES
771 LIBDL
772 LIBPOLL
773 DEPENDENCIES
774 LIBOBJS
775 LTLIBOBJS'
776 ac_subst_files='MAKE_RULES
777 MAKE_DLL_RULES
778 MAKE_IMPLIB_RULES
779 MAKE_TEST_RULES
780 MAKE_PROG_RULES'
781       ac_precious_vars='build_alias
782 host_alias
783 target_alias
784 CC
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
789 CXX
790 CXXFLAGS
791 CCC
792 XMKMF
793 CPP'
794
795
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
815
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
841
842 ac_prev=
843 ac_dashdash=
844 for ac_option
845 do
846   # If the previous option needs an argument, assign it.
847   if test -n "$ac_prev"; then
848     eval $ac_prev=\$ac_option
849     ac_prev=
850     continue
851   fi
852
853   case $ac_option in
854   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855   *)    ac_optarg=yes ;;
856   esac
857
858   # Accept the important Cygnus configure options, so we can diagnose typos.
859
860   case $ac_dashdash$ac_option in
861   --)
862     ac_dashdash=yes ;;
863
864   -bindir | --bindir | --bindi | --bind | --bin | --bi)
865     ac_prev=bindir ;;
866   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867     bindir=$ac_optarg ;;
868
869   -build | --build | --buil | --bui | --bu)
870     ac_prev=build_alias ;;
871   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872     build_alias=$ac_optarg ;;
873
874   -cache-file | --cache-file | --cache-fil | --cache-fi \
875   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876     ac_prev=cache_file ;;
877   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879     cache_file=$ac_optarg ;;
880
881   --config-cache | -C)
882     cache_file=config.cache ;;
883
884   -datadir | --datadir | --datadi | --datad)
885     ac_prev=datadir ;;
886   -datadir=* | --datadir=* | --datadi=* | --datad=*)
887     datadir=$ac_optarg ;;
888
889   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890   | --dataroo | --dataro | --datar)
891     ac_prev=datarootdir ;;
892   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894     datarootdir=$ac_optarg ;;
895
896   -disable-* | --disable-*)
897     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898     # Reject names that are not valid shell variable names.
899     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901    { (exit 1); exit 1; }; }
902     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903     eval enable_$ac_feature=no ;;
904
905   -docdir | --docdir | --docdi | --doc | --do)
906     ac_prev=docdir ;;
907   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908     docdir=$ac_optarg ;;
909
910   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911     ac_prev=dvidir ;;
912   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913     dvidir=$ac_optarg ;;
914
915   -enable-* | --enable-*)
916     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917     # Reject names that are not valid shell variable names.
918     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920    { (exit 1); exit 1; }; }
921     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922     eval enable_$ac_feature=\$ac_optarg ;;
923
924   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926   | --exec | --exe | --ex)
927     ac_prev=exec_prefix ;;
928   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930   | --exec=* | --exe=* | --ex=*)
931     exec_prefix=$ac_optarg ;;
932
933   -gas | --gas | --ga | --g)
934     # Obsolete; use --with-gas.
935     with_gas=yes ;;
936
937   -help | --help | --hel | --he | -h)
938     ac_init_help=long ;;
939   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940     ac_init_help=recursive ;;
941   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942     ac_init_help=short ;;
943
944   -host | --host | --hos | --ho)
945     ac_prev=host_alias ;;
946   -host=* | --host=* | --hos=* | --ho=*)
947     host_alias=$ac_optarg ;;
948
949   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950     ac_prev=htmldir ;;
951   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952   | --ht=*)
953     htmldir=$ac_optarg ;;
954
955   -includedir | --includedir | --includedi | --included | --include \
956   | --includ | --inclu | --incl | --inc)
957     ac_prev=includedir ;;
958   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959   | --includ=* | --inclu=* | --incl=* | --inc=*)
960     includedir=$ac_optarg ;;
961
962   -infodir | --infodir | --infodi | --infod | --info | --inf)
963     ac_prev=infodir ;;
964   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965     infodir=$ac_optarg ;;
966
967   -libdir | --libdir | --libdi | --libd)
968     ac_prev=libdir ;;
969   -libdir=* | --libdir=* | --libdi=* | --libd=*)
970     libdir=$ac_optarg ;;
971
972   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973   | --libexe | --libex | --libe)
974     ac_prev=libexecdir ;;
975   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976   | --libexe=* | --libex=* | --libe=*)
977     libexecdir=$ac_optarg ;;
978
979   -localedir | --localedir | --localedi | --localed | --locale)
980     ac_prev=localedir ;;
981   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982     localedir=$ac_optarg ;;
983
984   -localstatedir | --localstatedir | --localstatedi | --localstated \
985   | --localstate | --localstat | --localsta | --localst | --locals)
986     ac_prev=localstatedir ;;
987   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989     localstatedir=$ac_optarg ;;
990
991   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992     ac_prev=mandir ;;
993   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994     mandir=$ac_optarg ;;
995
996   -nfp | --nfp | --nf)
997     # Obsolete; use --without-fp.
998     with_fp=no ;;
999
1000   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001   | --no-cr | --no-c | -n)
1002     no_create=yes ;;
1003
1004   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006     no_recursion=yes ;;
1007
1008   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010   | --oldin | --oldi | --old | --ol | --o)
1011     ac_prev=oldincludedir ;;
1012   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015     oldincludedir=$ac_optarg ;;
1016
1017   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018     ac_prev=prefix ;;
1019   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020     prefix=$ac_optarg ;;
1021
1022   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023   | --program-pre | --program-pr | --program-p)
1024     ac_prev=program_prefix ;;
1025   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027     program_prefix=$ac_optarg ;;
1028
1029   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030   | --program-suf | --program-su | --program-s)
1031     ac_prev=program_suffix ;;
1032   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034     program_suffix=$ac_optarg ;;
1035
1036   -program-transform-name | --program-transform-name \
1037   | --program-transform-nam | --program-transform-na \
1038   | --program-transform-n | --program-transform- \
1039   | --program-transform | --program-transfor \
1040   | --program-transfo | --program-transf \
1041   | --program-trans | --program-tran \
1042   | --progr-tra | --program-tr | --program-t)
1043     ac_prev=program_transform_name ;;
1044   -program-transform-name=* | --program-transform-name=* \
1045   | --program-transform-nam=* | --program-transform-na=* \
1046   | --program-transform-n=* | --program-transform-=* \
1047   | --program-transform=* | --program-transfor=* \
1048   | --program-transfo=* | --program-transf=* \
1049   | --program-trans=* | --program-tran=* \
1050   | --progr-tra=* | --program-tr=* | --program-t=*)
1051     program_transform_name=$ac_optarg ;;
1052
1053   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054     ac_prev=pdfdir ;;
1055   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056     pdfdir=$ac_optarg ;;
1057
1058   -psdir | --psdir | --psdi | --psd | --ps)
1059     ac_prev=psdir ;;
1060   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061     psdir=$ac_optarg ;;
1062
1063   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064   | -silent | --silent | --silen | --sile | --sil)
1065     silent=yes ;;
1066
1067   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068     ac_prev=sbindir ;;
1069   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070   | --sbi=* | --sb=*)
1071     sbindir=$ac_optarg ;;
1072
1073   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075   | --sharedst | --shareds | --shared | --share | --shar \
1076   | --sha | --sh)
1077     ac_prev=sharedstatedir ;;
1078   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081   | --sha=* | --sh=*)
1082     sharedstatedir=$ac_optarg ;;
1083
1084   -site | --site | --sit)
1085     ac_prev=site ;;
1086   -site=* | --site=* | --sit=*)
1087     site=$ac_optarg ;;
1088
1089   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090     ac_prev=srcdir ;;
1091   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092     srcdir=$ac_optarg ;;
1093
1094   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095   | --syscon | --sysco | --sysc | --sys | --sy)
1096     ac_prev=sysconfdir ;;
1097   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099     sysconfdir=$ac_optarg ;;
1100
1101   -target | --target | --targe | --targ | --tar | --ta | --t)
1102     ac_prev=target_alias ;;
1103   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104     target_alias=$ac_optarg ;;
1105
1106   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107     verbose=yes ;;
1108
1109   -version | --version | --versio | --versi | --vers | -V)
1110     ac_init_version=: ;;
1111
1112   -with-* | --with-*)
1113     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114     # Reject names that are not valid shell variable names.
1115     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116       { echo "$as_me: error: invalid package name: $ac_package" >&2
1117    { (exit 1); exit 1; }; }
1118     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119     eval with_$ac_package=\$ac_optarg ;;
1120
1121   -without-* | --without-*)
1122     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123     # Reject names that are not valid shell variable names.
1124     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125       { echo "$as_me: error: invalid package name: $ac_package" >&2
1126    { (exit 1); exit 1; }; }
1127     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128     eval with_$ac_package=no ;;
1129
1130   --x)
1131     # Obsolete; use --with-x.
1132     with_x=yes ;;
1133
1134   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135   | --x-incl | --x-inc | --x-in | --x-i)
1136     ac_prev=x_includes ;;
1137   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139     x_includes=$ac_optarg ;;
1140
1141   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143     ac_prev=x_libraries ;;
1144   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146     x_libraries=$ac_optarg ;;
1147
1148   -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150    { (exit 1); exit 1; }; }
1151     ;;
1152
1153   *=*)
1154     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155     # Reject names that are not valid shell variable names.
1156     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158    { (exit 1); exit 1; }; }
1159     eval $ac_envvar=\$ac_optarg
1160     export $ac_envvar ;;
1161
1162   *)
1163     # FIXME: should be removed in autoconf 3.0.
1164     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168     ;;
1169
1170   esac
1171 done
1172
1173 if test -n "$ac_prev"; then
1174   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175   { echo "$as_me: error: missing argument to $ac_option" >&2
1176    { (exit 1); exit 1; }; }
1177 fi
1178
1179 # Be sure to have absolute directory names.
1180 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181                 datadir sysconfdir sharedstatedir localstatedir includedir \
1182                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183                 libdir localedir mandir
1184 do
1185   eval ac_val=\$$ac_var
1186   case $ac_val in
1187     [\\/$]* | ?:[\\/]* )  continue;;
1188     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189   esac
1190   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191    { (exit 1); exit 1; }; }
1192 done
1193
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1200
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203   if test "x$build_alias" = x; then
1204     cross_compiling=maybe
1205     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206     If a cross compiler is detected then cross compile mode will be used." >&2
1207   elif test "x$build_alias" != "x$host_alias"; then
1208     cross_compiling=yes
1209   fi
1210 fi
1211
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1214
1215 test "$silent" = yes && exec 6>/dev/null
1216
1217
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221   { echo "$as_me: error: Working directory cannot be determined" >&2
1222    { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224   { echo "$as_me: error: pwd does not report name of working directory" >&2
1225    { (exit 1); exit 1; }; }
1226
1227
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230   ac_srcdir_defaulted=yes
1231   # Try the directory containing this script, then the parent directory.
1232   ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234          X"$0" : 'X\(//\)[^/]' \| \
1235          X"$0" : 'X\(//\)$' \| \
1236          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239             s//\1/
1240             q
1241           }
1242           /^X\(\/\/\)[^/].*/{
1243             s//\1/
1244             q
1245           }
1246           /^X\(\/\/\)$/{
1247             s//\1/
1248             q
1249           }
1250           /^X\(\/\).*/{
1251             s//\1/
1252             q
1253           }
1254           s/.*/./; q'`
1255   srcdir=$ac_confdir
1256   if test ! -r "$srcdir/$ac_unique_file"; then
1257     srcdir=..
1258   fi
1259 else
1260   ac_srcdir_defaulted=no
1261 fi
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265    { (exit 1); exit 1; }; }
1266 fi
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270    { (exit 1); exit 1; }; }
1271         pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274   srcdir=.
1275 fi
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284   eval ac_env_${ac_var}_value=\$${ac_var}
1285   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1288
1289 #
1290 # Report the --help message.
1291 #
1292 if test "$ac_init_help" = "long"; then
1293   # Omit some internal or obsolete options to make the list less imposing.
1294   # This message is too long to be a string in the A/UX 3.1 sh.
1295   cat <<_ACEOF
1296 \`configure' configures Wine 0.9.59 to adapt to many kinds of systems.
1297
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1299
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE.  See below for descriptions of some of the useful variables.
1302
1303 Defaults for the options are specified in brackets.
1304
1305 Configuration:
1306   -h, --help              display this help and exit
1307       --help=short        display options specific to this package
1308       --help=recursive    display the short help of all the included packages
1309   -V, --version           display version information and exit
1310   -q, --quiet, --silent   do not print \`checking...' messages
1311       --cache-file=FILE   cache test results in FILE [disabled]
1312   -C, --config-cache      alias for \`--cache-file=config.cache'
1313   -n, --no-create         do not create output files
1314       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1315
1316 Installation directories:
1317   --prefix=PREFIX         install architecture-independent files in PREFIX
1318                           [$ac_default_prefix]
1319   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1320                           [PREFIX]
1321
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1326
1327 For better control, use the options below.
1328
1329 Fine tuning of the installation directories:
1330   --bindir=DIR           user executables [EPREFIX/bin]
1331   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1332   --libexecdir=DIR       program executables [EPREFIX/libexec]
1333   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1334   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1335   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1336   --libdir=DIR           object code libraries [EPREFIX/lib]
1337   --includedir=DIR       C header files [PREFIX/include]
1338   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1339   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1340   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1341   --infodir=DIR          info documentation [DATAROOTDIR/info]
1342   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1343   --mandir=DIR           man documentation [DATAROOTDIR/man]
1344   --docdir=DIR           documentation root [DATAROOTDIR/doc/wine]
1345   --htmldir=DIR          html documentation [DOCDIR]
1346   --dvidir=DIR           dvi documentation [DOCDIR]
1347   --pdfdir=DIR           pdf documentation [DOCDIR]
1348   --psdir=DIR            ps documentation [DOCDIR]
1349 _ACEOF
1350
1351   cat <<\_ACEOF
1352
1353 X features:
1354   --x-includes=DIR    X include files are in DIR
1355   --x-libraries=DIR   X library files are in DIR
1356
1357 System types:
1358   --build=BUILD     configure for building on BUILD [guessed]
1359   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1361 fi
1362
1363 if test -n "$ac_init_help"; then
1364   case $ac_init_help in
1365      short | recursive ) echo "Configuration of Wine 0.9.59:";;
1366    esac
1367   cat <<\_ACEOF
1368
1369 Optional Features:
1370   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1371   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1372   --disable-win16         do not include Win16 support
1373   --enable-win64          build a Win64 emulator on AMD64 (won't run Win32
1374                           binaries)
1375   --enable-maintainer-mode
1376                           enable maintainer-specific build rules
1377
1378 Optional Packages:
1379   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1380   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1381   --without-alsa          do not use the Alsa sound support
1382   --without-audioio       do not use the AudioIO sound support
1383   --without-capi          do not use CAPI (ISDN support)
1384   --without-cms           do not use CMS (color management support)
1385   --without-coreaudio     do not use the CoreAudio sound support
1386   --without-cups          do not use CUPS
1387   --without-curses        do not use (n)curses
1388   --without-esd           do not use the EsounD sound support
1389   --without-fontconfig    do not use fontconfig
1390   --without-gphoto        do not use gphoto (Digital Camera support)
1391   --without-hal           do not use HAL (dynamic device support)
1392   --without-jack          do not use the Jack sound support
1393   --without-jpeg          do not use JPEG
1394   --without-ldap          do not use LDAP
1395   --without-nas           do not use the NAS sound support
1396   --without-opengl        do not use OpenGL
1397   --without-openssl       do not use OpenSSL
1398   --without-oss           do not use the OSS sound support
1399   --without-png           do not use PNG
1400   --without-sane          do not use SANE (scanner support)
1401   --without-xcomposite    do not use the Xcomposite extension
1402   --without-xcursor       do not use the Xcursor extension
1403   --without-xinerama      do not use Xinerama (multi-monitor support)
1404   --without-xinput        do not use the Xinput extension
1405   --without-xml           do not use XML
1406   --without-xrandr        do not use Xrandr (resolution changes)
1407   --without-xrender       do not use the Xrender extension
1408   --without-xshape        do not use the Xshape extension
1409   --without-xshm          do not use XShm (shared memory extension)
1410   --without-xslt          do not use XSLT
1411   --without-xvidmode      do not use XFree video mode extension
1412   --with-wine-tools=DIR   use Wine tools from directory DIR
1413   --with-x                use the X Window System
1414
1415 Some influential environment variables:
1416   CC          C compiler command
1417   CFLAGS      C compiler flags
1418   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1419               nonstandard directory <lib dir>
1420   LIBS        libraries to pass to the linker, e.g. -l<library>
1421   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1422               you have headers in a nonstandard directory <include dir>
1423   CXX         C++ compiler command
1424   CXXFLAGS    C++ compiler flags
1425   XMKMF       Path to xmkmf, Makefile generator for X Window System
1426   CPP         C preprocessor
1427
1428 Use these variables to override the choices made by `configure' or to help
1429 it to find libraries and programs with nonstandard names/locations.
1430
1431 Report bugs to <wine-devel@winehq.org>.
1432 _ACEOF
1433 ac_status=$?
1434 fi
1435
1436 if test "$ac_init_help" = "recursive"; then
1437   # If there are subdirs, report their specific --help.
1438   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1439     test -d "$ac_dir" || continue
1440     ac_builddir=.
1441
1442 case "$ac_dir" in
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 *)
1445   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1446   # A ".." for each directory in $ac_dir_suffix.
1447   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1448   case $ac_top_builddir_sub in
1449   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1451   esac ;;
1452 esac
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1457
1458 case $srcdir in
1459   .)  # We are building in place.
1460     ac_srcdir=.
1461     ac_top_srcdir=$ac_top_builddir_sub
1462     ac_abs_top_srcdir=$ac_pwd ;;
1463   [\\/]* | ?:[\\/]* )  # Absolute name.
1464     ac_srcdir=$srcdir$ac_dir_suffix;
1465     ac_top_srcdir=$srcdir
1466     ac_abs_top_srcdir=$srcdir ;;
1467   *) # Relative name.
1468     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469     ac_top_srcdir=$ac_top_build_prefix$srcdir
1470     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1471 esac
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1473
1474     cd "$ac_dir" || { ac_status=$?; continue; }
1475     # Check for guested configure.
1476     if test -f "$ac_srcdir/configure.gnu"; then
1477       echo &&
1478       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479     elif test -f "$ac_srcdir/configure"; then
1480       echo &&
1481       $SHELL "$ac_srcdir/configure" --help=recursive
1482     else
1483       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1484     fi || ac_status=$?
1485     cd "$ac_pwd" || { ac_status=$?; break; }
1486   done
1487 fi
1488
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1491   cat <<\_ACEOF
1492 Wine configure 0.9.59
1493 generated by GNU Autoconf 2.61
1494
1495 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1496 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1497 This configure script is free software; the Free Software Foundation
1498 gives unlimited permission to copy, distribute and modify it.
1499 _ACEOF
1500   exit
1501 fi
1502 cat >config.log <<_ACEOF
1503 This file contains any messages produced by compilers while
1504 running configure, to aid debugging if configure makes a mistake.
1505
1506 It was created by Wine $as_me 0.9.59, which was
1507 generated by GNU Autoconf 2.61.  Invocation command line was
1508
1509   $ $0 $@
1510
1511 _ACEOF
1512 exec 5>>config.log
1513 {
1514 cat <<_ASUNAME
1515 ## --------- ##
1516 ## Platform. ##
1517 ## --------- ##
1518
1519 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1520 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1521 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1522 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1523 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1524
1525 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1526 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1527
1528 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1529 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1530 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1531 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1532 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1533 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1534 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1535
1536 _ASUNAME
1537
1538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1539 for as_dir in $PATH
1540 do
1541   IFS=$as_save_IFS
1542   test -z "$as_dir" && as_dir=.
1543   echo "PATH: $as_dir"
1544 done
1545 IFS=$as_save_IFS
1546
1547 } >&5
1548
1549 cat >&5 <<_ACEOF
1550
1551
1552 ## ----------- ##
1553 ## Core tests. ##
1554 ## ----------- ##
1555
1556 _ACEOF
1557
1558
1559 # Keep a trace of the command line.
1560 # Strip out --no-create and --no-recursion so they do not pile up.
1561 # Strip out --silent because we don't want to record it for future runs.
1562 # Also quote any args containing shell meta-characters.
1563 # Make two passes to allow for proper duplicate-argument suppression.
1564 ac_configure_args=
1565 ac_configure_args0=
1566 ac_configure_args1=
1567 ac_must_keep_next=false
1568 for ac_pass in 1 2
1569 do
1570   for ac_arg
1571   do
1572     case $ac_arg in
1573     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1574     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1575     | -silent | --silent | --silen | --sile | --sil)
1576       continue ;;
1577     *\'*)
1578       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1579     esac
1580     case $ac_pass in
1581     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1582     2)
1583       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1584       if test $ac_must_keep_next = true; then
1585         ac_must_keep_next=false # Got value, back to normal.
1586       else
1587         case $ac_arg in
1588           *=* | --config-cache | -C | -disable-* | --disable-* \
1589           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1590           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1591           | -with-* | --with-* | -without-* | --without-* | --x)
1592             case "$ac_configure_args0 " in
1593               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1594             esac
1595             ;;
1596           -* ) ac_must_keep_next=true ;;
1597         esac
1598       fi
1599       ac_configure_args="$ac_configure_args '$ac_arg'"
1600       ;;
1601     esac
1602   done
1603 done
1604 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1605 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1606
1607 # When interrupted or exit'd, cleanup temporary files, and complete
1608 # config.log.  We remove comments because anyway the quotes in there
1609 # would cause problems or look ugly.
1610 # WARNING: Use '\'' to represent an apostrophe within the trap.
1611 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1612 trap 'exit_status=$?
1613   # Save into config.log some information that might help in debugging.
1614   {
1615     echo
1616
1617     cat <<\_ASBOX
1618 ## ---------------- ##
1619 ## Cache variables. ##
1620 ## ---------------- ##
1621 _ASBOX
1622     echo
1623     # The following way of writing the cache mishandles newlines in values,
1624 (
1625   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1626     eval ac_val=\$$ac_var
1627     case $ac_val in #(
1628     *${as_nl}*)
1629       case $ac_var in #(
1630       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1631 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1632       esac
1633       case $ac_var in #(
1634       _ | IFS | as_nl) ;; #(
1635       *) $as_unset $ac_var ;;
1636       esac ;;
1637     esac
1638   done
1639   (set) 2>&1 |
1640     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1641     *${as_nl}ac_space=\ *)
1642       sed -n \
1643         "s/'\''/'\''\\\\'\'''\''/g;
1644           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1645       ;; #(
1646     *)
1647       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1648       ;;
1649     esac |
1650     sort
1651 )
1652     echo
1653
1654     cat <<\_ASBOX
1655 ## ----------------- ##
1656 ## Output variables. ##
1657 ## ----------------- ##
1658 _ASBOX
1659     echo
1660     for ac_var in $ac_subst_vars
1661     do
1662       eval ac_val=\$$ac_var
1663       case $ac_val in
1664       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1665       esac
1666       echo "$ac_var='\''$ac_val'\''"
1667     done | sort
1668     echo
1669
1670     if test -n "$ac_subst_files"; then
1671       cat <<\_ASBOX
1672 ## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##
1675 _ASBOX
1676       echo
1677       for ac_var in $ac_subst_files
1678       do
1679         eval ac_val=\$$ac_var
1680         case $ac_val in
1681         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1682         esac
1683         echo "$ac_var='\''$ac_val'\''"
1684       done | sort
1685       echo
1686     fi
1687
1688     if test -s confdefs.h; then
1689       cat <<\_ASBOX
1690 ## ----------- ##
1691 ## confdefs.h. ##
1692 ## ----------- ##
1693 _ASBOX
1694       echo
1695       cat confdefs.h
1696       echo
1697     fi
1698     test "$ac_signal" != 0 &&
1699       echo "$as_me: caught signal $ac_signal"
1700     echo "$as_me: exit $exit_status"
1701   } >&5
1702   rm -f core *.core core.conftest.* &&
1703     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1704     exit $exit_status
1705 ' 0
1706 for ac_signal in 1 2 13 15; do
1707   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1708 done
1709 ac_signal=0
1710
1711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1712 rm -f -r conftest* confdefs.h
1713
1714 # Predefined preprocessor variables.
1715
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1718 _ACEOF
1719
1720
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1723 _ACEOF
1724
1725
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1728 _ACEOF
1729
1730
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1733 _ACEOF
1734
1735
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1738 _ACEOF
1739
1740
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer explicitly selected file to automatically selected ones.
1743 if test -n "$CONFIG_SITE"; then
1744   set x "$CONFIG_SITE"
1745 elif test "x$prefix" != xNONE; then
1746   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1747 else
1748   set x "$ac_default_prefix/share/config.site" \
1749         "$ac_default_prefix/etc/config.site"
1750 fi
1751 shift
1752 for ac_site_file
1753 do
1754   if test -r "$ac_site_file"; then
1755     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1756 echo "$as_me: loading site script $ac_site_file" >&6;}
1757     sed 's/^/| /' "$ac_site_file" >&5
1758     . "$ac_site_file"
1759   fi
1760 done
1761
1762 if test -r "$cache_file"; then
1763   # Some versions of bash will fail to source /dev/null (special
1764   # files actually), so we avoid doing that.
1765   if test -f "$cache_file"; then
1766     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1767 echo "$as_me: loading cache $cache_file" >&6;}
1768     case $cache_file in
1769       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1770       *)                      . "./$cache_file";;
1771     esac
1772   fi
1773 else
1774   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1775 echo "$as_me: creating cache $cache_file" >&6;}
1776   >$cache_file
1777 fi
1778
1779 # Check that the precious variables saved in the cache have kept the same
1780 # value.
1781 ac_cache_corrupted=false
1782 for ac_var in $ac_precious_vars; do
1783   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1784   eval ac_new_set=\$ac_env_${ac_var}_set
1785   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1786   eval ac_new_val=\$ac_env_${ac_var}_value
1787   case $ac_old_set,$ac_new_set in
1788     set,)
1789       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1790 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1791       ac_cache_corrupted=: ;;
1792     ,set)
1793       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1794 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1795       ac_cache_corrupted=: ;;
1796     ,);;
1797     *)
1798       if test "x$ac_old_val" != "x$ac_new_val"; then
1799         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1800 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1801         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1802 echo "$as_me:   former value:  $ac_old_val" >&2;}
1803         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1804 echo "$as_me:   current value: $ac_new_val" >&2;}
1805         ac_cache_corrupted=:
1806       fi;;
1807   esac
1808   # Pass precious variables to config.status.
1809   if test "$ac_new_set" = set; then
1810     case $ac_new_val in
1811     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1812     *) ac_arg=$ac_var=$ac_new_val ;;
1813     esac
1814     case " $ac_configure_args " in
1815       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1816       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1817     esac
1818   fi
1819 done
1820 if $ac_cache_corrupted; then
1821   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1822 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1823   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1824 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1825    { (exit 1); exit 1; }; }
1826 fi
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852 ac_ext=c
1853 ac_cpp='$CPP $CPPFLAGS'
1854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1857
1858
1859
1860 ac_config_headers="$ac_config_headers include/config.h"
1861
1862 ac_aux_dir=
1863 for ac_dir in tools "$srcdir"/tools; do
1864   if test -f "$ac_dir/install-sh"; then
1865     ac_aux_dir=$ac_dir
1866     ac_install_sh="$ac_aux_dir/install-sh -c"
1867     break
1868   elif test -f "$ac_dir/install.sh"; then
1869     ac_aux_dir=$ac_dir
1870     ac_install_sh="$ac_aux_dir/install.sh -c"
1871     break
1872   elif test -f "$ac_dir/shtool"; then
1873     ac_aux_dir=$ac_dir
1874     ac_install_sh="$ac_aux_dir/shtool install -c"
1875     break
1876   fi
1877 done
1878 if test -z "$ac_aux_dir"; then
1879   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1880 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1881    { (exit 1); exit 1; }; }
1882 fi
1883
1884 # These three variables are undocumented and unsupported,
1885 # and are intended to be withdrawn in a future Autoconf release.
1886 # They can cause serious problems if a builder's source tree is in a directory
1887 # whose full name contains unusual characters.
1888 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1889 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1890 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1891
1892
1893
1894
1895 # Check whether --enable-win16 was given.
1896 if test "${enable_win16+set}" = set; then
1897   enableval=$enable_win16;
1898 fi
1899
1900 # Check whether --enable-win64 was given.
1901 if test "${enable_win64+set}" = set; then
1902   enableval=$enable_win64;
1903 fi
1904
1905 # Check whether --enable-maintainer-mode was given.
1906 if test "${enable_maintainer_mode+set}" = set; then
1907   enableval=$enable_maintainer_mode;
1908 else
1909   MAINTAINER_MODE=\#
1910
1911 fi
1912
1913
1914
1915 # Check whether --with-alsa was given.
1916 if test "${with_alsa+set}" = set; then
1917   withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1918 fi
1919
1920
1921 # Check whether --with-audioio was given.
1922 if test "${with_audioio+set}" = set; then
1923   withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1924 fi
1925
1926
1927 # Check whether --with-capi was given.
1928 if test "${with_capi+set}" = set; then
1929   withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1930 fi
1931
1932
1933 # Check whether --with-cms was given.
1934 if test "${with_cms+set}" = set; then
1935   withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1936 fi
1937
1938
1939 # Check whether --with-coreaudio was given.
1940 if test "${with_coreaudio+set}" = set; then
1941   withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1942 fi
1943
1944
1945 # Check whether --with-cups was given.
1946 if test "${with_cups+set}" = set; then
1947   withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1948 fi
1949
1950
1951 # Check whether --with-curses was given.
1952 if test "${with_curses+set}" = set; then
1953   withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1954 fi
1955
1956
1957 # Check whether --with-esd was given.
1958 if test "${with_esd+set}" = set; then
1959   withval=$with_esd;
1960 fi
1961
1962
1963 # Check whether --with-fontconfig was given.
1964 if test "${with_fontconfig+set}" = set; then
1965   withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1966 fi
1967
1968
1969 # Check whether --with-gphoto was given.
1970 if test "${with_gphoto+set}" = set; then
1971   withval=$with_gphoto;
1972 fi
1973
1974
1975 # Check whether --with-hal was given.
1976 if test "${with_hal+set}" = set; then
1977   withval=$with_hal;
1978 fi
1979
1980
1981 # Check whether --with-jack was given.
1982 if test "${with_jack+set}" = set; then
1983   withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1984 fi
1985
1986
1987 # Check whether --with-jpeg was given.
1988 if test "${with_jpeg+set}" = set; then
1989   withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
1990 fi
1991
1992
1993 # Check whether --with-ldap was given.
1994 if test "${with_ldap+set}" = set; then
1995   withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
1996 fi
1997
1998
1999 # Check whether --with-nas was given.
2000 if test "${with_nas+set}" = set; then
2001   withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2002 fi
2003
2004
2005 # Check whether --with-opengl was given.
2006 if test "${with_opengl+set}" = set; then
2007   withval=$with_opengl;
2008 fi
2009
2010
2011 # Check whether --with-openssl was given.
2012 if test "${with_openssl+set}" = set; then
2013   withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2014 fi
2015
2016
2017 # Check whether --with-oss was given.
2018 if test "${with_oss+set}" = set; then
2019   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
2020 fi
2021
2022
2023 # Check whether --with-png was given.
2024 if test "${with_png+set}" = set; then
2025   withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2026 fi
2027
2028
2029 # Check whether --with-sane was given.
2030 if test "${with_sane+set}" = set; then
2031   withval=$with_sane;
2032 fi
2033
2034
2035 # Check whether --with-xcomposite was given.
2036 if test "${with_xcomposite+set}" = set; then
2037   withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2038 fi
2039
2040
2041 # Check whether --with-xcursor was given.
2042 if test "${with_xcursor+set}" = set; then
2043   withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2044 fi
2045
2046
2047 # Check whether --with-xinerama was given.
2048 if test "${with_xinerama+set}" = set; then
2049   withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2050 fi
2051
2052
2053 # Check whether --with-xinput was given.
2054 if test "${with_xinput+set}" = set; then
2055   withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2056 fi
2057
2058
2059 # Check whether --with-xml was given.
2060 if test "${with_xml+set}" = set; then
2061   withval=$with_xml;
2062 fi
2063
2064
2065 # Check whether --with-xrandr was given.
2066 if test "${with_xrandr+set}" = set; then
2067   withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2068 fi
2069
2070
2071 # Check whether --with-xrender was given.
2072 if test "${with_xrender+set}" = set; then
2073   withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2074 fi
2075
2076
2077 # Check whether --with-xshape was given.
2078 if test "${with_xshape+set}" = set; then
2079   withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2080 fi
2081
2082
2083 # Check whether --with-xshm was given.
2084 if test "${with_xshm+set}" = set; then
2085   withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2086 fi
2087
2088
2089 # Check whether --with-xslt was given.
2090 if test "${with_xslt+set}" = set; then
2091   withval=$with_xslt;
2092 fi
2093
2094
2095 # Check whether --with-xvidmode was given.
2096 if test "${with_xvidmode+set}" = set; then
2097   withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2098 fi
2099
2100
2101
2102 # Check whether --with-wine-tools was given.
2103 if test "${with_wine_tools+set}" = set; then
2104   withval=$with_wine_tools;
2105 fi
2106
2107
2108 # Make sure we can run config.sub.
2109 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2110   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2111 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2112    { (exit 1); exit 1; }; }
2113
2114 { echo "$as_me:$LINENO: checking build system type" >&5
2115 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2116 if test "${ac_cv_build+set}" = set; then
2117   echo $ECHO_N "(cached) $ECHO_C" >&6
2118 else
2119   ac_build_alias=$build_alias
2120 test "x$ac_build_alias" = x &&
2121   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2122 test "x$ac_build_alias" = x &&
2123   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2124 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2125    { (exit 1); exit 1; }; }
2126 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2127   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2128 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2129    { (exit 1); exit 1; }; }
2130
2131 fi
2132 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2133 echo "${ECHO_T}$ac_cv_build" >&6; }
2134 case $ac_cv_build in
2135 *-*-*) ;;
2136 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2137 echo "$as_me: error: invalid value of canonical build" >&2;}
2138    { (exit 1); exit 1; }; };;
2139 esac
2140 build=$ac_cv_build
2141 ac_save_IFS=$IFS; IFS='-'
2142 set x $ac_cv_build
2143 shift
2144 build_cpu=$1
2145 build_vendor=$2
2146 shift; shift
2147 # Remember, the first character of IFS is used to create $*,
2148 # except with old shells:
2149 build_os=$*
2150 IFS=$ac_save_IFS
2151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2152
2153
2154 { echo "$as_me:$LINENO: checking host system type" >&5
2155 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2156 if test "${ac_cv_host+set}" = set; then
2157   echo $ECHO_N "(cached) $ECHO_C" >&6
2158 else
2159   if test "x$host_alias" = x; then
2160   ac_cv_host=$ac_cv_build
2161 else
2162   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2163     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2164 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2165    { (exit 1); exit 1; }; }
2166 fi
2167
2168 fi
2169 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2170 echo "${ECHO_T}$ac_cv_host" >&6; }
2171 case $ac_cv_host in
2172 *-*-*) ;;
2173 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2174 echo "$as_me: error: invalid value of canonical host" >&2;}
2175    { (exit 1); exit 1; }; };;
2176 esac
2177 host=$ac_cv_host
2178 ac_save_IFS=$IFS; IFS='-'
2179 set x $ac_cv_host
2180 shift
2181 host_cpu=$1
2182 host_vendor=$2
2183 shift; shift
2184 # Remember, the first character of IFS is used to create $*,
2185 # except with old shells:
2186 host_os=$*
2187 IFS=$ac_save_IFS
2188 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2189
2190
2191 case $host in
2192   x86_64*linux*)
2193     if test "x$enable_win64" != "xyes"
2194     then
2195       test -n "$CC" || CC="gcc -m32"
2196       test -n "$CXX"|| CXX="g++ -m32"
2197       test -n "$LD" || LD="ld -m elf_i386"
2198       test -n "$AS" || AS="as --32"
2199       host_cpu="i386"
2200     fi
2201     ;;
2202 esac
2203
2204 case $host_cpu in
2205   *i[3456789]86*)
2206     if test "x$enable_win16" != "xno"
2207     then
2208       enable_win16="yes"
2209     fi
2210     ;;
2211 esac
2212
2213 WIN16_FILES="\$(WIN16_FILES)"
2214
2215 WIN16_INSTALL="\$(WIN16_INSTALL)"
2216
2217 if test "x$enable_win16" != "xyes"
2218 then
2219   WIN16_FILES=""
2220   WIN16_INSTALL=""
2221 fi
2222
2223 case "$srcdir" in
2224  .) ;;
2225  *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2226       { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2227 You need to run 'make distclean' in the source tree first." >&5
2228 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2229 You need to run 'make distclean' in the source tree first." >&2;}
2230    { (exit 1); exit 1; }; }
2231     fi ;;
2232 esac
2233
2234
2235 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2236 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2237 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2238 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2239   echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241   cat >conftest.make <<\_ACEOF
2242 SHELL = /bin/sh
2243 all:
2244         @echo '@@@%%%=$(MAKE)=@@@%%%'
2245 _ACEOF
2246 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2247 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2248   *@@@%%%=?*=@@@%%%*)
2249     eval ac_cv_prog_make_${ac_make}_set=yes;;
2250   *)
2251     eval ac_cv_prog_make_${ac_make}_set=no;;
2252 esac
2253 rm -f conftest.make
2254 fi
2255 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2256   { echo "$as_me:$LINENO: result: yes" >&5
2257 echo "${ECHO_T}yes" >&6; }
2258   SET_MAKE=
2259 else
2260   { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2262   SET_MAKE="MAKE=${MAKE-make}"
2263 fi
2264
2265 ac_ext=c
2266 ac_cpp='$CPP $CPPFLAGS'
2267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2270 if test -n "$ac_tool_prefix"; then
2271   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2272 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2273 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2275 if test "${ac_cv_prog_CC+set}" = set; then
2276   echo $ECHO_N "(cached) $ECHO_C" >&6
2277 else
2278   if test -n "$CC"; then
2279   ac_cv_prog_CC="$CC" # Let the user override the test.
2280 else
2281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 for as_dir in $PATH
2283 do
2284   IFS=$as_save_IFS
2285   test -z "$as_dir" && as_dir=.
2286   for ac_exec_ext in '' $ac_executable_extensions; do
2287   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2288     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2289     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2290     break 2
2291   fi
2292 done
2293 done
2294 IFS=$as_save_IFS
2295
2296 fi
2297 fi
2298 CC=$ac_cv_prog_CC
2299 if test -n "$CC"; then
2300   { echo "$as_me:$LINENO: result: $CC" >&5
2301 echo "${ECHO_T}$CC" >&6; }
2302 else
2303   { echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6; }
2305 fi
2306
2307
2308 fi
2309 if test -z "$ac_cv_prog_CC"; then
2310   ac_ct_CC=$CC
2311   # Extract the first word of "gcc", so it can be a program name with args.
2312 set dummy gcc; ac_word=$2
2313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2316   echo $ECHO_N "(cached) $ECHO_C" >&6
2317 else
2318   if test -n "$ac_ct_CC"; then
2319   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2320 else
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 for as_dir in $PATH
2323 do
2324   IFS=$as_save_IFS
2325   test -z "$as_dir" && as_dir=.
2326   for ac_exec_ext in '' $ac_executable_extensions; do
2327   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328     ac_cv_prog_ac_ct_CC="gcc"
2329     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2330     break 2
2331   fi
2332 done
2333 done
2334 IFS=$as_save_IFS
2335
2336 fi
2337 fi
2338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2339 if test -n "$ac_ct_CC"; then
2340   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2341 echo "${ECHO_T}$ac_ct_CC" >&6; }
2342 else
2343   { echo "$as_me:$LINENO: result: no" >&5
2344 echo "${ECHO_T}no" >&6; }
2345 fi
2346
2347   if test "x$ac_ct_CC" = x; then
2348     CC=""
2349   else
2350     case $cross_compiling:$ac_tool_warned in
2351 yes:)
2352 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2353 whose name does not start with the host triplet.  If you think this
2354 configuration is useful to you, please write to autoconf@gnu.org." >&5
2355 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2356 whose name does not start with the host triplet.  If you think this
2357 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2358 ac_tool_warned=yes ;;
2359 esac
2360     CC=$ac_ct_CC
2361   fi
2362 else
2363   CC="$ac_cv_prog_CC"
2364 fi
2365
2366 if test -z "$CC"; then
2367           if test -n "$ac_tool_prefix"; then
2368     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2369 set dummy ${ac_tool_prefix}cc; ac_word=$2
2370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2372 if test "${ac_cv_prog_CC+set}" = set; then
2373   echo $ECHO_N "(cached) $ECHO_C" >&6
2374 else
2375   if test -n "$CC"; then
2376   ac_cv_prog_CC="$CC" # Let the user override the test.
2377 else
2378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2379 for as_dir in $PATH
2380 do
2381   IFS=$as_save_IFS
2382   test -z "$as_dir" && as_dir=.
2383   for ac_exec_ext in '' $ac_executable_extensions; do
2384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2385     ac_cv_prog_CC="${ac_tool_prefix}cc"
2386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2387     break 2
2388   fi
2389 done
2390 done
2391 IFS=$as_save_IFS
2392
2393 fi
2394 fi
2395 CC=$ac_cv_prog_CC
2396 if test -n "$CC"; then
2397   { echo "$as_me:$LINENO: result: $CC" >&5
2398 echo "${ECHO_T}$CC" >&6; }
2399 else
2400   { echo "$as_me:$LINENO: result: no" >&5
2401 echo "${ECHO_T}no" >&6; }
2402 fi
2403
2404
2405   fi
2406 fi
2407 if test -z "$CC"; then
2408   # Extract the first word of "cc", so it can be a program name with args.
2409 set dummy cc; ac_word=$2
2410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2412 if test "${ac_cv_prog_CC+set}" = set; then
2413   echo $ECHO_N "(cached) $ECHO_C" >&6
2414 else
2415   if test -n "$CC"; then
2416   ac_cv_prog_CC="$CC" # Let the user override the test.
2417 else
2418   ac_prog_rejected=no
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 for as_dir in $PATH
2421 do
2422   IFS=$as_save_IFS
2423   test -z "$as_dir" && as_dir=.
2424   for ac_exec_ext in '' $ac_executable_extensions; do
2425   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2426     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2427        ac_prog_rejected=yes
2428        continue
2429      fi
2430     ac_cv_prog_CC="cc"
2431     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2432     break 2
2433   fi
2434 done
2435 done
2436 IFS=$as_save_IFS
2437
2438 if test $ac_prog_rejected = yes; then
2439   # We found a bogon in the path, so make sure we never use it.
2440   set dummy $ac_cv_prog_CC
2441   shift
2442   if test $# != 0; then
2443     # We chose a different compiler from the bogus one.
2444     # However, it has the same basename, so the bogon will be chosen
2445     # first if we set CC to just the basename; use the full file name.
2446     shift
2447     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2448   fi
2449 fi
2450 fi
2451 fi
2452 CC=$ac_cv_prog_CC
2453 if test -n "$CC"; then
2454   { echo "$as_me:$LINENO: result: $CC" >&5
2455 echo "${ECHO_T}$CC" >&6; }
2456 else
2457   { echo "$as_me:$LINENO: result: no" >&5
2458 echo "${ECHO_T}no" >&6; }
2459 fi
2460
2461
2462 fi
2463 if test -z "$CC"; then
2464   if test -n "$ac_tool_prefix"; then
2465   for ac_prog in cl.exe
2466   do
2467     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2468 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2471 if test "${ac_cv_prog_CC+set}" = set; then
2472   echo $ECHO_N "(cached) $ECHO_C" >&6
2473 else
2474   if test -n "$CC"; then
2475   ac_cv_prog_CC="$CC" # Let the user override the test.
2476 else
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2478 for as_dir in $PATH
2479 do
2480   IFS=$as_save_IFS
2481   test -z "$as_dir" && as_dir=.
2482   for ac_exec_ext in '' $ac_executable_extensions; do
2483   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2484     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2485     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2486     break 2
2487   fi
2488 done
2489 done
2490 IFS=$as_save_IFS
2491
2492 fi
2493 fi
2494 CC=$ac_cv_prog_CC
2495 if test -n "$CC"; then
2496   { echo "$as_me:$LINENO: result: $CC" >&5
2497 echo "${ECHO_T}$CC" >&6; }
2498 else
2499   { echo "$as_me:$LINENO: result: no" >&5
2500 echo "${ECHO_T}no" >&6; }
2501 fi
2502
2503
2504     test -n "$CC" && break
2505   done
2506 fi
2507 if test -z "$CC"; then
2508   ac_ct_CC=$CC
2509   for ac_prog in cl.exe
2510 do
2511   # Extract the first word of "$ac_prog", so it can be a program name with args.
2512 set dummy $ac_prog; ac_word=$2
2513 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2515 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2516   echo $ECHO_N "(cached) $ECHO_C" >&6
2517 else
2518   if test -n "$ac_ct_CC"; then
2519   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2520 else
2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2522 for as_dir in $PATH
2523 do
2524   IFS=$as_save_IFS
2525   test -z "$as_dir" && as_dir=.
2526   for ac_exec_ext in '' $ac_executable_extensions; do
2527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2528     ac_cv_prog_ac_ct_CC="$ac_prog"
2529     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2530     break 2
2531   fi
2532 done
2533 done
2534 IFS=$as_save_IFS
2535
2536 fi
2537 fi
2538 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2539 if test -n "$ac_ct_CC"; then
2540   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2541 echo "${ECHO_T}$ac_ct_CC" >&6; }
2542 else
2543   { echo "$as_me:$LINENO: result: no" >&5
2544 echo "${ECHO_T}no" >&6; }
2545 fi
2546
2547
2548   test -n "$ac_ct_CC" && break
2549 done
2550
2551   if test "x$ac_ct_CC" = x; then
2552     CC=""
2553   else
2554     case $cross_compiling:$ac_tool_warned in
2555 yes:)
2556 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2557 whose name does not start with the host triplet.  If you think this
2558 configuration is useful to you, please write to autoconf@gnu.org." >&5
2559 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2560 whose name does not start with the host triplet.  If you think this
2561 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2562 ac_tool_warned=yes ;;
2563 esac
2564     CC=$ac_ct_CC
2565   fi
2566 fi
2567
2568 fi
2569
2570
2571 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details." >&5
2573 echo "$as_me: error: no acceptable C compiler found in \$PATH
2574 See \`config.log' for more details." >&2;}
2575    { (exit 1); exit 1; }; }
2576
2577 # Provide some information about the compiler.
2578 echo "$as_me:$LINENO: checking for C compiler version" >&5
2579 ac_compiler=`set X $ac_compile; echo $2`
2580 { (ac_try="$ac_compiler --version >&5"
2581 case "(($ac_try" in
2582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583   *) ac_try_echo=$ac_try;;
2584 esac
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586   (eval "$ac_compiler --version >&5") 2>&5
2587   ac_status=$?
2588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589   (exit $ac_status); }
2590 { (ac_try="$ac_compiler -v >&5"
2591 case "(($ac_try" in
2592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593   *) ac_try_echo=$ac_try;;
2594 esac
2595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2596   (eval "$ac_compiler -v >&5") 2>&5
2597   ac_status=$?
2598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599   (exit $ac_status); }
2600 { (ac_try="$ac_compiler -V >&5"
2601 case "(($ac_try" in
2602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2603   *) ac_try_echo=$ac_try;;
2604 esac
2605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2606   (eval "$ac_compiler -V >&5") 2>&5
2607   ac_status=$?
2608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609   (exit $ac_status); }
2610
2611 cat >conftest.$ac_ext <<_ACEOF
2612 /* confdefs.h.  */
2613 _ACEOF
2614 cat confdefs.h >>conftest.$ac_ext
2615 cat >>conftest.$ac_ext <<_ACEOF
2616 /* end confdefs.h.  */
2617
2618 int
2619 main ()
2620 {
2621
2622   ;
2623   return 0;
2624 }
2625 _ACEOF
2626 ac_clean_files_save=$ac_clean_files
2627 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2628 # Try to create an executable without -o first, disregard a.out.
2629 # It will help us diagnose broken compilers, and finding out an intuition
2630 # of exeext.
2631 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2632 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2633 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2634 #
2635 # List of possible output files, starting from the most likely.
2636 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2637 # only as a last resort.  b.out is created by i960 compilers.
2638 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2639 #
2640 # The IRIX 6 linker writes into existing files which may not be
2641 # executable, retaining their permissions.  Remove them first so a
2642 # subsequent execution test works.
2643 ac_rmfiles=
2644 for ac_file in $ac_files
2645 do
2646   case $ac_file in
2647     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2648     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2649   esac
2650 done
2651 rm -f $ac_rmfiles
2652
2653 if { (ac_try="$ac_link_default"
2654 case "(($ac_try" in
2655   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2656   *) ac_try_echo=$ac_try;;
2657 esac
2658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2659   (eval "$ac_link_default") 2>&5
2660   ac_status=$?
2661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662   (exit $ac_status); }; then
2663   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2664 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2665 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2666 # so that the user can short-circuit this test for compilers unknown to
2667 # Autoconf.
2668 for ac_file in $ac_files ''
2669 do
2670   test -f "$ac_file" || continue
2671   case $ac_file in
2672     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2673         ;;
2674     [ab].out )
2675         # We found the default executable, but exeext='' is most
2676         # certainly right.
2677         break;;
2678     *.* )
2679         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2680         then :; else
2681            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2682         fi
2683         # We set ac_cv_exeext here because the later test for it is not
2684         # safe: cross compilers may not add the suffix if given an `-o'
2685         # argument, so we may need to know it at that point already.
2686         # Even if this section looks crufty: it has the advantage of
2687         # actually working.
2688         break;;
2689     * )
2690         break;;
2691   esac
2692 done
2693 test "$ac_cv_exeext" = no && ac_cv_exeext=
2694
2695 else
2696   ac_file=''
2697 fi
2698
2699 { echo "$as_me:$LINENO: result: $ac_file" >&5
2700 echo "${ECHO_T}$ac_file" >&6; }
2701 if test -z "$ac_file"; then
2702   echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2704
2705 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2706 See \`config.log' for more details." >&5
2707 echo "$as_me: error: C compiler cannot create executables
2708 See \`config.log' for more details." >&2;}
2709    { (exit 77); exit 77; }; }
2710 fi
2711
2712 ac_exeext=$ac_cv_exeext
2713
2714 # Check that the compiler produces executables we can run.  If not, either
2715 # the compiler is broken, or we cross compile.
2716 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2717 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2718 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2719 # If not cross compiling, check that we can run a simple program.
2720 if test "$cross_compiling" != yes; then
2721   if { ac_try='./$ac_file'
2722   { (case "(($ac_try" in
2723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724   *) ac_try_echo=$ac_try;;
2725 esac
2726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727   (eval "$ac_try") 2>&5
2728   ac_status=$?
2729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730   (exit $ac_status); }; }; then
2731     cross_compiling=no
2732   else
2733     if test "$cross_compiling" = maybe; then
2734         cross_compiling=yes
2735     else
2736         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2737 If you meant to cross compile, use \`--host'.
2738 See \`config.log' for more details." >&5
2739 echo "$as_me: error: cannot run C compiled programs.
2740 If you meant to cross compile, use \`--host'.
2741 See \`config.log' for more details." >&2;}
2742    { (exit 1); exit 1; }; }
2743     fi
2744   fi
2745 fi
2746 { echo "$as_me:$LINENO: result: yes" >&5
2747 echo "${ECHO_T}yes" >&6; }
2748
2749 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2750 ac_clean_files=$ac_clean_files_save
2751 # Check that the compiler produces executables we can run.  If not, either
2752 # the compiler is broken, or we cross compile.
2753 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2754 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2755 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2756 echo "${ECHO_T}$cross_compiling" >&6; }
2757
2758 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2759 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2760 if { (ac_try="$ac_link"
2761 case "(($ac_try" in
2762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2763   *) ac_try_echo=$ac_try;;
2764 esac
2765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2766   (eval "$ac_link") 2>&5
2767   ac_status=$?
2768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769   (exit $ac_status); }; then
2770   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2771 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2772 # work properly (i.e., refer to `conftest.exe'), while it won't with
2773 # `rm'.
2774 for ac_file in conftest.exe conftest conftest.*; do
2775   test -f "$ac_file" || continue
2776   case $ac_file in
2777     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2778     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2779           break;;
2780     * ) break;;
2781   esac
2782 done
2783 else
2784   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2785 See \`config.log' for more details." >&5
2786 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2787 See \`config.log' for more details." >&2;}
2788    { (exit 1); exit 1; }; }
2789 fi
2790
2791 rm -f conftest$ac_cv_exeext
2792 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2793 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2794
2795 rm -f conftest.$ac_ext
2796 EXEEXT=$ac_cv_exeext
2797 ac_exeext=$EXEEXT
2798 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2799 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2800 if test "${ac_cv_objext+set}" = set; then
2801   echo $ECHO_N "(cached) $ECHO_C" >&6
2802 else
2803   cat >conftest.$ac_ext <<_ACEOF
2804 /* confdefs.h.  */
2805 _ACEOF
2806 cat confdefs.h >>conftest.$ac_ext
2807 cat >>conftest.$ac_ext <<_ACEOF
2808 /* end confdefs.h.  */
2809
2810 int
2811 main ()
2812 {
2813
2814   ;
2815   return 0;
2816 }
2817 _ACEOF
2818 rm -f conftest.o conftest.obj
2819 if { (ac_try="$ac_compile"
2820 case "(($ac_try" in
2821   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822   *) ac_try_echo=$ac_try;;
2823 esac
2824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825   (eval "$ac_compile") 2>&5
2826   ac_status=$?
2827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828   (exit $ac_status); }; then
2829   for ac_file in conftest.o conftest.obj conftest.*; do
2830   test -f "$ac_file" || continue;
2831   case $ac_file in
2832     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2833     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2834        break;;
2835   esac
2836 done
2837 else
2838   echo "$as_me: failed program was:" >&5
2839 sed 's/^/| /' conftest.$ac_ext >&5
2840
2841 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2842 See \`config.log' for more details." >&5
2843 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2844 See \`config.log' for more details." >&2;}
2845    { (exit 1); exit 1; }; }
2846 fi
2847
2848 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2849 fi
2850 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2851 echo "${ECHO_T}$ac_cv_objext" >&6; }
2852 OBJEXT=$ac_cv_objext
2853 ac_objext=$OBJEXT
2854 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2855 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2856 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2857   echo $ECHO_N "(cached) $ECHO_C" >&6
2858 else
2859   cat >conftest.$ac_ext <<_ACEOF
2860 /* confdefs.h.  */
2861 _ACEOF
2862 cat confdefs.h >>conftest.$ac_ext
2863 cat >>conftest.$ac_ext <<_ACEOF
2864 /* end confdefs.h.  */
2865
2866 int
2867 main ()
2868 {
2869 #ifndef __GNUC__
2870        choke me
2871 #endif
2872
2873   ;
2874   return 0;
2875 }
2876 _ACEOF
2877 rm -f conftest.$ac_objext
2878 if { (ac_try="$ac_compile"
2879 case "(($ac_try" in
2880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2881   *) ac_try_echo=$ac_try;;
2882 esac
2883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2884   (eval "$ac_compile") 2>conftest.er1
2885   ac_status=$?
2886   grep -v '^ *+' conftest.er1 >conftest.err
2887   rm -f conftest.er1
2888   cat conftest.err >&5
2889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2890   (exit $ac_status); } && {
2891          test -z "$ac_c_werror_flag" ||
2892          test ! -s conftest.err
2893        } && test -s conftest.$ac_objext; then
2894   ac_compiler_gnu=yes
2895 else
2896   echo "$as_me: failed program was:" >&5
2897 sed 's/^/| /' conftest.$ac_ext >&5
2898
2899         ac_compiler_gnu=no
2900 fi
2901
2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2903 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2904
2905 fi
2906 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2907 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2908 GCC=`test $ac_compiler_gnu = yes && echo yes`
2909 ac_test_CFLAGS=${CFLAGS+set}
2910 ac_save_CFLAGS=$CFLAGS
2911 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2912 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2913 if test "${ac_cv_prog_cc_g+set}" = set; then
2914   echo $ECHO_N "(cached) $ECHO_C" >&6
2915 else
2916   ac_save_c_werror_flag=$ac_c_werror_flag
2917    ac_c_werror_flag=yes
2918    ac_cv_prog_cc_g=no
2919    CFLAGS="-g"
2920    cat >conftest.$ac_ext <<_ACEOF
2921 /* confdefs.h.  */
2922 _ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h.  */
2926
2927 int
2928 main ()
2929 {
2930
2931   ;
2932   return 0;
2933 }
2934 _ACEOF
2935 rm -f conftest.$ac_objext
2936 if { (ac_try="$ac_compile"
2937 case "(($ac_try" in
2938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939   *) ac_try_echo=$ac_try;;
2940 esac
2941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2942   (eval "$ac_compile") 2>conftest.er1
2943   ac_status=$?
2944   grep -v '^ *+' conftest.er1 >conftest.err
2945   rm -f conftest.er1
2946   cat conftest.err >&5
2947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2948   (exit $ac_status); } && {
2949          test -z "$ac_c_werror_flag" ||
2950          test ! -s conftest.err
2951        } && test -s conftest.$ac_objext; then
2952   ac_cv_prog_cc_g=yes
2953 else
2954   echo "$as_me: failed program was:" >&5
2955 sed 's/^/| /' conftest.$ac_ext >&5
2956
2957         CFLAGS=""
2958       cat >conftest.$ac_ext <<_ACEOF
2959 /* confdefs.h.  */
2960 _ACEOF
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h.  */
2964
2965 int
2966 main ()
2967 {
2968
2969   ;
2970   return 0;
2971 }
2972 _ACEOF
2973 rm -f conftest.$ac_objext
2974 if { (ac_try="$ac_compile"
2975 case "(($ac_try" in
2976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977   *) ac_try_echo=$ac_try;;
2978 esac
2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2980   (eval "$ac_compile") 2>conftest.er1
2981   ac_status=$?
2982   grep -v '^ *+' conftest.er1 >conftest.err
2983   rm -f conftest.er1
2984   cat conftest.err >&5
2985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986   (exit $ac_status); } && {
2987          test -z "$ac_c_werror_flag" ||
2988          test ! -s conftest.err
2989        } && test -s conftest.$ac_objext; then
2990   :
2991 else
2992   echo "$as_me: failed program was:" >&5
2993 sed 's/^/| /' conftest.$ac_ext >&5
2994
2995         ac_c_werror_flag=$ac_save_c_werror_flag
2996          CFLAGS="-g"
2997          cat >conftest.$ac_ext <<_ACEOF
2998 /* confdefs.h.  */
2999 _ACEOF
3000 cat confdefs.h >>conftest.$ac_ext
3001 cat >>conftest.$ac_ext <<_ACEOF
3002 /* end confdefs.h.  */
3003
3004 int
3005 main ()
3006 {
3007
3008   ;
3009   return 0;
3010 }
3011 _ACEOF
3012 rm -f conftest.$ac_objext
3013 if { (ac_try="$ac_compile"
3014 case "(($ac_try" in
3015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3016   *) ac_try_echo=$ac_try;;
3017 esac
3018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3019   (eval "$ac_compile") 2>conftest.er1
3020   ac_status=$?
3021   grep -v '^ *+' conftest.er1 >conftest.err
3022   rm -f conftest.er1
3023   cat conftest.err >&5
3024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3025   (exit $ac_status); } && {
3026          test -z "$ac_c_werror_flag" ||
3027          test ! -s conftest.err
3028        } && test -s conftest.$ac_objext; then
3029   ac_cv_prog_cc_g=yes
3030 else
3031   echo "$as_me: failed program was:" >&5
3032 sed 's/^/| /' conftest.$ac_ext >&5
3033
3034
3035 fi
3036
3037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3038 fi
3039
3040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3041 fi
3042
3043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3044    ac_c_werror_flag=$ac_save_c_werror_flag
3045 fi
3046 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3047 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3048 if test "$ac_test_CFLAGS" = set; then
3049   CFLAGS=$ac_save_CFLAGS
3050 elif test $ac_cv_prog_cc_g = yes; then
3051   if test "$GCC" = yes; then
3052     CFLAGS="-g -O2"
3053   else
3054     CFLAGS="-g"
3055   fi
3056 else
3057   if test "$GCC" = yes; then
3058     CFLAGS="-O2"
3059   else
3060     CFLAGS=
3061   fi
3062 fi
3063 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3064 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3065 if test "${ac_cv_prog_cc_c89+set}" = set; then
3066   echo $ECHO_N "(cached) $ECHO_C" >&6
3067 else
3068   ac_cv_prog_cc_c89=no
3069 ac_save_CC=$CC
3070 cat >conftest.$ac_ext <<_ACEOF
3071 /* confdefs.h.  */
3072 _ACEOF
3073 cat confdefs.h >>conftest.$ac_ext
3074 cat >>conftest.$ac_ext <<_ACEOF
3075 /* end confdefs.h.  */
3076 #include <stdarg.h>
3077 #include <stdio.h>
3078 #include <sys/types.h>
3079 #include <sys/stat.h>
3080 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3081 struct buf { int x; };
3082 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3083 static char *e (p, i)
3084      char **p;
3085      int i;
3086 {
3087   return p[i];
3088 }
3089 static char *f (char * (*g) (char **, int), char **p, ...)
3090 {
3091   char *s;
3092   va_list v;
3093   va_start (v,p);
3094   s = g (p, va_arg (v,int));
3095   va_end (v);
3096   return s;
3097 }
3098
3099 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3100    function prototypes and stuff, but not '\xHH' hex character constants.
3101    These don't provoke an error unfortunately, instead are silently treated
3102    as 'x'.  The following induces an error, until -std is added to get
3103    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3104    array size at least.  It's necessary to write '\x00'==0 to get something
3105    that's true only with -std.  */
3106 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3107
3108 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3109    inside strings and character constants.  */
3110 #define FOO(x) 'x'
3111 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3112
3113 int test (int i, double x);
3114 struct s1 {int (*f) (int a);};
3115 struct s2 {int (*f) (double a);};
3116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3117 int argc;
3118 char **argv;
3119 int
3120 main ()
3121 {
3122 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3123   ;
3124   return 0;
3125 }
3126 _ACEOF
3127 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3128         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3129 do
3130   CC="$ac_save_CC $ac_arg"
3131   rm -f conftest.$ac_objext
3132 if { (ac_try="$ac_compile"
3133 case "(($ac_try" in
3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3135   *) ac_try_echo=$ac_try;;
3136 esac
3137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3138   (eval "$ac_compile") 2>conftest.er1
3139   ac_status=$?
3140   grep -v '^ *+' conftest.er1 >conftest.err
3141   rm -f conftest.er1
3142   cat conftest.err >&5
3143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144   (exit $ac_status); } && {
3145          test -z "$ac_c_werror_flag" ||
3146          test ! -s conftest.err
3147        } && test -s conftest.$ac_objext; then
3148   ac_cv_prog_cc_c89=$ac_arg
3149 else
3150   echo "$as_me: failed program was:" >&5
3151 sed 's/^/| /' conftest.$ac_ext >&5
3152
3153
3154 fi
3155
3156 rm -f core conftest.err conftest.$ac_objext
3157   test "x$ac_cv_prog_cc_c89" != "xno" && break
3158 done
3159 rm -f conftest.$ac_ext
3160 CC=$ac_save_CC
3161
3162 fi
3163 # AC_CACHE_VAL
3164 case "x$ac_cv_prog_cc_c89" in
3165   x)
3166     { echo "$as_me:$LINENO: result: none needed" >&5
3167 echo "${ECHO_T}none needed" >&6; } ;;
3168   xno)
3169     { echo "$as_me:$LINENO: result: unsupported" >&5
3170 echo "${ECHO_T}unsupported" >&6; } ;;
3171   *)
3172     CC="$CC $ac_cv_prog_cc_c89"
3173     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3174 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3175 esac
3176
3177
3178 ac_ext=c
3179 ac_cpp='$CPP $CPPFLAGS'
3180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3183
3184 ac_ext=cpp
3185 ac_cpp='$CXXCPP $CPPFLAGS'
3186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3189 if test -z "$CXX"; then
3190   if test -n "$CCC"; then
3191     CXX=$CCC
3192   else
3193     if test -n "$ac_tool_prefix"; then
3194   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3195   do
3196     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3197 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3198 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3200 if test "${ac_cv_prog_CXX+set}" = set; then
3201   echo $ECHO_N "(cached) $ECHO_C" >&6
3202 else
3203   if test -n "$CXX"; then
3204   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3205 else
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 for as_dir in $PATH
3208 do
3209   IFS=$as_save_IFS
3210   test -z "$as_dir" && as_dir=.
3211   for ac_exec_ext in '' $ac_executable_extensions; do
3212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3213     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3214     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3215     break 2
3216   fi
3217 done
3218 done
3219 IFS=$as_save_IFS
3220
3221 fi
3222 fi
3223 CXX=$ac_cv_prog_CXX
3224 if test -n "$CXX"; then
3225   { echo "$as_me:$LINENO: result: $CXX" >&5
3226 echo "${ECHO_T}$CXX" >&6; }
3227 else
3228   { echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6; }
3230 fi
3231
3232
3233     test -n "$CXX" && break
3234   done
3235 fi
3236 if test -z "$CXX"; then
3237   ac_ct_CXX=$CXX
3238   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3239 do
3240   # Extract the first word of "$ac_prog", so it can be a program name with args.
3241 set dummy $ac_prog; ac_word=$2
3242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3244 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3245   echo $ECHO_N "(cached) $ECHO_C" >&6
3246 else
3247   if test -n "$ac_ct_CXX"; then
3248   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3249 else
3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3251 for as_dir in $PATH
3252 do
3253   IFS=$as_save_IFS
3254   test -z "$as_dir" && as_dir=.
3255   for ac_exec_ext in '' $ac_executable_extensions; do
3256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3257     ac_cv_prog_ac_ct_CXX="$ac_prog"
3258     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3259     break 2
3260   fi
3261 done
3262 done
3263 IFS=$as_save_IFS
3264
3265 fi
3266 fi
3267 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3268 if test -n "$ac_ct_CXX"; then
3269   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3270 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3271 else
3272   { echo "$as_me:$LINENO: result: no" >&5
3273 echo "${ECHO_T}no" >&6; }
3274 fi
3275
3276
3277   test -n "$ac_ct_CXX" && break
3278 done
3279
3280   if test "x$ac_ct_CXX" = x; then
3281     CXX="g++"
3282   else
3283     case $cross_compiling:$ac_tool_warned in
3284 yes:)
3285 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3286 whose name does not start with the host triplet.  If you think this
3287 configuration is useful to you, please write to autoconf@gnu.org." >&5
3288 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3289 whose name does not start with the host triplet.  If you think this
3290 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3291 ac_tool_warned=yes ;;
3292 esac
3293     CXX=$ac_ct_CXX
3294   fi
3295 fi
3296
3297   fi
3298 fi
3299 # Provide some information about the compiler.
3300 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3301 ac_compiler=`set X $ac_compile; echo $2`
3302 { (ac_try="$ac_compiler --version >&5"
3303 case "(($ac_try" in
3304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305   *) ac_try_echo=$ac_try;;
3306 esac
3307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3308   (eval "$ac_compiler --version >&5") 2>&5
3309   ac_status=$?
3310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311   (exit $ac_status); }
3312 { (ac_try="$ac_compiler -v >&5"
3313 case "(($ac_try" in
3314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3315   *) ac_try_echo=$ac_try;;
3316 esac
3317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3318   (eval "$ac_compiler -v >&5") 2>&5
3319   ac_status=$?
3320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321   (exit $ac_status); }
3322 { (ac_try="$ac_compiler -V >&5"
3323 case "(($ac_try" in
3324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325   *) ac_try_echo=$ac_try;;
3326 esac
3327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3328   (eval "$ac_compiler -V >&5") 2>&5
3329   ac_status=$?
3330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331   (exit $ac_status); }
3332
3333 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3334 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3335 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3336   echo $ECHO_N "(cached) $ECHO_C" >&6
3337 else
3338   cat >conftest.$ac_ext <<_ACEOF
3339 /* confdefs.h.  */
3340 _ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h.  */
3344
3345 int
3346 main ()
3347 {
3348 #ifndef __GNUC__
3349        choke me
3350 #endif
3351
3352   ;
3353   return 0;
3354 }
3355 _ACEOF
3356 rm -f conftest.$ac_objext
3357 if { (ac_try="$ac_compile"
3358 case "(($ac_try" in
3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360   *) ac_try_echo=$ac_try;;
3361 esac
3362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3363   (eval "$ac_compile") 2>conftest.er1
3364   ac_status=$?
3365   grep -v '^ *+' conftest.er1 >conftest.err
3366   rm -f conftest.er1
3367   cat conftest.err >&5
3368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369   (exit $ac_status); } && {
3370          test -z "$ac_cxx_werror_flag" ||
3371          test ! -s conftest.err
3372        } && test -s conftest.$ac_objext; then
3373   ac_compiler_gnu=yes
3374 else
3375   echo "$as_me: failed program was:" >&5
3376 sed 's/^/| /' conftest.$ac_ext >&5
3377
3378         ac_compiler_gnu=no
3379 fi
3380
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3383
3384 fi
3385 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3386 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3387 GXX=`test $ac_compiler_gnu = yes && echo yes`
3388 ac_test_CXXFLAGS=${CXXFLAGS+set}
3389 ac_save_CXXFLAGS=$CXXFLAGS
3390 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3391 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3392 if test "${ac_cv_prog_cxx_g+set}" = set; then
3393   echo $ECHO_N "(cached) $ECHO_C" >&6
3394 else
3395   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3396    ac_cxx_werror_flag=yes
3397    ac_cv_prog_cxx_g=no
3398    CXXFLAGS="-g"
3399    cat >conftest.$ac_ext <<_ACEOF
3400 /* confdefs.h.  */
3401 _ACEOF
3402 cat confdefs.h >>conftest.$ac_ext
3403 cat >>conftest.$ac_ext <<_ACEOF
3404 /* end confdefs.h.  */
3405
3406 int
3407 main ()
3408 {
3409
3410   ;
3411   return 0;
3412 }
3413 _ACEOF
3414 rm -f conftest.$ac_objext
3415 if { (ac_try="$ac_compile"
3416 case "(($ac_try" in
3417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3418   *) ac_try_echo=$ac_try;;
3419 esac
3420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3421   (eval "$ac_compile") 2>conftest.er1
3422   ac_status=$?
3423   grep -v '^ *+' conftest.er1 >conftest.err
3424   rm -f conftest.er1
3425   cat conftest.err >&5
3426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3427   (exit $ac_status); } && {
3428          test -z "$ac_cxx_werror_flag" ||
3429          test ! -s conftest.err
3430        } && test -s conftest.$ac_objext; then
3431   ac_cv_prog_cxx_g=yes
3432 else
3433   echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3435
3436         CXXFLAGS=""
3437       cat >conftest.$ac_ext <<_ACEOF
3438 /* confdefs.h.  */
3439 _ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h.  */
3443
3444 int
3445 main ()
3446 {
3447
3448   ;
3449   return 0;
3450 }
3451 _ACEOF
3452 rm -f conftest.$ac_objext
3453 if { (ac_try="$ac_compile"
3454 case "(($ac_try" in
3455   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3456   *) ac_try_echo=$ac_try;;
3457 esac
3458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3459   (eval "$ac_compile") 2>conftest.er1
3460   ac_status=$?
3461   grep -v '^ *+' conftest.er1 >conftest.err
3462   rm -f conftest.er1
3463   cat conftest.err >&5
3464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3465   (exit $ac_status); } && {
3466          test -z "$ac_cxx_werror_flag" ||
3467          test ! -s conftest.err
3468        } && test -s conftest.$ac_objext; then
3469   :
3470 else
3471   echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3473
3474         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3475          CXXFLAGS="-g"
3476          cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h.  */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h.  */
3482
3483 int
3484 main ()
3485 {
3486
3487   ;
3488   return 0;
3489 }
3490 _ACEOF
3491 rm -f conftest.$ac_objext
3492 if { (ac_try="$ac_compile"
3493 case "(($ac_try" in
3494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495   *) ac_try_echo=$ac_try;;
3496 esac
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498   (eval "$ac_compile") 2>conftest.er1
3499   ac_status=$?
3500   grep -v '^ *+' conftest.er1 >conftest.err
3501   rm -f conftest.er1
3502   cat conftest.err >&5
3503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504   (exit $ac_status); } && {
3505          test -z "$ac_cxx_werror_flag" ||
3506          test ! -s conftest.err
3507        } && test -s conftest.$ac_objext; then
3508   ac_cv_prog_cxx_g=yes
3509 else
3510   echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3512
3513
3514 fi
3515
3516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3517 fi
3518
3519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3520 fi
3521
3522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3523    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3524 fi
3525 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3526 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3527 if test "$ac_test_CXXFLAGS" = set; then
3528   CXXFLAGS=$ac_save_CXXFLAGS
3529 elif test $ac_cv_prog_cxx_g = yes; then
3530   if test "$GXX" = yes; then
3531     CXXFLAGS="-g -O2"
3532   else
3533     CXXFLAGS="-g"
3534   fi
3535 else
3536   if test "$GXX" = yes; then
3537     CXXFLAGS="-O2"
3538   else
3539     CXXFLAGS=
3540   fi
3541 fi
3542 ac_ext=c
3543 ac_cpp='$CPP $CPPFLAGS'
3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3547
3548 if test -n "$ac_tool_prefix"; then
3549   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3550 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3553 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3554   echo $ECHO_N "(cached) $ECHO_C" >&6
3555 else
3556   if test -n "$CPPBIN"; then
3557   ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3558 else
3559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3560 for as_dir in $PATH
3561 do
3562   IFS=$as_save_IFS
3563   test -z "$as_dir" && as_dir=.
3564   for ac_exec_ext in '' $ac_executable_extensions; do
3565   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3566     ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3567     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3568     break 2
3569   fi
3570 done
3571 done
3572 IFS=$as_save_IFS
3573
3574 fi
3575 fi
3576 CPPBIN=$ac_cv_prog_CPPBIN
3577 if test -n "$CPPBIN"; then
3578   { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3579 echo "${ECHO_T}$CPPBIN" >&6; }
3580 else
3581   { echo "$as_me:$LINENO: result: no" >&5
3582 echo "${ECHO_T}no" >&6; }
3583 fi
3584
3585
3586 fi
3587 if test -z "$ac_cv_prog_CPPBIN"; then
3588   ac_ct_CPPBIN=$CPPBIN
3589   # Extract the first word of "cpp", so it can be a program name with args.
3590 set dummy cpp; ac_word=$2
3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3593 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3594   echo $ECHO_N "(cached) $ECHO_C" >&6
3595 else
3596   if test -n "$ac_ct_CPPBIN"; then
3597   ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3598 else
3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3600 for as_dir in $PATH
3601 do
3602   IFS=$as_save_IFS
3603   test -z "$as_dir" && as_dir=.
3604   for ac_exec_ext in '' $ac_executable_extensions; do
3605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3606     ac_cv_prog_ac_ct_CPPBIN="cpp"
3607     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3608     break 2
3609   fi
3610 done
3611 done
3612 IFS=$as_save_IFS
3613
3614 fi
3615 fi
3616 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3617 if test -n "$ac_ct_CPPBIN"; then
3618   { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3619 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3620 else
3621   { echo "$as_me:$LINENO: result: no" >&5
3622 echo "${ECHO_T}no" >&6; }
3623 fi
3624
3625   if test "x$ac_ct_CPPBIN" = x; then
3626     CPPBIN="cpp"
3627   else
3628     case $cross_compiling:$ac_tool_warned in
3629 yes:)
3630 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3631 whose name does not start with the host triplet.  If you think this
3632 configuration is useful to you, please write to autoconf@gnu.org." >&5
3633 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3634 whose name does not start with the host triplet.  If you think this
3635 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3636 ac_tool_warned=yes ;;
3637 esac
3638     CPPBIN=$ac_ct_CPPBIN
3639   fi
3640 else
3641   CPPBIN="$ac_cv_prog_CPPBIN"
3642 fi
3643
3644
3645 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3646 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3647 if test "${wine_cv_toolsdir+set}" = set; then
3648   echo $ECHO_N "(cached) $ECHO_C" >&6
3649 else
3650   if test -z "$with_wine_tools"; then
3651      if test "$cross_compiling" = "yes"; then
3652        { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3653 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3654    { (exit 1); exit 1; }; }
3655      else
3656        wine_cv_toolsdir="\$(TOPOBJDIR)"
3657      fi
3658    elif test -d "$with_wine_tools/tools/winebuild"; then
3659      case $with_wine_tools in
3660        /*) wine_cv_toolsdir="$with_wine_tools" ;;
3661        *)  wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3662      esac
3663    else
3664      { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3665 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3666    { (exit 1); exit 1; }; }
3667    fi
3668 fi
3669 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3670 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3671 TOOLSDIR=$wine_cv_toolsdir
3672
3673
3674
3675 ac_ext=c
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3681 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3682 # On Suns, sometimes $CPP names a directory.
3683 if test -n "$CPP" && test -d "$CPP"; then
3684   CPP=
3685 fi
3686 if test -z "$CPP"; then
3687   if test "${ac_cv_prog_CPP+set}" = set; then
3688   echo $ECHO_N "(cached) $ECHO_C" >&6
3689 else
3690       # Double quotes because CPP needs to be expanded
3691     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3692     do
3693       ac_preproc_ok=false
3694 for ac_c_preproc_warn_flag in '' yes
3695 do
3696   # Use a header file that comes with gcc, so configuring glibc
3697   # with a fresh cross-compiler works.
3698   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3699   # <limits.h> exists even on freestanding compilers.
3700   # On the NeXT, cc -E runs the code through the compiler's parser,
3701   # not just through cpp. "Syntax error" is here to catch this case.
3702   cat >conftest.$ac_ext <<_ACEOF
3703 /* confdefs.h.  */
3704 _ACEOF
3705 cat confdefs.h >>conftest.$ac_ext
3706 cat >>conftest.$ac_ext <<_ACEOF
3707 /* end confdefs.h.  */
3708 #ifdef __STDC__
3709 # include <limits.h>
3710 #else
3711 # include <assert.h>
3712 #endif
3713                      Syntax error
3714 _ACEOF
3715 if { (ac_try="$ac_cpp conftest.$ac_ext"
3716 case "(($ac_try" in
3717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3718   *) ac_try_echo=$ac_try;;
3719 esac
3720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3721   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3722   ac_status=$?
3723   grep -v '^ *+' conftest.er1 >conftest.err
3724   rm -f conftest.er1
3725   cat conftest.err >&5
3726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727   (exit $ac_status); } >/dev/null && {
3728          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3729          test ! -s conftest.err
3730        }; then
3731   :
3732 else
3733   echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3735
3736   # Broken: fails on valid input.
3737 continue
3738 fi
3739
3740 rm -f conftest.err conftest.$ac_ext
3741
3742   # OK, works on sane cases.  Now check whether nonexistent headers
3743   # can be detected and how.
3744   cat >conftest.$ac_ext <<_ACEOF
3745 /* confdefs.h.  */
3746 _ACEOF
3747 cat confdefs.h >>conftest.$ac_ext
3748 cat >>conftest.$ac_ext <<_ACEOF
3749 /* end confdefs.h.  */
3750 #include <ac_nonexistent.h>
3751 _ACEOF
3752 if { (ac_try="$ac_cpp conftest.$ac_ext"
3753 case "(($ac_try" in
3754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3755   *) ac_try_echo=$ac_try;;
3756 esac
3757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3758   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3759   ac_status=$?
3760   grep -v '^ *+' conftest.er1 >conftest.err
3761   rm -f conftest.er1
3762   cat conftest.err >&5
3763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3764   (exit $ac_status); } >/dev/null && {
3765          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3766          test ! -s conftest.err
3767        }; then
3768   # Broken: success on invalid input.
3769 continue
3770 else
3771   echo "$as_me: failed program was:" >&5
3772 sed 's/^/| /' conftest.$ac_ext >&5
3773
3774   # Passes both tests.
3775 ac_preproc_ok=:
3776 break
3777 fi
3778
3779 rm -f conftest.err conftest.$ac_ext
3780
3781 done
3782 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3783 rm -f conftest.err conftest.$ac_ext
3784 if $ac_preproc_ok; then
3785   break
3786 fi
3787
3788     done
3789     ac_cv_prog_CPP=$CPP
3790
3791 fi
3792   CPP=$ac_cv_prog_CPP
3793 else
3794   ac_cv_prog_CPP=$CPP
3795 fi
3796 { echo "$as_me:$LINENO: result: $CPP" >&5
3797 echo "${ECHO_T}$CPP" >&6; }
3798 ac_preproc_ok=false
3799 for ac_c_preproc_warn_flag in '' yes
3800 do
3801   # Use a header file that comes with gcc, so configuring glibc
3802   # with a fresh cross-compiler works.
3803   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3804   # <limits.h> exists even on freestanding compilers.
3805   # On the NeXT, cc -E runs the code through the compiler's parser,
3806   # not just through cpp. "Syntax error" is here to catch this case.
3807   cat >conftest.$ac_ext <<_ACEOF
3808 /* confdefs.h.  */
3809 _ACEOF
3810 cat confdefs.h >>conftest.$ac_ext
3811 cat >>conftest.$ac_ext <<_ACEOF
3812 /* end confdefs.h.  */
3813 #ifdef __STDC__
3814 # include <limits.h>
3815 #else
3816 # include <assert.h>
3817 #endif
3818                      Syntax error
3819 _ACEOF
3820 if { (ac_try="$ac_cpp conftest.$ac_ext"
3821 case "(($ac_try" in
3822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3823   *) ac_try_echo=$ac_try;;
3824 esac
3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3826   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3827   ac_status=$?
3828   grep -v '^ *+' conftest.er1 >conftest.err
3829   rm -f conftest.er1
3830   cat conftest.err >&5
3831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832   (exit $ac_status); } >/dev/null && {
3833          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3834          test ! -s conftest.err
3835        }; then
3836   :
3837 else
3838   echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3840
3841   # Broken: fails on valid input.
3842 continue
3843 fi
3844
3845 rm -f conftest.err conftest.$ac_ext
3846
3847   # OK, works on sane cases.  Now check whether nonexistent headers
3848   # can be detected and how.
3849   cat >conftest.$ac_ext <<_ACEOF
3850 /* confdefs.h.  */
3851 _ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h.  */
3855 #include <ac_nonexistent.h>
3856 _ACEOF
3857 if { (ac_try="$ac_cpp conftest.$ac_ext"
3858 case "(($ac_try" in
3859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3860   *) ac_try_echo=$ac_try;;
3861 esac
3862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3863   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3864   ac_status=$?
3865   grep -v '^ *+' conftest.er1 >conftest.err
3866   rm -f conftest.er1
3867   cat conftest.err >&5
3868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869   (exit $ac_status); } >/dev/null && {
3870          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3871          test ! -s conftest.err
3872        }; then
3873   # Broken: success on invalid input.
3874 continue
3875 else
3876   echo "$as_me: failed program was:" >&5
3877 sed 's/^/| /' conftest.$ac_ext >&5
3878
3879   # Passes both tests.
3880 ac_preproc_ok=:
3881 break
3882 fi
3883
3884 rm -f conftest.err conftest.$ac_ext
3885
3886 done
3887 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3888 rm -f conftest.err conftest.$ac_ext
3889 if $ac_preproc_ok; then
3890   :
3891 else
3892   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3893 See \`config.log' for more details." >&5
3894 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3895 See \`config.log' for more details." >&2;}
3896    { (exit 1); exit 1; }; }
3897 fi
3898
3899 ac_ext=c
3900 ac_cpp='$CPP $CPPFLAGS'
3901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3904
3905
3906 { echo "$as_me:$LINENO: checking for X" >&5
3907 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3908
3909
3910 # Check whether --with-x was given.
3911 if test "${with_x+set}" = set; then
3912   withval=$with_x;
3913 fi
3914
3915 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3916 if test "x$with_x" = xno; then
3917   # The user explicitly disabled X.
3918   have_x=disabled
3919 else
3920   case $x_includes,$x_libraries in #(
3921     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3922 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3923    { (exit 1); exit 1; }; };; #(
3924     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3925   echo $ECHO_N "(cached) $ECHO_C" >&6
3926 else
3927   # One or both of the vars are not set, and there is no cached value.
3928 ac_x_includes=no ac_x_libraries=no
3929 rm -f -r conftest.dir
3930 if mkdir conftest.dir; then
3931   cd conftest.dir
3932   cat >Imakefile <<'_ACEOF'
3933 incroot:
3934         @echo incroot='${INCROOT}'
3935 usrlibdir:
3936         @echo usrlibdir='${USRLIBDIR}'
3937 libdir:
3938         @echo libdir='${LIBDIR}'
3939 _ACEOF
3940   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3941     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3942     for ac_var in incroot usrlibdir libdir; do
3943       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3944     done
3945     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3946     for ac_extension in a so sl; do
3947       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3948          test -f "$ac_im_libdir/libX11.$ac_extension"; then
3949         ac_im_usrlibdir=$ac_im_libdir; break
3950       fi
3951     done
3952     # Screen out bogus values from the imake configuration.  They are
3953     # bogus both because they are the default anyway, and because
3954     # using them would break gcc on systems where it needs fixed includes.
3955     case $ac_im_incroot in
3956         /usr/include) ac_x_includes= ;;
3957         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3958     esac
3959     case $ac_im_usrlibdir in
3960         /usr/lib | /lib) ;;
3961         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3962     esac
3963   fi
3964   cd ..
3965   rm -f -r conftest.dir
3966 fi
3967
3968 # Standard set of common directories for X headers.
3969 # Check X11 before X11Rn because it is often a symlink to the current release.
3970 ac_x_header_dirs='
3971 /usr/X11/include
3972 /usr/X11R6/include
3973 /usr/X11R5/include
3974 /usr/X11R4/include
3975
3976 /usr/include/X11
3977 /usr/include/X11R6
3978 /usr/include/X11R5
3979 /usr/include/X11R4
3980
3981 /usr/local/X11/include
3982 /usr/local/X11R6/include
3983 /usr/local/X11R5/include
3984 /usr/local/X11R4/include
3985
3986 /usr/local/include/X11
3987 /usr/local/include/X11R6
3988 /usr/local/include/X11R5
3989 /usr/local/include/X11R4
3990
3991 /usr/X386/include
3992 /usr/x386/include
3993 /usr/XFree86/include/X11
3994
3995 /usr/include
3996 /usr/local/include
3997 /usr/unsupported/include
3998 /usr/athena/include
3999 /usr/local/x11r5/include
4000 /usr/lpp/Xamples/include
4001
4002 /usr/openwin/include
4003 /usr/openwin/share/include'
4004
4005 if test "$ac_x_includes" = no; then
4006   # Guess where to find include files, by looking for Xlib.h.
4007   # First, try using that file with no special directory specified.
4008   cat >conftest.$ac_ext <<_ACEOF
4009 /* confdefs.h.  */
4010 _ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h.  */
4014 #include <X11/Xlib.h>
4015 _ACEOF
4016 if { (ac_try="$ac_cpp conftest.$ac_ext"
4017 case "(($ac_try" in
4018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4019   *) ac_try_echo=$ac_try;;
4020 esac
4021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4022   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4023   ac_status=$?
4024   grep -v '^ *+' conftest.er1 >conftest.err
4025   rm -f conftest.er1
4026   cat conftest.err >&5
4027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028   (exit $ac_status); } >/dev/null && {
4029          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4030          test ! -s conftest.err
4031        }; then
4032   # We can compile using X headers with no special include directory.
4033 ac_x_includes=
4034 else
4035   echo "$as_me: failed program was:" >&5
4036 sed 's/^/| /' conftest.$ac_ext >&5
4037
4038   for ac_dir in $ac_x_header_dirs; do
4039   if test -r "$ac_dir/X11/Xlib.h"; then
4040     ac_x_includes=$ac_dir
4041     break
4042   fi
4043 done
4044 fi
4045
4046 rm -f conftest.err conftest.$ac_ext
4047 fi # $ac_x_includes = no
4048
4049 if test "$ac_x_libraries" = no; then
4050   # Check for the libraries.
4051   # See if we find them without any special options.
4052   # Don't add to $LIBS permanently.
4053   ac_save_LIBS=$LIBS
4054   LIBS="-lX11 $LIBS"
4055   cat >conftest.$ac_ext <<_ACEOF
4056 /* confdefs.h.  */
4057 _ACEOF
4058 cat confdefs.h >>conftest.$ac_ext
4059 cat >>conftest.$ac_ext <<_ACEOF
4060 /* end confdefs.h.  */
4061 #include <X11/Xlib.h>
4062 int
4063 main ()
4064 {
4065 XrmInitialize ()
4066   ;
4067   return 0;
4068 }
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074   *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077   (eval "$ac_link") 2>conftest.er1
4078   ac_status=$?
4079   grep -v '^ *+' conftest.er1 >conftest.err
4080   rm -f conftest.er1
4081   cat conftest.err >&5
4082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083   (exit $ac_status); } && {
4084          test -z "$ac_c_werror_flag" ||
4085          test ! -s conftest.err
4086        } && test -s conftest$ac_exeext &&
4087        $as_test_x conftest$ac_exeext; then
4088   LIBS=$ac_save_LIBS
4089 # We can link X programs with no special library path.
4090 ac_x_libraries=
4091 else
4092   echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4094
4095         LIBS=$ac_save_LIBS
4096 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4097 do
4098   # Don't even attempt the hair of trying to link an X program!
4099   for ac_extension in a so sl; do
4100     if test -r "$ac_dir/libX11.$ac_extension"; then
4101       ac_x_libraries=$ac_dir
4102       break 2
4103     fi
4104   done
4105 done
4106 fi
4107
4108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4109       conftest$ac_exeext conftest.$ac_ext
4110 fi # $ac_x_libraries = no
4111
4112 case $ac_x_includes,$ac_x_libraries in #(
4113   no,* | *,no | *\'*)
4114     # Didn't find X, or a directory has "'" in its name.
4115     ac_cv_have_x="have_x=no";; #(
4116   *)
4117     # Record where we found X for the cache.
4118     ac_cv_have_x="have_x=yes\
4119         ac_x_includes='$ac_x_includes'\
4120         ac_x_libraries='$ac_x_libraries'"
4121 esac
4122 fi
4123 ;; #(
4124     *) have_x=yes;;
4125   esac
4126   eval "$ac_cv_have_x"
4127 fi # $with_x != no
4128
4129 if test "$have_x" != yes; then
4130   { echo "$as_me:$LINENO: result: $have_x" >&5
4131 echo "${ECHO_T}$have_x" >&6; }
4132   no_x=yes
4133 else
4134   # If each of the values was on the command line, it overrides each guess.
4135   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4136   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4137   # Update the cache value to reflect the command line values.
4138   ac_cv_have_x="have_x=yes\
4139         ac_x_includes='$x_includes'\
4140         ac_x_libraries='$x_libraries'"
4141   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4142 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4143 fi
4144
4145 if test "$no_x" = yes; then
4146   # Not all programs may use this symbol, but it does not hurt to define it.
4147
4148 cat >>confdefs.h <<\_ACEOF
4149 #define X_DISPLAY_MISSING 1
4150 _ACEOF
4151
4152   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4153 else
4154   if test -n "$x_includes"; then
4155     X_CFLAGS="$X_CFLAGS -I$x_includes"
4156   fi
4157
4158   # It would also be nice to do this for all -L options, not just this one.
4159   if test -n "$x_libraries"; then
4160     X_LIBS="$X_LIBS -L$x_libraries"
4161     # For Solaris; some versions of Sun CC require a space after -R and
4162     # others require no space.  Words are not sufficient . . . .
4163     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4164 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4165     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4166     ac_xsave_c_werror_flag=$ac_c_werror_flag
4167     ac_c_werror_flag=yes
4168     cat >conftest.$ac_ext <<_ACEOF
4169 /* confdefs.h.  */
4170 _ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h.  */
4174
4175 int
4176 main ()
4177 {
4178
4179   ;
4180   return 0;
4181 }
4182 _ACEOF
4183 rm -f conftest.$ac_objext conftest$ac_exeext
4184 if { (ac_try="$ac_link"
4185 case "(($ac_try" in
4186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187   *) ac_try_echo=$ac_try;;
4188 esac
4189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4190   (eval "$ac_link") 2>conftest.er1
4191   ac_status=$?
4192   grep -v '^ *+' conftest.er1 >conftest.err
4193   rm -f conftest.er1
4194   cat conftest.err >&5
4195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196   (exit $ac_status); } && {
4197          test -z "$ac_c_werror_flag" ||
4198          test ! -s conftest.err
4199        } && test -s conftest$ac_exeext &&
4200        $as_test_x conftest$ac_exeext; then
4201   { echo "$as_me:$LINENO: result: no" >&5
4202 echo "${ECHO_T}no" >&6; }
4203        X_LIBS="$X_LIBS -R$x_libraries"
4204 else
4205   echo "$as_me: failed program was:" >&5
4206 sed 's/^/| /' conftest.$ac_ext >&5
4207
4208         LIBS="$ac_xsave_LIBS -R $x_libraries"
4209        cat >conftest.$ac_ext <<_ACEOF
4210 /* confdefs.h.  */
4211 _ACEOF
4212 cat confdefs.h >>conftest.$ac_ext
4213 cat >>conftest.$ac_ext <<_ACEOF
4214 /* end confdefs.h.  */
4215
4216 int
4217 main ()
4218 {
4219
4220   ;
4221   return 0;
4222 }
4223 _ACEOF
4224 rm -f conftest.$ac_objext conftest$ac_exeext
4225 if { (ac_try="$ac_link"
4226 case "(($ac_try" in
4227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4228   *) ac_try_echo=$ac_try;;
4229 esac
4230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4231   (eval "$ac_link") 2>conftest.er1
4232   ac_status=$?
4233   grep -v '^ *+' conftest.er1 >conftest.err
4234   rm -f conftest.er1
4235   cat conftest.err >&5
4236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237   (exit $ac_status); } && {
4238          test -z "$ac_c_werror_flag" ||
4239          test ! -s conftest.err
4240        } && test -s conftest$ac_exeext &&
4241        $as_test_x conftest$ac_exeext; then
4242   { echo "$as_me:$LINENO: result: yes" >&5
4243 echo "${ECHO_T}yes" >&6; }
4244           X_LIBS="$X_LIBS -R $x_libraries"
4245 else
4246   echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4248
4249         { echo "$as_me:$LINENO: result: neither works" >&5
4250 echo "${ECHO_T}neither works" >&6; }
4251 fi
4252
4253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4254       conftest$ac_exeext conftest.$ac_ext
4255 fi
4256
4257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4258       conftest$ac_exeext conftest.$ac_ext
4259     ac_c_werror_flag=$ac_xsave_c_werror_flag
4260     LIBS=$ac_xsave_LIBS
4261   fi
4262
4263   # Check for system-dependent libraries X programs must link with.
4264   # Do this before checking for the system-independent R6 libraries
4265   # (-lICE), since we may need -lsocket or whatever for X linking.
4266
4267   if test "$ISC" = yes; then
4268     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4269   else
4270     # Martyn Johnson says this is needed for Ultrix, if the X
4271     # libraries were built with DECnet support.  And Karl Berry says
4272     # the Alpha needs dnet_stub (dnet does not exist).
4273     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4274     cat >conftest.$ac_ext <<_ACEOF
4275 /* confdefs.h.  */
4276 _ACEOF
4277 cat confdefs.h >>conftest.$ac_ext
4278 cat >>conftest.$ac_ext <<_ACEOF
4279 /* end confdefs.h.  */
4280
4281 /* Override any GCC internal prototype to avoid an error.
4282    Use char because int might match the return type of a GCC
4283    builtin and then its argument prototype would still apply.  */
4284 #ifdef __cplusplus
4285 extern "C"
4286 #endif
4287 char XOpenDisplay ();
4288 int
4289 main ()
4290 {
4291 return XOpenDisplay ();
4292   ;
4293   return 0;
4294 }
4295 _ACEOF
4296 rm -f conftest.$ac_objext conftest$ac_exeext
4297 if { (ac_try="$ac_link"
4298 case "(($ac_try" in
4299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4300   *) ac_try_echo=$ac_try;;
4301 esac
4302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4303   (eval "$ac_link") 2>conftest.er1
4304   ac_status=$?
4305   grep -v '^ *+' conftest.er1 >conftest.err
4306   rm -f conftest.er1
4307   cat conftest.err >&5
4308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309   (exit $ac_status); } && {
4310          test -z "$ac_c_werror_flag" ||
4311          test ! -s conftest.err
4312        } && test -s conftest$ac_exeext &&
4313        $as_test_x conftest$ac_exeext; then
4314   :
4315 else
4316   echo "$as_me: failed program was:" >&5
4317 sed 's/^/| /' conftest.$ac_ext >&5
4318
4319         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4320 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4321 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4322   echo $ECHO_N "(cached) $ECHO_C" >&6
4323 else
4324   ac_check_lib_save_LIBS=$LIBS
4325 LIBS="-ldnet  $LIBS"
4326 cat >conftest.$ac_ext <<_ACEOF
4327 /* confdefs.h.  */
4328 _ACEOF
4329 cat confdefs.h >>conftest.$ac_ext
4330 cat >>conftest.$ac_ext <<_ACEOF
4331 /* end confdefs.h.  */
4332
4333 /* Override any GCC internal prototype to avoid an error.
4334    Use char because int might match the return type of a GCC
4335    builtin and then its argument prototype would still apply.  */
4336 #ifdef __cplusplus
4337 extern "C"
4338 #endif
4339 char dnet_ntoa ();
4340 int
4341 main ()
4342 {
4343 return dnet_ntoa ();
4344   ;
4345   return 0;
4346 }
4347 _ACEOF
4348 rm -f conftest.$ac_objext conftest$ac_exeext
4349 if { (ac_try="$ac_link"
4350 case "(($ac_try" in
4351   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4352   *) ac_try_echo=$ac_try;;
4353 esac
4354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4355   (eval "$ac_link") 2>conftest.er1
4356   ac_status=$?
4357   grep -v '^ *+' conftest.er1 >conftest.err
4358   rm -f conftest.er1
4359   cat conftest.err >&5
4360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361   (exit $ac_status); } && {
4362          test -z "$ac_c_werror_flag" ||
4363          test ! -s conftest.err
4364        } && test -s conftest$ac_exeext &&
4365        $as_test_x conftest$ac_exeext; then
4366   ac_cv_lib_dnet_dnet_ntoa=yes
4367 else
4368   echo "$as_me: failed program was:" >&5
4369 sed 's/^/| /' conftest.$ac_ext >&5
4370
4371         ac_cv_lib_dnet_dnet_ntoa=no
4372 fi
4373
4374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4375       conftest$ac_exeext conftest.$ac_ext
4376 LIBS=$ac_check_lib_save_LIBS
4377 fi
4378 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4379 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4380 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4381   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4382 fi
4383
4384     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4385       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4386 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4387 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4388   echo $ECHO_N "(cached) $ECHO_C" >&6
4389 else
4390   ac_check_lib_save_LIBS=$LIBS
4391 LIBS="-ldnet_stub  $LIBS"
4392 cat >conftest.$ac_ext <<_ACEOF
4393 /* confdefs.h.  */
4394 _ACEOF
4395 cat confdefs.h >>conftest.$ac_ext
4396 cat >>conftest.$ac_ext <<_ACEOF
4397 /* end confdefs.h.  */
4398
4399 /* Override any GCC internal prototype to avoid an error.
4400    Use char because int might match the return type of a GCC
4401    builtin and then its argument prototype would still apply.  */
4402 #ifdef __cplusplus
4403 extern "C"
4404 #endif
4405 char dnet_ntoa ();
4406 int
4407 main ()
4408 {
4409 return dnet_ntoa ();
4410   ;
4411   return 0;
4412 }
4413 _ACEOF
4414 rm -f conftest.$ac_objext conftest$ac_exeext
4415 if { (ac_try="$ac_link"
4416 case "(($ac_try" in
4417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4418   *) ac_try_echo=$ac_try;;
4419 esac
4420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4421   (eval "$ac_link") 2>conftest.er1
4422   ac_status=$?
4423   grep -v '^ *+' conftest.er1 >conftest.err
4424   rm -f conftest.er1
4425   cat conftest.err >&5
4426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427   (exit $ac_status); } && {
4428          test -z "$ac_c_werror_flag" ||
4429          test ! -s conftest.err
4430        } && test -s conftest$ac_exeext &&
4431        $as_test_x conftest$ac_exeext; then
4432   ac_cv_lib_dnet_stub_dnet_ntoa=yes
4433 else
4434   echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4436
4437         ac_cv_lib_dnet_stub_dnet_ntoa=no
4438 fi
4439
4440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4441       conftest$ac_exeext conftest.$ac_ext
4442 LIBS=$ac_check_lib_save_LIBS
4443 fi
4444 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4445 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4446 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4447   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4448 fi
4449
4450     fi
4451 fi
4452
4453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4454       conftest$ac_exeext conftest.$ac_ext
4455     LIBS="$ac_xsave_LIBS"
4456
4457     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4458     # to get the SysV transport functions.
4459     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4460     # needs -lnsl.
4461     # The nsl library prevents programs from opening the X display
4462     # on Irix 5.2, according to T.E. Dickey.
4463     # The functions gethostbyname, getservbyname, and inet_addr are
4464     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4465     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4466 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_gethostbyname+set}" = set; then
4468   echo $ECHO_N "(cached) $ECHO_C" >&6
4469 else
4470   cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h.  */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h.  */
4476 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4478 #define gethostbyname innocuous_gethostbyname
4479
4480 /* System header to define __stub macros and hopefully few prototypes,
4481     which can conflict with char gethostbyname (); below.
4482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483     <limits.h> exists even on freestanding compilers.  */
4484
4485 #ifdef __STDC__
4486 # include <limits.h>
4487 #else
4488 # include <assert.h>
4489 #endif
4490
4491 #undef gethostbyname
4492
4493 /* Override any GCC internal prototype to avoid an error.
4494    Use char because int might match the return type of a GCC
4495    builtin and then its argument prototype would still apply.  */
4496 #ifdef __cplusplus
4497 extern "C"
4498 #endif
4499 char gethostbyname ();
4500 /* The GNU C library defines this for functions which it implements
4501     to always fail with ENOSYS.  Some functions are actually named
4502     something starting with __ and the normal name is an alias.  */
4503 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4504 choke me
4505 #endif
4506
4507 int
4508 main ()
4509 {
4510 return gethostbyname ();
4511   ;
4512   return 0;
4513 }
4514 _ACEOF
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4517 case "(($ac_try" in
4518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519   *) ac_try_echo=$ac_try;;
4520 esac
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522   (eval "$ac_link") 2>conftest.er1
4523   ac_status=$?
4524   grep -v '^ *+' conftest.er1 >conftest.err
4525   rm -f conftest.er1
4526   cat conftest.err >&5
4527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528   (exit $ac_status); } && {
4529          test -z "$ac_c_werror_flag" ||
4530          test ! -s conftest.err
4531        } && test -s conftest$ac_exeext &&
4532        $as_test_x conftest$ac_exeext; then
4533   ac_cv_func_gethostbyname=yes
4534 else
4535   echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4537
4538         ac_cv_func_gethostbyname=no
4539 fi
4540
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542       conftest$ac_exeext conftest.$ac_ext
4543 fi
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4545 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4546
4547     if test $ac_cv_func_gethostbyname = no; then
4548       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4549 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4551   echo $ECHO_N "(cached) $ECHO_C" >&6
4552 else
4553   ac_check_lib_save_LIBS=$LIBS
4554 LIBS="-lnsl  $LIBS"
4555 cat >conftest.$ac_ext <<_ACEOF
4556 /* confdefs.h.  */
4557 _ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h.  */
4561
4562 /* Override any GCC internal prototype to avoid an error.
4563    Use char because int might match the return type of a GCC
4564    builtin and then its argument prototype would still apply.  */
4565 #ifdef __cplusplus
4566 extern "C"
4567 #endif
4568 char gethostbyname ();
4569 int
4570 main ()
4571 {
4572 return gethostbyname ();
4573   ;
4574   return 0;
4575 }
4576 _ACEOF
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4579 case "(($ac_try" in
4580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581   *) ac_try_echo=$ac_try;;
4582 esac
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584   (eval "$ac_link") 2>conftest.er1
4585   ac_status=$?
4586   grep -v '^ *+' conftest.er1 >conftest.err
4587   rm -f conftest.er1
4588   cat conftest.err >&5
4589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590   (exit $ac_status); } && {
4591          test -z "$ac_c_werror_flag" ||
4592          test ! -s conftest.err
4593        } && test -s conftest$ac_exeext &&
4594        $as_test_x conftest$ac_exeext; then
4595   ac_cv_lib_nsl_gethostbyname=yes
4596 else
4597   echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4599
4600         ac_cv_lib_nsl_gethostbyname=no
4601 fi
4602
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604       conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4606 fi
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4608 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4609 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4610   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4611 fi
4612
4613       if test $ac_cv_lib_nsl_gethostbyname = no; then
4614         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4615 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4616 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4617   echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619   ac_check_lib_save_LIBS=$LIBS
4620 LIBS="-lbsd  $LIBS"
4621 cat >conftest.$ac_ext <<_ACEOF
4622 /* confdefs.h.  */
4623 _ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h.  */
4627
4628 /* Override any GCC internal prototype to avoid an error.
4629    Use char because int might match the return type of a GCC
4630    builtin and then its argument prototype would still apply.  */
4631 #ifdef __cplusplus
4632 extern "C"
4633 #endif
4634 char gethostbyname ();
4635 int
4636 main ()
4637 {
4638 return gethostbyname ();
4639   ;
4640   return 0;
4641 }
4642 _ACEOF
4643 rm -f conftest.$ac_objext conftest$ac_exeext
4644 if { (ac_try="$ac_link"
4645 case "(($ac_try" in
4646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4647   *) ac_try_echo=$ac_try;;
4648 esac
4649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4650   (eval "$ac_link") 2>conftest.er1
4651   ac_status=$?
4652   grep -v '^ *+' conftest.er1 >conftest.err
4653   rm -f conftest.er1
4654   cat conftest.err >&5
4655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656   (exit $ac_status); } && {
4657          test -z "$ac_c_werror_flag" ||
4658          test ! -s conftest.err
4659        } && test -s conftest$ac_exeext &&
4660        $as_test_x conftest$ac_exeext; then
4661   ac_cv_lib_bsd_gethostbyname=yes
4662 else
4663   echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.$ac_ext >&5
4665
4666         ac_cv_lib_bsd_gethostbyname=no
4667 fi
4668
4669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4670       conftest$ac_exeext conftest.$ac_ext
4671 LIBS=$ac_check_lib_save_LIBS
4672 fi
4673 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4674 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4675 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4676   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4677 fi
4678
4679       fi
4680     fi
4681
4682     # lieder@skyler.mavd.honeywell.com says without -lsocket,
4683     # socket/setsockopt and other routines are undefined under SCO ODT
4684     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
4685     # on later versions), says Simon Leinen: it contains gethostby*
4686     # variants that don't use the name server (or something).  -lsocket
4687     # must be given before -lnsl if both are needed.  We assume that
4688     # if connect needs -lnsl, so does gethostbyname.
4689     { echo "$as_me:$LINENO: checking for connect" >&5
4690 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4691 if test "${ac_cv_func_connect+set}" = set; then
4692   echo $ECHO_N "(cached) $ECHO_C" >&6
4693 else
4694   cat >conftest.$ac_ext <<_ACEOF
4695 /* confdefs.h.  */
4696 _ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h.  */
4700 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4701    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4702 #define connect innocuous_connect
4703
4704 /* System header to define __stub macros and hopefully few prototypes,
4705     which can conflict with char connect (); below.
4706     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4707     <limits.h> exists even on freestanding compilers.  */
4708
4709 #ifdef __STDC__
4710 # include <limits.h>
4711 #else
4712 # include <assert.h>
4713 #endif
4714
4715 #undef connect
4716
4717 /* Override any GCC internal prototype to avoid an error.
4718    Use char because int might match the return type of a GCC
4719    builtin and then its argument prototype would still apply.  */
4720 #ifdef __cplusplus
4721 extern "C"
4722 #endif
4723 char connect ();
4724 /* The GNU C library defines this for functions which it implements
4725     to always fail with ENOSYS.  Some functions are actually named
4726     something starting with __ and the normal name is an alias.  */
4727 #if defined __stub_connect || defined __stub___connect
4728 choke me
4729 #endif
4730
4731 int
4732 main ()
4733 {
4734 return connect ();
4735   ;
4736   return 0;
4737 }
4738 _ACEOF
4739 rm -f conftest.$ac_objext conftest$ac_exeext
4740 if { (ac_try="$ac_link"
4741 case "(($ac_try" in
4742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4743   *) ac_try_echo=$ac_try;;
4744 esac
4745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4746   (eval "$ac_link") 2>conftest.er1
4747   ac_status=$?
4748   grep -v '^ *+' conftest.er1 >conftest.err
4749   rm -f conftest.er1
4750   cat conftest.err >&5
4751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752   (exit $ac_status); } && {
4753          test -z "$ac_c_werror_flag" ||
4754          test ! -s conftest.err
4755        } && test -s conftest$ac_exeext &&
4756        $as_test_x conftest$ac_exeext; then
4757   ac_cv_func_connect=yes
4758 else
4759   echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4761
4762         ac_cv_func_connect=no
4763 fi
4764
4765 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4766       conftest$ac_exeext conftest.$ac_ext
4767 fi
4768 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4769 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4770
4771     if test $ac_cv_func_connect = no; then
4772       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4773 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4774 if test "${ac_cv_lib_socket_connect+set}" = set; then
4775   echo $ECHO_N "(cached) $ECHO_C" >&6
4776 else
4777   ac_check_lib_save_LIBS=$LIBS
4778 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4779 cat >conftest.$ac_ext <<_ACEOF
4780 /* confdefs.h.  */
4781 _ACEOF
4782 cat confdefs.h >>conftest.$ac_ext
4783 cat >>conftest.$ac_ext <<_ACEOF
4784 /* end confdefs.h.  */
4785
4786 /* Override any GCC internal prototype to avoid an error.
4787    Use char because int might match the return type of a GCC
4788    builtin and then its argument prototype would still apply.  */
4789 #ifdef __cplusplus
4790 extern "C"
4791 #endif
4792 char connect ();
4793 int
4794 main ()
4795 {
4796 return connect ();
4797   ;
4798   return 0;
4799 }
4800 _ACEOF
4801 rm -f conftest.$ac_objext conftest$ac_exeext
4802 if { (ac_try="$ac_link"
4803 case "(($ac_try" in
4804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4805   *) ac_try_echo=$ac_try;;
4806 esac
4807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4808   (eval "$ac_link") 2>conftest.er1
4809   ac_status=$?
4810   grep -v '^ *+' conftest.er1 >conftest.err
4811   rm -f conftest.er1
4812   cat conftest.err >&5
4813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4814   (exit $ac_status); } && {
4815          test -z "$ac_c_werror_flag" ||
4816          test ! -s conftest.err
4817        } && test -s conftest$ac_exeext &&
4818        $as_test_x conftest$ac_exeext; then
4819   ac_cv_lib_socket_connect=yes
4820 else
4821   echo "$as_me: failed program was:" >&5
4822 sed 's/^/| /' conftest.$ac_ext >&5
4823
4824         ac_cv_lib_socket_connect=no
4825 fi
4826
4827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4828       conftest$ac_exeext conftest.$ac_ext
4829 LIBS=$ac_check_lib_save_LIBS
4830 fi
4831 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4832 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4833 if test $ac_cv_lib_socket_connect = yes; then
4834   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4835 fi
4836
4837     fi
4838
4839     # Guillermo Gomez says -lposix is necessary on A/UX.
4840     { echo "$as_me:$LINENO: checking for remove" >&5
4841 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4842 if test "${ac_cv_func_remove+set}" = set; then
4843   echo $ECHO_N "(cached) $ECHO_C" >&6
4844 else
4845   cat >conftest.$ac_ext <<_ACEOF
4846 /* confdefs.h.  */
4847 _ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h.  */
4851 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4853 #define remove innocuous_remove
4854
4855 /* System header to define __stub macros and hopefully few prototypes,
4856     which can conflict with char remove (); below.
4857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4858     <limits.h> exists even on freestanding compilers.  */
4859
4860 #ifdef __STDC__
4861 # include <limits.h>
4862 #else
4863 # include <assert.h>
4864 #endif
4865
4866 #undef remove
4867
4868 /* Override any GCC internal prototype to avoid an error.
4869    Use char because int might match the return type of a GCC
4870    builtin and then its argument prototype would still apply.  */
4871 #ifdef __cplusplus
4872 extern "C"
4873 #endif
4874 char remove ();
4875 /* The GNU C library defines this for functions which it implements
4876     to always fail with ENOSYS.  Some functions are actually named
4877     something starting with __ and the normal name is an alias.  */
4878 #if defined __stub_remove || defined __stub___remove
4879 choke me
4880 #endif
4881
4882 int
4883 main ()
4884 {
4885 return remove ();
4886   ;
4887   return 0;
4888 }
4889 _ACEOF
4890 rm -f conftest.$ac_objext conftest$ac_exeext
4891 if { (ac_try="$ac_link"
4892 case "(($ac_try" in
4893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4894   *) ac_try_echo=$ac_try;;
4895 esac
4896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4897   (eval "$ac_link") 2>conftest.er1
4898   ac_status=$?
4899   grep -v '^ *+' conftest.er1 >conftest.err
4900   rm -f conftest.er1
4901   cat conftest.err >&5
4902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903   (exit $ac_status); } && {
4904          test -z "$ac_c_werror_flag" ||
4905          test ! -s conftest.err
4906        } && test -s conftest$ac_exeext &&
4907        $as_test_x conftest$ac_exeext; then
4908   ac_cv_func_remove=yes
4909 else
4910   echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4912
4913         ac_cv_func_remove=no
4914 fi
4915
4916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4917       conftest$ac_exeext conftest.$ac_ext
4918 fi
4919 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4920 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4921
4922     if test $ac_cv_func_remove = no; then
4923       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4924 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4925 if test "${ac_cv_lib_posix_remove+set}" = set; then
4926   echo $ECHO_N "(cached) $ECHO_C" >&6
4927 else
4928   ac_check_lib_save_LIBS=$LIBS
4929 LIBS="-lposix  $LIBS"
4930 cat >conftest.$ac_ext <<_ACEOF
4931 /* confdefs.h.  */
4932 _ACEOF
4933 cat confdefs.h >>conftest.$ac_ext
4934 cat >>conftest.$ac_ext <<_ACEOF
4935 /* end confdefs.h.  */
4936
4937 /* Override any GCC internal prototype to avoid an error.
4938    Use char because int might match the return type of a GCC
4939    builtin and then its argument prototype would still apply.  */
4940 #ifdef __cplusplus
4941 extern "C"
4942 #endif
4943 char remove ();
4944 int
4945 main ()
4946 {
4947 return remove ();
4948   ;
4949   return 0;
4950 }
4951 _ACEOF
4952 rm -f conftest.$ac_objext conftest$ac_exeext
4953 if { (ac_try="$ac_link"
4954 case "(($ac_try" in
4955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4956   *) ac_try_echo=$ac_try;;
4957 esac
4958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4959   (eval "$ac_link") 2>conftest.er1
4960   ac_status=$?
4961   grep -v '^ *+' conftest.er1 >conftest.err
4962   rm -f conftest.er1
4963   cat conftest.err >&5
4964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4965   (exit $ac_status); } && {
4966          test -z "$ac_c_werror_flag" ||
4967          test ! -s conftest.err
4968        } && test -s conftest$ac_exeext &&
4969        $as_test_x conftest$ac_exeext; then
4970   ac_cv_lib_posix_remove=yes
4971 else
4972   echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4974
4975         ac_cv_lib_posix_remove=no
4976 fi
4977
4978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4979       conftest$ac_exeext conftest.$ac_ext
4980 LIBS=$ac_check_lib_save_LIBS
4981 fi
4982 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4983 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4984 if test $ac_cv_lib_posix_remove = yes; then
4985   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4986 fi
4987
4988     fi
4989
4990     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4991     { echo "$as_me:$LINENO: checking for shmat" >&5
4992 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4993 if test "${ac_cv_func_shmat+set}" = set; then
4994   echo $ECHO_N "(cached) $ECHO_C" >&6
4995 else
4996   cat >conftest.$ac_ext <<_ACEOF
4997 /* confdefs.h.  */
4998 _ACEOF
4999 cat confdefs.h >>conftest.$ac_ext
5000 cat >>conftest.$ac_ext <<_ACEOF
5001 /* end confdefs.h.  */
5002 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5004 #define shmat innocuous_shmat
5005
5006 /* System header to define __stub macros and hopefully few prototypes,
5007     which can conflict with char shmat (); below.
5008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5009     <limits.h> exists even on freestanding compilers.  */
5010
5011 #ifdef __STDC__
5012 # include <limits.h>
5013 #else
5014 # include <assert.h>
5015 #endif
5016
5017 #undef shmat
5018
5019 /* Override any GCC internal prototype to avoid an error.
5020    Use char because int might match the return type of a GCC
5021    builtin and then its argument prototype would still apply.  */
5022 #ifdef __cplusplus
5023 extern "C"
5024 #endif
5025 char shmat ();
5026 /* The GNU C library defines this for functions which it implements
5027     to always fail with ENOSYS.  Some functions are actually named
5028     something starting with __ and the normal name is an alias.  */
5029 #if defined __stub_shmat || defined __stub___shmat
5030 choke me
5031 #endif
5032
5033 int
5034 main ()
5035 {
5036 return shmat ();
5037   ;
5038   return 0;
5039 }
5040 _ACEOF
5041 rm -f conftest.$ac_objext conftest$ac_exeext
5042 if { (ac_try="$ac_link"
5043 case "(($ac_try" in
5044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5045   *) ac_try_echo=$ac_try;;
5046 esac
5047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5048   (eval "$ac_link") 2>conftest.er1
5049   ac_status=$?
5050   grep -v '^ *+' conftest.er1 >conftest.err
5051   rm -f conftest.er1
5052   cat conftest.err >&5
5053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5054   (exit $ac_status); } && {
5055          test -z "$ac_c_werror_flag" ||
5056          test ! -s conftest.err
5057        } && test -s conftest$ac_exeext &&
5058        $as_test_x conftest$ac_exeext; then
5059   ac_cv_func_shmat=yes
5060 else
5061   echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5063
5064         ac_cv_func_shmat=no
5065 fi
5066
5067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5068       conftest$ac_exeext conftest.$ac_ext
5069 fi
5070 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5071 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5072
5073     if test $ac_cv_func_shmat = no; then
5074       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5075 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5076 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5077   echo $ECHO_N "(cached) $ECHO_C" >&6
5078 else
5079   ac_check_lib_save_LIBS=$LIBS
5080 LIBS="-lipc  $LIBS"
5081 cat >conftest.$ac_ext <<_ACEOF
5082 /* confdefs.h.  */
5083 _ACEOF
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h.  */
5087
5088 /* Override any GCC internal prototype to avoid an error.
5089    Use char because int might match the return type of a GCC
5090    builtin and then its argument prototype would still apply.  */
5091 #ifdef __cplusplus
5092 extern "C"
5093 #endif
5094 char shmat ();
5095 int
5096 main ()
5097 {
5098 return shmat ();
5099   ;
5100   return 0;
5101 }
5102 _ACEOF
5103 rm -f conftest.$ac_objext conftest$ac_exeext
5104 if { (ac_try="$ac_link"
5105 case "(($ac_try" in
5106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107   *) ac_try_echo=$ac_try;;
5108 esac
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110   (eval "$ac_link") 2>conftest.er1
5111   ac_status=$?
5112   grep -v '^ *+' conftest.er1 >conftest.err
5113   rm -f conftest.er1
5114   cat conftest.err >&5
5115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5116   (exit $ac_status); } && {
5117          test -z "$ac_c_werror_flag" ||
5118          test ! -s conftest.err
5119        } && test -s conftest$ac_exeext &&
5120        $as_test_x conftest$ac_exeext; then
5121   ac_cv_lib_ipc_shmat=yes
5122 else
5123   echo "$as_me: failed program was:" >&5
5124 sed 's/^/| /' conftest.$ac_ext >&5
5125
5126         ac_cv_lib_ipc_shmat=no
5127 fi
5128
5129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5130       conftest$ac_exeext conftest.$ac_ext
5131 LIBS=$ac_check_lib_save_LIBS
5132 fi
5133 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5134 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5135 if test $ac_cv_lib_ipc_shmat = yes; then
5136   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5137 fi
5138
5139     fi
5140   fi
5141
5142   # Check for libraries that X11R6 Xt/Xaw programs need.
5143   ac_save_LDFLAGS=$LDFLAGS
5144   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5145   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5146   # check for ICE first), but we must link in the order -lSM -lICE or
5147   # we get undefined symbols.  So assume we have SM if we have ICE.
5148   # These have to be linked with before -lX11, unlike the other
5149   # libraries we check for below, so use a different variable.
5150   # John Interrante, Karl Berry
5151   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5152 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5153 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5154   echo $ECHO_N "(cached) $ECHO_C" >&6
5155 else
5156   ac_check_lib_save_LIBS=$LIBS
5157 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5158 cat >conftest.$ac_ext <<_ACEOF
5159 /* confdefs.h.  */
5160 _ACEOF
5161 cat confdefs.h >>conftest.$ac_ext
5162 cat >>conftest.$ac_ext <<_ACEOF
5163 /* end confdefs.h.  */
5164
5165 /* Override any GCC internal prototype to avoid an error.
5166    Use char because int might match the return type of a GCC
5167    builtin and then its argument prototype would still apply.  */
5168 #ifdef __cplusplus
5169 extern "C"
5170 #endif
5171 char IceConnectionNumber ();
5172 int
5173 main ()
5174 {
5175 return IceConnectionNumber ();
5176   ;
5177   return 0;
5178 }
5179 _ACEOF
5180 rm -f conftest.$ac_objext conftest$ac_exeext
5181 if { (ac_try="$ac_link"
5182 case "(($ac_try" in
5183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5184   *) ac_try_echo=$ac_try;;
5185 esac
5186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5187   (eval "$ac_link") 2>conftest.er1
5188   ac_status=$?
5189   grep -v '^ *+' conftest.er1 >conftest.err
5190   rm -f conftest.er1
5191   cat conftest.err >&5
5192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5193   (exit $ac_status); } && {
5194          test -z "$ac_c_werror_flag" ||
5195          test ! -s conftest.err
5196        } && test -s conftest$ac_exeext &&
5197        $as_test_x conftest$ac_exeext; then
5198   ac_cv_lib_ICE_IceConnectionNumber=yes
5199 else
5200   echo "$as_me: failed program was:" >&5
5201 sed 's/^/| /' conftest.$ac_ext >&5
5202
5203         ac_cv_lib_ICE_IceConnectionNumber=no
5204 fi
5205
5206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5207       conftest$ac_exeext conftest.$ac_ext
5208 LIBS=$ac_check_lib_save_LIBS
5209 fi
5210 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5211 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5212 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5213   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5214 fi
5215
5216   LDFLAGS=$ac_save_LDFLAGS
5217
5218 fi
5219
5220
5221 for ac_prog in flex
5222 do
5223   # Extract the first word of "$ac_prog", so it can be a program name with args.
5224 set dummy $ac_prog; ac_word=$2
5225 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5227 if test "${ac_cv_prog_FLEX+set}" = set; then
5228   echo $ECHO_N "(cached) $ECHO_C" >&6
5229 else
5230   if test -n "$FLEX"; then
5231   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5232 else
5233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234 for as_dir in $PATH
5235 do
5236   IFS=$as_save_IFS
5237   test -z "$as_dir" && as_dir=.
5238   for ac_exec_ext in '' $ac_executable_extensions; do
5239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240     ac_cv_prog_FLEX="$ac_prog"
5241     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5242     break 2
5243   fi
5244 done
5245 done
5246 IFS=$as_save_IFS
5247
5248 fi
5249 fi
5250 FLEX=$ac_cv_prog_FLEX
5251 if test -n "$FLEX"; then
5252   { echo "$as_me:$LINENO: result: $FLEX" >&5
5253 echo "${ECHO_T}$FLEX" >&6; }
5254 else
5255   { echo "$as_me:$LINENO: result: no" >&5
5256 echo "${ECHO_T}no" >&6; }
5257 fi
5258
5259
5260   test -n "$FLEX" && break
5261 done
5262 test -n "$FLEX" || FLEX="none"
5263
5264 if test "$FLEX" = "none"
5265 then
5266   { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5267 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5268    { (exit 1); exit 1; }; }
5269 fi
5270
5271 for ac_prog in bison
5272 do
5273   # Extract the first word of "$ac_prog", so it can be a program name with args.
5274 set dummy $ac_prog; ac_word=$2
5275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5277 if test "${ac_cv_prog_BISON+set}" = set; then
5278   echo $ECHO_N "(cached) $ECHO_C" >&6
5279 else
5280   if test -n "$BISON"; then
5281   ac_cv_prog_BISON="$BISON" # Let the user override the test.
5282 else
5283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5284 for as_dir in $PATH
5285 do
5286   IFS=$as_save_IFS
5287   test -z "$as_dir" && as_dir=.
5288   for ac_exec_ext in '' $ac_executable_extensions; do
5289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5290     ac_cv_prog_BISON="$ac_prog"
5291     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5292     break 2
5293   fi
5294 done
5295 done
5296 IFS=$as_save_IFS
5297
5298 fi
5299 fi
5300 BISON=$ac_cv_prog_BISON
5301 if test -n "$BISON"; then
5302   { echo "$as_me:$LINENO: result: $BISON" >&5
5303 echo "${ECHO_T}$BISON" >&6; }
5304 else
5305   { echo "$as_me:$LINENO: result: no" >&5
5306 echo "${ECHO_T}no" >&6; }
5307 fi
5308
5309
5310   test -n "$BISON" && break
5311 done
5312 test -n "$BISON" || BISON="none"
5313
5314 if test "$BISON" = "none"
5315 then
5316   { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5317 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5318    { (exit 1); exit 1; }; }
5319 fi
5320
5321 if test -n "$ac_tool_prefix"; then
5322   for ac_prog in gas as
5323   do
5324     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5328 if test "${ac_cv_prog_AS+set}" = set; then
5329   echo $ECHO_N "(cached) $ECHO_C" >&6
5330 else
5331   if test -n "$AS"; then
5332   ac_cv_prog_AS="$AS" # Let the user override the test.
5333 else
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5335 for as_dir in $PATH
5336 do
5337   IFS=$as_save_IFS
5338   test -z "$as_dir" && as_dir=.
5339   for ac_exec_ext in '' $ac_executable_extensions; do
5340   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5341     ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5342     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5343     break 2
5344   fi
5345 done
5346 done
5347 IFS=$as_save_IFS
5348
5349 fi
5350 fi
5351 AS=$ac_cv_prog_AS
5352 if test -n "$AS"; then
5353   { echo "$as_me:$LINENO: result: $AS" >&5
5354 echo "${ECHO_T}$AS" >&6; }
5355 else
5356   { echo "$as_me:$LINENO: result: no" >&5
5357 echo "${ECHO_T}no" >&6; }
5358 fi
5359
5360
5361     test -n "$AS" && break
5362   done
5363 fi
5364 if test -z "$AS"; then
5365   ac_ct_AS=$AS
5366   for ac_prog in gas as
5367 do
5368   # Extract the first word of "$ac_prog", so it can be a program name with args.
5369 set dummy $ac_prog; ac_word=$2
5370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5372 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5373   echo $ECHO_N "(cached) $ECHO_C" >&6
5374 else
5375   if test -n "$ac_ct_AS"; then
5376   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5377 else
5378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5379 for as_dir in $PATH
5380 do
5381   IFS=$as_save_IFS
5382   test -z "$as_dir" && as_dir=.
5383   for ac_exec_ext in '' $ac_executable_extensions; do
5384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5385     ac_cv_prog_ac_ct_AS="$ac_prog"
5386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5387     break 2
5388   fi
5389 done
5390 done
5391 IFS=$as_save_IFS
5392
5393 fi
5394 fi
5395 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5396 if test -n "$ac_ct_AS"; then
5397   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5398 echo "${ECHO_T}$ac_ct_AS" >&6; }
5399 else
5400   { echo "$as_me:$LINENO: result: no" >&5
5401 echo "${ECHO_T}no" >&6; }
5402 fi
5403
5404
5405   test -n "$ac_ct_AS" && break
5406 done
5407
5408   if test "x$ac_ct_AS" = x; then
5409     AS="as"
5410   else
5411     case $cross_compiling:$ac_tool_warned in
5412 yes:)
5413 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5414 whose name does not start with the host triplet.  If you think this
5415 configuration is useful to you, please write to autoconf@gnu.org." >&5
5416 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5417 whose name does not start with the host triplet.  If you think this
5418 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5419 ac_tool_warned=yes ;;
5420 esac
5421     AS=$ac_ct_AS
5422   fi
5423 fi
5424
5425 if test -n "$ac_tool_prefix"; then
5426   # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5427 set dummy ${ac_tool_prefix}ld; ac_word=$2
5428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5430 if test "${ac_cv_prog_LD+set}" = set; then
5431   echo $ECHO_N "(cached) $ECHO_C" >&6
5432 else
5433   if test -n "$LD"; then
5434   ac_cv_prog_LD="$LD" # Let the user override the test.
5435 else
5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5437 for as_dir in $PATH
5438 do
5439   IFS=$as_save_IFS
5440   test -z "$as_dir" && as_dir=.
5441   for ac_exec_ext in '' $ac_executable_extensions; do
5442   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5443     ac_cv_prog_LD="${ac_tool_prefix}ld"
5444     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5445     break 2
5446   fi
5447 done
5448 done
5449 IFS=$as_save_IFS
5450
5451 fi
5452 fi
5453 LD=$ac_cv_prog_LD
5454 if test -n "$LD"; then
5455   { echo "$as_me:$LINENO: result: $LD" >&5
5456 echo "${ECHO_T}$LD" >&6; }
5457 else
5458   { echo "$as_me:$LINENO: result: no" >&5
5459 echo "${ECHO_T}no" >&6; }
5460 fi
5461
5462
5463 fi
5464 if test -z "$ac_cv_prog_LD"; then
5465   ac_ct_LD=$LD
5466   # Extract the first word of "ld", so it can be a program name with args.
5467 set dummy ld; ac_word=$2
5468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5470 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5471   echo $ECHO_N "(cached) $ECHO_C" >&6
5472 else
5473   if test -n "$ac_ct_LD"; then
5474   ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5475 else
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH
5478 do
5479   IFS=$as_save_IFS
5480   test -z "$as_dir" && as_dir=.
5481   for ac_exec_ext in '' $ac_executable_extensions; do
5482   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5483     ac_cv_prog_ac_ct_LD="ld"
5484     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5485     break 2
5486   fi
5487 done
5488 done
5489 IFS=$as_save_IFS
5490
5491 fi
5492 fi
5493 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5494 if test -n "$ac_ct_LD"; then
5495   { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5496 echo "${ECHO_T}$ac_ct_LD" >&6; }
5497 else
5498   { echo "$as_me:$LINENO: result: no" >&5
5499 echo "${ECHO_T}no" >&6; }
5500 fi
5501
5502   if test "x$ac_ct_LD" = x; then
5503     LD="ld"
5504   else
5505     case $cross_compiling:$ac_tool_warned in
5506 yes:)
5507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5508 whose name does not start with the host triplet.  If you think this
5509 configuration is useful to you, please write to autoconf@gnu.org." >&5
5510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5511 whose name does not start with the host triplet.  If you think this
5512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5513 ac_tool_warned=yes ;;
5514 esac
5515     LD=$ac_ct_LD
5516   fi
5517 else
5518   LD="$ac_cv_prog_LD"
5519 fi
5520
5521 if test -n "$ac_tool_prefix"; then
5522   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5523 set dummy ${ac_tool_prefix}ar; ac_word=$2
5524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5526 if test "${ac_cv_prog_AR+set}" = set; then
5527   echo $ECHO_N "(cached) $ECHO_C" >&6
5528 else
5529   if test -n "$AR"; then
5530   ac_cv_prog_AR="$AR" # Let the user override the test.
5531 else
5532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 for as_dir in $PATH
5534 do
5535   IFS=$as_save_IFS
5536   test -z "$as_dir" && as_dir=.
5537   for ac_exec_ext in '' $ac_executable_extensions; do
5538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5539     ac_cv_prog_AR="${ac_tool_prefix}ar"
5540     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5541     break 2
5542   fi
5543 done
5544 done
5545 IFS=$as_save_IFS
5546
5547 fi
5548 fi
5549 AR=$ac_cv_prog_AR
5550 if test -n "$AR"; then
5551   { echo "$as_me:$LINENO: result: $AR" >&5
5552 echo "${ECHO_T}$AR" >&6; }
5553 else
5554   { echo "$as_me:$LINENO: result: no" >&5
5555 echo "${ECHO_T}no" >&6; }
5556 fi
5557
5558
5559 fi
5560 if test -z "$ac_cv_prog_AR"; then
5561   ac_ct_AR=$AR
5562   # Extract the first word of "ar", so it can be a program name with args.
5563 set dummy ar; ac_word=$2
5564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5566 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5567   echo $ECHO_N "(cached) $ECHO_C" >&6
5568 else
5569   if test -n "$ac_ct_AR"; then
5570   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5571 else
5572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5573 for as_dir in $PATH
5574 do
5575   IFS=$as_save_IFS
5576   test -z "$as_dir" && as_dir=.
5577   for ac_exec_ext in '' $ac_executable_extensions; do
5578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5579     ac_cv_prog_ac_ct_AR="ar"
5580     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5581     break 2
5582   fi
5583 done
5584 done
5585 IFS=$as_save_IFS
5586
5587 fi
5588 fi
5589 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5590 if test -n "$ac_ct_AR"; then
5591   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5592 echo "${ECHO_T}$ac_ct_AR" >&6; }
5593 else
5594   { echo "$as_me:$LINENO: result: no" >&5
5595 echo "${ECHO_T}no" >&6; }
5596 fi
5597
5598   if test "x$ac_ct_AR" = x; then
5599     AR="ar"
5600   else
5601     case $cross_compiling:$ac_tool_warned in
5602 yes:)
5603 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5604 whose name does not start with the host triplet.  If you think this
5605 configuration is useful to you, please write to autoconf@gnu.org." >&5
5606 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5607 whose name does not start with the host triplet.  If you think this
5608 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5609 ac_tool_warned=yes ;;
5610 esac
5611     AR=$ac_ct_AR
5612   fi
5613 else
5614   AR="$ac_cv_prog_AR"
5615 fi
5616
5617 ARFLAGS=rc
5618
5619 if test -n "$ac_tool_prefix"; then
5620   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5621 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5624 if test "${ac_cv_prog_RANLIB+set}" = set; then
5625   echo $ECHO_N "(cached) $ECHO_C" >&6
5626 else
5627   if test -n "$RANLIB"; then
5628   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5629 else
5630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5631 for as_dir in $PATH
5632 do
5633   IFS=$as_save_IFS
5634   test -z "$as_dir" && as_dir=.
5635   for ac_exec_ext in '' $ac_executable_extensions; do
5636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5637     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5638     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5639     break 2
5640   fi
5641 done
5642 done
5643 IFS=$as_save_IFS
5644
5645 fi
5646 fi
5647 RANLIB=$ac_cv_prog_RANLIB
5648 if test -n "$RANLIB"; then
5649   { echo "$as_me:$LINENO: result: $RANLIB" >&5
5650 echo "${ECHO_T}$RANLIB" >&6; }
5651 else
5652   { echo "$as_me:$LINENO: result: no" >&5
5653 echo "${ECHO_T}no" >&6; }
5654 fi
5655
5656
5657 fi
5658 if test -z "$ac_cv_prog_RANLIB"; then
5659   ac_ct_RANLIB=$RANLIB
5660   # Extract the first word of "ranlib", so it can be a program name with args.
5661 set dummy ranlib; ac_word=$2
5662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5664 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5665   echo $ECHO_N "(cached) $ECHO_C" >&6
5666 else
5667   if test -n "$ac_ct_RANLIB"; then
5668   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5669 else
5670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5671 for as_dir in $PATH
5672 do
5673   IFS=$as_save_IFS
5674   test -z "$as_dir" && as_dir=.
5675   for ac_exec_ext in '' $ac_executable_extensions; do
5676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5677     ac_cv_prog_ac_ct_RANLIB="ranlib"
5678     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5679     break 2
5680   fi
5681 done
5682 done
5683 IFS=$as_save_IFS
5684
5685 fi
5686 fi
5687 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5688 if test -n "$ac_ct_RANLIB"; then
5689   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5690 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5691 else
5692   { echo "$as_me:$LINENO: result: no" >&5
5693 echo "${ECHO_T}no" >&6; }
5694 fi
5695
5696   if test "x$ac_ct_RANLIB" = x; then
5697     RANLIB=":"
5698   else
5699     case $cross_compiling:$ac_tool_warned in
5700 yes:)
5701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5702 whose name does not start with the host triplet.  If you think this
5703 configuration is useful to you, please write to autoconf@gnu.org." >&5
5704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5705 whose name does not start with the host triplet.  If you think this
5706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5707 ac_tool_warned=yes ;;
5708 esac
5709     RANLIB=$ac_ct_RANLIB
5710   fi
5711 else
5712   RANLIB="$ac_cv_prog_RANLIB"
5713 fi
5714
5715 if test -n "$ac_tool_prefix"; then
5716   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5717 set dummy ${ac_tool_prefix}strip; ac_word=$2
5718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5720 if test "${ac_cv_prog_STRIP+set}" = set; then
5721   echo $ECHO_N "(cached) $ECHO_C" >&6
5722 else
5723   if test -n "$STRIP"; then
5724   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5725 else
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 for as_dir in $PATH
5728 do
5729   IFS=$as_save_IFS
5730   test -z "$as_dir" && as_dir=.
5731   for ac_exec_ext in '' $ac_executable_extensions; do
5732   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5733     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5734     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5735     break 2
5736   fi
5737 done
5738 done
5739 IFS=$as_save_IFS
5740
5741 fi
5742 fi
5743 STRIP=$ac_cv_prog_STRIP
5744 if test -n "$STRIP"; then
5745   { echo "$as_me:$LINENO: result: $STRIP" >&5
5746 echo "${ECHO_T}$STRIP" >&6; }
5747 else
5748   { echo "$as_me:$LINENO: result: no" >&5
5749 echo "${ECHO_T}no" >&6; }
5750 fi
5751
5752
5753 fi
5754 if test -z "$ac_cv_prog_STRIP"; then
5755   ac_ct_STRIP=$STRIP
5756   # Extract the first word of "strip", so it can be a program name with args.
5757 set dummy strip; ac_word=$2
5758 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5760 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5761   echo $ECHO_N "(cached) $ECHO_C" >&6
5762 else
5763   if test -n "$ac_ct_STRIP"; then
5764   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5765 else
5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5767 for as_dir in $PATH
5768 do
5769   IFS=$as_save_IFS
5770   test -z "$as_dir" && as_dir=.
5771   for ac_exec_ext in '' $ac_executable_extensions; do
5772   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5773     ac_cv_prog_ac_ct_STRIP="strip"
5774     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5775     break 2
5776   fi
5777 done
5778 done
5779 IFS=$as_save_IFS
5780
5781 fi
5782 fi
5783 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5784 if test -n "$ac_ct_STRIP"; then
5785   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5786 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5787 else
5788   { echo "$as_me:$LINENO: result: no" >&5
5789 echo "${ECHO_T}no" >&6; }
5790 fi
5791
5792   if test "x$ac_ct_STRIP" = x; then
5793     STRIP="strip"
5794   else
5795     case $cross_compiling:$ac_tool_warned in
5796 yes:)
5797 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5798 whose name does not start with the host triplet.  If you think this
5799 configuration is useful to you, please write to autoconf@gnu.org." >&5
5800 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5801 whose name does not start with the host triplet.  If you think this
5802 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5803 ac_tool_warned=yes ;;
5804 esac
5805     STRIP=$ac_ct_STRIP
5806   fi
5807 else
5808   STRIP="$ac_cv_prog_STRIP"
5809 fi
5810
5811 if test -n "$ac_tool_prefix"; then
5812   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}windres; ac_word=$2
5814 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5816 if test "${ac_cv_prog_WINDRES+set}" = set; then
5817   echo $ECHO_N "(cached) $ECHO_C" >&6
5818 else
5819   if test -n "$WINDRES"; then
5820   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5821 else
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5823 for as_dir in $PATH
5824 do
5825   IFS=$as_save_IFS
5826   test -z "$as_dir" && as_dir=.
5827   for ac_exec_ext in '' $ac_executable_extensions; do
5828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5829     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5830     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5831     break 2
5832   fi
5833 done
5834 done
5835 IFS=$as_save_IFS
5836
5837 fi
5838 fi
5839 WINDRES=$ac_cv_prog_WINDRES
5840 if test -n "$WINDRES"; then
5841   { echo "$as_me:$LINENO: result: $WINDRES" >&5
5842 echo "${ECHO_T}$WINDRES" >&6; }
5843 else
5844   { echo "$as_me:$LINENO: result: no" >&5
5845 echo "${ECHO_T}no" >&6; }
5846 fi
5847
5848
5849 fi
5850 if test -z "$ac_cv_prog_WINDRES"; then
5851   ac_ct_WINDRES=$WINDRES
5852   # Extract the first word of "windres", so it can be a program name with args.
5853 set dummy windres; ac_word=$2
5854 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5856 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5857   echo $ECHO_N "(cached) $ECHO_C" >&6
5858 else
5859   if test -n "$ac_ct_WINDRES"; then
5860   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5861 else
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5863 for as_dir in $PATH
5864 do
5865   IFS=$as_save_IFS
5866   test -z "$as_dir" && as_dir=.
5867   for ac_exec_ext in '' $ac_executable_extensions; do
5868   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5869     ac_cv_prog_ac_ct_WINDRES="windres"
5870     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5871     break 2
5872   fi
5873 done
5874 done
5875 IFS=$as_save_IFS
5876
5877 fi
5878 fi
5879 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5880 if test -n "$ac_ct_WINDRES"; then
5881   { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5882 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5883 else
5884   { echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6; }
5886 fi
5887
5888   if test "x$ac_ct_WINDRES" = x; then
5889     WINDRES="false"
5890   else
5891     case $cross_compiling:$ac_tool_warned in
5892 yes:)
5893 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5894 whose name does not start with the host triplet.  If you think this
5895 configuration is useful to you, please write to autoconf@gnu.org." >&5
5896 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5897 whose name does not start with the host triplet.  If you think this
5898 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5899 ac_tool_warned=yes ;;
5900 esac
5901     WINDRES=$ac_ct_WINDRES
5902   fi
5903 else
5904   WINDRES="$ac_cv_prog_WINDRES"
5905 fi
5906
5907 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5908 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5909 LN_S=$as_ln_s
5910 if test "$LN_S" = "ln -s"; then
5911   { echo "$as_me:$LINENO: result: yes" >&5
5912 echo "${ECHO_T}yes" >&6; }
5913 else
5914   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5915 echo "${ECHO_T}no, using $LN_S" >&6; }
5916 fi
5917
5918 { echo "$as_me:$LINENO: checking whether ln works" >&5
5919 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5920 rm -f conf$$ conf$$.file
5921 echo >conf$$.file
5922 if ln conf$$.file conf$$ 2>/dev/null; then
5923   LN=ln
5924
5925   { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5927 else
5928   LN="cp -p"
5929
5930   { echo "$as_me:$LINENO: result: no, using $LN" >&5
5931 echo "${ECHO_T}no, using $LN" >&6; }
5932 fi
5933 rm -f conf$$ conf$$.file
5934 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5935 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5936 if test "${ac_cv_path_GREP+set}" = set; then
5937   echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939   # Extract the first word of "grep ggrep" to use in msg output
5940 if test -z "$GREP"; then
5941 set dummy grep ggrep; ac_prog_name=$2
5942 if test "${ac_cv_path_GREP+set}" = set; then
5943   echo $ECHO_N "(cached) $ECHO_C" >&6
5944 else
5945   ac_path_GREP_found=false
5946 # Loop through the user's path and test for each of PROGNAME-LIST
5947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5948 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5949 do
5950   IFS=$as_save_IFS
5951   test -z "$as_dir" && as_dir=.
5952   for ac_prog in grep ggrep; do
5953   for ac_exec_ext in '' $ac_executable_extensions; do
5954     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5955     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5956     # Check for GNU ac_path_GREP and select it if it is found.
5957   # Check for GNU $ac_path_GREP
5958 case `"$ac_path_GREP" --version 2>&1` in
5959 *GNU*)
5960   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5961 *)
5962   ac_count=0
5963   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5964   while :
5965   do
5966     cat "conftest.in" "conftest.in" >"conftest.tmp"
5967     mv "conftest.tmp" "conftest.in"
5968     cp "conftest.in" "conftest.nl"
5969     echo 'GREP' >> "conftest.nl"
5970     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5971     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5972     ac_count=`expr $ac_count + 1`
5973     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5974       # Best one so far, save it but keep looking for a better one
5975       ac_cv_path_GREP="$ac_path_GREP"
5976       ac_path_GREP_max=$ac_count
5977     fi
5978     # 10*(2^10) chars as input seems more than enough
5979     test $ac_count -gt 10 && break
5980   done
5981   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5982 esac
5983
5984
5985     $ac_path_GREP_found && break 3
5986   done
5987 done
5988
5989 done
5990 IFS=$as_save_IFS
5991
5992
5993 fi
5994
5995 GREP="$ac_cv_path_GREP"
5996 if test -z "$GREP"; then
5997   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5998 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5999    { (exit 1); exit 1; }; }
6000 fi
6001
6002 else
6003   ac_cv_path_GREP=$GREP
6004 fi
6005
6006
6007 fi
6008 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6009 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6010  GREP="$ac_cv_path_GREP"
6011
6012
6013 { echo "$as_me:$LINENO: checking for egrep" >&5
6014 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6015 if test "${ac_cv_path_EGREP+set}" = set; then
6016   echo $ECHO_N "(cached) $ECHO_C" >&6
6017 else
6018   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6019    then ac_cv_path_EGREP="$GREP -E"
6020    else
6021      # Extract the first word of "egrep" to use in msg output
6022 if test -z "$EGREP"; then
6023 set dummy egrep; ac_prog_name=$2
6024 if test "${ac_cv_path_EGREP+set}" = set; then
6025   echo $ECHO_N "(cached) $ECHO_C" >&6
6026 else
6027   ac_path_EGREP_found=false
6028 # Loop through the user's path and test for each of PROGNAME-LIST
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6031 do
6032   IFS=$as_save_IFS
6033   test -z "$as_dir" && as_dir=.
6034   for ac_prog in egrep; do
6035   for ac_exec_ext in '' $ac_executable_extensions; do
6036     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6037     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6038     # Check for GNU ac_path_EGREP and select it if it is found.
6039   # Check for GNU $ac_path_EGREP
6040 case `"$ac_path_EGREP" --version 2>&1` in
6041 *GNU*)
6042   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6043 *)
6044   ac_count=0
6045   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6046   while :
6047   do
6048     cat "conftest.in" "conftest.in" >"conftest.tmp"
6049     mv "conftest.tmp" "conftest.in"
6050     cp "conftest.in" "conftest.nl"
6051     echo 'EGREP' >> "conftest.nl"
6052     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6053     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6054     ac_count=`expr $ac_count + 1`
6055     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6056       # Best one so far, save it but keep looking for a better one
6057       ac_cv_path_EGREP="$ac_path_EGREP"
6058       ac_path_EGREP_max=$ac_count
6059     fi
6060     # 10*(2^10) chars as input seems more than enough
6061     test $ac_count -gt 10 && break
6062   done
6063   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6064 esac
6065
6066
6067     $ac_path_EGREP_found && break 3
6068   done
6069 done
6070
6071 done
6072 IFS=$as_save_IFS
6073
6074
6075 fi
6076
6077 EGREP="$ac_cv_path_EGREP"
6078 if test -z "$EGREP"; then
6079   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6080 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6081    { (exit 1); exit 1; }; }
6082 fi
6083
6084 else
6085   ac_cv_path_EGREP=$EGREP
6086 fi
6087
6088
6089    fi
6090 fi
6091 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6092 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6093  EGREP="$ac_cv_path_EGREP"
6094
6095
6096 # Extract the first word of "ldconfig", so it can be a program name with args.
6097 set dummy ldconfig; ac_word=$2
6098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6100 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6101   echo $ECHO_N "(cached) $ECHO_C" >&6
6102 else
6103   case $LDCONFIG in
6104   [\\/]* | ?:[\\/]*)
6105   ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6106   ;;
6107   *)
6108   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in /sbin /usr/sbin $PATH
6110 do
6111   IFS=$as_save_IFS
6112   test -z "$as_dir" && as_dir=.
6113   for ac_exec_ext in '' $ac_executable_extensions; do
6114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6115     ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6116     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6117     break 2
6118   fi
6119 done
6120 done
6121 IFS=$as_save_IFS
6122
6123   test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6124   ;;
6125 esac
6126 fi
6127 LDCONFIG=$ac_cv_path_LDCONFIG
6128 if test -n "$LDCONFIG"; then
6129   { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6130 echo "${ECHO_T}$LDCONFIG" >&6; }
6131 else
6132   { echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6; }
6134 fi
6135
6136
6137 # Find a good install program.  We prefer a C program (faster),
6138 # so one script is as good as another.  But avoid the broken or
6139 # incompatible versions:
6140 # SysV /etc/install, /usr/sbin/install
6141 # SunOS /usr/etc/install
6142 # IRIX /sbin/install
6143 # AIX /bin/install
6144 # AmigaOS /C/install, which installs bootblocks on floppy discs
6145 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6146 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6147 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6148 # OS/2's system install, which has a completely different semantic
6149 # ./install, which can be erroneously created by make from ./install.sh.
6150 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6151 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6152 if test -z "$INSTALL"; then
6153 if test "${ac_cv_path_install+set}" = set; then
6154   echo $ECHO_N "(cached) $ECHO_C" >&6
6155 else
6156   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 for as_dir in $PATH
6158 do
6159   IFS=$as_save_IFS
6160   test -z "$as_dir" && as_dir=.
6161   # Account for people who put trailing slashes in PATH elements.
6162 case $as_dir/ in
6163   ./ | .// | /cC/* | \
6164   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6165   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6166   /usr/ucb/* ) ;;
6167   *)
6168     # OSF1 and SCO ODT 3.0 have their own names for install.
6169     # Don't use installbsd from OSF since it installs stuff as root
6170     # by default.
6171     for ac_prog in ginstall scoinst install; do
6172       for ac_exec_ext in '' $ac_executable_extensions; do
6173         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6174           if test $ac_prog = install &&
6175             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6176             # AIX install.  It has an incompatible calling convention.
6177             :
6178           elif test $ac_prog = install &&
6179             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6180             # program-specific install script used by HP pwplus--don't use.
6181             :
6182           else
6183             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6184             break 3
6185           fi
6186         fi
6187       done
6188     done
6189     ;;
6190 esac
6191 done
6192 IFS=$as_save_IFS
6193
6194
6195 fi
6196   if test "${ac_cv_path_install+set}" = set; then
6197     INSTALL=$ac_cv_path_install
6198   else
6199     # As a last resort, use the slow shell script.  Don't cache a
6200     # value for INSTALL within a source directory, because that will
6201     # break other packages using the cache if that directory is
6202     # removed, or if the value is a relative name.
6203     INSTALL=$ac_install_sh
6204   fi
6205 fi
6206 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6207 echo "${ECHO_T}$INSTALL" >&6; }
6208
6209 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6210 # It thinks the first close brace ends the variable substitution.
6211 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6212
6213 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6214
6215 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6216
6217 case "$INSTALL" in
6218   [\\/$]* | ?:[\\/]* ) ;;
6219   *)  INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6220 esac
6221
6222 for ac_prog in lclint lint
6223 do
6224   # Extract the first word of "$ac_prog", so it can be a program name with args.
6225 set dummy $ac_prog; ac_word=$2
6226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6228 if test "${ac_cv_prog_LINT+set}" = set; then
6229   echo $ECHO_N "(cached) $ECHO_C" >&6
6230 else
6231   if test -n "$LINT"; then
6232   ac_cv_prog_LINT="$LINT" # Let the user override the test.
6233 else
6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6235 for as_dir in $PATH
6236 do
6237   IFS=$as_save_IFS
6238   test -z "$as_dir" && as_dir=.
6239   for ac_exec_ext in '' $ac_executable_extensions; do
6240   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6241     ac_cv_prog_LINT="$ac_prog"
6242     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6243     break 2
6244   fi
6245 done
6246 done
6247 IFS=$as_save_IFS
6248
6249 fi
6250 fi
6251 LINT=$ac_cv_prog_LINT
6252 if test -n "$LINT"; then
6253   { echo "$as_me:$LINENO: result: $LINT" >&5
6254 echo "${ECHO_T}$LINT" >&6; }
6255 else
6256   { echo "$as_me:$LINENO: result: no" >&5
6257 echo "${ECHO_T}no" >&6; }
6258 fi
6259
6260
6261   test -n "$LINT" && break
6262 done
6263
6264 if test "$LINT" = "lint"
6265 then
6266   LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6267   fi
6268
6269
6270
6271 for ac_prog in fontforge
6272 do
6273   # Extract the first word of "$ac_prog", so it can be a program name with args.
6274 set dummy $ac_prog; ac_word=$2
6275 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6277 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6278   echo $ECHO_N "(cached) $ECHO_C" >&6
6279 else
6280   if test -n "$FONTFORGE"; then
6281   ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6285 do
6286   IFS=$as_save_IFS
6287   test -z "$as_dir" && as_dir=.
6288   for ac_exec_ext in '' $ac_executable_extensions; do
6289   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6290     ac_cv_prog_FONTFORGE="$ac_prog"
6291     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6292     break 2
6293   fi
6294 done
6295 done
6296 IFS=$as_save_IFS
6297
6298 fi
6299 fi
6300 FONTFORGE=$ac_cv_prog_FONTFORGE
6301 if test -n "$FONTFORGE"; then
6302   { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6303 echo "${ECHO_T}$FONTFORGE" >&6; }
6304 else
6305   { echo "$as_me:$LINENO: result: no" >&5
6306 echo "${ECHO_T}no" >&6; }
6307 fi
6308
6309
6310   test -n "$FONTFORGE" && break
6311 done
6312 test -n "$FONTFORGE" || FONTFORGE="false"
6313
6314 for ac_prog in pkg-config
6315 do
6316   # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy $ac_prog; ac_word=$2
6318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6320 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6321   echo $ECHO_N "(cached) $ECHO_C" >&6
6322 else
6323   if test -n "$PKG_CONFIG"; then
6324   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6325 else
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH
6328 do
6329   IFS=$as_save_IFS
6330   test -z "$as_dir" && as_dir=.
6331   for ac_exec_ext in '' $ac_executable_extensions; do
6332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6333     ac_cv_prog_PKG_CONFIG="$ac_prog"
6334     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6335     break 2
6336   fi
6337 done
6338 done
6339 IFS=$as_save_IFS
6340
6341 fi
6342 fi
6343 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6344 if test -n "$PKG_CONFIG"; then
6345   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6346 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6347 else
6348   { echo "$as_me:$LINENO: result: no" >&5
6349 echo "${ECHO_T}no" >&6; }
6350 fi
6351
6352
6353   test -n "$PKG_CONFIG" && break
6354 done
6355 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6356
6357 for ac_prog in rsvg
6358 do
6359   # Extract the first word of "$ac_prog", so it can be a program name with args.
6360 set dummy $ac_prog; ac_word=$2
6361 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6363 if test "${ac_cv_prog_RSVG+set}" = set; then
6364   echo $ECHO_N "(cached) $ECHO_C" >&6
6365 else
6366   if test -n "$RSVG"; then
6367   ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6368 else
6369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6370 for as_dir in $PATH
6371 do
6372   IFS=$as_save_IFS
6373   test -z "$as_dir" && as_dir=.
6374   for ac_exec_ext in '' $ac_executable_extensions; do
6375   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6376     ac_cv_prog_RSVG="$ac_prog"
6377     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6378     break 2
6379   fi
6380 done
6381 done
6382 IFS=$as_save_IFS
6383
6384 fi
6385 fi
6386 RSVG=$ac_cv_prog_RSVG
6387 if test -n "$RSVG"; then
6388   { echo "$as_me:$LINENO: result: $RSVG" >&5
6389 echo "${ECHO_T}$RSVG" >&6; }
6390 else
6391   { echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6; }
6393 fi
6394
6395
6396   test -n "$RSVG" && break
6397 done
6398 test -n "$RSVG" || RSVG="false"
6399
6400 for ac_prog in icotool
6401 do
6402   # Extract the first word of "$ac_prog", so it can be a program name with args.
6403 set dummy $ac_prog; ac_word=$2
6404 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6406 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6407   echo $ECHO_N "(cached) $ECHO_C" >&6
6408 else
6409   if test -n "$ICOTOOL"; then
6410   ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6411 else
6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6413 for as_dir in $PATH
6414 do
6415   IFS=$as_save_IFS
6416   test -z "$as_dir" && as_dir=.
6417   for ac_exec_ext in '' $ac_executable_extensions; do
6418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6419     ac_cv_prog_ICOTOOL="$ac_prog"
6420     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6421     break 2
6422   fi
6423 done
6424 done
6425 IFS=$as_save_IFS
6426
6427 fi
6428 fi
6429 ICOTOOL=$ac_cv_prog_ICOTOOL
6430 if test -n "$ICOTOOL"; then
6431   { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6432 echo "${ECHO_T}$ICOTOOL" >&6; }
6433 else
6434   { echo "$as_me:$LINENO: result: no" >&5
6435 echo "${ECHO_T}no" >&6; }
6436 fi
6437
6438
6439   test -n "$ICOTOOL" && break
6440 done
6441 test -n "$ICOTOOL" || ICOTOOL="false"
6442
6443
6444 if test "${enable_maintainer_mode+set}" = set
6445 then
6446   if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6447   if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6448   if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6449 fi
6450
6451 case $host_cpu in
6452   *i[3456789]86*)
6453     # Extract the first word of "prelink", so it can be a program name with args.
6454 set dummy prelink; ac_word=$2
6455 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6457 if test "${ac_cv_path_PRELINK+set}" = set; then
6458   echo $ECHO_N "(cached) $ECHO_C" >&6
6459 else
6460   case $PRELINK in
6461   [\\/]* | ?:[\\/]*)
6462   ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6463   ;;
6464   *)
6465   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in /sbin /usr/sbin $PATH
6467 do
6468   IFS=$as_save_IFS
6469   test -z "$as_dir" && as_dir=.
6470   for ac_exec_ext in '' $ac_executable_extensions; do
6471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6472     ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6473     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6474     break 2
6475   fi
6476 done
6477 done
6478 IFS=$as_save_IFS
6479
6480   test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6481   ;;
6482 esac
6483 fi
6484 PRELINK=$ac_cv_path_PRELINK
6485 if test -n "$PRELINK"; then
6486   { echo "$as_me:$LINENO: result: $PRELINK" >&5
6487 echo "${ECHO_T}$PRELINK" >&6; }
6488 else
6489   { echo "$as_me:$LINENO: result: no" >&5
6490 echo "${ECHO_T}no" >&6; }
6491 fi
6492
6493
6494     ;;
6495 esac
6496
6497
6498
6499 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6500 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6501 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6502   echo $ECHO_N "(cached) $ECHO_C" >&6
6503 else
6504   ac_check_lib_save_LIBS=$LIBS
6505 LIBS="-li386  $LIBS"
6506 cat >conftest.$ac_ext <<_ACEOF
6507 /* confdefs.h.  */
6508 _ACEOF
6509 cat confdefs.h >>conftest.$ac_ext
6510 cat >>conftest.$ac_ext <<_ACEOF
6511 /* end confdefs.h.  */
6512
6513 /* Override any GCC internal prototype to avoid an error.
6514    Use char because int might match the return type of a GCC
6515    builtin and then its argument prototype would still apply.  */
6516 #ifdef __cplusplus
6517 extern "C"
6518 #endif
6519 char i386_set_ldt ();
6520 int
6521 main ()
6522 {
6523 return i386_set_ldt ();
6524   ;
6525   return 0;
6526 }
6527 _ACEOF
6528 rm -f conftest.$ac_objext conftest$ac_exeext
6529 if { (ac_try="$ac_link"
6530 case "(($ac_try" in
6531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6532   *) ac_try_echo=$ac_try;;
6533 esac
6534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6535   (eval "$ac_link") 2>conftest.er1
6536   ac_status=$?
6537   grep -v '^ *+' conftest.er1 >conftest.err
6538   rm -f conftest.er1
6539   cat conftest.err >&5
6540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541   (exit $ac_status); } && {
6542          test -z "$ac_c_werror_flag" ||
6543          test ! -s conftest.err
6544        } && test -s conftest$ac_exeext &&
6545        $as_test_x conftest$ac_exeext; then
6546   ac_cv_lib_i386_i386_set_ldt=yes
6547 else
6548   echo "$as_me: failed program was:" >&5
6549 sed 's/^/| /' conftest.$ac_ext >&5
6550
6551         ac_cv_lib_i386_i386_set_ldt=no
6552 fi
6553
6554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6555       conftest$ac_exeext conftest.$ac_ext
6556 LIBS=$ac_check_lib_save_LIBS
6557 fi
6558 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6559 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6560 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6561   cat >>confdefs.h <<_ACEOF
6562 #define HAVE_LIBI386 1
6563 _ACEOF
6564
6565   LIBS="-li386 $LIBS"
6566
6567 fi
6568
6569
6570 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6571 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6572 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6573   echo $ECHO_N "(cached) $ECHO_C" >&6
6574 else
6575   ac_check_lib_save_LIBS=$LIBS
6576 LIBS="-lossaudio  $LIBS"
6577 cat >conftest.$ac_ext <<_ACEOF
6578 /* confdefs.h.  */
6579 _ACEOF
6580 cat confdefs.h >>conftest.$ac_ext
6581 cat >>conftest.$ac_ext <<_ACEOF
6582 /* end confdefs.h.  */
6583
6584 /* Override any GCC internal prototype to avoid an error.
6585    Use char because int might match the return type of a GCC
6586    builtin and then its argument prototype would still apply.  */
6587 #ifdef __cplusplus
6588 extern "C"
6589 #endif
6590 char _oss_ioctl ();
6591 int
6592 main ()
6593 {
6594 return _oss_ioctl ();
6595   ;
6596   return 0;
6597 }
6598 _ACEOF
6599 rm -f conftest.$ac_objext conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6601 case "(($ac_try" in
6602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6603   *) ac_try_echo=$ac_try;;
6604 esac
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606   (eval "$ac_link") 2>conftest.er1
6607   ac_status=$?
6608   grep -v '^ *+' conftest.er1 >conftest.err
6609   rm -f conftest.er1
6610   cat conftest.err >&5
6611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612   (exit $ac_status); } && {
6613          test -z "$ac_c_werror_flag" ||
6614          test ! -s conftest.err
6615        } && test -s conftest$ac_exeext &&
6616        $as_test_x conftest$ac_exeext; then
6617   ac_cv_lib_ossaudio__oss_ioctl=yes
6618 else
6619   echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.$ac_ext >&5
6621
6622         ac_cv_lib_ossaudio__oss_ioctl=no
6623 fi
6624
6625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6626       conftest$ac_exeext conftest.$ac_ext
6627 LIBS=$ac_check_lib_save_LIBS
6628 fi
6629 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6630 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6631 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6632   cat >>confdefs.h <<_ACEOF
6633 #define HAVE_LIBOSSAUDIO 1
6634 _ACEOF
6635
6636   LIBS="-lossaudio $LIBS"
6637
6638 fi
6639
6640 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6641 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6642 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6643   echo $ECHO_N "(cached) $ECHO_C" >&6
6644 else
6645   ac_check_lib_save_LIBS=$LIBS
6646 LIBS="-lpthread  $LIBS"
6647 cat >conftest.$ac_ext <<_ACEOF
6648 /* confdefs.h.  */
6649 _ACEOF
6650 cat confdefs.h >>conftest.$ac_ext
6651 cat >>conftest.$ac_ext <<_ACEOF
6652 /* end confdefs.h.  */
6653
6654 /* Override any GCC internal prototype to avoid an error.
6655    Use char because int might match the return type of a GCC
6656    builtin and then its argument prototype would still apply.  */
6657 #ifdef __cplusplus
6658 extern "C"
6659 #endif
6660 char pthread_create ();
6661 int
6662 main ()
6663 {
6664 return pthread_create ();
6665   ;
6666   return 0;
6667 }
6668 _ACEOF
6669 rm -f conftest.$ac_objext conftest$ac_exeext
6670 if { (ac_try="$ac_link"
6671 case "(($ac_try" in
6672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6673   *) ac_try_echo=$ac_try;;
6674 esac
6675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6676   (eval "$ac_link") 2>conftest.er1
6677   ac_status=$?
6678   grep -v '^ *+' conftest.er1 >conftest.err
6679   rm -f conftest.er1
6680   cat conftest.err >&5
6681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6682   (exit $ac_status); } && {
6683          test -z "$ac_c_werror_flag" ||
6684          test ! -s conftest.err
6685        } && test -s conftest$ac_exeext &&
6686        $as_test_x conftest$ac_exeext; then
6687   ac_cv_lib_pthread_pthread_create=yes
6688 else
6689   echo "$as_me: failed program was:" >&5
6690 sed 's/^/| /' conftest.$ac_ext >&5
6691
6692         ac_cv_lib_pthread_pthread_create=no
6693 fi
6694
6695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6696       conftest$ac_exeext conftest.$ac_ext
6697 LIBS=$ac_check_lib_save_LIBS
6698 fi
6699 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6700 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6701 if test $ac_cv_lib_pthread_pthread_create = yes; then
6702   LIBPTHREAD="-lpthread"
6703
6704 fi
6705
6706
6707 XLIB=""
6708
6709 XFILES=""
6710
6711 OPENGLFILES=""
6712
6713 GLU32FILES=""
6714
6715 OPENGL_LIBS=""
6716
6717 QUARTZFILES=""
6718
6719
6720
6721 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6722 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6723 if test "${ac_cv_header_stdc+set}" = set; then
6724   echo $ECHO_N "(cached) $ECHO_C" >&6
6725 else
6726   cat >conftest.$ac_ext <<_ACEOF
6727 /* confdefs.h.  */
6728 _ACEOF
6729 cat confdefs.h >>conftest.$ac_ext
6730 cat >>conftest.$ac_ext <<_ACEOF
6731 /* end confdefs.h.  */
6732 #include <stdlib.h>
6733 #include <stdarg.h>
6734 #include <string.h>
6735 #include <float.h>
6736
6737 int
6738 main ()
6739 {
6740
6741   ;
6742   return 0;
6743 }
6744 _ACEOF
6745 rm -f conftest.$ac_objext
6746 if { (ac_try="$ac_compile"
6747 case "(($ac_try" in
6748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6749   *) ac_try_echo=$ac_try;;
6750 esac
6751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6752   (eval "$ac_compile") 2>conftest.er1
6753   ac_status=$?
6754   grep -v '^ *+' conftest.er1 >conftest.err
6755   rm -f conftest.er1
6756   cat conftest.err >&5
6757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758   (exit $ac_status); } && {
6759          test -z "$ac_c_werror_flag" ||
6760          test ! -s conftest.err
6761        } && test -s conftest.$ac_objext; then
6762   ac_cv_header_stdc=yes
6763 else
6764   echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.$ac_ext >&5
6766
6767         ac_cv_header_stdc=no
6768 fi
6769
6770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6771
6772 if test $ac_cv_header_stdc = yes; then
6773   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6774   cat >conftest.$ac_ext <<_ACEOF
6775 /* confdefs.h.  */
6776 _ACEOF
6777 cat confdefs.h >>conftest.$ac_ext
6778 cat >>conftest.$ac_ext <<_ACEOF
6779 /* end confdefs.h.  */
6780 #include <string.h>
6781
6782 _ACEOF
6783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6784   $EGREP "memchr" >/dev/null 2>&1; then
6785   :
6786 else
6787   ac_cv_header_stdc=no
6788 fi
6789 rm -f conftest*
6790
6791 fi
6792
6793 if test $ac_cv_header_stdc = yes; then
6794   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6795   cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h.  */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h.  */
6801 #include <stdlib.h>
6802
6803 _ACEOF
6804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6805   $EGREP "free" >/dev/null 2>&1; then
6806   :
6807 else
6808   ac_cv_header_stdc=no
6809 fi
6810 rm -f conftest*
6811
6812 fi
6813
6814 if test $ac_cv_header_stdc = yes; then
6815   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6816   if test "$cross_compiling" = yes; then
6817   :
6818 else
6819   cat >conftest.$ac_ext <<_ACEOF
6820 /* confdefs.h.  */
6821 _ACEOF
6822 cat confdefs.h >>conftest.$ac_ext
6823 cat >>conftest.$ac_ext <<_ACEOF
6824 /* end confdefs.h.  */
6825 #include <ctype.h>
6826 #include <stdlib.h>
6827 #if ((' ' & 0x0FF) == 0x020)
6828 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6829 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6830 #else
6831 # define ISLOWER(c) \
6832                    (('a' <= (c) && (c) <= 'i') \
6833                      || ('j' <= (c) && (c) <= 'r') \
6834                      || ('s' <= (c) && (c) <= 'z'))
6835 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6836 #endif
6837
6838 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6839 int
6840 main ()
6841 {
6842   int i;
6843   for (i = 0; i < 256; i++)
6844     if (XOR (islower (i), ISLOWER (i))
6845         || toupper (i) != TOUPPER (i))
6846       return 2;
6847   return 0;
6848 }
6849 _ACEOF
6850 rm -f conftest$ac_exeext
6851 if { (ac_try="$ac_link"
6852 case "(($ac_try" in
6853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6854   *) ac_try_echo=$ac_try;;
6855 esac
6856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6857   (eval "$ac_link") 2>&5
6858   ac_status=$?
6859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6860   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6861   { (case "(($ac_try" in
6862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863   *) ac_try_echo=$ac_try;;
6864 esac
6865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6866   (eval "$ac_try") 2>&5
6867   ac_status=$?
6868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6869   (exit $ac_status); }; }; then
6870   :
6871 else
6872   echo "$as_me: program exited with status $ac_status" >&5
6873 echo "$as_me: failed program was:" >&5
6874 sed 's/^/| /' conftest.$ac_ext >&5
6875
6876 ( exit $ac_status )
6877 ac_cv_header_stdc=no
6878 fi
6879 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6880 fi
6881
6882
6883 fi
6884 fi
6885 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6886 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6887 if test $ac_cv_header_stdc = yes; then
6888
6889 cat >>confdefs.h <<\_ACEOF
6890 #define STDC_HEADERS 1
6891 _ACEOF
6892
6893 fi
6894
6895 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6906                   inttypes.h stdint.h unistd.h
6907 do
6908 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6909 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6911 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6912   echo $ECHO_N "(cached) $ECHO_C" >&6
6913 else
6914   cat >conftest.$ac_ext <<_ACEOF
6915 /* confdefs.h.  */
6916 _ACEOF
6917 cat confdefs.h >>conftest.$ac_ext
6918 cat >>conftest.$ac_ext <<_ACEOF
6919 /* end confdefs.h.  */
6920 $ac_includes_default
6921
6922 #include <$ac_header>
6923 _ACEOF
6924 rm -f conftest.$ac_objext
6925 if { (ac_try="$ac_compile"
6926 case "(($ac_try" in
6927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6928   *) ac_try_echo=$ac_try;;
6929 esac
6930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6931   (eval "$ac_compile") 2>conftest.er1
6932   ac_status=$?
6933   grep -v '^ *+' conftest.er1 >conftest.err
6934   rm -f conftest.er1
6935   cat conftest.err >&5
6936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6937   (exit $ac_status); } && {
6938          test -z "$ac_c_werror_flag" ||
6939          test ! -s conftest.err
6940        } && test -s conftest.$ac_objext; then
6941   eval "$as_ac_Header=yes"
6942 else
6943   echo "$as_me: failed program was:" >&5
6944 sed 's/^/| /' conftest.$ac_ext >&5
6945
6946         eval "$as_ac_Header=no"
6947 fi
6948
6949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6950 fi
6951 ac_res=`eval echo '${'$as_ac_Header'}'`
6952                { echo "$as_me:$LINENO: result: $ac_res" >&5
6953 echo "${ECHO_T}$ac_res" >&6; }
6954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6955   cat >>confdefs.h <<_ACEOF
6956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6957 _ACEOF
6958
6959 fi
6960
6961 done
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074 for ac_header in \
7075         AudioUnit/AudioUnit.h \
7076         Carbon/Carbon.h \
7077         CoreAudio/CoreAudio.h \
7078         DiskArbitration/DiskArbitration.h \
7079         IOKit/IOKitLib.h \
7080         alsa/asoundlib.h \
7081         arpa/inet.h \
7082         arpa/nameser.h \
7083         asm/types.h \
7084         capi20.h \
7085         cups/cups.h \
7086         curses.h \
7087         direct.h \
7088         dlfcn.h \
7089         elf.h \
7090         float.h \
7091         fontconfig/fontconfig.h \
7092         getopt.h \
7093         ieeefp.h \
7094         io.h \
7095         jack/jack.h \
7096         jpeglib.h \
7097         lber.h \
7098         lcms.h \
7099         lcms/lcms.h \
7100         ldap.h \
7101         libaudioio.h \
7102         link.h \
7103         linux/cdrom.h \
7104         linux/compiler.h \
7105         linux/hdreg.h \
7106         linux/input.h \
7107         linux/ioctl.h \
7108         linux/joystick.h \
7109         linux/major.h \
7110         linux/param.h \
7111         linux/serial.h \
7112         linux/ucdrom.h \
7113         mach/mach.h \
7114         mach/machine.h \
7115         machine/cpu.h \
7116         machine/limits.h \
7117         machine/soundcard.h \
7118         mntent.h \
7119         ncurses.h \
7120         netdb.h \
7121         netinet/in.h \
7122         netinet/in_systm.h \
7123         netinet/tcp.h \
7124         netinet/tcp_fsm.h \
7125         openssl/err.h \
7126         openssl/ssl.h \
7127         png.h \
7128         poll.h \
7129         process.h \
7130         pthread.h \
7131         pwd.h \
7132         regex.h \
7133         sched.h \
7134         scsi/scsi.h \
7135         scsi/scsi_ioctl.h \
7136         scsi/sg.h \
7137         soundcard.h \
7138         stdint.h \
7139         strings.h \
7140         sys/asoundlib.h \
7141         sys/cdio.h \
7142         sys/elf32.h \
7143         sys/epoll.h \
7144         sys/errno.h \
7145         sys/event.h \
7146         sys/exec_elf.h \
7147         sys/filio.h \
7148         sys/ioctl.h \
7149         sys/ipc.h \
7150         sys/limits.h \
7151         sys/link.h \
7152         sys/lwp.h \
7153         sys/mman.h \
7154         sys/modem.h \
7155         sys/msg.h \
7156         sys/mtio.h \
7157         sys/param.h \
7158         sys/poll.h \
7159         sys/prctl.h \
7160         sys/ptrace.h \
7161         sys/reg.h \
7162         sys/resource.h \
7163         sys/scsiio.h \
7164         sys/shm.h \
7165         sys/signal.h \
7166         sys/socket.h \
7167         sys/socketvar.h \
7168         sys/sockio.h \
7169         sys/soundcard.h \
7170         sys/statvfs.h \
7171         sys/strtio.h \
7172         sys/syscall.h \
7173         sys/sysctl.h \
7174         sys/time.h \
7175         sys/times.h \
7176         sys/uio.h \
7177         sys/un.h \
7178         sys/vm86.h \
7179         sys/wait.h \
7180         syscall.h \
7181         termios.h \
7182         unistd.h \
7183         utime.h \
7184         valgrind/memcheck.h
7185
7186 do
7187 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7188 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7189   { echo "$as_me:$LINENO: checking for $ac_header" >&5
7190 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7191 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7192   echo $ECHO_N "(cached) $ECHO_C" >&6
7193 fi
7194 ac_res=`eval echo '${'$as_ac_Header'}'`
7195                { echo "$as_me:$LINENO: result: $ac_res" >&5
7196 echo "${ECHO_T}$ac_res" >&6; }
7197 else
7198   # Is the header compilable?
7199 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7200 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7201 cat >conftest.$ac_ext <<_ACEOF
7202 /* confdefs.h.  */
7203 _ACEOF
7204 cat confdefs.h >>conftest.$ac_ext
7205 cat >>conftest.$ac_ext <<_ACEOF
7206 /* end confdefs.h.  */
7207 $ac_includes_default
7208 #include <$ac_header>
7209 _ACEOF
7210 rm -f conftest.$ac_objext
7211 if { (ac_try="$ac_compile"
7212 case "(($ac_try" in
7213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7214   *) ac_try_echo=$ac_try;;
7215 esac
7216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7217   (eval "$ac_compile") 2>conftest.er1
7218   ac_status=$?
7219   grep -v '^ *+' conftest.er1 >conftest.err
7220   rm -f conftest.er1
7221   cat conftest.err >&5
7222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7223   (exit $ac_status); } && {
7224          test -z "$ac_c_werror_flag" ||
7225          test ! -s conftest.err
7226        } && test -s conftest.$ac_objext; then
7227   ac_header_compiler=yes
7228 else
7229   echo "$as_me: failed program was:" >&5
7230 sed 's/^/| /' conftest.$ac_ext >&5
7231
7232         ac_header_compiler=no
7233 fi
7234
7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7236 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7237 echo "${ECHO_T}$ac_header_compiler" >&6; }
7238
7239 # Is the header present?
7240 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7241 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7242 cat >conftest.$ac_ext <<_ACEOF
7243 /* confdefs.h.  */
7244 _ACEOF
7245 cat confdefs.h >>conftest.$ac_ext
7246 cat >>conftest.$ac_ext <<_ACEOF
7247 /* end confdefs.h.  */
7248 #include <$ac_header>
7249 _ACEOF
7250 if { (ac_try="$ac_cpp conftest.$ac_ext"
7251 case "(($ac_try" in
7252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7253   *) ac_try_echo=$ac_try;;
7254 esac
7255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7256   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7257   ac_status=$?
7258   grep -v '^ *+' conftest.er1 >conftest.err
7259   rm -f conftest.er1
7260   cat conftest.err >&5
7261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7262   (exit $ac_status); } >/dev/null && {
7263          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7264          test ! -s conftest.err
7265        }; then
7266   ac_header_preproc=yes
7267 else
7268   echo "$as_me: failed program was:" >&5
7269 sed 's/^/| /' conftest.$ac_ext >&5
7270
7271   ac_header_preproc=no
7272 fi
7273
7274 rm -f conftest.err conftest.$ac_ext
7275 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7276 echo "${ECHO_T}$ac_header_preproc" >&6; }
7277
7278 # So?  What about this header?
7279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7280   yes:no: )
7281     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7283     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7285     ac_header_preproc=yes
7286     ;;
7287   no:yes:* )
7288     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7290     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7291 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7292     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7294     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7295 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7296     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7298     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7300     ( cat <<\_ASBOX
7301 ## ------------------------------------ ##
7302 ## Report this to wine-devel@winehq.org ##
7303 ## ------------------------------------ ##
7304 _ASBOX
7305      ) | sed "s/^/$as_me: WARNING:     /" >&2
7306     ;;
7307 esac
7308 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7310 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7311   echo $ECHO_N "(cached) $ECHO_C" >&6
7312 else
7313   eval "$as_ac_Header=\$ac_header_preproc"
7314 fi
7315 ac_res=`eval echo '${'$as_ac_Header'}'`
7316                { echo "$as_me:$LINENO: result: $ac_res" >&5
7317 echo "${ECHO_T}$ac_res" >&6; }
7318
7319 fi
7320 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7321   cat >>confdefs.h <<_ACEOF
7322 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7323 _ACEOF
7324
7325 fi
7326
7327 done
7328
7329 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7330 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7331 if test "${ac_cv_header_stat_broken+set}" = set; then
7332   echo $ECHO_N "(cached) $ECHO_C" >&6
7333 else
7334   cat >conftest.$ac_ext <<_ACEOF
7335 /* confdefs.h.  */
7336 _ACEOF
7337 cat confdefs.h >>conftest.$ac_ext
7338 cat >>conftest.$ac_ext <<_ACEOF
7339 /* end confdefs.h.  */
7340 #include <sys/types.h>
7341 #include <sys/stat.h>
7342
7343 #if defined S_ISBLK && defined S_IFDIR
7344 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7345 #endif
7346
7347 #if defined S_ISBLK && defined S_IFCHR
7348 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7349 #endif
7350
7351 #if defined S_ISLNK && defined S_IFREG
7352 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7353 #endif
7354
7355 #if defined S_ISSOCK && defined S_IFREG
7356 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7357 #endif
7358
7359 _ACEOF
7360 rm -f conftest.$ac_objext
7361 if { (ac_try="$ac_compile"
7362 case "(($ac_try" in
7363   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7364   *) ac_try_echo=$ac_try;;
7365 esac
7366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7367   (eval "$ac_compile") 2>conftest.er1
7368   ac_status=$?
7369   grep -v '^ *+' conftest.er1 >conftest.err
7370   rm -f conftest.er1
7371   cat conftest.err >&5
7372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7373   (exit $ac_status); } && {
7374          test -z "$ac_c_werror_flag" ||
7375          test ! -s conftest.err
7376        } && test -s conftest.$ac_objext; then
7377   ac_cv_header_stat_broken=no
7378 else
7379   echo "$as_me: failed program was:" >&5
7380 sed 's/^/| /' conftest.$ac_ext >&5
7381
7382         ac_cv_header_stat_broken=yes
7383 fi
7384
7385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7386 fi
7387 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7388 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7389 if test $ac_cv_header_stat_broken = yes; then
7390
7391 cat >>confdefs.h <<\_ACEOF
7392 #define STAT_MACROS_BROKEN 1
7393 _ACEOF
7394
7395 fi
7396
7397
7398
7399
7400
7401
7402
7403 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7404 do
7405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7409   echo $ECHO_N "(cached) $ECHO_C" >&6
7410 else
7411   cat >conftest.$ac_ext <<_ACEOF
7412 /* confdefs.h.  */
7413 _ACEOF
7414 cat confdefs.h >>conftest.$ac_ext
7415 cat >>conftest.$ac_ext <<_ACEOF
7416 /* end confdefs.h.  */
7417 #include <sys/types.h>
7418      #ifdef HAVE_SYS_PARAM_H
7419      # include <sys/param.h>
7420      #endif
7421
7422 #include <$ac_header>
7423 _ACEOF
7424 rm -f conftest.$ac_objext
7425 if { (ac_try="$ac_compile"
7426 case "(($ac_try" in
7427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7428   *) ac_try_echo=$ac_try;;
7429 esac
7430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7431   (eval "$ac_compile") 2>conftest.er1
7432   ac_status=$?
7433   grep -v '^ *+' conftest.er1 >conftest.err
7434   rm -f conftest.er1
7435   cat conftest.err >&5
7436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437   (exit $ac_status); } && {
7438          test -z "$ac_c_werror_flag" ||
7439          test ! -s conftest.err
7440        } && test -s conftest.$ac_objext; then
7441   eval "$as_ac_Header=yes"
7442 else
7443   echo "$as_me: failed program was:" >&5
7444 sed 's/^/| /' conftest.$ac_ext >&5
7445
7446         eval "$as_ac_Header=no"
7447 fi
7448
7449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7450 fi
7451 ac_res=`eval echo '${'$as_ac_Header'}'`
7452                { echo "$as_me:$LINENO: result: $ac_res" >&5
7453 echo "${ECHO_T}$ac_res" >&6; }
7454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7455   cat >>confdefs.h <<_ACEOF
7456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7457 _ACEOF
7458
7459 fi
7460
7461 done
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472 for ac_header in netinet/in_pcb.h netinet/ip_var.h net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7473 do
7474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7478   echo $ECHO_N "(cached) $ECHO_C" >&6
7479 else
7480   cat >conftest.$ac_ext <<_ACEOF
7481 /* confdefs.h.  */
7482 _ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h.  */
7486 #include <sys/types.h>
7487      #ifdef HAVE_SYS_SOCKET_H
7488      # include <sys/socket.h>
7489      #endif
7490      #ifdef HAVE_SYS_SOCKETVAR_H
7491      # include <sys/socketvar.h>
7492      #endif
7493      #ifdef HAVE_NETINET_IN_H
7494      # include <netinet/in.h>
7495      #endif
7496
7497 #include <$ac_header>
7498 _ACEOF
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7501 case "(($ac_try" in
7502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503   *) ac_try_echo=$ac_try;;
7504 esac
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506   (eval "$ac_compile") 2>conftest.er1
7507   ac_status=$?
7508   grep -v '^ *+' conftest.er1 >conftest.err
7509   rm -f conftest.er1
7510   cat conftest.err >&5
7511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512   (exit $ac_status); } && {
7513          test -z "$ac_c_werror_flag" ||
7514          test ! -s conftest.err
7515        } && test -s conftest.$ac_objext; then
7516   eval "$as_ac_Header=yes"
7517 else
7518   echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.$ac_ext >&5
7520
7521         eval "$as_ac_Header=no"
7522 fi
7523
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7525 fi
7526 ac_res=`eval echo '${'$as_ac_Header'}'`
7527                { echo "$as_me:$LINENO: result: $ac_res" >&5
7528 echo "${ECHO_T}$ac_res" >&6; }
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530   cat >>confdefs.h <<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7532 _ACEOF
7533
7534 fi
7535
7536 done
7537
7538
7539
7540 for ac_header in netinet/tcp_var.h
7541 do
7542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7546   echo $ECHO_N "(cached) $ECHO_C" >&6
7547 else
7548   cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h.  */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h.  */
7554 #include <sys/types.h>
7555      #ifdef HAVE_SYS_SOCKET_H
7556      # include <sys/socket.h>
7557      #endif
7558      #ifdef HAVE_SYS_SOCKETVAR_H
7559      # include <sys/socketvar.h>
7560      #endif
7561      #ifdef HAVE_NETINET_IN_H
7562      # include <netinet/in.h>
7563      #endif
7564      #ifdef HAVE_NETINET_TCP_H
7565      # include <netinet/tcp.h>
7566      #endif
7567
7568 #include <$ac_header>
7569 _ACEOF
7570 rm -f conftest.$ac_objext
7571 if { (ac_try="$ac_compile"
7572 case "(($ac_try" in
7573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7574   *) ac_try_echo=$ac_try;;
7575 esac
7576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7577   (eval "$ac_compile") 2>conftest.er1
7578   ac_status=$?
7579   grep -v '^ *+' conftest.er1 >conftest.err
7580   rm -f conftest.er1
7581   cat conftest.err >&5
7582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583   (exit $ac_status); } && {
7584          test -z "$ac_c_werror_flag" ||
7585          test ! -s conftest.err
7586        } && test -s conftest.$ac_objext; then
7587   eval "$as_ac_Header=yes"
7588 else
7589   echo "$as_me: failed program was:" >&5
7590 sed 's/^/| /' conftest.$ac_ext >&5
7591
7592         eval "$as_ac_Header=no"
7593 fi
7594
7595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7596 fi
7597 ac_res=`eval echo '${'$as_ac_Header'}'`
7598                { echo "$as_me:$LINENO: result: $ac_res" >&5
7599 echo "${ECHO_T}$ac_res" >&6; }
7600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7601   cat >>confdefs.h <<_ACEOF
7602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7603 _ACEOF
7604
7605 fi
7606
7607 done
7608
7609
7610
7611 for ac_header in linux/ipx.h
7612 do
7613 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7617   echo $ECHO_N "(cached) $ECHO_C" >&6
7618 else
7619   cat >conftest.$ac_ext <<_ACEOF
7620 /* confdefs.h.  */
7621 _ACEOF
7622 cat confdefs.h >>conftest.$ac_ext
7623 cat >>conftest.$ac_ext <<_ACEOF
7624 /* end confdefs.h.  */
7625 #include <sys/types.h>
7626      #ifdef HAVE_ASM_TYPES_H
7627      # include <asm/types.h>
7628      #endif
7629      #ifdef HAVE_SYS_SOCKET_H
7630      # include <sys/socket.h>
7631      #endif
7632
7633 #include <$ac_header>
7634 _ACEOF
7635 rm -f conftest.$ac_objext
7636 if { (ac_try="$ac_compile"
7637 case "(($ac_try" in
7638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7639   *) ac_try_echo=$ac_try;;
7640 esac
7641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7642   (eval "$ac_compile") 2>conftest.er1
7643   ac_status=$?
7644   grep -v '^ *+' conftest.er1 >conftest.err
7645   rm -f conftest.er1
7646   cat conftest.err >&5
7647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648   (exit $ac_status); } && {
7649          test -z "$ac_c_werror_flag" ||
7650          test ! -s conftest.err
7651        } && test -s conftest.$ac_objext; then
7652   eval "$as_ac_Header=yes"
7653 else
7654   echo "$as_me: failed program was:" >&5
7655 sed 's/^/| /' conftest.$ac_ext >&5
7656
7657         eval "$as_ac_Header=no"
7658 fi
7659
7660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7661 fi
7662 ac_res=`eval echo '${'$as_ac_Header'}'`
7663                { echo "$as_me:$LINENO: result: $ac_res" >&5
7664 echo "${ECHO_T}$ac_res" >&6; }
7665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7666   cat >>confdefs.h <<_ACEOF
7667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7668 _ACEOF
7669
7670 fi
7671
7672 done
7673
7674
7675
7676 for ac_header in resolv.h
7677 do
7678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7679 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7682   echo $ECHO_N "(cached) $ECHO_C" >&6
7683 else
7684   cat >conftest.$ac_ext <<_ACEOF
7685 /* confdefs.h.  */
7686 _ACEOF
7687 cat confdefs.h >>conftest.$ac_ext
7688 cat >>conftest.$ac_ext <<_ACEOF
7689 /* end confdefs.h.  */
7690 #include <sys/types.h>
7691      #ifdef HAVE_SYS_SOCKET_H
7692      # include <sys/socket.h>
7693      #endif
7694      #ifdef HAVE_NETINET_IN_H
7695      # include <netinet/in.h>
7696      #endif
7697      #ifdef HAVE_ARPA_NAMESER_H
7698      # include <arpa/nameser.h>
7699      #endif
7700
7701 #include <$ac_header>
7702 _ACEOF
7703 rm -f conftest.$ac_objext
7704 if { (ac_try="$ac_compile"
7705 case "(($ac_try" in
7706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7707   *) ac_try_echo=$ac_try;;
7708 esac
7709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7710   (eval "$ac_compile") 2>conftest.er1
7711   ac_status=$?
7712   grep -v '^ *+' conftest.er1 >conftest.err
7713   rm -f conftest.er1
7714   cat conftest.err >&5
7715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7716   (exit $ac_status); } && {
7717          test -z "$ac_c_werror_flag" ||
7718          test ! -s conftest.err
7719        } && test -s conftest.$ac_objext; then
7720   eval "$as_ac_Header=yes"
7721 else
7722   echo "$as_me: failed program was:" >&5
7723 sed 's/^/| /' conftest.$ac_ext >&5
7724
7725         eval "$as_ac_Header=no"
7726 fi
7727
7728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7729 fi
7730 ac_res=`eval echo '${'$as_ac_Header'}'`
7731                { echo "$as_me:$LINENO: result: $ac_res" >&5
7732 echo "${ECHO_T}$ac_res" >&6; }
7733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7734   cat >>confdefs.h <<_ACEOF
7735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7736 _ACEOF
7737
7738 fi
7739
7740 done
7741
7742
7743
7744 for ac_header in ucontext.h
7745 do
7746 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7747 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7750   echo $ECHO_N "(cached) $ECHO_C" >&6
7751 else
7752   cat >conftest.$ac_ext <<_ACEOF
7753 /* confdefs.h.  */
7754 _ACEOF
7755 cat confdefs.h >>conftest.$ac_ext
7756 cat >>conftest.$ac_ext <<_ACEOF
7757 /* end confdefs.h.  */
7758 #include <signal.h>
7759
7760 #include <$ac_header>
7761 _ACEOF
7762 rm -f conftest.$ac_objext
7763 if { (ac_try="$ac_compile"
7764 case "(($ac_try" in
7765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7766   *) ac_try_echo=$ac_try;;
7767 esac
7768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7769   (eval "$ac_compile") 2>conftest.er1
7770   ac_status=$?
7771   grep -v '^ *+' conftest.er1 >conftest.err
7772   rm -f conftest.er1
7773   cat conftest.err >&5
7774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775   (exit $ac_status); } && {
7776          test -z "$ac_c_werror_flag" ||
7777          test ! -s conftest.err
7778        } && test -s conftest.$ac_objext; then
7779   eval "$as_ac_Header=yes"
7780 else
7781   echo "$as_me: failed program was:" >&5
7782 sed 's/^/| /' conftest.$ac_ext >&5
7783
7784         eval "$as_ac_Header=no"
7785 fi
7786
7787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7788 fi
7789 ac_res=`eval echo '${'$as_ac_Header'}'`
7790                { echo "$as_me:$LINENO: result: $ac_res" >&5
7791 echo "${ECHO_T}$ac_res" >&6; }
7792 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7793   cat >>confdefs.h <<_ACEOF
7794 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7795 _ACEOF
7796
7797 fi
7798
7799 done
7800
7801
7802
7803 for ac_header in sys/thr.h
7804 do
7805 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7806 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7808 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7809   echo $ECHO_N "(cached) $ECHO_C" >&6
7810 else
7811   cat >conftest.$ac_ext <<_ACEOF
7812 /* confdefs.h.  */
7813 _ACEOF
7814 cat confdefs.h >>conftest.$ac_ext
7815 cat >>conftest.$ac_ext <<_ACEOF
7816 /* end confdefs.h.  */
7817 #include <sys/types.h>
7818 #ifdef HAVE_UCONTEXT_H
7819 #include <ucontext.h>
7820 #endif
7821
7822 #include <$ac_header>
7823 _ACEOF
7824 rm -f conftest.$ac_objext
7825 if { (ac_try="$ac_compile"
7826 case "(($ac_try" in
7827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7828   *) ac_try_echo=$ac_try;;
7829 esac
7830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7831   (eval "$ac_compile") 2>conftest.er1
7832   ac_status=$?
7833   grep -v '^ *+' conftest.er1 >conftest.err
7834   rm -f conftest.er1
7835   cat conftest.err >&5
7836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7837   (exit $ac_status); } && {
7838          test -z "$ac_c_werror_flag" ||
7839          test ! -s conftest.err
7840        } && test -s conftest.$ac_objext; then
7841   eval "$as_ac_Header=yes"
7842 else
7843   echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.$ac_ext >&5
7845
7846         eval "$as_ac_Header=no"
7847 fi
7848
7849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7850 fi
7851 ac_res=`eval echo '${'$as_ac_Header'}'`
7852                { echo "$as_me:$LINENO: result: $ac_res" >&5
7853 echo "${ECHO_T}$ac_res" >&6; }
7854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7855   cat >>confdefs.h <<_ACEOF
7856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7857 _ACEOF
7858
7859 fi
7860
7861 done
7862
7863
7864
7865 for ac_header in pthread_np.h
7866 do
7867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7868 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7869 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7870 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7871   echo $ECHO_N "(cached) $ECHO_C" >&6
7872 else
7873   cat >conftest.$ac_ext <<_ACEOF
7874 /* confdefs.h.  */
7875 _ACEOF
7876 cat confdefs.h >>conftest.$ac_ext
7877 cat >>conftest.$ac_ext <<_ACEOF
7878 /* end confdefs.h.  */
7879 #ifdef HAVE_PTHREAD_H
7880 #include <pthread.h>
7881 #endif
7882
7883 #include <$ac_header>
7884 _ACEOF
7885 rm -f conftest.$ac_objext
7886 if { (ac_try="$ac_compile"
7887 case "(($ac_try" in
7888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7889   *) ac_try_echo=$ac_try;;
7890 esac
7891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7892   (eval "$ac_compile") 2>conftest.er1
7893   ac_status=$?
7894   grep -v '^ *+' conftest.er1 >conftest.err
7895   rm -f conftest.er1
7896   cat conftest.err >&5
7897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7898   (exit $ac_status); } && {
7899          test -z "$ac_c_werror_flag" ||
7900          test ! -s conftest.err
7901        } && test -s conftest.$ac_objext; then
7902   eval "$as_ac_Header=yes"
7903 else
7904   echo "$as_me: failed program was:" >&5
7905 sed 's/^/| /' conftest.$ac_ext >&5
7906
7907         eval "$as_ac_Header=no"
7908 fi
7909
7910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7911 fi
7912 ac_res=`eval echo '${'$as_ac_Header'}'`
7913                { echo "$as_me:$LINENO: result: $ac_res" >&5
7914 echo "${ECHO_T}$ac_res" >&6; }
7915 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7916   cat >>confdefs.h <<_ACEOF
7917 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7918 _ACEOF
7919
7920 fi
7921
7922 done
7923
7924
7925
7926 for ac_header in linux/videodev.h
7927 do
7928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7932   echo $ECHO_N "(cached) $ECHO_C" >&6
7933 else
7934   cat >conftest.$ac_ext <<_ACEOF
7935 /* confdefs.h.  */
7936 _ACEOF
7937 cat confdefs.h >>conftest.$ac_ext
7938 cat >>conftest.$ac_ext <<_ACEOF
7939 /* end confdefs.h.  */
7940 #ifdef HAVE_SYS_TIME_H
7941 #include <sys/time.h>
7942 #endif
7943 #include <sys/types.h>
7944 #ifdef HAVE_ASM_TYPES_H
7945 #include <asm/types.h>
7946 #endif
7947
7948 #include <$ac_header>
7949 _ACEOF
7950 rm -f conftest.$ac_objext
7951 if { (ac_try="$ac_compile"
7952 case "(($ac_try" in
7953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7954   *) ac_try_echo=$ac_try;;
7955 esac
7956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7957   (eval "$ac_compile") 2>conftest.er1
7958   ac_status=$?
7959   grep -v '^ *+' conftest.er1 >conftest.err
7960   rm -f conftest.er1
7961   cat conftest.err >&5
7962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7963   (exit $ac_status); } && {
7964          test -z "$ac_c_werror_flag" ||
7965          test ! -s conftest.err
7966        } && test -s conftest.$ac_objext; then
7967   eval "$as_ac_Header=yes"
7968 else
7969   echo "$as_me: failed program was:" >&5
7970 sed 's/^/| /' conftest.$ac_ext >&5
7971
7972         eval "$as_ac_Header=no"
7973 fi
7974
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7976 fi
7977 ac_res=`eval echo '${'$as_ac_Header'}'`
7978                { echo "$as_me:$LINENO: result: $ac_res" >&5
7979 echo "${ECHO_T}$ac_res" >&6; }
7980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7981   cat >>confdefs.h <<_ACEOF
7982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7983 _ACEOF
7984
7985 fi
7986
7987 done
7988
7989
7990
7991 for ac_header in linux/capi.h
7992 do
7993 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7994 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7996 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7997   echo $ECHO_N "(cached) $ECHO_C" >&6
7998 else
7999   cat >conftest.$ac_ext <<_ACEOF
8000 /* confdefs.h.  */
8001 _ACEOF
8002 cat confdefs.h >>conftest.$ac_ext
8003 cat >>conftest.$ac_ext <<_ACEOF
8004 /* end confdefs.h.  */
8005 #define __user
8006
8007 #include <$ac_header>
8008 _ACEOF
8009 rm -f conftest.$ac_objext
8010 if { (ac_try="$ac_compile"
8011 case "(($ac_try" in
8012   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8013   *) ac_try_echo=$ac_try;;
8014 esac
8015 eval "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
8022   (exit $ac_status); } && {
8023          test -z "$ac_c_werror_flag" ||
8024          test ! -s conftest.err
8025        } && test -s conftest.$ac_objext; then
8026   eval "$as_ac_Header=yes"
8027 else
8028   echo "$as_me: failed program was:" >&5
8029 sed 's/^/| /' conftest.$ac_ext >&5
8030
8031         eval "$as_ac_Header=no"
8032 fi
8033
8034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8035 fi
8036 ac_res=`eval echo '${'$as_ac_Header'}'`
8037                { echo "$as_me:$LINENO: result: $ac_res" >&5
8038 echo "${ECHO_T}$ac_res" >&6; }
8039 if 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
8044 fi
8045
8046 done
8047
8048
8049
8050 DLLEXT=""
8051
8052 DLLFLAGS="-D_REENTRANT"
8053
8054 LDSHARED=""
8055
8056 LDDLLFLAGS=""
8057
8058 LIBEXT="so"
8059
8060 IMPLIBEXT="def"
8061
8062 LDRPATH_INSTALL=""
8063
8064 LDRPATH_LOCAL=""
8065
8066 # Extract the first word of "ldd", so it can be a program name with args.
8067 set dummy ldd; ac_word=$2
8068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8070 if test "${ac_cv_path_LDD+set}" = set; then
8071   echo $ECHO_N "(cached) $ECHO_C" >&6
8072 else
8073   case $LDD in
8074   [\\/]* | ?:[\\/]*)
8075   ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8076   ;;
8077   *)
8078   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8079 as_dummy="/sbin:/usr/sbin:$PATH"
8080 for as_dir in $as_dummy
8081 do
8082   IFS=$as_save_IFS
8083   test -z "$as_dir" && as_dir=.
8084   for ac_exec_ext in '' $ac_executable_extensions; do
8085   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8086     ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8087     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8088     break 2
8089   fi
8090 done
8091 done
8092 IFS=$as_save_IFS
8093
8094   test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8095   ;;
8096 esac
8097 fi
8098 LDD=$ac_cv_path_LDD
8099 if test -n "$LDD"; then
8100   { echo "$as_me:$LINENO: result: $LDD" >&5
8101 echo "${ECHO_T}$LDD" >&6; }
8102 else
8103   { echo "$as_me:$LINENO: result: no" >&5
8104 echo "${ECHO_T}no" >&6; }
8105 fi
8106
8107
8108
8109 case $host_os in
8110   cygwin*|mingw32*)
8111     if test -n "$ac_tool_prefix"; then
8112   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8113 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8116 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8117   echo $ECHO_N "(cached) $ECHO_C" >&6
8118 else
8119   if test -n "$DLLTOOL"; then
8120   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8121 else
8122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8123 for as_dir in $PATH
8124 do
8125   IFS=$as_save_IFS
8126   test -z "$as_dir" && as_dir=.
8127   for ac_exec_ext in '' $ac_executable_extensions; do
8128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8129     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8130     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8131     break 2
8132   fi
8133 done
8134 done
8135 IFS=$as_save_IFS
8136
8137 fi
8138 fi
8139 DLLTOOL=$ac_cv_prog_DLLTOOL
8140 if test -n "$DLLTOOL"; then
8141   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8142 echo "${ECHO_T}$DLLTOOL" >&6; }
8143 else
8144   { echo "$as_me:$LINENO: result: no" >&5
8145 echo "${ECHO_T}no" >&6; }
8146 fi
8147
8148
8149 fi
8150 if test -z "$ac_cv_prog_DLLTOOL"; then
8151   ac_ct_DLLTOOL=$DLLTOOL
8152   # Extract the first word of "dlltool", so it can be a program name with args.
8153 set dummy dlltool; ac_word=$2
8154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8156 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8157   echo $ECHO_N "(cached) $ECHO_C" >&6
8158 else
8159   if test -n "$ac_ct_DLLTOOL"; then
8160   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8164 do
8165   IFS=$as_save_IFS
8166   test -z "$as_dir" && as_dir=.
8167   for ac_exec_ext in '' $ac_executable_extensions; do
8168   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8169     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8170     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8171     break 2
8172   fi
8173 done
8174 done
8175 IFS=$as_save_IFS
8176
8177 fi
8178 fi
8179 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8180 if test -n "$ac_ct_DLLTOOL"; then
8181   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8182 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8183 else
8184   { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8186 fi
8187
8188   if test "x$ac_ct_DLLTOOL" = x; then
8189     DLLTOOL="false"
8190   else
8191     case $cross_compiling:$ac_tool_warned in
8192 yes:)
8193 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8194 whose name does not start with the host triplet.  If you think this
8195 configuration is useful to you, please write to autoconf@gnu.org." >&5
8196 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8197 whose name does not start with the host triplet.  If you think this
8198 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8199 ac_tool_warned=yes ;;
8200 esac
8201     DLLTOOL=$ac_ct_DLLTOOL
8202   fi
8203 else
8204   DLLTOOL="$ac_cv_prog_DLLTOOL"
8205 fi
8206
8207     if test -n "$ac_tool_prefix"; then
8208   # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8209 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8212 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8213   echo $ECHO_N "(cached) $ECHO_C" >&6
8214 else
8215   if test -n "$DLLWRAP"; then
8216   ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8217 else
8218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8219 for as_dir in $PATH
8220 do
8221   IFS=$as_save_IFS
8222   test -z "$as_dir" && as_dir=.
8223   for ac_exec_ext in '' $ac_executable_extensions; do
8224   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8225     ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8226     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8227     break 2
8228   fi
8229 done
8230 done
8231 IFS=$as_save_IFS
8232
8233 fi
8234 fi
8235 DLLWRAP=$ac_cv_prog_DLLWRAP
8236 if test -n "$DLLWRAP"; then
8237   { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8238 echo "${ECHO_T}$DLLWRAP" >&6; }
8239 else
8240   { echo "$as_me:$LINENO: result: no" >&5
8241 echo "${ECHO_T}no" >&6; }
8242 fi
8243
8244
8245 fi
8246 if test -z "$ac_cv_prog_DLLWRAP"; then
8247   ac_ct_DLLWRAP=$DLLWRAP
8248   # Extract the first word of "dllwrap", so it can be a program name with args.
8249 set dummy dllwrap; ac_word=$2
8250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8252 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8253   echo $ECHO_N "(cached) $ECHO_C" >&6
8254 else
8255   if test -n "$ac_ct_DLLWRAP"; then
8256   ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8257 else
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 for as_dir in $PATH
8260 do
8261   IFS=$as_save_IFS
8262   test -z "$as_dir" && as_dir=.
8263   for ac_exec_ext in '' $ac_executable_extensions; do
8264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265     ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8266     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8267     break 2
8268   fi
8269 done
8270 done
8271 IFS=$as_save_IFS
8272
8273 fi
8274 fi
8275 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8276 if test -n "$ac_ct_DLLWRAP"; then
8277   { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8278 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8279 else
8280   { echo "$as_me:$LINENO: result: no" >&5
8281 echo "${ECHO_T}no" >&6; }
8282 fi
8283
8284   if test "x$ac_ct_DLLWRAP" = x; then
8285     DLLWRAP="false"
8286   else
8287     case $cross_compiling:$ac_tool_warned in
8288 yes:)
8289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8290 whose name does not start with the host triplet.  If you think this
8291 configuration is useful to you, please write to autoconf@gnu.org." >&5
8292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8293 whose name does not start with the host triplet.  If you think this
8294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8295 ac_tool_warned=yes ;;
8296 esac
8297     DLLWRAP=$ac_ct_DLLWRAP
8298   fi
8299 else
8300   DLLWRAP="$ac_cv_prog_DLLWRAP"
8301 fi
8302
8303     if test -n "$ac_tool_prefix"; then
8304   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8305 set dummy ${ac_tool_prefix}ar; ac_word=$2
8306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8308 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8309   echo $ECHO_N "(cached) $ECHO_C" >&6
8310 else
8311   if test -n "$MINGWAR"; then
8312   ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8313 else
8314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8315 for as_dir in $PATH
8316 do
8317   IFS=$as_save_IFS
8318   test -z "$as_dir" && as_dir=.
8319   for ac_exec_ext in '' $ac_executable_extensions; do
8320   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8321     ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8322     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8323     break 2
8324   fi
8325 done
8326 done
8327 IFS=$as_save_IFS
8328
8329 fi
8330 fi
8331 MINGWAR=$ac_cv_prog_MINGWAR
8332 if test -n "$MINGWAR"; then
8333   { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8334 echo "${ECHO_T}$MINGWAR" >&6; }
8335 else
8336   { echo "$as_me:$LINENO: result: no" >&5
8337 echo "${ECHO_T}no" >&6; }
8338 fi
8339
8340
8341 fi
8342 if test -z "$ac_cv_prog_MINGWAR"; then
8343   ac_ct_MINGWAR=$MINGWAR
8344   # Extract the first word of "ar", so it can be a program name with args.
8345 set dummy ar; ac_word=$2
8346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8348 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8349   echo $ECHO_N "(cached) $ECHO_C" >&6
8350 else
8351   if test -n "$ac_ct_MINGWAR"; then
8352   ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8353 else
8354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8355 for as_dir in $PATH
8356 do
8357   IFS=$as_save_IFS
8358   test -z "$as_dir" && as_dir=.
8359   for ac_exec_ext in '' $ac_executable_extensions; do
8360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8361     ac_cv_prog_ac_ct_MINGWAR="ar"
8362     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8363     break 2
8364   fi
8365 done
8366 done
8367 IFS=$as_save_IFS
8368
8369 fi
8370 fi
8371 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8372 if test -n "$ac_ct_MINGWAR"; then
8373   { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8374 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8375 else
8376   { echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6; }
8378 fi
8379
8380   if test "x$ac_ct_MINGWAR" = x; then
8381     MINGWAR="false"
8382   else
8383     case $cross_compiling:$ac_tool_warned in
8384 yes:)
8385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8386 whose name does not start with the host triplet.  If you think this
8387 configuration is useful to you, please write to autoconf@gnu.org." >&5
8388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8389 whose name does not start with the host triplet.  If you think this
8390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8391 ac_tool_warned=yes ;;
8392 esac
8393     MINGWAR=$ac_ct_MINGWAR
8394   fi
8395 else
8396   MINGWAR="$ac_cv_prog_MINGWAR"
8397 fi
8398
8399     if test "$DLLWRAP" = "false"; then
8400       LIBEXT="a"
8401     else
8402             LIBEXT="dll"
8403     fi
8404     IMPLIBEXT="a"
8405         WIN16_FILES=""
8406     WIN16_INSTALL=""
8407     ;;
8408   darwin*|macosx*)
8409     DLLEXT=".so"
8410     LIBEXT="dylib"
8411     DLLFLAGS="$DLLFLAGS -fPIC"
8412     LDDLLFLAGS="-bundle -multiply_defined suppress"
8413     LIBWINE_LDFLAGS="-multiply_defined suppress"
8414     LDSHARED="\$(CC) -dynamiclib"
8415     STRIP="$STRIP -x"
8416     LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8417         SECURITYLIB="-framework Security -framework CoreFoundation"
8418
8419     COREFOUNDATIONLIB="-framework CoreFoundation"
8420
8421     IOKITLIB="-framework IOKit -framework CoreFoundation"
8422
8423     LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8424
8425     if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8426     then
8427                 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8428
8429     fi
8430     if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8431     then
8432                 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8433
8434     fi
8435     case $host_cpu in
8436       *powerpc*)
8437         LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"          ;;
8438     esac
8439         if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8440     then
8441         CARBONLIB="-framework Carbon"
8442
8443         QUARTZFILES='$(QUARTZFILES)'
8444     fi
8445     ;;
8446   *)
8447     DLLFLAGS="$DLLFLAGS -fPIC"
8448     DLLEXT=".so"
8449     { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8450 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8451 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8452   echo $ECHO_N "(cached) $ECHO_C" >&6
8453 else
8454   ac_wine_try_cflags_saved=$CFLAGS
8455 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8456 cat >conftest.$ac_ext <<_ACEOF
8457 void myfunc() {}
8458 _ACEOF
8459 rm -f conftest.$ac_objext conftest$ac_exeext
8460 if { (ac_try="$ac_link"
8461 case "(($ac_try" in
8462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8463   *) ac_try_echo=$ac_try;;
8464 esac
8465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8466   (eval "$ac_link") 2>conftest.er1
8467   ac_status=$?
8468   grep -v '^ *+' conftest.er1 >conftest.err
8469   rm -f conftest.er1
8470   cat conftest.err >&5
8471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472   (exit $ac_status); } && {
8473          test -z "$ac_c_werror_flag" ||
8474          test ! -s conftest.err
8475        } && test -s conftest$ac_exeext &&
8476        $as_test_x conftest$ac_exeext; then
8477   ac_cv_c_dll_gnuelf="yes"
8478 else
8479   echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.$ac_ext >&5
8481
8482         ac_cv_c_dll_gnuelf="no"
8483 fi
8484
8485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8486       conftest$ac_exeext conftest.$ac_ext
8487 CFLAGS=$ac_wine_try_cflags_saved
8488 fi
8489 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8490 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8491     if test "$ac_cv_c_dll_gnuelf" = "yes"
8492     then
8493       LDSHARED="\$(CC) -shared"
8494       LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8495       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8496 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8497 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8498   echo $ECHO_N "(cached) $ECHO_C" >&6
8499 else
8500   ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8502 cat >conftest.$ac_ext <<_ACEOF
8503 /* confdefs.h.  */
8504 _ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h.  */
8508
8509 int
8510 main ()
8511 {
8512
8513   ;
8514   return 0;
8515 }
8516 _ACEOF
8517 rm -f conftest.$ac_objext conftest$ac_exeext
8518 if { (ac_try="$ac_link"
8519 case "(($ac_try" in
8520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8521   *) ac_try_echo=$ac_try;;
8522 esac
8523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8524   (eval "$ac_link") 2>conftest.er1
8525   ac_status=$?
8526   grep -v '^ *+' conftest.er1 >conftest.err
8527   rm -f conftest.er1
8528   cat conftest.err >&5
8529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8530   (exit $ac_status); } && {
8531          test -z "$ac_c_werror_flag" ||
8532          test ! -s conftest.err
8533        } && test -s conftest$ac_exeext &&
8534        $as_test_x conftest$ac_exeext; then
8535   ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8536 else
8537   echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.$ac_ext >&5
8539
8540         ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8541 fi
8542
8543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8544       conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8546 fi
8547 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8548 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8549 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8550   LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8551 else
8552   { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8553 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8554 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8555   echo $ECHO_N "(cached) $ECHO_C" >&6
8556 else
8557   ac_wine_try_cflags_saved=$CFLAGS
8558 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8559 cat >conftest.$ac_ext <<_ACEOF
8560 /* confdefs.h.  */
8561 _ACEOF
8562 cat confdefs.h >>conftest.$ac_ext
8563 cat >>conftest.$ac_ext <<_ACEOF
8564 /* end confdefs.h.  */
8565
8566 int
8567 main ()
8568 {
8569
8570   ;
8571   return 0;
8572 }
8573 _ACEOF
8574 rm -f conftest.$ac_objext conftest$ac_exeext
8575 if { (ac_try="$ac_link"
8576 case "(($ac_try" in
8577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8578   *) ac_try_echo=$ac_try;;
8579 esac
8580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8581   (eval "$ac_link") 2>conftest.er1
8582   ac_status=$?
8583   grep -v '^ *+' conftest.er1 >conftest.err
8584   rm -f conftest.er1
8585   cat conftest.err >&5
8586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587   (exit $ac_status); } && {
8588          test -z "$ac_c_werror_flag" ||
8589          test ! -s conftest.err
8590        } && test -s conftest$ac_exeext &&
8591        $as_test_x conftest$ac_exeext; then
8592   ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8593 else
8594   echo "$as_me: failed program was:" >&5
8595 sed 's/^/| /' conftest.$ac_ext >&5
8596
8597         ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8598 fi
8599
8600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8601       conftest$ac_exeext conftest.$ac_ext
8602 CFLAGS=$ac_wine_try_cflags_saved
8603 fi
8604 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8605 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8606 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8607   LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8608 fi
8609
8610 fi
8611
8612
8613       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8614 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8615 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8616   echo $ECHO_N "(cached) $ECHO_C" >&6
8617 else
8618   ac_wine_try_cflags_saved=$CFLAGS
8619 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8620 cat >conftest.$ac_ext <<_ACEOF
8621 /* confdefs.h.  */
8622 _ACEOF
8623 cat confdefs.h >>conftest.$ac_ext
8624 cat >>conftest.$ac_ext <<_ACEOF
8625 /* end confdefs.h.  */
8626
8627 int
8628 main ()
8629 {
8630
8631   ;
8632   return 0;
8633 }
8634 _ACEOF
8635 rm -f conftest.$ac_objext conftest$ac_exeext
8636 if { (ac_try="$ac_link"
8637 case "(($ac_try" in
8638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8639   *) ac_try_echo=$ac_try;;
8640 esac
8641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8642   (eval "$ac_link") 2>conftest.er1
8643   ac_status=$?
8644   grep -v '^ *+' conftest.er1 >conftest.err
8645   rm -f conftest.er1
8646   cat conftest.err >&5
8647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8648   (exit $ac_status); } && {
8649          test -z "$ac_c_werror_flag" ||
8650          test ! -s conftest.err
8651        } && test -s conftest$ac_exeext &&
8652        $as_test_x conftest$ac_exeext; then
8653   ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8654 else
8655   echo "$as_me: failed program was:" >&5
8656 sed 's/^/| /' conftest.$ac_ext >&5
8657
8658         ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8659 fi
8660
8661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8662       conftest$ac_exeext conftest.$ac_ext
8663 CFLAGS=$ac_wine_try_cflags_saved
8664 fi
8665 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8666 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8667 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8668   LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8669 fi
8670
8671
8672       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8673 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8674 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8675   echo $ECHO_N "(cached) $ECHO_C" >&6
8676 else
8677   ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8679 cat >conftest.$ac_ext <<_ACEOF
8680 /* confdefs.h.  */
8681 _ACEOF
8682 cat confdefs.h >>conftest.$ac_ext
8683 cat >>conftest.$ac_ext <<_ACEOF
8684 /* end confdefs.h.  */
8685
8686 int
8687 main ()
8688 {
8689
8690   ;
8691   return 0;
8692 }
8693 _ACEOF
8694 rm -f conftest.$ac_objext conftest$ac_exeext
8695 if { (ac_try="$ac_link"
8696 case "(($ac_try" in
8697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8698   *) ac_try_echo=$ac_try;;
8699 esac
8700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8701   (eval "$ac_link") 2>conftest.er1
8702   ac_status=$?
8703   grep -v '^ *+' conftest.er1 >conftest.err
8704   rm -f conftest.er1
8705   cat conftest.err >&5
8706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8707   (exit $ac_status); } && {
8708          test -z "$ac_c_werror_flag" ||
8709          test ! -s conftest.err
8710        } && test -s conftest$ac_exeext &&
8711        $as_test_x conftest$ac_exeext; then
8712   ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8713 else
8714   echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8716
8717         ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8718 fi
8719
8720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8721       conftest$ac_exeext conftest.$ac_ext
8722 CFLAGS=$ac_wine_try_cflags_saved
8723 fi
8724 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8725 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8726 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8727   LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8728 fi
8729
8730
8731       echo '{ global: *; };' >conftest.map
8732       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8733 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8734 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8735   echo $ECHO_N "(cached) $ECHO_C" >&6
8736 else
8737   ac_wine_try_cflags_saved=$CFLAGS
8738 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8739 cat >conftest.$ac_ext <<_ACEOF
8740 /* confdefs.h.  */
8741 _ACEOF
8742 cat confdefs.h >>conftest.$ac_ext
8743 cat >>conftest.$ac_ext <<_ACEOF
8744 /* end confdefs.h.  */
8745
8746 int
8747 main ()
8748 {
8749
8750   ;
8751   return 0;
8752 }
8753 _ACEOF
8754 rm -f conftest.$ac_objext conftest$ac_exeext
8755 if { (ac_try="$ac_link"
8756 case "(($ac_try" in
8757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8758   *) ac_try_echo=$ac_try;;
8759 esac
8760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8761   (eval "$ac_link") 2>conftest.er1
8762   ac_status=$?
8763   grep -v '^ *+' conftest.er1 >conftest.err
8764   rm -f conftest.er1
8765   cat conftest.err >&5
8766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8767   (exit $ac_status); } && {
8768          test -z "$ac_c_werror_flag" ||
8769          test ! -s conftest.err
8770        } && test -s conftest$ac_exeext &&
8771        $as_test_x conftest$ac_exeext; then
8772   ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8773 else
8774   echo "$as_me: failed program was:" >&5
8775 sed 's/^/| /' conftest.$ac_ext >&5
8776
8777         ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8778 fi
8779
8780 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8781       conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8783 fi
8784 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8785 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8786 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8787   LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8788 fi
8789
8790       rm -f conftest.map
8791
8792       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8793 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8794 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8795   echo $ECHO_N "(cached) $ECHO_C" >&6
8796 else
8797   ac_wine_try_cflags_saved=$CFLAGS
8798 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8799 cat >conftest.$ac_ext <<_ACEOF
8800 /* confdefs.h.  */
8801 _ACEOF
8802 cat confdefs.h >>conftest.$ac_ext
8803 cat >>conftest.$ac_ext <<_ACEOF
8804 /* end confdefs.h.  */
8805
8806 int
8807 main ()
8808 {
8809
8810   ;
8811   return 0;
8812 }
8813 _ACEOF
8814 rm -f conftest.$ac_objext conftest$ac_exeext
8815 if { (ac_try="$ac_link"
8816 case "(($ac_try" in
8817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8818   *) ac_try_echo=$ac_try;;
8819 esac
8820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8821   (eval "$ac_link") 2>conftest.er1
8822   ac_status=$?
8823   grep -v '^ *+' conftest.er1 >conftest.err
8824   rm -f conftest.er1
8825   cat conftest.err >&5
8826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827   (exit $ac_status); } && {
8828          test -z "$ac_c_werror_flag" ||
8829          test ! -s conftest.err
8830        } && test -s conftest$ac_exeext &&
8831        $as_test_x conftest$ac_exeext; then
8832   ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8833 else
8834   echo "$as_me: failed program was:" >&5
8835 sed 's/^/| /' conftest.$ac_ext >&5
8836
8837         ac_cv_cflags__fPIC__Wl___export_dynamic=no
8838 fi
8839
8840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8841       conftest$ac_exeext conftest.$ac_ext
8842 CFLAGS=$ac_wine_try_cflags_saved
8843 fi
8844 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8845 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8846 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8847   LDEXECFLAGS="-Wl,--export-dynamic"
8848
8849 fi
8850
8851
8852       as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8853 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8854 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8855 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8856   echo $ECHO_N "(cached) $ECHO_C" >&6
8857 else
8858   ac_wine_try_cflags_saved=$CFLAGS
8859 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8860 cat >conftest.$ac_ext <<_ACEOF
8861 /* confdefs.h.  */
8862 _ACEOF
8863 cat confdefs.h >>conftest.$ac_ext
8864 cat >>conftest.$ac_ext <<_ACEOF
8865 /* end confdefs.h.  */
8866
8867 int
8868 main ()
8869 {
8870
8871   ;
8872   return 0;
8873 }
8874 _ACEOF
8875 rm -f conftest.$ac_objext conftest$ac_exeext
8876 if { (ac_try="$ac_link"
8877 case "(($ac_try" in
8878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8879   *) ac_try_echo=$ac_try;;
8880 esac
8881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8882   (eval "$ac_link") 2>conftest.er1
8883   ac_status=$?
8884   grep -v '^ *+' conftest.er1 >conftest.err
8885   rm -f conftest.er1
8886   cat conftest.err >&5
8887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888   (exit $ac_status); } && {
8889          test -z "$ac_c_werror_flag" ||
8890          test ! -s conftest.err
8891        } && test -s conftest$ac_exeext &&
8892        $as_test_x conftest$ac_exeext; then
8893   eval "$as_ac_var=yes"
8894 else
8895   echo "$as_me: failed program was:" >&5
8896 sed 's/^/| /' conftest.$ac_ext >&5
8897
8898         eval "$as_ac_var=no"
8899 fi
8900
8901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8902       conftest$ac_exeext conftest.$ac_ext
8903 CFLAGS=$ac_wine_try_cflags_saved
8904 fi
8905 ac_res=`eval echo '${'$as_ac_var'}'`
8906                { echo "$as_me:$LINENO: result: $ac_res" >&5
8907 echo "${ECHO_T}$ac_res" >&6; }
8908 if test `eval echo '${'$as_ac_var'}'` = yes; then
8909   LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8910                        LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8911 else
8912   as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8913 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8914 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8915 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8916   echo $ECHO_N "(cached) $ECHO_C" >&6
8917 else
8918   ac_wine_try_cflags_saved=$CFLAGS
8919 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8920 cat >conftest.$ac_ext <<_ACEOF
8921 /* confdefs.h.  */
8922 _ACEOF
8923 cat confdefs.h >>conftest.$ac_ext
8924 cat >>conftest.$ac_ext <<_ACEOF
8925 /* end confdefs.h.  */
8926
8927 int
8928 main ()
8929 {
8930
8931   ;
8932   return 0;
8933 }
8934 _ACEOF
8935 rm -f conftest.$ac_objext conftest$ac_exeext
8936 if { (ac_try="$ac_link"
8937 case "(($ac_try" in
8938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8939   *) ac_try_echo=$ac_try;;
8940 esac
8941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8942   (eval "$ac_link") 2>conftest.er1
8943   ac_status=$?
8944   grep -v '^ *+' conftest.er1 >conftest.err
8945   rm -f conftest.er1
8946   cat conftest.err >&5
8947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8948   (exit $ac_status); } && {
8949          test -z "$ac_c_werror_flag" ||
8950          test ! -s conftest.err
8951        } && test -s conftest$ac_exeext &&
8952        $as_test_x conftest$ac_exeext; then
8953   eval "$as_ac_var=yes"
8954 else
8955   echo "$as_me: failed program was:" >&5
8956 sed 's/^/| /' conftest.$ac_ext >&5
8957
8958         eval "$as_ac_var=no"
8959 fi
8960
8961 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8962       conftest$ac_exeext conftest.$ac_ext
8963 CFLAGS=$ac_wine_try_cflags_saved
8964 fi
8965 ac_res=`eval echo '${'$as_ac_var'}'`
8966                { echo "$as_me:$LINENO: result: $ac_res" >&5
8967 echo "${ECHO_T}$ac_res" >&6; }
8968 if test `eval echo '${'$as_ac_var'}'` = yes; then
8969   LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8970                             LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8971 fi
8972
8973 fi
8974
8975
8976       { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8977 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
8978 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
8979   echo $ECHO_N "(cached) $ECHO_C" >&6
8980 else
8981   ac_wine_try_cflags_saved=$CFLAGS
8982 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8983 cat >conftest.$ac_ext <<_ACEOF
8984 /* confdefs.h.  */
8985 _ACEOF
8986 cat confdefs.h >>conftest.$ac_ext
8987 cat >>conftest.$ac_ext <<_ACEOF
8988 /* end confdefs.h.  */
8989
8990 int
8991 main ()
8992 {
8993
8994   ;
8995   return 0;
8996 }
8997 _ACEOF
8998 rm -f conftest.$ac_objext conftest$ac_exeext
8999 if { (ac_try="$ac_link"
9000 case "(($ac_try" in
9001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9002   *) ac_try_echo=$ac_try;;
9003 esac
9004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9005   (eval "$ac_link") 2>conftest.er1
9006   ac_status=$?
9007   grep -v '^ *+' conftest.er1 >conftest.err
9008   rm -f conftest.er1
9009   cat conftest.err >&5
9010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011   (exit $ac_status); } && {
9012          test -z "$ac_c_werror_flag" ||
9013          test ! -s conftest.err
9014        } && test -s conftest$ac_exeext &&
9015        $as_test_x conftest$ac_exeext; then
9016   ac_cv_cflags__Wl___enable_new_dtags=yes
9017 else
9018   echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9020
9021         ac_cv_cflags__Wl___enable_new_dtags=no
9022 fi
9023
9024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9025       conftest$ac_exeext conftest.$ac_ext
9026 CFLAGS=$ac_wine_try_cflags_saved
9027 fi
9028 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9029 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9030 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9031   LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9032 fi
9033
9034
9035       case $host_cpu in
9036         *i[3456789]86* | x86_64)
9037           { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9038 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9039 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9040   echo $ECHO_N "(cached) $ECHO_C" >&6
9041 else
9042   ac_wine_try_cflags_saved=$CFLAGS
9043 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9044 cat >conftest.$ac_ext <<_ACEOF
9045 /* confdefs.h.  */
9046 _ACEOF
9047 cat confdefs.h >>conftest.$ac_ext
9048 cat >>conftest.$ac_ext <<_ACEOF
9049 /* end confdefs.h.  */
9050
9051 int
9052 main ()
9053 {
9054
9055   ;
9056   return 0;
9057 }
9058 _ACEOF
9059 rm -f conftest.$ac_objext conftest$ac_exeext
9060 if { (ac_try="$ac_link"
9061 case "(($ac_try" in
9062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9063   *) ac_try_echo=$ac_try;;
9064 esac
9065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9066   (eval "$ac_link") 2>conftest.er1
9067   ac_status=$?
9068   grep -v '^ *+' conftest.er1 >conftest.err
9069   rm -f conftest.er1
9070   cat conftest.err >&5
9071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9072   (exit $ac_status); } && {
9073          test -z "$ac_c_werror_flag" ||
9074          test ! -s conftest.err
9075        } && test -s conftest$ac_exeext &&
9076        $as_test_x conftest$ac_exeext; then
9077   ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9078 else
9079   echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9081
9082         ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9083 fi
9084
9085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9086       conftest$ac_exeext conftest.$ac_ext
9087 CFLAGS=$ac_wine_try_cflags_saved
9088 fi
9089 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9090 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9091 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9092   LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9093 fi
9094
9095           ;;
9096       esac
9097
9098     else
9099       { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9100 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9101 if test "${ac_cv_c_dll_unixware+set}" = set; then
9102   echo $ECHO_N "(cached) $ECHO_C" >&6
9103 else
9104   ac_wine_try_cflags_saved=$CFLAGS
9105 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9106 cat >conftest.$ac_ext <<_ACEOF
9107 void myfunc() {}
9108 _ACEOF
9109 rm -f conftest.$ac_objext conftest$ac_exeext
9110 if { (ac_try="$ac_link"
9111 case "(($ac_try" in
9112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9113   *) ac_try_echo=$ac_try;;
9114 esac
9115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9116   (eval "$ac_link") 2>conftest.er1
9117   ac_status=$?
9118   grep -v '^ *+' conftest.er1 >conftest.err
9119   rm -f conftest.er1
9120   cat conftest.err >&5
9121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9122   (exit $ac_status); } && {
9123          test -z "$ac_c_werror_flag" ||
9124          test ! -s conftest.err
9125        } && test -s conftest$ac_exeext &&
9126        $as_test_x conftest$ac_exeext; then
9127   ac_cv_c_dll_unixware="yes"
9128 else
9129   echo "$as_me: failed program was:" >&5
9130 sed 's/^/| /' conftest.$ac_ext >&5
9131
9132         ac_cv_c_dll_unixware="no"
9133 fi
9134
9135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9136       conftest$ac_exeext conftest.$ac_ext
9137 CFLAGS=$ac_wine_try_cflags_saved
9138 fi
9139 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9140 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9141       if test "$ac_cv_c_dll_unixware" = "yes"
9142       then
9143         LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9144         LDDLLFLAGS="-Wl,-G,-B,symbolic"
9145
9146       else
9147         { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9148 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9149 if test "${ac_cv_c_dll_hpux+set}" = set; then
9150   echo $ECHO_N "(cached) $ECHO_C" >&6
9151 else
9152   ac_wine_try_cflags_saved=$CFLAGS
9153 CFLAGS="$CFLAGS -shared"
9154 cat >conftest.$ac_ext <<_ACEOF
9155 void myfunc() {}
9156 _ACEOF
9157 rm -f conftest.$ac_objext conftest$ac_exeext
9158 if { (ac_try="$ac_link"
9159 case "(($ac_try" in
9160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9161   *) ac_try_echo=$ac_try;;
9162 esac
9163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9164   (eval "$ac_link") 2>conftest.er1
9165   ac_status=$?
9166   grep -v '^ *+' conftest.er1 >conftest.err
9167   rm -f conftest.er1
9168   cat conftest.err >&5
9169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170   (exit $ac_status); } && {
9171          test -z "$ac_c_werror_flag" ||
9172          test ! -s conftest.err
9173        } && test -s conftest$ac_exeext &&
9174        $as_test_x conftest$ac_exeext; then
9175   ac_cv_c_dll_hpux="yes"
9176 else
9177   echo "$as_me: failed program was:" >&5
9178 sed 's/^/| /' conftest.$ac_ext >&5
9179
9180         ac_cv_c_dll_hpux="no"
9181 fi
9182
9183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9184       conftest$ac_exeext conftest.$ac_ext
9185 CFLAGS=$ac_wine_try_cflags_saved
9186 fi
9187 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9188 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9189         if test "$ac_cv_c_dll_hpux" = "yes"
9190         then
9191           LIBEXT="sl"
9192           DLLEXT=".sl"
9193           LDDLLFLAGS="-shared -fPIC"
9194           LDSHARED="\$(CC) -shared"
9195         fi
9196       fi
9197     fi
9198
9199         CROSSTEST=""
9200
9201     if test "$cross_compiling" = "no"
9202     then
9203       for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9204 do
9205   # Extract the first word of "$ac_prog", so it can be a program name with args.
9206 set dummy $ac_prog; ac_word=$2
9207 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9208 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9209 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9210   echo $ECHO_N "(cached) $ECHO_C" >&6
9211 else
9212   if test -n "$CROSSCC"; then
9213   ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9214 else
9215 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9216 for as_dir in $PATH
9217 do
9218   IFS=$as_save_IFS
9219   test -z "$as_dir" && as_dir=.
9220   for ac_exec_ext in '' $ac_executable_extensions; do
9221   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9222     ac_cv_prog_CROSSCC="$ac_prog"
9223     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9224     break 2
9225   fi
9226 done
9227 done
9228 IFS=$as_save_IFS
9229
9230 fi
9231 fi
9232 CROSSCC=$ac_cv_prog_CROSSCC
9233 if test -n "$CROSSCC"; then
9234   { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9235 echo "${ECHO_T}$CROSSCC" >&6; }
9236 else
9237   { echo "$as_me:$LINENO: result: no" >&5
9238 echo "${ECHO_T}no" >&6; }
9239 fi
9240
9241
9242   test -n "$CROSSCC" && break
9243 done
9244 test -n "$CROSSCC" || CROSSCC="false"
9245
9246       for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9247 do
9248   # Extract the first word of "$ac_prog", so it can be a program name with args.
9249 set dummy $ac_prog; ac_word=$2
9250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9252 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9253   echo $ECHO_N "(cached) $ECHO_C" >&6
9254 else
9255   if test -n "$DLLTOOL"; then
9256   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9257 else
9258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9259 for as_dir in $PATH
9260 do
9261   IFS=$as_save_IFS
9262   test -z "$as_dir" && as_dir=.
9263   for ac_exec_ext in '' $ac_executable_extensions; do
9264   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9265     ac_cv_prog_DLLTOOL="$ac_prog"
9266     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9267     break 2
9268   fi
9269 done
9270 done
9271 IFS=$as_save_IFS
9272
9273 fi
9274 fi
9275 DLLTOOL=$ac_cv_prog_DLLTOOL
9276 if test -n "$DLLTOOL"; then
9277   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9278 echo "${ECHO_T}$DLLTOOL" >&6; }
9279 else
9280   { echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6; }
9282 fi
9283
9284
9285   test -n "$DLLTOOL" && break
9286 done
9287 test -n "$DLLTOOL" || DLLTOOL="false"
9288
9289       for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9290 do
9291   # Extract the first word of "$ac_prog", so it can be a program name with args.
9292 set dummy $ac_prog; ac_word=$2
9293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9295 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9296   echo $ECHO_N "(cached) $ECHO_C" >&6
9297 else
9298   if test -n "$CROSSWINDRES"; then
9299   ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9300 else
9301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9302 for as_dir in $PATH
9303 do
9304   IFS=$as_save_IFS
9305   test -z "$as_dir" && as_dir=.
9306   for ac_exec_ext in '' $ac_executable_extensions; do
9307   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308     ac_cv_prog_CROSSWINDRES="$ac_prog"
9309     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9310     break 2
9311   fi
9312 done
9313 done
9314 IFS=$as_save_IFS
9315
9316 fi
9317 fi
9318 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9319 if test -n "$CROSSWINDRES"; then
9320   { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9321 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9322 else
9323   { echo "$as_me:$LINENO: result: no" >&5
9324 echo "${ECHO_T}no" >&6; }
9325 fi
9326
9327
9328   test -n "$CROSSWINDRES" && break
9329 done
9330 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9331
9332       for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9333 do
9334   # Extract the first word of "$ac_prog", so it can be a program name with args.
9335 set dummy $ac_prog; ac_word=$2
9336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9338 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9339   echo $ECHO_N "(cached) $ECHO_C" >&6
9340 else
9341   if test -n "$MINGWAR"; then
9342   ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9343 else
9344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9345 for as_dir in $PATH
9346 do
9347   IFS=$as_save_IFS
9348   test -z "$as_dir" && as_dir=.
9349   for ac_exec_ext in '' $ac_executable_extensions; do
9350   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351     ac_cv_prog_MINGWAR="$ac_prog"
9352     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9353     break 2
9354   fi
9355 done
9356 done
9357 IFS=$as_save_IFS
9358
9359 fi
9360 fi
9361 MINGWAR=$ac_cv_prog_MINGWAR
9362 if test -n "$MINGWAR"; then
9363   { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9364 echo "${ECHO_T}$MINGWAR" >&6; }
9365 else
9366   { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9368 fi
9369
9370
9371   test -n "$MINGWAR" && break
9372 done
9373 test -n "$MINGWAR" || MINGWAR="false"
9374
9375       if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9376     fi
9377     ;;
9378 esac
9379
9380 if test "$LIBEXT" = "a"; then
9381   { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9382 It is currently not possible to build Wine without shared library
9383 (.so) support to allow transparent switch between .so and .dll files.
9384 If you are using Linux, you will need a newer binutils.
9385 " >&5
9386 echo "$as_me: error: could not find a way to build shared libraries.
9387 It is currently not possible to build Wine without shared library
9388 (.so) support to allow transparent switch between .so and .dll files.
9389 If you are using Linux, you will need a newer binutils.
9390 " >&2;}
9391    { (exit 1); exit 1; }; }
9392 fi
9393
9394
9395 if test "$have_x" = "yes"
9396 then
9397     XLIB="-lXext -lX11"
9398     ac_save_CPPFLAGS="$CPPFLAGS"
9399     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9400
9401     { echo "$as_me:$LINENO: checking for -lX11" >&5
9402 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9403 if test "${ac_cv_lib_soname_X11+set}" = set; then
9404   echo $ECHO_N "(cached) $ECHO_C" >&6
9405 else
9406   ac_check_soname_save_LIBS=$LIBS
9407 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9408   cat >conftest.$ac_ext <<_ACEOF
9409 /* confdefs.h.  */
9410 _ACEOF
9411 cat confdefs.h >>conftest.$ac_ext
9412 cat >>conftest.$ac_ext <<_ACEOF
9413 /* end confdefs.h.  */
9414
9415 /* Override any GCC internal prototype to avoid an error.
9416    Use char because int might match the return type of a GCC
9417    builtin and then its argument prototype would still apply.  */
9418 #ifdef __cplusplus
9419 extern "C"
9420 #endif
9421 char XCreateWindow ();
9422 int
9423 main ()
9424 {
9425 return XCreateWindow ();
9426   ;
9427   return 0;
9428 }
9429 _ACEOF
9430 rm -f conftest.$ac_objext conftest$ac_exeext
9431 if { (ac_try="$ac_link"
9432 case "(($ac_try" in
9433   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9434   *) ac_try_echo=$ac_try;;
9435 esac
9436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9437   (eval "$ac_link") 2>conftest.er1
9438   ac_status=$?
9439   grep -v '^ *+' conftest.er1 >conftest.err
9440   rm -f conftest.er1
9441   cat conftest.err >&5
9442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9443   (exit $ac_status); } && {
9444          test -z "$ac_c_werror_flag" ||
9445          test ! -s conftest.err
9446        } && test -s conftest$ac_exeext &&
9447        $as_test_x conftest$ac_exeext; then
9448   case "$LIBEXT" in
9449     dll) ;;
9450     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'` ;;
9451     *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;
9452   esac
9453 else
9454   echo "$as_me: failed program was:" >&5
9455 sed 's/^/| /' conftest.$ac_ext >&5
9456
9457
9458 fi
9459
9460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9461       conftest$ac_exeext conftest.$ac_ext
9462   LIBS=$ac_check_soname_save_LIBS
9463 fi
9464 if test "x$ac_cv_lib_soname_X11" = "x"; then
9465   { echo "$as_me:$LINENO: result: not found" >&5
9466 echo "${ECHO_T}not found" >&6; }
9467
9468 else
9469   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9470 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9471
9472 cat >>confdefs.h <<_ACEOF
9473 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9474 _ACEOF
9475
9476
9477 fi
9478
9479     { echo "$as_me:$LINENO: checking for -lXext" >&5
9480 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9481 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9482   echo $ECHO_N "(cached) $ECHO_C" >&6
9483 else
9484   ac_check_soname_save_LIBS=$LIBS
9485 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9486   cat >conftest.$ac_ext <<_ACEOF
9487 /* confdefs.h.  */
9488 _ACEOF
9489 cat confdefs.h >>conftest.$ac_ext
9490 cat >>conftest.$ac_ext <<_ACEOF
9491 /* end confdefs.h.  */
9492
9493 /* Override any GCC internal prototype to avoid an error.
9494    Use char because int might match the return type of a GCC
9495    builtin and then its argument prototype would still apply.  */
9496 #ifdef __cplusplus
9497 extern "C"
9498 #endif
9499 char XextCreateExtension ();
9500 int
9501 main ()
9502 {
9503 return XextCreateExtension ();
9504   ;
9505   return 0;
9506 }
9507 _ACEOF
9508 rm -f conftest.$ac_objext conftest$ac_exeext
9509 if { (ac_try="$ac_link"
9510 case "(($ac_try" in
9511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9512   *) ac_try_echo=$ac_try;;
9513 esac
9514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9515   (eval "$ac_link") 2>conftest.er1
9516   ac_status=$?
9517   grep -v '^ *+' conftest.er1 >conftest.err
9518   rm -f conftest.er1
9519   cat conftest.err >&5
9520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521   (exit $ac_status); } && {
9522          test -z "$ac_c_werror_flag" ||
9523          test ! -s conftest.err
9524        } && test -s conftest$ac_exeext &&
9525        $as_test_x conftest$ac_exeext; then
9526   case "$LIBEXT" in
9527     dll) ;;
9528     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'` ;;
9529     *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
9530   esac
9531 else
9532   echo "$as_me: failed program was:" >&5
9533 sed 's/^/| /' conftest.$ac_ext >&5
9534
9535
9536 fi
9537
9538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9539       conftest$ac_exeext conftest.$ac_ext
9540   LIBS=$ac_check_soname_save_LIBS
9541 fi
9542 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9543   { echo "$as_me:$LINENO: result: not found" >&5
9544 echo "${ECHO_T}not found" >&6; }
9545
9546 else
9547   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9548 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9549
9550 cat >>confdefs.h <<_ACEOF
9551 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9552 _ACEOF
9553
9554
9555 fi
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570 for ac_header in X11/Xlib.h \
9571                       X11/XKBlib.h \
9572                       X11/Xutil.h \
9573                       X11/Xcursor/Xcursor.h \
9574                       X11/extensions/shape.h \
9575                       X11/extensions/XInput.h \
9576                       X11/extensions/XShm.h \
9577                       X11/extensions/Xcomposite.h \
9578                       X11/extensions/Xinerama.h \
9579                       X11/extensions/Xrandr.h \
9580                       X11/extensions/Xrender.h \
9581                       X11/extensions/xf86vmode.h
9582 do
9583 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9584 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9586 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9587   echo $ECHO_N "(cached) $ECHO_C" >&6
9588 else
9589   cat >conftest.$ac_ext <<_ACEOF
9590 /* confdefs.h.  */
9591 _ACEOF
9592 cat confdefs.h >>conftest.$ac_ext
9593 cat >>conftest.$ac_ext <<_ACEOF
9594 /* end confdefs.h.  */
9595 #ifdef HAVE_X11_XLIB_H
9596 # include <X11/Xlib.h>
9597 #endif
9598 #ifdef HAVE_X11_XUTIL_H
9599 # include <X11/Xutil.h>
9600 #endif
9601
9602 #include <$ac_header>
9603 _ACEOF
9604 rm -f conftest.$ac_objext
9605 if { (ac_try="$ac_compile"
9606 case "(($ac_try" in
9607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9608   *) ac_try_echo=$ac_try;;
9609 esac
9610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9611   (eval "$ac_compile") 2>conftest.er1
9612   ac_status=$?
9613   grep -v '^ *+' conftest.er1 >conftest.err
9614   rm -f conftest.er1
9615   cat conftest.err >&5
9616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617   (exit $ac_status); } && {
9618          test -z "$ac_c_werror_flag" ||
9619          test ! -s conftest.err
9620        } && test -s conftest.$ac_objext; then
9621   eval "$as_ac_Header=yes"
9622 else
9623   echo "$as_me: failed program was:" >&5
9624 sed 's/^/| /' conftest.$ac_ext >&5
9625
9626         eval "$as_ac_Header=no"
9627 fi
9628
9629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9630 fi
9631 ac_res=`eval echo '${'$as_ac_Header'}'`
9632                { echo "$as_me:$LINENO: result: $ac_res" >&5
9633 echo "${ECHO_T}$ac_res" >&6; }
9634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9635   cat >>confdefs.h <<_ACEOF
9636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9637 _ACEOF
9638
9639 fi
9640
9641 done
9642
9643
9644                 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9645         then
9646               { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9647 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9648 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9649   echo $ECHO_N "(cached) $ECHO_C" >&6
9650 else
9651   ac_check_lib_save_LIBS=$LIBS
9652 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9653 cat >conftest.$ac_ext <<_ACEOF
9654 /* confdefs.h.  */
9655 _ACEOF
9656 cat confdefs.h >>conftest.$ac_ext
9657 cat >>conftest.$ac_ext <<_ACEOF
9658 /* end confdefs.h.  */
9659
9660 /* Override any GCC internal prototype to avoid an error.
9661    Use char because int might match the return type of a GCC
9662    builtin and then its argument prototype would still apply.  */
9663 #ifdef __cplusplus
9664 extern "C"
9665 #endif
9666 char XkbQueryExtension ();
9667 int
9668 main ()
9669 {
9670 return XkbQueryExtension ();
9671   ;
9672   return 0;
9673 }
9674 _ACEOF
9675 rm -f conftest.$ac_objext conftest$ac_exeext
9676 if { (ac_try="$ac_link"
9677 case "(($ac_try" in
9678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9679   *) ac_try_echo=$ac_try;;
9680 esac
9681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9682   (eval "$ac_link") 2>conftest.er1
9683   ac_status=$?
9684   grep -v '^ *+' conftest.er1 >conftest.err
9685   rm -f conftest.er1
9686   cat conftest.err >&5
9687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688   (exit $ac_status); } && {
9689          test -z "$ac_c_werror_flag" ||
9690          test ! -s conftest.err
9691        } && test -s conftest$ac_exeext &&
9692        $as_test_x conftest$ac_exeext; then
9693   ac_cv_lib_X11_XkbQueryExtension=yes
9694 else
9695   echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.$ac_ext >&5
9697
9698         ac_cv_lib_X11_XkbQueryExtension=no
9699 fi
9700
9701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9702       conftest$ac_exeext conftest.$ac_ext
9703 LIBS=$ac_check_lib_save_LIBS
9704 fi
9705 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9706 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9707 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9708
9709 cat >>confdefs.h <<\_ACEOF
9710 #define HAVE_XKB 1
9711 _ACEOF
9712
9713 fi
9714
9715         fi
9716
9717                 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9718         then
9719             { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9720 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9721 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9722   echo $ECHO_N "(cached) $ECHO_C" >&6
9723 else
9724   ac_check_soname_save_LIBS=$LIBS
9725 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9726   cat >conftest.$ac_ext <<_ACEOF
9727 /* confdefs.h.  */
9728 _ACEOF
9729 cat confdefs.h >>conftest.$ac_ext
9730 cat >>conftest.$ac_ext <<_ACEOF
9731 /* end confdefs.h.  */
9732
9733 /* Override any GCC internal prototype to avoid an error.
9734    Use char because int might match the return type of a GCC
9735    builtin and then its argument prototype would still apply.  */
9736 #ifdef __cplusplus
9737 extern "C"
9738 #endif
9739 char XcursorImageLoadCursor ();
9740 int
9741 main ()
9742 {
9743 return XcursorImageLoadCursor ();
9744   ;
9745   return 0;
9746 }
9747 _ACEOF
9748 rm -f conftest.$ac_objext conftest$ac_exeext
9749 if { (ac_try="$ac_link"
9750 case "(($ac_try" in
9751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9752   *) ac_try_echo=$ac_try;;
9753 esac
9754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9755   (eval "$ac_link") 2>conftest.er1
9756   ac_status=$?
9757   grep -v '^ *+' conftest.er1 >conftest.err
9758   rm -f conftest.er1
9759   cat conftest.err >&5
9760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761   (exit $ac_status); } && {
9762          test -z "$ac_c_werror_flag" ||
9763          test ! -s conftest.err
9764        } && test -s conftest$ac_exeext &&
9765        $as_test_x conftest$ac_exeext; then
9766   case "$LIBEXT" in
9767     dll) ;;
9768     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'` ;;
9769     *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^         ]*\).*$/\1/"';2,$d'` ;;
9770   esac
9771 else
9772   echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.$ac_ext >&5
9774
9775
9776 fi
9777
9778 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9779       conftest$ac_exeext conftest.$ac_ext
9780   LIBS=$ac_check_soname_save_LIBS
9781 fi
9782 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9783   { echo "$as_me:$LINENO: result: not found" >&5
9784 echo "${ECHO_T}not found" >&6; }
9785
9786 else
9787   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9788 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9789
9790 cat >>confdefs.h <<_ACEOF
9791 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9792 _ACEOF
9793
9794
9795 fi
9796
9797         fi
9798         if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9799   case "x$with_xcursor" in
9800   x)   wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9801   xno) ;;
9802   *)   { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9803 This is an error since --with-xcursor was requested." >&5
9804 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9805 This is an error since --with-xcursor was requested." >&2;}
9806    { (exit 1); exit 1; }; } ;;
9807 esac
9808 fi
9809
9810
9811                 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9812         then
9813             { echo "$as_me:$LINENO: checking for -lXi" >&5
9814 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9815 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9816   echo $ECHO_N "(cached) $ECHO_C" >&6
9817 else
9818   ac_check_soname_save_LIBS=$LIBS
9819 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9820   cat >conftest.$ac_ext <<_ACEOF
9821 /* confdefs.h.  */
9822 _ACEOF
9823 cat confdefs.h >>conftest.$ac_ext
9824 cat >>conftest.$ac_ext <<_ACEOF
9825 /* end confdefs.h.  */
9826
9827 /* Override any GCC internal prototype to avoid an error.
9828    Use char because int might match the return type of a GCC
9829    builtin and then its argument prototype would still apply.  */
9830 #ifdef __cplusplus
9831 extern "C"
9832 #endif
9833 char XOpenDevice ();
9834 int
9835 main ()
9836 {
9837 return XOpenDevice ();
9838   ;
9839   return 0;
9840 }
9841 _ACEOF
9842 rm -f conftest.$ac_objext conftest$ac_exeext
9843 if { (ac_try="$ac_link"
9844 case "(($ac_try" in
9845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9846   *) ac_try_echo=$ac_try;;
9847 esac
9848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9849   (eval "$ac_link") 2>conftest.er1
9850   ac_status=$?
9851   grep -v '^ *+' conftest.er1 >conftest.err
9852   rm -f conftest.er1
9853   cat conftest.err >&5
9854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9855   (exit $ac_status); } && {
9856          test -z "$ac_c_werror_flag" ||
9857          test ! -s conftest.err
9858        } && test -s conftest$ac_exeext &&
9859        $as_test_x conftest$ac_exeext; then
9860   case "$LIBEXT" in
9861     dll) ;;
9862     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'` ;;
9863     *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
9864   esac
9865 else
9866   echo "$as_me: failed program was:" >&5
9867 sed 's/^/| /' conftest.$ac_ext >&5
9868
9869
9870 fi
9871
9872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9873       conftest$ac_exeext conftest.$ac_ext
9874   LIBS=$ac_check_soname_save_LIBS
9875 fi
9876 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9877   { echo "$as_me:$LINENO: result: not found" >&5
9878 echo "${ECHO_T}not found" >&6; }
9879
9880 else
9881   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9882 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9883
9884 cat >>confdefs.h <<_ACEOF
9885 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9886 _ACEOF
9887
9888
9889 fi
9890
9891         fi
9892         if test "x$ac_cv_lib_soname_Xi" = "x"; then
9893   case "x$with_xinput" in
9894   x)   wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9895   xno) ;;
9896   *)   { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9897 This is an error since --with-xinput was requested." >&5
9898 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9899 This is an error since --with-xinput was requested." >&2;}
9900    { (exit 1); exit 1; }; } ;;
9901 esac
9902 fi
9903
9904
9905                 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9906         then
9907               { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9908 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9909 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9910   echo $ECHO_N "(cached) $ECHO_C" >&6
9911 else
9912   ac_check_lib_save_LIBS=$LIBS
9913 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9914 cat >conftest.$ac_ext <<_ACEOF
9915 /* confdefs.h.  */
9916 _ACEOF
9917 cat confdefs.h >>conftest.$ac_ext
9918 cat >>conftest.$ac_ext <<_ACEOF
9919 /* end confdefs.h.  */
9920
9921 /* Override any GCC internal prototype to avoid an error.
9922    Use char because int might match the return type of a GCC
9923    builtin and then its argument prototype would still apply.  */
9924 #ifdef __cplusplus
9925 extern "C"
9926 #endif
9927 char XShmQueryExtension ();
9928 int
9929 main ()
9930 {
9931 return XShmQueryExtension ();
9932   ;
9933   return 0;
9934 }
9935 _ACEOF
9936 rm -f conftest.$ac_objext conftest$ac_exeext
9937 if { (ac_try="$ac_link"
9938 case "(($ac_try" in
9939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9940   *) ac_try_echo=$ac_try;;
9941 esac
9942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9943   (eval "$ac_link") 2>conftest.er1
9944   ac_status=$?
9945   grep -v '^ *+' conftest.er1 >conftest.err
9946   rm -f conftest.er1
9947   cat conftest.err >&5
9948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949   (exit $ac_status); } && {
9950          test -z "$ac_c_werror_flag" ||
9951          test ! -s conftest.err
9952        } && test -s conftest$ac_exeext &&
9953        $as_test_x conftest$ac_exeext; then
9954   ac_cv_lib_Xext_XShmQueryExtension=yes
9955 else
9956   echo "$as_me: failed program was:" >&5
9957 sed 's/^/| /' conftest.$ac_ext >&5
9958
9959         ac_cv_lib_Xext_XShmQueryExtension=no
9960 fi
9961
9962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9963       conftest$ac_exeext conftest.$ac_ext
9964 LIBS=$ac_check_lib_save_LIBS
9965 fi
9966 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9967 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9968 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9969
9970 cat >>confdefs.h <<\_ACEOF
9971 #define HAVE_LIBXXSHM 1
9972 _ACEOF
9973
9974 fi
9975
9976         fi
9977         if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
9978   case "x$with_xshm" in
9979   x)   wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
9980   xno) ;;
9981   *)   { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
9982 This is an error since --with-xshm was requested." >&5
9983 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
9984 This is an error since --with-xshm was requested." >&2;}
9985    { (exit 1); exit 1; }; } ;;
9986 esac
9987 fi
9988
9989
9990                 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9991         then
9992               { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9993 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9994 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9995   echo $ECHO_N "(cached) $ECHO_C" >&6
9996 else
9997   ac_check_lib_save_LIBS=$LIBS
9998 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9999 cat >conftest.$ac_ext <<_ACEOF
10000 /* confdefs.h.  */
10001 _ACEOF
10002 cat confdefs.h >>conftest.$ac_ext
10003 cat >>conftest.$ac_ext <<_ACEOF
10004 /* end confdefs.h.  */
10005
10006 /* Override any GCC internal prototype to avoid an error.
10007    Use char because int might match the return type of a GCC
10008    builtin and then its argument prototype would still apply.  */
10009 #ifdef __cplusplus
10010 extern "C"
10011 #endif
10012 char XShapeQueryExtension ();
10013 int
10014 main ()
10015 {
10016 return XShapeQueryExtension ();
10017   ;
10018   return 0;
10019 }
10020 _ACEOF
10021 rm -f conftest.$ac_objext conftest$ac_exeext
10022 if { (ac_try="$ac_link"
10023 case "(($ac_try" in
10024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10025   *) ac_try_echo=$ac_try;;
10026 esac
10027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10028   (eval "$ac_link") 2>conftest.er1
10029   ac_status=$?
10030   grep -v '^ *+' conftest.er1 >conftest.err
10031   rm -f conftest.er1
10032   cat conftest.err >&5
10033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034   (exit $ac_status); } && {
10035          test -z "$ac_c_werror_flag" ||
10036          test ! -s conftest.err
10037        } && test -s conftest$ac_exeext &&
10038        $as_test_x conftest$ac_exeext; then
10039   ac_cv_lib_Xext_XShapeQueryExtension=yes
10040 else
10041   echo "$as_me: failed program was:" >&5
10042 sed 's/^/| /' conftest.$ac_ext >&5
10043
10044         ac_cv_lib_Xext_XShapeQueryExtension=no
10045 fi
10046
10047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10048       conftest$ac_exeext conftest.$ac_ext
10049 LIBS=$ac_check_lib_save_LIBS
10050 fi
10051 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10052 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10053 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10054
10055 cat >>confdefs.h <<\_ACEOF
10056 #define HAVE_LIBXSHAPE 1
10057 _ACEOF
10058
10059 fi
10060
10061         fi
10062         if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10063   case "x$with_xshape" in
10064   x)   wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10065   xno) ;;
10066   *)   { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10067 This is an error since --with-xshape was requested." >&5
10068 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10069 This is an error since --with-xshape was requested." >&2;}
10070    { (exit 1); exit 1; }; } ;;
10071 esac
10072 fi
10073
10074
10075                 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10076         then
10077                 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10078 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10079 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10080   echo $ECHO_N "(cached) $ECHO_C" >&6
10081 else
10082   ac_check_lib_save_LIBS=$LIBS
10083 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10084 cat >conftest.$ac_ext <<_ACEOF
10085 /* confdefs.h.  */
10086 _ACEOF
10087 cat confdefs.h >>conftest.$ac_ext
10088 cat >>conftest.$ac_ext <<_ACEOF
10089 /* end confdefs.h.  */
10090
10091 /* Override any GCC internal prototype to avoid an error.
10092    Use char because int might match the return type of a GCC
10093    builtin and then its argument prototype would still apply.  */
10094 #ifdef __cplusplus
10095 extern "C"
10096 #endif
10097 char XF86VidModeQueryExtension ();
10098 int
10099 main ()
10100 {
10101 return XF86VidModeQueryExtension ();
10102   ;
10103   return 0;
10104 }
10105 _ACEOF
10106 rm -f conftest.$ac_objext conftest$ac_exeext
10107 if { (ac_try="$ac_link"
10108 case "(($ac_try" in
10109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110   *) ac_try_echo=$ac_try;;
10111 esac
10112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10113   (eval "$ac_link") 2>conftest.er1
10114   ac_status=$?
10115   grep -v '^ *+' conftest.er1 >conftest.err
10116   rm -f conftest.er1
10117   cat conftest.err >&5
10118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119   (exit $ac_status); } && {
10120          test -z "$ac_c_werror_flag" ||
10121          test ! -s conftest.err
10122        } && test -s conftest$ac_exeext &&
10123        $as_test_x conftest$ac_exeext; then
10124   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10125 else
10126   echo "$as_me: failed program was:" >&5
10127 sed 's/^/| /' conftest.$ac_ext >&5
10128
10129         ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10130 fi
10131
10132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10133       conftest$ac_exeext conftest.$ac_ext
10134 LIBS=$ac_check_lib_save_LIBS
10135 fi
10136 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10137 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10138 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10139
10140 cat >>confdefs.h <<\_ACEOF
10141 #define HAVE_LIBXXF86VM 1
10142 _ACEOF
10143
10144                      X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10145
10146 fi
10147
10148         fi
10149         if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10150   case "x$with_xvidmode" in
10151   x)   wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10152   xno) ;;
10153   *)   { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10154 This is an error since --with-xvidmode was requested." >&5
10155 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10156 This is an error since --with-xvidmode was requested." >&2;}
10157    { (exit 1); exit 1; }; } ;;
10158 esac
10159 fi
10160
10161
10162                 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"
10163         then
10164             { echo "$as_me:$LINENO: checking for -lXrender" >&5
10165 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10166 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10167   echo $ECHO_N "(cached) $ECHO_C" >&6
10168 else
10169   ac_check_soname_save_LIBS=$LIBS
10170 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10171   cat >conftest.$ac_ext <<_ACEOF
10172 /* confdefs.h.  */
10173 _ACEOF
10174 cat confdefs.h >>conftest.$ac_ext
10175 cat >>conftest.$ac_ext <<_ACEOF
10176 /* end confdefs.h.  */
10177
10178 /* Override any GCC internal prototype to avoid an error.
10179    Use char because int might match the return type of a GCC
10180    builtin and then its argument prototype would still apply.  */
10181 #ifdef __cplusplus
10182 extern "C"
10183 #endif
10184 char XRenderQueryExtension ();
10185 int
10186 main ()
10187 {
10188 return XRenderQueryExtension ();
10189   ;
10190   return 0;
10191 }
10192 _ACEOF
10193 rm -f conftest.$ac_objext conftest$ac_exeext
10194 if { (ac_try="$ac_link"
10195 case "(($ac_try" in
10196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10197   *) ac_try_echo=$ac_try;;
10198 esac
10199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10200   (eval "$ac_link") 2>conftest.er1
10201   ac_status=$?
10202   grep -v '^ *+' conftest.er1 >conftest.err
10203   rm -f conftest.er1
10204   cat conftest.err >&5
10205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206   (exit $ac_status); } && {
10207          test -z "$ac_c_werror_flag" ||
10208          test ! -s conftest.err
10209        } && test -s conftest$ac_exeext &&
10210        $as_test_x conftest$ac_exeext; then
10211   case "$LIBEXT" in
10212     dll) ;;
10213     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'` ;;
10214     *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^         ]*\).*$/\1/"';2,$d'` ;;
10215   esac
10216 else
10217   echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.$ac_ext >&5
10219
10220
10221 fi
10222
10223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10224       conftest$ac_exeext conftest.$ac_ext
10225   LIBS=$ac_check_soname_save_LIBS
10226 fi
10227 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10228   { echo "$as_me:$LINENO: result: not found" >&5
10229 echo "${ECHO_T}not found" >&6; }
10230
10231 else
10232   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10233 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10234
10235 cat >>confdefs.h <<_ACEOF
10236 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10237 _ACEOF
10238
10239        { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10240 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10241 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10242   echo $ECHO_N "(cached) $ECHO_C" >&6
10243 else
10244   ac_check_lib_save_LIBS=$LIBS
10245 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10246 cat >conftest.$ac_ext <<_ACEOF
10247 /* confdefs.h.  */
10248 _ACEOF
10249 cat confdefs.h >>conftest.$ac_ext
10250 cat >>conftest.$ac_ext <<_ACEOF
10251 /* end confdefs.h.  */
10252
10253 /* Override any GCC internal prototype to avoid an error.
10254    Use char because int might match the return type of a GCC
10255    builtin and then its argument prototype would still apply.  */
10256 #ifdef __cplusplus
10257 extern "C"
10258 #endif
10259 char XRenderSetPictureTransform ();
10260 int
10261 main ()
10262 {
10263 return XRenderSetPictureTransform ();
10264   ;
10265   return 0;
10266 }
10267 _ACEOF
10268 rm -f conftest.$ac_objext conftest$ac_exeext
10269 if { (ac_try="$ac_link"
10270 case "(($ac_try" in
10271   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10272   *) ac_try_echo=$ac_try;;
10273 esac
10274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10275   (eval "$ac_link") 2>conftest.er1
10276   ac_status=$?
10277   grep -v '^ *+' conftest.er1 >conftest.err
10278   rm -f conftest.er1
10279   cat conftest.err >&5
10280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281   (exit $ac_status); } && {
10282          test -z "$ac_c_werror_flag" ||
10283          test ! -s conftest.err
10284        } && test -s conftest$ac_exeext &&
10285        $as_test_x conftest$ac_exeext; then
10286   ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10287 else
10288   echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.$ac_ext >&5
10290
10291         ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10292 fi
10293
10294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10295       conftest$ac_exeext conftest.$ac_ext
10296 LIBS=$ac_check_lib_save_LIBS
10297 fi
10298 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10299 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10300 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10301
10302 cat >>confdefs.h <<\_ACEOF
10303 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10304 _ACEOF
10305
10306 fi
10307
10308 fi
10309
10310
10311         fi
10312         if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10313   case "x$with_xrender" in
10314   x)   wine_notices="$wine_notices|libxrender development files not found, XRender won't be supported." ;;
10315   xno) ;;
10316   *)   { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10317 This is an error since --with-xrender was requested." >&5
10318 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10319 This is an error since --with-xrender was requested." >&2;}
10320    { (exit 1); exit 1; }; } ;;
10321 esac
10322 fi
10323
10324
10325                 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10326         then
10327                 cat >conftest.$ac_ext <<_ACEOF
10328 /* confdefs.h.  */
10329 _ACEOF
10330 cat confdefs.h >>conftest.$ac_ext
10331 cat >>conftest.$ac_ext <<_ACEOF
10332 /* end confdefs.h.  */
10333 #include <X11/Xlib.h>
10334 #include <X11/extensions/Xrandr.h>
10335 int
10336 main ()
10337 {
10338 static typeof(XRRSetScreenConfigAndRate) * func;
10339   ;
10340   return 0;
10341 }
10342 _ACEOF
10343 rm -f conftest.$ac_objext
10344 if { (ac_try="$ac_compile"
10345 case "(($ac_try" in
10346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10347   *) ac_try_echo=$ac_try;;
10348 esac
10349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10350   (eval "$ac_compile") 2>conftest.er1
10351   ac_status=$?
10352   grep -v '^ *+' conftest.er1 >conftest.err
10353   rm -f conftest.er1
10354   cat conftest.err >&5
10355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356   (exit $ac_status); } && {
10357          test -z "$ac_c_werror_flag" ||
10358          test ! -s conftest.err
10359        } && test -s conftest.$ac_objext; then
10360   { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10361 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10362 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10363   echo $ECHO_N "(cached) $ECHO_C" >&6
10364 else
10365   ac_check_soname_save_LIBS=$LIBS
10366 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10367   cat >conftest.$ac_ext <<_ACEOF
10368 /* confdefs.h.  */
10369 _ACEOF
10370 cat confdefs.h >>conftest.$ac_ext
10371 cat >>conftest.$ac_ext <<_ACEOF
10372 /* end confdefs.h.  */
10373
10374 /* Override any GCC internal prototype to avoid an error.
10375    Use char because int might match the return type of a GCC
10376    builtin and then its argument prototype would still apply.  */
10377 #ifdef __cplusplus
10378 extern "C"
10379 #endif
10380 char XRRQueryExtension ();
10381 int
10382 main ()
10383 {
10384 return XRRQueryExtension ();
10385   ;
10386   return 0;
10387 }
10388 _ACEOF
10389 rm -f conftest.$ac_objext conftest$ac_exeext
10390 if { (ac_try="$ac_link"
10391 case "(($ac_try" in
10392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10393   *) ac_try_echo=$ac_try;;
10394 esac
10395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10396   (eval "$ac_link") 2>conftest.er1
10397   ac_status=$?
10398   grep -v '^ *+' conftest.er1 >conftest.err
10399   rm -f conftest.er1
10400   cat conftest.err >&5
10401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402   (exit $ac_status); } && {
10403          test -z "$ac_c_werror_flag" ||
10404          test ! -s conftest.err
10405        } && test -s conftest$ac_exeext &&
10406        $as_test_x conftest$ac_exeext; then
10407   case "$LIBEXT" in
10408     dll) ;;
10409     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'` ;;
10410     *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^    ]*\).*$/\1/"';2,$d'` ;;
10411   esac
10412 else
10413   echo "$as_me: failed program was:" >&5
10414 sed 's/^/| /' conftest.$ac_ext >&5
10415
10416
10417 fi
10418
10419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10420       conftest$ac_exeext conftest.$ac_ext
10421   LIBS=$ac_check_soname_save_LIBS
10422 fi
10423 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10424   { echo "$as_me:$LINENO: result: not found" >&5
10425 echo "${ECHO_T}not found" >&6; }
10426
10427 else
10428   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10429 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10430
10431 cat >>confdefs.h <<_ACEOF
10432 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10433 _ACEOF
10434
10435
10436 fi
10437
10438 else
10439   echo "$as_me: failed program was:" >&5
10440 sed 's/^/| /' conftest.$ac_ext >&5
10441
10442
10443 fi
10444
10445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10446         fi
10447         if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10448   case "x$with_xrandr" in
10449   x)   wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10450   xno) ;;
10451   *)   { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10452 This is an error since --with-xrandr was requested." >&5
10453 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10454 This is an error since --with-xrandr was requested." >&2;}
10455    { (exit 1); exit 1; }; } ;;
10456 esac
10457 fi
10458
10459
10460                 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10461         then
10462                 cat >conftest.$ac_ext <<_ACEOF
10463 /* confdefs.h.  */
10464 _ACEOF
10465 cat confdefs.h >>conftest.$ac_ext
10466 cat >>conftest.$ac_ext <<_ACEOF
10467 /* end confdefs.h.  */
10468 #include <X11/Xlib.h>
10469 #include <X11/extensions/Xinerama.h>
10470 int
10471 main ()
10472 {
10473 static typeof(XineramaQueryScreens) * func;
10474   ;
10475   return 0;
10476 }
10477 _ACEOF
10478 rm -f conftest.$ac_objext
10479 if { (ac_try="$ac_compile"
10480 case "(($ac_try" in
10481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10482   *) ac_try_echo=$ac_try;;
10483 esac
10484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10485   (eval "$ac_compile") 2>conftest.er1
10486   ac_status=$?
10487   grep -v '^ *+' conftest.er1 >conftest.err
10488   rm -f conftest.er1
10489   cat conftest.err >&5
10490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10491   (exit $ac_status); } && {
10492          test -z "$ac_c_werror_flag" ||
10493          test ! -s conftest.err
10494        } && test -s conftest.$ac_objext; then
10495   { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10496 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10497 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10498   echo $ECHO_N "(cached) $ECHO_C" >&6
10499 else
10500   ac_check_soname_save_LIBS=$LIBS
10501 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10502   cat >conftest.$ac_ext <<_ACEOF
10503 /* confdefs.h.  */
10504 _ACEOF
10505 cat confdefs.h >>conftest.$ac_ext
10506 cat >>conftest.$ac_ext <<_ACEOF
10507 /* end confdefs.h.  */
10508
10509 /* Override any GCC internal prototype to avoid an error.
10510    Use char because int might match the return type of a GCC
10511    builtin and then its argument prototype would still apply.  */
10512 #ifdef __cplusplus
10513 extern "C"
10514 #endif
10515 char XineramaQueryScreens ();
10516 int
10517 main ()
10518 {
10519 return XineramaQueryScreens ();
10520   ;
10521   return 0;
10522 }
10523 _ACEOF
10524 rm -f conftest.$ac_objext conftest$ac_exeext
10525 if { (ac_try="$ac_link"
10526 case "(($ac_try" in
10527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528   *) ac_try_echo=$ac_try;;
10529 esac
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531   (eval "$ac_link") 2>conftest.er1
10532   ac_status=$?
10533   grep -v '^ *+' conftest.er1 >conftest.err
10534   rm -f conftest.er1
10535   cat conftest.err >&5
10536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10537   (exit $ac_status); } && {
10538          test -z "$ac_c_werror_flag" ||
10539          test ! -s conftest.err
10540        } && test -s conftest$ac_exeext &&
10541        $as_test_x conftest$ac_exeext; then
10542   case "$LIBEXT" in
10543     dll) ;;
10544     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'` ;;
10545     *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^      ]*\).*$/\1/"';2,$d'` ;;
10546   esac
10547 else
10548   echo "$as_me: failed program was:" >&5
10549 sed 's/^/| /' conftest.$ac_ext >&5
10550
10551
10552 fi
10553
10554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10555       conftest$ac_exeext conftest.$ac_ext
10556   LIBS=$ac_check_soname_save_LIBS
10557 fi
10558 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10559   { echo "$as_me:$LINENO: result: not found" >&5
10560 echo "${ECHO_T}not found" >&6; }
10561
10562 else
10563   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10564 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10565
10566 cat >>confdefs.h <<_ACEOF
10567 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10568 _ACEOF
10569
10570
10571 fi
10572
10573 else
10574   echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10576
10577
10578 fi
10579
10580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10581         fi
10582         if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10583   case "x$with_xinerama" in
10584   x)   wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10585   xno) ;;
10586   *)   { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10587 This is an error since --with-xinerama was requested." >&5
10588 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10589 This is an error since --with-xinerama was requested." >&2;}
10590    { (exit 1); exit 1; }; } ;;
10591 esac
10592 fi
10593
10594
10595                 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10596         then
10597             { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10598 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10599 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10600   echo $ECHO_N "(cached) $ECHO_C" >&6
10601 else
10602   ac_check_soname_save_LIBS=$LIBS
10603 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10604   cat >conftest.$ac_ext <<_ACEOF
10605 /* confdefs.h.  */
10606 _ACEOF
10607 cat confdefs.h >>conftest.$ac_ext
10608 cat >>conftest.$ac_ext <<_ACEOF
10609 /* end confdefs.h.  */
10610
10611 /* Override any GCC internal prototype to avoid an error.
10612    Use char because int might match the return type of a GCC
10613    builtin and then its argument prototype would still apply.  */
10614 #ifdef __cplusplus
10615 extern "C"
10616 #endif
10617 char XCompositeRedirectWindow ();
10618 int
10619 main ()
10620 {
10621 return XCompositeRedirectWindow ();
10622   ;
10623   return 0;
10624 }
10625 _ACEOF
10626 rm -f conftest.$ac_objext conftest$ac_exeext
10627 if { (ac_try="$ac_link"
10628 case "(($ac_try" in
10629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10630   *) ac_try_echo=$ac_try;;
10631 esac
10632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10633   (eval "$ac_link") 2>conftest.er1
10634   ac_status=$?
10635   grep -v '^ *+' conftest.er1 >conftest.err
10636   rm -f conftest.er1
10637   cat conftest.err >&5
10638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10639   (exit $ac_status); } && {
10640          test -z "$ac_c_werror_flag" ||
10641          test ! -s conftest.err
10642        } && test -s conftest$ac_exeext &&
10643        $as_test_x conftest$ac_exeext; then
10644   case "$LIBEXT" in
10645     dll) ;;
10646     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'` ;;
10647     *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
10648   esac
10649 else
10650   echo "$as_me: failed program was:" >&5
10651 sed 's/^/| /' conftest.$ac_ext >&5
10652
10653
10654 fi
10655
10656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10657       conftest$ac_exeext conftest.$ac_ext
10658   LIBS=$ac_check_soname_save_LIBS
10659 fi
10660 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10661   { echo "$as_me:$LINENO: result: not found" >&5
10662 echo "${ECHO_T}not found" >&6; }
10663
10664 else
10665   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10666 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10667
10668 cat >>confdefs.h <<_ACEOF
10669 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10670 _ACEOF
10671
10672
10673 fi
10674
10675         fi
10676         if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10677   case "x$with_xcomposite" in
10678   x)   wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10679   xno) ;;
10680   *)   { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10681 This is an error since --with-xcomposite was requested." >&5
10682 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10683 This is an error since --with-xcomposite was requested." >&2;}
10684    { (exit 1); exit 1; }; } ;;
10685 esac
10686 fi
10687
10688
10689                 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10690 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10691 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10692   echo $ECHO_N "(cached) $ECHO_C" >&6
10693 else
10694   cat >conftest.$ac_ext <<_ACEOF
10695 /* confdefs.h.  */
10696 _ACEOF
10697 cat confdefs.h >>conftest.$ac_ext
10698 cat >>conftest.$ac_ext <<_ACEOF
10699 /* end confdefs.h.  */
10700 #ifdef HAVE_X11_XLIB_H
10701 #include <X11/Xlib.h>
10702 #endif
10703
10704 int
10705 main ()
10706 {
10707 static XICCallback ac_aggr;
10708 if (ac_aggr.callback)
10709 return 0;
10710   ;
10711   return 0;
10712 }
10713 _ACEOF
10714 rm -f conftest.$ac_objext
10715 if { (ac_try="$ac_compile"
10716 case "(($ac_try" in
10717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10718   *) ac_try_echo=$ac_try;;
10719 esac
10720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10721   (eval "$ac_compile") 2>conftest.er1
10722   ac_status=$?
10723   grep -v '^ *+' conftest.er1 >conftest.err
10724   rm -f conftest.er1
10725   cat conftest.err >&5
10726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10727   (exit $ac_status); } && {
10728          test -z "$ac_c_werror_flag" ||
10729          test ! -s conftest.err
10730        } && test -s conftest.$ac_objext; then
10731   ac_cv_member_XICCallback_callback=yes
10732 else
10733   echo "$as_me: failed program was:" >&5
10734 sed 's/^/| /' conftest.$ac_ext >&5
10735
10736         cat >conftest.$ac_ext <<_ACEOF
10737 /* confdefs.h.  */
10738 _ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h.  */
10742 #ifdef HAVE_X11_XLIB_H
10743 #include <X11/Xlib.h>
10744 #endif
10745
10746 int
10747 main ()
10748 {
10749 static XICCallback ac_aggr;
10750 if (sizeof ac_aggr.callback)
10751 return 0;
10752   ;
10753   return 0;
10754 }
10755 _ACEOF
10756 rm -f conftest.$ac_objext
10757 if { (ac_try="$ac_compile"
10758 case "(($ac_try" in
10759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10760   *) ac_try_echo=$ac_try;;
10761 esac
10762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10763   (eval "$ac_compile") 2>conftest.er1
10764   ac_status=$?
10765   grep -v '^ *+' conftest.er1 >conftest.err
10766   rm -f conftest.er1
10767   cat conftest.err >&5
10768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10769   (exit $ac_status); } && {
10770          test -z "$ac_c_werror_flag" ||
10771          test ! -s conftest.err
10772        } && test -s conftest.$ac_objext; then
10773   ac_cv_member_XICCallback_callback=yes
10774 else
10775   echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.$ac_ext >&5
10777
10778         ac_cv_member_XICCallback_callback=no
10779 fi
10780
10781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10782 fi
10783
10784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10785 fi
10786 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10787 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10788 if test $ac_cv_member_XICCallback_callback = yes; then
10789
10790 cat >>confdefs.h <<_ACEOF
10791 #define HAVE_XICCALLBACK_CALLBACK 1
10792 _ACEOF
10793
10794
10795 fi
10796
10797
10798
10799         opengl_msg=""
10800     if test "x$with_opengl" != "xno"
10801     then
10802
10803
10804
10805
10806 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10807 do
10808 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10809 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10811 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10812   echo $ECHO_N "(cached) $ECHO_C" >&6
10813 else
10814   cat >conftest.$ac_ext <<_ACEOF
10815 /* confdefs.h.  */
10816 _ACEOF
10817 cat confdefs.h >>conftest.$ac_ext
10818 cat >>conftest.$ac_ext <<_ACEOF
10819 /* end confdefs.h.  */
10820 #ifdef HAVE_GL_GLX_H
10821 # include <GL/glx.h>
10822 #endif
10823
10824 #include <$ac_header>
10825 _ACEOF
10826 rm -f conftest.$ac_objext
10827 if { (ac_try="$ac_compile"
10828 case "(($ac_try" in
10829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10830   *) ac_try_echo=$ac_try;;
10831 esac
10832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10833   (eval "$ac_compile") 2>conftest.er1
10834   ac_status=$?
10835   grep -v '^ *+' conftest.er1 >conftest.err
10836   rm -f conftest.er1
10837   cat conftest.err >&5
10838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10839   (exit $ac_status); } && {
10840          test -z "$ac_c_werror_flag" ||
10841          test ! -s conftest.err
10842        } && test -s conftest.$ac_objext; then
10843   eval "$as_ac_Header=yes"
10844 else
10845   echo "$as_me: failed program was:" >&5
10846 sed 's/^/| /' conftest.$ac_ext >&5
10847
10848         eval "$as_ac_Header=no"
10849 fi
10850
10851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10852 fi
10853 ac_res=`eval echo '${'$as_ac_Header'}'`
10854                { echo "$as_me:$LINENO: result: $ac_res" >&5
10855 echo "${ECHO_T}$ac_res" >&6; }
10856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10857   cat >>confdefs.h <<_ACEOF
10858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10859 _ACEOF
10860
10861 fi
10862
10863 done
10864
10865         if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10866         then
10867                     { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10868 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10869 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10870   echo $ECHO_N "(cached) $ECHO_C" >&6
10871 else
10872   cat >conftest.$ac_ext <<_ACEOF
10873 /* confdefs.h.  */
10874 _ACEOF
10875 cat confdefs.h >>conftest.$ac_ext
10876 cat >>conftest.$ac_ext <<_ACEOF
10877 /* end confdefs.h.  */
10878 #include <GL/gl.h>
10879 int
10880 main ()
10881 {
10882 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10883   ;
10884   return 0;
10885 }
10886 _ACEOF
10887 rm -f conftest.$ac_objext
10888 if { (ac_try="$ac_compile"
10889 case "(($ac_try" in
10890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10891   *) ac_try_echo=$ac_try;;
10892 esac
10893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10894   (eval "$ac_compile") 2>conftest.er1
10895   ac_status=$?
10896   grep -v '^ *+' conftest.er1 >conftest.err
10897   rm -f conftest.er1
10898   cat conftest.err >&5
10899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900   (exit $ac_status); } && {
10901          test -z "$ac_c_werror_flag" ||
10902          test ! -s conftest.err
10903        } && test -s conftest.$ac_objext; then
10904   wine_cv_opengl_header_version_OK="yes"
10905 else
10906   echo "$as_me: failed program was:" >&5
10907 sed 's/^/| /' conftest.$ac_ext >&5
10908
10909         wine_cv_opengl_header_version_OK="no"
10910 fi
10911
10912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10913 fi
10914 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10915 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10916
10917             if test "$wine_cv_opengl_header_version_OK" = "yes"
10918             then
10919                                 { echo "$as_me:$LINENO: checking for -lGL" >&5
10920 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10921 if test "${ac_cv_lib_soname_GL+set}" = set; then
10922   echo $ECHO_N "(cached) $ECHO_C" >&6
10923 else
10924   ac_check_soname_save_LIBS=$LIBS
10925 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10926   cat >conftest.$ac_ext <<_ACEOF
10927 /* confdefs.h.  */
10928 _ACEOF
10929 cat confdefs.h >>conftest.$ac_ext
10930 cat >>conftest.$ac_ext <<_ACEOF
10931 /* end confdefs.h.  */
10932
10933 /* Override any GCC internal prototype to avoid an error.
10934    Use char because int might match the return type of a GCC
10935    builtin and then its argument prototype would still apply.  */
10936 #ifdef __cplusplus
10937 extern "C"
10938 #endif
10939 char glXCreateContext ();
10940 int
10941 main ()
10942 {
10943 return glXCreateContext ();
10944   ;
10945   return 0;
10946 }
10947 _ACEOF
10948 rm -f conftest.$ac_objext conftest$ac_exeext
10949 if { (ac_try="$ac_link"
10950 case "(($ac_try" in
10951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10952   *) ac_try_echo=$ac_try;;
10953 esac
10954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10955   (eval "$ac_link") 2>conftest.er1
10956   ac_status=$?
10957   grep -v '^ *+' conftest.er1 >conftest.err
10958   rm -f conftest.er1
10959   cat conftest.err >&5
10960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10961   (exit $ac_status); } && {
10962          test -z "$ac_c_werror_flag" ||
10963          test ! -s conftest.err
10964        } && test -s conftest$ac_exeext &&
10965        $as_test_x conftest$ac_exeext; then
10966   case "$LIBEXT" in
10967     dll) ;;
10968     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'` ;;
10969     *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
10970   esac
10971 else
10972   echo "$as_me: failed program was:" >&5
10973 sed 's/^/| /' conftest.$ac_ext >&5
10974
10975
10976 fi
10977
10978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10979       conftest$ac_exeext conftest.$ac_ext
10980   LIBS=$ac_check_soname_save_LIBS
10981 fi
10982 if test "x$ac_cv_lib_soname_GL" = "x"; then
10983   { echo "$as_me:$LINENO: result: not found" >&5
10984 echo "${ECHO_T}not found" >&6; }
10985        { echo "$as_me:$LINENO: checking for -lGL" >&5
10986 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10987 if test "${ac_cv_lib_soname_GL+set}" = set; then
10988   echo $ECHO_N "(cached) $ECHO_C" >&6
10989 else
10990   ac_check_soname_save_LIBS=$LIBS
10991 LIBS="-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"
10992   cat >conftest.$ac_ext <<_ACEOF
10993 /* confdefs.h.  */
10994 _ACEOF
10995 cat confdefs.h >>conftest.$ac_ext
10996 cat >>conftest.$ac_ext <<_ACEOF
10997 /* end confdefs.h.  */
10998
10999 /* Override any GCC internal prototype to avoid an error.
11000    Use char because int might match the return type of a GCC
11001    builtin and then its argument prototype would still apply.  */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 char glXCreateContext ();
11006 int
11007 main ()
11008 {
11009 return glXCreateContext ();
11010   ;
11011   return 0;
11012 }
11013 _ACEOF
11014 rm -f conftest.$ac_objext conftest$ac_exeext
11015 if { (ac_try="$ac_link"
11016 case "(($ac_try" in
11017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11018   *) ac_try_echo=$ac_try;;
11019 esac
11020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11021   (eval "$ac_link") 2>conftest.er1
11022   ac_status=$?
11023   grep -v '^ *+' conftest.er1 >conftest.err
11024   rm -f conftest.er1
11025   cat conftest.err >&5
11026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027   (exit $ac_status); } && {
11028          test -z "$ac_c_werror_flag" ||
11029          test ! -s conftest.err
11030        } && test -s conftest$ac_exeext &&
11031        $as_test_x conftest$ac_exeext; then
11032   case "$LIBEXT" in
11033     dll) ;;
11034     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'` ;;
11035     *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
11036   esac
11037 else
11038   echo "$as_me: failed program was:" >&5
11039 sed 's/^/| /' conftest.$ac_ext >&5
11040
11041
11042 fi
11043
11044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11045       conftest$ac_exeext conftest.$ac_ext
11046   LIBS=$ac_check_soname_save_LIBS
11047 fi
11048 if test "x$ac_cv_lib_soname_GL" = "x"; then
11049   { echo "$as_me:$LINENO: result: not found" >&5
11050 echo "${ECHO_T}not found" >&6; }
11051        if test -f /usr/X11R6/lib/libGL.a
11052                                     then
11053                                         opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11054 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11055                                     else
11056                                         opengl_msg="No OpenGL library found on this system."
11057                                     fi
11058 else
11059   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11060 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11061
11062 cat >>confdefs.h <<_ACEOF
11063 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11064 _ACEOF
11065
11066        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"
11067                                     OPENGLFILES='$(OPENGLFILES)'
11068
11069 cat >>confdefs.h <<\_ACEOF
11070 #define HAVE_OPENGL 1
11071 _ACEOF
11072
11073 fi
11074
11075 else
11076   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11077 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11078
11079 cat >>confdefs.h <<_ACEOF
11080 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11081 _ACEOF
11082
11083        OPENGL_LIBS="-lGL"
11084                              OPENGLFILES='$(OPENGLFILES)'
11085
11086 cat >>confdefs.h <<\_ACEOF
11087 #define HAVE_OPENGL 1
11088 _ACEOF
11089
11090 fi
11091
11092
11093                                 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
11094 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
11095 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
11096   echo $ECHO_N "(cached) $ECHO_C" >&6
11097 else
11098   ac_check_lib_save_LIBS=$LIBS
11099 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11100 cat >conftest.$ac_ext <<_ACEOF
11101 /* confdefs.h.  */
11102 _ACEOF
11103 cat confdefs.h >>conftest.$ac_ext
11104 cat >>conftest.$ac_ext <<_ACEOF
11105 /* end confdefs.h.  */
11106
11107 /* Override any GCC internal prototype to avoid an error.
11108    Use char because int might match the return type of a GCC
11109    builtin and then its argument prototype would still apply.  */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char gluLookAt ();
11114 int
11115 main ()
11116 {
11117 return gluLookAt ();
11118   ;
11119   return 0;
11120 }
11121 _ACEOF
11122 rm -f conftest.$ac_objext conftest$ac_exeext
11123 if { (ac_try="$ac_link"
11124 case "(($ac_try" in
11125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11126   *) ac_try_echo=$ac_try;;
11127 esac
11128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11129   (eval "$ac_link") 2>conftest.er1
11130   ac_status=$?
11131   grep -v '^ *+' conftest.er1 >conftest.err
11132   rm -f conftest.er1
11133   cat conftest.err >&5
11134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11135   (exit $ac_status); } && {
11136          test -z "$ac_c_werror_flag" ||
11137          test ! -s conftest.err
11138        } && test -s conftest$ac_exeext &&
11139        $as_test_x conftest$ac_exeext; then
11140   ac_cv_lib_GLU_gluLookAt=yes
11141 else
11142   echo "$as_me: failed program was:" >&5
11143 sed 's/^/| /' conftest.$ac_ext >&5
11144
11145         ac_cv_lib_GLU_gluLookAt=no
11146 fi
11147
11148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11149       conftest$ac_exeext conftest.$ac_ext
11150 LIBS=$ac_check_lib_save_LIBS
11151 fi
11152 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
11153 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
11154 if test $ac_cv_lib_GLU_gluLookAt = yes; then
11155   OPENGL_LIBS="$OPENGL_LIBS -lGLU"
11156                              GLU32FILES='$(GLU32FILES)'
11157
11158 fi
11159
11160              else
11161                  opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11162              fi
11163          else
11164              opengl_msg="OpenGL development headers not found."
11165          fi
11166     fi
11167     if test -n "$opengl_msg"; then
11168   case "x$with_opengl" in
11169   x)   wine_warnings="$wine_warnings|$opengl_msg
11170 OpenGL and Direct3D won't be supported." ;;
11171   xno) ;;
11172   *)   { { echo "$as_me:$LINENO: error: $opengl_msg
11173 OpenGL and Direct3D won't be supported.
11174 This is an error since --with-opengl was requested." >&5
11175 echo "$as_me: error: $opengl_msg
11176 OpenGL and Direct3D won't be supported.
11177 This is an error since --with-opengl was requested." >&2;}
11178    { (exit 1); exit 1; }; } ;;
11179 esac
11180 fi
11181
11182
11183         NASLIBS=""
11184
11185
11186 for ac_header in audio/audiolib.h
11187 do
11188 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11189 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11190   { echo "$as_me:$LINENO: checking for $ac_header" >&5
11191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11192 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11193   echo $ECHO_N "(cached) $ECHO_C" >&6
11194 fi
11195 ac_res=`eval echo '${'$as_ac_Header'}'`
11196                { echo "$as_me:$LINENO: result: $ac_res" >&5
11197 echo "${ECHO_T}$ac_res" >&6; }
11198 else
11199   # Is the header compilable?
11200 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11201 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11202 cat >conftest.$ac_ext <<_ACEOF
11203 /* confdefs.h.  */
11204 _ACEOF
11205 cat confdefs.h >>conftest.$ac_ext
11206 cat >>conftest.$ac_ext <<_ACEOF
11207 /* end confdefs.h.  */
11208 $ac_includes_default
11209 #include <$ac_header>
11210 _ACEOF
11211 rm -f conftest.$ac_objext
11212 if { (ac_try="$ac_compile"
11213 case "(($ac_try" in
11214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11215   *) ac_try_echo=$ac_try;;
11216 esac
11217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11218   (eval "$ac_compile") 2>conftest.er1
11219   ac_status=$?
11220   grep -v '^ *+' conftest.er1 >conftest.err
11221   rm -f conftest.er1
11222   cat conftest.err >&5
11223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224   (exit $ac_status); } && {
11225          test -z "$ac_c_werror_flag" ||
11226          test ! -s conftest.err
11227        } && test -s conftest.$ac_objext; then
11228   ac_header_compiler=yes
11229 else
11230   echo "$as_me: failed program was:" >&5
11231 sed 's/^/| /' conftest.$ac_ext >&5
11232
11233         ac_header_compiler=no
11234 fi
11235
11236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11237 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11238 echo "${ECHO_T}$ac_header_compiler" >&6; }
11239
11240 # Is the header present?
11241 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11243 cat >conftest.$ac_ext <<_ACEOF
11244 /* confdefs.h.  */
11245 _ACEOF
11246 cat confdefs.h >>conftest.$ac_ext
11247 cat >>conftest.$ac_ext <<_ACEOF
11248 /* end confdefs.h.  */
11249 #include <$ac_header>
11250 _ACEOF
11251 if { (ac_try="$ac_cpp conftest.$ac_ext"
11252 case "(($ac_try" in
11253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11254   *) ac_try_echo=$ac_try;;
11255 esac
11256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11257   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11258   ac_status=$?
11259   grep -v '^ *+' conftest.er1 >conftest.err
11260   rm -f conftest.er1
11261   cat conftest.err >&5
11262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263   (exit $ac_status); } >/dev/null && {
11264          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11265          test ! -s conftest.err
11266        }; then
11267   ac_header_preproc=yes
11268 else
11269   echo "$as_me: failed program was:" >&5
11270 sed 's/^/| /' conftest.$ac_ext >&5
11271
11272   ac_header_preproc=no
11273 fi
11274
11275 rm -f conftest.err conftest.$ac_ext
11276 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11277 echo "${ECHO_T}$ac_header_preproc" >&6; }
11278
11279 # So?  What about this header?
11280 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11281   yes:no: )
11282     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11283 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11284     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11285 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11286     ac_header_preproc=yes
11287     ;;
11288   no:yes:* )
11289     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11290 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11291     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11292 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11293     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11294 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11295     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11296 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11297     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11298 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11299     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11300 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11301     ( cat <<\_ASBOX
11302 ## ------------------------------------ ##
11303 ## Report this to wine-devel@winehq.org ##
11304 ## ------------------------------------ ##
11305 _ASBOX
11306      ) | sed "s/^/$as_me: WARNING:     /" >&2
11307     ;;
11308 esac
11309 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11310 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11311 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11312   echo $ECHO_N "(cached) $ECHO_C" >&6
11313 else
11314   eval "$as_ac_Header=\$ac_header_preproc"
11315 fi
11316 ac_res=`eval echo '${'$as_ac_Header'}'`
11317                { echo "$as_me:$LINENO: result: $ac_res" >&5
11318 echo "${ECHO_T}$ac_res" >&6; }
11319
11320 fi
11321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11322   cat >>confdefs.h <<_ACEOF
11323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11324 _ACEOF
11325
11326 for ac_header in audio/soundlib.h
11327 do
11328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11329 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11331 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11332   echo $ECHO_N "(cached) $ECHO_C" >&6
11333 else
11334   cat >conftest.$ac_ext <<_ACEOF
11335 /* confdefs.h.  */
11336 _ACEOF
11337 cat confdefs.h >>conftest.$ac_ext
11338 cat >>conftest.$ac_ext <<_ACEOF
11339 /* end confdefs.h.  */
11340 #include <audio/audiolib.h>
11341
11342 #include <$ac_header>
11343 _ACEOF
11344 rm -f conftest.$ac_objext
11345 if { (ac_try="$ac_compile"
11346 case "(($ac_try" in
11347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11348   *) ac_try_echo=$ac_try;;
11349 esac
11350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11351   (eval "$ac_compile") 2>conftest.er1
11352   ac_status=$?
11353   grep -v '^ *+' conftest.er1 >conftest.err
11354   rm -f conftest.er1
11355   cat conftest.err >&5
11356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357   (exit $ac_status); } && {
11358          test -z "$ac_c_werror_flag" ||
11359          test ! -s conftest.err
11360        } && test -s conftest.$ac_objext; then
11361   eval "$as_ac_Header=yes"
11362 else
11363   echo "$as_me: failed program was:" >&5
11364 sed 's/^/| /' conftest.$ac_ext >&5
11365
11366         eval "$as_ac_Header=no"
11367 fi
11368
11369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11370 fi
11371 ac_res=`eval echo '${'$as_ac_Header'}'`
11372                { echo "$as_me:$LINENO: result: $ac_res" >&5
11373 echo "${ECHO_T}$ac_res" >&6; }
11374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11375   cat >>confdefs.h <<_ACEOF
11376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11377 _ACEOF
11378
11379 fi
11380
11381 done
11382
11383           { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11384 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11385 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11386   echo $ECHO_N "(cached) $ECHO_C" >&6
11387 else
11388   ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11390 cat >conftest.$ac_ext <<_ACEOF
11391 /* confdefs.h.  */
11392 _ACEOF
11393 cat confdefs.h >>conftest.$ac_ext
11394 cat >>conftest.$ac_ext <<_ACEOF
11395 /* end confdefs.h.  */
11396
11397 /* Override any GCC internal prototype to avoid an error.
11398    Use char because int might match the return type of a GCC
11399    builtin and then its argument prototype would still apply.  */
11400 #ifdef __cplusplus
11401 extern "C"
11402 #endif
11403 char AuCreateFlow ();
11404 int
11405 main ()
11406 {
11407 return AuCreateFlow ();
11408   ;
11409   return 0;
11410 }
11411 _ACEOF
11412 rm -f conftest.$ac_objext conftest$ac_exeext
11413 if { (ac_try="$ac_link"
11414 case "(($ac_try" in
11415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11416   *) ac_try_echo=$ac_try;;
11417 esac
11418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11419   (eval "$ac_link") 2>conftest.er1
11420   ac_status=$?
11421   grep -v '^ *+' conftest.er1 >conftest.err
11422   rm -f conftest.er1
11423   cat conftest.err >&5
11424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11425   (exit $ac_status); } && {
11426          test -z "$ac_c_werror_flag" ||
11427          test ! -s conftest.err
11428        } && test -s conftest$ac_exeext &&
11429        $as_test_x conftest$ac_exeext; then
11430   ac_cv_lib_audio_AuCreateFlow=yes
11431 else
11432   echo "$as_me: failed program was:" >&5
11433 sed 's/^/| /' conftest.$ac_ext >&5
11434
11435         ac_cv_lib_audio_AuCreateFlow=no
11436 fi
11437
11438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11439       conftest$ac_exeext conftest.$ac_ext
11440 LIBS=$ac_check_lib_save_LIBS
11441 fi
11442 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11443 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11444 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11445
11446 cat >>confdefs.h <<\_ACEOF
11447 #define HAVE_NAS 1
11448 _ACEOF
11449
11450                         { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11451 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11452 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11453   echo $ECHO_N "(cached) $ECHO_C" >&6
11454 else
11455   ac_check_lib_save_LIBS=$LIBS
11456 LIBS="-lXau $X_LIBS $LIBS"
11457 cat >conftest.$ac_ext <<_ACEOF
11458 /* confdefs.h.  */
11459 _ACEOF
11460 cat confdefs.h >>conftest.$ac_ext
11461 cat >>conftest.$ac_ext <<_ACEOF
11462 /* end confdefs.h.  */
11463
11464 /* Override any GCC internal prototype to avoid an error.
11465    Use char because int might match the return type of a GCC
11466    builtin and then its argument prototype would still apply.  */
11467 #ifdef __cplusplus
11468 extern "C"
11469 #endif
11470 char XauGetBestAuthByAddr ();
11471 int
11472 main ()
11473 {
11474 return XauGetBestAuthByAddr ();
11475   ;
11476   return 0;
11477 }
11478 _ACEOF
11479 rm -f conftest.$ac_objext conftest$ac_exeext
11480 if { (ac_try="$ac_link"
11481 case "(($ac_try" in
11482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11483   *) ac_try_echo=$ac_try;;
11484 esac
11485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11486   (eval "$ac_link") 2>conftest.er1
11487   ac_status=$?
11488   grep -v '^ *+' conftest.er1 >conftest.err
11489   rm -f conftest.er1
11490   cat conftest.err >&5
11491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492   (exit $ac_status); } && {
11493          test -z "$ac_c_werror_flag" ||
11494          test ! -s conftest.err
11495        } && test -s conftest$ac_exeext &&
11496        $as_test_x conftest$ac_exeext; then
11497   ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11498 else
11499   echo "$as_me: failed program was:" >&5
11500 sed 's/^/| /' conftest.$ac_ext >&5
11501
11502         ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11503 fi
11504
11505 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11506       conftest$ac_exeext conftest.$ac_ext
11507 LIBS=$ac_check_lib_save_LIBS
11508 fi
11509 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11510 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11511 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11512   NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11513 else
11514   NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11515 fi
11516
11517
11518 fi
11519
11520 fi
11521
11522 done
11523
11524
11525     CPPFLAGS="$ac_save_CPPFLAGS"
11526     XFILES='$(XFILES)'
11527 else
11528     XLIB=""
11529     X_CFLAGS=""
11530     X_LIBS=""
11531 fi
11532 if test "x$XLIB" = "x"; then
11533   case "x$with_x" in
11534   x)   wine_warnings="$wine_warnings|X development files not found. Wine will be built
11535 without X support, which probably isn't what you want. You will need to install
11536 development packages of Xlib/Xfree86 at the very least." ;;
11537   xno) ;;
11538   *)   { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11539 without X support, which probably isn't what you want. You will need to install
11540 development packages of Xlib/Xfree86 at the very least.
11541 This is an error since --with-x was requested." >&5
11542 echo "$as_me: error: X development files not found. Wine will be built
11543 without X support, which probably isn't what you want. You will need to install
11544 development packages of Xlib/Xfree86 at the very least.
11545 This is an error since --with-x was requested." >&2;}
11546    { (exit 1); exit 1; }; } ;;
11547 esac
11548 fi
11549
11550
11551
11552 XML2LIBS=""
11553
11554 XML2INCL=""
11555
11556 XSLTLIBS=""
11557
11558 XSLTINCL=""
11559
11560 if test "x$with_xml" != "xno"
11561 then
11562     ac_save_CPPFLAGS="$CPPFLAGS"
11563     if test "$PKG_CONFIG" != "false"
11564     then
11565         ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11566         ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11567     else
11568         ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11569         ac_xml_cflags="`xml2-config --cflags  2>/dev/null`"
11570     fi
11571     CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11572
11573 for ac_header in libxml/parser.h
11574 do
11575 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11576 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11577   { echo "$as_me:$LINENO: checking for $ac_header" >&5
11578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11579 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11580   echo $ECHO_N "(cached) $ECHO_C" >&6
11581 fi
11582 ac_res=`eval echo '${'$as_ac_Header'}'`
11583                { echo "$as_me:$LINENO: result: $ac_res" >&5
11584 echo "${ECHO_T}$ac_res" >&6; }
11585 else
11586   # Is the header compilable?
11587 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11588 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11589 cat >conftest.$ac_ext <<_ACEOF
11590 /* confdefs.h.  */
11591 _ACEOF
11592 cat confdefs.h >>conftest.$ac_ext
11593 cat >>conftest.$ac_ext <<_ACEOF
11594 /* end confdefs.h.  */
11595 $ac_includes_default
11596 #include <$ac_header>
11597 _ACEOF
11598 rm -f conftest.$ac_objext
11599 if { (ac_try="$ac_compile"
11600 case "(($ac_try" in
11601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11602   *) ac_try_echo=$ac_try;;
11603 esac
11604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11605   (eval "$ac_compile") 2>conftest.er1
11606   ac_status=$?
11607   grep -v '^ *+' conftest.er1 >conftest.err
11608   rm -f conftest.er1
11609   cat conftest.err >&5
11610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11611   (exit $ac_status); } && {
11612          test -z "$ac_c_werror_flag" ||
11613          test ! -s conftest.err
11614        } && test -s conftest.$ac_objext; then
11615   ac_header_compiler=yes
11616 else
11617   echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.$ac_ext >&5
11619
11620         ac_header_compiler=no
11621 fi
11622
11623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11624 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11625 echo "${ECHO_T}$ac_header_compiler" >&6; }
11626
11627 # Is the header present?
11628 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11630 cat >conftest.$ac_ext <<_ACEOF
11631 /* confdefs.h.  */
11632 _ACEOF
11633 cat confdefs.h >>conftest.$ac_ext
11634 cat >>conftest.$ac_ext <<_ACEOF
11635 /* end confdefs.h.  */
11636 #include <$ac_header>
11637 _ACEOF
11638 if { (ac_try="$ac_cpp conftest.$ac_ext"
11639 case "(($ac_try" in
11640   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11641   *) ac_try_echo=$ac_try;;
11642 esac
11643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11644   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11645   ac_status=$?
11646   grep -v '^ *+' conftest.er1 >conftest.err
11647   rm -f conftest.er1
11648   cat conftest.err >&5
11649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650   (exit $ac_status); } >/dev/null && {
11651          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11652          test ! -s conftest.err
11653        }; then
11654   ac_header_preproc=yes
11655 else
11656   echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.$ac_ext >&5
11658
11659   ac_header_preproc=no
11660 fi
11661
11662 rm -f conftest.err conftest.$ac_ext
11663 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11664 echo "${ECHO_T}$ac_header_preproc" >&6; }
11665
11666 # So?  What about this header?
11667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11668   yes:no: )
11669     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11670 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11671     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11672 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11673     ac_header_preproc=yes
11674     ;;
11675   no:yes:* )
11676     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11677 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11678     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11679 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11680     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11681 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11682     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11683 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11684     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11685 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11686     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11687 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11688     ( cat <<\_ASBOX
11689 ## ------------------------------------ ##
11690 ## Report this to wine-devel@winehq.org ##
11691 ## ------------------------------------ ##
11692 _ASBOX
11693      ) | sed "s/^/$as_me: WARNING:     /" >&2
11694     ;;
11695 esac
11696 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11699   echo $ECHO_N "(cached) $ECHO_C" >&6
11700 else
11701   eval "$as_ac_Header=\$ac_header_preproc"
11702 fi
11703 ac_res=`eval echo '${'$as_ac_Header'}'`
11704                { echo "$as_me:$LINENO: result: $ac_res" >&5
11705 echo "${ECHO_T}$ac_res" >&6; }
11706
11707 fi
11708 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11709   cat >>confdefs.h <<_ACEOF
11710 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11711 _ACEOF
11712  { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11713 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11714 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11715   echo $ECHO_N "(cached) $ECHO_C" >&6
11716 else
11717   ac_check_lib_save_LIBS=$LIBS
11718 LIBS="-lxml2 $ac_xml_libs $LIBS"
11719 cat >conftest.$ac_ext <<_ACEOF
11720 /* confdefs.h.  */
11721 _ACEOF
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h.  */
11725
11726 /* Override any GCC internal prototype to avoid an error.
11727    Use char because int might match the return type of a GCC
11728    builtin and then its argument prototype would still apply.  */
11729 #ifdef __cplusplus
11730 extern "C"
11731 #endif
11732 char xmlParseMemory ();
11733 int
11734 main ()
11735 {
11736 return xmlParseMemory ();
11737   ;
11738   return 0;
11739 }
11740 _ACEOF
11741 rm -f conftest.$ac_objext conftest$ac_exeext
11742 if { (ac_try="$ac_link"
11743 case "(($ac_try" in
11744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11745   *) ac_try_echo=$ac_try;;
11746 esac
11747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11748   (eval "$ac_link") 2>conftest.er1
11749   ac_status=$?
11750   grep -v '^ *+' conftest.er1 >conftest.err
11751   rm -f conftest.er1
11752   cat conftest.err >&5
11753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754   (exit $ac_status); } && {
11755          test -z "$ac_c_werror_flag" ||
11756          test ! -s conftest.err
11757        } && test -s conftest$ac_exeext &&
11758        $as_test_x conftest$ac_exeext; then
11759   ac_cv_lib_xml2_xmlParseMemory=yes
11760 else
11761   echo "$as_me: failed program was:" >&5
11762 sed 's/^/| /' conftest.$ac_ext >&5
11763
11764         ac_cv_lib_xml2_xmlParseMemory=no
11765 fi
11766
11767 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11768       conftest$ac_exeext conftest.$ac_ext
11769 LIBS=$ac_check_lib_save_LIBS
11770 fi
11771 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11772 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11773 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11774
11775 cat >>confdefs.h <<\_ACEOF
11776 #define HAVE_LIBXML2 1
11777 _ACEOF
11778
11779                  XML2LIBS="$ac_xml_libs"
11780                  XML2INCL="$ac_xml_cflags"
11781 fi
11782
11783              { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11784 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11785 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11786   echo $ECHO_N "(cached) $ECHO_C" >&6
11787 else
11788   ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-lxml2 $ac_xml_libs $LIBS"
11790 cat >conftest.$ac_ext <<_ACEOF
11791 /* confdefs.h.  */
11792 _ACEOF
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h.  */
11796
11797 /* Override any GCC internal prototype to avoid an error.
11798    Use char because int might match the return type of a GCC
11799    builtin and then its argument prototype would still apply.  */
11800 #ifdef __cplusplus
11801 extern "C"
11802 #endif
11803 char xmlReadMemory ();
11804 int
11805 main ()
11806 {
11807 return xmlReadMemory ();
11808   ;
11809   return 0;
11810 }
11811 _ACEOF
11812 rm -f conftest.$ac_objext conftest$ac_exeext
11813 if { (ac_try="$ac_link"
11814 case "(($ac_try" in
11815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11816   *) ac_try_echo=$ac_try;;
11817 esac
11818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11819   (eval "$ac_link") 2>conftest.er1
11820   ac_status=$?
11821   grep -v '^ *+' conftest.er1 >conftest.err
11822   rm -f conftest.er1
11823   cat conftest.err >&5
11824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11825   (exit $ac_status); } && {
11826          test -z "$ac_c_werror_flag" ||
11827          test ! -s conftest.err
11828        } && test -s conftest$ac_exeext &&
11829        $as_test_x conftest$ac_exeext; then
11830   ac_cv_lib_xml2_xmlReadMemory=yes
11831 else
11832   echo "$as_me: failed program was:" >&5
11833 sed 's/^/| /' conftest.$ac_ext >&5
11834
11835         ac_cv_lib_xml2_xmlReadMemory=no
11836 fi
11837
11838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11839       conftest$ac_exeext conftest.$ac_ext
11840 LIBS=$ac_check_lib_save_LIBS
11841 fi
11842 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11843 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11844 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11845
11846 cat >>confdefs.h <<\_ACEOF
11847 #define HAVE_XMLREADMEMORY 1
11848 _ACEOF
11849
11850 fi
11851
11852              { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11853 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11854 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11855   echo $ECHO_N "(cached) $ECHO_C" >&6
11856 else
11857   ac_check_lib_save_LIBS=$LIBS
11858 LIBS="-lxml2 $ac_xml_libs $LIBS"
11859 cat >conftest.$ac_ext <<_ACEOF
11860 /* confdefs.h.  */
11861 _ACEOF
11862 cat confdefs.h >>conftest.$ac_ext
11863 cat >>conftest.$ac_ext <<_ACEOF
11864 /* end confdefs.h.  */
11865
11866 /* Override any GCC internal prototype to avoid an error.
11867    Use char because int might match the return type of a GCC
11868    builtin and then its argument prototype would still apply.  */
11869 #ifdef __cplusplus
11870 extern "C"
11871 #endif
11872 char xmlNewDocPI ();
11873 int
11874 main ()
11875 {
11876 return xmlNewDocPI ();
11877   ;
11878   return 0;
11879 }
11880 _ACEOF
11881 rm -f conftest.$ac_objext conftest$ac_exeext
11882 if { (ac_try="$ac_link"
11883 case "(($ac_try" in
11884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11885   *) ac_try_echo=$ac_try;;
11886 esac
11887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11888   (eval "$ac_link") 2>conftest.er1
11889   ac_status=$?
11890   grep -v '^ *+' conftest.er1 >conftest.err
11891   rm -f conftest.er1
11892   cat conftest.err >&5
11893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894   (exit $ac_status); } && {
11895          test -z "$ac_c_werror_flag" ||
11896          test ! -s conftest.err
11897        } && test -s conftest$ac_exeext &&
11898        $as_test_x conftest$ac_exeext; then
11899   ac_cv_lib_xml2_xmlNewDocPI=yes
11900 else
11901   echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.$ac_ext >&5
11903
11904         ac_cv_lib_xml2_xmlNewDocPI=no
11905 fi
11906
11907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11908       conftest$ac_exeext conftest.$ac_ext
11909 LIBS=$ac_check_lib_save_LIBS
11910 fi
11911 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11912 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11913 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11914
11915 cat >>confdefs.h <<\_ACEOF
11916 #define HAVE_XMLNEWDOCPI 1
11917 _ACEOF
11918
11919 fi
11920
11921
11922 fi
11923
11924 done
11925
11926     CPPFLAGS="$ac_save_CPPFLAGS"
11927 fi
11928 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11929   case "x$with_xml" in
11930   x)   wine_notices="$wine_notices|libxml2 development files not found, XML won't be supported." ;;
11931   xno) ;;
11932   *)   { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11933 This is an error since --with-xml was requested." >&5
11934 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11935 This is an error since --with-xml was requested." >&2;}
11936    { (exit 1); exit 1; }; } ;;
11937 esac
11938 fi
11939
11940
11941 if test "x$with_xslt" != "xno"
11942 then
11943     if test "$PKG_CONFIG" != "false"
11944     then
11945         ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11946         ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11947     else
11948         ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11949         ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11950     fi
11951     CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11952
11953
11954 for ac_header in libxslt/pattern.h libxslt/transform.h
11955 do
11956 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11957 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11959 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11960   echo $ECHO_N "(cached) $ECHO_C" >&6
11961 else
11962   cat >conftest.$ac_ext <<_ACEOF
11963 /* confdefs.h.  */
11964 _ACEOF
11965 cat confdefs.h >>conftest.$ac_ext
11966 cat >>conftest.$ac_ext <<_ACEOF
11967 /* end confdefs.h.  */
11968 #ifdef HAVE_LIBXSLT_PATTERN_H
11969 # include <libxslt/pattern.h>
11970 #endif
11971
11972 #include <$ac_header>
11973 _ACEOF
11974 rm -f conftest.$ac_objext
11975 if { (ac_try="$ac_compile"
11976 case "(($ac_try" in
11977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11978   *) ac_try_echo=$ac_try;;
11979 esac
11980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11981   (eval "$ac_compile") 2>conftest.er1
11982   ac_status=$?
11983   grep -v '^ *+' conftest.er1 >conftest.err
11984   rm -f conftest.er1
11985   cat conftest.err >&5
11986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987   (exit $ac_status); } && {
11988          test -z "$ac_c_werror_flag" ||
11989          test ! -s conftest.err
11990        } && test -s conftest.$ac_objext; then
11991   eval "$as_ac_Header=yes"
11992 else
11993   echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.$ac_ext >&5
11995
11996         eval "$as_ac_Header=no"
11997 fi
11998
11999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12000 fi
12001 ac_res=`eval echo '${'$as_ac_Header'}'`
12002                { echo "$as_me:$LINENO: result: $ac_res" >&5
12003 echo "${ECHO_T}$ac_res" >&6; }
12004 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12005   cat >>confdefs.h <<_ACEOF
12006 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12007 _ACEOF
12008  { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12009 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12010 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12011   echo $ECHO_N "(cached) $ECHO_C" >&6
12012 else
12013   ac_check_lib_save_LIBS=$LIBS
12014 LIBS="-lxslt $ac_xslt_libs $LIBS"
12015 cat >conftest.$ac_ext <<_ACEOF
12016 /* confdefs.h.  */
12017 _ACEOF
12018 cat confdefs.h >>conftest.$ac_ext
12019 cat >>conftest.$ac_ext <<_ACEOF
12020 /* end confdefs.h.  */
12021
12022 /* Override any GCC internal prototype to avoid an error.
12023    Use char because int might match the return type of a GCC
12024    builtin and then its argument prototype would still apply.  */
12025 #ifdef __cplusplus
12026 extern "C"
12027 #endif
12028 char xsltCompilePattern ();
12029 int
12030 main ()
12031 {
12032 return xsltCompilePattern ();
12033   ;
12034   return 0;
12035 }
12036 _ACEOF
12037 rm -f conftest.$ac_objext conftest$ac_exeext
12038 if { (ac_try="$ac_link"
12039 case "(($ac_try" in
12040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12041   *) ac_try_echo=$ac_try;;
12042 esac
12043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12044   (eval "$ac_link") 2>conftest.er1
12045   ac_status=$?
12046   grep -v '^ *+' conftest.er1 >conftest.err
12047   rm -f conftest.er1
12048   cat conftest.err >&5
12049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050   (exit $ac_status); } && {
12051          test -z "$ac_c_werror_flag" ||
12052          test ! -s conftest.err
12053        } && test -s conftest$ac_exeext &&
12054        $as_test_x conftest$ac_exeext; then
12055   ac_cv_lib_xslt_xsltCompilePattern=yes
12056 else
12057   echo "$as_me: failed program was:" >&5
12058 sed 's/^/| /' conftest.$ac_ext >&5
12059
12060         ac_cv_lib_xslt_xsltCompilePattern=no
12061 fi
12062
12063 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12064       conftest$ac_exeext conftest.$ac_ext
12065 LIBS=$ac_check_lib_save_LIBS
12066 fi
12067 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12068 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12069 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12070
12071 cat >>confdefs.h <<\_ACEOF
12072 #define HAVE_LIBXSLT 1
12073 _ACEOF
12074
12075                  XSLTLIBS="$ac_xslt_libs"
12076                  XSLTINCL="$ac_xslt_cflags"
12077 fi
12078
12079
12080 fi
12081
12082 done
12083
12084     CPPFLAGS="$ac_save_CPPFLAGS"
12085 fi
12086 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12087   case "x$with_xslt" in
12088   x)   wine_notices="$wine_notices|libxslt development files not found, xslt won't be supported." ;;
12089   xno) ;;
12090   *)   { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12091 This is an error since --with-xslt was requested." >&5
12092 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12093 This is an error since --with-xslt was requested." >&2;}
12094    { (exit 1); exit 1; }; } ;;
12095 esac
12096 fi
12097
12098
12099 HALINCL=""
12100
12101 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12102 then
12103     ac_save_CPPFLAGS="$CPPFLAGS"
12104     ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12105     ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12106     CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12107
12108
12109 for ac_header in dbus/dbus.h hal/libhal.h
12110 do
12111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12112 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12113   { echo "$as_me:$LINENO: checking for $ac_header" >&5
12114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12116   echo $ECHO_N "(cached) $ECHO_C" >&6
12117 fi
12118 ac_res=`eval echo '${'$as_ac_Header'}'`
12119                { echo "$as_me:$LINENO: result: $ac_res" >&5
12120 echo "${ECHO_T}$ac_res" >&6; }
12121 else
12122   # Is the header compilable?
12123 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12125 cat >conftest.$ac_ext <<_ACEOF
12126 /* confdefs.h.  */
12127 _ACEOF
12128 cat confdefs.h >>conftest.$ac_ext
12129 cat >>conftest.$ac_ext <<_ACEOF
12130 /* end confdefs.h.  */
12131 $ac_includes_default
12132 #include <$ac_header>
12133 _ACEOF
12134 rm -f conftest.$ac_objext
12135 if { (ac_try="$ac_compile"
12136 case "(($ac_try" in
12137   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12138   *) ac_try_echo=$ac_try;;
12139 esac
12140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12141   (eval "$ac_compile") 2>conftest.er1
12142   ac_status=$?
12143   grep -v '^ *+' conftest.er1 >conftest.err
12144   rm -f conftest.er1
12145   cat conftest.err >&5
12146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147   (exit $ac_status); } && {
12148          test -z "$ac_c_werror_flag" ||
12149          test ! -s conftest.err
12150        } && test -s conftest.$ac_objext; then
12151   ac_header_compiler=yes
12152 else
12153   echo "$as_me: failed program was:" >&5
12154 sed 's/^/| /' conftest.$ac_ext >&5
12155
12156         ac_header_compiler=no
12157 fi
12158
12159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12160 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12161 echo "${ECHO_T}$ac_header_compiler" >&6; }
12162
12163 # Is the header present?
12164 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12165 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12166 cat >conftest.$ac_ext <<_ACEOF
12167 /* confdefs.h.  */
12168 _ACEOF
12169 cat confdefs.h >>conftest.$ac_ext
12170 cat >>conftest.$ac_ext <<_ACEOF
12171 /* end confdefs.h.  */
12172 #include <$ac_header>
12173 _ACEOF
12174 if { (ac_try="$ac_cpp conftest.$ac_ext"
12175 case "(($ac_try" in
12176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12177   *) ac_try_echo=$ac_try;;
12178 esac
12179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12180   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12181   ac_status=$?
12182   grep -v '^ *+' conftest.er1 >conftest.err
12183   rm -f conftest.er1
12184   cat conftest.err >&5
12185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186   (exit $ac_status); } >/dev/null && {
12187          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12188          test ! -s conftest.err
12189        }; then
12190   ac_header_preproc=yes
12191 else
12192   echo "$as_me: failed program was:" >&5
12193 sed 's/^/| /' conftest.$ac_ext >&5
12194
12195   ac_header_preproc=no
12196 fi
12197
12198 rm -f conftest.err conftest.$ac_ext
12199 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12200 echo "${ECHO_T}$ac_header_preproc" >&6; }
12201
12202 # So?  What about this header?
12203 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12204   yes:no: )
12205     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12206 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12207     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12208 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12209     ac_header_preproc=yes
12210     ;;
12211   no:yes:* )
12212     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12213 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12214     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12215 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12216     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12217 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12218     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12219 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12220     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12222     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12223 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12224     ( cat <<\_ASBOX
12225 ## ------------------------------------ ##
12226 ## Report this to wine-devel@winehq.org ##
12227 ## ------------------------------------ ##
12228 _ASBOX
12229      ) | sed "s/^/$as_me: WARNING:     /" >&2
12230     ;;
12231 esac
12232 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12233 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12234 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12235   echo $ECHO_N "(cached) $ECHO_C" >&6
12236 else
12237   eval "$as_ac_Header=\$ac_header_preproc"
12238 fi
12239 ac_res=`eval echo '${'$as_ac_Header'}'`
12240                { echo "$as_me:$LINENO: result: $ac_res" >&5
12241 echo "${ECHO_T}$ac_res" >&6; }
12242
12243 fi
12244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12245   cat >>confdefs.h <<_ACEOF
12246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12247 _ACEOF
12248
12249 fi
12250
12251 done
12252
12253     if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12254     then
12255         { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12256 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12257 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12258   echo $ECHO_N "(cached) $ECHO_C" >&6
12259 else
12260   ac_check_lib_save_LIBS=$LIBS
12261 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12262 cat >conftest.$ac_ext <<_ACEOF
12263 /* confdefs.h.  */
12264 _ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h.  */
12268
12269 /* Override any GCC internal prototype to avoid an error.
12270    Use char because int might match the return type of a GCC
12271    builtin and then its argument prototype would still apply.  */
12272 #ifdef __cplusplus
12273 extern "C"
12274 #endif
12275 char dbus_connection_close ();
12276 int
12277 main ()
12278 {
12279 return dbus_connection_close ();
12280   ;
12281   return 0;
12282 }
12283 _ACEOF
12284 rm -f conftest.$ac_objext conftest$ac_exeext
12285 if { (ac_try="$ac_link"
12286 case "(($ac_try" in
12287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12288   *) ac_try_echo=$ac_try;;
12289 esac
12290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12291   (eval "$ac_link") 2>conftest.er1
12292   ac_status=$?
12293   grep -v '^ *+' conftest.er1 >conftest.err
12294   rm -f conftest.er1
12295   cat conftest.err >&5
12296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297   (exit $ac_status); } && {
12298          test -z "$ac_c_werror_flag" ||
12299          test ! -s conftest.err
12300        } && test -s conftest$ac_exeext &&
12301        $as_test_x conftest$ac_exeext; then
12302   ac_cv_lib_dbus_1_dbus_connection_close=yes
12303 else
12304   echo "$as_me: failed program was:" >&5
12305 sed 's/^/| /' conftest.$ac_ext >&5
12306
12307         ac_cv_lib_dbus_1_dbus_connection_close=no
12308 fi
12309
12310 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12311       conftest$ac_exeext conftest.$ac_ext
12312 LIBS=$ac_check_lib_save_LIBS
12313 fi
12314 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12315 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12316 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12317   { echo "$as_me:$LINENO: checking for -lhal" >&5
12318 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12319 if test "${ac_cv_lib_soname_hal+set}" = set; then
12320   echo $ECHO_N "(cached) $ECHO_C" >&6
12321 else
12322   ac_check_soname_save_LIBS=$LIBS
12323 LIBS="-lhal $ac_hal_libs $LIBS"
12324   cat >conftest.$ac_ext <<_ACEOF
12325 /* confdefs.h.  */
12326 _ACEOF
12327 cat confdefs.h >>conftest.$ac_ext
12328 cat >>conftest.$ac_ext <<_ACEOF
12329 /* end confdefs.h.  */
12330
12331 /* Override any GCC internal prototype to avoid an error.
12332    Use char because int might match the return type of a GCC
12333    builtin and then its argument prototype would still apply.  */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char libhal_ctx_new ();
12338 int
12339 main ()
12340 {
12341 return libhal_ctx_new ();
12342   ;
12343   return 0;
12344 }
12345 _ACEOF
12346 rm -f conftest.$ac_objext conftest$ac_exeext
12347 if { (ac_try="$ac_link"
12348 case "(($ac_try" in
12349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12350   *) ac_try_echo=$ac_try;;
12351 esac
12352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12353   (eval "$ac_link") 2>conftest.er1
12354   ac_status=$?
12355   grep -v '^ *+' conftest.er1 >conftest.err
12356   rm -f conftest.er1
12357   cat conftest.err >&5
12358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359   (exit $ac_status); } && {
12360          test -z "$ac_c_werror_flag" ||
12361          test ! -s conftest.err
12362        } && test -s conftest$ac_exeext &&
12363        $as_test_x conftest$ac_exeext; then
12364   case "$LIBEXT" in
12365     dll) ;;
12366     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'` ;;
12367     *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;
12368   esac
12369 else
12370   echo "$as_me: failed program was:" >&5
12371 sed 's/^/| /' conftest.$ac_ext >&5
12372
12373
12374 fi
12375
12376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12377       conftest$ac_exeext conftest.$ac_ext
12378   LIBS=$ac_check_soname_save_LIBS
12379 fi
12380 if test "x$ac_cv_lib_soname_hal" = "x"; then
12381   { echo "$as_me:$LINENO: result: not found" >&5
12382 echo "${ECHO_T}not found" >&6; }
12383
12384 else
12385   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12386 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12387
12388 cat >>confdefs.h <<_ACEOF
12389 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12390 _ACEOF
12391
12392        HALINCL="$ac_hal_cflags"
12393 fi
12394
12395 fi
12396
12397     fi
12398     CPPFLAGS="$ac_save_CPPFLAGS"
12399 fi
12400 if test "x$ac_cv_lib_soname_hal" = "x"; then
12401   case "x$with_hal" in
12402   x)   wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12403   xno) ;;
12404   *)   { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12405 This is an error since --with-hal was requested." >&5
12406 echo "$as_me: error: libhal development files not found, no dynamic device support.
12407 This is an error since --with-hal was requested." >&2;}
12408    { (exit 1); exit 1; }; } ;;
12409 esac
12410 fi
12411
12412
12413 CURSESLIBS=""
12414 if test "$ac_cv_header_ncurses_h" = "yes"
12415 then
12416     { echo "$as_me:$LINENO: checking for -lncurses" >&5
12417 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12418 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12419   echo $ECHO_N "(cached) $ECHO_C" >&6
12420 else
12421   ac_check_soname_save_LIBS=$LIBS
12422 LIBS="-lncurses  $LIBS"
12423   cat >conftest.$ac_ext <<_ACEOF
12424 /* confdefs.h.  */
12425 _ACEOF
12426 cat confdefs.h >>conftest.$ac_ext
12427 cat >>conftest.$ac_ext <<_ACEOF
12428 /* end confdefs.h.  */
12429
12430 /* Override any GCC internal prototype to avoid an error.
12431    Use char because int might match the return type of a GCC
12432    builtin and then its argument prototype would still apply.  */
12433 #ifdef __cplusplus
12434 extern "C"
12435 #endif
12436 char waddch ();
12437 int
12438 main ()
12439 {
12440 return waddch ();
12441   ;
12442   return 0;
12443 }
12444 _ACEOF
12445 rm -f conftest.$ac_objext conftest$ac_exeext
12446 if { (ac_try="$ac_link"
12447 case "(($ac_try" in
12448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12449   *) ac_try_echo=$ac_try;;
12450 esac
12451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12452   (eval "$ac_link") 2>conftest.er1
12453   ac_status=$?
12454   grep -v '^ *+' conftest.er1 >conftest.err
12455   rm -f conftest.er1
12456   cat conftest.err >&5
12457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458   (exit $ac_status); } && {
12459          test -z "$ac_c_werror_flag" ||
12460          test ! -s conftest.err
12461        } && test -s conftest$ac_exeext &&
12462        $as_test_x conftest$ac_exeext; then
12463   case "$LIBEXT" in
12464     dll) ;;
12465     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'` ;;
12466     *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^         ]*\).*$/\1/"';2,$d'` ;;
12467   esac
12468 else
12469   echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.$ac_ext >&5
12471
12472
12473 fi
12474
12475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12476       conftest$ac_exeext conftest.$ac_ext
12477   LIBS=$ac_check_soname_save_LIBS
12478 fi
12479 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12480   { echo "$as_me:$LINENO: result: not found" >&5
12481 echo "${ECHO_T}not found" >&6; }
12482
12483 else
12484   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12485 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12486
12487 cat >>confdefs.h <<_ACEOF
12488 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12489 _ACEOF
12490
12491        CURSESLIBS="-lncurses"
12492 fi
12493
12494 elif test "$ac_cv_header_curses_h" = "yes"
12495 then
12496     { echo "$as_me:$LINENO: checking for -lcurses" >&5
12497 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12498 if test "${ac_cv_lib_soname_curses+set}" = set; then
12499   echo $ECHO_N "(cached) $ECHO_C" >&6
12500 else
12501   ac_check_soname_save_LIBS=$LIBS
12502 LIBS="-lcurses  $LIBS"
12503   cat >conftest.$ac_ext <<_ACEOF
12504 /* confdefs.h.  */
12505 _ACEOF
12506 cat confdefs.h >>conftest.$ac_ext
12507 cat >>conftest.$ac_ext <<_ACEOF
12508 /* end confdefs.h.  */
12509
12510 /* Override any GCC internal prototype to avoid an error.
12511    Use char because int might match the return type of a GCC
12512    builtin and then its argument prototype would still apply.  */
12513 #ifdef __cplusplus
12514 extern "C"
12515 #endif
12516 char waddch ();
12517 int
12518 main ()
12519 {
12520 return waddch ();
12521   ;
12522   return 0;
12523 }
12524 _ACEOF
12525 rm -f conftest.$ac_objext conftest$ac_exeext
12526 if { (ac_try="$ac_link"
12527 case "(($ac_try" in
12528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12529   *) ac_try_echo=$ac_try;;
12530 esac
12531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12532   (eval "$ac_link") 2>conftest.er1
12533   ac_status=$?
12534   grep -v '^ *+' conftest.er1 >conftest.err
12535   rm -f conftest.er1
12536   cat conftest.err >&5
12537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538   (exit $ac_status); } && {
12539          test -z "$ac_c_werror_flag" ||
12540          test ! -s conftest.err
12541        } && test -s conftest$ac_exeext &&
12542        $as_test_x conftest$ac_exeext; then
12543   case "$LIBEXT" in
12544     dll) ;;
12545     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'` ;;
12546     *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^    ]*\).*$/\1/"';2,$d'` ;;
12547   esac
12548 else
12549   echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12551
12552
12553 fi
12554
12555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12556       conftest$ac_exeext conftest.$ac_ext
12557   LIBS=$ac_check_soname_save_LIBS
12558 fi
12559 if test "x$ac_cv_lib_soname_curses" = "x"; then
12560   { echo "$as_me:$LINENO: result: not found" >&5
12561 echo "${ECHO_T}not found" >&6; }
12562
12563 else
12564   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12565 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12566
12567 cat >>confdefs.h <<_ACEOF
12568 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12569 _ACEOF
12570
12571        CURSESLIBS="-lcurses"
12572 fi
12573
12574 fi
12575 ac_save_LIBS="$LIBS"
12576 LIBS="$LIBS $CURSESLIBS"
12577
12578 for ac_func in mousemask
12579 do
12580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12581 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12583 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12584   echo $ECHO_N "(cached) $ECHO_C" >&6
12585 else
12586   cat >conftest.$ac_ext <<_ACEOF
12587 /* confdefs.h.  */
12588 _ACEOF
12589 cat confdefs.h >>conftest.$ac_ext
12590 cat >>conftest.$ac_ext <<_ACEOF
12591 /* end confdefs.h.  */
12592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12594 #define $ac_func innocuous_$ac_func
12595
12596 /* System header to define __stub macros and hopefully few prototypes,
12597     which can conflict with char $ac_func (); below.
12598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12599     <limits.h> exists even on freestanding compilers.  */
12600
12601 #ifdef __STDC__
12602 # include <limits.h>
12603 #else
12604 # include <assert.h>
12605 #endif
12606
12607 #undef $ac_func
12608
12609 /* Override any GCC internal prototype to avoid an error.
12610    Use char because int might match the return type of a GCC
12611    builtin and then its argument prototype would still apply.  */
12612 #ifdef __cplusplus
12613 extern "C"
12614 #endif
12615 char $ac_func ();
12616 /* The GNU C library defines this for functions which it implements
12617     to always fail with ENOSYS.  Some functions are actually named
12618     something starting with __ and the normal name is an alias.  */
12619 #if defined __stub_$ac_func || defined __stub___$ac_func
12620 choke me
12621 #endif
12622
12623 int
12624 main ()
12625 {
12626 return $ac_func ();
12627   ;
12628   return 0;
12629 }
12630 _ACEOF
12631 rm -f conftest.$ac_objext conftest$ac_exeext
12632 if { (ac_try="$ac_link"
12633 case "(($ac_try" in
12634   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635   *) ac_try_echo=$ac_try;;
12636 esac
12637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12638   (eval "$ac_link") 2>conftest.er1
12639   ac_status=$?
12640   grep -v '^ *+' conftest.er1 >conftest.err
12641   rm -f conftest.er1
12642   cat conftest.err >&5
12643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644   (exit $ac_status); } && {
12645          test -z "$ac_c_werror_flag" ||
12646          test ! -s conftest.err
12647        } && test -s conftest$ac_exeext &&
12648        $as_test_x conftest$ac_exeext; then
12649   eval "$as_ac_var=yes"
12650 else
12651   echo "$as_me: failed program was:" >&5
12652 sed 's/^/| /' conftest.$ac_ext >&5
12653
12654         eval "$as_ac_var=no"
12655 fi
12656
12657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12658       conftest$ac_exeext conftest.$ac_ext
12659 fi
12660 ac_res=`eval echo '${'$as_ac_var'}'`
12661                { echo "$as_me:$LINENO: result: $ac_res" >&5
12662 echo "${ECHO_T}$ac_res" >&6; }
12663 if test `eval echo '${'$as_ac_var'}'` = yes; then
12664   cat >>confdefs.h <<_ACEOF
12665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12666 _ACEOF
12667
12668 fi
12669 done
12670
12671 LIBS="$ac_save_LIBS"
12672 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12673   case "x$with_curses" in
12674   x)   wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12675   xno) ;;
12676   *)   { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12677 This is an error since --with-curses was requested." >&5
12678 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12679 This is an error since --with-curses was requested." >&2;}
12680    { (exit 1); exit 1; }; } ;;
12681 esac
12682 fi
12683
12684
12685 # Extract the first word of "sane-config", so it can be a program name with args.
12686 set dummy sane-config; ac_word=$2
12687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12689 if test "${ac_cv_prog_sane_devel+set}" = set; then
12690   echo $ECHO_N "(cached) $ECHO_C" >&6
12691 else
12692   if test -n "$sane_devel"; then
12693   ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12694 else
12695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12696 for as_dir in $PATH
12697 do
12698   IFS=$as_save_IFS
12699   test -z "$as_dir" && as_dir=.
12700   for ac_exec_ext in '' $ac_executable_extensions; do
12701   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12702     ac_cv_prog_sane_devel="sane-config"
12703     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12704     break 2
12705   fi
12706 done
12707 done
12708 IFS=$as_save_IFS
12709
12710   test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12711 fi
12712 fi
12713 sane_devel=$ac_cv_prog_sane_devel
12714 if test -n "$sane_devel"; then
12715   { echo "$as_me:$LINENO: result: $sane_devel" >&5
12716 echo "${ECHO_T}$sane_devel" >&6; }
12717 else
12718   { echo "$as_me:$LINENO: result: no" >&5
12719 echo "${ECHO_T}no" >&6; }
12720 fi
12721
12722
12723 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12724 then
12725     ac_sane_incl="`$sane_devel --cflags`"
12726     ac_save_CPPFLAGS="$CPPFLAGS"
12727     CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12728     if test "${ac_cv_header_sane_sane_h+set}" = set; then
12729   { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12730 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12731 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12732   echo $ECHO_N "(cached) $ECHO_C" >&6
12733 fi
12734 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12735 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12736 else
12737   # Is the header compilable?
12738 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12739 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12740 cat >conftest.$ac_ext <<_ACEOF
12741 /* confdefs.h.  */
12742 _ACEOF
12743 cat confdefs.h >>conftest.$ac_ext
12744 cat >>conftest.$ac_ext <<_ACEOF
12745 /* end confdefs.h.  */
12746 $ac_includes_default
12747 #include <sane/sane.h>
12748 _ACEOF
12749 rm -f conftest.$ac_objext
12750 if { (ac_try="$ac_compile"
12751 case "(($ac_try" in
12752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12753   *) ac_try_echo=$ac_try;;
12754 esac
12755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12756   (eval "$ac_compile") 2>conftest.er1
12757   ac_status=$?
12758   grep -v '^ *+' conftest.er1 >conftest.err
12759   rm -f conftest.er1
12760   cat conftest.err >&5
12761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762   (exit $ac_status); } && {
12763          test -z "$ac_c_werror_flag" ||
12764          test ! -s conftest.err
12765        } && test -s conftest.$ac_objext; then
12766   ac_header_compiler=yes
12767 else
12768   echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.$ac_ext >&5
12770
12771         ac_header_compiler=no
12772 fi
12773
12774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12775 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12776 echo "${ECHO_T}$ac_header_compiler" >&6; }
12777
12778 # Is the header present?
12779 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12780 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12781 cat >conftest.$ac_ext <<_ACEOF
12782 /* confdefs.h.  */
12783 _ACEOF
12784 cat confdefs.h >>conftest.$ac_ext
12785 cat >>conftest.$ac_ext <<_ACEOF
12786 /* end confdefs.h.  */
12787 #include <sane/sane.h>
12788 _ACEOF
12789 if { (ac_try="$ac_cpp conftest.$ac_ext"
12790 case "(($ac_try" in
12791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12792   *) ac_try_echo=$ac_try;;
12793 esac
12794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12795   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12796   ac_status=$?
12797   grep -v '^ *+' conftest.er1 >conftest.err
12798   rm -f conftest.er1
12799   cat conftest.err >&5
12800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12801   (exit $ac_status); } >/dev/null && {
12802          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12803          test ! -s conftest.err
12804        }; then
12805   ac_header_preproc=yes
12806 else
12807   echo "$as_me: failed program was:" >&5
12808 sed 's/^/| /' conftest.$ac_ext >&5
12809
12810   ac_header_preproc=no
12811 fi
12812
12813 rm -f conftest.err conftest.$ac_ext
12814 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12815 echo "${ECHO_T}$ac_header_preproc" >&6; }
12816
12817 # So?  What about this header?
12818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12819   yes:no: )
12820     { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12821 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12822     { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12823 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12824     ac_header_preproc=yes
12825     ;;
12826   no:yes:* )
12827     { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12828 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12829     { echo "$as_me:$LINENO: WARNING: sane/sane.h:     check for missing prerequisite headers?" >&5
12830 echo "$as_me: WARNING: sane/sane.h:     check for missing prerequisite headers?" >&2;}
12831     { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12832 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12833     { echo "$as_me:$LINENO: WARNING: sane/sane.h:     section \"Present But Cannot Be Compiled\"" >&5
12834 echo "$as_me: WARNING: sane/sane.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12835     { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12836 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12837     { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12838 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12839     ( cat <<\_ASBOX
12840 ## ------------------------------------ ##
12841 ## Report this to wine-devel@winehq.org ##
12842 ## ------------------------------------ ##
12843 _ASBOX
12844      ) | sed "s/^/$as_me: WARNING:     /" >&2
12845     ;;
12846 esac
12847 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12848 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12849 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12850   echo $ECHO_N "(cached) $ECHO_C" >&6
12851 else
12852   ac_cv_header_sane_sane_h=$ac_header_preproc
12853 fi
12854 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12855 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12856
12857 fi
12858 if test $ac_cv_header_sane_sane_h = yes; then
12859   { echo "$as_me:$LINENO: checking for -lsane" >&5
12860 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
12861 if test "${ac_cv_lib_soname_sane+set}" = set; then
12862   echo $ECHO_N "(cached) $ECHO_C" >&6
12863 else
12864   ac_check_soname_save_LIBS=$LIBS
12865 LIBS="-lsane  $LIBS"
12866   cat >conftest.$ac_ext <<_ACEOF
12867 /* confdefs.h.  */
12868 _ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h.  */
12872
12873 /* Override any GCC internal prototype to avoid an error.
12874    Use char because int might match the return type of a GCC
12875    builtin and then its argument prototype would still apply.  */
12876 #ifdef __cplusplus
12877 extern "C"
12878 #endif
12879 char sane_init ();
12880 int
12881 main ()
12882 {
12883 return sane_init ();
12884   ;
12885   return 0;
12886 }
12887 _ACEOF
12888 rm -f conftest.$ac_objext conftest$ac_exeext
12889 if { (ac_try="$ac_link"
12890 case "(($ac_try" in
12891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12892   *) ac_try_echo=$ac_try;;
12893 esac
12894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12895   (eval "$ac_link") 2>conftest.er1
12896   ac_status=$?
12897   grep -v '^ *+' conftest.er1 >conftest.err
12898   rm -f conftest.er1
12899   cat conftest.err >&5
12900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12901   (exit $ac_status); } && {
12902          test -z "$ac_c_werror_flag" ||
12903          test ! -s conftest.err
12904        } && test -s conftest$ac_exeext &&
12905        $as_test_x conftest$ac_exeext; then
12906   case "$LIBEXT" in
12907     dll) ;;
12908     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'` ;;
12909     *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
12910   esac
12911 else
12912   echo "$as_me: failed program was:" >&5
12913 sed 's/^/| /' conftest.$ac_ext >&5
12914
12915
12916 fi
12917
12918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12919       conftest$ac_exeext conftest.$ac_ext
12920   LIBS=$ac_check_soname_save_LIBS
12921 fi
12922 if test "x$ac_cv_lib_soname_sane" = "x"; then
12923   { echo "$as_me:$LINENO: result: not found" >&5
12924 echo "${ECHO_T}not found" >&6; }
12925
12926 else
12927   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
12928 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
12929
12930 cat >>confdefs.h <<_ACEOF
12931 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12932 _ACEOF
12933
12934        SANEINCL="$ac_sane_incl"
12935
12936 fi
12937
12938 fi
12939
12940
12941     CPPFLAGS="$ac_save_CPPFLAGS"
12942 fi
12943 if test "x$ac_cv_lib_soname_sane" = "x"; then
12944   case "x$with_sane" in
12945   x)   wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
12946   xno) ;;
12947   *)   { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
12948 This is an error since --with-sane was requested." >&5
12949 echo "$as_me: error: libsane development files not found, scanners won't be supported.
12950 This is an error since --with-sane was requested." >&2;}
12951    { (exit 1); exit 1; }; } ;;
12952 esac
12953 fi
12954
12955
12956 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12957 set dummy gphoto2-config; ac_word=$2
12958 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12960 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12961   echo $ECHO_N "(cached) $ECHO_C" >&6
12962 else
12963   if test -n "$gphoto2_devel"; then
12964   ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12965 else
12966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12967 for as_dir in $PATH
12968 do
12969   IFS=$as_save_IFS
12970   test -z "$as_dir" && as_dir=.
12971   for ac_exec_ext in '' $ac_executable_extensions; do
12972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12973     ac_cv_prog_gphoto2_devel="gphoto2-config"
12974     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12975     break 2
12976   fi
12977 done
12978 done
12979 IFS=$as_save_IFS
12980
12981   test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12982 fi
12983 fi
12984 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12985 if test -n "$gphoto2_devel"; then
12986   { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12987 echo "${ECHO_T}$gphoto2_devel" >&6; }
12988 else
12989   { echo "$as_me:$LINENO: result: no" >&5
12990 echo "${ECHO_T}no" >&6; }
12991 fi
12992
12993
12994 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12995 set dummy gphoto2-port-config; ac_word=$2
12996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12998 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12999   echo $ECHO_N "(cached) $ECHO_C" >&6
13000 else
13001   if test -n "$gphoto2port_devel"; then
13002   ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13003 else
13004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13005 for as_dir in $PATH
13006 do
13007   IFS=$as_save_IFS
13008   test -z "$as_dir" && as_dir=.
13009   for ac_exec_ext in '' $ac_executable_extensions; do
13010   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13011     ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13012     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13013     break 2
13014   fi
13015 done
13016 done
13017 IFS=$as_save_IFS
13018
13019   test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13020 fi
13021 fi
13022 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13023 if test -n "$gphoto2port_devel"; then
13024   { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13025 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13026 else
13027   { echo "$as_me:$LINENO: result: no" >&5
13028 echo "${ECHO_T}no" >&6; }
13029 fi
13030
13031
13032 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13033 then
13034     ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13035     ac_gphoto2_libs=""
13036     for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13037     do
13038       case "$i" in
13039         -L/usr/lib|-L/usr/lib64) ;;
13040         -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13041       esac
13042     done
13043     ac_save_CPPFLAGS="$CPPFLAGS"
13044     CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13045     if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13046   { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13047 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13048 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13049   echo $ECHO_N "(cached) $ECHO_C" >&6
13050 fi
13051 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13052 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13053 else
13054   # Is the header compilable?
13055 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13056 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13057 cat >conftest.$ac_ext <<_ACEOF
13058 /* confdefs.h.  */
13059 _ACEOF
13060 cat confdefs.h >>conftest.$ac_ext
13061 cat >>conftest.$ac_ext <<_ACEOF
13062 /* end confdefs.h.  */
13063 $ac_includes_default
13064 #include <gphoto2-camera.h>
13065 _ACEOF
13066 rm -f conftest.$ac_objext
13067 if { (ac_try="$ac_compile"
13068 case "(($ac_try" in
13069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13070   *) ac_try_echo=$ac_try;;
13071 esac
13072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13073   (eval "$ac_compile") 2>conftest.er1
13074   ac_status=$?
13075   grep -v '^ *+' conftest.er1 >conftest.err
13076   rm -f conftest.er1
13077   cat conftest.err >&5
13078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13079   (exit $ac_status); } && {
13080          test -z "$ac_c_werror_flag" ||
13081          test ! -s conftest.err
13082        } && test -s conftest.$ac_objext; then
13083   ac_header_compiler=yes
13084 else
13085   echo "$as_me: failed program was:" >&5
13086 sed 's/^/| /' conftest.$ac_ext >&5
13087
13088         ac_header_compiler=no
13089 fi
13090
13091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13092 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13093 echo "${ECHO_T}$ac_header_compiler" >&6; }
13094
13095 # Is the header present?
13096 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13097 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13098 cat >conftest.$ac_ext <<_ACEOF
13099 /* confdefs.h.  */
13100 _ACEOF
13101 cat confdefs.h >>conftest.$ac_ext
13102 cat >>conftest.$ac_ext <<_ACEOF
13103 /* end confdefs.h.  */
13104 #include <gphoto2-camera.h>
13105 _ACEOF
13106 if { (ac_try="$ac_cpp conftest.$ac_ext"
13107 case "(($ac_try" in
13108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13109   *) ac_try_echo=$ac_try;;
13110 esac
13111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13112   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13113   ac_status=$?
13114   grep -v '^ *+' conftest.er1 >conftest.err
13115   rm -f conftest.er1
13116   cat conftest.err >&5
13117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13118   (exit $ac_status); } >/dev/null && {
13119          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13120          test ! -s conftest.err
13121        }; then
13122   ac_header_preproc=yes
13123 else
13124   echo "$as_me: failed program was:" >&5
13125 sed 's/^/| /' conftest.$ac_ext >&5
13126
13127   ac_header_preproc=no
13128 fi
13129
13130 rm -f conftest.err conftest.$ac_ext
13131 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13132 echo "${ECHO_T}$ac_header_preproc" >&6; }
13133
13134 # So?  What about this header?
13135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13136   yes:no: )
13137     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13138 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13139     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13140 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13141     ac_header_preproc=yes
13142     ;;
13143   no:yes:* )
13144     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13145 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13146     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h:     check for missing prerequisite headers?" >&5
13147 echo "$as_me: WARNING: gphoto2-camera.h:     check for missing prerequisite headers?" >&2;}
13148     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13149 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13150     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h:     section \"Present But Cannot Be Compiled\"" >&5
13151 echo "$as_me: WARNING: gphoto2-camera.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13152     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13153 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13154     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13155 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13156     ( cat <<\_ASBOX
13157 ## ------------------------------------ ##
13158 ## Report this to wine-devel@winehq.org ##
13159 ## ------------------------------------ ##
13160 _ASBOX
13161      ) | sed "s/^/$as_me: WARNING:     /" >&2
13162     ;;
13163 esac
13164 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13165 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13166 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13167   echo $ECHO_N "(cached) $ECHO_C" >&6
13168 else
13169   ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13170 fi
13171 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13172 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13173
13174 fi
13175 if test $ac_cv_header_gphoto2_camera_h = yes; then
13176   { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13177 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13178 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13179   echo $ECHO_N "(cached) $ECHO_C" >&6
13180 else
13181   ac_check_lib_save_LIBS=$LIBS
13182 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13183 cat >conftest.$ac_ext <<_ACEOF
13184 /* confdefs.h.  */
13185 _ACEOF
13186 cat confdefs.h >>conftest.$ac_ext
13187 cat >>conftest.$ac_ext <<_ACEOF
13188 /* end confdefs.h.  */
13189
13190 /* Override any GCC internal prototype to avoid an error.
13191    Use char because int might match the return type of a GCC
13192    builtin and then its argument prototype would still apply.  */
13193 #ifdef __cplusplus
13194 extern "C"
13195 #endif
13196 char gp_camera_new ();
13197 int
13198 main ()
13199 {
13200 return gp_camera_new ();
13201   ;
13202   return 0;
13203 }
13204 _ACEOF
13205 rm -f conftest.$ac_objext conftest$ac_exeext
13206 if { (ac_try="$ac_link"
13207 case "(($ac_try" in
13208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13209   *) ac_try_echo=$ac_try;;
13210 esac
13211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13212   (eval "$ac_link") 2>conftest.er1
13213   ac_status=$?
13214   grep -v '^ *+' conftest.er1 >conftest.err
13215   rm -f conftest.er1
13216   cat conftest.err >&5
13217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13218   (exit $ac_status); } && {
13219          test -z "$ac_c_werror_flag" ||
13220          test ! -s conftest.err
13221        } && test -s conftest$ac_exeext &&
13222        $as_test_x conftest$ac_exeext; then
13223   ac_cv_lib_gphoto2_gp_camera_new=yes
13224 else
13225   echo "$as_me: failed program was:" >&5
13226 sed 's/^/| /' conftest.$ac_ext >&5
13227
13228         ac_cv_lib_gphoto2_gp_camera_new=no
13229 fi
13230
13231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13232       conftest$ac_exeext conftest.$ac_ext
13233 LIBS=$ac_check_lib_save_LIBS
13234 fi
13235 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13236 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13237 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13238
13239 cat >>confdefs.h <<\_ACEOF
13240 #define HAVE_GPHOTO2 1
13241 _ACEOF
13242
13243                                    GPHOTO2LIBS="$ac_gphoto2_libs"
13244
13245                                    GPHOTO2INCL="$ac_gphoto2_incl"
13246
13247 fi
13248
13249 fi
13250
13251
13252     CPPFLAGS="$ac_save_CPPFLAGS"
13253 fi
13254 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13255   case "x$with_gphoto" in
13256   x)   wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13257   xno) ;;
13258   *)   { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13259 This is an error since --with-gphoto was requested." >&5
13260 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13261 This is an error since --with-gphoto was requested." >&2;}
13262    { (exit 1); exit 1; }; } ;;
13263 esac
13264 fi
13265
13266
13267
13268 RESOLVLIBS=""
13269
13270 if test "$ac_cv_header_resolv_h" = "yes"
13271 then
13272     { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13273 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13274 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13275   echo $ECHO_N "(cached) $ECHO_C" >&6
13276 else
13277   ac_check_lib_save_LIBS=$LIBS
13278 LIBS="-lresolv  $LIBS"
13279 cat >conftest.$ac_ext <<_ACEOF
13280 /* confdefs.h.  */
13281 _ACEOF
13282 cat confdefs.h >>conftest.$ac_ext
13283 cat >>conftest.$ac_ext <<_ACEOF
13284 /* end confdefs.h.  */
13285
13286 /* Override any GCC internal prototype to avoid an error.
13287    Use char because int might match the return type of a GCC
13288    builtin and then its argument prototype would still apply.  */
13289 #ifdef __cplusplus
13290 extern "C"
13291 #endif
13292 char res_query ();
13293 int
13294 main ()
13295 {
13296 return res_query ();
13297   ;
13298   return 0;
13299 }
13300 _ACEOF
13301 rm -f conftest.$ac_objext conftest$ac_exeext
13302 if { (ac_try="$ac_link"
13303 case "(($ac_try" in
13304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13305   *) ac_try_echo=$ac_try;;
13306 esac
13307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13308   (eval "$ac_link") 2>conftest.er1
13309   ac_status=$?
13310   grep -v '^ *+' conftest.er1 >conftest.err
13311   rm -f conftest.er1
13312   cat conftest.err >&5
13313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314   (exit $ac_status); } && {
13315          test -z "$ac_c_werror_flag" ||
13316          test ! -s conftest.err
13317        } && test -s conftest$ac_exeext &&
13318        $as_test_x conftest$ac_exeext; then
13319   ac_cv_lib_resolv_res_query=yes
13320 else
13321   echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324         ac_cv_lib_resolv_res_query=no
13325 fi
13326
13327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13328       conftest$ac_exeext conftest.$ac_ext
13329 LIBS=$ac_check_lib_save_LIBS
13330 fi
13331 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13332 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13333 if test $ac_cv_lib_resolv_res_query = yes; then
13334
13335 cat >>confdefs.h <<\_ACEOF
13336 #define HAVE_RESOLV 1
13337 _ACEOF
13338
13339          RESOLVLIBS="-lresolv"
13340 fi
13341
13342 fi
13343
13344 LCMSLIBS=""
13345
13346 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13347 then
13348     { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13349 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13350 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13351   echo $ECHO_N "(cached) $ECHO_C" >&6
13352 else
13353   ac_check_lib_save_LIBS=$LIBS
13354 LIBS="-llcms  $LIBS"
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h.  */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h.  */
13361
13362 /* Override any GCC internal prototype to avoid an error.
13363    Use char because int might match the return type of a GCC
13364    builtin and then its argument prototype would still apply.  */
13365 #ifdef __cplusplus
13366 extern "C"
13367 #endif
13368 char cmsOpenProfileFromFile ();
13369 int
13370 main ()
13371 {
13372 return cmsOpenProfileFromFile ();
13373   ;
13374   return 0;
13375 }
13376 _ACEOF
13377 rm -f conftest.$ac_objext conftest$ac_exeext
13378 if { (ac_try="$ac_link"
13379 case "(($ac_try" in
13380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13381   *) ac_try_echo=$ac_try;;
13382 esac
13383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13384   (eval "$ac_link") 2>conftest.er1
13385   ac_status=$?
13386   grep -v '^ *+' conftest.er1 >conftest.err
13387   rm -f conftest.er1
13388   cat conftest.err >&5
13389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13390   (exit $ac_status); } && {
13391          test -z "$ac_c_werror_flag" ||
13392          test ! -s conftest.err
13393        } && test -s conftest$ac_exeext &&
13394        $as_test_x conftest$ac_exeext; then
13395   ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13396 else
13397   echo "$as_me: failed program was:" >&5
13398 sed 's/^/| /' conftest.$ac_ext >&5
13399
13400         ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13401 fi
13402
13403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13404       conftest$ac_exeext conftest.$ac_ext
13405 LIBS=$ac_check_lib_save_LIBS
13406 fi
13407 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13408 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13409 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13410
13411 cat >>confdefs.h <<\_ACEOF
13412 #define HAVE_LCMS 1
13413 _ACEOF
13414
13415          LCMSLIBS="-llcms"
13416 fi
13417
13418 fi
13419 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13420   case "x$with_cms" in
13421   x)   wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13422   xno) ;;
13423   *)   { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13424 This is an error since --with-cms was requested." >&5
13425 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13426 This is an error since --with-cms was requested." >&2;}
13427    { (exit 1); exit 1; }; } ;;
13428 esac
13429 fi
13430
13431
13432 LDAPLIBS=""
13433
13434 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13435 then
13436     { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13437 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13438 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13439   echo $ECHO_N "(cached) $ECHO_C" >&6
13440 else
13441   ac_check_lib_save_LIBS=$LIBS
13442 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13443 cat >conftest.$ac_ext <<_ACEOF
13444 /* confdefs.h.  */
13445 _ACEOF
13446 cat confdefs.h >>conftest.$ac_ext
13447 cat >>conftest.$ac_ext <<_ACEOF
13448 /* end confdefs.h.  */
13449
13450 /* Override any GCC internal prototype to avoid an error.
13451    Use char because int might match the return type of a GCC
13452    builtin and then its argument prototype would still apply.  */
13453 #ifdef __cplusplus
13454 extern "C"
13455 #endif
13456 char ldap_initialize ();
13457 int
13458 main ()
13459 {
13460 return ldap_initialize ();
13461   ;
13462   return 0;
13463 }
13464 _ACEOF
13465 rm -f conftest.$ac_objext conftest$ac_exeext
13466 if { (ac_try="$ac_link"
13467 case "(($ac_try" in
13468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13469   *) ac_try_echo=$ac_try;;
13470 esac
13471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13472   (eval "$ac_link") 2>conftest.er1
13473   ac_status=$?
13474   grep -v '^ *+' conftest.er1 >conftest.err
13475   rm -f conftest.er1
13476   cat conftest.err >&5
13477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478   (exit $ac_status); } && {
13479          test -z "$ac_c_werror_flag" ||
13480          test ! -s conftest.err
13481        } && test -s conftest$ac_exeext &&
13482        $as_test_x conftest$ac_exeext; then
13483   ac_cv_lib_ldap_r_ldap_initialize=yes
13484 else
13485   echo "$as_me: failed program was:" >&5
13486 sed 's/^/| /' conftest.$ac_ext >&5
13487
13488         ac_cv_lib_ldap_r_ldap_initialize=no
13489 fi
13490
13491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13492       conftest$ac_exeext conftest.$ac_ext
13493 LIBS=$ac_check_lib_save_LIBS
13494 fi
13495 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13496 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13497 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13498   { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13499 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13500 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13501   echo $ECHO_N "(cached) $ECHO_C" >&6
13502 else
13503   ac_check_lib_save_LIBS=$LIBS
13504 LIBS="-llber $LIBPTHREAD $LIBS"
13505 cat >conftest.$ac_ext <<_ACEOF
13506 /* confdefs.h.  */
13507 _ACEOF
13508 cat confdefs.h >>conftest.$ac_ext
13509 cat >>conftest.$ac_ext <<_ACEOF
13510 /* end confdefs.h.  */
13511
13512 /* Override any GCC internal prototype to avoid an error.
13513    Use char because int might match the return type of a GCC
13514    builtin and then its argument prototype would still apply.  */
13515 #ifdef __cplusplus
13516 extern "C"
13517 #endif
13518 char ber_init ();
13519 int
13520 main ()
13521 {
13522 return ber_init ();
13523   ;
13524   return 0;
13525 }
13526 _ACEOF
13527 rm -f conftest.$ac_objext conftest$ac_exeext
13528 if { (ac_try="$ac_link"
13529 case "(($ac_try" in
13530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13531   *) ac_try_echo=$ac_try;;
13532 esac
13533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13534   (eval "$ac_link") 2>conftest.er1
13535   ac_status=$?
13536   grep -v '^ *+' conftest.er1 >conftest.err
13537   rm -f conftest.er1
13538   cat conftest.err >&5
13539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13540   (exit $ac_status); } && {
13541          test -z "$ac_c_werror_flag" ||
13542          test ! -s conftest.err
13543        } && test -s conftest$ac_exeext &&
13544        $as_test_x conftest$ac_exeext; then
13545   ac_cv_lib_lber_ber_init=yes
13546 else
13547   echo "$as_me: failed program was:" >&5
13548 sed 's/^/| /' conftest.$ac_ext >&5
13549
13550         ac_cv_lib_lber_ber_init=no
13551 fi
13552
13553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13554       conftest$ac_exeext conftest.$ac_ext
13555 LIBS=$ac_check_lib_save_LIBS
13556 fi
13557 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13558 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13559 if test $ac_cv_lib_lber_ber_init = yes; then
13560
13561 cat >>confdefs.h <<\_ACEOF
13562 #define HAVE_LDAP 1
13563 _ACEOF
13564
13565              LDAPLIBS="-lldap_r -llber"
13566 fi
13567
13568 fi
13569
13570     ac_wine_check_funcs_save_LIBS="$LIBS"
13571 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13572
13573
13574
13575
13576
13577
13578
13579
13580 for ac_func in \
13581         ldap_count_references \
13582         ldap_first_reference \
13583         ldap_next_reference \
13584         ldap_parse_reference \
13585         ldap_parse_sort_control \
13586         ldap_parse_sortresponse_control \
13587         ldap_parse_vlv_control \
13588         ldap_parse_vlvresponse_control
13589 do
13590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13591 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13593 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13594   echo $ECHO_N "(cached) $ECHO_C" >&6
13595 else
13596   cat >conftest.$ac_ext <<_ACEOF
13597 /* confdefs.h.  */
13598 _ACEOF
13599 cat confdefs.h >>conftest.$ac_ext
13600 cat >>conftest.$ac_ext <<_ACEOF
13601 /* end confdefs.h.  */
13602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13604 #define $ac_func innocuous_$ac_func
13605
13606 /* System header to define __stub macros and hopefully few prototypes,
13607     which can conflict with char $ac_func (); below.
13608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13609     <limits.h> exists even on freestanding compilers.  */
13610
13611 #ifdef __STDC__
13612 # include <limits.h>
13613 #else
13614 # include <assert.h>
13615 #endif
13616
13617 #undef $ac_func
13618
13619 /* Override any GCC internal prototype to avoid an error.
13620    Use char because int might match the return type of a GCC
13621    builtin and then its argument prototype would still apply.  */
13622 #ifdef __cplusplus
13623 extern "C"
13624 #endif
13625 char $ac_func ();
13626 /* The GNU C library defines this for functions which it implements
13627     to always fail with ENOSYS.  Some functions are actually named
13628     something starting with __ and the normal name is an alias.  */
13629 #if defined __stub_$ac_func || defined __stub___$ac_func
13630 choke me
13631 #endif
13632
13633 int
13634 main ()
13635 {
13636 return $ac_func ();
13637   ;
13638   return 0;
13639 }
13640 _ACEOF
13641 rm -f conftest.$ac_objext conftest$ac_exeext
13642 if { (ac_try="$ac_link"
13643 case "(($ac_try" in
13644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13645   *) ac_try_echo=$ac_try;;
13646 esac
13647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13648   (eval "$ac_link") 2>conftest.er1
13649   ac_status=$?
13650   grep -v '^ *+' conftest.er1 >conftest.err
13651   rm -f conftest.er1
13652   cat conftest.err >&5
13653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13654   (exit $ac_status); } && {
13655          test -z "$ac_c_werror_flag" ||
13656          test ! -s conftest.err
13657        } && test -s conftest$ac_exeext &&
13658        $as_test_x conftest$ac_exeext; then
13659   eval "$as_ac_var=yes"
13660 else
13661   echo "$as_me: failed program was:" >&5
13662 sed 's/^/| /' conftest.$ac_ext >&5
13663
13664         eval "$as_ac_var=no"
13665 fi
13666
13667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13668       conftest$ac_exeext conftest.$ac_ext
13669 fi
13670 ac_res=`eval echo '${'$as_ac_var'}'`
13671                { echo "$as_me:$LINENO: result: $ac_res" >&5
13672 echo "${ECHO_T}$ac_res" >&6; }
13673 if test `eval echo '${'$as_ac_var'}'` = yes; then
13674   cat >>confdefs.h <<_ACEOF
13675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13676 _ACEOF
13677
13678 fi
13679 done
13680
13681 LIBS="$ac_wine_check_funcs_save_LIBS"
13682 fi
13683 if test "x$LDAPLIBS" = "x"; then
13684   case "x$with_ldap" in
13685   x)   wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13686   xno) ;;
13687   *)   { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13688 This is an error since --with-ldap was requested." >&5
13689 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13690 This is an error since --with-ldap was requested." >&2;}
13691    { (exit 1); exit 1; }; } ;;
13692 esac
13693 fi
13694
13695
13696 for ac_prog in freetype-config freetype2-config
13697 do
13698   # Extract the first word of "$ac_prog", so it can be a program name with args.
13699 set dummy $ac_prog; ac_word=$2
13700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13702 if test "${ac_cv_prog_ft_devel+set}" = set; then
13703   echo $ECHO_N "(cached) $ECHO_C" >&6
13704 else
13705   if test -n "$ft_devel"; then
13706   ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13707 else
13708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13709 for as_dir in $PATH
13710 do
13711   IFS=$as_save_IFS
13712   test -z "$as_dir" && as_dir=.
13713   for ac_exec_ext in '' $ac_executable_extensions; do
13714   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13715     ac_cv_prog_ft_devel="$ac_prog"
13716     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13717     break 2
13718   fi
13719 done
13720 done
13721 IFS=$as_save_IFS
13722
13723 fi
13724 fi
13725 ft_devel=$ac_cv_prog_ft_devel
13726 if test -n "$ft_devel"; then
13727   { echo "$as_me:$LINENO: result: $ft_devel" >&5
13728 echo "${ECHO_T}$ft_devel" >&6; }
13729 else
13730   { echo "$as_me:$LINENO: result: no" >&5
13731 echo "${ECHO_T}no" >&6; }
13732 fi
13733
13734
13735   test -n "$ft_devel" && break
13736 done
13737 test -n "$ft_devel" || ft_devel="false"
13738
13739 if test "$ft_devel" != "false"
13740 then
13741     ac_freetype_libs=`$ft_devel --libs`
13742     ac_freetype_incl=`$ft_devel --cflags`
13743     { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13744 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13745 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13746   echo $ECHO_N "(cached) $ECHO_C" >&6
13747 else
13748   ac_check_soname_save_LIBS=$LIBS
13749 LIBS="-lfreetype $ac_freetype_libs $LIBS"
13750   cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h.  */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h.  */
13756
13757 /* Override any GCC internal prototype to avoid an error.
13758    Use char because int might match the return type of a GCC
13759    builtin and then its argument prototype would still apply.  */
13760 #ifdef __cplusplus
13761 extern "C"
13762 #endif
13763 char FT_Init_FreeType ();
13764 int
13765 main ()
13766 {
13767 return FT_Init_FreeType ();
13768   ;
13769   return 0;
13770 }
13771 _ACEOF
13772 rm -f conftest.$ac_objext conftest$ac_exeext
13773 if { (ac_try="$ac_link"
13774 case "(($ac_try" in
13775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13776   *) ac_try_echo=$ac_try;;
13777 esac
13778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13779   (eval "$ac_link") 2>conftest.er1
13780   ac_status=$?
13781   grep -v '^ *+' conftest.er1 >conftest.err
13782   rm -f conftest.er1
13783   cat conftest.err >&5
13784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13785   (exit $ac_status); } && {
13786          test -z "$ac_c_werror_flag" ||
13787          test ! -s conftest.err
13788        } && test -s conftest$ac_exeext &&
13789        $as_test_x conftest$ac_exeext; then
13790   case "$LIBEXT" in
13791     dll) ;;
13792     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'` ;;
13793     *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^      ]*\).*$/\1/"';2,$d'` ;;
13794   esac
13795 else
13796   echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13798
13799
13800 fi
13801
13802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13803       conftest$ac_exeext conftest.$ac_ext
13804   LIBS=$ac_check_soname_save_LIBS
13805 fi
13806 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13807   { echo "$as_me:$LINENO: result: not found" >&5
13808 echo "${ECHO_T}not found" >&6; }
13809        ft_lib=no
13810 else
13811   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13812 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13813
13814 cat >>confdefs.h <<_ACEOF
13815 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13816 _ACEOF
13817
13818        ft_lib=yes
13819 fi
13820
13821     if test "$ft_lib" = "yes"
13822     then
13823         ac_save_CPPFLAGS="$CPPFLAGS"
13824         CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837 for ac_header in ft2build.h \
13838                          freetype/freetype.h \
13839                          freetype/ftglyph.h \
13840                          freetype/fttypes.h \
13841                          freetype/tttables.h \
13842                          freetype/ftnames.h \
13843                          freetype/ftsnames.h \
13844                          freetype/ttnameid.h \
13845                          freetype/ftoutln.h \
13846                          freetype/ftwinfnt.h \
13847                          freetype/ftmodapi.h \
13848                          freetype/internal/sfnt.h
13849 do
13850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
13852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
13853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
13854   echo $ECHO_N "(cached) $ECHO_C" >&6
13855 else
13856   cat >conftest.$ac_ext <<_ACEOF
13857 /* confdefs.h.  */
13858 _ACEOF
13859 cat confdefs.h >>conftest.$ac_ext
13860 cat >>conftest.$ac_ext <<_ACEOF
13861 /* end confdefs.h.  */
13862 #ifdef HAVE_FT2BUILD_H
13863                           # include <ft2build.h>
13864                           #endif
13865
13866 #include <$ac_header>
13867 _ACEOF
13868 rm -f conftest.$ac_objext
13869 if { (ac_try="$ac_compile"
13870 case "(($ac_try" in
13871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13872   *) ac_try_echo=$ac_try;;
13873 esac
13874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13875   (eval "$ac_compile") 2>conftest.er1
13876   ac_status=$?
13877   grep -v '^ *+' conftest.er1 >conftest.err
13878   rm -f conftest.er1
13879   cat conftest.err >&5
13880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881   (exit $ac_status); } && {
13882          test -z "$ac_c_werror_flag" ||
13883          test ! -s conftest.err
13884        } && test -s conftest.$ac_objext; then
13885   eval "$as_ac_Header=yes"
13886 else
13887   echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.$ac_ext >&5
13889
13890         eval "$as_ac_Header=no"
13891 fi
13892
13893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13894 fi
13895 ac_res=`eval echo '${'$as_ac_Header'}'`
13896                { echo "$as_me:$LINENO: result: $ac_res" >&5
13897 echo "${ECHO_T}$ac_res" >&6; }
13898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13899   cat >>confdefs.h <<_ACEOF
13900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13901 _ACEOF
13902
13903 fi
13904
13905 done
13906
13907         cat >conftest.$ac_ext <<_ACEOF
13908 /* confdefs.h.  */
13909 _ACEOF
13910 cat confdefs.h >>conftest.$ac_ext
13911 cat >>conftest.$ac_ext <<_ACEOF
13912 /* end confdefs.h.  */
13913 #include <ft2build.h>
13914                     #include <freetype/fttrigon.h>
13915 _ACEOF
13916 if { (ac_try="$ac_cpp conftest.$ac_ext"
13917 case "(($ac_try" in
13918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13919   *) ac_try_echo=$ac_try;;
13920 esac
13921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13922   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13923   ac_status=$?
13924   grep -v '^ *+' conftest.er1 >conftest.err
13925   rm -f conftest.er1
13926   cat conftest.err >&5
13927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928   (exit $ac_status); } >/dev/null && {
13929          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13930          test ! -s conftest.err
13931        }; then
13932
13933 cat >>confdefs.h <<\_ACEOF
13934 #define HAVE_FREETYPE_FTTRIGON_H 1
13935 _ACEOF
13936
13937                     wine_cv_fttrigon=yes
13938 else
13939   echo "$as_me: failed program was:" >&5
13940 sed 's/^/| /' conftest.$ac_ext >&5
13941
13942   wine_cv_fttrigon=no
13943 fi
13944
13945 rm -f conftest.err conftest.$ac_ext
13946         { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13947 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13948 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13949   echo $ECHO_N "(cached) $ECHO_C" >&6
13950 else
13951   cat >conftest.$ac_ext <<_ACEOF
13952 /* confdefs.h.  */
13953 _ACEOF
13954 cat confdefs.h >>conftest.$ac_ext
13955 cat >>conftest.$ac_ext <<_ACEOF
13956 /* end confdefs.h.  */
13957 #include <freetype/ftmodapi.h>
13958
13959 typedef FT_TrueTypeEngineType ac__type_new_;
13960 int
13961 main ()
13962 {
13963 if ((ac__type_new_ *) 0)
13964   return 0;
13965 if (sizeof (ac__type_new_))
13966   return 0;
13967   ;
13968   return 0;
13969 }
13970 _ACEOF
13971 rm -f conftest.$ac_objext
13972 if { (ac_try="$ac_compile"
13973 case "(($ac_try" in
13974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13975   *) ac_try_echo=$ac_try;;
13976 esac
13977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13978   (eval "$ac_compile") 2>conftest.er1
13979   ac_status=$?
13980   grep -v '^ *+' conftest.er1 >conftest.err
13981   rm -f conftest.er1
13982   cat conftest.err >&5
13983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13984   (exit $ac_status); } && {
13985          test -z "$ac_c_werror_flag" ||
13986          test ! -s conftest.err
13987        } && test -s conftest.$ac_objext; then
13988   ac_cv_type_FT_TrueTypeEngineType=yes
13989 else
13990   echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.$ac_ext >&5
13992
13993         ac_cv_type_FT_TrueTypeEngineType=no
13994 fi
13995
13996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13997 fi
13998 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13999 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14000 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14001
14002 cat >>confdefs.h <<_ACEOF
14003 #define HAVE_FT_TRUETYPEENGINETYPE 1
14004 _ACEOF
14005
14006
14007 fi
14008
14009         ac_save_CFLAGS="$CFLAGS"
14010         CFLAGS="$CFLAGS $ac_freetype_libs"
14011
14012 for ac_func in FT_Load_Sfnt_Table
14013 do
14014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14018   echo $ECHO_N "(cached) $ECHO_C" >&6
14019 else
14020   cat >conftest.$ac_ext <<_ACEOF
14021 /* confdefs.h.  */
14022 _ACEOF
14023 cat confdefs.h >>conftest.$ac_ext
14024 cat >>conftest.$ac_ext <<_ACEOF
14025 /* end confdefs.h.  */
14026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14027    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14028 #define $ac_func innocuous_$ac_func
14029
14030 /* System header to define __stub macros and hopefully few prototypes,
14031     which can conflict with char $ac_func (); below.
14032     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14033     <limits.h> exists even on freestanding compilers.  */
14034
14035 #ifdef __STDC__
14036 # include <limits.h>
14037 #else
14038 # include <assert.h>
14039 #endif
14040
14041 #undef $ac_func
14042
14043 /* Override any GCC internal prototype to avoid an error.
14044    Use char because int might match the return type of a GCC
14045    builtin and then its argument prototype would still apply.  */
14046 #ifdef __cplusplus
14047 extern "C"
14048 #endif
14049 char $ac_func ();
14050 /* The GNU C library defines this for functions which it implements
14051     to always fail with ENOSYS.  Some functions are actually named
14052     something starting with __ and the normal name is an alias.  */
14053 #if defined __stub_$ac_func || defined __stub___$ac_func
14054 choke me
14055 #endif
14056
14057 int
14058 main ()
14059 {
14060 return $ac_func ();
14061   ;
14062   return 0;
14063 }
14064 _ACEOF
14065 rm -f conftest.$ac_objext conftest$ac_exeext
14066 if { (ac_try="$ac_link"
14067 case "(($ac_try" in
14068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14069   *) ac_try_echo=$ac_try;;
14070 esac
14071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14072   (eval "$ac_link") 2>conftest.er1
14073   ac_status=$?
14074   grep -v '^ *+' conftest.er1 >conftest.err
14075   rm -f conftest.er1
14076   cat conftest.err >&5
14077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078   (exit $ac_status); } && {
14079          test -z "$ac_c_werror_flag" ||
14080          test ! -s conftest.err
14081        } && test -s conftest$ac_exeext &&
14082        $as_test_x conftest$ac_exeext; then
14083   eval "$as_ac_var=yes"
14084 else
14085   echo "$as_me: failed program was:" >&5
14086 sed 's/^/| /' conftest.$ac_ext >&5
14087
14088         eval "$as_ac_var=no"
14089 fi
14090
14091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14092       conftest$ac_exeext conftest.$ac_ext
14093 fi
14094 ac_res=`eval echo '${'$as_ac_var'}'`
14095                { echo "$as_me:$LINENO: result: $ac_res" >&5
14096 echo "${ECHO_T}$ac_res" >&6; }
14097 if test `eval echo '${'$as_ac_var'}'` = yes; then
14098   cat >>confdefs.h <<_ACEOF
14099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14100 _ACEOF
14101
14102 fi
14103 done
14104
14105         CFLAGS="$ac_save_CFLAGS"
14106         CPPFLAGS="$ac_save_CPPFLAGS"
14107                 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14108         then
14109
14110 cat >>confdefs.h <<\_ACEOF
14111 #define HAVE_FREETYPE 1
14112 _ACEOF
14113
14114             FREETYPELIBS="$ac_freetype_libs"
14115
14116             FREETYPEINCL="$ac_freetype_incl"
14117
14118         fi
14119     fi
14120 fi
14121
14122 if test "x$FREETYPELIBS" = "x"
14123 then
14124     wine_warnings="$wine_warnings|FreeType development files not found.
14125 Fonts will not be built. Dialog text may be invisible or unaligned."
14126 else
14127   FONTSSUBDIRS="fonts"
14128
14129 fi
14130
14131 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14132 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14133 if test "${ac_cv_c_ppdev+set}" = set; then
14134   echo $ECHO_N "(cached) $ECHO_C" >&6
14135 else
14136   cat >conftest.$ac_ext <<_ACEOF
14137 /* confdefs.h.  */
14138 _ACEOF
14139 cat confdefs.h >>conftest.$ac_ext
14140 cat >>conftest.$ac_ext <<_ACEOF
14141 /* end confdefs.h.  */
14142 #include <linux/ppdev.h>
14143 int
14144 main ()
14145 {
14146 ioctl (1,PPCLAIM,0)
14147   ;
14148   return 0;
14149 }
14150 _ACEOF
14151 rm -f conftest.$ac_objext
14152 if { (ac_try="$ac_compile"
14153 case "(($ac_try" in
14154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14155   *) ac_try_echo=$ac_try;;
14156 esac
14157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14158   (eval "$ac_compile") 2>conftest.er1
14159   ac_status=$?
14160   grep -v '^ *+' conftest.er1 >conftest.err
14161   rm -f conftest.er1
14162   cat conftest.err >&5
14163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164   (exit $ac_status); } && {
14165          test -z "$ac_c_werror_flag" ||
14166          test ! -s conftest.err
14167        } && test -s conftest.$ac_objext; then
14168   ac_cv_c_ppdev="yes"
14169 else
14170   echo "$as_me: failed program was:" >&5
14171 sed 's/^/| /' conftest.$ac_ext >&5
14172
14173         ac_cv_c_ppdev="no"
14174 fi
14175
14176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14177 fi
14178 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14179 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14180 if test "$ac_cv_c_ppdev" = "yes"
14181 then
14182
14183 cat >>confdefs.h <<\_ACEOF
14184 #define HAVE_PPDEV 1
14185 _ACEOF
14186
14187 fi
14188
14189 { echo "$as_me:$LINENO: checking for va_copy" >&5
14190 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14191 if test "${ac_cv_c_va_copy+set}" = set; then
14192   echo $ECHO_N "(cached) $ECHO_C" >&6
14193 else
14194   cat >conftest.$ac_ext <<_ACEOF
14195 /* confdefs.h.  */
14196 _ACEOF
14197 cat confdefs.h >>conftest.$ac_ext
14198 cat >>conftest.$ac_ext <<_ACEOF
14199 /* end confdefs.h.  */
14200 #include <stdarg.h>
14201 int
14202 main ()
14203 {
14204 va_list ap1, ap2; va_copy(ap1,ap2);
14205   ;
14206   return 0;
14207 }
14208 _ACEOF
14209 rm -f conftest.$ac_objext conftest$ac_exeext
14210 if { (ac_try="$ac_link"
14211 case "(($ac_try" in
14212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14213   *) ac_try_echo=$ac_try;;
14214 esac
14215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14216   (eval "$ac_link") 2>conftest.er1
14217   ac_status=$?
14218   grep -v '^ *+' conftest.er1 >conftest.err
14219   rm -f conftest.er1
14220   cat conftest.err >&5
14221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222   (exit $ac_status); } && {
14223          test -z "$ac_c_werror_flag" ||
14224          test ! -s conftest.err
14225        } && test -s conftest$ac_exeext &&
14226        $as_test_x conftest$ac_exeext; then
14227   ac_cv_c_va_copy="yes"
14228 else
14229   echo "$as_me: failed program was:" >&5
14230 sed 's/^/| /' conftest.$ac_ext >&5
14231
14232         ac_cv_c_va_copy="no"
14233 fi
14234
14235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14236       conftest$ac_exeext conftest.$ac_ext
14237
14238 fi
14239 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14240 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14241 if test "$ac_cv_c_va_copy" = "yes"
14242 then
14243
14244 cat >>confdefs.h <<\_ACEOF
14245 #define HAVE_VA_COPY 1
14246 _ACEOF
14247
14248 fi
14249 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14250 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14251 if test "${ac_cv_c___va_copy+set}" = set; then
14252   echo $ECHO_N "(cached) $ECHO_C" >&6
14253 else
14254   cat >conftest.$ac_ext <<_ACEOF
14255 /* confdefs.h.  */
14256 _ACEOF
14257 cat confdefs.h >>conftest.$ac_ext
14258 cat >>conftest.$ac_ext <<_ACEOF
14259 /* end confdefs.h.  */
14260 #include <stdarg.h>
14261 int
14262 main ()
14263 {
14264 va_list ap1, ap2; __va_copy(ap1,ap2);
14265   ;
14266   return 0;
14267 }
14268 _ACEOF
14269 rm -f conftest.$ac_objext conftest$ac_exeext
14270 if { (ac_try="$ac_link"
14271 case "(($ac_try" in
14272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14273   *) ac_try_echo=$ac_try;;
14274 esac
14275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14276   (eval "$ac_link") 2>conftest.er1
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
14282   (exit $ac_status); } && {
14283          test -z "$ac_c_werror_flag" ||
14284          test ! -s conftest.err
14285        } && test -s conftest$ac_exeext &&
14286        $as_test_x conftest$ac_exeext; then
14287   ac_cv_c___va_copy="yes"
14288 else
14289   echo "$as_me: failed program was:" >&5
14290 sed 's/^/| /' conftest.$ac_ext >&5
14291
14292         ac_cv_c___va_copy="no"
14293 fi
14294
14295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14296       conftest$ac_exeext conftest.$ac_ext
14297
14298 fi
14299 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14300 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14301 if test "$ac_cv_c___va_copy" = "yes"
14302 then
14303
14304 cat >>confdefs.h <<\_ACEOF
14305 #define HAVE___VA_COPY 1
14306 _ACEOF
14307
14308 fi
14309
14310 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
14311 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
14312 if test "${ac_cv_c_sigsetjmp+set}" = set; then
14313   echo $ECHO_N "(cached) $ECHO_C" >&6
14314 else
14315   cat >conftest.$ac_ext <<_ACEOF
14316 /* confdefs.h.  */
14317 _ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h.  */
14321 #include <setjmp.h>
14322 int
14323 main ()
14324 {
14325 sigjmp_buf buf;
14326     sigsetjmp( buf, 1 );
14327     siglongjmp( buf, 1 );
14328   ;
14329   return 0;
14330 }
14331 _ACEOF
14332 rm -f conftest.$ac_objext conftest$ac_exeext
14333 if { (ac_try="$ac_link"
14334 case "(($ac_try" in
14335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14336   *) ac_try_echo=$ac_try;;
14337 esac
14338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14339   (eval "$ac_link") 2>conftest.er1
14340   ac_status=$?
14341   grep -v '^ *+' conftest.er1 >conftest.err
14342   rm -f conftest.er1
14343   cat conftest.err >&5
14344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345   (exit $ac_status); } && {
14346          test -z "$ac_c_werror_flag" ||
14347          test ! -s conftest.err
14348        } && test -s conftest$ac_exeext &&
14349        $as_test_x conftest$ac_exeext; then
14350   ac_cv_c_sigsetjmp="yes"
14351 else
14352   echo "$as_me: failed program was:" >&5
14353 sed 's/^/| /' conftest.$ac_ext >&5
14354
14355         ac_cv_c_sigsetjmp="no"
14356 fi
14357
14358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14359       conftest$ac_exeext conftest.$ac_ext
14360
14361 fi
14362 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
14363 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
14364 if test "$ac_cv_c_sigsetjmp" = "yes"
14365 then
14366
14367 cat >>confdefs.h <<\_ACEOF
14368 #define HAVE_SIGSETJMP 1
14369 _ACEOF
14370
14371 fi
14372
14373 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14374 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14375 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14376   echo $ECHO_N "(cached) $ECHO_C" >&6
14377 else
14378   cat >conftest.$ac_ext <<_ACEOF
14379 /* confdefs.h.  */
14380 _ACEOF
14381 cat confdefs.h >>conftest.$ac_ext
14382 cat >>conftest.$ac_ext <<_ACEOF
14383 /* end confdefs.h.  */
14384 #define _GNU_SOURCE
14385 #include <pthread.h>
14386
14387 typedef pthread_rwlock_t ac__type_new_;
14388 int
14389 main ()
14390 {
14391 if ((ac__type_new_ *) 0)
14392   return 0;
14393 if (sizeof (ac__type_new_))
14394   return 0;
14395   ;
14396   return 0;
14397 }
14398 _ACEOF
14399 rm -f conftest.$ac_objext
14400 if { (ac_try="$ac_compile"
14401 case "(($ac_try" in
14402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14403   *) ac_try_echo=$ac_try;;
14404 esac
14405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14406   (eval "$ac_compile") 2>conftest.er1
14407   ac_status=$?
14408   grep -v '^ *+' conftest.er1 >conftest.err
14409   rm -f conftest.er1
14410   cat conftest.err >&5
14411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14412   (exit $ac_status); } && {
14413          test -z "$ac_c_werror_flag" ||
14414          test ! -s conftest.err
14415        } && test -s conftest.$ac_objext; then
14416   ac_cv_type_pthread_rwlock_t=yes
14417 else
14418   echo "$as_me: failed program was:" >&5
14419 sed 's/^/| /' conftest.$ac_ext >&5
14420
14421         ac_cv_type_pthread_rwlock_t=no
14422 fi
14423
14424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14425 fi
14426 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14427 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14428 if test $ac_cv_type_pthread_rwlock_t = yes; then
14429
14430 cat >>confdefs.h <<_ACEOF
14431 #define HAVE_PTHREAD_RWLOCK_T 1
14432 _ACEOF
14433
14434
14435 fi
14436 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14437 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14438 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14439   echo $ECHO_N "(cached) $ECHO_C" >&6
14440 else
14441   cat >conftest.$ac_ext <<_ACEOF
14442 /* confdefs.h.  */
14443 _ACEOF
14444 cat confdefs.h >>conftest.$ac_ext
14445 cat >>conftest.$ac_ext <<_ACEOF
14446 /* end confdefs.h.  */
14447 #define _GNU_SOURCE
14448 #include <pthread.h>
14449
14450 typedef pthread_rwlockattr_t ac__type_new_;
14451 int
14452 main ()
14453 {
14454 if ((ac__type_new_ *) 0)
14455   return 0;
14456 if (sizeof (ac__type_new_))
14457   return 0;
14458   ;
14459   return 0;
14460 }
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466   *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469   (eval "$ac_compile") 2>conftest.er1
14470   ac_status=$?
14471   grep -v '^ *+' conftest.er1 >conftest.err
14472   rm -f conftest.er1
14473   cat conftest.err >&5
14474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475   (exit $ac_status); } && {
14476          test -z "$ac_c_werror_flag" ||
14477          test ! -s conftest.err
14478        } && test -s conftest.$ac_objext; then
14479   ac_cv_type_pthread_rwlockattr_t=yes
14480 else
14481   echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484         ac_cv_type_pthread_rwlockattr_t=no
14485 fi
14486
14487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14488 fi
14489 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14490 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14491 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14492
14493 cat >>confdefs.h <<_ACEOF
14494 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14495 _ACEOF
14496
14497
14498 fi
14499
14500
14501 ac_wine_check_funcs_save_LIBS="$LIBS"
14502 LIBS="$LIBS $LIBPTHREAD"
14503
14504
14505
14506
14507 for ac_func in \
14508         pthread_attr_get_np \
14509         pthread_getattr_np \
14510         pthread_get_stackaddr_np \
14511         pthread_get_stacksize_np
14512 do
14513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14514 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14516 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14517   echo $ECHO_N "(cached) $ECHO_C" >&6
14518 else
14519   cat >conftest.$ac_ext <<_ACEOF
14520 /* confdefs.h.  */
14521 _ACEOF
14522 cat confdefs.h >>conftest.$ac_ext
14523 cat >>conftest.$ac_ext <<_ACEOF
14524 /* end confdefs.h.  */
14525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14527 #define $ac_func innocuous_$ac_func
14528
14529 /* System header to define __stub macros and hopefully few prototypes,
14530     which can conflict with char $ac_func (); below.
14531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14532     <limits.h> exists even on freestanding compilers.  */
14533
14534 #ifdef __STDC__
14535 # include <limits.h>
14536 #else
14537 # include <assert.h>
14538 #endif
14539
14540 #undef $ac_func
14541
14542 /* Override any GCC internal prototype to avoid an error.
14543    Use char because int might match the return type of a GCC
14544    builtin and then its argument prototype would still apply.  */
14545 #ifdef __cplusplus
14546 extern "C"
14547 #endif
14548 char $ac_func ();
14549 /* The GNU C library defines this for functions which it implements
14550     to always fail with ENOSYS.  Some functions are actually named
14551     something starting with __ and the normal name is an alias.  */
14552 #if defined __stub_$ac_func || defined __stub___$ac_func
14553 choke me
14554 #endif
14555
14556 int
14557 main ()
14558 {
14559 return $ac_func ();
14560   ;
14561   return 0;
14562 }
14563 _ACEOF
14564 rm -f conftest.$ac_objext conftest$ac_exeext
14565 if { (ac_try="$ac_link"
14566 case "(($ac_try" in
14567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14568   *) ac_try_echo=$ac_try;;
14569 esac
14570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14571   (eval "$ac_link") 2>conftest.er1
14572   ac_status=$?
14573   grep -v '^ *+' conftest.er1 >conftest.err
14574   rm -f conftest.er1
14575   cat conftest.err >&5
14576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14577   (exit $ac_status); } && {
14578          test -z "$ac_c_werror_flag" ||
14579          test ! -s conftest.err
14580        } && test -s conftest$ac_exeext &&
14581        $as_test_x conftest$ac_exeext; then
14582   eval "$as_ac_var=yes"
14583 else
14584   echo "$as_me: failed program was:" >&5
14585 sed 's/^/| /' conftest.$ac_ext >&5
14586
14587         eval "$as_ac_var=no"
14588 fi
14589
14590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14591       conftest$ac_exeext conftest.$ac_ext
14592 fi
14593 ac_res=`eval echo '${'$as_ac_var'}'`
14594                { echo "$as_me:$LINENO: result: $ac_res" >&5
14595 echo "${ECHO_T}$ac_res" >&6; }
14596 if test `eval echo '${'$as_ac_var'}'` = yes; then
14597   cat >>confdefs.h <<_ACEOF
14598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14599 _ACEOF
14600
14601 fi
14602 done
14603
14604 LIBS="$ac_wine_check_funcs_save_LIBS"
14605
14606 # Extract the first word of "esd-config", so it can be a program name with args.
14607 set dummy esd-config; ac_word=$2
14608 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14610 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14611   echo $ECHO_N "(cached) $ECHO_C" >&6
14612 else
14613   case $ESDCONFIG in
14614   [\\/]* | ?:[\\/]*)
14615   ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14616   ;;
14617   *)
14618   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14619 for as_dir in $PATH
14620 do
14621   IFS=$as_save_IFS
14622   test -z "$as_dir" && as_dir=.
14623   for ac_exec_ext in '' $ac_executable_extensions; do
14624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14625     ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14626     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14627     break 2
14628   fi
14629 done
14630 done
14631 IFS=$as_save_IFS
14632
14633   ;;
14634 esac
14635 fi
14636 ESDCONFIG=$ac_cv_path_ESDCONFIG
14637 if test -n "$ESDCONFIG"; then
14638   { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14639 echo "${ECHO_T}$ESDCONFIG" >&6; }
14640 else
14641   { echo "$as_me:$LINENO: result: no" >&5
14642 echo "${ECHO_T}no" >&6; }
14643 fi
14644
14645
14646 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14647 then
14648     ESD_CFLAGS=""
14649     for i in `$ESDCONFIG --cflags`
14650     do
14651       case "$i" in
14652         -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14653       esac
14654     done
14655     ESD_LIBS=`$ESDCONFIG --libs`
14656     save_CFLAGS="$CFLAGS"
14657     CFLAGS="$CFLAGS $ESD_CFLAGS"
14658     { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14659 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14660 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14661   echo $ECHO_N "(cached) $ECHO_C" >&6
14662 else
14663   ac_check_lib_save_LIBS=$LIBS
14664 LIBS="-lesd  $LIBS"
14665 cat >conftest.$ac_ext <<_ACEOF
14666 /* confdefs.h.  */
14667 _ACEOF
14668 cat confdefs.h >>conftest.$ac_ext
14669 cat >>conftest.$ac_ext <<_ACEOF
14670 /* end confdefs.h.  */
14671
14672 /* Override any GCC internal prototype to avoid an error.
14673    Use char because int might match the return type of a GCC
14674    builtin and then its argument prototype would still apply.  */
14675 #ifdef __cplusplus
14676 extern "C"
14677 #endif
14678 char esd_open_sound ();
14679 int
14680 main ()
14681 {
14682 return esd_open_sound ();
14683   ;
14684   return 0;
14685 }
14686 _ACEOF
14687 rm -f conftest.$ac_objext conftest$ac_exeext
14688 if { (ac_try="$ac_link"
14689 case "(($ac_try" in
14690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14691   *) ac_try_echo=$ac_try;;
14692 esac
14693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14694   (eval "$ac_link") 2>conftest.er1
14695   ac_status=$?
14696   grep -v '^ *+' conftest.er1 >conftest.err
14697   rm -f conftest.er1
14698   cat conftest.err >&5
14699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700   (exit $ac_status); } && {
14701          test -z "$ac_c_werror_flag" ||
14702          test ! -s conftest.err
14703        } && test -s conftest$ac_exeext &&
14704        $as_test_x conftest$ac_exeext; then
14705   ac_cv_lib_esd_esd_open_sound=yes
14706 else
14707   echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14709
14710         ac_cv_lib_esd_esd_open_sound=no
14711 fi
14712
14713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14714       conftest$ac_exeext conftest.$ac_ext
14715 LIBS=$ac_check_lib_save_LIBS
14716 fi
14717 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14718 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14719 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14720   ESDLIBS=$ESD_LIBS
14721
14722          ESDINCL=$ESD_CFLAGS
14723
14724
14725 cat >>confdefs.h <<\_ACEOF
14726 #define HAVE_ESD 1
14727 _ACEOF
14728
14729 fi
14730
14731     CFLAGS="$save_CFLAGS"
14732 fi
14733
14734 ALSALIBS=""
14735
14736 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14737 then
14738     { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14739 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14740 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14741   echo $ECHO_N "(cached) $ECHO_C" >&6
14742 else
14743   ac_check_lib_save_LIBS=$LIBS
14744 LIBS="-lasound  $LIBS"
14745 cat >conftest.$ac_ext <<_ACEOF
14746 /* confdefs.h.  */
14747 _ACEOF
14748 cat confdefs.h >>conftest.$ac_ext
14749 cat >>conftest.$ac_ext <<_ACEOF
14750 /* end confdefs.h.  */
14751
14752 /* Override any GCC internal prototype to avoid an error.
14753    Use char because int might match the return type of a GCC
14754    builtin and then its argument prototype would still apply.  */
14755 #ifdef __cplusplus
14756 extern "C"
14757 #endif
14758 char snd_pcm_hw_params_get_access ();
14759 int
14760 main ()
14761 {
14762 return snd_pcm_hw_params_get_access ();
14763   ;
14764   return 0;
14765 }
14766 _ACEOF
14767 rm -f conftest.$ac_objext conftest$ac_exeext
14768 if { (ac_try="$ac_link"
14769 case "(($ac_try" in
14770   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14771   *) ac_try_echo=$ac_try;;
14772 esac
14773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14774   (eval "$ac_link") 2>conftest.er1
14775   ac_status=$?
14776   grep -v '^ *+' conftest.er1 >conftest.err
14777   rm -f conftest.er1
14778   cat conftest.err >&5
14779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780   (exit $ac_status); } && {
14781          test -z "$ac_c_werror_flag" ||
14782          test ! -s conftest.err
14783        } && test -s conftest$ac_exeext &&
14784        $as_test_x conftest$ac_exeext; then
14785   ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14786 else
14787   echo "$as_me: failed program was:" >&5
14788 sed 's/^/| /' conftest.$ac_ext >&5
14789
14790         ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14791 fi
14792
14793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14794       conftest$ac_exeext conftest.$ac_ext
14795 LIBS=$ac_check_lib_save_LIBS
14796 fi
14797 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14798 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14799 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14800   cat >conftest.$ac_ext <<_ACEOF
14801 /* confdefs.h.  */
14802 _ACEOF
14803 cat confdefs.h >>conftest.$ac_ext
14804 cat >>conftest.$ac_ext <<_ACEOF
14805 /* end confdefs.h.  */
14806 #ifdef HAVE_ALSA_ASOUNDLIB_H
14807 #include <alsa/asoundlib.h>
14808 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14809 #include <sys/asoundlib.h>
14810 #endif
14811 int
14812 main ()
14813 {
14814 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14815   ;
14816   return 0;
14817 }
14818 _ACEOF
14819 rm -f conftest.$ac_objext
14820 if { (ac_try="$ac_compile"
14821 case "(($ac_try" in
14822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14823   *) ac_try_echo=$ac_try;;
14824 esac
14825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14826   (eval "$ac_compile") 2>conftest.er1
14827   ac_status=$?
14828   grep -v '^ *+' conftest.er1 >conftest.err
14829   rm -f conftest.er1
14830   cat conftest.err >&5
14831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832   (exit $ac_status); } && {
14833          test -z "$ac_c_werror_flag" ||
14834          test ! -s conftest.err
14835        } && test -s conftest.$ac_objext; then
14836
14837 cat >>confdefs.h <<\_ACEOF
14838 #define HAVE_ALSA 1
14839 _ACEOF
14840
14841                          ALSALIBS="-lasound"
14842 else
14843   echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.$ac_ext >&5
14845
14846
14847 fi
14848
14849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14850 fi
14851
14852 fi
14853
14854 AUDIOIOLIBS=""
14855
14856 if test "$ac_cv_header_libaudioio_h" = "yes"
14857 then
14858     { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14859 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14860 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14861   echo $ECHO_N "(cached) $ECHO_C" >&6
14862 else
14863   ac_check_lib_save_LIBS=$LIBS
14864 LIBS="-laudioio  $LIBS"
14865 cat >conftest.$ac_ext <<_ACEOF
14866 /* confdefs.h.  */
14867 _ACEOF
14868 cat confdefs.h >>conftest.$ac_ext
14869 cat >>conftest.$ac_ext <<_ACEOF
14870 /* end confdefs.h.  */
14871
14872 /* Override any GCC internal prototype to avoid an error.
14873    Use char because int might match the return type of a GCC
14874    builtin and then its argument prototype would still apply.  */
14875 #ifdef __cplusplus
14876 extern "C"
14877 #endif
14878 char AudioIOGetVersion ();
14879 int
14880 main ()
14881 {
14882 return AudioIOGetVersion ();
14883   ;
14884   return 0;
14885 }
14886 _ACEOF
14887 rm -f conftest.$ac_objext conftest$ac_exeext
14888 if { (ac_try="$ac_link"
14889 case "(($ac_try" in
14890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14891   *) ac_try_echo=$ac_try;;
14892 esac
14893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14894   (eval "$ac_link") 2>conftest.er1
14895   ac_status=$?
14896   grep -v '^ *+' conftest.er1 >conftest.err
14897   rm -f conftest.er1
14898   cat conftest.err >&5
14899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900   (exit $ac_status); } && {
14901          test -z "$ac_c_werror_flag" ||
14902          test ! -s conftest.err
14903        } && test -s conftest$ac_exeext &&
14904        $as_test_x conftest$ac_exeext; then
14905   ac_cv_lib_audioio_AudioIOGetVersion=yes
14906 else
14907   echo "$as_me: failed program was:" >&5
14908 sed 's/^/| /' conftest.$ac_ext >&5
14909
14910         ac_cv_lib_audioio_AudioIOGetVersion=no
14911 fi
14912
14913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14914       conftest$ac_exeext conftest.$ac_ext
14915 LIBS=$ac_check_lib_save_LIBS
14916 fi
14917 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14918 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14919 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14920   AUDIOIOLIBS="-laudioio"
14921
14922 cat >>confdefs.h <<\_ACEOF
14923 #define HAVE_LIBAUDIOIO 1
14924 _ACEOF
14925
14926 fi
14927
14928 fi
14929
14930
14931 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14932 then
14933     { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14934 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14935 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14936   echo $ECHO_N "(cached) $ECHO_C" >&6
14937 else
14938   ac_check_soname_save_LIBS=$LIBS
14939 LIBS="-lcapi20  $LIBS"
14940   cat >conftest.$ac_ext <<_ACEOF
14941 /* confdefs.h.  */
14942 _ACEOF
14943 cat confdefs.h >>conftest.$ac_ext
14944 cat >>conftest.$ac_ext <<_ACEOF
14945 /* end confdefs.h.  */
14946
14947 /* Override any GCC internal prototype to avoid an error.
14948    Use char because int might match the return type of a GCC
14949    builtin and then its argument prototype would still apply.  */
14950 #ifdef __cplusplus
14951 extern "C"
14952 #endif
14953 char capi20_register ();
14954 int
14955 main ()
14956 {
14957 return capi20_register ();
14958   ;
14959   return 0;
14960 }
14961 _ACEOF
14962 rm -f conftest.$ac_objext conftest$ac_exeext
14963 if { (ac_try="$ac_link"
14964 case "(($ac_try" in
14965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14966   *) ac_try_echo=$ac_try;;
14967 esac
14968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14969   (eval "$ac_link") 2>conftest.er1
14970   ac_status=$?
14971   grep -v '^ *+' conftest.er1 >conftest.err
14972   rm -f conftest.er1
14973   cat conftest.err >&5
14974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14975   (exit $ac_status); } && {
14976          test -z "$ac_c_werror_flag" ||
14977          test ! -s conftest.err
14978        } && test -s conftest$ac_exeext &&
14979        $as_test_x conftest$ac_exeext; then
14980   case "$LIBEXT" in
14981     dll) ;;
14982     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'` ;;
14983     *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^    ]*\).*$/\1/"';2,$d'` ;;
14984   esac
14985 else
14986   echo "$as_me: failed program was:" >&5
14987 sed 's/^/| /' conftest.$ac_ext >&5
14988
14989
14990 fi
14991
14992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14993       conftest$ac_exeext conftest.$ac_ext
14994   LIBS=$ac_check_soname_save_LIBS
14995 fi
14996 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14997   { echo "$as_me:$LINENO: result: not found" >&5
14998 echo "${ECHO_T}not found" >&6; }
14999
15000 else
15001   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15002 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15003
15004 cat >>confdefs.h <<_ACEOF
15005 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15006 _ACEOF
15007
15008
15009 fi
15010
15011 fi
15012 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15013   case "x$with_capi" in
15014   x)   wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15015   xno) ;;
15016   *)   { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15017 This is an error since --with-capi was requested." >&5
15018 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15019 This is an error since --with-capi was requested." >&2;}
15020    { (exit 1); exit 1; }; } ;;
15021 esac
15022 fi
15023
15024
15025 if test "$ac_cv_header_cups_cups_h" = "yes"
15026 then
15027     { echo "$as_me:$LINENO: checking for -lcups" >&5
15028 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15029 if test "${ac_cv_lib_soname_cups+set}" = set; then
15030   echo $ECHO_N "(cached) $ECHO_C" >&6
15031 else
15032   ac_check_soname_save_LIBS=$LIBS
15033 LIBS="-lcups  $LIBS"
15034   cat >conftest.$ac_ext <<_ACEOF
15035 /* confdefs.h.  */
15036 _ACEOF
15037 cat confdefs.h >>conftest.$ac_ext
15038 cat >>conftest.$ac_ext <<_ACEOF
15039 /* end confdefs.h.  */
15040
15041 /* Override any GCC internal prototype to avoid an error.
15042    Use char because int might match the return type of a GCC
15043    builtin and then its argument prototype would still apply.  */
15044 #ifdef __cplusplus
15045 extern "C"
15046 #endif
15047 char cupsGetDefault ();
15048 int
15049 main ()
15050 {
15051 return cupsGetDefault ();
15052   ;
15053   return 0;
15054 }
15055 _ACEOF
15056 rm -f conftest.$ac_objext conftest$ac_exeext
15057 if { (ac_try="$ac_link"
15058 case "(($ac_try" in
15059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15060   *) ac_try_echo=$ac_try;;
15061 esac
15062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15063   (eval "$ac_link") 2>conftest.er1
15064   ac_status=$?
15065   grep -v '^ *+' conftest.er1 >conftest.err
15066   rm -f conftest.er1
15067   cat conftest.err >&5
15068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069   (exit $ac_status); } && {
15070          test -z "$ac_c_werror_flag" ||
15071          test ! -s conftest.err
15072        } && test -s conftest$ac_exeext &&
15073        $as_test_x conftest$ac_exeext; then
15074   case "$LIBEXT" in
15075     dll) ;;
15076     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'` ;;
15077     *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
15078   esac
15079 else
15080   echo "$as_me: failed program was:" >&5
15081 sed 's/^/| /' conftest.$ac_ext >&5
15082
15083
15084 fi
15085
15086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15087       conftest$ac_exeext conftest.$ac_ext
15088   LIBS=$ac_check_soname_save_LIBS
15089 fi
15090 if test "x$ac_cv_lib_soname_cups" = "x"; then
15091   { echo "$as_me:$LINENO: result: not found" >&5
15092 echo "${ECHO_T}not found" >&6; }
15093
15094 else
15095   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15096 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15097
15098 cat >>confdefs.h <<_ACEOF
15099 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15100 _ACEOF
15101
15102
15103 fi
15104
15105 fi
15106 if test "x$ac_cv_lib_soname_cups" = "x"; then
15107   case "x$with_cups" in
15108   x)   wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15109   xno) ;;
15110   *)   { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15111 This is an error since --with-cups was requested." >&5
15112 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15113 This is an error since --with-cups was requested." >&2;}
15114    { (exit 1); exit 1; }; } ;;
15115 esac
15116 fi
15117
15118
15119 if test "$ac_cv_header_jack_jack_h" = "yes"
15120 then
15121     { echo "$as_me:$LINENO: checking for -ljack" >&5
15122 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15123 if test "${ac_cv_lib_soname_jack+set}" = set; then
15124   echo $ECHO_N "(cached) $ECHO_C" >&6
15125 else
15126   ac_check_soname_save_LIBS=$LIBS
15127 LIBS="-ljack  $LIBS"
15128   cat >conftest.$ac_ext <<_ACEOF
15129 /* confdefs.h.  */
15130 _ACEOF
15131 cat confdefs.h >>conftest.$ac_ext
15132 cat >>conftest.$ac_ext <<_ACEOF
15133 /* end confdefs.h.  */
15134
15135 /* Override any GCC internal prototype to avoid an error.
15136    Use char because int might match the return type of a GCC
15137    builtin and then its argument prototype would still apply.  */
15138 #ifdef __cplusplus
15139 extern "C"
15140 #endif
15141 char jack_client_new ();
15142 int
15143 main ()
15144 {
15145 return jack_client_new ();
15146   ;
15147   return 0;
15148 }
15149 _ACEOF
15150 rm -f conftest.$ac_objext conftest$ac_exeext
15151 if { (ac_try="$ac_link"
15152 case "(($ac_try" in
15153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15154   *) ac_try_echo=$ac_try;;
15155 esac
15156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15157   (eval "$ac_link") 2>conftest.er1
15158   ac_status=$?
15159   grep -v '^ *+' conftest.er1 >conftest.err
15160   rm -f conftest.er1
15161   cat conftest.err >&5
15162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15163   (exit $ac_status); } && {
15164          test -z "$ac_c_werror_flag" ||
15165          test ! -s conftest.err
15166        } && test -s conftest$ac_exeext &&
15167        $as_test_x conftest$ac_exeext; then
15168   case "$LIBEXT" in
15169     dll) ;;
15170     dylib) ac_cv_lib_soname_jack=`otool -L conftest$ac_exeext | grep "libjack\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15171     *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
15172   esac
15173 else
15174   echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.$ac_ext >&5
15176
15177
15178 fi
15179
15180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15181       conftest$ac_exeext conftest.$ac_ext
15182   LIBS=$ac_check_soname_save_LIBS
15183 fi
15184 if test "x$ac_cv_lib_soname_jack" = "x"; then
15185   { echo "$as_me:$LINENO: result: not found" >&5
15186 echo "${ECHO_T}not found" >&6; }
15187
15188 else
15189   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15190 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15191
15192 cat >>confdefs.h <<_ACEOF
15193 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15194 _ACEOF
15195
15196
15197 fi
15198
15199 fi
15200
15201 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15202 then
15203     { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15204 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15205 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15206   echo $ECHO_N "(cached) $ECHO_C" >&6
15207 else
15208   ac_check_soname_save_LIBS=$LIBS
15209 LIBS="-lfontconfig  $LIBS"
15210   cat >conftest.$ac_ext <<_ACEOF
15211 /* confdefs.h.  */
15212 _ACEOF
15213 cat confdefs.h >>conftest.$ac_ext
15214 cat >>conftest.$ac_ext <<_ACEOF
15215 /* end confdefs.h.  */
15216
15217 /* Override any GCC internal prototype to avoid an error.
15218    Use char because int might match the return type of a GCC
15219    builtin and then its argument prototype would still apply.  */
15220 #ifdef __cplusplus
15221 extern "C"
15222 #endif
15223 char FcInit ();
15224 int
15225 main ()
15226 {
15227 return FcInit ();
15228   ;
15229   return 0;
15230 }
15231 _ACEOF
15232 rm -f conftest.$ac_objext conftest$ac_exeext
15233 if { (ac_try="$ac_link"
15234 case "(($ac_try" in
15235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15236   *) ac_try_echo=$ac_try;;
15237 esac
15238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15239   (eval "$ac_link") 2>conftest.er1
15240   ac_status=$?
15241   grep -v '^ *+' conftest.er1 >conftest.err
15242   rm -f conftest.er1
15243   cat conftest.err >&5
15244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245   (exit $ac_status); } && {
15246          test -z "$ac_c_werror_flag" ||
15247          test ! -s conftest.err
15248        } && test -s conftest$ac_exeext &&
15249        $as_test_x conftest$ac_exeext; then
15250   case "$LIBEXT" in
15251     dll) ;;
15252     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'` ;;
15253     *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
15254   esac
15255 else
15256   echo "$as_me: failed program was:" >&5
15257 sed 's/^/| /' conftest.$ac_ext >&5
15258
15259
15260 fi
15261
15262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15263       conftest$ac_exeext conftest.$ac_ext
15264   LIBS=$ac_check_soname_save_LIBS
15265 fi
15266 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15267   { echo "$as_me:$LINENO: result: not found" >&5
15268 echo "${ECHO_T}not found" >&6; }
15269
15270 else
15271   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15272 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15273
15274 cat >>confdefs.h <<_ACEOF
15275 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15276 _ACEOF
15277
15278
15279 fi
15280
15281 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15282 then
15283         ac_save_CPPFLAGS="$CPPFLAGS"
15284     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15285     $as_unset ac_cv_header_fontconfig_fontconfig_h
15286
15287 for ac_header in fontconfig/fontconfig.h
15288 do
15289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15291   { echo "$as_me:$LINENO: checking for $ac_header" >&5
15292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15294   echo $ECHO_N "(cached) $ECHO_C" >&6
15295 fi
15296 ac_res=`eval echo '${'$as_ac_Header'}'`
15297                { echo "$as_me:$LINENO: result: $ac_res" >&5
15298 echo "${ECHO_T}$ac_res" >&6; }
15299 else
15300   # Is the header compilable?
15301 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15302 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h.  */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h.  */
15309 $ac_includes_default
15310 #include <$ac_header>
15311 _ACEOF
15312 rm -f conftest.$ac_objext
15313 if { (ac_try="$ac_compile"
15314 case "(($ac_try" in
15315   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15316   *) ac_try_echo=$ac_try;;
15317 esac
15318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15319   (eval "$ac_compile") 2>conftest.er1
15320   ac_status=$?
15321   grep -v '^ *+' conftest.er1 >conftest.err
15322   rm -f conftest.er1
15323   cat conftest.err >&5
15324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15325   (exit $ac_status); } && {
15326          test -z "$ac_c_werror_flag" ||
15327          test ! -s conftest.err
15328        } && test -s conftest.$ac_objext; then
15329   ac_header_compiler=yes
15330 else
15331   echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.$ac_ext >&5
15333
15334         ac_header_compiler=no
15335 fi
15336
15337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15338 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15339 echo "${ECHO_T}$ac_header_compiler" >&6; }
15340
15341 # Is the header present?
15342 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15343 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15344 cat >conftest.$ac_ext <<_ACEOF
15345 /* confdefs.h.  */
15346 _ACEOF
15347 cat confdefs.h >>conftest.$ac_ext
15348 cat >>conftest.$ac_ext <<_ACEOF
15349 /* end confdefs.h.  */
15350 #include <$ac_header>
15351 _ACEOF
15352 if { (ac_try="$ac_cpp conftest.$ac_ext"
15353 case "(($ac_try" in
15354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355   *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15359   ac_status=$?
15360   grep -v '^ *+' conftest.er1 >conftest.err
15361   rm -f conftest.er1
15362   cat conftest.err >&5
15363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364   (exit $ac_status); } >/dev/null && {
15365          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15366          test ! -s conftest.err
15367        }; then
15368   ac_header_preproc=yes
15369 else
15370   echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373   ac_header_preproc=no
15374 fi
15375
15376 rm -f conftest.err conftest.$ac_ext
15377 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15378 echo "${ECHO_T}$ac_header_preproc" >&6; }
15379
15380 # So?  What about this header?
15381 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15382   yes:no: )
15383     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15384 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15385     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15386 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15387     ac_header_preproc=yes
15388     ;;
15389   no:yes:* )
15390     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15391 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15392     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15393 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15394     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15395 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15396     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15397 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15398     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15399 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15400     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15401 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15402     ( cat <<\_ASBOX
15403 ## ------------------------------------ ##
15404 ## Report this to wine-devel@winehq.org ##
15405 ## ------------------------------------ ##
15406 _ASBOX
15407      ) | sed "s/^/$as_me: WARNING:     /" >&2
15408     ;;
15409 esac
15410 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15413   echo $ECHO_N "(cached) $ECHO_C" >&6
15414 else
15415   eval "$as_ac_Header=\$ac_header_preproc"
15416 fi
15417 ac_res=`eval echo '${'$as_ac_Header'}'`
15418                { echo "$as_me:$LINENO: result: $ac_res" >&5
15419 echo "${ECHO_T}$ac_res" >&6; }
15420
15421 fi
15422 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15423   cat >>confdefs.h <<_ACEOF
15424 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15425 _ACEOF
15426
15427 fi
15428
15429 done
15430
15431     CPPFLAGS="$ac_save_CPPFLAGS"
15432     if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15433     then
15434         FONTCONFIGINCL="$X_CFLAGS"
15435
15436         { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15437 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15438 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15439   echo $ECHO_N "(cached) $ECHO_C" >&6
15440 else
15441   ac_check_soname_save_LIBS=$LIBS
15442 LIBS="-lfontconfig $X_LIBS $LIBS"
15443   cat >conftest.$ac_ext <<_ACEOF
15444 /* confdefs.h.  */
15445 _ACEOF
15446 cat confdefs.h >>conftest.$ac_ext
15447 cat >>conftest.$ac_ext <<_ACEOF
15448 /* end confdefs.h.  */
15449
15450 /* Override any GCC internal prototype to avoid an error.
15451    Use char because int might match the return type of a GCC
15452    builtin and then its argument prototype would still apply.  */
15453 #ifdef __cplusplus
15454 extern "C"
15455 #endif
15456 char FcInit ();
15457 int
15458 main ()
15459 {
15460 return FcInit ();
15461   ;
15462   return 0;
15463 }
15464 _ACEOF
15465 rm -f conftest.$ac_objext conftest$ac_exeext
15466 if { (ac_try="$ac_link"
15467 case "(($ac_try" in
15468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15469   *) ac_try_echo=$ac_try;;
15470 esac
15471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15472   (eval "$ac_link") 2>conftest.er1
15473   ac_status=$?
15474   grep -v '^ *+' conftest.er1 >conftest.err
15475   rm -f conftest.er1
15476   cat conftest.err >&5
15477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478   (exit $ac_status); } && {
15479          test -z "$ac_c_werror_flag" ||
15480          test ! -s conftest.err
15481        } && test -s conftest$ac_exeext &&
15482        $as_test_x conftest$ac_exeext; then
15483   case "$LIBEXT" in
15484     dll) ;;
15485     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'` ;;
15486     *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
15487   esac
15488 else
15489   echo "$as_me: failed program was:" >&5
15490 sed 's/^/| /' conftest.$ac_ext >&5
15491
15492
15493 fi
15494
15495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15496       conftest$ac_exeext conftest.$ac_ext
15497   LIBS=$ac_check_soname_save_LIBS
15498 fi
15499 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15500   { echo "$as_me:$LINENO: result: not found" >&5
15501 echo "${ECHO_T}not found" >&6; }
15502
15503 else
15504   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15505 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15506
15507 cat >>confdefs.h <<_ACEOF
15508 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15509 _ACEOF
15510
15511
15512 fi
15513
15514     fi
15515 fi
15516 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15517   case "x$with_fontconfig" in
15518   x)   wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15519   xno) ;;
15520   *)   { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15521 This is an error since --with-fontconfig was requested." >&5
15522 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15523 This is an error since --with-fontconfig was requested." >&2;}
15524    { (exit 1); exit 1; }; } ;;
15525 esac
15526 fi
15527
15528
15529 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15530 then
15531     { echo "$as_me:$LINENO: checking for -lssl" >&5
15532 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15533 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15534   echo $ECHO_N "(cached) $ECHO_C" >&6
15535 else
15536   ac_check_soname_save_LIBS=$LIBS
15537 LIBS="-lssl  $LIBS"
15538   cat >conftest.$ac_ext <<_ACEOF
15539 /* confdefs.h.  */
15540 _ACEOF
15541 cat confdefs.h >>conftest.$ac_ext
15542 cat >>conftest.$ac_ext <<_ACEOF
15543 /* end confdefs.h.  */
15544
15545 /* Override any GCC internal prototype to avoid an error.
15546    Use char because int might match the return type of a GCC
15547    builtin and then its argument prototype would still apply.  */
15548 #ifdef __cplusplus
15549 extern "C"
15550 #endif
15551 char SSL_library_init ();
15552 int
15553 main ()
15554 {
15555 return SSL_library_init ();
15556   ;
15557   return 0;
15558 }
15559 _ACEOF
15560 rm -f conftest.$ac_objext conftest$ac_exeext
15561 if { (ac_try="$ac_link"
15562 case "(($ac_try" in
15563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15564   *) ac_try_echo=$ac_try;;
15565 esac
15566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15567   (eval "$ac_link") 2>conftest.er1
15568   ac_status=$?
15569   grep -v '^ *+' conftest.er1 >conftest.err
15570   rm -f conftest.er1
15571   cat conftest.err >&5
15572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15573   (exit $ac_status); } && {
15574          test -z "$ac_c_werror_flag" ||
15575          test ! -s conftest.err
15576        } && test -s conftest$ac_exeext &&
15577        $as_test_x conftest$ac_exeext; then
15578   case "$LIBEXT" in
15579     dll) ;;
15580     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'` ;;
15581     *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;
15582   esac
15583 else
15584   echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.$ac_ext >&5
15586
15587
15588 fi
15589
15590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15591       conftest$ac_exeext conftest.$ac_ext
15592   LIBS=$ac_check_soname_save_LIBS
15593 fi
15594 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15595   { echo "$as_me:$LINENO: result: not found" >&5
15596 echo "${ECHO_T}not found" >&6; }
15597
15598 else
15599   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15600 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15601
15602 cat >>confdefs.h <<_ACEOF
15603 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15604 _ACEOF
15605
15606
15607 fi
15608
15609     { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15610 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15611 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15612   echo $ECHO_N "(cached) $ECHO_C" >&6
15613 else
15614   ac_check_soname_save_LIBS=$LIBS
15615 LIBS="-lcrypto  $LIBS"
15616   cat >conftest.$ac_ext <<_ACEOF
15617 /* confdefs.h.  */
15618 _ACEOF
15619 cat confdefs.h >>conftest.$ac_ext
15620 cat >>conftest.$ac_ext <<_ACEOF
15621 /* end confdefs.h.  */
15622
15623 /* Override any GCC internal prototype to avoid an error.
15624    Use char because int might match the return type of a GCC
15625    builtin and then its argument prototype would still apply.  */
15626 #ifdef __cplusplus
15627 extern "C"
15628 #endif
15629 char BIO_new_socket ();
15630 int
15631 main ()
15632 {
15633 return BIO_new_socket ();
15634   ;
15635   return 0;
15636 }
15637 _ACEOF
15638 rm -f conftest.$ac_objext conftest$ac_exeext
15639 if { (ac_try="$ac_link"
15640 case "(($ac_try" in
15641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15642   *) ac_try_echo=$ac_try;;
15643 esac
15644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15645   (eval "$ac_link") 2>conftest.er1
15646   ac_status=$?
15647   grep -v '^ *+' conftest.er1 >conftest.err
15648   rm -f conftest.er1
15649   cat conftest.err >&5
15650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15651   (exit $ac_status); } && {
15652          test -z "$ac_c_werror_flag" ||
15653          test ! -s conftest.err
15654        } && test -s conftest$ac_exeext &&
15655        $as_test_x conftest$ac_exeext; then
15656   case "$LIBEXT" in
15657     dll) ;;
15658     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'` ;;
15659     *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^    ]*\).*$/\1/"';2,$d'` ;;
15660   esac
15661 else
15662   echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15664
15665
15666 fi
15667
15668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15669       conftest$ac_exeext conftest.$ac_ext
15670   LIBS=$ac_check_soname_save_LIBS
15671 fi
15672 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15673   { echo "$as_me:$LINENO: result: not found" >&5
15674 echo "${ECHO_T}not found" >&6; }
15675
15676 else
15677   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15678 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15679
15680 cat >>confdefs.h <<_ACEOF
15681 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15682 _ACEOF
15683
15684
15685 fi
15686
15687 fi
15688 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15689   case "x$with_openssl" in
15690   x)   wine_notices="$wine_notices|OpenSSL development files not found, SSL won't be supported." ;;
15691   xno) ;;
15692   *)   { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15693 This is an error since --with-openssl was requested." >&5
15694 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15695 This is an error since --with-openssl was requested." >&2;}
15696    { (exit 1); exit 1; }; } ;;
15697 esac
15698 fi
15699
15700
15701 if test "$ac_cv_header_jpeglib_h" = "yes"
15702 then
15703     { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15704 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15705 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15706   echo $ECHO_N "(cached) $ECHO_C" >&6
15707 else
15708   ac_check_soname_save_LIBS=$LIBS
15709 LIBS="-ljpeg  $LIBS"
15710   cat >conftest.$ac_ext <<_ACEOF
15711 /* confdefs.h.  */
15712 _ACEOF
15713 cat confdefs.h >>conftest.$ac_ext
15714 cat >>conftest.$ac_ext <<_ACEOF
15715 /* end confdefs.h.  */
15716
15717 /* Override any GCC internal prototype to avoid an error.
15718    Use char because int might match the return type of a GCC
15719    builtin and then its argument prototype would still apply.  */
15720 #ifdef __cplusplus
15721 extern "C"
15722 #endif
15723 char jpeg_start_decompress ();
15724 int
15725 main ()
15726 {
15727 return jpeg_start_decompress ();
15728   ;
15729   return 0;
15730 }
15731 _ACEOF
15732 rm -f conftest.$ac_objext conftest$ac_exeext
15733 if { (ac_try="$ac_link"
15734 case "(($ac_try" in
15735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15736   *) ac_try_echo=$ac_try;;
15737 esac
15738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15739   (eval "$ac_link") 2>conftest.er1
15740   ac_status=$?
15741   grep -v '^ *+' conftest.er1 >conftest.err
15742   rm -f conftest.er1
15743   cat conftest.err >&5
15744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745   (exit $ac_status); } && {
15746          test -z "$ac_c_werror_flag" ||
15747          test ! -s conftest.err
15748        } && test -s conftest$ac_exeext &&
15749        $as_test_x conftest$ac_exeext; then
15750   case "$LIBEXT" in
15751     dll) ;;
15752     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'` ;;
15753     *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
15754   esac
15755 else
15756   echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.$ac_ext >&5
15758
15759
15760 fi
15761
15762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15763       conftest$ac_exeext conftest.$ac_ext
15764   LIBS=$ac_check_soname_save_LIBS
15765 fi
15766 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15767   { echo "$as_me:$LINENO: result: not found" >&5
15768 echo "${ECHO_T}not found" >&6; }
15769
15770 else
15771   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15772 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15773
15774 cat >>confdefs.h <<_ACEOF
15775 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15776 _ACEOF
15777
15778
15779 fi
15780
15781 fi
15782 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15783   case "x$with_jpeg" in
15784   x)   wine_notices="$wine_notices|libjpeg development files not found, JPEG won't be supported." ;;
15785   xno) ;;
15786   *)   { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15787 This is an error since --with-jpeg was requested." >&5
15788 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15789 This is an error since --with-jpeg was requested." >&2;}
15790    { (exit 1); exit 1; }; } ;;
15791 esac
15792 fi
15793
15794
15795 if test "$ac_cv_header_png_h" = "yes"
15796 then
15797     { echo "$as_me:$LINENO: checking for -lpng" >&5
15798 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15799 if test "${ac_cv_lib_soname_png+set}" = set; then
15800   echo $ECHO_N "(cached) $ECHO_C" >&6
15801 else
15802   ac_check_soname_save_LIBS=$LIBS
15803 LIBS="-lpng  $LIBS"
15804   cat >conftest.$ac_ext <<_ACEOF
15805 /* confdefs.h.  */
15806 _ACEOF
15807 cat confdefs.h >>conftest.$ac_ext
15808 cat >>conftest.$ac_ext <<_ACEOF
15809 /* end confdefs.h.  */
15810
15811 /* Override any GCC internal prototype to avoid an error.
15812    Use char because int might match the return type of a GCC
15813    builtin and then its argument prototype would still apply.  */
15814 #ifdef __cplusplus
15815 extern "C"
15816 #endif
15817 char png_create_read_struct ();
15818 int
15819 main ()
15820 {
15821 return png_create_read_struct ();
15822   ;
15823   return 0;
15824 }
15825 _ACEOF
15826 rm -f conftest.$ac_objext conftest$ac_exeext
15827 if { (ac_try="$ac_link"
15828 case "(($ac_try" in
15829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15830   *) ac_try_echo=$ac_try;;
15831 esac
15832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15833   (eval "$ac_link") 2>conftest.er1
15834   ac_status=$?
15835   grep -v '^ *+' conftest.er1 >conftest.err
15836   rm -f conftest.er1
15837   cat conftest.err >&5
15838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839   (exit $ac_status); } && {
15840          test -z "$ac_c_werror_flag" ||
15841          test ! -s conftest.err
15842        } && test -s conftest$ac_exeext &&
15843        $as_test_x conftest$ac_exeext; then
15844   case "$LIBEXT" in
15845     dll) ;;
15846     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'` ;;
15847     *) 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'` ;;
15848   esac
15849 else
15850   echo "$as_me: failed program was:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15852
15853
15854 fi
15855
15856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15857       conftest$ac_exeext conftest.$ac_ext
15858   LIBS=$ac_check_soname_save_LIBS
15859 fi
15860 if test "x$ac_cv_lib_soname_png" = "x"; then
15861   { echo "$as_me:$LINENO: result: not found" >&5
15862 echo "${ECHO_T}not found" >&6; }
15863
15864 else
15865   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15866 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15867
15868 cat >>confdefs.h <<_ACEOF
15869 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15870 _ACEOF
15871
15872
15873 fi
15874
15875 fi
15876 if test "x$ac_cv_lib_soname_png" = "x"; then
15877   case "x$with_png" in
15878   x)   wine_notices="$wine_notices|libpng development files not found, PNG won't be supported." ;;
15879   xno) ;;
15880   *)   { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15881 This is an error since --with-png was requested." >&5
15882 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15883 This is an error since --with-png was requested." >&2;}
15884    { (exit 1); exit 1; }; } ;;
15885 esac
15886 fi
15887
15888
15889 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15890 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15891 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15892   echo $ECHO_N "(cached) $ECHO_C" >&6
15893 else
15894   ac_check_soname_save_LIBS=$LIBS
15895 LIBS="-lodbc  $LIBS"
15896   cat >conftest.$ac_ext <<_ACEOF
15897 /* confdefs.h.  */
15898 _ACEOF
15899 cat confdefs.h >>conftest.$ac_ext
15900 cat >>conftest.$ac_ext <<_ACEOF
15901 /* end confdefs.h.  */
15902
15903 /* Override any GCC internal prototype to avoid an error.
15904    Use char because int might match the return type of a GCC
15905    builtin and then its argument prototype would still apply.  */
15906 #ifdef __cplusplus
15907 extern "C"
15908 #endif
15909 char SQLConnect ();
15910 int
15911 main ()
15912 {
15913 return SQLConnect ();
15914   ;
15915   return 0;
15916 }
15917 _ACEOF
15918 rm -f conftest.$ac_objext conftest$ac_exeext
15919 if { (ac_try="$ac_link"
15920 case "(($ac_try" in
15921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15922   *) ac_try_echo=$ac_try;;
15923 esac
15924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15925   (eval "$ac_link") 2>conftest.er1
15926   ac_status=$?
15927   grep -v '^ *+' conftest.er1 >conftest.err
15928   rm -f conftest.er1
15929   cat conftest.err >&5
15930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931   (exit $ac_status); } && {
15932          test -z "$ac_c_werror_flag" ||
15933          test ! -s conftest.err
15934        } && test -s conftest$ac_exeext &&
15935        $as_test_x conftest$ac_exeext; then
15936   case "$LIBEXT" in
15937     dll) ;;
15938     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'` ;;
15939     *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
15940   esac
15941 else
15942   echo "$as_me: failed program was:" >&5
15943 sed 's/^/| /' conftest.$ac_ext >&5
15944
15945
15946 fi
15947
15948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15949       conftest$ac_exeext conftest.$ac_ext
15950   LIBS=$ac_check_soname_save_LIBS
15951 fi
15952 if test "x$ac_cv_lib_soname_odbc" = "x"; then
15953   { echo "$as_me:$LINENO: result: not found" >&5
15954 echo "${ECHO_T}not found" >&6; }
15955        cat >>confdefs.h <<_ACEOF
15956 #define SONAME_LIBODBC "libodbc.$LIBEXT"
15957 _ACEOF
15958
15959 else
15960   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
15961 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
15962
15963 cat >>confdefs.h <<_ACEOF
15964 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
15965 _ACEOF
15966
15967
15968 fi
15969
15970
15971 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
15972         "$ac_cv_header_sys_soundcard_h" != "yes" -a \
15973         "$ac_cv_header_machine_soundcard_h" != "yes" -a \
15974         "$ac_cv_header_soundcard_h" != "yes" -a \
15975         "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
15976 then
15977     wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
15978 fi
15979
15980
15981 EXTRACFLAGS=""
15982
15983 if test "x${GCC}" = "xyes"
15984 then
15985   EXTRACFLAGS="-Wall -pipe"
15986
15987     { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
15988 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
15989 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
15990   echo $ECHO_N "(cached) $ECHO_C" >&6
15991 else
15992   if test "$cross_compiling" = yes; then
15993   ac_cv_c_gcc_strength_bug="yes"
15994 else
15995   cat >conftest.$ac_ext <<_ACEOF
15996 /* confdefs.h.  */
15997 _ACEOF
15998 cat confdefs.h >>conftest.$ac_ext
15999 cat >>conftest.$ac_ext <<_ACEOF
16000 /* end confdefs.h.  */
16001 int L[4] = {0,1,2,3};
16002 int
16003 main ()
16004 {
16005 static int Array[3];
16006   unsigned int B = 3;
16007   int i;
16008   for(i=0; i<B; i++) Array[i] = i - 3;
16009   for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16010   L[i] = 4;
16011   exit( Array[1] != -2 || L[2] != 3)
16012   ;
16013   return 0;
16014 }
16015 _ACEOF
16016 rm -f conftest$ac_exeext
16017 if { (ac_try="$ac_link"
16018 case "(($ac_try" in
16019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16020   *) ac_try_echo=$ac_try;;
16021 esac
16022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16023   (eval "$ac_link") 2>&5
16024   ac_status=$?
16025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16026   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16027   { (case "(($ac_try" in
16028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16029   *) ac_try_echo=$ac_try;;
16030 esac
16031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16032   (eval "$ac_try") 2>&5
16033   ac_status=$?
16034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035   (exit $ac_status); }; }; then
16036   ac_cv_c_gcc_strength_bug="no"
16037 else
16038   echo "$as_me: program exited with status $ac_status" >&5
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16041
16042 ( exit $ac_status )
16043 ac_cv_c_gcc_strength_bug="yes"
16044 fi
16045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16046 fi
16047
16048
16049 fi
16050 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16051 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16052   if test "$ac_cv_c_gcc_strength_bug" = "yes"
16053   then
16054     EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16055   fi
16056
16057
16058   { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16059 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16060 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16061   echo $ECHO_N "(cached) $ECHO_C" >&6
16062 else
16063   ac_wine_try_cflags_saved=$CFLAGS
16064 CFLAGS="$CFLAGS -fshort-wchar"
16065 cat >conftest.$ac_ext <<_ACEOF
16066 /* confdefs.h.  */
16067 _ACEOF
16068 cat confdefs.h >>conftest.$ac_ext
16069 cat >>conftest.$ac_ext <<_ACEOF
16070 /* end confdefs.h.  */
16071
16072 int
16073 main ()
16074 {
16075
16076   ;
16077   return 0;
16078 }
16079 _ACEOF
16080 rm -f conftest.$ac_objext conftest$ac_exeext
16081 if { (ac_try="$ac_link"
16082 case "(($ac_try" in
16083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16084   *) ac_try_echo=$ac_try;;
16085 esac
16086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16087   (eval "$ac_link") 2>conftest.er1
16088   ac_status=$?
16089   grep -v '^ *+' conftest.er1 >conftest.err
16090   rm -f conftest.er1
16091   cat conftest.err >&5
16092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16093   (exit $ac_status); } && {
16094          test -z "$ac_c_werror_flag" ||
16095          test ! -s conftest.err
16096        } && test -s conftest$ac_exeext &&
16097        $as_test_x conftest$ac_exeext; then
16098   ac_cv_cflags__fshort_wchar=yes
16099 else
16100   echo "$as_me: failed program was:" >&5
16101 sed 's/^/| /' conftest.$ac_ext >&5
16102
16103         ac_cv_cflags__fshort_wchar=no
16104 fi
16105
16106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16107       conftest$ac_exeext conftest.$ac_ext
16108 CFLAGS=$ac_wine_try_cflags_saved
16109 fi
16110 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16111 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16112 if test $ac_cv_cflags__fshort_wchar = yes; then
16113
16114 cat >>confdefs.h <<\_ACEOF
16115 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16116 _ACEOF
16117
16118 fi
16119
16120   { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16121 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16122 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16123   echo $ECHO_N "(cached) $ECHO_C" >&6
16124 else
16125   ac_wine_try_cflags_saved=$CFLAGS
16126 CFLAGS="$CFLAGS -fno-strict-aliasing"
16127 cat >conftest.$ac_ext <<_ACEOF
16128 /* confdefs.h.  */
16129 _ACEOF
16130 cat confdefs.h >>conftest.$ac_ext
16131 cat >>conftest.$ac_ext <<_ACEOF
16132 /* end confdefs.h.  */
16133
16134 int
16135 main ()
16136 {
16137
16138   ;
16139   return 0;
16140 }
16141 _ACEOF
16142 rm -f conftest.$ac_objext conftest$ac_exeext
16143 if { (ac_try="$ac_link"
16144 case "(($ac_try" in
16145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16146   *) ac_try_echo=$ac_try;;
16147 esac
16148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16149   (eval "$ac_link") 2>conftest.er1
16150   ac_status=$?
16151   grep -v '^ *+' conftest.er1 >conftest.err
16152   rm -f conftest.er1
16153   cat conftest.err >&5
16154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16155   (exit $ac_status); } && {
16156          test -z "$ac_c_werror_flag" ||
16157          test ! -s conftest.err
16158        } && test -s conftest$ac_exeext &&
16159        $as_test_x conftest$ac_exeext; then
16160   ac_cv_cflags__fno_strict_aliasing=yes
16161 else
16162   echo "$as_me: failed program was:" >&5
16163 sed 's/^/| /' conftest.$ac_ext >&5
16164
16165         ac_cv_cflags__fno_strict_aliasing=no
16166 fi
16167
16168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16169       conftest$ac_exeext conftest.$ac_ext
16170 CFLAGS=$ac_wine_try_cflags_saved
16171 fi
16172 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16173 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16174 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16175   EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16176 fi
16177
16178   { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16179 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16180 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16181   echo $ECHO_N "(cached) $ECHO_C" >&6
16182 else
16183   ac_wine_try_cflags_saved=$CFLAGS
16184 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16185 cat >conftest.$ac_ext <<_ACEOF
16186 /* confdefs.h.  */
16187 _ACEOF
16188 cat confdefs.h >>conftest.$ac_ext
16189 cat >>conftest.$ac_ext <<_ACEOF
16190 /* end confdefs.h.  */
16191
16192 int
16193 main ()
16194 {
16195
16196   ;
16197   return 0;
16198 }
16199 _ACEOF
16200 rm -f conftest.$ac_objext conftest$ac_exeext
16201 if { (ac_try="$ac_link"
16202 case "(($ac_try" in
16203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16204   *) ac_try_echo=$ac_try;;
16205 esac
16206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16207   (eval "$ac_link") 2>conftest.er1
16208   ac_status=$?
16209   grep -v '^ *+' conftest.er1 >conftest.err
16210   rm -f conftest.er1
16211   cat conftest.err >&5
16212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213   (exit $ac_status); } && {
16214          test -z "$ac_c_werror_flag" ||
16215          test ! -s conftest.err
16216        } && test -s conftest$ac_exeext &&
16217        $as_test_x conftest$ac_exeext; then
16218   ac_cv_cflags__Wdeclaration_after_statement=yes
16219 else
16220   echo "$as_me: failed program was:" >&5
16221 sed 's/^/| /' conftest.$ac_ext >&5
16222
16223         ac_cv_cflags__Wdeclaration_after_statement=no
16224 fi
16225
16226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16227       conftest$ac_exeext conftest.$ac_ext
16228 CFLAGS=$ac_wine_try_cflags_saved
16229 fi
16230 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16231 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16232 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16233   EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16234 fi
16235
16236   { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16237 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16238 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16239   echo $ECHO_N "(cached) $ECHO_C" >&6
16240 else
16241   ac_wine_try_cflags_saved=$CFLAGS
16242 CFLAGS="$CFLAGS -Wwrite-strings"
16243 cat >conftest.$ac_ext <<_ACEOF
16244 /* confdefs.h.  */
16245 _ACEOF
16246 cat confdefs.h >>conftest.$ac_ext
16247 cat >>conftest.$ac_ext <<_ACEOF
16248 /* end confdefs.h.  */
16249
16250 int
16251 main ()
16252 {
16253
16254   ;
16255   return 0;
16256 }
16257 _ACEOF
16258 rm -f conftest.$ac_objext conftest$ac_exeext
16259 if { (ac_try="$ac_link"
16260 case "(($ac_try" in
16261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16262   *) ac_try_echo=$ac_try;;
16263 esac
16264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16265   (eval "$ac_link") 2>conftest.er1
16266   ac_status=$?
16267   grep -v '^ *+' conftest.er1 >conftest.err
16268   rm -f conftest.er1
16269   cat conftest.err >&5
16270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16271   (exit $ac_status); } && {
16272          test -z "$ac_c_werror_flag" ||
16273          test ! -s conftest.err
16274        } && test -s conftest$ac_exeext &&
16275        $as_test_x conftest$ac_exeext; then
16276   ac_cv_cflags__Wwrite_strings=yes
16277 else
16278   echo "$as_me: failed program was:" >&5
16279 sed 's/^/| /' conftest.$ac_ext >&5
16280
16281         ac_cv_cflags__Wwrite_strings=no
16282 fi
16283
16284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16285       conftest$ac_exeext conftest.$ac_ext
16286 CFLAGS=$ac_wine_try_cflags_saved
16287 fi
16288 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16289 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16290 if test $ac_cv_cflags__Wwrite_strings = yes; then
16291   EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16292 fi
16293
16294   { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16295 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16296 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16297   echo $ECHO_N "(cached) $ECHO_C" >&6
16298 else
16299   ac_wine_try_cflags_saved=$CFLAGS
16300 CFLAGS="$CFLAGS -Wtype-limits"
16301 cat >conftest.$ac_ext <<_ACEOF
16302 /* confdefs.h.  */
16303 _ACEOF
16304 cat confdefs.h >>conftest.$ac_ext
16305 cat >>conftest.$ac_ext <<_ACEOF
16306 /* end confdefs.h.  */
16307
16308 int
16309 main ()
16310 {
16311
16312   ;
16313   return 0;
16314 }
16315 _ACEOF
16316 rm -f conftest.$ac_objext conftest$ac_exeext
16317 if { (ac_try="$ac_link"
16318 case "(($ac_try" in
16319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16320   *) ac_try_echo=$ac_try;;
16321 esac
16322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16323   (eval "$ac_link") 2>conftest.er1
16324   ac_status=$?
16325   grep -v '^ *+' conftest.er1 >conftest.err
16326   rm -f conftest.er1
16327   cat conftest.err >&5
16328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16329   (exit $ac_status); } && {
16330          test -z "$ac_c_werror_flag" ||
16331          test ! -s conftest.err
16332        } && test -s conftest$ac_exeext &&
16333        $as_test_x conftest$ac_exeext; then
16334   ac_cv_cflags__Wtype_limits=yes
16335 else
16336   echo "$as_me: failed program was:" >&5
16337 sed 's/^/| /' conftest.$ac_ext >&5
16338
16339         ac_cv_cflags__Wtype_limits=no
16340 fi
16341
16342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16343       conftest$ac_exeext conftest.$ac_ext
16344 CFLAGS=$ac_wine_try_cflags_saved
16345 fi
16346 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16347 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16348 if test $ac_cv_cflags__Wtype_limits = yes; then
16349   EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16350 fi
16351
16352
16353     saved_CFLAGS="$CFLAGS"
16354   CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16355   { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16356 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16357 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16358   echo $ECHO_N "(cached) $ECHO_C" >&6
16359 else
16360   cat >conftest.$ac_ext <<_ACEOF
16361 /* confdefs.h.  */
16362 _ACEOF
16363 cat confdefs.h >>conftest.$ac_ext
16364 cat >>conftest.$ac_ext <<_ACEOF
16365 /* end confdefs.h.  */
16366 #include <string.h>
16367 int
16368 main ()
16369 {
16370
16371   ;
16372   return 0;
16373 }
16374 _ACEOF
16375 rm -f conftest.$ac_objext
16376 if { (ac_try="$ac_compile"
16377 case "(($ac_try" in
16378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16379   *) ac_try_echo=$ac_try;;
16380 esac
16381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16382   (eval "$ac_compile") 2>conftest.er1
16383   ac_status=$?
16384   grep -v '^ *+' conftest.er1 >conftest.err
16385   rm -f conftest.er1
16386   cat conftest.err >&5
16387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16388   (exit $ac_status); } && {
16389          test -z "$ac_c_werror_flag" ||
16390          test ! -s conftest.err
16391        } && test -s conftest.$ac_objext; then
16392   ac_cv_c_string_h_warnings=no
16393 else
16394   echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16396
16397         ac_cv_c_string_h_warnings=yes
16398 fi
16399
16400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16401 fi
16402 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16403 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16404   CFLAGS="$saved_CFLAGS"
16405   if test "$ac_cv_c_string_h_warnings" = "no"
16406   then
16407     EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16408   fi
16409
16410   BUILTINFLAG=""
16411
16412   saved_CFLAGS="$CFLAGS"
16413   CFLAGS="$CFLAGS -Werror"
16414   { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16415 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16416 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16417   echo $ECHO_N "(cached) $ECHO_C" >&6
16418 else
16419   cat >conftest.$ac_ext <<_ACEOF
16420 /* confdefs.h.  */
16421 _ACEOF
16422 cat confdefs.h >>conftest.$ac_ext
16423 cat >>conftest.$ac_ext <<_ACEOF
16424 /* end confdefs.h.  */
16425
16426 int
16427 main ()
16428 {
16429 int iswlower(unsigned short);
16430   ;
16431   return 0;
16432 }
16433 _ACEOF
16434 rm -f conftest.$ac_objext
16435 if { (ac_try="$ac_compile"
16436 case "(($ac_try" in
16437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16438   *) ac_try_echo=$ac_try;;
16439 esac
16440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16441   (eval "$ac_compile") 2>conftest.er1
16442   ac_status=$?
16443   grep -v '^ *+' conftest.er1 >conftest.err
16444   rm -f conftest.er1
16445   cat conftest.err >&5
16446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447   (exit $ac_status); } && {
16448          test -z "$ac_c_werror_flag" ||
16449          test ! -s conftest.err
16450        } && test -s conftest.$ac_objext; then
16451   ac_cv_c_builtin_wchar_ctype=no
16452 else
16453   echo "$as_me: failed program was:" >&5
16454 sed 's/^/| /' conftest.$ac_ext >&5
16455
16456         ac_cv_c_builtin_wchar_ctype=yes
16457 fi
16458
16459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16460 fi
16461 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16462 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16463   CFLAGS="$saved_CFLAGS"
16464   if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16465   then
16466     BUILTINFLAG="-fno-builtin"
16467   fi
16468 fi
16469
16470
16471 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16472 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16473 if test "${ac_cv_asm_func_def+set}" = set; then
16474   echo $ECHO_N "(cached) $ECHO_C" >&6
16475 else
16476   cat >conftest.$ac_ext <<_ACEOF
16477 /* confdefs.h.  */
16478 _ACEOF
16479 cat confdefs.h >>conftest.$ac_ext
16480 cat >>conftest.$ac_ext <<_ACEOF
16481 /* end confdefs.h.  */
16482
16483 int
16484 main ()
16485 {
16486 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16487   ;
16488   return 0;
16489 }
16490 _ACEOF
16491 rm -f conftest.$ac_objext conftest$ac_exeext
16492 if { (ac_try="$ac_link"
16493 case "(($ac_try" in
16494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16495   *) ac_try_echo=$ac_try;;
16496 esac
16497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16498   (eval "$ac_link") 2>conftest.er1
16499   ac_status=$?
16500   grep -v '^ *+' conftest.er1 >conftest.err
16501   rm -f conftest.er1
16502   cat conftest.err >&5
16503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16504   (exit $ac_status); } && {
16505          test -z "$ac_c_werror_flag" ||
16506          test ! -s conftest.err
16507        } && test -s conftest$ac_exeext &&
16508        $as_test_x conftest$ac_exeext; then
16509   ac_cv_asm_func_def=".def"
16510 else
16511   echo "$as_me: failed program was:" >&5
16512 sed 's/^/| /' conftest.$ac_ext >&5
16513
16514         cat >conftest.$ac_ext <<_ACEOF
16515 /* confdefs.h.  */
16516 _ACEOF
16517 cat confdefs.h >>conftest.$ac_ext
16518 cat >>conftest.$ac_ext <<_ACEOF
16519 /* end confdefs.h.  */
16520
16521 int
16522 main ()
16523 {
16524 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16525   ;
16526   return 0;
16527 }
16528 _ACEOF
16529 rm -f conftest.$ac_objext conftest$ac_exeext
16530 if { (ac_try="$ac_link"
16531 case "(($ac_try" in
16532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16533   *) ac_try_echo=$ac_try;;
16534 esac
16535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16536   (eval "$ac_link") 2>conftest.er1
16537   ac_status=$?
16538   grep -v '^ *+' conftest.er1 >conftest.err
16539   rm -f conftest.er1
16540   cat conftest.err >&5
16541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542   (exit $ac_status); } && {
16543          test -z "$ac_c_werror_flag" ||
16544          test ! -s conftest.err
16545        } && test -s conftest$ac_exeext &&
16546        $as_test_x conftest$ac_exeext; then
16547   ac_cv_asm_func_def=".type @function"
16548 else
16549   echo "$as_me: failed program was:" >&5
16550 sed 's/^/| /' conftest.$ac_ext >&5
16551
16552         cat >conftest.$ac_ext <<_ACEOF
16553 /* confdefs.h.  */
16554 _ACEOF
16555 cat confdefs.h >>conftest.$ac_ext
16556 cat >>conftest.$ac_ext <<_ACEOF
16557 /* end confdefs.h.  */
16558
16559 int
16560 main ()
16561 {
16562 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16563   ;
16564   return 0;
16565 }
16566 _ACEOF
16567 rm -f conftest.$ac_objext conftest$ac_exeext
16568 if { (ac_try="$ac_link"
16569 case "(($ac_try" in
16570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16571   *) ac_try_echo=$ac_try;;
16572 esac
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574   (eval "$ac_link") 2>conftest.er1
16575   ac_status=$?
16576   grep -v '^ *+' conftest.er1 >conftest.err
16577   rm -f conftest.er1
16578   cat conftest.err >&5
16579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580   (exit $ac_status); } && {
16581          test -z "$ac_c_werror_flag" ||
16582          test ! -s conftest.err
16583        } && test -s conftest$ac_exeext &&
16584        $as_test_x conftest$ac_exeext; then
16585   ac_cv_asm_func_def=".type 2"
16586 else
16587   echo "$as_me: failed program was:" >&5
16588 sed 's/^/| /' conftest.$ac_ext >&5
16589
16590         ac_cv_asm_func_def="unknown"
16591 fi
16592
16593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16594       conftest$ac_exeext conftest.$ac_ext
16595 fi
16596
16597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16598       conftest$ac_exeext conftest.$ac_ext
16599 fi
16600
16601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16602       conftest$ac_exeext conftest.$ac_ext
16603 fi
16604 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16605 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16606
16607
16608
16609 case "$ac_cv_asm_func_def" in
16610   ".def")
16611      cat >>confdefs.h <<\_ACEOF
16612 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16613 _ACEOF
16614  ;;
16615   ".type @function")
16616      cat >>confdefs.h <<\_ACEOF
16617 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16618 _ACEOF
16619  ;;
16620   ".type 2")
16621      cat >>confdefs.h <<\_ACEOF
16622 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16623 _ACEOF
16624  ;;
16625   *)
16626      cat >>confdefs.h <<\_ACEOF
16627 #define __ASM_FUNC(name) ""
16628 _ACEOF
16629  ;;
16630 esac
16631
16632
16633 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16634 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16635 if test "${ac_cv_c_extern_prefix+set}" = set; then
16636   echo $ECHO_N "(cached) $ECHO_C" >&6
16637 else
16638   cat >conftest.$ac_ext <<_ACEOF
16639 /* confdefs.h.  */
16640 _ACEOF
16641 cat confdefs.h >>conftest.$ac_ext
16642 cat >>conftest.$ac_ext <<_ACEOF
16643 /* end confdefs.h.  */
16644 extern int ac_test;
16645 int
16646 main ()
16647 {
16648 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16649   ;
16650   return 0;
16651 }
16652 _ACEOF
16653 rm -f conftest.$ac_objext conftest$ac_exeext
16654 if { (ac_try="$ac_link"
16655 case "(($ac_try" in
16656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16657   *) ac_try_echo=$ac_try;;
16658 esac
16659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16660   (eval "$ac_link") 2>conftest.er1
16661   ac_status=$?
16662   grep -v '^ *+' conftest.er1 >conftest.err
16663   rm -f conftest.er1
16664   cat conftest.err >&5
16665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666   (exit $ac_status); } && {
16667          test -z "$ac_c_werror_flag" ||
16668          test ! -s conftest.err
16669        } && test -s conftest$ac_exeext &&
16670        $as_test_x conftest$ac_exeext; then
16671   ac_cv_c_extern_prefix="yes"
16672 else
16673   echo "$as_me: failed program was:" >&5
16674 sed 's/^/| /' conftest.$ac_ext >&5
16675
16676         ac_cv_c_extern_prefix="no"
16677 fi
16678
16679 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16680       conftest$ac_exeext conftest.$ac_ext
16681 fi
16682 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16683 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16684
16685
16686
16687 if test "$ac_cv_c_extern_prefix" = "yes"
16688 then
16689   cat >>confdefs.h <<\_ACEOF
16690 #define __ASM_NAME(name) "_" name
16691 _ACEOF
16692
16693 else
16694   cat >>confdefs.h <<\_ACEOF
16695 #define __ASM_NAME(name) name
16696 _ACEOF
16697
16698 fi
16699
16700
16701 LDPATH=""
16702
16703 case $build_os in
16704   cygwin*|mingw32*)
16705     LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16706     ;;
16707   darwin*|macosx*)
16708     ;;
16709   linux*|solaris*)      if test -z "$LDRPATH_LOCAL"
16710     then
16711       LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16712     fi
16713     ;;
16714   *)
16715     LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16716     ;;
16717 esac
16718
16719 case $host_os in
16720   mingw32*)
16721     CRTLIBS="-lmsvcrt"
16722
16723     SOCKETLIBS="-lws2_32"
16724
16725     ;;
16726 esac
16727
16728 MAIN_BINARY="wine-pthread"
16729   case $host_cpu in
16730   *i[3456789]86*)
16731     case $host_os in
16732       linux* | k*bsd*-gnu)
16733         MAIN_BINARY="wine-glibc"
16734
16735         EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16736  ;;
16737       freebsd*)
16738         MAIN_BINARY="wine-freebsd"
16739
16740         EXTRA_BINARIES="wine-pthread"
16741  ;;
16742     esac
16743     ;;
16744 esac
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816 for ac_func in \
16817         _pclose \
16818         _popen \
16819         _snprintf \
16820         _spawnvp \
16821         _strdup \
16822         _stricmp \
16823         _strnicmp \
16824         _strtoi64 \
16825         _strtoui64 \
16826         _vsnprintf \
16827         asctime_r \
16828         chsize \
16829         clone \
16830         dlopen \
16831         epoll_create \
16832         ffs \
16833         finite \
16834         fork \
16835         fpclass \
16836         fstatfs \
16837         fstatvfs \
16838         ftruncate \
16839         futimes \
16840         futimesat \
16841         getdirentries \
16842         getopt_long \
16843         getpagesize \
16844         getpwuid \
16845         gettid \
16846         gettimeofday \
16847         getuid \
16848         inet_pton \
16849         kqueue \
16850         lstat \
16851         memmove \
16852         mmap \
16853         pclose \
16854         poll \
16855         popen \
16856         prctl \
16857         pread \
16858         pwrite \
16859         readlink \
16860         rfork \
16861         sched_yield \
16862         select \
16863         setproctitle \
16864         setrlimit \
16865         settimeofday \
16866         sigaltstack \
16867         sigprocmask \
16868         snprintf \
16869         spawnvp \
16870         statfs \
16871         statvfs \
16872         strcasecmp \
16873         strdup \
16874         strerror \
16875         strncasecmp \
16876         strtold \
16877         strtoll \
16878         strtoull \
16879         tcgetattr \
16880         thr_kill2 \
16881         timegm \
16882         usleep \
16883         vsnprintf \
16884         wait4 \
16885         waitpid \
16886
16887 do
16888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16889 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16891 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16892   echo $ECHO_N "(cached) $ECHO_C" >&6
16893 else
16894   cat >conftest.$ac_ext <<_ACEOF
16895 /* confdefs.h.  */
16896 _ACEOF
16897 cat confdefs.h >>conftest.$ac_ext
16898 cat >>conftest.$ac_ext <<_ACEOF
16899 /* end confdefs.h.  */
16900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16901    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16902 #define $ac_func innocuous_$ac_func
16903
16904 /* System header to define __stub macros and hopefully few prototypes,
16905     which can conflict with char $ac_func (); below.
16906     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16907     <limits.h> exists even on freestanding compilers.  */
16908
16909 #ifdef __STDC__
16910 # include <limits.h>
16911 #else
16912 # include <assert.h>
16913 #endif
16914
16915 #undef $ac_func
16916
16917 /* Override any GCC internal prototype to avoid an error.
16918    Use char because int might match the return type of a GCC
16919    builtin and then its argument prototype would still apply.  */
16920 #ifdef __cplusplus
16921 extern "C"
16922 #endif
16923 char $ac_func ();
16924 /* The GNU C library defines this for functions which it implements
16925     to always fail with ENOSYS.  Some functions are actually named
16926     something starting with __ and the normal name is an alias.  */
16927 #if defined __stub_$ac_func || defined __stub___$ac_func
16928 choke me
16929 #endif
16930
16931 int
16932 main ()
16933 {
16934 return $ac_func ();
16935   ;
16936   return 0;
16937 }
16938 _ACEOF
16939 rm -f conftest.$ac_objext conftest$ac_exeext
16940 if { (ac_try="$ac_link"
16941 case "(($ac_try" in
16942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16943   *) ac_try_echo=$ac_try;;
16944 esac
16945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16946   (eval "$ac_link") 2>conftest.er1
16947   ac_status=$?
16948   grep -v '^ *+' conftest.er1 >conftest.err
16949   rm -f conftest.er1
16950   cat conftest.err >&5
16951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952   (exit $ac_status); } && {
16953          test -z "$ac_c_werror_flag" ||
16954          test ! -s conftest.err
16955        } && test -s conftest$ac_exeext &&
16956        $as_test_x conftest$ac_exeext; then
16957   eval "$as_ac_var=yes"
16958 else
16959   echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16961
16962         eval "$as_ac_var=no"
16963 fi
16964
16965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16966       conftest$ac_exeext conftest.$ac_ext
16967 fi
16968 ac_res=`eval echo '${'$as_ac_var'}'`
16969                { echo "$as_me:$LINENO: result: $ac_res" >&5
16970 echo "${ECHO_T}$ac_res" >&6; }
16971 if test `eval echo '${'$as_ac_var'}'` = yes; then
16972   cat >>confdefs.h <<_ACEOF
16973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16974 _ACEOF
16975
16976 fi
16977 done
16978
16979
16980 if test "$ac_cv_func_dlopen" = no
16981 then
16982     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16983 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16984 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16985   echo $ECHO_N "(cached) $ECHO_C" >&6
16986 else
16987   ac_check_lib_save_LIBS=$LIBS
16988 LIBS="-ldl  $LIBS"
16989 cat >conftest.$ac_ext <<_ACEOF
16990 /* confdefs.h.  */
16991 _ACEOF
16992 cat confdefs.h >>conftest.$ac_ext
16993 cat >>conftest.$ac_ext <<_ACEOF
16994 /* end confdefs.h.  */
16995
16996 /* Override any GCC internal prototype to avoid an error.
16997    Use char because int might match the return type of a GCC
16998    builtin and then its argument prototype would still apply.  */
16999 #ifdef __cplusplus
17000 extern "C"
17001 #endif
17002 char dlopen ();
17003 int
17004 main ()
17005 {
17006 return dlopen ();
17007   ;
17008   return 0;
17009 }
17010 _ACEOF
17011 rm -f conftest.$ac_objext conftest$ac_exeext
17012 if { (ac_try="$ac_link"
17013 case "(($ac_try" in
17014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17015   *) ac_try_echo=$ac_try;;
17016 esac
17017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17018   (eval "$ac_link") 2>conftest.er1
17019   ac_status=$?
17020   grep -v '^ *+' conftest.er1 >conftest.err
17021   rm -f conftest.er1
17022   cat conftest.err >&5
17023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024   (exit $ac_status); } && {
17025          test -z "$ac_c_werror_flag" ||
17026          test ! -s conftest.err
17027        } && test -s conftest$ac_exeext &&
17028        $as_test_x conftest$ac_exeext; then
17029   ac_cv_lib_dl_dlopen=yes
17030 else
17031   echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034         ac_cv_lib_dl_dlopen=no
17035 fi
17036
17037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17038       conftest$ac_exeext conftest.$ac_ext
17039 LIBS=$ac_check_lib_save_LIBS
17040 fi
17041 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17042 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17043 if test $ac_cv_lib_dl_dlopen = yes; then
17044   cat >>confdefs.h <<\_ACEOF
17045 #define HAVE_DLOPEN 1
17046 _ACEOF
17047  LIBDL="-ldl"
17048
17049 fi
17050
17051 fi
17052 ac_wine_check_funcs_save_LIBS="$LIBS"
17053 LIBS="$LIBS $LIBDL"
17054
17055 for ac_func in dladdr
17056 do
17057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17058 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17060 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17061   echo $ECHO_N "(cached) $ECHO_C" >&6
17062 else
17063   cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h.  */
17065 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h.  */
17069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17071 #define $ac_func innocuous_$ac_func
17072
17073 /* System header to define __stub macros and hopefully few prototypes,
17074     which can conflict with char $ac_func (); below.
17075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17076     <limits.h> exists even on freestanding compilers.  */
17077
17078 #ifdef __STDC__
17079 # include <limits.h>
17080 #else
17081 # include <assert.h>
17082 #endif
17083
17084 #undef $ac_func
17085
17086 /* Override any GCC internal prototype to avoid an error.
17087    Use char because int might match the return type of a GCC
17088    builtin and then its argument prototype would still apply.  */
17089 #ifdef __cplusplus
17090 extern "C"
17091 #endif
17092 char $ac_func ();
17093 /* The GNU C library defines this for functions which it implements
17094     to always fail with ENOSYS.  Some functions are actually named
17095     something starting with __ and the normal name is an alias.  */
17096 #if defined __stub_$ac_func || defined __stub___$ac_func
17097 choke me
17098 #endif
17099
17100 int
17101 main ()
17102 {
17103 return $ac_func ();
17104   ;
17105   return 0;
17106 }
17107 _ACEOF
17108 rm -f conftest.$ac_objext conftest$ac_exeext
17109 if { (ac_try="$ac_link"
17110 case "(($ac_try" in
17111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17112   *) ac_try_echo=$ac_try;;
17113 esac
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115   (eval "$ac_link") 2>conftest.er1
17116   ac_status=$?
17117   grep -v '^ *+' conftest.er1 >conftest.err
17118   rm -f conftest.er1
17119   cat conftest.err >&5
17120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121   (exit $ac_status); } && {
17122          test -z "$ac_c_werror_flag" ||
17123          test ! -s conftest.err
17124        } && test -s conftest$ac_exeext &&
17125        $as_test_x conftest$ac_exeext; then
17126   eval "$as_ac_var=yes"
17127 else
17128   echo "$as_me: failed program was:" >&5
17129 sed 's/^/| /' conftest.$ac_ext >&5
17130
17131         eval "$as_ac_var=no"
17132 fi
17133
17134 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17135       conftest$ac_exeext conftest.$ac_ext
17136 fi
17137 ac_res=`eval echo '${'$as_ac_var'}'`
17138                { echo "$as_me:$LINENO: result: $ac_res" >&5
17139 echo "${ECHO_T}$ac_res" >&6; }
17140 if test `eval echo '${'$as_ac_var'}'` = yes; then
17141   cat >>confdefs.h <<_ACEOF
17142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17143 _ACEOF
17144
17145 fi
17146 done
17147
17148 LIBS="$ac_wine_check_funcs_save_LIBS"
17149
17150 if test "$ac_cv_func_poll" = no
17151 then
17152     { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17153 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17154 if test "${ac_cv_lib_poll_poll+set}" = set; then
17155   echo $ECHO_N "(cached) $ECHO_C" >&6
17156 else
17157   ac_check_lib_save_LIBS=$LIBS
17158 LIBS="-lpoll  $LIBS"
17159 cat >conftest.$ac_ext <<_ACEOF
17160 /* confdefs.h.  */
17161 _ACEOF
17162 cat confdefs.h >>conftest.$ac_ext
17163 cat >>conftest.$ac_ext <<_ACEOF
17164 /* end confdefs.h.  */
17165
17166 /* Override any GCC internal prototype to avoid an error.
17167    Use char because int might match the return type of a GCC
17168    builtin and then its argument prototype would still apply.  */
17169 #ifdef __cplusplus
17170 extern "C"
17171 #endif
17172 char poll ();
17173 int
17174 main ()
17175 {
17176 return poll ();
17177   ;
17178   return 0;
17179 }
17180 _ACEOF
17181 rm -f conftest.$ac_objext conftest$ac_exeext
17182 if { (ac_try="$ac_link"
17183 case "(($ac_try" in
17184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17185   *) ac_try_echo=$ac_try;;
17186 esac
17187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17188   (eval "$ac_link") 2>conftest.er1
17189   ac_status=$?
17190   grep -v '^ *+' conftest.er1 >conftest.err
17191   rm -f conftest.er1
17192   cat conftest.err >&5
17193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194   (exit $ac_status); } && {
17195          test -z "$ac_c_werror_flag" ||
17196          test ! -s conftest.err
17197        } && test -s conftest$ac_exeext &&
17198        $as_test_x conftest$ac_exeext; then
17199   ac_cv_lib_poll_poll=yes
17200 else
17201   echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.$ac_ext >&5
17203
17204         ac_cv_lib_poll_poll=no
17205 fi
17206
17207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17208       conftest$ac_exeext conftest.$ac_ext
17209 LIBS=$ac_check_lib_save_LIBS
17210 fi
17211 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17212 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17213 if test $ac_cv_lib_poll_poll = yes; then
17214   cat >>confdefs.h <<\_ACEOF
17215 #define HAVE_POLL 1
17216 _ACEOF
17217  LIBPOLL="-lpoll"
17218
17219 fi
17220
17221 fi
17222
17223 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17224 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17225 if test "${ac_cv_search_gethostbyname+set}" = set; then
17226   echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228   ac_func_search_save_LIBS=$LIBS
17229 cat >conftest.$ac_ext <<_ACEOF
17230 /* confdefs.h.  */
17231 _ACEOF
17232 cat confdefs.h >>conftest.$ac_ext
17233 cat >>conftest.$ac_ext <<_ACEOF
17234 /* end confdefs.h.  */
17235
17236 /* Override any GCC internal prototype to avoid an error.
17237    Use char because int might match the return type of a GCC
17238    builtin and then its argument prototype would still apply.  */
17239 #ifdef __cplusplus
17240 extern "C"
17241 #endif
17242 char gethostbyname ();
17243 int
17244 main ()
17245 {
17246 return gethostbyname ();
17247   ;
17248   return 0;
17249 }
17250 _ACEOF
17251 for ac_lib in '' nsl; do
17252   if test -z "$ac_lib"; then
17253     ac_res="none required"
17254   else
17255     ac_res=-l$ac_lib
17256     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17257   fi
17258   rm -f conftest.$ac_objext conftest$ac_exeext
17259 if { (ac_try="$ac_link"
17260 case "(($ac_try" in
17261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17262   *) ac_try_echo=$ac_try;;
17263 esac
17264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17265   (eval "$ac_link") 2>conftest.er1
17266   ac_status=$?
17267   grep -v '^ *+' conftest.er1 >conftest.err
17268   rm -f conftest.er1
17269   cat conftest.err >&5
17270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271   (exit $ac_status); } && {
17272          test -z "$ac_c_werror_flag" ||
17273          test ! -s conftest.err
17274        } && test -s conftest$ac_exeext &&
17275        $as_test_x conftest$ac_exeext; then
17276   ac_cv_search_gethostbyname=$ac_res
17277 else
17278   echo "$as_me: failed program was:" >&5
17279 sed 's/^/| /' conftest.$ac_ext >&5
17280
17281
17282 fi
17283
17284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17285       conftest$ac_exeext
17286   if test "${ac_cv_search_gethostbyname+set}" = set; then
17287   break
17288 fi
17289 done
17290 if test "${ac_cv_search_gethostbyname+set}" = set; then
17291   :
17292 else
17293   ac_cv_search_gethostbyname=no
17294 fi
17295 rm conftest.$ac_ext
17296 LIBS=$ac_func_search_save_LIBS
17297 fi
17298 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17299 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17300 ac_res=$ac_cv_search_gethostbyname
17301 if test "$ac_res" != no; then
17302   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17303
17304 fi
17305
17306
17307 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17308 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17309 if test "${ac_cv_search_connect+set}" = set; then
17310   echo $ECHO_N "(cached) $ECHO_C" >&6
17311 else
17312   ac_func_search_save_LIBS=$LIBS
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h.  */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h.  */
17319
17320 /* Override any GCC internal prototype to avoid an error.
17321    Use char because int might match the return type of a GCC
17322    builtin and then its argument prototype would still apply.  */
17323 #ifdef __cplusplus
17324 extern "C"
17325 #endif
17326 char connect ();
17327 int
17328 main ()
17329 {
17330 return connect ();
17331   ;
17332   return 0;
17333 }
17334 _ACEOF
17335 for ac_lib in '' socket; do
17336   if test -z "$ac_lib"; then
17337     ac_res="none required"
17338   else
17339     ac_res=-l$ac_lib
17340     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17341   fi
17342   rm -f conftest.$ac_objext conftest$ac_exeext
17343 if { (ac_try="$ac_link"
17344 case "(($ac_try" in
17345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17346   *) ac_try_echo=$ac_try;;
17347 esac
17348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17349   (eval "$ac_link") 2>conftest.er1
17350   ac_status=$?
17351   grep -v '^ *+' conftest.er1 >conftest.err
17352   rm -f conftest.er1
17353   cat conftest.err >&5
17354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355   (exit $ac_status); } && {
17356          test -z "$ac_c_werror_flag" ||
17357          test ! -s conftest.err
17358        } && test -s conftest$ac_exeext &&
17359        $as_test_x conftest$ac_exeext; then
17360   ac_cv_search_connect=$ac_res
17361 else
17362   echo "$as_me: failed program was:" >&5
17363 sed 's/^/| /' conftest.$ac_ext >&5
17364
17365
17366 fi
17367
17368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17369       conftest$ac_exeext
17370   if test "${ac_cv_search_connect+set}" = set; then
17371   break
17372 fi
17373 done
17374 if test "${ac_cv_search_connect+set}" = set; then
17375   :
17376 else
17377   ac_cv_search_connect=no
17378 fi
17379 rm conftest.$ac_ext
17380 LIBS=$ac_func_search_save_LIBS
17381 fi
17382 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17383 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17384 ac_res=$ac_cv_search_connect
17385 if test "$ac_res" != no; then
17386   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17387
17388 fi
17389
17390
17391 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17392 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17393 if test "${ac_cv_search_inet_aton+set}" = set; then
17394   echo $ECHO_N "(cached) $ECHO_C" >&6
17395 else
17396   ac_func_search_save_LIBS=$LIBS
17397 cat >conftest.$ac_ext <<_ACEOF
17398 /* confdefs.h.  */
17399 _ACEOF
17400 cat confdefs.h >>conftest.$ac_ext
17401 cat >>conftest.$ac_ext <<_ACEOF
17402 /* end confdefs.h.  */
17403
17404 /* Override any GCC internal prototype to avoid an error.
17405    Use char because int might match the return type of a GCC
17406    builtin and then its argument prototype would still apply.  */
17407 #ifdef __cplusplus
17408 extern "C"
17409 #endif
17410 char inet_aton ();
17411 int
17412 main ()
17413 {
17414 return inet_aton ();
17415   ;
17416   return 0;
17417 }
17418 _ACEOF
17419 for ac_lib in '' resolv; do
17420   if test -z "$ac_lib"; then
17421     ac_res="none required"
17422   else
17423     ac_res=-l$ac_lib
17424     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17425   fi
17426   rm -f conftest.$ac_objext conftest$ac_exeext
17427 if { (ac_try="$ac_link"
17428 case "(($ac_try" in
17429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17430   *) ac_try_echo=$ac_try;;
17431 esac
17432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17433   (eval "$ac_link") 2>conftest.er1
17434   ac_status=$?
17435   grep -v '^ *+' conftest.er1 >conftest.err
17436   rm -f conftest.er1
17437   cat conftest.err >&5
17438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439   (exit $ac_status); } && {
17440          test -z "$ac_c_werror_flag" ||
17441          test ! -s conftest.err
17442        } && test -s conftest$ac_exeext &&
17443        $as_test_x conftest$ac_exeext; then
17444   ac_cv_search_inet_aton=$ac_res
17445 else
17446   echo "$as_me: failed program was:" >&5
17447 sed 's/^/| /' conftest.$ac_ext >&5
17448
17449
17450 fi
17451
17452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17453       conftest$ac_exeext
17454   if test "${ac_cv_search_inet_aton+set}" = set; then
17455   break
17456 fi
17457 done
17458 if test "${ac_cv_search_inet_aton+set}" = set; then
17459   :
17460 else
17461   ac_cv_search_inet_aton=no
17462 fi
17463 rm conftest.$ac_ext
17464 LIBS=$ac_func_search_save_LIBS
17465 fi
17466 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17467 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17468 ac_res=$ac_cv_search_inet_aton
17469 if test "$ac_res" != no; then
17470   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17471
17472 fi
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483 for ac_func in \
17484         getaddrinfo \
17485         getnameinfo \
17486         getnetbyname \
17487         getprotobyname \
17488         getprotobynumber \
17489         getservbyport \
17490         inet_network \
17491         sendmsg \
17492
17493 do
17494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17495 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17497 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17498   echo $ECHO_N "(cached) $ECHO_C" >&6
17499 else
17500   cat >conftest.$ac_ext <<_ACEOF
17501 /* confdefs.h.  */
17502 _ACEOF
17503 cat confdefs.h >>conftest.$ac_ext
17504 cat >>conftest.$ac_ext <<_ACEOF
17505 /* end confdefs.h.  */
17506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17508 #define $ac_func innocuous_$ac_func
17509
17510 /* System header to define __stub macros and hopefully few prototypes,
17511     which can conflict with char $ac_func (); below.
17512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17513     <limits.h> exists even on freestanding compilers.  */
17514
17515 #ifdef __STDC__
17516 # include <limits.h>
17517 #else
17518 # include <assert.h>
17519 #endif
17520
17521 #undef $ac_func
17522
17523 /* Override any GCC internal prototype to avoid an error.
17524    Use char because int might match the return type of a GCC
17525    builtin and then its argument prototype would still apply.  */
17526 #ifdef __cplusplus
17527 extern "C"
17528 #endif
17529 char $ac_func ();
17530 /* The GNU C library defines this for functions which it implements
17531     to always fail with ENOSYS.  Some functions are actually named
17532     something starting with __ and the normal name is an alias.  */
17533 #if defined __stub_$ac_func || defined __stub___$ac_func
17534 choke me
17535 #endif
17536
17537 int
17538 main ()
17539 {
17540 return $ac_func ();
17541   ;
17542   return 0;
17543 }
17544 _ACEOF
17545 rm -f conftest.$ac_objext conftest$ac_exeext
17546 if { (ac_try="$ac_link"
17547 case "(($ac_try" in
17548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17549   *) ac_try_echo=$ac_try;;
17550 esac
17551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17552   (eval "$ac_link") 2>conftest.er1
17553   ac_status=$?
17554   grep -v '^ *+' conftest.er1 >conftest.err
17555   rm -f conftest.er1
17556   cat conftest.err >&5
17557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558   (exit $ac_status); } && {
17559          test -z "$ac_c_werror_flag" ||
17560          test ! -s conftest.err
17561        } && test -s conftest$ac_exeext &&
17562        $as_test_x conftest$ac_exeext; then
17563   eval "$as_ac_var=yes"
17564 else
17565   echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17567
17568         eval "$as_ac_var=no"
17569 fi
17570
17571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17572       conftest$ac_exeext conftest.$ac_ext
17573 fi
17574 ac_res=`eval echo '${'$as_ac_var'}'`
17575                { echo "$as_me:$LINENO: result: $ac_res" >&5
17576 echo "${ECHO_T}$ac_res" >&6; }
17577 if test `eval echo '${'$as_ac_var'}'` = yes; then
17578   cat >>confdefs.h <<_ACEOF
17579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17580 _ACEOF
17581
17582 fi
17583 done
17584
17585
17586
17587 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17588 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17589 if test "${ac_cv_c_const+set}" = set; then
17590   echo $ECHO_N "(cached) $ECHO_C" >&6
17591 else
17592   cat >conftest.$ac_ext <<_ACEOF
17593 /* confdefs.h.  */
17594 _ACEOF
17595 cat confdefs.h >>conftest.$ac_ext
17596 cat >>conftest.$ac_ext <<_ACEOF
17597 /* end confdefs.h.  */
17598
17599 int
17600 main ()
17601 {
17602 /* FIXME: Include the comments suggested by Paul. */
17603 #ifndef __cplusplus
17604   /* Ultrix mips cc rejects this.  */
17605   typedef int charset[2];
17606   const charset cs;
17607   /* SunOS 4.1.1 cc rejects this.  */
17608   char const *const *pcpcc;
17609   char **ppc;
17610   /* NEC SVR4.0.2 mips cc rejects this.  */
17611   struct point {int x, y;};
17612   static struct point const zero = {0,0};
17613   /* AIX XL C 1.02.0.0 rejects this.
17614      It does not let you subtract one const X* pointer from another in
17615      an arm of an if-expression whose if-part is not a constant
17616      expression */
17617   const char *g = "string";
17618   pcpcc = &g + (g ? g-g : 0);
17619   /* HPUX 7.0 cc rejects these. */
17620   ++pcpcc;
17621   ppc = (char**) pcpcc;
17622   pcpcc = (char const *const *) ppc;
17623   { /* SCO 3.2v4 cc rejects this.  */
17624     char *t;
17625     char const *s = 0 ? (char *) 0 : (char const *) 0;
17626
17627     *t++ = 0;
17628     if (s) return 0;
17629   }
17630   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17631     int x[] = {25, 17};
17632     const int *foo = &x[0];
17633     ++foo;
17634   }
17635   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17636     typedef const int *iptr;
17637     iptr p = 0;
17638     ++p;
17639   }
17640   { /* AIX XL C 1.02.0.0 rejects this saying
17641        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17642     struct s { int j; const int *ap[3]; };
17643     struct s *b; b->j = 5;
17644   }
17645   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17646     const int foo = 10;
17647     if (!foo) return 0;
17648   }
17649   return !cs[0] && !zero.x;
17650 #endif
17651
17652   ;
17653   return 0;
17654 }
17655 _ACEOF
17656 rm -f conftest.$ac_objext
17657 if { (ac_try="$ac_compile"
17658 case "(($ac_try" in
17659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17660   *) ac_try_echo=$ac_try;;
17661 esac
17662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17663   (eval "$ac_compile") 2>conftest.er1
17664   ac_status=$?
17665   grep -v '^ *+' conftest.er1 >conftest.err
17666   rm -f conftest.er1
17667   cat conftest.err >&5
17668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17669   (exit $ac_status); } && {
17670          test -z "$ac_c_werror_flag" ||
17671          test ! -s conftest.err
17672        } && test -s conftest.$ac_objext; then
17673   ac_cv_c_const=yes
17674 else
17675   echo "$as_me: failed program was:" >&5
17676 sed 's/^/| /' conftest.$ac_ext >&5
17677
17678         ac_cv_c_const=no
17679 fi
17680
17681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17682 fi
17683 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17684 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17685 if test $ac_cv_c_const = no; then
17686
17687 cat >>confdefs.h <<\_ACEOF
17688 #define const
17689 _ACEOF
17690
17691 fi
17692
17693 { echo "$as_me:$LINENO: checking for inline" >&5
17694 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17695 if test "${ac_cv_c_inline+set}" = set; then
17696   echo $ECHO_N "(cached) $ECHO_C" >&6
17697 else
17698   ac_cv_c_inline=no
17699 for ac_kw in inline __inline__ __inline; do
17700   cat >conftest.$ac_ext <<_ACEOF
17701 /* confdefs.h.  */
17702 _ACEOF
17703 cat confdefs.h >>conftest.$ac_ext
17704 cat >>conftest.$ac_ext <<_ACEOF
17705 /* end confdefs.h.  */
17706 #ifndef __cplusplus
17707 typedef int foo_t;
17708 static $ac_kw foo_t static_foo () {return 0; }
17709 $ac_kw foo_t foo () {return 0; }
17710 #endif
17711
17712 _ACEOF
17713 rm -f conftest.$ac_objext
17714 if { (ac_try="$ac_compile"
17715 case "(($ac_try" in
17716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17717   *) ac_try_echo=$ac_try;;
17718 esac
17719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17720   (eval "$ac_compile") 2>conftest.er1
17721   ac_status=$?
17722   grep -v '^ *+' conftest.er1 >conftest.err
17723   rm -f conftest.er1
17724   cat conftest.err >&5
17725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726   (exit $ac_status); } && {
17727          test -z "$ac_c_werror_flag" ||
17728          test ! -s conftest.err
17729        } && test -s conftest.$ac_objext; then
17730   ac_cv_c_inline=$ac_kw
17731 else
17732   echo "$as_me: failed program was:" >&5
17733 sed 's/^/| /' conftest.$ac_ext >&5
17734
17735
17736 fi
17737
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739   test "$ac_cv_c_inline" != no && break
17740 done
17741
17742 fi
17743 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17744 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17745
17746
17747 case $ac_cv_c_inline in
17748   inline | yes) ;;
17749   *)
17750     case $ac_cv_c_inline in
17751       no) ac_val=;;
17752       *) ac_val=$ac_cv_c_inline;;
17753     esac
17754     cat >>confdefs.h <<_ACEOF
17755 #ifndef __cplusplus
17756 #define inline $ac_val
17757 #endif
17758 _ACEOF
17759     ;;
17760 esac
17761
17762 { echo "$as_me:$LINENO: checking for mode_t" >&5
17763 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17764 if test "${ac_cv_type_mode_t+set}" = set; then
17765   echo $ECHO_N "(cached) $ECHO_C" >&6
17766 else
17767   cat >conftest.$ac_ext <<_ACEOF
17768 /* confdefs.h.  */
17769 _ACEOF
17770 cat confdefs.h >>conftest.$ac_ext
17771 cat >>conftest.$ac_ext <<_ACEOF
17772 /* end confdefs.h.  */
17773 $ac_includes_default
17774 typedef mode_t ac__type_new_;
17775 int
17776 main ()
17777 {
17778 if ((ac__type_new_ *) 0)
17779   return 0;
17780 if (sizeof (ac__type_new_))
17781   return 0;
17782   ;
17783   return 0;
17784 }
17785 _ACEOF
17786 rm -f conftest.$ac_objext
17787 if { (ac_try="$ac_compile"
17788 case "(($ac_try" in
17789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17790   *) ac_try_echo=$ac_try;;
17791 esac
17792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17793   (eval "$ac_compile") 2>conftest.er1
17794   ac_status=$?
17795   grep -v '^ *+' conftest.er1 >conftest.err
17796   rm -f conftest.er1
17797   cat conftest.err >&5
17798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799   (exit $ac_status); } && {
17800          test -z "$ac_c_werror_flag" ||
17801          test ! -s conftest.err
17802        } && test -s conftest.$ac_objext; then
17803   ac_cv_type_mode_t=yes
17804 else
17805   echo "$as_me: failed program was:" >&5
17806 sed 's/^/| /' conftest.$ac_ext >&5
17807
17808         ac_cv_type_mode_t=no
17809 fi
17810
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17812 fi
17813 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17814 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17815 if test $ac_cv_type_mode_t = yes; then
17816
17817 cat >>confdefs.h <<_ACEOF
17818 #define HAVE_MODE_T 1
17819 _ACEOF
17820
17821
17822 fi
17823 { echo "$as_me:$LINENO: checking for off_t" >&5
17824 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17825 if test "${ac_cv_type_off_t+set}" = set; then
17826   echo $ECHO_N "(cached) $ECHO_C" >&6
17827 else
17828   cat >conftest.$ac_ext <<_ACEOF
17829 /* confdefs.h.  */
17830 _ACEOF
17831 cat confdefs.h >>conftest.$ac_ext
17832 cat >>conftest.$ac_ext <<_ACEOF
17833 /* end confdefs.h.  */
17834 $ac_includes_default
17835 typedef off_t ac__type_new_;
17836 int
17837 main ()
17838 {
17839 if ((ac__type_new_ *) 0)
17840   return 0;
17841 if (sizeof (ac__type_new_))
17842   return 0;
17843   ;
17844   return 0;
17845 }
17846 _ACEOF
17847 rm -f conftest.$ac_objext
17848 if { (ac_try="$ac_compile"
17849 case "(($ac_try" in
17850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17851   *) ac_try_echo=$ac_try;;
17852 esac
17853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17854   (eval "$ac_compile") 2>conftest.er1
17855   ac_status=$?
17856   grep -v '^ *+' conftest.er1 >conftest.err
17857   rm -f conftest.er1
17858   cat conftest.err >&5
17859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860   (exit $ac_status); } && {
17861          test -z "$ac_c_werror_flag" ||
17862          test ! -s conftest.err
17863        } && test -s conftest.$ac_objext; then
17864   ac_cv_type_off_t=yes
17865 else
17866   echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17868
17869         ac_cv_type_off_t=no
17870 fi
17871
17872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 fi
17874 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17875 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17876 if test $ac_cv_type_off_t = yes; then
17877
17878 cat >>confdefs.h <<_ACEOF
17879 #define HAVE_OFF_T 1
17880 _ACEOF
17881
17882
17883 fi
17884 { echo "$as_me:$LINENO: checking for pid_t" >&5
17885 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17886 if test "${ac_cv_type_pid_t+set}" = set; then
17887   echo $ECHO_N "(cached) $ECHO_C" >&6
17888 else
17889   cat >conftest.$ac_ext <<_ACEOF
17890 /* confdefs.h.  */
17891 _ACEOF
17892 cat confdefs.h >>conftest.$ac_ext
17893 cat >>conftest.$ac_ext <<_ACEOF
17894 /* end confdefs.h.  */
17895 $ac_includes_default
17896 typedef pid_t ac__type_new_;
17897 int
17898 main ()
17899 {
17900 if ((ac__type_new_ *) 0)
17901   return 0;
17902 if (sizeof (ac__type_new_))
17903   return 0;
17904   ;
17905   return 0;
17906 }
17907 _ACEOF
17908 rm -f conftest.$ac_objext
17909 if { (ac_try="$ac_compile"
17910 case "(($ac_try" in
17911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17912   *) ac_try_echo=$ac_try;;
17913 esac
17914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17915   (eval "$ac_compile") 2>conftest.er1
17916   ac_status=$?
17917   grep -v '^ *+' conftest.er1 >conftest.err
17918   rm -f conftest.er1
17919   cat conftest.err >&5
17920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921   (exit $ac_status); } && {
17922          test -z "$ac_c_werror_flag" ||
17923          test ! -s conftest.err
17924        } && test -s conftest.$ac_objext; then
17925   ac_cv_type_pid_t=yes
17926 else
17927   echo "$as_me: failed program was:" >&5
17928 sed 's/^/| /' conftest.$ac_ext >&5
17929
17930         ac_cv_type_pid_t=no
17931 fi
17932
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 fi
17935 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17936 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
17937 if test $ac_cv_type_pid_t = yes; then
17938
17939 cat >>confdefs.h <<_ACEOF
17940 #define HAVE_PID_T 1
17941 _ACEOF
17942
17943
17944 fi
17945 { echo "$as_me:$LINENO: checking for size_t" >&5
17946 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17947 if test "${ac_cv_type_size_t+set}" = set; then
17948   echo $ECHO_N "(cached) $ECHO_C" >&6
17949 else
17950   cat >conftest.$ac_ext <<_ACEOF
17951 /* confdefs.h.  */
17952 _ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h.  */
17956 $ac_includes_default
17957 typedef size_t ac__type_new_;
17958 int
17959 main ()
17960 {
17961 if ((ac__type_new_ *) 0)
17962   return 0;
17963 if (sizeof (ac__type_new_))
17964   return 0;
17965   ;
17966   return 0;
17967 }
17968 _ACEOF
17969 rm -f conftest.$ac_objext
17970 if { (ac_try="$ac_compile"
17971 case "(($ac_try" in
17972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17973   *) ac_try_echo=$ac_try;;
17974 esac
17975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17976   (eval "$ac_compile") 2>conftest.er1
17977   ac_status=$?
17978   grep -v '^ *+' conftest.er1 >conftest.err
17979   rm -f conftest.er1
17980   cat conftest.err >&5
17981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17982   (exit $ac_status); } && {
17983          test -z "$ac_c_werror_flag" ||
17984          test ! -s conftest.err
17985        } && test -s conftest.$ac_objext; then
17986   ac_cv_type_size_t=yes
17987 else
17988   echo "$as_me: failed program was:" >&5
17989 sed 's/^/| /' conftest.$ac_ext >&5
17990
17991         ac_cv_type_size_t=no
17992 fi
17993
17994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17995 fi
17996 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17997 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17998 if test $ac_cv_type_size_t = yes; then
17999
18000 cat >>confdefs.h <<_ACEOF
18001 #define HAVE_SIZE_T 1
18002 _ACEOF
18003
18004
18005 fi
18006 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18007 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18008 if test "${ac_cv_type_ssize_t+set}" = set; then
18009   echo $ECHO_N "(cached) $ECHO_C" >&6
18010 else
18011   cat >conftest.$ac_ext <<_ACEOF
18012 /* confdefs.h.  */
18013 _ACEOF
18014 cat confdefs.h >>conftest.$ac_ext
18015 cat >>conftest.$ac_ext <<_ACEOF
18016 /* end confdefs.h.  */
18017 $ac_includes_default
18018 typedef ssize_t ac__type_new_;
18019 int
18020 main ()
18021 {
18022 if ((ac__type_new_ *) 0)
18023   return 0;
18024 if (sizeof (ac__type_new_))
18025   return 0;
18026   ;
18027   return 0;
18028 }
18029 _ACEOF
18030 rm -f conftest.$ac_objext
18031 if { (ac_try="$ac_compile"
18032 case "(($ac_try" in
18033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18034   *) ac_try_echo=$ac_try;;
18035 esac
18036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18037   (eval "$ac_compile") 2>conftest.er1
18038   ac_status=$?
18039   grep -v '^ *+' conftest.er1 >conftest.err
18040   rm -f conftest.er1
18041   cat conftest.err >&5
18042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18043   (exit $ac_status); } && {
18044          test -z "$ac_c_werror_flag" ||
18045          test ! -s conftest.err
18046        } && test -s conftest.$ac_objext; then
18047   ac_cv_type_ssize_t=yes
18048 else
18049   echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.$ac_ext >&5
18051
18052         ac_cv_type_ssize_t=no
18053 fi
18054
18055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18056 fi
18057 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18058 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18059 if test $ac_cv_type_ssize_t = yes; then
18060
18061 cat >>confdefs.h <<_ACEOF
18062 #define HAVE_SSIZE_T 1
18063 _ACEOF
18064
18065
18066 fi
18067 { echo "$as_me:$LINENO: checking for long long" >&5
18068 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18069 if test "${ac_cv_type_long_long+set}" = set; then
18070   echo $ECHO_N "(cached) $ECHO_C" >&6
18071 else
18072   cat >conftest.$ac_ext <<_ACEOF
18073 /* confdefs.h.  */
18074 _ACEOF
18075 cat confdefs.h >>conftest.$ac_ext
18076 cat >>conftest.$ac_ext <<_ACEOF
18077 /* end confdefs.h.  */
18078 $ac_includes_default
18079 typedef long long ac__type_new_;
18080 int
18081 main ()
18082 {
18083 if ((ac__type_new_ *) 0)
18084   return 0;
18085 if (sizeof (ac__type_new_))
18086   return 0;
18087   ;
18088   return 0;
18089 }
18090 _ACEOF
18091 rm -f conftest.$ac_objext
18092 if { (ac_try="$ac_compile"
18093 case "(($ac_try" in
18094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18095   *) ac_try_echo=$ac_try;;
18096 esac
18097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18098   (eval "$ac_compile") 2>conftest.er1
18099   ac_status=$?
18100   grep -v '^ *+' conftest.er1 >conftest.err
18101   rm -f conftest.er1
18102   cat conftest.err >&5
18103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18104   (exit $ac_status); } && {
18105          test -z "$ac_c_werror_flag" ||
18106          test ! -s conftest.err
18107        } && test -s conftest.$ac_objext; then
18108   ac_cv_type_long_long=yes
18109 else
18110   echo "$as_me: failed program was:" >&5
18111 sed 's/^/| /' conftest.$ac_ext >&5
18112
18113         ac_cv_type_long_long=no
18114 fi
18115
18116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117 fi
18118 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18119 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18120 if test $ac_cv_type_long_long = yes; then
18121
18122 cat >>confdefs.h <<_ACEOF
18123 #define HAVE_LONG_LONG 1
18124 _ACEOF
18125
18126
18127 fi
18128 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18129 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18130 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18131   echo $ECHO_N "(cached) $ECHO_C" >&6
18132 else
18133   cat >conftest.$ac_ext <<_ACEOF
18134 /* confdefs.h.  */
18135 _ACEOF
18136 cat confdefs.h >>conftest.$ac_ext
18137 cat >>conftest.$ac_ext <<_ACEOF
18138 /* end confdefs.h.  */
18139 $ac_includes_default
18140 typedef fsblkcnt_t ac__type_new_;
18141 int
18142 main ()
18143 {
18144 if ((ac__type_new_ *) 0)
18145   return 0;
18146 if (sizeof (ac__type_new_))
18147   return 0;
18148   ;
18149   return 0;
18150 }
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156   *) ac_try_echo=$ac_try;;
18157 esac
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159   (eval "$ac_compile") 2>conftest.er1
18160   ac_status=$?
18161   grep -v '^ *+' conftest.er1 >conftest.err
18162   rm -f conftest.er1
18163   cat conftest.err >&5
18164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165   (exit $ac_status); } && {
18166          test -z "$ac_c_werror_flag" ||
18167          test ! -s conftest.err
18168        } && test -s conftest.$ac_objext; then
18169   ac_cv_type_fsblkcnt_t=yes
18170 else
18171   echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18173
18174         ac_cv_type_fsblkcnt_t=no
18175 fi
18176
18177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18178 fi
18179 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18180 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18181 if test $ac_cv_type_fsblkcnt_t = yes; then
18182
18183 cat >>confdefs.h <<_ACEOF
18184 #define HAVE_FSBLKCNT_T 1
18185 _ACEOF
18186
18187
18188 fi
18189 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18190 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18191 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18192   echo $ECHO_N "(cached) $ECHO_C" >&6
18193 else
18194   cat >conftest.$ac_ext <<_ACEOF
18195 /* confdefs.h.  */
18196 _ACEOF
18197 cat confdefs.h >>conftest.$ac_ext
18198 cat >>conftest.$ac_ext <<_ACEOF
18199 /* end confdefs.h.  */
18200 $ac_includes_default
18201 typedef fsfilcnt_t ac__type_new_;
18202 int
18203 main ()
18204 {
18205 if ((ac__type_new_ *) 0)
18206   return 0;
18207 if (sizeof (ac__type_new_))
18208   return 0;
18209   ;
18210   return 0;
18211 }
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (ac_try="$ac_compile"
18215 case "(($ac_try" in
18216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18217   *) ac_try_echo=$ac_try;;
18218 esac
18219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18220   (eval "$ac_compile") 2>conftest.er1
18221   ac_status=$?
18222   grep -v '^ *+' conftest.er1 >conftest.err
18223   rm -f conftest.er1
18224   cat conftest.err >&5
18225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226   (exit $ac_status); } && {
18227          test -z "$ac_c_werror_flag" ||
18228          test ! -s conftest.err
18229        } && test -s conftest.$ac_objext; then
18230   ac_cv_type_fsfilcnt_t=yes
18231 else
18232   echo "$as_me: failed program was:" >&5
18233 sed 's/^/| /' conftest.$ac_ext >&5
18234
18235         ac_cv_type_fsfilcnt_t=no
18236 fi
18237
18238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18239 fi
18240 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18241 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18242 if test $ac_cv_type_fsfilcnt_t = yes; then
18243
18244 cat >>confdefs.h <<_ACEOF
18245 #define HAVE_FSFILCNT_T 1
18246 _ACEOF
18247
18248
18249 fi
18250
18251 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18252 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18253 if test "${ac_cv_type_sigset_t+set}" = set; then
18254   echo $ECHO_N "(cached) $ECHO_C" >&6
18255 else
18256   cat >conftest.$ac_ext <<_ACEOF
18257 /* confdefs.h.  */
18258 _ACEOF
18259 cat confdefs.h >>conftest.$ac_ext
18260 cat >>conftest.$ac_ext <<_ACEOF
18261 /* end confdefs.h.  */
18262 #include <signal.h>
18263
18264 typedef sigset_t ac__type_new_;
18265 int
18266 main ()
18267 {
18268 if ((ac__type_new_ *) 0)
18269   return 0;
18270 if (sizeof (ac__type_new_))
18271   return 0;
18272   ;
18273   return 0;
18274 }
18275 _ACEOF
18276 rm -f conftest.$ac_objext
18277 if { (ac_try="$ac_compile"
18278 case "(($ac_try" in
18279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18280   *) ac_try_echo=$ac_try;;
18281 esac
18282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18283   (eval "$ac_compile") 2>conftest.er1
18284   ac_status=$?
18285   grep -v '^ *+' conftest.er1 >conftest.err
18286   rm -f conftest.er1
18287   cat conftest.err >&5
18288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18289   (exit $ac_status); } && {
18290          test -z "$ac_c_werror_flag" ||
18291          test ! -s conftest.err
18292        } && test -s conftest.$ac_objext; then
18293   ac_cv_type_sigset_t=yes
18294 else
18295   echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.$ac_ext >&5
18297
18298         ac_cv_type_sigset_t=no
18299 fi
18300
18301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18302 fi
18303 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18304 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18305 if test $ac_cv_type_sigset_t = yes; then
18306
18307 cat >>confdefs.h <<_ACEOF
18308 #define HAVE_SIGSET_T 1
18309 _ACEOF
18310
18311
18312 fi
18313
18314 { echo "$as_me:$LINENO: checking for request_sense" >&5
18315 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18316 if test "${ac_cv_type_request_sense+set}" = set; then
18317   echo $ECHO_N "(cached) $ECHO_C" >&6
18318 else
18319   cat >conftest.$ac_ext <<_ACEOF
18320 /* confdefs.h.  */
18321 _ACEOF
18322 cat confdefs.h >>conftest.$ac_ext
18323 cat >>conftest.$ac_ext <<_ACEOF
18324 /* end confdefs.h.  */
18325 #include <linux/cdrom.h>
18326
18327 typedef request_sense ac__type_new_;
18328 int
18329 main ()
18330 {
18331 if ((ac__type_new_ *) 0)
18332   return 0;
18333 if (sizeof (ac__type_new_))
18334   return 0;
18335   ;
18336   return 0;
18337 }
18338 _ACEOF
18339 rm -f conftest.$ac_objext
18340 if { (ac_try="$ac_compile"
18341 case "(($ac_try" in
18342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18343   *) ac_try_echo=$ac_try;;
18344 esac
18345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18346   (eval "$ac_compile") 2>conftest.er1
18347   ac_status=$?
18348   grep -v '^ *+' conftest.er1 >conftest.err
18349   rm -f conftest.er1
18350   cat conftest.err >&5
18351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352   (exit $ac_status); } && {
18353          test -z "$ac_c_werror_flag" ||
18354          test ! -s conftest.err
18355        } && test -s conftest.$ac_objext; then
18356   ac_cv_type_request_sense=yes
18357 else
18358   echo "$as_me: failed program was:" >&5
18359 sed 's/^/| /' conftest.$ac_ext >&5
18360
18361         ac_cv_type_request_sense=no
18362 fi
18363
18364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18365 fi
18366 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18367 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18368 if test $ac_cv_type_request_sense = yes; then
18369
18370 cat >>confdefs.h <<_ACEOF
18371 #define HAVE_REQUEST_SENSE 1
18372 _ACEOF
18373
18374
18375 fi
18376
18377
18378 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18379 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18380 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18381   echo $ECHO_N "(cached) $ECHO_C" >&6
18382 else
18383   cat >conftest.$ac_ext <<_ACEOF
18384 /* confdefs.h.  */
18385 _ACEOF
18386 cat confdefs.h >>conftest.$ac_ext
18387 cat >>conftest.$ac_ext <<_ACEOF
18388 /* end confdefs.h.  */
18389 #ifdef HAVE_LINUX_INPUT_H
18390 #include <linux/input.h>
18391 #endif
18392
18393 int
18394 main ()
18395 {
18396 static struct ff_effect ac_aggr;
18397 if (ac_aggr.direction)
18398 return 0;
18399   ;
18400   return 0;
18401 }
18402 _ACEOF
18403 rm -f conftest.$ac_objext
18404 if { (ac_try="$ac_compile"
18405 case "(($ac_try" in
18406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18407   *) ac_try_echo=$ac_try;;
18408 esac
18409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18410   (eval "$ac_compile") 2>conftest.er1
18411   ac_status=$?
18412   grep -v '^ *+' conftest.er1 >conftest.err
18413   rm -f conftest.er1
18414   cat conftest.err >&5
18415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18416   (exit $ac_status); } && {
18417          test -z "$ac_c_werror_flag" ||
18418          test ! -s conftest.err
18419        } && test -s conftest.$ac_objext; then
18420   ac_cv_member_struct_ff_effect_direction=yes
18421 else
18422   echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18424
18425         cat >conftest.$ac_ext <<_ACEOF
18426 /* confdefs.h.  */
18427 _ACEOF
18428 cat confdefs.h >>conftest.$ac_ext
18429 cat >>conftest.$ac_ext <<_ACEOF
18430 /* end confdefs.h.  */
18431 #ifdef HAVE_LINUX_INPUT_H
18432 #include <linux/input.h>
18433 #endif
18434
18435 int
18436 main ()
18437 {
18438 static struct ff_effect ac_aggr;
18439 if (sizeof ac_aggr.direction)
18440 return 0;
18441   ;
18442   return 0;
18443 }
18444 _ACEOF
18445 rm -f conftest.$ac_objext
18446 if { (ac_try="$ac_compile"
18447 case "(($ac_try" in
18448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18449   *) ac_try_echo=$ac_try;;
18450 esac
18451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18452   (eval "$ac_compile") 2>conftest.er1
18453   ac_status=$?
18454   grep -v '^ *+' conftest.er1 >conftest.err
18455   rm -f conftest.er1
18456   cat conftest.err >&5
18457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458   (exit $ac_status); } && {
18459          test -z "$ac_c_werror_flag" ||
18460          test ! -s conftest.err
18461        } && test -s conftest.$ac_objext; then
18462   ac_cv_member_struct_ff_effect_direction=yes
18463 else
18464   echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18466
18467         ac_cv_member_struct_ff_effect_direction=no
18468 fi
18469
18470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18471 fi
18472
18473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18474 fi
18475 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18476 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18477 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18478
18479 cat >>confdefs.h <<_ACEOF
18480 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18481 _ACEOF
18482
18483
18484 fi
18485
18486
18487 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18488 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18489 if test "${wine_cv_have_sigaddset+set}" = set; then
18490   echo $ECHO_N "(cached) $ECHO_C" >&6
18491 else
18492   cat >conftest.$ac_ext <<_ACEOF
18493 /* confdefs.h.  */
18494 _ACEOF
18495 cat confdefs.h >>conftest.$ac_ext
18496 cat >>conftest.$ac_ext <<_ACEOF
18497 /* end confdefs.h.  */
18498 #include <signal.h>
18499 int
18500 main ()
18501 {
18502 sigset_t set; sigaddset(&set,SIGTERM);
18503   ;
18504   return 0;
18505 }
18506 _ACEOF
18507 rm -f conftest.$ac_objext conftest$ac_exeext
18508 if { (ac_try="$ac_link"
18509 case "(($ac_try" in
18510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18511   *) ac_try_echo=$ac_try;;
18512 esac
18513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18514   (eval "$ac_link") 2>conftest.er1
18515   ac_status=$?
18516   grep -v '^ *+' conftest.er1 >conftest.err
18517   rm -f conftest.er1
18518   cat conftest.err >&5
18519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520   (exit $ac_status); } && {
18521          test -z "$ac_c_werror_flag" ||
18522          test ! -s conftest.err
18523        } && test -s conftest$ac_exeext &&
18524        $as_test_x conftest$ac_exeext; then
18525   wine_cv_have_sigaddset=yes
18526 else
18527   echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18529
18530         wine_cv_have_sigaddset=no
18531 fi
18532
18533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18534       conftest$ac_exeext conftest.$ac_ext
18535 fi
18536 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18537 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18538 if test "$wine_cv_have_sigaddset" = "yes"
18539 then
18540
18541 cat >>confdefs.h <<\_ACEOF
18542 #define HAVE_SIGADDSET 1
18543 _ACEOF
18544
18545 fi
18546
18547
18548 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18549 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18550 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18551   echo $ECHO_N "(cached) $ECHO_C" >&6
18552 else
18553   cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h.  */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h.  */
18559 #include <netdb.h>
18560 int
18561 main ()
18562 {
18563
18564     char *name=0;
18565     struct hostent he;
18566     struct hostent *result;
18567     char *buf=0;
18568     int bufsize=0;
18569     int res,errnr;
18570     char *addr=0;
18571     int addrlen=0;
18572     int addrtype=0;
18573     res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18574     res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18575
18576   ;
18577   return 0;
18578 }
18579 _ACEOF
18580 rm -f conftest.$ac_objext conftest$ac_exeext
18581 if { (ac_try="$ac_link"
18582 case "(($ac_try" in
18583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18584   *) ac_try_echo=$ac_try;;
18585 esac
18586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18587   (eval "$ac_link") 2>conftest.er1
18588   ac_status=$?
18589   grep -v '^ *+' conftest.er1 >conftest.err
18590   rm -f conftest.er1
18591   cat conftest.err >&5
18592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18593   (exit $ac_status); } && {
18594          test -z "$ac_c_werror_flag" ||
18595          test ! -s conftest.err
18596        } && test -s conftest$ac_exeext &&
18597        $as_test_x conftest$ac_exeext; then
18598   wine_cv_linux_gethostbyname_r_6=yes
18599 else
18600   echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18602
18603         wine_cv_linux_gethostbyname_r_6=no
18604
18605 fi
18606
18607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18608       conftest$ac_exeext conftest.$ac_ext
18609
18610 fi
18611 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18612 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18613    if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18614    then
18615
18616 cat >>confdefs.h <<\_ACEOF
18617 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18618 _ACEOF
18619
18620    fi
18621
18622 if test "$ac_cv_header_linux_joystick_h" = "yes"
18623 then
18624    { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18625 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18626 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18627   echo $ECHO_N "(cached) $ECHO_C" >&6
18628 else
18629   cat >conftest.$ac_ext <<_ACEOF
18630 /* confdefs.h.  */
18631 _ACEOF
18632 cat confdefs.h >>conftest.$ac_ext
18633 cat >>conftest.$ac_ext <<_ACEOF
18634 /* end confdefs.h.  */
18635
18636         #include <sys/ioctl.h>
18637         #include <sys/types.h>
18638         #include <linux/joystick.h>
18639
18640         struct js_event blub;
18641         #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18642         #error "no 2.2 header"
18643         #endif
18644
18645 int
18646 main ()
18647 {
18648 /*empty*/
18649   ;
18650   return 0;
18651 }
18652 _ACEOF
18653 rm -f conftest.$ac_objext
18654 if { (ac_try="$ac_compile"
18655 case "(($ac_try" in
18656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18657   *) ac_try_echo=$ac_try;;
18658 esac
18659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18660   (eval "$ac_compile") 2>conftest.er1
18661   ac_status=$?
18662   grep -v '^ *+' conftest.er1 >conftest.err
18663   rm -f conftest.er1
18664   cat conftest.err >&5
18665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666   (exit $ac_status); } && {
18667          test -z "$ac_c_werror_flag" ||
18668          test ! -s conftest.err
18669        } && test -s conftest.$ac_objext; then
18670   wine_cv_linux_joystick_22_api=yes
18671 else
18672   echo "$as_me: failed program was:" >&5
18673 sed 's/^/| /' conftest.$ac_ext >&5
18674
18675         wine_cv_linux_joystick_22_api=no
18676 fi
18677
18678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18679
18680 fi
18681 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18682 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18683    if test "$wine_cv_linux_joystick_22_api" = "yes"
18684    then
18685
18686 cat >>confdefs.h <<\_ACEOF
18687 #define HAVE_LINUX_22_JOYSTICK_API 1
18688 _ACEOF
18689
18690    fi
18691 fi
18692
18693
18694 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18695 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18696 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18697   echo $ECHO_N "(cached) $ECHO_C" >&6
18698 else
18699   cat >conftest.$ac_ext <<_ACEOF
18700 /* confdefs.h.  */
18701 _ACEOF
18702 cat confdefs.h >>conftest.$ac_ext
18703 cat >>conftest.$ac_ext <<_ACEOF
18704 /* end confdefs.h.  */
18705 #include <sys/types.h>
18706 #ifdef HAVE_SYS_PARAM_H
18707 # include <sys/param.h>
18708 #endif
18709 #ifdef HAVE_SYS_MOUNT_H
18710 # include <sys/mount.h>
18711 #endif
18712 #ifdef HAVE_SYS_VFS_H
18713 # include <sys/vfs.h>
18714 #endif
18715 #ifdef HAVE_SYS_STATFS_H
18716 # include <sys/statfs.h>
18717 #endif
18718
18719 int
18720 main ()
18721 {
18722 static struct statfs ac_aggr;
18723 if (ac_aggr.f_bfree)
18724 return 0;
18725   ;
18726   return 0;
18727 }
18728 _ACEOF
18729 rm -f conftest.$ac_objext
18730 if { (ac_try="$ac_compile"
18731 case "(($ac_try" in
18732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18733   *) ac_try_echo=$ac_try;;
18734 esac
18735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18736   (eval "$ac_compile") 2>conftest.er1
18737   ac_status=$?
18738   grep -v '^ *+' conftest.er1 >conftest.err
18739   rm -f conftest.er1
18740   cat conftest.err >&5
18741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742   (exit $ac_status); } && {
18743          test -z "$ac_c_werror_flag" ||
18744          test ! -s conftest.err
18745        } && test -s conftest.$ac_objext; then
18746   ac_cv_member_struct_statfs_f_bfree=yes
18747 else
18748   echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18750
18751         cat >conftest.$ac_ext <<_ACEOF
18752 /* confdefs.h.  */
18753 _ACEOF
18754 cat confdefs.h >>conftest.$ac_ext
18755 cat >>conftest.$ac_ext <<_ACEOF
18756 /* end confdefs.h.  */
18757 #include <sys/types.h>
18758 #ifdef HAVE_SYS_PARAM_H
18759 # include <sys/param.h>
18760 #endif
18761 #ifdef HAVE_SYS_MOUNT_H
18762 # include <sys/mount.h>
18763 #endif
18764 #ifdef HAVE_SYS_VFS_H
18765 # include <sys/vfs.h>
18766 #endif
18767 #ifdef HAVE_SYS_STATFS_H
18768 # include <sys/statfs.h>
18769 #endif
18770
18771 int
18772 main ()
18773 {
18774 static struct statfs ac_aggr;
18775 if (sizeof ac_aggr.f_bfree)
18776 return 0;
18777   ;
18778   return 0;
18779 }
18780 _ACEOF
18781 rm -f conftest.$ac_objext
18782 if { (ac_try="$ac_compile"
18783 case "(($ac_try" in
18784   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18785   *) ac_try_echo=$ac_try;;
18786 esac
18787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18788   (eval "$ac_compile") 2>conftest.er1
18789   ac_status=$?
18790   grep -v '^ *+' conftest.er1 >conftest.err
18791   rm -f conftest.er1
18792   cat conftest.err >&5
18793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794   (exit $ac_status); } && {
18795          test -z "$ac_c_werror_flag" ||
18796          test ! -s conftest.err
18797        } && test -s conftest.$ac_objext; then
18798   ac_cv_member_struct_statfs_f_bfree=yes
18799 else
18800   echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18802
18803         ac_cv_member_struct_statfs_f_bfree=no
18804 fi
18805
18806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18807 fi
18808
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810 fi
18811 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18812 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18813 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18814
18815 cat >>confdefs.h <<_ACEOF
18816 #define HAVE_STRUCT_STATFS_F_BFREE 1
18817 _ACEOF
18818
18819
18820 fi
18821 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18822 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18823 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18824   echo $ECHO_N "(cached) $ECHO_C" >&6
18825 else
18826   cat >conftest.$ac_ext <<_ACEOF
18827 /* confdefs.h.  */
18828 _ACEOF
18829 cat confdefs.h >>conftest.$ac_ext
18830 cat >>conftest.$ac_ext <<_ACEOF
18831 /* end confdefs.h.  */
18832 #include <sys/types.h>
18833 #ifdef HAVE_SYS_PARAM_H
18834 # include <sys/param.h>
18835 #endif
18836 #ifdef HAVE_SYS_MOUNT_H
18837 # include <sys/mount.h>
18838 #endif
18839 #ifdef HAVE_SYS_VFS_H
18840 # include <sys/vfs.h>
18841 #endif
18842 #ifdef HAVE_SYS_STATFS_H
18843 # include <sys/statfs.h>
18844 #endif
18845
18846 int
18847 main ()
18848 {
18849 static struct statfs ac_aggr;
18850 if (ac_aggr.f_bavail)
18851 return 0;
18852   ;
18853   return 0;
18854 }
18855 _ACEOF
18856 rm -f conftest.$ac_objext
18857 if { (ac_try="$ac_compile"
18858 case "(($ac_try" in
18859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18860   *) ac_try_echo=$ac_try;;
18861 esac
18862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18863   (eval "$ac_compile") 2>conftest.er1
18864   ac_status=$?
18865   grep -v '^ *+' conftest.er1 >conftest.err
18866   rm -f conftest.er1
18867   cat conftest.err >&5
18868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18869   (exit $ac_status); } && {
18870          test -z "$ac_c_werror_flag" ||
18871          test ! -s conftest.err
18872        } && test -s conftest.$ac_objext; then
18873   ac_cv_member_struct_statfs_f_bavail=yes
18874 else
18875   echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18877
18878         cat >conftest.$ac_ext <<_ACEOF
18879 /* confdefs.h.  */
18880 _ACEOF
18881 cat confdefs.h >>conftest.$ac_ext
18882 cat >>conftest.$ac_ext <<_ACEOF
18883 /* end confdefs.h.  */
18884 #include <sys/types.h>
18885 #ifdef HAVE_SYS_PARAM_H
18886 # include <sys/param.h>
18887 #endif
18888 #ifdef HAVE_SYS_MOUNT_H
18889 # include <sys/mount.h>
18890 #endif
18891 #ifdef HAVE_SYS_VFS_H
18892 # include <sys/vfs.h>
18893 #endif
18894 #ifdef HAVE_SYS_STATFS_H
18895 # include <sys/statfs.h>
18896 #endif
18897
18898 int
18899 main ()
18900 {
18901 static struct statfs ac_aggr;
18902 if (sizeof ac_aggr.f_bavail)
18903 return 0;
18904   ;
18905   return 0;
18906 }
18907 _ACEOF
18908 rm -f conftest.$ac_objext
18909 if { (ac_try="$ac_compile"
18910 case "(($ac_try" in
18911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18912   *) ac_try_echo=$ac_try;;
18913 esac
18914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18915   (eval "$ac_compile") 2>conftest.er1
18916   ac_status=$?
18917   grep -v '^ *+' conftest.er1 >conftest.err
18918   rm -f conftest.er1
18919   cat conftest.err >&5
18920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921   (exit $ac_status); } && {
18922          test -z "$ac_c_werror_flag" ||
18923          test ! -s conftest.err
18924        } && test -s conftest.$ac_objext; then
18925   ac_cv_member_struct_statfs_f_bavail=yes
18926 else
18927   echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.$ac_ext >&5
18929
18930         ac_cv_member_struct_statfs_f_bavail=no
18931 fi
18932
18933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18934 fi
18935
18936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18937 fi
18938 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18939 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
18940 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18941
18942 cat >>confdefs.h <<_ACEOF
18943 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18944 _ACEOF
18945
18946
18947 fi
18948 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18949 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18950 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18951   echo $ECHO_N "(cached) $ECHO_C" >&6
18952 else
18953   cat >conftest.$ac_ext <<_ACEOF
18954 /* confdefs.h.  */
18955 _ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h.  */
18959 #include <sys/types.h>
18960 #ifdef HAVE_SYS_PARAM_H
18961 # include <sys/param.h>
18962 #endif
18963 #ifdef HAVE_SYS_MOUNT_H
18964 # include <sys/mount.h>
18965 #endif
18966 #ifdef HAVE_SYS_VFS_H
18967 # include <sys/vfs.h>
18968 #endif
18969 #ifdef HAVE_SYS_STATFS_H
18970 # include <sys/statfs.h>
18971 #endif
18972
18973 int
18974 main ()
18975 {
18976 static struct statfs ac_aggr;
18977 if (ac_aggr.f_frsize)
18978 return 0;
18979   ;
18980   return 0;
18981 }
18982 _ACEOF
18983 rm -f conftest.$ac_objext
18984 if { (ac_try="$ac_compile"
18985 case "(($ac_try" in
18986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18987   *) ac_try_echo=$ac_try;;
18988 esac
18989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18990   (eval "$ac_compile") 2>conftest.er1
18991   ac_status=$?
18992   grep -v '^ *+' conftest.er1 >conftest.err
18993   rm -f conftest.er1
18994   cat conftest.err >&5
18995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996   (exit $ac_status); } && {
18997          test -z "$ac_c_werror_flag" ||
18998          test ! -s conftest.err
18999        } && test -s conftest.$ac_objext; then
19000   ac_cv_member_struct_statfs_f_frsize=yes
19001 else
19002   echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19004
19005         cat >conftest.$ac_ext <<_ACEOF
19006 /* confdefs.h.  */
19007 _ACEOF
19008 cat confdefs.h >>conftest.$ac_ext
19009 cat >>conftest.$ac_ext <<_ACEOF
19010 /* end confdefs.h.  */
19011 #include <sys/types.h>
19012 #ifdef HAVE_SYS_PARAM_H
19013 # include <sys/param.h>
19014 #endif
19015 #ifdef HAVE_SYS_MOUNT_H
19016 # include <sys/mount.h>
19017 #endif
19018 #ifdef HAVE_SYS_VFS_H
19019 # include <sys/vfs.h>
19020 #endif
19021 #ifdef HAVE_SYS_STATFS_H
19022 # include <sys/statfs.h>
19023 #endif
19024
19025 int
19026 main ()
19027 {
19028 static struct statfs ac_aggr;
19029 if (sizeof ac_aggr.f_frsize)
19030 return 0;
19031   ;
19032   return 0;
19033 }
19034 _ACEOF
19035 rm -f conftest.$ac_objext
19036 if { (ac_try="$ac_compile"
19037 case "(($ac_try" in
19038   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19039   *) ac_try_echo=$ac_try;;
19040 esac
19041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19042   (eval "$ac_compile") 2>conftest.er1
19043   ac_status=$?
19044   grep -v '^ *+' conftest.er1 >conftest.err
19045   rm -f conftest.er1
19046   cat conftest.err >&5
19047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048   (exit $ac_status); } && {
19049          test -z "$ac_c_werror_flag" ||
19050          test ! -s conftest.err
19051        } && test -s conftest.$ac_objext; then
19052   ac_cv_member_struct_statfs_f_frsize=yes
19053 else
19054   echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.$ac_ext >&5
19056
19057         ac_cv_member_struct_statfs_f_frsize=no
19058 fi
19059
19060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19061 fi
19062
19063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19064 fi
19065 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19066 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19067 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19068
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19071 _ACEOF
19072
19073
19074 fi
19075 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19076 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19077 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19078   echo $ECHO_N "(cached) $ECHO_C" >&6
19079 else
19080   cat >conftest.$ac_ext <<_ACEOF
19081 /* confdefs.h.  */
19082 _ACEOF
19083 cat confdefs.h >>conftest.$ac_ext
19084 cat >>conftest.$ac_ext <<_ACEOF
19085 /* end confdefs.h.  */
19086 #include <sys/types.h>
19087 #ifdef HAVE_SYS_PARAM_H
19088 # include <sys/param.h>
19089 #endif
19090 #ifdef HAVE_SYS_MOUNT_H
19091 # include <sys/mount.h>
19092 #endif
19093 #ifdef HAVE_SYS_VFS_H
19094 # include <sys/vfs.h>
19095 #endif
19096 #ifdef HAVE_SYS_STATFS_H
19097 # include <sys/statfs.h>
19098 #endif
19099
19100 int
19101 main ()
19102 {
19103 static struct statfs ac_aggr;
19104 if (ac_aggr.f_ffree)
19105 return 0;
19106   ;
19107   return 0;
19108 }
19109 _ACEOF
19110 rm -f conftest.$ac_objext
19111 if { (ac_try="$ac_compile"
19112 case "(($ac_try" in
19113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19114   *) ac_try_echo=$ac_try;;
19115 esac
19116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19117   (eval "$ac_compile") 2>conftest.er1
19118   ac_status=$?
19119   grep -v '^ *+' conftest.er1 >conftest.err
19120   rm -f conftest.er1
19121   cat conftest.err >&5
19122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123   (exit $ac_status); } && {
19124          test -z "$ac_c_werror_flag" ||
19125          test ! -s conftest.err
19126        } && test -s conftest.$ac_objext; then
19127   ac_cv_member_struct_statfs_f_ffree=yes
19128 else
19129   echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.$ac_ext >&5
19131
19132         cat >conftest.$ac_ext <<_ACEOF
19133 /* confdefs.h.  */
19134 _ACEOF
19135 cat confdefs.h >>conftest.$ac_ext
19136 cat >>conftest.$ac_ext <<_ACEOF
19137 /* end confdefs.h.  */
19138 #include <sys/types.h>
19139 #ifdef HAVE_SYS_PARAM_H
19140 # include <sys/param.h>
19141 #endif
19142 #ifdef HAVE_SYS_MOUNT_H
19143 # include <sys/mount.h>
19144 #endif
19145 #ifdef HAVE_SYS_VFS_H
19146 # include <sys/vfs.h>
19147 #endif
19148 #ifdef HAVE_SYS_STATFS_H
19149 # include <sys/statfs.h>
19150 #endif
19151
19152 int
19153 main ()
19154 {
19155 static struct statfs ac_aggr;
19156 if (sizeof ac_aggr.f_ffree)
19157 return 0;
19158   ;
19159   return 0;
19160 }
19161 _ACEOF
19162 rm -f conftest.$ac_objext
19163 if { (ac_try="$ac_compile"
19164 case "(($ac_try" in
19165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19166   *) ac_try_echo=$ac_try;;
19167 esac
19168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19169   (eval "$ac_compile") 2>conftest.er1
19170   ac_status=$?
19171   grep -v '^ *+' conftest.er1 >conftest.err
19172   rm -f conftest.er1
19173   cat conftest.err >&5
19174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175   (exit $ac_status); } && {
19176          test -z "$ac_c_werror_flag" ||
19177          test ! -s conftest.err
19178        } && test -s conftest.$ac_objext; then
19179   ac_cv_member_struct_statfs_f_ffree=yes
19180 else
19181   echo "$as_me: failed program was:" >&5
19182 sed 's/^/| /' conftest.$ac_ext >&5
19183
19184         ac_cv_member_struct_statfs_f_ffree=no
19185 fi
19186
19187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188 fi
19189
19190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 fi
19192 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19193 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19194 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19195
19196 cat >>confdefs.h <<_ACEOF
19197 #define HAVE_STRUCT_STATFS_F_FFREE 1
19198 _ACEOF
19199
19200
19201 fi
19202 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19203 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19204 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19205   echo $ECHO_N "(cached) $ECHO_C" >&6
19206 else
19207   cat >conftest.$ac_ext <<_ACEOF
19208 /* confdefs.h.  */
19209 _ACEOF
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h.  */
19213 #include <sys/types.h>
19214 #ifdef HAVE_SYS_PARAM_H
19215 # include <sys/param.h>
19216 #endif
19217 #ifdef HAVE_SYS_MOUNT_H
19218 # include <sys/mount.h>
19219 #endif
19220 #ifdef HAVE_SYS_VFS_H
19221 # include <sys/vfs.h>
19222 #endif
19223 #ifdef HAVE_SYS_STATFS_H
19224 # include <sys/statfs.h>
19225 #endif
19226
19227 int
19228 main ()
19229 {
19230 static struct statfs ac_aggr;
19231 if (ac_aggr.f_favail)
19232 return 0;
19233   ;
19234   return 0;
19235 }
19236 _ACEOF
19237 rm -f conftest.$ac_objext
19238 if { (ac_try="$ac_compile"
19239 case "(($ac_try" in
19240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19241   *) ac_try_echo=$ac_try;;
19242 esac
19243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19244   (eval "$ac_compile") 2>conftest.er1
19245   ac_status=$?
19246   grep -v '^ *+' conftest.er1 >conftest.err
19247   rm -f conftest.er1
19248   cat conftest.err >&5
19249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250   (exit $ac_status); } && {
19251          test -z "$ac_c_werror_flag" ||
19252          test ! -s conftest.err
19253        } && test -s conftest.$ac_objext; then
19254   ac_cv_member_struct_statfs_f_favail=yes
19255 else
19256   echo "$as_me: failed program was:" >&5
19257 sed 's/^/| /' conftest.$ac_ext >&5
19258
19259         cat >conftest.$ac_ext <<_ACEOF
19260 /* confdefs.h.  */
19261 _ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h.  */
19265 #include <sys/types.h>
19266 #ifdef HAVE_SYS_PARAM_H
19267 # include <sys/param.h>
19268 #endif
19269 #ifdef HAVE_SYS_MOUNT_H
19270 # include <sys/mount.h>
19271 #endif
19272 #ifdef HAVE_SYS_VFS_H
19273 # include <sys/vfs.h>
19274 #endif
19275 #ifdef HAVE_SYS_STATFS_H
19276 # include <sys/statfs.h>
19277 #endif
19278
19279 int
19280 main ()
19281 {
19282 static struct statfs ac_aggr;
19283 if (sizeof ac_aggr.f_favail)
19284 return 0;
19285   ;
19286   return 0;
19287 }
19288 _ACEOF
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293   *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296   (eval "$ac_compile") 2>conftest.er1
19297   ac_status=$?
19298   grep -v '^ *+' conftest.er1 >conftest.err
19299   rm -f conftest.er1
19300   cat conftest.err >&5
19301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302   (exit $ac_status); } && {
19303          test -z "$ac_c_werror_flag" ||
19304          test ! -s conftest.err
19305        } && test -s conftest.$ac_objext; then
19306   ac_cv_member_struct_statfs_f_favail=yes
19307 else
19308   echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19310
19311         ac_cv_member_struct_statfs_f_favail=no
19312 fi
19313
19314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19315 fi
19316
19317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19318 fi
19319 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19320 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19321 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19322
19323 cat >>confdefs.h <<_ACEOF
19324 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19325 _ACEOF
19326
19327
19328 fi
19329 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19330 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19331 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19332   echo $ECHO_N "(cached) $ECHO_C" >&6
19333 else
19334   cat >conftest.$ac_ext <<_ACEOF
19335 /* confdefs.h.  */
19336 _ACEOF
19337 cat confdefs.h >>conftest.$ac_ext
19338 cat >>conftest.$ac_ext <<_ACEOF
19339 /* end confdefs.h.  */
19340 #include <sys/types.h>
19341 #ifdef HAVE_SYS_PARAM_H
19342 # include <sys/param.h>
19343 #endif
19344 #ifdef HAVE_SYS_MOUNT_H
19345 # include <sys/mount.h>
19346 #endif
19347 #ifdef HAVE_SYS_VFS_H
19348 # include <sys/vfs.h>
19349 #endif
19350 #ifdef HAVE_SYS_STATFS_H
19351 # include <sys/statfs.h>
19352 #endif
19353
19354 int
19355 main ()
19356 {
19357 static struct statfs ac_aggr;
19358 if (ac_aggr.f_namelen)
19359 return 0;
19360   ;
19361   return 0;
19362 }
19363 _ACEOF
19364 rm -f conftest.$ac_objext
19365 if { (ac_try="$ac_compile"
19366 case "(($ac_try" in
19367   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19368   *) ac_try_echo=$ac_try;;
19369 esac
19370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19371   (eval "$ac_compile") 2>conftest.er1
19372   ac_status=$?
19373   grep -v '^ *+' conftest.er1 >conftest.err
19374   rm -f conftest.er1
19375   cat conftest.err >&5
19376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19377   (exit $ac_status); } && {
19378          test -z "$ac_c_werror_flag" ||
19379          test ! -s conftest.err
19380        } && test -s conftest.$ac_objext; then
19381   ac_cv_member_struct_statfs_f_namelen=yes
19382 else
19383   echo "$as_me: failed program was:" >&5
19384 sed 's/^/| /' conftest.$ac_ext >&5
19385
19386         cat >conftest.$ac_ext <<_ACEOF
19387 /* confdefs.h.  */
19388 _ACEOF
19389 cat confdefs.h >>conftest.$ac_ext
19390 cat >>conftest.$ac_ext <<_ACEOF
19391 /* end confdefs.h.  */
19392 #include <sys/types.h>
19393 #ifdef HAVE_SYS_PARAM_H
19394 # include <sys/param.h>
19395 #endif
19396 #ifdef HAVE_SYS_MOUNT_H
19397 # include <sys/mount.h>
19398 #endif
19399 #ifdef HAVE_SYS_VFS_H
19400 # include <sys/vfs.h>
19401 #endif
19402 #ifdef HAVE_SYS_STATFS_H
19403 # include <sys/statfs.h>
19404 #endif
19405
19406 int
19407 main ()
19408 {
19409 static struct statfs ac_aggr;
19410 if (sizeof ac_aggr.f_namelen)
19411 return 0;
19412   ;
19413   return 0;
19414 }
19415 _ACEOF
19416 rm -f conftest.$ac_objext
19417 if { (ac_try="$ac_compile"
19418 case "(($ac_try" in
19419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19420   *) ac_try_echo=$ac_try;;
19421 esac
19422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19423   (eval "$ac_compile") 2>conftest.er1
19424   ac_status=$?
19425   grep -v '^ *+' conftest.er1 >conftest.err
19426   rm -f conftest.er1
19427   cat conftest.err >&5
19428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429   (exit $ac_status); } && {
19430          test -z "$ac_c_werror_flag" ||
19431          test ! -s conftest.err
19432        } && test -s conftest.$ac_objext; then
19433   ac_cv_member_struct_statfs_f_namelen=yes
19434 else
19435   echo "$as_me: failed program was:" >&5
19436 sed 's/^/| /' conftest.$ac_ext >&5
19437
19438         ac_cv_member_struct_statfs_f_namelen=no
19439 fi
19440
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19442 fi
19443
19444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19445 fi
19446 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19447 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19448 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19449
19450 cat >>confdefs.h <<_ACEOF
19451 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19452 _ACEOF
19453
19454
19455 fi
19456
19457
19458 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19459 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19460 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19461   echo $ECHO_N "(cached) $ECHO_C" >&6
19462 else
19463   cat >conftest.$ac_ext <<_ACEOF
19464 /* confdefs.h.  */
19465 _ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h.  */
19469 #ifdef HAVE_SYS_STATVFS_H
19470 #include <sys/statvfs.h>
19471 #endif
19472
19473 int
19474 main ()
19475 {
19476 static struct statvfs ac_aggr;
19477 if (ac_aggr.f_blocks)
19478 return 0;
19479   ;
19480   return 0;
19481 }
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487   *) ac_try_echo=$ac_try;;
19488 esac
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490   (eval "$ac_compile") 2>conftest.er1
19491   ac_status=$?
19492   grep -v '^ *+' conftest.er1 >conftest.err
19493   rm -f conftest.er1
19494   cat conftest.err >&5
19495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496   (exit $ac_status); } && {
19497          test -z "$ac_c_werror_flag" ||
19498          test ! -s conftest.err
19499        } && test -s conftest.$ac_objext; then
19500   ac_cv_member_struct_statvfs_f_blocks=yes
19501 else
19502   echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19504
19505         cat >conftest.$ac_ext <<_ACEOF
19506 /* confdefs.h.  */
19507 _ACEOF
19508 cat confdefs.h >>conftest.$ac_ext
19509 cat >>conftest.$ac_ext <<_ACEOF
19510 /* end confdefs.h.  */
19511 #ifdef HAVE_SYS_STATVFS_H
19512 #include <sys/statvfs.h>
19513 #endif
19514
19515 int
19516 main ()
19517 {
19518 static struct statvfs ac_aggr;
19519 if (sizeof ac_aggr.f_blocks)
19520 return 0;
19521   ;
19522   return 0;
19523 }
19524 _ACEOF
19525 rm -f conftest.$ac_objext
19526 if { (ac_try="$ac_compile"
19527 case "(($ac_try" in
19528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19529   *) ac_try_echo=$ac_try;;
19530 esac
19531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19532   (eval "$ac_compile") 2>conftest.er1
19533   ac_status=$?
19534   grep -v '^ *+' conftest.er1 >conftest.err
19535   rm -f conftest.er1
19536   cat conftest.err >&5
19537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538   (exit $ac_status); } && {
19539          test -z "$ac_c_werror_flag" ||
19540          test ! -s conftest.err
19541        } && test -s conftest.$ac_objext; then
19542   ac_cv_member_struct_statvfs_f_blocks=yes
19543 else
19544   echo "$as_me: failed program was:" >&5
19545 sed 's/^/| /' conftest.$ac_ext >&5
19546
19547         ac_cv_member_struct_statvfs_f_blocks=no
19548 fi
19549
19550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19551 fi
19552
19553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19554 fi
19555 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19556 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19557 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19558
19559 cat >>confdefs.h <<_ACEOF
19560 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19561 _ACEOF
19562
19563
19564 fi
19565
19566
19567 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19568 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19569 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19570   echo $ECHO_N "(cached) $ECHO_C" >&6
19571 else
19572   cat >conftest.$ac_ext <<_ACEOF
19573 /* confdefs.h.  */
19574 _ACEOF
19575 cat confdefs.h >>conftest.$ac_ext
19576 cat >>conftest.$ac_ext <<_ACEOF
19577 /* end confdefs.h.  */
19578 #include <sys/types.h>
19579 #ifdef HAVE_SYS_SOCKET_H
19580 # include <sys/socket.h>
19581 #endif
19582 #ifdef HAVE_SYS_UN_H
19583 # include <sys/un.h>
19584 #endif
19585
19586 int
19587 main ()
19588 {
19589 static struct msghdr ac_aggr;
19590 if (ac_aggr.msg_accrights)
19591 return 0;
19592   ;
19593   return 0;
19594 }
19595 _ACEOF
19596 rm -f conftest.$ac_objext
19597 if { (ac_try="$ac_compile"
19598 case "(($ac_try" in
19599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19600   *) ac_try_echo=$ac_try;;
19601 esac
19602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19603   (eval "$ac_compile") 2>conftest.er1
19604   ac_status=$?
19605   grep -v '^ *+' conftest.er1 >conftest.err
19606   rm -f conftest.er1
19607   cat conftest.err >&5
19608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609   (exit $ac_status); } && {
19610          test -z "$ac_c_werror_flag" ||
19611          test ! -s conftest.err
19612        } && test -s conftest.$ac_objext; then
19613   ac_cv_member_struct_msghdr_msg_accrights=yes
19614 else
19615   echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19617
19618         cat >conftest.$ac_ext <<_ACEOF
19619 /* confdefs.h.  */
19620 _ACEOF
19621 cat confdefs.h >>conftest.$ac_ext
19622 cat >>conftest.$ac_ext <<_ACEOF
19623 /* end confdefs.h.  */
19624 #include <sys/types.h>
19625 #ifdef HAVE_SYS_SOCKET_H
19626 # include <sys/socket.h>
19627 #endif
19628 #ifdef HAVE_SYS_UN_H
19629 # include <sys/un.h>
19630 #endif
19631
19632 int
19633 main ()
19634 {
19635 static struct msghdr ac_aggr;
19636 if (sizeof ac_aggr.msg_accrights)
19637 return 0;
19638   ;
19639   return 0;
19640 }
19641 _ACEOF
19642 rm -f conftest.$ac_objext
19643 if { (ac_try="$ac_compile"
19644 case "(($ac_try" in
19645   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19646   *) ac_try_echo=$ac_try;;
19647 esac
19648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19649   (eval "$ac_compile") 2>conftest.er1
19650   ac_status=$?
19651   grep -v '^ *+' conftest.er1 >conftest.err
19652   rm -f conftest.er1
19653   cat conftest.err >&5
19654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655   (exit $ac_status); } && {
19656          test -z "$ac_c_werror_flag" ||
19657          test ! -s conftest.err
19658        } && test -s conftest.$ac_objext; then
19659   ac_cv_member_struct_msghdr_msg_accrights=yes
19660 else
19661   echo "$as_me: failed program was:" >&5
19662 sed 's/^/| /' conftest.$ac_ext >&5
19663
19664         ac_cv_member_struct_msghdr_msg_accrights=no
19665 fi
19666
19667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19668 fi
19669
19670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 fi
19672 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19673 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19674 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19675
19676 cat >>confdefs.h <<_ACEOF
19677 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19678 _ACEOF
19679
19680
19681 fi
19682 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19683 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19684 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19685   echo $ECHO_N "(cached) $ECHO_C" >&6
19686 else
19687   cat >conftest.$ac_ext <<_ACEOF
19688 /* confdefs.h.  */
19689 _ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h.  */
19693 #include <sys/types.h>
19694 #ifdef HAVE_SYS_SOCKET_H
19695 # include <sys/socket.h>
19696 #endif
19697 #ifdef HAVE_SYS_UN_H
19698 # include <sys/un.h>
19699 #endif
19700
19701 int
19702 main ()
19703 {
19704 static struct sockaddr ac_aggr;
19705 if (ac_aggr.sa_len)
19706 return 0;
19707   ;
19708   return 0;
19709 }
19710 _ACEOF
19711 rm -f conftest.$ac_objext
19712 if { (ac_try="$ac_compile"
19713 case "(($ac_try" in
19714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19715   *) ac_try_echo=$ac_try;;
19716 esac
19717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19718   (eval "$ac_compile") 2>conftest.er1
19719   ac_status=$?
19720   grep -v '^ *+' conftest.er1 >conftest.err
19721   rm -f conftest.er1
19722   cat conftest.err >&5
19723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724   (exit $ac_status); } && {
19725          test -z "$ac_c_werror_flag" ||
19726          test ! -s conftest.err
19727        } && test -s conftest.$ac_objext; then
19728   ac_cv_member_struct_sockaddr_sa_len=yes
19729 else
19730   echo "$as_me: failed program was:" >&5
19731 sed 's/^/| /' conftest.$ac_ext >&5
19732
19733         cat >conftest.$ac_ext <<_ACEOF
19734 /* confdefs.h.  */
19735 _ACEOF
19736 cat confdefs.h >>conftest.$ac_ext
19737 cat >>conftest.$ac_ext <<_ACEOF
19738 /* end confdefs.h.  */
19739 #include <sys/types.h>
19740 #ifdef HAVE_SYS_SOCKET_H
19741 # include <sys/socket.h>
19742 #endif
19743 #ifdef HAVE_SYS_UN_H
19744 # include <sys/un.h>
19745 #endif
19746
19747 int
19748 main ()
19749 {
19750 static struct sockaddr ac_aggr;
19751 if (sizeof ac_aggr.sa_len)
19752 return 0;
19753   ;
19754   return 0;
19755 }
19756 _ACEOF
19757 rm -f conftest.$ac_objext
19758 if { (ac_try="$ac_compile"
19759 case "(($ac_try" in
19760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19761   *) ac_try_echo=$ac_try;;
19762 esac
19763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19764   (eval "$ac_compile") 2>conftest.er1
19765   ac_status=$?
19766   grep -v '^ *+' conftest.er1 >conftest.err
19767   rm -f conftest.er1
19768   cat conftest.err >&5
19769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770   (exit $ac_status); } && {
19771          test -z "$ac_c_werror_flag" ||
19772          test ! -s conftest.err
19773        } && test -s conftest.$ac_objext; then
19774   ac_cv_member_struct_sockaddr_sa_len=yes
19775 else
19776   echo "$as_me: failed program was:" >&5
19777 sed 's/^/| /' conftest.$ac_ext >&5
19778
19779         ac_cv_member_struct_sockaddr_sa_len=no
19780 fi
19781
19782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19783 fi
19784
19785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19786 fi
19787 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19788 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19789 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19790
19791 cat >>confdefs.h <<_ACEOF
19792 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19793 _ACEOF
19794
19795
19796 fi
19797 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19798 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19799 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19800   echo $ECHO_N "(cached) $ECHO_C" >&6
19801 else
19802   cat >conftest.$ac_ext <<_ACEOF
19803 /* confdefs.h.  */
19804 _ACEOF
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h.  */
19808 #include <sys/types.h>
19809 #ifdef HAVE_SYS_SOCKET_H
19810 # include <sys/socket.h>
19811 #endif
19812 #ifdef HAVE_SYS_UN_H
19813 # include <sys/un.h>
19814 #endif
19815
19816 int
19817 main ()
19818 {
19819 static struct sockaddr_un ac_aggr;
19820 if (ac_aggr.sun_len)
19821 return 0;
19822   ;
19823   return 0;
19824 }
19825 _ACEOF
19826 rm -f conftest.$ac_objext
19827 if { (ac_try="$ac_compile"
19828 case "(($ac_try" in
19829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19830   *) ac_try_echo=$ac_try;;
19831 esac
19832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19833   (eval "$ac_compile") 2>conftest.er1
19834   ac_status=$?
19835   grep -v '^ *+' conftest.er1 >conftest.err
19836   rm -f conftest.er1
19837   cat conftest.err >&5
19838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19839   (exit $ac_status); } && {
19840          test -z "$ac_c_werror_flag" ||
19841          test ! -s conftest.err
19842        } && test -s conftest.$ac_objext; then
19843   ac_cv_member_struct_sockaddr_un_sun_len=yes
19844 else
19845   echo "$as_me: failed program was:" >&5
19846 sed 's/^/| /' conftest.$ac_ext >&5
19847
19848         cat >conftest.$ac_ext <<_ACEOF
19849 /* confdefs.h.  */
19850 _ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h.  */
19854 #include <sys/types.h>
19855 #ifdef HAVE_SYS_SOCKET_H
19856 # include <sys/socket.h>
19857 #endif
19858 #ifdef HAVE_SYS_UN_H
19859 # include <sys/un.h>
19860 #endif
19861
19862 int
19863 main ()
19864 {
19865 static struct sockaddr_un ac_aggr;
19866 if (sizeof ac_aggr.sun_len)
19867 return 0;
19868   ;
19869   return 0;
19870 }
19871 _ACEOF
19872 rm -f conftest.$ac_objext
19873 if { (ac_try="$ac_compile"
19874 case "(($ac_try" in
19875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19876   *) ac_try_echo=$ac_try;;
19877 esac
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19879   (eval "$ac_compile") 2>conftest.er1
19880   ac_status=$?
19881   grep -v '^ *+' conftest.er1 >conftest.err
19882   rm -f conftest.er1
19883   cat conftest.err >&5
19884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885   (exit $ac_status); } && {
19886          test -z "$ac_c_werror_flag" ||
19887          test ! -s conftest.err
19888        } && test -s conftest.$ac_objext; then
19889   ac_cv_member_struct_sockaddr_un_sun_len=yes
19890 else
19891   echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19893
19894         ac_cv_member_struct_sockaddr_un_sun_len=no
19895 fi
19896
19897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19898 fi
19899
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19901 fi
19902 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19903 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
19904 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19905
19906 cat >>confdefs.h <<_ACEOF
19907 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19908 _ACEOF
19909
19910
19911 fi
19912
19913
19914 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
19915 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
19916 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
19917   echo $ECHO_N "(cached) $ECHO_C" >&6
19918 else
19919   cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h.  */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h.  */
19925 #include <sys/types.h>
19926 #ifdef HAVE_SCSI_SG_H
19927 #include <scsi/sg.h>
19928 #endif
19929
19930 int
19931 main ()
19932 {
19933 static scsireq_t ac_aggr;
19934 if (ac_aggr.cmd)
19935 return 0;
19936   ;
19937   return 0;
19938 }
19939 _ACEOF
19940 rm -f conftest.$ac_objext
19941 if { (ac_try="$ac_compile"
19942 case "(($ac_try" in
19943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19944   *) ac_try_echo=$ac_try;;
19945 esac
19946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19947   (eval "$ac_compile") 2>conftest.er1
19948   ac_status=$?
19949   grep -v '^ *+' conftest.er1 >conftest.err
19950   rm -f conftest.er1
19951   cat conftest.err >&5
19952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19953   (exit $ac_status); } && {
19954          test -z "$ac_c_werror_flag" ||
19955          test ! -s conftest.err
19956        } && test -s conftest.$ac_objext; then
19957   ac_cv_member_scsireq_t_cmd=yes
19958 else
19959   echo "$as_me: failed program was:" >&5
19960 sed 's/^/| /' conftest.$ac_ext >&5
19961
19962         cat >conftest.$ac_ext <<_ACEOF
19963 /* confdefs.h.  */
19964 _ACEOF
19965 cat confdefs.h >>conftest.$ac_ext
19966 cat >>conftest.$ac_ext <<_ACEOF
19967 /* end confdefs.h.  */
19968 #include <sys/types.h>
19969 #ifdef HAVE_SCSI_SG_H
19970 #include <scsi/sg.h>
19971 #endif
19972
19973 int
19974 main ()
19975 {
19976 static scsireq_t ac_aggr;
19977 if (sizeof ac_aggr.cmd)
19978 return 0;
19979   ;
19980   return 0;
19981 }
19982 _ACEOF
19983 rm -f conftest.$ac_objext
19984 if { (ac_try="$ac_compile"
19985 case "(($ac_try" in
19986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19987   *) ac_try_echo=$ac_try;;
19988 esac
19989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19990   (eval "$ac_compile") 2>conftest.er1
19991   ac_status=$?
19992   grep -v '^ *+' conftest.er1 >conftest.err
19993   rm -f conftest.er1
19994   cat conftest.err >&5
19995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996   (exit $ac_status); } && {
19997          test -z "$ac_c_werror_flag" ||
19998          test ! -s conftest.err
19999        } && test -s conftest.$ac_objext; then
20000   ac_cv_member_scsireq_t_cmd=yes
20001 else
20002   echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20004
20005         ac_cv_member_scsireq_t_cmd=no
20006 fi
20007
20008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20009 fi
20010
20011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20012 fi
20013 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20014 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20015 if test $ac_cv_member_scsireq_t_cmd = yes; then
20016
20017 cat >>confdefs.h <<_ACEOF
20018 #define HAVE_SCSIREQ_T_CMD 1
20019 _ACEOF
20020
20021
20022 fi
20023 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20024 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20025 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20026   echo $ECHO_N "(cached) $ECHO_C" >&6
20027 else
20028   cat >conftest.$ac_ext <<_ACEOF
20029 /* confdefs.h.  */
20030 _ACEOF
20031 cat confdefs.h >>conftest.$ac_ext
20032 cat >>conftest.$ac_ext <<_ACEOF
20033 /* end confdefs.h.  */
20034 #include <sys/types.h>
20035 #ifdef HAVE_SCSI_SG_H
20036 #include <scsi/sg.h>
20037 #endif
20038
20039 int
20040 main ()
20041 {
20042 static sg_io_hdr_t ac_aggr;
20043 if (ac_aggr.interface_id)
20044 return 0;
20045   ;
20046   return 0;
20047 }
20048 _ACEOF
20049 rm -f conftest.$ac_objext
20050 if { (ac_try="$ac_compile"
20051 case "(($ac_try" in
20052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20053   *) ac_try_echo=$ac_try;;
20054 esac
20055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20056   (eval "$ac_compile") 2>conftest.er1
20057   ac_status=$?
20058   grep -v '^ *+' conftest.er1 >conftest.err
20059   rm -f conftest.er1
20060   cat conftest.err >&5
20061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062   (exit $ac_status); } && {
20063          test -z "$ac_c_werror_flag" ||
20064          test ! -s conftest.err
20065        } && test -s conftest.$ac_objext; then
20066   ac_cv_member_sg_io_hdr_t_interface_id=yes
20067 else
20068   echo "$as_me: failed program was:" >&5
20069 sed 's/^/| /' conftest.$ac_ext >&5
20070
20071         cat >conftest.$ac_ext <<_ACEOF
20072 /* confdefs.h.  */
20073 _ACEOF
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h.  */
20077 #include <sys/types.h>
20078 #ifdef HAVE_SCSI_SG_H
20079 #include <scsi/sg.h>
20080 #endif
20081
20082 int
20083 main ()
20084 {
20085 static sg_io_hdr_t ac_aggr;
20086 if (sizeof ac_aggr.interface_id)
20087 return 0;
20088   ;
20089   return 0;
20090 }
20091 _ACEOF
20092 rm -f conftest.$ac_objext
20093 if { (ac_try="$ac_compile"
20094 case "(($ac_try" in
20095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096   *) ac_try_echo=$ac_try;;
20097 esac
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099   (eval "$ac_compile") 2>conftest.er1
20100   ac_status=$?
20101   grep -v '^ *+' conftest.er1 >conftest.err
20102   rm -f conftest.er1
20103   cat conftest.err >&5
20104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105   (exit $ac_status); } && {
20106          test -z "$ac_c_werror_flag" ||
20107          test ! -s conftest.err
20108        } && test -s conftest.$ac_objext; then
20109   ac_cv_member_sg_io_hdr_t_interface_id=yes
20110 else
20111   echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20113
20114         ac_cv_member_sg_io_hdr_t_interface_id=no
20115 fi
20116
20117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20118 fi
20119
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 fi
20122 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20123 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20124 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20125
20126 cat >>confdefs.h <<_ACEOF
20127 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20128 _ACEOF
20129
20130
20131 fi
20132
20133
20134 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20135 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20136 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20137   echo $ECHO_N "(cached) $ECHO_C" >&6
20138 else
20139   cat >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h.  */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h.  */
20145 #include <signal.h>
20146
20147 int
20148 main ()
20149 {
20150 static siginfo_t ac_aggr;
20151 if (ac_aggr.si_fd)
20152 return 0;
20153   ;
20154   return 0;
20155 }
20156 _ACEOF
20157 rm -f conftest.$ac_objext
20158 if { (ac_try="$ac_compile"
20159 case "(($ac_try" in
20160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20161   *) ac_try_echo=$ac_try;;
20162 esac
20163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20164   (eval "$ac_compile") 2>conftest.er1
20165   ac_status=$?
20166   grep -v '^ *+' conftest.er1 >conftest.err
20167   rm -f conftest.er1
20168   cat conftest.err >&5
20169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170   (exit $ac_status); } && {
20171          test -z "$ac_c_werror_flag" ||
20172          test ! -s conftest.err
20173        } && test -s conftest.$ac_objext; then
20174   ac_cv_member_siginfo_t_si_fd=yes
20175 else
20176   echo "$as_me: failed program was:" >&5
20177 sed 's/^/| /' conftest.$ac_ext >&5
20178
20179         cat >conftest.$ac_ext <<_ACEOF
20180 /* confdefs.h.  */
20181 _ACEOF
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h.  */
20185 #include <signal.h>
20186
20187 int
20188 main ()
20189 {
20190 static siginfo_t ac_aggr;
20191 if (sizeof ac_aggr.si_fd)
20192 return 0;
20193   ;
20194   return 0;
20195 }
20196 _ACEOF
20197 rm -f conftest.$ac_objext
20198 if { (ac_try="$ac_compile"
20199 case "(($ac_try" in
20200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20201   *) ac_try_echo=$ac_try;;
20202 esac
20203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20204   (eval "$ac_compile") 2>conftest.er1
20205   ac_status=$?
20206   grep -v '^ *+' conftest.er1 >conftest.err
20207   rm -f conftest.er1
20208   cat conftest.err >&5
20209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210   (exit $ac_status); } && {
20211          test -z "$ac_c_werror_flag" ||
20212          test ! -s conftest.err
20213        } && test -s conftest.$ac_objext; then
20214   ac_cv_member_siginfo_t_si_fd=yes
20215 else
20216   echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20218
20219         ac_cv_member_siginfo_t_si_fd=no
20220 fi
20221
20222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20223 fi
20224
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 fi
20227 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20228 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20229 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20230
20231 cat >>confdefs.h <<_ACEOF
20232 #define HAVE_SIGINFO_T_SI_FD 1
20233 _ACEOF
20234
20235
20236 fi
20237
20238
20239 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20240 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20241 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20242   echo $ECHO_N "(cached) $ECHO_C" >&6
20243 else
20244   cat >conftest.$ac_ext <<_ACEOF
20245 /* confdefs.h.  */
20246 _ACEOF
20247 cat confdefs.h >>conftest.$ac_ext
20248 cat >>conftest.$ac_ext <<_ACEOF
20249 /* end confdefs.h.  */
20250 #include <sys/types.h>
20251 #ifdef HAVE_SYS_MTIO_H
20252 #include <sys/mtio.h>
20253 #endif
20254
20255 int
20256 main ()
20257 {
20258 static struct mtget ac_aggr;
20259 if (ac_aggr.mt_blksiz)
20260 return 0;
20261   ;
20262   return 0;
20263 }
20264 _ACEOF
20265 rm -f conftest.$ac_objext
20266 if { (ac_try="$ac_compile"
20267 case "(($ac_try" in
20268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20269   *) ac_try_echo=$ac_try;;
20270 esac
20271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20272   (eval "$ac_compile") 2>conftest.er1
20273   ac_status=$?
20274   grep -v '^ *+' conftest.er1 >conftest.err
20275   rm -f conftest.er1
20276   cat conftest.err >&5
20277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278   (exit $ac_status); } && {
20279          test -z "$ac_c_werror_flag" ||
20280          test ! -s conftest.err
20281        } && test -s conftest.$ac_objext; then
20282   ac_cv_member_struct_mtget_mt_blksiz=yes
20283 else
20284   echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20286
20287         cat >conftest.$ac_ext <<_ACEOF
20288 /* confdefs.h.  */
20289 _ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h.  */
20293 #include <sys/types.h>
20294 #ifdef HAVE_SYS_MTIO_H
20295 #include <sys/mtio.h>
20296 #endif
20297
20298 int
20299 main ()
20300 {
20301 static struct mtget ac_aggr;
20302 if (sizeof ac_aggr.mt_blksiz)
20303 return 0;
20304   ;
20305   return 0;
20306 }
20307 _ACEOF
20308 rm -f conftest.$ac_objext
20309 if { (ac_try="$ac_compile"
20310 case "(($ac_try" in
20311   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20312   *) ac_try_echo=$ac_try;;
20313 esac
20314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20315   (eval "$ac_compile") 2>conftest.er1
20316   ac_status=$?
20317   grep -v '^ *+' conftest.er1 >conftest.err
20318   rm -f conftest.er1
20319   cat conftest.err >&5
20320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321   (exit $ac_status); } && {
20322          test -z "$ac_c_werror_flag" ||
20323          test ! -s conftest.err
20324        } && test -s conftest.$ac_objext; then
20325   ac_cv_member_struct_mtget_mt_blksiz=yes
20326 else
20327   echo "$as_me: failed program was:" >&5
20328 sed 's/^/| /' conftest.$ac_ext >&5
20329
20330         ac_cv_member_struct_mtget_mt_blksiz=no
20331 fi
20332
20333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20334 fi
20335
20336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20337 fi
20338 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20339 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20340 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20341
20342 cat >>confdefs.h <<_ACEOF
20343 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20344 _ACEOF
20345
20346
20347 fi
20348 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20349 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20350 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20351   echo $ECHO_N "(cached) $ECHO_C" >&6
20352 else
20353   cat >conftest.$ac_ext <<_ACEOF
20354 /* confdefs.h.  */
20355 _ACEOF
20356 cat confdefs.h >>conftest.$ac_ext
20357 cat >>conftest.$ac_ext <<_ACEOF
20358 /* end confdefs.h.  */
20359 #include <sys/types.h>
20360 #ifdef HAVE_SYS_MTIO_H
20361 #include <sys/mtio.h>
20362 #endif
20363
20364 int
20365 main ()
20366 {
20367 static struct mtget ac_aggr;
20368 if (ac_aggr.mt_gstat)
20369 return 0;
20370   ;
20371   return 0;
20372 }
20373 _ACEOF
20374 rm -f conftest.$ac_objext
20375 if { (ac_try="$ac_compile"
20376 case "(($ac_try" in
20377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20378   *) ac_try_echo=$ac_try;;
20379 esac
20380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20381   (eval "$ac_compile") 2>conftest.er1
20382   ac_status=$?
20383   grep -v '^ *+' conftest.er1 >conftest.err
20384   rm -f conftest.er1
20385   cat conftest.err >&5
20386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387   (exit $ac_status); } && {
20388          test -z "$ac_c_werror_flag" ||
20389          test ! -s conftest.err
20390        } && test -s conftest.$ac_objext; then
20391   ac_cv_member_struct_mtget_mt_gstat=yes
20392 else
20393   echo "$as_me: failed program was:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20395
20396         cat >conftest.$ac_ext <<_ACEOF
20397 /* confdefs.h.  */
20398 _ACEOF
20399 cat confdefs.h >>conftest.$ac_ext
20400 cat >>conftest.$ac_ext <<_ACEOF
20401 /* end confdefs.h.  */
20402 #include <sys/types.h>
20403 #ifdef HAVE_SYS_MTIO_H
20404 #include <sys/mtio.h>
20405 #endif
20406
20407 int
20408 main ()
20409 {
20410 static struct mtget ac_aggr;
20411 if (sizeof ac_aggr.mt_gstat)
20412 return 0;
20413   ;
20414   return 0;
20415 }
20416 _ACEOF
20417 rm -f conftest.$ac_objext
20418 if { (ac_try="$ac_compile"
20419 case "(($ac_try" in
20420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20421   *) ac_try_echo=$ac_try;;
20422 esac
20423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20424   (eval "$ac_compile") 2>conftest.er1
20425   ac_status=$?
20426   grep -v '^ *+' conftest.er1 >conftest.err
20427   rm -f conftest.er1
20428   cat conftest.err >&5
20429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430   (exit $ac_status); } && {
20431          test -z "$ac_c_werror_flag" ||
20432          test ! -s conftest.err
20433        } && test -s conftest.$ac_objext; then
20434   ac_cv_member_struct_mtget_mt_gstat=yes
20435 else
20436   echo "$as_me: failed program was:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5
20438
20439         ac_cv_member_struct_mtget_mt_gstat=no
20440 fi
20441
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20443 fi
20444
20445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20446 fi
20447 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20448 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20449 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20450
20451 cat >>confdefs.h <<_ACEOF
20452 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20453 _ACEOF
20454
20455
20456 fi
20457 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20458 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20459 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20460   echo $ECHO_N "(cached) $ECHO_C" >&6
20461 else
20462   cat >conftest.$ac_ext <<_ACEOF
20463 /* confdefs.h.  */
20464 _ACEOF
20465 cat confdefs.h >>conftest.$ac_ext
20466 cat >>conftest.$ac_ext <<_ACEOF
20467 /* end confdefs.h.  */
20468 #include <sys/types.h>
20469 #ifdef HAVE_SYS_MTIO_H
20470 #include <sys/mtio.h>
20471 #endif
20472
20473 int
20474 main ()
20475 {
20476 static struct mtget ac_aggr;
20477 if (ac_aggr.mt_blkno)
20478 return 0;
20479   ;
20480   return 0;
20481 }
20482 _ACEOF
20483 rm -f conftest.$ac_objext
20484 if { (ac_try="$ac_compile"
20485 case "(($ac_try" in
20486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20487   *) ac_try_echo=$ac_try;;
20488 esac
20489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20490   (eval "$ac_compile") 2>conftest.er1
20491   ac_status=$?
20492   grep -v '^ *+' conftest.er1 >conftest.err
20493   rm -f conftest.er1
20494   cat conftest.err >&5
20495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496   (exit $ac_status); } && {
20497          test -z "$ac_c_werror_flag" ||
20498          test ! -s conftest.err
20499        } && test -s conftest.$ac_objext; then
20500   ac_cv_member_struct_mtget_mt_blkno=yes
20501 else
20502   echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.$ac_ext >&5
20504
20505         cat >conftest.$ac_ext <<_ACEOF
20506 /* confdefs.h.  */
20507 _ACEOF
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h.  */
20511 #include <sys/types.h>
20512 #ifdef HAVE_SYS_MTIO_H
20513 #include <sys/mtio.h>
20514 #endif
20515
20516 int
20517 main ()
20518 {
20519 static struct mtget ac_aggr;
20520 if (sizeof ac_aggr.mt_blkno)
20521 return 0;
20522   ;
20523   return 0;
20524 }
20525 _ACEOF
20526 rm -f conftest.$ac_objext
20527 if { (ac_try="$ac_compile"
20528 case "(($ac_try" in
20529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20530   *) ac_try_echo=$ac_try;;
20531 esac
20532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20533   (eval "$ac_compile") 2>conftest.er1
20534   ac_status=$?
20535   grep -v '^ *+' conftest.er1 >conftest.err
20536   rm -f conftest.er1
20537   cat conftest.err >&5
20538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539   (exit $ac_status); } && {
20540          test -z "$ac_c_werror_flag" ||
20541          test ! -s conftest.err
20542        } && test -s conftest.$ac_objext; then
20543   ac_cv_member_struct_mtget_mt_blkno=yes
20544 else
20545   echo "$as_me: failed program was:" >&5
20546 sed 's/^/| /' conftest.$ac_ext >&5
20547
20548         ac_cv_member_struct_mtget_mt_blkno=no
20549 fi
20550
20551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20552 fi
20553
20554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20555 fi
20556 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20557 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20558 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20559
20560 cat >>confdefs.h <<_ACEOF
20561 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20562 _ACEOF
20563
20564
20565 fi
20566
20567
20568 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20569 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20570 if test "${ac_cv_member_struct_option_name+set}" = set; then
20571   echo $ECHO_N "(cached) $ECHO_C" >&6
20572 else
20573   cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h.  */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h.  */
20579 #ifdef HAVE_GETOPT_H
20580 #include <getopt.h>
20581 #endif
20582
20583 int
20584 main ()
20585 {
20586 static struct option ac_aggr;
20587 if (ac_aggr.name)
20588 return 0;
20589   ;
20590   return 0;
20591 }
20592 _ACEOF
20593 rm -f conftest.$ac_objext
20594 if { (ac_try="$ac_compile"
20595 case "(($ac_try" in
20596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20597   *) ac_try_echo=$ac_try;;
20598 esac
20599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20600   (eval "$ac_compile") 2>conftest.er1
20601   ac_status=$?
20602   grep -v '^ *+' conftest.er1 >conftest.err
20603   rm -f conftest.er1
20604   cat conftest.err >&5
20605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606   (exit $ac_status); } && {
20607          test -z "$ac_c_werror_flag" ||
20608          test ! -s conftest.err
20609        } && test -s conftest.$ac_objext; then
20610   ac_cv_member_struct_option_name=yes
20611 else
20612   echo "$as_me: failed program was:" >&5
20613 sed 's/^/| /' conftest.$ac_ext >&5
20614
20615         cat >conftest.$ac_ext <<_ACEOF
20616 /* confdefs.h.  */
20617 _ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h.  */
20621 #ifdef HAVE_GETOPT_H
20622 #include <getopt.h>
20623 #endif
20624
20625 int
20626 main ()
20627 {
20628 static struct option ac_aggr;
20629 if (sizeof ac_aggr.name)
20630 return 0;
20631   ;
20632   return 0;
20633 }
20634 _ACEOF
20635 rm -f conftest.$ac_objext
20636 if { (ac_try="$ac_compile"
20637 case "(($ac_try" in
20638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20639   *) ac_try_echo=$ac_try;;
20640 esac
20641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20642   (eval "$ac_compile") 2>conftest.er1
20643   ac_status=$?
20644   grep -v '^ *+' conftest.er1 >conftest.err
20645   rm -f conftest.er1
20646   cat conftest.err >&5
20647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648   (exit $ac_status); } && {
20649          test -z "$ac_c_werror_flag" ||
20650          test ! -s conftest.err
20651        } && test -s conftest.$ac_objext; then
20652   ac_cv_member_struct_option_name=yes
20653 else
20654   echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20656
20657         ac_cv_member_struct_option_name=no
20658 fi
20659
20660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20661 fi
20662
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20664 fi
20665 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20666 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20667 if test $ac_cv_member_struct_option_name = yes; then
20668
20669 cat >>confdefs.h <<_ACEOF
20670 #define HAVE_STRUCT_OPTION_NAME 1
20671 _ACEOF
20672
20673
20674 fi
20675
20676
20677 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20678 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20679 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20680   echo $ECHO_N "(cached) $ECHO_C" >&6
20681 else
20682   cat >conftest.$ac_ext <<_ACEOF
20683 /* confdefs.h.  */
20684 _ACEOF
20685 cat confdefs.h >>conftest.$ac_ext
20686 cat >>conftest.$ac_ext <<_ACEOF
20687 /* end confdefs.h.  */
20688 $ac_includes_default
20689 int
20690 main ()
20691 {
20692 static struct stat ac_aggr;
20693 if (ac_aggr.st_blocks)
20694 return 0;
20695   ;
20696   return 0;
20697 }
20698 _ACEOF
20699 rm -f conftest.$ac_objext
20700 if { (ac_try="$ac_compile"
20701 case "(($ac_try" in
20702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20703   *) ac_try_echo=$ac_try;;
20704 esac
20705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20706   (eval "$ac_compile") 2>conftest.er1
20707   ac_status=$?
20708   grep -v '^ *+' conftest.er1 >conftest.err
20709   rm -f conftest.er1
20710   cat conftest.err >&5
20711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712   (exit $ac_status); } && {
20713          test -z "$ac_c_werror_flag" ||
20714          test ! -s conftest.err
20715        } && test -s conftest.$ac_objext; then
20716   ac_cv_member_struct_stat_st_blocks=yes
20717 else
20718   echo "$as_me: failed program was:" >&5
20719 sed 's/^/| /' conftest.$ac_ext >&5
20720
20721         cat >conftest.$ac_ext <<_ACEOF
20722 /* confdefs.h.  */
20723 _ACEOF
20724 cat confdefs.h >>conftest.$ac_ext
20725 cat >>conftest.$ac_ext <<_ACEOF
20726 /* end confdefs.h.  */
20727 $ac_includes_default
20728 int
20729 main ()
20730 {
20731 static struct stat ac_aggr;
20732 if (sizeof ac_aggr.st_blocks)
20733 return 0;
20734   ;
20735   return 0;
20736 }
20737 _ACEOF
20738 rm -f conftest.$ac_objext
20739 if { (ac_try="$ac_compile"
20740 case "(($ac_try" in
20741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20742   *) ac_try_echo=$ac_try;;
20743 esac
20744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20745   (eval "$ac_compile") 2>conftest.er1
20746   ac_status=$?
20747   grep -v '^ *+' conftest.er1 >conftest.err
20748   rm -f conftest.er1
20749   cat conftest.err >&5
20750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751   (exit $ac_status); } && {
20752          test -z "$ac_c_werror_flag" ||
20753          test ! -s conftest.err
20754        } && test -s conftest.$ac_objext; then
20755   ac_cv_member_struct_stat_st_blocks=yes
20756 else
20757   echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20759
20760         ac_cv_member_struct_stat_st_blocks=no
20761 fi
20762
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 fi
20765
20766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20767 fi
20768 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20769 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20770 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20771
20772 cat >>confdefs.h <<_ACEOF
20773 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20774 _ACEOF
20775
20776
20777 fi
20778
20779
20780 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20781 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20782 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20783   echo $ECHO_N "(cached) $ECHO_C" >&6
20784 else
20785   cat >conftest.$ac_ext <<_ACEOF
20786 /* confdefs.h.  */
20787 _ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h.  */
20791 #ifdef HAVE_SYS_TYPES_H
20792 #include <sys/types.h>
20793 #endif
20794 #ifdef HAVE_NETINET_IN_H
20795 #include <netinet/in.h>
20796 #endif
20797
20798 int
20799 main ()
20800 {
20801 static struct sockaddr_in6 ac_aggr;
20802 if (ac_aggr.sin6_scope_id)
20803 return 0;
20804   ;
20805   return 0;
20806 }
20807 _ACEOF
20808 rm -f conftest.$ac_objext
20809 if { (ac_try="$ac_compile"
20810 case "(($ac_try" in
20811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20812   *) ac_try_echo=$ac_try;;
20813 esac
20814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20815   (eval "$ac_compile") 2>conftest.er1
20816   ac_status=$?
20817   grep -v '^ *+' conftest.er1 >conftest.err
20818   rm -f conftest.er1
20819   cat conftest.err >&5
20820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821   (exit $ac_status); } && {
20822          test -z "$ac_c_werror_flag" ||
20823          test ! -s conftest.err
20824        } && test -s conftest.$ac_objext; then
20825   ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20826 else
20827   echo "$as_me: failed program was:" >&5
20828 sed 's/^/| /' conftest.$ac_ext >&5
20829
20830         cat >conftest.$ac_ext <<_ACEOF
20831 /* confdefs.h.  */
20832 _ACEOF
20833 cat confdefs.h >>conftest.$ac_ext
20834 cat >>conftest.$ac_ext <<_ACEOF
20835 /* end confdefs.h.  */
20836 #ifdef HAVE_SYS_TYPES_H
20837 #include <sys/types.h>
20838 #endif
20839 #ifdef HAVE_NETINET_IN_H
20840 #include <netinet/in.h>
20841 #endif
20842
20843 int
20844 main ()
20845 {
20846 static struct sockaddr_in6 ac_aggr;
20847 if (sizeof ac_aggr.sin6_scope_id)
20848 return 0;
20849   ;
20850   return 0;
20851 }
20852 _ACEOF
20853 rm -f conftest.$ac_objext
20854 if { (ac_try="$ac_compile"
20855 case "(($ac_try" in
20856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20857   *) ac_try_echo=$ac_try;;
20858 esac
20859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20860   (eval "$ac_compile") 2>conftest.er1
20861   ac_status=$?
20862   grep -v '^ *+' conftest.er1 >conftest.err
20863   rm -f conftest.er1
20864   cat conftest.err >&5
20865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866   (exit $ac_status); } && {
20867          test -z "$ac_c_werror_flag" ||
20868          test ! -s conftest.err
20869        } && test -s conftest.$ac_objext; then
20870   ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20871 else
20872   echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20874
20875         ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20876 fi
20877
20878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20879 fi
20880
20881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20882 fi
20883 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20884 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20885 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20886
20887 cat >>confdefs.h <<_ACEOF
20888 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20889 _ACEOF
20890
20891
20892 fi
20893
20894
20895 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20896 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20897 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20898   echo $ECHO_N "(cached) $ECHO_C" >&6
20899 else
20900   cat >conftest.$ac_ext <<_ACEOF
20901 /* confdefs.h.  */
20902 _ACEOF
20903 cat confdefs.h >>conftest.$ac_ext
20904 cat >>conftest.$ac_ext <<_ACEOF
20905 /* end confdefs.h.  */
20906 #ifdef HAVE_SYS_TYPES_H
20907 #include <sys/types.h>
20908 #endif
20909 #ifdef HAVE_NETINET_IN_H
20910 # include <netinet/in.h>
20911 #endif
20912 #ifdef HAVE_ARPA_NAMESER_H
20913 # include <arpa/nameser.h>
20914 #endif
20915
20916 int
20917 main ()
20918 {
20919 static ns_msg ac_aggr;
20920 if (ac_aggr._msg_ptr)
20921 return 0;
20922   ;
20923   return 0;
20924 }
20925 _ACEOF
20926 rm -f conftest.$ac_objext
20927 if { (ac_try="$ac_compile"
20928 case "(($ac_try" in
20929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20930   *) ac_try_echo=$ac_try;;
20931 esac
20932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20933   (eval "$ac_compile") 2>conftest.er1
20934   ac_status=$?
20935   grep -v '^ *+' conftest.er1 >conftest.err
20936   rm -f conftest.er1
20937   cat conftest.err >&5
20938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939   (exit $ac_status); } && {
20940          test -z "$ac_c_werror_flag" ||
20941          test ! -s conftest.err
20942        } && test -s conftest.$ac_objext; then
20943   ac_cv_member_ns_msg__msg_ptr=yes
20944 else
20945   echo "$as_me: failed program was:" >&5
20946 sed 's/^/| /' conftest.$ac_ext >&5
20947
20948         cat >conftest.$ac_ext <<_ACEOF
20949 /* confdefs.h.  */
20950 _ACEOF
20951 cat confdefs.h >>conftest.$ac_ext
20952 cat >>conftest.$ac_ext <<_ACEOF
20953 /* end confdefs.h.  */
20954 #ifdef HAVE_SYS_TYPES_H
20955 #include <sys/types.h>
20956 #endif
20957 #ifdef HAVE_NETINET_IN_H
20958 # include <netinet/in.h>
20959 #endif
20960 #ifdef HAVE_ARPA_NAMESER_H
20961 # include <arpa/nameser.h>
20962 #endif
20963
20964 int
20965 main ()
20966 {
20967 static ns_msg ac_aggr;
20968 if (sizeof ac_aggr._msg_ptr)
20969 return 0;
20970   ;
20971   return 0;
20972 }
20973 _ACEOF
20974 rm -f conftest.$ac_objext
20975 if { (ac_try="$ac_compile"
20976 case "(($ac_try" in
20977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20978   *) ac_try_echo=$ac_try;;
20979 esac
20980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20981   (eval "$ac_compile") 2>conftest.er1
20982   ac_status=$?
20983   grep -v '^ *+' conftest.er1 >conftest.err
20984   rm -f conftest.er1
20985   cat conftest.err >&5
20986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987   (exit $ac_status); } && {
20988          test -z "$ac_c_werror_flag" ||
20989          test ! -s conftest.err
20990        } && test -s conftest.$ac_objext; then
20991   ac_cv_member_ns_msg__msg_ptr=yes
20992 else
20993   echo "$as_me: failed program was:" >&5
20994 sed 's/^/| /' conftest.$ac_ext >&5
20995
20996         ac_cv_member_ns_msg__msg_ptr=no
20997 fi
20998
20999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21000 fi
21001
21002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21003 fi
21004 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21005 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21006 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21007
21008 cat >>confdefs.h <<_ACEOF
21009 #define HAVE_NS_MSG__MSG_PTR 1
21010 _ACEOF
21011
21012
21013 fi
21014
21015
21016 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21017 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21018 if test "${ac_cv_have_timezone+set}" = set; then
21019   echo $ECHO_N "(cached) $ECHO_C" >&6
21020 else
21021   cat >conftest.$ac_ext <<_ACEOF
21022 /* confdefs.h.  */
21023 _ACEOF
21024 cat confdefs.h >>conftest.$ac_ext
21025 cat >>conftest.$ac_ext <<_ACEOF
21026 /* end confdefs.h.  */
21027 #include <time.h>
21028 int
21029 main ()
21030 {
21031 timezone = 1
21032   ;
21033   return 0;
21034 }
21035 _ACEOF
21036 rm -f conftest.$ac_objext conftest$ac_exeext
21037 if { (ac_try="$ac_link"
21038 case "(($ac_try" in
21039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21040   *) ac_try_echo=$ac_try;;
21041 esac
21042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21043   (eval "$ac_link") 2>conftest.er1
21044   ac_status=$?
21045   grep -v '^ *+' conftest.er1 >conftest.err
21046   rm -f conftest.er1
21047   cat conftest.err >&5
21048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049   (exit $ac_status); } && {
21050          test -z "$ac_c_werror_flag" ||
21051          test ! -s conftest.err
21052        } && test -s conftest$ac_exeext &&
21053        $as_test_x conftest$ac_exeext; then
21054   ac_cv_have_timezone="yes"
21055 else
21056   echo "$as_me: failed program was:" >&5
21057 sed 's/^/| /' conftest.$ac_ext >&5
21058
21059         ac_cv_have_timezone="no"
21060 fi
21061
21062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21063       conftest$ac_exeext conftest.$ac_ext
21064 fi
21065 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21066 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21067 if test "$ac_cv_have_timezone" = "yes"
21068 then
21069
21070 cat >>confdefs.h <<\_ACEOF
21071 #define HAVE_TIMEZONE 1
21072 _ACEOF
21073
21074 fi
21075 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21076 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21077 if test "${ac_cv_have_daylight+set}" = set; then
21078   echo $ECHO_N "(cached) $ECHO_C" >&6
21079 else
21080   cat >conftest.$ac_ext <<_ACEOF
21081 /* confdefs.h.  */
21082 _ACEOF
21083 cat confdefs.h >>conftest.$ac_ext
21084 cat >>conftest.$ac_ext <<_ACEOF
21085 /* end confdefs.h.  */
21086 #include <time.h>
21087 int
21088 main ()
21089 {
21090 daylight = 1
21091   ;
21092   return 0;
21093 }
21094 _ACEOF
21095 rm -f conftest.$ac_objext conftest$ac_exeext
21096 if { (ac_try="$ac_link"
21097 case "(($ac_try" in
21098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21099   *) ac_try_echo=$ac_try;;
21100 esac
21101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21102   (eval "$ac_link") 2>conftest.er1
21103   ac_status=$?
21104   grep -v '^ *+' conftest.er1 >conftest.err
21105   rm -f conftest.er1
21106   cat conftest.err >&5
21107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108   (exit $ac_status); } && {
21109          test -z "$ac_c_werror_flag" ||
21110          test ! -s conftest.err
21111        } && test -s conftest$ac_exeext &&
21112        $as_test_x conftest$ac_exeext; then
21113   ac_cv_have_daylight="yes"
21114 else
21115   echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21117
21118         ac_cv_have_daylight="no"
21119 fi
21120
21121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21122       conftest$ac_exeext conftest.$ac_ext
21123 fi
21124 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21125 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21126 if test "$ac_cv_have_daylight" = "yes"
21127 then
21128
21129 cat >>confdefs.h <<\_ACEOF
21130 #define HAVE_DAYLIGHT 1
21131 _ACEOF
21132
21133 fi
21134
21135
21136 case $host_cpu in
21137   *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21138 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21139 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21140   echo $ECHO_N "(cached) $ECHO_C" >&6
21141 else
21142   cat >conftest.$ac_ext <<_ACEOF
21143 /* confdefs.h.  */
21144 _ACEOF
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h.  */
21148 #ifndef __i386__
21149 yes
21150 #endif
21151 _ACEOF
21152 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21153   $EGREP "yes" >/dev/null 2>&1; then
21154   ac_cv_cpp_def___i386__=yes
21155 else
21156   ac_cv_cpp_def___i386__=no
21157 fi
21158 rm -f conftest*
21159
21160 fi
21161 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21162 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21163 if test $ac_cv_cpp_def___i386__ = yes; then
21164   CFLAGS="$CFLAGS -D__i386__"
21165   LINTFLAGS="$LINTFLAGS -D__i386__"
21166 fi
21167  ;;
21168   *x86_64*)         { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21169 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21170 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21171   echo $ECHO_N "(cached) $ECHO_C" >&6
21172 else
21173   cat >conftest.$ac_ext <<_ACEOF
21174 /* confdefs.h.  */
21175 _ACEOF
21176 cat confdefs.h >>conftest.$ac_ext
21177 cat >>conftest.$ac_ext <<_ACEOF
21178 /* end confdefs.h.  */
21179 #ifndef __x86_64__
21180 yes
21181 #endif
21182 _ACEOF
21183 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21184   $EGREP "yes" >/dev/null 2>&1; then
21185   ac_cv_cpp_def___x86_64__=yes
21186 else
21187   ac_cv_cpp_def___x86_64__=no
21188 fi
21189 rm -f conftest*
21190
21191 fi
21192 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21193 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21194 if test $ac_cv_cpp_def___x86_64__ = yes; then
21195   CFLAGS="$CFLAGS -D__x86_64__"
21196   LINTFLAGS="$LINTFLAGS -D__x86_64__"
21197 fi
21198  ;;
21199   *alpha*)          { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21200 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21201 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21202   echo $ECHO_N "(cached) $ECHO_C" >&6
21203 else
21204   cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h.  */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h.  */
21210 #ifndef __ALPHA__
21211 yes
21212 #endif
21213 _ACEOF
21214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21215   $EGREP "yes" >/dev/null 2>&1; then
21216   ac_cv_cpp_def___ALPHA__=yes
21217 else
21218   ac_cv_cpp_def___ALPHA__=no
21219 fi
21220 rm -f conftest*
21221
21222 fi
21223 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21224 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21225 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21226   CFLAGS="$CFLAGS -D__ALPHA__"
21227   LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21228 fi
21229  ;;
21230   *sparc*)          { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21231 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21232 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21233   echo $ECHO_N "(cached) $ECHO_C" >&6
21234 else
21235   cat >conftest.$ac_ext <<_ACEOF
21236 /* confdefs.h.  */
21237 _ACEOF
21238 cat confdefs.h >>conftest.$ac_ext
21239 cat >>conftest.$ac_ext <<_ACEOF
21240 /* end confdefs.h.  */
21241 #ifndef __sparc__
21242 yes
21243 #endif
21244 _ACEOF
21245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21246   $EGREP "yes" >/dev/null 2>&1; then
21247   ac_cv_cpp_def___sparc__=yes
21248 else
21249   ac_cv_cpp_def___sparc__=no
21250 fi
21251 rm -f conftest*
21252
21253 fi
21254 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21255 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21256 if test $ac_cv_cpp_def___sparc__ = yes; then
21257   CFLAGS="$CFLAGS -D__sparc__"
21258   LINTFLAGS="$LINTFLAGS -D__sparc__"
21259 fi
21260  ;;
21261   *powerpc*)        { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21262 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21263 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21264   echo $ECHO_N "(cached) $ECHO_C" >&6
21265 else
21266   cat >conftest.$ac_ext <<_ACEOF
21267 /* confdefs.h.  */
21268 _ACEOF
21269 cat confdefs.h >>conftest.$ac_ext
21270 cat >>conftest.$ac_ext <<_ACEOF
21271 /* end confdefs.h.  */
21272 #ifndef __powerpc__
21273 yes
21274 #endif
21275 _ACEOF
21276 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21277   $EGREP "yes" >/dev/null 2>&1; then
21278   ac_cv_cpp_def___powerpc__=yes
21279 else
21280   ac_cv_cpp_def___powerpc__=no
21281 fi
21282 rm -f conftest*
21283
21284 fi
21285 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21286 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21287 if test $ac_cv_cpp_def___powerpc__ = yes; then
21288   CFLAGS="$CFLAGS -D__powerpc__"
21289   LINTFLAGS="$LINTFLAGS -D__powerpc__"
21290 fi
21291  ;;
21292 esac
21293
21294 case $host_vendor in
21295   *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21296 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21297 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21298   echo $ECHO_N "(cached) $ECHO_C" >&6
21299 else
21300   cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h.  */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h.  */
21306 #ifndef __sun__
21307 yes
21308 #endif
21309 _ACEOF
21310 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21311   $EGREP "yes" >/dev/null 2>&1; then
21312   ac_cv_cpp_def___sun__=yes
21313 else
21314   ac_cv_cpp_def___sun__=no
21315 fi
21316 rm -f conftest*
21317
21318 fi
21319 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21320 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21321 if test $ac_cv_cpp_def___sun__ = yes; then
21322   CFLAGS="$CFLAGS -D__sun__"
21323   LINTFLAGS="$LINTFLAGS -D__sun__"
21324 fi
21325  ;;
21326 esac
21327
21328
21329 DEPENDENCIES="### Dependencies:
21330
21331 .INIT: Makefile
21332 .BEGIN: Makefile
21333 Makefile: dummy
21334         -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21335
21336 \$(OBJS): \$(IDL_GEN_HEADERS)
21337 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21338 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21339 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21340
21341
21342
21343
21344
21345 ac_config_commands="$ac_config_commands include/stamp-h"
21346
21347
21348 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21349
21350 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21351
21352 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21353
21354 ac_config_commands="$ac_config_commands dlls/user32/resources"
21355
21356 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21357
21358 ac_config_commands="$ac_config_commands include/wine"
21359
21360
21361 MAKE_RULES=Make.rules
21362
21363
21364 MAKE_DLL_RULES=dlls/Makedll.rules
21365
21366
21367 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21368
21369
21370 MAKE_TEST_RULES=dlls/Maketest.rules
21371
21372
21373 MAKE_PROG_RULES=programs/Makeprog.rules
21374
21375
21376 ac_config_files="$ac_config_files Make.rules"
21377
21378 ac_config_files="$ac_config_files dlls/Makedll.rules"
21379
21380 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21381
21382 ac_config_files="$ac_config_files dlls/Maketest.rules"
21383
21384 ac_config_files="$ac_config_files programs/Makeprog.rules"
21385
21386 ac_config_files="$ac_config_files Makefile"
21387
21388 ac_config_files="$ac_config_files dlls/Makefile"
21389
21390 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21391
21392 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21393
21394 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21395
21396 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21397
21398 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21399
21400 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21401
21402 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21403
21404 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21405
21406 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21407
21408 ac_config_files="$ac_config_files dlls/atl/Makefile"
21409
21410 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21411
21412 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21413
21414 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21415
21416 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21417
21418 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21419
21420 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21421
21422 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21423
21424 ac_config_files="$ac_config_files dlls/cards/Makefile"
21425
21426 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21427
21428 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21429
21430 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21431
21432 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21433
21434 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21435
21436 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21437
21438 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21439
21440 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21441
21442 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21443
21444 ac_config_files="$ac_config_files dlls/credui/Makefile"
21445
21446 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21447
21448 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21449
21450 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21451
21452 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21453
21454 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21455
21456 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21457
21458 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21459
21460 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21461
21462 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21463
21464 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21465
21466 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21467
21468 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21469
21470 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21471
21472 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21473
21474 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21475
21476 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21477
21478 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21479
21480 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21481
21482 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21483
21484 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21485
21486 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21487
21488 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21489
21490 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21491
21492 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21493
21494 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21495
21496 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21497
21498 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21499
21500 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21501
21502 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21503
21504 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21505
21506 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21507
21508 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21509
21510 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21511
21512 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21513
21514 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21515
21516 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21517
21518 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21519
21520 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21521
21522 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21523
21524 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21525
21526 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21527
21528 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21529
21530 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21531
21532 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21533
21534 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21535
21536 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21537
21538 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21539
21540 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21541
21542 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21543
21544 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21545
21546 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21547
21548 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21549
21550 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21551
21552 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21553
21554 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21555
21556 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21557
21558 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21559
21560 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21561
21562 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21563
21564 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21565
21566 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21567
21568 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21569
21570 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21571
21572 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21573
21574 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21575
21576 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21577
21578 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21579
21580 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21581
21582 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21583
21584 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21585
21586 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21587
21588 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21589
21590 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21591
21592 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21593
21594 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21595
21596 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21597
21598 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21599
21600 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21601
21602 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21603
21604 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21605
21606 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21607
21608 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21609
21610 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21611
21612 ac_config_files="$ac_config_files dlls/hal/Makefile"
21613
21614 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21615
21616 ac_config_files="$ac_config_files dlls/hid/Makefile"
21617
21618 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21619
21620 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21621
21622 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21623
21624 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21625
21626 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21627
21628 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21629
21630 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21631
21632 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21633
21634 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21635
21636 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21637
21638 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21639
21640 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21641
21642 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21643
21644 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21645
21646 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21647
21648 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21649
21650 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21651
21652 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21653
21654 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21655
21656 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21657
21658 ac_config_files="$ac_config_files dlls/itss/Makefile"
21659
21660 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21661
21662 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21663
21664 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21665
21666 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21667
21668 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21669
21670 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21671
21672 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21673
21674 ac_config_files="$ac_config_files dlls/localui/Makefile"
21675
21676 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21677
21678 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21679
21680 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21681
21682 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21683
21684 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21685
21686 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21687
21688 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21689
21690 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21691
21692 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21693
21694 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21695
21696 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21697
21698 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21699
21700 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21701
21702 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21703
21704 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21705
21706 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21707
21708 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21709
21710 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21711
21712 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21713
21714 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21715
21716 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21717
21718 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21719
21720 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21721
21722 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21723
21724 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21725
21726 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21727
21728 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21729
21730 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21731
21732 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21733
21734 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21735
21736 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21737
21738 ac_config_files="$ac_config_files dlls/msi/Makefile"
21739
21740 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21741
21742 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21743
21744 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21745
21746 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21747
21748 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21749
21750 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21751
21752 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21753
21754 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21755
21756 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21757
21758 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21759
21760 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21761
21762 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21763
21764 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21765
21766 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21767
21768 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21769
21770 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21771
21772 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21773
21774 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21775
21776 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21777
21778 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21779
21780 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21781
21782 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21783
21784 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21785
21786 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21787
21788 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21789
21790 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21791
21792 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21793
21794 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21795
21796 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21797
21798 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21799
21800 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21801
21802 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21803
21804 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21805
21806 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21807
21808 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21809
21810 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21811
21812 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21813
21814 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21815
21816 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21817
21818 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21819
21820 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21821
21822 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21823
21824 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21825
21826 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21827
21828 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21829
21830 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21831
21832 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21833
21834 ac_config_files="$ac_config_files dlls/pdh/Makefile"
21835
21836 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
21837
21838 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
21839
21840 ac_config_files="$ac_config_files dlls/printui/Makefile"
21841
21842 ac_config_files="$ac_config_files dlls/propsys/Makefile"
21843
21844 ac_config_files="$ac_config_files dlls/psapi/Makefile"
21845
21846 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
21847
21848 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
21849
21850 ac_config_files="$ac_config_files dlls/qcap/Makefile"
21851
21852 ac_config_files="$ac_config_files dlls/qedit/Makefile"
21853
21854 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
21855
21856 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
21857
21858 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
21859
21860 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
21861
21862 ac_config_files="$ac_config_files dlls/quartz/Makefile"
21863
21864 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
21865
21866 ac_config_files="$ac_config_files dlls/query/Makefile"
21867
21868 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
21869
21870 ac_config_files="$ac_config_files dlls/resutils/Makefile"
21871
21872 ac_config_files="$ac_config_files dlls/riched20/Makefile"
21873
21874 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
21875
21876 ac_config_files="$ac_config_files dlls/riched32/Makefile"
21877
21878 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
21879
21880 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
21881
21882 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
21883
21884 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
21885
21886 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
21887
21888 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
21889
21890 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
21891
21892 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
21893
21894 ac_config_files="$ac_config_files dlls/schannel/Makefile"
21895
21896 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
21897
21898 ac_config_files="$ac_config_files dlls/secur32/Makefile"
21899
21900 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
21901
21902 ac_config_files="$ac_config_files dlls/security/Makefile"
21903
21904 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
21905
21906 ac_config_files="$ac_config_files dlls/serialui/Makefile"
21907
21908 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
21909
21910 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
21911
21912 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
21913
21914 ac_config_files="$ac_config_files dlls/sfc/Makefile"
21915
21916 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
21917
21918 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
21919
21920 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
21921
21922 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
21923
21924 ac_config_files="$ac_config_files dlls/shell32/Makefile"
21925
21926 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
21927
21928 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
21929
21930 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
21931
21932 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
21933
21934 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
21935
21936 ac_config_files="$ac_config_files dlls/slc/Makefile"
21937
21938 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
21939
21940 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
21941
21942 ac_config_files="$ac_config_files dlls/softpub/Makefile"
21943
21944 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
21945
21946 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
21947
21948 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
21949
21950 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
21951
21952 ac_config_files="$ac_config_files dlls/sti/Makefile"
21953
21954 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
21955
21956 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
21957
21958 ac_config_files="$ac_config_files dlls/sxs/Makefile"
21959
21960 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
21961
21962 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
21963
21964 ac_config_files="$ac_config_files dlls/unicows/Makefile"
21965
21966 ac_config_files="$ac_config_files dlls/url/Makefile"
21967
21968 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
21969
21970 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
21971
21972 ac_config_files="$ac_config_files dlls/user32/Makefile"
21973
21974 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
21975
21976 ac_config_files="$ac_config_files dlls/userenv/Makefile"
21977
21978 ac_config_files="$ac_config_files dlls/usp10/Makefile"
21979
21980 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
21981
21982 ac_config_files="$ac_config_files dlls/uuid/Makefile"
21983
21984 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
21985
21986 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
21987
21988 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
21989
21990 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
21991
21992 ac_config_files="$ac_config_files dlls/version/Makefile"
21993
21994 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
21995
21996 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
21997
21998 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
21999
22000 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22001
22002 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22003
22004 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22005
22006 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22007
22008 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22009
22010 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22011
22012 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22013
22014 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22015
22016 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22017
22018 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22019
22020 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22021
22022 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22023
22024 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22025
22026 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22027
22028 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22029
22030 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22031
22032 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22033
22034 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22035
22036 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22037
22038 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22039
22040 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22041
22042 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22043
22044 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22045
22046 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22047
22048 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22049
22050 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22051
22052 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22053
22054 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22055
22056 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22057
22058 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22059
22060 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22061
22062 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22063
22064 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22065
22066 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22067
22068 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22069
22070 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22071
22072 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22073
22074 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22075
22076 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22077
22078 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22079
22080 ac_config_files="$ac_config_files documentation/Makefile"
22081
22082 ac_config_files="$ac_config_files fonts/Makefile"
22083
22084 ac_config_files="$ac_config_files include/Makefile"
22085
22086 ac_config_files="$ac_config_files libs/Makefile"
22087
22088 ac_config_files="$ac_config_files libs/port/Makefile"
22089
22090 ac_config_files="$ac_config_files libs/wine/Makefile"
22091
22092 ac_config_files="$ac_config_files libs/wpp/Makefile"
22093
22094 ac_config_files="$ac_config_files loader/Makefile"
22095
22096 ac_config_files="$ac_config_files programs/Makefile"
22097
22098 ac_config_files="$ac_config_files programs/clock/Makefile"
22099
22100 ac_config_files="$ac_config_files programs/cmd/Makefile"
22101
22102 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22103
22104 ac_config_files="$ac_config_files programs/control/Makefile"
22105
22106 ac_config_files="$ac_config_files programs/eject/Makefile"
22107
22108 ac_config_files="$ac_config_files programs/expand/Makefile"
22109
22110 ac_config_files="$ac_config_files programs/explorer/Makefile"
22111
22112 ac_config_files="$ac_config_files programs/hh/Makefile"
22113
22114 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22115
22116 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22117
22118 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22119
22120 ac_config_files="$ac_config_files programs/net/Makefile"
22121
22122 ac_config_files="$ac_config_files programs/notepad/Makefile"
22123
22124 ac_config_files="$ac_config_files programs/oleview/Makefile"
22125
22126 ac_config_files="$ac_config_files programs/progman/Makefile"
22127
22128 ac_config_files="$ac_config_files programs/reg/Makefile"
22129
22130 ac_config_files="$ac_config_files programs/regedit/Makefile"
22131
22132 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22133
22134 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22135
22136 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22137
22138 ac_config_files="$ac_config_files programs/secedit/Makefile"
22139
22140 ac_config_files="$ac_config_files programs/services/Makefile"
22141
22142 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22143
22144 ac_config_files="$ac_config_files programs/start/Makefile"
22145
22146 ac_config_files="$ac_config_files programs/svchost/Makefile"
22147
22148 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22149
22150 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22151
22152 ac_config_files="$ac_config_files programs/view/Makefile"
22153
22154 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22155
22156 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22157
22158 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22159
22160 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22161
22162 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22163
22164 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22165
22166 ac_config_files="$ac_config_files programs/winefile/Makefile"
22167
22168 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22169
22170 ac_config_files="$ac_config_files programs/winemine/Makefile"
22171
22172 ac_config_files="$ac_config_files programs/winepath/Makefile"
22173
22174 ac_config_files="$ac_config_files programs/winetest/Makefile"
22175
22176 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22177
22178 ac_config_files="$ac_config_files programs/winhelp/Makefile"
22179
22180 ac_config_files="$ac_config_files programs/winver/Makefile"
22181
22182 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22183
22184 ac_config_files="$ac_config_files programs/write/Makefile"
22185
22186 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22187
22188 ac_config_files="$ac_config_files server/Makefile"
22189
22190 ac_config_files="$ac_config_files tools/Makefile"
22191
22192 ac_config_files="$ac_config_files tools/widl/Makefile"
22193
22194 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22195
22196 ac_config_files="$ac_config_files tools/winedump/Makefile"
22197
22198 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22199
22200 ac_config_files="$ac_config_files tools/wmc/Makefile"
22201
22202 ac_config_files="$ac_config_files tools/wrc/Makefile"
22203
22204
22205 cat >confcache <<\_ACEOF
22206 # This file is a shell script that caches the results of configure
22207 # tests run on this system so they can be shared between configure
22208 # scripts and configure runs, see configure's option --config-cache.
22209 # It is not useful on other systems.  If it contains results you don't
22210 # want to keep, you may remove or edit it.
22211 #
22212 # config.status only pays attention to the cache file if you give it
22213 # the --recheck option to rerun configure.
22214 #
22215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22217 # following values.
22218
22219 _ACEOF
22220
22221 # The following way of writing the cache mishandles newlines in values,
22222 # but we know of no workaround that is simple, portable, and efficient.
22223 # So, we kill variables containing newlines.
22224 # Ultrix sh set writes to stderr and can't be redirected directly,
22225 # and sets the high bit in the cache file unless we assign to the vars.
22226 (
22227   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22228     eval ac_val=\$$ac_var
22229     case $ac_val in #(
22230     *${as_nl}*)
22231       case $ac_var in #(
22232       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22233 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22234       esac
22235       case $ac_var in #(
22236       _ | IFS | as_nl) ;; #(
22237       *) $as_unset $ac_var ;;
22238       esac ;;
22239     esac
22240   done
22241
22242   (set) 2>&1 |
22243     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22244     *${as_nl}ac_space=\ *)
22245       # `set' does not quote correctly, so add quotes (double-quote
22246       # substitution turns \\\\ into \\, and sed turns \\ into \).
22247       sed -n \
22248         "s/'/'\\\\''/g;
22249           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22250       ;; #(
22251     *)
22252       # `set' quotes correctly as required by POSIX, so do not add quotes.
22253       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22254       ;;
22255     esac |
22256     sort
22257 ) |
22258   sed '
22259      /^ac_cv_env_/b end
22260      t clear
22261      :clear
22262      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22263      t end
22264      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22265      :end' >>confcache
22266 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22267   if test -w "$cache_file"; then
22268     test "x$cache_file" != "x/dev/null" &&
22269       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22270 echo "$as_me: updating cache $cache_file" >&6;}
22271     cat confcache >$cache_file
22272   else
22273     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22274 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22275   fi
22276 fi
22277 rm -f confcache
22278
22279 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22280 # Let make expand exec_prefix.
22281 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22282
22283 DEFS=-DHAVE_CONFIG_H
22284
22285 ac_libobjs=
22286 ac_ltlibobjs=
22287 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22288   # 1. Remove the extension, and $U if already installed.
22289   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22290   ac_i=`echo "$ac_i" | sed "$ac_script"`
22291   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22292   #    will be set to the directory where LIBOBJS objects are built.
22293   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22294   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22295 done
22296 LIBOBJS=$ac_libobjs
22297
22298 LTLIBOBJS=$ac_ltlibobjs
22299
22300
22301
22302 : ${CONFIG_STATUS=./config.status}
22303 ac_clean_files_save=$ac_clean_files
22304 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22305 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22306 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22307 cat >$CONFIG_STATUS <<_ACEOF
22308 #! $SHELL
22309 # Generated by $as_me.
22310 # Run this file to recreate the current configuration.
22311 # Compiler output produced by configure, useful for debugging
22312 # configure, is in config.log if it exists.
22313
22314 debug=false
22315 ac_cs_recheck=false
22316 ac_cs_silent=false
22317 SHELL=\${CONFIG_SHELL-$SHELL}
22318 _ACEOF
22319
22320 cat >>$CONFIG_STATUS <<\_ACEOF
22321 ## --------------------- ##
22322 ## M4sh Initialization.  ##
22323 ## --------------------- ##
22324
22325 # Be more Bourne compatible
22326 DUALCASE=1; export DUALCASE # for MKS sh
22327 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22328   emulate sh
22329   NULLCMD=:
22330   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22331   # is contrary to our usage.  Disable this feature.
22332   alias -g '${1+"$@"}'='"$@"'
22333   setopt NO_GLOB_SUBST
22334 else
22335   case `(set -o) 2>/dev/null` in
22336   *posix*) set -o posix ;;
22337 esac
22338
22339 fi
22340
22341
22342
22343
22344 # PATH needs CR
22345 # Avoid depending upon Character Ranges.
22346 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22347 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22348 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22349 as_cr_digits='0123456789'
22350 as_cr_alnum=$as_cr_Letters$as_cr_digits
22351
22352 # The user is always right.
22353 if test "${PATH_SEPARATOR+set}" != set; then
22354   echo "#! /bin/sh" >conf$$.sh
22355   echo  "exit 0"   >>conf$$.sh
22356   chmod +x conf$$.sh
22357   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22358     PATH_SEPARATOR=';'
22359   else
22360     PATH_SEPARATOR=:
22361   fi
22362   rm -f conf$$.sh
22363 fi
22364
22365 # Support unset when possible.
22366 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22367   as_unset=unset
22368 else
22369   as_unset=false
22370 fi
22371
22372
22373 # IFS
22374 # We need space, tab and new line, in precisely that order.  Quoting is
22375 # there to prevent editors from complaining about space-tab.
22376 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22377 # splitting by setting IFS to empty value.)
22378 as_nl='
22379 '
22380 IFS=" ""        $as_nl"
22381
22382 # Find who we are.  Look in the path if we contain no directory separator.
22383 case $0 in
22384   *[\\/]* ) as_myself=$0 ;;
22385   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22386 for as_dir in $PATH
22387 do
22388   IFS=$as_save_IFS
22389   test -z "$as_dir" && as_dir=.
22390   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22391 done
22392 IFS=$as_save_IFS
22393
22394      ;;
22395 esac
22396 # We did not find ourselves, most probably we were run as `sh COMMAND'
22397 # in which case we are not to be found in the path.
22398 if test "x$as_myself" = x; then
22399   as_myself=$0
22400 fi
22401 if test ! -f "$as_myself"; then
22402   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22403   { (exit 1); exit 1; }
22404 fi
22405
22406 # Work around bugs in pre-3.0 UWIN ksh.
22407 for as_var in ENV MAIL MAILPATH
22408 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22409 done
22410 PS1='$ '
22411 PS2='> '
22412 PS4='+ '
22413
22414 # NLS nuisances.
22415 for as_var in \
22416   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22417   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22418   LC_TELEPHONE LC_TIME
22419 do
22420   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22421     eval $as_var=C; export $as_var
22422   else
22423     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22424   fi
22425 done
22426
22427 # Required to use basename.
22428 if expr a : '\(a\)' >/dev/null 2>&1 &&
22429    test "X`expr 00001 : '.*\(...\)'`" = X001; then
22430   as_expr=expr
22431 else
22432   as_expr=false
22433 fi
22434
22435 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22436   as_basename=basename
22437 else
22438   as_basename=false
22439 fi
22440
22441
22442 # Name of the executable.
22443 as_me=`$as_basename -- "$0" ||
22444 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22445          X"$0" : 'X\(//\)$' \| \
22446          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22447 echo X/"$0" |
22448     sed '/^.*\/\([^/][^/]*\)\/*$/{
22449             s//\1/
22450             q
22451           }
22452           /^X\/\(\/\/\)$/{
22453             s//\1/
22454             q
22455           }
22456           /^X\/\(\/\).*/{
22457             s//\1/
22458             q
22459           }
22460           s/.*/./; q'`
22461
22462 # CDPATH.
22463 $as_unset CDPATH
22464
22465
22466
22467   as_lineno_1=$LINENO
22468   as_lineno_2=$LINENO
22469   test "x$as_lineno_1" != "x$as_lineno_2" &&
22470   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22471
22472   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22473   # uniformly replaced by the line number.  The first 'sed' inserts a
22474   # line-number line after each line using $LINENO; the second 'sed'
22475   # does the real work.  The second script uses 'N' to pair each
22476   # line-number line with the line containing $LINENO, and appends
22477   # trailing '-' during substitution so that $LINENO is not a special
22478   # case at line end.
22479   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22480   # scripts with optimization help from Paolo Bonzini.  Blame Lee
22481   # E. McMahon (1931-1989) for sed's syntax.  :-)
22482   sed -n '
22483     p
22484     /[$]LINENO/=
22485   ' <$as_myself |
22486     sed '
22487       s/[$]LINENO.*/&-/
22488       t lineno
22489       b
22490       :lineno
22491       N
22492       :loop
22493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22494       t loop
22495       s/-\n.*//
22496     ' >$as_me.lineno &&
22497   chmod +x "$as_me.lineno" ||
22498     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22499    { (exit 1); exit 1; }; }
22500
22501   # Don't try to exec as it changes $[0], causing all sort of problems
22502   # (the dirname of $[0] is not the place where we might find the
22503   # original and so on.  Autoconf is especially sensitive to this).
22504   . "./$as_me.lineno"
22505   # Exit status is that of the last command.
22506   exit
22507 }
22508
22509
22510 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22511   as_dirname=dirname
22512 else
22513   as_dirname=false
22514 fi
22515
22516 ECHO_C= ECHO_N= ECHO_T=
22517 case `echo -n x` in
22518 -n*)
22519   case `echo 'x\c'` in
22520   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
22521   *)   ECHO_C='\c';;
22522   esac;;
22523 *)
22524   ECHO_N='-n';;
22525 esac
22526
22527 if expr a : '\(a\)' >/dev/null 2>&1 &&
22528    test "X`expr 00001 : '.*\(...\)'`" = X001; then
22529   as_expr=expr
22530 else
22531   as_expr=false
22532 fi
22533
22534 rm -f conf$$ conf$$.exe conf$$.file
22535 if test -d conf$$.dir; then
22536   rm -f conf$$.dir/conf$$.file
22537 else
22538   rm -f conf$$.dir
22539   mkdir conf$$.dir
22540 fi
22541 echo >conf$$.file
22542 if ln -s conf$$.file conf$$ 2>/dev/null; then
22543   as_ln_s='ln -s'
22544   # ... but there are two gotchas:
22545   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22546   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22547   # In both cases, we have to default to `cp -p'.
22548   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22549     as_ln_s='cp -p'
22550 elif ln conf$$.file conf$$ 2>/dev/null; then
22551   as_ln_s=ln
22552 else
22553   as_ln_s='cp -p'
22554 fi
22555 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22556 rmdir conf$$.dir 2>/dev/null
22557
22558 if mkdir -p . 2>/dev/null; then
22559   as_mkdir_p=:
22560 else
22561   test -d ./-p && rmdir ./-p
22562   as_mkdir_p=false
22563 fi
22564
22565 if test -x / >/dev/null 2>&1; then
22566   as_test_x='test -x'
22567 else
22568   if ls -dL / >/dev/null 2>&1; then
22569     as_ls_L_option=L
22570   else
22571     as_ls_L_option=
22572   fi
22573   as_test_x='
22574     eval sh -c '\''
22575       if test -d "$1"; then
22576         test -d "$1/.";
22577       else
22578         case $1 in
22579         -*)set "./$1";;
22580         esac;
22581         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22582         ???[sx]*):;;*)false;;esac;fi
22583     '\'' sh
22584   '
22585 fi
22586 as_executable_p=$as_test_x
22587
22588 # Sed expression to map a string onto a valid CPP name.
22589 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22590
22591 # Sed expression to map a string onto a valid variable name.
22592 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22593
22594
22595 exec 6>&1
22596
22597 # Save the log message, to keep $[0] and so on meaningful, and to
22598 # report actual input values of CONFIG_FILES etc. instead of their
22599 # values after options handling.
22600 ac_log="
22601 This file was extended by Wine $as_me 0.9.59, which was
22602 generated by GNU Autoconf 2.61.  Invocation command line was
22603
22604   CONFIG_FILES    = $CONFIG_FILES
22605   CONFIG_HEADERS  = $CONFIG_HEADERS
22606   CONFIG_LINKS    = $CONFIG_LINKS
22607   CONFIG_COMMANDS = $CONFIG_COMMANDS
22608   $ $0 $@
22609
22610 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22611 "
22612
22613 _ACEOF
22614
22615 cat >>$CONFIG_STATUS <<_ACEOF
22616 # Files that config.status was made for.
22617 config_files="$ac_config_files"
22618 config_headers="$ac_config_headers"
22619 config_commands="$ac_config_commands"
22620
22621 _ACEOF
22622
22623 cat >>$CONFIG_STATUS <<\_ACEOF
22624 ac_cs_usage="\
22625 \`$as_me' instantiates files from templates according to the
22626 current configuration.
22627
22628 Usage: $0 [OPTIONS] [FILE]...
22629
22630   -h, --help       print this help, then exit
22631   -V, --version    print version number and configuration settings, then exit
22632   -q, --quiet      do not print progress messages
22633   -d, --debug      don't remove temporary files
22634       --recheck    update $as_me by reconfiguring in the same conditions
22635   --file=FILE[:TEMPLATE]
22636                    instantiate the configuration file FILE
22637   --header=FILE[:TEMPLATE]
22638                    instantiate the configuration header FILE
22639
22640 Configuration files:
22641 $config_files
22642
22643 Configuration headers:
22644 $config_headers
22645
22646 Configuration commands:
22647 $config_commands
22648
22649 Report bugs to <bug-autoconf@gnu.org>."
22650
22651 _ACEOF
22652 cat >>$CONFIG_STATUS <<_ACEOF
22653 ac_cs_version="\\
22654 Wine config.status 0.9.59
22655 configured by $0, generated by GNU Autoconf 2.61,
22656   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22657
22658 Copyright (C) 2006 Free Software Foundation, Inc.
22659 This config.status script is free software; the Free Software Foundation
22660 gives unlimited permission to copy, distribute and modify it."
22661
22662 ac_pwd='$ac_pwd'
22663 srcdir='$srcdir'
22664 INSTALL='$INSTALL'
22665 _ACEOF
22666
22667 cat >>$CONFIG_STATUS <<\_ACEOF
22668 # If no file are specified by the user, then we need to provide default
22669 # value.  By we need to know if files were specified by the user.
22670 ac_need_defaults=:
22671 while test $# != 0
22672 do
22673   case $1 in
22674   --*=*)
22675     ac_option=`expr "X$1" : 'X\([^=]*\)='`
22676     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22677     ac_shift=:
22678     ;;
22679   *)
22680     ac_option=$1
22681     ac_optarg=$2
22682     ac_shift=shift
22683     ;;
22684   esac
22685
22686   case $ac_option in
22687   # Handling of the options.
22688   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22689     ac_cs_recheck=: ;;
22690   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22691     echo "$ac_cs_version"; exit ;;
22692   --debug | --debu | --deb | --de | --d | -d )
22693     debug=: ;;
22694   --file | --fil | --fi | --f )
22695     $ac_shift
22696     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22697     ac_need_defaults=false;;
22698   --header | --heade | --head | --hea )
22699     $ac_shift
22700     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22701     ac_need_defaults=false;;
22702   --he | --h)
22703     # Conflict between --help and --header
22704     { echo "$as_me: error: ambiguous option: $1
22705 Try \`$0 --help' for more information." >&2
22706    { (exit 1); exit 1; }; };;
22707   --help | --hel | -h )
22708     echo "$ac_cs_usage"; exit ;;
22709   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22710   | -silent | --silent | --silen | --sile | --sil | --si | --s)
22711     ac_cs_silent=: ;;
22712
22713   # This is an error.
22714   -*) { echo "$as_me: error: unrecognized option: $1
22715 Try \`$0 --help' for more information." >&2
22716    { (exit 1); exit 1; }; } ;;
22717
22718   *) ac_config_targets="$ac_config_targets $1"
22719      ac_need_defaults=false ;;
22720
22721   esac
22722   shift
22723 done
22724
22725 ac_configure_extra_args=
22726
22727 if $ac_cs_silent; then
22728   exec 6>/dev/null
22729   ac_configure_extra_args="$ac_configure_extra_args --silent"
22730 fi
22731
22732 _ACEOF
22733 cat >>$CONFIG_STATUS <<_ACEOF
22734 if \$ac_cs_recheck; then
22735   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22736   CONFIG_SHELL=$SHELL
22737   export CONFIG_SHELL
22738   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22739 fi
22740
22741 _ACEOF
22742 cat >>$CONFIG_STATUS <<\_ACEOF
22743 exec 5>>config.log
22744 {
22745   echo
22746   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22747 ## Running $as_me. ##
22748 _ASBOX
22749   echo "$ac_log"
22750 } >&5
22751
22752 _ACEOF
22753 cat >>$CONFIG_STATUS <<_ACEOF
22754 _ACEOF
22755
22756 cat >>$CONFIG_STATUS <<\_ACEOF
22757
22758 # Handling of arguments.
22759 for ac_config_target in $ac_config_targets
22760 do
22761   case $ac_config_target in
22762     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22763     "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22764     "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22765     "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22766     "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22767     "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22768     "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22769     "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22770     "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22771     "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22772     "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22773     "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22774     "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22775     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22776     "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22777     "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22778     "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22779     "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22780     "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22781     "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22782     "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22783     "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22784     "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22785     "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22786     "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22787     "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22788     "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22789     "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22790     "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22791     "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22792     "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22793     "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22794     "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22795     "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22796     "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22797     "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22798     "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22799     "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22800     "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22801     "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22802     "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22803     "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22804     "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22805     "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22806     "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22807     "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22808     "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22809     "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22810     "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22811     "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22812     "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22813     "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22814     "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22815     "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22816     "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22817     "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22818     "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22819     "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22820     "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22821     "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22822     "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22823     "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22824     "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22825     "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22826     "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22827     "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22828     "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22829     "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22830     "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22831     "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22832     "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
22833     "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
22834     "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
22835     "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
22836     "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
22837     "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
22838     "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
22839     "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
22840     "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
22841     "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
22842     "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
22843     "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
22844     "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
22845     "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
22846     "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
22847     "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
22848     "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
22849     "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
22850     "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
22851     "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
22852     "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
22853     "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
22854     "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
22855     "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
22856     "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
22857     "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
22858     "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
22859     "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
22860     "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
22861     "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
22862     "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
22863     "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
22864     "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
22865     "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
22866     "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
22867     "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
22868     "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
22869     "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
22870     "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
22871     "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
22872     "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
22873     "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
22874     "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
22875     "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
22876     "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
22877     "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
22878     "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
22879     "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
22880     "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
22881     "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
22882     "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
22883     "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
22884     "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
22885     "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
22886     "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
22887     "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
22888     "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
22889     "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
22890     "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
22891     "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
22892     "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
22893     "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
22894     "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
22895     "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
22896     "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
22897     "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
22898     "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
22899     "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
22900     "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
22901     "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
22902     "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
22903     "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
22904     "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
22905     "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
22906     "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
22907     "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
22908     "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
22909     "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
22910     "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
22911     "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
22912     "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
22913     "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
22914     "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
22915     "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
22916     "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
22917     "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
22918     "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
22919     "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
22920     "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
22921     "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
22922     "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
22923     "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
22924     "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
22925     "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
22926     "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
22927     "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
22928     "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
22929     "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
22930     "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
22931     "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
22932     "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
22933     "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
22934     "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
22935     "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
22936     "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
22937     "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
22938     "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
22939     "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
22940     "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
22941     "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
22942     "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
22943     "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
22944     "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
22945     "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
22946     "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
22947     "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
22948     "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
22949     "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
22950     "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
22951     "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
22952     "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
22953     "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
22954     "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
22955     "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
22956     "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
22957     "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
22958     "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
22959     "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
22960     "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
22961     "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
22962     "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
22963     "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
22964     "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
22965     "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
22966     "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
22967     "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
22968     "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
22969     "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
22970     "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
22971     "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
22972     "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
22973     "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
22974     "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
22975     "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
22976     "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
22977     "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
22978     "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
22979     "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
22980     "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
22981     "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
22982     "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
22983     "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
22984     "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
22985     "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
22986     "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
22987     "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
22988     "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
22989     "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
22990     "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
22991     "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
22992     "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
22993     "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
22994     "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
22995     "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
22996     "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
22997     "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
22998     "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
22999     "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23000     "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23001     "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23002     "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23003     "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23004     "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23005     "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23006     "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23007     "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23008     "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23009     "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23010     "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23011     "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23012     "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23013     "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23014     "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23015     "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23016     "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23017     "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23018     "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23019     "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23020     "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23021     "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23022     "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23023     "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23024     "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23025     "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23026     "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23027     "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23028     "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23029     "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23030     "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23031     "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23032     "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23033     "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23034     "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23035     "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23036     "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23037     "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23038     "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23039     "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23040     "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23041     "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23042     "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23043     "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23044     "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23045     "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23046     "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23047     "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23048     "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23049     "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23050     "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23051     "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23052     "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23053     "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23054     "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23055     "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23056     "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23057     "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23058     "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23059     "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23060     "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23061     "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23062     "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23063     "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23064     "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23065     "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23066     "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23067     "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23068     "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23069     "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23070     "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23071     "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23072     "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23073     "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23074     "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23075     "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23076     "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23077     "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23078     "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23079     "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23080     "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23081     "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23082     "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23083     "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23084     "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23085     "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23086     "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23087     "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23088     "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23089     "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23090     "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23091     "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23092     "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23093     "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23094     "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23095     "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23096     "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23097     "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23098     "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23099     "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23100     "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23101     "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23102     "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23103     "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23104     "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23105     "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23106     "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23107     "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23108     "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23109     "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23110     "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23111     "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23112     "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23113     "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23114     "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23115     "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23116     "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23117     "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23118     "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23119     "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23120     "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23121     "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23122     "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23123     "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23124     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23125     "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23126     "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23127     "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23128     "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23129     "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23130     "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23131     "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23132     "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23133     "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23134     "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23135     "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23136     "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23137     "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23138     "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23139     "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23140     "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23141     "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23142     "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23143     "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23144     "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23145     "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23146     "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23147     "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23148     "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23149     "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23150     "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23151     "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23152     "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23153     "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23154     "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23155     "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23156     "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23157     "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23158     "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23159     "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23160     "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23161     "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23162     "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23163     "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23164     "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23165     "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23166     "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23167     "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23168     "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23169     "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23170     "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23171     "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
23172     "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23173     "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23174     "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23175     "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23176     "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23177     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23178     "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23179     "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23180     "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23181     "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23182     "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23183     "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23184
23185   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23186 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23187    { (exit 1); exit 1; }; };;
23188   esac
23189 done
23190
23191
23192 # If the user did not use the arguments to specify the items to instantiate,
23193 # then the envvar interface is used.  Set only those that are not.
23194 # We use the long form for the default assignment because of an extremely
23195 # bizarre bug on SunOS 4.1.3.
23196 if $ac_need_defaults; then
23197   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23198   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23199   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23200 fi
23201
23202 # Have a temporary directory for convenience.  Make it in the build tree
23203 # simply because there is no reason against having it here, and in addition,
23204 # creating and moving files from /tmp can sometimes cause problems.
23205 # Hook for its removal unless debugging.
23206 # Note that there is a small window in which the directory will not be cleaned:
23207 # after its creation but before its name has been assigned to `$tmp'.
23208 $debug ||
23209 {
23210   tmp=
23211   trap 'exit_status=$?
23212   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23213 ' 0
23214   trap '{ (exit 1); exit 1; }' 1 2 13 15
23215 }
23216 # Create a (secure) tmp directory for tmp files.
23217
23218 {
23219   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23220   test -n "$tmp" && test -d "$tmp"
23221 }  ||
23222 {
23223   tmp=./conf$$-$RANDOM
23224   (umask 077 && mkdir "$tmp")
23225 } ||
23226 {
23227    echo "$me: cannot create a temporary directory in ." >&2
23228    { (exit 1); exit 1; }
23229 }
23230
23231 #
23232 # Set up the sed scripts for CONFIG_FILES section.
23233 #
23234
23235 # No need to generate the scripts if there are no CONFIG_FILES.
23236 # This happens for instance when ./config.status config.h
23237 if test -n "$CONFIG_FILES"; then
23238
23239 _ACEOF
23240
23241 # Create sed commands to just substitute file output variables.
23242
23243 # Remaining file output variables are in a fragment that also has non-file
23244 # output varibles.
23245
23246
23247
23248 ac_delim='%!_!# '
23249 for ac_last_try in false false false false false :; do
23250   cat >conf$$subs.sed <<_ACEOF
23251 SHELL!$SHELL$ac_delim
23252 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23253 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23254 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23255 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23256 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23257 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23258 exec_prefix!$exec_prefix$ac_delim
23259 prefix!$prefix$ac_delim
23260 program_transform_name!$program_transform_name$ac_delim
23261 bindir!$bindir$ac_delim
23262 sbindir!$sbindir$ac_delim
23263 libexecdir!$libexecdir$ac_delim
23264 datarootdir!$datarootdir$ac_delim
23265 datadir!$datadir$ac_delim
23266 sysconfdir!$sysconfdir$ac_delim
23267 sharedstatedir!$sharedstatedir$ac_delim
23268 localstatedir!$localstatedir$ac_delim
23269 includedir!$includedir$ac_delim
23270 oldincludedir!$oldincludedir$ac_delim
23271 docdir!$docdir$ac_delim
23272 infodir!$infodir$ac_delim
23273 htmldir!$htmldir$ac_delim
23274 dvidir!$dvidir$ac_delim
23275 pdfdir!$pdfdir$ac_delim
23276 psdir!$psdir$ac_delim
23277 libdir!$libdir$ac_delim
23278 localedir!$localedir$ac_delim
23279 mandir!$mandir$ac_delim
23280 DEFS!$DEFS$ac_delim
23281 ECHO_C!$ECHO_C$ac_delim
23282 ECHO_N!$ECHO_N$ac_delim
23283 ECHO_T!$ECHO_T$ac_delim
23284 LIBS!$LIBS$ac_delim
23285 build_alias!$build_alias$ac_delim
23286 host_alias!$host_alias$ac_delim
23287 target_alias!$target_alias$ac_delim
23288 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23289 build!$build$ac_delim
23290 build_cpu!$build_cpu$ac_delim
23291 build_vendor!$build_vendor$ac_delim
23292 build_os!$build_os$ac_delim
23293 host!$host$ac_delim
23294 host_cpu!$host_cpu$ac_delim
23295 host_vendor!$host_vendor$ac_delim
23296 host_os!$host_os$ac_delim
23297 WIN16_FILES!$WIN16_FILES$ac_delim
23298 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23299 SET_MAKE!$SET_MAKE$ac_delim
23300 CC!$CC$ac_delim
23301 CFLAGS!$CFLAGS$ac_delim
23302 LDFLAGS!$LDFLAGS$ac_delim
23303 CPPFLAGS!$CPPFLAGS$ac_delim
23304 ac_ct_CC!$ac_ct_CC$ac_delim
23305 EXEEXT!$EXEEXT$ac_delim
23306 OBJEXT!$OBJEXT$ac_delim
23307 CXX!$CXX$ac_delim
23308 CXXFLAGS!$CXXFLAGS$ac_delim
23309 ac_ct_CXX!$ac_ct_CXX$ac_delim
23310 CPPBIN!$CPPBIN$ac_delim
23311 TOOLSDIR!$TOOLSDIR$ac_delim
23312 XMKMF!$XMKMF$ac_delim
23313 CPP!$CPP$ac_delim
23314 X_CFLAGS!$X_CFLAGS$ac_delim
23315 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23316 X_LIBS!$X_LIBS$ac_delim
23317 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23318 FLEX!$FLEX$ac_delim
23319 BISON!$BISON$ac_delim
23320 AS!$AS$ac_delim
23321 ac_ct_AS!$ac_ct_AS$ac_delim
23322 LD!$LD$ac_delim
23323 AR!$AR$ac_delim
23324 ARFLAGS!$ARFLAGS$ac_delim
23325 RANLIB!$RANLIB$ac_delim
23326 STRIP!$STRIP$ac_delim
23327 WINDRES!$WINDRES$ac_delim
23328 LN_S!$LN_S$ac_delim
23329 LN!$LN$ac_delim
23330 GREP!$GREP$ac_delim
23331 EGREP!$EGREP$ac_delim
23332 LDCONFIG!$LDCONFIG$ac_delim
23333 _ACEOF
23334
23335   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23336     break
23337   elif $ac_last_try; then
23338     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23339 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23340    { (exit 1); exit 1; }; }
23341   else
23342     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23343   fi
23344 done
23345
23346 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23347 if test -n "$ac_eof"; then
23348   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23349   ac_eof=`expr $ac_eof + 1`
23350 fi
23351
23352 cat >>$CONFIG_STATUS <<_ACEOF
23353 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23354 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23355 /^[      ]*@MAKE_RULES@[         ]*$/{
23356 r $MAKE_RULES
23357 d
23358 }
23359 /^[      ]*@MAKE_DLL_RULES@[     ]*$/{
23360 r $MAKE_DLL_RULES
23361 d
23362 }
23363 /^[      ]*@MAKE_IMPLIB_RULES@[  ]*$/{
23364 r $MAKE_IMPLIB_RULES
23365 d
23366 }
23367 /^[      ]*@MAKE_TEST_RULES@[    ]*$/{
23368 r $MAKE_TEST_RULES
23369 d
23370 }
23371 /^[      ]*@MAKE_PROG_RULES@[    ]*$/{
23372 r $MAKE_PROG_RULES
23373 d
23374 }
23375 _ACEOF
23376 sed '
23377 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23378 s/^/s,@/; s/!/@,|#_!!_#|/
23379 :n
23380 t n
23381 s/'"$ac_delim"'$/,g/; t
23382 s/$/\\/; p
23383 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23384 ' >>$CONFIG_STATUS <conf$$subs.sed
23385 rm -f conf$$subs.sed
23386 cat >>$CONFIG_STATUS <<_ACEOF
23387 CEOF$ac_eof
23388 _ACEOF
23389
23390
23391 ac_delim='%!_!# '
23392 for ac_last_try in false false false false false :; do
23393   cat >conf$$subs.sed <<_ACEOF
23394 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23395 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23396 INSTALL_DATA!$INSTALL_DATA$ac_delim
23397 LINT!$LINT$ac_delim
23398 LINTFLAGS!$LINTFLAGS$ac_delim
23399 FONTFORGE!$FONTFORGE$ac_delim
23400 PKG_CONFIG!$PKG_CONFIG$ac_delim
23401 RSVG!$RSVG$ac_delim
23402 ICOTOOL!$ICOTOOL$ac_delim
23403 PRELINK!$PRELINK$ac_delim
23404 LIBPTHREAD!$LIBPTHREAD$ac_delim
23405 XLIB!$XLIB$ac_delim
23406 XFILES!$XFILES$ac_delim
23407 OPENGLFILES!$OPENGLFILES$ac_delim
23408 GLU32FILES!$GLU32FILES$ac_delim
23409 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23410 QUARTZFILES!$QUARTZFILES$ac_delim
23411 DLLEXT!$DLLEXT$ac_delim
23412 DLLFLAGS!$DLLFLAGS$ac_delim
23413 LDSHARED!$LDSHARED$ac_delim
23414 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23415 LIBEXT!$LIBEXT$ac_delim
23416 IMPLIBEXT!$IMPLIBEXT$ac_delim
23417 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23418 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23419 LDD!$LDD$ac_delim
23420 DLLTOOL!$DLLTOOL$ac_delim
23421 DLLWRAP!$DLLWRAP$ac_delim
23422 MINGWAR!$MINGWAR$ac_delim
23423 SECURITYLIB!$SECURITYLIB$ac_delim
23424 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23425 IOKITLIB!$IOKITLIB$ac_delim
23426 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23427 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23428 COREAUDIO!$COREAUDIO$ac_delim
23429 CARBONLIB!$CARBONLIB$ac_delim
23430 CROSSTEST!$CROSSTEST$ac_delim
23431 CROSSCC!$CROSSCC$ac_delim
23432 CROSSWINDRES!$CROSSWINDRES$ac_delim
23433 NASLIBS!$NASLIBS$ac_delim
23434 XML2LIBS!$XML2LIBS$ac_delim
23435 XML2INCL!$XML2INCL$ac_delim
23436 XSLTLIBS!$XSLTLIBS$ac_delim
23437 XSLTINCL!$XSLTINCL$ac_delim
23438 HALINCL!$HALINCL$ac_delim
23439 sane_devel!$sane_devel$ac_delim
23440 SANEINCL!$SANEINCL$ac_delim
23441 gphoto2_devel!$gphoto2_devel$ac_delim
23442 gphoto2port_devel!$gphoto2port_devel$ac_delim
23443 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23444 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23445 RESOLVLIBS!$RESOLVLIBS$ac_delim
23446 LCMSLIBS!$LCMSLIBS$ac_delim
23447 LDAPLIBS!$LDAPLIBS$ac_delim
23448 ft_devel!$ft_devel$ac_delim
23449 FREETYPELIBS!$FREETYPELIBS$ac_delim
23450 FREETYPEINCL!$FREETYPEINCL$ac_delim
23451 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23452 ESDCONFIG!$ESDCONFIG$ac_delim
23453 ESDLIBS!$ESDLIBS$ac_delim
23454 ESDINCL!$ESDINCL$ac_delim
23455 ALSALIBS!$ALSALIBS$ac_delim
23456 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23457 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23458 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23459 BUILTINFLAG!$BUILTINFLAG$ac_delim
23460 LDPATH!$LDPATH$ac_delim
23461 CRTLIBS!$CRTLIBS$ac_delim
23462 SOCKETLIBS!$SOCKETLIBS$ac_delim
23463 MAIN_BINARY!$MAIN_BINARY$ac_delim
23464 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23465 LIBDL!$LIBDL$ac_delim
23466 LIBPOLL!$LIBPOLL$ac_delim
23467 DEPENDENCIES!$DEPENDENCIES$ac_delim
23468 LIBOBJS!$LIBOBJS$ac_delim
23469 LTLIBOBJS!$LTLIBOBJS$ac_delim
23470 _ACEOF
23471
23472   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23473     break
23474   elif $ac_last_try; then
23475     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23476 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23477    { (exit 1); exit 1; }; }
23478   else
23479     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23480   fi
23481 done
23482
23483 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23484 if test -n "$ac_eof"; then
23485   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23486   ac_eof=`expr $ac_eof + 1`
23487 fi
23488
23489 cat >>$CONFIG_STATUS <<_ACEOF
23490 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23491 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23492 _ACEOF
23493 sed '
23494 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23495 s/^/s,@/; s/!/@,|#_!!_#|/
23496 :n
23497 t n
23498 s/'"$ac_delim"'$/,g/; t
23499 s/$/\\/; p
23500 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23501 ' >>$CONFIG_STATUS <conf$$subs.sed
23502 rm -f conf$$subs.sed
23503 cat >>$CONFIG_STATUS <<_ACEOF
23504 :end
23505 s/|#_!!_#|//g
23506 CEOF$ac_eof
23507 _ACEOF
23508
23509
23510 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23511 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23512 # trailing colons and then remove the whole line if VPATH becomes empty
23513 # (actually we leave an empty line to preserve line numbers).
23514 if test "x$srcdir" = x.; then
23515   ac_vpsub='/^[  ]*VPATH[        ]*=/{
23516 s/:*\$(srcdir):*/:/
23517 s/:*\${srcdir}:*/:/
23518 s/:*@srcdir@:*/:/
23519 s/^\([^=]*=[     ]*\):*/\1/
23520 s/:*$//
23521 s/^[^=]*=[       ]*$//
23522 }'
23523 fi
23524
23525 cat >>$CONFIG_STATUS <<\_ACEOF
23526 fi # test -n "$CONFIG_FILES"
23527
23528
23529 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
23530 do
23531   case $ac_tag in
23532   :[FHLC]) ac_mode=$ac_tag; continue;;
23533   esac
23534   case $ac_mode$ac_tag in
23535   :[FHL]*:*);;
23536   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23537 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23538    { (exit 1); exit 1; }; };;
23539   :[FH]-) ac_tag=-:-;;
23540   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23541   esac
23542   ac_save_IFS=$IFS
23543   IFS=:
23544   set x $ac_tag
23545   IFS=$ac_save_IFS
23546   shift
23547   ac_file=$1
23548   shift
23549
23550   case $ac_mode in
23551   :L) ac_source=$1;;
23552   :[FH])
23553     ac_file_inputs=
23554     for ac_f
23555     do
23556       case $ac_f in
23557       -) ac_f="$tmp/stdin";;
23558       *) # Look for the file first in the build tree, then in the source tree
23559          # (if the path is not absolute).  The absolute path cannot be DOS-style,
23560          # because $ac_f cannot contain `:'.
23561          test -f "$ac_f" ||
23562            case $ac_f in
23563            [\\/$]*) false;;
23564            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23565            esac ||
23566            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23567 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23568    { (exit 1); exit 1; }; };;
23569       esac
23570       ac_file_inputs="$ac_file_inputs $ac_f"
23571     done
23572
23573     # Let's still pretend it is `configure' which instantiates (i.e., don't
23574     # use $as_me), people would be surprised to read:
23575     #    /* config.h.  Generated by config.status.  */
23576     configure_input="Generated from "`IFS=:
23577           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23578     if test x"$ac_file" != x-; then
23579       configure_input="$ac_file.  $configure_input"
23580       { echo "$as_me:$LINENO: creating $ac_file" >&5
23581 echo "$as_me: creating $ac_file" >&6;}
23582     fi
23583
23584     case $ac_tag in
23585     *:-:* | *:-) cat >"$tmp/stdin";;
23586     esac
23587     ;;
23588   esac
23589
23590   ac_dir=`$as_dirname -- "$ac_file" ||
23591 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23592          X"$ac_file" : 'X\(//\)[^/]' \| \
23593          X"$ac_file" : 'X\(//\)$' \| \
23594          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23595 echo X"$ac_file" |
23596     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23597             s//\1/
23598             q
23599           }
23600           /^X\(\/\/\)[^/].*/{
23601             s//\1/
23602             q
23603           }
23604           /^X\(\/\/\)$/{
23605             s//\1/
23606             q
23607           }
23608           /^X\(\/\).*/{
23609             s//\1/
23610             q
23611           }
23612           s/.*/./; q'`
23613   { as_dir="$ac_dir"
23614   case $as_dir in #(
23615   -*) as_dir=./$as_dir;;
23616   esac
23617   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23618     as_dirs=
23619     while :; do
23620       case $as_dir in #(
23621       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23622       *) as_qdir=$as_dir;;
23623       esac
23624       as_dirs="'$as_qdir' $as_dirs"
23625       as_dir=`$as_dirname -- "$as_dir" ||
23626 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23627          X"$as_dir" : 'X\(//\)[^/]' \| \
23628          X"$as_dir" : 'X\(//\)$' \| \
23629          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23630 echo X"$as_dir" |
23631     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23632             s//\1/
23633             q
23634           }
23635           /^X\(\/\/\)[^/].*/{
23636             s//\1/
23637             q
23638           }
23639           /^X\(\/\/\)$/{
23640             s//\1/
23641             q
23642           }
23643           /^X\(\/\).*/{
23644             s//\1/
23645             q
23646           }
23647           s/.*/./; q'`
23648       test -d "$as_dir" && break
23649     done
23650     test -z "$as_dirs" || eval "mkdir $as_dirs"
23651   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23652 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23653    { (exit 1); exit 1; }; }; }
23654   ac_builddir=.
23655
23656 case "$ac_dir" in
23657 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23658 *)
23659   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23660   # A ".." for each directory in $ac_dir_suffix.
23661   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23662   case $ac_top_builddir_sub in
23663   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23664   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23665   esac ;;
23666 esac
23667 ac_abs_top_builddir=$ac_pwd
23668 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23669 # for backward compatibility:
23670 ac_top_builddir=$ac_top_build_prefix
23671
23672 case $srcdir in
23673   .)  # We are building in place.
23674     ac_srcdir=.
23675     ac_top_srcdir=$ac_top_builddir_sub
23676     ac_abs_top_srcdir=$ac_pwd ;;
23677   [\\/]* | ?:[\\/]* )  # Absolute name.
23678     ac_srcdir=$srcdir$ac_dir_suffix;
23679     ac_top_srcdir=$srcdir
23680     ac_abs_top_srcdir=$srcdir ;;
23681   *) # Relative name.
23682     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23683     ac_top_srcdir=$ac_top_build_prefix$srcdir
23684     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23685 esac
23686 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23687
23688
23689   case $ac_mode in
23690   :F)
23691   #
23692   # CONFIG_FILE
23693   #
23694
23695   case $INSTALL in
23696   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23697   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23698   esac
23699 _ACEOF
23700
23701 cat >>$CONFIG_STATUS <<\_ACEOF
23702 # If the template does not know about datarootdir, expand it.
23703 # FIXME: This hack should be removed a few years after 2.60.
23704 ac_datarootdir_hack=; ac_datarootdir_seen=
23705
23706 case `sed -n '/datarootdir/ {
23707   p
23708   q
23709 }
23710 /@datadir@/p
23711 /@docdir@/p
23712 /@infodir@/p
23713 /@localedir@/p
23714 /@mandir@/p
23715 ' $ac_file_inputs` in
23716 *datarootdir*) ac_datarootdir_seen=yes;;
23717 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23718   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23719 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23720 _ACEOF
23721 cat >>$CONFIG_STATUS <<_ACEOF
23722   ac_datarootdir_hack='
23723   s&@datadir@&$datadir&g
23724   s&@docdir@&$docdir&g
23725   s&@infodir@&$infodir&g
23726   s&@localedir@&$localedir&g
23727   s&@mandir@&$mandir&g
23728     s&\\\${datarootdir}&$datarootdir&g' ;;
23729 esac
23730 _ACEOF
23731
23732 # Neutralize VPATH when `$srcdir' = `.'.
23733 # Shell code in configure.ac might set extrasub.
23734 # FIXME: do we really want to maintain this feature?
23735 cat >>$CONFIG_STATUS <<_ACEOF
23736   sed "$ac_vpsub
23737 $extrasub
23738 _ACEOF
23739 cat >>$CONFIG_STATUS <<\_ACEOF
23740 :t
23741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23742 s&@configure_input@&$configure_input&;t t
23743 s&@top_builddir@&$ac_top_builddir_sub&;t t
23744 s&@srcdir@&$ac_srcdir&;t t
23745 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23746 s&@top_srcdir@&$ac_top_srcdir&;t t
23747 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23748 s&@builddir@&$ac_builddir&;t t
23749 s&@abs_builddir@&$ac_abs_builddir&;t t
23750 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23751 s&@INSTALL@&$ac_INSTALL&;t t
23752 $ac_datarootdir_hack
23753 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23754
23755 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23756   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23757   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23758   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23759 which seems to be undefined.  Please make sure it is defined." >&5
23760 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23761 which seems to be undefined.  Please make sure it is defined." >&2;}
23762
23763   rm -f "$tmp/stdin"
23764   case $ac_file in
23765   -) cat "$tmp/out"; rm -f "$tmp/out";;
23766   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23767   esac
23768  ;;
23769   :H)
23770   #
23771   # CONFIG_HEADER
23772   #
23773 _ACEOF
23774
23775 # Transform confdefs.h into a sed script `conftest.defines', that
23776 # substitutes the proper values into config.h.in to produce config.h.
23777 rm -f conftest.defines conftest.tail
23778 # First, append a space to every undef/define line, to ease matching.
23779 echo 's/$/ /' >conftest.defines
23780 # Then, protect against being on the right side of a sed subst, or in
23781 # an unquoted here document, in config.status.  If some macros were
23782 # called several times there might be several #defines for the same
23783 # symbol, which is useless.  But do not sort them, since the last
23784 # AC_DEFINE must be honored.
23785 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23786 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23787 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23788 # PARAMS is the parameter list in the macro definition--in most cases, it's
23789 # just an empty string.
23790 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
23791 ac_dB='\\)[      (].*,\\1define\\2'
23792 ac_dC=' '
23793 ac_dD=' ,'
23794
23795 uniq confdefs.h |
23796   sed -n '
23797         t rset
23798         :rset
23799         s/^[     ]*#[    ]*define[       ][      ]*//
23800         t ok
23801         d
23802         :ok
23803         s/[\\&,]/\\&/g
23804         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23805         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23806   ' >>conftest.defines
23807
23808 # Remove the space that was appended to ease matching.
23809 # Then replace #undef with comments.  This is necessary, for
23810 # example, in the case of _POSIX_SOURCE, which is predefined and required
23811 # on some systems where configure will not decide to define it.
23812 # (The regexp can be short, since the line contains either #define or #undef.)
23813 echo 's/ $//
23814 s,^[     #]*u.*,/* & */,' >>conftest.defines
23815
23816 # Break up conftest.defines:
23817 ac_max_sed_lines=50
23818
23819 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23820 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23821 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23822 # et cetera.
23823 ac_in='$ac_file_inputs'
23824 ac_out='"$tmp/out1"'
23825 ac_nxt='"$tmp/out2"'
23826
23827 while :
23828 do
23829   # Write a here document:
23830     cat >>$CONFIG_STATUS <<_ACEOF
23831     # First, check the format of the line:
23832     cat >"\$tmp/defines.sed" <<\\CEOF
23833 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
23834 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
23835 b
23836 :def
23837 _ACEOF
23838   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
23839   echo 'CEOF
23840     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23841   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23842   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23843   grep . conftest.tail >/dev/null || break
23844   rm -f conftest.defines
23845   mv conftest.tail conftest.defines
23846 done
23847 rm -f conftest.defines conftest.tail
23848
23849 echo "ac_result=$ac_in" >>$CONFIG_STATUS
23850 cat >>$CONFIG_STATUS <<\_ACEOF
23851   if test x"$ac_file" != x-; then
23852     echo "/* $configure_input  */" >"$tmp/config.h"
23853     cat "$ac_result" >>"$tmp/config.h"
23854     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
23855       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
23856 echo "$as_me: $ac_file is unchanged" >&6;}
23857     else
23858       rm -f $ac_file
23859       mv "$tmp/config.h" $ac_file
23860     fi
23861   else
23862     echo "/* $configure_input  */"
23863     cat "$ac_result"
23864   fi
23865   rm -f "$tmp/out12"
23866  ;;
23867
23868   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23869 echo "$as_me: executing $ac_file commands" >&6;}
23870  ;;
23871   esac
23872
23873
23874   case $ac_file$ac_mode in
23875     "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23876     "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
23877 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
23878     "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
23879 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
23880     "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
23881 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
23882     "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
23883 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
23884     "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
23885 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
23886     "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
23887 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
23888
23889   esac
23890 done # for ac_tag
23891
23892
23893 { (exit 0); exit 0; }
23894 _ACEOF
23895 chmod +x $CONFIG_STATUS
23896 ac_clean_files=$ac_clean_files_save
23897
23898
23899 # configure is writing to config.log, and then calls config.status.
23900 # config.status does its own redirection, appending to config.log.
23901 # Unfortunately, on DOS this fails, as config.log is still kept open
23902 # by configure, so config.status won't be able to write to it; its
23903 # output is simply discarded.  So we exec the FD to /dev/null,
23904 # effectively closing config.log, so it can be properly (re)opened and
23905 # appended to by config.status.  When coming back to configure, we
23906 # need to make the FD available again.
23907 if test "$no_create" != yes; then
23908   ac_cs_success=:
23909   ac_config_status_args=
23910   test "$silent" = yes &&
23911     ac_config_status_args="$ac_config_status_args --quiet"
23912   exec 5>/dev/null
23913   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23914   exec 5>>config.log
23915   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23916   # would make configure fail if this is the last instruction.
23917   $ac_cs_success || { (exit 1); exit 1; }
23918 fi
23919
23920
23921 if test "$no_create" = "yes"
23922 then
23923   exit 0
23924 fi
23925
23926 ac_save_IFS="$IFS"
23927 IFS="|"
23928 if test "x$wine_notices != "x; then
23929     echo >&6
23930     for msg in $wine_notices; do
23931         if test -n "$msg"; then
23932             { echo "$as_me:$LINENO: $msg" >&5
23933 echo "$as_me: $msg" >&6;}
23934         fi
23935     done
23936 fi
23937 for msg in $wine_warnings; do
23938     if test -n "$msg"; then
23939         echo >&2
23940         { echo "$as_me:$LINENO: WARNING: $msg" >&5
23941 echo "$as_me: WARNING: $msg" >&2;}
23942     fi
23943 done
23944 IFS="$ac_save_IFS"
23945
23946 echo "
23947 $as_me: Finished.  Do '${ac_make} depend && ${ac_make}' to compile Wine.
23948 " >&6
23949