iphlpapi: Implement getICMPStats on FreeBSD.
[wine] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 1.0.
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='1.0'
578 PACKAGE_STRING='Wine 1.0'
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 1.0 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 1.0:";;
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-freetype      do not use the FreeType library
1391   --without-gphoto        do not use gphoto (Digital Camera support)
1392   --without-glu           do not use the GLU library
1393   --without-hal           do not use HAL (dynamic device support)
1394   --without-jack          do not use the Jack sound support
1395   --without-jpeg          do not use JPEG
1396   --without-ldap          do not use LDAP
1397   --without-nas           do not use the NAS sound support
1398   --without-opengl        do not use OpenGL
1399   --without-openssl       do not use OpenSSL
1400   --without-oss           do not use the OSS sound support
1401   --without-png           do not use PNG
1402   --without-sane          do not use SANE (scanner support)
1403   --without-xcomposite    do not use the Xcomposite extension
1404   --without-xcursor       do not use the Xcursor extension
1405   --without-xinerama      do not use Xinerama (multi-monitor support)
1406   --without-xinput        do not use the Xinput extension
1407   --without-xml           do not use XML
1408   --without-xrandr        do not use Xrandr (resolution changes)
1409   --without-xrender       do not use the Xrender extension
1410   --without-xshape        do not use the Xshape extension
1411   --without-xshm          do not use XShm (shared memory extension)
1412   --without-xslt          do not use XSLT
1413   --without-xvidmode      do not use XFree video mode extension
1414   --with-wine-tools=DIR   use Wine tools from directory DIR
1415   --with-x                use the X Window System
1416
1417 Some influential environment variables:
1418   CC          C compiler command
1419   CFLAGS      C compiler flags
1420   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1421               nonstandard directory <lib dir>
1422   LIBS        libraries to pass to the linker, e.g. -l<library>
1423   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1424               you have headers in a nonstandard directory <include dir>
1425   CXX         C++ compiler command
1426   CXXFLAGS    C++ compiler flags
1427   XMKMF       Path to xmkmf, Makefile generator for X Window System
1428   CPP         C preprocessor
1429
1430 Use these variables to override the choices made by `configure' or to help
1431 it to find libraries and programs with nonstandard names/locations.
1432
1433 Report bugs to <wine-devel@winehq.org>.
1434 _ACEOF
1435 ac_status=$?
1436 fi
1437
1438 if test "$ac_init_help" = "recursive"; then
1439   # If there are subdirs, report their specific --help.
1440   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1441     test -d "$ac_dir" || continue
1442     ac_builddir=.
1443
1444 case "$ac_dir" in
1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1446 *)
1447   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1448   # A ".." for each directory in $ac_dir_suffix.
1449   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1450   case $ac_top_builddir_sub in
1451   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1452   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453   esac ;;
1454 esac
1455 ac_abs_top_builddir=$ac_pwd
1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1457 # for backward compatibility:
1458 ac_top_builddir=$ac_top_build_prefix
1459
1460 case $srcdir in
1461   .)  # We are building in place.
1462     ac_srcdir=.
1463     ac_top_srcdir=$ac_top_builddir_sub
1464     ac_abs_top_srcdir=$ac_pwd ;;
1465   [\\/]* | ?:[\\/]* )  # Absolute name.
1466     ac_srcdir=$srcdir$ac_dir_suffix;
1467     ac_top_srcdir=$srcdir
1468     ac_abs_top_srcdir=$srcdir ;;
1469   *) # Relative name.
1470     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1471     ac_top_srcdir=$ac_top_build_prefix$srcdir
1472     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1473 esac
1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1475
1476     cd "$ac_dir" || { ac_status=$?; continue; }
1477     # Check for guested configure.
1478     if test -f "$ac_srcdir/configure.gnu"; then
1479       echo &&
1480       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1481     elif test -f "$ac_srcdir/configure"; then
1482       echo &&
1483       $SHELL "$ac_srcdir/configure" --help=recursive
1484     else
1485       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1486     fi || ac_status=$?
1487     cd "$ac_pwd" || { ac_status=$?; break; }
1488   done
1489 fi
1490
1491 test -n "$ac_init_help" && exit $ac_status
1492 if $ac_init_version; then
1493   cat <<\_ACEOF
1494 Wine configure 1.0
1495 generated by GNU Autoconf 2.61
1496
1497 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1498 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1499 This configure script is free software; the Free Software Foundation
1500 gives unlimited permission to copy, distribute and modify it.
1501 _ACEOF
1502   exit
1503 fi
1504 cat >config.log <<_ACEOF
1505 This file contains any messages produced by compilers while
1506 running configure, to aid debugging if configure makes a mistake.
1507
1508 It was created by Wine $as_me 1.0, which was
1509 generated by GNU Autoconf 2.61.  Invocation command line was
1510
1511   $ $0 $@
1512
1513 _ACEOF
1514 exec 5>>config.log
1515 {
1516 cat <<_ASUNAME
1517 ## --------- ##
1518 ## Platform. ##
1519 ## --------- ##
1520
1521 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1522 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1523 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1524 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1525 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1526
1527 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1528 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1529
1530 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1531 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1532 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1533 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1534 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1535 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1536 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1537
1538 _ASUNAME
1539
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 for as_dir in $PATH
1542 do
1543   IFS=$as_save_IFS
1544   test -z "$as_dir" && as_dir=.
1545   echo "PATH: $as_dir"
1546 done
1547 IFS=$as_save_IFS
1548
1549 } >&5
1550
1551 cat >&5 <<_ACEOF
1552
1553
1554 ## ----------- ##
1555 ## Core tests. ##
1556 ## ----------- ##
1557
1558 _ACEOF
1559
1560
1561 # Keep a trace of the command line.
1562 # Strip out --no-create and --no-recursion so they do not pile up.
1563 # Strip out --silent because we don't want to record it for future runs.
1564 # Also quote any args containing shell meta-characters.
1565 # Make two passes to allow for proper duplicate-argument suppression.
1566 ac_configure_args=
1567 ac_configure_args0=
1568 ac_configure_args1=
1569 ac_must_keep_next=false
1570 for ac_pass in 1 2
1571 do
1572   for ac_arg
1573   do
1574     case $ac_arg in
1575     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1576     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1577     | -silent | --silent | --silen | --sile | --sil)
1578       continue ;;
1579     *\'*)
1580       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1581     esac
1582     case $ac_pass in
1583     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1584     2)
1585       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1586       if test $ac_must_keep_next = true; then
1587         ac_must_keep_next=false # Got value, back to normal.
1588       else
1589         case $ac_arg in
1590           *=* | --config-cache | -C | -disable-* | --disable-* \
1591           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1592           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1593           | -with-* | --with-* | -without-* | --without-* | --x)
1594             case "$ac_configure_args0 " in
1595               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1596             esac
1597             ;;
1598           -* ) ac_must_keep_next=true ;;
1599         esac
1600       fi
1601       ac_configure_args="$ac_configure_args '$ac_arg'"
1602       ;;
1603     esac
1604   done
1605 done
1606 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1607 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1608
1609 # When interrupted or exit'd, cleanup temporary files, and complete
1610 # config.log.  We remove comments because anyway the quotes in there
1611 # would cause problems or look ugly.
1612 # WARNING: Use '\'' to represent an apostrophe within the trap.
1613 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1614 trap 'exit_status=$?
1615   # Save into config.log some information that might help in debugging.
1616   {
1617     echo
1618
1619     cat <<\_ASBOX
1620 ## ---------------- ##
1621 ## Cache variables. ##
1622 ## ---------------- ##
1623 _ASBOX
1624     echo
1625     # The following way of writing the cache mishandles newlines in values,
1626 (
1627   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1628     eval ac_val=\$$ac_var
1629     case $ac_val in #(
1630     *${as_nl}*)
1631       case $ac_var in #(
1632       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1633 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1634       esac
1635       case $ac_var in #(
1636       _ | IFS | as_nl) ;; #(
1637       *) $as_unset $ac_var ;;
1638       esac ;;
1639     esac
1640   done
1641   (set) 2>&1 |
1642     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1643     *${as_nl}ac_space=\ *)
1644       sed -n \
1645         "s/'\''/'\''\\\\'\'''\''/g;
1646           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1647       ;; #(
1648     *)
1649       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1650       ;;
1651     esac |
1652     sort
1653 )
1654     echo
1655
1656     cat <<\_ASBOX
1657 ## ----------------- ##
1658 ## Output variables. ##
1659 ## ----------------- ##
1660 _ASBOX
1661     echo
1662     for ac_var in $ac_subst_vars
1663     do
1664       eval ac_val=\$$ac_var
1665       case $ac_val in
1666       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1667       esac
1668       echo "$ac_var='\''$ac_val'\''"
1669     done | sort
1670     echo
1671
1672     if test -n "$ac_subst_files"; then
1673       cat <<\_ASBOX
1674 ## ------------------- ##
1675 ## File substitutions. ##
1676 ## ------------------- ##
1677 _ASBOX
1678       echo
1679       for ac_var in $ac_subst_files
1680       do
1681         eval ac_val=\$$ac_var
1682         case $ac_val in
1683         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1684         esac
1685         echo "$ac_var='\''$ac_val'\''"
1686       done | sort
1687       echo
1688     fi
1689
1690     if test -s confdefs.h; then
1691       cat <<\_ASBOX
1692 ## ----------- ##
1693 ## confdefs.h. ##
1694 ## ----------- ##
1695 _ASBOX
1696       echo
1697       cat confdefs.h
1698       echo
1699     fi
1700     test "$ac_signal" != 0 &&
1701       echo "$as_me: caught signal $ac_signal"
1702     echo "$as_me: exit $exit_status"
1703   } >&5
1704   rm -f core *.core core.conftest.* &&
1705     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1706     exit $exit_status
1707 ' 0
1708 for ac_signal in 1 2 13 15; do
1709   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1710 done
1711 ac_signal=0
1712
1713 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1714 rm -f -r conftest* confdefs.h
1715
1716 # Predefined preprocessor variables.
1717
1718 cat >>confdefs.h <<_ACEOF
1719 #define PACKAGE_NAME "$PACKAGE_NAME"
1720 _ACEOF
1721
1722
1723 cat >>confdefs.h <<_ACEOF
1724 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1725 _ACEOF
1726
1727
1728 cat >>confdefs.h <<_ACEOF
1729 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1730 _ACEOF
1731
1732
1733 cat >>confdefs.h <<_ACEOF
1734 #define PACKAGE_STRING "$PACKAGE_STRING"
1735 _ACEOF
1736
1737
1738 cat >>confdefs.h <<_ACEOF
1739 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1740 _ACEOF
1741
1742
1743 # Let the site file select an alternate cache file if it wants to.
1744 # Prefer explicitly selected file to automatically selected ones.
1745 if test -n "$CONFIG_SITE"; then
1746   set x "$CONFIG_SITE"
1747 elif test "x$prefix" != xNONE; then
1748   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1749 else
1750   set x "$ac_default_prefix/share/config.site" \
1751         "$ac_default_prefix/etc/config.site"
1752 fi
1753 shift
1754 for ac_site_file
1755 do
1756   if test -r "$ac_site_file"; then
1757     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1758 echo "$as_me: loading site script $ac_site_file" >&6;}
1759     sed 's/^/| /' "$ac_site_file" >&5
1760     . "$ac_site_file"
1761   fi
1762 done
1763
1764 if test -r "$cache_file"; then
1765   # Some versions of bash will fail to source /dev/null (special
1766   # files actually), so we avoid doing that.
1767   if test -f "$cache_file"; then
1768     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1769 echo "$as_me: loading cache $cache_file" >&6;}
1770     case $cache_file in
1771       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1772       *)                      . "./$cache_file";;
1773     esac
1774   fi
1775 else
1776   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1777 echo "$as_me: creating cache $cache_file" >&6;}
1778   >$cache_file
1779 fi
1780
1781 # Check that the precious variables saved in the cache have kept the same
1782 # value.
1783 ac_cache_corrupted=false
1784 for ac_var in $ac_precious_vars; do
1785   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1786   eval ac_new_set=\$ac_env_${ac_var}_set
1787   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1788   eval ac_new_val=\$ac_env_${ac_var}_value
1789   case $ac_old_set,$ac_new_set in
1790     set,)
1791       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1792 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1793       ac_cache_corrupted=: ;;
1794     ,set)
1795       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1796 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1797       ac_cache_corrupted=: ;;
1798     ,);;
1799     *)
1800       if test "x$ac_old_val" != "x$ac_new_val"; then
1801         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1802 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1803         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1804 echo "$as_me:   former value:  $ac_old_val" >&2;}
1805         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1806 echo "$as_me:   current value: $ac_new_val" >&2;}
1807         ac_cache_corrupted=:
1808       fi;;
1809   esac
1810   # Pass precious variables to config.status.
1811   if test "$ac_new_set" = set; then
1812     case $ac_new_val in
1813     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1814     *) ac_arg=$ac_var=$ac_new_val ;;
1815     esac
1816     case " $ac_configure_args " in
1817       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1818       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1819     esac
1820   fi
1821 done
1822 if $ac_cache_corrupted; then
1823   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1824 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1825   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1826 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1827    { (exit 1); exit 1; }; }
1828 fi
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854 ac_ext=c
1855 ac_cpp='$CPP $CPPFLAGS'
1856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1859
1860
1861
1862 ac_config_headers="$ac_config_headers include/config.h"
1863
1864 ac_aux_dir=
1865 for ac_dir in tools "$srcdir"/tools; do
1866   if test -f "$ac_dir/install-sh"; then
1867     ac_aux_dir=$ac_dir
1868     ac_install_sh="$ac_aux_dir/install-sh -c"
1869     break
1870   elif test -f "$ac_dir/install.sh"; then
1871     ac_aux_dir=$ac_dir
1872     ac_install_sh="$ac_aux_dir/install.sh -c"
1873     break
1874   elif test -f "$ac_dir/shtool"; then
1875     ac_aux_dir=$ac_dir
1876     ac_install_sh="$ac_aux_dir/shtool install -c"
1877     break
1878   fi
1879 done
1880 if test -z "$ac_aux_dir"; then
1881   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1882 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1883    { (exit 1); exit 1; }; }
1884 fi
1885
1886 # These three variables are undocumented and unsupported,
1887 # and are intended to be withdrawn in a future Autoconf release.
1888 # They can cause serious problems if a builder's source tree is in a directory
1889 # whose full name contains unusual characters.
1890 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1891 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1892 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1893
1894
1895
1896
1897 # Check whether --enable-win16 was given.
1898 if test "${enable_win16+set}" = set; then
1899   enableval=$enable_win16;
1900 fi
1901
1902 # Check whether --enable-win64 was given.
1903 if test "${enable_win64+set}" = set; then
1904   enableval=$enable_win64;
1905 fi
1906
1907 # Check whether --enable-maintainer-mode was given.
1908 if test "${enable_maintainer_mode+set}" = set; then
1909   enableval=$enable_maintainer_mode;
1910 else
1911   MAINTAINER_MODE=\#
1912
1913 fi
1914
1915
1916
1917 # Check whether --with-alsa was given.
1918 if test "${with_alsa+set}" = set; then
1919   withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
1920 fi
1921
1922
1923 # Check whether --with-audioio was given.
1924 if test "${with_audioio+set}" = set; then
1925   withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
1926 fi
1927
1928
1929 # Check whether --with-capi was given.
1930 if test "${with_capi+set}" = set; then
1931   withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
1932 fi
1933
1934
1935 # Check whether --with-cms was given.
1936 if test "${with_cms+set}" = set; then
1937   withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
1938 fi
1939
1940
1941 # Check whether --with-coreaudio was given.
1942 if test "${with_coreaudio+set}" = set; then
1943   withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
1944 fi
1945
1946
1947 # Check whether --with-cups was given.
1948 if test "${with_cups+set}" = set; then
1949   withval=$with_cups; if test "x$withval" = "xno"; then ac_cv_header_cups_cups_h=no; fi
1950 fi
1951
1952
1953 # Check whether --with-curses was given.
1954 if test "${with_curses+set}" = set; then
1955   withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
1956 fi
1957
1958
1959 # Check whether --with-esd was given.
1960 if test "${with_esd+set}" = set; then
1961   withval=$with_esd;
1962 fi
1963
1964
1965 # Check whether --with-fontconfig was given.
1966 if test "${with_fontconfig+set}" = set; then
1967   withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
1968 fi
1969
1970
1971 # Check whether --with-freetype was given.
1972 if test "${with_freetype+set}" = set; then
1973   withval=$with_freetype;
1974 fi
1975
1976
1977 # Check whether --with-gphoto was given.
1978 if test "${with_gphoto+set}" = set; then
1979   withval=$with_gphoto;
1980 fi
1981
1982
1983 # Check whether --with-glu was given.
1984 if test "${with_glu+set}" = set; then
1985   withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
1986 fi
1987
1988
1989 # Check whether --with-hal was given.
1990 if test "${with_hal+set}" = set; then
1991   withval=$with_hal;
1992 fi
1993
1994
1995 # Check whether --with-jack was given.
1996 if test "${with_jack+set}" = set; then
1997   withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
1998 fi
1999
2000
2001 # Check whether --with-jpeg was given.
2002 if test "${with_jpeg+set}" = set; then
2003   withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2004 fi
2005
2006
2007 # Check whether --with-ldap was given.
2008 if test "${with_ldap+set}" = set; then
2009   withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2010 fi
2011
2012
2013 # Check whether --with-nas was given.
2014 if test "${with_nas+set}" = set; then
2015   withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2016 fi
2017
2018
2019 # Check whether --with-opengl was given.
2020 if test "${with_opengl+set}" = set; then
2021   withval=$with_opengl;
2022 fi
2023
2024
2025 # Check whether --with-openssl was given.
2026 if test "${with_openssl+set}" = set; then
2027   withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2028 fi
2029
2030
2031 # Check whether --with-oss was given.
2032 if test "${with_oss+set}" = set; then
2033   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
2034 fi
2035
2036
2037 # Check whether --with-png was given.
2038 if test "${with_png+set}" = set; then
2039   withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2040 fi
2041
2042
2043 # Check whether --with-sane was given.
2044 if test "${with_sane+set}" = set; then
2045   withval=$with_sane;
2046 fi
2047
2048
2049 # Check whether --with-xcomposite was given.
2050 if test "${with_xcomposite+set}" = set; then
2051   withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2052 fi
2053
2054
2055 # Check whether --with-xcursor was given.
2056 if test "${with_xcursor+set}" = set; then
2057   withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2058 fi
2059
2060
2061 # Check whether --with-xinerama was given.
2062 if test "${with_xinerama+set}" = set; then
2063   withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2064 fi
2065
2066
2067 # Check whether --with-xinput was given.
2068 if test "${with_xinput+set}" = set; then
2069   withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2070 fi
2071
2072
2073 # Check whether --with-xml was given.
2074 if test "${with_xml+set}" = set; then
2075   withval=$with_xml;
2076 fi
2077
2078
2079 # Check whether --with-xrandr was given.
2080 if test "${with_xrandr+set}" = set; then
2081   withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2082 fi
2083
2084
2085 # Check whether --with-xrender was given.
2086 if test "${with_xrender+set}" = set; then
2087   withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2088 fi
2089
2090
2091 # Check whether --with-xshape was given.
2092 if test "${with_xshape+set}" = set; then
2093   withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2094 fi
2095
2096
2097 # Check whether --with-xshm was given.
2098 if test "${with_xshm+set}" = set; then
2099   withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2100 fi
2101
2102
2103 # Check whether --with-xslt was given.
2104 if test "${with_xslt+set}" = set; then
2105   withval=$with_xslt;
2106 fi
2107
2108
2109 # Check whether --with-xvidmode was given.
2110 if test "${with_xvidmode+set}" = set; then
2111   withval=$with_xvidmode; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; fi
2112 fi
2113
2114
2115
2116 # Check whether --with-wine-tools was given.
2117 if test "${with_wine_tools+set}" = set; then
2118   withval=$with_wine_tools;
2119 fi
2120
2121
2122 # Make sure we can run config.sub.
2123 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2124   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2125 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2126    { (exit 1); exit 1; }; }
2127
2128 { echo "$as_me:$LINENO: checking build system type" >&5
2129 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2130 if test "${ac_cv_build+set}" = set; then
2131   echo $ECHO_N "(cached) $ECHO_C" >&6
2132 else
2133   ac_build_alias=$build_alias
2134 test "x$ac_build_alias" = x &&
2135   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2136 test "x$ac_build_alias" = x &&
2137   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2138 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2139    { (exit 1); exit 1; }; }
2140 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2141   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2142 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2143    { (exit 1); exit 1; }; }
2144
2145 fi
2146 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2147 echo "${ECHO_T}$ac_cv_build" >&6; }
2148 case $ac_cv_build in
2149 *-*-*) ;;
2150 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2151 echo "$as_me: error: invalid value of canonical build" >&2;}
2152    { (exit 1); exit 1; }; };;
2153 esac
2154 build=$ac_cv_build
2155 ac_save_IFS=$IFS; IFS='-'
2156 set x $ac_cv_build
2157 shift
2158 build_cpu=$1
2159 build_vendor=$2
2160 shift; shift
2161 # Remember, the first character of IFS is used to create $*,
2162 # except with old shells:
2163 build_os=$*
2164 IFS=$ac_save_IFS
2165 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2166
2167
2168 { echo "$as_me:$LINENO: checking host system type" >&5
2169 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2170 if test "${ac_cv_host+set}" = set; then
2171   echo $ECHO_N "(cached) $ECHO_C" >&6
2172 else
2173   if test "x$host_alias" = x; then
2174   ac_cv_host=$ac_cv_build
2175 else
2176   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2177     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2178 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2179    { (exit 1); exit 1; }; }
2180 fi
2181
2182 fi
2183 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2184 echo "${ECHO_T}$ac_cv_host" >&6; }
2185 case $ac_cv_host in
2186 *-*-*) ;;
2187 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2188 echo "$as_me: error: invalid value of canonical host" >&2;}
2189    { (exit 1); exit 1; }; };;
2190 esac
2191 host=$ac_cv_host
2192 ac_save_IFS=$IFS; IFS='-'
2193 set x $ac_cv_host
2194 shift
2195 host_cpu=$1
2196 host_vendor=$2
2197 shift; shift
2198 # Remember, the first character of IFS is used to create $*,
2199 # except with old shells:
2200 host_os=$*
2201 IFS=$ac_save_IFS
2202 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2203
2204
2205 case $host in
2206   x86_64*linux*)
2207     if test "x$enable_win64" != "xyes"
2208     then
2209       test -n "$CC" || CC="gcc -m32"
2210       test -n "$CXX"|| CXX="g++ -m32"
2211       test -n "$LD" || LD="ld -m elf_i386"
2212       test -n "$AS" || AS="as --32"
2213       host_cpu="i386"
2214     fi
2215     ;;
2216 esac
2217
2218 case $host_cpu in
2219   *i[3456789]86*)
2220     if test "x$enable_win16" != "xno"
2221     then
2222       enable_win16="yes"
2223     fi
2224     ;;
2225 esac
2226
2227 WIN16_FILES="\$(WIN16_FILES)"
2228
2229 WIN16_INSTALL="\$(WIN16_INSTALL)"
2230
2231 if test "x$enable_win16" != "xyes"
2232 then
2233   WIN16_FILES=""
2234   WIN16_INSTALL=""
2235 fi
2236
2237 case "$srcdir" in
2238  .) ;;
2239  *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2240       { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2241 You need to run 'make distclean' in the source tree first." >&5
2242 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2243 You need to run 'make distclean' in the source tree first." >&2;}
2244    { (exit 1); exit 1; }; }
2245     fi ;;
2246 esac
2247
2248
2249 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2250 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2251 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2252 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2253   echo $ECHO_N "(cached) $ECHO_C" >&6
2254 else
2255   cat >conftest.make <<\_ACEOF
2256 SHELL = /bin/sh
2257 all:
2258         @echo '@@@%%%=$(MAKE)=@@@%%%'
2259 _ACEOF
2260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2261 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2262   *@@@%%%=?*=@@@%%%*)
2263     eval ac_cv_prog_make_${ac_make}_set=yes;;
2264   *)
2265     eval ac_cv_prog_make_${ac_make}_set=no;;
2266 esac
2267 rm -f conftest.make
2268 fi
2269 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2270   { echo "$as_me:$LINENO: result: yes" >&5
2271 echo "${ECHO_T}yes" >&6; }
2272   SET_MAKE=
2273 else
2274   { echo "$as_me:$LINENO: result: no" >&5
2275 echo "${ECHO_T}no" >&6; }
2276   SET_MAKE="MAKE=${MAKE-make}"
2277 fi
2278
2279 ac_ext=c
2280 ac_cpp='$CPP $CPPFLAGS'
2281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 if test -n "$ac_tool_prefix"; then
2285   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_CC+set}" = set; then
2290   echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292   if test -n "$CC"; then
2293   ac_cv_prog_CC="$CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2297 do
2298   IFS=$as_save_IFS
2299   test -z "$as_dir" && as_dir=.
2300   for ac_exec_ext in '' $ac_executable_extensions; do
2301   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2303     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304     break 2
2305   fi
2306 done
2307 done
2308 IFS=$as_save_IFS
2309
2310 fi
2311 fi
2312 CC=$ac_cv_prog_CC
2313 if test -n "$CC"; then
2314   { echo "$as_me:$LINENO: result: $CC" >&5
2315 echo "${ECHO_T}$CC" >&6; }
2316 else
2317   { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2319 fi
2320
2321
2322 fi
2323 if test -z "$ac_cv_prog_CC"; then
2324   ac_ct_CC=$CC
2325   # Extract the first word of "gcc", so it can be a program name with args.
2326 set dummy gcc; ac_word=$2
2327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2329 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2330   echo $ECHO_N "(cached) $ECHO_C" >&6
2331 else
2332   if test -n "$ac_ct_CC"; then
2333   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2334 else
2335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2336 for as_dir in $PATH
2337 do
2338   IFS=$as_save_IFS
2339   test -z "$as_dir" && as_dir=.
2340   for ac_exec_ext in '' $ac_executable_extensions; do
2341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2342     ac_cv_prog_ac_ct_CC="gcc"
2343     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2344     break 2
2345   fi
2346 done
2347 done
2348 IFS=$as_save_IFS
2349
2350 fi
2351 fi
2352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2353 if test -n "$ac_ct_CC"; then
2354   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2355 echo "${ECHO_T}$ac_ct_CC" >&6; }
2356 else
2357   { echo "$as_me:$LINENO: result: no" >&5
2358 echo "${ECHO_T}no" >&6; }
2359 fi
2360
2361   if test "x$ac_ct_CC" = x; then
2362     CC=""
2363   else
2364     case $cross_compiling:$ac_tool_warned in
2365 yes:)
2366 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2367 whose name does not start with the host triplet.  If you think this
2368 configuration is useful to you, please write to autoconf@gnu.org." >&5
2369 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2370 whose name does not start with the host triplet.  If you think this
2371 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2372 ac_tool_warned=yes ;;
2373 esac
2374     CC=$ac_ct_CC
2375   fi
2376 else
2377   CC="$ac_cv_prog_CC"
2378 fi
2379
2380 if test -z "$CC"; then
2381           if test -n "$ac_tool_prefix"; then
2382     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2383 set dummy ${ac_tool_prefix}cc; ac_word=$2
2384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2386 if test "${ac_cv_prog_CC+set}" = set; then
2387   echo $ECHO_N "(cached) $ECHO_C" >&6
2388 else
2389   if test -n "$CC"; then
2390   ac_cv_prog_CC="$CC" # Let the user override the test.
2391 else
2392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2393 for as_dir in $PATH
2394 do
2395   IFS=$as_save_IFS
2396   test -z "$as_dir" && as_dir=.
2397   for ac_exec_ext in '' $ac_executable_extensions; do
2398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2399     ac_cv_prog_CC="${ac_tool_prefix}cc"
2400     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2401     break 2
2402   fi
2403 done
2404 done
2405 IFS=$as_save_IFS
2406
2407 fi
2408 fi
2409 CC=$ac_cv_prog_CC
2410 if test -n "$CC"; then
2411   { echo "$as_me:$LINENO: result: $CC" >&5
2412 echo "${ECHO_T}$CC" >&6; }
2413 else
2414   { echo "$as_me:$LINENO: result: no" >&5
2415 echo "${ECHO_T}no" >&6; }
2416 fi
2417
2418
2419   fi
2420 fi
2421 if test -z "$CC"; then
2422   # Extract the first word of "cc", so it can be a program name with args.
2423 set dummy cc; ac_word=$2
2424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2426 if test "${ac_cv_prog_CC+set}" = set; then
2427   echo $ECHO_N "(cached) $ECHO_C" >&6
2428 else
2429   if test -n "$CC"; then
2430   ac_cv_prog_CC="$CC" # Let the user override the test.
2431 else
2432   ac_prog_rejected=no
2433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2434 for as_dir in $PATH
2435 do
2436   IFS=$as_save_IFS
2437   test -z "$as_dir" && as_dir=.
2438   for ac_exec_ext in '' $ac_executable_extensions; do
2439   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2440     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2441        ac_prog_rejected=yes
2442        continue
2443      fi
2444     ac_cv_prog_CC="cc"
2445     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2446     break 2
2447   fi
2448 done
2449 done
2450 IFS=$as_save_IFS
2451
2452 if test $ac_prog_rejected = yes; then
2453   # We found a bogon in the path, so make sure we never use it.
2454   set dummy $ac_cv_prog_CC
2455   shift
2456   if test $# != 0; then
2457     # We chose a different compiler from the bogus one.
2458     # However, it has the same basename, so the bogon will be chosen
2459     # first if we set CC to just the basename; use the full file name.
2460     shift
2461     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2462   fi
2463 fi
2464 fi
2465 fi
2466 CC=$ac_cv_prog_CC
2467 if test -n "$CC"; then
2468   { echo "$as_me:$LINENO: result: $CC" >&5
2469 echo "${ECHO_T}$CC" >&6; }
2470 else
2471   { echo "$as_me:$LINENO: result: no" >&5
2472 echo "${ECHO_T}no" >&6; }
2473 fi
2474
2475
2476 fi
2477 if test -z "$CC"; then
2478   if test -n "$ac_tool_prefix"; then
2479   for ac_prog in cl.exe
2480   do
2481     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2482 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2483 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2485 if test "${ac_cv_prog_CC+set}" = set; then
2486   echo $ECHO_N "(cached) $ECHO_C" >&6
2487 else
2488   if test -n "$CC"; then
2489   ac_cv_prog_CC="$CC" # Let the user override the test.
2490 else
2491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2492 for as_dir in $PATH
2493 do
2494   IFS=$as_save_IFS
2495   test -z "$as_dir" && as_dir=.
2496   for ac_exec_ext in '' $ac_executable_extensions; do
2497   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2498     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2499     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500     break 2
2501   fi
2502 done
2503 done
2504 IFS=$as_save_IFS
2505
2506 fi
2507 fi
2508 CC=$ac_cv_prog_CC
2509 if test -n "$CC"; then
2510   { echo "$as_me:$LINENO: result: $CC" >&5
2511 echo "${ECHO_T}$CC" >&6; }
2512 else
2513   { echo "$as_me:$LINENO: result: no" >&5
2514 echo "${ECHO_T}no" >&6; }
2515 fi
2516
2517
2518     test -n "$CC" && break
2519   done
2520 fi
2521 if test -z "$CC"; then
2522   ac_ct_CC=$CC
2523   for ac_prog in cl.exe
2524 do
2525   # Extract the first word of "$ac_prog", so it can be a program name with args.
2526 set dummy $ac_prog; ac_word=$2
2527 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2529 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2530   echo $ECHO_N "(cached) $ECHO_C" >&6
2531 else
2532   if test -n "$ac_ct_CC"; then
2533   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2534 else
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2537 do
2538   IFS=$as_save_IFS
2539   test -z "$as_dir" && as_dir=.
2540   for ac_exec_ext in '' $ac_executable_extensions; do
2541   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2542     ac_cv_prog_ac_ct_CC="$ac_prog"
2543     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2544     break 2
2545   fi
2546 done
2547 done
2548 IFS=$as_save_IFS
2549
2550 fi
2551 fi
2552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2553 if test -n "$ac_ct_CC"; then
2554   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2555 echo "${ECHO_T}$ac_ct_CC" >&6; }
2556 else
2557   { echo "$as_me:$LINENO: result: no" >&5
2558 echo "${ECHO_T}no" >&6; }
2559 fi
2560
2561
2562   test -n "$ac_ct_CC" && break
2563 done
2564
2565   if test "x$ac_ct_CC" = x; then
2566     CC=""
2567   else
2568     case $cross_compiling:$ac_tool_warned in
2569 yes:)
2570 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2571 whose name does not start with the host triplet.  If you think this
2572 configuration is useful to you, please write to autoconf@gnu.org." >&5
2573 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2574 whose name does not start with the host triplet.  If you think this
2575 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2576 ac_tool_warned=yes ;;
2577 esac
2578     CC=$ac_ct_CC
2579   fi
2580 fi
2581
2582 fi
2583
2584
2585 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2586 See \`config.log' for more details." >&5
2587 echo "$as_me: error: no acceptable C compiler found in \$PATH
2588 See \`config.log' for more details." >&2;}
2589    { (exit 1); exit 1; }; }
2590
2591 # Provide some information about the compiler.
2592 echo "$as_me:$LINENO: checking for C compiler version" >&5
2593 ac_compiler=`set X $ac_compile; echo $2`
2594 { (ac_try="$ac_compiler --version >&5"
2595 case "(($ac_try" in
2596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2597   *) ac_try_echo=$ac_try;;
2598 esac
2599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2600   (eval "$ac_compiler --version >&5") 2>&5
2601   ac_status=$?
2602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603   (exit $ac_status); }
2604 { (ac_try="$ac_compiler -v >&5"
2605 case "(($ac_try" in
2606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2607   *) ac_try_echo=$ac_try;;
2608 esac
2609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2610   (eval "$ac_compiler -v >&5") 2>&5
2611   ac_status=$?
2612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613   (exit $ac_status); }
2614 { (ac_try="$ac_compiler -V >&5"
2615 case "(($ac_try" in
2616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2617   *) ac_try_echo=$ac_try;;
2618 esac
2619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2620   (eval "$ac_compiler -V >&5") 2>&5
2621   ac_status=$?
2622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2623   (exit $ac_status); }
2624
2625 cat >conftest.$ac_ext <<_ACEOF
2626 /* confdefs.h.  */
2627 _ACEOF
2628 cat confdefs.h >>conftest.$ac_ext
2629 cat >>conftest.$ac_ext <<_ACEOF
2630 /* end confdefs.h.  */
2631
2632 int
2633 main ()
2634 {
2635
2636   ;
2637   return 0;
2638 }
2639 _ACEOF
2640 ac_clean_files_save=$ac_clean_files
2641 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2642 # Try to create an executable without -o first, disregard a.out.
2643 # It will help us diagnose broken compilers, and finding out an intuition
2644 # of exeext.
2645 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2646 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2647 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2648 #
2649 # List of possible output files, starting from the most likely.
2650 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2651 # only as a last resort.  b.out is created by i960 compilers.
2652 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2653 #
2654 # The IRIX 6 linker writes into existing files which may not be
2655 # executable, retaining their permissions.  Remove them first so a
2656 # subsequent execution test works.
2657 ac_rmfiles=
2658 for ac_file in $ac_files
2659 do
2660   case $ac_file in
2661     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2662     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2663   esac
2664 done
2665 rm -f $ac_rmfiles
2666
2667 if { (ac_try="$ac_link_default"
2668 case "(($ac_try" in
2669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2670   *) ac_try_echo=$ac_try;;
2671 esac
2672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2673   (eval "$ac_link_default") 2>&5
2674   ac_status=$?
2675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2676   (exit $ac_status); }; then
2677   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2678 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2679 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2680 # so that the user can short-circuit this test for compilers unknown to
2681 # Autoconf.
2682 for ac_file in $ac_files ''
2683 do
2684   test -f "$ac_file" || continue
2685   case $ac_file in
2686     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2687         ;;
2688     [ab].out )
2689         # We found the default executable, but exeext='' is most
2690         # certainly right.
2691         break;;
2692     *.* )
2693         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2694         then :; else
2695            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2696         fi
2697         # We set ac_cv_exeext here because the later test for it is not
2698         # safe: cross compilers may not add the suffix if given an `-o'
2699         # argument, so we may need to know it at that point already.
2700         # Even if this section looks crufty: it has the advantage of
2701         # actually working.
2702         break;;
2703     * )
2704         break;;
2705   esac
2706 done
2707 test "$ac_cv_exeext" = no && ac_cv_exeext=
2708
2709 else
2710   ac_file=''
2711 fi
2712
2713 { echo "$as_me:$LINENO: result: $ac_file" >&5
2714 echo "${ECHO_T}$ac_file" >&6; }
2715 if test -z "$ac_file"; then
2716   echo "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2718
2719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2720 See \`config.log' for more details." >&5
2721 echo "$as_me: error: C compiler cannot create executables
2722 See \`config.log' for more details." >&2;}
2723    { (exit 77); exit 77; }; }
2724 fi
2725
2726 ac_exeext=$ac_cv_exeext
2727
2728 # Check that the compiler produces executables we can run.  If not, either
2729 # the compiler is broken, or we cross compile.
2730 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2733 # If not cross compiling, check that we can run a simple program.
2734 if test "$cross_compiling" != yes; then
2735   if { ac_try='./$ac_file'
2736   { (case "(($ac_try" in
2737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738   *) ac_try_echo=$ac_try;;
2739 esac
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741   (eval "$ac_try") 2>&5
2742   ac_status=$?
2743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744   (exit $ac_status); }; }; then
2745     cross_compiling=no
2746   else
2747     if test "$cross_compiling" = maybe; then
2748         cross_compiling=yes
2749     else
2750         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2751 If you meant to cross compile, use \`--host'.
2752 See \`config.log' for more details." >&5
2753 echo "$as_me: error: cannot run C compiled programs.
2754 If you meant to cross compile, use \`--host'.
2755 See \`config.log' for more details." >&2;}
2756    { (exit 1); exit 1; }; }
2757     fi
2758   fi
2759 fi
2760 { echo "$as_me:$LINENO: result: yes" >&5
2761 echo "${ECHO_T}yes" >&6; }
2762
2763 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2764 ac_clean_files=$ac_clean_files_save
2765 # Check that the compiler produces executables we can run.  If not, either
2766 # the compiler is broken, or we cross compile.
2767 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2768 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2769 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2770 echo "${ECHO_T}$cross_compiling" >&6; }
2771
2772 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2773 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2774 if { (ac_try="$ac_link"
2775 case "(($ac_try" in
2776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777   *) ac_try_echo=$ac_try;;
2778 esac
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780   (eval "$ac_link") 2>&5
2781   ac_status=$?
2782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783   (exit $ac_status); }; then
2784   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2785 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2786 # work properly (i.e., refer to `conftest.exe'), while it won't with
2787 # `rm'.
2788 for ac_file in conftest.exe conftest conftest.*; do
2789   test -f "$ac_file" || continue
2790   case $ac_file in
2791     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2792     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2793           break;;
2794     * ) break;;
2795   esac
2796 done
2797 else
2798   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2799 See \`config.log' for more details." >&5
2800 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2801 See \`config.log' for more details." >&2;}
2802    { (exit 1); exit 1; }; }
2803 fi
2804
2805 rm -f conftest$ac_cv_exeext
2806 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2807 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2808
2809 rm -f conftest.$ac_ext
2810 EXEEXT=$ac_cv_exeext
2811 ac_exeext=$EXEEXT
2812 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2813 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2814 if test "${ac_cv_objext+set}" = set; then
2815   echo $ECHO_N "(cached) $ECHO_C" >&6
2816 else
2817   cat >conftest.$ac_ext <<_ACEOF
2818 /* confdefs.h.  */
2819 _ACEOF
2820 cat confdefs.h >>conftest.$ac_ext
2821 cat >>conftest.$ac_ext <<_ACEOF
2822 /* end confdefs.h.  */
2823
2824 int
2825 main ()
2826 {
2827
2828   ;
2829   return 0;
2830 }
2831 _ACEOF
2832 rm -f conftest.o conftest.obj
2833 if { (ac_try="$ac_compile"
2834 case "(($ac_try" in
2835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2836   *) ac_try_echo=$ac_try;;
2837 esac
2838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2839   (eval "$ac_compile") 2>&5
2840   ac_status=$?
2841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2842   (exit $ac_status); }; then
2843   for ac_file in conftest.o conftest.obj conftest.*; do
2844   test -f "$ac_file" || continue;
2845   case $ac_file in
2846     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2847     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2848        break;;
2849   esac
2850 done
2851 else
2852   echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2854
2855 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2856 See \`config.log' for more details." >&5
2857 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2858 See \`config.log' for more details." >&2;}
2859    { (exit 1); exit 1; }; }
2860 fi
2861
2862 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2863 fi
2864 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2865 echo "${ECHO_T}$ac_cv_objext" >&6; }
2866 OBJEXT=$ac_cv_objext
2867 ac_objext=$OBJEXT
2868 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2869 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2870 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2871   echo $ECHO_N "(cached) $ECHO_C" >&6
2872 else
2873   cat >conftest.$ac_ext <<_ACEOF
2874 /* confdefs.h.  */
2875 _ACEOF
2876 cat confdefs.h >>conftest.$ac_ext
2877 cat >>conftest.$ac_ext <<_ACEOF
2878 /* end confdefs.h.  */
2879
2880 int
2881 main ()
2882 {
2883 #ifndef __GNUC__
2884        choke me
2885 #endif
2886
2887   ;
2888   return 0;
2889 }
2890 _ACEOF
2891 rm -f conftest.$ac_objext
2892 if { (ac_try="$ac_compile"
2893 case "(($ac_try" in
2894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2895   *) ac_try_echo=$ac_try;;
2896 esac
2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2898   (eval "$ac_compile") 2>conftest.er1
2899   ac_status=$?
2900   grep -v '^ *+' conftest.er1 >conftest.err
2901   rm -f conftest.er1
2902   cat conftest.err >&5
2903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904   (exit $ac_status); } && {
2905          test -z "$ac_c_werror_flag" ||
2906          test ! -s conftest.err
2907        } && test -s conftest.$ac_objext; then
2908   ac_compiler_gnu=yes
2909 else
2910   echo "$as_me: failed program was:" >&5
2911 sed 's/^/| /' conftest.$ac_ext >&5
2912
2913         ac_compiler_gnu=no
2914 fi
2915
2916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2917 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2918
2919 fi
2920 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2921 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2922 GCC=`test $ac_compiler_gnu = yes && echo yes`
2923 ac_test_CFLAGS=${CFLAGS+set}
2924 ac_save_CFLAGS=$CFLAGS
2925 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2926 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2927 if test "${ac_cv_prog_cc_g+set}" = set; then
2928   echo $ECHO_N "(cached) $ECHO_C" >&6
2929 else
2930   ac_save_c_werror_flag=$ac_c_werror_flag
2931    ac_c_werror_flag=yes
2932    ac_cv_prog_cc_g=no
2933    CFLAGS="-g"
2934    cat >conftest.$ac_ext <<_ACEOF
2935 /* confdefs.h.  */
2936 _ACEOF
2937 cat confdefs.h >>conftest.$ac_ext
2938 cat >>conftest.$ac_ext <<_ACEOF
2939 /* end confdefs.h.  */
2940
2941 int
2942 main ()
2943 {
2944
2945   ;
2946   return 0;
2947 }
2948 _ACEOF
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2951 case "(($ac_try" in
2952   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953   *) ac_try_echo=$ac_try;;
2954 esac
2955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2956   (eval "$ac_compile") 2>conftest.er1
2957   ac_status=$?
2958   grep -v '^ *+' conftest.er1 >conftest.err
2959   rm -f conftest.er1
2960   cat conftest.err >&5
2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962   (exit $ac_status); } && {
2963          test -z "$ac_c_werror_flag" ||
2964          test ! -s conftest.err
2965        } && test -s conftest.$ac_objext; then
2966   ac_cv_prog_cc_g=yes
2967 else
2968   echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2970
2971         CFLAGS=""
2972       cat >conftest.$ac_ext <<_ACEOF
2973 /* confdefs.h.  */
2974 _ACEOF
2975 cat confdefs.h >>conftest.$ac_ext
2976 cat >>conftest.$ac_ext <<_ACEOF
2977 /* end confdefs.h.  */
2978
2979 int
2980 main ()
2981 {
2982
2983   ;
2984   return 0;
2985 }
2986 _ACEOF
2987 rm -f conftest.$ac_objext
2988 if { (ac_try="$ac_compile"
2989 case "(($ac_try" in
2990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2991   *) ac_try_echo=$ac_try;;
2992 esac
2993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2994   (eval "$ac_compile") 2>conftest.er1
2995   ac_status=$?
2996   grep -v '^ *+' conftest.er1 >conftest.err
2997   rm -f conftest.er1
2998   cat conftest.err >&5
2999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000   (exit $ac_status); } && {
3001          test -z "$ac_c_werror_flag" ||
3002          test ! -s conftest.err
3003        } && test -s conftest.$ac_objext; then
3004   :
3005 else
3006   echo "$as_me: failed program was:" >&5
3007 sed 's/^/| /' conftest.$ac_ext >&5
3008
3009         ac_c_werror_flag=$ac_save_c_werror_flag
3010          CFLAGS="-g"
3011          cat >conftest.$ac_ext <<_ACEOF
3012 /* confdefs.h.  */
3013 _ACEOF
3014 cat confdefs.h >>conftest.$ac_ext
3015 cat >>conftest.$ac_ext <<_ACEOF
3016 /* end confdefs.h.  */
3017
3018 int
3019 main ()
3020 {
3021
3022   ;
3023   return 0;
3024 }
3025 _ACEOF
3026 rm -f conftest.$ac_objext
3027 if { (ac_try="$ac_compile"
3028 case "(($ac_try" in
3029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3030   *) ac_try_echo=$ac_try;;
3031 esac
3032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3033   (eval "$ac_compile") 2>conftest.er1
3034   ac_status=$?
3035   grep -v '^ *+' conftest.er1 >conftest.err
3036   rm -f conftest.er1
3037   cat conftest.err >&5
3038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039   (exit $ac_status); } && {
3040          test -z "$ac_c_werror_flag" ||
3041          test ! -s conftest.err
3042        } && test -s conftest.$ac_objext; then
3043   ac_cv_prog_cc_g=yes
3044 else
3045   echo "$as_me: failed program was:" >&5
3046 sed 's/^/| /' conftest.$ac_ext >&5
3047
3048
3049 fi
3050
3051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3052 fi
3053
3054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3055 fi
3056
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058    ac_c_werror_flag=$ac_save_c_werror_flag
3059 fi
3060 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3062 if test "$ac_test_CFLAGS" = set; then
3063   CFLAGS=$ac_save_CFLAGS
3064 elif test $ac_cv_prog_cc_g = yes; then
3065   if test "$GCC" = yes; then
3066     CFLAGS="-g -O2"
3067   else
3068     CFLAGS="-g"
3069   fi
3070 else
3071   if test "$GCC" = yes; then
3072     CFLAGS="-O2"
3073   else
3074     CFLAGS=
3075   fi
3076 fi
3077 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3078 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3079 if test "${ac_cv_prog_cc_c89+set}" = set; then
3080   echo $ECHO_N "(cached) $ECHO_C" >&6
3081 else
3082   ac_cv_prog_cc_c89=no
3083 ac_save_CC=$CC
3084 cat >conftest.$ac_ext <<_ACEOF
3085 /* confdefs.h.  */
3086 _ACEOF
3087 cat confdefs.h >>conftest.$ac_ext
3088 cat >>conftest.$ac_ext <<_ACEOF
3089 /* end confdefs.h.  */
3090 #include <stdarg.h>
3091 #include <stdio.h>
3092 #include <sys/types.h>
3093 #include <sys/stat.h>
3094 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3095 struct buf { int x; };
3096 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3097 static char *e (p, i)
3098      char **p;
3099      int i;
3100 {
3101   return p[i];
3102 }
3103 static char *f (char * (*g) (char **, int), char **p, ...)
3104 {
3105   char *s;
3106   va_list v;
3107   va_start (v,p);
3108   s = g (p, va_arg (v,int));
3109   va_end (v);
3110   return s;
3111 }
3112
3113 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3114    function prototypes and stuff, but not '\xHH' hex character constants.
3115    These don't provoke an error unfortunately, instead are silently treated
3116    as 'x'.  The following induces an error, until -std is added to get
3117    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3118    array size at least.  It's necessary to write '\x00'==0 to get something
3119    that's true only with -std.  */
3120 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3121
3122 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3123    inside strings and character constants.  */
3124 #define FOO(x) 'x'
3125 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3126
3127 int test (int i, double x);
3128 struct s1 {int (*f) (int a);};
3129 struct s2 {int (*f) (double a);};
3130 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3131 int argc;
3132 char **argv;
3133 int
3134 main ()
3135 {
3136 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3137   ;
3138   return 0;
3139 }
3140 _ACEOF
3141 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3142         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3143 do
3144   CC="$ac_save_CC $ac_arg"
3145   rm -f conftest.$ac_objext
3146 if { (ac_try="$ac_compile"
3147 case "(($ac_try" in
3148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149   *) ac_try_echo=$ac_try;;
3150 esac
3151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3152   (eval "$ac_compile") 2>conftest.er1
3153   ac_status=$?
3154   grep -v '^ *+' conftest.er1 >conftest.err
3155   rm -f conftest.er1
3156   cat conftest.err >&5
3157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158   (exit $ac_status); } && {
3159          test -z "$ac_c_werror_flag" ||
3160          test ! -s conftest.err
3161        } && test -s conftest.$ac_objext; then
3162   ac_cv_prog_cc_c89=$ac_arg
3163 else
3164   echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3166
3167
3168 fi
3169
3170 rm -f core conftest.err conftest.$ac_objext
3171   test "x$ac_cv_prog_cc_c89" != "xno" && break
3172 done
3173 rm -f conftest.$ac_ext
3174 CC=$ac_save_CC
3175
3176 fi
3177 # AC_CACHE_VAL
3178 case "x$ac_cv_prog_cc_c89" in
3179   x)
3180     { echo "$as_me:$LINENO: result: none needed" >&5
3181 echo "${ECHO_T}none needed" >&6; } ;;
3182   xno)
3183     { echo "$as_me:$LINENO: result: unsupported" >&5
3184 echo "${ECHO_T}unsupported" >&6; } ;;
3185   *)
3186     CC="$CC $ac_cv_prog_cc_c89"
3187     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3188 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3189 esac
3190
3191
3192 ac_ext=c
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3197
3198 ac_ext=cpp
3199 ac_cpp='$CXXCPP $CPPFLAGS'
3200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3203 if test -z "$CXX"; then
3204   if test -n "$CCC"; then
3205     CXX=$CCC
3206   else
3207     if test -n "$ac_tool_prefix"; then
3208   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3209   do
3210     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3214 if test "${ac_cv_prog_CXX+set}" = set; then
3215   echo $ECHO_N "(cached) $ECHO_C" >&6
3216 else
3217   if test -n "$CXX"; then
3218   ac_cv_prog_CXX="$CXX" # Let the user override the test.
3219 else
3220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3221 for as_dir in $PATH
3222 do
3223   IFS=$as_save_IFS
3224   test -z "$as_dir" && as_dir=.
3225   for ac_exec_ext in '' $ac_executable_extensions; do
3226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3227     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3228     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3229     break 2
3230   fi
3231 done
3232 done
3233 IFS=$as_save_IFS
3234
3235 fi
3236 fi
3237 CXX=$ac_cv_prog_CXX
3238 if test -n "$CXX"; then
3239   { echo "$as_me:$LINENO: result: $CXX" >&5
3240 echo "${ECHO_T}$CXX" >&6; }
3241 else
3242   { echo "$as_me:$LINENO: result: no" >&5
3243 echo "${ECHO_T}no" >&6; }
3244 fi
3245
3246
3247     test -n "$CXX" && break
3248   done
3249 fi
3250 if test -z "$CXX"; then
3251   ac_ct_CXX=$CXX
3252   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3253 do
3254   # Extract the first word of "$ac_prog", so it can be a program name with args.
3255 set dummy $ac_prog; ac_word=$2
3256 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3258 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3259   echo $ECHO_N "(cached) $ECHO_C" >&6
3260 else
3261   if test -n "$ac_ct_CXX"; then
3262   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3263 else
3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3265 for as_dir in $PATH
3266 do
3267   IFS=$as_save_IFS
3268   test -z "$as_dir" && as_dir=.
3269   for ac_exec_ext in '' $ac_executable_extensions; do
3270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3271     ac_cv_prog_ac_ct_CXX="$ac_prog"
3272     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3273     break 2
3274   fi
3275 done
3276 done
3277 IFS=$as_save_IFS
3278
3279 fi
3280 fi
3281 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3282 if test -n "$ac_ct_CXX"; then
3283   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3284 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3285 else
3286   { echo "$as_me:$LINENO: result: no" >&5
3287 echo "${ECHO_T}no" >&6; }
3288 fi
3289
3290
3291   test -n "$ac_ct_CXX" && break
3292 done
3293
3294   if test "x$ac_ct_CXX" = x; then
3295     CXX="g++"
3296   else
3297     case $cross_compiling:$ac_tool_warned in
3298 yes:)
3299 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3300 whose name does not start with the host triplet.  If you think this
3301 configuration is useful to you, please write to autoconf@gnu.org." >&5
3302 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3303 whose name does not start with the host triplet.  If you think this
3304 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3305 ac_tool_warned=yes ;;
3306 esac
3307     CXX=$ac_ct_CXX
3308   fi
3309 fi
3310
3311   fi
3312 fi
3313 # Provide some information about the compiler.
3314 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3315 ac_compiler=`set X $ac_compile; echo $2`
3316 { (ac_try="$ac_compiler --version >&5"
3317 case "(($ac_try" in
3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3319   *) ac_try_echo=$ac_try;;
3320 esac
3321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3322   (eval "$ac_compiler --version >&5") 2>&5
3323   ac_status=$?
3324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325   (exit $ac_status); }
3326 { (ac_try="$ac_compiler -v >&5"
3327 case "(($ac_try" in
3328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3329   *) ac_try_echo=$ac_try;;
3330 esac
3331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3332   (eval "$ac_compiler -v >&5") 2>&5
3333   ac_status=$?
3334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335   (exit $ac_status); }
3336 { (ac_try="$ac_compiler -V >&5"
3337 case "(($ac_try" in
3338   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3339   *) ac_try_echo=$ac_try;;
3340 esac
3341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3342   (eval "$ac_compiler -V >&5") 2>&5
3343   ac_status=$?
3344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345   (exit $ac_status); }
3346
3347 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3348 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3349 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3350   echo $ECHO_N "(cached) $ECHO_C" >&6
3351 else
3352   cat >conftest.$ac_ext <<_ACEOF
3353 /* confdefs.h.  */
3354 _ACEOF
3355 cat confdefs.h >>conftest.$ac_ext
3356 cat >>conftest.$ac_ext <<_ACEOF
3357 /* end confdefs.h.  */
3358
3359 int
3360 main ()
3361 {
3362 #ifndef __GNUC__
3363        choke me
3364 #endif
3365
3366   ;
3367   return 0;
3368 }
3369 _ACEOF
3370 rm -f conftest.$ac_objext
3371 if { (ac_try="$ac_compile"
3372 case "(($ac_try" in
3373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3374   *) ac_try_echo=$ac_try;;
3375 esac
3376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3377   (eval "$ac_compile") 2>conftest.er1
3378   ac_status=$?
3379   grep -v '^ *+' conftest.er1 >conftest.err
3380   rm -f conftest.er1
3381   cat conftest.err >&5
3382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383   (exit $ac_status); } && {
3384          test -z "$ac_cxx_werror_flag" ||
3385          test ! -s conftest.err
3386        } && test -s conftest.$ac_objext; then
3387   ac_compiler_gnu=yes
3388 else
3389   echo "$as_me: failed program was:" >&5
3390 sed 's/^/| /' conftest.$ac_ext >&5
3391
3392         ac_compiler_gnu=no
3393 fi
3394
3395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3396 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3397
3398 fi
3399 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3400 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3401 GXX=`test $ac_compiler_gnu = yes && echo yes`
3402 ac_test_CXXFLAGS=${CXXFLAGS+set}
3403 ac_save_CXXFLAGS=$CXXFLAGS
3404 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3405 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3406 if test "${ac_cv_prog_cxx_g+set}" = set; then
3407   echo $ECHO_N "(cached) $ECHO_C" >&6
3408 else
3409   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3410    ac_cxx_werror_flag=yes
3411    ac_cv_prog_cxx_g=no
3412    CXXFLAGS="-g"
3413    cat >conftest.$ac_ext <<_ACEOF
3414 /* confdefs.h.  */
3415 _ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h.  */
3419
3420 int
3421 main ()
3422 {
3423
3424   ;
3425   return 0;
3426 }
3427 _ACEOF
3428 rm -f conftest.$ac_objext
3429 if { (ac_try="$ac_compile"
3430 case "(($ac_try" in
3431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3432   *) ac_try_echo=$ac_try;;
3433 esac
3434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3435   (eval "$ac_compile") 2>conftest.er1
3436   ac_status=$?
3437   grep -v '^ *+' conftest.er1 >conftest.err
3438   rm -f conftest.er1
3439   cat conftest.err >&5
3440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441   (exit $ac_status); } && {
3442          test -z "$ac_cxx_werror_flag" ||
3443          test ! -s conftest.err
3444        } && test -s conftest.$ac_objext; then
3445   ac_cv_prog_cxx_g=yes
3446 else
3447   echo "$as_me: failed program was:" >&5
3448 sed 's/^/| /' conftest.$ac_ext >&5
3449
3450         CXXFLAGS=""
3451       cat >conftest.$ac_ext <<_ACEOF
3452 /* confdefs.h.  */
3453 _ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3456 /* end confdefs.h.  */
3457
3458 int
3459 main ()
3460 {
3461
3462   ;
3463   return 0;
3464 }
3465 _ACEOF
3466 rm -f conftest.$ac_objext
3467 if { (ac_try="$ac_compile"
3468 case "(($ac_try" in
3469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470   *) ac_try_echo=$ac_try;;
3471 esac
3472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3473   (eval "$ac_compile") 2>conftest.er1
3474   ac_status=$?
3475   grep -v '^ *+' conftest.er1 >conftest.err
3476   rm -f conftest.er1
3477   cat conftest.err >&5
3478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479   (exit $ac_status); } && {
3480          test -z "$ac_cxx_werror_flag" ||
3481          test ! -s conftest.err
3482        } && test -s conftest.$ac_objext; then
3483   :
3484 else
3485   echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3487
3488         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3489          CXXFLAGS="-g"
3490          cat >conftest.$ac_ext <<_ACEOF
3491 /* confdefs.h.  */
3492 _ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3495 /* end confdefs.h.  */
3496
3497 int
3498 main ()
3499 {
3500
3501   ;
3502   return 0;
3503 }
3504 _ACEOF
3505 rm -f conftest.$ac_objext
3506 if { (ac_try="$ac_compile"
3507 case "(($ac_try" in
3508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509   *) ac_try_echo=$ac_try;;
3510 esac
3511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3512   (eval "$ac_compile") 2>conftest.er1
3513   ac_status=$?
3514   grep -v '^ *+' conftest.er1 >conftest.err
3515   rm -f conftest.er1
3516   cat conftest.err >&5
3517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518   (exit $ac_status); } && {
3519          test -z "$ac_cxx_werror_flag" ||
3520          test ! -s conftest.err
3521        } && test -s conftest.$ac_objext; then
3522   ac_cv_prog_cxx_g=yes
3523 else
3524   echo "$as_me: failed program was:" >&5
3525 sed 's/^/| /' conftest.$ac_ext >&5
3526
3527
3528 fi
3529
3530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3531 fi
3532
3533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3534 fi
3535
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3538 fi
3539 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3540 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3541 if test "$ac_test_CXXFLAGS" = set; then
3542   CXXFLAGS=$ac_save_CXXFLAGS
3543 elif test $ac_cv_prog_cxx_g = yes; then
3544   if test "$GXX" = yes; then
3545     CXXFLAGS="-g -O2"
3546   else
3547     CXXFLAGS="-g"
3548   fi
3549 else
3550   if test "$GXX" = yes; then
3551     CXXFLAGS="-O2"
3552   else
3553     CXXFLAGS=
3554   fi
3555 fi
3556 ac_ext=c
3557 ac_cpp='$CPP $CPPFLAGS'
3558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3561
3562 if test -n "$ac_tool_prefix"; then
3563   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3564 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3567 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3568   echo $ECHO_N "(cached) $ECHO_C" >&6
3569 else
3570   if test -n "$CPPBIN"; then
3571   ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3572 else
3573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 for as_dir in $PATH
3575 do
3576   IFS=$as_save_IFS
3577   test -z "$as_dir" && as_dir=.
3578   for ac_exec_ext in '' $ac_executable_extensions; do
3579   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3580     ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3581     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3582     break 2
3583   fi
3584 done
3585 done
3586 IFS=$as_save_IFS
3587
3588 fi
3589 fi
3590 CPPBIN=$ac_cv_prog_CPPBIN
3591 if test -n "$CPPBIN"; then
3592   { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3593 echo "${ECHO_T}$CPPBIN" >&6; }
3594 else
3595   { echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6; }
3597 fi
3598
3599
3600 fi
3601 if test -z "$ac_cv_prog_CPPBIN"; then
3602   ac_ct_CPPBIN=$CPPBIN
3603   # Extract the first word of "cpp", so it can be a program name with args.
3604 set dummy cpp; ac_word=$2
3605 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3606 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3607 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3608   echo $ECHO_N "(cached) $ECHO_C" >&6
3609 else
3610   if test -n "$ac_ct_CPPBIN"; then
3611   ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3612 else
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3614 for as_dir in $PATH
3615 do
3616   IFS=$as_save_IFS
3617   test -z "$as_dir" && as_dir=.
3618   for ac_exec_ext in '' $ac_executable_extensions; do
3619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3620     ac_cv_prog_ac_ct_CPPBIN="cpp"
3621     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3622     break 2
3623   fi
3624 done
3625 done
3626 IFS=$as_save_IFS
3627
3628 fi
3629 fi
3630 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3631 if test -n "$ac_ct_CPPBIN"; then
3632   { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3633 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3634 else
3635   { echo "$as_me:$LINENO: result: no" >&5
3636 echo "${ECHO_T}no" >&6; }
3637 fi
3638
3639   if test "x$ac_ct_CPPBIN" = x; then
3640     CPPBIN="cpp"
3641   else
3642     case $cross_compiling:$ac_tool_warned in
3643 yes:)
3644 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3645 whose name does not start with the host triplet.  If you think this
3646 configuration is useful to you, please write to autoconf@gnu.org." >&5
3647 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3648 whose name does not start with the host triplet.  If you think this
3649 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3650 ac_tool_warned=yes ;;
3651 esac
3652     CPPBIN=$ac_ct_CPPBIN
3653   fi
3654 else
3655   CPPBIN="$ac_cv_prog_CPPBIN"
3656 fi
3657
3658
3659 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3660 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3661 if test "${wine_cv_toolsdir+set}" = set; then
3662   echo $ECHO_N "(cached) $ECHO_C" >&6
3663 else
3664   if test -z "$with_wine_tools"; then
3665      if test "$cross_compiling" = "yes"; then
3666        { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3667 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3668    { (exit 1); exit 1; }; }
3669      else
3670        wine_cv_toolsdir="\$(TOPOBJDIR)"
3671      fi
3672    elif test -d "$with_wine_tools/tools/winebuild"; then
3673      case $with_wine_tools in
3674        /*) wine_cv_toolsdir="$with_wine_tools" ;;
3675        *)  wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3676      esac
3677    else
3678      { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3679 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3680    { (exit 1); exit 1; }; }
3681    fi
3682 fi
3683 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3684 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3685 TOOLSDIR=$wine_cv_toolsdir
3686
3687
3688
3689 ac_ext=c
3690 ac_cpp='$CPP $CPPFLAGS'
3691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3695 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3696 # On Suns, sometimes $CPP names a directory.
3697 if test -n "$CPP" && test -d "$CPP"; then
3698   CPP=
3699 fi
3700 if test -z "$CPP"; then
3701   if test "${ac_cv_prog_CPP+set}" = set; then
3702   echo $ECHO_N "(cached) $ECHO_C" >&6
3703 else
3704       # Double quotes because CPP needs to be expanded
3705     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3706     do
3707       ac_preproc_ok=false
3708 for ac_c_preproc_warn_flag in '' yes
3709 do
3710   # Use a header file that comes with gcc, so configuring glibc
3711   # with a fresh cross-compiler works.
3712   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3713   # <limits.h> exists even on freestanding compilers.
3714   # On the NeXT, cc -E runs the code through the compiler's parser,
3715   # not just through cpp. "Syntax error" is here to catch this case.
3716   cat >conftest.$ac_ext <<_ACEOF
3717 /* confdefs.h.  */
3718 _ACEOF
3719 cat confdefs.h >>conftest.$ac_ext
3720 cat >>conftest.$ac_ext <<_ACEOF
3721 /* end confdefs.h.  */
3722 #ifdef __STDC__
3723 # include <limits.h>
3724 #else
3725 # include <assert.h>
3726 #endif
3727                      Syntax error
3728 _ACEOF
3729 if { (ac_try="$ac_cpp conftest.$ac_ext"
3730 case "(($ac_try" in
3731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3732   *) ac_try_echo=$ac_try;;
3733 esac
3734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3735   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3736   ac_status=$?
3737   grep -v '^ *+' conftest.er1 >conftest.err
3738   rm -f conftest.er1
3739   cat conftest.err >&5
3740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3741   (exit $ac_status); } >/dev/null && {
3742          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3743          test ! -s conftest.err
3744        }; then
3745   :
3746 else
3747   echo "$as_me: failed program was:" >&5
3748 sed 's/^/| /' conftest.$ac_ext >&5
3749
3750   # Broken: fails on valid input.
3751 continue
3752 fi
3753
3754 rm -f conftest.err conftest.$ac_ext
3755
3756   # OK, works on sane cases.  Now check whether nonexistent headers
3757   # can be detected and how.
3758   cat >conftest.$ac_ext <<_ACEOF
3759 /* confdefs.h.  */
3760 _ACEOF
3761 cat confdefs.h >>conftest.$ac_ext
3762 cat >>conftest.$ac_ext <<_ACEOF
3763 /* end confdefs.h.  */
3764 #include <ac_nonexistent.h>
3765 _ACEOF
3766 if { (ac_try="$ac_cpp conftest.$ac_ext"
3767 case "(($ac_try" in
3768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769   *) ac_try_echo=$ac_try;;
3770 esac
3771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3772   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3773   ac_status=$?
3774   grep -v '^ *+' conftest.er1 >conftest.err
3775   rm -f conftest.er1
3776   cat conftest.err >&5
3777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778   (exit $ac_status); } >/dev/null && {
3779          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3780          test ! -s conftest.err
3781        }; then
3782   # Broken: success on invalid input.
3783 continue
3784 else
3785   echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3787
3788   # Passes both tests.
3789 ac_preproc_ok=:
3790 break
3791 fi
3792
3793 rm -f conftest.err conftest.$ac_ext
3794
3795 done
3796 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3797 rm -f conftest.err conftest.$ac_ext
3798 if $ac_preproc_ok; then
3799   break
3800 fi
3801
3802     done
3803     ac_cv_prog_CPP=$CPP
3804
3805 fi
3806   CPP=$ac_cv_prog_CPP
3807 else
3808   ac_cv_prog_CPP=$CPP
3809 fi
3810 { echo "$as_me:$LINENO: result: $CPP" >&5
3811 echo "${ECHO_T}$CPP" >&6; }
3812 ac_preproc_ok=false
3813 for ac_c_preproc_warn_flag in '' yes
3814 do
3815   # Use a header file that comes with gcc, so configuring glibc
3816   # with a fresh cross-compiler works.
3817   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3818   # <limits.h> exists even on freestanding compilers.
3819   # On the NeXT, cc -E runs the code through the compiler's parser,
3820   # not just through cpp. "Syntax error" is here to catch this case.
3821   cat >conftest.$ac_ext <<_ACEOF
3822 /* confdefs.h.  */
3823 _ACEOF
3824 cat confdefs.h >>conftest.$ac_ext
3825 cat >>conftest.$ac_ext <<_ACEOF
3826 /* end confdefs.h.  */
3827 #ifdef __STDC__
3828 # include <limits.h>
3829 #else
3830 # include <assert.h>
3831 #endif
3832                      Syntax error
3833 _ACEOF
3834 if { (ac_try="$ac_cpp conftest.$ac_ext"
3835 case "(($ac_try" in
3836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3837   *) ac_try_echo=$ac_try;;
3838 esac
3839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3840   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3841   ac_status=$?
3842   grep -v '^ *+' conftest.er1 >conftest.err
3843   rm -f conftest.er1
3844   cat conftest.err >&5
3845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846   (exit $ac_status); } >/dev/null && {
3847          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3848          test ! -s conftest.err
3849        }; then
3850   :
3851 else
3852   echo "$as_me: failed program was:" >&5
3853 sed 's/^/| /' conftest.$ac_ext >&5
3854
3855   # Broken: fails on valid input.
3856 continue
3857 fi
3858
3859 rm -f conftest.err conftest.$ac_ext
3860
3861   # OK, works on sane cases.  Now check whether nonexistent headers
3862   # can be detected and how.
3863   cat >conftest.$ac_ext <<_ACEOF
3864 /* confdefs.h.  */
3865 _ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h.  */
3869 #include <ac_nonexistent.h>
3870 _ACEOF
3871 if { (ac_try="$ac_cpp conftest.$ac_ext"
3872 case "(($ac_try" in
3873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874   *) ac_try_echo=$ac_try;;
3875 esac
3876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3877   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3878   ac_status=$?
3879   grep -v '^ *+' conftest.er1 >conftest.err
3880   rm -f conftest.er1
3881   cat conftest.err >&5
3882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883   (exit $ac_status); } >/dev/null && {
3884          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3885          test ! -s conftest.err
3886        }; then
3887   # Broken: success on invalid input.
3888 continue
3889 else
3890   echo "$as_me: failed program was:" >&5
3891 sed 's/^/| /' conftest.$ac_ext >&5
3892
3893   # Passes both tests.
3894 ac_preproc_ok=:
3895 break
3896 fi
3897
3898 rm -f conftest.err conftest.$ac_ext
3899
3900 done
3901 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3902 rm -f conftest.err conftest.$ac_ext
3903 if $ac_preproc_ok; then
3904   :
3905 else
3906   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3907 See \`config.log' for more details." >&5
3908 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3909 See \`config.log' for more details." >&2;}
3910    { (exit 1); exit 1; }; }
3911 fi
3912
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918
3919
3920 { echo "$as_me:$LINENO: checking for X" >&5
3921 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3922
3923
3924 # Check whether --with-x was given.
3925 if test "${with_x+set}" = set; then
3926   withval=$with_x;
3927 fi
3928
3929 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3930 if test "x$with_x" = xno; then
3931   # The user explicitly disabled X.
3932   have_x=disabled
3933 else
3934   case $x_includes,$x_libraries in #(
3935     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3936 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3937    { (exit 1); exit 1; }; };; #(
3938     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3939   echo $ECHO_N "(cached) $ECHO_C" >&6
3940 else
3941   # One or both of the vars are not set, and there is no cached value.
3942 ac_x_includes=no ac_x_libraries=no
3943 rm -f -r conftest.dir
3944 if mkdir conftest.dir; then
3945   cd conftest.dir
3946   cat >Imakefile <<'_ACEOF'
3947 incroot:
3948         @echo incroot='${INCROOT}'
3949 usrlibdir:
3950         @echo usrlibdir='${USRLIBDIR}'
3951 libdir:
3952         @echo libdir='${LIBDIR}'
3953 _ACEOF
3954   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3955     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3956     for ac_var in incroot usrlibdir libdir; do
3957       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3958     done
3959     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3960     for ac_extension in a so sl; do
3961       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3962          test -f "$ac_im_libdir/libX11.$ac_extension"; then
3963         ac_im_usrlibdir=$ac_im_libdir; break
3964       fi
3965     done
3966     # Screen out bogus values from the imake configuration.  They are
3967     # bogus both because they are the default anyway, and because
3968     # using them would break gcc on systems where it needs fixed includes.
3969     case $ac_im_incroot in
3970         /usr/include) ac_x_includes= ;;
3971         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3972     esac
3973     case $ac_im_usrlibdir in
3974         /usr/lib | /lib) ;;
3975         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3976     esac
3977   fi
3978   cd ..
3979   rm -f -r conftest.dir
3980 fi
3981
3982 # Standard set of common directories for X headers.
3983 # Check X11 before X11Rn because it is often a symlink to the current release.
3984 ac_x_header_dirs='
3985 /usr/X11/include
3986 /usr/X11R6/include
3987 /usr/X11R5/include
3988 /usr/X11R4/include
3989
3990 /usr/include/X11
3991 /usr/include/X11R6
3992 /usr/include/X11R5
3993 /usr/include/X11R4
3994
3995 /usr/local/X11/include
3996 /usr/local/X11R6/include
3997 /usr/local/X11R5/include
3998 /usr/local/X11R4/include
3999
4000 /usr/local/include/X11
4001 /usr/local/include/X11R6
4002 /usr/local/include/X11R5
4003 /usr/local/include/X11R4
4004
4005 /usr/X386/include
4006 /usr/x386/include
4007 /usr/XFree86/include/X11
4008
4009 /usr/include
4010 /usr/local/include
4011 /usr/unsupported/include
4012 /usr/athena/include
4013 /usr/local/x11r5/include
4014 /usr/lpp/Xamples/include
4015
4016 /usr/openwin/include
4017 /usr/openwin/share/include'
4018
4019 if test "$ac_x_includes" = no; then
4020   # Guess where to find include files, by looking for Xlib.h.
4021   # First, try using that file with no special directory specified.
4022   cat >conftest.$ac_ext <<_ACEOF
4023 /* confdefs.h.  */
4024 _ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h.  */
4028 #include <X11/Xlib.h>
4029 _ACEOF
4030 if { (ac_try="$ac_cpp conftest.$ac_ext"
4031 case "(($ac_try" in
4032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033   *) ac_try_echo=$ac_try;;
4034 esac
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4037   ac_status=$?
4038   grep -v '^ *+' conftest.er1 >conftest.err
4039   rm -f conftest.er1
4040   cat conftest.err >&5
4041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042   (exit $ac_status); } >/dev/null && {
4043          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4044          test ! -s conftest.err
4045        }; then
4046   # We can compile using X headers with no special include directory.
4047 ac_x_includes=
4048 else
4049   echo "$as_me: failed program was:" >&5
4050 sed 's/^/| /' conftest.$ac_ext >&5
4051
4052   for ac_dir in $ac_x_header_dirs; do
4053   if test -r "$ac_dir/X11/Xlib.h"; then
4054     ac_x_includes=$ac_dir
4055     break
4056   fi
4057 done
4058 fi
4059
4060 rm -f conftest.err conftest.$ac_ext
4061 fi # $ac_x_includes = no
4062
4063 if test "$ac_x_libraries" = no; then
4064   # Check for the libraries.
4065   # See if we find them without any special options.
4066   # Don't add to $LIBS permanently.
4067   ac_save_LIBS=$LIBS
4068   LIBS="-lX11 $LIBS"
4069   cat >conftest.$ac_ext <<_ACEOF
4070 /* confdefs.h.  */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h.  */
4075 #include <X11/Xlib.h>
4076 int
4077 main ()
4078 {
4079 XrmInitialize ()
4080   ;
4081   return 0;
4082 }
4083 _ACEOF
4084 rm -f conftest.$ac_objext conftest$ac_exeext
4085 if { (ac_try="$ac_link"
4086 case "(($ac_try" in
4087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4088   *) ac_try_echo=$ac_try;;
4089 esac
4090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4091   (eval "$ac_link") 2>conftest.er1
4092   ac_status=$?
4093   grep -v '^ *+' conftest.er1 >conftest.err
4094   rm -f conftest.er1
4095   cat conftest.err >&5
4096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097   (exit $ac_status); } && {
4098          test -z "$ac_c_werror_flag" ||
4099          test ! -s conftest.err
4100        } && test -s conftest$ac_exeext &&
4101        $as_test_x conftest$ac_exeext; then
4102   LIBS=$ac_save_LIBS
4103 # We can link X programs with no special library path.
4104 ac_x_libraries=
4105 else
4106   echo "$as_me: failed program was:" >&5
4107 sed 's/^/| /' conftest.$ac_ext >&5
4108
4109         LIBS=$ac_save_LIBS
4110 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4111 do
4112   # Don't even attempt the hair of trying to link an X program!
4113   for ac_extension in a so sl; do
4114     if test -r "$ac_dir/libX11.$ac_extension"; then
4115       ac_x_libraries=$ac_dir
4116       break 2
4117     fi
4118   done
4119 done
4120 fi
4121
4122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4123       conftest$ac_exeext conftest.$ac_ext
4124 fi # $ac_x_libraries = no
4125
4126 case $ac_x_includes,$ac_x_libraries in #(
4127   no,* | *,no | *\'*)
4128     # Didn't find X, or a directory has "'" in its name.
4129     ac_cv_have_x="have_x=no";; #(
4130   *)
4131     # Record where we found X for the cache.
4132     ac_cv_have_x="have_x=yes\
4133         ac_x_includes='$ac_x_includes'\
4134         ac_x_libraries='$ac_x_libraries'"
4135 esac
4136 fi
4137 ;; #(
4138     *) have_x=yes;;
4139   esac
4140   eval "$ac_cv_have_x"
4141 fi # $with_x != no
4142
4143 if test "$have_x" != yes; then
4144   { echo "$as_me:$LINENO: result: $have_x" >&5
4145 echo "${ECHO_T}$have_x" >&6; }
4146   no_x=yes
4147 else
4148   # If each of the values was on the command line, it overrides each guess.
4149   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4150   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4151   # Update the cache value to reflect the command line values.
4152   ac_cv_have_x="have_x=yes\
4153         ac_x_includes='$x_includes'\
4154         ac_x_libraries='$x_libraries'"
4155   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4156 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4157 fi
4158
4159 if test "$no_x" = yes; then
4160   # Not all programs may use this symbol, but it does not hurt to define it.
4161
4162 cat >>confdefs.h <<\_ACEOF
4163 #define X_DISPLAY_MISSING 1
4164 _ACEOF
4165
4166   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4167 else
4168   if test -n "$x_includes"; then
4169     X_CFLAGS="$X_CFLAGS -I$x_includes"
4170   fi
4171
4172   # It would also be nice to do this for all -L options, not just this one.
4173   if test -n "$x_libraries"; then
4174     X_LIBS="$X_LIBS -L$x_libraries"
4175     # For Solaris; some versions of Sun CC require a space after -R and
4176     # others require no space.  Words are not sufficient . . . .
4177     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4178 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4179     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4180     ac_xsave_c_werror_flag=$ac_c_werror_flag
4181     ac_c_werror_flag=yes
4182     cat >conftest.$ac_ext <<_ACEOF
4183 /* confdefs.h.  */
4184 _ACEOF
4185 cat confdefs.h >>conftest.$ac_ext
4186 cat >>conftest.$ac_ext <<_ACEOF
4187 /* end confdefs.h.  */
4188
4189 int
4190 main ()
4191 {
4192
4193   ;
4194   return 0;
4195 }
4196 _ACEOF
4197 rm -f conftest.$ac_objext conftest$ac_exeext
4198 if { (ac_try="$ac_link"
4199 case "(($ac_try" in
4200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4201   *) ac_try_echo=$ac_try;;
4202 esac
4203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4204   (eval "$ac_link") 2>conftest.er1
4205   ac_status=$?
4206   grep -v '^ *+' conftest.er1 >conftest.err
4207   rm -f conftest.er1
4208   cat conftest.err >&5
4209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210   (exit $ac_status); } && {
4211          test -z "$ac_c_werror_flag" ||
4212          test ! -s conftest.err
4213        } && test -s conftest$ac_exeext &&
4214        $as_test_x conftest$ac_exeext; then
4215   { echo "$as_me:$LINENO: result: no" >&5
4216 echo "${ECHO_T}no" >&6; }
4217        X_LIBS="$X_LIBS -R$x_libraries"
4218 else
4219   echo "$as_me: failed program was:" >&5
4220 sed 's/^/| /' conftest.$ac_ext >&5
4221
4222         LIBS="$ac_xsave_LIBS -R $x_libraries"
4223        cat >conftest.$ac_ext <<_ACEOF
4224 /* confdefs.h.  */
4225 _ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h.  */
4229
4230 int
4231 main ()
4232 {
4233
4234   ;
4235   return 0;
4236 }
4237 _ACEOF
4238 rm -f conftest.$ac_objext conftest$ac_exeext
4239 if { (ac_try="$ac_link"
4240 case "(($ac_try" in
4241   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4242   *) ac_try_echo=$ac_try;;
4243 esac
4244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4245   (eval "$ac_link") 2>conftest.er1
4246   ac_status=$?
4247   grep -v '^ *+' conftest.er1 >conftest.err
4248   rm -f conftest.er1
4249   cat conftest.err >&5
4250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251   (exit $ac_status); } && {
4252          test -z "$ac_c_werror_flag" ||
4253          test ! -s conftest.err
4254        } && test -s conftest$ac_exeext &&
4255        $as_test_x conftest$ac_exeext; then
4256   { echo "$as_me:$LINENO: result: yes" >&5
4257 echo "${ECHO_T}yes" >&6; }
4258           X_LIBS="$X_LIBS -R $x_libraries"
4259 else
4260   echo "$as_me: failed program was:" >&5
4261 sed 's/^/| /' conftest.$ac_ext >&5
4262
4263         { echo "$as_me:$LINENO: result: neither works" >&5
4264 echo "${ECHO_T}neither works" >&6; }
4265 fi
4266
4267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4268       conftest$ac_exeext conftest.$ac_ext
4269 fi
4270
4271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4272       conftest$ac_exeext conftest.$ac_ext
4273     ac_c_werror_flag=$ac_xsave_c_werror_flag
4274     LIBS=$ac_xsave_LIBS
4275   fi
4276
4277   # Check for system-dependent libraries X programs must link with.
4278   # Do this before checking for the system-independent R6 libraries
4279   # (-lICE), since we may need -lsocket or whatever for X linking.
4280
4281   if test "$ISC" = yes; then
4282     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4283   else
4284     # Martyn Johnson says this is needed for Ultrix, if the X
4285     # libraries were built with DECnet support.  And Karl Berry says
4286     # the Alpha needs dnet_stub (dnet does not exist).
4287     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4288     cat >conftest.$ac_ext <<_ACEOF
4289 /* confdefs.h.  */
4290 _ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h.  */
4294
4295 /* Override any GCC internal prototype to avoid an error.
4296    Use char because int might match the return type of a GCC
4297    builtin and then its argument prototype would still apply.  */
4298 #ifdef __cplusplus
4299 extern "C"
4300 #endif
4301 char XOpenDisplay ();
4302 int
4303 main ()
4304 {
4305 return XOpenDisplay ();
4306   ;
4307   return 0;
4308 }
4309 _ACEOF
4310 rm -f conftest.$ac_objext conftest$ac_exeext
4311 if { (ac_try="$ac_link"
4312 case "(($ac_try" in
4313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4314   *) ac_try_echo=$ac_try;;
4315 esac
4316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4317   (eval "$ac_link") 2>conftest.er1
4318   ac_status=$?
4319   grep -v '^ *+' conftest.er1 >conftest.err
4320   rm -f conftest.er1
4321   cat conftest.err >&5
4322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323   (exit $ac_status); } && {
4324          test -z "$ac_c_werror_flag" ||
4325          test ! -s conftest.err
4326        } && test -s conftest$ac_exeext &&
4327        $as_test_x conftest$ac_exeext; then
4328   :
4329 else
4330   echo "$as_me: failed program was:" >&5
4331 sed 's/^/| /' conftest.$ac_ext >&5
4332
4333         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4334 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4335 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4336   echo $ECHO_N "(cached) $ECHO_C" >&6
4337 else
4338   ac_check_lib_save_LIBS=$LIBS
4339 LIBS="-ldnet  $LIBS"
4340 cat >conftest.$ac_ext <<_ACEOF
4341 /* confdefs.h.  */
4342 _ACEOF
4343 cat confdefs.h >>conftest.$ac_ext
4344 cat >>conftest.$ac_ext <<_ACEOF
4345 /* end confdefs.h.  */
4346
4347 /* Override any GCC internal prototype to avoid an error.
4348    Use char because int might match the return type of a GCC
4349    builtin and then its argument prototype would still apply.  */
4350 #ifdef __cplusplus
4351 extern "C"
4352 #endif
4353 char dnet_ntoa ();
4354 int
4355 main ()
4356 {
4357 return dnet_ntoa ();
4358   ;
4359   return 0;
4360 }
4361 _ACEOF
4362 rm -f conftest.$ac_objext conftest$ac_exeext
4363 if { (ac_try="$ac_link"
4364 case "(($ac_try" in
4365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4366   *) ac_try_echo=$ac_try;;
4367 esac
4368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4369   (eval "$ac_link") 2>conftest.er1
4370   ac_status=$?
4371   grep -v '^ *+' conftest.er1 >conftest.err
4372   rm -f conftest.er1
4373   cat conftest.err >&5
4374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375   (exit $ac_status); } && {
4376          test -z "$ac_c_werror_flag" ||
4377          test ! -s conftest.err
4378        } && test -s conftest$ac_exeext &&
4379        $as_test_x conftest$ac_exeext; then
4380   ac_cv_lib_dnet_dnet_ntoa=yes
4381 else
4382   echo "$as_me: failed program was:" >&5
4383 sed 's/^/| /' conftest.$ac_ext >&5
4384
4385         ac_cv_lib_dnet_dnet_ntoa=no
4386 fi
4387
4388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4389       conftest$ac_exeext conftest.$ac_ext
4390 LIBS=$ac_check_lib_save_LIBS
4391 fi
4392 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4393 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4394 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4395   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4396 fi
4397
4398     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4399       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4400 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4401 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4402   echo $ECHO_N "(cached) $ECHO_C" >&6
4403 else
4404   ac_check_lib_save_LIBS=$LIBS
4405 LIBS="-ldnet_stub  $LIBS"
4406 cat >conftest.$ac_ext <<_ACEOF
4407 /* confdefs.h.  */
4408 _ACEOF
4409 cat confdefs.h >>conftest.$ac_ext
4410 cat >>conftest.$ac_ext <<_ACEOF
4411 /* end confdefs.h.  */
4412
4413 /* Override any GCC internal prototype to avoid an error.
4414    Use char because int might match the return type of a GCC
4415    builtin and then its argument prototype would still apply.  */
4416 #ifdef __cplusplus
4417 extern "C"
4418 #endif
4419 char dnet_ntoa ();
4420 int
4421 main ()
4422 {
4423 return dnet_ntoa ();
4424   ;
4425   return 0;
4426 }
4427 _ACEOF
4428 rm -f conftest.$ac_objext conftest$ac_exeext
4429 if { (ac_try="$ac_link"
4430 case "(($ac_try" in
4431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4432   *) ac_try_echo=$ac_try;;
4433 esac
4434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4435   (eval "$ac_link") 2>conftest.er1
4436   ac_status=$?
4437   grep -v '^ *+' conftest.er1 >conftest.err
4438   rm -f conftest.er1
4439   cat conftest.err >&5
4440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441   (exit $ac_status); } && {
4442          test -z "$ac_c_werror_flag" ||
4443          test ! -s conftest.err
4444        } && test -s conftest$ac_exeext &&
4445        $as_test_x conftest$ac_exeext; then
4446   ac_cv_lib_dnet_stub_dnet_ntoa=yes
4447 else
4448   echo "$as_me: failed program was:" >&5
4449 sed 's/^/| /' conftest.$ac_ext >&5
4450
4451         ac_cv_lib_dnet_stub_dnet_ntoa=no
4452 fi
4453
4454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4455       conftest$ac_exeext conftest.$ac_ext
4456 LIBS=$ac_check_lib_save_LIBS
4457 fi
4458 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4459 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4460 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4461   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4462 fi
4463
4464     fi
4465 fi
4466
4467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4468       conftest$ac_exeext conftest.$ac_ext
4469     LIBS="$ac_xsave_LIBS"
4470
4471     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4472     # to get the SysV transport functions.
4473     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4474     # needs -lnsl.
4475     # The nsl library prevents programs from opening the X display
4476     # on Irix 5.2, according to T.E. Dickey.
4477     # The functions gethostbyname, getservbyname, and inet_addr are
4478     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4479     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4480 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4481 if test "${ac_cv_func_gethostbyname+set}" = set; then
4482   echo $ECHO_N "(cached) $ECHO_C" >&6
4483 else
4484   cat >conftest.$ac_ext <<_ACEOF
4485 /* confdefs.h.  */
4486 _ACEOF
4487 cat confdefs.h >>conftest.$ac_ext
4488 cat >>conftest.$ac_ext <<_ACEOF
4489 /* end confdefs.h.  */
4490 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4492 #define gethostbyname innocuous_gethostbyname
4493
4494 /* System header to define __stub macros and hopefully few prototypes,
4495     which can conflict with char gethostbyname (); below.
4496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4497     <limits.h> exists even on freestanding compilers.  */
4498
4499 #ifdef __STDC__
4500 # include <limits.h>
4501 #else
4502 # include <assert.h>
4503 #endif
4504
4505 #undef gethostbyname
4506
4507 /* Override any GCC internal prototype to avoid an error.
4508    Use char because int might match the return type of a GCC
4509    builtin and then its argument prototype would still apply.  */
4510 #ifdef __cplusplus
4511 extern "C"
4512 #endif
4513 char gethostbyname ();
4514 /* The GNU C library defines this for functions which it implements
4515     to always fail with ENOSYS.  Some functions are actually named
4516     something starting with __ and the normal name is an alias.  */
4517 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4518 choke me
4519 #endif
4520
4521 int
4522 main ()
4523 {
4524 return gethostbyname ();
4525   ;
4526   return 0;
4527 }
4528 _ACEOF
4529 rm -f conftest.$ac_objext conftest$ac_exeext
4530 if { (ac_try="$ac_link"
4531 case "(($ac_try" in
4532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533   *) ac_try_echo=$ac_try;;
4534 esac
4535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4536   (eval "$ac_link") 2>conftest.er1
4537   ac_status=$?
4538   grep -v '^ *+' conftest.er1 >conftest.err
4539   rm -f conftest.er1
4540   cat conftest.err >&5
4541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542   (exit $ac_status); } && {
4543          test -z "$ac_c_werror_flag" ||
4544          test ! -s conftest.err
4545        } && test -s conftest$ac_exeext &&
4546        $as_test_x conftest$ac_exeext; then
4547   ac_cv_func_gethostbyname=yes
4548 else
4549   echo "$as_me: failed program was:" >&5
4550 sed 's/^/| /' conftest.$ac_ext >&5
4551
4552         ac_cv_func_gethostbyname=no
4553 fi
4554
4555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4556       conftest$ac_exeext conftest.$ac_ext
4557 fi
4558 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4559 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4560
4561     if test $ac_cv_func_gethostbyname = no; then
4562       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4563 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4564 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4565   echo $ECHO_N "(cached) $ECHO_C" >&6
4566 else
4567   ac_check_lib_save_LIBS=$LIBS
4568 LIBS="-lnsl  $LIBS"
4569 cat >conftest.$ac_ext <<_ACEOF
4570 /* confdefs.h.  */
4571 _ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h.  */
4575
4576 /* Override any GCC internal prototype to avoid an error.
4577    Use char because int might match the return type of a GCC
4578    builtin and then its argument prototype would still apply.  */
4579 #ifdef __cplusplus
4580 extern "C"
4581 #endif
4582 char gethostbyname ();
4583 int
4584 main ()
4585 {
4586 return gethostbyname ();
4587   ;
4588   return 0;
4589 }
4590 _ACEOF
4591 rm -f conftest.$ac_objext conftest$ac_exeext
4592 if { (ac_try="$ac_link"
4593 case "(($ac_try" in
4594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4595   *) ac_try_echo=$ac_try;;
4596 esac
4597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4598   (eval "$ac_link") 2>conftest.er1
4599   ac_status=$?
4600   grep -v '^ *+' conftest.er1 >conftest.err
4601   rm -f conftest.er1
4602   cat conftest.err >&5
4603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604   (exit $ac_status); } && {
4605          test -z "$ac_c_werror_flag" ||
4606          test ! -s conftest.err
4607        } && test -s conftest$ac_exeext &&
4608        $as_test_x conftest$ac_exeext; then
4609   ac_cv_lib_nsl_gethostbyname=yes
4610 else
4611   echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.$ac_ext >&5
4613
4614         ac_cv_lib_nsl_gethostbyname=no
4615 fi
4616
4617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4618       conftest$ac_exeext conftest.$ac_ext
4619 LIBS=$ac_check_lib_save_LIBS
4620 fi
4621 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4622 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4623 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4624   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4625 fi
4626
4627       if test $ac_cv_lib_nsl_gethostbyname = no; then
4628         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4629 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4630 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4631   echo $ECHO_N "(cached) $ECHO_C" >&6
4632 else
4633   ac_check_lib_save_LIBS=$LIBS
4634 LIBS="-lbsd  $LIBS"
4635 cat >conftest.$ac_ext <<_ACEOF
4636 /* confdefs.h.  */
4637 _ACEOF
4638 cat confdefs.h >>conftest.$ac_ext
4639 cat >>conftest.$ac_ext <<_ACEOF
4640 /* end confdefs.h.  */
4641
4642 /* Override any GCC internal prototype to avoid an error.
4643    Use char because int might match the return type of a GCC
4644    builtin and then its argument prototype would still apply.  */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char gethostbyname ();
4649 int
4650 main ()
4651 {
4652 return gethostbyname ();
4653   ;
4654   return 0;
4655 }
4656 _ACEOF
4657 rm -f conftest.$ac_objext conftest$ac_exeext
4658 if { (ac_try="$ac_link"
4659 case "(($ac_try" in
4660   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661   *) ac_try_echo=$ac_try;;
4662 esac
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664   (eval "$ac_link") 2>conftest.er1
4665   ac_status=$?
4666   grep -v '^ *+' conftest.er1 >conftest.err
4667   rm -f conftest.er1
4668   cat conftest.err >&5
4669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670   (exit $ac_status); } && {
4671          test -z "$ac_c_werror_flag" ||
4672          test ! -s conftest.err
4673        } && test -s conftest$ac_exeext &&
4674        $as_test_x conftest$ac_exeext; then
4675   ac_cv_lib_bsd_gethostbyname=yes
4676 else
4677   echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4679
4680         ac_cv_lib_bsd_gethostbyname=no
4681 fi
4682
4683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4684       conftest$ac_exeext conftest.$ac_ext
4685 LIBS=$ac_check_lib_save_LIBS
4686 fi
4687 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4688 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4689 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4690   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4691 fi
4692
4693       fi
4694     fi
4695
4696     # lieder@skyler.mavd.honeywell.com says without -lsocket,
4697     # socket/setsockopt and other routines are undefined under SCO ODT
4698     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
4699     # on later versions), says Simon Leinen: it contains gethostby*
4700     # variants that don't use the name server (or something).  -lsocket
4701     # must be given before -lnsl if both are needed.  We assume that
4702     # if connect needs -lnsl, so does gethostbyname.
4703     { echo "$as_me:$LINENO: checking for connect" >&5
4704 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4705 if test "${ac_cv_func_connect+set}" = set; then
4706   echo $ECHO_N "(cached) $ECHO_C" >&6
4707 else
4708   cat >conftest.$ac_ext <<_ACEOF
4709 /* confdefs.h.  */
4710 _ACEOF
4711 cat confdefs.h >>conftest.$ac_ext
4712 cat >>conftest.$ac_ext <<_ACEOF
4713 /* end confdefs.h.  */
4714 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4716 #define connect innocuous_connect
4717
4718 /* System header to define __stub macros and hopefully few prototypes,
4719     which can conflict with char connect (); below.
4720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4721     <limits.h> exists even on freestanding compilers.  */
4722
4723 #ifdef __STDC__
4724 # include <limits.h>
4725 #else
4726 # include <assert.h>
4727 #endif
4728
4729 #undef connect
4730
4731 /* Override any GCC internal prototype to avoid an error.
4732    Use char because int might match the return type of a GCC
4733    builtin and then its argument prototype would still apply.  */
4734 #ifdef __cplusplus
4735 extern "C"
4736 #endif
4737 char connect ();
4738 /* The GNU C library defines this for functions which it implements
4739     to always fail with ENOSYS.  Some functions are actually named
4740     something starting with __ and the normal name is an alias.  */
4741 #if defined __stub_connect || defined __stub___connect
4742 choke me
4743 #endif
4744
4745 int
4746 main ()
4747 {
4748 return connect ();
4749   ;
4750   return 0;
4751 }
4752 _ACEOF
4753 rm -f conftest.$ac_objext conftest$ac_exeext
4754 if { (ac_try="$ac_link"
4755 case "(($ac_try" in
4756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4757   *) ac_try_echo=$ac_try;;
4758 esac
4759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4760   (eval "$ac_link") 2>conftest.er1
4761   ac_status=$?
4762   grep -v '^ *+' conftest.er1 >conftest.err
4763   rm -f conftest.er1
4764   cat conftest.err >&5
4765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4766   (exit $ac_status); } && {
4767          test -z "$ac_c_werror_flag" ||
4768          test ! -s conftest.err
4769        } && test -s conftest$ac_exeext &&
4770        $as_test_x conftest$ac_exeext; then
4771   ac_cv_func_connect=yes
4772 else
4773   echo "$as_me: failed program was:" >&5
4774 sed 's/^/| /' conftest.$ac_ext >&5
4775
4776         ac_cv_func_connect=no
4777 fi
4778
4779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4780       conftest$ac_exeext conftest.$ac_ext
4781 fi
4782 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4783 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4784
4785     if test $ac_cv_func_connect = no; then
4786       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4787 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4788 if test "${ac_cv_lib_socket_connect+set}" = set; then
4789   echo $ECHO_N "(cached) $ECHO_C" >&6
4790 else
4791   ac_check_lib_save_LIBS=$LIBS
4792 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4793 cat >conftest.$ac_ext <<_ACEOF
4794 /* confdefs.h.  */
4795 _ACEOF
4796 cat confdefs.h >>conftest.$ac_ext
4797 cat >>conftest.$ac_ext <<_ACEOF
4798 /* end confdefs.h.  */
4799
4800 /* Override any GCC internal prototype to avoid an error.
4801    Use char because int might match the return type of a GCC
4802    builtin and then its argument prototype would still apply.  */
4803 #ifdef __cplusplus
4804 extern "C"
4805 #endif
4806 char connect ();
4807 int
4808 main ()
4809 {
4810 return connect ();
4811   ;
4812   return 0;
4813 }
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819   *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822   (eval "$ac_link") 2>conftest.er1
4823   ac_status=$?
4824   grep -v '^ *+' conftest.er1 >conftest.err
4825   rm -f conftest.er1
4826   cat conftest.err >&5
4827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828   (exit $ac_status); } && {
4829          test -z "$ac_c_werror_flag" ||
4830          test ! -s conftest.err
4831        } && test -s conftest$ac_exeext &&
4832        $as_test_x conftest$ac_exeext; then
4833   ac_cv_lib_socket_connect=yes
4834 else
4835   echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4837
4838         ac_cv_lib_socket_connect=no
4839 fi
4840
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842       conftest$ac_exeext conftest.$ac_ext
4843 LIBS=$ac_check_lib_save_LIBS
4844 fi
4845 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4846 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4847 if test $ac_cv_lib_socket_connect = yes; then
4848   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4849 fi
4850
4851     fi
4852
4853     # Guillermo Gomez says -lposix is necessary on A/UX.
4854     { echo "$as_me:$LINENO: checking for remove" >&5
4855 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4856 if test "${ac_cv_func_remove+set}" = set; then
4857   echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859   cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h.  */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h.  */
4865 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4867 #define remove innocuous_remove
4868
4869 /* System header to define __stub macros and hopefully few prototypes,
4870     which can conflict with char remove (); below.
4871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4872     <limits.h> exists even on freestanding compilers.  */
4873
4874 #ifdef __STDC__
4875 # include <limits.h>
4876 #else
4877 # include <assert.h>
4878 #endif
4879
4880 #undef remove
4881
4882 /* Override any GCC internal prototype to avoid an error.
4883    Use char because int might match the return type of a GCC
4884    builtin and then its argument prototype would still apply.  */
4885 #ifdef __cplusplus
4886 extern "C"
4887 #endif
4888 char remove ();
4889 /* The GNU C library defines this for functions which it implements
4890     to always fail with ENOSYS.  Some functions are actually named
4891     something starting with __ and the normal name is an alias.  */
4892 #if defined __stub_remove || defined __stub___remove
4893 choke me
4894 #endif
4895
4896 int
4897 main ()
4898 {
4899 return remove ();
4900   ;
4901   return 0;
4902 }
4903 _ACEOF
4904 rm -f conftest.$ac_objext conftest$ac_exeext
4905 if { (ac_try="$ac_link"
4906 case "(($ac_try" in
4907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4908   *) ac_try_echo=$ac_try;;
4909 esac
4910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4911   (eval "$ac_link") 2>conftest.er1
4912   ac_status=$?
4913   grep -v '^ *+' conftest.er1 >conftest.err
4914   rm -f conftest.er1
4915   cat conftest.err >&5
4916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4917   (exit $ac_status); } && {
4918          test -z "$ac_c_werror_flag" ||
4919          test ! -s conftest.err
4920        } && test -s conftest$ac_exeext &&
4921        $as_test_x conftest$ac_exeext; then
4922   ac_cv_func_remove=yes
4923 else
4924   echo "$as_me: failed program was:" >&5
4925 sed 's/^/| /' conftest.$ac_ext >&5
4926
4927         ac_cv_func_remove=no
4928 fi
4929
4930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4931       conftest$ac_exeext conftest.$ac_ext
4932 fi
4933 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4934 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4935
4936     if test $ac_cv_func_remove = no; then
4937       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4938 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4939 if test "${ac_cv_lib_posix_remove+set}" = set; then
4940   echo $ECHO_N "(cached) $ECHO_C" >&6
4941 else
4942   ac_check_lib_save_LIBS=$LIBS
4943 LIBS="-lposix  $LIBS"
4944 cat >conftest.$ac_ext <<_ACEOF
4945 /* confdefs.h.  */
4946 _ACEOF
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h.  */
4950
4951 /* Override any GCC internal prototype to avoid an error.
4952    Use char because int might match the return type of a GCC
4953    builtin and then its argument prototype would still apply.  */
4954 #ifdef __cplusplus
4955 extern "C"
4956 #endif
4957 char remove ();
4958 int
4959 main ()
4960 {
4961 return remove ();
4962   ;
4963   return 0;
4964 }
4965 _ACEOF
4966 rm -f conftest.$ac_objext conftest$ac_exeext
4967 if { (ac_try="$ac_link"
4968 case "(($ac_try" in
4969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4970   *) ac_try_echo=$ac_try;;
4971 esac
4972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4973   (eval "$ac_link") 2>conftest.er1
4974   ac_status=$?
4975   grep -v '^ *+' conftest.er1 >conftest.err
4976   rm -f conftest.er1
4977   cat conftest.err >&5
4978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979   (exit $ac_status); } && {
4980          test -z "$ac_c_werror_flag" ||
4981          test ! -s conftest.err
4982        } && test -s conftest$ac_exeext &&
4983        $as_test_x conftest$ac_exeext; then
4984   ac_cv_lib_posix_remove=yes
4985 else
4986   echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4988
4989         ac_cv_lib_posix_remove=no
4990 fi
4991
4992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4993       conftest$ac_exeext conftest.$ac_ext
4994 LIBS=$ac_check_lib_save_LIBS
4995 fi
4996 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4997 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4998 if test $ac_cv_lib_posix_remove = yes; then
4999   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5000 fi
5001
5002     fi
5003
5004     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5005     { echo "$as_me:$LINENO: checking for shmat" >&5
5006 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5007 if test "${ac_cv_func_shmat+set}" = set; then
5008   echo $ECHO_N "(cached) $ECHO_C" >&6
5009 else
5010   cat >conftest.$ac_ext <<_ACEOF
5011 /* confdefs.h.  */
5012 _ACEOF
5013 cat confdefs.h >>conftest.$ac_ext
5014 cat >>conftest.$ac_ext <<_ACEOF
5015 /* end confdefs.h.  */
5016 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5018 #define shmat innocuous_shmat
5019
5020 /* System header to define __stub macros and hopefully few prototypes,
5021     which can conflict with char shmat (); below.
5022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5023     <limits.h> exists even on freestanding compilers.  */
5024
5025 #ifdef __STDC__
5026 # include <limits.h>
5027 #else
5028 # include <assert.h>
5029 #endif
5030
5031 #undef shmat
5032
5033 /* Override any GCC internal prototype to avoid an error.
5034    Use char because int might match the return type of a GCC
5035    builtin and then its argument prototype would still apply.  */
5036 #ifdef __cplusplus
5037 extern "C"
5038 #endif
5039 char shmat ();
5040 /* The GNU C library defines this for functions which it implements
5041     to always fail with ENOSYS.  Some functions are actually named
5042     something starting with __ and the normal name is an alias.  */
5043 #if defined __stub_shmat || defined __stub___shmat
5044 choke me
5045 #endif
5046
5047 int
5048 main ()
5049 {
5050 return shmat ();
5051   ;
5052   return 0;
5053 }
5054 _ACEOF
5055 rm -f conftest.$ac_objext conftest$ac_exeext
5056 if { (ac_try="$ac_link"
5057 case "(($ac_try" in
5058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5059   *) ac_try_echo=$ac_try;;
5060 esac
5061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5062   (eval "$ac_link") 2>conftest.er1
5063   ac_status=$?
5064   grep -v '^ *+' conftest.er1 >conftest.err
5065   rm -f conftest.er1
5066   cat conftest.err >&5
5067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068   (exit $ac_status); } && {
5069          test -z "$ac_c_werror_flag" ||
5070          test ! -s conftest.err
5071        } && test -s conftest$ac_exeext &&
5072        $as_test_x conftest$ac_exeext; then
5073   ac_cv_func_shmat=yes
5074 else
5075   echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5077
5078         ac_cv_func_shmat=no
5079 fi
5080
5081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5082       conftest$ac_exeext conftest.$ac_ext
5083 fi
5084 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5085 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5086
5087     if test $ac_cv_func_shmat = no; then
5088       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5089 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5090 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5091   echo $ECHO_N "(cached) $ECHO_C" >&6
5092 else
5093   ac_check_lib_save_LIBS=$LIBS
5094 LIBS="-lipc  $LIBS"
5095 cat >conftest.$ac_ext <<_ACEOF
5096 /* confdefs.h.  */
5097 _ACEOF
5098 cat confdefs.h >>conftest.$ac_ext
5099 cat >>conftest.$ac_ext <<_ACEOF
5100 /* end confdefs.h.  */
5101
5102 /* Override any GCC internal prototype to avoid an error.
5103    Use char because int might match the return type of a GCC
5104    builtin and then its argument prototype would still apply.  */
5105 #ifdef __cplusplus
5106 extern "C"
5107 #endif
5108 char shmat ();
5109 int
5110 main ()
5111 {
5112 return shmat ();
5113   ;
5114   return 0;
5115 }
5116 _ACEOF
5117 rm -f conftest.$ac_objext conftest$ac_exeext
5118 if { (ac_try="$ac_link"
5119 case "(($ac_try" in
5120   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121   *) ac_try_echo=$ac_try;;
5122 esac
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124   (eval "$ac_link") 2>conftest.er1
5125   ac_status=$?
5126   grep -v '^ *+' conftest.er1 >conftest.err
5127   rm -f conftest.er1
5128   cat conftest.err >&5
5129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130   (exit $ac_status); } && {
5131          test -z "$ac_c_werror_flag" ||
5132          test ! -s conftest.err
5133        } && test -s conftest$ac_exeext &&
5134        $as_test_x conftest$ac_exeext; then
5135   ac_cv_lib_ipc_shmat=yes
5136 else
5137   echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5139
5140         ac_cv_lib_ipc_shmat=no
5141 fi
5142
5143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5144       conftest$ac_exeext conftest.$ac_ext
5145 LIBS=$ac_check_lib_save_LIBS
5146 fi
5147 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5148 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5149 if test $ac_cv_lib_ipc_shmat = yes; then
5150   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5151 fi
5152
5153     fi
5154   fi
5155
5156   # Check for libraries that X11R6 Xt/Xaw programs need.
5157   ac_save_LDFLAGS=$LDFLAGS
5158   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5159   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5160   # check for ICE first), but we must link in the order -lSM -lICE or
5161   # we get undefined symbols.  So assume we have SM if we have ICE.
5162   # These have to be linked with before -lX11, unlike the other
5163   # libraries we check for below, so use a different variable.
5164   # John Interrante, Karl Berry
5165   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5166 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5167 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5168   echo $ECHO_N "(cached) $ECHO_C" >&6
5169 else
5170   ac_check_lib_save_LIBS=$LIBS
5171 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5172 cat >conftest.$ac_ext <<_ACEOF
5173 /* confdefs.h.  */
5174 _ACEOF
5175 cat confdefs.h >>conftest.$ac_ext
5176 cat >>conftest.$ac_ext <<_ACEOF
5177 /* end confdefs.h.  */
5178
5179 /* Override any GCC internal prototype to avoid an error.
5180    Use char because int might match the return type of a GCC
5181    builtin and then its argument prototype would still apply.  */
5182 #ifdef __cplusplus
5183 extern "C"
5184 #endif
5185 char IceConnectionNumber ();
5186 int
5187 main ()
5188 {
5189 return IceConnectionNumber ();
5190   ;
5191   return 0;
5192 }
5193 _ACEOF
5194 rm -f conftest.$ac_objext conftest$ac_exeext
5195 if { (ac_try="$ac_link"
5196 case "(($ac_try" in
5197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5198   *) ac_try_echo=$ac_try;;
5199 esac
5200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5201   (eval "$ac_link") 2>conftest.er1
5202   ac_status=$?
5203   grep -v '^ *+' conftest.er1 >conftest.err
5204   rm -f conftest.er1
5205   cat conftest.err >&5
5206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207   (exit $ac_status); } && {
5208          test -z "$ac_c_werror_flag" ||
5209          test ! -s conftest.err
5210        } && test -s conftest$ac_exeext &&
5211        $as_test_x conftest$ac_exeext; then
5212   ac_cv_lib_ICE_IceConnectionNumber=yes
5213 else
5214   echo "$as_me: failed program was:" >&5
5215 sed 's/^/| /' conftest.$ac_ext >&5
5216
5217         ac_cv_lib_ICE_IceConnectionNumber=no
5218 fi
5219
5220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5221       conftest$ac_exeext conftest.$ac_ext
5222 LIBS=$ac_check_lib_save_LIBS
5223 fi
5224 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5225 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5226 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5227   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5228 fi
5229
5230   LDFLAGS=$ac_save_LDFLAGS
5231
5232 fi
5233
5234
5235 for ac_prog in flex
5236 do
5237   # Extract the first word of "$ac_prog", so it can be a program name with args.
5238 set dummy $ac_prog; ac_word=$2
5239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5241 if test "${ac_cv_prog_FLEX+set}" = set; then
5242   echo $ECHO_N "(cached) $ECHO_C" >&6
5243 else
5244   if test -n "$FLEX"; then
5245   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5249 do
5250   IFS=$as_save_IFS
5251   test -z "$as_dir" && as_dir=.
5252   for ac_exec_ext in '' $ac_executable_extensions; do
5253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254     ac_cv_prog_FLEX="$ac_prog"
5255     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5256     break 2
5257   fi
5258 done
5259 done
5260 IFS=$as_save_IFS
5261
5262 fi
5263 fi
5264 FLEX=$ac_cv_prog_FLEX
5265 if test -n "$FLEX"; then
5266   { echo "$as_me:$LINENO: result: $FLEX" >&5
5267 echo "${ECHO_T}$FLEX" >&6; }
5268 else
5269   { echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6; }
5271 fi
5272
5273
5274   test -n "$FLEX" && break
5275 done
5276 test -n "$FLEX" || FLEX="none"
5277
5278 if test "$FLEX" = "none"
5279 then
5280   { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5281 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5282    { (exit 1); exit 1; }; }
5283 fi
5284
5285 for ac_prog in bison
5286 do
5287   # Extract the first word of "$ac_prog", so it can be a program name with args.
5288 set dummy $ac_prog; ac_word=$2
5289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5291 if test "${ac_cv_prog_BISON+set}" = set; then
5292   echo $ECHO_N "(cached) $ECHO_C" >&6
5293 else
5294   if test -n "$BISON"; then
5295   ac_cv_prog_BISON="$BISON" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5299 do
5300   IFS=$as_save_IFS
5301   test -z "$as_dir" && as_dir=.
5302   for ac_exec_ext in '' $ac_executable_extensions; do
5303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5304     ac_cv_prog_BISON="$ac_prog"
5305     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306     break 2
5307   fi
5308 done
5309 done
5310 IFS=$as_save_IFS
5311
5312 fi
5313 fi
5314 BISON=$ac_cv_prog_BISON
5315 if test -n "$BISON"; then
5316   { echo "$as_me:$LINENO: result: $BISON" >&5
5317 echo "${ECHO_T}$BISON" >&6; }
5318 else
5319   { echo "$as_me:$LINENO: result: no" >&5
5320 echo "${ECHO_T}no" >&6; }
5321 fi
5322
5323
5324   test -n "$BISON" && break
5325 done
5326 test -n "$BISON" || BISON="none"
5327
5328 if test "$BISON" = "none"
5329 then
5330   { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5331 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5332    { (exit 1); exit 1; }; }
5333 fi
5334
5335 if test -n "$ac_tool_prefix"; then
5336   for ac_prog in gas as
5337   do
5338     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5339 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_AS+set}" = set; then
5343   echo $ECHO_N "(cached) $ECHO_C" >&6
5344 else
5345   if test -n "$AS"; then
5346   ac_cv_prog_AS="$AS" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5350 do
5351   IFS=$as_save_IFS
5352   test -z "$as_dir" && as_dir=.
5353   for ac_exec_ext in '' $ac_executable_extensions; do
5354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355     ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5356     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357     break 2
5358   fi
5359 done
5360 done
5361 IFS=$as_save_IFS
5362
5363 fi
5364 fi
5365 AS=$ac_cv_prog_AS
5366 if test -n "$AS"; then
5367   { echo "$as_me:$LINENO: result: $AS" >&5
5368 echo "${ECHO_T}$AS" >&6; }
5369 else
5370   { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5372 fi
5373
5374
5375     test -n "$AS" && break
5376   done
5377 fi
5378 if test -z "$AS"; then
5379   ac_ct_AS=$AS
5380   for ac_prog in gas as
5381 do
5382   # Extract the first word of "$ac_prog", so it can be a program name with args.
5383 set dummy $ac_prog; ac_word=$2
5384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5386 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5387   echo $ECHO_N "(cached) $ECHO_C" >&6
5388 else
5389   if test -n "$ac_ct_AS"; then
5390   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5391 else
5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5393 for as_dir in $PATH
5394 do
5395   IFS=$as_save_IFS
5396   test -z "$as_dir" && as_dir=.
5397   for ac_exec_ext in '' $ac_executable_extensions; do
5398   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5399     ac_cv_prog_ac_ct_AS="$ac_prog"
5400     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5401     break 2
5402   fi
5403 done
5404 done
5405 IFS=$as_save_IFS
5406
5407 fi
5408 fi
5409 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5410 if test -n "$ac_ct_AS"; then
5411   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5412 echo "${ECHO_T}$ac_ct_AS" >&6; }
5413 else
5414   { echo "$as_me:$LINENO: result: no" >&5
5415 echo "${ECHO_T}no" >&6; }
5416 fi
5417
5418
5419   test -n "$ac_ct_AS" && break
5420 done
5421
5422   if test "x$ac_ct_AS" = x; then
5423     AS="as"
5424   else
5425     case $cross_compiling:$ac_tool_warned in
5426 yes:)
5427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5428 whose name does not start with the host triplet.  If you think this
5429 configuration is useful to you, please write to autoconf@gnu.org." >&5
5430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5431 whose name does not start with the host triplet.  If you think this
5432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5433 ac_tool_warned=yes ;;
5434 esac
5435     AS=$ac_ct_AS
5436   fi
5437 fi
5438
5439 if test -n "$ac_tool_prefix"; then
5440   # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5441 set dummy ${ac_tool_prefix}ld; ac_word=$2
5442 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5444 if test "${ac_cv_prog_LD+set}" = set; then
5445   echo $ECHO_N "(cached) $ECHO_C" >&6
5446 else
5447   if test -n "$LD"; then
5448   ac_cv_prog_LD="$LD" # Let the user override the test.
5449 else
5450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5451 for as_dir in $PATH
5452 do
5453   IFS=$as_save_IFS
5454   test -z "$as_dir" && as_dir=.
5455   for ac_exec_ext in '' $ac_executable_extensions; do
5456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5457     ac_cv_prog_LD="${ac_tool_prefix}ld"
5458     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5459     break 2
5460   fi
5461 done
5462 done
5463 IFS=$as_save_IFS
5464
5465 fi
5466 fi
5467 LD=$ac_cv_prog_LD
5468 if test -n "$LD"; then
5469   { echo "$as_me:$LINENO: result: $LD" >&5
5470 echo "${ECHO_T}$LD" >&6; }
5471 else
5472   { echo "$as_me:$LINENO: result: no" >&5
5473 echo "${ECHO_T}no" >&6; }
5474 fi
5475
5476
5477 fi
5478 if test -z "$ac_cv_prog_LD"; then
5479   ac_ct_LD=$LD
5480   # Extract the first word of "ld", so it can be a program name with args.
5481 set dummy ld; ac_word=$2
5482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5484 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5485   echo $ECHO_N "(cached) $ECHO_C" >&6
5486 else
5487   if test -n "$ac_ct_LD"; then
5488   ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5492 do
5493   IFS=$as_save_IFS
5494   test -z "$as_dir" && as_dir=.
5495   for ac_exec_ext in '' $ac_executable_extensions; do
5496   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5497     ac_cv_prog_ac_ct_LD="ld"
5498     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5499     break 2
5500   fi
5501 done
5502 done
5503 IFS=$as_save_IFS
5504
5505 fi
5506 fi
5507 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5508 if test -n "$ac_ct_LD"; then
5509   { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5510 echo "${ECHO_T}$ac_ct_LD" >&6; }
5511 else
5512   { echo "$as_me:$LINENO: result: no" >&5
5513 echo "${ECHO_T}no" >&6; }
5514 fi
5515
5516   if test "x$ac_ct_LD" = x; then
5517     LD="ld"
5518   else
5519     case $cross_compiling:$ac_tool_warned in
5520 yes:)
5521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5522 whose name does not start with the host triplet.  If you think this
5523 configuration is useful to you, please write to autoconf@gnu.org." >&5
5524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5525 whose name does not start with the host triplet.  If you think this
5526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5527 ac_tool_warned=yes ;;
5528 esac
5529     LD=$ac_ct_LD
5530   fi
5531 else
5532   LD="$ac_cv_prog_LD"
5533 fi
5534
5535 if test -n "$ac_tool_prefix"; then
5536   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5537 set dummy ${ac_tool_prefix}ar; ac_word=$2
5538 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5540 if test "${ac_cv_prog_AR+set}" = set; then
5541   echo $ECHO_N "(cached) $ECHO_C" >&6
5542 else
5543   if test -n "$AR"; then
5544   ac_cv_prog_AR="$AR" # Let the user override the test.
5545 else
5546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5547 for as_dir in $PATH
5548 do
5549   IFS=$as_save_IFS
5550   test -z "$as_dir" && as_dir=.
5551   for ac_exec_ext in '' $ac_executable_extensions; do
5552   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5553     ac_cv_prog_AR="${ac_tool_prefix}ar"
5554     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5555     break 2
5556   fi
5557 done
5558 done
5559 IFS=$as_save_IFS
5560
5561 fi
5562 fi
5563 AR=$ac_cv_prog_AR
5564 if test -n "$AR"; then
5565   { echo "$as_me:$LINENO: result: $AR" >&5
5566 echo "${ECHO_T}$AR" >&6; }
5567 else
5568   { echo "$as_me:$LINENO: result: no" >&5
5569 echo "${ECHO_T}no" >&6; }
5570 fi
5571
5572
5573 fi
5574 if test -z "$ac_cv_prog_AR"; then
5575   ac_ct_AR=$AR
5576   # Extract the first word of "ar", so it can be a program name with args.
5577 set dummy ar; ac_word=$2
5578 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5579 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5580 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5581   echo $ECHO_N "(cached) $ECHO_C" >&6
5582 else
5583   if test -n "$ac_ct_AR"; then
5584   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5585 else
5586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5587 for as_dir in $PATH
5588 do
5589   IFS=$as_save_IFS
5590   test -z "$as_dir" && as_dir=.
5591   for ac_exec_ext in '' $ac_executable_extensions; do
5592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5593     ac_cv_prog_ac_ct_AR="ar"
5594     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5595     break 2
5596   fi
5597 done
5598 done
5599 IFS=$as_save_IFS
5600
5601 fi
5602 fi
5603 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5604 if test -n "$ac_ct_AR"; then
5605   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5606 echo "${ECHO_T}$ac_ct_AR" >&6; }
5607 else
5608   { echo "$as_me:$LINENO: result: no" >&5
5609 echo "${ECHO_T}no" >&6; }
5610 fi
5611
5612   if test "x$ac_ct_AR" = x; then
5613     AR="ar"
5614   else
5615     case $cross_compiling:$ac_tool_warned in
5616 yes:)
5617 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5618 whose name does not start with the host triplet.  If you think this
5619 configuration is useful to you, please write to autoconf@gnu.org." >&5
5620 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5621 whose name does not start with the host triplet.  If you think this
5622 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5623 ac_tool_warned=yes ;;
5624 esac
5625     AR=$ac_ct_AR
5626   fi
5627 else
5628   AR="$ac_cv_prog_AR"
5629 fi
5630
5631 ARFLAGS=rc
5632
5633 if test -n "$ac_tool_prefix"; then
5634   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5635 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5638 if test "${ac_cv_prog_RANLIB+set}" = set; then
5639   echo $ECHO_N "(cached) $ECHO_C" >&6
5640 else
5641   if test -n "$RANLIB"; then
5642   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5646 do
5647   IFS=$as_save_IFS
5648   test -z "$as_dir" && as_dir=.
5649   for ac_exec_ext in '' $ac_executable_extensions; do
5650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5651     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5652     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5653     break 2
5654   fi
5655 done
5656 done
5657 IFS=$as_save_IFS
5658
5659 fi
5660 fi
5661 RANLIB=$ac_cv_prog_RANLIB
5662 if test -n "$RANLIB"; then
5663   { echo "$as_me:$LINENO: result: $RANLIB" >&5
5664 echo "${ECHO_T}$RANLIB" >&6; }
5665 else
5666   { echo "$as_me:$LINENO: result: no" >&5
5667 echo "${ECHO_T}no" >&6; }
5668 fi
5669
5670
5671 fi
5672 if test -z "$ac_cv_prog_RANLIB"; then
5673   ac_ct_RANLIB=$RANLIB
5674   # Extract the first word of "ranlib", so it can be a program name with args.
5675 set dummy ranlib; ac_word=$2
5676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5678 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5679   echo $ECHO_N "(cached) $ECHO_C" >&6
5680 else
5681   if test -n "$ac_ct_RANLIB"; then
5682   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5686 do
5687   IFS=$as_save_IFS
5688   test -z "$as_dir" && as_dir=.
5689   for ac_exec_ext in '' $ac_executable_extensions; do
5690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691     ac_cv_prog_ac_ct_RANLIB="ranlib"
5692     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5693     break 2
5694   fi
5695 done
5696 done
5697 IFS=$as_save_IFS
5698
5699 fi
5700 fi
5701 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5702 if test -n "$ac_ct_RANLIB"; then
5703   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5704 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5705 else
5706   { echo "$as_me:$LINENO: result: no" >&5
5707 echo "${ECHO_T}no" >&6; }
5708 fi
5709
5710   if test "x$ac_ct_RANLIB" = x; then
5711     RANLIB=":"
5712   else
5713     case $cross_compiling:$ac_tool_warned in
5714 yes:)
5715 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5716 whose name does not start with the host triplet.  If you think this
5717 configuration is useful to you, please write to autoconf@gnu.org." >&5
5718 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5719 whose name does not start with the host triplet.  If you think this
5720 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5721 ac_tool_warned=yes ;;
5722 esac
5723     RANLIB=$ac_ct_RANLIB
5724   fi
5725 else
5726   RANLIB="$ac_cv_prog_RANLIB"
5727 fi
5728
5729 if test -n "$ac_tool_prefix"; then
5730   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5731 set dummy ${ac_tool_prefix}strip; ac_word=$2
5732 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5734 if test "${ac_cv_prog_STRIP+set}" = set; then
5735   echo $ECHO_N "(cached) $ECHO_C" >&6
5736 else
5737   if test -n "$STRIP"; then
5738   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5739 else
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5741 for as_dir in $PATH
5742 do
5743   IFS=$as_save_IFS
5744   test -z "$as_dir" && as_dir=.
5745   for ac_exec_ext in '' $ac_executable_extensions; do
5746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5747     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5748     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5749     break 2
5750   fi
5751 done
5752 done
5753 IFS=$as_save_IFS
5754
5755 fi
5756 fi
5757 STRIP=$ac_cv_prog_STRIP
5758 if test -n "$STRIP"; then
5759   { echo "$as_me:$LINENO: result: $STRIP" >&5
5760 echo "${ECHO_T}$STRIP" >&6; }
5761 else
5762   { echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6; }
5764 fi
5765
5766
5767 fi
5768 if test -z "$ac_cv_prog_STRIP"; then
5769   ac_ct_STRIP=$STRIP
5770   # Extract the first word of "strip", so it can be a program name with args.
5771 set dummy strip; ac_word=$2
5772 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5774 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5775   echo $ECHO_N "(cached) $ECHO_C" >&6
5776 else
5777   if test -n "$ac_ct_STRIP"; then
5778   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5779 else
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5781 for as_dir in $PATH
5782 do
5783   IFS=$as_save_IFS
5784   test -z "$as_dir" && as_dir=.
5785   for ac_exec_ext in '' $ac_executable_extensions; do
5786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5787     ac_cv_prog_ac_ct_STRIP="strip"
5788     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789     break 2
5790   fi
5791 done
5792 done
5793 IFS=$as_save_IFS
5794
5795 fi
5796 fi
5797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5798 if test -n "$ac_ct_STRIP"; then
5799   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5800 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5801 else
5802   { echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6; }
5804 fi
5805
5806   if test "x$ac_ct_STRIP" = x; then
5807     STRIP="strip"
5808   else
5809     case $cross_compiling:$ac_tool_warned in
5810 yes:)
5811 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5812 whose name does not start with the host triplet.  If you think this
5813 configuration is useful to you, please write to autoconf@gnu.org." >&5
5814 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5815 whose name does not start with the host triplet.  If you think this
5816 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5817 ac_tool_warned=yes ;;
5818 esac
5819     STRIP=$ac_ct_STRIP
5820   fi
5821 else
5822   STRIP="$ac_cv_prog_STRIP"
5823 fi
5824
5825 if test -n "$ac_tool_prefix"; then
5826   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5827 set dummy ${ac_tool_prefix}windres; ac_word=$2
5828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5830 if test "${ac_cv_prog_WINDRES+set}" = set; then
5831   echo $ECHO_N "(cached) $ECHO_C" >&6
5832 else
5833   if test -n "$WINDRES"; then
5834   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5835 else
5836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5837 for as_dir in $PATH
5838 do
5839   IFS=$as_save_IFS
5840   test -z "$as_dir" && as_dir=.
5841   for ac_exec_ext in '' $ac_executable_extensions; do
5842   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5843     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5844     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5845     break 2
5846   fi
5847 done
5848 done
5849 IFS=$as_save_IFS
5850
5851 fi
5852 fi
5853 WINDRES=$ac_cv_prog_WINDRES
5854 if test -n "$WINDRES"; then
5855   { echo "$as_me:$LINENO: result: $WINDRES" >&5
5856 echo "${ECHO_T}$WINDRES" >&6; }
5857 else
5858   { echo "$as_me:$LINENO: result: no" >&5
5859 echo "${ECHO_T}no" >&6; }
5860 fi
5861
5862
5863 fi
5864 if test -z "$ac_cv_prog_WINDRES"; then
5865   ac_ct_WINDRES=$WINDRES
5866   # Extract the first word of "windres", so it can be a program name with args.
5867 set dummy windres; ac_word=$2
5868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5871   echo $ECHO_N "(cached) $ECHO_C" >&6
5872 else
5873   if test -n "$ac_ct_WINDRES"; then
5874   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5875 else
5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5877 for as_dir in $PATH
5878 do
5879   IFS=$as_save_IFS
5880   test -z "$as_dir" && as_dir=.
5881   for ac_exec_ext in '' $ac_executable_extensions; do
5882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5883     ac_cv_prog_ac_ct_WINDRES="windres"
5884     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5885     break 2
5886   fi
5887 done
5888 done
5889 IFS=$as_save_IFS
5890
5891 fi
5892 fi
5893 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5894 if test -n "$ac_ct_WINDRES"; then
5895   { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5897 else
5898   { echo "$as_me:$LINENO: result: no" >&5
5899 echo "${ECHO_T}no" >&6; }
5900 fi
5901
5902   if test "x$ac_ct_WINDRES" = x; then
5903     WINDRES="false"
5904   else
5905     case $cross_compiling:$ac_tool_warned in
5906 yes:)
5907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5908 whose name does not start with the host triplet.  If you think this
5909 configuration is useful to you, please write to autoconf@gnu.org." >&5
5910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5911 whose name does not start with the host triplet.  If you think this
5912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5913 ac_tool_warned=yes ;;
5914 esac
5915     WINDRES=$ac_ct_WINDRES
5916   fi
5917 else
5918   WINDRES="$ac_cv_prog_WINDRES"
5919 fi
5920
5921 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5922 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5923 LN_S=$as_ln_s
5924 if test "$LN_S" = "ln -s"; then
5925   { echo "$as_me:$LINENO: result: yes" >&5
5926 echo "${ECHO_T}yes" >&6; }
5927 else
5928   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5929 echo "${ECHO_T}no, using $LN_S" >&6; }
5930 fi
5931
5932 { echo "$as_me:$LINENO: checking whether ln works" >&5
5933 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5934 rm -f conf$$ conf$$.file
5935 echo >conf$$.file
5936 if ln conf$$.file conf$$ 2>/dev/null; then
5937   LN=ln
5938
5939   { echo "$as_me:$LINENO: result: yes" >&5
5940 echo "${ECHO_T}yes" >&6; }
5941 else
5942   LN="cp -p"
5943
5944   { echo "$as_me:$LINENO: result: no, using $LN" >&5
5945 echo "${ECHO_T}no, using $LN" >&6; }
5946 fi
5947 rm -f conf$$ conf$$.file
5948 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5949 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5950 if test "${ac_cv_path_GREP+set}" = set; then
5951   echo $ECHO_N "(cached) $ECHO_C" >&6
5952 else
5953   # Extract the first word of "grep ggrep" to use in msg output
5954 if test -z "$GREP"; then
5955 set dummy grep ggrep; ac_prog_name=$2
5956 if test "${ac_cv_path_GREP+set}" = set; then
5957   echo $ECHO_N "(cached) $ECHO_C" >&6
5958 else
5959   ac_path_GREP_found=false
5960 # Loop through the user's path and test for each of PROGNAME-LIST
5961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5962 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5963 do
5964   IFS=$as_save_IFS
5965   test -z "$as_dir" && as_dir=.
5966   for ac_prog in grep ggrep; do
5967   for ac_exec_ext in '' $ac_executable_extensions; do
5968     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5969     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5970     # Check for GNU ac_path_GREP and select it if it is found.
5971   # Check for GNU $ac_path_GREP
5972 case `"$ac_path_GREP" --version 2>&1` in
5973 *GNU*)
5974   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5975 *)
5976   ac_count=0
5977   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5978   while :
5979   do
5980     cat "conftest.in" "conftest.in" >"conftest.tmp"
5981     mv "conftest.tmp" "conftest.in"
5982     cp "conftest.in" "conftest.nl"
5983     echo 'GREP' >> "conftest.nl"
5984     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5985     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5986     ac_count=`expr $ac_count + 1`
5987     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5988       # Best one so far, save it but keep looking for a better one
5989       ac_cv_path_GREP="$ac_path_GREP"
5990       ac_path_GREP_max=$ac_count
5991     fi
5992     # 10*(2^10) chars as input seems more than enough
5993     test $ac_count -gt 10 && break
5994   done
5995   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5996 esac
5997
5998
5999     $ac_path_GREP_found && break 3
6000   done
6001 done
6002
6003 done
6004 IFS=$as_save_IFS
6005
6006
6007 fi
6008
6009 GREP="$ac_cv_path_GREP"
6010 if test -z "$GREP"; then
6011   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6012 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6013    { (exit 1); exit 1; }; }
6014 fi
6015
6016 else
6017   ac_cv_path_GREP=$GREP
6018 fi
6019
6020
6021 fi
6022 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6023 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6024  GREP="$ac_cv_path_GREP"
6025
6026
6027 { echo "$as_me:$LINENO: checking for egrep" >&5
6028 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6029 if test "${ac_cv_path_EGREP+set}" = set; then
6030   echo $ECHO_N "(cached) $ECHO_C" >&6
6031 else
6032   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6033    then ac_cv_path_EGREP="$GREP -E"
6034    else
6035      # Extract the first word of "egrep" to use in msg output
6036 if test -z "$EGREP"; then
6037 set dummy egrep; ac_prog_name=$2
6038 if test "${ac_cv_path_EGREP+set}" = set; then
6039   echo $ECHO_N "(cached) $ECHO_C" >&6
6040 else
6041   ac_path_EGREP_found=false
6042 # Loop through the user's path and test for each of PROGNAME-LIST
6043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6044 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6045 do
6046   IFS=$as_save_IFS
6047   test -z "$as_dir" && as_dir=.
6048   for ac_prog in egrep; do
6049   for ac_exec_ext in '' $ac_executable_extensions; do
6050     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6051     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6052     # Check for GNU ac_path_EGREP and select it if it is found.
6053   # Check for GNU $ac_path_EGREP
6054 case `"$ac_path_EGREP" --version 2>&1` in
6055 *GNU*)
6056   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6057 *)
6058   ac_count=0
6059   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6060   while :
6061   do
6062     cat "conftest.in" "conftest.in" >"conftest.tmp"
6063     mv "conftest.tmp" "conftest.in"
6064     cp "conftest.in" "conftest.nl"
6065     echo 'EGREP' >> "conftest.nl"
6066     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6067     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6068     ac_count=`expr $ac_count + 1`
6069     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6070       # Best one so far, save it but keep looking for a better one
6071       ac_cv_path_EGREP="$ac_path_EGREP"
6072       ac_path_EGREP_max=$ac_count
6073     fi
6074     # 10*(2^10) chars as input seems more than enough
6075     test $ac_count -gt 10 && break
6076   done
6077   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6078 esac
6079
6080
6081     $ac_path_EGREP_found && break 3
6082   done
6083 done
6084
6085 done
6086 IFS=$as_save_IFS
6087
6088
6089 fi
6090
6091 EGREP="$ac_cv_path_EGREP"
6092 if test -z "$EGREP"; then
6093   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6094 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6095    { (exit 1); exit 1; }; }
6096 fi
6097
6098 else
6099   ac_cv_path_EGREP=$EGREP
6100 fi
6101
6102
6103    fi
6104 fi
6105 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6106 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6107  EGREP="$ac_cv_path_EGREP"
6108
6109
6110 # Extract the first word of "ldconfig", so it can be a program name with args.
6111 set dummy ldconfig; ac_word=$2
6112 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6114 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6115   echo $ECHO_N "(cached) $ECHO_C" >&6
6116 else
6117   case $LDCONFIG in
6118   [\\/]* | ?:[\\/]*)
6119   ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6120   ;;
6121   *)
6122   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in /sbin /usr/sbin $PATH
6124 do
6125   IFS=$as_save_IFS
6126   test -z "$as_dir" && as_dir=.
6127   for ac_exec_ext in '' $ac_executable_extensions; do
6128   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129     ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6130     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6131     break 2
6132   fi
6133 done
6134 done
6135 IFS=$as_save_IFS
6136
6137   test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6138   ;;
6139 esac
6140 fi
6141 LDCONFIG=$ac_cv_path_LDCONFIG
6142 if test -n "$LDCONFIG"; then
6143   { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6144 echo "${ECHO_T}$LDCONFIG" >&6; }
6145 else
6146   { echo "$as_me:$LINENO: result: no" >&5
6147 echo "${ECHO_T}no" >&6; }
6148 fi
6149
6150
6151 # Find a good install program.  We prefer a C program (faster),
6152 # so one script is as good as another.  But avoid the broken or
6153 # incompatible versions:
6154 # SysV /etc/install, /usr/sbin/install
6155 # SunOS /usr/etc/install
6156 # IRIX /sbin/install
6157 # AIX /bin/install
6158 # AmigaOS /C/install, which installs bootblocks on floppy discs
6159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6162 # OS/2's system install, which has a completely different semantic
6163 # ./install, which can be erroneously created by make from ./install.sh.
6164 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6165 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6166 if test -z "$INSTALL"; then
6167 if test "${ac_cv_path_install+set}" = set; then
6168   echo $ECHO_N "(cached) $ECHO_C" >&6
6169 else
6170   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6171 for as_dir in $PATH
6172 do
6173   IFS=$as_save_IFS
6174   test -z "$as_dir" && as_dir=.
6175   # Account for people who put trailing slashes in PATH elements.
6176 case $as_dir/ in
6177   ./ | .// | /cC/* | \
6178   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6179   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6180   /usr/ucb/* ) ;;
6181   *)
6182     # OSF1 and SCO ODT 3.0 have their own names for install.
6183     # Don't use installbsd from OSF since it installs stuff as root
6184     # by default.
6185     for ac_prog in ginstall scoinst install; do
6186       for ac_exec_ext in '' $ac_executable_extensions; do
6187         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6188           if test $ac_prog = install &&
6189             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6190             # AIX install.  It has an incompatible calling convention.
6191             :
6192           elif test $ac_prog = install &&
6193             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6194             # program-specific install script used by HP pwplus--don't use.
6195             :
6196           else
6197             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6198             break 3
6199           fi
6200         fi
6201       done
6202     done
6203     ;;
6204 esac
6205 done
6206 IFS=$as_save_IFS
6207
6208
6209 fi
6210   if test "${ac_cv_path_install+set}" = set; then
6211     INSTALL=$ac_cv_path_install
6212   else
6213     # As a last resort, use the slow shell script.  Don't cache a
6214     # value for INSTALL within a source directory, because that will
6215     # break other packages using the cache if that directory is
6216     # removed, or if the value is a relative name.
6217     INSTALL=$ac_install_sh
6218   fi
6219 fi
6220 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6221 echo "${ECHO_T}$INSTALL" >&6; }
6222
6223 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6224 # It thinks the first close brace ends the variable substitution.
6225 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6226
6227 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6228
6229 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6230
6231 case "$INSTALL" in
6232   [\\/$]* | ?:[\\/]* ) ;;
6233   *)  INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6234 esac
6235
6236 for ac_prog in lclint lint
6237 do
6238   # Extract the first word of "$ac_prog", so it can be a program name with args.
6239 set dummy $ac_prog; ac_word=$2
6240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6242 if test "${ac_cv_prog_LINT+set}" = set; then
6243   echo $ECHO_N "(cached) $ECHO_C" >&6
6244 else
6245   if test -n "$LINT"; then
6246   ac_cv_prog_LINT="$LINT" # Let the user override the test.
6247 else
6248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6249 for as_dir in $PATH
6250 do
6251   IFS=$as_save_IFS
6252   test -z "$as_dir" && as_dir=.
6253   for ac_exec_ext in '' $ac_executable_extensions; do
6254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6255     ac_cv_prog_LINT="$ac_prog"
6256     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6257     break 2
6258   fi
6259 done
6260 done
6261 IFS=$as_save_IFS
6262
6263 fi
6264 fi
6265 LINT=$ac_cv_prog_LINT
6266 if test -n "$LINT"; then
6267   { echo "$as_me:$LINENO: result: $LINT" >&5
6268 echo "${ECHO_T}$LINT" >&6; }
6269 else
6270   { echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6; }
6272 fi
6273
6274
6275   test -n "$LINT" && break
6276 done
6277
6278 if test "$LINT" = "lint"
6279 then
6280   LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6281   fi
6282
6283
6284
6285 for ac_prog in fontforge
6286 do
6287   # Extract the first word of "$ac_prog", so it can be a program name with args.
6288 set dummy $ac_prog; ac_word=$2
6289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6291 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6292   echo $ECHO_N "(cached) $ECHO_C" >&6
6293 else
6294   if test -n "$FONTFORGE"; then
6295   ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6296 else
6297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6298 for as_dir in $PATH
6299 do
6300   IFS=$as_save_IFS
6301   test -z "$as_dir" && as_dir=.
6302   for ac_exec_ext in '' $ac_executable_extensions; do
6303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6304     ac_cv_prog_FONTFORGE="$ac_prog"
6305     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6306     break 2
6307   fi
6308 done
6309 done
6310 IFS=$as_save_IFS
6311
6312 fi
6313 fi
6314 FONTFORGE=$ac_cv_prog_FONTFORGE
6315 if test -n "$FONTFORGE"; then
6316   { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6317 echo "${ECHO_T}$FONTFORGE" >&6; }
6318 else
6319   { echo "$as_me:$LINENO: result: no" >&5
6320 echo "${ECHO_T}no" >&6; }
6321 fi
6322
6323
6324   test -n "$FONTFORGE" && break
6325 done
6326 test -n "$FONTFORGE" || FONTFORGE="false"
6327
6328 for ac_prog in pkg-config
6329 do
6330   # Extract the first word of "$ac_prog", so it can be a program name with args.
6331 set dummy $ac_prog; ac_word=$2
6332 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6334 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6335   echo $ECHO_N "(cached) $ECHO_C" >&6
6336 else
6337   if test -n "$PKG_CONFIG"; then
6338   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6339 else
6340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6341 for as_dir in $PATH
6342 do
6343   IFS=$as_save_IFS
6344   test -z "$as_dir" && as_dir=.
6345   for ac_exec_ext in '' $ac_executable_extensions; do
6346   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6347     ac_cv_prog_PKG_CONFIG="$ac_prog"
6348     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6349     break 2
6350   fi
6351 done
6352 done
6353 IFS=$as_save_IFS
6354
6355 fi
6356 fi
6357 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6358 if test -n "$PKG_CONFIG"; then
6359   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6360 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6361 else
6362   { echo "$as_me:$LINENO: result: no" >&5
6363 echo "${ECHO_T}no" >&6; }
6364 fi
6365
6366
6367   test -n "$PKG_CONFIG" && break
6368 done
6369 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6370
6371 for ac_prog in rsvg
6372 do
6373   # Extract the first word of "$ac_prog", so it can be a program name with args.
6374 set dummy $ac_prog; ac_word=$2
6375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6377 if test "${ac_cv_prog_RSVG+set}" = set; then
6378   echo $ECHO_N "(cached) $ECHO_C" >&6
6379 else
6380   if test -n "$RSVG"; then
6381   ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6382 else
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH
6385 do
6386   IFS=$as_save_IFS
6387   test -z "$as_dir" && as_dir=.
6388   for ac_exec_ext in '' $ac_executable_extensions; do
6389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6390     ac_cv_prog_RSVG="$ac_prog"
6391     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6392     break 2
6393   fi
6394 done
6395 done
6396 IFS=$as_save_IFS
6397
6398 fi
6399 fi
6400 RSVG=$ac_cv_prog_RSVG
6401 if test -n "$RSVG"; then
6402   { echo "$as_me:$LINENO: result: $RSVG" >&5
6403 echo "${ECHO_T}$RSVG" >&6; }
6404 else
6405   { echo "$as_me:$LINENO: result: no" >&5
6406 echo "${ECHO_T}no" >&6; }
6407 fi
6408
6409
6410   test -n "$RSVG" && break
6411 done
6412 test -n "$RSVG" || RSVG="false"
6413
6414 for ac_prog in icotool
6415 do
6416   # Extract the first word of "$ac_prog", so it can be a program name with args.
6417 set dummy $ac_prog; ac_word=$2
6418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6420 if test "${ac_cv_prog_ICOTOOL+set}" = set; then
6421   echo $ECHO_N "(cached) $ECHO_C" >&6
6422 else
6423   if test -n "$ICOTOOL"; then
6424   ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6425 else
6426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6427 for as_dir in $PATH
6428 do
6429   IFS=$as_save_IFS
6430   test -z "$as_dir" && as_dir=.
6431   for ac_exec_ext in '' $ac_executable_extensions; do
6432   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6433     ac_cv_prog_ICOTOOL="$ac_prog"
6434     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6435     break 2
6436   fi
6437 done
6438 done
6439 IFS=$as_save_IFS
6440
6441 fi
6442 fi
6443 ICOTOOL=$ac_cv_prog_ICOTOOL
6444 if test -n "$ICOTOOL"; then
6445   { echo "$as_me:$LINENO: result: $ICOTOOL" >&5
6446 echo "${ECHO_T}$ICOTOOL" >&6; }
6447 else
6448   { echo "$as_me:$LINENO: result: no" >&5
6449 echo "${ECHO_T}no" >&6; }
6450 fi
6451
6452
6453   test -n "$ICOTOOL" && break
6454 done
6455 test -n "$ICOTOOL" || ICOTOOL="false"
6456
6457
6458 if test "${enable_maintainer_mode+set}" = set
6459 then
6460   if test "$FONTFORGE" = "false"; then wine_warnings="$wine_warnings|fontforge is missing, fonts can't be rebuilt."; fi
6461   if test "$RSVG" = "false"; then wine_warnings="$wine_warnings|rsvg is missing, icons can't be rebuilt."; fi
6462   if test "$ICOTOOL" = "false"; then wine_warnings="$wine_warnings|icotool is missing, icons can't be rebuilt."; fi
6463 fi
6464
6465 case $host_cpu in
6466   *i[3456789]86*)
6467     # Extract the first word of "prelink", so it can be a program name with args.
6468 set dummy prelink; ac_word=$2
6469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6471 if test "${ac_cv_path_PRELINK+set}" = set; then
6472   echo $ECHO_N "(cached) $ECHO_C" >&6
6473 else
6474   case $PRELINK in
6475   [\\/]* | ?:[\\/]*)
6476   ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6477   ;;
6478   *)
6479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6480 for as_dir in /sbin /usr/sbin $PATH
6481 do
6482   IFS=$as_save_IFS
6483   test -z "$as_dir" && as_dir=.
6484   for ac_exec_ext in '' $ac_executable_extensions; do
6485   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6486     ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6487     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6488     break 2
6489   fi
6490 done
6491 done
6492 IFS=$as_save_IFS
6493
6494   test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6495   ;;
6496 esac
6497 fi
6498 PRELINK=$ac_cv_path_PRELINK
6499 if test -n "$PRELINK"; then
6500   { echo "$as_me:$LINENO: result: $PRELINK" >&5
6501 echo "${ECHO_T}$PRELINK" >&6; }
6502 else
6503   { echo "$as_me:$LINENO: result: no" >&5
6504 echo "${ECHO_T}no" >&6; }
6505 fi
6506
6507
6508     ;;
6509 esac
6510
6511
6512
6513 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6514 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6515 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6516   echo $ECHO_N "(cached) $ECHO_C" >&6
6517 else
6518   ac_check_lib_save_LIBS=$LIBS
6519 LIBS="-li386  $LIBS"
6520 cat >conftest.$ac_ext <<_ACEOF
6521 /* confdefs.h.  */
6522 _ACEOF
6523 cat confdefs.h >>conftest.$ac_ext
6524 cat >>conftest.$ac_ext <<_ACEOF
6525 /* end confdefs.h.  */
6526
6527 /* Override any GCC internal prototype to avoid an error.
6528    Use char because int might match the return type of a GCC
6529    builtin and then its argument prototype would still apply.  */
6530 #ifdef __cplusplus
6531 extern "C"
6532 #endif
6533 char i386_set_ldt ();
6534 int
6535 main ()
6536 {
6537 return i386_set_ldt ();
6538   ;
6539   return 0;
6540 }
6541 _ACEOF
6542 rm -f conftest.$ac_objext conftest$ac_exeext
6543 if { (ac_try="$ac_link"
6544 case "(($ac_try" in
6545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6546   *) ac_try_echo=$ac_try;;
6547 esac
6548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6549   (eval "$ac_link") 2>conftest.er1
6550   ac_status=$?
6551   grep -v '^ *+' conftest.er1 >conftest.err
6552   rm -f conftest.er1
6553   cat conftest.err >&5
6554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555   (exit $ac_status); } && {
6556          test -z "$ac_c_werror_flag" ||
6557          test ! -s conftest.err
6558        } && test -s conftest$ac_exeext &&
6559        $as_test_x conftest$ac_exeext; then
6560   ac_cv_lib_i386_i386_set_ldt=yes
6561 else
6562   echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.$ac_ext >&5
6564
6565         ac_cv_lib_i386_i386_set_ldt=no
6566 fi
6567
6568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6569       conftest$ac_exeext conftest.$ac_ext
6570 LIBS=$ac_check_lib_save_LIBS
6571 fi
6572 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6573 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6574 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6575   cat >>confdefs.h <<_ACEOF
6576 #define HAVE_LIBI386 1
6577 _ACEOF
6578
6579   LIBS="-li386 $LIBS"
6580
6581 fi
6582
6583
6584 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6585 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6586 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6587   echo $ECHO_N "(cached) $ECHO_C" >&6
6588 else
6589   ac_check_lib_save_LIBS=$LIBS
6590 LIBS="-lossaudio  $LIBS"
6591 cat >conftest.$ac_ext <<_ACEOF
6592 /* confdefs.h.  */
6593 _ACEOF
6594 cat confdefs.h >>conftest.$ac_ext
6595 cat >>conftest.$ac_ext <<_ACEOF
6596 /* end confdefs.h.  */
6597
6598 /* Override any GCC internal prototype to avoid an error.
6599    Use char because int might match the return type of a GCC
6600    builtin and then its argument prototype would still apply.  */
6601 #ifdef __cplusplus
6602 extern "C"
6603 #endif
6604 char _oss_ioctl ();
6605 int
6606 main ()
6607 {
6608 return _oss_ioctl ();
6609   ;
6610   return 0;
6611 }
6612 _ACEOF
6613 rm -f conftest.$ac_objext conftest$ac_exeext
6614 if { (ac_try="$ac_link"
6615 case "(($ac_try" in
6616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6617   *) ac_try_echo=$ac_try;;
6618 esac
6619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6620   (eval "$ac_link") 2>conftest.er1
6621   ac_status=$?
6622   grep -v '^ *+' conftest.er1 >conftest.err
6623   rm -f conftest.er1
6624   cat conftest.err >&5
6625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6626   (exit $ac_status); } && {
6627          test -z "$ac_c_werror_flag" ||
6628          test ! -s conftest.err
6629        } && test -s conftest$ac_exeext &&
6630        $as_test_x conftest$ac_exeext; then
6631   ac_cv_lib_ossaudio__oss_ioctl=yes
6632 else
6633   echo "$as_me: failed program was:" >&5
6634 sed 's/^/| /' conftest.$ac_ext >&5
6635
6636         ac_cv_lib_ossaudio__oss_ioctl=no
6637 fi
6638
6639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6640       conftest$ac_exeext conftest.$ac_ext
6641 LIBS=$ac_check_lib_save_LIBS
6642 fi
6643 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6644 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6645 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6646   cat >>confdefs.h <<_ACEOF
6647 #define HAVE_LIBOSSAUDIO 1
6648 _ACEOF
6649
6650   LIBS="-lossaudio $LIBS"
6651
6652 fi
6653
6654 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6655 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6656 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6657   echo $ECHO_N "(cached) $ECHO_C" >&6
6658 else
6659   ac_check_lib_save_LIBS=$LIBS
6660 LIBS="-lpthread  $LIBS"
6661 cat >conftest.$ac_ext <<_ACEOF
6662 /* confdefs.h.  */
6663 _ACEOF
6664 cat confdefs.h >>conftest.$ac_ext
6665 cat >>conftest.$ac_ext <<_ACEOF
6666 /* end confdefs.h.  */
6667
6668 /* Override any GCC internal prototype to avoid an error.
6669    Use char because int might match the return type of a GCC
6670    builtin and then its argument prototype would still apply.  */
6671 #ifdef __cplusplus
6672 extern "C"
6673 #endif
6674 char pthread_create ();
6675 int
6676 main ()
6677 {
6678 return pthread_create ();
6679   ;
6680   return 0;
6681 }
6682 _ACEOF
6683 rm -f conftest.$ac_objext conftest$ac_exeext
6684 if { (ac_try="$ac_link"
6685 case "(($ac_try" in
6686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6687   *) ac_try_echo=$ac_try;;
6688 esac
6689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6690   (eval "$ac_link") 2>conftest.er1
6691   ac_status=$?
6692   grep -v '^ *+' conftest.er1 >conftest.err
6693   rm -f conftest.er1
6694   cat conftest.err >&5
6695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696   (exit $ac_status); } && {
6697          test -z "$ac_c_werror_flag" ||
6698          test ! -s conftest.err
6699        } && test -s conftest$ac_exeext &&
6700        $as_test_x conftest$ac_exeext; then
6701   ac_cv_lib_pthread_pthread_create=yes
6702 else
6703   echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6705
6706         ac_cv_lib_pthread_pthread_create=no
6707 fi
6708
6709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6710       conftest$ac_exeext conftest.$ac_ext
6711 LIBS=$ac_check_lib_save_LIBS
6712 fi
6713 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6714 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6715 if test $ac_cv_lib_pthread_pthread_create = yes; then
6716   LIBPTHREAD="-lpthread"
6717
6718 fi
6719
6720
6721 XLIB=""
6722
6723 XFILES=""
6724
6725 OPENGLFILES=""
6726
6727 GLU32FILES=""
6728
6729 OPENGL_LIBS=""
6730
6731 QUARTZFILES=""
6732
6733
6734
6735 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6736 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6737 if test "${ac_cv_header_stdc+set}" = set; then
6738   echo $ECHO_N "(cached) $ECHO_C" >&6
6739 else
6740   cat >conftest.$ac_ext <<_ACEOF
6741 /* confdefs.h.  */
6742 _ACEOF
6743 cat confdefs.h >>conftest.$ac_ext
6744 cat >>conftest.$ac_ext <<_ACEOF
6745 /* end confdefs.h.  */
6746 #include <stdlib.h>
6747 #include <stdarg.h>
6748 #include <string.h>
6749 #include <float.h>
6750
6751 int
6752 main ()
6753 {
6754
6755   ;
6756   return 0;
6757 }
6758 _ACEOF
6759 rm -f conftest.$ac_objext
6760 if { (ac_try="$ac_compile"
6761 case "(($ac_try" in
6762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6763   *) ac_try_echo=$ac_try;;
6764 esac
6765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6766   (eval "$ac_compile") 2>conftest.er1
6767   ac_status=$?
6768   grep -v '^ *+' conftest.er1 >conftest.err
6769   rm -f conftest.er1
6770   cat conftest.err >&5
6771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772   (exit $ac_status); } && {
6773          test -z "$ac_c_werror_flag" ||
6774          test ! -s conftest.err
6775        } && test -s conftest.$ac_objext; then
6776   ac_cv_header_stdc=yes
6777 else
6778   echo "$as_me: failed program was:" >&5
6779 sed 's/^/| /' conftest.$ac_ext >&5
6780
6781         ac_cv_header_stdc=no
6782 fi
6783
6784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6785
6786 if test $ac_cv_header_stdc = yes; then
6787   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6788   cat >conftest.$ac_ext <<_ACEOF
6789 /* confdefs.h.  */
6790 _ACEOF
6791 cat confdefs.h >>conftest.$ac_ext
6792 cat >>conftest.$ac_ext <<_ACEOF
6793 /* end confdefs.h.  */
6794 #include <string.h>
6795
6796 _ACEOF
6797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6798   $EGREP "memchr" >/dev/null 2>&1; then
6799   :
6800 else
6801   ac_cv_header_stdc=no
6802 fi
6803 rm -f conftest*
6804
6805 fi
6806
6807 if test $ac_cv_header_stdc = yes; then
6808   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6809   cat >conftest.$ac_ext <<_ACEOF
6810 /* confdefs.h.  */
6811 _ACEOF
6812 cat confdefs.h >>conftest.$ac_ext
6813 cat >>conftest.$ac_ext <<_ACEOF
6814 /* end confdefs.h.  */
6815 #include <stdlib.h>
6816
6817 _ACEOF
6818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6819   $EGREP "free" >/dev/null 2>&1; then
6820   :
6821 else
6822   ac_cv_header_stdc=no
6823 fi
6824 rm -f conftest*
6825
6826 fi
6827
6828 if test $ac_cv_header_stdc = yes; then
6829   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6830   if test "$cross_compiling" = yes; then
6831   :
6832 else
6833   cat >conftest.$ac_ext <<_ACEOF
6834 /* confdefs.h.  */
6835 _ACEOF
6836 cat confdefs.h >>conftest.$ac_ext
6837 cat >>conftest.$ac_ext <<_ACEOF
6838 /* end confdefs.h.  */
6839 #include <ctype.h>
6840 #include <stdlib.h>
6841 #if ((' ' & 0x0FF) == 0x020)
6842 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6843 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6844 #else
6845 # define ISLOWER(c) \
6846                    (('a' <= (c) && (c) <= 'i') \
6847                      || ('j' <= (c) && (c) <= 'r') \
6848                      || ('s' <= (c) && (c) <= 'z'))
6849 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6850 #endif
6851
6852 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6853 int
6854 main ()
6855 {
6856   int i;
6857   for (i = 0; i < 256; i++)
6858     if (XOR (islower (i), ISLOWER (i))
6859         || toupper (i) != TOUPPER (i))
6860       return 2;
6861   return 0;
6862 }
6863 _ACEOF
6864 rm -f conftest$ac_exeext
6865 if { (ac_try="$ac_link"
6866 case "(($ac_try" in
6867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6868   *) ac_try_echo=$ac_try;;
6869 esac
6870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6871   (eval "$ac_link") 2>&5
6872   ac_status=$?
6873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6875   { (case "(($ac_try" in
6876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6877   *) ac_try_echo=$ac_try;;
6878 esac
6879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6880   (eval "$ac_try") 2>&5
6881   ac_status=$?
6882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883   (exit $ac_status); }; }; then
6884   :
6885 else
6886   echo "$as_me: program exited with status $ac_status" >&5
6887 echo "$as_me: failed program was:" >&5
6888 sed 's/^/| /' conftest.$ac_ext >&5
6889
6890 ( exit $ac_status )
6891 ac_cv_header_stdc=no
6892 fi
6893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6894 fi
6895
6896
6897 fi
6898 fi
6899 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6900 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6901 if test $ac_cv_header_stdc = yes; then
6902
6903 cat >>confdefs.h <<\_ACEOF
6904 #define STDC_HEADERS 1
6905 _ACEOF
6906
6907 fi
6908
6909 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6920                   inttypes.h stdint.h unistd.h
6921 do
6922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6923 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6926   echo $ECHO_N "(cached) $ECHO_C" >&6
6927 else
6928   cat >conftest.$ac_ext <<_ACEOF
6929 /* confdefs.h.  */
6930 _ACEOF
6931 cat confdefs.h >>conftest.$ac_ext
6932 cat >>conftest.$ac_ext <<_ACEOF
6933 /* end confdefs.h.  */
6934 $ac_includes_default
6935
6936 #include <$ac_header>
6937 _ACEOF
6938 rm -f conftest.$ac_objext
6939 if { (ac_try="$ac_compile"
6940 case "(($ac_try" in
6941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6942   *) ac_try_echo=$ac_try;;
6943 esac
6944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6945   (eval "$ac_compile") 2>conftest.er1
6946   ac_status=$?
6947   grep -v '^ *+' conftest.er1 >conftest.err
6948   rm -f conftest.er1
6949   cat conftest.err >&5
6950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951   (exit $ac_status); } && {
6952          test -z "$ac_c_werror_flag" ||
6953          test ! -s conftest.err
6954        } && test -s conftest.$ac_objext; then
6955   eval "$as_ac_Header=yes"
6956 else
6957   echo "$as_me: failed program was:" >&5
6958 sed 's/^/| /' conftest.$ac_ext >&5
6959
6960         eval "$as_ac_Header=no"
6961 fi
6962
6963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6964 fi
6965 ac_res=`eval echo '${'$as_ac_Header'}'`
6966                { echo "$as_me:$LINENO: result: $ac_res" >&5
6967 echo "${ECHO_T}$ac_res" >&6; }
6968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6969   cat >>confdefs.h <<_ACEOF
6970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6971 _ACEOF
6972
6973 fi
6974
6975 done
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
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091 for ac_header in \
7092         AudioUnit/AudioUnit.h \
7093         Carbon/Carbon.h \
7094         CoreAudio/CoreAudio.h \
7095         DiskArbitration/DiskArbitration.h \
7096         IOKit/IOKitLib.h \
7097         alias.h \
7098         alsa/asoundlib.h \
7099         arpa/inet.h \
7100         arpa/nameser.h \
7101         asm/types.h \
7102         capi20.h \
7103         cups/cups.h \
7104         curses.h \
7105         direct.h \
7106         dlfcn.h \
7107         elf.h \
7108         float.h \
7109         fontconfig/fontconfig.h \
7110         getopt.h \
7111         ieeefp.h \
7112         io.h \
7113         jack/jack.h \
7114         jpeglib.h \
7115         lber.h \
7116         lcms.h \
7117         lcms/lcms.h \
7118         ldap.h \
7119         libaudioio.h \
7120         link.h \
7121         linux/cdrom.h \
7122         linux/compiler.h \
7123         linux/hdreg.h \
7124         linux/input.h \
7125         linux/ioctl.h \
7126         linux/joystick.h \
7127         linux/major.h \
7128         linux/param.h \
7129         linux/serial.h \
7130         linux/ucdrom.h \
7131         mach/mach.h \
7132         mach/machine.h \
7133         machine/cpu.h \
7134         machine/limits.h \
7135         machine/soundcard.h \
7136         mntent.h \
7137         ncurses.h \
7138         netdb.h \
7139         netinet/in.h \
7140         netinet/in_systm.h \
7141         netinet/ip_icmp.h \
7142         netinet/tcp.h \
7143         netinet/tcp_fsm.h \
7144         netinet/udp.h \
7145         openssl/err.h \
7146         openssl/ssl.h \
7147         png.h \
7148         poll.h \
7149         process.h \
7150         pthread.h \
7151         pwd.h \
7152         regex.h \
7153         sched.h \
7154         scsi/scsi.h \
7155         scsi/scsi_ioctl.h \
7156         scsi/sg.h \
7157         soundcard.h \
7158         stdint.h \
7159         strings.h \
7160         sys/asoundlib.h \
7161         sys/cdio.h \
7162         sys/elf32.h \
7163         sys/epoll.h \
7164         sys/errno.h \
7165         sys/event.h \
7166         sys/exec_elf.h \
7167         sys/filio.h \
7168         sys/ioctl.h \
7169         sys/ipc.h \
7170         sys/limits.h \
7171         sys/link.h \
7172         sys/lwp.h \
7173         sys/mman.h \
7174         sys/modem.h \
7175         sys/msg.h \
7176         sys/mtio.h \
7177         sys/param.h \
7178         sys/poll.h \
7179         sys/prctl.h \
7180         sys/ptrace.h \
7181         sys/reg.h \
7182         sys/resource.h \
7183         sys/scsiio.h \
7184         sys/shm.h \
7185         sys/signal.h \
7186         sys/socket.h \
7187         sys/socketvar.h \
7188         sys/sockio.h \
7189         sys/soundcard.h \
7190         sys/statvfs.h \
7191         sys/strtio.h \
7192         sys/syscall.h \
7193         sys/sysctl.h \
7194         sys/time.h \
7195         sys/times.h \
7196         sys/uio.h \
7197         sys/un.h \
7198         sys/vm86.h \
7199         sys/wait.h \
7200         syscall.h \
7201         termios.h \
7202         unistd.h \
7203         utime.h \
7204         valgrind/memcheck.h
7205
7206 do
7207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7208 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7209   { echo "$as_me:$LINENO: checking for $ac_header" >&5
7210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7212   echo $ECHO_N "(cached) $ECHO_C" >&6
7213 fi
7214 ac_res=`eval echo '${'$as_ac_Header'}'`
7215                { echo "$as_me:$LINENO: result: $ac_res" >&5
7216 echo "${ECHO_T}$ac_res" >&6; }
7217 else
7218   # Is the header compilable?
7219 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7221 cat >conftest.$ac_ext <<_ACEOF
7222 /* confdefs.h.  */
7223 _ACEOF
7224 cat confdefs.h >>conftest.$ac_ext
7225 cat >>conftest.$ac_ext <<_ACEOF
7226 /* end confdefs.h.  */
7227 $ac_includes_default
7228 #include <$ac_header>
7229 _ACEOF
7230 rm -f conftest.$ac_objext
7231 if { (ac_try="$ac_compile"
7232 case "(($ac_try" in
7233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7234   *) ac_try_echo=$ac_try;;
7235 esac
7236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7237   (eval "$ac_compile") 2>conftest.er1
7238   ac_status=$?
7239   grep -v '^ *+' conftest.er1 >conftest.err
7240   rm -f conftest.er1
7241   cat conftest.err >&5
7242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7243   (exit $ac_status); } && {
7244          test -z "$ac_c_werror_flag" ||
7245          test ! -s conftest.err
7246        } && test -s conftest.$ac_objext; then
7247   ac_header_compiler=yes
7248 else
7249   echo "$as_me: failed program was:" >&5
7250 sed 's/^/| /' conftest.$ac_ext >&5
7251
7252         ac_header_compiler=no
7253 fi
7254
7255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7256 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7257 echo "${ECHO_T}$ac_header_compiler" >&6; }
7258
7259 # Is the header present?
7260 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7262 cat >conftest.$ac_ext <<_ACEOF
7263 /* confdefs.h.  */
7264 _ACEOF
7265 cat confdefs.h >>conftest.$ac_ext
7266 cat >>conftest.$ac_ext <<_ACEOF
7267 /* end confdefs.h.  */
7268 #include <$ac_header>
7269 _ACEOF
7270 if { (ac_try="$ac_cpp conftest.$ac_ext"
7271 case "(($ac_try" in
7272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7273   *) ac_try_echo=$ac_try;;
7274 esac
7275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7276   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7277   ac_status=$?
7278   grep -v '^ *+' conftest.er1 >conftest.err
7279   rm -f conftest.er1
7280   cat conftest.err >&5
7281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7282   (exit $ac_status); } >/dev/null && {
7283          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7284          test ! -s conftest.err
7285        }; then
7286   ac_header_preproc=yes
7287 else
7288   echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7290
7291   ac_header_preproc=no
7292 fi
7293
7294 rm -f conftest.err conftest.$ac_ext
7295 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7296 echo "${ECHO_T}$ac_header_preproc" >&6; }
7297
7298 # So?  What about this header?
7299 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7300   yes:no: )
7301     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7302 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7303     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7304 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7305     ac_header_preproc=yes
7306     ;;
7307   no:yes:* )
7308     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7309 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7310     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7311 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7312     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7313 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7314     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7315 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7316     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7318     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7319 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7320     ( cat <<\_ASBOX
7321 ## ------------------------------------ ##
7322 ## Report this to wine-devel@winehq.org ##
7323 ## ------------------------------------ ##
7324 _ASBOX
7325      ) | sed "s/^/$as_me: WARNING:     /" >&2
7326     ;;
7327 esac
7328 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7331   echo $ECHO_N "(cached) $ECHO_C" >&6
7332 else
7333   eval "$as_ac_Header=\$ac_header_preproc"
7334 fi
7335 ac_res=`eval echo '${'$as_ac_Header'}'`
7336                { echo "$as_me:$LINENO: result: $ac_res" >&5
7337 echo "${ECHO_T}$ac_res" >&6; }
7338
7339 fi
7340 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7341   cat >>confdefs.h <<_ACEOF
7342 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7343 _ACEOF
7344
7345 fi
7346
7347 done
7348
7349 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7350 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7351 if test "${ac_cv_header_stat_broken+set}" = set; then
7352   echo $ECHO_N "(cached) $ECHO_C" >&6
7353 else
7354   cat >conftest.$ac_ext <<_ACEOF
7355 /* confdefs.h.  */
7356 _ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h.  */
7360 #include <sys/types.h>
7361 #include <sys/stat.h>
7362
7363 #if defined S_ISBLK && defined S_IFDIR
7364 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7365 #endif
7366
7367 #if defined S_ISBLK && defined S_IFCHR
7368 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7369 #endif
7370
7371 #if defined S_ISLNK && defined S_IFREG
7372 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7373 #endif
7374
7375 #if defined S_ISSOCK && defined S_IFREG
7376 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7377 #endif
7378
7379 _ACEOF
7380 rm -f conftest.$ac_objext
7381 if { (ac_try="$ac_compile"
7382 case "(($ac_try" in
7383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7384   *) ac_try_echo=$ac_try;;
7385 esac
7386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7387   (eval "$ac_compile") 2>conftest.er1
7388   ac_status=$?
7389   grep -v '^ *+' conftest.er1 >conftest.err
7390   rm -f conftest.er1
7391   cat conftest.err >&5
7392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393   (exit $ac_status); } && {
7394          test -z "$ac_c_werror_flag" ||
7395          test ! -s conftest.err
7396        } && test -s conftest.$ac_objext; then
7397   ac_cv_header_stat_broken=no
7398 else
7399   echo "$as_me: failed program was:" >&5
7400 sed 's/^/| /' conftest.$ac_ext >&5
7401
7402         ac_cv_header_stat_broken=yes
7403 fi
7404
7405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7406 fi
7407 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7408 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7409 if test $ac_cv_header_stat_broken = yes; then
7410
7411 cat >>confdefs.h <<\_ACEOF
7412 #define STAT_MACROS_BROKEN 1
7413 _ACEOF
7414
7415 fi
7416
7417
7418
7419
7420
7421
7422
7423 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7424 do
7425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7429   echo $ECHO_N "(cached) $ECHO_C" >&6
7430 else
7431   cat >conftest.$ac_ext <<_ACEOF
7432 /* confdefs.h.  */
7433 _ACEOF
7434 cat confdefs.h >>conftest.$ac_ext
7435 cat >>conftest.$ac_ext <<_ACEOF
7436 /* end confdefs.h.  */
7437 #include <sys/types.h>
7438      #ifdef HAVE_SYS_PARAM_H
7439      # include <sys/param.h>
7440      #endif
7441
7442 #include <$ac_header>
7443 _ACEOF
7444 rm -f conftest.$ac_objext
7445 if { (ac_try="$ac_compile"
7446 case "(($ac_try" in
7447   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7448   *) ac_try_echo=$ac_try;;
7449 esac
7450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7451   (eval "$ac_compile") 2>conftest.er1
7452   ac_status=$?
7453   grep -v '^ *+' conftest.er1 >conftest.err
7454   rm -f conftest.er1
7455   cat conftest.err >&5
7456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457   (exit $ac_status); } && {
7458          test -z "$ac_c_werror_flag" ||
7459          test ! -s conftest.err
7460        } && test -s conftest.$ac_objext; then
7461   eval "$as_ac_Header=yes"
7462 else
7463   echo "$as_me: failed program was:" >&5
7464 sed 's/^/| /' conftest.$ac_ext >&5
7465
7466         eval "$as_ac_Header=no"
7467 fi
7468
7469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7470 fi
7471 ac_res=`eval echo '${'$as_ac_Header'}'`
7472                { echo "$as_me:$LINENO: result: $ac_res" >&5
7473 echo "${ECHO_T}$ac_res" >&6; }
7474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7475   cat >>confdefs.h <<_ACEOF
7476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7477 _ACEOF
7478
7479 fi
7480
7481 done
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492 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
7493 do
7494 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7498   echo $ECHO_N "(cached) $ECHO_C" >&6
7499 else
7500   cat >conftest.$ac_ext <<_ACEOF
7501 /* confdefs.h.  */
7502 _ACEOF
7503 cat confdefs.h >>conftest.$ac_ext
7504 cat >>conftest.$ac_ext <<_ACEOF
7505 /* end confdefs.h.  */
7506 #include <sys/types.h>
7507      #ifdef HAVE_SYS_SOCKET_H
7508      # include <sys/socket.h>
7509      #endif
7510      #ifdef HAVE_SYS_SOCKETVAR_H
7511      # include <sys/socketvar.h>
7512      #endif
7513      #ifdef HAVE_NETINET_IN_H
7514      # include <netinet/in.h>
7515      #endif
7516
7517 #include <$ac_header>
7518 _ACEOF
7519 rm -f conftest.$ac_objext
7520 if { (ac_try="$ac_compile"
7521 case "(($ac_try" in
7522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7523   *) ac_try_echo=$ac_try;;
7524 esac
7525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7526   (eval "$ac_compile") 2>conftest.er1
7527   ac_status=$?
7528   grep -v '^ *+' conftest.er1 >conftest.err
7529   rm -f conftest.er1
7530   cat conftest.err >&5
7531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532   (exit $ac_status); } && {
7533          test -z "$ac_c_werror_flag" ||
7534          test ! -s conftest.err
7535        } && test -s conftest.$ac_objext; then
7536   eval "$as_ac_Header=yes"
7537 else
7538   echo "$as_me: failed program was:" >&5
7539 sed 's/^/| /' conftest.$ac_ext >&5
7540
7541         eval "$as_ac_Header=no"
7542 fi
7543
7544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7545 fi
7546 ac_res=`eval echo '${'$as_ac_Header'}'`
7547                { echo "$as_me:$LINENO: result: $ac_res" >&5
7548 echo "${ECHO_T}$ac_res" >&6; }
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550   cat >>confdefs.h <<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552 _ACEOF
7553
7554 fi
7555
7556 done
7557
7558
7559
7560
7561
7562 for ac_header in netinet/tcp_var.h netinet/udp_var.h netinet/icmp_var.h
7563 do
7564 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7565 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7567 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7568   echo $ECHO_N "(cached) $ECHO_C" >&6
7569 else
7570   cat >conftest.$ac_ext <<_ACEOF
7571 /* confdefs.h.  */
7572 _ACEOF
7573 cat confdefs.h >>conftest.$ac_ext
7574 cat >>conftest.$ac_ext <<_ACEOF
7575 /* end confdefs.h.  */
7576 #include <sys/types.h>
7577      #ifdef HAVE_ALIAS_H
7578      # include <alias.h>
7579      #endif
7580      #ifdef HAVE_SYS_SOCKET_H
7581      # include <sys/socket.h>
7582      #endif
7583      #ifdef HAVE_SYS_SOCKETVAR_H
7584      # include <sys/socketvar.h>
7585      #endif
7586      #ifdef HAVE_NETINET_IN_H
7587      # include <netinet/in.h>
7588      #endif
7589      #ifdef HAVE_NETINET_IP_VAR_H
7590      # include <netinet/ip_var.h>
7591      #endif
7592      #ifdef HAVE_NETINET_IP_ICMP_H
7593      # include <netinet/ip_icmp.h>
7594      #endif
7595      #ifdef HAVE_NETINET_UDP_H
7596      # include <netinet/udp.h>
7597      #endif
7598      #ifdef HAVE_NETINET_TCP_H
7599      # include <netinet/tcp.h>
7600      #endif
7601
7602 #include <$ac_header>
7603 _ACEOF
7604 rm -f conftest.$ac_objext
7605 if { (ac_try="$ac_compile"
7606 case "(($ac_try" in
7607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7608   *) ac_try_echo=$ac_try;;
7609 esac
7610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7611   (eval "$ac_compile") 2>conftest.er1
7612   ac_status=$?
7613   grep -v '^ *+' conftest.er1 >conftest.err
7614   rm -f conftest.er1
7615   cat conftest.err >&5
7616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617   (exit $ac_status); } && {
7618          test -z "$ac_c_werror_flag" ||
7619          test ! -s conftest.err
7620        } && test -s conftest.$ac_objext; then
7621   eval "$as_ac_Header=yes"
7622 else
7623   echo "$as_me: failed program was:" >&5
7624 sed 's/^/| /' conftest.$ac_ext >&5
7625
7626         eval "$as_ac_Header=no"
7627 fi
7628
7629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7630 fi
7631 ac_res=`eval echo '${'$as_ac_Header'}'`
7632                { echo "$as_me:$LINENO: result: $ac_res" >&5
7633 echo "${ECHO_T}$ac_res" >&6; }
7634 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7635   cat >>confdefs.h <<_ACEOF
7636 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7637 _ACEOF
7638
7639 fi
7640
7641 done
7642
7643
7644
7645 for ac_header in linux/ipx.h
7646 do
7647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7648 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7650 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7651   echo $ECHO_N "(cached) $ECHO_C" >&6
7652 else
7653   cat >conftest.$ac_ext <<_ACEOF
7654 /* confdefs.h.  */
7655 _ACEOF
7656 cat confdefs.h >>conftest.$ac_ext
7657 cat >>conftest.$ac_ext <<_ACEOF
7658 /* end confdefs.h.  */
7659 #include <sys/types.h>
7660      #ifdef HAVE_ASM_TYPES_H
7661      # include <asm/types.h>
7662      #endif
7663      #ifdef HAVE_SYS_SOCKET_H
7664      # include <sys/socket.h>
7665      #endif
7666
7667 #include <$ac_header>
7668 _ACEOF
7669 rm -f conftest.$ac_objext
7670 if { (ac_try="$ac_compile"
7671 case "(($ac_try" in
7672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7673   *) ac_try_echo=$ac_try;;
7674 esac
7675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7676   (eval "$ac_compile") 2>conftest.er1
7677   ac_status=$?
7678   grep -v '^ *+' conftest.er1 >conftest.err
7679   rm -f conftest.er1
7680   cat conftest.err >&5
7681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7682   (exit $ac_status); } && {
7683          test -z "$ac_c_werror_flag" ||
7684          test ! -s conftest.err
7685        } && test -s conftest.$ac_objext; then
7686   eval "$as_ac_Header=yes"
7687 else
7688   echo "$as_me: failed program was:" >&5
7689 sed 's/^/| /' conftest.$ac_ext >&5
7690
7691         eval "$as_ac_Header=no"
7692 fi
7693
7694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7695 fi
7696 ac_res=`eval echo '${'$as_ac_Header'}'`
7697                { echo "$as_me:$LINENO: result: $ac_res" >&5
7698 echo "${ECHO_T}$ac_res" >&6; }
7699 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7700   cat >>confdefs.h <<_ACEOF
7701 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7702 _ACEOF
7703
7704 fi
7705
7706 done
7707
7708
7709
7710 for ac_header in resolv.h
7711 do
7712 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7713 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7715 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7716   echo $ECHO_N "(cached) $ECHO_C" >&6
7717 else
7718   cat >conftest.$ac_ext <<_ACEOF
7719 /* confdefs.h.  */
7720 _ACEOF
7721 cat confdefs.h >>conftest.$ac_ext
7722 cat >>conftest.$ac_ext <<_ACEOF
7723 /* end confdefs.h.  */
7724 #include <sys/types.h>
7725      #ifdef HAVE_SYS_SOCKET_H
7726      # include <sys/socket.h>
7727      #endif
7728      #ifdef HAVE_NETINET_IN_H
7729      # include <netinet/in.h>
7730      #endif
7731      #ifdef HAVE_ARPA_NAMESER_H
7732      # include <arpa/nameser.h>
7733      #endif
7734
7735 #include <$ac_header>
7736 _ACEOF
7737 rm -f conftest.$ac_objext
7738 if { (ac_try="$ac_compile"
7739 case "(($ac_try" in
7740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7741   *) ac_try_echo=$ac_try;;
7742 esac
7743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7744   (eval "$ac_compile") 2>conftest.er1
7745   ac_status=$?
7746   grep -v '^ *+' conftest.er1 >conftest.err
7747   rm -f conftest.er1
7748   cat conftest.err >&5
7749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7750   (exit $ac_status); } && {
7751          test -z "$ac_c_werror_flag" ||
7752          test ! -s conftest.err
7753        } && test -s conftest.$ac_objext; then
7754   eval "$as_ac_Header=yes"
7755 else
7756   echo "$as_me: failed program was:" >&5
7757 sed 's/^/| /' conftest.$ac_ext >&5
7758
7759         eval "$as_ac_Header=no"
7760 fi
7761
7762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7763 fi
7764 ac_res=`eval echo '${'$as_ac_Header'}'`
7765                { echo "$as_me:$LINENO: result: $ac_res" >&5
7766 echo "${ECHO_T}$ac_res" >&6; }
7767 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7768   cat >>confdefs.h <<_ACEOF
7769 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7770 _ACEOF
7771
7772 fi
7773
7774 done
7775
7776
7777
7778 for ac_header in ucontext.h
7779 do
7780 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7781 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7783 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7784   echo $ECHO_N "(cached) $ECHO_C" >&6
7785 else
7786   cat >conftest.$ac_ext <<_ACEOF
7787 /* confdefs.h.  */
7788 _ACEOF
7789 cat confdefs.h >>conftest.$ac_ext
7790 cat >>conftest.$ac_ext <<_ACEOF
7791 /* end confdefs.h.  */
7792 #include <signal.h>
7793
7794 #include <$ac_header>
7795 _ACEOF
7796 rm -f conftest.$ac_objext
7797 if { (ac_try="$ac_compile"
7798 case "(($ac_try" in
7799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7800   *) ac_try_echo=$ac_try;;
7801 esac
7802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7803   (eval "$ac_compile") 2>conftest.er1
7804   ac_status=$?
7805   grep -v '^ *+' conftest.er1 >conftest.err
7806   rm -f conftest.er1
7807   cat conftest.err >&5
7808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809   (exit $ac_status); } && {
7810          test -z "$ac_c_werror_flag" ||
7811          test ! -s conftest.err
7812        } && test -s conftest.$ac_objext; then
7813   eval "$as_ac_Header=yes"
7814 else
7815   echo "$as_me: failed program was:" >&5
7816 sed 's/^/| /' conftest.$ac_ext >&5
7817
7818         eval "$as_ac_Header=no"
7819 fi
7820
7821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7822 fi
7823 ac_res=`eval echo '${'$as_ac_Header'}'`
7824                { echo "$as_me:$LINENO: result: $ac_res" >&5
7825 echo "${ECHO_T}$ac_res" >&6; }
7826 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7827   cat >>confdefs.h <<_ACEOF
7828 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7829 _ACEOF
7830
7831 fi
7832
7833 done
7834
7835
7836
7837 for ac_header in sys/thr.h
7838 do
7839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7843   echo $ECHO_N "(cached) $ECHO_C" >&6
7844 else
7845   cat >conftest.$ac_ext <<_ACEOF
7846 /* confdefs.h.  */
7847 _ACEOF
7848 cat confdefs.h >>conftest.$ac_ext
7849 cat >>conftest.$ac_ext <<_ACEOF
7850 /* end confdefs.h.  */
7851 #include <sys/types.h>
7852 #ifdef HAVE_UCONTEXT_H
7853 #include <ucontext.h>
7854 #endif
7855
7856 #include <$ac_header>
7857 _ACEOF
7858 rm -f conftest.$ac_objext
7859 if { (ac_try="$ac_compile"
7860 case "(($ac_try" in
7861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7862   *) ac_try_echo=$ac_try;;
7863 esac
7864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7865   (eval "$ac_compile") 2>conftest.er1
7866   ac_status=$?
7867   grep -v '^ *+' conftest.er1 >conftest.err
7868   rm -f conftest.er1
7869   cat conftest.err >&5
7870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871   (exit $ac_status); } && {
7872          test -z "$ac_c_werror_flag" ||
7873          test ! -s conftest.err
7874        } && test -s conftest.$ac_objext; then
7875   eval "$as_ac_Header=yes"
7876 else
7877   echo "$as_me: failed program was:" >&5
7878 sed 's/^/| /' conftest.$ac_ext >&5
7879
7880         eval "$as_ac_Header=no"
7881 fi
7882
7883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7884 fi
7885 ac_res=`eval echo '${'$as_ac_Header'}'`
7886                { echo "$as_me:$LINENO: result: $ac_res" >&5
7887 echo "${ECHO_T}$ac_res" >&6; }
7888 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7889   cat >>confdefs.h <<_ACEOF
7890 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7891 _ACEOF
7892
7893 fi
7894
7895 done
7896
7897
7898
7899 for ac_header in pthread_np.h
7900 do
7901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7905   echo $ECHO_N "(cached) $ECHO_C" >&6
7906 else
7907   cat >conftest.$ac_ext <<_ACEOF
7908 /* confdefs.h.  */
7909 _ACEOF
7910 cat confdefs.h >>conftest.$ac_ext
7911 cat >>conftest.$ac_ext <<_ACEOF
7912 /* end confdefs.h.  */
7913 #ifdef HAVE_PTHREAD_H
7914 #include <pthread.h>
7915 #endif
7916
7917 #include <$ac_header>
7918 _ACEOF
7919 rm -f conftest.$ac_objext
7920 if { (ac_try="$ac_compile"
7921 case "(($ac_try" in
7922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7923   *) ac_try_echo=$ac_try;;
7924 esac
7925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7926   (eval "$ac_compile") 2>conftest.er1
7927   ac_status=$?
7928   grep -v '^ *+' conftest.er1 >conftest.err
7929   rm -f conftest.er1
7930   cat conftest.err >&5
7931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7932   (exit $ac_status); } && {
7933          test -z "$ac_c_werror_flag" ||
7934          test ! -s conftest.err
7935        } && test -s conftest.$ac_objext; then
7936   eval "$as_ac_Header=yes"
7937 else
7938   echo "$as_me: failed program was:" >&5
7939 sed 's/^/| /' conftest.$ac_ext >&5
7940
7941         eval "$as_ac_Header=no"
7942 fi
7943
7944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7945 fi
7946 ac_res=`eval echo '${'$as_ac_Header'}'`
7947                { echo "$as_me:$LINENO: result: $ac_res" >&5
7948 echo "${ECHO_T}$ac_res" >&6; }
7949 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7950   cat >>confdefs.h <<_ACEOF
7951 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7952 _ACEOF
7953
7954 fi
7955
7956 done
7957
7958
7959
7960 for ac_header in linux/videodev.h
7961 do
7962 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7963 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7966   echo $ECHO_N "(cached) $ECHO_C" >&6
7967 else
7968   cat >conftest.$ac_ext <<_ACEOF
7969 /* confdefs.h.  */
7970 _ACEOF
7971 cat confdefs.h >>conftest.$ac_ext
7972 cat >>conftest.$ac_ext <<_ACEOF
7973 /* end confdefs.h.  */
7974 #ifdef HAVE_SYS_TIME_H
7975 #include <sys/time.h>
7976 #endif
7977 #include <sys/types.h>
7978 #ifdef HAVE_ASM_TYPES_H
7979 #include <asm/types.h>
7980 #endif
7981
7982 #include <$ac_header>
7983 _ACEOF
7984 rm -f conftest.$ac_objext
7985 if { (ac_try="$ac_compile"
7986 case "(($ac_try" in
7987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7988   *) ac_try_echo=$ac_try;;
7989 esac
7990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7991   (eval "$ac_compile") 2>conftest.er1
7992   ac_status=$?
7993   grep -v '^ *+' conftest.er1 >conftest.err
7994   rm -f conftest.er1
7995   cat conftest.err >&5
7996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7997   (exit $ac_status); } && {
7998          test -z "$ac_c_werror_flag" ||
7999          test ! -s conftest.err
8000        } && test -s conftest.$ac_objext; then
8001   eval "$as_ac_Header=yes"
8002 else
8003   echo "$as_me: failed program was:" >&5
8004 sed 's/^/| /' conftest.$ac_ext >&5
8005
8006         eval "$as_ac_Header=no"
8007 fi
8008
8009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8010 fi
8011 ac_res=`eval echo '${'$as_ac_Header'}'`
8012                { echo "$as_me:$LINENO: result: $ac_res" >&5
8013 echo "${ECHO_T}$ac_res" >&6; }
8014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8015   cat >>confdefs.h <<_ACEOF
8016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8017 _ACEOF
8018
8019 fi
8020
8021 done
8022
8023
8024
8025 for ac_header in linux/capi.h
8026 do
8027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8031   echo $ECHO_N "(cached) $ECHO_C" >&6
8032 else
8033   cat >conftest.$ac_ext <<_ACEOF
8034 /* confdefs.h.  */
8035 _ACEOF
8036 cat confdefs.h >>conftest.$ac_ext
8037 cat >>conftest.$ac_ext <<_ACEOF
8038 /* end confdefs.h.  */
8039 #define __user
8040
8041 #include <$ac_header>
8042 _ACEOF
8043 rm -f conftest.$ac_objext
8044 if { (ac_try="$ac_compile"
8045 case "(($ac_try" in
8046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8047   *) ac_try_echo=$ac_try;;
8048 esac
8049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8050   (eval "$ac_compile") 2>conftest.er1
8051   ac_status=$?
8052   grep -v '^ *+' conftest.er1 >conftest.err
8053   rm -f conftest.er1
8054   cat conftest.err >&5
8055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056   (exit $ac_status); } && {
8057          test -z "$ac_c_werror_flag" ||
8058          test ! -s conftest.err
8059        } && test -s conftest.$ac_objext; then
8060   eval "$as_ac_Header=yes"
8061 else
8062   echo "$as_me: failed program was:" >&5
8063 sed 's/^/| /' conftest.$ac_ext >&5
8064
8065         eval "$as_ac_Header=no"
8066 fi
8067
8068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8069 fi
8070 ac_res=`eval echo '${'$as_ac_Header'}'`
8071                { echo "$as_me:$LINENO: result: $ac_res" >&5
8072 echo "${ECHO_T}$ac_res" >&6; }
8073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8074   cat >>confdefs.h <<_ACEOF
8075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8077
8078 fi
8079
8080 done
8081
8082
8083
8084 DLLEXT=""
8085
8086 DLLFLAGS="-D_REENTRANT"
8087
8088 LDSHARED=""
8089
8090 LDDLLFLAGS=""
8091
8092 LIBEXT="so"
8093
8094 IMPLIBEXT="def"
8095
8096 LDRPATH_INSTALL=""
8097
8098 LDRPATH_LOCAL=""
8099
8100 # Extract the first word of "ldd", so it can be a program name with args.
8101 set dummy ldd; ac_word=$2
8102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8104 if test "${ac_cv_path_LDD+set}" = set; then
8105   echo $ECHO_N "(cached) $ECHO_C" >&6
8106 else
8107   case $LDD in
8108   [\\/]* | ?:[\\/]*)
8109   ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
8110   ;;
8111   *)
8112   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8113 as_dummy="/sbin:/usr/sbin:$PATH"
8114 for as_dir in $as_dummy
8115 do
8116   IFS=$as_save_IFS
8117   test -z "$as_dir" && as_dir=.
8118   for ac_exec_ext in '' $ac_executable_extensions; do
8119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8120     ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
8121     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8122     break 2
8123   fi
8124 done
8125 done
8126 IFS=$as_save_IFS
8127
8128   test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
8129   ;;
8130 esac
8131 fi
8132 LDD=$ac_cv_path_LDD
8133 if test -n "$LDD"; then
8134   { echo "$as_me:$LINENO: result: $LDD" >&5
8135 echo "${ECHO_T}$LDD" >&6; }
8136 else
8137   { echo "$as_me:$LINENO: result: no" >&5
8138 echo "${ECHO_T}no" >&6; }
8139 fi
8140
8141
8142
8143 case $host_os in
8144   cygwin*|mingw32*)
8145     if test -n "$ac_tool_prefix"; then
8146   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8147 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8148 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8149 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8150 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8151   echo $ECHO_N "(cached) $ECHO_C" >&6
8152 else
8153   if test -n "$DLLTOOL"; then
8154   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8155 else
8156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 for as_dir in $PATH
8158 do
8159   IFS=$as_save_IFS
8160   test -z "$as_dir" && as_dir=.
8161   for ac_exec_ext in '' $ac_executable_extensions; do
8162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8163     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8164     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8165     break 2
8166   fi
8167 done
8168 done
8169 IFS=$as_save_IFS
8170
8171 fi
8172 fi
8173 DLLTOOL=$ac_cv_prog_DLLTOOL
8174 if test -n "$DLLTOOL"; then
8175   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8176 echo "${ECHO_T}$DLLTOOL" >&6; }
8177 else
8178   { echo "$as_me:$LINENO: result: no" >&5
8179 echo "${ECHO_T}no" >&6; }
8180 fi
8181
8182
8183 fi
8184 if test -z "$ac_cv_prog_DLLTOOL"; then
8185   ac_ct_DLLTOOL=$DLLTOOL
8186   # Extract the first word of "dlltool", so it can be a program name with args.
8187 set dummy dlltool; ac_word=$2
8188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8190 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
8191   echo $ECHO_N "(cached) $ECHO_C" >&6
8192 else
8193   if test -n "$ac_ct_DLLTOOL"; then
8194   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8195 else
8196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 for as_dir in $PATH
8198 do
8199   IFS=$as_save_IFS
8200   test -z "$as_dir" && as_dir=.
8201   for ac_exec_ext in '' $ac_executable_extensions; do
8202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8203     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8204     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8205     break 2
8206   fi
8207 done
8208 done
8209 IFS=$as_save_IFS
8210
8211 fi
8212 fi
8213 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8214 if test -n "$ac_ct_DLLTOOL"; then
8215   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
8216 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
8217 else
8218   { echo "$as_me:$LINENO: result: no" >&5
8219 echo "${ECHO_T}no" >&6; }
8220 fi
8221
8222   if test "x$ac_ct_DLLTOOL" = x; then
8223     DLLTOOL="false"
8224   else
8225     case $cross_compiling:$ac_tool_warned in
8226 yes:)
8227 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8228 whose name does not start with the host triplet.  If you think this
8229 configuration is useful to you, please write to autoconf@gnu.org." >&5
8230 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8231 whose name does not start with the host triplet.  If you think this
8232 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8233 ac_tool_warned=yes ;;
8234 esac
8235     DLLTOOL=$ac_ct_DLLTOOL
8236   fi
8237 else
8238   DLLTOOL="$ac_cv_prog_DLLTOOL"
8239 fi
8240
8241     if test -n "$ac_tool_prefix"; then
8242   # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
8243 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
8244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8246 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
8247   echo $ECHO_N "(cached) $ECHO_C" >&6
8248 else
8249   if test -n "$DLLWRAP"; then
8250   ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
8251 else
8252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 for as_dir in $PATH
8254 do
8255   IFS=$as_save_IFS
8256   test -z "$as_dir" && as_dir=.
8257   for ac_exec_ext in '' $ac_executable_extensions; do
8258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8259     ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
8260     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8261     break 2
8262   fi
8263 done
8264 done
8265 IFS=$as_save_IFS
8266
8267 fi
8268 fi
8269 DLLWRAP=$ac_cv_prog_DLLWRAP
8270 if test -n "$DLLWRAP"; then
8271   { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
8272 echo "${ECHO_T}$DLLWRAP" >&6; }
8273 else
8274   { echo "$as_me:$LINENO: result: no" >&5
8275 echo "${ECHO_T}no" >&6; }
8276 fi
8277
8278
8279 fi
8280 if test -z "$ac_cv_prog_DLLWRAP"; then
8281   ac_ct_DLLWRAP=$DLLWRAP
8282   # Extract the first word of "dllwrap", so it can be a program name with args.
8283 set dummy dllwrap; ac_word=$2
8284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8286 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
8287   echo $ECHO_N "(cached) $ECHO_C" >&6
8288 else
8289   if test -n "$ac_ct_DLLWRAP"; then
8290   ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
8291 else
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293 for as_dir in $PATH
8294 do
8295   IFS=$as_save_IFS
8296   test -z "$as_dir" && as_dir=.
8297   for ac_exec_ext in '' $ac_executable_extensions; do
8298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8299     ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
8300     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8301     break 2
8302   fi
8303 done
8304 done
8305 IFS=$as_save_IFS
8306
8307 fi
8308 fi
8309 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
8310 if test -n "$ac_ct_DLLWRAP"; then
8311   { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
8312 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
8313 else
8314   { echo "$as_me:$LINENO: result: no" >&5
8315 echo "${ECHO_T}no" >&6; }
8316 fi
8317
8318   if test "x$ac_ct_DLLWRAP" = x; then
8319     DLLWRAP="false"
8320   else
8321     case $cross_compiling:$ac_tool_warned in
8322 yes:)
8323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8324 whose name does not start with the host triplet.  If you think this
8325 configuration is useful to you, please write to autoconf@gnu.org." >&5
8326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8327 whose name does not start with the host triplet.  If you think this
8328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8329 ac_tool_warned=yes ;;
8330 esac
8331     DLLWRAP=$ac_ct_DLLWRAP
8332   fi
8333 else
8334   DLLWRAP="$ac_cv_prog_DLLWRAP"
8335 fi
8336
8337     if test -n "$ac_tool_prefix"; then
8338   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
8339 set dummy ${ac_tool_prefix}ar; ac_word=$2
8340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8342 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8343   echo $ECHO_N "(cached) $ECHO_C" >&6
8344 else
8345   if test -n "$MINGWAR"; then
8346   ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8347 else
8348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8349 for as_dir in $PATH
8350 do
8351   IFS=$as_save_IFS
8352   test -z "$as_dir" && as_dir=.
8353   for ac_exec_ext in '' $ac_executable_extensions; do
8354   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8355     ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
8356     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8357     break 2
8358   fi
8359 done
8360 done
8361 IFS=$as_save_IFS
8362
8363 fi
8364 fi
8365 MINGWAR=$ac_cv_prog_MINGWAR
8366 if test -n "$MINGWAR"; then
8367   { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8368 echo "${ECHO_T}$MINGWAR" >&6; }
8369 else
8370   { echo "$as_me:$LINENO: result: no" >&5
8371 echo "${ECHO_T}no" >&6; }
8372 fi
8373
8374
8375 fi
8376 if test -z "$ac_cv_prog_MINGWAR"; then
8377   ac_ct_MINGWAR=$MINGWAR
8378   # Extract the first word of "ar", so it can be a program name with args.
8379 set dummy ar; ac_word=$2
8380 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8381 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8382 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
8383   echo $ECHO_N "(cached) $ECHO_C" >&6
8384 else
8385   if test -n "$ac_ct_MINGWAR"; then
8386   ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
8387 else
8388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8389 for as_dir in $PATH
8390 do
8391   IFS=$as_save_IFS
8392   test -z "$as_dir" && as_dir=.
8393   for ac_exec_ext in '' $ac_executable_extensions; do
8394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8395     ac_cv_prog_ac_ct_MINGWAR="ar"
8396     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8397     break 2
8398   fi
8399 done
8400 done
8401 IFS=$as_save_IFS
8402
8403 fi
8404 fi
8405 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
8406 if test -n "$ac_ct_MINGWAR"; then
8407   { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
8408 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
8409 else
8410   { echo "$as_me:$LINENO: result: no" >&5
8411 echo "${ECHO_T}no" >&6; }
8412 fi
8413
8414   if test "x$ac_ct_MINGWAR" = x; then
8415     MINGWAR="false"
8416   else
8417     case $cross_compiling:$ac_tool_warned in
8418 yes:)
8419 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
8420 whose name does not start with the host triplet.  If you think this
8421 configuration is useful to you, please write to autoconf@gnu.org." >&5
8422 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
8423 whose name does not start with the host triplet.  If you think this
8424 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8425 ac_tool_warned=yes ;;
8426 esac
8427     MINGWAR=$ac_ct_MINGWAR
8428   fi
8429 else
8430   MINGWAR="$ac_cv_prog_MINGWAR"
8431 fi
8432
8433     if test "$DLLWRAP" = "false"; then
8434       LIBEXT="a"
8435     else
8436             LIBEXT="dll"
8437     fi
8438     IMPLIBEXT="a"
8439         WIN16_FILES=""
8440     WIN16_INSTALL=""
8441     ;;
8442   darwin*|macosx*)
8443     DLLEXT=".so"
8444     LIBEXT="dylib"
8445     DLLFLAGS="$DLLFLAGS -fPIC"
8446     LDDLLFLAGS="-bundle -multiply_defined suppress"
8447     LIBWINE_LDFLAGS="-multiply_defined suppress"
8448     LDSHARED="\$(CC) -dynamiclib"
8449     STRIP="$STRIP -x"
8450     LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8451         SECURITYLIB="-framework Security -framework CoreFoundation"
8452
8453     COREFOUNDATIONLIB="-framework CoreFoundation"
8454
8455     IOKITLIB="-framework IOKit -framework CoreFoundation"
8456
8457     LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8458
8459     if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8460     then
8461                 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8462
8463     fi
8464     if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8465     then
8466                 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8467
8468     fi
8469     case $host_cpu in
8470       *powerpc*)
8471         LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"          ;;
8472     esac
8473         if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8474     then
8475         CARBONLIB="-framework Carbon"
8476
8477         QUARTZFILES='$(QUARTZFILES)'
8478     fi
8479     ;;
8480   *)
8481     DLLFLAGS="$DLLFLAGS -fPIC"
8482     DLLEXT=".so"
8483     { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8484 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8485 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8486   echo $ECHO_N "(cached) $ECHO_C" >&6
8487 else
8488   ac_wine_try_cflags_saved=$CFLAGS
8489 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8490 cat >conftest.$ac_ext <<_ACEOF
8491 void myfunc() {}
8492 _ACEOF
8493 rm -f conftest.$ac_objext conftest$ac_exeext
8494 if { (ac_try="$ac_link"
8495 case "(($ac_try" in
8496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8497   *) ac_try_echo=$ac_try;;
8498 esac
8499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8500   (eval "$ac_link") 2>conftest.er1
8501   ac_status=$?
8502   grep -v '^ *+' conftest.er1 >conftest.err
8503   rm -f conftest.er1
8504   cat conftest.err >&5
8505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506   (exit $ac_status); } && {
8507          test -z "$ac_c_werror_flag" ||
8508          test ! -s conftest.err
8509        } && test -s conftest$ac_exeext &&
8510        $as_test_x conftest$ac_exeext; then
8511   ac_cv_c_dll_gnuelf="yes"
8512 else
8513   echo "$as_me: failed program was:" >&5
8514 sed 's/^/| /' conftest.$ac_ext >&5
8515
8516         ac_cv_c_dll_gnuelf="no"
8517 fi
8518
8519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8520       conftest$ac_exeext conftest.$ac_ext
8521 CFLAGS=$ac_wine_try_cflags_saved
8522 fi
8523 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8524 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8525     if test "$ac_cv_c_dll_gnuelf" = "yes"
8526     then
8527       LDSHARED="\$(CC) -shared"
8528       LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8529       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8530 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8531 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8532   echo $ECHO_N "(cached) $ECHO_C" >&6
8533 else
8534   ac_wine_try_cflags_saved=$CFLAGS
8535 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8536 cat >conftest.$ac_ext <<_ACEOF
8537 /* confdefs.h.  */
8538 _ACEOF
8539 cat confdefs.h >>conftest.$ac_ext
8540 cat >>conftest.$ac_ext <<_ACEOF
8541 /* end confdefs.h.  */
8542
8543 int
8544 main ()
8545 {
8546
8547   ;
8548   return 0;
8549 }
8550 _ACEOF
8551 rm -f conftest.$ac_objext conftest$ac_exeext
8552 if { (ac_try="$ac_link"
8553 case "(($ac_try" in
8554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8555   *) ac_try_echo=$ac_try;;
8556 esac
8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8558   (eval "$ac_link") 2>conftest.er1
8559   ac_status=$?
8560   grep -v '^ *+' conftest.er1 >conftest.err
8561   rm -f conftest.er1
8562   cat conftest.err >&5
8563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8564   (exit $ac_status); } && {
8565          test -z "$ac_c_werror_flag" ||
8566          test ! -s conftest.err
8567        } && test -s conftest$ac_exeext &&
8568        $as_test_x conftest$ac_exeext; then
8569   ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8570 else
8571   echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.$ac_ext >&5
8573
8574         ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8575 fi
8576
8577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8578       conftest$ac_exeext conftest.$ac_ext
8579 CFLAGS=$ac_wine_try_cflags_saved
8580 fi
8581 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8582 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8583 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8584   LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8585 else
8586   { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8587 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8588 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8589   echo $ECHO_N "(cached) $ECHO_C" >&6
8590 else
8591   ac_wine_try_cflags_saved=$CFLAGS
8592 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8593 cat >conftest.$ac_ext <<_ACEOF
8594 /* confdefs.h.  */
8595 _ACEOF
8596 cat confdefs.h >>conftest.$ac_ext
8597 cat >>conftest.$ac_ext <<_ACEOF
8598 /* end confdefs.h.  */
8599
8600 int
8601 main ()
8602 {
8603
8604   ;
8605   return 0;
8606 }
8607 _ACEOF
8608 rm -f conftest.$ac_objext conftest$ac_exeext
8609 if { (ac_try="$ac_link"
8610 case "(($ac_try" in
8611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8612   *) ac_try_echo=$ac_try;;
8613 esac
8614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8615   (eval "$ac_link") 2>conftest.er1
8616   ac_status=$?
8617   grep -v '^ *+' conftest.er1 >conftest.err
8618   rm -f conftest.er1
8619   cat conftest.err >&5
8620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621   (exit $ac_status); } && {
8622          test -z "$ac_c_werror_flag" ||
8623          test ! -s conftest.err
8624        } && test -s conftest$ac_exeext &&
8625        $as_test_x conftest$ac_exeext; then
8626   ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8627 else
8628   echo "$as_me: failed program was:" >&5
8629 sed 's/^/| /' conftest.$ac_ext >&5
8630
8631         ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8632 fi
8633
8634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8635       conftest$ac_exeext conftest.$ac_ext
8636 CFLAGS=$ac_wine_try_cflags_saved
8637 fi
8638 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8639 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8640 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8641   LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8642 fi
8643
8644 fi
8645
8646
8647       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8648 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8649 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8650   echo $ECHO_N "(cached) $ECHO_C" >&6
8651 else
8652   ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8654 cat >conftest.$ac_ext <<_ACEOF
8655 /* confdefs.h.  */
8656 _ACEOF
8657 cat confdefs.h >>conftest.$ac_ext
8658 cat >>conftest.$ac_ext <<_ACEOF
8659 /* end confdefs.h.  */
8660
8661 int
8662 main ()
8663 {
8664
8665   ;
8666   return 0;
8667 }
8668 _ACEOF
8669 rm -f conftest.$ac_objext conftest$ac_exeext
8670 if { (ac_try="$ac_link"
8671 case "(($ac_try" in
8672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8673   *) ac_try_echo=$ac_try;;
8674 esac
8675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8676   (eval "$ac_link") 2>conftest.er1
8677   ac_status=$?
8678   grep -v '^ *+' conftest.er1 >conftest.err
8679   rm -f conftest.er1
8680   cat conftest.err >&5
8681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8682   (exit $ac_status); } && {
8683          test -z "$ac_c_werror_flag" ||
8684          test ! -s conftest.err
8685        } && test -s conftest$ac_exeext &&
8686        $as_test_x conftest$ac_exeext; then
8687   ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8688 else
8689   echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.$ac_ext >&5
8691
8692         ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8693 fi
8694
8695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8696       conftest$ac_exeext conftest.$ac_ext
8697 CFLAGS=$ac_wine_try_cflags_saved
8698 fi
8699 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8700 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8701 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8702   LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8703 fi
8704
8705
8706       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8707 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8708 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8709   echo $ECHO_N "(cached) $ECHO_C" >&6
8710 else
8711   ac_wine_try_cflags_saved=$CFLAGS
8712 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8713 cat >conftest.$ac_ext <<_ACEOF
8714 /* confdefs.h.  */
8715 _ACEOF
8716 cat confdefs.h >>conftest.$ac_ext
8717 cat >>conftest.$ac_ext <<_ACEOF
8718 /* end confdefs.h.  */
8719
8720 int
8721 main ()
8722 {
8723
8724   ;
8725   return 0;
8726 }
8727 _ACEOF
8728 rm -f conftest.$ac_objext conftest$ac_exeext
8729 if { (ac_try="$ac_link"
8730 case "(($ac_try" in
8731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8732   *) ac_try_echo=$ac_try;;
8733 esac
8734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8735   (eval "$ac_link") 2>conftest.er1
8736   ac_status=$?
8737   grep -v '^ *+' conftest.er1 >conftest.err
8738   rm -f conftest.er1
8739   cat conftest.err >&5
8740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741   (exit $ac_status); } && {
8742          test -z "$ac_c_werror_flag" ||
8743          test ! -s conftest.err
8744        } && test -s conftest$ac_exeext &&
8745        $as_test_x conftest$ac_exeext; then
8746   ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8747 else
8748   echo "$as_me: failed program was:" >&5
8749 sed 's/^/| /' conftest.$ac_ext >&5
8750
8751         ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8752 fi
8753
8754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8755       conftest$ac_exeext conftest.$ac_ext
8756 CFLAGS=$ac_wine_try_cflags_saved
8757 fi
8758 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8759 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8760 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8761   LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8762 fi
8763
8764
8765       echo '{ global: *; };' >conftest.map
8766       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8767 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8768 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8769   echo $ECHO_N "(cached) $ECHO_C" >&6
8770 else
8771   ac_wine_try_cflags_saved=$CFLAGS
8772 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8773 cat >conftest.$ac_ext <<_ACEOF
8774 /* confdefs.h.  */
8775 _ACEOF
8776 cat confdefs.h >>conftest.$ac_ext
8777 cat >>conftest.$ac_ext <<_ACEOF
8778 /* end confdefs.h.  */
8779
8780 int
8781 main ()
8782 {
8783
8784   ;
8785   return 0;
8786 }
8787 _ACEOF
8788 rm -f conftest.$ac_objext conftest$ac_exeext
8789 if { (ac_try="$ac_link"
8790 case "(($ac_try" in
8791   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8792   *) ac_try_echo=$ac_try;;
8793 esac
8794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8795   (eval "$ac_link") 2>conftest.er1
8796   ac_status=$?
8797   grep -v '^ *+' conftest.er1 >conftest.err
8798   rm -f conftest.er1
8799   cat conftest.err >&5
8800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801   (exit $ac_status); } && {
8802          test -z "$ac_c_werror_flag" ||
8803          test ! -s conftest.err
8804        } && test -s conftest$ac_exeext &&
8805        $as_test_x conftest$ac_exeext; then
8806   ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8807 else
8808   echo "$as_me: failed program was:" >&5
8809 sed 's/^/| /' conftest.$ac_ext >&5
8810
8811         ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8812 fi
8813
8814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8815       conftest$ac_exeext conftest.$ac_ext
8816 CFLAGS=$ac_wine_try_cflags_saved
8817 fi
8818 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8819 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8820 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8821   LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8822 fi
8823
8824       rm -f conftest.map
8825
8826       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8827 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8828 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8829   echo $ECHO_N "(cached) $ECHO_C" >&6
8830 else
8831   ac_wine_try_cflags_saved=$CFLAGS
8832 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8833 cat >conftest.$ac_ext <<_ACEOF
8834 /* confdefs.h.  */
8835 _ACEOF
8836 cat confdefs.h >>conftest.$ac_ext
8837 cat >>conftest.$ac_ext <<_ACEOF
8838 /* end confdefs.h.  */
8839
8840 int
8841 main ()
8842 {
8843
8844   ;
8845   return 0;
8846 }
8847 _ACEOF
8848 rm -f conftest.$ac_objext conftest$ac_exeext
8849 if { (ac_try="$ac_link"
8850 case "(($ac_try" in
8851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8852   *) ac_try_echo=$ac_try;;
8853 esac
8854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8855   (eval "$ac_link") 2>conftest.er1
8856   ac_status=$?
8857   grep -v '^ *+' conftest.er1 >conftest.err
8858   rm -f conftest.er1
8859   cat conftest.err >&5
8860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8861   (exit $ac_status); } && {
8862          test -z "$ac_c_werror_flag" ||
8863          test ! -s conftest.err
8864        } && test -s conftest$ac_exeext &&
8865        $as_test_x conftest$ac_exeext; then
8866   ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8867 else
8868   echo "$as_me: failed program was:" >&5
8869 sed 's/^/| /' conftest.$ac_ext >&5
8870
8871         ac_cv_cflags__fPIC__Wl___export_dynamic=no
8872 fi
8873
8874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8875       conftest$ac_exeext conftest.$ac_ext
8876 CFLAGS=$ac_wine_try_cflags_saved
8877 fi
8878 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8879 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8880 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8881   LDEXECFLAGS="-Wl,--export-dynamic"
8882
8883 fi
8884
8885
8886       as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8887 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8888 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8889 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8890   echo $ECHO_N "(cached) $ECHO_C" >&6
8891 else
8892   ac_wine_try_cflags_saved=$CFLAGS
8893 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8894 cat >conftest.$ac_ext <<_ACEOF
8895 /* confdefs.h.  */
8896 _ACEOF
8897 cat confdefs.h >>conftest.$ac_ext
8898 cat >>conftest.$ac_ext <<_ACEOF
8899 /* end confdefs.h.  */
8900
8901 int
8902 main ()
8903 {
8904
8905   ;
8906   return 0;
8907 }
8908 _ACEOF
8909 rm -f conftest.$ac_objext conftest$ac_exeext
8910 if { (ac_try="$ac_link"
8911 case "(($ac_try" in
8912   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8913   *) ac_try_echo=$ac_try;;
8914 esac
8915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8916   (eval "$ac_link") 2>conftest.er1
8917   ac_status=$?
8918   grep -v '^ *+' conftest.er1 >conftest.err
8919   rm -f conftest.er1
8920   cat conftest.err >&5
8921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922   (exit $ac_status); } && {
8923          test -z "$ac_c_werror_flag" ||
8924          test ! -s conftest.err
8925        } && test -s conftest$ac_exeext &&
8926        $as_test_x conftest$ac_exeext; then
8927   eval "$as_ac_var=yes"
8928 else
8929   echo "$as_me: failed program was:" >&5
8930 sed 's/^/| /' conftest.$ac_ext >&5
8931
8932         eval "$as_ac_var=no"
8933 fi
8934
8935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8936       conftest$ac_exeext conftest.$ac_ext
8937 CFLAGS=$ac_wine_try_cflags_saved
8938 fi
8939 ac_res=`eval echo '${'$as_ac_var'}'`
8940                { echo "$as_me:$LINENO: result: $ac_res" >&5
8941 echo "${ECHO_T}$ac_res" >&6; }
8942 if test `eval echo '${'$as_ac_var'}'` = yes; then
8943   LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8944                        LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8945 else
8946   as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8947 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8948 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8949 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8950   echo $ECHO_N "(cached) $ECHO_C" >&6
8951 else
8952   ac_wine_try_cflags_saved=$CFLAGS
8953 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8954 cat >conftest.$ac_ext <<_ACEOF
8955 /* confdefs.h.  */
8956 _ACEOF
8957 cat confdefs.h >>conftest.$ac_ext
8958 cat >>conftest.$ac_ext <<_ACEOF
8959 /* end confdefs.h.  */
8960
8961 int
8962 main ()
8963 {
8964
8965   ;
8966   return 0;
8967 }
8968 _ACEOF
8969 rm -f conftest.$ac_objext conftest$ac_exeext
8970 if { (ac_try="$ac_link"
8971 case "(($ac_try" in
8972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8973   *) ac_try_echo=$ac_try;;
8974 esac
8975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8976   (eval "$ac_link") 2>conftest.er1
8977   ac_status=$?
8978   grep -v '^ *+' conftest.er1 >conftest.err
8979   rm -f conftest.er1
8980   cat conftest.err >&5
8981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8982   (exit $ac_status); } && {
8983          test -z "$ac_c_werror_flag" ||
8984          test ! -s conftest.err
8985        } && test -s conftest$ac_exeext &&
8986        $as_test_x conftest$ac_exeext; then
8987   eval "$as_ac_var=yes"
8988 else
8989   echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.$ac_ext >&5
8991
8992         eval "$as_ac_var=no"
8993 fi
8994
8995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8996       conftest$ac_exeext conftest.$ac_ext
8997 CFLAGS=$ac_wine_try_cflags_saved
8998 fi
8999 ac_res=`eval echo '${'$as_ac_var'}'`
9000                { echo "$as_me:$LINENO: result: $ac_res" >&5
9001 echo "${ECHO_T}$ac_res" >&6; }
9002 if test `eval echo '${'$as_ac_var'}'` = yes; then
9003   LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
9004                             LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
9005 fi
9006
9007 fi
9008
9009
9010       { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9011 echo $ECHO_N "checking whether the compiler supports -Wl,--enable-new-dtags... $ECHO_C" >&6; }
9012 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then
9013   echo $ECHO_N "(cached) $ECHO_C" >&6
9014 else
9015   ac_wine_try_cflags_saved=$CFLAGS
9016 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9017 cat >conftest.$ac_ext <<_ACEOF
9018 /* confdefs.h.  */
9019 _ACEOF
9020 cat confdefs.h >>conftest.$ac_ext
9021 cat >>conftest.$ac_ext <<_ACEOF
9022 /* end confdefs.h.  */
9023
9024 int
9025 main ()
9026 {
9027
9028   ;
9029   return 0;
9030 }
9031 _ACEOF
9032 rm -f conftest.$ac_objext conftest$ac_exeext
9033 if { (ac_try="$ac_link"
9034 case "(($ac_try" in
9035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9036   *) ac_try_echo=$ac_try;;
9037 esac
9038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9039   (eval "$ac_link") 2>conftest.er1
9040   ac_status=$?
9041   grep -v '^ *+' conftest.er1 >conftest.err
9042   rm -f conftest.er1
9043   cat conftest.err >&5
9044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9045   (exit $ac_status); } && {
9046          test -z "$ac_c_werror_flag" ||
9047          test ! -s conftest.err
9048        } && test -s conftest$ac_exeext &&
9049        $as_test_x conftest$ac_exeext; then
9050   ac_cv_cflags__Wl___enable_new_dtags=yes
9051 else
9052   echo "$as_me: failed program was:" >&5
9053 sed 's/^/| /' conftest.$ac_ext >&5
9054
9055         ac_cv_cflags__Wl___enable_new_dtags=no
9056 fi
9057
9058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9059       conftest$ac_exeext conftest.$ac_ext
9060 CFLAGS=$ac_wine_try_cflags_saved
9061 fi
9062 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9063 echo "${ECHO_T}$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9064 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then
9065   LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9066 fi
9067
9068
9069       case $host_cpu in
9070         *i[3456789]86* | x86_64)
9071           { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
9072 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
9073 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
9074   echo $ECHO_N "(cached) $ECHO_C" >&6
9075 else
9076   ac_wine_try_cflags_saved=$CFLAGS
9077 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
9078 cat >conftest.$ac_ext <<_ACEOF
9079 /* confdefs.h.  */
9080 _ACEOF
9081 cat confdefs.h >>conftest.$ac_ext
9082 cat >>conftest.$ac_ext <<_ACEOF
9083 /* end confdefs.h.  */
9084
9085 int
9086 main ()
9087 {
9088
9089   ;
9090   return 0;
9091 }
9092 _ACEOF
9093 rm -f conftest.$ac_objext conftest$ac_exeext
9094 if { (ac_try="$ac_link"
9095 case "(($ac_try" in
9096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9097   *) ac_try_echo=$ac_try;;
9098 esac
9099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9100   (eval "$ac_link") 2>conftest.er1
9101   ac_status=$?
9102   grep -v '^ *+' conftest.er1 >conftest.err
9103   rm -f conftest.er1
9104   cat conftest.err >&5
9105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9106   (exit $ac_status); } && {
9107          test -z "$ac_c_werror_flag" ||
9108          test ! -s conftest.err
9109        } && test -s conftest$ac_exeext &&
9110        $as_test_x conftest$ac_exeext; then
9111   ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
9112 else
9113   echo "$as_me: failed program was:" >&5
9114 sed 's/^/| /' conftest.$ac_ext >&5
9115
9116         ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
9117 fi
9118
9119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9120       conftest$ac_exeext conftest.$ac_ext
9121 CFLAGS=$ac_wine_try_cflags_saved
9122 fi
9123 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
9124 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
9125 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
9126   LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
9127 fi
9128
9129           ;;
9130       esac
9131
9132     else
9133       { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
9134 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
9135 if test "${ac_cv_c_dll_unixware+set}" = set; then
9136   echo $ECHO_N "(cached) $ECHO_C" >&6
9137 else
9138   ac_wine_try_cflags_saved=$CFLAGS
9139 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9140 cat >conftest.$ac_ext <<_ACEOF
9141 void myfunc() {}
9142 _ACEOF
9143 rm -f conftest.$ac_objext conftest$ac_exeext
9144 if { (ac_try="$ac_link"
9145 case "(($ac_try" in
9146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9147   *) ac_try_echo=$ac_try;;
9148 esac
9149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9150   (eval "$ac_link") 2>conftest.er1
9151   ac_status=$?
9152   grep -v '^ *+' conftest.er1 >conftest.err
9153   rm -f conftest.er1
9154   cat conftest.err >&5
9155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156   (exit $ac_status); } && {
9157          test -z "$ac_c_werror_flag" ||
9158          test ! -s conftest.err
9159        } && test -s conftest$ac_exeext &&
9160        $as_test_x conftest$ac_exeext; then
9161   ac_cv_c_dll_unixware="yes"
9162 else
9163   echo "$as_me: failed program was:" >&5
9164 sed 's/^/| /' conftest.$ac_ext >&5
9165
9166         ac_cv_c_dll_unixware="no"
9167 fi
9168
9169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9170       conftest$ac_exeext conftest.$ac_ext
9171 CFLAGS=$ac_wine_try_cflags_saved
9172 fi
9173 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
9174 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
9175       if test "$ac_cv_c_dll_unixware" = "yes"
9176       then
9177         LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
9178         LDDLLFLAGS="-Wl,-G,-B,symbolic"
9179
9180       else
9181         { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
9182 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
9183 if test "${ac_cv_c_dll_hpux+set}" = set; then
9184   echo $ECHO_N "(cached) $ECHO_C" >&6
9185 else
9186   ac_wine_try_cflags_saved=$CFLAGS
9187 CFLAGS="$CFLAGS -shared"
9188 cat >conftest.$ac_ext <<_ACEOF
9189 void myfunc() {}
9190 _ACEOF
9191 rm -f conftest.$ac_objext conftest$ac_exeext
9192 if { (ac_try="$ac_link"
9193 case "(($ac_try" in
9194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9195   *) ac_try_echo=$ac_try;;
9196 esac
9197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9198   (eval "$ac_link") 2>conftest.er1
9199   ac_status=$?
9200   grep -v '^ *+' conftest.er1 >conftest.err
9201   rm -f conftest.er1
9202   cat conftest.err >&5
9203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204   (exit $ac_status); } && {
9205          test -z "$ac_c_werror_flag" ||
9206          test ! -s conftest.err
9207        } && test -s conftest$ac_exeext &&
9208        $as_test_x conftest$ac_exeext; then
9209   ac_cv_c_dll_hpux="yes"
9210 else
9211   echo "$as_me: failed program was:" >&5
9212 sed 's/^/| /' conftest.$ac_ext >&5
9213
9214         ac_cv_c_dll_hpux="no"
9215 fi
9216
9217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9218       conftest$ac_exeext conftest.$ac_ext
9219 CFLAGS=$ac_wine_try_cflags_saved
9220 fi
9221 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
9222 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
9223         if test "$ac_cv_c_dll_hpux" = "yes"
9224         then
9225           LIBEXT="sl"
9226           DLLEXT=".sl"
9227           LDDLLFLAGS="-shared -fPIC"
9228           LDSHARED="\$(CC) -shared"
9229         fi
9230       fi
9231     fi
9232
9233         CROSSTEST=""
9234
9235     if test "$cross_compiling" = "no"
9236     then
9237       for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
9238 do
9239   # Extract the first word of "$ac_prog", so it can be a program name with args.
9240 set dummy $ac_prog; ac_word=$2
9241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9243 if test "${ac_cv_prog_CROSSCC+set}" = set; then
9244   echo $ECHO_N "(cached) $ECHO_C" >&6
9245 else
9246   if test -n "$CROSSCC"; then
9247   ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9248 else
9249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9250 for as_dir in $PATH
9251 do
9252   IFS=$as_save_IFS
9253   test -z "$as_dir" && as_dir=.
9254   for ac_exec_ext in '' $ac_executable_extensions; do
9255   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9256     ac_cv_prog_CROSSCC="$ac_prog"
9257     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9258     break 2
9259   fi
9260 done
9261 done
9262 IFS=$as_save_IFS
9263
9264 fi
9265 fi
9266 CROSSCC=$ac_cv_prog_CROSSCC
9267 if test -n "$CROSSCC"; then
9268   { echo "$as_me:$LINENO: result: $CROSSCC" >&5
9269 echo "${ECHO_T}$CROSSCC" >&6; }
9270 else
9271   { echo "$as_me:$LINENO: result: no" >&5
9272 echo "${ECHO_T}no" >&6; }
9273 fi
9274
9275
9276   test -n "$CROSSCC" && break
9277 done
9278 test -n "$CROSSCC" || CROSSCC="false"
9279
9280       for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i686-mingw32-dlltool i586-mingw32-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
9281 do
9282   # Extract the first word of "$ac_prog", so it can be a program name with args.
9283 set dummy $ac_prog; ac_word=$2
9284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9286 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
9287   echo $ECHO_N "(cached) $ECHO_C" >&6
9288 else
9289   if test -n "$DLLTOOL"; then
9290   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
9291 else
9292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9293 for as_dir in $PATH
9294 do
9295   IFS=$as_save_IFS
9296   test -z "$as_dir" && as_dir=.
9297   for ac_exec_ext in '' $ac_executable_extensions; do
9298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9299     ac_cv_prog_DLLTOOL="$ac_prog"
9300     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9301     break 2
9302   fi
9303 done
9304 done
9305 IFS=$as_save_IFS
9306
9307 fi
9308 fi
9309 DLLTOOL=$ac_cv_prog_DLLTOOL
9310 if test -n "$DLLTOOL"; then
9311   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
9312 echo "${ECHO_T}$DLLTOOL" >&6; }
9313 else
9314   { echo "$as_me:$LINENO: result: no" >&5
9315 echo "${ECHO_T}no" >&6; }
9316 fi
9317
9318
9319   test -n "$DLLTOOL" && break
9320 done
9321 test -n "$DLLTOOL" || DLLTOOL="false"
9322
9323       for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i686-mingw32-windres i586-mingw32-windres i386-mingw32-windres mingw32-windres mingw-windres
9324 do
9325   # Extract the first word of "$ac_prog", so it can be a program name with args.
9326 set dummy $ac_prog; ac_word=$2
9327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9329 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
9330   echo $ECHO_N "(cached) $ECHO_C" >&6
9331 else
9332   if test -n "$CROSSWINDRES"; then
9333   ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
9334 else
9335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9336 for as_dir in $PATH
9337 do
9338   IFS=$as_save_IFS
9339   test -z "$as_dir" && as_dir=.
9340   for ac_exec_ext in '' $ac_executable_extensions; do
9341   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9342     ac_cv_prog_CROSSWINDRES="$ac_prog"
9343     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9344     break 2
9345   fi
9346 done
9347 done
9348 IFS=$as_save_IFS
9349
9350 fi
9351 fi
9352 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
9353 if test -n "$CROSSWINDRES"; then
9354   { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
9355 echo "${ECHO_T}$CROSSWINDRES" >&6; }
9356 else
9357   { echo "$as_me:$LINENO: result: no" >&5
9358 echo "${ECHO_T}no" >&6; }
9359 fi
9360
9361
9362   test -n "$CROSSWINDRES" && break
9363 done
9364 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
9365
9366       for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i686-mingw32-ar i586-mingw32-ar i386-mingw32-ar mingw32-ar mingw-ar
9367 do
9368   # Extract the first word of "$ac_prog", so it can be a program name with args.
9369 set dummy $ac_prog; ac_word=$2
9370 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9371 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9372 if test "${ac_cv_prog_MINGWAR+set}" = set; then
9373   echo $ECHO_N "(cached) $ECHO_C" >&6
9374 else
9375   if test -n "$MINGWAR"; then
9376   ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
9377 else
9378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9379 for as_dir in $PATH
9380 do
9381   IFS=$as_save_IFS
9382   test -z "$as_dir" && as_dir=.
9383   for ac_exec_ext in '' $ac_executable_extensions; do
9384   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9385     ac_cv_prog_MINGWAR="$ac_prog"
9386     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9387     break 2
9388   fi
9389 done
9390 done
9391 IFS=$as_save_IFS
9392
9393 fi
9394 fi
9395 MINGWAR=$ac_cv_prog_MINGWAR
9396 if test -n "$MINGWAR"; then
9397   { echo "$as_me:$LINENO: result: $MINGWAR" >&5
9398 echo "${ECHO_T}$MINGWAR" >&6; }
9399 else
9400   { echo "$as_me:$LINENO: result: no" >&5
9401 echo "${ECHO_T}no" >&6; }
9402 fi
9403
9404
9405   test -n "$MINGWAR" && break
9406 done
9407 test -n "$MINGWAR" || MINGWAR="false"
9408
9409       if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
9410     fi
9411     ;;
9412 esac
9413
9414 if test "$LIBEXT" = "a"; then
9415   { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
9416 It is currently not possible to build Wine without shared library
9417 (.so) support to allow transparent switch between .so and .dll files.
9418 If you are using Linux, you will need a newer binutils.
9419 " >&5
9420 echo "$as_me: error: could not find a way to build shared libraries.
9421 It is currently not possible to build Wine without shared library
9422 (.so) support to allow transparent switch between .so and .dll files.
9423 If you are using Linux, you will need a newer binutils.
9424 " >&2;}
9425    { (exit 1); exit 1; }; }
9426 fi
9427
9428
9429 if test "$have_x" = "yes"
9430 then
9431     XLIB="-lXext -lX11"
9432     ac_save_CPPFLAGS="$CPPFLAGS"
9433     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9434
9435     { echo "$as_me:$LINENO: checking for -lX11" >&5
9436 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
9437 if test "${ac_cv_lib_soname_X11+set}" = set; then
9438   echo $ECHO_N "(cached) $ECHO_C" >&6
9439 else
9440   ac_check_soname_save_LIBS=$LIBS
9441 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9442   cat >conftest.$ac_ext <<_ACEOF
9443 /* confdefs.h.  */
9444 _ACEOF
9445 cat confdefs.h >>conftest.$ac_ext
9446 cat >>conftest.$ac_ext <<_ACEOF
9447 /* end confdefs.h.  */
9448
9449 /* Override any GCC internal prototype to avoid an error.
9450    Use char because int might match the return type of a GCC
9451    builtin and then its argument prototype would still apply.  */
9452 #ifdef __cplusplus
9453 extern "C"
9454 #endif
9455 char XCreateWindow ();
9456 int
9457 main ()
9458 {
9459 return XCreateWindow ();
9460   ;
9461   return 0;
9462 }
9463 _ACEOF
9464 rm -f conftest.$ac_objext conftest$ac_exeext
9465 if { (ac_try="$ac_link"
9466 case "(($ac_try" in
9467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9468   *) ac_try_echo=$ac_try;;
9469 esac
9470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9471   (eval "$ac_link") 2>conftest.er1
9472   ac_status=$?
9473   grep -v '^ *+' conftest.er1 >conftest.err
9474   rm -f conftest.er1
9475   cat conftest.err >&5
9476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9477   (exit $ac_status); } && {
9478          test -z "$ac_c_werror_flag" ||
9479          test ! -s conftest.err
9480        } && test -s conftest$ac_exeext &&
9481        $as_test_x conftest$ac_exeext; then
9482   case "$LIBEXT" in
9483     dll) ;;
9484     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'` ;;
9485     *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;
9486   esac
9487 else
9488   echo "$as_me: failed program was:" >&5
9489 sed 's/^/| /' conftest.$ac_ext >&5
9490
9491
9492 fi
9493
9494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9495       conftest$ac_exeext conftest.$ac_ext
9496   LIBS=$ac_check_soname_save_LIBS
9497 fi
9498 if test "x$ac_cv_lib_soname_X11" = "x"; then
9499   { echo "$as_me:$LINENO: result: not found" >&5
9500 echo "${ECHO_T}not found" >&6; }
9501
9502 else
9503   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9504 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9505
9506 cat >>confdefs.h <<_ACEOF
9507 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9508 _ACEOF
9509
9510
9511 fi
9512
9513     { echo "$as_me:$LINENO: checking for -lXext" >&5
9514 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9515 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9516   echo $ECHO_N "(cached) $ECHO_C" >&6
9517 else
9518   ac_check_soname_save_LIBS=$LIBS
9519 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9520   cat >conftest.$ac_ext <<_ACEOF
9521 /* confdefs.h.  */
9522 _ACEOF
9523 cat confdefs.h >>conftest.$ac_ext
9524 cat >>conftest.$ac_ext <<_ACEOF
9525 /* end confdefs.h.  */
9526
9527 /* Override any GCC internal prototype to avoid an error.
9528    Use char because int might match the return type of a GCC
9529    builtin and then its argument prototype would still apply.  */
9530 #ifdef __cplusplus
9531 extern "C"
9532 #endif
9533 char XextCreateExtension ();
9534 int
9535 main ()
9536 {
9537 return XextCreateExtension ();
9538   ;
9539   return 0;
9540 }
9541 _ACEOF
9542 rm -f conftest.$ac_objext conftest$ac_exeext
9543 if { (ac_try="$ac_link"
9544 case "(($ac_try" in
9545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9546   *) ac_try_echo=$ac_try;;
9547 esac
9548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9549   (eval "$ac_link") 2>conftest.er1
9550   ac_status=$?
9551   grep -v '^ *+' conftest.er1 >conftest.err
9552   rm -f conftest.er1
9553   cat conftest.err >&5
9554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9555   (exit $ac_status); } && {
9556          test -z "$ac_c_werror_flag" ||
9557          test ! -s conftest.err
9558        } && test -s conftest$ac_exeext &&
9559        $as_test_x conftest$ac_exeext; then
9560   case "$LIBEXT" in
9561     dll) ;;
9562     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'` ;;
9563     *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
9564   esac
9565 else
9566   echo "$as_me: failed program was:" >&5
9567 sed 's/^/| /' conftest.$ac_ext >&5
9568
9569
9570 fi
9571
9572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9573       conftest$ac_exeext conftest.$ac_ext
9574   LIBS=$ac_check_soname_save_LIBS
9575 fi
9576 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9577   { echo "$as_me:$LINENO: result: not found" >&5
9578 echo "${ECHO_T}not found" >&6; }
9579
9580 else
9581   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9582 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9583
9584 cat >>confdefs.h <<_ACEOF
9585 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9586 _ACEOF
9587
9588
9589 fi
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604 for ac_header in X11/Xlib.h \
9605                       X11/XKBlib.h \
9606                       X11/Xutil.h \
9607                       X11/Xcursor/Xcursor.h \
9608                       X11/extensions/shape.h \
9609                       X11/extensions/XInput.h \
9610                       X11/extensions/XShm.h \
9611                       X11/extensions/Xcomposite.h \
9612                       X11/extensions/Xinerama.h \
9613                       X11/extensions/Xrandr.h \
9614                       X11/extensions/Xrender.h \
9615                       X11/extensions/xf86vmode.h
9616 do
9617 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9618 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9619 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9621   echo $ECHO_N "(cached) $ECHO_C" >&6
9622 else
9623   cat >conftest.$ac_ext <<_ACEOF
9624 /* confdefs.h.  */
9625 _ACEOF
9626 cat confdefs.h >>conftest.$ac_ext
9627 cat >>conftest.$ac_ext <<_ACEOF
9628 /* end confdefs.h.  */
9629 #ifdef HAVE_X11_XLIB_H
9630 # include <X11/Xlib.h>
9631 #endif
9632 #ifdef HAVE_X11_XUTIL_H
9633 # include <X11/Xutil.h>
9634 #endif
9635
9636 #include <$ac_header>
9637 _ACEOF
9638 rm -f conftest.$ac_objext
9639 if { (ac_try="$ac_compile"
9640 case "(($ac_try" in
9641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9642   *) ac_try_echo=$ac_try;;
9643 esac
9644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9645   (eval "$ac_compile") 2>conftest.er1
9646   ac_status=$?
9647   grep -v '^ *+' conftest.er1 >conftest.err
9648   rm -f conftest.er1
9649   cat conftest.err >&5
9650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651   (exit $ac_status); } && {
9652          test -z "$ac_c_werror_flag" ||
9653          test ! -s conftest.err
9654        } && test -s conftest.$ac_objext; then
9655   eval "$as_ac_Header=yes"
9656 else
9657   echo "$as_me: failed program was:" >&5
9658 sed 's/^/| /' conftest.$ac_ext >&5
9659
9660         eval "$as_ac_Header=no"
9661 fi
9662
9663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9664 fi
9665 ac_res=`eval echo '${'$as_ac_Header'}'`
9666                { echo "$as_me:$LINENO: result: $ac_res" >&5
9667 echo "${ECHO_T}$ac_res" >&6; }
9668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9669   cat >>confdefs.h <<_ACEOF
9670 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9671 _ACEOF
9672
9673 fi
9674
9675 done
9676
9677
9678                 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9679         then
9680               { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9681 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9682 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9683   echo $ECHO_N "(cached) $ECHO_C" >&6
9684 else
9685   ac_check_lib_save_LIBS=$LIBS
9686 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9687 cat >conftest.$ac_ext <<_ACEOF
9688 /* confdefs.h.  */
9689 _ACEOF
9690 cat confdefs.h >>conftest.$ac_ext
9691 cat >>conftest.$ac_ext <<_ACEOF
9692 /* end confdefs.h.  */
9693
9694 /* Override any GCC internal prototype to avoid an error.
9695    Use char because int might match the return type of a GCC
9696    builtin and then its argument prototype would still apply.  */
9697 #ifdef __cplusplus
9698 extern "C"
9699 #endif
9700 char XkbQueryExtension ();
9701 int
9702 main ()
9703 {
9704 return XkbQueryExtension ();
9705   ;
9706   return 0;
9707 }
9708 _ACEOF
9709 rm -f conftest.$ac_objext conftest$ac_exeext
9710 if { (ac_try="$ac_link"
9711 case "(($ac_try" in
9712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9713   *) ac_try_echo=$ac_try;;
9714 esac
9715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9716   (eval "$ac_link") 2>conftest.er1
9717   ac_status=$?
9718   grep -v '^ *+' conftest.er1 >conftest.err
9719   rm -f conftest.er1
9720   cat conftest.err >&5
9721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9722   (exit $ac_status); } && {
9723          test -z "$ac_c_werror_flag" ||
9724          test ! -s conftest.err
9725        } && test -s conftest$ac_exeext &&
9726        $as_test_x conftest$ac_exeext; then
9727   ac_cv_lib_X11_XkbQueryExtension=yes
9728 else
9729   echo "$as_me: failed program was:" >&5
9730 sed 's/^/| /' conftest.$ac_ext >&5
9731
9732         ac_cv_lib_X11_XkbQueryExtension=no
9733 fi
9734
9735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9736       conftest$ac_exeext conftest.$ac_ext
9737 LIBS=$ac_check_lib_save_LIBS
9738 fi
9739 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9740 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9741 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9742
9743 cat >>confdefs.h <<\_ACEOF
9744 #define HAVE_XKB 1
9745 _ACEOF
9746
9747 fi
9748
9749         fi
9750
9751                 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9752         then
9753             { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9754 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9755 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9756   echo $ECHO_N "(cached) $ECHO_C" >&6
9757 else
9758   ac_check_soname_save_LIBS=$LIBS
9759 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9760   cat >conftest.$ac_ext <<_ACEOF
9761 /* confdefs.h.  */
9762 _ACEOF
9763 cat confdefs.h >>conftest.$ac_ext
9764 cat >>conftest.$ac_ext <<_ACEOF
9765 /* end confdefs.h.  */
9766
9767 /* Override any GCC internal prototype to avoid an error.
9768    Use char because int might match the return type of a GCC
9769    builtin and then its argument prototype would still apply.  */
9770 #ifdef __cplusplus
9771 extern "C"
9772 #endif
9773 char XcursorImageLoadCursor ();
9774 int
9775 main ()
9776 {
9777 return XcursorImageLoadCursor ();
9778   ;
9779   return 0;
9780 }
9781 _ACEOF
9782 rm -f conftest.$ac_objext conftest$ac_exeext
9783 if { (ac_try="$ac_link"
9784 case "(($ac_try" in
9785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9786   *) ac_try_echo=$ac_try;;
9787 esac
9788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9789   (eval "$ac_link") 2>conftest.er1
9790   ac_status=$?
9791   grep -v '^ *+' conftest.er1 >conftest.err
9792   rm -f conftest.er1
9793   cat conftest.err >&5
9794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795   (exit $ac_status); } && {
9796          test -z "$ac_c_werror_flag" ||
9797          test ! -s conftest.err
9798        } && test -s conftest$ac_exeext &&
9799        $as_test_x conftest$ac_exeext; then
9800   case "$LIBEXT" in
9801     dll) ;;
9802     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'` ;;
9803     *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^         ]*\).*$/\1/"';2,$d'` ;;
9804   esac
9805 else
9806   echo "$as_me: failed program was:" >&5
9807 sed 's/^/| /' conftest.$ac_ext >&5
9808
9809
9810 fi
9811
9812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9813       conftest$ac_exeext conftest.$ac_ext
9814   LIBS=$ac_check_soname_save_LIBS
9815 fi
9816 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9817   { echo "$as_me:$LINENO: result: not found" >&5
9818 echo "${ECHO_T}not found" >&6; }
9819
9820 else
9821   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9822 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9823
9824 cat >>confdefs.h <<_ACEOF
9825 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9826 _ACEOF
9827
9828
9829 fi
9830
9831         fi
9832         if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9833   case "x$with_xcursor" in
9834   x)   wine_notices="$wine_notices|libxcursor development files not found, the Xcursor extension won't be supported." ;;
9835   xno) ;;
9836   *)   { { echo "$as_me:$LINENO: error: libxcursor development files not found, the Xcursor extension won't be supported.
9837 This is an error since --with-xcursor was requested." >&5
9838 echo "$as_me: error: libxcursor development files not found, the Xcursor extension won't be supported.
9839 This is an error since --with-xcursor was requested." >&2;}
9840    { (exit 1); exit 1; }; } ;;
9841 esac
9842 fi
9843
9844
9845                 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9846         then
9847             { echo "$as_me:$LINENO: checking for -lXi" >&5
9848 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9849 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9850   echo $ECHO_N "(cached) $ECHO_C" >&6
9851 else
9852   ac_check_soname_save_LIBS=$LIBS
9853 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9854   cat >conftest.$ac_ext <<_ACEOF
9855 /* confdefs.h.  */
9856 _ACEOF
9857 cat confdefs.h >>conftest.$ac_ext
9858 cat >>conftest.$ac_ext <<_ACEOF
9859 /* end confdefs.h.  */
9860
9861 /* Override any GCC internal prototype to avoid an error.
9862    Use char because int might match the return type of a GCC
9863    builtin and then its argument prototype would still apply.  */
9864 #ifdef __cplusplus
9865 extern "C"
9866 #endif
9867 char XOpenDevice ();
9868 int
9869 main ()
9870 {
9871 return XOpenDevice ();
9872   ;
9873   return 0;
9874 }
9875 _ACEOF
9876 rm -f conftest.$ac_objext conftest$ac_exeext
9877 if { (ac_try="$ac_link"
9878 case "(($ac_try" in
9879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9880   *) ac_try_echo=$ac_try;;
9881 esac
9882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9883   (eval "$ac_link") 2>conftest.er1
9884   ac_status=$?
9885   grep -v '^ *+' conftest.er1 >conftest.err
9886   rm -f conftest.er1
9887   cat conftest.err >&5
9888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889   (exit $ac_status); } && {
9890          test -z "$ac_c_werror_flag" ||
9891          test ! -s conftest.err
9892        } && test -s conftest$ac_exeext &&
9893        $as_test_x conftest$ac_exeext; then
9894   case "$LIBEXT" in
9895     dll) ;;
9896     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'` ;;
9897     *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
9898   esac
9899 else
9900   echo "$as_me: failed program was:" >&5
9901 sed 's/^/| /' conftest.$ac_ext >&5
9902
9903
9904 fi
9905
9906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9907       conftest$ac_exeext conftest.$ac_ext
9908   LIBS=$ac_check_soname_save_LIBS
9909 fi
9910 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9911   { echo "$as_me:$LINENO: result: not found" >&5
9912 echo "${ECHO_T}not found" >&6; }
9913
9914 else
9915   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9916 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9917
9918 cat >>confdefs.h <<_ACEOF
9919 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9920 _ACEOF
9921
9922
9923 fi
9924
9925         fi
9926         if test "x$ac_cv_lib_soname_Xi" = "x"; then
9927   case "x$with_xinput" in
9928   x)   wine_notices="$wine_notices|libxi development files not found, the Xinput extension won't be supported." ;;
9929   xno) ;;
9930   *)   { { echo "$as_me:$LINENO: error: libxi development files not found, the Xinput extension won't be supported.
9931 This is an error since --with-xinput was requested." >&5
9932 echo "$as_me: error: libxi development files not found, the Xinput extension won't be supported.
9933 This is an error since --with-xinput was requested." >&2;}
9934    { (exit 1); exit 1; }; } ;;
9935 esac
9936 fi
9937
9938
9939                 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9940         then
9941               { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9942 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9943 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9944   echo $ECHO_N "(cached) $ECHO_C" >&6
9945 else
9946   ac_check_lib_save_LIBS=$LIBS
9947 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9948 cat >conftest.$ac_ext <<_ACEOF
9949 /* confdefs.h.  */
9950 _ACEOF
9951 cat confdefs.h >>conftest.$ac_ext
9952 cat >>conftest.$ac_ext <<_ACEOF
9953 /* end confdefs.h.  */
9954
9955 /* Override any GCC internal prototype to avoid an error.
9956    Use char because int might match the return type of a GCC
9957    builtin and then its argument prototype would still apply.  */
9958 #ifdef __cplusplus
9959 extern "C"
9960 #endif
9961 char XShmQueryExtension ();
9962 int
9963 main ()
9964 {
9965 return XShmQueryExtension ();
9966   ;
9967   return 0;
9968 }
9969 _ACEOF
9970 rm -f conftest.$ac_objext conftest$ac_exeext
9971 if { (ac_try="$ac_link"
9972 case "(($ac_try" in
9973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9974   *) ac_try_echo=$ac_try;;
9975 esac
9976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9977   (eval "$ac_link") 2>conftest.er1
9978   ac_status=$?
9979   grep -v '^ *+' conftest.er1 >conftest.err
9980   rm -f conftest.er1
9981   cat conftest.err >&5
9982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983   (exit $ac_status); } && {
9984          test -z "$ac_c_werror_flag" ||
9985          test ! -s conftest.err
9986        } && test -s conftest$ac_exeext &&
9987        $as_test_x conftest$ac_exeext; then
9988   ac_cv_lib_Xext_XShmQueryExtension=yes
9989 else
9990   echo "$as_me: failed program was:" >&5
9991 sed 's/^/| /' conftest.$ac_ext >&5
9992
9993         ac_cv_lib_Xext_XShmQueryExtension=no
9994 fi
9995
9996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9997       conftest$ac_exeext conftest.$ac_ext
9998 LIBS=$ac_check_lib_save_LIBS
9999 fi
10000 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10001 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10002 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
10003
10004 cat >>confdefs.h <<\_ACEOF
10005 #define HAVE_LIBXXSHM 1
10006 _ACEOF
10007
10008 fi
10009
10010         fi
10011         if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then
10012   case "x$with_xshm" in
10013   x)   wine_notices="$wine_notices|XShm development files not found, X Shared Memory won't be supported." ;;
10014   xno) ;;
10015   *)   { { echo "$as_me:$LINENO: error: XShm development files not found, X Shared Memory won't be supported.
10016 This is an error since --with-xshm was requested." >&5
10017 echo "$as_me: error: XShm development files not found, X Shared Memory won't be supported.
10018 This is an error since --with-xshm was requested." >&2;}
10019    { (exit 1); exit 1; }; } ;;
10020 esac
10021 fi
10022
10023
10024                 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10025         then
10026               { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
10027 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
10028 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
10029   echo $ECHO_N "(cached) $ECHO_C" >&6
10030 else
10031   ac_check_lib_save_LIBS=$LIBS
10032 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10033 cat >conftest.$ac_ext <<_ACEOF
10034 /* confdefs.h.  */
10035 _ACEOF
10036 cat confdefs.h >>conftest.$ac_ext
10037 cat >>conftest.$ac_ext <<_ACEOF
10038 /* end confdefs.h.  */
10039
10040 /* Override any GCC internal prototype to avoid an error.
10041    Use char because int might match the return type of a GCC
10042    builtin and then its argument prototype would still apply.  */
10043 #ifdef __cplusplus
10044 extern "C"
10045 #endif
10046 char XShapeQueryExtension ();
10047 int
10048 main ()
10049 {
10050 return XShapeQueryExtension ();
10051   ;
10052   return 0;
10053 }
10054 _ACEOF
10055 rm -f conftest.$ac_objext conftest$ac_exeext
10056 if { (ac_try="$ac_link"
10057 case "(($ac_try" in
10058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10059   *) ac_try_echo=$ac_try;;
10060 esac
10061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10062   (eval "$ac_link") 2>conftest.er1
10063   ac_status=$?
10064   grep -v '^ *+' conftest.er1 >conftest.err
10065   rm -f conftest.er1
10066   cat conftest.err >&5
10067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10068   (exit $ac_status); } && {
10069          test -z "$ac_c_werror_flag" ||
10070          test ! -s conftest.err
10071        } && test -s conftest$ac_exeext &&
10072        $as_test_x conftest$ac_exeext; then
10073   ac_cv_lib_Xext_XShapeQueryExtension=yes
10074 else
10075   echo "$as_me: failed program was:" >&5
10076 sed 's/^/| /' conftest.$ac_ext >&5
10077
10078         ac_cv_lib_Xext_XShapeQueryExtension=no
10079 fi
10080
10081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10082       conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_lib_save_LIBS
10084 fi
10085 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10086 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10087 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
10088
10089 cat >>confdefs.h <<\_ACEOF
10090 #define HAVE_LIBXSHAPE 1
10091 _ACEOF
10092
10093 fi
10094
10095         fi
10096         if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then
10097   case "x$with_xshape" in
10098   x)   wine_notices="$wine_notices|XShape development files not found, XShape won't be supported." ;;
10099   xno) ;;
10100   *)   { { echo "$as_me:$LINENO: error: XShape development files not found, XShape won't be supported.
10101 This is an error since --with-xshape was requested." >&5
10102 echo "$as_me: error: XShape development files not found, XShape won't be supported.
10103 This is an error since --with-xshape was requested." >&2;}
10104    { (exit 1); exit 1; }; } ;;
10105 esac
10106 fi
10107
10108
10109                 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
10110         then
10111                 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10112 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
10113 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
10114   echo $ECHO_N "(cached) $ECHO_C" >&6
10115 else
10116   ac_check_lib_save_LIBS=$LIBS
10117 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10118 cat >conftest.$ac_ext <<_ACEOF
10119 /* confdefs.h.  */
10120 _ACEOF
10121 cat confdefs.h >>conftest.$ac_ext
10122 cat >>conftest.$ac_ext <<_ACEOF
10123 /* end confdefs.h.  */
10124
10125 /* Override any GCC internal prototype to avoid an error.
10126    Use char because int might match the return type of a GCC
10127    builtin and then its argument prototype would still apply.  */
10128 #ifdef __cplusplus
10129 extern "C"
10130 #endif
10131 char XF86VidModeQueryExtension ();
10132 int
10133 main ()
10134 {
10135 return XF86VidModeQueryExtension ();
10136   ;
10137   return 0;
10138 }
10139 _ACEOF
10140 rm -f conftest.$ac_objext conftest$ac_exeext
10141 if { (ac_try="$ac_link"
10142 case "(($ac_try" in
10143   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10144   *) ac_try_echo=$ac_try;;
10145 esac
10146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10147   (eval "$ac_link") 2>conftest.er1
10148   ac_status=$?
10149   grep -v '^ *+' conftest.er1 >conftest.err
10150   rm -f conftest.er1
10151   cat conftest.err >&5
10152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153   (exit $ac_status); } && {
10154          test -z "$ac_c_werror_flag" ||
10155          test ! -s conftest.err
10156        } && test -s conftest$ac_exeext &&
10157        $as_test_x conftest$ac_exeext; then
10158   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
10159 else
10160   echo "$as_me: failed program was:" >&5
10161 sed 's/^/| /' conftest.$ac_ext >&5
10162
10163         ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
10164 fi
10165
10166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10167       conftest$ac_exeext conftest.$ac_ext
10168 LIBS=$ac_check_lib_save_LIBS
10169 fi
10170 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10171 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10172 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10173
10174 cat >>confdefs.h <<\_ACEOF
10175 #define HAVE_LIBXXF86VM 1
10176 _ACEOF
10177
10178                      X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
10179
10180 fi
10181
10182         fi
10183         if test "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" != "yes"; then
10184   case "x$with_xvidmode" in
10185   x)   wine_notices="$wine_notices|libXxf86vm development files not found, XFree86 Vidmode won't be supported." ;;
10186   xno) ;;
10187   *)   { { echo "$as_me:$LINENO: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10188 This is an error since --with-xvidmode was requested." >&5
10189 echo "$as_me: error: libXxf86vm development files not found, XFree86 Vidmode won't be supported.
10190 This is an error since --with-xvidmode was requested." >&2;}
10191    { (exit 1); exit 1; }; } ;;
10192 esac
10193 fi
10194
10195
10196                 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"
10197         then
10198             { echo "$as_me:$LINENO: checking for -lXrender" >&5
10199 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
10200 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
10201   echo $ECHO_N "(cached) $ECHO_C" >&6
10202 else
10203   ac_check_soname_save_LIBS=$LIBS
10204 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10205   cat >conftest.$ac_ext <<_ACEOF
10206 /* confdefs.h.  */
10207 _ACEOF
10208 cat confdefs.h >>conftest.$ac_ext
10209 cat >>conftest.$ac_ext <<_ACEOF
10210 /* end confdefs.h.  */
10211
10212 /* Override any GCC internal prototype to avoid an error.
10213    Use char because int might match the return type of a GCC
10214    builtin and then its argument prototype would still apply.  */
10215 #ifdef __cplusplus
10216 extern "C"
10217 #endif
10218 char XRenderQueryExtension ();
10219 int
10220 main ()
10221 {
10222 return XRenderQueryExtension ();
10223   ;
10224   return 0;
10225 }
10226 _ACEOF
10227 rm -f conftest.$ac_objext conftest$ac_exeext
10228 if { (ac_try="$ac_link"
10229 case "(($ac_try" in
10230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10231   *) ac_try_echo=$ac_try;;
10232 esac
10233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10234   (eval "$ac_link") 2>conftest.er1
10235   ac_status=$?
10236   grep -v '^ *+' conftest.er1 >conftest.err
10237   rm -f conftest.er1
10238   cat conftest.err >&5
10239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240   (exit $ac_status); } && {
10241          test -z "$ac_c_werror_flag" ||
10242          test ! -s conftest.err
10243        } && test -s conftest$ac_exeext &&
10244        $as_test_x conftest$ac_exeext; then
10245   case "$LIBEXT" in
10246     dll) ;;
10247     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'` ;;
10248     *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^         ]*\).*$/\1/"';2,$d'` ;;
10249   esac
10250 else
10251   echo "$as_me: failed program was:" >&5
10252 sed 's/^/| /' conftest.$ac_ext >&5
10253
10254
10255 fi
10256
10257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10258       conftest$ac_exeext conftest.$ac_ext
10259   LIBS=$ac_check_soname_save_LIBS
10260 fi
10261 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10262   { echo "$as_me:$LINENO: result: not found" >&5
10263 echo "${ECHO_T}not found" >&6; }
10264
10265 else
10266   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
10267 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
10268
10269 cat >>confdefs.h <<_ACEOF
10270 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10271 _ACEOF
10272
10273        { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
10274 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
10275 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
10276   echo $ECHO_N "(cached) $ECHO_C" >&6
10277 else
10278   ac_check_lib_save_LIBS=$LIBS
10279 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10280 cat >conftest.$ac_ext <<_ACEOF
10281 /* confdefs.h.  */
10282 _ACEOF
10283 cat confdefs.h >>conftest.$ac_ext
10284 cat >>conftest.$ac_ext <<_ACEOF
10285 /* end confdefs.h.  */
10286
10287 /* Override any GCC internal prototype to avoid an error.
10288    Use char because int might match the return type of a GCC
10289    builtin and then its argument prototype would still apply.  */
10290 #ifdef __cplusplus
10291 extern "C"
10292 #endif
10293 char XRenderSetPictureTransform ();
10294 int
10295 main ()
10296 {
10297 return XRenderSetPictureTransform ();
10298   ;
10299   return 0;
10300 }
10301 _ACEOF
10302 rm -f conftest.$ac_objext conftest$ac_exeext
10303 if { (ac_try="$ac_link"
10304 case "(($ac_try" in
10305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10306   *) ac_try_echo=$ac_try;;
10307 esac
10308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10309   (eval "$ac_link") 2>conftest.er1
10310   ac_status=$?
10311   grep -v '^ *+' conftest.er1 >conftest.err
10312   rm -f conftest.er1
10313   cat conftest.err >&5
10314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315   (exit $ac_status); } && {
10316          test -z "$ac_c_werror_flag" ||
10317          test ! -s conftest.err
10318        } && test -s conftest$ac_exeext &&
10319        $as_test_x conftest$ac_exeext; then
10320   ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10321 else
10322   echo "$as_me: failed program was:" >&5
10323 sed 's/^/| /' conftest.$ac_ext >&5
10324
10325         ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10326 fi
10327
10328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10329       conftest$ac_exeext conftest.$ac_ext
10330 LIBS=$ac_check_lib_save_LIBS
10331 fi
10332 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10333 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10334 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
10335
10336 cat >>confdefs.h <<\_ACEOF
10337 #define HAVE_XRENDERSETPICTURETRANSFORM 1
10338 _ACEOF
10339
10340 fi
10341
10342 fi
10343
10344
10345         fi
10346         if test "x$ac_cv_lib_soname_Xrender" = "x"; then
10347   case "x$with_xrender" in
10348   x)   wine_warnings="$wine_warnings|libxrender development files not found, XRender won't be supported." ;;
10349   xno) ;;
10350   *)   { { echo "$as_me:$LINENO: error: libxrender development files not found, XRender won't be supported.
10351 This is an error since --with-xrender was requested." >&5
10352 echo "$as_me: error: libxrender development files not found, XRender won't be supported.
10353 This is an error since --with-xrender was requested." >&2;}
10354    { (exit 1); exit 1; }; } ;;
10355 esac
10356 fi
10357
10358
10359                 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10360         then
10361                 cat >conftest.$ac_ext <<_ACEOF
10362 /* confdefs.h.  */
10363 _ACEOF
10364 cat confdefs.h >>conftest.$ac_ext
10365 cat >>conftest.$ac_ext <<_ACEOF
10366 /* end confdefs.h.  */
10367 #include <X11/Xlib.h>
10368 #include <X11/extensions/Xrandr.h>
10369 int
10370 main ()
10371 {
10372 static typeof(XRRSetScreenConfigAndRate) * func;
10373   ;
10374   return 0;
10375 }
10376 _ACEOF
10377 rm -f conftest.$ac_objext
10378 if { (ac_try="$ac_compile"
10379 case "(($ac_try" in
10380   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10381   *) ac_try_echo=$ac_try;;
10382 esac
10383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10384   (eval "$ac_compile") 2>conftest.er1
10385   ac_status=$?
10386   grep -v '^ *+' conftest.er1 >conftest.err
10387   rm -f conftest.er1
10388   cat conftest.err >&5
10389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390   (exit $ac_status); } && {
10391          test -z "$ac_c_werror_flag" ||
10392          test ! -s conftest.err
10393        } && test -s conftest.$ac_objext; then
10394   { echo "$as_me:$LINENO: checking for -lXrandr" >&5
10395 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
10396 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
10397   echo $ECHO_N "(cached) $ECHO_C" >&6
10398 else
10399   ac_check_soname_save_LIBS=$LIBS
10400 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10401   cat >conftest.$ac_ext <<_ACEOF
10402 /* confdefs.h.  */
10403 _ACEOF
10404 cat confdefs.h >>conftest.$ac_ext
10405 cat >>conftest.$ac_ext <<_ACEOF
10406 /* end confdefs.h.  */
10407
10408 /* Override any GCC internal prototype to avoid an error.
10409    Use char because int might match the return type of a GCC
10410    builtin and then its argument prototype would still apply.  */
10411 #ifdef __cplusplus
10412 extern "C"
10413 #endif
10414 char XRRQueryExtension ();
10415 int
10416 main ()
10417 {
10418 return XRRQueryExtension ();
10419   ;
10420   return 0;
10421 }
10422 _ACEOF
10423 rm -f conftest.$ac_objext conftest$ac_exeext
10424 if { (ac_try="$ac_link"
10425 case "(($ac_try" in
10426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10427   *) ac_try_echo=$ac_try;;
10428 esac
10429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10430   (eval "$ac_link") 2>conftest.er1
10431   ac_status=$?
10432   grep -v '^ *+' conftest.er1 >conftest.err
10433   rm -f conftest.er1
10434   cat conftest.err >&5
10435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436   (exit $ac_status); } && {
10437          test -z "$ac_c_werror_flag" ||
10438          test ! -s conftest.err
10439        } && test -s conftest$ac_exeext &&
10440        $as_test_x conftest$ac_exeext; then
10441   case "$LIBEXT" in
10442     dll) ;;
10443     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'` ;;
10444     *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^    ]*\).*$/\1/"';2,$d'` ;;
10445   esac
10446 else
10447   echo "$as_me: failed program was:" >&5
10448 sed 's/^/| /' conftest.$ac_ext >&5
10449
10450
10451 fi
10452
10453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10454       conftest$ac_exeext conftest.$ac_ext
10455   LIBS=$ac_check_soname_save_LIBS
10456 fi
10457 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10458   { echo "$as_me:$LINENO: result: not found" >&5
10459 echo "${ECHO_T}not found" >&6; }
10460
10461 else
10462   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
10463 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
10464
10465 cat >>confdefs.h <<_ACEOF
10466 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10467 _ACEOF
10468
10469
10470 fi
10471
10472 else
10473   echo "$as_me: failed program was:" >&5
10474 sed 's/^/| /' conftest.$ac_ext >&5
10475
10476
10477 fi
10478
10479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10480         fi
10481         if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
10482   case "x$with_xrandr" in
10483   x)   wine_notices="$wine_notices|libxrandr development files not found, XRandr won't be supported." ;;
10484   xno) ;;
10485   *)   { { echo "$as_me:$LINENO: error: libxrandr development files not found, XRandr won't be supported.
10486 This is an error since --with-xrandr was requested." >&5
10487 echo "$as_me: error: libxrandr development files not found, XRandr won't be supported.
10488 This is an error since --with-xrandr was requested." >&2;}
10489    { (exit 1); exit 1; }; } ;;
10490 esac
10491 fi
10492
10493
10494                 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10495         then
10496                 cat >conftest.$ac_ext <<_ACEOF
10497 /* confdefs.h.  */
10498 _ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h.  */
10502 #include <X11/Xlib.h>
10503 #include <X11/extensions/Xinerama.h>
10504 int
10505 main ()
10506 {
10507 static typeof(XineramaQueryScreens) * func;
10508   ;
10509   return 0;
10510 }
10511 _ACEOF
10512 rm -f conftest.$ac_objext
10513 if { (ac_try="$ac_compile"
10514 case "(($ac_try" in
10515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10516   *) ac_try_echo=$ac_try;;
10517 esac
10518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10519   (eval "$ac_compile") 2>conftest.er1
10520   ac_status=$?
10521   grep -v '^ *+' conftest.er1 >conftest.err
10522   rm -f conftest.er1
10523   cat conftest.err >&5
10524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525   (exit $ac_status); } && {
10526          test -z "$ac_c_werror_flag" ||
10527          test ! -s conftest.err
10528        } && test -s conftest.$ac_objext; then
10529   { echo "$as_me:$LINENO: checking for -lXinerama" >&5
10530 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
10531 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
10532   echo $ECHO_N "(cached) $ECHO_C" >&6
10533 else
10534   ac_check_soname_save_LIBS=$LIBS
10535 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10536   cat >conftest.$ac_ext <<_ACEOF
10537 /* confdefs.h.  */
10538 _ACEOF
10539 cat confdefs.h >>conftest.$ac_ext
10540 cat >>conftest.$ac_ext <<_ACEOF
10541 /* end confdefs.h.  */
10542
10543 /* Override any GCC internal prototype to avoid an error.
10544    Use char because int might match the return type of a GCC
10545    builtin and then its argument prototype would still apply.  */
10546 #ifdef __cplusplus
10547 extern "C"
10548 #endif
10549 char XineramaQueryScreens ();
10550 int
10551 main ()
10552 {
10553 return XineramaQueryScreens ();
10554   ;
10555   return 0;
10556 }
10557 _ACEOF
10558 rm -f conftest.$ac_objext conftest$ac_exeext
10559 if { (ac_try="$ac_link"
10560 case "(($ac_try" in
10561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10562   *) ac_try_echo=$ac_try;;
10563 esac
10564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10565   (eval "$ac_link") 2>conftest.er1
10566   ac_status=$?
10567   grep -v '^ *+' conftest.er1 >conftest.err
10568   rm -f conftest.er1
10569   cat conftest.err >&5
10570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571   (exit $ac_status); } && {
10572          test -z "$ac_c_werror_flag" ||
10573          test ! -s conftest.err
10574        } && test -s conftest$ac_exeext &&
10575        $as_test_x conftest$ac_exeext; then
10576   case "$LIBEXT" in
10577     dll) ;;
10578     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'` ;;
10579     *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^      ]*\).*$/\1/"';2,$d'` ;;
10580   esac
10581 else
10582   echo "$as_me: failed program was:" >&5
10583 sed 's/^/| /' conftest.$ac_ext >&5
10584
10585
10586 fi
10587
10588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10589       conftest$ac_exeext conftest.$ac_ext
10590   LIBS=$ac_check_soname_save_LIBS
10591 fi
10592 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10593   { echo "$as_me:$LINENO: result: not found" >&5
10594 echo "${ECHO_T}not found" >&6; }
10595
10596 else
10597   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10598 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10599
10600 cat >>confdefs.h <<_ACEOF
10601 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10602 _ACEOF
10603
10604
10605 fi
10606
10607 else
10608   echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.$ac_ext >&5
10610
10611
10612 fi
10613
10614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10615         fi
10616         if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10617   case "x$with_xinerama" in
10618   x)   wine_notices="$wine_notices|libxinerama development files not found, multi-monitor setups won't be supported." ;;
10619   xno) ;;
10620   *)   { { echo "$as_me:$LINENO: error: libxinerama development files not found, multi-monitor setups won't be supported.
10621 This is an error since --with-xinerama was requested." >&5
10622 echo "$as_me: error: libxinerama development files not found, multi-monitor setups won't be supported.
10623 This is an error since --with-xinerama was requested." >&2;}
10624    { (exit 1); exit 1; }; } ;;
10625 esac
10626 fi
10627
10628
10629                 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10630         then
10631             { echo "$as_me:$LINENO: checking for -lXcomposite" >&5
10632 echo $ECHO_N "checking for -lXcomposite... $ECHO_C" >&6; }
10633 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then
10634   echo $ECHO_N "(cached) $ECHO_C" >&6
10635 else
10636   ac_check_soname_save_LIBS=$LIBS
10637 LIBS="-lXcomposite $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10638   cat >conftest.$ac_ext <<_ACEOF
10639 /* confdefs.h.  */
10640 _ACEOF
10641 cat confdefs.h >>conftest.$ac_ext
10642 cat >>conftest.$ac_ext <<_ACEOF
10643 /* end confdefs.h.  */
10644
10645 /* Override any GCC internal prototype to avoid an error.
10646    Use char because int might match the return type of a GCC
10647    builtin and then its argument prototype would still apply.  */
10648 #ifdef __cplusplus
10649 extern "C"
10650 #endif
10651 char XCompositeRedirectWindow ();
10652 int
10653 main ()
10654 {
10655 return XCompositeRedirectWindow ();
10656   ;
10657   return 0;
10658 }
10659 _ACEOF
10660 rm -f conftest.$ac_objext conftest$ac_exeext
10661 if { (ac_try="$ac_link"
10662 case "(($ac_try" in
10663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10664   *) ac_try_echo=$ac_try;;
10665 esac
10666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10667   (eval "$ac_link") 2>conftest.er1
10668   ac_status=$?
10669   grep -v '^ *+' conftest.er1 >conftest.err
10670   rm -f conftest.er1
10671   cat conftest.err >&5
10672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673   (exit $ac_status); } && {
10674          test -z "$ac_c_werror_flag" ||
10675          test ! -s conftest.err
10676        } && test -s conftest$ac_exeext &&
10677        $as_test_x conftest$ac_exeext; then
10678   case "$LIBEXT" in
10679     dll) ;;
10680     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'` ;;
10681     *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
10682   esac
10683 else
10684   echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10686
10687
10688 fi
10689
10690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10691       conftest$ac_exeext conftest.$ac_ext
10692   LIBS=$ac_check_soname_save_LIBS
10693 fi
10694 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10695   { echo "$as_me:$LINENO: result: not found" >&5
10696 echo "${ECHO_T}not found" >&6; }
10697
10698 else
10699   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcomposite" >&5
10700 echo "${ECHO_T}$ac_cv_lib_soname_Xcomposite" >&6; }
10701
10702 cat >>confdefs.h <<_ACEOF
10703 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10704 _ACEOF
10705
10706
10707 fi
10708
10709         fi
10710         if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then
10711   case "x$with_xcomposite" in
10712   x)   wine_notices="$wine_notices|libxcomposite development files not found, Xcomposite won't be supported." ;;
10713   xno) ;;
10714   *)   { { echo "$as_me:$LINENO: error: libxcomposite development files not found, Xcomposite won't be supported.
10715 This is an error since --with-xcomposite was requested." >&5
10716 echo "$as_me: error: libxcomposite development files not found, Xcomposite won't be supported.
10717 This is an error since --with-xcomposite was requested." >&2;}
10718    { (exit 1); exit 1; }; } ;;
10719 esac
10720 fi
10721
10722
10723                 { echo "$as_me:$LINENO: checking for XICCallback.callback" >&5
10724 echo $ECHO_N "checking for XICCallback.callback... $ECHO_C" >&6; }
10725 if test "${ac_cv_member_XICCallback_callback+set}" = set; then
10726   echo $ECHO_N "(cached) $ECHO_C" >&6
10727 else
10728   cat >conftest.$ac_ext <<_ACEOF
10729 /* confdefs.h.  */
10730 _ACEOF
10731 cat confdefs.h >>conftest.$ac_ext
10732 cat >>conftest.$ac_ext <<_ACEOF
10733 /* end confdefs.h.  */
10734 #ifdef HAVE_X11_XLIB_H
10735 #include <X11/Xlib.h>
10736 #endif
10737
10738 int
10739 main ()
10740 {
10741 static XICCallback ac_aggr;
10742 if (ac_aggr.callback)
10743 return 0;
10744   ;
10745   return 0;
10746 }
10747 _ACEOF
10748 rm -f conftest.$ac_objext
10749 if { (ac_try="$ac_compile"
10750 case "(($ac_try" in
10751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10752   *) ac_try_echo=$ac_try;;
10753 esac
10754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10755   (eval "$ac_compile") 2>conftest.er1
10756   ac_status=$?
10757   grep -v '^ *+' conftest.er1 >conftest.err
10758   rm -f conftest.er1
10759   cat conftest.err >&5
10760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10761   (exit $ac_status); } && {
10762          test -z "$ac_c_werror_flag" ||
10763          test ! -s conftest.err
10764        } && test -s conftest.$ac_objext; then
10765   ac_cv_member_XICCallback_callback=yes
10766 else
10767   echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.$ac_ext >&5
10769
10770         cat >conftest.$ac_ext <<_ACEOF
10771 /* confdefs.h.  */
10772 _ACEOF
10773 cat confdefs.h >>conftest.$ac_ext
10774 cat >>conftest.$ac_ext <<_ACEOF
10775 /* end confdefs.h.  */
10776 #ifdef HAVE_X11_XLIB_H
10777 #include <X11/Xlib.h>
10778 #endif
10779
10780 int
10781 main ()
10782 {
10783 static XICCallback ac_aggr;
10784 if (sizeof ac_aggr.callback)
10785 return 0;
10786   ;
10787   return 0;
10788 }
10789 _ACEOF
10790 rm -f conftest.$ac_objext
10791 if { (ac_try="$ac_compile"
10792 case "(($ac_try" in
10793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10794   *) ac_try_echo=$ac_try;;
10795 esac
10796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10797   (eval "$ac_compile") 2>conftest.er1
10798   ac_status=$?
10799   grep -v '^ *+' conftest.er1 >conftest.err
10800   rm -f conftest.er1
10801   cat conftest.err >&5
10802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803   (exit $ac_status); } && {
10804          test -z "$ac_c_werror_flag" ||
10805          test ! -s conftest.err
10806        } && test -s conftest.$ac_objext; then
10807   ac_cv_member_XICCallback_callback=yes
10808 else
10809   echo "$as_me: failed program was:" >&5
10810 sed 's/^/| /' conftest.$ac_ext >&5
10811
10812         ac_cv_member_XICCallback_callback=no
10813 fi
10814
10815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10816 fi
10817
10818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10819 fi
10820 { echo "$as_me:$LINENO: result: $ac_cv_member_XICCallback_callback" >&5
10821 echo "${ECHO_T}$ac_cv_member_XICCallback_callback" >&6; }
10822 if test $ac_cv_member_XICCallback_callback = yes; then
10823
10824 cat >>confdefs.h <<_ACEOF
10825 #define HAVE_XICCALLBACK_CALLBACK 1
10826 _ACEOF
10827
10828
10829 fi
10830
10831
10832
10833         opengl_msg=""
10834     if test "x$with_opengl" != "xno"
10835     then
10836
10837
10838
10839
10840 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10841 do
10842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10843 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10845 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10846   echo $ECHO_N "(cached) $ECHO_C" >&6
10847 else
10848   cat >conftest.$ac_ext <<_ACEOF
10849 /* confdefs.h.  */
10850 _ACEOF
10851 cat confdefs.h >>conftest.$ac_ext
10852 cat >>conftest.$ac_ext <<_ACEOF
10853 /* end confdefs.h.  */
10854 #ifdef HAVE_GL_GLX_H
10855 # include <GL/glx.h>
10856 #endif
10857
10858 #include <$ac_header>
10859 _ACEOF
10860 rm -f conftest.$ac_objext
10861 if { (ac_try="$ac_compile"
10862 case "(($ac_try" in
10863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10864   *) ac_try_echo=$ac_try;;
10865 esac
10866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10867   (eval "$ac_compile") 2>conftest.er1
10868   ac_status=$?
10869   grep -v '^ *+' conftest.er1 >conftest.err
10870   rm -f conftest.er1
10871   cat conftest.err >&5
10872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10873   (exit $ac_status); } && {
10874          test -z "$ac_c_werror_flag" ||
10875          test ! -s conftest.err
10876        } && test -s conftest.$ac_objext; then
10877   eval "$as_ac_Header=yes"
10878 else
10879   echo "$as_me: failed program was:" >&5
10880 sed 's/^/| /' conftest.$ac_ext >&5
10881
10882         eval "$as_ac_Header=no"
10883 fi
10884
10885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10886 fi
10887 ac_res=`eval echo '${'$as_ac_Header'}'`
10888                { echo "$as_me:$LINENO: result: $ac_res" >&5
10889 echo "${ECHO_T}$ac_res" >&6; }
10890 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10891   cat >>confdefs.h <<_ACEOF
10892 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10893 _ACEOF
10894
10895 fi
10896
10897 done
10898
10899         if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10900         then
10901                     { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10902 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10903 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10904   echo $ECHO_N "(cached) $ECHO_C" >&6
10905 else
10906   cat >conftest.$ac_ext <<_ACEOF
10907 /* confdefs.h.  */
10908 _ACEOF
10909 cat confdefs.h >>conftest.$ac_ext
10910 cat >>conftest.$ac_ext <<_ACEOF
10911 /* end confdefs.h.  */
10912 #include <GL/gl.h>
10913 int
10914 main ()
10915 {
10916 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10917   ;
10918   return 0;
10919 }
10920 _ACEOF
10921 rm -f conftest.$ac_objext
10922 if { (ac_try="$ac_compile"
10923 case "(($ac_try" in
10924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10925   *) ac_try_echo=$ac_try;;
10926 esac
10927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10928   (eval "$ac_compile") 2>conftest.er1
10929   ac_status=$?
10930   grep -v '^ *+' conftest.er1 >conftest.err
10931   rm -f conftest.er1
10932   cat conftest.err >&5
10933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10934   (exit $ac_status); } && {
10935          test -z "$ac_c_werror_flag" ||
10936          test ! -s conftest.err
10937        } && test -s conftest.$ac_objext; then
10938   wine_cv_opengl_header_version_OK="yes"
10939 else
10940   echo "$as_me: failed program was:" >&5
10941 sed 's/^/| /' conftest.$ac_ext >&5
10942
10943         wine_cv_opengl_header_version_OK="no"
10944 fi
10945
10946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10947 fi
10948 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10949 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10950
10951             if test "$wine_cv_opengl_header_version_OK" = "yes"
10952             then
10953                                 { echo "$as_me:$LINENO: checking for -lGL" >&5
10954 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10955 if test "${ac_cv_lib_soname_GL+set}" = set; then
10956   echo $ECHO_N "(cached) $ECHO_C" >&6
10957 else
10958   ac_check_soname_save_LIBS=$LIBS
10959 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10960   cat >conftest.$ac_ext <<_ACEOF
10961 /* confdefs.h.  */
10962 _ACEOF
10963 cat confdefs.h >>conftest.$ac_ext
10964 cat >>conftest.$ac_ext <<_ACEOF
10965 /* end confdefs.h.  */
10966
10967 /* Override any GCC internal prototype to avoid an error.
10968    Use char because int might match the return type of a GCC
10969    builtin and then its argument prototype would still apply.  */
10970 #ifdef __cplusplus
10971 extern "C"
10972 #endif
10973 char glXCreateContext ();
10974 int
10975 main ()
10976 {
10977 return glXCreateContext ();
10978   ;
10979   return 0;
10980 }
10981 _ACEOF
10982 rm -f conftest.$ac_objext conftest$ac_exeext
10983 if { (ac_try="$ac_link"
10984 case "(($ac_try" in
10985   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10986   *) ac_try_echo=$ac_try;;
10987 esac
10988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10989   (eval "$ac_link") 2>conftest.er1
10990   ac_status=$?
10991   grep -v '^ *+' conftest.er1 >conftest.err
10992   rm -f conftest.er1
10993   cat conftest.err >&5
10994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995   (exit $ac_status); } && {
10996          test -z "$ac_c_werror_flag" ||
10997          test ! -s conftest.err
10998        } && test -s conftest$ac_exeext &&
10999        $as_test_x conftest$ac_exeext; then
11000   case "$LIBEXT" in
11001     dll) ;;
11002     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'` ;;
11003     *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
11004   esac
11005 else
11006   echo "$as_me: failed program was:" >&5
11007 sed 's/^/| /' conftest.$ac_ext >&5
11008
11009
11010 fi
11011
11012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11013       conftest$ac_exeext conftest.$ac_ext
11014   LIBS=$ac_check_soname_save_LIBS
11015 fi
11016 if test "x$ac_cv_lib_soname_GL" = "x"; then
11017   { echo "$as_me:$LINENO: result: not found" >&5
11018 echo "${ECHO_T}not found" >&6; }
11019        { echo "$as_me:$LINENO: checking for -lGL" >&5
11020 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
11021 if test "${ac_cv_lib_soname_GL+set}" = set; then
11022   echo $ECHO_N "(cached) $ECHO_C" >&6
11023 else
11024   ac_check_soname_save_LIBS=$LIBS
11025 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"
11026   cat >conftest.$ac_ext <<_ACEOF
11027 /* confdefs.h.  */
11028 _ACEOF
11029 cat confdefs.h >>conftest.$ac_ext
11030 cat >>conftest.$ac_ext <<_ACEOF
11031 /* end confdefs.h.  */
11032
11033 /* Override any GCC internal prototype to avoid an error.
11034    Use char because int might match the return type of a GCC
11035    builtin and then its argument prototype would still apply.  */
11036 #ifdef __cplusplus
11037 extern "C"
11038 #endif
11039 char glXCreateContext ();
11040 int
11041 main ()
11042 {
11043 return glXCreateContext ();
11044   ;
11045   return 0;
11046 }
11047 _ACEOF
11048 rm -f conftest.$ac_objext conftest$ac_exeext
11049 if { (ac_try="$ac_link"
11050 case "(($ac_try" in
11051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11052   *) ac_try_echo=$ac_try;;
11053 esac
11054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11055   (eval "$ac_link") 2>conftest.er1
11056   ac_status=$?
11057   grep -v '^ *+' conftest.er1 >conftest.err
11058   rm -f conftest.er1
11059   cat conftest.err >&5
11060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061   (exit $ac_status); } && {
11062          test -z "$ac_c_werror_flag" ||
11063          test ! -s conftest.err
11064        } && test -s conftest$ac_exeext &&
11065        $as_test_x conftest$ac_exeext; then
11066   case "$LIBEXT" in
11067     dll) ;;
11068     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'` ;;
11069     *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
11070   esac
11071 else
11072   echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.$ac_ext >&5
11074
11075
11076 fi
11077
11078 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11079       conftest$ac_exeext conftest.$ac_ext
11080   LIBS=$ac_check_soname_save_LIBS
11081 fi
11082 if test "x$ac_cv_lib_soname_GL" = "x"; then
11083   { echo "$as_me:$LINENO: result: not found" >&5
11084 echo "${ECHO_T}not found" >&6; }
11085        if test -f /usr/X11R6/lib/libGL.a
11086                                     then
11087                                         opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
11088 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
11089                                     else
11090                                         opengl_msg="No OpenGL library found on this system."
11091                                     fi
11092 else
11093   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11094 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11095
11096 cat >>confdefs.h <<_ACEOF
11097 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11098 _ACEOF
11099
11100        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"
11101                                     OPENGLFILES='$(OPENGLFILES)'
11102
11103 cat >>confdefs.h <<\_ACEOF
11104 #define HAVE_OPENGL 1
11105 _ACEOF
11106
11107 fi
11108
11109 else
11110   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
11111 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
11112
11113 cat >>confdefs.h <<_ACEOF
11114 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
11115 _ACEOF
11116
11117        OPENGL_LIBS="-lGL"
11118                              OPENGLFILES='$(OPENGLFILES)'
11119
11120 cat >>confdefs.h <<\_ACEOF
11121 #define HAVE_OPENGL 1
11122 _ACEOF
11123
11124 fi
11125
11126                  if test "$ac_cv_header_GL_glu_h" = "yes"
11127                  then
11128                     { echo "$as_me:$LINENO: checking for -lGLU" >&5
11129 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
11130 if test "${ac_cv_lib_soname_GLU+set}" = set; then
11131   echo $ECHO_N "(cached) $ECHO_C" >&6
11132 else
11133   ac_check_soname_save_LIBS=$LIBS
11134 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
11135   cat >conftest.$ac_ext <<_ACEOF
11136 /* confdefs.h.  */
11137 _ACEOF
11138 cat confdefs.h >>conftest.$ac_ext
11139 cat >>conftest.$ac_ext <<_ACEOF
11140 /* end confdefs.h.  */
11141
11142 /* Override any GCC internal prototype to avoid an error.
11143    Use char because int might match the return type of a GCC
11144    builtin and then its argument prototype would still apply.  */
11145 #ifdef __cplusplus
11146 extern "C"
11147 #endif
11148 char gluLookAt ();
11149 int
11150 main ()
11151 {
11152 return gluLookAt ();
11153   ;
11154   return 0;
11155 }
11156 _ACEOF
11157 rm -f conftest.$ac_objext conftest$ac_exeext
11158 if { (ac_try="$ac_link"
11159 case "(($ac_try" in
11160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11161   *) ac_try_echo=$ac_try;;
11162 esac
11163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11164   (eval "$ac_link") 2>conftest.er1
11165   ac_status=$?
11166   grep -v '^ *+' conftest.er1 >conftest.err
11167   rm -f conftest.er1
11168   cat conftest.err >&5
11169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170   (exit $ac_status); } && {
11171          test -z "$ac_c_werror_flag" ||
11172          test ! -s conftest.err
11173        } && test -s conftest$ac_exeext &&
11174        $as_test_x conftest$ac_exeext; then
11175   case "$LIBEXT" in
11176     dll) ;;
11177     dylib) ac_cv_lib_soname_GLU=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11178     *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;
11179   esac
11180 else
11181   echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.$ac_ext >&5
11183
11184
11185 fi
11186
11187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11188       conftest$ac_exeext conftest.$ac_ext
11189   LIBS=$ac_check_soname_save_LIBS
11190 fi
11191 if test "x$ac_cv_lib_soname_GLU" = "x"; then
11192   { echo "$as_me:$LINENO: result: not found" >&5
11193 echo "${ECHO_T}not found" >&6; }
11194
11195 else
11196   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GLU" >&5
11197 echo "${ECHO_T}$ac_cv_lib_soname_GLU" >&6; }
11198
11199 cat >>confdefs.h <<_ACEOF
11200 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
11201 _ACEOF
11202
11203        GLU32FILES='$(GLU32FILES)'
11204 fi
11205
11206                  fi
11207                  if test "x$ac_cv_lib_soname_GLU" = "x"; then
11208   case "x$with_glu" in
11209   x)   wine_notices="$wine_notices|libGLU development files not found, GLU won't be supported." ;;
11210   xno) ;;
11211   *)   { { echo "$as_me:$LINENO: error: libGLU development files not found, GLU won't be supported.
11212 This is an error since --with-glu was requested." >&5
11213 echo "$as_me: error: libGLU development files not found, GLU won't be supported.
11214 This is an error since --with-glu was requested." >&2;}
11215    { (exit 1); exit 1; }; } ;;
11216 esac
11217 fi
11218
11219              else
11220                  opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
11221              fi
11222          else
11223              opengl_msg="OpenGL development headers not found."
11224          fi
11225     fi
11226     if test -n "$opengl_msg"; then
11227   case "x$with_opengl" in
11228   x)   wine_warnings="$wine_warnings|$opengl_msg
11229 OpenGL and Direct3D won't be supported." ;;
11230   xno) ;;
11231   *)   { { echo "$as_me:$LINENO: error: $opengl_msg
11232 OpenGL and Direct3D won't be supported.
11233 This is an error since --with-opengl was requested." >&5
11234 echo "$as_me: error: $opengl_msg
11235 OpenGL and Direct3D won't be supported.
11236 This is an error since --with-opengl was requested." >&2;}
11237    { (exit 1); exit 1; }; } ;;
11238 esac
11239 fi
11240
11241
11242         NASLIBS=""
11243
11244
11245 for ac_header in audio/audiolib.h
11246 do
11247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11249   { echo "$as_me:$LINENO: checking for $ac_header" >&5
11250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11251 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11252   echo $ECHO_N "(cached) $ECHO_C" >&6
11253 fi
11254 ac_res=`eval echo '${'$as_ac_Header'}'`
11255                { echo "$as_me:$LINENO: result: $ac_res" >&5
11256 echo "${ECHO_T}$ac_res" >&6; }
11257 else
11258   # Is the header compilable?
11259 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11261 cat >conftest.$ac_ext <<_ACEOF
11262 /* confdefs.h.  */
11263 _ACEOF
11264 cat confdefs.h >>conftest.$ac_ext
11265 cat >>conftest.$ac_ext <<_ACEOF
11266 /* end confdefs.h.  */
11267 $ac_includes_default
11268 #include <$ac_header>
11269 _ACEOF
11270 rm -f conftest.$ac_objext
11271 if { (ac_try="$ac_compile"
11272 case "(($ac_try" in
11273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11274   *) ac_try_echo=$ac_try;;
11275 esac
11276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11277   (eval "$ac_compile") 2>conftest.er1
11278   ac_status=$?
11279   grep -v '^ *+' conftest.er1 >conftest.err
11280   rm -f conftest.er1
11281   cat conftest.err >&5
11282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283   (exit $ac_status); } && {
11284          test -z "$ac_c_werror_flag" ||
11285          test ! -s conftest.err
11286        } && test -s conftest.$ac_objext; then
11287   ac_header_compiler=yes
11288 else
11289   echo "$as_me: failed program was:" >&5
11290 sed 's/^/| /' conftest.$ac_ext >&5
11291
11292         ac_header_compiler=no
11293 fi
11294
11295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11296 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11297 echo "${ECHO_T}$ac_header_compiler" >&6; }
11298
11299 # Is the header present?
11300 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11301 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11302 cat >conftest.$ac_ext <<_ACEOF
11303 /* confdefs.h.  */
11304 _ACEOF
11305 cat confdefs.h >>conftest.$ac_ext
11306 cat >>conftest.$ac_ext <<_ACEOF
11307 /* end confdefs.h.  */
11308 #include <$ac_header>
11309 _ACEOF
11310 if { (ac_try="$ac_cpp conftest.$ac_ext"
11311 case "(($ac_try" in
11312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11313   *) ac_try_echo=$ac_try;;
11314 esac
11315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11316   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11317   ac_status=$?
11318   grep -v '^ *+' conftest.er1 >conftest.err
11319   rm -f conftest.er1
11320   cat conftest.err >&5
11321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322   (exit $ac_status); } >/dev/null && {
11323          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11324          test ! -s conftest.err
11325        }; then
11326   ac_header_preproc=yes
11327 else
11328   echo "$as_me: failed program was:" >&5
11329 sed 's/^/| /' conftest.$ac_ext >&5
11330
11331   ac_header_preproc=no
11332 fi
11333
11334 rm -f conftest.err conftest.$ac_ext
11335 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11336 echo "${ECHO_T}$ac_header_preproc" >&6; }
11337
11338 # So?  What about this header?
11339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11340   yes:no: )
11341     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11342 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11343     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11344 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11345     ac_header_preproc=yes
11346     ;;
11347   no:yes:* )
11348     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11349 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11350     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11351 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11352     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11353 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11354     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11355 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11356     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11357 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11358     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11359 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11360     ( cat <<\_ASBOX
11361 ## ------------------------------------ ##
11362 ## Report this to wine-devel@winehq.org ##
11363 ## ------------------------------------ ##
11364 _ASBOX
11365      ) | sed "s/^/$as_me: WARNING:     /" >&2
11366     ;;
11367 esac
11368 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11369 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11370 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11371   echo $ECHO_N "(cached) $ECHO_C" >&6
11372 else
11373   eval "$as_ac_Header=\$ac_header_preproc"
11374 fi
11375 ac_res=`eval echo '${'$as_ac_Header'}'`
11376                { echo "$as_me:$LINENO: result: $ac_res" >&5
11377 echo "${ECHO_T}$ac_res" >&6; }
11378
11379 fi
11380 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11381   cat >>confdefs.h <<_ACEOF
11382 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11383 _ACEOF
11384
11385 for ac_header in audio/soundlib.h
11386 do
11387 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11388 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11389 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11391   echo $ECHO_N "(cached) $ECHO_C" >&6
11392 else
11393   cat >conftest.$ac_ext <<_ACEOF
11394 /* confdefs.h.  */
11395 _ACEOF
11396 cat confdefs.h >>conftest.$ac_ext
11397 cat >>conftest.$ac_ext <<_ACEOF
11398 /* end confdefs.h.  */
11399 #include <audio/audiolib.h>
11400
11401 #include <$ac_header>
11402 _ACEOF
11403 rm -f conftest.$ac_objext
11404 if { (ac_try="$ac_compile"
11405 case "(($ac_try" in
11406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11407   *) ac_try_echo=$ac_try;;
11408 esac
11409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11410   (eval "$ac_compile") 2>conftest.er1
11411   ac_status=$?
11412   grep -v '^ *+' conftest.er1 >conftest.err
11413   rm -f conftest.er1
11414   cat conftest.err >&5
11415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11416   (exit $ac_status); } && {
11417          test -z "$ac_c_werror_flag" ||
11418          test ! -s conftest.err
11419        } && test -s conftest.$ac_objext; then
11420   eval "$as_ac_Header=yes"
11421 else
11422   echo "$as_me: failed program was:" >&5
11423 sed 's/^/| /' conftest.$ac_ext >&5
11424
11425         eval "$as_ac_Header=no"
11426 fi
11427
11428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11429 fi
11430 ac_res=`eval echo '${'$as_ac_Header'}'`
11431                { echo "$as_me:$LINENO: result: $ac_res" >&5
11432 echo "${ECHO_T}$ac_res" >&6; }
11433 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11434   cat >>confdefs.h <<_ACEOF
11435 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11436 _ACEOF
11437
11438 fi
11439
11440 done
11441
11442           { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
11443 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
11444 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
11445   echo $ECHO_N "(cached) $ECHO_C" >&6
11446 else
11447   ac_check_lib_save_LIBS=$LIBS
11448 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
11449 cat >conftest.$ac_ext <<_ACEOF
11450 /* confdefs.h.  */
11451 _ACEOF
11452 cat confdefs.h >>conftest.$ac_ext
11453 cat >>conftest.$ac_ext <<_ACEOF
11454 /* end confdefs.h.  */
11455
11456 /* Override any GCC internal prototype to avoid an error.
11457    Use char because int might match the return type of a GCC
11458    builtin and then its argument prototype would still apply.  */
11459 #ifdef __cplusplus
11460 extern "C"
11461 #endif
11462 char AuCreateFlow ();
11463 int
11464 main ()
11465 {
11466 return AuCreateFlow ();
11467   ;
11468   return 0;
11469 }
11470 _ACEOF
11471 rm -f conftest.$ac_objext conftest$ac_exeext
11472 if { (ac_try="$ac_link"
11473 case "(($ac_try" in
11474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11475   *) ac_try_echo=$ac_try;;
11476 esac
11477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11478   (eval "$ac_link") 2>conftest.er1
11479   ac_status=$?
11480   grep -v '^ *+' conftest.er1 >conftest.err
11481   rm -f conftest.er1
11482   cat conftest.err >&5
11483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11484   (exit $ac_status); } && {
11485          test -z "$ac_c_werror_flag" ||
11486          test ! -s conftest.err
11487        } && test -s conftest$ac_exeext &&
11488        $as_test_x conftest$ac_exeext; then
11489   ac_cv_lib_audio_AuCreateFlow=yes
11490 else
11491   echo "$as_me: failed program was:" >&5
11492 sed 's/^/| /' conftest.$ac_ext >&5
11493
11494         ac_cv_lib_audio_AuCreateFlow=no
11495 fi
11496
11497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11498       conftest$ac_exeext conftest.$ac_ext
11499 LIBS=$ac_check_lib_save_LIBS
11500 fi
11501 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
11502 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
11503 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
11504
11505 cat >>confdefs.h <<\_ACEOF
11506 #define HAVE_NAS 1
11507 _ACEOF
11508
11509                         { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
11510 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
11511 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
11512   echo $ECHO_N "(cached) $ECHO_C" >&6
11513 else
11514   ac_check_lib_save_LIBS=$LIBS
11515 LIBS="-lXau $X_LIBS $LIBS"
11516 cat >conftest.$ac_ext <<_ACEOF
11517 /* confdefs.h.  */
11518 _ACEOF
11519 cat confdefs.h >>conftest.$ac_ext
11520 cat >>conftest.$ac_ext <<_ACEOF
11521 /* end confdefs.h.  */
11522
11523 /* Override any GCC internal prototype to avoid an error.
11524    Use char because int might match the return type of a GCC
11525    builtin and then its argument prototype would still apply.  */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char XauGetBestAuthByAddr ();
11530 int
11531 main ()
11532 {
11533 return XauGetBestAuthByAddr ();
11534   ;
11535   return 0;
11536 }
11537 _ACEOF
11538 rm -f conftest.$ac_objext conftest$ac_exeext
11539 if { (ac_try="$ac_link"
11540 case "(($ac_try" in
11541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11542   *) ac_try_echo=$ac_try;;
11543 esac
11544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11545   (eval "$ac_link") 2>conftest.er1
11546   ac_status=$?
11547   grep -v '^ *+' conftest.er1 >conftest.err
11548   rm -f conftest.er1
11549   cat conftest.err >&5
11550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11551   (exit $ac_status); } && {
11552          test -z "$ac_c_werror_flag" ||
11553          test ! -s conftest.err
11554        } && test -s conftest$ac_exeext &&
11555        $as_test_x conftest$ac_exeext; then
11556   ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
11557 else
11558   echo "$as_me: failed program was:" >&5
11559 sed 's/^/| /' conftest.$ac_ext >&5
11560
11561         ac_cv_lib_Xau_XauGetBestAuthByAddr=no
11562 fi
11563
11564 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11565       conftest$ac_exeext conftest.$ac_ext
11566 LIBS=$ac_check_lib_save_LIBS
11567 fi
11568 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
11569 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
11570 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
11571   NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11572 else
11573   NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
11574 fi
11575
11576
11577 fi
11578
11579 fi
11580
11581 done
11582
11583
11584     CPPFLAGS="$ac_save_CPPFLAGS"
11585     XFILES='$(XFILES)'
11586 else
11587     XLIB=""
11588     X_CFLAGS=""
11589     X_LIBS=""
11590 fi
11591 if test "x$XLIB" = "x"; then
11592   case "x$with_x" in
11593   xno) ;;
11594   *)   { { echo "$as_me:$LINENO: error: X development files not found. Wine will be built
11595 without X support, which probably isn't what you want. You will need to install
11596 development packages of Xlib/Xfree86 at the very least.
11597 Use the --without-x option if you really want this." >&5
11598 echo "$as_me: error: X development files not found. Wine will be built
11599 without X support, which probably isn't what you want. You will need to install
11600 development packages of Xlib/Xfree86 at the very least.
11601 Use the --without-x option if you really want this." >&2;}
11602    { (exit 1); exit 1; }; } ;;
11603 esac
11604 fi
11605
11606
11607
11608 XML2LIBS=""
11609
11610 XML2INCL=""
11611
11612 XSLTLIBS=""
11613
11614 XSLTINCL=""
11615
11616 if test "x$with_xml" != "xno"
11617 then
11618     ac_save_CPPFLAGS="$CPPFLAGS"
11619     if test "$PKG_CONFIG" != "false"
11620     then
11621         ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
11622         ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
11623     else
11624         ac_xml_libs="`xml2-config --libs 2>/dev/null`"
11625         ac_xml_cflags="`xml2-config --cflags  2>/dev/null`"
11626     fi
11627     CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
11628
11629 for ac_header in libxml/parser.h
11630 do
11631 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11632 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11633   { echo "$as_me:$LINENO: checking for $ac_header" >&5
11634 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11635 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11636   echo $ECHO_N "(cached) $ECHO_C" >&6
11637 fi
11638 ac_res=`eval echo '${'$as_ac_Header'}'`
11639                { echo "$as_me:$LINENO: result: $ac_res" >&5
11640 echo "${ECHO_T}$ac_res" >&6; }
11641 else
11642   # Is the header compilable?
11643 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11645 cat >conftest.$ac_ext <<_ACEOF
11646 /* confdefs.h.  */
11647 _ACEOF
11648 cat confdefs.h >>conftest.$ac_ext
11649 cat >>conftest.$ac_ext <<_ACEOF
11650 /* end confdefs.h.  */
11651 $ac_includes_default
11652 #include <$ac_header>
11653 _ACEOF
11654 rm -f conftest.$ac_objext
11655 if { (ac_try="$ac_compile"
11656 case "(($ac_try" in
11657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11658   *) ac_try_echo=$ac_try;;
11659 esac
11660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11661   (eval "$ac_compile") 2>conftest.er1
11662   ac_status=$?
11663   grep -v '^ *+' conftest.er1 >conftest.err
11664   rm -f conftest.er1
11665   cat conftest.err >&5
11666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667   (exit $ac_status); } && {
11668          test -z "$ac_c_werror_flag" ||
11669          test ! -s conftest.err
11670        } && test -s conftest.$ac_objext; then
11671   ac_header_compiler=yes
11672 else
11673   echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.$ac_ext >&5
11675
11676         ac_header_compiler=no
11677 fi
11678
11679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11680 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11681 echo "${ECHO_T}$ac_header_compiler" >&6; }
11682
11683 # Is the header present?
11684 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11685 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11686 cat >conftest.$ac_ext <<_ACEOF
11687 /* confdefs.h.  */
11688 _ACEOF
11689 cat confdefs.h >>conftest.$ac_ext
11690 cat >>conftest.$ac_ext <<_ACEOF
11691 /* end confdefs.h.  */
11692 #include <$ac_header>
11693 _ACEOF
11694 if { (ac_try="$ac_cpp conftest.$ac_ext"
11695 case "(($ac_try" in
11696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11697   *) ac_try_echo=$ac_try;;
11698 esac
11699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11700   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11701   ac_status=$?
11702   grep -v '^ *+' conftest.er1 >conftest.err
11703   rm -f conftest.er1
11704   cat conftest.err >&5
11705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11706   (exit $ac_status); } >/dev/null && {
11707          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11708          test ! -s conftest.err
11709        }; then
11710   ac_header_preproc=yes
11711 else
11712   echo "$as_me: failed program was:" >&5
11713 sed 's/^/| /' conftest.$ac_ext >&5
11714
11715   ac_header_preproc=no
11716 fi
11717
11718 rm -f conftest.err conftest.$ac_ext
11719 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11720 echo "${ECHO_T}$ac_header_preproc" >&6; }
11721
11722 # So?  What about this header?
11723 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11724   yes:no: )
11725     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11727     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11728 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11729     ac_header_preproc=yes
11730     ;;
11731   no:yes:* )
11732     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11733 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11734     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11735 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11736     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11737 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11738     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11739 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11740     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11742     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11743 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11744     ( cat <<\_ASBOX
11745 ## ------------------------------------ ##
11746 ## Report this to wine-devel@winehq.org ##
11747 ## ------------------------------------ ##
11748 _ASBOX
11749      ) | sed "s/^/$as_me: WARNING:     /" >&2
11750     ;;
11751 esac
11752 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11754 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11755   echo $ECHO_N "(cached) $ECHO_C" >&6
11756 else
11757   eval "$as_ac_Header=\$ac_header_preproc"
11758 fi
11759 ac_res=`eval echo '${'$as_ac_Header'}'`
11760                { echo "$as_me:$LINENO: result: $ac_res" >&5
11761 echo "${ECHO_T}$ac_res" >&6; }
11762
11763 fi
11764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11765   cat >>confdefs.h <<_ACEOF
11766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11767 _ACEOF
11768  { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
11769 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
11770 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
11771   echo $ECHO_N "(cached) $ECHO_C" >&6
11772 else
11773   ac_check_lib_save_LIBS=$LIBS
11774 LIBS="-lxml2 $ac_xml_libs $LIBS"
11775 cat >conftest.$ac_ext <<_ACEOF
11776 /* confdefs.h.  */
11777 _ACEOF
11778 cat confdefs.h >>conftest.$ac_ext
11779 cat >>conftest.$ac_ext <<_ACEOF
11780 /* end confdefs.h.  */
11781
11782 /* Override any GCC internal prototype to avoid an error.
11783    Use char because int might match the return type of a GCC
11784    builtin and then its argument prototype would still apply.  */
11785 #ifdef __cplusplus
11786 extern "C"
11787 #endif
11788 char xmlParseMemory ();
11789 int
11790 main ()
11791 {
11792 return xmlParseMemory ();
11793   ;
11794   return 0;
11795 }
11796 _ACEOF
11797 rm -f conftest.$ac_objext conftest$ac_exeext
11798 if { (ac_try="$ac_link"
11799 case "(($ac_try" in
11800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11801   *) ac_try_echo=$ac_try;;
11802 esac
11803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11804   (eval "$ac_link") 2>conftest.er1
11805   ac_status=$?
11806   grep -v '^ *+' conftest.er1 >conftest.err
11807   rm -f conftest.er1
11808   cat conftest.err >&5
11809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810   (exit $ac_status); } && {
11811          test -z "$ac_c_werror_flag" ||
11812          test ! -s conftest.err
11813        } && test -s conftest$ac_exeext &&
11814        $as_test_x conftest$ac_exeext; then
11815   ac_cv_lib_xml2_xmlParseMemory=yes
11816 else
11817   echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.$ac_ext >&5
11819
11820         ac_cv_lib_xml2_xmlParseMemory=no
11821 fi
11822
11823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11824       conftest$ac_exeext conftest.$ac_ext
11825 LIBS=$ac_check_lib_save_LIBS
11826 fi
11827 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11828 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11829 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
11830
11831 cat >>confdefs.h <<\_ACEOF
11832 #define HAVE_LIBXML2 1
11833 _ACEOF
11834
11835                  XML2LIBS="$ac_xml_libs"
11836                  XML2INCL="$ac_xml_cflags"
11837 fi
11838
11839              { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
11840 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
11841 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
11842   echo $ECHO_N "(cached) $ECHO_C" >&6
11843 else
11844   ac_check_lib_save_LIBS=$LIBS
11845 LIBS="-lxml2 $ac_xml_libs $LIBS"
11846 cat >conftest.$ac_ext <<_ACEOF
11847 /* confdefs.h.  */
11848 _ACEOF
11849 cat confdefs.h >>conftest.$ac_ext
11850 cat >>conftest.$ac_ext <<_ACEOF
11851 /* end confdefs.h.  */
11852
11853 /* Override any GCC internal prototype to avoid an error.
11854    Use char because int might match the return type of a GCC
11855    builtin and then its argument prototype would still apply.  */
11856 #ifdef __cplusplus
11857 extern "C"
11858 #endif
11859 char xmlReadMemory ();
11860 int
11861 main ()
11862 {
11863 return xmlReadMemory ();
11864   ;
11865   return 0;
11866 }
11867 _ACEOF
11868 rm -f conftest.$ac_objext conftest$ac_exeext
11869 if { (ac_try="$ac_link"
11870 case "(($ac_try" in
11871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11872   *) ac_try_echo=$ac_try;;
11873 esac
11874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11875   (eval "$ac_link") 2>conftest.er1
11876   ac_status=$?
11877   grep -v '^ *+' conftest.er1 >conftest.err
11878   rm -f conftest.er1
11879   cat conftest.err >&5
11880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11881   (exit $ac_status); } && {
11882          test -z "$ac_c_werror_flag" ||
11883          test ! -s conftest.err
11884        } && test -s conftest$ac_exeext &&
11885        $as_test_x conftest$ac_exeext; then
11886   ac_cv_lib_xml2_xmlReadMemory=yes
11887 else
11888   echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11890
11891         ac_cv_lib_xml2_xmlReadMemory=no
11892 fi
11893
11894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11895       conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_lib_save_LIBS
11897 fi
11898 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11899 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11900 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
11901
11902 cat >>confdefs.h <<\_ACEOF
11903 #define HAVE_XMLREADMEMORY 1
11904 _ACEOF
11905
11906 fi
11907
11908              { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
11909 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
11910 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
11911   echo $ECHO_N "(cached) $ECHO_C" >&6
11912 else
11913   ac_check_lib_save_LIBS=$LIBS
11914 LIBS="-lxml2 $ac_xml_libs $LIBS"
11915 cat >conftest.$ac_ext <<_ACEOF
11916 /* confdefs.h.  */
11917 _ACEOF
11918 cat confdefs.h >>conftest.$ac_ext
11919 cat >>conftest.$ac_ext <<_ACEOF
11920 /* end confdefs.h.  */
11921
11922 /* Override any GCC internal prototype to avoid an error.
11923    Use char because int might match the return type of a GCC
11924    builtin and then its argument prototype would still apply.  */
11925 #ifdef __cplusplus
11926 extern "C"
11927 #endif
11928 char xmlNewDocPI ();
11929 int
11930 main ()
11931 {
11932 return xmlNewDocPI ();
11933   ;
11934   return 0;
11935 }
11936 _ACEOF
11937 rm -f conftest.$ac_objext conftest$ac_exeext
11938 if { (ac_try="$ac_link"
11939 case "(($ac_try" in
11940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11941   *) ac_try_echo=$ac_try;;
11942 esac
11943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11944   (eval "$ac_link") 2>conftest.er1
11945   ac_status=$?
11946   grep -v '^ *+' conftest.er1 >conftest.err
11947   rm -f conftest.er1
11948   cat conftest.err >&5
11949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950   (exit $ac_status); } && {
11951          test -z "$ac_c_werror_flag" ||
11952          test ! -s conftest.err
11953        } && test -s conftest$ac_exeext &&
11954        $as_test_x conftest$ac_exeext; then
11955   ac_cv_lib_xml2_xmlNewDocPI=yes
11956 else
11957   echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11959
11960         ac_cv_lib_xml2_xmlNewDocPI=no
11961 fi
11962
11963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11964       conftest$ac_exeext conftest.$ac_ext
11965 LIBS=$ac_check_lib_save_LIBS
11966 fi
11967 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11968 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11969 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11970
11971 cat >>confdefs.h <<\_ACEOF
11972 #define HAVE_XMLNEWDOCPI 1
11973 _ACEOF
11974
11975 fi
11976
11977
11978 fi
11979
11980 done
11981
11982     CPPFLAGS="$ac_save_CPPFLAGS"
11983 fi
11984 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then
11985   case "x$with_xml" in
11986   x)   wine_warnings="$wine_warnings|libxml2 development files not found, XML won't be supported." ;;
11987   xno) ;;
11988   *)   { { echo "$as_me:$LINENO: error: libxml2 development files not found, XML won't be supported.
11989 This is an error since --with-xml was requested." >&5
11990 echo "$as_me: error: libxml2 development files not found, XML won't be supported.
11991 This is an error since --with-xml was requested." >&2;}
11992    { (exit 1); exit 1; }; } ;;
11993 esac
11994 fi
11995
11996
11997 if test "x$with_xslt" != "xno"
11998 then
11999     if test "$PKG_CONFIG" != "false"
12000     then
12001         ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
12002         ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
12003     else
12004         ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
12005         ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
12006     fi
12007     ac_save_CPPFLAGS="$CPPFLAGS"
12008     CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
12009
12010
12011 for ac_header in libxslt/pattern.h libxslt/transform.h
12012 do
12013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12014 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12017   echo $ECHO_N "(cached) $ECHO_C" >&6
12018 else
12019   cat >conftest.$ac_ext <<_ACEOF
12020 /* confdefs.h.  */
12021 _ACEOF
12022 cat confdefs.h >>conftest.$ac_ext
12023 cat >>conftest.$ac_ext <<_ACEOF
12024 /* end confdefs.h.  */
12025 #ifdef HAVE_LIBXSLT_PATTERN_H
12026 # include <libxslt/pattern.h>
12027 #endif
12028
12029 #include <$ac_header>
12030 _ACEOF
12031 rm -f conftest.$ac_objext
12032 if { (ac_try="$ac_compile"
12033 case "(($ac_try" in
12034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12035   *) ac_try_echo=$ac_try;;
12036 esac
12037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12038   (eval "$ac_compile") 2>conftest.er1
12039   ac_status=$?
12040   grep -v '^ *+' conftest.er1 >conftest.err
12041   rm -f conftest.er1
12042   cat conftest.err >&5
12043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044   (exit $ac_status); } && {
12045          test -z "$ac_c_werror_flag" ||
12046          test ! -s conftest.err
12047        } && test -s conftest.$ac_objext; then
12048   eval "$as_ac_Header=yes"
12049 else
12050   echo "$as_me: failed program was:" >&5
12051 sed 's/^/| /' conftest.$ac_ext >&5
12052
12053         eval "$as_ac_Header=no"
12054 fi
12055
12056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12057 fi
12058 ac_res=`eval echo '${'$as_ac_Header'}'`
12059                { echo "$as_me:$LINENO: result: $ac_res" >&5
12060 echo "${ECHO_T}$ac_res" >&6; }
12061 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12062   cat >>confdefs.h <<_ACEOF
12063 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12064 _ACEOF
12065
12066 fi
12067
12068 done
12069
12070     CPPFLAGS="$ac_save_CPPFLAGS"
12071     if test "$ac_cv_header_libxslt_transform_h" = "yes"
12072     then
12073         { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
12074 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
12075 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
12076   echo $ECHO_N "(cached) $ECHO_C" >&6
12077 else
12078   ac_check_lib_save_LIBS=$LIBS
12079 LIBS="-lxslt $ac_xslt_libs $LIBS"
12080 cat >conftest.$ac_ext <<_ACEOF
12081 /* confdefs.h.  */
12082 _ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h.  */
12086
12087 /* Override any GCC internal prototype to avoid an error.
12088    Use char because int might match the return type of a GCC
12089    builtin and then its argument prototype would still apply.  */
12090 #ifdef __cplusplus
12091 extern "C"
12092 #endif
12093 char xsltCompilePattern ();
12094 int
12095 main ()
12096 {
12097 return xsltCompilePattern ();
12098   ;
12099   return 0;
12100 }
12101 _ACEOF
12102 rm -f conftest.$ac_objext conftest$ac_exeext
12103 if { (ac_try="$ac_link"
12104 case "(($ac_try" in
12105   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12106   *) ac_try_echo=$ac_try;;
12107 esac
12108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12109   (eval "$ac_link") 2>conftest.er1
12110   ac_status=$?
12111   grep -v '^ *+' conftest.er1 >conftest.err
12112   rm -f conftest.er1
12113   cat conftest.err >&5
12114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12115   (exit $ac_status); } && {
12116          test -z "$ac_c_werror_flag" ||
12117          test ! -s conftest.err
12118        } && test -s conftest$ac_exeext &&
12119        $as_test_x conftest$ac_exeext; then
12120   ac_cv_lib_xslt_xsltCompilePattern=yes
12121 else
12122   echo "$as_me: failed program was:" >&5
12123 sed 's/^/| /' conftest.$ac_ext >&5
12124
12125         ac_cv_lib_xslt_xsltCompilePattern=no
12126 fi
12127
12128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12129       conftest$ac_exeext conftest.$ac_ext
12130 LIBS=$ac_check_lib_save_LIBS
12131 fi
12132 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
12133 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
12134 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
12135
12136 cat >>confdefs.h <<\_ACEOF
12137 #define HAVE_LIBXSLT 1
12138 _ACEOF
12139
12140              XSLTLIBS="$ac_xslt_libs"
12141              XSLTINCL="$ac_xslt_cflags"
12142              ac_save_LIBS="$LIBS"
12143              LIBS="$LIBS $ac_xslt_libs"
12144
12145 for ac_func in xsltInit
12146 do
12147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12148 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12150 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12151   echo $ECHO_N "(cached) $ECHO_C" >&6
12152 else
12153   cat >conftest.$ac_ext <<_ACEOF
12154 /* confdefs.h.  */
12155 _ACEOF
12156 cat confdefs.h >>conftest.$ac_ext
12157 cat >>conftest.$ac_ext <<_ACEOF
12158 /* end confdefs.h.  */
12159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12161 #define $ac_func innocuous_$ac_func
12162
12163 /* System header to define __stub macros and hopefully few prototypes,
12164     which can conflict with char $ac_func (); below.
12165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12166     <limits.h> exists even on freestanding compilers.  */
12167
12168 #ifdef __STDC__
12169 # include <limits.h>
12170 #else
12171 # include <assert.h>
12172 #endif
12173
12174 #undef $ac_func
12175
12176 /* Override any GCC internal prototype to avoid an error.
12177    Use char because int might match the return type of a GCC
12178    builtin and then its argument prototype would still apply.  */
12179 #ifdef __cplusplus
12180 extern "C"
12181 #endif
12182 char $ac_func ();
12183 /* The GNU C library defines this for functions which it implements
12184     to always fail with ENOSYS.  Some functions are actually named
12185     something starting with __ and the normal name is an alias.  */
12186 #if defined __stub_$ac_func || defined __stub___$ac_func
12187 choke me
12188 #endif
12189
12190 int
12191 main ()
12192 {
12193 return $ac_func ();
12194   ;
12195   return 0;
12196 }
12197 _ACEOF
12198 rm -f conftest.$ac_objext conftest$ac_exeext
12199 if { (ac_try="$ac_link"
12200 case "(($ac_try" in
12201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12202   *) ac_try_echo=$ac_try;;
12203 esac
12204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12205   (eval "$ac_link") 2>conftest.er1
12206   ac_status=$?
12207   grep -v '^ *+' conftest.er1 >conftest.err
12208   rm -f conftest.er1
12209   cat conftest.err >&5
12210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12211   (exit $ac_status); } && {
12212          test -z "$ac_c_werror_flag" ||
12213          test ! -s conftest.err
12214        } && test -s conftest$ac_exeext &&
12215        $as_test_x conftest$ac_exeext; then
12216   eval "$as_ac_var=yes"
12217 else
12218   echo "$as_me: failed program was:" >&5
12219 sed 's/^/| /' conftest.$ac_ext >&5
12220
12221         eval "$as_ac_var=no"
12222 fi
12223
12224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12225       conftest$ac_exeext conftest.$ac_ext
12226 fi
12227 ac_res=`eval echo '${'$as_ac_var'}'`
12228                { echo "$as_me:$LINENO: result: $ac_res" >&5
12229 echo "${ECHO_T}$ac_res" >&6; }
12230 if test `eval echo '${'$as_ac_var'}'` = yes; then
12231   cat >>confdefs.h <<_ACEOF
12232 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12233 _ACEOF
12234
12235 fi
12236 done
12237
12238              LIBS="$ac_save_LIBS"
12239 fi
12240
12241     fi
12242 fi
12243 if test "$ac_cv_lib_xslt_xsltCompilePattern" != "yes"; then
12244   case "x$with_xslt" in
12245   x)   wine_warnings="$wine_warnings|libxslt development files not found, xslt won't be supported." ;;
12246   xno) ;;
12247   *)   { { echo "$as_me:$LINENO: error: libxslt development files not found, xslt won't be supported.
12248 This is an error since --with-xslt was requested." >&5
12249 echo "$as_me: error: libxslt development files not found, xslt won't be supported.
12250 This is an error since --with-xslt was requested." >&2;}
12251    { (exit 1); exit 1; }; } ;;
12252 esac
12253 fi
12254
12255
12256 HALINCL=""
12257
12258 if test "x$with_hal" != "xno" -a "$PKG_CONFIG" != "false"
12259 then
12260     ac_save_CPPFLAGS="$CPPFLAGS"
12261     ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
12262     ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
12263     CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
12264
12265
12266 for ac_header in dbus/dbus.h hal/libhal.h
12267 do
12268 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12269 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12270   { echo "$as_me:$LINENO: checking for $ac_header" >&5
12271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12273   echo $ECHO_N "(cached) $ECHO_C" >&6
12274 fi
12275 ac_res=`eval echo '${'$as_ac_Header'}'`
12276                { echo "$as_me:$LINENO: result: $ac_res" >&5
12277 echo "${ECHO_T}$ac_res" >&6; }
12278 else
12279   # Is the header compilable?
12280 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
12281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
12282 cat >conftest.$ac_ext <<_ACEOF
12283 /* confdefs.h.  */
12284 _ACEOF
12285 cat confdefs.h >>conftest.$ac_ext
12286 cat >>conftest.$ac_ext <<_ACEOF
12287 /* end confdefs.h.  */
12288 $ac_includes_default
12289 #include <$ac_header>
12290 _ACEOF
12291 rm -f conftest.$ac_objext
12292 if { (ac_try="$ac_compile"
12293 case "(($ac_try" in
12294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12295   *) ac_try_echo=$ac_try;;
12296 esac
12297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12298   (eval "$ac_compile") 2>conftest.er1
12299   ac_status=$?
12300   grep -v '^ *+' conftest.er1 >conftest.err
12301   rm -f conftest.er1
12302   cat conftest.err >&5
12303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12304   (exit $ac_status); } && {
12305          test -z "$ac_c_werror_flag" ||
12306          test ! -s conftest.err
12307        } && test -s conftest.$ac_objext; then
12308   ac_header_compiler=yes
12309 else
12310   echo "$as_me: failed program was:" >&5
12311 sed 's/^/| /' conftest.$ac_ext >&5
12312
12313         ac_header_compiler=no
12314 fi
12315
12316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12317 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12318 echo "${ECHO_T}$ac_header_compiler" >&6; }
12319
12320 # Is the header present?
12321 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
12322 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
12323 cat >conftest.$ac_ext <<_ACEOF
12324 /* confdefs.h.  */
12325 _ACEOF
12326 cat confdefs.h >>conftest.$ac_ext
12327 cat >>conftest.$ac_ext <<_ACEOF
12328 /* end confdefs.h.  */
12329 #include <$ac_header>
12330 _ACEOF
12331 if { (ac_try="$ac_cpp conftest.$ac_ext"
12332 case "(($ac_try" in
12333   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12334   *) ac_try_echo=$ac_try;;
12335 esac
12336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12337   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12338   ac_status=$?
12339   grep -v '^ *+' conftest.er1 >conftest.err
12340   rm -f conftest.er1
12341   cat conftest.err >&5
12342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12343   (exit $ac_status); } >/dev/null && {
12344          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12345          test ! -s conftest.err
12346        }; then
12347   ac_header_preproc=yes
12348 else
12349   echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.$ac_ext >&5
12351
12352   ac_header_preproc=no
12353 fi
12354
12355 rm -f conftest.err conftest.$ac_ext
12356 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12357 echo "${ECHO_T}$ac_header_preproc" >&6; }
12358
12359 # So?  What about this header?
12360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12361   yes:no: )
12362     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12363 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12364     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12365 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12366     ac_header_preproc=yes
12367     ;;
12368   no:yes:* )
12369     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12370 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12371     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
12372 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
12373     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12374 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12375     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
12376 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
12377     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12379     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12380 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12381     ( cat <<\_ASBOX
12382 ## ------------------------------------ ##
12383 ## Report this to wine-devel@winehq.org ##
12384 ## ------------------------------------ ##
12385 _ASBOX
12386      ) | sed "s/^/$as_me: WARNING:     /" >&2
12387     ;;
12388 esac
12389 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12391 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12392   echo $ECHO_N "(cached) $ECHO_C" >&6
12393 else
12394   eval "$as_ac_Header=\$ac_header_preproc"
12395 fi
12396 ac_res=`eval echo '${'$as_ac_Header'}'`
12397                { echo "$as_me:$LINENO: result: $ac_res" >&5
12398 echo "${ECHO_T}$ac_res" >&6; }
12399
12400 fi
12401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12402   cat >>confdefs.h <<_ACEOF
12403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12404 _ACEOF
12405
12406 fi
12407
12408 done
12409
12410     if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
12411     then
12412         { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
12413 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
12414 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
12415   echo $ECHO_N "(cached) $ECHO_C" >&6
12416 else
12417   ac_check_lib_save_LIBS=$LIBS
12418 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
12419 cat >conftest.$ac_ext <<_ACEOF
12420 /* confdefs.h.  */
12421 _ACEOF
12422 cat confdefs.h >>conftest.$ac_ext
12423 cat >>conftest.$ac_ext <<_ACEOF
12424 /* end confdefs.h.  */
12425
12426 /* Override any GCC internal prototype to avoid an error.
12427    Use char because int might match the return type of a GCC
12428    builtin and then its argument prototype would still apply.  */
12429 #ifdef __cplusplus
12430 extern "C"
12431 #endif
12432 char dbus_connection_close ();
12433 int
12434 main ()
12435 {
12436 return dbus_connection_close ();
12437   ;
12438   return 0;
12439 }
12440 _ACEOF
12441 rm -f conftest.$ac_objext conftest$ac_exeext
12442 if { (ac_try="$ac_link"
12443 case "(($ac_try" in
12444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12445   *) ac_try_echo=$ac_try;;
12446 esac
12447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12448   (eval "$ac_link") 2>conftest.er1
12449   ac_status=$?
12450   grep -v '^ *+' conftest.er1 >conftest.err
12451   rm -f conftest.er1
12452   cat conftest.err >&5
12453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454   (exit $ac_status); } && {
12455          test -z "$ac_c_werror_flag" ||
12456          test ! -s conftest.err
12457        } && test -s conftest$ac_exeext &&
12458        $as_test_x conftest$ac_exeext; then
12459   ac_cv_lib_dbus_1_dbus_connection_close=yes
12460 else
12461   echo "$as_me: failed program was:" >&5
12462 sed 's/^/| /' conftest.$ac_ext >&5
12463
12464         ac_cv_lib_dbus_1_dbus_connection_close=no
12465 fi
12466
12467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12468       conftest$ac_exeext conftest.$ac_ext
12469 LIBS=$ac_check_lib_save_LIBS
12470 fi
12471 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
12472 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
12473 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
12474   { echo "$as_me:$LINENO: checking for -lhal" >&5
12475 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
12476 if test "${ac_cv_lib_soname_hal+set}" = set; then
12477   echo $ECHO_N "(cached) $ECHO_C" >&6
12478 else
12479   ac_check_soname_save_LIBS=$LIBS
12480 LIBS="-lhal $ac_hal_libs $LIBS"
12481   cat >conftest.$ac_ext <<_ACEOF
12482 /* confdefs.h.  */
12483 _ACEOF
12484 cat confdefs.h >>conftest.$ac_ext
12485 cat >>conftest.$ac_ext <<_ACEOF
12486 /* end confdefs.h.  */
12487
12488 /* Override any GCC internal prototype to avoid an error.
12489    Use char because int might match the return type of a GCC
12490    builtin and then its argument prototype would still apply.  */
12491 #ifdef __cplusplus
12492 extern "C"
12493 #endif
12494 char libhal_ctx_new ();
12495 int
12496 main ()
12497 {
12498 return libhal_ctx_new ();
12499   ;
12500   return 0;
12501 }
12502 _ACEOF
12503 rm -f conftest.$ac_objext conftest$ac_exeext
12504 if { (ac_try="$ac_link"
12505 case "(($ac_try" in
12506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507   *) ac_try_echo=$ac_try;;
12508 esac
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510   (eval "$ac_link") 2>conftest.er1
12511   ac_status=$?
12512   grep -v '^ *+' conftest.er1 >conftest.err
12513   rm -f conftest.er1
12514   cat conftest.err >&5
12515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516   (exit $ac_status); } && {
12517          test -z "$ac_c_werror_flag" ||
12518          test ! -s conftest.err
12519        } && test -s conftest$ac_exeext &&
12520        $as_test_x conftest$ac_exeext; then
12521   case "$LIBEXT" in
12522     dll) ;;
12523     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'` ;;
12524     *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;
12525   esac
12526 else
12527   echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.$ac_ext >&5
12529
12530
12531 fi
12532
12533 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12534       conftest$ac_exeext conftest.$ac_ext
12535   LIBS=$ac_check_soname_save_LIBS
12536 fi
12537 if test "x$ac_cv_lib_soname_hal" = "x"; then
12538   { echo "$as_me:$LINENO: result: not found" >&5
12539 echo "${ECHO_T}not found" >&6; }
12540
12541 else
12542   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
12543 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
12544
12545 cat >>confdefs.h <<_ACEOF
12546 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
12547 _ACEOF
12548
12549        HALINCL="$ac_hal_cflags"
12550 fi
12551
12552 fi
12553
12554     fi
12555     CPPFLAGS="$ac_save_CPPFLAGS"
12556 fi
12557 if test "x$ac_cv_lib_soname_hal" = "x"; then
12558   case "x$with_hal" in
12559   x)   wine_notices="$wine_notices|libhal development files not found, no dynamic device support." ;;
12560   xno) ;;
12561   *)   { { echo "$as_me:$LINENO: error: libhal development files not found, no dynamic device support.
12562 This is an error since --with-hal was requested." >&5
12563 echo "$as_me: error: libhal development files not found, no dynamic device support.
12564 This is an error since --with-hal was requested." >&2;}
12565    { (exit 1); exit 1; }; } ;;
12566 esac
12567 fi
12568
12569
12570 CURSESLIBS=""
12571 if test "$ac_cv_header_ncurses_h" = "yes"
12572 then
12573     { echo "$as_me:$LINENO: checking for -lncurses" >&5
12574 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
12575 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
12576   echo $ECHO_N "(cached) $ECHO_C" >&6
12577 else
12578   ac_check_soname_save_LIBS=$LIBS
12579 LIBS="-lncurses  $LIBS"
12580   cat >conftest.$ac_ext <<_ACEOF
12581 /* confdefs.h.  */
12582 _ACEOF
12583 cat confdefs.h >>conftest.$ac_ext
12584 cat >>conftest.$ac_ext <<_ACEOF
12585 /* end confdefs.h.  */
12586
12587 /* Override any GCC internal prototype to avoid an error.
12588    Use char because int might match the return type of a GCC
12589    builtin and then its argument prototype would still apply.  */
12590 #ifdef __cplusplus
12591 extern "C"
12592 #endif
12593 char waddch ();
12594 int
12595 main ()
12596 {
12597 return waddch ();
12598   ;
12599   return 0;
12600 }
12601 _ACEOF
12602 rm -f conftest.$ac_objext conftest$ac_exeext
12603 if { (ac_try="$ac_link"
12604 case "(($ac_try" in
12605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12606   *) ac_try_echo=$ac_try;;
12607 esac
12608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12609   (eval "$ac_link") 2>conftest.er1
12610   ac_status=$?
12611   grep -v '^ *+' conftest.er1 >conftest.err
12612   rm -f conftest.er1
12613   cat conftest.err >&5
12614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12615   (exit $ac_status); } && {
12616          test -z "$ac_c_werror_flag" ||
12617          test ! -s conftest.err
12618        } && test -s conftest$ac_exeext &&
12619        $as_test_x conftest$ac_exeext; then
12620   case "$LIBEXT" in
12621     dll) ;;
12622     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'` ;;
12623     *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^         ]*\).*$/\1/"';2,$d'` ;;
12624   esac
12625 else
12626   echo "$as_me: failed program was:" >&5
12627 sed 's/^/| /' conftest.$ac_ext >&5
12628
12629
12630 fi
12631
12632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12633       conftest$ac_exeext conftest.$ac_ext
12634   LIBS=$ac_check_soname_save_LIBS
12635 fi
12636 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
12637   { echo "$as_me:$LINENO: result: not found" >&5
12638 echo "${ECHO_T}not found" >&6; }
12639
12640 else
12641   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
12642 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
12643
12644 cat >>confdefs.h <<_ACEOF
12645 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
12646 _ACEOF
12647
12648        CURSESLIBS="-lncurses"
12649 fi
12650
12651 elif test "$ac_cv_header_curses_h" = "yes"
12652 then
12653     { echo "$as_me:$LINENO: checking for -lcurses" >&5
12654 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
12655 if test "${ac_cv_lib_soname_curses+set}" = set; then
12656   echo $ECHO_N "(cached) $ECHO_C" >&6
12657 else
12658   ac_check_soname_save_LIBS=$LIBS
12659 LIBS="-lcurses  $LIBS"
12660   cat >conftest.$ac_ext <<_ACEOF
12661 /* confdefs.h.  */
12662 _ACEOF
12663 cat confdefs.h >>conftest.$ac_ext
12664 cat >>conftest.$ac_ext <<_ACEOF
12665 /* end confdefs.h.  */
12666
12667 /* Override any GCC internal prototype to avoid an error.
12668    Use char because int might match the return type of a GCC
12669    builtin and then its argument prototype would still apply.  */
12670 #ifdef __cplusplus
12671 extern "C"
12672 #endif
12673 char waddch ();
12674 int
12675 main ()
12676 {
12677 return waddch ();
12678   ;
12679   return 0;
12680 }
12681 _ACEOF
12682 rm -f conftest.$ac_objext conftest$ac_exeext
12683 if { (ac_try="$ac_link"
12684 case "(($ac_try" in
12685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12686   *) ac_try_echo=$ac_try;;
12687 esac
12688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12689   (eval "$ac_link") 2>conftest.er1
12690   ac_status=$?
12691   grep -v '^ *+' conftest.er1 >conftest.err
12692   rm -f conftest.er1
12693   cat conftest.err >&5
12694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12695   (exit $ac_status); } && {
12696          test -z "$ac_c_werror_flag" ||
12697          test ! -s conftest.err
12698        } && test -s conftest$ac_exeext &&
12699        $as_test_x conftest$ac_exeext; then
12700   case "$LIBEXT" in
12701     dll) ;;
12702     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'` ;;
12703     *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^    ]*\).*$/\1/"';2,$d'` ;;
12704   esac
12705 else
12706   echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12708
12709
12710 fi
12711
12712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12713       conftest$ac_exeext conftest.$ac_ext
12714   LIBS=$ac_check_soname_save_LIBS
12715 fi
12716 if test "x$ac_cv_lib_soname_curses" = "x"; then
12717   { echo "$as_me:$LINENO: result: not found" >&5
12718 echo "${ECHO_T}not found" >&6; }
12719
12720 else
12721   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
12722 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
12723
12724 cat >>confdefs.h <<_ACEOF
12725 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
12726 _ACEOF
12727
12728        CURSESLIBS="-lcurses"
12729 fi
12730
12731 fi
12732 ac_save_LIBS="$LIBS"
12733 LIBS="$LIBS $CURSESLIBS"
12734
12735 for ac_func in mousemask
12736 do
12737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12738 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12740 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12741   echo $ECHO_N "(cached) $ECHO_C" >&6
12742 else
12743   cat >conftest.$ac_ext <<_ACEOF
12744 /* confdefs.h.  */
12745 _ACEOF
12746 cat confdefs.h >>conftest.$ac_ext
12747 cat >>conftest.$ac_ext <<_ACEOF
12748 /* end confdefs.h.  */
12749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12750    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12751 #define $ac_func innocuous_$ac_func
12752
12753 /* System header to define __stub macros and hopefully few prototypes,
12754     which can conflict with char $ac_func (); below.
12755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12756     <limits.h> exists even on freestanding compilers.  */
12757
12758 #ifdef __STDC__
12759 # include <limits.h>
12760 #else
12761 # include <assert.h>
12762 #endif
12763
12764 #undef $ac_func
12765
12766 /* Override any GCC internal prototype to avoid an error.
12767    Use char because int might match the return type of a GCC
12768    builtin and then its argument prototype would still apply.  */
12769 #ifdef __cplusplus
12770 extern "C"
12771 #endif
12772 char $ac_func ();
12773 /* The GNU C library defines this for functions which it implements
12774     to always fail with ENOSYS.  Some functions are actually named
12775     something starting with __ and the normal name is an alias.  */
12776 #if defined __stub_$ac_func || defined __stub___$ac_func
12777 choke me
12778 #endif
12779
12780 int
12781 main ()
12782 {
12783 return $ac_func ();
12784   ;
12785   return 0;
12786 }
12787 _ACEOF
12788 rm -f conftest.$ac_objext conftest$ac_exeext
12789 if { (ac_try="$ac_link"
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_link") 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); } && {
12802          test -z "$ac_c_werror_flag" ||
12803          test ! -s conftest.err
12804        } && test -s conftest$ac_exeext &&
12805        $as_test_x conftest$ac_exeext; then
12806   eval "$as_ac_var=yes"
12807 else
12808   echo "$as_me: failed program was:" >&5
12809 sed 's/^/| /' conftest.$ac_ext >&5
12810
12811         eval "$as_ac_var=no"
12812 fi
12813
12814 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12815       conftest$ac_exeext conftest.$ac_ext
12816 fi
12817 ac_res=`eval echo '${'$as_ac_var'}'`
12818                { echo "$as_me:$LINENO: result: $ac_res" >&5
12819 echo "${ECHO_T}$ac_res" >&6; }
12820 if test `eval echo '${'$as_ac_var'}'` = yes; then
12821   cat >>confdefs.h <<_ACEOF
12822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12823 _ACEOF
12824
12825 fi
12826 done
12827
12828 LIBS="$ac_save_LIBS"
12829 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then
12830   case "x$with_curses" in
12831   x)   wine_notices="$wine_notices|lib(n)curses development files not found, curses won't be supported." ;;
12832   xno) ;;
12833   *)   { { echo "$as_me:$LINENO: error: lib(n)curses development files not found, curses won't be supported.
12834 This is an error since --with-curses was requested." >&5
12835 echo "$as_me: error: lib(n)curses development files not found, curses won't be supported.
12836 This is an error since --with-curses was requested." >&2;}
12837    { (exit 1); exit 1; }; } ;;
12838 esac
12839 fi
12840
12841
12842 # Extract the first word of "sane-config", so it can be a program name with args.
12843 set dummy sane-config; ac_word=$2
12844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12846 if test "${ac_cv_prog_sane_devel+set}" = set; then
12847   echo $ECHO_N "(cached) $ECHO_C" >&6
12848 else
12849   if test -n "$sane_devel"; then
12850   ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
12851 else
12852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12853 for as_dir in $PATH
12854 do
12855   IFS=$as_save_IFS
12856   test -z "$as_dir" && as_dir=.
12857   for ac_exec_ext in '' $ac_executable_extensions; do
12858   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12859     ac_cv_prog_sane_devel="sane-config"
12860     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12861     break 2
12862   fi
12863 done
12864 done
12865 IFS=$as_save_IFS
12866
12867   test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
12868 fi
12869 fi
12870 sane_devel=$ac_cv_prog_sane_devel
12871 if test -n "$sane_devel"; then
12872   { echo "$as_me:$LINENO: result: $sane_devel" >&5
12873 echo "${ECHO_T}$sane_devel" >&6; }
12874 else
12875   { echo "$as_me:$LINENO: result: no" >&5
12876 echo "${ECHO_T}no" >&6; }
12877 fi
12878
12879
12880 if test "$sane_devel" != "no" -a "x$with_sane" != "xno"
12881 then
12882     ac_sane_incl="`$sane_devel --cflags`"
12883     ac_save_CPPFLAGS="$CPPFLAGS"
12884     CPPFLAGS="$CPPFLAGS $ac_sane_incl"
12885     if test "${ac_cv_header_sane_sane_h+set}" = set; then
12886   { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
12887 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
12888 if test "${ac_cv_header_sane_sane_h+set}" = set; then
12889   echo $ECHO_N "(cached) $ECHO_C" >&6
12890 fi
12891 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
12892 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
12893 else
12894   # Is the header compilable?
12895 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
12896 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
12897 cat >conftest.$ac_ext <<_ACEOF
12898 /* confdefs.h.  */
12899 _ACEOF
12900 cat confdefs.h >>conftest.$ac_ext
12901 cat >>conftest.$ac_ext <<_ACEOF
12902 /* end confdefs.h.  */
12903 $ac_includes_default
12904 #include <sane/sane.h>
12905 _ACEOF
12906 rm -f conftest.$ac_objext
12907 if { (ac_try="$ac_compile"
12908 case "(($ac_try" in
12909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12910   *) ac_try_echo=$ac_try;;
12911 esac
12912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12913   (eval "$ac_compile") 2>conftest.er1
12914   ac_status=$?
12915   grep -v '^ *+' conftest.er1 >conftest.err
12916   rm -f conftest.er1
12917   cat conftest.err >&5
12918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919   (exit $ac_status); } && {
12920          test -z "$ac_c_werror_flag" ||
12921          test ! -s conftest.err
12922        } && test -s conftest.$ac_objext; then
12923   ac_header_compiler=yes
12924 else
12925   echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.$ac_ext >&5
12927
12928         ac_header_compiler=no
12929 fi
12930
12931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12932 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12933 echo "${ECHO_T}$ac_header_compiler" >&6; }
12934
12935 # Is the header present?
12936 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
12937 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
12938 cat >conftest.$ac_ext <<_ACEOF
12939 /* confdefs.h.  */
12940 _ACEOF
12941 cat confdefs.h >>conftest.$ac_ext
12942 cat >>conftest.$ac_ext <<_ACEOF
12943 /* end confdefs.h.  */
12944 #include <sane/sane.h>
12945 _ACEOF
12946 if { (ac_try="$ac_cpp conftest.$ac_ext"
12947 case "(($ac_try" in
12948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12949   *) ac_try_echo=$ac_try;;
12950 esac
12951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12952   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12953   ac_status=$?
12954   grep -v '^ *+' conftest.er1 >conftest.err
12955   rm -f conftest.er1
12956   cat conftest.err >&5
12957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12958   (exit $ac_status); } >/dev/null && {
12959          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12960          test ! -s conftest.err
12961        }; then
12962   ac_header_preproc=yes
12963 else
12964   echo "$as_me: failed program was:" >&5
12965 sed 's/^/| /' conftest.$ac_ext >&5
12966
12967   ac_header_preproc=no
12968 fi
12969
12970 rm -f conftest.err conftest.$ac_ext
12971 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12972 echo "${ECHO_T}$ac_header_preproc" >&6; }
12973
12974 # So?  What about this header?
12975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12976   yes:no: )
12977     { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
12978 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12979     { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
12980 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
12981     ac_header_preproc=yes
12982     ;;
12983   no:yes:* )
12984     { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
12985 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
12986     { echo "$as_me:$LINENO: WARNING: sane/sane.h:     check for missing prerequisite headers?" >&5
12987 echo "$as_me: WARNING: sane/sane.h:     check for missing prerequisite headers?" >&2;}
12988     { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
12989 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
12990     { echo "$as_me:$LINENO: WARNING: sane/sane.h:     section \"Present But Cannot Be Compiled\"" >&5
12991 echo "$as_me: WARNING: sane/sane.h:     section \"Present But Cannot Be Compiled\"" >&2;}
12992     { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
12993 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
12994     { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
12995 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
12996     ( cat <<\_ASBOX
12997 ## ------------------------------------ ##
12998 ## Report this to wine-devel@winehq.org ##
12999 ## ------------------------------------ ##
13000 _ASBOX
13001      ) | sed "s/^/$as_me: WARNING:     /" >&2
13002     ;;
13003 esac
13004 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
13005 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
13006 if test "${ac_cv_header_sane_sane_h+set}" = set; then
13007   echo $ECHO_N "(cached) $ECHO_C" >&6
13008 else
13009   ac_cv_header_sane_sane_h=$ac_header_preproc
13010 fi
13011 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
13012 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
13013
13014 fi
13015 if test $ac_cv_header_sane_sane_h = yes; then
13016   { echo "$as_me:$LINENO: checking for -lsane" >&5
13017 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
13018 if test "${ac_cv_lib_soname_sane+set}" = set; then
13019   echo $ECHO_N "(cached) $ECHO_C" >&6
13020 else
13021   ac_check_soname_save_LIBS=$LIBS
13022 LIBS="-lsane  $LIBS"
13023   cat >conftest.$ac_ext <<_ACEOF
13024 /* confdefs.h.  */
13025 _ACEOF
13026 cat confdefs.h >>conftest.$ac_ext
13027 cat >>conftest.$ac_ext <<_ACEOF
13028 /* end confdefs.h.  */
13029
13030 /* Override any GCC internal prototype to avoid an error.
13031    Use char because int might match the return type of a GCC
13032    builtin and then its argument prototype would still apply.  */
13033 #ifdef __cplusplus
13034 extern "C"
13035 #endif
13036 char sane_init ();
13037 int
13038 main ()
13039 {
13040 return sane_init ();
13041   ;
13042   return 0;
13043 }
13044 _ACEOF
13045 rm -f conftest.$ac_objext conftest$ac_exeext
13046 if { (ac_try="$ac_link"
13047 case "(($ac_try" in
13048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13049   *) ac_try_echo=$ac_try;;
13050 esac
13051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13052   (eval "$ac_link") 2>conftest.er1
13053   ac_status=$?
13054   grep -v '^ *+' conftest.er1 >conftest.err
13055   rm -f conftest.er1
13056   cat conftest.err >&5
13057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13058   (exit $ac_status); } && {
13059          test -z "$ac_c_werror_flag" ||
13060          test ! -s conftest.err
13061        } && test -s conftest$ac_exeext &&
13062        $as_test_x conftest$ac_exeext; then
13063   case "$LIBEXT" in
13064     dll) ;;
13065     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'` ;;
13066     *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
13067   esac
13068 else
13069   echo "$as_me: failed program was:" >&5
13070 sed 's/^/| /' conftest.$ac_ext >&5
13071
13072
13073 fi
13074
13075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13076       conftest$ac_exeext conftest.$ac_ext
13077   LIBS=$ac_check_soname_save_LIBS
13078 fi
13079 if test "x$ac_cv_lib_soname_sane" = "x"; then
13080   { echo "$as_me:$LINENO: result: not found" >&5
13081 echo "${ECHO_T}not found" >&6; }
13082
13083 else
13084   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
13085 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
13086
13087 cat >>confdefs.h <<_ACEOF
13088 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13089 _ACEOF
13090
13091        SANEINCL="$ac_sane_incl"
13092
13093 fi
13094
13095 fi
13096
13097
13098     CPPFLAGS="$ac_save_CPPFLAGS"
13099 fi
13100 if test "x$ac_cv_lib_soname_sane" = "x"; then
13101   case "x$with_sane" in
13102   x)   wine_notices="$wine_notices|libsane development files not found, scanners won't be supported." ;;
13103   xno) ;;
13104   *)   { { echo "$as_me:$LINENO: error: libsane development files not found, scanners won't be supported.
13105 This is an error since --with-sane was requested." >&5
13106 echo "$as_me: error: libsane development files not found, scanners won't be supported.
13107 This is an error since --with-sane was requested." >&2;}
13108    { (exit 1); exit 1; }; } ;;
13109 esac
13110 fi
13111
13112
13113 # Extract the first word of "gphoto2-config", so it can be a program name with args.
13114 set dummy gphoto2-config; ac_word=$2
13115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13117 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
13118   echo $ECHO_N "(cached) $ECHO_C" >&6
13119 else
13120   if test -n "$gphoto2_devel"; then
13121   ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
13122 else
13123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13124 for as_dir in $PATH
13125 do
13126   IFS=$as_save_IFS
13127   test -z "$as_dir" && as_dir=.
13128   for ac_exec_ext in '' $ac_executable_extensions; do
13129   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13130     ac_cv_prog_gphoto2_devel="gphoto2-config"
13131     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13132     break 2
13133   fi
13134 done
13135 done
13136 IFS=$as_save_IFS
13137
13138   test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
13139 fi
13140 fi
13141 gphoto2_devel=$ac_cv_prog_gphoto2_devel
13142 if test -n "$gphoto2_devel"; then
13143   { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
13144 echo "${ECHO_T}$gphoto2_devel" >&6; }
13145 else
13146   { echo "$as_me:$LINENO: result: no" >&5
13147 echo "${ECHO_T}no" >&6; }
13148 fi
13149
13150
13151 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
13152 set dummy gphoto2-port-config; ac_word=$2
13153 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13155 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
13156   echo $ECHO_N "(cached) $ECHO_C" >&6
13157 else
13158   if test -n "$gphoto2port_devel"; then
13159   ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
13160 else
13161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13162 for as_dir in $PATH
13163 do
13164   IFS=$as_save_IFS
13165   test -z "$as_dir" && as_dir=.
13166   for ac_exec_ext in '' $ac_executable_extensions; do
13167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13168     ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
13169     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13170     break 2
13171   fi
13172 done
13173 done
13174 IFS=$as_save_IFS
13175
13176   test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
13177 fi
13178 fi
13179 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
13180 if test -n "$gphoto2port_devel"; then
13181   { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
13182 echo "${ECHO_T}$gphoto2port_devel" >&6; }
13183 else
13184   { echo "$as_me:$LINENO: result: no" >&5
13185 echo "${ECHO_T}no" >&6; }
13186 fi
13187
13188
13189 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no" -a "x$with_gphoto" != "xno"
13190 then
13191     ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
13192     ac_gphoto2_libs=""
13193     for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
13194     do
13195       case "$i" in
13196         -L/usr/lib|-L/usr/lib64) ;;
13197         -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
13198       esac
13199     done
13200     ac_save_CPPFLAGS="$CPPFLAGS"
13201     CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
13202     if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13203   { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13204 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13205 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13206   echo $ECHO_N "(cached) $ECHO_C" >&6
13207 fi
13208 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13209 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13210 else
13211   # Is the header compilable?
13212 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
13213 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
13214 cat >conftest.$ac_ext <<_ACEOF
13215 /* confdefs.h.  */
13216 _ACEOF
13217 cat confdefs.h >>conftest.$ac_ext
13218 cat >>conftest.$ac_ext <<_ACEOF
13219 /* end confdefs.h.  */
13220 $ac_includes_default
13221 #include <gphoto2-camera.h>
13222 _ACEOF
13223 rm -f conftest.$ac_objext
13224 if { (ac_try="$ac_compile"
13225 case "(($ac_try" in
13226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13227   *) ac_try_echo=$ac_try;;
13228 esac
13229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13230   (eval "$ac_compile") 2>conftest.er1
13231   ac_status=$?
13232   grep -v '^ *+' conftest.er1 >conftest.err
13233   rm -f conftest.er1
13234   cat conftest.err >&5
13235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236   (exit $ac_status); } && {
13237          test -z "$ac_c_werror_flag" ||
13238          test ! -s conftest.err
13239        } && test -s conftest.$ac_objext; then
13240   ac_header_compiler=yes
13241 else
13242   echo "$as_me: failed program was:" >&5
13243 sed 's/^/| /' conftest.$ac_ext >&5
13244
13245         ac_header_compiler=no
13246 fi
13247
13248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13249 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13250 echo "${ECHO_T}$ac_header_compiler" >&6; }
13251
13252 # Is the header present?
13253 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
13254 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
13255 cat >conftest.$ac_ext <<_ACEOF
13256 /* confdefs.h.  */
13257 _ACEOF
13258 cat confdefs.h >>conftest.$ac_ext
13259 cat >>conftest.$ac_ext <<_ACEOF
13260 /* end confdefs.h.  */
13261 #include <gphoto2-camera.h>
13262 _ACEOF
13263 if { (ac_try="$ac_cpp conftest.$ac_ext"
13264 case "(($ac_try" in
13265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13266   *) ac_try_echo=$ac_try;;
13267 esac
13268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13269   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13270   ac_status=$?
13271   grep -v '^ *+' conftest.er1 >conftest.err
13272   rm -f conftest.er1
13273   cat conftest.err >&5
13274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275   (exit $ac_status); } >/dev/null && {
13276          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13277          test ! -s conftest.err
13278        }; then
13279   ac_header_preproc=yes
13280 else
13281   echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13283
13284   ac_header_preproc=no
13285 fi
13286
13287 rm -f conftest.err conftest.$ac_ext
13288 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13289 echo "${ECHO_T}$ac_header_preproc" >&6; }
13290
13291 # So?  What about this header?
13292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13293   yes:no: )
13294     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
13295 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
13296     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
13297 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
13298     ac_header_preproc=yes
13299     ;;
13300   no:yes:* )
13301     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
13302 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
13303     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h:     check for missing prerequisite headers?" >&5
13304 echo "$as_me: WARNING: gphoto2-camera.h:     check for missing prerequisite headers?" >&2;}
13305     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
13306 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
13307     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h:     section \"Present But Cannot Be Compiled\"" >&5
13308 echo "$as_me: WARNING: gphoto2-camera.h:     section \"Present But Cannot Be Compiled\"" >&2;}
13309     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
13310 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
13311     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
13312 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
13313     ( cat <<\_ASBOX
13314 ## ------------------------------------ ##
13315 ## Report this to wine-devel@winehq.org ##
13316 ## ------------------------------------ ##
13317 _ASBOX
13318      ) | sed "s/^/$as_me: WARNING:     /" >&2
13319     ;;
13320 esac
13321 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
13322 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
13323 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
13324   echo $ECHO_N "(cached) $ECHO_C" >&6
13325 else
13326   ac_cv_header_gphoto2_camera_h=$ac_header_preproc
13327 fi
13328 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
13329 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
13330
13331 fi
13332 if test $ac_cv_header_gphoto2_camera_h = yes; then
13333   { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
13334 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
13335 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
13336   echo $ECHO_N "(cached) $ECHO_C" >&6
13337 else
13338   ac_check_lib_save_LIBS=$LIBS
13339 LIBS="-lgphoto2 $GPHOTO2LIBS $LIBS"
13340 cat >conftest.$ac_ext <<_ACEOF
13341 /* confdefs.h.  */
13342 _ACEOF
13343 cat confdefs.h >>conftest.$ac_ext
13344 cat >>conftest.$ac_ext <<_ACEOF
13345 /* end confdefs.h.  */
13346
13347 /* Override any GCC internal prototype to avoid an error.
13348    Use char because int might match the return type of a GCC
13349    builtin and then its argument prototype would still apply.  */
13350 #ifdef __cplusplus
13351 extern "C"
13352 #endif
13353 char gp_camera_new ();
13354 int
13355 main ()
13356 {
13357 return gp_camera_new ();
13358   ;
13359   return 0;
13360 }
13361 _ACEOF
13362 rm -f conftest.$ac_objext conftest$ac_exeext
13363 if { (ac_try="$ac_link"
13364 case "(($ac_try" in
13365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13366   *) ac_try_echo=$ac_try;;
13367 esac
13368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13369   (eval "$ac_link") 2>conftest.er1
13370   ac_status=$?
13371   grep -v '^ *+' conftest.er1 >conftest.err
13372   rm -f conftest.er1
13373   cat conftest.err >&5
13374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375   (exit $ac_status); } && {
13376          test -z "$ac_c_werror_flag" ||
13377          test ! -s conftest.err
13378        } && test -s conftest$ac_exeext &&
13379        $as_test_x conftest$ac_exeext; then
13380   ac_cv_lib_gphoto2_gp_camera_new=yes
13381 else
13382   echo "$as_me: failed program was:" >&5
13383 sed 's/^/| /' conftest.$ac_ext >&5
13384
13385         ac_cv_lib_gphoto2_gp_camera_new=no
13386 fi
13387
13388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13389       conftest$ac_exeext conftest.$ac_ext
13390 LIBS=$ac_check_lib_save_LIBS
13391 fi
13392 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13393 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13394 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
13395
13396 cat >>confdefs.h <<\_ACEOF
13397 #define HAVE_GPHOTO2 1
13398 _ACEOF
13399
13400                                    GPHOTO2LIBS="$ac_gphoto2_libs"
13401
13402                                    GPHOTO2INCL="$ac_gphoto2_incl"
13403
13404 fi
13405
13406 fi
13407
13408
13409     CPPFLAGS="$ac_save_CPPFLAGS"
13410 fi
13411 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then
13412   case "x$with_gphoto" in
13413   x)   wine_notices="$wine_notices|libgphoto2 development files not found, digital cameras won't be supported." ;;
13414   xno) ;;
13415   *)   { { echo "$as_me:$LINENO: error: libgphoto2 development files not found, digital cameras won't be supported.
13416 This is an error since --with-gphoto was requested." >&5
13417 echo "$as_me: error: libgphoto2 development files not found, digital cameras won't be supported.
13418 This is an error since --with-gphoto was requested." >&2;}
13419    { (exit 1); exit 1; }; } ;;
13420 esac
13421 fi
13422
13423
13424
13425 RESOLVLIBS=""
13426
13427 if test "$ac_cv_header_resolv_h" = "yes"
13428 then
13429     { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
13430 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
13431 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
13432   echo $ECHO_N "(cached) $ECHO_C" >&6
13433 else
13434   ac_check_lib_save_LIBS=$LIBS
13435 LIBS="-lresolv  $LIBS"
13436 cat >conftest.$ac_ext <<_ACEOF
13437 /* confdefs.h.  */
13438 _ACEOF
13439 cat confdefs.h >>conftest.$ac_ext
13440 cat >>conftest.$ac_ext <<_ACEOF
13441 /* end confdefs.h.  */
13442
13443 /* Override any GCC internal prototype to avoid an error.
13444    Use char because int might match the return type of a GCC
13445    builtin and then its argument prototype would still apply.  */
13446 #ifdef __cplusplus
13447 extern "C"
13448 #endif
13449 char res_query ();
13450 int
13451 main ()
13452 {
13453 return res_query ();
13454   ;
13455   return 0;
13456 }
13457 _ACEOF
13458 rm -f conftest.$ac_objext conftest$ac_exeext
13459 if { (ac_try="$ac_link"
13460 case "(($ac_try" in
13461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13462   *) ac_try_echo=$ac_try;;
13463 esac
13464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13465   (eval "$ac_link") 2>conftest.er1
13466   ac_status=$?
13467   grep -v '^ *+' conftest.er1 >conftest.err
13468   rm -f conftest.er1
13469   cat conftest.err >&5
13470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13471   (exit $ac_status); } && {
13472          test -z "$ac_c_werror_flag" ||
13473          test ! -s conftest.err
13474        } && test -s conftest$ac_exeext &&
13475        $as_test_x conftest$ac_exeext; then
13476   ac_cv_lib_resolv_res_query=yes
13477 else
13478   echo "$as_me: failed program was:" >&5
13479 sed 's/^/| /' conftest.$ac_ext >&5
13480
13481         ac_cv_lib_resolv_res_query=no
13482 fi
13483
13484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13485       conftest$ac_exeext conftest.$ac_ext
13486 LIBS=$ac_check_lib_save_LIBS
13487 fi
13488 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
13489 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
13490 if test $ac_cv_lib_resolv_res_query = yes; then
13491
13492 cat >>confdefs.h <<\_ACEOF
13493 #define HAVE_RESOLV 1
13494 _ACEOF
13495
13496          RESOLVLIBS="-lresolv"
13497 fi
13498
13499 fi
13500
13501 LCMSLIBS=""
13502
13503 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
13504 then
13505     { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
13506 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
13507 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
13508   echo $ECHO_N "(cached) $ECHO_C" >&6
13509 else
13510   ac_check_lib_save_LIBS=$LIBS
13511 LIBS="-llcms  $LIBS"
13512 cat >conftest.$ac_ext <<_ACEOF
13513 /* confdefs.h.  */
13514 _ACEOF
13515 cat confdefs.h >>conftest.$ac_ext
13516 cat >>conftest.$ac_ext <<_ACEOF
13517 /* end confdefs.h.  */
13518
13519 /* Override any GCC internal prototype to avoid an error.
13520    Use char because int might match the return type of a GCC
13521    builtin and then its argument prototype would still apply.  */
13522 #ifdef __cplusplus
13523 extern "C"
13524 #endif
13525 char cmsOpenProfileFromFile ();
13526 int
13527 main ()
13528 {
13529 return cmsOpenProfileFromFile ();
13530   ;
13531   return 0;
13532 }
13533 _ACEOF
13534 rm -f conftest.$ac_objext conftest$ac_exeext
13535 if { (ac_try="$ac_link"
13536 case "(($ac_try" in
13537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13538   *) ac_try_echo=$ac_try;;
13539 esac
13540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13541   (eval "$ac_link") 2>conftest.er1
13542   ac_status=$?
13543   grep -v '^ *+' conftest.er1 >conftest.err
13544   rm -f conftest.er1
13545   cat conftest.err >&5
13546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547   (exit $ac_status); } && {
13548          test -z "$ac_c_werror_flag" ||
13549          test ! -s conftest.err
13550        } && test -s conftest$ac_exeext &&
13551        $as_test_x conftest$ac_exeext; then
13552   ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
13553 else
13554   echo "$as_me: failed program was:" >&5
13555 sed 's/^/| /' conftest.$ac_ext >&5
13556
13557         ac_cv_lib_lcms_cmsOpenProfileFromFile=no
13558 fi
13559
13560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13561       conftest$ac_exeext conftest.$ac_ext
13562 LIBS=$ac_check_lib_save_LIBS
13563 fi
13564 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
13565 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
13566 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
13567
13568 cat >>confdefs.h <<\_ACEOF
13569 #define HAVE_LCMS 1
13570 _ACEOF
13571
13572          LCMSLIBS="-llcms"
13573 fi
13574
13575 fi
13576 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then
13577   case "x$with_cms" in
13578   x)   wine_notices="$wine_notices|liblcms development files not found, Color Management won't be supported." ;;
13579   xno) ;;
13580   *)   { { echo "$as_me:$LINENO: error: liblcms development files not found, Color Management won't be supported.
13581 This is an error since --with-cms was requested." >&5
13582 echo "$as_me: error: liblcms development files not found, Color Management won't be supported.
13583 This is an error since --with-cms was requested." >&2;}
13584    { (exit 1); exit 1; }; } ;;
13585 esac
13586 fi
13587
13588
13589 LDAPLIBS=""
13590
13591 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13592 then
13593     { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
13594 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
13595 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
13596   echo $ECHO_N "(cached) $ECHO_C" >&6
13597 else
13598   ac_check_lib_save_LIBS=$LIBS
13599 LIBS="-lldap_r $LIBPTHREAD $LIBS"
13600 cat >conftest.$ac_ext <<_ACEOF
13601 /* confdefs.h.  */
13602 _ACEOF
13603 cat confdefs.h >>conftest.$ac_ext
13604 cat >>conftest.$ac_ext <<_ACEOF
13605 /* end confdefs.h.  */
13606
13607 /* Override any GCC internal prototype to avoid an error.
13608    Use char because int might match the return type of a GCC
13609    builtin and then its argument prototype would still apply.  */
13610 #ifdef __cplusplus
13611 extern "C"
13612 #endif
13613 char ldap_initialize ();
13614 int
13615 main ()
13616 {
13617 return ldap_initialize ();
13618   ;
13619   return 0;
13620 }
13621 _ACEOF
13622 rm -f conftest.$ac_objext conftest$ac_exeext
13623 if { (ac_try="$ac_link"
13624 case "(($ac_try" in
13625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13626   *) ac_try_echo=$ac_try;;
13627 esac
13628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13629   (eval "$ac_link") 2>conftest.er1
13630   ac_status=$?
13631   grep -v '^ *+' conftest.er1 >conftest.err
13632   rm -f conftest.er1
13633   cat conftest.err >&5
13634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635   (exit $ac_status); } && {
13636          test -z "$ac_c_werror_flag" ||
13637          test ! -s conftest.err
13638        } && test -s conftest$ac_exeext &&
13639        $as_test_x conftest$ac_exeext; then
13640   ac_cv_lib_ldap_r_ldap_initialize=yes
13641 else
13642   echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13644
13645         ac_cv_lib_ldap_r_ldap_initialize=no
13646 fi
13647
13648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13649       conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_lib_save_LIBS
13651 fi
13652 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13653 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13654 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
13655   { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
13656 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
13657 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
13658   echo $ECHO_N "(cached) $ECHO_C" >&6
13659 else
13660   ac_check_lib_save_LIBS=$LIBS
13661 LIBS="-llber $LIBPTHREAD $LIBS"
13662 cat >conftest.$ac_ext <<_ACEOF
13663 /* confdefs.h.  */
13664 _ACEOF
13665 cat confdefs.h >>conftest.$ac_ext
13666 cat >>conftest.$ac_ext <<_ACEOF
13667 /* end confdefs.h.  */
13668
13669 /* Override any GCC internal prototype to avoid an error.
13670    Use char because int might match the return type of a GCC
13671    builtin and then its argument prototype would still apply.  */
13672 #ifdef __cplusplus
13673 extern "C"
13674 #endif
13675 char ber_init ();
13676 int
13677 main ()
13678 {
13679 return ber_init ();
13680   ;
13681   return 0;
13682 }
13683 _ACEOF
13684 rm -f conftest.$ac_objext conftest$ac_exeext
13685 if { (ac_try="$ac_link"
13686 case "(($ac_try" in
13687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13688   *) ac_try_echo=$ac_try;;
13689 esac
13690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13691   (eval "$ac_link") 2>conftest.er1
13692   ac_status=$?
13693   grep -v '^ *+' conftest.er1 >conftest.err
13694   rm -f conftest.er1
13695   cat conftest.err >&5
13696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13697   (exit $ac_status); } && {
13698          test -z "$ac_c_werror_flag" ||
13699          test ! -s conftest.err
13700        } && test -s conftest$ac_exeext &&
13701        $as_test_x conftest$ac_exeext; then
13702   ac_cv_lib_lber_ber_init=yes
13703 else
13704   echo "$as_me: failed program was:" >&5
13705 sed 's/^/| /' conftest.$ac_ext >&5
13706
13707         ac_cv_lib_lber_ber_init=no
13708 fi
13709
13710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13711       conftest$ac_exeext conftest.$ac_ext
13712 LIBS=$ac_check_lib_save_LIBS
13713 fi
13714 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
13715 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
13716 if test $ac_cv_lib_lber_ber_init = yes; then
13717
13718 cat >>confdefs.h <<\_ACEOF
13719 #define HAVE_LDAP 1
13720 _ACEOF
13721
13722              LDAPLIBS="-lldap_r -llber"
13723 fi
13724
13725 fi
13726
13727     ac_wine_check_funcs_save_LIBS="$LIBS"
13728 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
13729
13730
13731
13732
13733
13734
13735
13736
13737 for ac_func in \
13738         ldap_count_references \
13739         ldap_first_reference \
13740         ldap_next_reference \
13741         ldap_parse_reference \
13742         ldap_parse_sort_control \
13743         ldap_parse_sortresponse_control \
13744         ldap_parse_vlv_control \
13745         ldap_parse_vlvresponse_control
13746 do
13747 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13748 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13749 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13750 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13751   echo $ECHO_N "(cached) $ECHO_C" >&6
13752 else
13753   cat >conftest.$ac_ext <<_ACEOF
13754 /* confdefs.h.  */
13755 _ACEOF
13756 cat confdefs.h >>conftest.$ac_ext
13757 cat >>conftest.$ac_ext <<_ACEOF
13758 /* end confdefs.h.  */
13759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13761 #define $ac_func innocuous_$ac_func
13762
13763 /* System header to define __stub macros and hopefully few prototypes,
13764     which can conflict with char $ac_func (); below.
13765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13766     <limits.h> exists even on freestanding compilers.  */
13767
13768 #ifdef __STDC__
13769 # include <limits.h>
13770 #else
13771 # include <assert.h>
13772 #endif
13773
13774 #undef $ac_func
13775
13776 /* Override any GCC internal prototype to avoid an error.
13777    Use char because int might match the return type of a GCC
13778    builtin and then its argument prototype would still apply.  */
13779 #ifdef __cplusplus
13780 extern "C"
13781 #endif
13782 char $ac_func ();
13783 /* The GNU C library defines this for functions which it implements
13784     to always fail with ENOSYS.  Some functions are actually named
13785     something starting with __ and the normal name is an alias.  */
13786 #if defined __stub_$ac_func || defined __stub___$ac_func
13787 choke me
13788 #endif
13789
13790 int
13791 main ()
13792 {
13793 return $ac_func ();
13794   ;
13795   return 0;
13796 }
13797 _ACEOF
13798 rm -f conftest.$ac_objext conftest$ac_exeext
13799 if { (ac_try="$ac_link"
13800 case "(($ac_try" in
13801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13802   *) ac_try_echo=$ac_try;;
13803 esac
13804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13805   (eval "$ac_link") 2>conftest.er1
13806   ac_status=$?
13807   grep -v '^ *+' conftest.er1 >conftest.err
13808   rm -f conftest.er1
13809   cat conftest.err >&5
13810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13811   (exit $ac_status); } && {
13812          test -z "$ac_c_werror_flag" ||
13813          test ! -s conftest.err
13814        } && test -s conftest$ac_exeext &&
13815        $as_test_x conftest$ac_exeext; then
13816   eval "$as_ac_var=yes"
13817 else
13818   echo "$as_me: failed program was:" >&5
13819 sed 's/^/| /' conftest.$ac_ext >&5
13820
13821         eval "$as_ac_var=no"
13822 fi
13823
13824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13825       conftest$ac_exeext conftest.$ac_ext
13826 fi
13827 ac_res=`eval echo '${'$as_ac_var'}'`
13828                { echo "$as_me:$LINENO: result: $ac_res" >&5
13829 echo "${ECHO_T}$ac_res" >&6; }
13830 if test `eval echo '${'$as_ac_var'}'` = yes; then
13831   cat >>confdefs.h <<_ACEOF
13832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13833 _ACEOF
13834
13835 fi
13836 done
13837
13838 LIBS="$ac_wine_check_funcs_save_LIBS"
13839 fi
13840 if test "x$LDAPLIBS" = "x"; then
13841   case "x$with_ldap" in
13842   x)   wine_notices="$wine_notices|libldap (OpenLDAP) development files not found, LDAP won't be supported." ;;
13843   xno) ;;
13844   *)   { { echo "$as_me:$LINENO: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13845 This is an error since --with-ldap was requested." >&5
13846 echo "$as_me: error: libldap (OpenLDAP) development files not found, LDAP won't be supported.
13847 This is an error since --with-ldap was requested." >&2;}
13848    { (exit 1); exit 1; }; } ;;
13849 esac
13850 fi
13851
13852
13853 for ac_prog in freetype-config freetype2-config
13854 do
13855   # Extract the first word of "$ac_prog", so it can be a program name with args.
13856 set dummy $ac_prog; ac_word=$2
13857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13859 if test "${ac_cv_prog_ft_devel+set}" = set; then
13860   echo $ECHO_N "(cached) $ECHO_C" >&6
13861 else
13862   if test -n "$ft_devel"; then
13863   ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
13864 else
13865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13866 for as_dir in $PATH
13867 do
13868   IFS=$as_save_IFS
13869   test -z "$as_dir" && as_dir=.
13870   for ac_exec_ext in '' $ac_executable_extensions; do
13871   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13872     ac_cv_prog_ft_devel="$ac_prog"
13873     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13874     break 2
13875   fi
13876 done
13877 done
13878 IFS=$as_save_IFS
13879
13880 fi
13881 fi
13882 ft_devel=$ac_cv_prog_ft_devel
13883 if test -n "$ft_devel"; then
13884   { echo "$as_me:$LINENO: result: $ft_devel" >&5
13885 echo "${ECHO_T}$ft_devel" >&6; }
13886 else
13887   { echo "$as_me:$LINENO: result: no" >&5
13888 echo "${ECHO_T}no" >&6; }
13889 fi
13890
13891
13892   test -n "$ft_devel" && break
13893 done
13894 test -n "$ft_devel" || ft_devel="false"
13895
13896 if test "$ft_devel" != "false" -a "x$with_freetype" != "xno"
13897 then
13898     ac_freetype_libs=`$ft_devel --libs`
13899     ac_freetype_incl=`$ft_devel --cflags`
13900     { echo "$as_me:$LINENO: checking for -lfreetype" >&5
13901 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
13902 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13903   echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905   ac_check_soname_save_LIBS=$LIBS
13906 LIBS="-lfreetype $ac_freetype_libs $LIBS"
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
13914 /* Override any GCC internal prototype to avoid an error.
13915    Use char because int might match the return type of a GCC
13916    builtin and then its argument prototype would still apply.  */
13917 #ifdef __cplusplus
13918 extern "C"
13919 #endif
13920 char FT_Init_FreeType ();
13921 int
13922 main ()
13923 {
13924 return FT_Init_FreeType ();
13925   ;
13926   return 0;
13927 }
13928 _ACEOF
13929 rm -f conftest.$ac_objext conftest$ac_exeext
13930 if { (ac_try="$ac_link"
13931 case "(($ac_try" in
13932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13933   *) ac_try_echo=$ac_try;;
13934 esac
13935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13936   (eval "$ac_link") 2>conftest.er1
13937   ac_status=$?
13938   grep -v '^ *+' conftest.er1 >conftest.err
13939   rm -f conftest.er1
13940   cat conftest.err >&5
13941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13942   (exit $ac_status); } && {
13943          test -z "$ac_c_werror_flag" ||
13944          test ! -s conftest.err
13945        } && test -s conftest$ac_exeext &&
13946        $as_test_x conftest$ac_exeext; then
13947   case "$LIBEXT" in
13948     dll) ;;
13949     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'` ;;
13950     *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^      ]*\).*$/\1/"';2,$d'` ;;
13951   esac
13952 else
13953   echo "$as_me: failed program was:" >&5
13954 sed 's/^/| /' conftest.$ac_ext >&5
13955
13956
13957 fi
13958
13959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13960       conftest$ac_exeext conftest.$ac_ext
13961   LIBS=$ac_check_soname_save_LIBS
13962 fi
13963 if test "x$ac_cv_lib_soname_freetype" = "x"; then
13964   { echo "$as_me:$LINENO: result: not found" >&5
13965 echo "${ECHO_T}not found" >&6; }
13966        ft_lib=no
13967 else
13968   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13969 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
13970
13971 cat >>confdefs.h <<_ACEOF
13972 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13973 _ACEOF
13974
13975        ft_lib=yes
13976 fi
13977
13978     if test "$ft_lib" = "yes"
13979     then
13980         ac_save_CPPFLAGS="$CPPFLAGS"
13981         CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994 for ac_header in ft2build.h \
13995                          freetype/freetype.h \
13996                          freetype/ftglyph.h \
13997                          freetype/fttypes.h \
13998                          freetype/tttables.h \
13999                          freetype/ftnames.h \
14000                          freetype/ftsnames.h \
14001                          freetype/ttnameid.h \
14002                          freetype/ftoutln.h \
14003                          freetype/ftwinfnt.h \
14004                          freetype/ftmodapi.h \
14005                          freetype/internal/sfnt.h
14006 do
14007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14008 { echo "$as_me:$LINENO: checking for $ac_header" >&5
14009 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
14010 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14011   echo $ECHO_N "(cached) $ECHO_C" >&6
14012 else
14013   cat >conftest.$ac_ext <<_ACEOF
14014 /* confdefs.h.  */
14015 _ACEOF
14016 cat confdefs.h >>conftest.$ac_ext
14017 cat >>conftest.$ac_ext <<_ACEOF
14018 /* end confdefs.h.  */
14019 #ifdef HAVE_FT2BUILD_H
14020                           # include <ft2build.h>
14021                           #endif
14022
14023 #include <$ac_header>
14024 _ACEOF
14025 rm -f conftest.$ac_objext
14026 if { (ac_try="$ac_compile"
14027 case "(($ac_try" in
14028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14029   *) ac_try_echo=$ac_try;;
14030 esac
14031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14032   (eval "$ac_compile") 2>conftest.er1
14033   ac_status=$?
14034   grep -v '^ *+' conftest.er1 >conftest.err
14035   rm -f conftest.er1
14036   cat conftest.err >&5
14037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038   (exit $ac_status); } && {
14039          test -z "$ac_c_werror_flag" ||
14040          test ! -s conftest.err
14041        } && test -s conftest.$ac_objext; then
14042   eval "$as_ac_Header=yes"
14043 else
14044   echo "$as_me: failed program was:" >&5
14045 sed 's/^/| /' conftest.$ac_ext >&5
14046
14047         eval "$as_ac_Header=no"
14048 fi
14049
14050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14051 fi
14052 ac_res=`eval echo '${'$as_ac_Header'}'`
14053                { echo "$as_me:$LINENO: result: $ac_res" >&5
14054 echo "${ECHO_T}$ac_res" >&6; }
14055 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14056   cat >>confdefs.h <<_ACEOF
14057 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14058 _ACEOF
14059
14060 fi
14061
14062 done
14063
14064         cat >conftest.$ac_ext <<_ACEOF
14065 /* confdefs.h.  */
14066 _ACEOF
14067 cat confdefs.h >>conftest.$ac_ext
14068 cat >>conftest.$ac_ext <<_ACEOF
14069 /* end confdefs.h.  */
14070 #include <ft2build.h>
14071                     #include <freetype/fttrigon.h>
14072 _ACEOF
14073 if { (ac_try="$ac_cpp conftest.$ac_ext"
14074 case "(($ac_try" in
14075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14076   *) ac_try_echo=$ac_try;;
14077 esac
14078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14079   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14080   ac_status=$?
14081   grep -v '^ *+' conftest.er1 >conftest.err
14082   rm -f conftest.er1
14083   cat conftest.err >&5
14084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085   (exit $ac_status); } >/dev/null && {
14086          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14087          test ! -s conftest.err
14088        }; then
14089
14090 cat >>confdefs.h <<\_ACEOF
14091 #define HAVE_FREETYPE_FTTRIGON_H 1
14092 _ACEOF
14093
14094                     wine_cv_fttrigon=yes
14095 else
14096   echo "$as_me: failed program was:" >&5
14097 sed 's/^/| /' conftest.$ac_ext >&5
14098
14099   wine_cv_fttrigon=no
14100 fi
14101
14102 rm -f conftest.err conftest.$ac_ext
14103         { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
14104 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
14105 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
14106   echo $ECHO_N "(cached) $ECHO_C" >&6
14107 else
14108   cat >conftest.$ac_ext <<_ACEOF
14109 /* confdefs.h.  */
14110 _ACEOF
14111 cat confdefs.h >>conftest.$ac_ext
14112 cat >>conftest.$ac_ext <<_ACEOF
14113 /* end confdefs.h.  */
14114 #include <freetype/ftmodapi.h>
14115
14116 typedef FT_TrueTypeEngineType ac__type_new_;
14117 int
14118 main ()
14119 {
14120 if ((ac__type_new_ *) 0)
14121   return 0;
14122 if (sizeof (ac__type_new_))
14123   return 0;
14124   ;
14125   return 0;
14126 }
14127 _ACEOF
14128 rm -f conftest.$ac_objext
14129 if { (ac_try="$ac_compile"
14130 case "(($ac_try" in
14131   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14132   *) ac_try_echo=$ac_try;;
14133 esac
14134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14135   (eval "$ac_compile") 2>conftest.er1
14136   ac_status=$?
14137   grep -v '^ *+' conftest.er1 >conftest.err
14138   rm -f conftest.er1
14139   cat conftest.err >&5
14140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14141   (exit $ac_status); } && {
14142          test -z "$ac_c_werror_flag" ||
14143          test ! -s conftest.err
14144        } && test -s conftest.$ac_objext; then
14145   ac_cv_type_FT_TrueTypeEngineType=yes
14146 else
14147   echo "$as_me: failed program was:" >&5
14148 sed 's/^/| /' conftest.$ac_ext >&5
14149
14150         ac_cv_type_FT_TrueTypeEngineType=no
14151 fi
14152
14153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14154 fi
14155 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
14156 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
14157 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
14158
14159 cat >>confdefs.h <<_ACEOF
14160 #define HAVE_FT_TRUETYPEENGINETYPE 1
14161 _ACEOF
14162
14163
14164 fi
14165
14166         ac_save_CFLAGS="$CFLAGS"
14167         CFLAGS="$CFLAGS $ac_freetype_libs"
14168
14169 for ac_func in FT_Load_Sfnt_Table
14170 do
14171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14172 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14174 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14175   echo $ECHO_N "(cached) $ECHO_C" >&6
14176 else
14177   cat >conftest.$ac_ext <<_ACEOF
14178 /* confdefs.h.  */
14179 _ACEOF
14180 cat confdefs.h >>conftest.$ac_ext
14181 cat >>conftest.$ac_ext <<_ACEOF
14182 /* end confdefs.h.  */
14183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14185 #define $ac_func innocuous_$ac_func
14186
14187 /* System header to define __stub macros and hopefully few prototypes,
14188     which can conflict with char $ac_func (); below.
14189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14190     <limits.h> exists even on freestanding compilers.  */
14191
14192 #ifdef __STDC__
14193 # include <limits.h>
14194 #else
14195 # include <assert.h>
14196 #endif
14197
14198 #undef $ac_func
14199
14200 /* Override any GCC internal prototype to avoid an error.
14201    Use char because int might match the return type of a GCC
14202    builtin and then its argument prototype would still apply.  */
14203 #ifdef __cplusplus
14204 extern "C"
14205 #endif
14206 char $ac_func ();
14207 /* The GNU C library defines this for functions which it implements
14208     to always fail with ENOSYS.  Some functions are actually named
14209     something starting with __ and the normal name is an alias.  */
14210 #if defined __stub_$ac_func || defined __stub___$ac_func
14211 choke me
14212 #endif
14213
14214 int
14215 main ()
14216 {
14217 return $ac_func ();
14218   ;
14219   return 0;
14220 }
14221 _ACEOF
14222 rm -f conftest.$ac_objext conftest$ac_exeext
14223 if { (ac_try="$ac_link"
14224 case "(($ac_try" in
14225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14226   *) ac_try_echo=$ac_try;;
14227 esac
14228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14229   (eval "$ac_link") 2>conftest.er1
14230   ac_status=$?
14231   grep -v '^ *+' conftest.er1 >conftest.err
14232   rm -f conftest.er1
14233   cat conftest.err >&5
14234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14235   (exit $ac_status); } && {
14236          test -z "$ac_c_werror_flag" ||
14237          test ! -s conftest.err
14238        } && test -s conftest$ac_exeext &&
14239        $as_test_x conftest$ac_exeext; then
14240   eval "$as_ac_var=yes"
14241 else
14242   echo "$as_me: failed program was:" >&5
14243 sed 's/^/| /' conftest.$ac_ext >&5
14244
14245         eval "$as_ac_var=no"
14246 fi
14247
14248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14249       conftest$ac_exeext conftest.$ac_ext
14250 fi
14251 ac_res=`eval echo '${'$as_ac_var'}'`
14252                { echo "$as_me:$LINENO: result: $ac_res" >&5
14253 echo "${ECHO_T}$ac_res" >&6; }
14254 if test `eval echo '${'$as_ac_var'}'` = yes; then
14255   cat >>confdefs.h <<_ACEOF
14256 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14257 _ACEOF
14258
14259 fi
14260 done
14261
14262         CFLAGS="$ac_save_CFLAGS"
14263         CPPFLAGS="$ac_save_CPPFLAGS"
14264                 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
14265         then
14266
14267 cat >>confdefs.h <<\_ACEOF
14268 #define HAVE_FREETYPE 1
14269 _ACEOF
14270
14271             FREETYPELIBS="$ac_freetype_libs"
14272
14273             FREETYPEINCL="$ac_freetype_incl"
14274
14275             FONTSSUBDIRS="fonts"
14276
14277         fi
14278     fi
14279 fi
14280 if test "x$FREETYPELIBS" = "x"; then
14281   case "x$with_freetype" in
14282   xno) ;;
14283   *)   { { echo "$as_me:$LINENO: error: FreeType development files not found.
14284 Fonts will not be built. Dialog text may be invisible or unaligned.
14285 Use the --without-freetype option if you really want this." >&5
14286 echo "$as_me: error: FreeType development files not found.
14287 Fonts will not be built. Dialog text may be invisible or unaligned.
14288 Use the --without-freetype option if you really want this." >&2;}
14289    { (exit 1); exit 1; }; } ;;
14290 esac
14291 fi
14292
14293
14294 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
14295 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
14296 if test "${ac_cv_c_ppdev+set}" = set; then
14297   echo $ECHO_N "(cached) $ECHO_C" >&6
14298 else
14299   cat >conftest.$ac_ext <<_ACEOF
14300 /* confdefs.h.  */
14301 _ACEOF
14302 cat confdefs.h >>conftest.$ac_ext
14303 cat >>conftest.$ac_ext <<_ACEOF
14304 /* end confdefs.h.  */
14305 #include <linux/ppdev.h>
14306 int
14307 main ()
14308 {
14309 ioctl (1,PPCLAIM,0)
14310   ;
14311   return 0;
14312 }
14313 _ACEOF
14314 rm -f conftest.$ac_objext
14315 if { (ac_try="$ac_compile"
14316 case "(($ac_try" in
14317   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14318   *) ac_try_echo=$ac_try;;
14319 esac
14320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14321   (eval "$ac_compile") 2>conftest.er1
14322   ac_status=$?
14323   grep -v '^ *+' conftest.er1 >conftest.err
14324   rm -f conftest.er1
14325   cat conftest.err >&5
14326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14327   (exit $ac_status); } && {
14328          test -z "$ac_c_werror_flag" ||
14329          test ! -s conftest.err
14330        } && test -s conftest.$ac_objext; then
14331   ac_cv_c_ppdev="yes"
14332 else
14333   echo "$as_me: failed program was:" >&5
14334 sed 's/^/| /' conftest.$ac_ext >&5
14335
14336         ac_cv_c_ppdev="no"
14337 fi
14338
14339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14340 fi
14341 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
14342 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
14343 if test "$ac_cv_c_ppdev" = "yes"
14344 then
14345
14346 cat >>confdefs.h <<\_ACEOF
14347 #define HAVE_PPDEV 1
14348 _ACEOF
14349
14350 fi
14351
14352 { echo "$as_me:$LINENO: checking for va_copy" >&5
14353 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
14354 if test "${ac_cv_c_va_copy+set}" = set; then
14355   echo $ECHO_N "(cached) $ECHO_C" >&6
14356 else
14357   cat >conftest.$ac_ext <<_ACEOF
14358 /* confdefs.h.  */
14359 _ACEOF
14360 cat confdefs.h >>conftest.$ac_ext
14361 cat >>conftest.$ac_ext <<_ACEOF
14362 /* end confdefs.h.  */
14363 #include <stdarg.h>
14364 int
14365 main ()
14366 {
14367 va_list ap1, ap2; va_copy(ap1,ap2);
14368   ;
14369   return 0;
14370 }
14371 _ACEOF
14372 rm -f conftest.$ac_objext conftest$ac_exeext
14373 if { (ac_try="$ac_link"
14374 case "(($ac_try" in
14375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14376   *) ac_try_echo=$ac_try;;
14377 esac
14378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14379   (eval "$ac_link") 2>conftest.er1
14380   ac_status=$?
14381   grep -v '^ *+' conftest.er1 >conftest.err
14382   rm -f conftest.er1
14383   cat conftest.err >&5
14384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14385   (exit $ac_status); } && {
14386          test -z "$ac_c_werror_flag" ||
14387          test ! -s conftest.err
14388        } && test -s conftest$ac_exeext &&
14389        $as_test_x conftest$ac_exeext; then
14390   ac_cv_c_va_copy="yes"
14391 else
14392   echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.$ac_ext >&5
14394
14395         ac_cv_c_va_copy="no"
14396 fi
14397
14398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14399       conftest$ac_exeext conftest.$ac_ext
14400
14401 fi
14402 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
14403 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
14404 if test "$ac_cv_c_va_copy" = "yes"
14405 then
14406
14407 cat >>confdefs.h <<\_ACEOF
14408 #define HAVE_VA_COPY 1
14409 _ACEOF
14410
14411 fi
14412 { echo "$as_me:$LINENO: checking for __va_copy" >&5
14413 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
14414 if test "${ac_cv_c___va_copy+set}" = set; then
14415   echo $ECHO_N "(cached) $ECHO_C" >&6
14416 else
14417   cat >conftest.$ac_ext <<_ACEOF
14418 /* confdefs.h.  */
14419 _ACEOF
14420 cat confdefs.h >>conftest.$ac_ext
14421 cat >>conftest.$ac_ext <<_ACEOF
14422 /* end confdefs.h.  */
14423 #include <stdarg.h>
14424 int
14425 main ()
14426 {
14427 va_list ap1, ap2; __va_copy(ap1,ap2);
14428   ;
14429   return 0;
14430 }
14431 _ACEOF
14432 rm -f conftest.$ac_objext conftest$ac_exeext
14433 if { (ac_try="$ac_link"
14434 case "(($ac_try" in
14435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14436   *) ac_try_echo=$ac_try;;
14437 esac
14438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14439   (eval "$ac_link") 2>conftest.er1
14440   ac_status=$?
14441   grep -v '^ *+' conftest.er1 >conftest.err
14442   rm -f conftest.er1
14443   cat conftest.err >&5
14444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445   (exit $ac_status); } && {
14446          test -z "$ac_c_werror_flag" ||
14447          test ! -s conftest.err
14448        } && test -s conftest$ac_exeext &&
14449        $as_test_x conftest$ac_exeext; then
14450   ac_cv_c___va_copy="yes"
14451 else
14452   echo "$as_me: failed program was:" >&5
14453 sed 's/^/| /' conftest.$ac_ext >&5
14454
14455         ac_cv_c___va_copy="no"
14456 fi
14457
14458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14459       conftest$ac_exeext conftest.$ac_ext
14460
14461 fi
14462 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
14463 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
14464 if test "$ac_cv_c___va_copy" = "yes"
14465 then
14466
14467 cat >>confdefs.h <<\_ACEOF
14468 #define HAVE___VA_COPY 1
14469 _ACEOF
14470
14471 fi
14472
14473 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
14474 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
14475 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
14476   echo $ECHO_N "(cached) $ECHO_C" >&6
14477 else
14478   cat >conftest.$ac_ext <<_ACEOF
14479 /* confdefs.h.  */
14480 _ACEOF
14481 cat confdefs.h >>conftest.$ac_ext
14482 cat >>conftest.$ac_ext <<_ACEOF
14483 /* end confdefs.h.  */
14484 #define _GNU_SOURCE
14485 #include <pthread.h>
14486
14487 typedef pthread_rwlock_t ac__type_new_;
14488 int
14489 main ()
14490 {
14491 if ((ac__type_new_ *) 0)
14492   return 0;
14493 if (sizeof (ac__type_new_))
14494   return 0;
14495   ;
14496   return 0;
14497 }
14498 _ACEOF
14499 rm -f conftest.$ac_objext
14500 if { (ac_try="$ac_compile"
14501 case "(($ac_try" in
14502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14503   *) ac_try_echo=$ac_try;;
14504 esac
14505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14506   (eval "$ac_compile") 2>conftest.er1
14507   ac_status=$?
14508   grep -v '^ *+' conftest.er1 >conftest.err
14509   rm -f conftest.er1
14510   cat conftest.err >&5
14511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512   (exit $ac_status); } && {
14513          test -z "$ac_c_werror_flag" ||
14514          test ! -s conftest.err
14515        } && test -s conftest.$ac_objext; then
14516   ac_cv_type_pthread_rwlock_t=yes
14517 else
14518   echo "$as_me: failed program was:" >&5
14519 sed 's/^/| /' conftest.$ac_ext >&5
14520
14521         ac_cv_type_pthread_rwlock_t=no
14522 fi
14523
14524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14525 fi
14526 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
14527 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
14528 if test $ac_cv_type_pthread_rwlock_t = yes; then
14529
14530 cat >>confdefs.h <<_ACEOF
14531 #define HAVE_PTHREAD_RWLOCK_T 1
14532 _ACEOF
14533
14534
14535 fi
14536 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
14537 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
14538 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
14539   echo $ECHO_N "(cached) $ECHO_C" >&6
14540 else
14541   cat >conftest.$ac_ext <<_ACEOF
14542 /* confdefs.h.  */
14543 _ACEOF
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h.  */
14547 #define _GNU_SOURCE
14548 #include <pthread.h>
14549
14550 typedef pthread_rwlockattr_t ac__type_new_;
14551 int
14552 main ()
14553 {
14554 if ((ac__type_new_ *) 0)
14555   return 0;
14556 if (sizeof (ac__type_new_))
14557   return 0;
14558   ;
14559   return 0;
14560 }
14561 _ACEOF
14562 rm -f conftest.$ac_objext
14563 if { (ac_try="$ac_compile"
14564 case "(($ac_try" in
14565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14566   *) ac_try_echo=$ac_try;;
14567 esac
14568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14569   (eval "$ac_compile") 2>conftest.er1
14570   ac_status=$?
14571   grep -v '^ *+' conftest.er1 >conftest.err
14572   rm -f conftest.er1
14573   cat conftest.err >&5
14574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14575   (exit $ac_status); } && {
14576          test -z "$ac_c_werror_flag" ||
14577          test ! -s conftest.err
14578        } && test -s conftest.$ac_objext; then
14579   ac_cv_type_pthread_rwlockattr_t=yes
14580 else
14581   echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.$ac_ext >&5
14583
14584         ac_cv_type_pthread_rwlockattr_t=no
14585 fi
14586
14587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14588 fi
14589 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
14590 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
14591 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
14592
14593 cat >>confdefs.h <<_ACEOF
14594 #define HAVE_PTHREAD_RWLOCKATTR_T 1
14595 _ACEOF
14596
14597
14598 fi
14599
14600
14601 ac_wine_check_funcs_save_LIBS="$LIBS"
14602 LIBS="$LIBS $LIBPTHREAD"
14603
14604
14605
14606
14607 for ac_func in \
14608         pthread_attr_get_np \
14609         pthread_getattr_np \
14610         pthread_get_stackaddr_np \
14611         pthread_get_stacksize_np
14612 do
14613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14614 { echo "$as_me:$LINENO: checking for $ac_func" >&5
14615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
14616 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14617   echo $ECHO_N "(cached) $ECHO_C" >&6
14618 else
14619   cat >conftest.$ac_ext <<_ACEOF
14620 /* confdefs.h.  */
14621 _ACEOF
14622 cat confdefs.h >>conftest.$ac_ext
14623 cat >>conftest.$ac_ext <<_ACEOF
14624 /* end confdefs.h.  */
14625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14627 #define $ac_func innocuous_$ac_func
14628
14629 /* System header to define __stub macros and hopefully few prototypes,
14630     which can conflict with char $ac_func (); below.
14631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14632     <limits.h> exists even on freestanding compilers.  */
14633
14634 #ifdef __STDC__
14635 # include <limits.h>
14636 #else
14637 # include <assert.h>
14638 #endif
14639
14640 #undef $ac_func
14641
14642 /* Override any GCC internal prototype to avoid an error.
14643    Use char because int might match the return type of a GCC
14644    builtin and then its argument prototype would still apply.  */
14645 #ifdef __cplusplus
14646 extern "C"
14647 #endif
14648 char $ac_func ();
14649 /* The GNU C library defines this for functions which it implements
14650     to always fail with ENOSYS.  Some functions are actually named
14651     something starting with __ and the normal name is an alias.  */
14652 #if defined __stub_$ac_func || defined __stub___$ac_func
14653 choke me
14654 #endif
14655
14656 int
14657 main ()
14658 {
14659 return $ac_func ();
14660   ;
14661   return 0;
14662 }
14663 _ACEOF
14664 rm -f conftest.$ac_objext conftest$ac_exeext
14665 if { (ac_try="$ac_link"
14666 case "(($ac_try" in
14667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14668   *) ac_try_echo=$ac_try;;
14669 esac
14670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14671   (eval "$ac_link") 2>conftest.er1
14672   ac_status=$?
14673   grep -v '^ *+' conftest.er1 >conftest.err
14674   rm -f conftest.er1
14675   cat conftest.err >&5
14676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677   (exit $ac_status); } && {
14678          test -z "$ac_c_werror_flag" ||
14679          test ! -s conftest.err
14680        } && test -s conftest$ac_exeext &&
14681        $as_test_x conftest$ac_exeext; then
14682   eval "$as_ac_var=yes"
14683 else
14684   echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.$ac_ext >&5
14686
14687         eval "$as_ac_var=no"
14688 fi
14689
14690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14691       conftest$ac_exeext conftest.$ac_ext
14692 fi
14693 ac_res=`eval echo '${'$as_ac_var'}'`
14694                { echo "$as_me:$LINENO: result: $ac_res" >&5
14695 echo "${ECHO_T}$ac_res" >&6; }
14696 if test `eval echo '${'$as_ac_var'}'` = yes; then
14697   cat >>confdefs.h <<_ACEOF
14698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14699 _ACEOF
14700
14701 fi
14702 done
14703
14704 LIBS="$ac_wine_check_funcs_save_LIBS"
14705
14706 # Extract the first word of "esd-config", so it can be a program name with args.
14707 set dummy esd-config; ac_word=$2
14708 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14710 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
14711   echo $ECHO_N "(cached) $ECHO_C" >&6
14712 else
14713   case $ESDCONFIG in
14714   [\\/]* | ?:[\\/]*)
14715   ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
14716   ;;
14717   *)
14718   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14719 for as_dir in $PATH
14720 do
14721   IFS=$as_save_IFS
14722   test -z "$as_dir" && as_dir=.
14723   for ac_exec_ext in '' $ac_executable_extensions; do
14724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14725     ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
14726     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14727     break 2
14728   fi
14729 done
14730 done
14731 IFS=$as_save_IFS
14732
14733   ;;
14734 esac
14735 fi
14736 ESDCONFIG=$ac_cv_path_ESDCONFIG
14737 if test -n "$ESDCONFIG"; then
14738   { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
14739 echo "${ECHO_T}$ESDCONFIG" >&6; }
14740 else
14741   { echo "$as_me:$LINENO: result: no" >&5
14742 echo "${ECHO_T}no" >&6; }
14743 fi
14744
14745
14746 if test "x$with_esd" != xno -a "x$ESDCONFIG" != x -a "x$ESDCONFIG" != x'"$ESDCONFIG"';
14747 then
14748     ESD_CFLAGS=""
14749     for i in `$ESDCONFIG --cflags`
14750     do
14751       case "$i" in
14752         -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
14753       esac
14754     done
14755     ESD_LIBS=`$ESDCONFIG --libs`
14756     save_CFLAGS="$CFLAGS"
14757     CFLAGS="$CFLAGS $ESD_CFLAGS"
14758     { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
14759 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
14760 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
14761   echo $ECHO_N "(cached) $ECHO_C" >&6
14762 else
14763   ac_check_lib_save_LIBS=$LIBS
14764 LIBS="-lesd  $LIBS"
14765 cat >conftest.$ac_ext <<_ACEOF
14766 /* confdefs.h.  */
14767 _ACEOF
14768 cat confdefs.h >>conftest.$ac_ext
14769 cat >>conftest.$ac_ext <<_ACEOF
14770 /* end confdefs.h.  */
14771
14772 /* Override any GCC internal prototype to avoid an error.
14773    Use char because int might match the return type of a GCC
14774    builtin and then its argument prototype would still apply.  */
14775 #ifdef __cplusplus
14776 extern "C"
14777 #endif
14778 char esd_open_sound ();
14779 int
14780 main ()
14781 {
14782 return esd_open_sound ();
14783   ;
14784   return 0;
14785 }
14786 _ACEOF
14787 rm -f conftest.$ac_objext conftest$ac_exeext
14788 if { (ac_try="$ac_link"
14789 case "(($ac_try" in
14790   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14791   *) ac_try_echo=$ac_try;;
14792 esac
14793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14794   (eval "$ac_link") 2>conftest.er1
14795   ac_status=$?
14796   grep -v '^ *+' conftest.er1 >conftest.err
14797   rm -f conftest.er1
14798   cat conftest.err >&5
14799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800   (exit $ac_status); } && {
14801          test -z "$ac_c_werror_flag" ||
14802          test ! -s conftest.err
14803        } && test -s conftest$ac_exeext &&
14804        $as_test_x conftest$ac_exeext; then
14805   ac_cv_lib_esd_esd_open_sound=yes
14806 else
14807   echo "$as_me: failed program was:" >&5
14808 sed 's/^/| /' conftest.$ac_ext >&5
14809
14810         ac_cv_lib_esd_esd_open_sound=no
14811 fi
14812
14813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14814       conftest$ac_exeext conftest.$ac_ext
14815 LIBS=$ac_check_lib_save_LIBS
14816 fi
14817 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
14818 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
14819 if test $ac_cv_lib_esd_esd_open_sound = yes; then
14820   ESDLIBS=$ESD_LIBS
14821
14822          ESDINCL=$ESD_CFLAGS
14823
14824
14825 cat >>confdefs.h <<\_ACEOF
14826 #define HAVE_ESD 1
14827 _ACEOF
14828
14829 fi
14830
14831     CFLAGS="$save_CFLAGS"
14832 fi
14833
14834 ALSALIBS=""
14835
14836 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
14837 then
14838     { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
14839 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
14840 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
14841   echo $ECHO_N "(cached) $ECHO_C" >&6
14842 else
14843   ac_check_lib_save_LIBS=$LIBS
14844 LIBS="-lasound  $LIBS"
14845 cat >conftest.$ac_ext <<_ACEOF
14846 /* confdefs.h.  */
14847 _ACEOF
14848 cat confdefs.h >>conftest.$ac_ext
14849 cat >>conftest.$ac_ext <<_ACEOF
14850 /* end confdefs.h.  */
14851
14852 /* Override any GCC internal prototype to avoid an error.
14853    Use char because int might match the return type of a GCC
14854    builtin and then its argument prototype would still apply.  */
14855 #ifdef __cplusplus
14856 extern "C"
14857 #endif
14858 char snd_pcm_hw_params_get_access ();
14859 int
14860 main ()
14861 {
14862 return snd_pcm_hw_params_get_access ();
14863   ;
14864   return 0;
14865 }
14866 _ACEOF
14867 rm -f conftest.$ac_objext conftest$ac_exeext
14868 if { (ac_try="$ac_link"
14869 case "(($ac_try" in
14870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871   *) ac_try_echo=$ac_try;;
14872 esac
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874   (eval "$ac_link") 2>conftest.er1
14875   ac_status=$?
14876   grep -v '^ *+' conftest.er1 >conftest.err
14877   rm -f conftest.er1
14878   cat conftest.err >&5
14879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880   (exit $ac_status); } && {
14881          test -z "$ac_c_werror_flag" ||
14882          test ! -s conftest.err
14883        } && test -s conftest$ac_exeext &&
14884        $as_test_x conftest$ac_exeext; then
14885   ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
14886 else
14887   echo "$as_me: failed program was:" >&5
14888 sed 's/^/| /' conftest.$ac_ext >&5
14889
14890         ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
14891 fi
14892
14893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14894       conftest$ac_exeext conftest.$ac_ext
14895 LIBS=$ac_check_lib_save_LIBS
14896 fi
14897 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
14898 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
14899 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
14900   cat >conftest.$ac_ext <<_ACEOF
14901 /* confdefs.h.  */
14902 _ACEOF
14903 cat confdefs.h >>conftest.$ac_ext
14904 cat >>conftest.$ac_ext <<_ACEOF
14905 /* end confdefs.h.  */
14906 #ifdef HAVE_ALSA_ASOUNDLIB_H
14907 #include <alsa/asoundlib.h>
14908 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14909 #include <sys/asoundlib.h>
14910 #endif
14911 int
14912 main ()
14913 {
14914 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14915   ;
14916   return 0;
14917 }
14918 _ACEOF
14919 rm -f conftest.$ac_objext
14920 if { (ac_try="$ac_compile"
14921 case "(($ac_try" in
14922   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14923   *) ac_try_echo=$ac_try;;
14924 esac
14925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14926   (eval "$ac_compile") 2>conftest.er1
14927   ac_status=$?
14928   grep -v '^ *+' conftest.er1 >conftest.err
14929   rm -f conftest.er1
14930   cat conftest.err >&5
14931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932   (exit $ac_status); } && {
14933          test -z "$ac_c_werror_flag" ||
14934          test ! -s conftest.err
14935        } && test -s conftest.$ac_objext; then
14936
14937 cat >>confdefs.h <<\_ACEOF
14938 #define HAVE_ALSA 1
14939 _ACEOF
14940
14941                          ALSALIBS="-lasound"
14942 else
14943   echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14945
14946
14947 fi
14948
14949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14950 fi
14951
14952 fi
14953
14954 AUDIOIOLIBS=""
14955
14956 if test "$ac_cv_header_libaudioio_h" = "yes"
14957 then
14958     { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14959 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14960 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14961   echo $ECHO_N "(cached) $ECHO_C" >&6
14962 else
14963   ac_check_lib_save_LIBS=$LIBS
14964 LIBS="-laudioio  $LIBS"
14965 cat >conftest.$ac_ext <<_ACEOF
14966 /* confdefs.h.  */
14967 _ACEOF
14968 cat confdefs.h >>conftest.$ac_ext
14969 cat >>conftest.$ac_ext <<_ACEOF
14970 /* end confdefs.h.  */
14971
14972 /* Override any GCC internal prototype to avoid an error.
14973    Use char because int might match the return type of a GCC
14974    builtin and then its argument prototype would still apply.  */
14975 #ifdef __cplusplus
14976 extern "C"
14977 #endif
14978 char AudioIOGetVersion ();
14979 int
14980 main ()
14981 {
14982 return AudioIOGetVersion ();
14983   ;
14984   return 0;
14985 }
14986 _ACEOF
14987 rm -f conftest.$ac_objext conftest$ac_exeext
14988 if { (ac_try="$ac_link"
14989 case "(($ac_try" in
14990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14991   *) ac_try_echo=$ac_try;;
14992 esac
14993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14994   (eval "$ac_link") 2>conftest.er1
14995   ac_status=$?
14996   grep -v '^ *+' conftest.er1 >conftest.err
14997   rm -f conftest.er1
14998   cat conftest.err >&5
14999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15000   (exit $ac_status); } && {
15001          test -z "$ac_c_werror_flag" ||
15002          test ! -s conftest.err
15003        } && test -s conftest$ac_exeext &&
15004        $as_test_x conftest$ac_exeext; then
15005   ac_cv_lib_audioio_AudioIOGetVersion=yes
15006 else
15007   echo "$as_me: failed program was:" >&5
15008 sed 's/^/| /' conftest.$ac_ext >&5
15009
15010         ac_cv_lib_audioio_AudioIOGetVersion=no
15011 fi
15012
15013 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15014       conftest$ac_exeext conftest.$ac_ext
15015 LIBS=$ac_check_lib_save_LIBS
15016 fi
15017 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
15018 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
15019 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
15020   AUDIOIOLIBS="-laudioio"
15021
15022 cat >>confdefs.h <<\_ACEOF
15023 #define HAVE_LIBAUDIOIO 1
15024 _ACEOF
15025
15026 fi
15027
15028 fi
15029
15030
15031 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15032 then
15033     { echo "$as_me:$LINENO: checking for -lcapi20" >&5
15034 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
15035 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15036   echo $ECHO_N "(cached) $ECHO_C" >&6
15037 else
15038   ac_check_soname_save_LIBS=$LIBS
15039 LIBS="-lcapi20  $LIBS"
15040   cat >conftest.$ac_ext <<_ACEOF
15041 /* confdefs.h.  */
15042 _ACEOF
15043 cat confdefs.h >>conftest.$ac_ext
15044 cat >>conftest.$ac_ext <<_ACEOF
15045 /* end confdefs.h.  */
15046
15047 /* Override any GCC internal prototype to avoid an error.
15048    Use char because int might match the return type of a GCC
15049    builtin and then its argument prototype would still apply.  */
15050 #ifdef __cplusplus
15051 extern "C"
15052 #endif
15053 char capi20_register ();
15054 int
15055 main ()
15056 {
15057 return capi20_register ();
15058   ;
15059   return 0;
15060 }
15061 _ACEOF
15062 rm -f conftest.$ac_objext conftest$ac_exeext
15063 if { (ac_try="$ac_link"
15064 case "(($ac_try" in
15065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15066   *) ac_try_echo=$ac_try;;
15067 esac
15068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15069   (eval "$ac_link") 2>conftest.er1
15070   ac_status=$?
15071   grep -v '^ *+' conftest.er1 >conftest.err
15072   rm -f conftest.er1
15073   cat conftest.err >&5
15074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075   (exit $ac_status); } && {
15076          test -z "$ac_c_werror_flag" ||
15077          test ! -s conftest.err
15078        } && test -s conftest$ac_exeext &&
15079        $as_test_x conftest$ac_exeext; then
15080   case "$LIBEXT" in
15081     dll) ;;
15082     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'` ;;
15083     *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^    ]*\).*$/\1/"';2,$d'` ;;
15084   esac
15085 else
15086   echo "$as_me: failed program was:" >&5
15087 sed 's/^/| /' conftest.$ac_ext >&5
15088
15089
15090 fi
15091
15092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15093       conftest$ac_exeext conftest.$ac_ext
15094   LIBS=$ac_check_soname_save_LIBS
15095 fi
15096 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15097   { echo "$as_me:$LINENO: result: not found" >&5
15098 echo "${ECHO_T}not found" >&6; }
15099
15100 else
15101   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15102 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15103
15104 cat >>confdefs.h <<_ACEOF
15105 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15106 _ACEOF
15107
15108
15109 fi
15110
15111 fi
15112 if test "x$ac_cv_lib_soname_capi20" = "x"; then
15113   case "x$with_capi" in
15114   x)   wine_notices="$wine_notices|libcapi20 development files not found, ISDN won't be supported." ;;
15115   xno) ;;
15116   *)   { { echo "$as_me:$LINENO: error: libcapi20 development files not found, ISDN won't be supported.
15117 This is an error since --with-capi was requested." >&5
15118 echo "$as_me: error: libcapi20 development files not found, ISDN won't be supported.
15119 This is an error since --with-capi was requested." >&2;}
15120    { (exit 1); exit 1; }; } ;;
15121 esac
15122 fi
15123
15124
15125 if test "$ac_cv_header_cups_cups_h" = "yes"
15126 then
15127     { echo "$as_me:$LINENO: checking for -lcups" >&5
15128 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
15129 if test "${ac_cv_lib_soname_cups+set}" = set; then
15130   echo $ECHO_N "(cached) $ECHO_C" >&6
15131 else
15132   ac_check_soname_save_LIBS=$LIBS
15133 LIBS="-lcups  $LIBS"
15134   cat >conftest.$ac_ext <<_ACEOF
15135 /* confdefs.h.  */
15136 _ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h.  */
15140
15141 /* Override any GCC internal prototype to avoid an error.
15142    Use char because int might match the return type of a GCC
15143    builtin and then its argument prototype would still apply.  */
15144 #ifdef __cplusplus
15145 extern "C"
15146 #endif
15147 char cupsGetDefault ();
15148 int
15149 main ()
15150 {
15151 return cupsGetDefault ();
15152   ;
15153   return 0;
15154 }
15155 _ACEOF
15156 rm -f conftest.$ac_objext conftest$ac_exeext
15157 if { (ac_try="$ac_link"
15158 case "(($ac_try" in
15159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15160   *) ac_try_echo=$ac_try;;
15161 esac
15162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15163   (eval "$ac_link") 2>conftest.er1
15164   ac_status=$?
15165   grep -v '^ *+' conftest.er1 >conftest.err
15166   rm -f conftest.er1
15167   cat conftest.err >&5
15168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15169   (exit $ac_status); } && {
15170          test -z "$ac_c_werror_flag" ||
15171          test ! -s conftest.err
15172        } && test -s conftest$ac_exeext &&
15173        $as_test_x conftest$ac_exeext; then
15174   case "$LIBEXT" in
15175     dll) ;;
15176     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'` ;;
15177     *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
15178   esac
15179 else
15180   echo "$as_me: failed program was:" >&5
15181 sed 's/^/| /' conftest.$ac_ext >&5
15182
15183
15184 fi
15185
15186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15187       conftest$ac_exeext conftest.$ac_ext
15188   LIBS=$ac_check_soname_save_LIBS
15189 fi
15190 if test "x$ac_cv_lib_soname_cups" = "x"; then
15191   { echo "$as_me:$LINENO: result: not found" >&5
15192 echo "${ECHO_T}not found" >&6; }
15193
15194 else
15195   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15196 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15197
15198 cat >>confdefs.h <<_ACEOF
15199 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15200 _ACEOF
15201
15202
15203 fi
15204
15205 fi
15206 if test "x$ac_cv_lib_soname_cups" = "x"; then
15207   case "x$with_cups" in
15208   x)   wine_notices="$wine_notices|libcups development files not found, CUPS won't be supported." ;;
15209   xno) ;;
15210   *)   { { echo "$as_me:$LINENO: error: libcups development files not found, CUPS won't be supported.
15211 This is an error since --with-cups was requested." >&5
15212 echo "$as_me: error: libcups development files not found, CUPS won't be supported.
15213 This is an error since --with-cups was requested." >&2;}
15214    { (exit 1); exit 1; }; } ;;
15215 esac
15216 fi
15217
15218
15219 if test "$ac_cv_header_jack_jack_h" = "yes"
15220 then
15221     { echo "$as_me:$LINENO: checking for -ljack" >&5
15222 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
15223 if test "${ac_cv_lib_soname_jack+set}" = set; then
15224   echo $ECHO_N "(cached) $ECHO_C" >&6
15225 else
15226   ac_check_soname_save_LIBS=$LIBS
15227 LIBS="-ljack  $LIBS"
15228   cat >conftest.$ac_ext <<_ACEOF
15229 /* confdefs.h.  */
15230 _ACEOF
15231 cat confdefs.h >>conftest.$ac_ext
15232 cat >>conftest.$ac_ext <<_ACEOF
15233 /* end confdefs.h.  */
15234
15235 /* Override any GCC internal prototype to avoid an error.
15236    Use char because int might match the return type of a GCC
15237    builtin and then its argument prototype would still apply.  */
15238 #ifdef __cplusplus
15239 extern "C"
15240 #endif
15241 char jack_client_new ();
15242 int
15243 main ()
15244 {
15245 return jack_client_new ();
15246   ;
15247   return 0;
15248 }
15249 _ACEOF
15250 rm -f conftest.$ac_objext conftest$ac_exeext
15251 if { (ac_try="$ac_link"
15252 case "(($ac_try" in
15253   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15254   *) ac_try_echo=$ac_try;;
15255 esac
15256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15257   (eval "$ac_link") 2>conftest.er1
15258   ac_status=$?
15259   grep -v '^ *+' conftest.er1 >conftest.err
15260   rm -f conftest.er1
15261   cat conftest.err >&5
15262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15263   (exit $ac_status); } && {
15264          test -z "$ac_c_werror_flag" ||
15265          test ! -s conftest.err
15266        } && test -s conftest$ac_exeext &&
15267        $as_test_x conftest$ac_exeext; then
15268   case "$LIBEXT" in
15269     dll) ;;
15270     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'` ;;
15271     *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
15272   esac
15273 else
15274   echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.$ac_ext >&5
15276
15277
15278 fi
15279
15280 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15281       conftest$ac_exeext conftest.$ac_ext
15282   LIBS=$ac_check_soname_save_LIBS
15283 fi
15284 if test "x$ac_cv_lib_soname_jack" = "x"; then
15285   { echo "$as_me:$LINENO: result: not found" >&5
15286 echo "${ECHO_T}not found" >&6; }
15287
15288 else
15289   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15290 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15291
15292 cat >>confdefs.h <<_ACEOF
15293 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15294 _ACEOF
15295
15296
15297 fi
15298
15299 fi
15300
15301 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15302 then
15303     { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15304 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15305 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15306   echo $ECHO_N "(cached) $ECHO_C" >&6
15307 else
15308   ac_check_soname_save_LIBS=$LIBS
15309 LIBS="-lfontconfig  $LIBS"
15310   cat >conftest.$ac_ext <<_ACEOF
15311 /* confdefs.h.  */
15312 _ACEOF
15313 cat confdefs.h >>conftest.$ac_ext
15314 cat >>conftest.$ac_ext <<_ACEOF
15315 /* end confdefs.h.  */
15316
15317 /* Override any GCC internal prototype to avoid an error.
15318    Use char because int might match the return type of a GCC
15319    builtin and then its argument prototype would still apply.  */
15320 #ifdef __cplusplus
15321 extern "C"
15322 #endif
15323 char FcInit ();
15324 int
15325 main ()
15326 {
15327 return FcInit ();
15328   ;
15329   return 0;
15330 }
15331 _ACEOF
15332 rm -f conftest.$ac_objext conftest$ac_exeext
15333 if { (ac_try="$ac_link"
15334 case "(($ac_try" in
15335   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15336   *) ac_try_echo=$ac_try;;
15337 esac
15338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15339   (eval "$ac_link") 2>conftest.er1
15340   ac_status=$?
15341   grep -v '^ *+' conftest.er1 >conftest.err
15342   rm -f conftest.er1
15343   cat conftest.err >&5
15344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345   (exit $ac_status); } && {
15346          test -z "$ac_c_werror_flag" ||
15347          test ! -s conftest.err
15348        } && test -s conftest$ac_exeext &&
15349        $as_test_x conftest$ac_exeext; then
15350   case "$LIBEXT" in
15351     dll) ;;
15352     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'` ;;
15353     *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
15354   esac
15355 else
15356   echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15358
15359
15360 fi
15361
15362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15363       conftest$ac_exeext conftest.$ac_ext
15364   LIBS=$ac_check_soname_save_LIBS
15365 fi
15366 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15367   { echo "$as_me:$LINENO: result: not found" >&5
15368 echo "${ECHO_T}not found" >&6; }
15369
15370 else
15371   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15372 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15373
15374 cat >>confdefs.h <<_ACEOF
15375 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15376 _ACEOF
15377
15378
15379 fi
15380
15381 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
15382 then
15383         ac_save_CPPFLAGS="$CPPFLAGS"
15384     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
15385     $as_unset ac_cv_header_fontconfig_fontconfig_h
15386
15387 for ac_header in fontconfig/fontconfig.h
15388 do
15389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15390 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15391   { echo "$as_me:$LINENO: checking for $ac_header" >&5
15392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15394   echo $ECHO_N "(cached) $ECHO_C" >&6
15395 fi
15396 ac_res=`eval echo '${'$as_ac_Header'}'`
15397                { echo "$as_me:$LINENO: result: $ac_res" >&5
15398 echo "${ECHO_T}$ac_res" >&6; }
15399 else
15400   # Is the header compilable?
15401 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
15402 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
15403 cat >conftest.$ac_ext <<_ACEOF
15404 /* confdefs.h.  */
15405 _ACEOF
15406 cat confdefs.h >>conftest.$ac_ext
15407 cat >>conftest.$ac_ext <<_ACEOF
15408 /* end confdefs.h.  */
15409 $ac_includes_default
15410 #include <$ac_header>
15411 _ACEOF
15412 rm -f conftest.$ac_objext
15413 if { (ac_try="$ac_compile"
15414 case "(($ac_try" in
15415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15416   *) ac_try_echo=$ac_try;;
15417 esac
15418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15419   (eval "$ac_compile") 2>conftest.er1
15420   ac_status=$?
15421   grep -v '^ *+' conftest.er1 >conftest.err
15422   rm -f conftest.er1
15423   cat conftest.err >&5
15424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425   (exit $ac_status); } && {
15426          test -z "$ac_c_werror_flag" ||
15427          test ! -s conftest.err
15428        } && test -s conftest.$ac_objext; then
15429   ac_header_compiler=yes
15430 else
15431   echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15433
15434         ac_header_compiler=no
15435 fi
15436
15437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15438 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15439 echo "${ECHO_T}$ac_header_compiler" >&6; }
15440
15441 # Is the header present?
15442 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
15443 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
15444 cat >conftest.$ac_ext <<_ACEOF
15445 /* confdefs.h.  */
15446 _ACEOF
15447 cat confdefs.h >>conftest.$ac_ext
15448 cat >>conftest.$ac_ext <<_ACEOF
15449 /* end confdefs.h.  */
15450 #include <$ac_header>
15451 _ACEOF
15452 if { (ac_try="$ac_cpp conftest.$ac_ext"
15453 case "(($ac_try" in
15454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15455   *) ac_try_echo=$ac_try;;
15456 esac
15457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15458   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15459   ac_status=$?
15460   grep -v '^ *+' conftest.er1 >conftest.err
15461   rm -f conftest.er1
15462   cat conftest.err >&5
15463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15464   (exit $ac_status); } >/dev/null && {
15465          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15466          test ! -s conftest.err
15467        }; then
15468   ac_header_preproc=yes
15469 else
15470   echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.$ac_ext >&5
15472
15473   ac_header_preproc=no
15474 fi
15475
15476 rm -f conftest.err conftest.$ac_ext
15477 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15478 echo "${ECHO_T}$ac_header_preproc" >&6; }
15479
15480 # So?  What about this header?
15481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15482   yes:no: )
15483     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15485     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15487     ac_header_preproc=yes
15488     ;;
15489   no:yes:* )
15490     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15492     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15493 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15494     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15496     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15497 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15498     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15500     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15502     ( cat <<\_ASBOX
15503 ## ------------------------------------ ##
15504 ## Report this to wine-devel@winehq.org ##
15505 ## ------------------------------------ ##
15506 _ASBOX
15507      ) | sed "s/^/$as_me: WARNING:     /" >&2
15508     ;;
15509 esac
15510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
15511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
15512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
15513   echo $ECHO_N "(cached) $ECHO_C" >&6
15514 else
15515   eval "$as_ac_Header=\$ac_header_preproc"
15516 fi
15517 ac_res=`eval echo '${'$as_ac_Header'}'`
15518                { echo "$as_me:$LINENO: result: $ac_res" >&5
15519 echo "${ECHO_T}$ac_res" >&6; }
15520
15521 fi
15522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15523   cat >>confdefs.h <<_ACEOF
15524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15525 _ACEOF
15526
15527 fi
15528
15529 done
15530
15531     CPPFLAGS="$ac_save_CPPFLAGS"
15532     if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15533     then
15534         FONTCONFIGINCL="$X_CFLAGS"
15535
15536         { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
15537 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
15538 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15539   echo $ECHO_N "(cached) $ECHO_C" >&6
15540 else
15541   ac_check_soname_save_LIBS=$LIBS
15542 LIBS="-lfontconfig $X_LIBS $LIBS"
15543   cat >conftest.$ac_ext <<_ACEOF
15544 /* confdefs.h.  */
15545 _ACEOF
15546 cat confdefs.h >>conftest.$ac_ext
15547 cat >>conftest.$ac_ext <<_ACEOF
15548 /* end confdefs.h.  */
15549
15550 /* Override any GCC internal prototype to avoid an error.
15551    Use char because int might match the return type of a GCC
15552    builtin and then its argument prototype would still apply.  */
15553 #ifdef __cplusplus
15554 extern "C"
15555 #endif
15556 char FcInit ();
15557 int
15558 main ()
15559 {
15560 return FcInit ();
15561   ;
15562   return 0;
15563 }
15564 _ACEOF
15565 rm -f conftest.$ac_objext conftest$ac_exeext
15566 if { (ac_try="$ac_link"
15567 case "(($ac_try" in
15568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15569   *) ac_try_echo=$ac_try;;
15570 esac
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572   (eval "$ac_link") 2>conftest.er1
15573   ac_status=$?
15574   grep -v '^ *+' conftest.er1 >conftest.err
15575   rm -f conftest.er1
15576   cat conftest.err >&5
15577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15578   (exit $ac_status); } && {
15579          test -z "$ac_c_werror_flag" ||
15580          test ! -s conftest.err
15581        } && test -s conftest$ac_exeext &&
15582        $as_test_x conftest$ac_exeext; then
15583   case "$LIBEXT" in
15584     dll) ;;
15585     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'` ;;
15586     *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^        ]*\).*$/\1/"';2,$d'` ;;
15587   esac
15588 else
15589   echo "$as_me: failed program was:" >&5
15590 sed 's/^/| /' conftest.$ac_ext >&5
15591
15592
15593 fi
15594
15595 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15596       conftest$ac_exeext conftest.$ac_ext
15597   LIBS=$ac_check_soname_save_LIBS
15598 fi
15599 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15600   { echo "$as_me:$LINENO: result: not found" >&5
15601 echo "${ECHO_T}not found" >&6; }
15602
15603 else
15604   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15605 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15606
15607 cat >>confdefs.h <<_ACEOF
15608 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15609 _ACEOF
15610
15611
15612 fi
15613
15614     fi
15615 fi
15616 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
15617   case "x$with_fontconfig" in
15618   x)   wine_notices="$wine_notices|fontconfig development files not found, fontconfig won't be supported." ;;
15619   xno) ;;
15620   *)   { { echo "$as_me:$LINENO: error: fontconfig development files not found, fontconfig won't be supported.
15621 This is an error since --with-fontconfig was requested." >&5
15622 echo "$as_me: error: fontconfig development files not found, fontconfig won't be supported.
15623 This is an error since --with-fontconfig was requested." >&2;}
15624    { (exit 1); exit 1; }; } ;;
15625 esac
15626 fi
15627
15628
15629 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
15630 then
15631     { echo "$as_me:$LINENO: checking for -lssl" >&5
15632 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
15633 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15634   echo $ECHO_N "(cached) $ECHO_C" >&6
15635 else
15636   ac_check_soname_save_LIBS=$LIBS
15637 LIBS="-lssl  $LIBS"
15638   cat >conftest.$ac_ext <<_ACEOF
15639 /* confdefs.h.  */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h.  */
15644
15645 /* Override any GCC internal prototype to avoid an error.
15646    Use char because int might match the return type of a GCC
15647    builtin and then its argument prototype would still apply.  */
15648 #ifdef __cplusplus
15649 extern "C"
15650 #endif
15651 char SSL_library_init ();
15652 int
15653 main ()
15654 {
15655 return SSL_library_init ();
15656   ;
15657   return 0;
15658 }
15659 _ACEOF
15660 rm -f conftest.$ac_objext conftest$ac_exeext
15661 if { (ac_try="$ac_link"
15662 case "(($ac_try" in
15663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15664   *) ac_try_echo=$ac_try;;
15665 esac
15666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15667   (eval "$ac_link") 2>conftest.er1
15668   ac_status=$?
15669   grep -v '^ *+' conftest.er1 >conftest.err
15670   rm -f conftest.er1
15671   cat conftest.err >&5
15672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15673   (exit $ac_status); } && {
15674          test -z "$ac_c_werror_flag" ||
15675          test ! -s conftest.err
15676        } && test -s conftest$ac_exeext &&
15677        $as_test_x conftest$ac_exeext; then
15678   case "$LIBEXT" in
15679     dll) ;;
15680     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'` ;;
15681     *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^     ]*\).*$/\1/"';2,$d'` ;;
15682   esac
15683 else
15684   echo "$as_me: failed program was:" >&5
15685 sed 's/^/| /' conftest.$ac_ext >&5
15686
15687
15688 fi
15689
15690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15691       conftest$ac_exeext conftest.$ac_ext
15692   LIBS=$ac_check_soname_save_LIBS
15693 fi
15694 if test "x$ac_cv_lib_soname_ssl" = "x"; then
15695   { echo "$as_me:$LINENO: result: not found" >&5
15696 echo "${ECHO_T}not found" >&6; }
15697
15698 else
15699   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15700 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15701
15702 cat >>confdefs.h <<_ACEOF
15703 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15704 _ACEOF
15705
15706
15707 fi
15708
15709     { echo "$as_me:$LINENO: checking for -lcrypto" >&5
15710 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
15711 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15712   echo $ECHO_N "(cached) $ECHO_C" >&6
15713 else
15714   ac_check_soname_save_LIBS=$LIBS
15715 LIBS="-lcrypto  $LIBS"
15716   cat >conftest.$ac_ext <<_ACEOF
15717 /* confdefs.h.  */
15718 _ACEOF
15719 cat confdefs.h >>conftest.$ac_ext
15720 cat >>conftest.$ac_ext <<_ACEOF
15721 /* end confdefs.h.  */
15722
15723 /* Override any GCC internal prototype to avoid an error.
15724    Use char because int might match the return type of a GCC
15725    builtin and then its argument prototype would still apply.  */
15726 #ifdef __cplusplus
15727 extern "C"
15728 #endif
15729 char BIO_new_socket ();
15730 int
15731 main ()
15732 {
15733 return BIO_new_socket ();
15734   ;
15735   return 0;
15736 }
15737 _ACEOF
15738 rm -f conftest.$ac_objext conftest$ac_exeext
15739 if { (ac_try="$ac_link"
15740 case "(($ac_try" in
15741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742   *) ac_try_echo=$ac_try;;
15743 esac
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745   (eval "$ac_link") 2>conftest.er1
15746   ac_status=$?
15747   grep -v '^ *+' conftest.er1 >conftest.err
15748   rm -f conftest.er1
15749   cat conftest.err >&5
15750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751   (exit $ac_status); } && {
15752          test -z "$ac_c_werror_flag" ||
15753          test ! -s conftest.err
15754        } && test -s conftest$ac_exeext &&
15755        $as_test_x conftest$ac_exeext; then
15756   case "$LIBEXT" in
15757     dll) ;;
15758     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'` ;;
15759     *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^    ]*\).*$/\1/"';2,$d'` ;;
15760   esac
15761 else
15762   echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15764
15765
15766 fi
15767
15768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15769       conftest$ac_exeext conftest.$ac_ext
15770   LIBS=$ac_check_soname_save_LIBS
15771 fi
15772 if test "x$ac_cv_lib_soname_crypto" = "x"; then
15773   { echo "$as_me:$LINENO: result: not found" >&5
15774 echo "${ECHO_T}not found" >&6; }
15775
15776 else
15777   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15778 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15779
15780 cat >>confdefs.h <<_ACEOF
15781 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15782 _ACEOF
15783
15784
15785 fi
15786
15787 fi
15788 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then
15789   case "x$with_openssl" in
15790   x)   wine_warnings="$wine_warnings|OpenSSL development files not found, SSL won't be supported." ;;
15791   xno) ;;
15792   *)   { { echo "$as_me:$LINENO: error: OpenSSL development files not found, SSL won't be supported.
15793 This is an error since --with-openssl was requested." >&5
15794 echo "$as_me: error: OpenSSL development files not found, SSL won't be supported.
15795 This is an error since --with-openssl was requested." >&2;}
15796    { (exit 1); exit 1; }; } ;;
15797 esac
15798 fi
15799
15800
15801 if test "$ac_cv_header_jpeglib_h" = "yes"
15802 then
15803     { echo "$as_me:$LINENO: checking for -ljpeg" >&5
15804 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
15805 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15806   echo $ECHO_N "(cached) $ECHO_C" >&6
15807 else
15808   ac_check_soname_save_LIBS=$LIBS
15809 LIBS="-ljpeg  $LIBS"
15810   cat >conftest.$ac_ext <<_ACEOF
15811 /* confdefs.h.  */
15812 _ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h.  */
15816
15817 /* Override any GCC internal prototype to avoid an error.
15818    Use char because int might match the return type of a GCC
15819    builtin and then its argument prototype would still apply.  */
15820 #ifdef __cplusplus
15821 extern "C"
15822 #endif
15823 char jpeg_start_decompress ();
15824 int
15825 main ()
15826 {
15827 return jpeg_start_decompress ();
15828   ;
15829   return 0;
15830 }
15831 _ACEOF
15832 rm -f conftest.$ac_objext conftest$ac_exeext
15833 if { (ac_try="$ac_link"
15834 case "(($ac_try" in
15835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836   *) ac_try_echo=$ac_try;;
15837 esac
15838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15839   (eval "$ac_link") 2>conftest.er1
15840   ac_status=$?
15841   grep -v '^ *+' conftest.er1 >conftest.err
15842   rm -f conftest.er1
15843   cat conftest.err >&5
15844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845   (exit $ac_status); } && {
15846          test -z "$ac_c_werror_flag" ||
15847          test ! -s conftest.err
15848        } && test -s conftest$ac_exeext &&
15849        $as_test_x conftest$ac_exeext; then
15850   case "$LIBEXT" in
15851     dll) ;;
15852     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'` ;;
15853     *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
15854   esac
15855 else
15856   echo "$as_me: failed program was:" >&5
15857 sed 's/^/| /' conftest.$ac_ext >&5
15858
15859
15860 fi
15861
15862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15863       conftest$ac_exeext conftest.$ac_ext
15864   LIBS=$ac_check_soname_save_LIBS
15865 fi
15866 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15867   { echo "$as_me:$LINENO: result: not found" >&5
15868 echo "${ECHO_T}not found" >&6; }
15869
15870 else
15871   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15872 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15873
15874 cat >>confdefs.h <<_ACEOF
15875 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15876 _ACEOF
15877
15878
15879 fi
15880
15881 fi
15882 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
15883   case "x$with_jpeg" in
15884   x)   wine_warnings="$wine_warnings|libjpeg development files not found, JPEG won't be supported." ;;
15885   xno) ;;
15886   *)   { { echo "$as_me:$LINENO: error: libjpeg development files not found, JPEG won't be supported.
15887 This is an error since --with-jpeg was requested." >&5
15888 echo "$as_me: error: libjpeg development files not found, JPEG won't be supported.
15889 This is an error since --with-jpeg was requested." >&2;}
15890    { (exit 1); exit 1; }; } ;;
15891 esac
15892 fi
15893
15894
15895 if test "$ac_cv_header_png_h" = "yes"
15896 then
15897     { echo "$as_me:$LINENO: checking for -lpng" >&5
15898 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
15899 if test "${ac_cv_lib_soname_png+set}" = set; then
15900   echo $ECHO_N "(cached) $ECHO_C" >&6
15901 else
15902   ac_check_soname_save_LIBS=$LIBS
15903 LIBS="-lpng  $LIBS"
15904   cat >conftest.$ac_ext <<_ACEOF
15905 /* confdefs.h.  */
15906 _ACEOF
15907 cat confdefs.h >>conftest.$ac_ext
15908 cat >>conftest.$ac_ext <<_ACEOF
15909 /* end confdefs.h.  */
15910
15911 /* Override any GCC internal prototype to avoid an error.
15912    Use char because int might match the return type of a GCC
15913    builtin and then its argument prototype would still apply.  */
15914 #ifdef __cplusplus
15915 extern "C"
15916 #endif
15917 char png_create_read_struct ();
15918 int
15919 main ()
15920 {
15921 return png_create_read_struct ();
15922   ;
15923   return 0;
15924 }
15925 _ACEOF
15926 rm -f conftest.$ac_objext conftest$ac_exeext
15927 if { (ac_try="$ac_link"
15928 case "(($ac_try" in
15929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15930   *) ac_try_echo=$ac_try;;
15931 esac
15932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15933   (eval "$ac_link") 2>conftest.er1
15934   ac_status=$?
15935   grep -v '^ *+' conftest.er1 >conftest.err
15936   rm -f conftest.er1
15937   cat conftest.err >&5
15938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15939   (exit $ac_status); } && {
15940          test -z "$ac_c_werror_flag" ||
15941          test ! -s conftest.err
15942        } && test -s conftest$ac_exeext &&
15943        $as_test_x conftest$ac_exeext; then
15944   case "$LIBEXT" in
15945     dll) ;;
15946     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'` ;;
15947     *) 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'` ;;
15948   esac
15949 else
15950   echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.$ac_ext >&5
15952
15953
15954 fi
15955
15956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15957       conftest$ac_exeext conftest.$ac_ext
15958   LIBS=$ac_check_soname_save_LIBS
15959 fi
15960 if test "x$ac_cv_lib_soname_png" = "x"; then
15961   { echo "$as_me:$LINENO: result: not found" >&5
15962 echo "${ECHO_T}not found" >&6; }
15963
15964 else
15965   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
15966 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
15967
15968 cat >>confdefs.h <<_ACEOF
15969 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
15970 _ACEOF
15971
15972
15973 fi
15974
15975 fi
15976 if test "x$ac_cv_lib_soname_png" = "x"; then
15977   case "x$with_png" in
15978   x)   wine_warnings="$wine_warnings|libpng development files not found, PNG won't be supported." ;;
15979   xno) ;;
15980   *)   { { echo "$as_me:$LINENO: error: libpng development files not found, PNG won't be supported.
15981 This is an error since --with-png was requested." >&5
15982 echo "$as_me: error: libpng development files not found, PNG won't be supported.
15983 This is an error since --with-png was requested." >&2;}
15984    { (exit 1); exit 1; }; } ;;
15985 esac
15986 fi
15987
15988
15989 { echo "$as_me:$LINENO: checking for -lodbc" >&5
15990 echo $ECHO_N "checking for -lodbc... $ECHO_C" >&6; }
15991 if test "${ac_cv_lib_soname_odbc+set}" = set; then
15992   echo $ECHO_N "(cached) $ECHO_C" >&6
15993 else
15994   ac_check_soname_save_LIBS=$LIBS
15995 LIBS="-lodbc  $LIBS"
15996   cat >conftest.$ac_ext <<_ACEOF
15997 /* confdefs.h.  */
15998 _ACEOF
15999 cat confdefs.h >>conftest.$ac_ext
16000 cat >>conftest.$ac_ext <<_ACEOF
16001 /* end confdefs.h.  */
16002
16003 /* Override any GCC internal prototype to avoid an error.
16004    Use char because int might match the return type of a GCC
16005    builtin and then its argument prototype would still apply.  */
16006 #ifdef __cplusplus
16007 extern "C"
16008 #endif
16009 char SQLConnect ();
16010 int
16011 main ()
16012 {
16013 return SQLConnect ();
16014   ;
16015   return 0;
16016 }
16017 _ACEOF
16018 rm -f conftest.$ac_objext conftest$ac_exeext
16019 if { (ac_try="$ac_link"
16020 case "(($ac_try" in
16021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16022   *) ac_try_echo=$ac_try;;
16023 esac
16024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16025   (eval "$ac_link") 2>conftest.er1
16026   ac_status=$?
16027   grep -v '^ *+' conftest.er1 >conftest.err
16028   rm -f conftest.er1
16029   cat conftest.err >&5
16030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031   (exit $ac_status); } && {
16032          test -z "$ac_c_werror_flag" ||
16033          test ! -s conftest.err
16034        } && test -s conftest$ac_exeext &&
16035        $as_test_x conftest$ac_exeext; then
16036   case "$LIBEXT" in
16037     dll) ;;
16038     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'` ;;
16039     *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^  ]*\).*$/\1/"';2,$d'` ;;
16040   esac
16041 else
16042   echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.$ac_ext >&5
16044
16045
16046 fi
16047
16048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16049       conftest$ac_exeext conftest.$ac_ext
16050   LIBS=$ac_check_soname_save_LIBS
16051 fi
16052 if test "x$ac_cv_lib_soname_odbc" = "x"; then
16053   { echo "$as_me:$LINENO: result: not found" >&5
16054 echo "${ECHO_T}not found" >&6; }
16055        cat >>confdefs.h <<_ACEOF
16056 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16057 _ACEOF
16058
16059 else
16060   { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_odbc" >&5
16061 echo "${ECHO_T}$ac_cv_lib_soname_odbc" >&6; }
16062
16063 cat >>confdefs.h <<_ACEOF
16064 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16065 _ACEOF
16066
16067
16068 fi
16069
16070
16071 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESD_LIBS$ac_cv_lib_soname_jack" = "x" -a \
16072         "$ac_cv_header_sys_soundcard_h" != "yes" -a \
16073         "$ac_cv_header_machine_soundcard_h" != "yes" -a \
16074         "$ac_cv_header_soundcard_h" != "yes" -a \
16075         "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
16076 then
16077     wine_warnings="$wine_warnings|No sound system was found. Windows applications will be silent."
16078 fi
16079
16080
16081 EXTRACFLAGS=""
16082
16083 if test "x${GCC}" = "xyes"
16084 then
16085   EXTRACFLAGS="-Wall -pipe"
16086
16087     { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
16088 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
16089 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
16090   echo $ECHO_N "(cached) $ECHO_C" >&6
16091 else
16092   if test "$cross_compiling" = yes; then
16093   ac_cv_c_gcc_strength_bug="yes"
16094 else
16095   cat >conftest.$ac_ext <<_ACEOF
16096 /* confdefs.h.  */
16097 _ACEOF
16098 cat confdefs.h >>conftest.$ac_ext
16099 cat >>conftest.$ac_ext <<_ACEOF
16100 /* end confdefs.h.  */
16101 int L[4] = {0,1,2,3};
16102 int
16103 main ()
16104 {
16105 static int Array[3];
16106   unsigned int B = 3;
16107   int i;
16108   for(i=0; i<B; i++) Array[i] = i - 3;
16109   for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16110   L[i] = 4;
16111   exit( Array[1] != -2 || L[2] != 3)
16112   ;
16113   return 0;
16114 }
16115 _ACEOF
16116 rm -f conftest$ac_exeext
16117 if { (ac_try="$ac_link"
16118 case "(($ac_try" in
16119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16120   *) ac_try_echo=$ac_try;;
16121 esac
16122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16123   (eval "$ac_link") 2>&5
16124   ac_status=$?
16125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16126   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16127   { (case "(($ac_try" in
16128   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16129   *) ac_try_echo=$ac_try;;
16130 esac
16131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16132   (eval "$ac_try") 2>&5
16133   ac_status=$?
16134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16135   (exit $ac_status); }; }; then
16136   ac_cv_c_gcc_strength_bug="no"
16137 else
16138   echo "$as_me: program exited with status $ac_status" >&5
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.$ac_ext >&5
16141
16142 ( exit $ac_status )
16143 ac_cv_c_gcc_strength_bug="yes"
16144 fi
16145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16146 fi
16147
16148
16149 fi
16150 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
16151 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
16152   if test "$ac_cv_c_gcc_strength_bug" = "yes"
16153   then
16154     EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16155   fi
16156
16157
16158   { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
16159 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
16160 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
16161   echo $ECHO_N "(cached) $ECHO_C" >&6
16162 else
16163   ac_wine_try_cflags_saved=$CFLAGS
16164 CFLAGS="$CFLAGS -fshort-wchar"
16165 cat >conftest.$ac_ext <<_ACEOF
16166 /* confdefs.h.  */
16167 _ACEOF
16168 cat confdefs.h >>conftest.$ac_ext
16169 cat >>conftest.$ac_ext <<_ACEOF
16170 /* end confdefs.h.  */
16171
16172 int
16173 main ()
16174 {
16175
16176   ;
16177   return 0;
16178 }
16179 _ACEOF
16180 rm -f conftest.$ac_objext conftest$ac_exeext
16181 if { (ac_try="$ac_link"
16182 case "(($ac_try" in
16183   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16184   *) ac_try_echo=$ac_try;;
16185 esac
16186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16187   (eval "$ac_link") 2>conftest.er1
16188   ac_status=$?
16189   grep -v '^ *+' conftest.er1 >conftest.err
16190   rm -f conftest.er1
16191   cat conftest.err >&5
16192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16193   (exit $ac_status); } && {
16194          test -z "$ac_c_werror_flag" ||
16195          test ! -s conftest.err
16196        } && test -s conftest$ac_exeext &&
16197        $as_test_x conftest$ac_exeext; then
16198   ac_cv_cflags__fshort_wchar=yes
16199 else
16200   echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203         ac_cv_cflags__fshort_wchar=no
16204 fi
16205
16206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16207       conftest$ac_exeext conftest.$ac_ext
16208 CFLAGS=$ac_wine_try_cflags_saved
16209 fi
16210 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
16211 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
16212 if test $ac_cv_cflags__fshort_wchar = yes; then
16213
16214 cat >>confdefs.h <<\_ACEOF
16215 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
16216 _ACEOF
16217
16218 fi
16219
16220   { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
16221 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
16222 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
16223   echo $ECHO_N "(cached) $ECHO_C" >&6
16224 else
16225   ac_wine_try_cflags_saved=$CFLAGS
16226 CFLAGS="$CFLAGS -fno-strict-aliasing"
16227 cat >conftest.$ac_ext <<_ACEOF
16228 /* confdefs.h.  */
16229 _ACEOF
16230 cat confdefs.h >>conftest.$ac_ext
16231 cat >>conftest.$ac_ext <<_ACEOF
16232 /* end confdefs.h.  */
16233
16234 int
16235 main ()
16236 {
16237
16238   ;
16239   return 0;
16240 }
16241 _ACEOF
16242 rm -f conftest.$ac_objext conftest$ac_exeext
16243 if { (ac_try="$ac_link"
16244 case "(($ac_try" in
16245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16246   *) ac_try_echo=$ac_try;;
16247 esac
16248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16249   (eval "$ac_link") 2>conftest.er1
16250   ac_status=$?
16251   grep -v '^ *+' conftest.er1 >conftest.err
16252   rm -f conftest.er1
16253   cat conftest.err >&5
16254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255   (exit $ac_status); } && {
16256          test -z "$ac_c_werror_flag" ||
16257          test ! -s conftest.err
16258        } && test -s conftest$ac_exeext &&
16259        $as_test_x conftest$ac_exeext; then
16260   ac_cv_cflags__fno_strict_aliasing=yes
16261 else
16262   echo "$as_me: failed program was:" >&5
16263 sed 's/^/| /' conftest.$ac_ext >&5
16264
16265         ac_cv_cflags__fno_strict_aliasing=no
16266 fi
16267
16268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16269       conftest$ac_exeext conftest.$ac_ext
16270 CFLAGS=$ac_wine_try_cflags_saved
16271 fi
16272 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16273 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
16274 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
16275   EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16276 fi
16277
16278   { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16279 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
16280 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
16281   echo $ECHO_N "(cached) $ECHO_C" >&6
16282 else
16283   ac_wine_try_cflags_saved=$CFLAGS
16284 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16285 cat >conftest.$ac_ext <<_ACEOF
16286 /* confdefs.h.  */
16287 _ACEOF
16288 cat confdefs.h >>conftest.$ac_ext
16289 cat >>conftest.$ac_ext <<_ACEOF
16290 /* end confdefs.h.  */
16291
16292 int
16293 main ()
16294 {
16295
16296   ;
16297   return 0;
16298 }
16299 _ACEOF
16300 rm -f conftest.$ac_objext conftest$ac_exeext
16301 if { (ac_try="$ac_link"
16302 case "(($ac_try" in
16303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16304   *) ac_try_echo=$ac_try;;
16305 esac
16306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16307   (eval "$ac_link") 2>conftest.er1
16308   ac_status=$?
16309   grep -v '^ *+' conftest.er1 >conftest.err
16310   rm -f conftest.er1
16311   cat conftest.err >&5
16312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16313   (exit $ac_status); } && {
16314          test -z "$ac_c_werror_flag" ||
16315          test ! -s conftest.err
16316        } && test -s conftest$ac_exeext &&
16317        $as_test_x conftest$ac_exeext; then
16318   ac_cv_cflags__Wdeclaration_after_statement=yes
16319 else
16320   echo "$as_me: failed program was:" >&5
16321 sed 's/^/| /' conftest.$ac_ext >&5
16322
16323         ac_cv_cflags__Wdeclaration_after_statement=no
16324 fi
16325
16326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16327       conftest$ac_exeext conftest.$ac_ext
16328 CFLAGS=$ac_wine_try_cflags_saved
16329 fi
16330 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16331 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16332 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
16333   EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16334 fi
16335
16336   { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
16337 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
16338 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
16339   echo $ECHO_N "(cached) $ECHO_C" >&6
16340 else
16341   ac_wine_try_cflags_saved=$CFLAGS
16342 CFLAGS="$CFLAGS -Wwrite-strings"
16343 cat >conftest.$ac_ext <<_ACEOF
16344 /* confdefs.h.  */
16345 _ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h.  */
16349
16350 int
16351 main ()
16352 {
16353
16354   ;
16355   return 0;
16356 }
16357 _ACEOF
16358 rm -f conftest.$ac_objext conftest$ac_exeext
16359 if { (ac_try="$ac_link"
16360 case "(($ac_try" in
16361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16362   *) ac_try_echo=$ac_try;;
16363 esac
16364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16365   (eval "$ac_link") 2>conftest.er1
16366   ac_status=$?
16367   grep -v '^ *+' conftest.er1 >conftest.err
16368   rm -f conftest.er1
16369   cat conftest.err >&5
16370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16371   (exit $ac_status); } && {
16372          test -z "$ac_c_werror_flag" ||
16373          test ! -s conftest.err
16374        } && test -s conftest$ac_exeext &&
16375        $as_test_x conftest$ac_exeext; then
16376   ac_cv_cflags__Wwrite_strings=yes
16377 else
16378   echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.$ac_ext >&5
16380
16381         ac_cv_cflags__Wwrite_strings=no
16382 fi
16383
16384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16385       conftest$ac_exeext conftest.$ac_ext
16386 CFLAGS=$ac_wine_try_cflags_saved
16387 fi
16388 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
16389 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
16390 if test $ac_cv_cflags__Wwrite_strings = yes; then
16391   EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
16392 fi
16393
16394   { echo "$as_me:$LINENO: checking whether the compiler supports -Wtype-limits" >&5
16395 echo $ECHO_N "checking whether the compiler supports -Wtype-limits... $ECHO_C" >&6; }
16396 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then
16397   echo $ECHO_N "(cached) $ECHO_C" >&6
16398 else
16399   ac_wine_try_cflags_saved=$CFLAGS
16400 CFLAGS="$CFLAGS -Wtype-limits"
16401 cat >conftest.$ac_ext <<_ACEOF
16402 /* confdefs.h.  */
16403 _ACEOF
16404 cat confdefs.h >>conftest.$ac_ext
16405 cat >>conftest.$ac_ext <<_ACEOF
16406 /* end confdefs.h.  */
16407
16408 int
16409 main ()
16410 {
16411
16412   ;
16413   return 0;
16414 }
16415 _ACEOF
16416 rm -f conftest.$ac_objext conftest$ac_exeext
16417 if { (ac_try="$ac_link"
16418 case "(($ac_try" in
16419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16420   *) ac_try_echo=$ac_try;;
16421 esac
16422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16423   (eval "$ac_link") 2>conftest.er1
16424   ac_status=$?
16425   grep -v '^ *+' conftest.er1 >conftest.err
16426   rm -f conftest.er1
16427   cat conftest.err >&5
16428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429   (exit $ac_status); } && {
16430          test -z "$ac_c_werror_flag" ||
16431          test ! -s conftest.err
16432        } && test -s conftest$ac_exeext &&
16433        $as_test_x conftest$ac_exeext; then
16434   ac_cv_cflags__Wtype_limits=yes
16435 else
16436   echo "$as_me: failed program was:" >&5
16437 sed 's/^/| /' conftest.$ac_ext >&5
16438
16439         ac_cv_cflags__Wtype_limits=no
16440 fi
16441
16442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16443       conftest$ac_exeext conftest.$ac_ext
16444 CFLAGS=$ac_wine_try_cflags_saved
16445 fi
16446 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wtype_limits" >&5
16447 echo "${ECHO_T}$ac_cv_cflags__Wtype_limits" >&6; }
16448 if test $ac_cv_cflags__Wtype_limits = yes; then
16449   EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
16450 fi
16451
16452
16453     saved_CFLAGS="$CFLAGS"
16454   CFLAGS="$CFLAGS -Wpointer-arith -Werror"
16455   { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
16456 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
16457 if test "${ac_cv_c_string_h_warnings+set}" = set; then
16458   echo $ECHO_N "(cached) $ECHO_C" >&6
16459 else
16460   cat >conftest.$ac_ext <<_ACEOF
16461 /* confdefs.h.  */
16462 _ACEOF
16463 cat confdefs.h >>conftest.$ac_ext
16464 cat >>conftest.$ac_ext <<_ACEOF
16465 /* end confdefs.h.  */
16466 #include <string.h>
16467 int
16468 main ()
16469 {
16470
16471   ;
16472   return 0;
16473 }
16474 _ACEOF
16475 rm -f conftest.$ac_objext
16476 if { (ac_try="$ac_compile"
16477 case "(($ac_try" in
16478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16479   *) ac_try_echo=$ac_try;;
16480 esac
16481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16482   (eval "$ac_compile") 2>conftest.er1
16483   ac_status=$?
16484   grep -v '^ *+' conftest.er1 >conftest.err
16485   rm -f conftest.er1
16486   cat conftest.err >&5
16487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488   (exit $ac_status); } && {
16489          test -z "$ac_c_werror_flag" ||
16490          test ! -s conftest.err
16491        } && test -s conftest.$ac_objext; then
16492   ac_cv_c_string_h_warnings=no
16493 else
16494   echo "$as_me: failed program was:" >&5
16495 sed 's/^/| /' conftest.$ac_ext >&5
16496
16497         ac_cv_c_string_h_warnings=yes
16498 fi
16499
16500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16501 fi
16502 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
16503 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
16504   CFLAGS="$saved_CFLAGS"
16505   if test "$ac_cv_c_string_h_warnings" = "no"
16506   then
16507     EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
16508   fi
16509
16510   BUILTINFLAG=""
16511
16512   saved_CFLAGS="$CFLAGS"
16513   CFLAGS="$CFLAGS -Werror"
16514   { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
16515 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
16516 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
16517   echo $ECHO_N "(cached) $ECHO_C" >&6
16518 else
16519   cat >conftest.$ac_ext <<_ACEOF
16520 /* confdefs.h.  */
16521 _ACEOF
16522 cat confdefs.h >>conftest.$ac_ext
16523 cat >>conftest.$ac_ext <<_ACEOF
16524 /* end confdefs.h.  */
16525
16526 int
16527 main ()
16528 {
16529 int iswlower(unsigned short);
16530   ;
16531   return 0;
16532 }
16533 _ACEOF
16534 rm -f conftest.$ac_objext
16535 if { (ac_try="$ac_compile"
16536 case "(($ac_try" in
16537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16538   *) ac_try_echo=$ac_try;;
16539 esac
16540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16541   (eval "$ac_compile") 2>conftest.er1
16542   ac_status=$?
16543   grep -v '^ *+' conftest.er1 >conftest.err
16544   rm -f conftest.er1
16545   cat conftest.err >&5
16546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16547   (exit $ac_status); } && {
16548          test -z "$ac_c_werror_flag" ||
16549          test ! -s conftest.err
16550        } && test -s conftest.$ac_objext; then
16551   ac_cv_c_builtin_wchar_ctype=no
16552 else
16553   echo "$as_me: failed program was:" >&5
16554 sed 's/^/| /' conftest.$ac_ext >&5
16555
16556         ac_cv_c_builtin_wchar_ctype=yes
16557 fi
16558
16559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16560 fi
16561 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
16562 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
16563   CFLAGS="$saved_CFLAGS"
16564   if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
16565   then
16566     BUILTINFLAG="-fno-builtin"
16567   fi
16568 fi
16569
16570
16571 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
16572 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
16573 if test "${ac_cv_asm_func_def+set}" = set; then
16574   echo $ECHO_N "(cached) $ECHO_C" >&6
16575 else
16576   cat >conftest.$ac_ext <<_ACEOF
16577 /* confdefs.h.  */
16578 _ACEOF
16579 cat confdefs.h >>conftest.$ac_ext
16580 cat >>conftest.$ac_ext <<_ACEOF
16581 /* end confdefs.h.  */
16582
16583 int
16584 main ()
16585 {
16586 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
16587   ;
16588   return 0;
16589 }
16590 _ACEOF
16591 rm -f conftest.$ac_objext conftest$ac_exeext
16592 if { (ac_try="$ac_link"
16593 case "(($ac_try" in
16594   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595   *) ac_try_echo=$ac_try;;
16596 esac
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598   (eval "$ac_link") 2>conftest.er1
16599   ac_status=$?
16600   grep -v '^ *+' conftest.er1 >conftest.err
16601   rm -f conftest.er1
16602   cat conftest.err >&5
16603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604   (exit $ac_status); } && {
16605          test -z "$ac_c_werror_flag" ||
16606          test ! -s conftest.err
16607        } && test -s conftest$ac_exeext &&
16608        $as_test_x conftest$ac_exeext; then
16609   ac_cv_asm_func_def=".def"
16610 else
16611   echo "$as_me: failed program was:" >&5
16612 sed 's/^/| /' conftest.$ac_ext >&5
16613
16614         cat >conftest.$ac_ext <<_ACEOF
16615 /* confdefs.h.  */
16616 _ACEOF
16617 cat confdefs.h >>conftest.$ac_ext
16618 cat >>conftest.$ac_ext <<_ACEOF
16619 /* end confdefs.h.  */
16620
16621 int
16622 main ()
16623 {
16624 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
16625   ;
16626   return 0;
16627 }
16628 _ACEOF
16629 rm -f conftest.$ac_objext conftest$ac_exeext
16630 if { (ac_try="$ac_link"
16631 case "(($ac_try" in
16632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16633   *) ac_try_echo=$ac_try;;
16634 esac
16635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16636   (eval "$ac_link") 2>conftest.er1
16637   ac_status=$?
16638   grep -v '^ *+' conftest.er1 >conftest.err
16639   rm -f conftest.er1
16640   cat conftest.err >&5
16641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642   (exit $ac_status); } && {
16643          test -z "$ac_c_werror_flag" ||
16644          test ! -s conftest.err
16645        } && test -s conftest$ac_exeext &&
16646        $as_test_x conftest$ac_exeext; then
16647   ac_cv_asm_func_def=".type @function"
16648 else
16649   echo "$as_me: failed program was:" >&5
16650 sed 's/^/| /' conftest.$ac_ext >&5
16651
16652         cat >conftest.$ac_ext <<_ACEOF
16653 /* confdefs.h.  */
16654 _ACEOF
16655 cat confdefs.h >>conftest.$ac_ext
16656 cat >>conftest.$ac_ext <<_ACEOF
16657 /* end confdefs.h.  */
16658
16659 int
16660 main ()
16661 {
16662 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
16663   ;
16664   return 0;
16665 }
16666 _ACEOF
16667 rm -f conftest.$ac_objext conftest$ac_exeext
16668 if { (ac_try="$ac_link"
16669 case "(($ac_try" in
16670   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16671   *) ac_try_echo=$ac_try;;
16672 esac
16673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16674   (eval "$ac_link") 2>conftest.er1
16675   ac_status=$?
16676   grep -v '^ *+' conftest.er1 >conftest.err
16677   rm -f conftest.er1
16678   cat conftest.err >&5
16679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680   (exit $ac_status); } && {
16681          test -z "$ac_c_werror_flag" ||
16682          test ! -s conftest.err
16683        } && test -s conftest$ac_exeext &&
16684        $as_test_x conftest$ac_exeext; then
16685   ac_cv_asm_func_def=".type 2"
16686 else
16687   echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16689
16690         ac_cv_asm_func_def="unknown"
16691 fi
16692
16693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16694       conftest$ac_exeext conftest.$ac_ext
16695 fi
16696
16697 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16698       conftest$ac_exeext conftest.$ac_ext
16699 fi
16700
16701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16702       conftest$ac_exeext conftest.$ac_ext
16703 fi
16704 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
16705 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
16706
16707
16708
16709 case "$ac_cv_asm_func_def" in
16710   ".def")
16711      cat >>confdefs.h <<\_ACEOF
16712 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
16713 _ACEOF
16714  ;;
16715   ".type @function")
16716      cat >>confdefs.h <<\_ACEOF
16717 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
16718 _ACEOF
16719  ;;
16720   ".type 2")
16721      cat >>confdefs.h <<\_ACEOF
16722 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
16723 _ACEOF
16724  ;;
16725   *)
16726      cat >>confdefs.h <<\_ACEOF
16727 #define __ASM_FUNC(name) ""
16728 _ACEOF
16729  ;;
16730 esac
16731
16732
16733 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
16734 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
16735 if test "${ac_cv_c_extern_prefix+set}" = set; then
16736   echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738   cat >conftest.$ac_ext <<_ACEOF
16739 /* confdefs.h.  */
16740 _ACEOF
16741 cat confdefs.h >>conftest.$ac_ext
16742 cat >>conftest.$ac_ext <<_ACEOF
16743 /* end confdefs.h.  */
16744 extern int ac_test;
16745 int
16746 main ()
16747 {
16748 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
16749   ;
16750   return 0;
16751 }
16752 _ACEOF
16753 rm -f conftest.$ac_objext conftest$ac_exeext
16754 if { (ac_try="$ac_link"
16755 case "(($ac_try" in
16756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16757   *) ac_try_echo=$ac_try;;
16758 esac
16759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16760   (eval "$ac_link") 2>conftest.er1
16761   ac_status=$?
16762   grep -v '^ *+' conftest.er1 >conftest.err
16763   rm -f conftest.er1
16764   cat conftest.err >&5
16765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766   (exit $ac_status); } && {
16767          test -z "$ac_c_werror_flag" ||
16768          test ! -s conftest.err
16769        } && test -s conftest$ac_exeext &&
16770        $as_test_x conftest$ac_exeext; then
16771   ac_cv_c_extern_prefix="yes"
16772 else
16773   echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.$ac_ext >&5
16775
16776         ac_cv_c_extern_prefix="no"
16777 fi
16778
16779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16780       conftest$ac_exeext conftest.$ac_ext
16781 fi
16782 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
16783 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
16784
16785
16786
16787 if test "$ac_cv_c_extern_prefix" = "yes"
16788 then
16789   cat >>confdefs.h <<\_ACEOF
16790 #define __ASM_NAME(name) "_" name
16791 _ACEOF
16792
16793 else
16794   cat >>confdefs.h <<\_ACEOF
16795 #define __ASM_NAME(name) name
16796 _ACEOF
16797
16798 fi
16799
16800
16801 LDPATH=""
16802
16803 case $build_os in
16804   cygwin*|mingw32*)
16805     LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16806     ;;
16807   darwin*|macosx*)
16808     ;;
16809   linux*|solaris*)      if test -z "$LDRPATH_LOCAL"
16810     then
16811       LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16812     fi
16813     ;;
16814   *)
16815     LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16816     ;;
16817 esac
16818
16819 case $host_os in
16820   mingw32*)
16821     CRTLIBS="-lmsvcrt"
16822
16823     SOCKETLIBS="-lws2_32"
16824
16825     ;;
16826 esac
16827
16828 MAIN_BINARY="wine-pthread"
16829   case $host_cpu in
16830   *i[3456789]86*)
16831     case $host_os in
16832       linux* | k*bsd*-gnu)
16833         MAIN_BINARY="wine-glibc"
16834
16835         EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16836  ;;
16837       freebsd*)
16838         MAIN_BINARY="wine-freebsd"
16839
16840         EXTRA_BINARIES="wine-pthread"
16841  ;;
16842     esac
16843     ;;
16844 esac
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916 for ac_func in \
16917         _pclose \
16918         _popen \
16919         _snprintf \
16920         _spawnvp \
16921         _strdup \
16922         _stricmp \
16923         _strnicmp \
16924         _strtoi64 \
16925         _strtoui64 \
16926         _vsnprintf \
16927         asctime_r \
16928         chsize \
16929         clone \
16930         dlopen \
16931         epoll_create \
16932         ffs \
16933         finite \
16934         fork \
16935         fpclass \
16936         fstatfs \
16937         fstatvfs \
16938         ftruncate \
16939         futimes \
16940         futimesat \
16941         getdirentries \
16942         getopt_long \
16943         getpagesize \
16944         getpwuid \
16945         gettid \
16946         gettimeofday \
16947         getuid \
16948         inet_pton \
16949         kqueue \
16950         lstat \
16951         memmove \
16952         mmap \
16953         pclose \
16954         poll \
16955         popen \
16956         prctl \
16957         pread \
16958         pwrite \
16959         readlink \
16960         rfork \
16961         sched_yield \
16962         select \
16963         setproctitle \
16964         setrlimit \
16965         settimeofday \
16966         sigaltstack \
16967         sigprocmask \
16968         snprintf \
16969         spawnvp \
16970         statfs \
16971         statvfs \
16972         strcasecmp \
16973         strdup \
16974         strerror \
16975         strncasecmp \
16976         strtold \
16977         strtoll \
16978         strtoull \
16979         tcgetattr \
16980         thr_kill2 \
16981         timegm \
16982         usleep \
16983         vsnprintf \
16984         wait4 \
16985         waitpid \
16986
16987 do
16988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16989 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16992   echo $ECHO_N "(cached) $ECHO_C" >&6
16993 else
16994   cat >conftest.$ac_ext <<_ACEOF
16995 /* confdefs.h.  */
16996 _ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h.  */
17000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17002 #define $ac_func innocuous_$ac_func
17003
17004 /* System header to define __stub macros and hopefully few prototypes,
17005     which can conflict with char $ac_func (); below.
17006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17007     <limits.h> exists even on freestanding compilers.  */
17008
17009 #ifdef __STDC__
17010 # include <limits.h>
17011 #else
17012 # include <assert.h>
17013 #endif
17014
17015 #undef $ac_func
17016
17017 /* Override any GCC internal prototype to avoid an error.
17018    Use char because int might match the return type of a GCC
17019    builtin and then its argument prototype would still apply.  */
17020 #ifdef __cplusplus
17021 extern "C"
17022 #endif
17023 char $ac_func ();
17024 /* The GNU C library defines this for functions which it implements
17025     to always fail with ENOSYS.  Some functions are actually named
17026     something starting with __ and the normal name is an alias.  */
17027 #if defined __stub_$ac_func || defined __stub___$ac_func
17028 choke me
17029 #endif
17030
17031 int
17032 main ()
17033 {
17034 return $ac_func ();
17035   ;
17036   return 0;
17037 }
17038 _ACEOF
17039 rm -f conftest.$ac_objext conftest$ac_exeext
17040 if { (ac_try="$ac_link"
17041 case "(($ac_try" in
17042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17043   *) ac_try_echo=$ac_try;;
17044 esac
17045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17046   (eval "$ac_link") 2>conftest.er1
17047   ac_status=$?
17048   grep -v '^ *+' conftest.er1 >conftest.err
17049   rm -f conftest.er1
17050   cat conftest.err >&5
17051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052   (exit $ac_status); } && {
17053          test -z "$ac_c_werror_flag" ||
17054          test ! -s conftest.err
17055        } && test -s conftest$ac_exeext &&
17056        $as_test_x conftest$ac_exeext; then
17057   eval "$as_ac_var=yes"
17058 else
17059   echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17061
17062         eval "$as_ac_var=no"
17063 fi
17064
17065 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17066       conftest$ac_exeext conftest.$ac_ext
17067 fi
17068 ac_res=`eval echo '${'$as_ac_var'}'`
17069                { echo "$as_me:$LINENO: result: $ac_res" >&5
17070 echo "${ECHO_T}$ac_res" >&6; }
17071 if test `eval echo '${'$as_ac_var'}'` = yes; then
17072   cat >>confdefs.h <<_ACEOF
17073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17074 _ACEOF
17075
17076 fi
17077 done
17078
17079
17080 if test "$ac_cv_func_dlopen" = no
17081 then
17082     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17083 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
17084 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17085   echo $ECHO_N "(cached) $ECHO_C" >&6
17086 else
17087   ac_check_lib_save_LIBS=$LIBS
17088 LIBS="-ldl  $LIBS"
17089 cat >conftest.$ac_ext <<_ACEOF
17090 /* confdefs.h.  */
17091 _ACEOF
17092 cat confdefs.h >>conftest.$ac_ext
17093 cat >>conftest.$ac_ext <<_ACEOF
17094 /* end confdefs.h.  */
17095
17096 /* Override any GCC internal prototype to avoid an error.
17097    Use char because int might match the return type of a GCC
17098    builtin and then its argument prototype would still apply.  */
17099 #ifdef __cplusplus
17100 extern "C"
17101 #endif
17102 char dlopen ();
17103 int
17104 main ()
17105 {
17106 return dlopen ();
17107   ;
17108   return 0;
17109 }
17110 _ACEOF
17111 rm -f conftest.$ac_objext conftest$ac_exeext
17112 if { (ac_try="$ac_link"
17113 case "(($ac_try" in
17114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17115   *) ac_try_echo=$ac_try;;
17116 esac
17117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17118   (eval "$ac_link") 2>conftest.er1
17119   ac_status=$?
17120   grep -v '^ *+' conftest.er1 >conftest.err
17121   rm -f conftest.er1
17122   cat conftest.err >&5
17123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124   (exit $ac_status); } && {
17125          test -z "$ac_c_werror_flag" ||
17126          test ! -s conftest.err
17127        } && test -s conftest$ac_exeext &&
17128        $as_test_x conftest$ac_exeext; then
17129   ac_cv_lib_dl_dlopen=yes
17130 else
17131   echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17133
17134         ac_cv_lib_dl_dlopen=no
17135 fi
17136
17137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17138       conftest$ac_exeext conftest.$ac_ext
17139 LIBS=$ac_check_lib_save_LIBS
17140 fi
17141 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17142 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
17143 if test $ac_cv_lib_dl_dlopen = yes; then
17144   cat >>confdefs.h <<\_ACEOF
17145 #define HAVE_DLOPEN 1
17146 _ACEOF
17147  LIBDL="-ldl"
17148
17149 fi
17150
17151 fi
17152 ac_wine_check_funcs_save_LIBS="$LIBS"
17153 LIBS="$LIBS $LIBDL"
17154
17155 for ac_func in dladdr
17156 do
17157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17158 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17160 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17161   echo $ECHO_N "(cached) $ECHO_C" >&6
17162 else
17163   cat >conftest.$ac_ext <<_ACEOF
17164 /* confdefs.h.  */
17165 _ACEOF
17166 cat confdefs.h >>conftest.$ac_ext
17167 cat >>conftest.$ac_ext <<_ACEOF
17168 /* end confdefs.h.  */
17169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17170    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17171 #define $ac_func innocuous_$ac_func
17172
17173 /* System header to define __stub macros and hopefully few prototypes,
17174     which can conflict with char $ac_func (); below.
17175     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17176     <limits.h> exists even on freestanding compilers.  */
17177
17178 #ifdef __STDC__
17179 # include <limits.h>
17180 #else
17181 # include <assert.h>
17182 #endif
17183
17184 #undef $ac_func
17185
17186 /* Override any GCC internal prototype to avoid an error.
17187    Use char because int might match the return type of a GCC
17188    builtin and then its argument prototype would still apply.  */
17189 #ifdef __cplusplus
17190 extern "C"
17191 #endif
17192 char $ac_func ();
17193 /* The GNU C library defines this for functions which it implements
17194     to always fail with ENOSYS.  Some functions are actually named
17195     something starting with __ and the normal name is an alias.  */
17196 #if defined __stub_$ac_func || defined __stub___$ac_func
17197 choke me
17198 #endif
17199
17200 int
17201 main ()
17202 {
17203 return $ac_func ();
17204   ;
17205   return 0;
17206 }
17207 _ACEOF
17208 rm -f conftest.$ac_objext conftest$ac_exeext
17209 if { (ac_try="$ac_link"
17210 case "(($ac_try" in
17211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17212   *) ac_try_echo=$ac_try;;
17213 esac
17214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17215   (eval "$ac_link") 2>conftest.er1
17216   ac_status=$?
17217   grep -v '^ *+' conftest.er1 >conftest.err
17218   rm -f conftest.er1
17219   cat conftest.err >&5
17220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221   (exit $ac_status); } && {
17222          test -z "$ac_c_werror_flag" ||
17223          test ! -s conftest.err
17224        } && test -s conftest$ac_exeext &&
17225        $as_test_x conftest$ac_exeext; then
17226   eval "$as_ac_var=yes"
17227 else
17228   echo "$as_me: failed program was:" >&5
17229 sed 's/^/| /' conftest.$ac_ext >&5
17230
17231         eval "$as_ac_var=no"
17232 fi
17233
17234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17235       conftest$ac_exeext conftest.$ac_ext
17236 fi
17237 ac_res=`eval echo '${'$as_ac_var'}'`
17238                { echo "$as_me:$LINENO: result: $ac_res" >&5
17239 echo "${ECHO_T}$ac_res" >&6; }
17240 if test `eval echo '${'$as_ac_var'}'` = yes; then
17241   cat >>confdefs.h <<_ACEOF
17242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17243 _ACEOF
17244
17245 fi
17246 done
17247
17248 LIBS="$ac_wine_check_funcs_save_LIBS"
17249
17250 if test "$ac_cv_func_poll" = no
17251 then
17252     { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
17253 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
17254 if test "${ac_cv_lib_poll_poll+set}" = set; then
17255   echo $ECHO_N "(cached) $ECHO_C" >&6
17256 else
17257   ac_check_lib_save_LIBS=$LIBS
17258 LIBS="-lpoll  $LIBS"
17259 cat >conftest.$ac_ext <<_ACEOF
17260 /* confdefs.h.  */
17261 _ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h.  */
17265
17266 /* Override any GCC internal prototype to avoid an error.
17267    Use char because int might match the return type of a GCC
17268    builtin and then its argument prototype would still apply.  */
17269 #ifdef __cplusplus
17270 extern "C"
17271 #endif
17272 char poll ();
17273 int
17274 main ()
17275 {
17276 return poll ();
17277   ;
17278   return 0;
17279 }
17280 _ACEOF
17281 rm -f conftest.$ac_objext conftest$ac_exeext
17282 if { (ac_try="$ac_link"
17283 case "(($ac_try" in
17284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17285   *) ac_try_echo=$ac_try;;
17286 esac
17287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17288   (eval "$ac_link") 2>conftest.er1
17289   ac_status=$?
17290   grep -v '^ *+' conftest.er1 >conftest.err
17291   rm -f conftest.er1
17292   cat conftest.err >&5
17293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17294   (exit $ac_status); } && {
17295          test -z "$ac_c_werror_flag" ||
17296          test ! -s conftest.err
17297        } && test -s conftest$ac_exeext &&
17298        $as_test_x conftest$ac_exeext; then
17299   ac_cv_lib_poll_poll=yes
17300 else
17301   echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.$ac_ext >&5
17303
17304         ac_cv_lib_poll_poll=no
17305 fi
17306
17307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17308       conftest$ac_exeext conftest.$ac_ext
17309 LIBS=$ac_check_lib_save_LIBS
17310 fi
17311 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
17312 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
17313 if test $ac_cv_lib_poll_poll = yes; then
17314   cat >>confdefs.h <<\_ACEOF
17315 #define HAVE_POLL 1
17316 _ACEOF
17317  LIBPOLL="-lpoll"
17318
17319 fi
17320
17321 fi
17322
17323 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
17324 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
17325 if test "${ac_cv_search_gethostbyname+set}" = set; then
17326   echo $ECHO_N "(cached) $ECHO_C" >&6
17327 else
17328   ac_func_search_save_LIBS=$LIBS
17329 cat >conftest.$ac_ext <<_ACEOF
17330 /* confdefs.h.  */
17331 _ACEOF
17332 cat confdefs.h >>conftest.$ac_ext
17333 cat >>conftest.$ac_ext <<_ACEOF
17334 /* end confdefs.h.  */
17335
17336 /* Override any GCC internal prototype to avoid an error.
17337    Use char because int might match the return type of a GCC
17338    builtin and then its argument prototype would still apply.  */
17339 #ifdef __cplusplus
17340 extern "C"
17341 #endif
17342 char gethostbyname ();
17343 int
17344 main ()
17345 {
17346 return gethostbyname ();
17347   ;
17348   return 0;
17349 }
17350 _ACEOF
17351 for ac_lib in '' nsl; do
17352   if test -z "$ac_lib"; then
17353     ac_res="none required"
17354   else
17355     ac_res=-l$ac_lib
17356     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17357   fi
17358   rm -f conftest.$ac_objext conftest$ac_exeext
17359 if { (ac_try="$ac_link"
17360 case "(($ac_try" in
17361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17362   *) ac_try_echo=$ac_try;;
17363 esac
17364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17365   (eval "$ac_link") 2>conftest.er1
17366   ac_status=$?
17367   grep -v '^ *+' conftest.er1 >conftest.err
17368   rm -f conftest.er1
17369   cat conftest.err >&5
17370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17371   (exit $ac_status); } && {
17372          test -z "$ac_c_werror_flag" ||
17373          test ! -s conftest.err
17374        } && test -s conftest$ac_exeext &&
17375        $as_test_x conftest$ac_exeext; then
17376   ac_cv_search_gethostbyname=$ac_res
17377 else
17378   echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.$ac_ext >&5
17380
17381
17382 fi
17383
17384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17385       conftest$ac_exeext
17386   if test "${ac_cv_search_gethostbyname+set}" = set; then
17387   break
17388 fi
17389 done
17390 if test "${ac_cv_search_gethostbyname+set}" = set; then
17391   :
17392 else
17393   ac_cv_search_gethostbyname=no
17394 fi
17395 rm conftest.$ac_ext
17396 LIBS=$ac_func_search_save_LIBS
17397 fi
17398 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
17399 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
17400 ac_res=$ac_cv_search_gethostbyname
17401 if test "$ac_res" != no; then
17402   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17403
17404 fi
17405
17406
17407 { echo "$as_me:$LINENO: checking for library containing connect" >&5
17408 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
17409 if test "${ac_cv_search_connect+set}" = set; then
17410   echo $ECHO_N "(cached) $ECHO_C" >&6
17411 else
17412   ac_func_search_save_LIBS=$LIBS
17413 cat >conftest.$ac_ext <<_ACEOF
17414 /* confdefs.h.  */
17415 _ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h.  */
17419
17420 /* Override any GCC internal prototype to avoid an error.
17421    Use char because int might match the return type of a GCC
17422    builtin and then its argument prototype would still apply.  */
17423 #ifdef __cplusplus
17424 extern "C"
17425 #endif
17426 char connect ();
17427 int
17428 main ()
17429 {
17430 return connect ();
17431   ;
17432   return 0;
17433 }
17434 _ACEOF
17435 for ac_lib in '' socket; do
17436   if test -z "$ac_lib"; then
17437     ac_res="none required"
17438   else
17439     ac_res=-l$ac_lib
17440     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17441   fi
17442   rm -f conftest.$ac_objext conftest$ac_exeext
17443 if { (ac_try="$ac_link"
17444 case "(($ac_try" in
17445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17446   *) ac_try_echo=$ac_try;;
17447 esac
17448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17449   (eval "$ac_link") 2>conftest.er1
17450   ac_status=$?
17451   grep -v '^ *+' conftest.er1 >conftest.err
17452   rm -f conftest.er1
17453   cat conftest.err >&5
17454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455   (exit $ac_status); } && {
17456          test -z "$ac_c_werror_flag" ||
17457          test ! -s conftest.err
17458        } && test -s conftest$ac_exeext &&
17459        $as_test_x conftest$ac_exeext; then
17460   ac_cv_search_connect=$ac_res
17461 else
17462   echo "$as_me: failed program was:" >&5
17463 sed 's/^/| /' conftest.$ac_ext >&5
17464
17465
17466 fi
17467
17468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17469       conftest$ac_exeext
17470   if test "${ac_cv_search_connect+set}" = set; then
17471   break
17472 fi
17473 done
17474 if test "${ac_cv_search_connect+set}" = set; then
17475   :
17476 else
17477   ac_cv_search_connect=no
17478 fi
17479 rm conftest.$ac_ext
17480 LIBS=$ac_func_search_save_LIBS
17481 fi
17482 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
17483 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
17484 ac_res=$ac_cv_search_connect
17485 if test "$ac_res" != no; then
17486   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17487
17488 fi
17489
17490
17491 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
17492 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
17493 if test "${ac_cv_search_inet_aton+set}" = set; then
17494   echo $ECHO_N "(cached) $ECHO_C" >&6
17495 else
17496   ac_func_search_save_LIBS=$LIBS
17497 cat >conftest.$ac_ext <<_ACEOF
17498 /* confdefs.h.  */
17499 _ACEOF
17500 cat confdefs.h >>conftest.$ac_ext
17501 cat >>conftest.$ac_ext <<_ACEOF
17502 /* end confdefs.h.  */
17503
17504 /* Override any GCC internal prototype to avoid an error.
17505    Use char because int might match the return type of a GCC
17506    builtin and then its argument prototype would still apply.  */
17507 #ifdef __cplusplus
17508 extern "C"
17509 #endif
17510 char inet_aton ();
17511 int
17512 main ()
17513 {
17514 return inet_aton ();
17515   ;
17516   return 0;
17517 }
17518 _ACEOF
17519 for ac_lib in '' resolv; do
17520   if test -z "$ac_lib"; then
17521     ac_res="none required"
17522   else
17523     ac_res=-l$ac_lib
17524     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
17525   fi
17526   rm -f conftest.$ac_objext conftest$ac_exeext
17527 if { (ac_try="$ac_link"
17528 case "(($ac_try" in
17529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17530   *) ac_try_echo=$ac_try;;
17531 esac
17532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17533   (eval "$ac_link") 2>conftest.er1
17534   ac_status=$?
17535   grep -v '^ *+' conftest.er1 >conftest.err
17536   rm -f conftest.er1
17537   cat conftest.err >&5
17538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17539   (exit $ac_status); } && {
17540          test -z "$ac_c_werror_flag" ||
17541          test ! -s conftest.err
17542        } && test -s conftest$ac_exeext &&
17543        $as_test_x conftest$ac_exeext; then
17544   ac_cv_search_inet_aton=$ac_res
17545 else
17546   echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.$ac_ext >&5
17548
17549
17550 fi
17551
17552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17553       conftest$ac_exeext
17554   if test "${ac_cv_search_inet_aton+set}" = set; then
17555   break
17556 fi
17557 done
17558 if test "${ac_cv_search_inet_aton+set}" = set; then
17559   :
17560 else
17561   ac_cv_search_inet_aton=no
17562 fi
17563 rm conftest.$ac_ext
17564 LIBS=$ac_func_search_save_LIBS
17565 fi
17566 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
17567 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
17568 ac_res=$ac_cv_search_inet_aton
17569 if test "$ac_res" != no; then
17570   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17571
17572 fi
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583 for ac_func in \
17584         getaddrinfo \
17585         getnameinfo \
17586         getnetbyname \
17587         getprotobyname \
17588         getprotobynumber \
17589         getservbyport \
17590         inet_network \
17591         sendmsg \
17592
17593 do
17594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17595 { echo "$as_me:$LINENO: checking for $ac_func" >&5
17596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
17597 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
17598   echo $ECHO_N "(cached) $ECHO_C" >&6
17599 else
17600   cat >conftest.$ac_ext <<_ACEOF
17601 /* confdefs.h.  */
17602 _ACEOF
17603 cat confdefs.h >>conftest.$ac_ext
17604 cat >>conftest.$ac_ext <<_ACEOF
17605 /* end confdefs.h.  */
17606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17608 #define $ac_func innocuous_$ac_func
17609
17610 /* System header to define __stub macros and hopefully few prototypes,
17611     which can conflict with char $ac_func (); below.
17612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17613     <limits.h> exists even on freestanding compilers.  */
17614
17615 #ifdef __STDC__
17616 # include <limits.h>
17617 #else
17618 # include <assert.h>
17619 #endif
17620
17621 #undef $ac_func
17622
17623 /* Override any GCC internal prototype to avoid an error.
17624    Use char because int might match the return type of a GCC
17625    builtin and then its argument prototype would still apply.  */
17626 #ifdef __cplusplus
17627 extern "C"
17628 #endif
17629 char $ac_func ();
17630 /* The GNU C library defines this for functions which it implements
17631     to always fail with ENOSYS.  Some functions are actually named
17632     something starting with __ and the normal name is an alias.  */
17633 #if defined __stub_$ac_func || defined __stub___$ac_func
17634 choke me
17635 #endif
17636
17637 int
17638 main ()
17639 {
17640 return $ac_func ();
17641   ;
17642   return 0;
17643 }
17644 _ACEOF
17645 rm -f conftest.$ac_objext conftest$ac_exeext
17646 if { (ac_try="$ac_link"
17647 case "(($ac_try" in
17648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17649   *) ac_try_echo=$ac_try;;
17650 esac
17651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17652   (eval "$ac_link") 2>conftest.er1
17653   ac_status=$?
17654   grep -v '^ *+' conftest.er1 >conftest.err
17655   rm -f conftest.er1
17656   cat conftest.err >&5
17657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658   (exit $ac_status); } && {
17659          test -z "$ac_c_werror_flag" ||
17660          test ! -s conftest.err
17661        } && test -s conftest$ac_exeext &&
17662        $as_test_x conftest$ac_exeext; then
17663   eval "$as_ac_var=yes"
17664 else
17665   echo "$as_me: failed program was:" >&5
17666 sed 's/^/| /' conftest.$ac_ext >&5
17667
17668         eval "$as_ac_var=no"
17669 fi
17670
17671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17672       conftest$ac_exeext conftest.$ac_ext
17673 fi
17674 ac_res=`eval echo '${'$as_ac_var'}'`
17675                { echo "$as_me:$LINENO: result: $ac_res" >&5
17676 echo "${ECHO_T}$ac_res" >&6; }
17677 if test `eval echo '${'$as_ac_var'}'` = yes; then
17678   cat >>confdefs.h <<_ACEOF
17679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17680 _ACEOF
17681
17682 fi
17683 done
17684
17685
17686
17687 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17688 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17689 if test "${ac_cv_c_const+set}" = set; then
17690   echo $ECHO_N "(cached) $ECHO_C" >&6
17691 else
17692   cat >conftest.$ac_ext <<_ACEOF
17693 /* confdefs.h.  */
17694 _ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h.  */
17698
17699 int
17700 main ()
17701 {
17702 /* FIXME: Include the comments suggested by Paul. */
17703 #ifndef __cplusplus
17704   /* Ultrix mips cc rejects this.  */
17705   typedef int charset[2];
17706   const charset cs;
17707   /* SunOS 4.1.1 cc rejects this.  */
17708   char const *const *pcpcc;
17709   char **ppc;
17710   /* NEC SVR4.0.2 mips cc rejects this.  */
17711   struct point {int x, y;};
17712   static struct point const zero = {0,0};
17713   /* AIX XL C 1.02.0.0 rejects this.
17714      It does not let you subtract one const X* pointer from another in
17715      an arm of an if-expression whose if-part is not a constant
17716      expression */
17717   const char *g = "string";
17718   pcpcc = &g + (g ? g-g : 0);
17719   /* HPUX 7.0 cc rejects these. */
17720   ++pcpcc;
17721   ppc = (char**) pcpcc;
17722   pcpcc = (char const *const *) ppc;
17723   { /* SCO 3.2v4 cc rejects this.  */
17724     char *t;
17725     char const *s = 0 ? (char *) 0 : (char const *) 0;
17726
17727     *t++ = 0;
17728     if (s) return 0;
17729   }
17730   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
17731     int x[] = {25, 17};
17732     const int *foo = &x[0];
17733     ++foo;
17734   }
17735   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17736     typedef const int *iptr;
17737     iptr p = 0;
17738     ++p;
17739   }
17740   { /* AIX XL C 1.02.0.0 rejects this saying
17741        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17742     struct s { int j; const int *ap[3]; };
17743     struct s *b; b->j = 5;
17744   }
17745   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17746     const int foo = 10;
17747     if (!foo) return 0;
17748   }
17749   return !cs[0] && !zero.x;
17750 #endif
17751
17752   ;
17753   return 0;
17754 }
17755 _ACEOF
17756 rm -f conftest.$ac_objext
17757 if { (ac_try="$ac_compile"
17758 case "(($ac_try" in
17759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760   *) ac_try_echo=$ac_try;;
17761 esac
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763   (eval "$ac_compile") 2>conftest.er1
17764   ac_status=$?
17765   grep -v '^ *+' conftest.er1 >conftest.err
17766   rm -f conftest.er1
17767   cat conftest.err >&5
17768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769   (exit $ac_status); } && {
17770          test -z "$ac_c_werror_flag" ||
17771          test ! -s conftest.err
17772        } && test -s conftest.$ac_objext; then
17773   ac_cv_c_const=yes
17774 else
17775   echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17777
17778         ac_cv_c_const=no
17779 fi
17780
17781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 fi
17783 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17784 echo "${ECHO_T}$ac_cv_c_const" >&6; }
17785 if test $ac_cv_c_const = no; then
17786
17787 cat >>confdefs.h <<\_ACEOF
17788 #define const
17789 _ACEOF
17790
17791 fi
17792
17793 { echo "$as_me:$LINENO: checking for inline" >&5
17794 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
17795 if test "${ac_cv_c_inline+set}" = set; then
17796   echo $ECHO_N "(cached) $ECHO_C" >&6
17797 else
17798   ac_cv_c_inline=no
17799 for ac_kw in inline __inline__ __inline; do
17800   cat >conftest.$ac_ext <<_ACEOF
17801 /* confdefs.h.  */
17802 _ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h.  */
17806 #ifndef __cplusplus
17807 typedef int foo_t;
17808 static $ac_kw foo_t static_foo () {return 0; }
17809 $ac_kw foo_t foo () {return 0; }
17810 #endif
17811
17812 _ACEOF
17813 rm -f conftest.$ac_objext
17814 if { (ac_try="$ac_compile"
17815 case "(($ac_try" in
17816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17817   *) ac_try_echo=$ac_try;;
17818 esac
17819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17820   (eval "$ac_compile") 2>conftest.er1
17821   ac_status=$?
17822   grep -v '^ *+' conftest.er1 >conftest.err
17823   rm -f conftest.er1
17824   cat conftest.err >&5
17825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826   (exit $ac_status); } && {
17827          test -z "$ac_c_werror_flag" ||
17828          test ! -s conftest.err
17829        } && test -s conftest.$ac_objext; then
17830   ac_cv_c_inline=$ac_kw
17831 else
17832   echo "$as_me: failed program was:" >&5
17833 sed 's/^/| /' conftest.$ac_ext >&5
17834
17835
17836 fi
17837
17838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839   test "$ac_cv_c_inline" != no && break
17840 done
17841
17842 fi
17843 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17844 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
17845
17846
17847 case $ac_cv_c_inline in
17848   inline | yes) ;;
17849   *)
17850     case $ac_cv_c_inline in
17851       no) ac_val=;;
17852       *) ac_val=$ac_cv_c_inline;;
17853     esac
17854     cat >>confdefs.h <<_ACEOF
17855 #ifndef __cplusplus
17856 #define inline $ac_val
17857 #endif
17858 _ACEOF
17859     ;;
17860 esac
17861
17862 { echo "$as_me:$LINENO: checking for mode_t" >&5
17863 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
17864 if test "${ac_cv_type_mode_t+set}" = set; then
17865   echo $ECHO_N "(cached) $ECHO_C" >&6
17866 else
17867   cat >conftest.$ac_ext <<_ACEOF
17868 /* confdefs.h.  */
17869 _ACEOF
17870 cat confdefs.h >>conftest.$ac_ext
17871 cat >>conftest.$ac_ext <<_ACEOF
17872 /* end confdefs.h.  */
17873 $ac_includes_default
17874 typedef mode_t ac__type_new_;
17875 int
17876 main ()
17877 {
17878 if ((ac__type_new_ *) 0)
17879   return 0;
17880 if (sizeof (ac__type_new_))
17881   return 0;
17882   ;
17883   return 0;
17884 }
17885 _ACEOF
17886 rm -f conftest.$ac_objext
17887 if { (ac_try="$ac_compile"
17888 case "(($ac_try" in
17889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17890   *) ac_try_echo=$ac_try;;
17891 esac
17892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17893   (eval "$ac_compile") 2>conftest.er1
17894   ac_status=$?
17895   grep -v '^ *+' conftest.er1 >conftest.err
17896   rm -f conftest.er1
17897   cat conftest.err >&5
17898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899   (exit $ac_status); } && {
17900          test -z "$ac_c_werror_flag" ||
17901          test ! -s conftest.err
17902        } && test -s conftest.$ac_objext; then
17903   ac_cv_type_mode_t=yes
17904 else
17905   echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.$ac_ext >&5
17907
17908         ac_cv_type_mode_t=no
17909 fi
17910
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 fi
17913 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17914 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
17915 if test $ac_cv_type_mode_t = yes; then
17916
17917 cat >>confdefs.h <<_ACEOF
17918 #define HAVE_MODE_T 1
17919 _ACEOF
17920
17921
17922 fi
17923 { echo "$as_me:$LINENO: checking for off_t" >&5
17924 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
17925 if test "${ac_cv_type_off_t+set}" = set; then
17926   echo $ECHO_N "(cached) $ECHO_C" >&6
17927 else
17928   cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h.  */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h.  */
17934 $ac_includes_default
17935 typedef off_t ac__type_new_;
17936 int
17937 main ()
17938 {
17939 if ((ac__type_new_ *) 0)
17940   return 0;
17941 if (sizeof (ac__type_new_))
17942   return 0;
17943   ;
17944   return 0;
17945 }
17946 _ACEOF
17947 rm -f conftest.$ac_objext
17948 if { (ac_try="$ac_compile"
17949 case "(($ac_try" in
17950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17951   *) ac_try_echo=$ac_try;;
17952 esac
17953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17954   (eval "$ac_compile") 2>conftest.er1
17955   ac_status=$?
17956   grep -v '^ *+' conftest.er1 >conftest.err
17957   rm -f conftest.er1
17958   cat conftest.err >&5
17959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17960   (exit $ac_status); } && {
17961          test -z "$ac_c_werror_flag" ||
17962          test ! -s conftest.err
17963        } && test -s conftest.$ac_objext; then
17964   ac_cv_type_off_t=yes
17965 else
17966   echo "$as_me: failed program was:" >&5
17967 sed 's/^/| /' conftest.$ac_ext >&5
17968
17969         ac_cv_type_off_t=no
17970 fi
17971
17972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17973 fi
17974 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17975 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
17976 if test $ac_cv_type_off_t = yes; then
17977
17978 cat >>confdefs.h <<_ACEOF
17979 #define HAVE_OFF_T 1
17980 _ACEOF
17981
17982
17983 fi
17984 { echo "$as_me:$LINENO: checking for pid_t" >&5
17985 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
17986 if test "${ac_cv_type_pid_t+set}" = set; then
17987   echo $ECHO_N "(cached) $ECHO_C" >&6
17988 else
17989   cat >conftest.$ac_ext <<_ACEOF
17990 /* confdefs.h.  */
17991 _ACEOF
17992 cat confdefs.h >>conftest.$ac_ext
17993 cat >>conftest.$ac_ext <<_ACEOF
17994 /* end confdefs.h.  */
17995 $ac_includes_default
17996 typedef pid_t ac__type_new_;
17997 int
17998 main ()
17999 {
18000 if ((ac__type_new_ *) 0)
18001   return 0;
18002 if (sizeof (ac__type_new_))
18003   return 0;
18004   ;
18005   return 0;
18006 }
18007 _ACEOF
18008 rm -f conftest.$ac_objext
18009 if { (ac_try="$ac_compile"
18010 case "(($ac_try" in
18011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18012   *) ac_try_echo=$ac_try;;
18013 esac
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015   (eval "$ac_compile") 2>conftest.er1
18016   ac_status=$?
18017   grep -v '^ *+' conftest.er1 >conftest.err
18018   rm -f conftest.er1
18019   cat conftest.err >&5
18020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021   (exit $ac_status); } && {
18022          test -z "$ac_c_werror_flag" ||
18023          test ! -s conftest.err
18024        } && test -s conftest.$ac_objext; then
18025   ac_cv_type_pid_t=yes
18026 else
18027   echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18029
18030         ac_cv_type_pid_t=no
18031 fi
18032
18033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18034 fi
18035 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
18036 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
18037 if test $ac_cv_type_pid_t = yes; then
18038
18039 cat >>confdefs.h <<_ACEOF
18040 #define HAVE_PID_T 1
18041 _ACEOF
18042
18043
18044 fi
18045 { echo "$as_me:$LINENO: checking for size_t" >&5
18046 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
18047 if test "${ac_cv_type_size_t+set}" = set; then
18048   echo $ECHO_N "(cached) $ECHO_C" >&6
18049 else
18050   cat >conftest.$ac_ext <<_ACEOF
18051 /* confdefs.h.  */
18052 _ACEOF
18053 cat confdefs.h >>conftest.$ac_ext
18054 cat >>conftest.$ac_ext <<_ACEOF
18055 /* end confdefs.h.  */
18056 $ac_includes_default
18057 typedef size_t ac__type_new_;
18058 int
18059 main ()
18060 {
18061 if ((ac__type_new_ *) 0)
18062   return 0;
18063 if (sizeof (ac__type_new_))
18064   return 0;
18065   ;
18066   return 0;
18067 }
18068 _ACEOF
18069 rm -f conftest.$ac_objext
18070 if { (ac_try="$ac_compile"
18071 case "(($ac_try" in
18072   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18073   *) ac_try_echo=$ac_try;;
18074 esac
18075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18076   (eval "$ac_compile") 2>conftest.er1
18077   ac_status=$?
18078   grep -v '^ *+' conftest.er1 >conftest.err
18079   rm -f conftest.er1
18080   cat conftest.err >&5
18081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18082   (exit $ac_status); } && {
18083          test -z "$ac_c_werror_flag" ||
18084          test ! -s conftest.err
18085        } && test -s conftest.$ac_objext; then
18086   ac_cv_type_size_t=yes
18087 else
18088   echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18090
18091         ac_cv_type_size_t=no
18092 fi
18093
18094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18095 fi
18096 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
18097 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
18098 if test $ac_cv_type_size_t = yes; then
18099
18100 cat >>confdefs.h <<_ACEOF
18101 #define HAVE_SIZE_T 1
18102 _ACEOF
18103
18104
18105 fi
18106 { echo "$as_me:$LINENO: checking for ssize_t" >&5
18107 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
18108 if test "${ac_cv_type_ssize_t+set}" = set; then
18109   echo $ECHO_N "(cached) $ECHO_C" >&6
18110 else
18111   cat >conftest.$ac_ext <<_ACEOF
18112 /* confdefs.h.  */
18113 _ACEOF
18114 cat confdefs.h >>conftest.$ac_ext
18115 cat >>conftest.$ac_ext <<_ACEOF
18116 /* end confdefs.h.  */
18117 $ac_includes_default
18118 typedef ssize_t ac__type_new_;
18119 int
18120 main ()
18121 {
18122 if ((ac__type_new_ *) 0)
18123   return 0;
18124 if (sizeof (ac__type_new_))
18125   return 0;
18126   ;
18127   return 0;
18128 }
18129 _ACEOF
18130 rm -f conftest.$ac_objext
18131 if { (ac_try="$ac_compile"
18132 case "(($ac_try" in
18133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18134   *) ac_try_echo=$ac_try;;
18135 esac
18136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18137   (eval "$ac_compile") 2>conftest.er1
18138   ac_status=$?
18139   grep -v '^ *+' conftest.er1 >conftest.err
18140   rm -f conftest.er1
18141   cat conftest.err >&5
18142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18143   (exit $ac_status); } && {
18144          test -z "$ac_c_werror_flag" ||
18145          test ! -s conftest.err
18146        } && test -s conftest.$ac_objext; then
18147   ac_cv_type_ssize_t=yes
18148 else
18149   echo "$as_me: failed program was:" >&5
18150 sed 's/^/| /' conftest.$ac_ext >&5
18151
18152         ac_cv_type_ssize_t=no
18153 fi
18154
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18156 fi
18157 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
18158 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
18159 if test $ac_cv_type_ssize_t = yes; then
18160
18161 cat >>confdefs.h <<_ACEOF
18162 #define HAVE_SSIZE_T 1
18163 _ACEOF
18164
18165
18166 fi
18167 { echo "$as_me:$LINENO: checking for long long" >&5
18168 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
18169 if test "${ac_cv_type_long_long+set}" = set; then
18170   echo $ECHO_N "(cached) $ECHO_C" >&6
18171 else
18172   cat >conftest.$ac_ext <<_ACEOF
18173 /* confdefs.h.  */
18174 _ACEOF
18175 cat confdefs.h >>conftest.$ac_ext
18176 cat >>conftest.$ac_ext <<_ACEOF
18177 /* end confdefs.h.  */
18178 $ac_includes_default
18179 typedef long long ac__type_new_;
18180 int
18181 main ()
18182 {
18183 if ((ac__type_new_ *) 0)
18184   return 0;
18185 if (sizeof (ac__type_new_))
18186   return 0;
18187   ;
18188   return 0;
18189 }
18190 _ACEOF
18191 rm -f conftest.$ac_objext
18192 if { (ac_try="$ac_compile"
18193 case "(($ac_try" in
18194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18195   *) ac_try_echo=$ac_try;;
18196 esac
18197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18198   (eval "$ac_compile") 2>conftest.er1
18199   ac_status=$?
18200   grep -v '^ *+' conftest.er1 >conftest.err
18201   rm -f conftest.er1
18202   cat conftest.err >&5
18203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18204   (exit $ac_status); } && {
18205          test -z "$ac_c_werror_flag" ||
18206          test ! -s conftest.err
18207        } && test -s conftest.$ac_objext; then
18208   ac_cv_type_long_long=yes
18209 else
18210   echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.$ac_ext >&5
18212
18213         ac_cv_type_long_long=no
18214 fi
18215
18216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 fi
18218 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
18219 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
18220 if test $ac_cv_type_long_long = yes; then
18221
18222 cat >>confdefs.h <<_ACEOF
18223 #define HAVE_LONG_LONG 1
18224 _ACEOF
18225
18226
18227 fi
18228 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
18229 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
18230 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
18231   echo $ECHO_N "(cached) $ECHO_C" >&6
18232 else
18233   cat >conftest.$ac_ext <<_ACEOF
18234 /* confdefs.h.  */
18235 _ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h.  */
18239 $ac_includes_default
18240 typedef fsblkcnt_t ac__type_new_;
18241 int
18242 main ()
18243 {
18244 if ((ac__type_new_ *) 0)
18245   return 0;
18246 if (sizeof (ac__type_new_))
18247   return 0;
18248   ;
18249   return 0;
18250 }
18251 _ACEOF
18252 rm -f conftest.$ac_objext
18253 if { (ac_try="$ac_compile"
18254 case "(($ac_try" in
18255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18256   *) ac_try_echo=$ac_try;;
18257 esac
18258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18259   (eval "$ac_compile") 2>conftest.er1
18260   ac_status=$?
18261   grep -v '^ *+' conftest.er1 >conftest.err
18262   rm -f conftest.er1
18263   cat conftest.err >&5
18264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18265   (exit $ac_status); } && {
18266          test -z "$ac_c_werror_flag" ||
18267          test ! -s conftest.err
18268        } && test -s conftest.$ac_objext; then
18269   ac_cv_type_fsblkcnt_t=yes
18270 else
18271   echo "$as_me: failed program was:" >&5
18272 sed 's/^/| /' conftest.$ac_ext >&5
18273
18274         ac_cv_type_fsblkcnt_t=no
18275 fi
18276
18277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18278 fi
18279 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
18280 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
18281 if test $ac_cv_type_fsblkcnt_t = yes; then
18282
18283 cat >>confdefs.h <<_ACEOF
18284 #define HAVE_FSBLKCNT_T 1
18285 _ACEOF
18286
18287
18288 fi
18289 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
18290 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
18291 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
18292   echo $ECHO_N "(cached) $ECHO_C" >&6
18293 else
18294   cat >conftest.$ac_ext <<_ACEOF
18295 /* confdefs.h.  */
18296 _ACEOF
18297 cat confdefs.h >>conftest.$ac_ext
18298 cat >>conftest.$ac_ext <<_ACEOF
18299 /* end confdefs.h.  */
18300 $ac_includes_default
18301 typedef fsfilcnt_t ac__type_new_;
18302 int
18303 main ()
18304 {
18305 if ((ac__type_new_ *) 0)
18306   return 0;
18307 if (sizeof (ac__type_new_))
18308   return 0;
18309   ;
18310   return 0;
18311 }
18312 _ACEOF
18313 rm -f conftest.$ac_objext
18314 if { (ac_try="$ac_compile"
18315 case "(($ac_try" in
18316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18317   *) ac_try_echo=$ac_try;;
18318 esac
18319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18320   (eval "$ac_compile") 2>conftest.er1
18321   ac_status=$?
18322   grep -v '^ *+' conftest.er1 >conftest.err
18323   rm -f conftest.er1
18324   cat conftest.err >&5
18325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326   (exit $ac_status); } && {
18327          test -z "$ac_c_werror_flag" ||
18328          test ! -s conftest.err
18329        } && test -s conftest.$ac_objext; then
18330   ac_cv_type_fsfilcnt_t=yes
18331 else
18332   echo "$as_me: failed program was:" >&5
18333 sed 's/^/| /' conftest.$ac_ext >&5
18334
18335         ac_cv_type_fsfilcnt_t=no
18336 fi
18337
18338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18339 fi
18340 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
18341 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
18342 if test $ac_cv_type_fsfilcnt_t = yes; then
18343
18344 cat >>confdefs.h <<_ACEOF
18345 #define HAVE_FSFILCNT_T 1
18346 _ACEOF
18347
18348
18349 fi
18350
18351 { echo "$as_me:$LINENO: checking for sigset_t" >&5
18352 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
18353 if test "${ac_cv_type_sigset_t+set}" = set; then
18354   echo $ECHO_N "(cached) $ECHO_C" >&6
18355 else
18356   cat >conftest.$ac_ext <<_ACEOF
18357 /* confdefs.h.  */
18358 _ACEOF
18359 cat confdefs.h >>conftest.$ac_ext
18360 cat >>conftest.$ac_ext <<_ACEOF
18361 /* end confdefs.h.  */
18362 #include <signal.h>
18363
18364 typedef sigset_t ac__type_new_;
18365 int
18366 main ()
18367 {
18368 if ((ac__type_new_ *) 0)
18369   return 0;
18370 if (sizeof (ac__type_new_))
18371   return 0;
18372   ;
18373   return 0;
18374 }
18375 _ACEOF
18376 rm -f conftest.$ac_objext
18377 if { (ac_try="$ac_compile"
18378 case "(($ac_try" in
18379   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18380   *) ac_try_echo=$ac_try;;
18381 esac
18382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18383   (eval "$ac_compile") 2>conftest.er1
18384   ac_status=$?
18385   grep -v '^ *+' conftest.er1 >conftest.err
18386   rm -f conftest.er1
18387   cat conftest.err >&5
18388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18389   (exit $ac_status); } && {
18390          test -z "$ac_c_werror_flag" ||
18391          test ! -s conftest.err
18392        } && test -s conftest.$ac_objext; then
18393   ac_cv_type_sigset_t=yes
18394 else
18395   echo "$as_me: failed program was:" >&5
18396 sed 's/^/| /' conftest.$ac_ext >&5
18397
18398         ac_cv_type_sigset_t=no
18399 fi
18400
18401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18402 fi
18403 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
18404 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
18405 if test $ac_cv_type_sigset_t = yes; then
18406
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_SIGSET_T 1
18409 _ACEOF
18410
18411
18412 fi
18413
18414 { echo "$as_me:$LINENO: checking for request_sense" >&5
18415 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
18416 if test "${ac_cv_type_request_sense+set}" = set; then
18417   echo $ECHO_N "(cached) $ECHO_C" >&6
18418 else
18419   cat >conftest.$ac_ext <<_ACEOF
18420 /* confdefs.h.  */
18421 _ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h.  */
18425 #include <linux/cdrom.h>
18426
18427 typedef request_sense ac__type_new_;
18428 int
18429 main ()
18430 {
18431 if ((ac__type_new_ *) 0)
18432   return 0;
18433 if (sizeof (ac__type_new_))
18434   return 0;
18435   ;
18436   return 0;
18437 }
18438 _ACEOF
18439 rm -f conftest.$ac_objext
18440 if { (ac_try="$ac_compile"
18441 case "(($ac_try" in
18442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18443   *) ac_try_echo=$ac_try;;
18444 esac
18445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18446   (eval "$ac_compile") 2>conftest.er1
18447   ac_status=$?
18448   grep -v '^ *+' conftest.er1 >conftest.err
18449   rm -f conftest.er1
18450   cat conftest.err >&5
18451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452   (exit $ac_status); } && {
18453          test -z "$ac_c_werror_flag" ||
18454          test ! -s conftest.err
18455        } && test -s conftest.$ac_objext; then
18456   ac_cv_type_request_sense=yes
18457 else
18458   echo "$as_me: failed program was:" >&5
18459 sed 's/^/| /' conftest.$ac_ext >&5
18460
18461         ac_cv_type_request_sense=no
18462 fi
18463
18464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18465 fi
18466 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
18467 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
18468 if test $ac_cv_type_request_sense = yes; then
18469
18470 cat >>confdefs.h <<_ACEOF
18471 #define HAVE_REQUEST_SENSE 1
18472 _ACEOF
18473
18474
18475 fi
18476
18477
18478 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
18479 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
18480 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
18481   echo $ECHO_N "(cached) $ECHO_C" >&6
18482 else
18483   cat >conftest.$ac_ext <<_ACEOF
18484 /* confdefs.h.  */
18485 _ACEOF
18486 cat confdefs.h >>conftest.$ac_ext
18487 cat >>conftest.$ac_ext <<_ACEOF
18488 /* end confdefs.h.  */
18489 #ifdef HAVE_LINUX_INPUT_H
18490 #include <linux/input.h>
18491 #endif
18492
18493 int
18494 main ()
18495 {
18496 static struct ff_effect ac_aggr;
18497 if (ac_aggr.direction)
18498 return 0;
18499   ;
18500   return 0;
18501 }
18502 _ACEOF
18503 rm -f conftest.$ac_objext
18504 if { (ac_try="$ac_compile"
18505 case "(($ac_try" in
18506   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18507   *) ac_try_echo=$ac_try;;
18508 esac
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510   (eval "$ac_compile") 2>conftest.er1
18511   ac_status=$?
18512   grep -v '^ *+' conftest.er1 >conftest.err
18513   rm -f conftest.er1
18514   cat conftest.err >&5
18515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18516   (exit $ac_status); } && {
18517          test -z "$ac_c_werror_flag" ||
18518          test ! -s conftest.err
18519        } && test -s conftest.$ac_objext; then
18520   ac_cv_member_struct_ff_effect_direction=yes
18521 else
18522   echo "$as_me: failed program was:" >&5
18523 sed 's/^/| /' conftest.$ac_ext >&5
18524
18525         cat >conftest.$ac_ext <<_ACEOF
18526 /* confdefs.h.  */
18527 _ACEOF
18528 cat confdefs.h >>conftest.$ac_ext
18529 cat >>conftest.$ac_ext <<_ACEOF
18530 /* end confdefs.h.  */
18531 #ifdef HAVE_LINUX_INPUT_H
18532 #include <linux/input.h>
18533 #endif
18534
18535 int
18536 main ()
18537 {
18538 static struct ff_effect ac_aggr;
18539 if (sizeof ac_aggr.direction)
18540 return 0;
18541   ;
18542   return 0;
18543 }
18544 _ACEOF
18545 rm -f conftest.$ac_objext
18546 if { (ac_try="$ac_compile"
18547 case "(($ac_try" in
18548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18549   *) ac_try_echo=$ac_try;;
18550 esac
18551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18552   (eval "$ac_compile") 2>conftest.er1
18553   ac_status=$?
18554   grep -v '^ *+' conftest.er1 >conftest.err
18555   rm -f conftest.er1
18556   cat conftest.err >&5
18557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558   (exit $ac_status); } && {
18559          test -z "$ac_c_werror_flag" ||
18560          test ! -s conftest.err
18561        } && test -s conftest.$ac_objext; then
18562   ac_cv_member_struct_ff_effect_direction=yes
18563 else
18564   echo "$as_me: failed program was:" >&5
18565 sed 's/^/| /' conftest.$ac_ext >&5
18566
18567         ac_cv_member_struct_ff_effect_direction=no
18568 fi
18569
18570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18571 fi
18572
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18574 fi
18575 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
18576 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
18577 if test $ac_cv_member_struct_ff_effect_direction = yes; then
18578
18579 cat >>confdefs.h <<_ACEOF
18580 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18581 _ACEOF
18582
18583
18584 fi
18585
18586
18587 { echo "$as_me:$LINENO: checking for sigaddset" >&5
18588 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
18589 if test "${wine_cv_have_sigaddset+set}" = set; then
18590   echo $ECHO_N "(cached) $ECHO_C" >&6
18591 else
18592   cat >conftest.$ac_ext <<_ACEOF
18593 /* confdefs.h.  */
18594 _ACEOF
18595 cat confdefs.h >>conftest.$ac_ext
18596 cat >>conftest.$ac_ext <<_ACEOF
18597 /* end confdefs.h.  */
18598 #include <signal.h>
18599 int
18600 main ()
18601 {
18602 sigset_t set; sigaddset(&set,SIGTERM);
18603   ;
18604   return 0;
18605 }
18606 _ACEOF
18607 rm -f conftest.$ac_objext conftest$ac_exeext
18608 if { (ac_try="$ac_link"
18609 case "(($ac_try" in
18610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18611   *) ac_try_echo=$ac_try;;
18612 esac
18613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18614   (eval "$ac_link") 2>conftest.er1
18615   ac_status=$?
18616   grep -v '^ *+' conftest.er1 >conftest.err
18617   rm -f conftest.er1
18618   cat conftest.err >&5
18619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620   (exit $ac_status); } && {
18621          test -z "$ac_c_werror_flag" ||
18622          test ! -s conftest.err
18623        } && test -s conftest$ac_exeext &&
18624        $as_test_x conftest$ac_exeext; then
18625   wine_cv_have_sigaddset=yes
18626 else
18627   echo "$as_me: failed program was:" >&5
18628 sed 's/^/| /' conftest.$ac_ext >&5
18629
18630         wine_cv_have_sigaddset=no
18631 fi
18632
18633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18634       conftest$ac_exeext conftest.$ac_ext
18635 fi
18636 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
18637 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
18638 if test "$wine_cv_have_sigaddset" = "yes"
18639 then
18640
18641 cat >>confdefs.h <<\_ACEOF
18642 #define HAVE_SIGADDSET 1
18643 _ACEOF
18644
18645 fi
18646
18647
18648 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18649 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
18650 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
18651   echo $ECHO_N "(cached) $ECHO_C" >&6
18652 else
18653   cat >conftest.$ac_ext <<_ACEOF
18654 /* confdefs.h.  */
18655 _ACEOF
18656 cat confdefs.h >>conftest.$ac_ext
18657 cat >>conftest.$ac_ext <<_ACEOF
18658 /* end confdefs.h.  */
18659 #include <netdb.h>
18660 int
18661 main ()
18662 {
18663
18664     char *name=0;
18665     struct hostent he;
18666     struct hostent *result;
18667     char *buf=0;
18668     int bufsize=0;
18669     int res,errnr;
18670     char *addr=0;
18671     int addrlen=0;
18672     int addrtype=0;
18673     res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18674     res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18675
18676   ;
18677   return 0;
18678 }
18679 _ACEOF
18680 rm -f conftest.$ac_objext conftest$ac_exeext
18681 if { (ac_try="$ac_link"
18682 case "(($ac_try" in
18683   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18684   *) ac_try_echo=$ac_try;;
18685 esac
18686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18687   (eval "$ac_link") 2>conftest.er1
18688   ac_status=$?
18689   grep -v '^ *+' conftest.er1 >conftest.err
18690   rm -f conftest.er1
18691   cat conftest.err >&5
18692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18693   (exit $ac_status); } && {
18694          test -z "$ac_c_werror_flag" ||
18695          test ! -s conftest.err
18696        } && test -s conftest$ac_exeext &&
18697        $as_test_x conftest$ac_exeext; then
18698   wine_cv_linux_gethostbyname_r_6=yes
18699 else
18700   echo "$as_me: failed program was:" >&5
18701 sed 's/^/| /' conftest.$ac_ext >&5
18702
18703         wine_cv_linux_gethostbyname_r_6=no
18704
18705 fi
18706
18707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18708       conftest$ac_exeext conftest.$ac_ext
18709
18710 fi
18711 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
18712 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
18713    if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18714    then
18715
18716 cat >>confdefs.h <<\_ACEOF
18717 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18718 _ACEOF
18719
18720    fi
18721
18722 if test "$ac_cv_header_linux_joystick_h" = "yes"
18723 then
18724    { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18725 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
18726 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18727   echo $ECHO_N "(cached) $ECHO_C" >&6
18728 else
18729   cat >conftest.$ac_ext <<_ACEOF
18730 /* confdefs.h.  */
18731 _ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h.  */
18735
18736         #include <sys/ioctl.h>
18737         #include <sys/types.h>
18738         #include <linux/joystick.h>
18739
18740         struct js_event blub;
18741         #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18742         #error "no 2.2 header"
18743         #endif
18744
18745 int
18746 main ()
18747 {
18748 /*empty*/
18749   ;
18750   return 0;
18751 }
18752 _ACEOF
18753 rm -f conftest.$ac_objext
18754 if { (ac_try="$ac_compile"
18755 case "(($ac_try" in
18756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18757   *) ac_try_echo=$ac_try;;
18758 esac
18759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18760   (eval "$ac_compile") 2>conftest.er1
18761   ac_status=$?
18762   grep -v '^ *+' conftest.er1 >conftest.err
18763   rm -f conftest.er1
18764   cat conftest.err >&5
18765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766   (exit $ac_status); } && {
18767          test -z "$ac_c_werror_flag" ||
18768          test ! -s conftest.err
18769        } && test -s conftest.$ac_objext; then
18770   wine_cv_linux_joystick_22_api=yes
18771 else
18772   echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18774
18775         wine_cv_linux_joystick_22_api=no
18776 fi
18777
18778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779
18780 fi
18781 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18782 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
18783    if test "$wine_cv_linux_joystick_22_api" = "yes"
18784    then
18785
18786 cat >>confdefs.h <<\_ACEOF
18787 #define HAVE_LINUX_22_JOYSTICK_API 1
18788 _ACEOF
18789
18790    fi
18791 fi
18792
18793
18794 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18795 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
18796 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18797   echo $ECHO_N "(cached) $ECHO_C" >&6
18798 else
18799   cat >conftest.$ac_ext <<_ACEOF
18800 /* confdefs.h.  */
18801 _ACEOF
18802 cat confdefs.h >>conftest.$ac_ext
18803 cat >>conftest.$ac_ext <<_ACEOF
18804 /* end confdefs.h.  */
18805 #include <sys/types.h>
18806 #ifdef HAVE_SYS_PARAM_H
18807 # include <sys/param.h>
18808 #endif
18809 #ifdef HAVE_SYS_MOUNT_H
18810 # include <sys/mount.h>
18811 #endif
18812 #ifdef HAVE_SYS_VFS_H
18813 # include <sys/vfs.h>
18814 #endif
18815 #ifdef HAVE_SYS_STATFS_H
18816 # include <sys/statfs.h>
18817 #endif
18818
18819 int
18820 main ()
18821 {
18822 static struct statfs ac_aggr;
18823 if (ac_aggr.f_bfree)
18824 return 0;
18825   ;
18826   return 0;
18827 }
18828 _ACEOF
18829 rm -f conftest.$ac_objext
18830 if { (ac_try="$ac_compile"
18831 case "(($ac_try" in
18832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18833   *) ac_try_echo=$ac_try;;
18834 esac
18835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18836   (eval "$ac_compile") 2>conftest.er1
18837   ac_status=$?
18838   grep -v '^ *+' conftest.er1 >conftest.err
18839   rm -f conftest.er1
18840   cat conftest.err >&5
18841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842   (exit $ac_status); } && {
18843          test -z "$ac_c_werror_flag" ||
18844          test ! -s conftest.err
18845        } && test -s conftest.$ac_objext; then
18846   ac_cv_member_struct_statfs_f_bfree=yes
18847 else
18848   echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18850
18851         cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h.  */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h.  */
18857 #include <sys/types.h>
18858 #ifdef HAVE_SYS_PARAM_H
18859 # include <sys/param.h>
18860 #endif
18861 #ifdef HAVE_SYS_MOUNT_H
18862 # include <sys/mount.h>
18863 #endif
18864 #ifdef HAVE_SYS_VFS_H
18865 # include <sys/vfs.h>
18866 #endif
18867 #ifdef HAVE_SYS_STATFS_H
18868 # include <sys/statfs.h>
18869 #endif
18870
18871 int
18872 main ()
18873 {
18874 static struct statfs ac_aggr;
18875 if (sizeof ac_aggr.f_bfree)
18876 return 0;
18877   ;
18878   return 0;
18879 }
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885   *) ac_try_echo=$ac_try;;
18886 esac
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888   (eval "$ac_compile") 2>conftest.er1
18889   ac_status=$?
18890   grep -v '^ *+' conftest.er1 >conftest.err
18891   rm -f conftest.er1
18892   cat conftest.err >&5
18893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894   (exit $ac_status); } && {
18895          test -z "$ac_c_werror_flag" ||
18896          test ! -s conftest.err
18897        } && test -s conftest.$ac_objext; then
18898   ac_cv_member_struct_statfs_f_bfree=yes
18899 else
18900   echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18902
18903         ac_cv_member_struct_statfs_f_bfree=no
18904 fi
18905
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18907 fi
18908
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18910 fi
18911 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18912 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
18913 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18914
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_STRUCT_STATFS_F_BFREE 1
18917 _ACEOF
18918
18919
18920 fi
18921 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18922 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
18923 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18924   echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926   cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h.  */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h.  */
18932 #include <sys/types.h>
18933 #ifdef HAVE_SYS_PARAM_H
18934 # include <sys/param.h>
18935 #endif
18936 #ifdef HAVE_SYS_MOUNT_H
18937 # include <sys/mount.h>
18938 #endif
18939 #ifdef HAVE_SYS_VFS_H
18940 # include <sys/vfs.h>
18941 #endif
18942 #ifdef HAVE_SYS_STATFS_H
18943 # include <sys/statfs.h>
18944 #endif
18945
18946 int
18947 main ()
18948 {
18949 static struct statfs ac_aggr;
18950 if (ac_aggr.f_bavail)
18951 return 0;
18952   ;
18953   return 0;
18954 }
18955 _ACEOF
18956 rm -f conftest.$ac_objext
18957 if { (ac_try="$ac_compile"
18958 case "(($ac_try" in
18959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18960   *) ac_try_echo=$ac_try;;
18961 esac
18962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18963   (eval "$ac_compile") 2>conftest.er1
18964   ac_status=$?
18965   grep -v '^ *+' conftest.er1 >conftest.err
18966   rm -f conftest.er1
18967   cat conftest.err >&5
18968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969   (exit $ac_status); } && {
18970          test -z "$ac_c_werror_flag" ||
18971          test ! -s conftest.err
18972        } && test -s conftest.$ac_objext; then
18973   ac_cv_member_struct_statfs_f_bavail=yes
18974 else
18975   echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18977
18978         cat >conftest.$ac_ext <<_ACEOF
18979 /* confdefs.h.  */
18980 _ACEOF
18981 cat confdefs.h >>conftest.$ac_ext
18982 cat >>conftest.$ac_ext <<_ACEOF
18983 /* end confdefs.h.  */
18984 #include <sys/types.h>
18985 #ifdef HAVE_SYS_PARAM_H
18986 # include <sys/param.h>
18987 #endif
18988 #ifdef HAVE_SYS_MOUNT_H
18989 # include <sys/mount.h>
18990 #endif
18991 #ifdef HAVE_SYS_VFS_H
18992 # include <sys/vfs.h>
18993 #endif
18994 #ifdef HAVE_SYS_STATFS_H
18995 # include <sys/statfs.h>
18996 #endif
18997
18998 int
18999 main ()
19000 {
19001 static struct statfs ac_aggr;
19002 if (sizeof ac_aggr.f_bavail)
19003 return 0;
19004   ;
19005   return 0;
19006 }
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19012   *) ac_try_echo=$ac_try;;
19013 esac
19014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19015   (eval "$ac_compile") 2>conftest.er1
19016   ac_status=$?
19017   grep -v '^ *+' conftest.er1 >conftest.err
19018   rm -f conftest.er1
19019   cat conftest.err >&5
19020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021   (exit $ac_status); } && {
19022          test -z "$ac_c_werror_flag" ||
19023          test ! -s conftest.err
19024        } && test -s conftest.$ac_objext; then
19025   ac_cv_member_struct_statfs_f_bavail=yes
19026 else
19027   echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19029
19030         ac_cv_member_struct_statfs_f_bavail=no
19031 fi
19032
19033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19034 fi
19035
19036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19037 fi
19038 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
19039 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
19040 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
19041
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
19044 _ACEOF
19045
19046
19047 fi
19048 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
19049 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
19050 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
19051   echo $ECHO_N "(cached) $ECHO_C" >&6
19052 else
19053   cat >conftest.$ac_ext <<_ACEOF
19054 /* confdefs.h.  */
19055 _ACEOF
19056 cat confdefs.h >>conftest.$ac_ext
19057 cat >>conftest.$ac_ext <<_ACEOF
19058 /* end confdefs.h.  */
19059 #include <sys/types.h>
19060 #ifdef HAVE_SYS_PARAM_H
19061 # include <sys/param.h>
19062 #endif
19063 #ifdef HAVE_SYS_MOUNT_H
19064 # include <sys/mount.h>
19065 #endif
19066 #ifdef HAVE_SYS_VFS_H
19067 # include <sys/vfs.h>
19068 #endif
19069 #ifdef HAVE_SYS_STATFS_H
19070 # include <sys/statfs.h>
19071 #endif
19072
19073 int
19074 main ()
19075 {
19076 static struct statfs ac_aggr;
19077 if (ac_aggr.f_frsize)
19078 return 0;
19079   ;
19080   return 0;
19081 }
19082 _ACEOF
19083 rm -f conftest.$ac_objext
19084 if { (ac_try="$ac_compile"
19085 case "(($ac_try" in
19086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19087   *) ac_try_echo=$ac_try;;
19088 esac
19089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19090   (eval "$ac_compile") 2>conftest.er1
19091   ac_status=$?
19092   grep -v '^ *+' conftest.er1 >conftest.err
19093   rm -f conftest.er1
19094   cat conftest.err >&5
19095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096   (exit $ac_status); } && {
19097          test -z "$ac_c_werror_flag" ||
19098          test ! -s conftest.err
19099        } && test -s conftest.$ac_objext; then
19100   ac_cv_member_struct_statfs_f_frsize=yes
19101 else
19102   echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19104
19105         cat >conftest.$ac_ext <<_ACEOF
19106 /* confdefs.h.  */
19107 _ACEOF
19108 cat confdefs.h >>conftest.$ac_ext
19109 cat >>conftest.$ac_ext <<_ACEOF
19110 /* end confdefs.h.  */
19111 #include <sys/types.h>
19112 #ifdef HAVE_SYS_PARAM_H
19113 # include <sys/param.h>
19114 #endif
19115 #ifdef HAVE_SYS_MOUNT_H
19116 # include <sys/mount.h>
19117 #endif
19118 #ifdef HAVE_SYS_VFS_H
19119 # include <sys/vfs.h>
19120 #endif
19121 #ifdef HAVE_SYS_STATFS_H
19122 # include <sys/statfs.h>
19123 #endif
19124
19125 int
19126 main ()
19127 {
19128 static struct statfs ac_aggr;
19129 if (sizeof ac_aggr.f_frsize)
19130 return 0;
19131   ;
19132   return 0;
19133 }
19134 _ACEOF
19135 rm -f conftest.$ac_objext
19136 if { (ac_try="$ac_compile"
19137 case "(($ac_try" in
19138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19139   *) ac_try_echo=$ac_try;;
19140 esac
19141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19142   (eval "$ac_compile") 2>conftest.er1
19143   ac_status=$?
19144   grep -v '^ *+' conftest.er1 >conftest.err
19145   rm -f conftest.er1
19146   cat conftest.err >&5
19147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19148   (exit $ac_status); } && {
19149          test -z "$ac_c_werror_flag" ||
19150          test ! -s conftest.err
19151        } && test -s conftest.$ac_objext; then
19152   ac_cv_member_struct_statfs_f_frsize=yes
19153 else
19154   echo "$as_me: failed program was:" >&5
19155 sed 's/^/| /' conftest.$ac_ext >&5
19156
19157         ac_cv_member_struct_statfs_f_frsize=no
19158 fi
19159
19160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19161 fi
19162
19163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19164 fi
19165 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
19166 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
19167 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
19168
19169 cat >>confdefs.h <<_ACEOF
19170 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
19171 _ACEOF
19172
19173
19174 fi
19175 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
19176 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
19177 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
19178   echo $ECHO_N "(cached) $ECHO_C" >&6
19179 else
19180   cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h.  */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h.  */
19186 #include <sys/types.h>
19187 #ifdef HAVE_SYS_PARAM_H
19188 # include <sys/param.h>
19189 #endif
19190 #ifdef HAVE_SYS_MOUNT_H
19191 # include <sys/mount.h>
19192 #endif
19193 #ifdef HAVE_SYS_VFS_H
19194 # include <sys/vfs.h>
19195 #endif
19196 #ifdef HAVE_SYS_STATFS_H
19197 # include <sys/statfs.h>
19198 #endif
19199
19200 int
19201 main ()
19202 {
19203 static struct statfs ac_aggr;
19204 if (ac_aggr.f_ffree)
19205 return 0;
19206   ;
19207   return 0;
19208 }
19209 _ACEOF
19210 rm -f conftest.$ac_objext
19211 if { (ac_try="$ac_compile"
19212 case "(($ac_try" in
19213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19214   *) ac_try_echo=$ac_try;;
19215 esac
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217   (eval "$ac_compile") 2>conftest.er1
19218   ac_status=$?
19219   grep -v '^ *+' conftest.er1 >conftest.err
19220   rm -f conftest.er1
19221   cat conftest.err >&5
19222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19223   (exit $ac_status); } && {
19224          test -z "$ac_c_werror_flag" ||
19225          test ! -s conftest.err
19226        } && test -s conftest.$ac_objext; then
19227   ac_cv_member_struct_statfs_f_ffree=yes
19228 else
19229   echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19231
19232         cat >conftest.$ac_ext <<_ACEOF
19233 /* confdefs.h.  */
19234 _ACEOF
19235 cat confdefs.h >>conftest.$ac_ext
19236 cat >>conftest.$ac_ext <<_ACEOF
19237 /* end confdefs.h.  */
19238 #include <sys/types.h>
19239 #ifdef HAVE_SYS_PARAM_H
19240 # include <sys/param.h>
19241 #endif
19242 #ifdef HAVE_SYS_MOUNT_H
19243 # include <sys/mount.h>
19244 #endif
19245 #ifdef HAVE_SYS_VFS_H
19246 # include <sys/vfs.h>
19247 #endif
19248 #ifdef HAVE_SYS_STATFS_H
19249 # include <sys/statfs.h>
19250 #endif
19251
19252 int
19253 main ()
19254 {
19255 static struct statfs ac_aggr;
19256 if (sizeof ac_aggr.f_ffree)
19257 return 0;
19258   ;
19259   return 0;
19260 }
19261 _ACEOF
19262 rm -f conftest.$ac_objext
19263 if { (ac_try="$ac_compile"
19264 case "(($ac_try" in
19265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19266   *) ac_try_echo=$ac_try;;
19267 esac
19268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19269   (eval "$ac_compile") 2>conftest.er1
19270   ac_status=$?
19271   grep -v '^ *+' conftest.er1 >conftest.err
19272   rm -f conftest.er1
19273   cat conftest.err >&5
19274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275   (exit $ac_status); } && {
19276          test -z "$ac_c_werror_flag" ||
19277          test ! -s conftest.err
19278        } && test -s conftest.$ac_objext; then
19279   ac_cv_member_struct_statfs_f_ffree=yes
19280 else
19281   echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.$ac_ext >&5
19283
19284         ac_cv_member_struct_statfs_f_ffree=no
19285 fi
19286
19287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19288 fi
19289
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291 fi
19292 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
19293 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
19294 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
19295
19296 cat >>confdefs.h <<_ACEOF
19297 #define HAVE_STRUCT_STATFS_F_FFREE 1
19298 _ACEOF
19299
19300
19301 fi
19302 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
19303 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
19304 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
19305   echo $ECHO_N "(cached) $ECHO_C" >&6
19306 else
19307   cat >conftest.$ac_ext <<_ACEOF
19308 /* confdefs.h.  */
19309 _ACEOF
19310 cat confdefs.h >>conftest.$ac_ext
19311 cat >>conftest.$ac_ext <<_ACEOF
19312 /* end confdefs.h.  */
19313 #include <sys/types.h>
19314 #ifdef HAVE_SYS_PARAM_H
19315 # include <sys/param.h>
19316 #endif
19317 #ifdef HAVE_SYS_MOUNT_H
19318 # include <sys/mount.h>
19319 #endif
19320 #ifdef HAVE_SYS_VFS_H
19321 # include <sys/vfs.h>
19322 #endif
19323 #ifdef HAVE_SYS_STATFS_H
19324 # include <sys/statfs.h>
19325 #endif
19326
19327 int
19328 main ()
19329 {
19330 static struct statfs ac_aggr;
19331 if (ac_aggr.f_favail)
19332 return 0;
19333   ;
19334   return 0;
19335 }
19336 _ACEOF
19337 rm -f conftest.$ac_objext
19338 if { (ac_try="$ac_compile"
19339 case "(($ac_try" in
19340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19341   *) ac_try_echo=$ac_try;;
19342 esac
19343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19344   (eval "$ac_compile") 2>conftest.er1
19345   ac_status=$?
19346   grep -v '^ *+' conftest.er1 >conftest.err
19347   rm -f conftest.er1
19348   cat conftest.err >&5
19349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19350   (exit $ac_status); } && {
19351          test -z "$ac_c_werror_flag" ||
19352          test ! -s conftest.err
19353        } && test -s conftest.$ac_objext; then
19354   ac_cv_member_struct_statfs_f_favail=yes
19355 else
19356   echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19358
19359         cat >conftest.$ac_ext <<_ACEOF
19360 /* confdefs.h.  */
19361 _ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h.  */
19365 #include <sys/types.h>
19366 #ifdef HAVE_SYS_PARAM_H
19367 # include <sys/param.h>
19368 #endif
19369 #ifdef HAVE_SYS_MOUNT_H
19370 # include <sys/mount.h>
19371 #endif
19372 #ifdef HAVE_SYS_VFS_H
19373 # include <sys/vfs.h>
19374 #endif
19375 #ifdef HAVE_SYS_STATFS_H
19376 # include <sys/statfs.h>
19377 #endif
19378
19379 int
19380 main ()
19381 {
19382 static struct statfs ac_aggr;
19383 if (sizeof ac_aggr.f_favail)
19384 return 0;
19385   ;
19386   return 0;
19387 }
19388 _ACEOF
19389 rm -f conftest.$ac_objext
19390 if { (ac_try="$ac_compile"
19391 case "(($ac_try" in
19392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19393   *) ac_try_echo=$ac_try;;
19394 esac
19395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19396   (eval "$ac_compile") 2>conftest.er1
19397   ac_status=$?
19398   grep -v '^ *+' conftest.er1 >conftest.err
19399   rm -f conftest.er1
19400   cat conftest.err >&5
19401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402   (exit $ac_status); } && {
19403          test -z "$ac_c_werror_flag" ||
19404          test ! -s conftest.err
19405        } && test -s conftest.$ac_objext; then
19406   ac_cv_member_struct_statfs_f_favail=yes
19407 else
19408   echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19410
19411         ac_cv_member_struct_statfs_f_favail=no
19412 fi
19413
19414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19415 fi
19416
19417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19418 fi
19419 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
19420 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
19421 if test $ac_cv_member_struct_statfs_f_favail = yes; then
19422
19423 cat >>confdefs.h <<_ACEOF
19424 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
19425 _ACEOF
19426
19427
19428 fi
19429 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
19430 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
19431 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
19432   echo $ECHO_N "(cached) $ECHO_C" >&6
19433 else
19434   cat >conftest.$ac_ext <<_ACEOF
19435 /* confdefs.h.  */
19436 _ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h.  */
19440 #include <sys/types.h>
19441 #ifdef HAVE_SYS_PARAM_H
19442 # include <sys/param.h>
19443 #endif
19444 #ifdef HAVE_SYS_MOUNT_H
19445 # include <sys/mount.h>
19446 #endif
19447 #ifdef HAVE_SYS_VFS_H
19448 # include <sys/vfs.h>
19449 #endif
19450 #ifdef HAVE_SYS_STATFS_H
19451 # include <sys/statfs.h>
19452 #endif
19453
19454 int
19455 main ()
19456 {
19457 static struct statfs ac_aggr;
19458 if (ac_aggr.f_namelen)
19459 return 0;
19460   ;
19461   return 0;
19462 }
19463 _ACEOF
19464 rm -f conftest.$ac_objext
19465 if { (ac_try="$ac_compile"
19466 case "(($ac_try" in
19467   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19468   *) ac_try_echo=$ac_try;;
19469 esac
19470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19471   (eval "$ac_compile") 2>conftest.er1
19472   ac_status=$?
19473   grep -v '^ *+' conftest.er1 >conftest.err
19474   rm -f conftest.er1
19475   cat conftest.err >&5
19476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477   (exit $ac_status); } && {
19478          test -z "$ac_c_werror_flag" ||
19479          test ! -s conftest.err
19480        } && test -s conftest.$ac_objext; then
19481   ac_cv_member_struct_statfs_f_namelen=yes
19482 else
19483   echo "$as_me: failed program was:" >&5
19484 sed 's/^/| /' conftest.$ac_ext >&5
19485
19486         cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h.  */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h.  */
19492 #include <sys/types.h>
19493 #ifdef HAVE_SYS_PARAM_H
19494 # include <sys/param.h>
19495 #endif
19496 #ifdef HAVE_SYS_MOUNT_H
19497 # include <sys/mount.h>
19498 #endif
19499 #ifdef HAVE_SYS_VFS_H
19500 # include <sys/vfs.h>
19501 #endif
19502 #ifdef HAVE_SYS_STATFS_H
19503 # include <sys/statfs.h>
19504 #endif
19505
19506 int
19507 main ()
19508 {
19509 static struct statfs ac_aggr;
19510 if (sizeof ac_aggr.f_namelen)
19511 return 0;
19512   ;
19513   return 0;
19514 }
19515 _ACEOF
19516 rm -f conftest.$ac_objext
19517 if { (ac_try="$ac_compile"
19518 case "(($ac_try" in
19519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19520   *) ac_try_echo=$ac_try;;
19521 esac
19522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19523   (eval "$ac_compile") 2>conftest.er1
19524   ac_status=$?
19525   grep -v '^ *+' conftest.er1 >conftest.err
19526   rm -f conftest.er1
19527   cat conftest.err >&5
19528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529   (exit $ac_status); } && {
19530          test -z "$ac_c_werror_flag" ||
19531          test ! -s conftest.err
19532        } && test -s conftest.$ac_objext; then
19533   ac_cv_member_struct_statfs_f_namelen=yes
19534 else
19535   echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19537
19538         ac_cv_member_struct_statfs_f_namelen=no
19539 fi
19540
19541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19542 fi
19543
19544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545 fi
19546 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19547 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
19548 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19549
19550 cat >>confdefs.h <<_ACEOF
19551 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19552 _ACEOF
19553
19554
19555 fi
19556
19557
19558 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19559 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
19560 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19561   echo $ECHO_N "(cached) $ECHO_C" >&6
19562 else
19563   cat >conftest.$ac_ext <<_ACEOF
19564 /* confdefs.h.  */
19565 _ACEOF
19566 cat confdefs.h >>conftest.$ac_ext
19567 cat >>conftest.$ac_ext <<_ACEOF
19568 /* end confdefs.h.  */
19569 #ifdef HAVE_SYS_STATVFS_H
19570 #include <sys/statvfs.h>
19571 #endif
19572
19573 int
19574 main ()
19575 {
19576 static struct statvfs ac_aggr;
19577 if (ac_aggr.f_blocks)
19578 return 0;
19579   ;
19580   return 0;
19581 }
19582 _ACEOF
19583 rm -f conftest.$ac_objext
19584 if { (ac_try="$ac_compile"
19585 case "(($ac_try" in
19586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19587   *) ac_try_echo=$ac_try;;
19588 esac
19589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19590   (eval "$ac_compile") 2>conftest.er1
19591   ac_status=$?
19592   grep -v '^ *+' conftest.er1 >conftest.err
19593   rm -f conftest.er1
19594   cat conftest.err >&5
19595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596   (exit $ac_status); } && {
19597          test -z "$ac_c_werror_flag" ||
19598          test ! -s conftest.err
19599        } && test -s conftest.$ac_objext; then
19600   ac_cv_member_struct_statvfs_f_blocks=yes
19601 else
19602   echo "$as_me: failed program was:" >&5
19603 sed 's/^/| /' conftest.$ac_ext >&5
19604
19605         cat >conftest.$ac_ext <<_ACEOF
19606 /* confdefs.h.  */
19607 _ACEOF
19608 cat confdefs.h >>conftest.$ac_ext
19609 cat >>conftest.$ac_ext <<_ACEOF
19610 /* end confdefs.h.  */
19611 #ifdef HAVE_SYS_STATVFS_H
19612 #include <sys/statvfs.h>
19613 #endif
19614
19615 int
19616 main ()
19617 {
19618 static struct statvfs ac_aggr;
19619 if (sizeof ac_aggr.f_blocks)
19620 return 0;
19621   ;
19622   return 0;
19623 }
19624 _ACEOF
19625 rm -f conftest.$ac_objext
19626 if { (ac_try="$ac_compile"
19627 case "(($ac_try" in
19628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629   *) ac_try_echo=$ac_try;;
19630 esac
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632   (eval "$ac_compile") 2>conftest.er1
19633   ac_status=$?
19634   grep -v '^ *+' conftest.er1 >conftest.err
19635   rm -f conftest.er1
19636   cat conftest.err >&5
19637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638   (exit $ac_status); } && {
19639          test -z "$ac_c_werror_flag" ||
19640          test ! -s conftest.err
19641        } && test -s conftest.$ac_objext; then
19642   ac_cv_member_struct_statvfs_f_blocks=yes
19643 else
19644   echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19646
19647         ac_cv_member_struct_statvfs_f_blocks=no
19648 fi
19649
19650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19651 fi
19652
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 fi
19655 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19656 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
19657 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19658
19659 cat >>confdefs.h <<_ACEOF
19660 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19661 _ACEOF
19662
19663
19664 fi
19665
19666
19667 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19668 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
19669 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19670   echo $ECHO_N "(cached) $ECHO_C" >&6
19671 else
19672   cat >conftest.$ac_ext <<_ACEOF
19673 /* confdefs.h.  */
19674 _ACEOF
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h.  */
19678 #include <sys/types.h>
19679 #ifdef HAVE_SYS_SOCKET_H
19680 # include <sys/socket.h>
19681 #endif
19682 #ifdef HAVE_SYS_UN_H
19683 # include <sys/un.h>
19684 #endif
19685
19686 int
19687 main ()
19688 {
19689 static struct msghdr ac_aggr;
19690 if (ac_aggr.msg_accrights)
19691 return 0;
19692   ;
19693   return 0;
19694 }
19695 _ACEOF
19696 rm -f conftest.$ac_objext
19697 if { (ac_try="$ac_compile"
19698 case "(($ac_try" in
19699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19700   *) ac_try_echo=$ac_try;;
19701 esac
19702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19703   (eval "$ac_compile") 2>conftest.er1
19704   ac_status=$?
19705   grep -v '^ *+' conftest.er1 >conftest.err
19706   rm -f conftest.er1
19707   cat conftest.err >&5
19708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709   (exit $ac_status); } && {
19710          test -z "$ac_c_werror_flag" ||
19711          test ! -s conftest.err
19712        } && test -s conftest.$ac_objext; then
19713   ac_cv_member_struct_msghdr_msg_accrights=yes
19714 else
19715   echo "$as_me: failed program was:" >&5
19716 sed 's/^/| /' conftest.$ac_ext >&5
19717
19718         cat >conftest.$ac_ext <<_ACEOF
19719 /* confdefs.h.  */
19720 _ACEOF
19721 cat confdefs.h >>conftest.$ac_ext
19722 cat >>conftest.$ac_ext <<_ACEOF
19723 /* end confdefs.h.  */
19724 #include <sys/types.h>
19725 #ifdef HAVE_SYS_SOCKET_H
19726 # include <sys/socket.h>
19727 #endif
19728 #ifdef HAVE_SYS_UN_H
19729 # include <sys/un.h>
19730 #endif
19731
19732 int
19733 main ()
19734 {
19735 static struct msghdr ac_aggr;
19736 if (sizeof ac_aggr.msg_accrights)
19737 return 0;
19738   ;
19739   return 0;
19740 }
19741 _ACEOF
19742 rm -f conftest.$ac_objext
19743 if { (ac_try="$ac_compile"
19744 case "(($ac_try" in
19745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19746   *) ac_try_echo=$ac_try;;
19747 esac
19748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19749   (eval "$ac_compile") 2>conftest.er1
19750   ac_status=$?
19751   grep -v '^ *+' conftest.er1 >conftest.err
19752   rm -f conftest.er1
19753   cat conftest.err >&5
19754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19755   (exit $ac_status); } && {
19756          test -z "$ac_c_werror_flag" ||
19757          test ! -s conftest.err
19758        } && test -s conftest.$ac_objext; then
19759   ac_cv_member_struct_msghdr_msg_accrights=yes
19760 else
19761   echo "$as_me: failed program was:" >&5
19762 sed 's/^/| /' conftest.$ac_ext >&5
19763
19764         ac_cv_member_struct_msghdr_msg_accrights=no
19765 fi
19766
19767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768 fi
19769
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19771 fi
19772 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19773 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
19774 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19775
19776 cat >>confdefs.h <<_ACEOF
19777 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19778 _ACEOF
19779
19780
19781 fi
19782 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19783 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
19784 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19785   echo $ECHO_N "(cached) $ECHO_C" >&6
19786 else
19787   cat >conftest.$ac_ext <<_ACEOF
19788 /* confdefs.h.  */
19789 _ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h.  */
19793 #include <sys/types.h>
19794 #ifdef HAVE_SYS_SOCKET_H
19795 # include <sys/socket.h>
19796 #endif
19797 #ifdef HAVE_SYS_UN_H
19798 # include <sys/un.h>
19799 #endif
19800
19801 int
19802 main ()
19803 {
19804 static struct sockaddr ac_aggr;
19805 if (ac_aggr.sa_len)
19806 return 0;
19807   ;
19808   return 0;
19809 }
19810 _ACEOF
19811 rm -f conftest.$ac_objext
19812 if { (ac_try="$ac_compile"
19813 case "(($ac_try" in
19814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19815   *) ac_try_echo=$ac_try;;
19816 esac
19817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19818   (eval "$ac_compile") 2>conftest.er1
19819   ac_status=$?
19820   grep -v '^ *+' conftest.er1 >conftest.err
19821   rm -f conftest.er1
19822   cat conftest.err >&5
19823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19824   (exit $ac_status); } && {
19825          test -z "$ac_c_werror_flag" ||
19826          test ! -s conftest.err
19827        } && test -s conftest.$ac_objext; then
19828   ac_cv_member_struct_sockaddr_sa_len=yes
19829 else
19830   echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19832
19833         cat >conftest.$ac_ext <<_ACEOF
19834 /* confdefs.h.  */
19835 _ACEOF
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h.  */
19839 #include <sys/types.h>
19840 #ifdef HAVE_SYS_SOCKET_H
19841 # include <sys/socket.h>
19842 #endif
19843 #ifdef HAVE_SYS_UN_H
19844 # include <sys/un.h>
19845 #endif
19846
19847 int
19848 main ()
19849 {
19850 static struct sockaddr ac_aggr;
19851 if (sizeof ac_aggr.sa_len)
19852 return 0;
19853   ;
19854   return 0;
19855 }
19856 _ACEOF
19857 rm -f conftest.$ac_objext
19858 if { (ac_try="$ac_compile"
19859 case "(($ac_try" in
19860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19861   *) ac_try_echo=$ac_try;;
19862 esac
19863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19864   (eval "$ac_compile") 2>conftest.er1
19865   ac_status=$?
19866   grep -v '^ *+' conftest.er1 >conftest.err
19867   rm -f conftest.er1
19868   cat conftest.err >&5
19869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870   (exit $ac_status); } && {
19871          test -z "$ac_c_werror_flag" ||
19872          test ! -s conftest.err
19873        } && test -s conftest.$ac_objext; then
19874   ac_cv_member_struct_sockaddr_sa_len=yes
19875 else
19876   echo "$as_me: failed program was:" >&5
19877 sed 's/^/| /' conftest.$ac_ext >&5
19878
19879         ac_cv_member_struct_sockaddr_sa_len=no
19880 fi
19881
19882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19883 fi
19884
19885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19886 fi
19887 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19888 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
19889 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19890
19891 cat >>confdefs.h <<_ACEOF
19892 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19893 _ACEOF
19894
19895
19896 fi
19897 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19898 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
19899 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19900   echo $ECHO_N "(cached) $ECHO_C" >&6
19901 else
19902   cat >conftest.$ac_ext <<_ACEOF
19903 /* confdefs.h.  */
19904 _ACEOF
19905 cat confdefs.h >>conftest.$ac_ext
19906 cat >>conftest.$ac_ext <<_ACEOF
19907 /* end confdefs.h.  */
19908 #include <sys/types.h>
19909 #ifdef HAVE_SYS_SOCKET_H
19910 # include <sys/socket.h>
19911 #endif
19912 #ifdef HAVE_SYS_UN_H
19913 # include <sys/un.h>
19914 #endif
19915
19916 int
19917 main ()
19918 {
19919 static struct sockaddr_un ac_aggr;
19920 if (ac_aggr.sun_len)
19921 return 0;
19922   ;
19923   return 0;
19924 }
19925 _ACEOF
19926 rm -f conftest.$ac_objext
19927 if { (ac_try="$ac_compile"
19928 case "(($ac_try" in
19929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19930   *) ac_try_echo=$ac_try;;
19931 esac
19932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19933   (eval "$ac_compile") 2>conftest.er1
19934   ac_status=$?
19935   grep -v '^ *+' conftest.er1 >conftest.err
19936   rm -f conftest.er1
19937   cat conftest.err >&5
19938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939   (exit $ac_status); } && {
19940          test -z "$ac_c_werror_flag" ||
19941          test ! -s conftest.err
19942        } && test -s conftest.$ac_objext; then
19943   ac_cv_member_struct_sockaddr_un_sun_len=yes
19944 else
19945   echo "$as_me: failed program was:" >&5
19946 sed 's/^/| /' conftest.$ac_ext >&5
19947
19948         cat >conftest.$ac_ext <<_ACEOF
19949 /* confdefs.h.  */
19950 _ACEOF
19951 cat confdefs.h >>conftest.$ac_ext
19952 cat >>conftest.$ac_ext <<_ACEOF
19953 /* end confdefs.h.  */
19954 #include <sys/types.h>
19955 #ifdef HAVE_SYS_SOCKET_H
19956 # include <sys/socket.h>
19957 #endif
19958 #ifdef HAVE_SYS_UN_H
19959 # include <sys/un.h>
19960 #endif
19961
19962 int
19963 main ()
19964 {
19965 static struct sockaddr_un ac_aggr;
19966 if (sizeof ac_aggr.sun_len)
19967 return 0;
19968   ;
19969   return 0;
19970 }
19971 _ACEOF
19972 rm -f conftest.$ac_objext
19973 if { (ac_try="$ac_compile"
19974 case "(($ac_try" in
19975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19976   *) ac_try_echo=$ac_try;;
19977 esac
19978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19979   (eval "$ac_compile") 2>conftest.er1
19980   ac_status=$?
19981   grep -v '^ *+' conftest.er1 >conftest.err
19982   rm -f conftest.er1
19983   cat conftest.err >&5
19984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19985   (exit $ac_status); } && {
19986          test -z "$ac_c_werror_flag" ||
19987          test ! -s conftest.err
19988        } && test -s conftest.$ac_objext; then
19989   ac_cv_member_struct_sockaddr_un_sun_len=yes
19990 else
19991   echo "$as_me: failed program was:" >&5
19992 sed 's/^/| /' conftest.$ac_ext >&5
19993
19994         ac_cv_member_struct_sockaddr_un_sun_len=no
19995 fi
19996
19997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19998 fi
19999
20000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20001 fi
20002 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
20003 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
20004 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
20005
20006 cat >>confdefs.h <<_ACEOF
20007 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
20008 _ACEOF
20009
20010
20011 fi
20012
20013
20014 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
20015 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
20016 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
20017   echo $ECHO_N "(cached) $ECHO_C" >&6
20018 else
20019   cat >conftest.$ac_ext <<_ACEOF
20020 /* confdefs.h.  */
20021 _ACEOF
20022 cat confdefs.h >>conftest.$ac_ext
20023 cat >>conftest.$ac_ext <<_ACEOF
20024 /* end confdefs.h.  */
20025 #include <sys/types.h>
20026 #ifdef HAVE_SCSI_SG_H
20027 #include <scsi/sg.h>
20028 #endif
20029
20030 int
20031 main ()
20032 {
20033 static scsireq_t ac_aggr;
20034 if (ac_aggr.cmd)
20035 return 0;
20036   ;
20037   return 0;
20038 }
20039 _ACEOF
20040 rm -f conftest.$ac_objext
20041 if { (ac_try="$ac_compile"
20042 case "(($ac_try" in
20043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20044   *) ac_try_echo=$ac_try;;
20045 esac
20046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20047   (eval "$ac_compile") 2>conftest.er1
20048   ac_status=$?
20049   grep -v '^ *+' conftest.er1 >conftest.err
20050   rm -f conftest.er1
20051   cat conftest.err >&5
20052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053   (exit $ac_status); } && {
20054          test -z "$ac_c_werror_flag" ||
20055          test ! -s conftest.err
20056        } && test -s conftest.$ac_objext; then
20057   ac_cv_member_scsireq_t_cmd=yes
20058 else
20059   echo "$as_me: failed program was:" >&5
20060 sed 's/^/| /' conftest.$ac_ext >&5
20061
20062         cat >conftest.$ac_ext <<_ACEOF
20063 /* confdefs.h.  */
20064 _ACEOF
20065 cat confdefs.h >>conftest.$ac_ext
20066 cat >>conftest.$ac_ext <<_ACEOF
20067 /* end confdefs.h.  */
20068 #include <sys/types.h>
20069 #ifdef HAVE_SCSI_SG_H
20070 #include <scsi/sg.h>
20071 #endif
20072
20073 int
20074 main ()
20075 {
20076 static scsireq_t ac_aggr;
20077 if (sizeof ac_aggr.cmd)
20078 return 0;
20079   ;
20080   return 0;
20081 }
20082 _ACEOF
20083 rm -f conftest.$ac_objext
20084 if { (ac_try="$ac_compile"
20085 case "(($ac_try" in
20086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20087   *) ac_try_echo=$ac_try;;
20088 esac
20089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20090   (eval "$ac_compile") 2>conftest.er1
20091   ac_status=$?
20092   grep -v '^ *+' conftest.er1 >conftest.err
20093   rm -f conftest.er1
20094   cat conftest.err >&5
20095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096   (exit $ac_status); } && {
20097          test -z "$ac_c_werror_flag" ||
20098          test ! -s conftest.err
20099        } && test -s conftest.$ac_objext; then
20100   ac_cv_member_scsireq_t_cmd=yes
20101 else
20102   echo "$as_me: failed program was:" >&5
20103 sed 's/^/| /' conftest.$ac_ext >&5
20104
20105         ac_cv_member_scsireq_t_cmd=no
20106 fi
20107
20108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20109 fi
20110
20111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20112 fi
20113 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
20114 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
20115 if test $ac_cv_member_scsireq_t_cmd = yes; then
20116
20117 cat >>confdefs.h <<_ACEOF
20118 #define HAVE_SCSIREQ_T_CMD 1
20119 _ACEOF
20120
20121
20122 fi
20123 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
20124 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
20125 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
20126   echo $ECHO_N "(cached) $ECHO_C" >&6
20127 else
20128   cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h.  */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h.  */
20134 #include <sys/types.h>
20135 #ifdef HAVE_SCSI_SG_H
20136 #include <scsi/sg.h>
20137 #endif
20138
20139 int
20140 main ()
20141 {
20142 static sg_io_hdr_t ac_aggr;
20143 if (ac_aggr.interface_id)
20144 return 0;
20145   ;
20146   return 0;
20147 }
20148 _ACEOF
20149 rm -f conftest.$ac_objext
20150 if { (ac_try="$ac_compile"
20151 case "(($ac_try" in
20152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20153   *) ac_try_echo=$ac_try;;
20154 esac
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156   (eval "$ac_compile") 2>conftest.er1
20157   ac_status=$?
20158   grep -v '^ *+' conftest.er1 >conftest.err
20159   rm -f conftest.er1
20160   cat conftest.err >&5
20161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162   (exit $ac_status); } && {
20163          test -z "$ac_c_werror_flag" ||
20164          test ! -s conftest.err
20165        } && test -s conftest.$ac_objext; then
20166   ac_cv_member_sg_io_hdr_t_interface_id=yes
20167 else
20168   echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20170
20171         cat >conftest.$ac_ext <<_ACEOF
20172 /* confdefs.h.  */
20173 _ACEOF
20174 cat confdefs.h >>conftest.$ac_ext
20175 cat >>conftest.$ac_ext <<_ACEOF
20176 /* end confdefs.h.  */
20177 #include <sys/types.h>
20178 #ifdef HAVE_SCSI_SG_H
20179 #include <scsi/sg.h>
20180 #endif
20181
20182 int
20183 main ()
20184 {
20185 static sg_io_hdr_t ac_aggr;
20186 if (sizeof ac_aggr.interface_id)
20187 return 0;
20188   ;
20189   return 0;
20190 }
20191 _ACEOF
20192 rm -f conftest.$ac_objext
20193 if { (ac_try="$ac_compile"
20194 case "(($ac_try" in
20195   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20196   *) ac_try_echo=$ac_try;;
20197 esac
20198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20199   (eval "$ac_compile") 2>conftest.er1
20200   ac_status=$?
20201   grep -v '^ *+' conftest.er1 >conftest.err
20202   rm -f conftest.er1
20203   cat conftest.err >&5
20204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205   (exit $ac_status); } && {
20206          test -z "$ac_c_werror_flag" ||
20207          test ! -s conftest.err
20208        } && test -s conftest.$ac_objext; then
20209   ac_cv_member_sg_io_hdr_t_interface_id=yes
20210 else
20211   echo "$as_me: failed program was:" >&5
20212 sed 's/^/| /' conftest.$ac_ext >&5
20213
20214         ac_cv_member_sg_io_hdr_t_interface_id=no
20215 fi
20216
20217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20218 fi
20219
20220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20221 fi
20222 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
20223 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
20224 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
20225
20226 cat >>confdefs.h <<_ACEOF
20227 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
20228 _ACEOF
20229
20230
20231 fi
20232
20233
20234 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
20235 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
20236 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
20237   echo $ECHO_N "(cached) $ECHO_C" >&6
20238 else
20239   cat >conftest.$ac_ext <<_ACEOF
20240 /* confdefs.h.  */
20241 _ACEOF
20242 cat confdefs.h >>conftest.$ac_ext
20243 cat >>conftest.$ac_ext <<_ACEOF
20244 /* end confdefs.h.  */
20245 #include <signal.h>
20246
20247 int
20248 main ()
20249 {
20250 static siginfo_t ac_aggr;
20251 if (ac_aggr.si_fd)
20252 return 0;
20253   ;
20254   return 0;
20255 }
20256 _ACEOF
20257 rm -f conftest.$ac_objext
20258 if { (ac_try="$ac_compile"
20259 case "(($ac_try" in
20260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20261   *) ac_try_echo=$ac_try;;
20262 esac
20263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20264   (eval "$ac_compile") 2>conftest.er1
20265   ac_status=$?
20266   grep -v '^ *+' conftest.er1 >conftest.err
20267   rm -f conftest.er1
20268   cat conftest.err >&5
20269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270   (exit $ac_status); } && {
20271          test -z "$ac_c_werror_flag" ||
20272          test ! -s conftest.err
20273        } && test -s conftest.$ac_objext; then
20274   ac_cv_member_siginfo_t_si_fd=yes
20275 else
20276   echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20278
20279         cat >conftest.$ac_ext <<_ACEOF
20280 /* confdefs.h.  */
20281 _ACEOF
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h.  */
20285 #include <signal.h>
20286
20287 int
20288 main ()
20289 {
20290 static siginfo_t ac_aggr;
20291 if (sizeof ac_aggr.si_fd)
20292 return 0;
20293   ;
20294   return 0;
20295 }
20296 _ACEOF
20297 rm -f conftest.$ac_objext
20298 if { (ac_try="$ac_compile"
20299 case "(($ac_try" in
20300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20301   *) ac_try_echo=$ac_try;;
20302 esac
20303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20304   (eval "$ac_compile") 2>conftest.er1
20305   ac_status=$?
20306   grep -v '^ *+' conftest.er1 >conftest.err
20307   rm -f conftest.er1
20308   cat conftest.err >&5
20309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310   (exit $ac_status); } && {
20311          test -z "$ac_c_werror_flag" ||
20312          test ! -s conftest.err
20313        } && test -s conftest.$ac_objext; then
20314   ac_cv_member_siginfo_t_si_fd=yes
20315 else
20316   echo "$as_me: failed program was:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20318
20319         ac_cv_member_siginfo_t_si_fd=no
20320 fi
20321
20322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20323 fi
20324
20325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20326 fi
20327 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
20328 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
20329 if test $ac_cv_member_siginfo_t_si_fd = yes; then
20330
20331 cat >>confdefs.h <<_ACEOF
20332 #define HAVE_SIGINFO_T_SI_FD 1
20333 _ACEOF
20334
20335
20336 fi
20337
20338
20339 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
20340 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
20341 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
20342   echo $ECHO_N "(cached) $ECHO_C" >&6
20343 else
20344   cat >conftest.$ac_ext <<_ACEOF
20345 /* confdefs.h.  */
20346 _ACEOF
20347 cat confdefs.h >>conftest.$ac_ext
20348 cat >>conftest.$ac_ext <<_ACEOF
20349 /* end confdefs.h.  */
20350 #include <sys/types.h>
20351 #ifdef HAVE_SYS_MTIO_H
20352 #include <sys/mtio.h>
20353 #endif
20354
20355 int
20356 main ()
20357 {
20358 static struct mtget ac_aggr;
20359 if (ac_aggr.mt_blksiz)
20360 return 0;
20361   ;
20362   return 0;
20363 }
20364 _ACEOF
20365 rm -f conftest.$ac_objext
20366 if { (ac_try="$ac_compile"
20367 case "(($ac_try" in
20368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20369   *) ac_try_echo=$ac_try;;
20370 esac
20371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20372   (eval "$ac_compile") 2>conftest.er1
20373   ac_status=$?
20374   grep -v '^ *+' conftest.er1 >conftest.err
20375   rm -f conftest.er1
20376   cat conftest.err >&5
20377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378   (exit $ac_status); } && {
20379          test -z "$ac_c_werror_flag" ||
20380          test ! -s conftest.err
20381        } && test -s conftest.$ac_objext; then
20382   ac_cv_member_struct_mtget_mt_blksiz=yes
20383 else
20384   echo "$as_me: failed program was:" >&5
20385 sed 's/^/| /' conftest.$ac_ext >&5
20386
20387         cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h.  */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h.  */
20393 #include <sys/types.h>
20394 #ifdef HAVE_SYS_MTIO_H
20395 #include <sys/mtio.h>
20396 #endif
20397
20398 int
20399 main ()
20400 {
20401 static struct mtget ac_aggr;
20402 if (sizeof ac_aggr.mt_blksiz)
20403 return 0;
20404   ;
20405   return 0;
20406 }
20407 _ACEOF
20408 rm -f conftest.$ac_objext
20409 if { (ac_try="$ac_compile"
20410 case "(($ac_try" in
20411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20412   *) ac_try_echo=$ac_try;;
20413 esac
20414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20415   (eval "$ac_compile") 2>conftest.er1
20416   ac_status=$?
20417   grep -v '^ *+' conftest.er1 >conftest.err
20418   rm -f conftest.er1
20419   cat conftest.err >&5
20420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20421   (exit $ac_status); } && {
20422          test -z "$ac_c_werror_flag" ||
20423          test ! -s conftest.err
20424        } && test -s conftest.$ac_objext; then
20425   ac_cv_member_struct_mtget_mt_blksiz=yes
20426 else
20427   echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430         ac_cv_member_struct_mtget_mt_blksiz=no
20431 fi
20432
20433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20434 fi
20435
20436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20437 fi
20438 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
20439 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
20440 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
20441
20442 cat >>confdefs.h <<_ACEOF
20443 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
20444 _ACEOF
20445
20446
20447 fi
20448 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
20449 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
20450 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
20451   echo $ECHO_N "(cached) $ECHO_C" >&6
20452 else
20453   cat >conftest.$ac_ext <<_ACEOF
20454 /* confdefs.h.  */
20455 _ACEOF
20456 cat confdefs.h >>conftest.$ac_ext
20457 cat >>conftest.$ac_ext <<_ACEOF
20458 /* end confdefs.h.  */
20459 #include <sys/types.h>
20460 #ifdef HAVE_SYS_MTIO_H
20461 #include <sys/mtio.h>
20462 #endif
20463
20464 int
20465 main ()
20466 {
20467 static struct mtget ac_aggr;
20468 if (ac_aggr.mt_gstat)
20469 return 0;
20470   ;
20471   return 0;
20472 }
20473 _ACEOF
20474 rm -f conftest.$ac_objext
20475 if { (ac_try="$ac_compile"
20476 case "(($ac_try" in
20477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20478   *) ac_try_echo=$ac_try;;
20479 esac
20480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20481   (eval "$ac_compile") 2>conftest.er1
20482   ac_status=$?
20483   grep -v '^ *+' conftest.er1 >conftest.err
20484   rm -f conftest.er1
20485   cat conftest.err >&5
20486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20487   (exit $ac_status); } && {
20488          test -z "$ac_c_werror_flag" ||
20489          test ! -s conftest.err
20490        } && test -s conftest.$ac_objext; then
20491   ac_cv_member_struct_mtget_mt_gstat=yes
20492 else
20493   echo "$as_me: failed program was:" >&5
20494 sed 's/^/| /' conftest.$ac_ext >&5
20495
20496         cat >conftest.$ac_ext <<_ACEOF
20497 /* confdefs.h.  */
20498 _ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h.  */
20502 #include <sys/types.h>
20503 #ifdef HAVE_SYS_MTIO_H
20504 #include <sys/mtio.h>
20505 #endif
20506
20507 int
20508 main ()
20509 {
20510 static struct mtget ac_aggr;
20511 if (sizeof ac_aggr.mt_gstat)
20512 return 0;
20513   ;
20514   return 0;
20515 }
20516 _ACEOF
20517 rm -f conftest.$ac_objext
20518 if { (ac_try="$ac_compile"
20519 case "(($ac_try" in
20520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20521   *) ac_try_echo=$ac_try;;
20522 esac
20523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20524   (eval "$ac_compile") 2>conftest.er1
20525   ac_status=$?
20526   grep -v '^ *+' conftest.er1 >conftest.err
20527   rm -f conftest.er1
20528   cat conftest.err >&5
20529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530   (exit $ac_status); } && {
20531          test -z "$ac_c_werror_flag" ||
20532          test ! -s conftest.err
20533        } && test -s conftest.$ac_objext; then
20534   ac_cv_member_struct_mtget_mt_gstat=yes
20535 else
20536   echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539         ac_cv_member_struct_mtget_mt_gstat=no
20540 fi
20541
20542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20543 fi
20544
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 fi
20547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
20548 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
20549 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
20550
20551 cat >>confdefs.h <<_ACEOF
20552 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
20553 _ACEOF
20554
20555
20556 fi
20557 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
20558 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
20559 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
20560   echo $ECHO_N "(cached) $ECHO_C" >&6
20561 else
20562   cat >conftest.$ac_ext <<_ACEOF
20563 /* confdefs.h.  */
20564 _ACEOF
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h.  */
20568 #include <sys/types.h>
20569 #ifdef HAVE_SYS_MTIO_H
20570 #include <sys/mtio.h>
20571 #endif
20572
20573 int
20574 main ()
20575 {
20576 static struct mtget ac_aggr;
20577 if (ac_aggr.mt_blkno)
20578 return 0;
20579   ;
20580   return 0;
20581 }
20582 _ACEOF
20583 rm -f conftest.$ac_objext
20584 if { (ac_try="$ac_compile"
20585 case "(($ac_try" in
20586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20587   *) ac_try_echo=$ac_try;;
20588 esac
20589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20590   (eval "$ac_compile") 2>conftest.er1
20591   ac_status=$?
20592   grep -v '^ *+' conftest.er1 >conftest.err
20593   rm -f conftest.er1
20594   cat conftest.err >&5
20595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20596   (exit $ac_status); } && {
20597          test -z "$ac_c_werror_flag" ||
20598          test ! -s conftest.err
20599        } && test -s conftest.$ac_objext; then
20600   ac_cv_member_struct_mtget_mt_blkno=yes
20601 else
20602   echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20604
20605         cat >conftest.$ac_ext <<_ACEOF
20606 /* confdefs.h.  */
20607 _ACEOF
20608 cat confdefs.h >>conftest.$ac_ext
20609 cat >>conftest.$ac_ext <<_ACEOF
20610 /* end confdefs.h.  */
20611 #include <sys/types.h>
20612 #ifdef HAVE_SYS_MTIO_H
20613 #include <sys/mtio.h>
20614 #endif
20615
20616 int
20617 main ()
20618 {
20619 static struct mtget ac_aggr;
20620 if (sizeof ac_aggr.mt_blkno)
20621 return 0;
20622   ;
20623   return 0;
20624 }
20625 _ACEOF
20626 rm -f conftest.$ac_objext
20627 if { (ac_try="$ac_compile"
20628 case "(($ac_try" in
20629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20630   *) ac_try_echo=$ac_try;;
20631 esac
20632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20633   (eval "$ac_compile") 2>conftest.er1
20634   ac_status=$?
20635   grep -v '^ *+' conftest.er1 >conftest.err
20636   rm -f conftest.er1
20637   cat conftest.err >&5
20638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639   (exit $ac_status); } && {
20640          test -z "$ac_c_werror_flag" ||
20641          test ! -s conftest.err
20642        } && test -s conftest.$ac_objext; then
20643   ac_cv_member_struct_mtget_mt_blkno=yes
20644 else
20645   echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20647
20648         ac_cv_member_struct_mtget_mt_blkno=no
20649 fi
20650
20651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20652 fi
20653
20654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20655 fi
20656 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
20657 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
20658 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
20659
20660 cat >>confdefs.h <<_ACEOF
20661 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
20662 _ACEOF
20663
20664
20665 fi
20666
20667
20668 { echo "$as_me:$LINENO: checking for struct option.name" >&5
20669 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
20670 if test "${ac_cv_member_struct_option_name+set}" = set; then
20671   echo $ECHO_N "(cached) $ECHO_C" >&6
20672 else
20673   cat >conftest.$ac_ext <<_ACEOF
20674 /* confdefs.h.  */
20675 _ACEOF
20676 cat confdefs.h >>conftest.$ac_ext
20677 cat >>conftest.$ac_ext <<_ACEOF
20678 /* end confdefs.h.  */
20679 #ifdef HAVE_GETOPT_H
20680 #include <getopt.h>
20681 #endif
20682
20683 int
20684 main ()
20685 {
20686 static struct option ac_aggr;
20687 if (ac_aggr.name)
20688 return 0;
20689   ;
20690   return 0;
20691 }
20692 _ACEOF
20693 rm -f conftest.$ac_objext
20694 if { (ac_try="$ac_compile"
20695 case "(($ac_try" in
20696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697   *) ac_try_echo=$ac_try;;
20698 esac
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700   (eval "$ac_compile") 2>conftest.er1
20701   ac_status=$?
20702   grep -v '^ *+' conftest.er1 >conftest.err
20703   rm -f conftest.er1
20704   cat conftest.err >&5
20705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706   (exit $ac_status); } && {
20707          test -z "$ac_c_werror_flag" ||
20708          test ! -s conftest.err
20709        } && test -s conftest.$ac_objext; then
20710   ac_cv_member_struct_option_name=yes
20711 else
20712   echo "$as_me: failed program was:" >&5
20713 sed 's/^/| /' conftest.$ac_ext >&5
20714
20715         cat >conftest.$ac_ext <<_ACEOF
20716 /* confdefs.h.  */
20717 _ACEOF
20718 cat confdefs.h >>conftest.$ac_ext
20719 cat >>conftest.$ac_ext <<_ACEOF
20720 /* end confdefs.h.  */
20721 #ifdef HAVE_GETOPT_H
20722 #include <getopt.h>
20723 #endif
20724
20725 int
20726 main ()
20727 {
20728 static struct option ac_aggr;
20729 if (sizeof ac_aggr.name)
20730 return 0;
20731   ;
20732   return 0;
20733 }
20734 _ACEOF
20735 rm -f conftest.$ac_objext
20736 if { (ac_try="$ac_compile"
20737 case "(($ac_try" in
20738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20739   *) ac_try_echo=$ac_try;;
20740 esac
20741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20742   (eval "$ac_compile") 2>conftest.er1
20743   ac_status=$?
20744   grep -v '^ *+' conftest.er1 >conftest.err
20745   rm -f conftest.er1
20746   cat conftest.err >&5
20747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748   (exit $ac_status); } && {
20749          test -z "$ac_c_werror_flag" ||
20750          test ! -s conftest.err
20751        } && test -s conftest.$ac_objext; then
20752   ac_cv_member_struct_option_name=yes
20753 else
20754   echo "$as_me: failed program was:" >&5
20755 sed 's/^/| /' conftest.$ac_ext >&5
20756
20757         ac_cv_member_struct_option_name=no
20758 fi
20759
20760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20761 fi
20762
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 fi
20765 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
20766 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
20767 if test $ac_cv_member_struct_option_name = yes; then
20768
20769 cat >>confdefs.h <<_ACEOF
20770 #define HAVE_STRUCT_OPTION_NAME 1
20771 _ACEOF
20772
20773
20774 fi
20775
20776
20777 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
20778 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
20779 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
20780   echo $ECHO_N "(cached) $ECHO_C" >&6
20781 else
20782   cat >conftest.$ac_ext <<_ACEOF
20783 /* confdefs.h.  */
20784 _ACEOF
20785 cat confdefs.h >>conftest.$ac_ext
20786 cat >>conftest.$ac_ext <<_ACEOF
20787 /* end confdefs.h.  */
20788 $ac_includes_default
20789 int
20790 main ()
20791 {
20792 static struct stat ac_aggr;
20793 if (ac_aggr.st_blocks)
20794 return 0;
20795   ;
20796   return 0;
20797 }
20798 _ACEOF
20799 rm -f conftest.$ac_objext
20800 if { (ac_try="$ac_compile"
20801 case "(($ac_try" in
20802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20803   *) ac_try_echo=$ac_try;;
20804 esac
20805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20806   (eval "$ac_compile") 2>conftest.er1
20807   ac_status=$?
20808   grep -v '^ *+' conftest.er1 >conftest.err
20809   rm -f conftest.er1
20810   cat conftest.err >&5
20811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812   (exit $ac_status); } && {
20813          test -z "$ac_c_werror_flag" ||
20814          test ! -s conftest.err
20815        } && test -s conftest.$ac_objext; then
20816   ac_cv_member_struct_stat_st_blocks=yes
20817 else
20818   echo "$as_me: failed program was:" >&5
20819 sed 's/^/| /' conftest.$ac_ext >&5
20820
20821         cat >conftest.$ac_ext <<_ACEOF
20822 /* confdefs.h.  */
20823 _ACEOF
20824 cat confdefs.h >>conftest.$ac_ext
20825 cat >>conftest.$ac_ext <<_ACEOF
20826 /* end confdefs.h.  */
20827 $ac_includes_default
20828 int
20829 main ()
20830 {
20831 static struct stat ac_aggr;
20832 if (sizeof ac_aggr.st_blocks)
20833 return 0;
20834   ;
20835   return 0;
20836 }
20837 _ACEOF
20838 rm -f conftest.$ac_objext
20839 if { (ac_try="$ac_compile"
20840 case "(($ac_try" in
20841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20842   *) ac_try_echo=$ac_try;;
20843 esac
20844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20845   (eval "$ac_compile") 2>conftest.er1
20846   ac_status=$?
20847   grep -v '^ *+' conftest.er1 >conftest.err
20848   rm -f conftest.er1
20849   cat conftest.err >&5
20850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851   (exit $ac_status); } && {
20852          test -z "$ac_c_werror_flag" ||
20853          test ! -s conftest.err
20854        } && test -s conftest.$ac_objext; then
20855   ac_cv_member_struct_stat_st_blocks=yes
20856 else
20857   echo "$as_me: failed program was:" >&5
20858 sed 's/^/| /' conftest.$ac_ext >&5
20859
20860         ac_cv_member_struct_stat_st_blocks=no
20861 fi
20862
20863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20864 fi
20865
20866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20867 fi
20868 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
20869 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
20870 if test $ac_cv_member_struct_stat_st_blocks = yes; then
20871
20872 cat >>confdefs.h <<_ACEOF
20873 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
20874 _ACEOF
20875
20876
20877 fi
20878
20879
20880 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
20881 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
20882 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
20883   echo $ECHO_N "(cached) $ECHO_C" >&6
20884 else
20885   cat >conftest.$ac_ext <<_ACEOF
20886 /* confdefs.h.  */
20887 _ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h.  */
20891 #ifdef HAVE_SYS_TYPES_H
20892 #include <sys/types.h>
20893 #endif
20894 #ifdef HAVE_NETINET_IN_H
20895 #include <netinet/in.h>
20896 #endif
20897
20898 int
20899 main ()
20900 {
20901 static struct sockaddr_in6 ac_aggr;
20902 if (ac_aggr.sin6_scope_id)
20903 return 0;
20904   ;
20905   return 0;
20906 }
20907 _ACEOF
20908 rm -f conftest.$ac_objext
20909 if { (ac_try="$ac_compile"
20910 case "(($ac_try" in
20911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20912   *) ac_try_echo=$ac_try;;
20913 esac
20914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20915   (eval "$ac_compile") 2>conftest.er1
20916   ac_status=$?
20917   grep -v '^ *+' conftest.er1 >conftest.err
20918   rm -f conftest.er1
20919   cat conftest.err >&5
20920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921   (exit $ac_status); } && {
20922          test -z "$ac_c_werror_flag" ||
20923          test ! -s conftest.err
20924        } && test -s conftest.$ac_objext; then
20925   ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20926 else
20927   echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20929
20930         cat >conftest.$ac_ext <<_ACEOF
20931 /* confdefs.h.  */
20932 _ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h.  */
20936 #ifdef HAVE_SYS_TYPES_H
20937 #include <sys/types.h>
20938 #endif
20939 #ifdef HAVE_NETINET_IN_H
20940 #include <netinet/in.h>
20941 #endif
20942
20943 int
20944 main ()
20945 {
20946 static struct sockaddr_in6 ac_aggr;
20947 if (sizeof ac_aggr.sin6_scope_id)
20948 return 0;
20949   ;
20950   return 0;
20951 }
20952 _ACEOF
20953 rm -f conftest.$ac_objext
20954 if { (ac_try="$ac_compile"
20955 case "(($ac_try" in
20956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20957   *) ac_try_echo=$ac_try;;
20958 esac
20959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20960   (eval "$ac_compile") 2>conftest.er1
20961   ac_status=$?
20962   grep -v '^ *+' conftest.er1 >conftest.err
20963   rm -f conftest.er1
20964   cat conftest.err >&5
20965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966   (exit $ac_status); } && {
20967          test -z "$ac_c_werror_flag" ||
20968          test ! -s conftest.err
20969        } && test -s conftest.$ac_objext; then
20970   ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
20971 else
20972   echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20974
20975         ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
20976 fi
20977
20978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20979 fi
20980
20981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20982 fi
20983 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
20984 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
20985 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
20986
20987 cat >>confdefs.h <<_ACEOF
20988 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
20989 _ACEOF
20990
20991
20992 fi
20993
20994
20995 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
20996 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
20997 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
20998   echo $ECHO_N "(cached) $ECHO_C" >&6
20999 else
21000   cat >conftest.$ac_ext <<_ACEOF
21001 /* confdefs.h.  */
21002 _ACEOF
21003 cat confdefs.h >>conftest.$ac_ext
21004 cat >>conftest.$ac_ext <<_ACEOF
21005 /* end confdefs.h.  */
21006 #ifdef HAVE_SYS_TYPES_H
21007 #include <sys/types.h>
21008 #endif
21009 #ifdef HAVE_NETINET_IN_H
21010 # include <netinet/in.h>
21011 #endif
21012 #ifdef HAVE_ARPA_NAMESER_H
21013 # include <arpa/nameser.h>
21014 #endif
21015
21016 int
21017 main ()
21018 {
21019 static ns_msg ac_aggr;
21020 if (ac_aggr._msg_ptr)
21021 return 0;
21022   ;
21023   return 0;
21024 }
21025 _ACEOF
21026 rm -f conftest.$ac_objext
21027 if { (ac_try="$ac_compile"
21028 case "(($ac_try" in
21029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21030   *) ac_try_echo=$ac_try;;
21031 esac
21032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21033   (eval "$ac_compile") 2>conftest.er1
21034   ac_status=$?
21035   grep -v '^ *+' conftest.er1 >conftest.err
21036   rm -f conftest.er1
21037   cat conftest.err >&5
21038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039   (exit $ac_status); } && {
21040          test -z "$ac_c_werror_flag" ||
21041          test ! -s conftest.err
21042        } && test -s conftest.$ac_objext; then
21043   ac_cv_member_ns_msg__msg_ptr=yes
21044 else
21045   echo "$as_me: failed program was:" >&5
21046 sed 's/^/| /' conftest.$ac_ext >&5
21047
21048         cat >conftest.$ac_ext <<_ACEOF
21049 /* confdefs.h.  */
21050 _ACEOF
21051 cat confdefs.h >>conftest.$ac_ext
21052 cat >>conftest.$ac_ext <<_ACEOF
21053 /* end confdefs.h.  */
21054 #ifdef HAVE_SYS_TYPES_H
21055 #include <sys/types.h>
21056 #endif
21057 #ifdef HAVE_NETINET_IN_H
21058 # include <netinet/in.h>
21059 #endif
21060 #ifdef HAVE_ARPA_NAMESER_H
21061 # include <arpa/nameser.h>
21062 #endif
21063
21064 int
21065 main ()
21066 {
21067 static ns_msg ac_aggr;
21068 if (sizeof ac_aggr._msg_ptr)
21069 return 0;
21070   ;
21071   return 0;
21072 }
21073 _ACEOF
21074 rm -f conftest.$ac_objext
21075 if { (ac_try="$ac_compile"
21076 case "(($ac_try" in
21077   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21078   *) ac_try_echo=$ac_try;;
21079 esac
21080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21081   (eval "$ac_compile") 2>conftest.er1
21082   ac_status=$?
21083   grep -v '^ *+' conftest.er1 >conftest.err
21084   rm -f conftest.er1
21085   cat conftest.err >&5
21086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087   (exit $ac_status); } && {
21088          test -z "$ac_c_werror_flag" ||
21089          test ! -s conftest.err
21090        } && test -s conftest.$ac_objext; then
21091   ac_cv_member_ns_msg__msg_ptr=yes
21092 else
21093   echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21095
21096         ac_cv_member_ns_msg__msg_ptr=no
21097 fi
21098
21099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21100 fi
21101
21102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21103 fi
21104 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
21105 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
21106 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
21107
21108 cat >>confdefs.h <<_ACEOF
21109 #define HAVE_NS_MSG__MSG_PTR 1
21110 _ACEOF
21111
21112
21113 fi
21114
21115
21116 { echo "$as_me:$LINENO: checking for timezone variable" >&5
21117 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
21118 if test "${ac_cv_have_timezone+set}" = set; then
21119   echo $ECHO_N "(cached) $ECHO_C" >&6
21120 else
21121   cat >conftest.$ac_ext <<_ACEOF
21122 /* confdefs.h.  */
21123 _ACEOF
21124 cat confdefs.h >>conftest.$ac_ext
21125 cat >>conftest.$ac_ext <<_ACEOF
21126 /* end confdefs.h.  */
21127 #include <time.h>
21128 int
21129 main ()
21130 {
21131 timezone = 1
21132   ;
21133   return 0;
21134 }
21135 _ACEOF
21136 rm -f conftest.$ac_objext conftest$ac_exeext
21137 if { (ac_try="$ac_link"
21138 case "(($ac_try" in
21139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21140   *) ac_try_echo=$ac_try;;
21141 esac
21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21143   (eval "$ac_link") 2>conftest.er1
21144   ac_status=$?
21145   grep -v '^ *+' conftest.er1 >conftest.err
21146   rm -f conftest.er1
21147   cat conftest.err >&5
21148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149   (exit $ac_status); } && {
21150          test -z "$ac_c_werror_flag" ||
21151          test ! -s conftest.err
21152        } && test -s conftest$ac_exeext &&
21153        $as_test_x conftest$ac_exeext; then
21154   ac_cv_have_timezone="yes"
21155 else
21156   echo "$as_me: failed program was:" >&5
21157 sed 's/^/| /' conftest.$ac_ext >&5
21158
21159         ac_cv_have_timezone="no"
21160 fi
21161
21162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21163       conftest$ac_exeext conftest.$ac_ext
21164 fi
21165 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
21166 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
21167 if test "$ac_cv_have_timezone" = "yes"
21168 then
21169
21170 cat >>confdefs.h <<\_ACEOF
21171 #define HAVE_TIMEZONE 1
21172 _ACEOF
21173
21174 fi
21175 { echo "$as_me:$LINENO: checking for daylight variable" >&5
21176 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
21177 if test "${ac_cv_have_daylight+set}" = set; then
21178   echo $ECHO_N "(cached) $ECHO_C" >&6
21179 else
21180   cat >conftest.$ac_ext <<_ACEOF
21181 /* confdefs.h.  */
21182 _ACEOF
21183 cat confdefs.h >>conftest.$ac_ext
21184 cat >>conftest.$ac_ext <<_ACEOF
21185 /* end confdefs.h.  */
21186 #include <time.h>
21187 int
21188 main ()
21189 {
21190 daylight = 1
21191   ;
21192   return 0;
21193 }
21194 _ACEOF
21195 rm -f conftest.$ac_objext conftest$ac_exeext
21196 if { (ac_try="$ac_link"
21197 case "(($ac_try" in
21198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21199   *) ac_try_echo=$ac_try;;
21200 esac
21201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21202   (eval "$ac_link") 2>conftest.er1
21203   ac_status=$?
21204   grep -v '^ *+' conftest.er1 >conftest.err
21205   rm -f conftest.er1
21206   cat conftest.err >&5
21207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208   (exit $ac_status); } && {
21209          test -z "$ac_c_werror_flag" ||
21210          test ! -s conftest.err
21211        } && test -s conftest$ac_exeext &&
21212        $as_test_x conftest$ac_exeext; then
21213   ac_cv_have_daylight="yes"
21214 else
21215   echo "$as_me: failed program was:" >&5
21216 sed 's/^/| /' conftest.$ac_ext >&5
21217
21218         ac_cv_have_daylight="no"
21219 fi
21220
21221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21222       conftest$ac_exeext conftest.$ac_ext
21223 fi
21224 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
21225 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
21226 if test "$ac_cv_have_daylight" = "yes"
21227 then
21228
21229 cat >>confdefs.h <<\_ACEOF
21230 #define HAVE_DAYLIGHT 1
21231 _ACEOF
21232
21233 fi
21234
21235 { echo "$as_me:$LINENO: checking for isinf" >&5
21236 echo $ECHO_N "checking for isinf... $ECHO_C" >&6; }
21237 if test "${ac_cv_have_isinf+set}" = set; then
21238   echo $ECHO_N "(cached) $ECHO_C" >&6
21239 else
21240   cat >conftest.$ac_ext <<_ACEOF
21241 /* confdefs.h.  */
21242 _ACEOF
21243 cat confdefs.h >>conftest.$ac_ext
21244 cat >>conftest.$ac_ext <<_ACEOF
21245 /* end confdefs.h.  */
21246 #include <math.h>
21247 int
21248 main ()
21249 {
21250 float f = 0.0; isinf(f)
21251   ;
21252   return 0;
21253 }
21254 _ACEOF
21255 rm -f conftest.$ac_objext conftest$ac_exeext
21256 if { (ac_try="$ac_link"
21257 case "(($ac_try" in
21258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21259   *) ac_try_echo=$ac_try;;
21260 esac
21261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21262   (eval "$ac_link") 2>conftest.er1
21263   ac_status=$?
21264   grep -v '^ *+' conftest.er1 >conftest.err
21265   rm -f conftest.er1
21266   cat conftest.err >&5
21267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268   (exit $ac_status); } && {
21269          test -z "$ac_c_werror_flag" ||
21270          test ! -s conftest.err
21271        } && test -s conftest$ac_exeext &&
21272        $as_test_x conftest$ac_exeext; then
21273   ac_cv_have_isinf="yes"
21274 else
21275   echo "$as_me: failed program was:" >&5
21276 sed 's/^/| /' conftest.$ac_ext >&5
21277
21278         ac_cv_have_isinf="no"
21279 fi
21280
21281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21282       conftest$ac_exeext conftest.$ac_ext
21283 fi
21284 { echo "$as_me:$LINENO: result: $ac_cv_have_isinf" >&5
21285 echo "${ECHO_T}$ac_cv_have_isinf" >&6; }
21286 if test "$ac_cv_have_isinf" = "yes"
21287 then
21288
21289 cat >>confdefs.h <<\_ACEOF
21290 #define HAVE_ISINF 1
21291 _ACEOF
21292
21293 fi
21294
21295
21296 case $host_cpu in
21297   *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
21298 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
21299 if test "${ac_cv_cpp_def___i386__+set}" = set; then
21300   echo $ECHO_N "(cached) $ECHO_C" >&6
21301 else
21302   cat >conftest.$ac_ext <<_ACEOF
21303 /* confdefs.h.  */
21304 _ACEOF
21305 cat confdefs.h >>conftest.$ac_ext
21306 cat >>conftest.$ac_ext <<_ACEOF
21307 /* end confdefs.h.  */
21308 #ifndef __i386__
21309 yes
21310 #endif
21311 _ACEOF
21312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21313   $EGREP "yes" >/dev/null 2>&1; then
21314   ac_cv_cpp_def___i386__=yes
21315 else
21316   ac_cv_cpp_def___i386__=no
21317 fi
21318 rm -f conftest*
21319
21320 fi
21321 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
21322 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
21323 if test $ac_cv_cpp_def___i386__ = yes; then
21324   CFLAGS="$CFLAGS -D__i386__"
21325   LINTFLAGS="$LINTFLAGS -D__i386__"
21326 fi
21327  ;;
21328   *x86_64*)         { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
21329 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
21330 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
21331   echo $ECHO_N "(cached) $ECHO_C" >&6
21332 else
21333   cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h.  */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h.  */
21339 #ifndef __x86_64__
21340 yes
21341 #endif
21342 _ACEOF
21343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21344   $EGREP "yes" >/dev/null 2>&1; then
21345   ac_cv_cpp_def___x86_64__=yes
21346 else
21347   ac_cv_cpp_def___x86_64__=no
21348 fi
21349 rm -f conftest*
21350
21351 fi
21352 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
21353 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
21354 if test $ac_cv_cpp_def___x86_64__ = yes; then
21355   CFLAGS="$CFLAGS -D__x86_64__"
21356   LINTFLAGS="$LINTFLAGS -D__x86_64__"
21357 fi
21358  ;;
21359   *alpha*)          { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
21360 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
21361 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
21362   echo $ECHO_N "(cached) $ECHO_C" >&6
21363 else
21364   cat >conftest.$ac_ext <<_ACEOF
21365 /* confdefs.h.  */
21366 _ACEOF
21367 cat confdefs.h >>conftest.$ac_ext
21368 cat >>conftest.$ac_ext <<_ACEOF
21369 /* end confdefs.h.  */
21370 #ifndef __ALPHA__
21371 yes
21372 #endif
21373 _ACEOF
21374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21375   $EGREP "yes" >/dev/null 2>&1; then
21376   ac_cv_cpp_def___ALPHA__=yes
21377 else
21378   ac_cv_cpp_def___ALPHA__=no
21379 fi
21380 rm -f conftest*
21381
21382 fi
21383 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
21384 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
21385 if test $ac_cv_cpp_def___ALPHA__ = yes; then
21386   CFLAGS="$CFLAGS -D__ALPHA__"
21387   LINTFLAGS="$LINTFLAGS -D__ALPHA__"
21388 fi
21389  ;;
21390   *sparc*)          { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
21391 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
21392 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
21393   echo $ECHO_N "(cached) $ECHO_C" >&6
21394 else
21395   cat >conftest.$ac_ext <<_ACEOF
21396 /* confdefs.h.  */
21397 _ACEOF
21398 cat confdefs.h >>conftest.$ac_ext
21399 cat >>conftest.$ac_ext <<_ACEOF
21400 /* end confdefs.h.  */
21401 #ifndef __sparc__
21402 yes
21403 #endif
21404 _ACEOF
21405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21406   $EGREP "yes" >/dev/null 2>&1; then
21407   ac_cv_cpp_def___sparc__=yes
21408 else
21409   ac_cv_cpp_def___sparc__=no
21410 fi
21411 rm -f conftest*
21412
21413 fi
21414 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
21415 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
21416 if test $ac_cv_cpp_def___sparc__ = yes; then
21417   CFLAGS="$CFLAGS -D__sparc__"
21418   LINTFLAGS="$LINTFLAGS -D__sparc__"
21419 fi
21420  ;;
21421   *powerpc*)        { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
21422 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
21423 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
21424   echo $ECHO_N "(cached) $ECHO_C" >&6
21425 else
21426   cat >conftest.$ac_ext <<_ACEOF
21427 /* confdefs.h.  */
21428 _ACEOF
21429 cat confdefs.h >>conftest.$ac_ext
21430 cat >>conftest.$ac_ext <<_ACEOF
21431 /* end confdefs.h.  */
21432 #ifndef __powerpc__
21433 yes
21434 #endif
21435 _ACEOF
21436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21437   $EGREP "yes" >/dev/null 2>&1; then
21438   ac_cv_cpp_def___powerpc__=yes
21439 else
21440   ac_cv_cpp_def___powerpc__=no
21441 fi
21442 rm -f conftest*
21443
21444 fi
21445 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
21446 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
21447 if test $ac_cv_cpp_def___powerpc__ = yes; then
21448   CFLAGS="$CFLAGS -D__powerpc__"
21449   LINTFLAGS="$LINTFLAGS -D__powerpc__"
21450 fi
21451  ;;
21452 esac
21453
21454 case $host_vendor in
21455   *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
21456 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
21457 if test "${ac_cv_cpp_def___sun__+set}" = set; then
21458   echo $ECHO_N "(cached) $ECHO_C" >&6
21459 else
21460   cat >conftest.$ac_ext <<_ACEOF
21461 /* confdefs.h.  */
21462 _ACEOF
21463 cat confdefs.h >>conftest.$ac_ext
21464 cat >>conftest.$ac_ext <<_ACEOF
21465 /* end confdefs.h.  */
21466 #ifndef __sun__
21467 yes
21468 #endif
21469 _ACEOF
21470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21471   $EGREP "yes" >/dev/null 2>&1; then
21472   ac_cv_cpp_def___sun__=yes
21473 else
21474   ac_cv_cpp_def___sun__=no
21475 fi
21476 rm -f conftest*
21477
21478 fi
21479 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
21480 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
21481 if test $ac_cv_cpp_def___sun__ = yes; then
21482   CFLAGS="$CFLAGS -D__sun__"
21483   LINTFLAGS="$LINTFLAGS -D__sun__"
21484 fi
21485  ;;
21486 esac
21487
21488
21489 DEPENDENCIES="### Dependencies:
21490
21491 .INIT: Makefile
21492 .BEGIN: Makefile
21493 Makefile: dummy
21494         -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
21495
21496 \$(OBJS): \$(IDL_GEN_HEADERS)
21497 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
21498 \$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
21499 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
21500 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
21501
21502
21503
21504
21505
21506 ac_config_commands="$ac_config_commands include/stamp-h"
21507
21508
21509 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
21510
21511 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
21512
21513 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
21514
21515 ac_config_commands="$ac_config_commands dlls/user32/resources"
21516
21517 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
21518
21519 ac_config_commands="$ac_config_commands include/wine"
21520
21521
21522 MAKE_RULES=Make.rules
21523
21524
21525 MAKE_DLL_RULES=dlls/Makedll.rules
21526
21527
21528 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
21529
21530
21531 MAKE_TEST_RULES=dlls/Maketest.rules
21532
21533
21534 MAKE_PROG_RULES=programs/Makeprog.rules
21535
21536
21537 ac_config_files="$ac_config_files Make.rules"
21538
21539 ac_config_files="$ac_config_files dlls/Makedll.rules"
21540
21541 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
21542
21543 ac_config_files="$ac_config_files dlls/Maketest.rules"
21544
21545 ac_config_files="$ac_config_files programs/Makeprog.rules"
21546
21547 ac_config_files="$ac_config_files Makefile"
21548
21549 ac_config_files="$ac_config_files dlls/Makefile"
21550
21551 ac_config_files="$ac_config_files dlls/acledit/Makefile"
21552
21553 ac_config_files="$ac_config_files dlls/activeds/Makefile"
21554
21555 ac_config_files="$ac_config_files dlls/actxprxy/Makefile"
21556
21557 ac_config_files="$ac_config_files dlls/adsiid/Makefile"
21558
21559 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
21560
21561 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
21562
21563 ac_config_files="$ac_config_files dlls/advpack/Makefile"
21564
21565 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
21566
21567 ac_config_files="$ac_config_files dlls/amstream/Makefile"
21568
21569 ac_config_files="$ac_config_files dlls/atl/Makefile"
21570
21571 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
21572
21573 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
21574
21575 ac_config_files="$ac_config_files dlls/browseui/Makefile"
21576
21577 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
21578
21579 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
21580
21581 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
21582
21583 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
21584
21585 ac_config_files="$ac_config_files dlls/cards/Makefile"
21586
21587 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
21588
21589 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
21590
21591 ac_config_files="$ac_config_files dlls/comcat/Makefile"
21592
21593 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
21594
21595 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
21596
21597 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
21598
21599 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
21600
21601 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
21602
21603 ac_config_files="$ac_config_files dlls/compstui/Makefile"
21604
21605 ac_config_files="$ac_config_files dlls/credui/Makefile"
21606
21607 ac_config_files="$ac_config_files dlls/credui/tests/Makefile"
21608
21609 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
21610
21611 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
21612
21613 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
21614
21615 ac_config_files="$ac_config_files dlls/cryptdlg/Makefile"
21616
21617 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
21618
21619 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
21620
21621 ac_config_files="$ac_config_files dlls/cryptnet/tests/Makefile"
21622
21623 ac_config_files="$ac_config_files dlls/cryptui/Makefile"
21624
21625 ac_config_files="$ac_config_files dlls/ctapi32/Makefile"
21626
21627 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
21628
21629 ac_config_files="$ac_config_files dlls/d3d10/Makefile"
21630
21631 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
21632
21633 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
21634
21635 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
21636
21637 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
21638
21639 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
21640
21641 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
21642
21643 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
21644
21645 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
21646
21647 ac_config_files="$ac_config_files dlls/d3dx8/tests/Makefile"
21648
21649 ac_config_files="$ac_config_files dlls/d3dx9_24/Makefile"
21650
21651 ac_config_files="$ac_config_files dlls/d3dx9_25/Makefile"
21652
21653 ac_config_files="$ac_config_files dlls/d3dx9_26/Makefile"
21654
21655 ac_config_files="$ac_config_files dlls/d3dx9_27/Makefile"
21656
21657 ac_config_files="$ac_config_files dlls/d3dx9_28/Makefile"
21658
21659 ac_config_files="$ac_config_files dlls/d3dx9_29/Makefile"
21660
21661 ac_config_files="$ac_config_files dlls/d3dx9_30/Makefile"
21662
21663 ac_config_files="$ac_config_files dlls/d3dx9_31/Makefile"
21664
21665 ac_config_files="$ac_config_files dlls/d3dx9_32/Makefile"
21666
21667 ac_config_files="$ac_config_files dlls/d3dx9_33/Makefile"
21668
21669 ac_config_files="$ac_config_files dlls/d3dx9_34/Makefile"
21670
21671 ac_config_files="$ac_config_files dlls/d3dx9_35/Makefile"
21672
21673 ac_config_files="$ac_config_files dlls/d3dx9_36/Makefile"
21674
21675 ac_config_files="$ac_config_files dlls/d3dx9_36/tests/Makefile"
21676
21677 ac_config_files="$ac_config_files dlls/d3dx9_37/Makefile"
21678
21679 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
21680
21681 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
21682
21683 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
21684
21685 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
21686
21687 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
21688
21689 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
21690
21691 ac_config_files="$ac_config_files dlls/devenum/Makefile"
21692
21693 ac_config_files="$ac_config_files dlls/dinput/Makefile"
21694
21695 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
21696
21697 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
21698
21699 ac_config_files="$ac_config_files dlls/dmband/Makefile"
21700
21701 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
21702
21703 ac_config_files="$ac_config_files dlls/dmime/Makefile"
21704
21705 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
21706
21707 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
21708
21709 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
21710
21711 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
21712
21713 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
21714
21715 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
21716
21717 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
21718
21719 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
21720
21721 ac_config_files="$ac_config_files dlls/dplay/Makefile"
21722
21723 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
21724
21725 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
21726
21727 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
21728
21729 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
21730
21731 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
21732
21733 ac_config_files="$ac_config_files dlls/dpnlobby/Makefile"
21734
21735 ac_config_files="$ac_config_files dlls/dsound/Makefile"
21736
21737 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
21738
21739 ac_config_files="$ac_config_files dlls/dssenh/Makefile"
21740
21741 ac_config_files="$ac_config_files dlls/dswave/Makefile"
21742
21743 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
21744
21745 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
21746
21747 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
21748
21749 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
21750
21751 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
21752
21753 ac_config_files="$ac_config_files dlls/faultrep/Makefile"
21754
21755 ac_config_files="$ac_config_files dlls/fusion/Makefile"
21756
21757 ac_config_files="$ac_config_files dlls/fusion/tests/Makefile"
21758
21759 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
21760
21761 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
21762
21763 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
21764
21765 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
21766
21767 ac_config_files="$ac_config_files dlls/glu32/Makefile"
21768
21769 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
21770
21771 ac_config_files="$ac_config_files dlls/gpkcsp/Makefile"
21772
21773 ac_config_files="$ac_config_files dlls/hal/Makefile"
21774
21775 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
21776
21777 ac_config_files="$ac_config_files dlls/hid/Makefile"
21778
21779 ac_config_files="$ac_config_files dlls/hlink/Makefile"
21780
21781 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
21782
21783 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
21784
21785 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
21786
21787 ac_config_files="$ac_config_files dlls/icmp/Makefile"
21788
21789 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
21790
21791 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
21792
21793 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
21794
21795 ac_config_files="$ac_config_files dlls/imm32/Makefile"
21796
21797 ac_config_files="$ac_config_files dlls/imm32/tests/Makefile"
21798
21799 ac_config_files="$ac_config_files dlls/inetcomm/Makefile"
21800
21801 ac_config_files="$ac_config_files dlls/inetcomm/tests/Makefile"
21802
21803 ac_config_files="$ac_config_files dlls/inetmib1/Makefile"
21804
21805 ac_config_files="$ac_config_files dlls/inetmib1/tests/Makefile"
21806
21807 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
21808
21809 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
21810
21811 ac_config_files="$ac_config_files dlls/initpki/Makefile"
21812
21813 ac_config_files="$ac_config_files dlls/inkobj/Makefile"
21814
21815 ac_config_files="$ac_config_files dlls/inseng/Makefile"
21816
21817 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
21818
21819 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
21820
21821 ac_config_files="$ac_config_files dlls/itircl/Makefile"
21822
21823 ac_config_files="$ac_config_files dlls/itss/Makefile"
21824
21825 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
21826
21827 ac_config_files="$ac_config_files dlls/jscript/Makefile"
21828
21829 ac_config_files="$ac_config_files dlls/jscript/tests/Makefile"
21830
21831 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
21832
21833 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
21834
21835 ac_config_files="$ac_config_files dlls/localspl/Makefile"
21836
21837 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
21838
21839 ac_config_files="$ac_config_files dlls/localui/Makefile"
21840
21841 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
21842
21843 ac_config_files="$ac_config_files dlls/lz32/Makefile"
21844
21845 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
21846
21847 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
21848
21849 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
21850
21851 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
21852
21853 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
21854
21855 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
21856
21857 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
21858
21859 ac_config_files="$ac_config_files dlls/midimap/Makefile"
21860
21861 ac_config_files="$ac_config_files dlls/mlang/Makefile"
21862
21863 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
21864
21865 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
21866
21867 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
21868
21869 ac_config_files="$ac_config_files dlls/mountmgr.sys/Makefile"
21870
21871 ac_config_files="$ac_config_files dlls/mpr/Makefile"
21872
21873 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
21874
21875 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
21876
21877 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
21878
21879 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
21880
21881 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
21882
21883 ac_config_files="$ac_config_files dlls/mscat32/Makefile"
21884
21885 ac_config_files="$ac_config_files dlls/mscms/Makefile"
21886
21887 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
21888
21889 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
21890
21891 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
21892
21893 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
21894
21895 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
21896
21897 ac_config_files="$ac_config_files dlls/mshtml.tlb/Makefile"
21898
21899 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
21900
21901 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
21902
21903 ac_config_files="$ac_config_files dlls/msi/Makefile"
21904
21905 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
21906
21907 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
21908
21909 ac_config_files="$ac_config_files dlls/msimtf/Makefile"
21910
21911 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
21912
21913 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
21914
21915 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
21916
21917 ac_config_files="$ac_config_files dlls/mssip32/Makefile"
21918
21919 ac_config_files="$ac_config_files dlls/msvcirt/Makefile"
21920
21921 ac_config_files="$ac_config_files dlls/msvcr71/Makefile"
21922
21923 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
21924
21925 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
21926
21927 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
21928
21929 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
21930
21931 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
21932
21933 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
21934
21935 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
21936
21937 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
21938
21939 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
21940
21941 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
21942
21943 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
21944
21945 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
21946
21947 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
21948
21949 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
21950
21951 ac_config_files="$ac_config_files dlls/newdev/Makefile"
21952
21953 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
21954
21955 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
21956
21957 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
21958
21959 ac_config_files="$ac_config_files dlls/ntdsapi/tests/Makefile"
21960
21961 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
21962
21963 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
21964
21965 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
21966
21967 ac_config_files="$ac_config_files dlls/objsel/Makefile"
21968
21969 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
21970
21971 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
21972
21973 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
21974
21975 ac_config_files="$ac_config_files dlls/ole32/Makefile"
21976
21977 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
21978
21979 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
21980
21981 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
21982
21983 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
21984
21985 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
21986
21987 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
21988
21989 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
21990
21991 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
21992
21993 ac_config_files="$ac_config_files dlls/olethk32/Makefile"
21994
21995 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
21996
21997 ac_config_files="$ac_config_files dlls/opengl32/tests/Makefile"
21998
21999 ac_config_files="$ac_config_files dlls/pdh/Makefile"
22000
22001 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
22002
22003 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
22004
22005 ac_config_files="$ac_config_files dlls/printui/Makefile"
22006
22007 ac_config_files="$ac_config_files dlls/propsys/Makefile"
22008
22009 ac_config_files="$ac_config_files dlls/psapi/Makefile"
22010
22011 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
22012
22013 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
22014
22015 ac_config_files="$ac_config_files dlls/qcap/Makefile"
22016
22017 ac_config_files="$ac_config_files dlls/qedit/Makefile"
22018
22019 ac_config_files="$ac_config_files dlls/qedit/tests/Makefile"
22020
22021 ac_config_files="$ac_config_files dlls/qmgr/Makefile"
22022
22023 ac_config_files="$ac_config_files dlls/qmgr/tests/Makefile"
22024
22025 ac_config_files="$ac_config_files dlls/qmgrprxy/Makefile"
22026
22027 ac_config_files="$ac_config_files dlls/quartz/Makefile"
22028
22029 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
22030
22031 ac_config_files="$ac_config_files dlls/query/Makefile"
22032
22033 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
22034
22035 ac_config_files="$ac_config_files dlls/resutils/Makefile"
22036
22037 ac_config_files="$ac_config_files dlls/riched20/Makefile"
22038
22039 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
22040
22041 ac_config_files="$ac_config_files dlls/riched32/Makefile"
22042
22043 ac_config_files="$ac_config_files dlls/riched32/tests/Makefile"
22044
22045 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
22046
22047 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
22048
22049 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
22050
22051 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
22052
22053 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
22054
22055 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
22056
22057 ac_config_files="$ac_config_files dlls/sccbase/Makefile"
22058
22059 ac_config_files="$ac_config_files dlls/schannel/Makefile"
22060
22061 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
22062
22063 ac_config_files="$ac_config_files dlls/secur32/Makefile"
22064
22065 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
22066
22067 ac_config_files="$ac_config_files dlls/security/Makefile"
22068
22069 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
22070
22071 ac_config_files="$ac_config_files dlls/serialui/Makefile"
22072
22073 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
22074
22075 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
22076
22077 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
22078
22079 ac_config_files="$ac_config_files dlls/sfc/Makefile"
22080
22081 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
22082
22083 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
22084
22085 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
22086
22087 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
22088
22089 ac_config_files="$ac_config_files dlls/shell32/Makefile"
22090
22091 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
22092
22093 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
22094
22095 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
22096
22097 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
22098
22099 ac_config_files="$ac_config_files dlls/slbcsp/Makefile"
22100
22101 ac_config_files="$ac_config_files dlls/slc/Makefile"
22102
22103 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
22104
22105 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
22106
22107 ac_config_files="$ac_config_files dlls/softpub/Makefile"
22108
22109 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
22110
22111 ac_config_files="$ac_config_files dlls/spoolss/tests/Makefile"
22112
22113 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
22114
22115 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
22116
22117 ac_config_files="$ac_config_files dlls/sti/Makefile"
22118
22119 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
22120
22121 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
22122
22123 ac_config_files="$ac_config_files dlls/sxs/Makefile"
22124
22125 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
22126
22127 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
22128
22129 ac_config_files="$ac_config_files dlls/unicows/Makefile"
22130
22131 ac_config_files="$ac_config_files dlls/url/Makefile"
22132
22133 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
22134
22135 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
22136
22137 ac_config_files="$ac_config_files dlls/user32/Makefile"
22138
22139 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
22140
22141 ac_config_files="$ac_config_files dlls/userenv/Makefile"
22142
22143 ac_config_files="$ac_config_files dlls/userenv/tests/Makefile"
22144
22145 ac_config_files="$ac_config_files dlls/usp10/Makefile"
22146
22147 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
22148
22149 ac_config_files="$ac_config_files dlls/uuid/Makefile"
22150
22151 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
22152
22153 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
22154
22155 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
22156
22157 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
22158
22159 ac_config_files="$ac_config_files dlls/version/Makefile"
22160
22161 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
22162
22163 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
22164
22165 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
22166
22167 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
22168
22169 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
22170
22171 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
22172
22173 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
22174
22175 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
22176
22177 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
22178
22179 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
22180
22181 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
22182
22183 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
22184
22185 ac_config_files="$ac_config_files dlls/winedos/Makefile"
22186
22187 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
22188
22189 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
22190
22191 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
22192
22193 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
22194
22195 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
22196
22197 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
22198
22199 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
22200
22201 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
22202
22203 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
22204
22205 ac_config_files="$ac_config_files dlls/wing32/Makefile"
22206
22207 ac_config_files="$ac_config_files dlls/winhttp/Makefile"
22208
22209 ac_config_files="$ac_config_files dlls/wininet/Makefile"
22210
22211 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
22212
22213 ac_config_files="$ac_config_files dlls/winmm/Makefile"
22214
22215 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
22216
22217 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
22218
22219 ac_config_files="$ac_config_files dlls/winscard/Makefile"
22220
22221 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
22222
22223 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
22224
22225 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
22226
22227 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
22228
22229 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
22230
22231 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
22232
22233 ac_config_files="$ac_config_files dlls/wmi/Makefile"
22234
22235 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
22236
22237 ac_config_files="$ac_config_files dlls/wow32/Makefile"
22238
22239 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
22240
22241 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
22242
22243 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
22244
22245 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
22246
22247 ac_config_files="$ac_config_files documentation/Makefile"
22248
22249 ac_config_files="$ac_config_files fonts/Makefile"
22250
22251 ac_config_files="$ac_config_files include/Makefile"
22252
22253 ac_config_files="$ac_config_files libs/Makefile"
22254
22255 ac_config_files="$ac_config_files libs/port/Makefile"
22256
22257 ac_config_files="$ac_config_files libs/wine/Makefile"
22258
22259 ac_config_files="$ac_config_files libs/wpp/Makefile"
22260
22261 ac_config_files="$ac_config_files loader/Makefile"
22262
22263 ac_config_files="$ac_config_files programs/Makefile"
22264
22265 ac_config_files="$ac_config_files programs/clock/Makefile"
22266
22267 ac_config_files="$ac_config_files programs/cmd/Makefile"
22268
22269 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
22270
22271 ac_config_files="$ac_config_files programs/control/Makefile"
22272
22273 ac_config_files="$ac_config_files programs/eject/Makefile"
22274
22275 ac_config_files="$ac_config_files programs/expand/Makefile"
22276
22277 ac_config_files="$ac_config_files programs/explorer/Makefile"
22278
22279 ac_config_files="$ac_config_files programs/hh/Makefile"
22280
22281 ac_config_files="$ac_config_files programs/icinfo/Makefile"
22282
22283 ac_config_files="$ac_config_files programs/iexplore/Makefile"
22284
22285 ac_config_files="$ac_config_files programs/msiexec/Makefile"
22286
22287 ac_config_files="$ac_config_files programs/net/Makefile"
22288
22289 ac_config_files="$ac_config_files programs/notepad/Makefile"
22290
22291 ac_config_files="$ac_config_files programs/oleview/Makefile"
22292
22293 ac_config_files="$ac_config_files programs/progman/Makefile"
22294
22295 ac_config_files="$ac_config_files programs/reg/Makefile"
22296
22297 ac_config_files="$ac_config_files programs/regedit/Makefile"
22298
22299 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
22300
22301 ac_config_files="$ac_config_files programs/rpcss/Makefile"
22302
22303 ac_config_files="$ac_config_files programs/rundll32/Makefile"
22304
22305 ac_config_files="$ac_config_files programs/secedit/Makefile"
22306
22307 ac_config_files="$ac_config_files programs/services/Makefile"
22308
22309 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
22310
22311 ac_config_files="$ac_config_files programs/start/Makefile"
22312
22313 ac_config_files="$ac_config_files programs/svchost/Makefile"
22314
22315 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
22316
22317 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
22318
22319 ac_config_files="$ac_config_files programs/view/Makefile"
22320
22321 ac_config_files="$ac_config_files programs/wineboot/Makefile"
22322
22323 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
22324
22325 ac_config_files="$ac_config_files programs/winecfg/Makefile"
22326
22327 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
22328
22329 ac_config_files="$ac_config_files programs/winedbg/Makefile"
22330
22331 ac_config_files="$ac_config_files programs/winedevice/Makefile"
22332
22333 ac_config_files="$ac_config_files programs/winefile/Makefile"
22334
22335 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
22336
22337 ac_config_files="$ac_config_files programs/winemine/Makefile"
22338
22339 ac_config_files="$ac_config_files programs/winepath/Makefile"
22340
22341 ac_config_files="$ac_config_files programs/winetest/Makefile"
22342
22343 ac_config_files="$ac_config_files programs/winevdm/Makefile"
22344
22345 ac_config_files="$ac_config_files programs/winhlp32/Makefile"
22346
22347 ac_config_files="$ac_config_files programs/winver/Makefile"
22348
22349 ac_config_files="$ac_config_files programs/wordpad/Makefile"
22350
22351 ac_config_files="$ac_config_files programs/write/Makefile"
22352
22353 ac_config_files="$ac_config_files programs/xcopy/Makefile"
22354
22355 ac_config_files="$ac_config_files server/Makefile"
22356
22357 ac_config_files="$ac_config_files tools/Makefile"
22358
22359 ac_config_files="$ac_config_files tools/widl/Makefile"
22360
22361 ac_config_files="$ac_config_files tools/winebuild/Makefile"
22362
22363 ac_config_files="$ac_config_files tools/winedump/Makefile"
22364
22365 ac_config_files="$ac_config_files tools/winegcc/Makefile"
22366
22367 ac_config_files="$ac_config_files tools/wmc/Makefile"
22368
22369 ac_config_files="$ac_config_files tools/wrc/Makefile"
22370
22371
22372 cat >confcache <<\_ACEOF
22373 # This file is a shell script that caches the results of configure
22374 # tests run on this system so they can be shared between configure
22375 # scripts and configure runs, see configure's option --config-cache.
22376 # It is not useful on other systems.  If it contains results you don't
22377 # want to keep, you may remove or edit it.
22378 #
22379 # config.status only pays attention to the cache file if you give it
22380 # the --recheck option to rerun configure.
22381 #
22382 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22383 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22384 # following values.
22385
22386 _ACEOF
22387
22388 # The following way of writing the cache mishandles newlines in values,
22389 # but we know of no workaround that is simple, portable, and efficient.
22390 # So, we kill variables containing newlines.
22391 # Ultrix sh set writes to stderr and can't be redirected directly,
22392 # and sets the high bit in the cache file unless we assign to the vars.
22393 (
22394   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22395     eval ac_val=\$$ac_var
22396     case $ac_val in #(
22397     *${as_nl}*)
22398       case $ac_var in #(
22399       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
22400 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
22401       esac
22402       case $ac_var in #(
22403       _ | IFS | as_nl) ;; #(
22404       *) $as_unset $ac_var ;;
22405       esac ;;
22406     esac
22407   done
22408
22409   (set) 2>&1 |
22410     case $as_nl`(ac_space=' '; set) 2>&1` in #(
22411     *${as_nl}ac_space=\ *)
22412       # `set' does not quote correctly, so add quotes (double-quote
22413       # substitution turns \\\\ into \\, and sed turns \\ into \).
22414       sed -n \
22415         "s/'/'\\\\''/g;
22416           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22417       ;; #(
22418     *)
22419       # `set' quotes correctly as required by POSIX, so do not add quotes.
22420       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22421       ;;
22422     esac |
22423     sort
22424 ) |
22425   sed '
22426      /^ac_cv_env_/b end
22427      t clear
22428      :clear
22429      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22430      t end
22431      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22432      :end' >>confcache
22433 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22434   if test -w "$cache_file"; then
22435     test "x$cache_file" != "x/dev/null" &&
22436       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
22437 echo "$as_me: updating cache $cache_file" >&6;}
22438     cat confcache >$cache_file
22439   else
22440     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
22441 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
22442   fi
22443 fi
22444 rm -f confcache
22445
22446 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22447 # Let make expand exec_prefix.
22448 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22449
22450 DEFS=-DHAVE_CONFIG_H
22451
22452 ac_libobjs=
22453 ac_ltlibobjs=
22454 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22455   # 1. Remove the extension, and $U if already installed.
22456   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22457   ac_i=`echo "$ac_i" | sed "$ac_script"`
22458   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
22459   #    will be set to the directory where LIBOBJS objects are built.
22460   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22461   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
22462 done
22463 LIBOBJS=$ac_libobjs
22464
22465 LTLIBOBJS=$ac_ltlibobjs
22466
22467
22468
22469 : ${CONFIG_STATUS=./config.status}
22470 ac_clean_files_save=$ac_clean_files
22471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22472 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22473 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22474 cat >$CONFIG_STATUS <<_ACEOF
22475 #! $SHELL
22476 # Generated by $as_me.
22477 # Run this file to recreate the current configuration.
22478 # Compiler output produced by configure, useful for debugging
22479 # configure, is in config.log if it exists.
22480
22481 debug=false
22482 ac_cs_recheck=false
22483 ac_cs_silent=false
22484 SHELL=\${CONFIG_SHELL-$SHELL}
22485 _ACEOF
22486
22487 cat >>$CONFIG_STATUS <<\_ACEOF
22488 ## --------------------- ##
22489 ## M4sh Initialization.  ##
22490 ## --------------------- ##
22491
22492 # Be more Bourne compatible
22493 DUALCASE=1; export DUALCASE # for MKS sh
22494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22495   emulate sh
22496   NULLCMD=:
22497   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22498   # is contrary to our usage.  Disable this feature.
22499   alias -g '${1+"$@"}'='"$@"'
22500   setopt NO_GLOB_SUBST
22501 else
22502   case `(set -o) 2>/dev/null` in
22503   *posix*) set -o posix ;;
22504 esac
22505
22506 fi
22507
22508
22509
22510
22511 # PATH needs CR
22512 # Avoid depending upon Character Ranges.
22513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22516 as_cr_digits='0123456789'
22517 as_cr_alnum=$as_cr_Letters$as_cr_digits
22518
22519 # The user is always right.
22520 if test "${PATH_SEPARATOR+set}" != set; then
22521   echo "#! /bin/sh" >conf$$.sh
22522   echo  "exit 0"   >>conf$$.sh
22523   chmod +x conf$$.sh
22524   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22525     PATH_SEPARATOR=';'
22526   else
22527     PATH_SEPARATOR=:
22528   fi
22529   rm -f conf$$.sh
22530 fi
22531
22532 # Support unset when possible.
22533 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
22534   as_unset=unset
22535 else
22536   as_unset=false
22537 fi
22538
22539
22540 # IFS
22541 # We need space, tab and new line, in precisely that order.  Quoting is
22542 # there to prevent editors from complaining about space-tab.
22543 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
22544 # splitting by setting IFS to empty value.)
22545 as_nl='
22546 '
22547 IFS=" ""        $as_nl"
22548
22549 # Find who we are.  Look in the path if we contain no directory separator.
22550 case $0 in
22551   *[\\/]* ) as_myself=$0 ;;
22552   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22553 for as_dir in $PATH
22554 do
22555   IFS=$as_save_IFS
22556   test -z "$as_dir" && as_dir=.
22557   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22558 done
22559 IFS=$as_save_IFS
22560
22561      ;;
22562 esac
22563 # We did not find ourselves, most probably we were run as `sh COMMAND'
22564 # in which case we are not to be found in the path.
22565 if test "x$as_myself" = x; then
22566   as_myself=$0
22567 fi
22568 if test ! -f "$as_myself"; then
22569   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22570   { (exit 1); exit 1; }
22571 fi
22572
22573 # Work around bugs in pre-3.0 UWIN ksh.
22574 for as_var in ENV MAIL MAILPATH
22575 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22576 done
22577 PS1='$ '
22578 PS2='> '
22579 PS4='+ '
22580
22581 # NLS nuisances.
22582 for as_var in \
22583   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22584   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22585   LC_TELEPHONE LC_TIME
22586 do
22587   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
22588     eval $as_var=C; export $as_var
22589   else
22590     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
22591   fi
22592 done
22593
22594 # Required to use basename.
22595 if expr a : '\(a\)' >/dev/null 2>&1 &&
22596    test "X`expr 00001 : '.*\(...\)'`" = X001; then
22597   as_expr=expr
22598 else
22599   as_expr=false
22600 fi
22601
22602 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22603   as_basename=basename
22604 else
22605   as_basename=false
22606 fi
22607
22608
22609 # Name of the executable.
22610 as_me=`$as_basename -- "$0" ||
22611 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22612          X"$0" : 'X\(//\)$' \| \
22613          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22614 echo X/"$0" |
22615     sed '/^.*\/\([^/][^/]*\)\/*$/{
22616             s//\1/
22617             q
22618           }
22619           /^X\/\(\/\/\)$/{
22620             s//\1/
22621             q
22622           }
22623           /^X\/\(\/\).*/{
22624             s//\1/
22625             q
22626           }
22627           s/.*/./; q'`
22628
22629 # CDPATH.
22630 $as_unset CDPATH
22631
22632
22633
22634   as_lineno_1=$LINENO
22635   as_lineno_2=$LINENO
22636   test "x$as_lineno_1" != "x$as_lineno_2" &&
22637   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
22638
22639   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
22640   # uniformly replaced by the line number.  The first 'sed' inserts a
22641   # line-number line after each line using $LINENO; the second 'sed'
22642   # does the real work.  The second script uses 'N' to pair each
22643   # line-number line with the line containing $LINENO, and appends
22644   # trailing '-' during substitution so that $LINENO is not a special
22645   # case at line end.
22646   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
22647   # scripts with optimization help from Paolo Bonzini.  Blame Lee
22648   # E. McMahon (1931-1989) for sed's syntax.  :-)
22649   sed -n '
22650     p
22651     /[$]LINENO/=
22652   ' <$as_myself |
22653     sed '
22654       s/[$]LINENO.*/&-/
22655       t lineno
22656       b
22657       :lineno
22658       N
22659       :loop
22660       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22661       t loop
22662       s/-\n.*//
22663     ' >$as_me.lineno &&
22664   chmod +x "$as_me.lineno" ||
22665     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22666    { (exit 1); exit 1; }; }
22667
22668   # Don't try to exec as it changes $[0], causing all sort of problems
22669   # (the dirname of $[0] is not the place where we might find the
22670   # original and so on.  Autoconf is especially sensitive to this).
22671   . "./$as_me.lineno"
22672   # Exit status is that of the last command.
22673   exit
22674 }
22675
22676
22677 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22678   as_dirname=dirname
22679 else
22680   as_dirname=false
22681 fi
22682
22683 ECHO_C= ECHO_N= ECHO_T=
22684 case `echo -n x` in
22685 -n*)
22686   case `echo 'x\c'` in
22687   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
22688   *)   ECHO_C='\c';;
22689   esac;;
22690 *)
22691   ECHO_N='-n';;
22692 esac
22693
22694 if expr a : '\(a\)' >/dev/null 2>&1 &&
22695    test "X`expr 00001 : '.*\(...\)'`" = X001; then
22696   as_expr=expr
22697 else
22698   as_expr=false
22699 fi
22700
22701 rm -f conf$$ conf$$.exe conf$$.file
22702 if test -d conf$$.dir; then
22703   rm -f conf$$.dir/conf$$.file
22704 else
22705   rm -f conf$$.dir
22706   mkdir conf$$.dir
22707 fi
22708 echo >conf$$.file
22709 if ln -s conf$$.file conf$$ 2>/dev/null; then
22710   as_ln_s='ln -s'
22711   # ... but there are two gotchas:
22712   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22713   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22714   # In both cases, we have to default to `cp -p'.
22715   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22716     as_ln_s='cp -p'
22717 elif ln conf$$.file conf$$ 2>/dev/null; then
22718   as_ln_s=ln
22719 else
22720   as_ln_s='cp -p'
22721 fi
22722 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22723 rmdir conf$$.dir 2>/dev/null
22724
22725 if mkdir -p . 2>/dev/null; then
22726   as_mkdir_p=:
22727 else
22728   test -d ./-p && rmdir ./-p
22729   as_mkdir_p=false
22730 fi
22731
22732 if test -x / >/dev/null 2>&1; then
22733   as_test_x='test -x'
22734 else
22735   if ls -dL / >/dev/null 2>&1; then
22736     as_ls_L_option=L
22737   else
22738     as_ls_L_option=
22739   fi
22740   as_test_x='
22741     eval sh -c '\''
22742       if test -d "$1"; then
22743         test -d "$1/.";
22744       else
22745         case $1 in
22746         -*)set "./$1";;
22747         esac;
22748         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
22749         ???[sx]*):;;*)false;;esac;fi
22750     '\'' sh
22751   '
22752 fi
22753 as_executable_p=$as_test_x
22754
22755 # Sed expression to map a string onto a valid CPP name.
22756 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22757
22758 # Sed expression to map a string onto a valid variable name.
22759 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22760
22761
22762 exec 6>&1
22763
22764 # Save the log message, to keep $[0] and so on meaningful, and to
22765 # report actual input values of CONFIG_FILES etc. instead of their
22766 # values after options handling.
22767 ac_log="
22768 This file was extended by Wine $as_me 1.0, which was
22769 generated by GNU Autoconf 2.61.  Invocation command line was
22770
22771   CONFIG_FILES    = $CONFIG_FILES
22772   CONFIG_HEADERS  = $CONFIG_HEADERS
22773   CONFIG_LINKS    = $CONFIG_LINKS
22774   CONFIG_COMMANDS = $CONFIG_COMMANDS
22775   $ $0 $@
22776
22777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22778 "
22779
22780 _ACEOF
22781
22782 cat >>$CONFIG_STATUS <<_ACEOF
22783 # Files that config.status was made for.
22784 config_files="$ac_config_files"
22785 config_headers="$ac_config_headers"
22786 config_commands="$ac_config_commands"
22787
22788 _ACEOF
22789
22790 cat >>$CONFIG_STATUS <<\_ACEOF
22791 ac_cs_usage="\
22792 \`$as_me' instantiates files from templates according to the
22793 current configuration.
22794
22795 Usage: $0 [OPTIONS] [FILE]...
22796
22797   -h, --help       print this help, then exit
22798   -V, --version    print version number and configuration settings, then exit
22799   -q, --quiet      do not print progress messages
22800   -d, --debug      don't remove temporary files
22801       --recheck    update $as_me by reconfiguring in the same conditions
22802   --file=FILE[:TEMPLATE]
22803                    instantiate the configuration file FILE
22804   --header=FILE[:TEMPLATE]
22805                    instantiate the configuration header FILE
22806
22807 Configuration files:
22808 $config_files
22809
22810 Configuration headers:
22811 $config_headers
22812
22813 Configuration commands:
22814 $config_commands
22815
22816 Report bugs to <bug-autoconf@gnu.org>."
22817
22818 _ACEOF
22819 cat >>$CONFIG_STATUS <<_ACEOF
22820 ac_cs_version="\\
22821 Wine config.status 1.0
22822 configured by $0, generated by GNU Autoconf 2.61,
22823   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22824
22825 Copyright (C) 2006 Free Software Foundation, Inc.
22826 This config.status script is free software; the Free Software Foundation
22827 gives unlimited permission to copy, distribute and modify it."
22828
22829 ac_pwd='$ac_pwd'
22830 srcdir='$srcdir'
22831 INSTALL='$INSTALL'
22832 _ACEOF
22833
22834 cat >>$CONFIG_STATUS <<\_ACEOF
22835 # If no file are specified by the user, then we need to provide default
22836 # value.  By we need to know if files were specified by the user.
22837 ac_need_defaults=:
22838 while test $# != 0
22839 do
22840   case $1 in
22841   --*=*)
22842     ac_option=`expr "X$1" : 'X\([^=]*\)='`
22843     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22844     ac_shift=:
22845     ;;
22846   *)
22847     ac_option=$1
22848     ac_optarg=$2
22849     ac_shift=shift
22850     ;;
22851   esac
22852
22853   case $ac_option in
22854   # Handling of the options.
22855   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22856     ac_cs_recheck=: ;;
22857   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22858     echo "$ac_cs_version"; exit ;;
22859   --debug | --debu | --deb | --de | --d | -d )
22860     debug=: ;;
22861   --file | --fil | --fi | --f )
22862     $ac_shift
22863     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
22864     ac_need_defaults=false;;
22865   --header | --heade | --head | --hea )
22866     $ac_shift
22867     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
22868     ac_need_defaults=false;;
22869   --he | --h)
22870     # Conflict between --help and --header
22871     { echo "$as_me: error: ambiguous option: $1
22872 Try \`$0 --help' for more information." >&2
22873    { (exit 1); exit 1; }; };;
22874   --help | --hel | -h )
22875     echo "$ac_cs_usage"; exit ;;
22876   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22877   | -silent | --silent | --silen | --sile | --sil | --si | --s)
22878     ac_cs_silent=: ;;
22879
22880   # This is an error.
22881   -*) { echo "$as_me: error: unrecognized option: $1
22882 Try \`$0 --help' for more information." >&2
22883    { (exit 1); exit 1; }; } ;;
22884
22885   *) ac_config_targets="$ac_config_targets $1"
22886      ac_need_defaults=false ;;
22887
22888   esac
22889   shift
22890 done
22891
22892 ac_configure_extra_args=
22893
22894 if $ac_cs_silent; then
22895   exec 6>/dev/null
22896   ac_configure_extra_args="$ac_configure_extra_args --silent"
22897 fi
22898
22899 _ACEOF
22900 cat >>$CONFIG_STATUS <<_ACEOF
22901 if \$ac_cs_recheck; then
22902   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
22903   CONFIG_SHELL=$SHELL
22904   export CONFIG_SHELL
22905   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22906 fi
22907
22908 _ACEOF
22909 cat >>$CONFIG_STATUS <<\_ACEOF
22910 exec 5>>config.log
22911 {
22912   echo
22913   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22914 ## Running $as_me. ##
22915 _ASBOX
22916   echo "$ac_log"
22917 } >&5
22918
22919 _ACEOF
22920 cat >>$CONFIG_STATUS <<_ACEOF
22921 _ACEOF
22922
22923 cat >>$CONFIG_STATUS <<\_ACEOF
22924
22925 # Handling of arguments.
22926 for ac_config_target in $ac_config_targets
22927 do
22928   case $ac_config_target in
22929     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
22930     "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
22931     "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
22932     "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
22933     "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
22934     "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
22935     "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
22936     "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
22937     "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
22938     "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
22939     "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
22940     "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
22941     "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
22942     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22943     "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
22944     "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
22945     "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
22946     "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
22947     "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
22948     "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
22949     "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
22950     "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
22951     "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
22952     "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
22953     "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
22954     "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
22955     "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
22956     "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
22957     "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
22958     "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
22959     "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
22960     "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
22961     "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
22962     "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
22963     "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
22964     "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
22965     "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
22966     "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
22967     "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
22968     "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
22969     "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
22970     "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
22971     "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
22972     "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
22973     "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
22974     "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
22975     "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
22976     "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
22977     "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
22978     "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
22979     "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
22980     "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
22981     "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
22982     "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
22983     "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
22984     "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
22985     "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
22986     "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
22987     "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
22988     "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
22989     "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
22990     "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
22991     "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
22992     "dlls/d3dx8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/tests/Makefile" ;;
22993     "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
22994     "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
22995     "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
22996     "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
22997     "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
22998     "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
22999     "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
23000     "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
23001     "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
23002     "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
23003     "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
23004     "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
23005     "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
23006     "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
23007     "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
23008     "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
23009     "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
23010     "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
23011     "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
23012     "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
23013     "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
23014     "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
23015     "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
23016     "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
23017     "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
23018     "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
23019     "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
23020     "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
23021     "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
23022     "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
23023     "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
23024     "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
23025     "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
23026     "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
23027     "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
23028     "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
23029     "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
23030     "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
23031     "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
23032     "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
23033     "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
23034     "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
23035     "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
23036     "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
23037     "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
23038     "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
23039     "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
23040     "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
23041     "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
23042     "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
23043     "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
23044     "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
23045     "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
23046     "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
23047     "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
23048     "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
23049     "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
23050     "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
23051     "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
23052     "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
23053     "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
23054     "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
23055     "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
23056     "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
23057     "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
23058     "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
23059     "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
23060     "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
23061     "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
23062     "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
23063     "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
23064     "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
23065     "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
23066     "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
23067     "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
23068     "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
23069     "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
23070     "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
23071     "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
23072     "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
23073     "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
23074     "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
23075     "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
23076     "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
23077     "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
23078     "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
23079     "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
23080     "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
23081     "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
23082     "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
23083     "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
23084     "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
23085     "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
23086     "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
23087     "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
23088     "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
23089     "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
23090     "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
23091     "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
23092     "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
23093     "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
23094     "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
23095     "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
23096     "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
23097     "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
23098     "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
23099     "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
23100     "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
23101     "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
23102     "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
23103     "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
23104     "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
23105     "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
23106     "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
23107     "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
23108     "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
23109     "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
23110     "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
23111     "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
23112     "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
23113     "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
23114     "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
23115     "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
23116     "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
23117     "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
23118     "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
23119     "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
23120     "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
23121     "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
23122     "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
23123     "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
23124     "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
23125     "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
23126     "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
23127     "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
23128     "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
23129     "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
23130     "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
23131     "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
23132     "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
23133     "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
23134     "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
23135     "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
23136     "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
23137     "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
23138     "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
23139     "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
23140     "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
23141     "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
23142     "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
23143     "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
23144     "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
23145     "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
23146     "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
23147     "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
23148     "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
23149     "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
23150     "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
23151     "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
23152     "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
23153     "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
23154     "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
23155     "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
23156     "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
23157     "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
23158     "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
23159     "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
23160     "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
23161     "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
23162     "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
23163     "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
23164     "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
23165     "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
23166     "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
23167     "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
23168     "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
23169     "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
23170     "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
23171     "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
23172     "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
23173     "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
23174     "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
23175     "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
23176     "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
23177     "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
23178     "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
23179     "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
23180     "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
23181     "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
23182     "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
23183     "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
23184     "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
23185     "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
23186     "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
23187     "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
23188     "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
23189     "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
23190     "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
23191     "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
23192     "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
23193     "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
23194     "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
23195     "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
23196     "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
23197     "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
23198     "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
23199     "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
23200     "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
23201     "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
23202     "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
23203     "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
23204     "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
23205     "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
23206     "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
23207     "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
23208     "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
23209     "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
23210     "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
23211     "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
23212     "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
23213     "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
23214     "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
23215     "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
23216     "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
23217     "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
23218     "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
23219     "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
23220     "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
23221     "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
23222     "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
23223     "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
23224     "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
23225     "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
23226     "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
23227     "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
23228     "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
23229     "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
23230     "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
23231     "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
23232     "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
23233     "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
23234     "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
23235     "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
23236     "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
23237     "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
23238     "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
23239     "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
23240     "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
23241     "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
23242     "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
23243     "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
23244     "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
23245     "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
23246     "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
23247     "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
23248     "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
23249     "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
23250     "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
23251     "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
23252     "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
23253     "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
23254     "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
23255     "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
23256     "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
23257     "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
23258     "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
23259     "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
23260     "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
23261     "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
23262     "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
23263     "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
23264     "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
23265     "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
23266     "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
23267     "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
23268     "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
23269     "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
23270     "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
23271     "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
23272     "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
23273     "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
23274     "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
23275     "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
23276     "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
23277     "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
23278     "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
23279     "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
23280     "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
23281     "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
23282     "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
23283     "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
23284     "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
23285     "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
23286     "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
23287     "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
23288     "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
23289     "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
23290     "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
23291     "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
23292     "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
23293     "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
23294     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
23295     "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
23296     "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
23297     "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
23298     "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
23299     "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
23300     "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
23301     "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
23302     "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
23303     "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
23304     "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
23305     "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
23306     "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
23307     "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
23308     "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
23309     "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
23310     "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
23311     "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
23312     "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
23313     "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
23314     "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
23315     "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
23316     "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
23317     "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
23318     "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
23319     "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
23320     "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
23321     "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
23322     "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
23323     "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
23324     "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
23325     "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
23326     "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
23327     "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
23328     "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
23329     "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
23330     "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
23331     "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
23332     "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
23333     "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
23334     "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
23335     "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
23336     "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
23337     "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
23338     "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
23339     "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
23340     "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
23341     "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
23342     "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
23343     "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
23344     "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
23345     "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
23346     "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
23347     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
23348     "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
23349     "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
23350     "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
23351     "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
23352     "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
23353     "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
23354
23355   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23356 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23357    { (exit 1); exit 1; }; };;
23358   esac
23359 done
23360
23361
23362 # If the user did not use the arguments to specify the items to instantiate,
23363 # then the envvar interface is used.  Set only those that are not.
23364 # We use the long form for the default assignment because of an extremely
23365 # bizarre bug on SunOS 4.1.3.
23366 if $ac_need_defaults; then
23367   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23368   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23369   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23370 fi
23371
23372 # Have a temporary directory for convenience.  Make it in the build tree
23373 # simply because there is no reason against having it here, and in addition,
23374 # creating and moving files from /tmp can sometimes cause problems.
23375 # Hook for its removal unless debugging.
23376 # Note that there is a small window in which the directory will not be cleaned:
23377 # after its creation but before its name has been assigned to `$tmp'.
23378 $debug ||
23379 {
23380   tmp=
23381   trap 'exit_status=$?
23382   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
23383 ' 0
23384   trap '{ (exit 1); exit 1; }' 1 2 13 15
23385 }
23386 # Create a (secure) tmp directory for tmp files.
23387
23388 {
23389   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23390   test -n "$tmp" && test -d "$tmp"
23391 }  ||
23392 {
23393   tmp=./conf$$-$RANDOM
23394   (umask 077 && mkdir "$tmp")
23395 } ||
23396 {
23397    echo "$me: cannot create a temporary directory in ." >&2
23398    { (exit 1); exit 1; }
23399 }
23400
23401 #
23402 # Set up the sed scripts for CONFIG_FILES section.
23403 #
23404
23405 # No need to generate the scripts if there are no CONFIG_FILES.
23406 # This happens for instance when ./config.status config.h
23407 if test -n "$CONFIG_FILES"; then
23408
23409 _ACEOF
23410
23411 # Create sed commands to just substitute file output variables.
23412
23413 # Remaining file output variables are in a fragment that also has non-file
23414 # output varibles.
23415
23416
23417
23418 ac_delim='%!_!# '
23419 for ac_last_try in false false false false false :; do
23420   cat >conf$$subs.sed <<_ACEOF
23421 SHELL!$SHELL$ac_delim
23422 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23423 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23424 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23425 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23426 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23427 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23428 exec_prefix!$exec_prefix$ac_delim
23429 prefix!$prefix$ac_delim
23430 program_transform_name!$program_transform_name$ac_delim
23431 bindir!$bindir$ac_delim
23432 sbindir!$sbindir$ac_delim
23433 libexecdir!$libexecdir$ac_delim
23434 datarootdir!$datarootdir$ac_delim
23435 datadir!$datadir$ac_delim
23436 sysconfdir!$sysconfdir$ac_delim
23437 sharedstatedir!$sharedstatedir$ac_delim
23438 localstatedir!$localstatedir$ac_delim
23439 includedir!$includedir$ac_delim
23440 oldincludedir!$oldincludedir$ac_delim
23441 docdir!$docdir$ac_delim
23442 infodir!$infodir$ac_delim
23443 htmldir!$htmldir$ac_delim
23444 dvidir!$dvidir$ac_delim
23445 pdfdir!$pdfdir$ac_delim
23446 psdir!$psdir$ac_delim
23447 libdir!$libdir$ac_delim
23448 localedir!$localedir$ac_delim
23449 mandir!$mandir$ac_delim
23450 DEFS!$DEFS$ac_delim
23451 ECHO_C!$ECHO_C$ac_delim
23452 ECHO_N!$ECHO_N$ac_delim
23453 ECHO_T!$ECHO_T$ac_delim
23454 LIBS!$LIBS$ac_delim
23455 build_alias!$build_alias$ac_delim
23456 host_alias!$host_alias$ac_delim
23457 target_alias!$target_alias$ac_delim
23458 MAINTAINER_MODE!$MAINTAINER_MODE$ac_delim
23459 build!$build$ac_delim
23460 build_cpu!$build_cpu$ac_delim
23461 build_vendor!$build_vendor$ac_delim
23462 build_os!$build_os$ac_delim
23463 host!$host$ac_delim
23464 host_cpu!$host_cpu$ac_delim
23465 host_vendor!$host_vendor$ac_delim
23466 host_os!$host_os$ac_delim
23467 WIN16_FILES!$WIN16_FILES$ac_delim
23468 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
23469 SET_MAKE!$SET_MAKE$ac_delim
23470 CC!$CC$ac_delim
23471 CFLAGS!$CFLAGS$ac_delim
23472 LDFLAGS!$LDFLAGS$ac_delim
23473 CPPFLAGS!$CPPFLAGS$ac_delim
23474 ac_ct_CC!$ac_ct_CC$ac_delim
23475 EXEEXT!$EXEEXT$ac_delim
23476 OBJEXT!$OBJEXT$ac_delim
23477 CXX!$CXX$ac_delim
23478 CXXFLAGS!$CXXFLAGS$ac_delim
23479 ac_ct_CXX!$ac_ct_CXX$ac_delim
23480 CPPBIN!$CPPBIN$ac_delim
23481 TOOLSDIR!$TOOLSDIR$ac_delim
23482 XMKMF!$XMKMF$ac_delim
23483 CPP!$CPP$ac_delim
23484 X_CFLAGS!$X_CFLAGS$ac_delim
23485 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
23486 X_LIBS!$X_LIBS$ac_delim
23487 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
23488 FLEX!$FLEX$ac_delim
23489 BISON!$BISON$ac_delim
23490 AS!$AS$ac_delim
23491 ac_ct_AS!$ac_ct_AS$ac_delim
23492 LD!$LD$ac_delim
23493 AR!$AR$ac_delim
23494 ARFLAGS!$ARFLAGS$ac_delim
23495 RANLIB!$RANLIB$ac_delim
23496 STRIP!$STRIP$ac_delim
23497 WINDRES!$WINDRES$ac_delim
23498 LN_S!$LN_S$ac_delim
23499 LN!$LN$ac_delim
23500 GREP!$GREP$ac_delim
23501 EGREP!$EGREP$ac_delim
23502 LDCONFIG!$LDCONFIG$ac_delim
23503 _ACEOF
23504
23505   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
23506     break
23507   elif $ac_last_try; then
23508     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23509 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23510    { (exit 1); exit 1; }; }
23511   else
23512     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23513   fi
23514 done
23515
23516 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23517 if test -n "$ac_eof"; then
23518   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23519   ac_eof=`expr $ac_eof + 1`
23520 fi
23521
23522 cat >>$CONFIG_STATUS <<_ACEOF
23523 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23524 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23525 /^[      ]*@MAKE_RULES@[         ]*$/{
23526 r $MAKE_RULES
23527 d
23528 }
23529 /^[      ]*@MAKE_DLL_RULES@[     ]*$/{
23530 r $MAKE_DLL_RULES
23531 d
23532 }
23533 /^[      ]*@MAKE_IMPLIB_RULES@[  ]*$/{
23534 r $MAKE_IMPLIB_RULES
23535 d
23536 }
23537 /^[      ]*@MAKE_TEST_RULES@[    ]*$/{
23538 r $MAKE_TEST_RULES
23539 d
23540 }
23541 /^[      ]*@MAKE_PROG_RULES@[    ]*$/{
23542 r $MAKE_PROG_RULES
23543 d
23544 }
23545 _ACEOF
23546 sed '
23547 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23548 s/^/s,@/; s/!/@,|#_!!_#|/
23549 :n
23550 t n
23551 s/'"$ac_delim"'$/,g/; t
23552 s/$/\\/; p
23553 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23554 ' >>$CONFIG_STATUS <conf$$subs.sed
23555 rm -f conf$$subs.sed
23556 cat >>$CONFIG_STATUS <<_ACEOF
23557 CEOF$ac_eof
23558 _ACEOF
23559
23560
23561 ac_delim='%!_!# '
23562 for ac_last_try in false false false false false :; do
23563   cat >conf$$subs.sed <<_ACEOF
23564 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23565 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23566 INSTALL_DATA!$INSTALL_DATA$ac_delim
23567 LINT!$LINT$ac_delim
23568 LINTFLAGS!$LINTFLAGS$ac_delim
23569 FONTFORGE!$FONTFORGE$ac_delim
23570 PKG_CONFIG!$PKG_CONFIG$ac_delim
23571 RSVG!$RSVG$ac_delim
23572 ICOTOOL!$ICOTOOL$ac_delim
23573 PRELINK!$PRELINK$ac_delim
23574 LIBPTHREAD!$LIBPTHREAD$ac_delim
23575 XLIB!$XLIB$ac_delim
23576 XFILES!$XFILES$ac_delim
23577 OPENGLFILES!$OPENGLFILES$ac_delim
23578 GLU32FILES!$GLU32FILES$ac_delim
23579 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
23580 QUARTZFILES!$QUARTZFILES$ac_delim
23581 DLLEXT!$DLLEXT$ac_delim
23582 DLLFLAGS!$DLLFLAGS$ac_delim
23583 LDSHARED!$LDSHARED$ac_delim
23584 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
23585 LIBEXT!$LIBEXT$ac_delim
23586 IMPLIBEXT!$IMPLIBEXT$ac_delim
23587 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
23588 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
23589 LDD!$LDD$ac_delim
23590 DLLTOOL!$DLLTOOL$ac_delim
23591 DLLWRAP!$DLLWRAP$ac_delim
23592 MINGWAR!$MINGWAR$ac_delim
23593 SECURITYLIB!$SECURITYLIB$ac_delim
23594 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
23595 IOKITLIB!$IOKITLIB$ac_delim
23596 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
23597 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
23598 COREAUDIO!$COREAUDIO$ac_delim
23599 CARBONLIB!$CARBONLIB$ac_delim
23600 CROSSTEST!$CROSSTEST$ac_delim
23601 CROSSCC!$CROSSCC$ac_delim
23602 CROSSWINDRES!$CROSSWINDRES$ac_delim
23603 NASLIBS!$NASLIBS$ac_delim
23604 XML2LIBS!$XML2LIBS$ac_delim
23605 XML2INCL!$XML2INCL$ac_delim
23606 XSLTLIBS!$XSLTLIBS$ac_delim
23607 XSLTINCL!$XSLTINCL$ac_delim
23608 HALINCL!$HALINCL$ac_delim
23609 sane_devel!$sane_devel$ac_delim
23610 SANEINCL!$SANEINCL$ac_delim
23611 gphoto2_devel!$gphoto2_devel$ac_delim
23612 gphoto2port_devel!$gphoto2port_devel$ac_delim
23613 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
23614 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
23615 RESOLVLIBS!$RESOLVLIBS$ac_delim
23616 LCMSLIBS!$LCMSLIBS$ac_delim
23617 LDAPLIBS!$LDAPLIBS$ac_delim
23618 ft_devel!$ft_devel$ac_delim
23619 FREETYPELIBS!$FREETYPELIBS$ac_delim
23620 FREETYPEINCL!$FREETYPEINCL$ac_delim
23621 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
23622 ESDCONFIG!$ESDCONFIG$ac_delim
23623 ESDLIBS!$ESDLIBS$ac_delim
23624 ESDINCL!$ESDINCL$ac_delim
23625 ALSALIBS!$ALSALIBS$ac_delim
23626 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
23627 FONTCONFIGINCL!$FONTCONFIGINCL$ac_delim
23628 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
23629 BUILTINFLAG!$BUILTINFLAG$ac_delim
23630 LDPATH!$LDPATH$ac_delim
23631 CRTLIBS!$CRTLIBS$ac_delim
23632 SOCKETLIBS!$SOCKETLIBS$ac_delim
23633 MAIN_BINARY!$MAIN_BINARY$ac_delim
23634 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
23635 LIBDL!$LIBDL$ac_delim
23636 LIBPOLL!$LIBPOLL$ac_delim
23637 DEPENDENCIES!$DEPENDENCIES$ac_delim
23638 LIBOBJS!$LIBOBJS$ac_delim
23639 LTLIBOBJS!$LTLIBOBJS$ac_delim
23640 _ACEOF
23641
23642   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
23643     break
23644   elif $ac_last_try; then
23645     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23646 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23647    { (exit 1); exit 1; }; }
23648   else
23649     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23650   fi
23651 done
23652
23653 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23654 if test -n "$ac_eof"; then
23655   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23656   ac_eof=`expr $ac_eof + 1`
23657 fi
23658
23659 cat >>$CONFIG_STATUS <<_ACEOF
23660 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23661 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23662 _ACEOF
23663 sed '
23664 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23665 s/^/s,@/; s/!/@,|#_!!_#|/
23666 :n
23667 t n
23668 s/'"$ac_delim"'$/,g/; t
23669 s/$/\\/; p
23670 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23671 ' >>$CONFIG_STATUS <conf$$subs.sed
23672 rm -f conf$$subs.sed
23673 cat >>$CONFIG_STATUS <<_ACEOF
23674 :end
23675 s/|#_!!_#|//g
23676 CEOF$ac_eof
23677 _ACEOF
23678
23679
23680 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23681 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23682 # trailing colons and then remove the whole line if VPATH becomes empty
23683 # (actually we leave an empty line to preserve line numbers).
23684 if test "x$srcdir" = x.; then
23685   ac_vpsub='/^[  ]*VPATH[        ]*=/{
23686 s/:*\$(srcdir):*/:/
23687 s/:*\${srcdir}:*/:/
23688 s/:*@srcdir@:*/:/
23689 s/^\([^=]*=[     ]*\):*/\1/
23690 s/:*$//
23691 s/^[^=]*=[       ]*$//
23692 }'
23693 fi
23694
23695 cat >>$CONFIG_STATUS <<\_ACEOF
23696 fi # test -n "$CONFIG_FILES"
23697
23698
23699 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
23700 do
23701   case $ac_tag in
23702   :[FHLC]) ac_mode=$ac_tag; continue;;
23703   esac
23704   case $ac_mode$ac_tag in
23705   :[FHL]*:*);;
23706   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23707 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23708    { (exit 1); exit 1; }; };;
23709   :[FH]-) ac_tag=-:-;;
23710   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23711   esac
23712   ac_save_IFS=$IFS
23713   IFS=:
23714   set x $ac_tag
23715   IFS=$ac_save_IFS
23716   shift
23717   ac_file=$1
23718   shift
23719
23720   case $ac_mode in
23721   :L) ac_source=$1;;
23722   :[FH])
23723     ac_file_inputs=
23724     for ac_f
23725     do
23726       case $ac_f in
23727       -) ac_f="$tmp/stdin";;
23728       *) # Look for the file first in the build tree, then in the source tree
23729          # (if the path is not absolute).  The absolute path cannot be DOS-style,
23730          # because $ac_f cannot contain `:'.
23731          test -f "$ac_f" ||
23732            case $ac_f in
23733            [\\/$]*) false;;
23734            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23735            esac ||
23736            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23737 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23738    { (exit 1); exit 1; }; };;
23739       esac
23740       ac_file_inputs="$ac_file_inputs $ac_f"
23741     done
23742
23743     # Let's still pretend it is `configure' which instantiates (i.e., don't
23744     # use $as_me), people would be surprised to read:
23745     #    /* config.h.  Generated by config.status.  */
23746     configure_input="Generated from "`IFS=:
23747           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23748     if test x"$ac_file" != x-; then
23749       configure_input="$ac_file.  $configure_input"
23750       { echo "$as_me:$LINENO: creating $ac_file" >&5
23751 echo "$as_me: creating $ac_file" >&6;}
23752     fi
23753
23754     case $ac_tag in
23755     *:-:* | *:-) cat >"$tmp/stdin";;
23756     esac
23757     ;;
23758   esac
23759
23760   ac_dir=`$as_dirname -- "$ac_file" ||
23761 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23762          X"$ac_file" : 'X\(//\)[^/]' \| \
23763          X"$ac_file" : 'X\(//\)$' \| \
23764          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23765 echo X"$ac_file" |
23766     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23767             s//\1/
23768             q
23769           }
23770           /^X\(\/\/\)[^/].*/{
23771             s//\1/
23772             q
23773           }
23774           /^X\(\/\/\)$/{
23775             s//\1/
23776             q
23777           }
23778           /^X\(\/\).*/{
23779             s//\1/
23780             q
23781           }
23782           s/.*/./; q'`
23783   { as_dir="$ac_dir"
23784   case $as_dir in #(
23785   -*) as_dir=./$as_dir;;
23786   esac
23787   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
23788     as_dirs=
23789     while :; do
23790       case $as_dir in #(
23791       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23792       *) as_qdir=$as_dir;;
23793       esac
23794       as_dirs="'$as_qdir' $as_dirs"
23795       as_dir=`$as_dirname -- "$as_dir" ||
23796 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23797          X"$as_dir" : 'X\(//\)[^/]' \| \
23798          X"$as_dir" : 'X\(//\)$' \| \
23799          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
23800 echo X"$as_dir" |
23801     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23802             s//\1/
23803             q
23804           }
23805           /^X\(\/\/\)[^/].*/{
23806             s//\1/
23807             q
23808           }
23809           /^X\(\/\/\)$/{
23810             s//\1/
23811             q
23812           }
23813           /^X\(\/\).*/{
23814             s//\1/
23815             q
23816           }
23817           s/.*/./; q'`
23818       test -d "$as_dir" && break
23819     done
23820     test -z "$as_dirs" || eval "mkdir $as_dirs"
23821   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23822 echo "$as_me: error: cannot create directory $as_dir" >&2;}
23823    { (exit 1); exit 1; }; }; }
23824   ac_builddir=.
23825
23826 case "$ac_dir" in
23827 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23828 *)
23829   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23830   # A ".." for each directory in $ac_dir_suffix.
23831   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23832   case $ac_top_builddir_sub in
23833   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23834   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23835   esac ;;
23836 esac
23837 ac_abs_top_builddir=$ac_pwd
23838 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23839 # for backward compatibility:
23840 ac_top_builddir=$ac_top_build_prefix
23841
23842 case $srcdir in
23843   .)  # We are building in place.
23844     ac_srcdir=.
23845     ac_top_srcdir=$ac_top_builddir_sub
23846     ac_abs_top_srcdir=$ac_pwd ;;
23847   [\\/]* | ?:[\\/]* )  # Absolute name.
23848     ac_srcdir=$srcdir$ac_dir_suffix;
23849     ac_top_srcdir=$srcdir
23850     ac_abs_top_srcdir=$srcdir ;;
23851   *) # Relative name.
23852     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23853     ac_top_srcdir=$ac_top_build_prefix$srcdir
23854     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23855 esac
23856 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23857
23858
23859   case $ac_mode in
23860   :F)
23861   #
23862   # CONFIG_FILE
23863   #
23864
23865   case $INSTALL in
23866   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23867   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23868   esac
23869 _ACEOF
23870
23871 cat >>$CONFIG_STATUS <<\_ACEOF
23872 # If the template does not know about datarootdir, expand it.
23873 # FIXME: This hack should be removed a few years after 2.60.
23874 ac_datarootdir_hack=; ac_datarootdir_seen=
23875
23876 case `sed -n '/datarootdir/ {
23877   p
23878   q
23879 }
23880 /@datadir@/p
23881 /@docdir@/p
23882 /@infodir@/p
23883 /@localedir@/p
23884 /@mandir@/p
23885 ' $ac_file_inputs` in
23886 *datarootdir*) ac_datarootdir_seen=yes;;
23887 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23888   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23889 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23890 _ACEOF
23891 cat >>$CONFIG_STATUS <<_ACEOF
23892   ac_datarootdir_hack='
23893   s&@datadir@&$datadir&g
23894   s&@docdir@&$docdir&g
23895   s&@infodir@&$infodir&g
23896   s&@localedir@&$localedir&g
23897   s&@mandir@&$mandir&g
23898     s&\\\${datarootdir}&$datarootdir&g' ;;
23899 esac
23900 _ACEOF
23901
23902 # Neutralize VPATH when `$srcdir' = `.'.
23903 # Shell code in configure.ac might set extrasub.
23904 # FIXME: do we really want to maintain this feature?
23905 cat >>$CONFIG_STATUS <<_ACEOF
23906   sed "$ac_vpsub
23907 $extrasub
23908 _ACEOF
23909 cat >>$CONFIG_STATUS <<\_ACEOF
23910 :t
23911 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23912 s&@configure_input@&$configure_input&;t t
23913 s&@top_builddir@&$ac_top_builddir_sub&;t t
23914 s&@srcdir@&$ac_srcdir&;t t
23915 s&@abs_srcdir@&$ac_abs_srcdir&;t t
23916 s&@top_srcdir@&$ac_top_srcdir&;t t
23917 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23918 s&@builddir@&$ac_builddir&;t t
23919 s&@abs_builddir@&$ac_abs_builddir&;t t
23920 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23921 s&@INSTALL@&$ac_INSTALL&;t t
23922 $ac_datarootdir_hack
23923 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23924
23925 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23926   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23927   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23928   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23929 which seems to be undefined.  Please make sure it is defined." >&5
23930 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23931 which seems to be undefined.  Please make sure it is defined." >&2;}
23932
23933   rm -f "$tmp/stdin"
23934   case $ac_file in
23935   -) cat "$tmp/out"; rm -f "$tmp/out";;
23936   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
23937   esac
23938  ;;
23939   :H)
23940   #
23941   # CONFIG_HEADER
23942   #
23943 _ACEOF
23944
23945 # Transform confdefs.h into a sed script `conftest.defines', that
23946 # substitutes the proper values into config.h.in to produce config.h.
23947 rm -f conftest.defines conftest.tail
23948 # First, append a space to every undef/define line, to ease matching.
23949 echo 's/$/ /' >conftest.defines
23950 # Then, protect against being on the right side of a sed subst, or in
23951 # an unquoted here document, in config.status.  If some macros were
23952 # called several times there might be several #defines for the same
23953 # symbol, which is useless.  But do not sort them, since the last
23954 # AC_DEFINE must be honored.
23955 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23956 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23957 # NAME is the cpp macro being defined, VALUE is the value it is being given.
23958 # PARAMS is the parameter list in the macro definition--in most cases, it's
23959 # just an empty string.
23960 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
23961 ac_dB='\\)[      (].*,\\1define\\2'
23962 ac_dC=' '
23963 ac_dD=' ,'
23964
23965 uniq confdefs.h |
23966   sed -n '
23967         t rset
23968         :rset
23969         s/^[     ]*#[    ]*define[       ][      ]*//
23970         t ok
23971         d
23972         :ok
23973         s/[\\&,]/\\&/g
23974         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23975         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23976   ' >>conftest.defines
23977
23978 # Remove the space that was appended to ease matching.
23979 # Then replace #undef with comments.  This is necessary, for
23980 # example, in the case of _POSIX_SOURCE, which is predefined and required
23981 # on some systems where configure will not decide to define it.
23982 # (The regexp can be short, since the line contains either #define or #undef.)
23983 echo 's/ $//
23984 s,^[     #]*u.*,/* & */,' >>conftest.defines
23985
23986 # Break up conftest.defines:
23987 ac_max_sed_lines=50
23988
23989 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23990 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23991 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23992 # et cetera.
23993 ac_in='$ac_file_inputs'
23994 ac_out='"$tmp/out1"'
23995 ac_nxt='"$tmp/out2"'
23996
23997 while :
23998 do
23999   # Write a here document:
24000     cat >>$CONFIG_STATUS <<_ACEOF
24001     # First, check the format of the line:
24002     cat >"\$tmp/defines.sed" <<\\CEOF
24003 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
24004 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
24005 b
24006 :def
24007 _ACEOF
24008   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
24009   echo 'CEOF
24010     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
24011   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
24012   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
24013   grep . conftest.tail >/dev/null || break
24014   rm -f conftest.defines
24015   mv conftest.tail conftest.defines
24016 done
24017 rm -f conftest.defines conftest.tail
24018
24019 echo "ac_result=$ac_in" >>$CONFIG_STATUS
24020 cat >>$CONFIG_STATUS <<\_ACEOF
24021   if test x"$ac_file" != x-; then
24022     echo "/* $configure_input  */" >"$tmp/config.h"
24023     cat "$ac_result" >>"$tmp/config.h"
24024     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
24025       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24026 echo "$as_me: $ac_file is unchanged" >&6;}
24027     else
24028       rm -f $ac_file
24029       mv "$tmp/config.h" $ac_file
24030     fi
24031   else
24032     echo "/* $configure_input  */"
24033     cat "$ac_result"
24034   fi
24035   rm -f "$tmp/out12"
24036  ;;
24037
24038   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24039 echo "$as_me: executing $ac_file commands" >&6;}
24040  ;;
24041   esac
24042
24043
24044   case $ac_file$ac_mode in
24045     "include/stamp-h":C) echo timestamp > include/stamp-h ;;
24046     "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
24047 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
24048     "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
24049 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
24050     "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
24051 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
24052     "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
24053 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
24054     "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
24055 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
24056     "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
24057 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
24058
24059   esac
24060 done # for ac_tag
24061
24062
24063 { (exit 0); exit 0; }
24064 _ACEOF
24065 chmod +x $CONFIG_STATUS
24066 ac_clean_files=$ac_clean_files_save
24067
24068
24069 # configure is writing to config.log, and then calls config.status.
24070 # config.status does its own redirection, appending to config.log.
24071 # Unfortunately, on DOS this fails, as config.log is still kept open
24072 # by configure, so config.status won't be able to write to it; its
24073 # output is simply discarded.  So we exec the FD to /dev/null,
24074 # effectively closing config.log, so it can be properly (re)opened and
24075 # appended to by config.status.  When coming back to configure, we
24076 # need to make the FD available again.
24077 if test "$no_create" != yes; then
24078   ac_cs_success=:
24079   ac_config_status_args=
24080   test "$silent" = yes &&
24081     ac_config_status_args="$ac_config_status_args --quiet"
24082   exec 5>/dev/null
24083   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24084   exec 5>>config.log
24085   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24086   # would make configure fail if this is the last instruction.
24087   $ac_cs_success || { (exit 1); exit 1; }
24088 fi
24089
24090
24091 if test "$no_create" = "yes"
24092 then
24093   exit 0
24094 fi
24095
24096 ac_save_IFS="$IFS"
24097 IFS="|"
24098 if test "x$wine_notices != "x; then
24099     echo >&6
24100     for msg in $wine_notices; do
24101         if test -n "$msg"; then
24102             { echo "$as_me:$LINENO: $msg" >&5
24103 echo "$as_me: $msg" >&6;}
24104         fi
24105     done
24106 fi
24107 for msg in $wine_warnings; do
24108     if test -n "$msg"; then
24109         echo >&2
24110         { echo "$as_me:$LINENO: WARNING: $msg" >&5
24111 echo "$as_me: WARNING: $msg" >&2;}
24112     fi
24113 done
24114 IFS="$ac_save_IFS"
24115
24116 echo "
24117 $as_me: Finished.  Do '${ac_make} depend && ${ac_make}' to compile Wine.
24118 " >&6
24119