ntprint/tests: Add initial test.
[wine] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.39.
4 #
5 # Report bugs to <wine-devel@winehq.org>.
6 #
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization.  ##
13 ## --------------------- ##
14
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18   emulate sh
19   NULLCMD=:
20   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21   # is contrary to our usage.  Disable this feature.
22   alias -g '${1+"$@"}'='"$@"'
23   setopt NO_GLOB_SUBST
24 else
25   case `(set -o) 2>/dev/null` in
26   *posix*) set -o posix ;;
27 esac
28
29 fi
30
31
32
33
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
41
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44   echo "#! /bin/sh" >conf$$.sh
45   echo  "exit 0"   >>conf$$.sh
46   chmod +x conf$$.sh
47   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48     PATH_SEPARATOR=';'
49   else
50     PATH_SEPARATOR=:
51   fi
52   rm -f conf$$.sh
53 fi
54
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57   as_unset=unset
58 else
59   as_unset=false
60 fi
61
62
63 # IFS
64 # We need space, tab and new line, in precisely that order.  Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
69 '
70 IFS=" ""        $as_nl"
71
72 # Find who we are.  Look in the path if we contain no directory separator.
73 case $0 in
74   *[\\/]* ) as_myself=$0 ;;
75   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
77 do
78   IFS=$as_save_IFS
79   test -z "$as_dir" && as_dir=.
80   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
83
84      ;;
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89   as_myself=$0
90 fi
91 if test ! -f "$as_myself"; then
92   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93   { (exit 1); exit 1; }
94 fi
95
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
103
104 # NLS nuisances.
105 for as_var in \
106   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108   LC_TELEPHONE LC_TIME
109 do
110   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111     eval $as_var=C; export $as_var
112   else
113     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
114   fi
115 done
116
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119    test "X`expr 00001 : '.*\(...\)'`" = X001; then
120   as_expr=expr
121 else
122   as_expr=false
123 fi
124
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126   as_basename=basename
127 else
128   as_basename=false
129 fi
130
131
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135          X"$0" : 'X\(//\)$' \| \
136          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138     sed '/^.*\/\([^/][^/]*\)\/*$/{
139             s//\1/
140             q
141           }
142           /^X\/\(\/\/\)$/{
143             s//\1/
144             q
145           }
146           /^X\/\(\/\).*/{
147             s//\1/
148             q
149           }
150           s/.*/./; q'`
151
152 # CDPATH.
153 $as_unset CDPATH
154
155
156 if test "x$CONFIG_SHELL" = x; then
157   if (eval ":") 2>/dev/null; then
158   as_have_required=yes
159 else
160   as_have_required=no
161 fi
162
163   if test $as_have_required = yes &&     (eval ":
164 (as_func_return () {
165   (exit \$1)
166 }
167 as_func_success () {
168   as_func_return 0
169 }
170 as_func_failure () {
171   as_func_return 1
172 }
173 as_func_ret_success () {
174   return 0
175 }
176 as_func_ret_failure () {
177   return 1
178 }
179
180 exitcode=0
181 if as_func_success; then
182   :
183 else
184   exitcode=1
185   echo as_func_success failed.
186 fi
187
188 if as_func_failure; then
189   exitcode=1
190   echo as_func_failure succeeded.
191 fi
192
193 if as_func_ret_success; then
194   :
195 else
196   exitcode=1
197   echo as_func_ret_success failed.
198 fi
199
200 if as_func_ret_failure; then
201   exitcode=1
202   echo as_func_ret_failure succeeded.
203 fi
204
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
206   :
207 else
208   exitcode=1
209   echo positional parameters were not saved.
210 fi
211
212 test \$exitcode = 0) || { (exit 1); exit 1; }
213
214 (
215   as_lineno_1=\$LINENO
216   as_lineno_2=\$LINENO
217   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
220   :
221 else
222   as_candidate_shells=
223     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225 do
226   IFS=$as_save_IFS
227   test -z "$as_dir" && as_dir=.
228   case $as_dir in
229          /*)
230            for as_base in sh bash ksh sh5; do
231              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232            done;;
233        esac
234 done
235 IFS=$as_save_IFS
236
237
238       for as_shell in $as_candidate_shells $SHELL; do
239          # Try only shells that exist, to save several forks.
240          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241                 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243   emulate sh
244   NULLCMD=:
245   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246   # is contrary to our usage.  Disable this feature.
247   alias -g '${1+"$@"}'='"$@"'
248   setopt NO_GLOB_SUBST
249 else
250   case `(set -o) 2>/dev/null` in
251   *posix*) set -o posix ;;
252 esac
253
254 fi
255
256
257 :
258 _ASEOF
259 }; then
260   CONFIG_SHELL=$as_shell
261                as_have_required=yes
262                if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264   emulate sh
265   NULLCMD=:
266   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267   # is contrary to our usage.  Disable this feature.
268   alias -g '${1+"$@"}'='"$@"'
269   setopt NO_GLOB_SUBST
270 else
271   case `(set -o) 2>/dev/null` in
272   *posix*) set -o posix ;;
273 esac
274
275 fi
276
277
278 :
279 (as_func_return () {
280   (exit $1)
281 }
282 as_func_success () {
283   as_func_return 0
284 }
285 as_func_failure () {
286   as_func_return 1
287 }
288 as_func_ret_success () {
289   return 0
290 }
291 as_func_ret_failure () {
292   return 1
293 }
294
295 exitcode=0
296 if as_func_success; then
297   :
298 else
299   exitcode=1
300   echo as_func_success failed.
301 fi
302
303 if as_func_failure; then
304   exitcode=1
305   echo as_func_failure succeeded.
306 fi
307
308 if as_func_ret_success; then
309   :
310 else
311   exitcode=1
312   echo as_func_ret_success failed.
313 fi
314
315 if as_func_ret_failure; then
316   exitcode=1
317   echo as_func_ret_failure succeeded.
318 fi
319
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
321   :
322 else
323   exitcode=1
324   echo positional parameters were not saved.
325 fi
326
327 test $exitcode = 0) || { (exit 1); exit 1; }
328
329 (
330   as_lineno_1=$LINENO
331   as_lineno_2=$LINENO
332   test "x$as_lineno_1" != "x$as_lineno_2" &&
333   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
334
335 _ASEOF
336 }; then
337   break
338 fi
339
340 fi
341
342       done
343
344       if test "x$CONFIG_SHELL" != x; then
345   for as_var in BASH_ENV ENV
346         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347         done
348         export CONFIG_SHELL
349         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
350 fi
351
352
353     if test $as_have_required = no; then
354   echo This script requires a shell more modern than all the
355       echo shells that I found on your system.  Please install a
356       echo modern shell, or manually run the script under such a
357       echo shell if you do have one.
358       { (exit 1); exit 1; }
359 fi
360
361
362 fi
363
364 fi
365
366
367
368 (eval "as_func_return () {
369   (exit \$1)
370 }
371 as_func_success () {
372   as_func_return 0
373 }
374 as_func_failure () {
375   as_func_return 1
376 }
377 as_func_ret_success () {
378   return 0
379 }
380 as_func_ret_failure () {
381   return 1
382 }
383
384 exitcode=0
385 if as_func_success; then
386   :
387 else
388   exitcode=1
389   echo as_func_success failed.
390 fi
391
392 if as_func_failure; then
393   exitcode=1
394   echo as_func_failure succeeded.
395 fi
396
397 if as_func_ret_success; then
398   :
399 else
400   exitcode=1
401   echo as_func_ret_success failed.
402 fi
403
404 if as_func_ret_failure; then
405   exitcode=1
406   echo as_func_ret_failure succeeded.
407 fi
408
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
410   :
411 else
412   exitcode=1
413   echo positional parameters were not saved.
414 fi
415
416 test \$exitcode = 0") || {
417   echo No shell found that supports shell functions.
418   echo Please tell autoconf@gnu.org about your system,
419   echo including any error possibly output before this
420   echo message
421 }
422
423
424
425   as_lineno_1=$LINENO
426   as_lineno_2=$LINENO
427   test "x$as_lineno_1" != "x$as_lineno_2" &&
428   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429
430   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431   # uniformly replaced by the line number.  The first 'sed' inserts a
432   # line-number line after each line using $LINENO; the second 'sed'
433   # does the real work.  The second script uses 'N' to pair each
434   # line-number line with the line containing $LINENO, and appends
435   # trailing '-' during substitution so that $LINENO is not a special
436   # case at line end.
437   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438   # scripts with optimization help from Paolo Bonzini.  Blame Lee
439   # E. McMahon (1931-1989) for sed's syntax.  :-)
440   sed -n '
441     p
442     /[$]LINENO/=
443   ' <$as_myself |
444     sed '
445       s/[$]LINENO.*/&-/
446       t lineno
447       b
448       :lineno
449       N
450       :loop
451       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452       t loop
453       s/-\n.*//
454     ' >$as_me.lineno &&
455   chmod +x "$as_me.lineno" ||
456     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457    { (exit 1); exit 1; }; }
458
459   # Don't try to exec as it changes $[0], causing all sort of problems
460   # (the dirname of $[0] is not the place where we might find the
461   # original and so on.  Autoconf is especially sensitive to this).
462   . "./$as_me.lineno"
463   # Exit status is that of the last command.
464   exit
465 }
466
467
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469   as_dirname=dirname
470 else
471   as_dirname=false
472 fi
473
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477   case `echo 'x\c'` in
478   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
479   *)   ECHO_C='\c';;
480   esac;;
481 *)
482   ECHO_N='-n';;
483 esac
484
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486    test "X`expr 00001 : '.*\(...\)'`" = X001; then
487   as_expr=expr
488 else
489   as_expr=false
490 fi
491
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494   rm -f conf$$.dir/conf$$.file
495 else
496   rm -f conf$$.dir
497   mkdir conf$$.dir
498 fi
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501   as_ln_s='ln -s'
502   # ... but there are two gotchas:
503   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505   # In both cases, we have to default to `cp -p'.
506   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507     as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509   as_ln_s=ln
510 else
511   as_ln_s='cp -p'
512 fi
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
515
516 if mkdir -p . 2>/dev/null; then
517   as_mkdir_p=:
518 else
519   test -d ./-p && rmdir ./-p
520   as_mkdir_p=false
521 fi
522
523 if test -x / >/dev/null 2>&1; then
524   as_test_x='test -x'
525 else
526   if ls -dL / >/dev/null 2>&1; then
527     as_ls_L_option=L
528   else
529     as_ls_L_option=
530   fi
531   as_test_x='
532     eval sh -c '\''
533       if test -d "$1"; then
534         test -d "$1/.";
535       else
536         case $1 in
537         -*)set "./$1";;
538         esac;
539         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540         ???[sx]*):;;*)false;;esac;fi
541     '\'' sh
542   '
543 fi
544 as_executable_p=$as_test_x
545
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
551
552
553
554 exec 7<&0 </dev/null 6>&1
555
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
560
561 #
562 # Initializations.
563 #
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
573
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.39'
578 PACKAGE_STRING='Wine 0.9.39'
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 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
666 CC
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
673 CXX
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
679 CPP
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
686 AS
687 ac_ct_AS
688 LD
689 AR
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
694 LN
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 NASLIBS
714 XML2LIBS
715 XML2INCL
716 XSLTLIBS
717 XSLTINCL
718 HALINCL
719 sane_devel
720 SANEINCL
721 gphoto2_devel
722 gphoto2port_devel
723 GPHOTO2LIBS
724 GPHOTO2INCL
725 ICULIBS
726 RESOLVLIBS
727 LCMSLIBS
728 LDAPLIBS
729 FREETYPELIBS
730 FREETYPEINCL
731 ft_devel
732 ft_devel2
733 FONTSSUBDIRS
734 ESDCONFIG
735 ESDLIBS
736 ESDINCL
737 ALSALIBS
738 AUDIOIOLIBS
739 EXTRACFLAGS
740 BUILTINFLAG
741 DLLEXT
742 DLLFLAGS
743 LDSHARED
744 LDDLLFLAGS
745 LIBEXT
746 IMPLIBEXT
747 LDRPATH_INSTALL
748 LDRPATH_LOCAL
749 DLLTOOL
750 DLLWRAP
751 MINGWAR
752 COREFOUNDATIONLIB
753 IOKITLIB
754 LDEXECFLAGS
755 DISKARBITRATIONLIB
756 COREAUDIO
757 CARBONLIB
758 CROSSTEST
759 CROSSCC
760 CROSSWINDRES
761 LDPATH
762 CRTLIBS
763 SOCKETLIBS
764 MAIN_BINARY
765 EXTRA_BINARIES
766 LDD
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777       ac_precious_vars='build_alias
778 host_alias
779 target_alias
780 CC
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
785 CXX
786 CXXFLAGS
787 CCC
788 XMKMF
789 CPP'
790
791
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
811
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
837
838 ac_prev=
839 ac_dashdash=
840 for ac_option
841 do
842   # If the previous option needs an argument, assign it.
843   if test -n "$ac_prev"; then
844     eval $ac_prev=\$ac_option
845     ac_prev=
846     continue
847   fi
848
849   case $ac_option in
850   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851   *)    ac_optarg=yes ;;
852   esac
853
854   # Accept the important Cygnus configure options, so we can diagnose typos.
855
856   case $ac_dashdash$ac_option in
857   --)
858     ac_dashdash=yes ;;
859
860   -bindir | --bindir | --bindi | --bind | --bin | --bi)
861     ac_prev=bindir ;;
862   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863     bindir=$ac_optarg ;;
864
865   -build | --build | --buil | --bui | --bu)
866     ac_prev=build_alias ;;
867   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868     build_alias=$ac_optarg ;;
869
870   -cache-file | --cache-file | --cache-fil | --cache-fi \
871   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872     ac_prev=cache_file ;;
873   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875     cache_file=$ac_optarg ;;
876
877   --config-cache | -C)
878     cache_file=config.cache ;;
879
880   -datadir | --datadir | --datadi | --datad)
881     ac_prev=datadir ;;
882   -datadir=* | --datadir=* | --datadi=* | --datad=*)
883     datadir=$ac_optarg ;;
884
885   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886   | --dataroo | --dataro | --datar)
887     ac_prev=datarootdir ;;
888   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890     datarootdir=$ac_optarg ;;
891
892   -disable-* | --disable-*)
893     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894     # Reject names that are not valid shell variable names.
895     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897    { (exit 1); exit 1; }; }
898     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899     eval enable_$ac_feature=no ;;
900
901   -docdir | --docdir | --docdi | --doc | --do)
902     ac_prev=docdir ;;
903   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904     docdir=$ac_optarg ;;
905
906   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907     ac_prev=dvidir ;;
908   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909     dvidir=$ac_optarg ;;
910
911   -enable-* | --enable-*)
912     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913     # Reject names that are not valid shell variable names.
914     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916    { (exit 1); exit 1; }; }
917     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918     eval enable_$ac_feature=\$ac_optarg ;;
919
920   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922   | --exec | --exe | --ex)
923     ac_prev=exec_prefix ;;
924   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926   | --exec=* | --exe=* | --ex=*)
927     exec_prefix=$ac_optarg ;;
928
929   -gas | --gas | --ga | --g)
930     # Obsolete; use --with-gas.
931     with_gas=yes ;;
932
933   -help | --help | --hel | --he | -h)
934     ac_init_help=long ;;
935   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936     ac_init_help=recursive ;;
937   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938     ac_init_help=short ;;
939
940   -host | --host | --hos | --ho)
941     ac_prev=host_alias ;;
942   -host=* | --host=* | --hos=* | --ho=*)
943     host_alias=$ac_optarg ;;
944
945   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946     ac_prev=htmldir ;;
947   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948   | --ht=*)
949     htmldir=$ac_optarg ;;
950
951   -includedir | --includedir | --includedi | --included | --include \
952   | --includ | --inclu | --incl | --inc)
953     ac_prev=includedir ;;
954   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955   | --includ=* | --inclu=* | --incl=* | --inc=*)
956     includedir=$ac_optarg ;;
957
958   -infodir | --infodir | --infodi | --infod | --info | --inf)
959     ac_prev=infodir ;;
960   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961     infodir=$ac_optarg ;;
962
963   -libdir | --libdir | --libdi | --libd)
964     ac_prev=libdir ;;
965   -libdir=* | --libdir=* | --libdi=* | --libd=*)
966     libdir=$ac_optarg ;;
967
968   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969   | --libexe | --libex | --libe)
970     ac_prev=libexecdir ;;
971   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972   | --libexe=* | --libex=* | --libe=*)
973     libexecdir=$ac_optarg ;;
974
975   -localedir | --localedir | --localedi | --localed | --locale)
976     ac_prev=localedir ;;
977   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978     localedir=$ac_optarg ;;
979
980   -localstatedir | --localstatedir | --localstatedi | --localstated \
981   | --localstate | --localstat | --localsta | --localst | --locals)
982     ac_prev=localstatedir ;;
983   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985     localstatedir=$ac_optarg ;;
986
987   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988     ac_prev=mandir ;;
989   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990     mandir=$ac_optarg ;;
991
992   -nfp | --nfp | --nf)
993     # Obsolete; use --without-fp.
994     with_fp=no ;;
995
996   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997   | --no-cr | --no-c | -n)
998     no_create=yes ;;
999
1000   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002     no_recursion=yes ;;
1003
1004   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006   | --oldin | --oldi | --old | --ol | --o)
1007     ac_prev=oldincludedir ;;
1008   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011     oldincludedir=$ac_optarg ;;
1012
1013   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014     ac_prev=prefix ;;
1015   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016     prefix=$ac_optarg ;;
1017
1018   -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019   | --program-pre | --program-pr | --program-p)
1020     ac_prev=program_prefix ;;
1021   -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023     program_prefix=$ac_optarg ;;
1024
1025   -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026   | --program-suf | --program-su | --program-s)
1027     ac_prev=program_suffix ;;
1028   -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030     program_suffix=$ac_optarg ;;
1031
1032   -program-transform-name | --program-transform-name \
1033   | --program-transform-nam | --program-transform-na \
1034   | --program-transform-n | --program-transform- \
1035   | --program-transform | --program-transfor \
1036   | --program-transfo | --program-transf \
1037   | --program-trans | --program-tran \
1038   | --progr-tra | --program-tr | --program-t)
1039     ac_prev=program_transform_name ;;
1040   -program-transform-name=* | --program-transform-name=* \
1041   | --program-transform-nam=* | --program-transform-na=* \
1042   | --program-transform-n=* | --program-transform-=* \
1043   | --program-transform=* | --program-transfor=* \
1044   | --program-transfo=* | --program-transf=* \
1045   | --program-trans=* | --program-tran=* \
1046   | --progr-tra=* | --program-tr=* | --program-t=*)
1047     program_transform_name=$ac_optarg ;;
1048
1049   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050     ac_prev=pdfdir ;;
1051   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052     pdfdir=$ac_optarg ;;
1053
1054   -psdir | --psdir | --psdi | --psd | --ps)
1055     ac_prev=psdir ;;
1056   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057     psdir=$ac_optarg ;;
1058
1059   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060   | -silent | --silent | --silen | --sile | --sil)
1061     silent=yes ;;
1062
1063   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064     ac_prev=sbindir ;;
1065   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066   | --sbi=* | --sb=*)
1067     sbindir=$ac_optarg ;;
1068
1069   -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071   | --sharedst | --shareds | --shared | --share | --shar \
1072   | --sha | --sh)
1073     ac_prev=sharedstatedir ;;
1074   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077   | --sha=* | --sh=*)
1078     sharedstatedir=$ac_optarg ;;
1079
1080   -site | --site | --sit)
1081     ac_prev=site ;;
1082   -site=* | --site=* | --sit=*)
1083     site=$ac_optarg ;;
1084
1085   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086     ac_prev=srcdir ;;
1087   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088     srcdir=$ac_optarg ;;
1089
1090   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091   | --syscon | --sysco | --sysc | --sys | --sy)
1092     ac_prev=sysconfdir ;;
1093   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095     sysconfdir=$ac_optarg ;;
1096
1097   -target | --target | --targe | --targ | --tar | --ta | --t)
1098     ac_prev=target_alias ;;
1099   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100     target_alias=$ac_optarg ;;
1101
1102   -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103     verbose=yes ;;
1104
1105   -version | --version | --versio | --versi | --vers | -V)
1106     ac_init_version=: ;;
1107
1108   -with-* | --with-*)
1109     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110     # Reject names that are not valid shell variable names.
1111     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112       { echo "$as_me: error: invalid package name: $ac_package" >&2
1113    { (exit 1); exit 1; }; }
1114     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115     eval with_$ac_package=\$ac_optarg ;;
1116
1117   -without-* | --without-*)
1118     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119     # Reject names that are not valid shell variable names.
1120     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121       { echo "$as_me: error: invalid package name: $ac_package" >&2
1122    { (exit 1); exit 1; }; }
1123     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124     eval with_$ac_package=no ;;
1125
1126   --x)
1127     # Obsolete; use --with-x.
1128     with_x=yes ;;
1129
1130   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131   | --x-incl | --x-inc | --x-in | --x-i)
1132     ac_prev=x_includes ;;
1133   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135     x_includes=$ac_optarg ;;
1136
1137   -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139     ac_prev=x_libraries ;;
1140   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142     x_libraries=$ac_optarg ;;
1143
1144   -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146    { (exit 1); exit 1; }; }
1147     ;;
1148
1149   *=*)
1150     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151     # Reject names that are not valid shell variable names.
1152     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154    { (exit 1); exit 1; }; }
1155     eval $ac_envvar=\$ac_optarg
1156     export $ac_envvar ;;
1157
1158   *)
1159     # FIXME: should be removed in autoconf 3.0.
1160     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1164     ;;
1165
1166   esac
1167 done
1168
1169 if test -n "$ac_prev"; then
1170   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171   { echo "$as_me: error: missing argument to $ac_option" >&2
1172    { (exit 1); exit 1; }; }
1173 fi
1174
1175 # Be sure to have absolute directory names.
1176 for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177                 datadir sysconfdir sharedstatedir localstatedir includedir \
1178                 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179                 libdir localedir mandir
1180 do
1181   eval ac_val=\$$ac_var
1182   case $ac_val in
1183     [\\/$]* | ?:[\\/]* )  continue;;
1184     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185   esac
1186   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187    { (exit 1); exit 1; }; }
1188 done
1189
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1196
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199   if test "x$build_alias" = x; then
1200     cross_compiling=maybe
1201     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202     If a cross compiler is detected then cross compile mode will be used." >&2
1203   elif test "x$build_alias" != "x$host_alias"; then
1204     cross_compiling=yes
1205   fi
1206 fi
1207
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210
1211 test "$silent" = yes && exec 6>/dev/null
1212
1213
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217   { echo "$as_me: error: Working directory cannot be determined" >&2
1218    { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220   { echo "$as_me: error: pwd does not report name of working directory" >&2
1221    { (exit 1); exit 1; }; }
1222
1223
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226   ac_srcdir_defaulted=yes
1227   # Try the directory containing this script, then the parent directory.
1228   ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230          X"$0" : 'X\(//\)[^/]' \| \
1231          X"$0" : 'X\(//\)$' \| \
1232          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235             s//\1/
1236             q
1237           }
1238           /^X\(\/\/\)[^/].*/{
1239             s//\1/
1240             q
1241           }
1242           /^X\(\/\/\)$/{
1243             s//\1/
1244             q
1245           }
1246           /^X\(\/\).*/{
1247             s//\1/
1248             q
1249           }
1250           s/.*/./; q'`
1251   srcdir=$ac_confdir
1252   if test ! -r "$srcdir/$ac_unique_file"; then
1253     srcdir=..
1254   fi
1255 else
1256   ac_srcdir_defaulted=no
1257 fi
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261    { (exit 1); exit 1; }; }
1262 fi
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265         cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266    { (exit 1); exit 1; }; }
1267         pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270   srcdir=.
1271 fi
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279   eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280   eval ac_env_${ac_var}_value=\$${ac_var}
1281   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282   eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1284
1285 #
1286 # Report the --help message.
1287 #
1288 if test "$ac_init_help" = "long"; then
1289   # Omit some internal or obsolete options to make the list less imposing.
1290   # This message is too long to be a string in the A/UX 3.1 sh.
1291   cat <<_ACEOF
1292 \`configure' configures Wine 0.9.39 to adapt to many kinds of systems.
1293
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1295
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE.  See below for descriptions of some of the useful variables.
1298
1299 Defaults for the options are specified in brackets.
1300
1301 Configuration:
1302   -h, --help              display this help and exit
1303       --help=short        display options specific to this package
1304       --help=recursive    display the short help of all the included packages
1305   -V, --version           display version information and exit
1306   -q, --quiet, --silent   do not print \`checking...' messages
1307       --cache-file=FILE   cache test results in FILE [disabled]
1308   -C, --config-cache      alias for \`--cache-file=config.cache'
1309   -n, --no-create         do not create output files
1310       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1311
1312 Installation directories:
1313   --prefix=PREFIX         install architecture-independent files in PREFIX
1314                           [$ac_default_prefix]
1315   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1316                           [PREFIX]
1317
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1322
1323 For better control, use the options below.
1324
1325 Fine tuning of the installation directories:
1326   --bindir=DIR           user executables [EPREFIX/bin]
1327   --sbindir=DIR          system admin executables [EPREFIX/sbin]
1328   --libexecdir=DIR       program executables [EPREFIX/libexec]
1329   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
1330   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
1331   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
1332   --libdir=DIR           object code libraries [EPREFIX/lib]
1333   --includedir=DIR       C header files [PREFIX/include]
1334   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
1335   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
1336   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
1337   --infodir=DIR          info documentation [DATAROOTDIR/info]
1338   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
1339   --mandir=DIR           man documentation [DATAROOTDIR/man]
1340   --docdir=DIR           documentation root [DATAROOTDIR/doc/wine]
1341   --htmldir=DIR          html documentation [DOCDIR]
1342   --dvidir=DIR           dvi documentation [DOCDIR]
1343   --pdfdir=DIR           pdf documentation [DOCDIR]
1344   --psdir=DIR            ps documentation [DOCDIR]
1345 _ACEOF
1346
1347   cat <<\_ACEOF
1348
1349 X features:
1350   --x-includes=DIR    X include files are in DIR
1351   --x-libraries=DIR   X library files are in DIR
1352
1353 System types:
1354   --build=BUILD     configure for building on BUILD [guessed]
1355   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1357 fi
1358
1359 if test -n "$ac_init_help"; then
1360   case $ac_init_help in
1361      short | recursive ) echo "Configuration of Wine 0.9.39:";;
1362    esac
1363   cat <<\_ACEOF
1364
1365 Optional Features:
1366   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1367   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1368   --disable-win16         do not include Win16 support
1369   --enable-win64          build a Win64 emulator on AMD64 (won't run Win32
1370                           binaries)
1371
1372 Optional Packages:
1373   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1374   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1375   --without-opengl        do not use OpenGL
1376   --with-wine-tools=<dir> use Wine tools from directory <dir>
1377   --with-x                use the X Window System
1378
1379 Some influential environment variables:
1380   CC          C compiler command
1381   CFLAGS      C compiler flags
1382   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1383               nonstandard directory <lib dir>
1384   LIBS        libraries to pass to the linker, e.g. -l<library>
1385   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386               you have headers in a nonstandard directory <include dir>
1387   CXX         C++ compiler command
1388   CXXFLAGS    C++ compiler flags
1389   XMKMF       Path to xmkmf, Makefile generator for X Window System
1390   CPP         C preprocessor
1391
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1394
1395 Report bugs to <wine-devel@winehq.org>.
1396 _ACEOF
1397 ac_status=$?
1398 fi
1399
1400 if test "$ac_init_help" = "recursive"; then
1401   # If there are subdirs, report their specific --help.
1402   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403     test -d "$ac_dir" || continue
1404     ac_builddir=.
1405
1406 case "$ac_dir" in
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 *)
1409   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410   # A ".." for each directory in $ac_dir_suffix.
1411   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412   case $ac_top_builddir_sub in
1413   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415   esac ;;
1416 esac
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1421
1422 case $srcdir in
1423   .)  # We are building in place.
1424     ac_srcdir=.
1425     ac_top_srcdir=$ac_top_builddir_sub
1426     ac_abs_top_srcdir=$ac_pwd ;;
1427   [\\/]* | ?:[\\/]* )  # Absolute name.
1428     ac_srcdir=$srcdir$ac_dir_suffix;
1429     ac_top_srcdir=$srcdir
1430     ac_abs_top_srcdir=$srcdir ;;
1431   *) # Relative name.
1432     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433     ac_top_srcdir=$ac_top_build_prefix$srcdir
1434     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 esac
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437
1438     cd "$ac_dir" || { ac_status=$?; continue; }
1439     # Check for guested configure.
1440     if test -f "$ac_srcdir/configure.gnu"; then
1441       echo &&
1442       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443     elif test -f "$ac_srcdir/configure"; then
1444       echo &&
1445       $SHELL "$ac_srcdir/configure" --help=recursive
1446     else
1447       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448     fi || ac_status=$?
1449     cd "$ac_pwd" || { ac_status=$?; break; }
1450   done
1451 fi
1452
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1455   cat <<\_ACEOF
1456 Wine configure 0.9.39
1457 generated by GNU Autoconf 2.61
1458
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464   exit
1465 fi
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1469
1470 It was created by Wine $as_me 0.9.39, which was
1471 generated by GNU Autoconf 2.61.  Invocation command line was
1472
1473   $ $0 $@
1474
1475 _ACEOF
1476 exec 5>>config.log
1477 {
1478 cat <<_ASUNAME
1479 ## --------- ##
1480 ## Platform. ##
1481 ## --------- ##
1482
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1491
1492 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1493 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1496 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1497 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1498 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1499
1500 _ASUNAME
1501
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1503 for as_dir in $PATH
1504 do
1505   IFS=$as_save_IFS
1506   test -z "$as_dir" && as_dir=.
1507   echo "PATH: $as_dir"
1508 done
1509 IFS=$as_save_IFS
1510
1511 } >&5
1512
1513 cat >&5 <<_ACEOF
1514
1515
1516 ## ----------- ##
1517 ## Core tests. ##
1518 ## ----------- ##
1519
1520 _ACEOF
1521
1522
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1528 ac_configure_args=
1529 ac_configure_args0=
1530 ac_configure_args1=
1531 ac_must_keep_next=false
1532 for ac_pass in 1 2
1533 do
1534   for ac_arg
1535   do
1536     case $ac_arg in
1537     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539     | -silent | --silent | --silen | --sile | --sil)
1540       continue ;;
1541     *\'*)
1542       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543     esac
1544     case $ac_pass in
1545     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546     2)
1547       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548       if test $ac_must_keep_next = true; then
1549         ac_must_keep_next=false # Got value, back to normal.
1550       else
1551         case $ac_arg in
1552           *=* | --config-cache | -C | -disable-* | --disable-* \
1553           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555           | -with-* | --with-* | -without-* | --without-* | --x)
1556             case "$ac_configure_args0 " in
1557               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558             esac
1559             ;;
1560           -* ) ac_must_keep_next=true ;;
1561         esac
1562       fi
1563       ac_configure_args="$ac_configure_args '$ac_arg'"
1564       ;;
1565     esac
1566   done
1567 done
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log.  We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577   # Save into config.log some information that might help in debugging.
1578   {
1579     echo
1580
1581     cat <<\_ASBOX
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1585 _ASBOX
1586     echo
1587     # The following way of writing the cache mishandles newlines in values,
1588 (
1589   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590     eval ac_val=\$$ac_var
1591     case $ac_val in #(
1592     *${as_nl}*)
1593       case $ac_var in #(
1594       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1596       esac
1597       case $ac_var in #(
1598       _ | IFS | as_nl) ;; #(
1599       *) $as_unset $ac_var ;;
1600       esac ;;
1601     esac
1602   done
1603   (set) 2>&1 |
1604     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605     *${as_nl}ac_space=\ *)
1606       sed -n \
1607         "s/'\''/'\''\\\\'\'''\''/g;
1608           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1609       ;; #(
1610     *)
1611       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612       ;;
1613     esac |
1614     sort
1615 )
1616     echo
1617
1618     cat <<\_ASBOX
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1622 _ASBOX
1623     echo
1624     for ac_var in $ac_subst_vars
1625     do
1626       eval ac_val=\$$ac_var
1627       case $ac_val in
1628       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629       esac
1630       echo "$ac_var='\''$ac_val'\''"
1631     done | sort
1632     echo
1633
1634     if test -n "$ac_subst_files"; then
1635       cat <<\_ASBOX
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1639 _ASBOX
1640       echo
1641       for ac_var in $ac_subst_files
1642       do
1643         eval ac_val=\$$ac_var
1644         case $ac_val in
1645         *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646         esac
1647         echo "$ac_var='\''$ac_val'\''"
1648       done | sort
1649       echo
1650     fi
1651
1652     if test -s confdefs.h; then
1653       cat <<\_ASBOX
1654 ## ----------- ##
1655 ## confdefs.h. ##
1656 ## ----------- ##
1657 _ASBOX
1658       echo
1659       cat confdefs.h
1660       echo
1661     fi
1662     test "$ac_signal" != 0 &&
1663       echo "$as_me: caught signal $ac_signal"
1664     echo "$as_me: exit $exit_status"
1665   } >&5
1666   rm -f core *.core core.conftest.* &&
1667     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668     exit $exit_status
1669 ' 0
1670 for ac_signal in 1 2 13 15; do
1671   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1672 done
1673 ac_signal=0
1674
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1677
1678 # Predefined preprocessor variables.
1679
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1682 _ACEOF
1683
1684
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1687 _ACEOF
1688
1689
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 _ACEOF
1693
1694
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1697 _ACEOF
1698
1699
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 _ACEOF
1703
1704
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708   set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710   set x "$prefix/share/config.site" "$prefix/etc/config.site"
1711 else
1712   set x "$ac_default_prefix/share/config.site" \
1713         "$ac_default_prefix/etc/config.site"
1714 fi
1715 shift
1716 for ac_site_file
1717 do
1718   if test -r "$ac_site_file"; then
1719     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721     sed 's/^/| /' "$ac_site_file" >&5
1722     . "$ac_site_file"
1723   fi
1724 done
1725
1726 if test -r "$cache_file"; then
1727   # Some versions of bash will fail to source /dev/null (special
1728   # files actually), so we avoid doing that.
1729   if test -f "$cache_file"; then
1730     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1732     case $cache_file in
1733       [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734       *)                      . "./$cache_file";;
1735     esac
1736   fi
1737 else
1738   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1740   >$cache_file
1741 fi
1742
1743 # Check that the precious variables saved in the cache have kept the same
1744 # value.
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748   eval ac_new_set=\$ac_env_${ac_var}_set
1749   eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750   eval ac_new_val=\$ac_env_${ac_var}_value
1751   case $ac_old_set,$ac_new_set in
1752     set,)
1753       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755       ac_cache_corrupted=: ;;
1756     ,set)
1757       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759       ac_cache_corrupted=: ;;
1760     ,);;
1761     *)
1762       if test "x$ac_old_val" != "x$ac_new_val"; then
1763         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1766 echo "$as_me:   former value:  $ac_old_val" >&2;}
1767         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1768 echo "$as_me:   current value: $ac_new_val" >&2;}
1769         ac_cache_corrupted=:
1770       fi;;
1771   esac
1772   # Pass precious variables to config.status.
1773   if test "$ac_new_set" = set; then
1774     case $ac_new_val in
1775     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776     *) ac_arg=$ac_var=$ac_new_val ;;
1777     esac
1778     case " $ac_configure_args " in
1779       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1780       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781     esac
1782   fi
1783 done
1784 if $ac_cache_corrupted; then
1785   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789    { (exit 1); exit 1; }; }
1790 fi
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816 ac_ext=c
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1821
1822
1823
1824 ac_config_headers="$ac_config_headers include/config.h"
1825
1826 ac_aux_dir=
1827 for ac_dir in tools "$srcdir"/tools; do
1828   if test -f "$ac_dir/install-sh"; then
1829     ac_aux_dir=$ac_dir
1830     ac_install_sh="$ac_aux_dir/install-sh -c"
1831     break
1832   elif test -f "$ac_dir/install.sh"; then
1833     ac_aux_dir=$ac_dir
1834     ac_install_sh="$ac_aux_dir/install.sh -c"
1835     break
1836   elif test -f "$ac_dir/shtool"; then
1837     ac_aux_dir=$ac_dir
1838     ac_install_sh="$ac_aux_dir/shtool install -c"
1839     break
1840   fi
1841 done
1842 if test -z "$ac_aux_dir"; then
1843   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845    { (exit 1); exit 1; }; }
1846 fi
1847
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
1855
1856
1857
1858
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861   enableval=$enable_win16;
1862 fi
1863
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866   enableval=$enable_win64;
1867 fi
1868
1869
1870
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873   withval=$with_opengl;
1874 fi
1875
1876
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879   withval=$with_wine_tools;
1880 fi
1881
1882
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887    { (exit 1); exit 1; }; }
1888
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892   echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894   ac_build_alias=$build_alias
1895 test "x$ac_build_alias" = x &&
1896   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x &&
1898   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900    { (exit 1); exit 1; }; }
1901 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904    { (exit 1); exit 1; }; }
1905
1906 fi
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1910 *-*-*) ;;
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913    { (exit 1); exit 1; }; };;
1914 esac
1915 build=$ac_cv_build
1916 ac_save_IFS=$IFS; IFS='-'
1917 set x $ac_cv_build
1918 shift
1919 build_cpu=$1
1920 build_vendor=$2
1921 shift; shift
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1924 build_os=$*
1925 IFS=$ac_save_IFS
1926 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1927
1928
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932   echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934   if test "x$host_alias" = x; then
1935   ac_cv_host=$ac_cv_build
1936 else
1937   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940    { (exit 1); exit 1; }; }
1941 fi
1942
1943 fi
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1946 case $ac_cv_host in
1947 *-*-*) ;;
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950    { (exit 1); exit 1; }; };;
1951 esac
1952 host=$ac_cv_host
1953 ac_save_IFS=$IFS; IFS='-'
1954 set x $ac_cv_host
1955 shift
1956 host_cpu=$1
1957 host_vendor=$2
1958 shift; shift
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1961 host_os=$*
1962 IFS=$ac_save_IFS
1963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1964
1965
1966 case $host in
1967   x86_64*linux*)
1968     if test "x$enable_win64" != "xyes"
1969     then
1970       test -n "$CC" || CC="gcc -m32"
1971       test -n "$LD" || LD="ld -m elf_i386"
1972       test -n "$AS" || AS="as --32"
1973       host_cpu="i386"
1974     fi
1975     ;;
1976 esac
1977
1978 case $host_cpu in
1979   *i[3456789]86*)
1980     if test "x$enable_win16" != "xno"
1981     then
1982       enable_win16="yes"
1983     fi
1984     ;;
1985 esac
1986
1987 WIN16_FILES="\$(WIN16_FILES)"
1988
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1990
1991 if test "x$enable_win16" != "xyes"
1992 then
1993   WIN16_FILES=""
1994   WIN16_INSTALL=""
1995 fi
1996
1997 case "$srcdir" in
1998  .) ;;
1999  *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000       { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&2;}
2004    { (exit 1); exit 1; }; }
2005     fi ;;
2006 esac
2007
2008
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013   echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015   cat >conftest.make <<\_ACEOF
2016 SHELL = /bin/sh
2017 all:
2018         @echo '@@@%%%=$(MAKE)=@@@%%%'
2019 _ACEOF
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022   *@@@%%%=?*=@@@%%%*)
2023     eval ac_cv_prog_make_${ac_make}_set=yes;;
2024   *)
2025     eval ac_cv_prog_make_${ac_make}_set=no;;
2026 esac
2027 rm -f conftest.make
2028 fi
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030   { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2032   SET_MAKE=
2033 else
2034   { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036   SET_MAKE="MAKE=${MAKE-make}"
2037 fi
2038
2039 ac_ext=c
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050   echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052   if test -n "$CC"; then
2053   ac_cv_prog_CC="$CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2057 do
2058   IFS=$as_save_IFS
2059   test -z "$as_dir" && as_dir=.
2060   for ac_exec_ext in '' $ac_executable_extensions; do
2061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064     break 2
2065   fi
2066 done
2067 done
2068 IFS=$as_save_IFS
2069
2070 fi
2071 fi
2072 CC=$ac_cv_prog_CC
2073 if test -n "$CC"; then
2074   { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2076 else
2077   { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2079 fi
2080
2081
2082 fi
2083 if test -z "$ac_cv_prog_CC"; then
2084   ac_ct_CC=$CC
2085   # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090   echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092   if test -n "$ac_ct_CC"; then
2093   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 else
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 for as_dir in $PATH
2097 do
2098   IFS=$as_save_IFS
2099   test -z "$as_dir" && as_dir=.
2100   for ac_exec_ext in '' $ac_executable_extensions; do
2101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102     ac_cv_prog_ac_ct_CC="gcc"
2103     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104     break 2
2105   fi
2106 done
2107 done
2108 IFS=$as_save_IFS
2109
2110 fi
2111 fi
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 else
2117   { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2119 fi
2120
2121   if test "x$ac_ct_CC" = x; then
2122     CC=""
2123   else
2124     case $cross_compiling:$ac_tool_warned in
2125 yes:)
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet.  If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet.  If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2133 esac
2134     CC=$ac_ct_CC
2135   fi
2136 else
2137   CC="$ac_cv_prog_CC"
2138 fi
2139
2140 if test -z "$CC"; then
2141           if test -n "$ac_tool_prefix"; then
2142     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147   echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2149   if test -n "$CC"; then
2150   ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2154 do
2155   IFS=$as_save_IFS
2156   test -z "$as_dir" && as_dir=.
2157   for ac_exec_ext in '' $ac_executable_extensions; do
2158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159     ac_cv_prog_CC="${ac_tool_prefix}cc"
2160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161     break 2
2162   fi
2163 done
2164 done
2165 IFS=$as_save_IFS
2166
2167 fi
2168 fi
2169 CC=$ac_cv_prog_CC
2170 if test -n "$CC"; then
2171   { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2173 else
2174   { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2176 fi
2177
2178
2179   fi
2180 fi
2181 if test -z "$CC"; then
2182   # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187   echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189   if test -n "$CC"; then
2190   ac_cv_prog_CC="$CC" # Let the user override the test.
2191 else
2192   ac_prog_rejected=no
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 for as_dir in $PATH
2195 do
2196   IFS=$as_save_IFS
2197   test -z "$as_dir" && as_dir=.
2198   for ac_exec_ext in '' $ac_executable_extensions; do
2199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201        ac_prog_rejected=yes
2202        continue
2203      fi
2204     ac_cv_prog_CC="cc"
2205     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206     break 2
2207   fi
2208 done
2209 done
2210 IFS=$as_save_IFS
2211
2212 if test $ac_prog_rejected = yes; then
2213   # We found a bogon in the path, so make sure we never use it.
2214   set dummy $ac_cv_prog_CC
2215   shift
2216   if test $# != 0; then
2217     # We chose a different compiler from the bogus one.
2218     # However, it has the same basename, so the bogon will be chosen
2219     # first if we set CC to just the basename; use the full file name.
2220     shift
2221     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2222   fi
2223 fi
2224 fi
2225 fi
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228   { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2230 else
2231   { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2233 fi
2234
2235
2236 fi
2237 if test -z "$CC"; then
2238   if test -n "$ac_tool_prefix"; then
2239   for ac_prog in cl.exe
2240   do
2241     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246   echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248   if test -n "$CC"; then
2249   ac_cv_prog_CC="$CC" # Let the user override the test.
2250 else
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for as_dir in $PATH
2253 do
2254   IFS=$as_save_IFS
2255   test -z "$as_dir" && as_dir=.
2256   for ac_exec_ext in '' $ac_executable_extensions; do
2257   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2260     break 2
2261   fi
2262 done
2263 done
2264 IFS=$as_save_IFS
2265
2266 fi
2267 fi
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270   { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2272 else
2273   { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2275 fi
2276
2277
2278     test -n "$CC" && break
2279   done
2280 fi
2281 if test -z "$CC"; then
2282   ac_ct_CC=$CC
2283   for ac_prog in cl.exe
2284 do
2285   # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; 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_ac_ct_CC+set}" = set; then
2290   echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292   if test -n "$ac_ct_CC"; then
2293   ac_cv_prog_ac_ct_CC="$ac_ct_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_ac_ct_CC="$ac_prog"
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 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 else
2317   { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2319 fi
2320
2321
2322   test -n "$ac_ct_CC" && break
2323 done
2324
2325   if test "x$ac_ct_CC" = x; then
2326     CC=""
2327   else
2328     case $cross_compiling:$ac_tool_warned in
2329 yes:)
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet.  If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet.  If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2337 esac
2338     CC=$ac_ct_CC
2339   fi
2340 fi
2341
2342 fi
2343
2344
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349    { (exit 1); exit 1; }; }
2350
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2355 case "(($ac_try" in
2356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357   *) ac_try_echo=$ac_try;;
2358 esac
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360   (eval "$ac_compiler --version >&5") 2>&5
2361   ac_status=$?
2362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363   (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2365 case "(($ac_try" in
2366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367   *) ac_try_echo=$ac_try;;
2368 esac
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370   (eval "$ac_compiler -v >&5") 2>&5
2371   ac_status=$?
2372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373   (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2375 case "(($ac_try" in
2376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377   *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380   (eval "$ac_compiler -V >&5") 2>&5
2381   ac_status=$?
2382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383   (exit $ac_status); }
2384
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h.  */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h.  */
2391
2392 int
2393 main ()
2394 {
2395
2396   ;
2397   return 0;
2398 }
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 #
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort.  b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 #
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions.  Remove them first so a
2416 # subsequent execution test works.
2417 ac_rmfiles=
2418 for ac_file in $ac_files
2419 do
2420   case $ac_file in
2421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423   esac
2424 done
2425 rm -f $ac_rmfiles
2426
2427 if { (ac_try="$ac_link_default"
2428 case "(($ac_try" in
2429   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430   *) ac_try_echo=$ac_try;;
2431 esac
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433   (eval "$ac_link_default") 2>&5
2434   ac_status=$?
2435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436   (exit $ac_status); }; then
2437   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2441 # Autoconf.
2442 for ac_file in $ac_files ''
2443 do
2444   test -f "$ac_file" || continue
2445   case $ac_file in
2446     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2447         ;;
2448     [ab].out )
2449         # We found the default executable, but exeext='' is most
2450         # certainly right.
2451         break;;
2452     *.* )
2453         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454         then :; else
2455            ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456         fi
2457         # We set ac_cv_exeext here because the later test for it is not
2458         # safe: cross compilers may not add the suffix if given an `-o'
2459         # argument, so we may need to know it at that point already.
2460         # Even if this section looks crufty: it has the advantage of
2461         # actually working.
2462         break;;
2463     * )
2464         break;;
2465   esac
2466 done
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2468
2469 else
2470   ac_file=''
2471 fi
2472
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476   echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2478
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483    { (exit 77); exit 77; }; }
2484 fi
2485
2486 ac_exeext=$ac_cv_exeext
2487
2488 # Check that the compiler produces executables we can run.  If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495   if { ac_try='./$ac_file'
2496   { (case "(($ac_try" in
2497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498   *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501   (eval "$ac_try") 2>&5
2502   ac_status=$?
2503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504   (exit $ac_status); }; }; then
2505     cross_compiling=no
2506   else
2507     if test "$cross_compiling" = maybe; then
2508         cross_compiling=yes
2509     else
2510         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516    { (exit 1); exit 1; }; }
2517     fi
2518   fi
2519 fi
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2522
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run.  If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2531
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2535 case "(($ac_try" in
2536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537   *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540   (eval "$ac_link") 2>&5
2541   ac_status=$?
2542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543   (exit $ac_status); }; then
2544   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 # `rm'.
2548 for ac_file in conftest.exe conftest conftest.*; do
2549   test -f "$ac_file" || continue
2550   case $ac_file in
2551     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553           break;;
2554     * ) break;;
2555   esac
2556 done
2557 else
2558   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562    { (exit 1); exit 1; }; }
2563 fi
2564
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575   echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577   cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h.  */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h.  */
2583
2584 int
2585 main ()
2586 {
2587
2588   ;
2589   return 0;
2590 }
2591 _ACEOF
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2594 case "(($ac_try" in
2595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596   *) ac_try_echo=$ac_try;;
2597 esac
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599   (eval "$ac_compile") 2>&5
2600   ac_status=$?
2601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602   (exit $ac_status); }; then
2603   for ac_file in conftest.o conftest.obj conftest.*; do
2604   test -f "$ac_file" || continue;
2605   case $ac_file in
2606     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608        break;;
2609   esac
2610 done
2611 else
2612   echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2614
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619    { (exit 1); exit 1; }; }
2620 fi
2621
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 fi
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2627 ac_objext=$OBJEXT
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631   echo $ECHO_N "(cached) $ECHO_C" >&6
2632 else
2633   cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h.  */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h.  */
2639
2640 int
2641 main ()
2642 {
2643 #ifndef __GNUC__
2644        choke me
2645 #endif
2646
2647   ;
2648   return 0;
2649 }
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2653 case "(($ac_try" in
2654   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655   *) ac_try_echo=$ac_try;;
2656 esac
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658   (eval "$ac_compile") 2>conftest.er1
2659   ac_status=$?
2660   grep -v '^ *+' conftest.er1 >conftest.err
2661   rm -f conftest.er1
2662   cat conftest.err >&5
2663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664   (exit $ac_status); } && {
2665          test -z "$ac_c_werror_flag" ||
2666          test ! -s conftest.err
2667        } && test -s conftest.$ac_objext; then
2668   ac_compiler_gnu=yes
2669 else
2670   echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2672
2673         ac_compiler_gnu=no
2674 fi
2675
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2678
2679 fi
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688   echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690   ac_save_c_werror_flag=$ac_c_werror_flag
2691    ac_c_werror_flag=yes
2692    ac_cv_prog_cc_g=no
2693    CFLAGS="-g"
2694    cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h.  */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h.  */
2700
2701 int
2702 main ()
2703 {
2704
2705   ;
2706   return 0;
2707 }
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713   *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716   (eval "$ac_compile") 2>conftest.er1
2717   ac_status=$?
2718   grep -v '^ *+' conftest.er1 >conftest.err
2719   rm -f conftest.er1
2720   cat conftest.err >&5
2721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722   (exit $ac_status); } && {
2723          test -z "$ac_c_werror_flag" ||
2724          test ! -s conftest.err
2725        } && test -s conftest.$ac_objext; then
2726   ac_cv_prog_cc_g=yes
2727 else
2728   echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2730
2731         CFLAGS=""
2732       cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h.  */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h.  */
2738
2739 int
2740 main ()
2741 {
2742
2743   ;
2744   return 0;
2745 }
2746 _ACEOF
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2749 case "(($ac_try" in
2750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751   *) ac_try_echo=$ac_try;;
2752 esac
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754   (eval "$ac_compile") 2>conftest.er1
2755   ac_status=$?
2756   grep -v '^ *+' conftest.er1 >conftest.err
2757   rm -f conftest.er1
2758   cat conftest.err >&5
2759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760   (exit $ac_status); } && {
2761          test -z "$ac_c_werror_flag" ||
2762          test ! -s conftest.err
2763        } && test -s conftest.$ac_objext; then
2764   :
2765 else
2766   echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2768
2769         ac_c_werror_flag=$ac_save_c_werror_flag
2770          CFLAGS="-g"
2771          cat >conftest.$ac_ext <<_ACEOF
2772 /* confdefs.h.  */
2773 _ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h.  */
2777
2778 int
2779 main ()
2780 {
2781
2782   ;
2783   return 0;
2784 }
2785 _ACEOF
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2788 case "(($ac_try" in
2789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790   *) ac_try_echo=$ac_try;;
2791 esac
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793   (eval "$ac_compile") 2>conftest.er1
2794   ac_status=$?
2795   grep -v '^ *+' conftest.er1 >conftest.err
2796   rm -f conftest.er1
2797   cat conftest.err >&5
2798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799   (exit $ac_status); } && {
2800          test -z "$ac_c_werror_flag" ||
2801          test ! -s conftest.err
2802        } && test -s conftest.$ac_objext; then
2803   ac_cv_prog_cc_g=yes
2804 else
2805   echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2807
2808
2809 fi
2810
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2812 fi
2813
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2815 fi
2816
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818    ac_c_werror_flag=$ac_save_c_werror_flag
2819 fi
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823   CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825   if test "$GCC" = yes; then
2826     CFLAGS="-g -O2"
2827   else
2828     CFLAGS="-g"
2829   fi
2830 else
2831   if test "$GCC" = yes; then
2832     CFLAGS="-O2"
2833   else
2834     CFLAGS=
2835   fi
2836 fi
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840   echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842   ac_cv_prog_cc_c89=no
2843 ac_save_CC=$CC
2844 cat >conftest.$ac_ext <<_ACEOF
2845 /* confdefs.h.  */
2846 _ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h.  */
2850 #include <stdarg.h>
2851 #include <stdio.h>
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2858      char **p;
2859      int i;
2860 {
2861   return p[i];
2862 }
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2864 {
2865   char *s;
2866   va_list v;
2867   va_start (v,p);
2868   s = g (p, va_arg (v,int));
2869   va_end (v);
2870   return s;
2871 }
2872
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2874    function prototypes and stuff, but not '\xHH' hex character constants.
2875    These don't provoke an error unfortunately, instead are silently treated
2876    as 'x'.  The following induces an error, until -std is added to get
2877    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2878    array size at least.  It's necessary to write '\x00'==0 to get something
2879    that's true only with -std.  */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883    inside strings and character constants.  */
2884 #define FOO(x) 'x'
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2891 int argc;
2892 char **argv;
2893 int
2894 main ()
2895 {
2896 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2897   ;
2898   return 0;
2899 }
2900 _ACEOF
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902         -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 do
2904   CC="$ac_save_CC $ac_arg"
2905   rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2907 case "(($ac_try" in
2908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909   *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912   (eval "$ac_compile") 2>conftest.er1
2913   ac_status=$?
2914   grep -v '^ *+' conftest.er1 >conftest.err
2915   rm -f conftest.er1
2916   cat conftest.err >&5
2917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918   (exit $ac_status); } && {
2919          test -z "$ac_c_werror_flag" ||
2920          test ! -s conftest.err
2921        } && test -s conftest.$ac_objext; then
2922   ac_cv_prog_cc_c89=$ac_arg
2923 else
2924   echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2926
2927
2928 fi
2929
2930 rm -f core conftest.err conftest.$ac_objext
2931   test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 done
2933 rm -f conftest.$ac_ext
2934 CC=$ac_save_CC
2935
2936 fi
2937 # AC_CACHE_VAL
2938 case "x$ac_cv_prog_cc_c89" in
2939   x)
2940     { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2942   xno)
2943     { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2945   *)
2946     CC="$CC $ac_cv_prog_cc_c89"
2947     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2949 esac
2950
2951
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957
2958 ac_ext=cpp
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964   if test -n "$CCC"; then
2965     CXX=$CCC
2966   else
2967     if test -n "$ac_tool_prefix"; then
2968   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2969   do
2970     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975   echo $ECHO_N "(cached) $ECHO_C" >&6
2976 else
2977   if test -n "$CXX"; then
2978   ac_cv_prog_CXX="$CXX" # Let the user override the test.
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2982 do
2983   IFS=$as_save_IFS
2984   test -z "$as_dir" && as_dir=.
2985   for ac_exec_ext in '' $ac_executable_extensions; do
2986   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989     break 2
2990   fi
2991 done
2992 done
2993 IFS=$as_save_IFS
2994
2995 fi
2996 fi
2997 CXX=$ac_cv_prog_CXX
2998 if test -n "$CXX"; then
2999   { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3001 else
3002   { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3004 fi
3005
3006
3007     test -n "$CXX" && break
3008   done
3009 fi
3010 if test -z "$CXX"; then
3011   ac_ct_CXX=$CXX
3012   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3013 do
3014   # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019   echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021   if test -n "$ac_ct_CXX"; then
3022   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3026 do
3027   IFS=$as_save_IFS
3028   test -z "$as_dir" && as_dir=.
3029   for ac_exec_ext in '' $ac_executable_extensions; do
3030   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031     ac_cv_prog_ac_ct_CXX="$ac_prog"
3032     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3033     break 2
3034   fi
3035 done
3036 done
3037 IFS=$as_save_IFS
3038
3039 fi
3040 fi
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043   { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3045 else
3046   { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3048 fi
3049
3050
3051   test -n "$ac_ct_CXX" && break
3052 done
3053
3054   if test "x$ac_ct_CXX" = x; then
3055     CXX="g++"
3056   else
3057     case $cross_compiling:$ac_tool_warned in
3058 yes:)
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet.  If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet.  If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3066 esac
3067     CXX=$ac_ct_CXX
3068   fi
3069 fi
3070
3071   fi
3072 fi
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3077 case "(($ac_try" in
3078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079   *) ac_try_echo=$ac_try;;
3080 esac
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082   (eval "$ac_compiler --version >&5") 2>&5
3083   ac_status=$?
3084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085   (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3087 case "(($ac_try" in
3088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089   *) ac_try_echo=$ac_try;;
3090 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092   (eval "$ac_compiler -v >&5") 2>&5
3093   ac_status=$?
3094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095   (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3097 case "(($ac_try" in
3098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099   *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102   (eval "$ac_compiler -V >&5") 2>&5
3103   ac_status=$?
3104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105   (exit $ac_status); }
3106
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110   echo $ECHO_N "(cached) $ECHO_C" >&6
3111 else
3112   cat >conftest.$ac_ext <<_ACEOF
3113 /* confdefs.h.  */
3114 _ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h.  */
3118
3119 int
3120 main ()
3121 {
3122 #ifndef __GNUC__
3123        choke me
3124 #endif
3125
3126   ;
3127   return 0;
3128 }
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3132 case "(($ac_try" in
3133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134   *) ac_try_echo=$ac_try;;
3135 esac
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137   (eval "$ac_compile") 2>conftest.er1
3138   ac_status=$?
3139   grep -v '^ *+' conftest.er1 >conftest.err
3140   rm -f conftest.er1
3141   cat conftest.err >&5
3142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143   (exit $ac_status); } && {
3144          test -z "$ac_cxx_werror_flag" ||
3145          test ! -s conftest.err
3146        } && test -s conftest.$ac_objext; then
3147   ac_compiler_gnu=yes
3148 else
3149   echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3151
3152         ac_compiler_gnu=no
3153 fi
3154
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3157
3158 fi
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167   echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170    ac_cxx_werror_flag=yes
3171    ac_cv_prog_cxx_g=no
3172    CXXFLAGS="-g"
3173    cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h.  */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h.  */
3179
3180 int
3181 main ()
3182 {
3183
3184   ;
3185   return 0;
3186 }
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3190 case "(($ac_try" in
3191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192   *) ac_try_echo=$ac_try;;
3193 esac
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195   (eval "$ac_compile") 2>conftest.er1
3196   ac_status=$?
3197   grep -v '^ *+' conftest.er1 >conftest.err
3198   rm -f conftest.er1
3199   cat conftest.err >&5
3200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201   (exit $ac_status); } && {
3202          test -z "$ac_cxx_werror_flag" ||
3203          test ! -s conftest.err
3204        } && test -s conftest.$ac_objext; then
3205   ac_cv_prog_cxx_g=yes
3206 else
3207   echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3209
3210         CXXFLAGS=""
3211       cat >conftest.$ac_ext <<_ACEOF
3212 /* confdefs.h.  */
3213 _ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h.  */
3217
3218 int
3219 main ()
3220 {
3221
3222   ;
3223   return 0;
3224 }
3225 _ACEOF
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3228 case "(($ac_try" in
3229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230   *) ac_try_echo=$ac_try;;
3231 esac
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233   (eval "$ac_compile") 2>conftest.er1
3234   ac_status=$?
3235   grep -v '^ *+' conftest.er1 >conftest.err
3236   rm -f conftest.er1
3237   cat conftest.err >&5
3238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239   (exit $ac_status); } && {
3240          test -z "$ac_cxx_werror_flag" ||
3241          test ! -s conftest.err
3242        } && test -s conftest.$ac_objext; then
3243   :
3244 else
3245   echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3247
3248         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249          CXXFLAGS="-g"
3250          cat >conftest.$ac_ext <<_ACEOF
3251 /* confdefs.h.  */
3252 _ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h.  */
3256
3257 int
3258 main ()
3259 {
3260
3261   ;
3262   return 0;
3263 }
3264 _ACEOF
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3267 case "(($ac_try" in
3268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269   *) ac_try_echo=$ac_try;;
3270 esac
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272   (eval "$ac_compile") 2>conftest.er1
3273   ac_status=$?
3274   grep -v '^ *+' conftest.er1 >conftest.err
3275   rm -f conftest.er1
3276   cat conftest.err >&5
3277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278   (exit $ac_status); } && {
3279          test -z "$ac_cxx_werror_flag" ||
3280          test ! -s conftest.err
3281        } && test -s conftest.$ac_objext; then
3282   ac_cv_prog_cxx_g=yes
3283 else
3284   echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3286
3287
3288 fi
3289
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 fi
3292
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3294 fi
3295
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 fi
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302   CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304   if test "$GXX" = yes; then
3305     CXXFLAGS="-g -O2"
3306   else
3307     CXXFLAGS="-g"
3308   fi
3309 else
3310   if test "$GXX" = yes; then
3311     CXXFLAGS="-O2"
3312   else
3313     CXXFLAGS=
3314   fi
3315 fi
3316 ac_ext=c
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321
3322 if test -n "$ac_tool_prefix"; then
3323   # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328   echo $ECHO_N "(cached) $ECHO_C" >&6
3329 else
3330   if test -n "$CPPBIN"; then
3331   ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3332 else
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3335 do
3336   IFS=$as_save_IFS
3337   test -z "$as_dir" && as_dir=.
3338   for ac_exec_ext in '' $ac_executable_extensions; do
3339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340     ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3342     break 2
3343   fi
3344 done
3345 done
3346 IFS=$as_save_IFS
3347
3348 fi
3349 fi
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352   { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3354 else
3355   { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3357 fi
3358
3359
3360 fi
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362   ac_ct_CPPBIN=$CPPBIN
3363   # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368   echo $ECHO_N "(cached) $ECHO_C" >&6
3369 else
3370   if test -n "$ac_ct_CPPBIN"; then
3371   ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3375 do
3376   IFS=$as_save_IFS
3377   test -z "$as_dir" && as_dir=.
3378   for ac_exec_ext in '' $ac_executable_extensions; do
3379   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380     ac_cv_prog_ac_ct_CPPBIN="cpp"
3381     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382     break 2
3383   fi
3384 done
3385 done
3386 IFS=$as_save_IFS
3387
3388 fi
3389 fi
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392   { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3394 else
3395   { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3397 fi
3398
3399   if test "x$ac_ct_CPPBIN" = x; then
3400     CPPBIN="cpp"
3401   else
3402     case $cross_compiling:$ac_tool_warned in
3403 yes:)
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet.  If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet.  If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3411 esac
3412     CPPBIN=$ac_ct_CPPBIN
3413   fi
3414 else
3415   CPPBIN="$ac_cv_prog_CPPBIN"
3416 fi
3417
3418
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422   echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424   if test -z "$with_wine_tools"; then
3425      if test "$cross_compiling" = "yes"; then
3426        { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428    { (exit 1); exit 1; }; }
3429      else
3430        wine_cv_toolsdir="\$(TOPOBJDIR)"
3431      fi
3432    elif test -d "$with_wine_tools/tools/winebuild"; then
3433      case $with_wine_tools in
3434        /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435        *)  wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3436      esac
3437    else
3438      { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440    { (exit 1); exit 1; }; }
3441    fi
3442 fi
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3446
3447
3448
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3458   CPP=
3459 fi
3460 if test -z "$CPP"; then
3461   if test "${ac_cv_prog_CPP+set}" = set; then
3462   echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464       # Double quotes because CPP needs to be expanded
3465     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3466     do
3467       ac_preproc_ok=false
3468 for ac_c_preproc_warn_flag in '' yes
3469 do
3470   # Use a header file that comes with gcc, so configuring glibc
3471   # with a fresh cross-compiler works.
3472   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473   # <limits.h> exists even on freestanding compilers.
3474   # On the NeXT, cc -E runs the code through the compiler's parser,
3475   # not just through cpp. "Syntax error" is here to catch this case.
3476   cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h.  */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h.  */
3482 #ifdef __STDC__
3483 # include <limits.h>
3484 #else
3485 # include <assert.h>
3486 #endif
3487                      Syntax error
3488 _ACEOF
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3490 case "(($ac_try" in
3491   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492   *) ac_try_echo=$ac_try;;
3493 esac
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496   ac_status=$?
3497   grep -v '^ *+' conftest.er1 >conftest.err
3498   rm -f conftest.er1
3499   cat conftest.err >&5
3500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501   (exit $ac_status); } >/dev/null && {
3502          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503          test ! -s conftest.err
3504        }; then
3505   :
3506 else
3507   echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3509
3510   # Broken: fails on valid input.
3511 continue
3512 fi
3513
3514 rm -f conftest.err conftest.$ac_ext
3515
3516   # OK, works on sane cases.  Now check whether nonexistent headers
3517   # can be detected and how.
3518   cat >conftest.$ac_ext <<_ACEOF
3519 /* confdefs.h.  */
3520 _ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h.  */
3524 #include <ac_nonexistent.h>
3525 _ACEOF
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 case "(($ac_try" in
3528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529   *) ac_try_echo=$ac_try;;
3530 esac
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533   ac_status=$?
3534   grep -v '^ *+' conftest.er1 >conftest.err
3535   rm -f conftest.er1
3536   cat conftest.err >&5
3537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538   (exit $ac_status); } >/dev/null && {
3539          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540          test ! -s conftest.err
3541        }; then
3542   # Broken: success on invalid input.
3543 continue
3544 else
3545   echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3547
3548   # Passes both tests.
3549 ac_preproc_ok=:
3550 break
3551 fi
3552
3553 rm -f conftest.err conftest.$ac_ext
3554
3555 done
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3559   break
3560 fi
3561
3562     done
3563     ac_cv_prog_CPP=$CPP
3564
3565 fi
3566   CPP=$ac_cv_prog_CPP
3567 else
3568   ac_cv_prog_CPP=$CPP
3569 fi
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3572 ac_preproc_ok=false
3573 for ac_c_preproc_warn_flag in '' yes
3574 do
3575   # Use a header file that comes with gcc, so configuring glibc
3576   # with a fresh cross-compiler works.
3577   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578   # <limits.h> exists even on freestanding compilers.
3579   # On the NeXT, cc -E runs the code through the compiler's parser,
3580   # not just through cpp. "Syntax error" is here to catch this case.
3581   cat >conftest.$ac_ext <<_ACEOF
3582 /* confdefs.h.  */
3583 _ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h.  */
3587 #ifdef __STDC__
3588 # include <limits.h>
3589 #else
3590 # include <assert.h>
3591 #endif
3592                      Syntax error
3593 _ACEOF
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3595 case "(($ac_try" in
3596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597   *) ac_try_echo=$ac_try;;
3598 esac
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3601   ac_status=$?
3602   grep -v '^ *+' conftest.er1 >conftest.err
3603   rm -f conftest.er1
3604   cat conftest.err >&5
3605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606   (exit $ac_status); } >/dev/null && {
3607          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608          test ! -s conftest.err
3609        }; then
3610   :
3611 else
3612   echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3614
3615   # Broken: fails on valid input.
3616 continue
3617 fi
3618
3619 rm -f conftest.err conftest.$ac_ext
3620
3621   # OK, works on sane cases.  Now check whether nonexistent headers
3622   # can be detected and how.
3623   cat >conftest.$ac_ext <<_ACEOF
3624 /* confdefs.h.  */
3625 _ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h.  */
3629 #include <ac_nonexistent.h>
3630 _ACEOF
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3632 case "(($ac_try" in
3633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634   *) ac_try_echo=$ac_try;;
3635 esac
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3638   ac_status=$?
3639   grep -v '^ *+' conftest.er1 >conftest.err
3640   rm -f conftest.er1
3641   cat conftest.err >&5
3642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643   (exit $ac_status); } >/dev/null && {
3644          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645          test ! -s conftest.err
3646        }; then
3647   # Broken: success on invalid input.
3648 continue
3649 else
3650   echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3652
3653   # Passes both tests.
3654 ac_preproc_ok=:
3655 break
3656 fi
3657
3658 rm -f conftest.err conftest.$ac_ext
3659
3660 done
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3664   :
3665 else
3666   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670    { (exit 1); exit 1; }; }
3671 fi
3672
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678
3679
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3682
3683
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3686   withval=$with_x;
3687 fi
3688
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691   # The user explicitly disabled X.
3692   have_x=disabled
3693 else
3694   case $x_includes,$x_libraries in #(
3695     *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697    { (exit 1); exit 1; }; };; #(
3698     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699   echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701   # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3705   cd conftest.dir
3706   cat >Imakefile <<'_ACEOF'
3707 incroot:
3708         @echo incroot='${INCROOT}'
3709 usrlibdir:
3710         @echo usrlibdir='${USRLIBDIR}'
3711 libdir:
3712         @echo libdir='${LIBDIR}'
3713 _ACEOF
3714   if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716     for ac_var in incroot usrlibdir libdir; do
3717       eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3718     done
3719     # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720     for ac_extension in a so sl; do
3721       if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722          test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723         ac_im_usrlibdir=$ac_im_libdir; break
3724       fi
3725     done
3726     # Screen out bogus values from the imake configuration.  They are
3727     # bogus both because they are the default anyway, and because
3728     # using them would break gcc on systems where it needs fixed includes.
3729     case $ac_im_incroot in
3730         /usr/include) ac_x_includes= ;;
3731         *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3732     esac
3733     case $ac_im_usrlibdir in
3734         /usr/lib | /lib) ;;
3735         *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3736     esac
3737   fi
3738   cd ..
3739   rm -f -r conftest.dir
3740 fi
3741
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3744 ac_x_header_dirs='
3745 /usr/X11/include
3746 /usr/X11R6/include
3747 /usr/X11R5/include
3748 /usr/X11R4/include
3749
3750 /usr/include/X11
3751 /usr/include/X11R6
3752 /usr/include/X11R5
3753 /usr/include/X11R4
3754
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3759
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3764
3765 /usr/X386/include
3766 /usr/x386/include
3767 /usr/XFree86/include/X11
3768
3769 /usr/include
3770 /usr/local/include
3771 /usr/unsupported/include
3772 /usr/athena/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3775
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3778
3779 if test "$ac_x_includes" = no; then
3780   # Guess where to find include files, by looking for Xlib.h.
3781   # First, try using that file with no special directory specified.
3782   cat >conftest.$ac_ext <<_ACEOF
3783 /* confdefs.h.  */
3784 _ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h.  */
3788 #include <X11/Xlib.h>
3789 _ACEOF
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 case "(($ac_try" in
3792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793   *) ac_try_echo=$ac_try;;
3794 esac
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797   ac_status=$?
3798   grep -v '^ *+' conftest.er1 >conftest.err
3799   rm -f conftest.er1
3800   cat conftest.err >&5
3801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802   (exit $ac_status); } >/dev/null && {
3803          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804          test ! -s conftest.err
3805        }; then
3806   # We can compile using X headers with no special include directory.
3807 ac_x_includes=
3808 else
3809   echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3811
3812   for ac_dir in $ac_x_header_dirs; do
3813   if test -r "$ac_dir/X11/Xlib.h"; then
3814     ac_x_includes=$ac_dir
3815     break
3816   fi
3817 done
3818 fi
3819
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3822
3823 if test "$ac_x_libraries" = no; then
3824   # Check for the libraries.
3825   # See if we find them without any special options.
3826   # Don't add to $LIBS permanently.
3827   ac_save_LIBS=$LIBS
3828   LIBS="-lX11 $LIBS"
3829   cat >conftest.$ac_ext <<_ACEOF
3830 /* confdefs.h.  */
3831 _ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h.  */
3835 #include <X11/Xlib.h>
3836 int
3837 main ()
3838 {
3839 XrmInitialize ()
3840   ;
3841   return 0;
3842 }
3843 _ACEOF
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3846 case "(($ac_try" in
3847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848   *) ac_try_echo=$ac_try;;
3849 esac
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851   (eval "$ac_link") 2>conftest.er1
3852   ac_status=$?
3853   grep -v '^ *+' conftest.er1 >conftest.err
3854   rm -f conftest.er1
3855   cat conftest.err >&5
3856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857   (exit $ac_status); } && {
3858          test -z "$ac_c_werror_flag" ||
3859          test ! -s conftest.err
3860        } && test -s conftest$ac_exeext &&
3861        $as_test_x conftest$ac_exeext; then
3862   LIBS=$ac_save_LIBS
3863 # We can link X programs with no special library path.
3864 ac_x_libraries=
3865 else
3866   echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3868
3869         LIBS=$ac_save_LIBS
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3871 do
3872   # Don't even attempt the hair of trying to link an X program!
3873   for ac_extension in a so sl; do
3874     if test -r "$ac_dir/libX11.$ac_extension"; then
3875       ac_x_libraries=$ac_dir
3876       break 2
3877     fi
3878   done
3879 done
3880 fi
3881
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883       conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3885
3886 case $ac_x_includes,$ac_x_libraries in #(
3887   no,* | *,no | *\'*)
3888     # Didn't find X, or a directory has "'" in its name.
3889     ac_cv_have_x="have_x=no";; #(
3890   *)
3891     # Record where we found X for the cache.
3892     ac_cv_have_x="have_x=yes\
3893         ac_x_includes='$ac_x_includes'\
3894         ac_x_libraries='$ac_x_libraries'"
3895 esac
3896 fi
3897 ;; #(
3898     *) have_x=yes;;
3899   esac
3900   eval "$ac_cv_have_x"
3901 fi # $with_x != no
3902
3903 if test "$have_x" != yes; then
3904   { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3906   no_x=yes
3907 else
3908   # If each of the values was on the command line, it overrides each guess.
3909   test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910   test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911   # Update the cache value to reflect the command line values.
3912   ac_cv_have_x="have_x=yes\
3913         ac_x_includes='$x_includes'\
3914         ac_x_libraries='$x_libraries'"
3915   { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3917 fi
3918
3919 if test "$no_x" = yes; then
3920   # Not all programs may use this symbol, but it does not hurt to define it.
3921
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3924 _ACEOF
3925
3926   X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3927 else
3928   if test -n "$x_includes"; then
3929     X_CFLAGS="$X_CFLAGS -I$x_includes"
3930   fi
3931
3932   # It would also be nice to do this for all -L options, not just this one.
3933   if test -n "$x_libraries"; then
3934     X_LIBS="$X_LIBS -L$x_libraries"
3935     # For Solaris; some versions of Sun CC require a space after -R and
3936     # others require no space.  Words are not sufficient . . . .
3937     { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939     ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940     ac_xsave_c_werror_flag=$ac_c_werror_flag
3941     ac_c_werror_flag=yes
3942     cat >conftest.$ac_ext <<_ACEOF
3943 /* confdefs.h.  */
3944 _ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h.  */
3948
3949 int
3950 main ()
3951 {
3952
3953   ;
3954   return 0;
3955 }
3956 _ACEOF
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3959 case "(($ac_try" in
3960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961   *) ac_try_echo=$ac_try;;
3962 esac
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964   (eval "$ac_link") 2>conftest.er1
3965   ac_status=$?
3966   grep -v '^ *+' conftest.er1 >conftest.err
3967   rm -f conftest.er1
3968   cat conftest.err >&5
3969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970   (exit $ac_status); } && {
3971          test -z "$ac_c_werror_flag" ||
3972          test ! -s conftest.err
3973        } && test -s conftest$ac_exeext &&
3974        $as_test_x conftest$ac_exeext; then
3975   { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977        X_LIBS="$X_LIBS -R$x_libraries"
3978 else
3979   echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3981
3982         LIBS="$ac_xsave_LIBS -R $x_libraries"
3983        cat >conftest.$ac_ext <<_ACEOF
3984 /* confdefs.h.  */
3985 _ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h.  */
3989
3990 int
3991 main ()
3992 {
3993
3994   ;
3995   return 0;
3996 }
3997 _ACEOF
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4000 case "(($ac_try" in
4001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002   *) ac_try_echo=$ac_try;;
4003 esac
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005   (eval "$ac_link") 2>conftest.er1
4006   ac_status=$?
4007   grep -v '^ *+' conftest.er1 >conftest.err
4008   rm -f conftest.er1
4009   cat conftest.err >&5
4010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011   (exit $ac_status); } && {
4012          test -z "$ac_c_werror_flag" ||
4013          test ! -s conftest.err
4014        } && test -s conftest$ac_exeext &&
4015        $as_test_x conftest$ac_exeext; then
4016   { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018           X_LIBS="$X_LIBS -R $x_libraries"
4019 else
4020   echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4022
4023         { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4025 fi
4026
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028       conftest$ac_exeext conftest.$ac_ext
4029 fi
4030
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032       conftest$ac_exeext conftest.$ac_ext
4033     ac_c_werror_flag=$ac_xsave_c_werror_flag
4034     LIBS=$ac_xsave_LIBS
4035   fi
4036
4037   # Check for system-dependent libraries X programs must link with.
4038   # Do this before checking for the system-independent R6 libraries
4039   # (-lICE), since we may need -lsocket or whatever for X linking.
4040
4041   if test "$ISC" = yes; then
4042     X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4043   else
4044     # Martyn Johnson says this is needed for Ultrix, if the X
4045     # libraries were built with DECnet support.  And Karl Berry says
4046     # the Alpha needs dnet_stub (dnet does not exist).
4047     ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048     cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h.  */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h.  */
4054
4055 /* Override any GCC internal prototype to avoid an error.
4056    Use char because int might match the return type of a GCC
4057    builtin and then its argument prototype would still apply.  */
4058 #ifdef __cplusplus
4059 extern "C"
4060 #endif
4061 char XOpenDisplay ();
4062 int
4063 main ()
4064 {
4065 return XOpenDisplay ();
4066   ;
4067   return 0;
4068 }
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074   *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077   (eval "$ac_link") 2>conftest.er1
4078   ac_status=$?
4079   grep -v '^ *+' conftest.er1 >conftest.err
4080   rm -f conftest.er1
4081   cat conftest.err >&5
4082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083   (exit $ac_status); } && {
4084          test -z "$ac_c_werror_flag" ||
4085          test ! -s conftest.err
4086        } && test -s conftest$ac_exeext &&
4087        $as_test_x conftest$ac_exeext; then
4088   :
4089 else
4090   echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4092
4093         { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096   echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098   ac_check_lib_save_LIBS=$LIBS
4099 LIBS="-ldnet  $LIBS"
4100 cat >conftest.$ac_ext <<_ACEOF
4101 /* confdefs.h.  */
4102 _ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h.  */
4106
4107 /* Override any GCC internal prototype to avoid an error.
4108    Use char because int might match the return type of a GCC
4109    builtin and then its argument prototype would still apply.  */
4110 #ifdef __cplusplus
4111 extern "C"
4112 #endif
4113 char dnet_ntoa ();
4114 int
4115 main ()
4116 {
4117 return dnet_ntoa ();
4118   ;
4119   return 0;
4120 }
4121 _ACEOF
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4124 case "(($ac_try" in
4125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126   *) ac_try_echo=$ac_try;;
4127 esac
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129   (eval "$ac_link") 2>conftest.er1
4130   ac_status=$?
4131   grep -v '^ *+' conftest.er1 >conftest.err
4132   rm -f conftest.er1
4133   cat conftest.err >&5
4134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135   (exit $ac_status); } && {
4136          test -z "$ac_c_werror_flag" ||
4137          test ! -s conftest.err
4138        } && test -s conftest$ac_exeext &&
4139        $as_test_x conftest$ac_exeext; then
4140   ac_cv_lib_dnet_dnet_ntoa=yes
4141 else
4142   echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4144
4145         ac_cv_lib_dnet_dnet_ntoa=no
4146 fi
4147
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149       conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4151 fi
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4156 fi
4157
4158     if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159       { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162   echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164   ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub  $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h.  */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h.  */
4172
4173 /* Override any GCC internal prototype to avoid an error.
4174    Use char because int might match the return type of a GCC
4175    builtin and then its argument prototype would still apply.  */
4176 #ifdef __cplusplus
4177 extern "C"
4178 #endif
4179 char dnet_ntoa ();
4180 int
4181 main ()
4182 {
4183 return dnet_ntoa ();
4184   ;
4185   return 0;
4186 }
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4190 case "(($ac_try" in
4191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192   *) ac_try_echo=$ac_try;;
4193 esac
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195   (eval "$ac_link") 2>conftest.er1
4196   ac_status=$?
4197   grep -v '^ *+' conftest.er1 >conftest.err
4198   rm -f conftest.er1
4199   cat conftest.err >&5
4200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201   (exit $ac_status); } && {
4202          test -z "$ac_c_werror_flag" ||
4203          test ! -s conftest.err
4204        } && test -s conftest$ac_exeext &&
4205        $as_test_x conftest$ac_exeext; then
4206   ac_cv_lib_dnet_stub_dnet_ntoa=yes
4207 else
4208   echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4210
4211         ac_cv_lib_dnet_stub_dnet_ntoa=no
4212 fi
4213
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215       conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4217 fi
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221   X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4222 fi
4223
4224     fi
4225 fi
4226
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228       conftest$ac_exeext conftest.$ac_ext
4229     LIBS="$ac_xsave_LIBS"
4230
4231     # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232     # to get the SysV transport functions.
4233     # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4234     # needs -lnsl.
4235     # The nsl library prevents programs from opening the X display
4236     # on Irix 5.2, according to T.E. Dickey.
4237     # The functions gethostbyname, getservbyname, and inet_addr are
4238     # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239     { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242   echo $ECHO_N "(cached) $ECHO_C" >&6
4243 else
4244   cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h.  */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h.  */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4252 #define gethostbyname innocuous_gethostbyname
4253
4254 /* System header to define __stub macros and hopefully few prototypes,
4255     which can conflict with char gethostbyname (); below.
4256     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257     <limits.h> exists even on freestanding compilers.  */
4258
4259 #ifdef __STDC__
4260 # include <limits.h>
4261 #else
4262 # include <assert.h>
4263 #endif
4264
4265 #undef gethostbyname
4266
4267 /* Override any GCC internal prototype to avoid an error.
4268    Use char because int might match the return type of a GCC
4269    builtin and then its argument prototype would still apply.  */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275     to always fail with ENOSYS.  Some functions are actually named
4276     something starting with __ and the normal name is an alias.  */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4278 choke me
4279 #endif
4280
4281 int
4282 main ()
4283 {
4284 return gethostbyname ();
4285   ;
4286   return 0;
4287 }
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293   *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296   (eval "$ac_link") 2>conftest.er1
4297   ac_status=$?
4298   grep -v '^ *+' conftest.er1 >conftest.err
4299   rm -f conftest.er1
4300   cat conftest.err >&5
4301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302   (exit $ac_status); } && {
4303          test -z "$ac_c_werror_flag" ||
4304          test ! -s conftest.err
4305        } && test -s conftest$ac_exeext &&
4306        $as_test_x conftest$ac_exeext; then
4307   ac_cv_func_gethostbyname=yes
4308 else
4309   echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4311
4312         ac_cv_func_gethostbyname=no
4313 fi
4314
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316       conftest$ac_exeext conftest.$ac_ext
4317 fi
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4320
4321     if test $ac_cv_func_gethostbyname = no; then
4322       { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325   echo $ECHO_N "(cached) $ECHO_C" >&6
4326 else
4327   ac_check_lib_save_LIBS=$LIBS
4328 LIBS="-lnsl  $LIBS"
4329 cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h.  */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h.  */
4335
4336 /* Override any GCC internal prototype to avoid an error.
4337    Use char because int might match the return type of a GCC
4338    builtin and then its argument prototype would still apply.  */
4339 #ifdef __cplusplus
4340 extern "C"
4341 #endif
4342 char gethostbyname ();
4343 int
4344 main ()
4345 {
4346 return gethostbyname ();
4347   ;
4348   return 0;
4349 }
4350 _ACEOF
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4353 case "(($ac_try" in
4354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355   *) ac_try_echo=$ac_try;;
4356 esac
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358   (eval "$ac_link") 2>conftest.er1
4359   ac_status=$?
4360   grep -v '^ *+' conftest.er1 >conftest.err
4361   rm -f conftest.er1
4362   cat conftest.err >&5
4363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364   (exit $ac_status); } && {
4365          test -z "$ac_c_werror_flag" ||
4366          test ! -s conftest.err
4367        } && test -s conftest$ac_exeext &&
4368        $as_test_x conftest$ac_exeext; then
4369   ac_cv_lib_nsl_gethostbyname=yes
4370 else
4371   echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4373
4374         ac_cv_lib_nsl_gethostbyname=no
4375 fi
4376
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378       conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4380 fi
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384   X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4385 fi
4386
4387       if test $ac_cv_lib_nsl_gethostbyname = no; then
4388         { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391   echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393   ac_check_lib_save_LIBS=$LIBS
4394 LIBS="-lbsd  $LIBS"
4395 cat >conftest.$ac_ext <<_ACEOF
4396 /* confdefs.h.  */
4397 _ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h.  */
4401
4402 /* Override any GCC internal prototype to avoid an error.
4403    Use char because int might match the return type of a GCC
4404    builtin and then its argument prototype would still apply.  */
4405 #ifdef __cplusplus
4406 extern "C"
4407 #endif
4408 char gethostbyname ();
4409 int
4410 main ()
4411 {
4412 return gethostbyname ();
4413   ;
4414   return 0;
4415 }
4416 _ACEOF
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4419 case "(($ac_try" in
4420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421   *) ac_try_echo=$ac_try;;
4422 esac
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424   (eval "$ac_link") 2>conftest.er1
4425   ac_status=$?
4426   grep -v '^ *+' conftest.er1 >conftest.err
4427   rm -f conftest.er1
4428   cat conftest.err >&5
4429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430   (exit $ac_status); } && {
4431          test -z "$ac_c_werror_flag" ||
4432          test ! -s conftest.err
4433        } && test -s conftest$ac_exeext &&
4434        $as_test_x conftest$ac_exeext; then
4435   ac_cv_lib_bsd_gethostbyname=yes
4436 else
4437   echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4439
4440         ac_cv_lib_bsd_gethostbyname=no
4441 fi
4442
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444       conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4446 fi
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450   X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4451 fi
4452
4453       fi
4454     fi
4455
4456     # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457     # socket/setsockopt and other routines are undefined under SCO ODT
4458     # 2.0.  But -lsocket is broken on IRIX 5.2 (and is not necessary
4459     # on later versions), says Simon Leinen: it contains gethostby*
4460     # variants that don't use the name server (or something).  -lsocket
4461     # must be given before -lnsl if both are needed.  We assume that
4462     # if connect needs -lnsl, so does gethostbyname.
4463     { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466   echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468   cat >conftest.$ac_ext <<_ACEOF
4469 /* confdefs.h.  */
4470 _ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h.  */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4476 #define connect innocuous_connect
4477
4478 /* System header to define __stub macros and hopefully few prototypes,
4479     which can conflict with char connect (); below.
4480     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481     <limits.h> exists even on freestanding compilers.  */
4482
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4488
4489 #undef connect
4490
4491 /* Override any GCC internal prototype to avoid an error.
4492    Use char because int might match the return type of a GCC
4493    builtin and then its argument prototype would still apply.  */
4494 #ifdef __cplusplus
4495 extern "C"
4496 #endif
4497 char connect ();
4498 /* The GNU C library defines this for functions which it implements
4499     to always fail with ENOSYS.  Some functions are actually named
4500     something starting with __ and the normal name is an alias.  */
4501 #if defined __stub_connect || defined __stub___connect
4502 choke me
4503 #endif
4504
4505 int
4506 main ()
4507 {
4508 return connect ();
4509   ;
4510   return 0;
4511 }
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4515 case "(($ac_try" in
4516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517   *) ac_try_echo=$ac_try;;
4518 esac
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520   (eval "$ac_link") 2>conftest.er1
4521   ac_status=$?
4522   grep -v '^ *+' conftest.er1 >conftest.err
4523   rm -f conftest.er1
4524   cat conftest.err >&5
4525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526   (exit $ac_status); } && {
4527          test -z "$ac_c_werror_flag" ||
4528          test ! -s conftest.err
4529        } && test -s conftest$ac_exeext &&
4530        $as_test_x conftest$ac_exeext; then
4531   ac_cv_func_connect=yes
4532 else
4533   echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4535
4536         ac_cv_func_connect=no
4537 fi
4538
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540       conftest$ac_exeext conftest.$ac_ext
4541 fi
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4544
4545     if test $ac_cv_func_connect = no; then
4546       { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549   echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551   ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4554 /* confdefs.h.  */
4555 _ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h.  */
4559
4560 /* Override any GCC internal prototype to avoid an error.
4561    Use char because int might match the return type of a GCC
4562    builtin and then its argument prototype would still apply.  */
4563 #ifdef __cplusplus
4564 extern "C"
4565 #endif
4566 char connect ();
4567 int
4568 main ()
4569 {
4570 return connect ();
4571   ;
4572   return 0;
4573 }
4574 _ACEOF
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4577 case "(($ac_try" in
4578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579   *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582   (eval "$ac_link") 2>conftest.er1
4583   ac_status=$?
4584   grep -v '^ *+' conftest.er1 >conftest.err
4585   rm -f conftest.er1
4586   cat conftest.err >&5
4587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588   (exit $ac_status); } && {
4589          test -z "$ac_c_werror_flag" ||
4590          test ! -s conftest.err
4591        } && test -s conftest$ac_exeext &&
4592        $as_test_x conftest$ac_exeext; then
4593   ac_cv_lib_socket_connect=yes
4594 else
4595   echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4597
4598         ac_cv_lib_socket_connect=no
4599 fi
4600
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602       conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4604 fi
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608   X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4609 fi
4610
4611     fi
4612
4613     # Guillermo Gomez says -lposix is necessary on A/UX.
4614     { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617   echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619   cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h.  */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h.  */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4627 #define remove innocuous_remove
4628
4629 /* System header to define __stub macros and hopefully few prototypes,
4630     which can conflict with char remove (); below.
4631     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632     <limits.h> exists even on freestanding compilers.  */
4633
4634 #ifdef __STDC__
4635 # include <limits.h>
4636 #else
4637 # include <assert.h>
4638 #endif
4639
4640 #undef remove
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 remove ();
4649 /* The GNU C library defines this for functions which it implements
4650     to always fail with ENOSYS.  Some functions are actually named
4651     something starting with __ and the normal name is an alias.  */
4652 #if defined __stub_remove || defined __stub___remove
4653 choke me
4654 #endif
4655
4656 int
4657 main ()
4658 {
4659 return remove ();
4660   ;
4661   return 0;
4662 }
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668   *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671   (eval "$ac_link") 2>conftest.er1
4672   ac_status=$?
4673   grep -v '^ *+' conftest.er1 >conftest.err
4674   rm -f conftest.er1
4675   cat conftest.err >&5
4676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677   (exit $ac_status); } && {
4678          test -z "$ac_c_werror_flag" ||
4679          test ! -s conftest.err
4680        } && test -s conftest$ac_exeext &&
4681        $as_test_x conftest$ac_exeext; then
4682   ac_cv_func_remove=yes
4683 else
4684   echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4686
4687         ac_cv_func_remove=no
4688 fi
4689
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691       conftest$ac_exeext conftest.$ac_ext
4692 fi
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4695
4696     if test $ac_cv_func_remove = no; then
4697       { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700   echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702   ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix  $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4705 /* confdefs.h.  */
4706 _ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h.  */
4710
4711 /* Override any GCC internal prototype to avoid an error.
4712    Use char because int might match the return type of a GCC
4713    builtin and then its argument prototype would still apply.  */
4714 #ifdef __cplusplus
4715 extern "C"
4716 #endif
4717 char remove ();
4718 int
4719 main ()
4720 {
4721 return remove ();
4722   ;
4723   return 0;
4724 }
4725 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4728 case "(($ac_try" in
4729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730   *) ac_try_echo=$ac_try;;
4731 esac
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733   (eval "$ac_link") 2>conftest.er1
4734   ac_status=$?
4735   grep -v '^ *+' conftest.er1 >conftest.err
4736   rm -f conftest.er1
4737   cat conftest.err >&5
4738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739   (exit $ac_status); } && {
4740          test -z "$ac_c_werror_flag" ||
4741          test ! -s conftest.err
4742        } && test -s conftest$ac_exeext &&
4743        $as_test_x conftest$ac_exeext; then
4744   ac_cv_lib_posix_remove=yes
4745 else
4746   echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4748
4749         ac_cv_lib_posix_remove=no
4750 fi
4751
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753       conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4755 fi
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759   X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4760 fi
4761
4762     fi
4763
4764     # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765     { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768   echo $ECHO_N "(cached) $ECHO_C" >&6
4769 else
4770   cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h.  */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h.  */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
4778 #define shmat innocuous_shmat
4779
4780 /* System header to define __stub macros and hopefully few prototypes,
4781     which can conflict with char shmat (); below.
4782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783     <limits.h> exists even on freestanding compilers.  */
4784
4785 #ifdef __STDC__
4786 # include <limits.h>
4787 #else
4788 # include <assert.h>
4789 #endif
4790
4791 #undef shmat
4792
4793 /* Override any GCC internal prototype to avoid an error.
4794    Use char because int might match the return type of a GCC
4795    builtin and then its argument prototype would still apply.  */
4796 #ifdef __cplusplus
4797 extern "C"
4798 #endif
4799 char shmat ();
4800 /* The GNU C library defines this for functions which it implements
4801     to always fail with ENOSYS.  Some functions are actually named
4802     something starting with __ and the normal name is an alias.  */
4803 #if defined __stub_shmat || defined __stub___shmat
4804 choke me
4805 #endif
4806
4807 int
4808 main ()
4809 {
4810 return shmat ();
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_func_shmat=yes
4834 else
4835   echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4837
4838         ac_cv_func_shmat=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 fi
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846
4847     if test $ac_cv_func_shmat = no; then
4848       { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851   echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853   ac_check_lib_save_LIBS=$LIBS
4854 LIBS="-lipc  $LIBS"
4855 cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h.  */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h.  */
4861
4862 /* Override any GCC internal prototype to avoid an error.
4863    Use char because int might match the return type of a GCC
4864    builtin and then its argument prototype would still apply.  */
4865 #ifdef __cplusplus
4866 extern "C"
4867 #endif
4868 char shmat ();
4869 int
4870 main ()
4871 {
4872 return shmat ();
4873   ;
4874   return 0;
4875 }
4876 _ACEOF
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4879 case "(($ac_try" in
4880   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881   *) ac_try_echo=$ac_try;;
4882 esac
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884   (eval "$ac_link") 2>conftest.er1
4885   ac_status=$?
4886   grep -v '^ *+' conftest.er1 >conftest.err
4887   rm -f conftest.er1
4888   cat conftest.err >&5
4889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890   (exit $ac_status); } && {
4891          test -z "$ac_c_werror_flag" ||
4892          test ! -s conftest.err
4893        } && test -s conftest$ac_exeext &&
4894        $as_test_x conftest$ac_exeext; then
4895   ac_cv_lib_ipc_shmat=yes
4896 else
4897   echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4899
4900         ac_cv_lib_ipc_shmat=no
4901 fi
4902
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904       conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4906 fi
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910   X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4911 fi
4912
4913     fi
4914   fi
4915
4916   # Check for libraries that X11R6 Xt/Xaw programs need.
4917   ac_save_LDFLAGS=$LDFLAGS
4918   test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919   # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920   # check for ICE first), but we must link in the order -lSM -lICE or
4921   # we get undefined symbols.  So assume we have SM if we have ICE.
4922   # These have to be linked with before -lX11, unlike the other
4923   # libraries we check for below, so use a different variable.
4924   # John Interrante, Karl Berry
4925   { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928   echo $ECHO_N "(cached) $ECHO_C" >&6
4929 else
4930   ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4933 /* confdefs.h.  */
4934 _ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h.  */
4938
4939 /* Override any GCC internal prototype to avoid an error.
4940    Use char because int might match the return type of a GCC
4941    builtin and then its argument prototype would still apply.  */
4942 #ifdef __cplusplus
4943 extern "C"
4944 #endif
4945 char IceConnectionNumber ();
4946 int
4947 main ()
4948 {
4949 return IceConnectionNumber ();
4950   ;
4951   return 0;
4952 }
4953 _ACEOF
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4956 case "(($ac_try" in
4957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958   *) ac_try_echo=$ac_try;;
4959 esac
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961   (eval "$ac_link") 2>conftest.er1
4962   ac_status=$?
4963   grep -v '^ *+' conftest.er1 >conftest.err
4964   rm -f conftest.er1
4965   cat conftest.err >&5
4966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967   (exit $ac_status); } && {
4968          test -z "$ac_c_werror_flag" ||
4969          test ! -s conftest.err
4970        } && test -s conftest$ac_exeext &&
4971        $as_test_x conftest$ac_exeext; then
4972   ac_cv_lib_ICE_IceConnectionNumber=yes
4973 else
4974   echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4976
4977         ac_cv_lib_ICE_IceConnectionNumber=no
4978 fi
4979
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981       conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4983 fi
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987   X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4988 fi
4989
4990   LDFLAGS=$ac_save_LDFLAGS
4991
4992 fi
4993
4994
4995 for ac_prog in flex
4996 do
4997   # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002   echo $ECHO_N "(cached) $ECHO_C" >&6
5003 else
5004   if test -n "$FLEX"; then
5005   ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5009 do
5010   IFS=$as_save_IFS
5011   test -z "$as_dir" && as_dir=.
5012   for ac_exec_ext in '' $ac_executable_extensions; do
5013   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014     ac_cv_prog_FLEX="$ac_prog"
5015     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016     break 2
5017   fi
5018 done
5019 done
5020 IFS=$as_save_IFS
5021
5022 fi
5023 fi
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026   { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5028 else
5029   { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5031 fi
5032
5033
5034   test -n "$FLEX" && break
5035 done
5036 test -n "$FLEX" || FLEX="none"
5037
5038 if test "$FLEX" = "none"
5039 then
5040   { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042    { (exit 1); exit 1; }; }
5043 fi
5044
5045 for ac_prog in bison
5046 do
5047   # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052   echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054   if test -n "$BISON"; then
5055   ac_cv_prog_BISON="$BISON" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5059 do
5060   IFS=$as_save_IFS
5061   test -z "$as_dir" && as_dir=.
5062   for ac_exec_ext in '' $ac_executable_extensions; do
5063   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064     ac_cv_prog_BISON="$ac_prog"
5065     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066     break 2
5067   fi
5068 done
5069 done
5070 IFS=$as_save_IFS
5071
5072 fi
5073 fi
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076   { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5078 else
5079   { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5081 fi
5082
5083
5084   test -n "$BISON" && break
5085 done
5086 test -n "$BISON" || BISON="none"
5087
5088 if test "$BISON" = "none"
5089 then
5090   { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092    { (exit 1); exit 1; }; }
5093 fi
5094
5095 if test -n "$ac_tool_prefix"; then
5096   for ac_prog in gas as
5097   do
5098     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103   echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105   if test -n "$AS"; then
5106   ac_cv_prog_AS="$AS" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5110 do
5111   IFS=$as_save_IFS
5112   test -z "$as_dir" && as_dir=.
5113   for ac_exec_ext in '' $ac_executable_extensions; do
5114   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115     ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117     break 2
5118   fi
5119 done
5120 done
5121 IFS=$as_save_IFS
5122
5123 fi
5124 fi
5125 AS=$ac_cv_prog_AS
5126 if test -n "$AS"; then
5127   { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5129 else
5130   { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5132 fi
5133
5134
5135     test -n "$AS" && break
5136   done
5137 fi
5138 if test -z "$AS"; then
5139   ac_ct_AS=$AS
5140   for ac_prog in gas as
5141 do
5142   # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147   echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149   if test -n "$ac_ct_AS"; then
5150   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5154 do
5155   IFS=$as_save_IFS
5156   test -z "$as_dir" && as_dir=.
5157   for ac_exec_ext in '' $ac_executable_extensions; do
5158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159     ac_cv_prog_ac_ct_AS="$ac_prog"
5160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161     break 2
5162   fi
5163 done
5164 done
5165 IFS=$as_save_IFS
5166
5167 fi
5168 fi
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171   { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5173 else
5174   { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5176 fi
5177
5178
5179   test -n "$ac_ct_AS" && break
5180 done
5181
5182   if test "x$ac_ct_AS" = x; then
5183     AS="as"
5184   else
5185     case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet.  If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet.  If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195     AS=$ac_ct_AS
5196   fi
5197 fi
5198
5199 if test -n "$ac_tool_prefix"; then
5200   # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205   echo $ECHO_N "(cached) $ECHO_C" >&6
5206 else
5207   if test -n "$LD"; then
5208   ac_cv_prog_LD="$LD" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5212 do
5213   IFS=$as_save_IFS
5214   test -z "$as_dir" && as_dir=.
5215   for ac_exec_ext in '' $ac_executable_extensions; do
5216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217     ac_cv_prog_LD="${ac_tool_prefix}ld"
5218     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219     break 2
5220   fi
5221 done
5222 done
5223 IFS=$as_save_IFS
5224
5225 fi
5226 fi
5227 LD=$ac_cv_prog_LD
5228 if test -n "$LD"; then
5229   { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5231 else
5232   { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5234 fi
5235
5236
5237 fi
5238 if test -z "$ac_cv_prog_LD"; then
5239   ac_ct_LD=$LD
5240   # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245   echo $ECHO_N "(cached) $ECHO_C" >&6
5246 else
5247   if test -n "$ac_ct_LD"; then
5248   ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5252 do
5253   IFS=$as_save_IFS
5254   test -z "$as_dir" && as_dir=.
5255   for ac_exec_ext in '' $ac_executable_extensions; do
5256   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257     ac_cv_prog_ac_ct_LD="ld"
5258     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259     break 2
5260   fi
5261 done
5262 done
5263 IFS=$as_save_IFS
5264
5265 fi
5266 fi
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269   { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5271 else
5272   { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5274 fi
5275
5276   if test "x$ac_ct_LD" = x; then
5277     LD="ld"
5278   else
5279     case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet.  If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet.  If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289     LD=$ac_ct_LD
5290   fi
5291 else
5292   LD="$ac_cv_prog_LD"
5293 fi
5294
5295 if test -n "$ac_tool_prefix"; then
5296   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301   echo $ECHO_N "(cached) $ECHO_C" >&6
5302 else
5303   if test -n "$AR"; then
5304   ac_cv_prog_AR="$AR" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5308 do
5309   IFS=$as_save_IFS
5310   test -z "$as_dir" && as_dir=.
5311   for ac_exec_ext in '' $ac_executable_extensions; do
5312   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313     ac_cv_prog_AR="${ac_tool_prefix}ar"
5314     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315     break 2
5316   fi
5317 done
5318 done
5319 IFS=$as_save_IFS
5320
5321 fi
5322 fi
5323 AR=$ac_cv_prog_AR
5324 if test -n "$AR"; then
5325   { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5327 else
5328   { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5330 fi
5331
5332
5333 fi
5334 if test -z "$ac_cv_prog_AR"; then
5335   ac_ct_AR=$AR
5336   # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341   echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343   if test -n "$ac_ct_AR"; then
5344   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5345 else
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5348 do
5349   IFS=$as_save_IFS
5350   test -z "$as_dir" && as_dir=.
5351   for ac_exec_ext in '' $ac_executable_extensions; do
5352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353     ac_cv_prog_ac_ct_AR="ar"
5354     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355     break 2
5356   fi
5357 done
5358 done
5359 IFS=$as_save_IFS
5360
5361 fi
5362 fi
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365   { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5367 else
5368   { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5370 fi
5371
5372   if test "x$ac_ct_AR" = x; then
5373     AR="ar"
5374   else
5375     case $cross_compiling:$ac_tool_warned in
5376 yes:)
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet.  If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet.  If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5384 esac
5385     AR=$ac_ct_AR
5386   fi
5387 else
5388   AR="$ac_cv_prog_AR"
5389 fi
5390
5391 if test -n "$ac_tool_prefix"; then
5392   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397   echo $ECHO_N "(cached) $ECHO_C" >&6
5398 else
5399   if test -n "$RANLIB"; then
5400   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5404 do
5405   IFS=$as_save_IFS
5406   test -z "$as_dir" && as_dir=.
5407   for ac_exec_ext in '' $ac_executable_extensions; do
5408   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411     break 2
5412   fi
5413 done
5414 done
5415 IFS=$as_save_IFS
5416
5417 fi
5418 fi
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421   { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5423 else
5424   { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5426 fi
5427
5428
5429 fi
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431   ac_ct_RANLIB=$RANLIB
5432   # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437   echo $ECHO_N "(cached) $ECHO_C" >&6
5438 else
5439   if test -n "$ac_ct_RANLIB"; then
5440   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5444 do
5445   IFS=$as_save_IFS
5446   test -z "$as_dir" && as_dir=.
5447   for ac_exec_ext in '' $ac_executable_extensions; do
5448   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449     ac_cv_prog_ac_ct_RANLIB="ranlib"
5450     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451     break 2
5452   fi
5453 done
5454 done
5455 IFS=$as_save_IFS
5456
5457 fi
5458 fi
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5463 else
5464   { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5466 fi
5467
5468   if test "x$ac_ct_RANLIB" = x; then
5469     RANLIB=":"
5470   else
5471     case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet.  If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet.  If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481     RANLIB=$ac_ct_RANLIB
5482   fi
5483 else
5484   RANLIB="$ac_cv_prog_RANLIB"
5485 fi
5486
5487 if test -n "$ac_tool_prefix"; then
5488   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493   echo $ECHO_N "(cached) $ECHO_C" >&6
5494 else
5495   if test -n "$STRIP"; then
5496   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5500 do
5501   IFS=$as_save_IFS
5502   test -z "$as_dir" && as_dir=.
5503   for ac_exec_ext in '' $ac_executable_extensions; do
5504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507     break 2
5508   fi
5509 done
5510 done
5511 IFS=$as_save_IFS
5512
5513 fi
5514 fi
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517   { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5519 else
5520   { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5522 fi
5523
5524
5525 fi
5526 if test -z "$ac_cv_prog_STRIP"; then
5527   ac_ct_STRIP=$STRIP
5528   # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533   echo $ECHO_N "(cached) $ECHO_C" >&6
5534 else
5535   if test -n "$ac_ct_STRIP"; then
5536   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5540 do
5541   IFS=$as_save_IFS
5542   test -z "$as_dir" && as_dir=.
5543   for ac_exec_ext in '' $ac_executable_extensions; do
5544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545     ac_cv_prog_ac_ct_STRIP="strip"
5546     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547     break 2
5548   fi
5549 done
5550 done
5551 IFS=$as_save_IFS
5552
5553 fi
5554 fi
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5559 else
5560   { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5562 fi
5563
5564   if test "x$ac_ct_STRIP" = x; then
5565     STRIP="strip"
5566   else
5567     case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet.  If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet.  If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5576 esac
5577     STRIP=$ac_ct_STRIP
5578   fi
5579 else
5580   STRIP="$ac_cv_prog_STRIP"
5581 fi
5582
5583 if test -n "$ac_tool_prefix"; then
5584   # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589   echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591   if test -n "$WINDRES"; then
5592   ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5596 do
5597   IFS=$as_save_IFS
5598   test -z "$as_dir" && as_dir=.
5599   for ac_exec_ext in '' $ac_executable_extensions; do
5600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601     ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603     break 2
5604   fi
5605 done
5606 done
5607 IFS=$as_save_IFS
5608
5609 fi
5610 fi
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613   { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5615 else
5616   { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5618 fi
5619
5620
5621 fi
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623   ac_ct_WINDRES=$WINDRES
5624   # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629   echo $ECHO_N "(cached) $ECHO_C" >&6
5630 else
5631   if test -n "$ac_ct_WINDRES"; then
5632   ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5636 do
5637   IFS=$as_save_IFS
5638   test -z "$as_dir" && as_dir=.
5639   for ac_exec_ext in '' $ac_executable_extensions; do
5640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641     ac_cv_prog_ac_ct_WINDRES="windres"
5642     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643     break 2
5644   fi
5645 done
5646 done
5647 IFS=$as_save_IFS
5648
5649 fi
5650 fi
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653   { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5655 else
5656   { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5658 fi
5659
5660   if test "x$ac_ct_WINDRES" = x; then
5661     WINDRES="false"
5662   else
5663     case $cross_compiling:$ac_tool_warned in
5664 yes:)
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet.  If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet.  If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673     WINDRES=$ac_ct_WINDRES
5674   fi
5675 else
5676   WINDRES="$ac_cv_prog_WINDRES"
5677 fi
5678
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5681 LN_S=$as_ln_s
5682 if test "$LN_S" = "ln -s"; then
5683   { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5685 else
5686   { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5688 fi
5689
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5693 echo >conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5695   LN=ln
5696
5697   { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5699 else
5700   LN="cp -p"
5701
5702   { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5704 fi
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709   echo $ECHO_N "(cached) $ECHO_C" >&6
5710 else
5711   # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715   echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717   ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 do
5722   IFS=$as_save_IFS
5723   test -z "$as_dir" && as_dir=.
5724   for ac_prog in grep ggrep; do
5725   for ac_exec_ext in '' $ac_executable_extensions; do
5726     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728     # Check for GNU ac_path_GREP and select it if it is found.
5729   # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5731 *GNU*)
5732   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 *)
5734   ac_count=0
5735   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5736   while :
5737   do
5738     cat "conftest.in" "conftest.in" >"conftest.tmp"
5739     mv "conftest.tmp" "conftest.in"
5740     cp "conftest.in" "conftest.nl"
5741     echo 'GREP' >> "conftest.nl"
5742     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744     ac_count=`expr $ac_count + 1`
5745     if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746       # Best one so far, save it but keep looking for a better one
5747       ac_cv_path_GREP="$ac_path_GREP"
5748       ac_path_GREP_max=$ac_count
5749     fi
5750     # 10*(2^10) chars as input seems more than enough
5751     test $ac_count -gt 10 && break
5752   done
5753   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 esac
5755
5756
5757     $ac_path_GREP_found && break 3
5758   done
5759 done
5760
5761 done
5762 IFS=$as_save_IFS
5763
5764
5765 fi
5766
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771    { (exit 1); exit 1; }; }
5772 fi
5773
5774 else
5775   ac_cv_path_GREP=$GREP
5776 fi
5777
5778
5779 fi
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782  GREP="$ac_cv_path_GREP"
5783
5784
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788   echo $ECHO_N "(cached) $ECHO_C" >&6
5789 else
5790   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791    then ac_cv_path_EGREP="$GREP -E"
5792    else
5793      # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797   echo $ECHO_N "(cached) $ECHO_C" >&6
5798 else
5799   ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5803 do
5804   IFS=$as_save_IFS
5805   test -z "$as_dir" && as_dir=.
5806   for ac_prog in egrep; do
5807   for ac_exec_ext in '' $ac_executable_extensions; do
5808     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810     # Check for GNU ac_path_EGREP and select it if it is found.
5811   # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5813 *GNU*)
5814   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5815 *)
5816   ac_count=0
5817   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5818   while :
5819   do
5820     cat "conftest.in" "conftest.in" >"conftest.tmp"
5821     mv "conftest.tmp" "conftest.in"
5822     cp "conftest.in" "conftest.nl"
5823     echo 'EGREP' >> "conftest.nl"
5824     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826     ac_count=`expr $ac_count + 1`
5827     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828       # Best one so far, save it but keep looking for a better one
5829       ac_cv_path_EGREP="$ac_path_EGREP"
5830       ac_path_EGREP_max=$ac_count
5831     fi
5832     # 10*(2^10) chars as input seems more than enough
5833     test $ac_count -gt 10 && break
5834   done
5835   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5836 esac
5837
5838
5839     $ac_path_EGREP_found && break 3
5840   done
5841 done
5842
5843 done
5844 IFS=$as_save_IFS
5845
5846
5847 fi
5848
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853    { (exit 1); exit 1; }; }
5854 fi
5855
5856 else
5857   ac_cv_path_EGREP=$EGREP
5858 fi
5859
5860
5861    fi
5862 fi
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865  EGREP="$ac_cv_path_EGREP"
5866
5867
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873   echo $ECHO_N "(cached) $ECHO_C" >&6
5874 else
5875   case $LDCONFIG in
5876   [\\/]* | ?:[\\/]*)
5877   ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5878   ;;
5879   *)
5880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5882 do
5883   IFS=$as_save_IFS
5884   test -z "$as_dir" && as_dir=.
5885   for ac_exec_ext in '' $ac_executable_extensions; do
5886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887     ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889     break 2
5890   fi
5891 done
5892 done
5893 IFS=$as_save_IFS
5894
5895   test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5896   ;;
5897 esac
5898 fi
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901   { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5903 else
5904   { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5906 fi
5907
5908
5909 # Find a good install program.  We prefer a C program (faster),
5910 # so one script is as good as another.  But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5915 # AIX /bin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926   echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5930 do
5931   IFS=$as_save_IFS
5932   test -z "$as_dir" && as_dir=.
5933   # Account for people who put trailing slashes in PATH elements.
5934 case $as_dir/ in
5935   ./ | .// | /cC/* | \
5936   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5938   /usr/ucb/* ) ;;
5939   *)
5940     # OSF1 and SCO ODT 3.0 have their own names for install.
5941     # Don't use installbsd from OSF since it installs stuff as root
5942     # by default.
5943     for ac_prog in ginstall scoinst install; do
5944       for ac_exec_ext in '' $ac_executable_extensions; do
5945         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946           if test $ac_prog = install &&
5947             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948             # AIX install.  It has an incompatible calling convention.
5949             :
5950           elif test $ac_prog = install &&
5951             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952             # program-specific install script used by HP pwplus--don't use.
5953             :
5954           else
5955             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5956             break 3
5957           fi
5958         fi
5959       done
5960     done
5961     ;;
5962 esac
5963 done
5964 IFS=$as_save_IFS
5965
5966
5967 fi
5968   if test "${ac_cv_path_install+set}" = set; then
5969     INSTALL=$ac_cv_path_install
5970   else
5971     # As a last resort, use the slow shell script.  Don't cache a
5972     # value for INSTALL within a source directory, because that will
5973     # break other packages using the cache if that directory is
5974     # removed, or if the value is a relative name.
5975     INSTALL=$ac_install_sh
5976   fi
5977 fi
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5980
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5984
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5986
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5988
5989 case "$INSTALL" in
5990   [\\/$]* | ?:[\\/]* ) ;;
5991   *)  INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5992 esac
5993
5994 for ac_prog in lclint lint
5995 do
5996   # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001   echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003   if test -n "$LINT"; then
6004   ac_cv_prog_LINT="$LINT" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6008 do
6009   IFS=$as_save_IFS
6010   test -z "$as_dir" && as_dir=.
6011   for ac_exec_ext in '' $ac_executable_extensions; do
6012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013     ac_cv_prog_LINT="$ac_prog"
6014     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015     break 2
6016   fi
6017 done
6018 done
6019 IFS=$as_save_IFS
6020
6021 fi
6022 fi
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025   { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6027 else
6028   { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6030 fi
6031
6032
6033   test -n "$LINT" && break
6034 done
6035
6036 if test "$LINT" = "lint"
6037 then
6038   LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6039   fi
6040
6041
6042
6043 for ac_prog in fontforge
6044 do
6045   # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050   echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052   if test -n "$FONTFORGE"; then
6053   ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6057 do
6058   IFS=$as_save_IFS
6059   test -z "$as_dir" && as_dir=.
6060   for ac_exec_ext in '' $ac_executable_extensions; do
6061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062     ac_cv_prog_FONTFORGE="$ac_prog"
6063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064     break 2
6065   fi
6066 done
6067 done
6068 IFS=$as_save_IFS
6069
6070 fi
6071 fi
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074   { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6076 else
6077   { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6079 fi
6080
6081
6082   test -n "$FONTFORGE" && break
6083 done
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6085
6086 for ac_prog in pkg-config
6087 do
6088   # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093   echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095   if test -n "$PKG_CONFIG"; then
6096   ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6100 do
6101   IFS=$as_save_IFS
6102   test -z "$as_dir" && as_dir=.
6103   for ac_exec_ext in '' $ac_executable_extensions; do
6104   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105     ac_cv_prog_PKG_CONFIG="$ac_prog"
6106     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107     break 2
6108   fi
6109 done
6110 done
6111 IFS=$as_save_IFS
6112
6113 fi
6114 fi
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6119 else
6120   { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6122 fi
6123
6124
6125   test -n "$PKG_CONFIG" && break
6126 done
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6128
6129
6130 case $host_cpu in
6131   *i[3456789]86*)
6132     # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137   echo $ECHO_N "(cached) $ECHO_C" >&6
6138 else
6139   case $PRELINK in
6140   [\\/]* | ?:[\\/]*)
6141   ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6142   ;;
6143   *)
6144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6146 do
6147   IFS=$as_save_IFS
6148   test -z "$as_dir" && as_dir=.
6149   for ac_exec_ext in '' $ac_executable_extensions; do
6150   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151     ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153     break 2
6154   fi
6155 done
6156 done
6157 IFS=$as_save_IFS
6158
6159   test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6160   ;;
6161 esac
6162 fi
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165   { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6167 else
6168   { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6170 fi
6171
6172
6173     ;;
6174 esac
6175
6176
6177
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181   echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183   ac_check_lib_save_LIBS=$LIBS
6184 LIBS="-li386  $LIBS"
6185 cat >conftest.$ac_ext <<_ACEOF
6186 /* confdefs.h.  */
6187 _ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h.  */
6191
6192 /* Override any GCC internal prototype to avoid an error.
6193    Use char because int might match the return type of a GCC
6194    builtin and then its argument prototype would still apply.  */
6195 #ifdef __cplusplus
6196 extern "C"
6197 #endif
6198 char i386_set_ldt ();
6199 int
6200 main ()
6201 {
6202 return i386_set_ldt ();
6203   ;
6204   return 0;
6205 }
6206 _ACEOF
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6209 case "(($ac_try" in
6210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211   *) ac_try_echo=$ac_try;;
6212 esac
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214   (eval "$ac_link") 2>conftest.er1
6215   ac_status=$?
6216   grep -v '^ *+' conftest.er1 >conftest.err
6217   rm -f conftest.er1
6218   cat conftest.err >&5
6219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220   (exit $ac_status); } && {
6221          test -z "$ac_c_werror_flag" ||
6222          test ! -s conftest.err
6223        } && test -s conftest$ac_exeext &&
6224        $as_test_x conftest$ac_exeext; then
6225   ac_cv_lib_i386_i386_set_ldt=yes
6226 else
6227   echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6229
6230         ac_cv_lib_i386_i386_set_ldt=no
6231 fi
6232
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234       conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6236 fi
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240   cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6242 _ACEOF
6243
6244   LIBS="-li386 $LIBS"
6245
6246 fi
6247
6248
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252   echo $ECHO_N "(cached) $ECHO_C" >&6
6253 else
6254   ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio  $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h.  */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h.  */
6262
6263 /* Override any GCC internal prototype to avoid an error.
6264    Use char because int might match the return type of a GCC
6265    builtin and then its argument prototype would still apply.  */
6266 #ifdef __cplusplus
6267 extern "C"
6268 #endif
6269 char _oss_ioctl ();
6270 int
6271 main ()
6272 {
6273 return _oss_ioctl ();
6274   ;
6275   return 0;
6276 }
6277 _ACEOF
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6280 case "(($ac_try" in
6281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282   *) ac_try_echo=$ac_try;;
6283 esac
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285   (eval "$ac_link") 2>conftest.er1
6286   ac_status=$?
6287   grep -v '^ *+' conftest.er1 >conftest.err
6288   rm -f conftest.er1
6289   cat conftest.err >&5
6290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291   (exit $ac_status); } && {
6292          test -z "$ac_c_werror_flag" ||
6293          test ! -s conftest.err
6294        } && test -s conftest$ac_exeext &&
6295        $as_test_x conftest$ac_exeext; then
6296   ac_cv_lib_ossaudio__oss_ioctl=yes
6297 else
6298   echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6300
6301         ac_cv_lib_ossaudio__oss_ioctl=no
6302 fi
6303
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305       conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6307 fi
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311   cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6313 _ACEOF
6314
6315   LIBS="-lossaudio $LIBS"
6316
6317 fi
6318
6319
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323   echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325   ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lxpg4  $LIBS"
6327 cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h.  */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h.  */
6333
6334 /* Override any GCC internal prototype to avoid an error.
6335    Use char because int might match the return type of a GCC
6336    builtin and then its argument prototype would still apply.  */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char _xpg4_setrunelocale ();
6341 int
6342 main ()
6343 {
6344 return _xpg4_setrunelocale ();
6345   ;
6346   return 0;
6347 }
6348 _ACEOF
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6351 case "(($ac_try" in
6352   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353   *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356   (eval "$ac_link") 2>conftest.er1
6357   ac_status=$?
6358   grep -v '^ *+' conftest.er1 >conftest.err
6359   rm -f conftest.er1
6360   cat conftest.err >&5
6361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362   (exit $ac_status); } && {
6363          test -z "$ac_c_werror_flag" ||
6364          test ! -s conftest.err
6365        } && test -s conftest$ac_exeext &&
6366        $as_test_x conftest$ac_exeext; then
6367   ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6368 else
6369   echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6371
6372         ac_cv_lib_xpg4__xpg4_setrunelocale=no
6373 fi
6374
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376       conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6378 fi
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382   cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6384 _ACEOF
6385
6386   LIBS="-lxpg4 $LIBS"
6387
6388 fi
6389
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393   echo $ECHO_N "(cached) $ECHO_C" >&6
6394 else
6395   ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread  $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h.  */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h.  */
6403
6404 /* Override any GCC internal prototype to avoid an error.
6405    Use char because int might match the return type of a GCC
6406    builtin and then its argument prototype would still apply.  */
6407 #ifdef __cplusplus
6408 extern "C"
6409 #endif
6410 char pthread_create ();
6411 int
6412 main ()
6413 {
6414 return pthread_create ();
6415   ;
6416   return 0;
6417 }
6418 _ACEOF
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6421 case "(($ac_try" in
6422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423   *) ac_try_echo=$ac_try;;
6424 esac
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426   (eval "$ac_link") 2>conftest.er1
6427   ac_status=$?
6428   grep -v '^ *+' conftest.er1 >conftest.err
6429   rm -f conftest.er1
6430   cat conftest.err >&5
6431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432   (exit $ac_status); } && {
6433          test -z "$ac_c_werror_flag" ||
6434          test ! -s conftest.err
6435        } && test -s conftest$ac_exeext &&
6436        $as_test_x conftest$ac_exeext; then
6437   ac_cv_lib_pthread_pthread_create=yes
6438 else
6439   echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6441
6442         ac_cv_lib_pthread_pthread_create=no
6443 fi
6444
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446       conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6448 fi
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452   LIBPTHREAD="-lpthread"
6453
6454 fi
6455
6456
6457 XLIB=""
6458
6459 XFILES=""
6460
6461 OPENGLFILES=""
6462
6463 GLU32FILES=""
6464
6465 OPENGL_LIBS=""
6466
6467 QUARTZFILES=""
6468
6469
6470
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474   echo $ECHO_N "(cached) $ECHO_C" >&6
6475 else
6476   cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h.  */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h.  */
6482 #include <stdlib.h>
6483 #include <stdarg.h>
6484 #include <string.h>
6485 #include <float.h>
6486
6487 int
6488 main ()
6489 {
6490
6491   ;
6492   return 0;
6493 }
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (ac_try="$ac_compile"
6497 case "(($ac_try" in
6498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6499   *) ac_try_echo=$ac_try;;
6500 esac
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502   (eval "$ac_compile") 2>conftest.er1
6503   ac_status=$?
6504   grep -v '^ *+' conftest.er1 >conftest.err
6505   rm -f conftest.er1
6506   cat conftest.err >&5
6507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508   (exit $ac_status); } && {
6509          test -z "$ac_c_werror_flag" ||
6510          test ! -s conftest.err
6511        } && test -s conftest.$ac_objext; then
6512   ac_cv_header_stdc=yes
6513 else
6514   echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6516
6517         ac_cv_header_stdc=no
6518 fi
6519
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521
6522 if test $ac_cv_header_stdc = yes; then
6523   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524   cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h.  */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h.  */
6530 #include <string.h>
6531
6532 _ACEOF
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534   $EGREP "memchr" >/dev/null 2>&1; then
6535   :
6536 else
6537   ac_cv_header_stdc=no
6538 fi
6539 rm -f conftest*
6540
6541 fi
6542
6543 if test $ac_cv_header_stdc = yes; then
6544   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545   cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h.  */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h.  */
6551 #include <stdlib.h>
6552
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555   $EGREP "free" >/dev/null 2>&1; then
6556   :
6557 else
6558   ac_cv_header_stdc=no
6559 fi
6560 rm -f conftest*
6561
6562 fi
6563
6564 if test $ac_cv_header_stdc = yes; then
6565   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566   if test "$cross_compiling" = yes; then
6567   :
6568 else
6569   cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h.  */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h.  */
6575 #include <ctype.h>
6576 #include <stdlib.h>
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 #else
6581 # define ISLOWER(c) \
6582                    (('a' <= (c) && (c) <= 'i') \
6583                      || ('j' <= (c) && (c) <= 'r') \
6584                      || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6586 #endif
6587
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6589 int
6590 main ()
6591 {
6592   int i;
6593   for (i = 0; i < 256; i++)
6594     if (XOR (islower (i), ISLOWER (i))
6595         || toupper (i) != TOUPPER (i))
6596       return 2;
6597   return 0;
6598 }
6599 _ACEOF
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6602 case "(($ac_try" in
6603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604   *) ac_try_echo=$ac_try;;
6605 esac
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607   (eval "$ac_link") 2>&5
6608   ac_status=$?
6609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6611   { (case "(($ac_try" in
6612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613   *) ac_try_echo=$ac_try;;
6614 esac
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616   (eval "$ac_try") 2>&5
6617   ac_status=$?
6618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619   (exit $ac_status); }; }; then
6620   :
6621 else
6622   echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6625
6626 ( exit $ac_status )
6627 ac_cv_header_stdc=no
6628 fi
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6630 fi
6631
6632
6633 fi
6634 fi
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6638
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6641 _ACEOF
6642
6643 fi
6644
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656                   inttypes.h stdint.h unistd.h
6657 do
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662   echo $ECHO_N "(cached) $ECHO_C" >&6
6663 else
6664   cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h.  */
6666 _ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h.  */
6670 $ac_includes_default
6671
6672 #include <$ac_header>
6673 _ACEOF
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6676 case "(($ac_try" in
6677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678   *) ac_try_echo=$ac_try;;
6679 esac
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681   (eval "$ac_compile") 2>conftest.er1
6682   ac_status=$?
6683   grep -v '^ *+' conftest.er1 >conftest.err
6684   rm -f conftest.er1
6685   cat conftest.err >&5
6686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687   (exit $ac_status); } && {
6688          test -z "$ac_c_werror_flag" ||
6689          test ! -s conftest.err
6690        } && test -s conftest.$ac_objext; then
6691   eval "$as_ac_Header=yes"
6692 else
6693   echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6695
6696         eval "$as_ac_Header=no"
6697 fi
6698
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6700 fi
6701 ac_res=`eval echo '${'$as_ac_Header'}'`
6702                { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705   cat >>confdefs.h <<_ACEOF
6706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707 _ACEOF
6708
6709 fi
6710
6711 done
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823 for ac_header in \
6824         AudioUnit/AudioUnit.h \
6825         Carbon/Carbon.h \
6826         CoreAudio/CoreAudio.h \
6827         DiskArbitration/DiskArbitration.h \
6828         IOKit/IOKitLib.h \
6829         alsa/asoundlib.h \
6830         arpa/inet.h \
6831         arpa/nameser.h \
6832         asm/types.h \
6833         capi20.h \
6834         cups/cups.h \
6835         curses.h \
6836         direct.h \
6837         dlfcn.h \
6838         elf.h \
6839         float.h \
6840         fontconfig/fontconfig.h \
6841         getopt.h \
6842         ieeefp.h \
6843         io.h \
6844         jack/jack.h \
6845         jpeglib.h \
6846         lber.h \
6847         lcms.h \
6848         lcms/lcms.h \
6849         ldap.h \
6850         libaudioio.h \
6851         link.h \
6852         linux/cdrom.h \
6853         linux/compiler.h \
6854         linux/hdreg.h \
6855         linux/input.h \
6856         linux/ioctl.h \
6857         linux/joystick.h \
6858         linux/major.h \
6859         linux/param.h \
6860         linux/serial.h \
6861         linux/ucdrom.h \
6862         mach/mach.h \
6863         mach/machine.h \
6864         machine/cpu.h \
6865         machine/limits.h \
6866         machine/soundcard.h \
6867         mntent.h \
6868         ncurses.h \
6869         netdb.h \
6870         netinet/in.h \
6871         netinet/in_systm.h \
6872         netinet/tcp.h \
6873         netinet/tcp_fsm.h \
6874         openssl/err.h \
6875         openssl/ssl.h \
6876         poll.h \
6877         process.h \
6878         pthread.h \
6879         pwd.h \
6880         regex.h \
6881         sched.h \
6882         scsi/scsi.h \
6883         scsi/scsi_ioctl.h \
6884         scsi/sg.h \
6885         soundcard.h \
6886         stdint.h \
6887         strings.h \
6888         sys/asoundlib.h \
6889         sys/cdio.h \
6890         sys/elf32.h \
6891         sys/epoll.h \
6892         sys/errno.h \
6893         sys/event.h \
6894         sys/exec_elf.h \
6895         sys/filio.h \
6896         sys/ioctl.h \
6897         sys/ipc.h \
6898         sys/limits.h \
6899         sys/link.h \
6900         sys/lwp.h \
6901         sys/mman.h \
6902         sys/modem.h \
6903         sys/msg.h \
6904         sys/mtio.h \
6905         sys/param.h \
6906         sys/poll.h \
6907         sys/prctl.h \
6908         sys/ptrace.h \
6909         sys/reg.h \
6910         sys/resource.h \
6911         sys/scsiio.h \
6912         sys/shm.h \
6913         sys/signal.h \
6914         sys/socket.h \
6915         sys/sockio.h \
6916         sys/soundcard.h \
6917         sys/statvfs.h \
6918         sys/strtio.h \
6919         sys/syscall.h \
6920         sys/sysctl.h \
6921         sys/time.h \
6922         sys/times.h \
6923         sys/uio.h \
6924         sys/un.h \
6925         sys/vm86.h \
6926         sys/wait.h \
6927         syscall.h \
6928         termios.h \
6929         unicode/ubidi.h \
6930         unistd.h \
6931         utime.h \
6932         valgrind/memcheck.h
6933
6934 do
6935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6937   { echo "$as_me:$LINENO: checking for $ac_header" >&5
6938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940   echo $ECHO_N "(cached) $ECHO_C" >&6
6941 fi
6942 ac_res=`eval echo '${'$as_ac_Header'}'`
6943                { echo "$as_me:$LINENO: result: $ac_res" >&5
6944 echo "${ECHO_T}$ac_res" >&6; }
6945 else
6946   # Is the header compilable?
6947 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6948 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6949 cat >conftest.$ac_ext <<_ACEOF
6950 /* confdefs.h.  */
6951 _ACEOF
6952 cat confdefs.h >>conftest.$ac_ext
6953 cat >>conftest.$ac_ext <<_ACEOF
6954 /* end confdefs.h.  */
6955 $ac_includes_default
6956 #include <$ac_header>
6957 _ACEOF
6958 rm -f conftest.$ac_objext
6959 if { (ac_try="$ac_compile"
6960 case "(($ac_try" in
6961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6962   *) ac_try_echo=$ac_try;;
6963 esac
6964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6965   (eval "$ac_compile") 2>conftest.er1
6966   ac_status=$?
6967   grep -v '^ *+' conftest.er1 >conftest.err
6968   rm -f conftest.er1
6969   cat conftest.err >&5
6970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971   (exit $ac_status); } && {
6972          test -z "$ac_c_werror_flag" ||
6973          test ! -s conftest.err
6974        } && test -s conftest.$ac_objext; then
6975   ac_header_compiler=yes
6976 else
6977   echo "$as_me: failed program was:" >&5
6978 sed 's/^/| /' conftest.$ac_ext >&5
6979
6980         ac_header_compiler=no
6981 fi
6982
6983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6985 echo "${ECHO_T}$ac_header_compiler" >&6; }
6986
6987 # Is the header present?
6988 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6989 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6990 cat >conftest.$ac_ext <<_ACEOF
6991 /* confdefs.h.  */
6992 _ACEOF
6993 cat confdefs.h >>conftest.$ac_ext
6994 cat >>conftest.$ac_ext <<_ACEOF
6995 /* end confdefs.h.  */
6996 #include <$ac_header>
6997 _ACEOF
6998 if { (ac_try="$ac_cpp conftest.$ac_ext"
6999 case "(($ac_try" in
7000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001   *) ac_try_echo=$ac_try;;
7002 esac
7003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7004   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7005   ac_status=$?
7006   grep -v '^ *+' conftest.er1 >conftest.err
7007   rm -f conftest.er1
7008   cat conftest.err >&5
7009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7010   (exit $ac_status); } >/dev/null && {
7011          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7012          test ! -s conftest.err
7013        }; then
7014   ac_header_preproc=yes
7015 else
7016   echo "$as_me: failed program was:" >&5
7017 sed 's/^/| /' conftest.$ac_ext >&5
7018
7019   ac_header_preproc=no
7020 fi
7021
7022 rm -f conftest.err conftest.$ac_ext
7023 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7024 echo "${ECHO_T}$ac_header_preproc" >&6; }
7025
7026 # So?  What about this header?
7027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7028   yes:no: )
7029     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7031     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7033     ac_header_preproc=yes
7034     ;;
7035   no:yes:* )
7036     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7038     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7039 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7040     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7042     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7043 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7044     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7046     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7048     ( cat <<\_ASBOX
7049 ## ------------------------------------ ##
7050 ## Report this to wine-devel@winehq.org ##
7051 ## ------------------------------------ ##
7052 _ASBOX
7053      ) | sed "s/^/$as_me: WARNING:     /" >&2
7054     ;;
7055 esac
7056 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7059   echo $ECHO_N "(cached) $ECHO_C" >&6
7060 else
7061   eval "$as_ac_Header=\$ac_header_preproc"
7062 fi
7063 ac_res=`eval echo '${'$as_ac_Header'}'`
7064                { echo "$as_me:$LINENO: result: $ac_res" >&5
7065 echo "${ECHO_T}$ac_res" >&6; }
7066
7067 fi
7068 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7069   cat >>confdefs.h <<_ACEOF
7070 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7071 _ACEOF
7072
7073 fi
7074
7075 done
7076
7077 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7078 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7079 if test "${ac_cv_header_stat_broken+set}" = set; then
7080   echo $ECHO_N "(cached) $ECHO_C" >&6
7081 else
7082   cat >conftest.$ac_ext <<_ACEOF
7083 /* confdefs.h.  */
7084 _ACEOF
7085 cat confdefs.h >>conftest.$ac_ext
7086 cat >>conftest.$ac_ext <<_ACEOF
7087 /* end confdefs.h.  */
7088 #include <sys/types.h>
7089 #include <sys/stat.h>
7090
7091 #if defined S_ISBLK && defined S_IFDIR
7092 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7093 #endif
7094
7095 #if defined S_ISBLK && defined S_IFCHR
7096 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7097 #endif
7098
7099 #if defined S_ISLNK && defined S_IFREG
7100 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7101 #endif
7102
7103 #if defined S_ISSOCK && defined S_IFREG
7104 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7105 #endif
7106
7107 _ACEOF
7108 rm -f conftest.$ac_objext
7109 if { (ac_try="$ac_compile"
7110 case "(($ac_try" in
7111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7112   *) ac_try_echo=$ac_try;;
7113 esac
7114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7115   (eval "$ac_compile") 2>conftest.er1
7116   ac_status=$?
7117   grep -v '^ *+' conftest.er1 >conftest.err
7118   rm -f conftest.er1
7119   cat conftest.err >&5
7120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121   (exit $ac_status); } && {
7122          test -z "$ac_c_werror_flag" ||
7123          test ! -s conftest.err
7124        } && test -s conftest.$ac_objext; then
7125   ac_cv_header_stat_broken=no
7126 else
7127   echo "$as_me: failed program was:" >&5
7128 sed 's/^/| /' conftest.$ac_ext >&5
7129
7130         ac_cv_header_stat_broken=yes
7131 fi
7132
7133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7134 fi
7135 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7136 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7137 if test $ac_cv_header_stat_broken = yes; then
7138
7139 cat >>confdefs.h <<\_ACEOF
7140 #define STAT_MACROS_BROKEN 1
7141 _ACEOF
7142
7143 fi
7144
7145
7146
7147
7148
7149
7150
7151 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7152 do
7153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7154 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7156 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7157   echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159   cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h.  */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h.  */
7165 #include <sys/types.h>
7166      #if HAVE_SYS_PARAM_H
7167      # include <sys/param.h>
7168      #endif
7169
7170 #include <$ac_header>
7171 _ACEOF
7172 rm -f conftest.$ac_objext
7173 if { (ac_try="$ac_compile"
7174 case "(($ac_try" in
7175   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7176   *) ac_try_echo=$ac_try;;
7177 esac
7178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7179   (eval "$ac_compile") 2>conftest.er1
7180   ac_status=$?
7181   grep -v '^ *+' conftest.er1 >conftest.err
7182   rm -f conftest.er1
7183   cat conftest.err >&5
7184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185   (exit $ac_status); } && {
7186          test -z "$ac_c_werror_flag" ||
7187          test ! -s conftest.err
7188        } && test -s conftest.$ac_objext; then
7189   eval "$as_ac_Header=yes"
7190 else
7191   echo "$as_me: failed program was:" >&5
7192 sed 's/^/| /' conftest.$ac_ext >&5
7193
7194         eval "$as_ac_Header=no"
7195 fi
7196
7197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7198 fi
7199 ac_res=`eval echo '${'$as_ac_Header'}'`
7200                { echo "$as_me:$LINENO: result: $ac_res" >&5
7201 echo "${ECHO_T}$ac_res" >&6; }
7202 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7203   cat >>confdefs.h <<_ACEOF
7204 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7205 _ACEOF
7206
7207 fi
7208
7209 done
7210
7211
7212
7213
7214
7215
7216
7217
7218 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7219 do
7220 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7221 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7223 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7224   echo $ECHO_N "(cached) $ECHO_C" >&6
7225 else
7226   cat >conftest.$ac_ext <<_ACEOF
7227 /* confdefs.h.  */
7228 _ACEOF
7229 cat confdefs.h >>conftest.$ac_ext
7230 cat >>conftest.$ac_ext <<_ACEOF
7231 /* end confdefs.h.  */
7232 #include <sys/types.h>
7233      #if HAVE_SYS_SOCKET_H
7234      # include <sys/socket.h>
7235      #endif
7236
7237 #include <$ac_header>
7238 _ACEOF
7239 rm -f conftest.$ac_objext
7240 if { (ac_try="$ac_compile"
7241 case "(($ac_try" in
7242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7243   *) ac_try_echo=$ac_try;;
7244 esac
7245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7246   (eval "$ac_compile") 2>conftest.er1
7247   ac_status=$?
7248   grep -v '^ *+' conftest.er1 >conftest.err
7249   rm -f conftest.er1
7250   cat conftest.err >&5
7251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7252   (exit $ac_status); } && {
7253          test -z "$ac_c_werror_flag" ||
7254          test ! -s conftest.err
7255        } && test -s conftest.$ac_objext; then
7256   eval "$as_ac_Header=yes"
7257 else
7258   echo "$as_me: failed program was:" >&5
7259 sed 's/^/| /' conftest.$ac_ext >&5
7260
7261         eval "$as_ac_Header=no"
7262 fi
7263
7264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7265 fi
7266 ac_res=`eval echo '${'$as_ac_Header'}'`
7267                { echo "$as_me:$LINENO: result: $ac_res" >&5
7268 echo "${ECHO_T}$ac_res" >&6; }
7269 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7270   cat >>confdefs.h <<_ACEOF
7271 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7272 _ACEOF
7273
7274 fi
7275
7276 done
7277
7278
7279
7280 for ac_header in linux/ipx.h
7281 do
7282 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7283 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7285 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7286   echo $ECHO_N "(cached) $ECHO_C" >&6
7287 else
7288   cat >conftest.$ac_ext <<_ACEOF
7289 /* confdefs.h.  */
7290 _ACEOF
7291 cat confdefs.h >>conftest.$ac_ext
7292 cat >>conftest.$ac_ext <<_ACEOF
7293 /* end confdefs.h.  */
7294 #include <sys/types.h>
7295      #ifdef HAVE_ASM_TYPES_H
7296      # include <asm/types.h>
7297      #endif
7298      #if HAVE_SYS_SOCKET_H
7299      # include <sys/socket.h>
7300      #endif
7301
7302 #include <$ac_header>
7303 _ACEOF
7304 rm -f conftest.$ac_objext
7305 if { (ac_try="$ac_compile"
7306 case "(($ac_try" in
7307   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7308   *) ac_try_echo=$ac_try;;
7309 esac
7310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7311   (eval "$ac_compile") 2>conftest.er1
7312   ac_status=$?
7313   grep -v '^ *+' conftest.er1 >conftest.err
7314   rm -f conftest.er1
7315   cat conftest.err >&5
7316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317   (exit $ac_status); } && {
7318          test -z "$ac_c_werror_flag" ||
7319          test ! -s conftest.err
7320        } && test -s conftest.$ac_objext; then
7321   eval "$as_ac_Header=yes"
7322 else
7323   echo "$as_me: failed program was:" >&5
7324 sed 's/^/| /' conftest.$ac_ext >&5
7325
7326         eval "$as_ac_Header=no"
7327 fi
7328
7329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7330 fi
7331 ac_res=`eval echo '${'$as_ac_Header'}'`
7332                { echo "$as_me:$LINENO: result: $ac_res" >&5
7333 echo "${ECHO_T}$ac_res" >&6; }
7334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7335   cat >>confdefs.h <<_ACEOF
7336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7337 _ACEOF
7338
7339 fi
7340
7341 done
7342
7343
7344
7345 for ac_header in resolv.h
7346 do
7347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7351   echo $ECHO_N "(cached) $ECHO_C" >&6
7352 else
7353   cat >conftest.$ac_ext <<_ACEOF
7354 /* confdefs.h.  */
7355 _ACEOF
7356 cat confdefs.h >>conftest.$ac_ext
7357 cat >>conftest.$ac_ext <<_ACEOF
7358 /* end confdefs.h.  */
7359 #include <sys/types.h>
7360      #if HAVE_SYS_SOCKET_H
7361      # include <sys/socket.h>
7362      #endif
7363      #if HAVE_NETINET_IN_H
7364      # include <netinet/in.h>
7365      #endif
7366      #if HAVE_ARPA_NAMESER_H
7367      # include <arpa/nameser.h>
7368      #endif
7369
7370 #include <$ac_header>
7371 _ACEOF
7372 rm -f conftest.$ac_objext
7373 if { (ac_try="$ac_compile"
7374 case "(($ac_try" in
7375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7376   *) ac_try_echo=$ac_try;;
7377 esac
7378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7379   (eval "$ac_compile") 2>conftest.er1
7380   ac_status=$?
7381   grep -v '^ *+' conftest.er1 >conftest.err
7382   rm -f conftest.er1
7383   cat conftest.err >&5
7384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7385   (exit $ac_status); } && {
7386          test -z "$ac_c_werror_flag" ||
7387          test ! -s conftest.err
7388        } && test -s conftest.$ac_objext; then
7389   eval "$as_ac_Header=yes"
7390 else
7391   echo "$as_me: failed program was:" >&5
7392 sed 's/^/| /' conftest.$ac_ext >&5
7393
7394         eval "$as_ac_Header=no"
7395 fi
7396
7397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7398 fi
7399 ac_res=`eval echo '${'$as_ac_Header'}'`
7400                { echo "$as_me:$LINENO: result: $ac_res" >&5
7401 echo "${ECHO_T}$ac_res" >&6; }
7402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7403   cat >>confdefs.h <<_ACEOF
7404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7405 _ACEOF
7406
7407 fi
7408
7409 done
7410
7411
7412
7413 for ac_header in ucontext.h
7414 do
7415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7419   echo $ECHO_N "(cached) $ECHO_C" >&6
7420 else
7421   cat >conftest.$ac_ext <<_ACEOF
7422 /* confdefs.h.  */
7423 _ACEOF
7424 cat confdefs.h >>conftest.$ac_ext
7425 cat >>conftest.$ac_ext <<_ACEOF
7426 /* end confdefs.h.  */
7427 #include <signal.h>
7428
7429 #include <$ac_header>
7430 _ACEOF
7431 rm -f conftest.$ac_objext
7432 if { (ac_try="$ac_compile"
7433 case "(($ac_try" in
7434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7435   *) ac_try_echo=$ac_try;;
7436 esac
7437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7438   (eval "$ac_compile") 2>conftest.er1
7439   ac_status=$?
7440   grep -v '^ *+' conftest.er1 >conftest.err
7441   rm -f conftest.er1
7442   cat conftest.err >&5
7443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444   (exit $ac_status); } && {
7445          test -z "$ac_c_werror_flag" ||
7446          test ! -s conftest.err
7447        } && test -s conftest.$ac_objext; then
7448   eval "$as_ac_Header=yes"
7449 else
7450   echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7452
7453         eval "$as_ac_Header=no"
7454 fi
7455
7456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7457 fi
7458 ac_res=`eval echo '${'$as_ac_Header'}'`
7459                { echo "$as_me:$LINENO: result: $ac_res" >&5
7460 echo "${ECHO_T}$ac_res" >&6; }
7461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7462   cat >>confdefs.h <<_ACEOF
7463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7464 _ACEOF
7465
7466 fi
7467
7468 done
7469
7470
7471
7472 for ac_header in pthread_np.h
7473 do
7474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7477 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7478   echo $ECHO_N "(cached) $ECHO_C" >&6
7479 else
7480   cat >conftest.$ac_ext <<_ACEOF
7481 /* confdefs.h.  */
7482 _ACEOF
7483 cat confdefs.h >>conftest.$ac_ext
7484 cat >>conftest.$ac_ext <<_ACEOF
7485 /* end confdefs.h.  */
7486 #ifdef HAVE_PTHREAD_H
7487 #include <pthread.h>
7488 #endif
7489
7490 #include <$ac_header>
7491 _ACEOF
7492 rm -f conftest.$ac_objext
7493 if { (ac_try="$ac_compile"
7494 case "(($ac_try" in
7495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7496   *) ac_try_echo=$ac_try;;
7497 esac
7498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7499   (eval "$ac_compile") 2>conftest.er1
7500   ac_status=$?
7501   grep -v '^ *+' conftest.er1 >conftest.err
7502   rm -f conftest.er1
7503   cat conftest.err >&5
7504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505   (exit $ac_status); } && {
7506          test -z "$ac_c_werror_flag" ||
7507          test ! -s conftest.err
7508        } && test -s conftest.$ac_objext; then
7509   eval "$as_ac_Header=yes"
7510 else
7511   echo "$as_me: failed program was:" >&5
7512 sed 's/^/| /' conftest.$ac_ext >&5
7513
7514         eval "$as_ac_Header=no"
7515 fi
7516
7517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7518 fi
7519 ac_res=`eval echo '${'$as_ac_Header'}'`
7520                { echo "$as_me:$LINENO: result: $ac_res" >&5
7521 echo "${ECHO_T}$ac_res" >&6; }
7522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7523   cat >>confdefs.h <<_ACEOF
7524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7525 _ACEOF
7526
7527 fi
7528
7529 done
7530
7531
7532
7533 for ac_header in linux/videodev.h
7534 do
7535 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7536 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7537 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7538 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7539   echo $ECHO_N "(cached) $ECHO_C" >&6
7540 else
7541   cat >conftest.$ac_ext <<_ACEOF
7542 /* confdefs.h.  */
7543 _ACEOF
7544 cat confdefs.h >>conftest.$ac_ext
7545 cat >>conftest.$ac_ext <<_ACEOF
7546 /* end confdefs.h.  */
7547 #ifdef HAVE_SYS_TIME_H
7548 #include <sys/time.h>
7549 #endif
7550 #include <sys/types.h>
7551 #ifdef HAVE_ASM_TYPES_H
7552 #include <asm/types.h>
7553 #endif
7554
7555 #include <$ac_header>
7556 _ACEOF
7557 rm -f conftest.$ac_objext
7558 if { (ac_try="$ac_compile"
7559 case "(($ac_try" in
7560   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7561   *) ac_try_echo=$ac_try;;
7562 esac
7563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7564   (eval "$ac_compile") 2>conftest.er1
7565   ac_status=$?
7566   grep -v '^ *+' conftest.er1 >conftest.err
7567   rm -f conftest.er1
7568   cat conftest.err >&5
7569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570   (exit $ac_status); } && {
7571          test -z "$ac_c_werror_flag" ||
7572          test ! -s conftest.err
7573        } && test -s conftest.$ac_objext; then
7574   eval "$as_ac_Header=yes"
7575 else
7576   echo "$as_me: failed program was:" >&5
7577 sed 's/^/| /' conftest.$ac_ext >&5
7578
7579         eval "$as_ac_Header=no"
7580 fi
7581
7582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7583 fi
7584 ac_res=`eval echo '${'$as_ac_Header'}'`
7585                { echo "$as_me:$LINENO: result: $ac_res" >&5
7586 echo "${ECHO_T}$ac_res" >&6; }
7587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7588   cat >>confdefs.h <<_ACEOF
7589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7590 _ACEOF
7591
7592 fi
7593
7594 done
7595
7596
7597
7598 for ac_header in linux/capi.h
7599 do
7600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7601 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7603 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7604   echo $ECHO_N "(cached) $ECHO_C" >&6
7605 else
7606   cat >conftest.$ac_ext <<_ACEOF
7607 /* confdefs.h.  */
7608 _ACEOF
7609 cat confdefs.h >>conftest.$ac_ext
7610 cat >>conftest.$ac_ext <<_ACEOF
7611 /* end confdefs.h.  */
7612 #define __user
7613
7614 #include <$ac_header>
7615 _ACEOF
7616 rm -f conftest.$ac_objext
7617 if { (ac_try="$ac_compile"
7618 case "(($ac_try" in
7619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7620   *) ac_try_echo=$ac_try;;
7621 esac
7622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7623   (eval "$ac_compile") 2>conftest.er1
7624   ac_status=$?
7625   grep -v '^ *+' conftest.er1 >conftest.err
7626   rm -f conftest.er1
7627   cat conftest.err >&5
7628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629   (exit $ac_status); } && {
7630          test -z "$ac_c_werror_flag" ||
7631          test ! -s conftest.err
7632        } && test -s conftest.$ac_objext; then
7633   eval "$as_ac_Header=yes"
7634 else
7635   echo "$as_me: failed program was:" >&5
7636 sed 's/^/| /' conftest.$ac_ext >&5
7637
7638         eval "$as_ac_Header=no"
7639 fi
7640
7641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7642 fi
7643 ac_res=`eval echo '${'$as_ac_Header'}'`
7644                { echo "$as_me:$LINENO: result: $ac_res" >&5
7645 echo "${ECHO_T}$ac_res" >&6; }
7646 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7647   cat >>confdefs.h <<_ACEOF
7648 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7649 _ACEOF
7650
7651 fi
7652
7653 done
7654
7655
7656
7657 if test "$have_x" = "yes"
7658 then
7659     XLIB="-lXext -lX11"
7660     ac_save_CPPFLAGS="$CPPFLAGS"
7661     CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674 for ac_header in X11/Xlib.h \
7675                       X11/XKBlib.h \
7676                       X11/Xutil.h \
7677                       X11/Xcursor/Xcursor.h \
7678                       X11/extensions/shape.h \
7679                       X11/extensions/XInput.h \
7680                       X11/extensions/XShm.h \
7681                       X11/extensions/Xinerama.h \
7682                       X11/extensions/Xrandr.h \
7683                       X11/extensions/Xrender.h \
7684                       X11/extensions/xf86vmode.h
7685 do
7686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7690   echo $ECHO_N "(cached) $ECHO_C" >&6
7691 else
7692   cat >conftest.$ac_ext <<_ACEOF
7693 /* confdefs.h.  */
7694 _ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h.  */
7698 #ifdef HAVE_X11_XLIB_H
7699 # include <X11/Xlib.h>
7700 #endif
7701 #ifdef HAVE_X11_XUTIL_H
7702 # include <X11/Xutil.h>
7703 #endif
7704
7705 #include <$ac_header>
7706 _ACEOF
7707 rm -f conftest.$ac_objext
7708 if { (ac_try="$ac_compile"
7709 case "(($ac_try" in
7710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7711   *) ac_try_echo=$ac_try;;
7712 esac
7713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7714   (eval "$ac_compile") 2>conftest.er1
7715   ac_status=$?
7716   grep -v '^ *+' conftest.er1 >conftest.err
7717   rm -f conftest.er1
7718   cat conftest.err >&5
7719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720   (exit $ac_status); } && {
7721          test -z "$ac_c_werror_flag" ||
7722          test ! -s conftest.err
7723        } && test -s conftest.$ac_objext; then
7724   eval "$as_ac_Header=yes"
7725 else
7726   echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.$ac_ext >&5
7728
7729         eval "$as_ac_Header=no"
7730 fi
7731
7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7733 fi
7734 ac_res=`eval echo '${'$as_ac_Header'}'`
7735                { echo "$as_me:$LINENO: result: $ac_res" >&5
7736 echo "${ECHO_T}$ac_res" >&6; }
7737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7738   cat >>confdefs.h <<_ACEOF
7739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 _ACEOF
7741
7742 fi
7743
7744 done
7745
7746
7747                 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7748         then
7749               { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7750 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7751 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7752   echo $ECHO_N "(cached) $ECHO_C" >&6
7753 else
7754   ac_check_lib_save_LIBS=$LIBS
7755 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7756 cat >conftest.$ac_ext <<_ACEOF
7757 /* confdefs.h.  */
7758 _ACEOF
7759 cat confdefs.h >>conftest.$ac_ext
7760 cat >>conftest.$ac_ext <<_ACEOF
7761 /* end confdefs.h.  */
7762
7763 /* Override any GCC internal prototype to avoid an error.
7764    Use char because int might match the return type of a GCC
7765    builtin and then its argument prototype would still apply.  */
7766 #ifdef __cplusplus
7767 extern "C"
7768 #endif
7769 char XkbQueryExtension ();
7770 int
7771 main ()
7772 {
7773 return XkbQueryExtension ();
7774   ;
7775   return 0;
7776 }
7777 _ACEOF
7778 rm -f conftest.$ac_objext conftest$ac_exeext
7779 if { (ac_try="$ac_link"
7780 case "(($ac_try" in
7781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7782   *) ac_try_echo=$ac_try;;
7783 esac
7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7785   (eval "$ac_link") 2>conftest.er1
7786   ac_status=$?
7787   grep -v '^ *+' conftest.er1 >conftest.err
7788   rm -f conftest.er1
7789   cat conftest.err >&5
7790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791   (exit $ac_status); } && {
7792          test -z "$ac_c_werror_flag" ||
7793          test ! -s conftest.err
7794        } && test -s conftest$ac_exeext &&
7795        $as_test_x conftest$ac_exeext; then
7796   ac_cv_lib_X11_XkbQueryExtension=yes
7797 else
7798   echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.$ac_ext >&5
7800
7801         ac_cv_lib_X11_XkbQueryExtension=no
7802 fi
7803
7804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7805       conftest$ac_exeext conftest.$ac_ext
7806 LIBS=$ac_check_lib_save_LIBS
7807 fi
7808 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7809 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7810 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7811
7812 cat >>confdefs.h <<\_ACEOF
7813 #define HAVE_XKB 1
7814 _ACEOF
7815
7816 fi
7817
7818         fi
7819
7820                 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7821         then
7822               { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7823 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7824 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7825   echo $ECHO_N "(cached) $ECHO_C" >&6
7826 else
7827   ac_check_lib_save_LIBS=$LIBS
7828 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.$ac_ext <<_ACEOF
7830 /* confdefs.h.  */
7831 _ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h.  */
7835
7836 /* Override any GCC internal prototype to avoid an error.
7837    Use char because int might match the return type of a GCC
7838    builtin and then its argument prototype would still apply.  */
7839 #ifdef __cplusplus
7840 extern "C"
7841 #endif
7842 char XShmQueryExtension ();
7843 int
7844 main ()
7845 {
7846 return XShmQueryExtension ();
7847   ;
7848   return 0;
7849 }
7850 _ACEOF
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (ac_try="$ac_link"
7853 case "(($ac_try" in
7854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7855   *) ac_try_echo=$ac_try;;
7856 esac
7857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7858   (eval "$ac_link") 2>conftest.er1
7859   ac_status=$?
7860   grep -v '^ *+' conftest.er1 >conftest.err
7861   rm -f conftest.er1
7862   cat conftest.err >&5
7863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864   (exit $ac_status); } && {
7865          test -z "$ac_c_werror_flag" ||
7866          test ! -s conftest.err
7867        } && test -s conftest$ac_exeext &&
7868        $as_test_x conftest$ac_exeext; then
7869   ac_cv_lib_Xext_XShmQueryExtension=yes
7870 else
7871   echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7873
7874         ac_cv_lib_Xext_XShmQueryExtension=no
7875 fi
7876
7877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7878       conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7880 fi
7881 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7882 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7883 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7884
7885 cat >>confdefs.h <<\_ACEOF
7886 #define HAVE_LIBXXSHM 1
7887 _ACEOF
7888
7889 fi
7890
7891         fi
7892
7893                 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7894         then
7895               { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7896 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7897 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7898   echo $ECHO_N "(cached) $ECHO_C" >&6
7899 else
7900   ac_check_lib_save_LIBS=$LIBS
7901 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7902 cat >conftest.$ac_ext <<_ACEOF
7903 /* confdefs.h.  */
7904 _ACEOF
7905 cat confdefs.h >>conftest.$ac_ext
7906 cat >>conftest.$ac_ext <<_ACEOF
7907 /* end confdefs.h.  */
7908
7909 /* Override any GCC internal prototype to avoid an error.
7910    Use char because int might match the return type of a GCC
7911    builtin and then its argument prototype would still apply.  */
7912 #ifdef __cplusplus
7913 extern "C"
7914 #endif
7915 char XShapeQueryExtension ();
7916 int
7917 main ()
7918 {
7919 return XShapeQueryExtension ();
7920   ;
7921   return 0;
7922 }
7923 _ACEOF
7924 rm -f conftest.$ac_objext conftest$ac_exeext
7925 if { (ac_try="$ac_link"
7926 case "(($ac_try" in
7927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928   *) ac_try_echo=$ac_try;;
7929 esac
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931   (eval "$ac_link") 2>conftest.er1
7932   ac_status=$?
7933   grep -v '^ *+' conftest.er1 >conftest.err
7934   rm -f conftest.er1
7935   cat conftest.err >&5
7936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937   (exit $ac_status); } && {
7938          test -z "$ac_c_werror_flag" ||
7939          test ! -s conftest.err
7940        } && test -s conftest$ac_exeext &&
7941        $as_test_x conftest$ac_exeext; then
7942   ac_cv_lib_Xext_XShapeQueryExtension=yes
7943 else
7944   echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7946
7947         ac_cv_lib_Xext_XShapeQueryExtension=no
7948 fi
7949
7950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7951       conftest$ac_exeext conftest.$ac_ext
7952 LIBS=$ac_check_lib_save_LIBS
7953 fi
7954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7957
7958 cat >>confdefs.h <<\_ACEOF
7959 #define HAVE_LIBXSHAPE 1
7960 _ACEOF
7961
7962 fi
7963
7964         fi
7965
7966                 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7967         then
7968                 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7971   echo $ECHO_N "(cached) $ECHO_C" >&6
7972 else
7973   ac_check_lib_save_LIBS=$LIBS
7974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7975 cat >conftest.$ac_ext <<_ACEOF
7976 /* confdefs.h.  */
7977 _ACEOF
7978 cat confdefs.h >>conftest.$ac_ext
7979 cat >>conftest.$ac_ext <<_ACEOF
7980 /* end confdefs.h.  */
7981
7982 /* Override any GCC internal prototype to avoid an error.
7983    Use char because int might match the return type of a GCC
7984    builtin and then its argument prototype would still apply.  */
7985 #ifdef __cplusplus
7986 extern "C"
7987 #endif
7988 char XF86VidModeQueryExtension ();
7989 int
7990 main ()
7991 {
7992 return XF86VidModeQueryExtension ();
7993   ;
7994   return 0;
7995 }
7996 _ACEOF
7997 rm -f conftest.$ac_objext conftest$ac_exeext
7998 if { (ac_try="$ac_link"
7999 case "(($ac_try" in
8000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8001   *) ac_try_echo=$ac_try;;
8002 esac
8003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8004   (eval "$ac_link") 2>conftest.er1
8005   ac_status=$?
8006   grep -v '^ *+' conftest.er1 >conftest.err
8007   rm -f conftest.er1
8008   cat conftest.err >&5
8009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010   (exit $ac_status); } && {
8011          test -z "$ac_c_werror_flag" ||
8012          test ! -s conftest.err
8013        } && test -s conftest$ac_exeext &&
8014        $as_test_x conftest$ac_exeext; then
8015   ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8016 else
8017   echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.$ac_ext >&5
8019
8020         ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8021 fi
8022
8023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8024       conftest$ac_exeext conftest.$ac_ext
8025 LIBS=$ac_check_lib_save_LIBS
8026 fi
8027 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8028 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8029 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8030
8031 cat >>confdefs.h <<\_ACEOF
8032 #define HAVE_LIBXXF86VM 1
8033 _ACEOF
8034
8035                      X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8036
8037 fi
8038
8039         fi
8040
8041                 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8042         then
8043                 cat >conftest.$ac_ext <<_ACEOF
8044 /* confdefs.h.  */
8045 _ACEOF
8046 cat confdefs.h >>conftest.$ac_ext
8047 cat >>conftest.$ac_ext <<_ACEOF
8048 /* end confdefs.h.  */
8049 #include <X11/Xlib.h>
8050 #include <X11/extensions/Xrandr.h>
8051 int
8052 main ()
8053 {
8054 static typeof(XRRSetScreenConfigAndRate) * func;
8055   ;
8056   return 0;
8057 }
8058 _ACEOF
8059 rm -f conftest.$ac_objext
8060 if { (ac_try="$ac_compile"
8061 case "(($ac_try" in
8062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8063   *) ac_try_echo=$ac_try;;
8064 esac
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066   (eval "$ac_compile") 2>conftest.er1
8067   ac_status=$?
8068   grep -v '^ *+' conftest.er1 >conftest.err
8069   rm -f conftest.er1
8070   cat conftest.err >&5
8071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072   (exit $ac_status); } && {
8073          test -z "$ac_c_werror_flag" ||
8074          test ! -s conftest.err
8075        } && test -s conftest.$ac_objext; then
8076
8077 cat >>confdefs.h <<\_ACEOF
8078 #define HAVE_LIBXRANDR 1
8079 _ACEOF
8080
8081 else
8082   echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8084
8085
8086 fi
8087
8088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8089         fi
8090
8091                 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8092         then
8093               { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8094 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8095 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8096   echo $ECHO_N "(cached) $ECHO_C" >&6
8097 else
8098   ac_check_lib_save_LIBS=$LIBS
8099 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8100 cat >conftest.$ac_ext <<_ACEOF
8101 /* confdefs.h.  */
8102 _ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h.  */
8106
8107 /* Override any GCC internal prototype to avoid an error.
8108    Use char because int might match the return type of a GCC
8109    builtin and then its argument prototype would still apply.  */
8110 #ifdef __cplusplus
8111 extern "C"
8112 #endif
8113 char XRenderSetPictureTransform ();
8114 int
8115 main ()
8116 {
8117 return XRenderSetPictureTransform ();
8118   ;
8119   return 0;
8120 }
8121 _ACEOF
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (ac_try="$ac_link"
8124 case "(($ac_try" in
8125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8126   *) ac_try_echo=$ac_try;;
8127 esac
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129   (eval "$ac_link") 2>conftest.er1
8130   ac_status=$?
8131   grep -v '^ *+' conftest.er1 >conftest.err
8132   rm -f conftest.er1
8133   cat conftest.err >&5
8134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135   (exit $ac_status); } && {
8136          test -z "$ac_c_werror_flag" ||
8137          test ! -s conftest.err
8138        } && test -s conftest$ac_exeext &&
8139        $as_test_x conftest$ac_exeext; then
8140   ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8141 else
8142   echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8144
8145         ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8146 fi
8147
8148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8149       conftest$ac_exeext conftest.$ac_ext
8150 LIBS=$ac_check_lib_save_LIBS
8151 fi
8152 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8153 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8154 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8155
8156 cat >>confdefs.h <<\_ACEOF
8157 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8158 _ACEOF
8159
8160 fi
8161
8162         fi
8163
8164                 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8165         then
8166                 cat >conftest.$ac_ext <<_ACEOF
8167 /* confdefs.h.  */
8168 _ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h.  */
8172 #include <X11/Xlib.h>
8173 #include <X11/extensions/Xinerama.h>
8174 int
8175 main ()
8176 {
8177 static typeof(XineramaQueryScreens) * func;
8178   ;
8179   return 0;
8180 }
8181 _ACEOF
8182 rm -f conftest.$ac_objext
8183 if { (ac_try="$ac_compile"
8184 case "(($ac_try" in
8185   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186   *) ac_try_echo=$ac_try;;
8187 esac
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189   (eval "$ac_compile") 2>conftest.er1
8190   ac_status=$?
8191   grep -v '^ *+' conftest.er1 >conftest.err
8192   rm -f conftest.er1
8193   cat conftest.err >&5
8194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195   (exit $ac_status); } && {
8196          test -z "$ac_c_werror_flag" ||
8197          test ! -s conftest.err
8198        } && test -s conftest.$ac_objext; then
8199
8200 cat >>confdefs.h <<\_ACEOF
8201 #define HAVE_LIBXINERAMA 1
8202 _ACEOF
8203
8204 else
8205   echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8207
8208
8209 fi
8210
8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8212         fi
8213
8214
8215         if test "x$with_opengl" != "xno"
8216     then
8217
8218
8219
8220
8221 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8222 do
8223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8227   echo $ECHO_N "(cached) $ECHO_C" >&6
8228 else
8229   cat >conftest.$ac_ext <<_ACEOF
8230 /* confdefs.h.  */
8231 _ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h.  */
8235 #ifdef HAVE_GL_GLX_H
8236 # include <GL/glx.h>
8237 #endif
8238
8239 #include <$ac_header>
8240 _ACEOF
8241 rm -f conftest.$ac_objext
8242 if { (ac_try="$ac_compile"
8243 case "(($ac_try" in
8244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8245   *) ac_try_echo=$ac_try;;
8246 esac
8247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8248   (eval "$ac_compile") 2>conftest.er1
8249   ac_status=$?
8250   grep -v '^ *+' conftest.er1 >conftest.err
8251   rm -f conftest.er1
8252   cat conftest.err >&5
8253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254   (exit $ac_status); } && {
8255          test -z "$ac_c_werror_flag" ||
8256          test ! -s conftest.err
8257        } && test -s conftest.$ac_objext; then
8258   eval "$as_ac_Header=yes"
8259 else
8260   echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8262
8263         eval "$as_ac_Header=no"
8264 fi
8265
8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8267 fi
8268 ac_res=`eval echo '${'$as_ac_Header'}'`
8269                { echo "$as_me:$LINENO: result: $ac_res" >&5
8270 echo "${ECHO_T}$ac_res" >&6; }
8271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8272   cat >>confdefs.h <<_ACEOF
8273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8274 _ACEOF
8275
8276 fi
8277
8278 done
8279
8280         if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8281         then
8282                     { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8283 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8284 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8285   echo $ECHO_N "(cached) $ECHO_C" >&6
8286 else
8287   cat >conftest.$ac_ext <<_ACEOF
8288 /* confdefs.h.  */
8289 _ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h.  */
8293 #include <GL/gl.h>
8294 int
8295 main ()
8296 {
8297 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8298   ;
8299   return 0;
8300 }
8301 _ACEOF
8302 rm -f conftest.$ac_objext
8303 if { (ac_try="$ac_compile"
8304 case "(($ac_try" in
8305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306   *) ac_try_echo=$ac_try;;
8307 esac
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309   (eval "$ac_compile") 2>conftest.er1
8310   ac_status=$?
8311   grep -v '^ *+' conftest.er1 >conftest.err
8312   rm -f conftest.er1
8313   cat conftest.err >&5
8314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315   (exit $ac_status); } && {
8316          test -z "$ac_c_werror_flag" ||
8317          test ! -s conftest.err
8318        } && test -s conftest.$ac_objext; then
8319   wine_cv_opengl_header_version_OK="yes"
8320 else
8321   echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8323
8324         wine_cv_opengl_header_version_OK="no"
8325 fi
8326
8327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8328 fi
8329 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8330 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8331
8332             if test "$wine_cv_opengl_header_version_OK" = "yes"
8333             then
8334                                 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8335 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8336 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8337   echo $ECHO_N "(cached) $ECHO_C" >&6
8338 else
8339   ac_check_lib_save_LIBS=$LIBS
8340 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8341 cat >conftest.$ac_ext <<_ACEOF
8342 /* confdefs.h.  */
8343 _ACEOF
8344 cat confdefs.h >>conftest.$ac_ext
8345 cat >>conftest.$ac_ext <<_ACEOF
8346 /* end confdefs.h.  */
8347
8348 /* Override any GCC internal prototype to avoid an error.
8349    Use char because int might match the return type of a GCC
8350    builtin and then its argument prototype would still apply.  */
8351 #ifdef __cplusplus
8352 extern "C"
8353 #endif
8354 char glXCreateContext ();
8355 int
8356 main ()
8357 {
8358 return glXCreateContext ();
8359   ;
8360   return 0;
8361 }
8362 _ACEOF
8363 rm -f conftest.$ac_objext conftest$ac_exeext
8364 if { (ac_try="$ac_link"
8365 case "(($ac_try" in
8366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8367   *) ac_try_echo=$ac_try;;
8368 esac
8369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8370   (eval "$ac_link") 2>conftest.er1
8371   ac_status=$?
8372   grep -v '^ *+' conftest.er1 >conftest.err
8373   rm -f conftest.er1
8374   cat conftest.err >&5
8375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8376   (exit $ac_status); } && {
8377          test -z "$ac_c_werror_flag" ||
8378          test ! -s conftest.err
8379        } && test -s conftest$ac_exeext &&
8380        $as_test_x conftest$ac_exeext; then
8381   ac_cv_lib_GL_glXCreateContext=yes
8382 else
8383   echo "$as_me: failed program was:" >&5
8384 sed 's/^/| /' conftest.$ac_ext >&5
8385
8386         ac_cv_lib_GL_glXCreateContext=no
8387 fi
8388
8389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8390       conftest$ac_exeext conftest.$ac_ext
8391 LIBS=$ac_check_lib_save_LIBS
8392 fi
8393 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8394 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8395 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8396   OPENGL_LIBS="-lGL"
8397                              OPENGLFILES='$(OPENGLFILES)'
8398
8399 cat >>confdefs.h <<\_ACEOF
8400 #define HAVE_OPENGL 1
8401 _ACEOF
8402
8403
8404 fi
8405
8406
8407                                 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8408 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8409 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8410   echo $ECHO_N "(cached) $ECHO_C" >&6
8411 else
8412   ac_check_lib_save_LIBS=$LIBS
8413 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8414                  $LIBS"
8415 cat >conftest.$ac_ext <<_ACEOF
8416 /* confdefs.h.  */
8417 _ACEOF
8418 cat confdefs.h >>conftest.$ac_ext
8419 cat >>conftest.$ac_ext <<_ACEOF
8420 /* end confdefs.h.  */
8421
8422 /* Override any GCC internal prototype to avoid an error.
8423    Use char because int might match the return type of a GCC
8424    builtin and then its argument prototype would still apply.  */
8425 #ifdef __cplusplus
8426 extern "C"
8427 #endif
8428 char gluLookAt ();
8429 int
8430 main ()
8431 {
8432 return gluLookAt ();
8433   ;
8434   return 0;
8435 }
8436 _ACEOF
8437 rm -f conftest.$ac_objext conftest$ac_exeext
8438 if { (ac_try="$ac_link"
8439 case "(($ac_try" in
8440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8441   *) ac_try_echo=$ac_try;;
8442 esac
8443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8444   (eval "$ac_link") 2>conftest.er1
8445   ac_status=$?
8446   grep -v '^ *+' conftest.er1 >conftest.err
8447   rm -f conftest.er1
8448   cat conftest.err >&5
8449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8450   (exit $ac_status); } && {
8451          test -z "$ac_c_werror_flag" ||
8452          test ! -s conftest.err
8453        } && test -s conftest$ac_exeext &&
8454        $as_test_x conftest$ac_exeext; then
8455   ac_cv_lib_GLU_gluLookAt=yes
8456 else
8457   echo "$as_me: failed program was:" >&5
8458 sed 's/^/| /' conftest.$ac_ext >&5
8459
8460         ac_cv_lib_GLU_gluLookAt=no
8461 fi
8462
8463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8464       conftest$ac_exeext conftest.$ac_ext
8465 LIBS=$ac_check_lib_save_LIBS
8466 fi
8467 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8468 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8469 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8470   OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8471                              GLU32FILES='$(GLU32FILES)'
8472
8473 fi
8474
8475              fi
8476          else
8477              wine_cv_opengl_headers_found="no"
8478          fi
8479     fi
8480         NASLIBS=""
8481
8482
8483 for ac_header in audio/audiolib.h
8484 do
8485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8487   { echo "$as_me:$LINENO: checking for $ac_header" >&5
8488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8490   echo $ECHO_N "(cached) $ECHO_C" >&6
8491 fi
8492 ac_res=`eval echo '${'$as_ac_Header'}'`
8493                { echo "$as_me:$LINENO: result: $ac_res" >&5
8494 echo "${ECHO_T}$ac_res" >&6; }
8495 else
8496   # Is the header compilable?
8497 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8499 cat >conftest.$ac_ext <<_ACEOF
8500 /* confdefs.h.  */
8501 _ACEOF
8502 cat confdefs.h >>conftest.$ac_ext
8503 cat >>conftest.$ac_ext <<_ACEOF
8504 /* end confdefs.h.  */
8505 $ac_includes_default
8506 #include <$ac_header>
8507 _ACEOF
8508 rm -f conftest.$ac_objext
8509 if { (ac_try="$ac_compile"
8510 case "(($ac_try" in
8511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8512   *) ac_try_echo=$ac_try;;
8513 esac
8514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8515   (eval "$ac_compile") 2>conftest.er1
8516   ac_status=$?
8517   grep -v '^ *+' conftest.er1 >conftest.err
8518   rm -f conftest.er1
8519   cat conftest.err >&5
8520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8521   (exit $ac_status); } && {
8522          test -z "$ac_c_werror_flag" ||
8523          test ! -s conftest.err
8524        } && test -s conftest.$ac_objext; then
8525   ac_header_compiler=yes
8526 else
8527   echo "$as_me: failed program was:" >&5
8528 sed 's/^/| /' conftest.$ac_ext >&5
8529
8530         ac_header_compiler=no
8531 fi
8532
8533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8534 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8535 echo "${ECHO_T}$ac_header_compiler" >&6; }
8536
8537 # Is the header present?
8538 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8540 cat >conftest.$ac_ext <<_ACEOF
8541 /* confdefs.h.  */
8542 _ACEOF
8543 cat confdefs.h >>conftest.$ac_ext
8544 cat >>conftest.$ac_ext <<_ACEOF
8545 /* end confdefs.h.  */
8546 #include <$ac_header>
8547 _ACEOF
8548 if { (ac_try="$ac_cpp conftest.$ac_ext"
8549 case "(($ac_try" in
8550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8551   *) ac_try_echo=$ac_try;;
8552 esac
8553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8554   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8555   ac_status=$?
8556   grep -v '^ *+' conftest.er1 >conftest.err
8557   rm -f conftest.er1
8558   cat conftest.err >&5
8559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8560   (exit $ac_status); } >/dev/null && {
8561          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8562          test ! -s conftest.err
8563        }; then
8564   ac_header_preproc=yes
8565 else
8566   echo "$as_me: failed program was:" >&5
8567 sed 's/^/| /' conftest.$ac_ext >&5
8568
8569   ac_header_preproc=no
8570 fi
8571
8572 rm -f conftest.err conftest.$ac_ext
8573 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8574 echo "${ECHO_T}$ac_header_preproc" >&6; }
8575
8576 # So?  What about this header?
8577 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8578   yes:no: )
8579     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8581     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8583     ac_header_preproc=yes
8584     ;;
8585   no:yes:* )
8586     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8588     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8589 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8590     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8592     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8593 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8594     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8596     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8598     ( cat <<\_ASBOX
8599 ## ------------------------------------ ##
8600 ## Report this to wine-devel@winehq.org ##
8601 ## ------------------------------------ ##
8602 _ASBOX
8603      ) | sed "s/^/$as_me: WARNING:     /" >&2
8604     ;;
8605 esac
8606 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8609   echo $ECHO_N "(cached) $ECHO_C" >&6
8610 else
8611   eval "$as_ac_Header=\$ac_header_preproc"
8612 fi
8613 ac_res=`eval echo '${'$as_ac_Header'}'`
8614                { echo "$as_me:$LINENO: result: $ac_res" >&5
8615 echo "${ECHO_T}$ac_res" >&6; }
8616
8617 fi
8618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8619   cat >>confdefs.h <<_ACEOF
8620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8621 _ACEOF
8622
8623 for ac_header in audio/soundlib.h
8624 do
8625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8629   echo $ECHO_N "(cached) $ECHO_C" >&6
8630 else
8631   cat >conftest.$ac_ext <<_ACEOF
8632 /* confdefs.h.  */
8633 _ACEOF
8634 cat confdefs.h >>conftest.$ac_ext
8635 cat >>conftest.$ac_ext <<_ACEOF
8636 /* end confdefs.h.  */
8637 #include <audio/audiolib.h>
8638
8639 #include <$ac_header>
8640 _ACEOF
8641 rm -f conftest.$ac_objext
8642 if { (ac_try="$ac_compile"
8643 case "(($ac_try" in
8644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8645   *) ac_try_echo=$ac_try;;
8646 esac
8647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8648   (eval "$ac_compile") 2>conftest.er1
8649   ac_status=$?
8650   grep -v '^ *+' conftest.er1 >conftest.err
8651   rm -f conftest.er1
8652   cat conftest.err >&5
8653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654   (exit $ac_status); } && {
8655          test -z "$ac_c_werror_flag" ||
8656          test ! -s conftest.err
8657        } && test -s conftest.$ac_objext; then
8658   eval "$as_ac_Header=yes"
8659 else
8660   echo "$as_me: failed program was:" >&5
8661 sed 's/^/| /' conftest.$ac_ext >&5
8662
8663         eval "$as_ac_Header=no"
8664 fi
8665
8666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8667 fi
8668 ac_res=`eval echo '${'$as_ac_Header'}'`
8669                { echo "$as_me:$LINENO: result: $ac_res" >&5
8670 echo "${ECHO_T}$ac_res" >&6; }
8671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8672   cat >>confdefs.h <<_ACEOF
8673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8674 _ACEOF
8675
8676 fi
8677
8678 done
8679
8680           { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8681 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8682 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8683   echo $ECHO_N "(cached) $ECHO_C" >&6
8684 else
8685   ac_check_lib_save_LIBS=$LIBS
8686 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8687 cat >conftest.$ac_ext <<_ACEOF
8688 /* confdefs.h.  */
8689 _ACEOF
8690 cat confdefs.h >>conftest.$ac_ext
8691 cat >>conftest.$ac_ext <<_ACEOF
8692 /* end confdefs.h.  */
8693
8694 /* Override any GCC internal prototype to avoid an error.
8695    Use char because int might match the return type of a GCC
8696    builtin and then its argument prototype would still apply.  */
8697 #ifdef __cplusplus
8698 extern "C"
8699 #endif
8700 char AuCreateFlow ();
8701 int
8702 main ()
8703 {
8704 return AuCreateFlow ();
8705   ;
8706   return 0;
8707 }
8708 _ACEOF
8709 rm -f conftest.$ac_objext conftest$ac_exeext
8710 if { (ac_try="$ac_link"
8711 case "(($ac_try" in
8712   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8713   *) ac_try_echo=$ac_try;;
8714 esac
8715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8716   (eval "$ac_link") 2>conftest.er1
8717   ac_status=$?
8718   grep -v '^ *+' conftest.er1 >conftest.err
8719   rm -f conftest.er1
8720   cat conftest.err >&5
8721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8722   (exit $ac_status); } && {
8723          test -z "$ac_c_werror_flag" ||
8724          test ! -s conftest.err
8725        } && test -s conftest$ac_exeext &&
8726        $as_test_x conftest$ac_exeext; then
8727   ac_cv_lib_audio_AuCreateFlow=yes
8728 else
8729   echo "$as_me: failed program was:" >&5
8730 sed 's/^/| /' conftest.$ac_ext >&5
8731
8732         ac_cv_lib_audio_AuCreateFlow=no
8733 fi
8734
8735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8736       conftest$ac_exeext conftest.$ac_ext
8737 LIBS=$ac_check_lib_save_LIBS
8738 fi
8739 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8740 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8741 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8742
8743 cat >>confdefs.h <<\_ACEOF
8744 #define HAVE_NAS 1
8745 _ACEOF
8746
8747                         { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8748 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8749 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8750   echo $ECHO_N "(cached) $ECHO_C" >&6
8751 else
8752   ac_check_lib_save_LIBS=$LIBS
8753 LIBS="-lXau $X_LIBS $LIBS"
8754 cat >conftest.$ac_ext <<_ACEOF
8755 /* confdefs.h.  */
8756 _ACEOF
8757 cat confdefs.h >>conftest.$ac_ext
8758 cat >>conftest.$ac_ext <<_ACEOF
8759 /* end confdefs.h.  */
8760
8761 /* Override any GCC internal prototype to avoid an error.
8762    Use char because int might match the return type of a GCC
8763    builtin and then its argument prototype would still apply.  */
8764 #ifdef __cplusplus
8765 extern "C"
8766 #endif
8767 char XauGetBestAuthByAddr ();
8768 int
8769 main ()
8770 {
8771 return XauGetBestAuthByAddr ();
8772   ;
8773   return 0;
8774 }
8775 _ACEOF
8776 rm -f conftest.$ac_objext conftest$ac_exeext
8777 if { (ac_try="$ac_link"
8778 case "(($ac_try" in
8779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8780   *) ac_try_echo=$ac_try;;
8781 esac
8782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8783   (eval "$ac_link") 2>conftest.er1
8784   ac_status=$?
8785   grep -v '^ *+' conftest.er1 >conftest.err
8786   rm -f conftest.er1
8787   cat conftest.err >&5
8788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8789   (exit $ac_status); } && {
8790          test -z "$ac_c_werror_flag" ||
8791          test ! -s conftest.err
8792        } && test -s conftest$ac_exeext &&
8793        $as_test_x conftest$ac_exeext; then
8794   ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8795 else
8796   echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.$ac_ext >&5
8798
8799         ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8800 fi
8801
8802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8803       conftest$ac_exeext conftest.$ac_ext
8804 LIBS=$ac_check_lib_save_LIBS
8805 fi
8806 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8807 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8808 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8809   NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8810 else
8811   NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8812 fi
8813
8814
8815 fi
8816
8817 fi
8818
8819 done
8820
8821
8822     CPPFLAGS="$ac_save_CPPFLAGS"
8823     XFILES='$(XFILES)'
8824 else
8825     XLIB=""
8826     X_CFLAGS=""
8827     X_LIBS=""
8828 fi
8829
8830
8831 XML2LIBS=""
8832
8833 XML2INCL=""
8834
8835 XSLTLIBS=""
8836
8837 XSLTINCL=""
8838
8839 if test "$PKG_CONFIG" != "false"
8840 then
8841     ac_save_CPPFLAGS="$CPPFLAGS"
8842     ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8843     ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8844     CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8845
8846 for ac_header in libxml/parser.h
8847 do
8848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8849 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8850   { echo "$as_me:$LINENO: checking for $ac_header" >&5
8851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8852 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8853   echo $ECHO_N "(cached) $ECHO_C" >&6
8854 fi
8855 ac_res=`eval echo '${'$as_ac_Header'}'`
8856                { echo "$as_me:$LINENO: result: $ac_res" >&5
8857 echo "${ECHO_T}$ac_res" >&6; }
8858 else
8859   # Is the header compilable?
8860 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8861 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8862 cat >conftest.$ac_ext <<_ACEOF
8863 /* confdefs.h.  */
8864 _ACEOF
8865 cat confdefs.h >>conftest.$ac_ext
8866 cat >>conftest.$ac_ext <<_ACEOF
8867 /* end confdefs.h.  */
8868 $ac_includes_default
8869 #include <$ac_header>
8870 _ACEOF
8871 rm -f conftest.$ac_objext
8872 if { (ac_try="$ac_compile"
8873 case "(($ac_try" in
8874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8875   *) ac_try_echo=$ac_try;;
8876 esac
8877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8878   (eval "$ac_compile") 2>conftest.er1
8879   ac_status=$?
8880   grep -v '^ *+' conftest.er1 >conftest.err
8881   rm -f conftest.er1
8882   cat conftest.err >&5
8883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8884   (exit $ac_status); } && {
8885          test -z "$ac_c_werror_flag" ||
8886          test ! -s conftest.err
8887        } && test -s conftest.$ac_objext; then
8888   ac_header_compiler=yes
8889 else
8890   echo "$as_me: failed program was:" >&5
8891 sed 's/^/| /' conftest.$ac_ext >&5
8892
8893         ac_header_compiler=no
8894 fi
8895
8896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8897 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8898 echo "${ECHO_T}$ac_header_compiler" >&6; }
8899
8900 # Is the header present?
8901 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8902 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8903 cat >conftest.$ac_ext <<_ACEOF
8904 /* confdefs.h.  */
8905 _ACEOF
8906 cat confdefs.h >>conftest.$ac_ext
8907 cat >>conftest.$ac_ext <<_ACEOF
8908 /* end confdefs.h.  */
8909 #include <$ac_header>
8910 _ACEOF
8911 if { (ac_try="$ac_cpp conftest.$ac_ext"
8912 case "(($ac_try" in
8913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8914   *) ac_try_echo=$ac_try;;
8915 esac
8916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8917   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8918   ac_status=$?
8919   grep -v '^ *+' conftest.er1 >conftest.err
8920   rm -f conftest.er1
8921   cat conftest.err >&5
8922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923   (exit $ac_status); } >/dev/null && {
8924          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8925          test ! -s conftest.err
8926        }; then
8927   ac_header_preproc=yes
8928 else
8929   echo "$as_me: failed program was:" >&5
8930 sed 's/^/| /' conftest.$ac_ext >&5
8931
8932   ac_header_preproc=no
8933 fi
8934
8935 rm -f conftest.err conftest.$ac_ext
8936 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8937 echo "${ECHO_T}$ac_header_preproc" >&6; }
8938
8939 # So?  What about this header?
8940 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8941   yes:no: )
8942     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8944     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8945 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8946     ac_header_preproc=yes
8947     ;;
8948   no:yes:* )
8949     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8950 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8951     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8952 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8953     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8954 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8955     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8956 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8957     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8958 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8959     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8960 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8961     ( cat <<\_ASBOX
8962 ## ------------------------------------ ##
8963 ## Report this to wine-devel@winehq.org ##
8964 ## ------------------------------------ ##
8965 _ASBOX
8966      ) | sed "s/^/$as_me: WARNING:     /" >&2
8967     ;;
8968 esac
8969 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8971 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8972   echo $ECHO_N "(cached) $ECHO_C" >&6
8973 else
8974   eval "$as_ac_Header=\$ac_header_preproc"
8975 fi
8976 ac_res=`eval echo '${'$as_ac_Header'}'`
8977                { echo "$as_me:$LINENO: result: $ac_res" >&5
8978 echo "${ECHO_T}$ac_res" >&6; }
8979
8980 fi
8981 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8982   cat >>confdefs.h <<_ACEOF
8983 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8984 _ACEOF
8985  { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8986 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8987 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8988   echo $ECHO_N "(cached) $ECHO_C" >&6
8989 else
8990   ac_check_lib_save_LIBS=$LIBS
8991 LIBS="-lxml2 $ac_xml_libs $LIBS"
8992 cat >conftest.$ac_ext <<_ACEOF
8993 /* confdefs.h.  */
8994 _ACEOF
8995 cat confdefs.h >>conftest.$ac_ext
8996 cat >>conftest.$ac_ext <<_ACEOF
8997 /* end confdefs.h.  */
8998
8999 /* Override any GCC internal prototype to avoid an error.
9000    Use char because int might match the return type of a GCC
9001    builtin and then its argument prototype would still apply.  */
9002 #ifdef __cplusplus
9003 extern "C"
9004 #endif
9005 char xmlParseMemory ();
9006 int
9007 main ()
9008 {
9009 return xmlParseMemory ();
9010   ;
9011   return 0;
9012 }
9013 _ACEOF
9014 rm -f conftest.$ac_objext conftest$ac_exeext
9015 if { (ac_try="$ac_link"
9016 case "(($ac_try" in
9017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9018   *) ac_try_echo=$ac_try;;
9019 esac
9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9021   (eval "$ac_link") 2>conftest.er1
9022   ac_status=$?
9023   grep -v '^ *+' conftest.er1 >conftest.err
9024   rm -f conftest.er1
9025   cat conftest.err >&5
9026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027   (exit $ac_status); } && {
9028          test -z "$ac_c_werror_flag" ||
9029          test ! -s conftest.err
9030        } && test -s conftest$ac_exeext &&
9031        $as_test_x conftest$ac_exeext; then
9032   ac_cv_lib_xml2_xmlParseMemory=yes
9033 else
9034   echo "$as_me: failed program was:" >&5
9035 sed 's/^/| /' conftest.$ac_ext >&5
9036
9037         ac_cv_lib_xml2_xmlParseMemory=no
9038 fi
9039
9040 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9041       conftest$ac_exeext conftest.$ac_ext
9042 LIBS=$ac_check_lib_save_LIBS
9043 fi
9044 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9045 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9046 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9047
9048 cat >>confdefs.h <<\_ACEOF
9049 #define HAVE_LIBXML2 1
9050 _ACEOF
9051
9052              XML2LIBS="$ac_xml_libs"
9053              XML2INCL="$ac_xml_cflags"
9054 fi
9055
9056          { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9057 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9058 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9059   echo $ECHO_N "(cached) $ECHO_C" >&6
9060 else
9061   ac_check_lib_save_LIBS=$LIBS
9062 LIBS="-lxml2 $ac_xml_libs $LIBS"
9063 cat >conftest.$ac_ext <<_ACEOF
9064 /* confdefs.h.  */
9065 _ACEOF
9066 cat confdefs.h >>conftest.$ac_ext
9067 cat >>conftest.$ac_ext <<_ACEOF
9068 /* end confdefs.h.  */
9069
9070 /* Override any GCC internal prototype to avoid an error.
9071    Use char because int might match the return type of a GCC
9072    builtin and then its argument prototype would still apply.  */
9073 #ifdef __cplusplus
9074 extern "C"
9075 #endif
9076 char xmlReadMemory ();
9077 int
9078 main ()
9079 {
9080 return xmlReadMemory ();
9081   ;
9082   return 0;
9083 }
9084 _ACEOF
9085 rm -f conftest.$ac_objext conftest$ac_exeext
9086 if { (ac_try="$ac_link"
9087 case "(($ac_try" in
9088   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9089   *) ac_try_echo=$ac_try;;
9090 esac
9091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9092   (eval "$ac_link") 2>conftest.er1
9093   ac_status=$?
9094   grep -v '^ *+' conftest.er1 >conftest.err
9095   rm -f conftest.er1
9096   cat conftest.err >&5
9097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098   (exit $ac_status); } && {
9099          test -z "$ac_c_werror_flag" ||
9100          test ! -s conftest.err
9101        } && test -s conftest$ac_exeext &&
9102        $as_test_x conftest$ac_exeext; then
9103   ac_cv_lib_xml2_xmlReadMemory=yes
9104 else
9105   echo "$as_me: failed program was:" >&5
9106 sed 's/^/| /' conftest.$ac_ext >&5
9107
9108         ac_cv_lib_xml2_xmlReadMemory=no
9109 fi
9110
9111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9112       conftest$ac_exeext conftest.$ac_ext
9113 LIBS=$ac_check_lib_save_LIBS
9114 fi
9115 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9116 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9117 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9118
9119 cat >>confdefs.h <<\_ACEOF
9120 #define HAVE_XMLREADMEMORY 1
9121 _ACEOF
9122
9123 fi
9124
9125          { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9126 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9127 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9128   echo $ECHO_N "(cached) $ECHO_C" >&6
9129 else
9130   ac_check_lib_save_LIBS=$LIBS
9131 LIBS="-lxml2 $ac_xml_libs $LIBS"
9132 cat >conftest.$ac_ext <<_ACEOF
9133 /* confdefs.h.  */
9134 _ACEOF
9135 cat confdefs.h >>conftest.$ac_ext
9136 cat >>conftest.$ac_ext <<_ACEOF
9137 /* end confdefs.h.  */
9138
9139 /* Override any GCC internal prototype to avoid an error.
9140    Use char because int might match the return type of a GCC
9141    builtin and then its argument prototype would still apply.  */
9142 #ifdef __cplusplus
9143 extern "C"
9144 #endif
9145 char xmlNewDocPI ();
9146 int
9147 main ()
9148 {
9149 return xmlNewDocPI ();
9150   ;
9151   return 0;
9152 }
9153 _ACEOF
9154 rm -f conftest.$ac_objext conftest$ac_exeext
9155 if { (ac_try="$ac_link"
9156 case "(($ac_try" in
9157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9158   *) ac_try_echo=$ac_try;;
9159 esac
9160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9161   (eval "$ac_link") 2>conftest.er1
9162   ac_status=$?
9163   grep -v '^ *+' conftest.er1 >conftest.err
9164   rm -f conftest.er1
9165   cat conftest.err >&5
9166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9167   (exit $ac_status); } && {
9168          test -z "$ac_c_werror_flag" ||
9169          test ! -s conftest.err
9170        } && test -s conftest$ac_exeext &&
9171        $as_test_x conftest$ac_exeext; then
9172   ac_cv_lib_xml2_xmlNewDocPI=yes
9173 else
9174   echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.$ac_ext >&5
9176
9177         ac_cv_lib_xml2_xmlNewDocPI=no
9178 fi
9179
9180 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9181       conftest$ac_exeext conftest.$ac_ext
9182 LIBS=$ac_check_lib_save_LIBS
9183 fi
9184 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9185 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9186 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9187
9188 cat >>confdefs.h <<\_ACEOF
9189 #define HAVE_XMLNEWDOCPI 1
9190 _ACEOF
9191
9192 fi
9193
9194
9195 fi
9196
9197 done
9198
9199     CPPFLAGS="$ac_save_CPPFLAGS"
9200     ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9201     ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9202     CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9203
9204
9205 for ac_header in libxslt/pattern.h libxslt/transform.h
9206 do
9207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9208 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9211   echo $ECHO_N "(cached) $ECHO_C" >&6
9212 else
9213   cat >conftest.$ac_ext <<_ACEOF
9214 /* confdefs.h.  */
9215 _ACEOF
9216 cat confdefs.h >>conftest.$ac_ext
9217 cat >>conftest.$ac_ext <<_ACEOF
9218 /* end confdefs.h.  */
9219 #ifdef HAVE_LIBXSLT_PATTERN_H
9220 # include <libxslt/pattern.h>
9221 #endif
9222
9223 #include <$ac_header>
9224 _ACEOF
9225 rm -f conftest.$ac_objext
9226 if { (ac_try="$ac_compile"
9227 case "(($ac_try" in
9228   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9229   *) ac_try_echo=$ac_try;;
9230 esac
9231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9232   (eval "$ac_compile") 2>conftest.er1
9233   ac_status=$?
9234   grep -v '^ *+' conftest.er1 >conftest.err
9235   rm -f conftest.er1
9236   cat conftest.err >&5
9237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238   (exit $ac_status); } && {
9239          test -z "$ac_c_werror_flag" ||
9240          test ! -s conftest.err
9241        } && test -s conftest.$ac_objext; then
9242   eval "$as_ac_Header=yes"
9243 else
9244   echo "$as_me: failed program was:" >&5
9245 sed 's/^/| /' conftest.$ac_ext >&5
9246
9247         eval "$as_ac_Header=no"
9248 fi
9249
9250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9251 fi
9252 ac_res=`eval echo '${'$as_ac_Header'}'`
9253                { echo "$as_me:$LINENO: result: $ac_res" >&5
9254 echo "${ECHO_T}$ac_res" >&6; }
9255 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9256   cat >>confdefs.h <<_ACEOF
9257 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9258 _ACEOF
9259  { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9260 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9261 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9262   echo $ECHO_N "(cached) $ECHO_C" >&6
9263 else
9264   ac_check_lib_save_LIBS=$LIBS
9265 LIBS="-lxslt $ac_xslt_libs $LIBS"
9266 cat >conftest.$ac_ext <<_ACEOF
9267 /* confdefs.h.  */
9268 _ACEOF
9269 cat confdefs.h >>conftest.$ac_ext
9270 cat >>conftest.$ac_ext <<_ACEOF
9271 /* end confdefs.h.  */
9272
9273 /* Override any GCC internal prototype to avoid an error.
9274    Use char because int might match the return type of a GCC
9275    builtin and then its argument prototype would still apply.  */
9276 #ifdef __cplusplus
9277 extern "C"
9278 #endif
9279 char xsltCompilePattern ();
9280 int
9281 main ()
9282 {
9283 return xsltCompilePattern ();
9284   ;
9285   return 0;
9286 }
9287 _ACEOF
9288 rm -f conftest.$ac_objext conftest$ac_exeext
9289 if { (ac_try="$ac_link"
9290 case "(($ac_try" in
9291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9292   *) ac_try_echo=$ac_try;;
9293 esac
9294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9295   (eval "$ac_link") 2>conftest.er1
9296   ac_status=$?
9297   grep -v '^ *+' conftest.er1 >conftest.err
9298   rm -f conftest.er1
9299   cat conftest.err >&5
9300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301   (exit $ac_status); } && {
9302          test -z "$ac_c_werror_flag" ||
9303          test ! -s conftest.err
9304        } && test -s conftest$ac_exeext &&
9305        $as_test_x conftest$ac_exeext; then
9306   ac_cv_lib_xslt_xsltCompilePattern=yes
9307 else
9308   echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.$ac_ext >&5
9310
9311         ac_cv_lib_xslt_xsltCompilePattern=no
9312 fi
9313
9314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9315       conftest$ac_exeext conftest.$ac_ext
9316 LIBS=$ac_check_lib_save_LIBS
9317 fi
9318 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9319 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9320 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9321
9322 cat >>confdefs.h <<\_ACEOF
9323 #define HAVE_LIBXSLT 1
9324 _ACEOF
9325
9326              XSLTLIBS="$ac_xslt_libs"
9327              XSLTINCL="$ac_xslt_cflags"
9328 fi
9329
9330
9331 fi
9332
9333 done
9334
9335     CPPFLAGS="$ac_save_CPPFLAGS"
9336 fi
9337
9338 HALINCL=""
9339
9340 if test "$PKG_CONFIG" != "false"
9341 then
9342     ac_save_CPPFLAGS="$CPPFLAGS"
9343     ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9344     ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9345     CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9346
9347
9348 for ac_header in dbus/dbus.h hal/libhal.h
9349 do
9350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9352   { echo "$as_me:$LINENO: checking for $ac_header" >&5
9353 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9354 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9355   echo $ECHO_N "(cached) $ECHO_C" >&6
9356 fi
9357 ac_res=`eval echo '${'$as_ac_Header'}'`
9358                { echo "$as_me:$LINENO: result: $ac_res" >&5
9359 echo "${ECHO_T}$ac_res" >&6; }
9360 else
9361   # Is the header compilable?
9362 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9363 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9364 cat >conftest.$ac_ext <<_ACEOF
9365 /* confdefs.h.  */
9366 _ACEOF
9367 cat confdefs.h >>conftest.$ac_ext
9368 cat >>conftest.$ac_ext <<_ACEOF
9369 /* end confdefs.h.  */
9370 $ac_includes_default
9371 #include <$ac_header>
9372 _ACEOF
9373 rm -f conftest.$ac_objext
9374 if { (ac_try="$ac_compile"
9375 case "(($ac_try" in
9376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9377   *) ac_try_echo=$ac_try;;
9378 esac
9379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9380   (eval "$ac_compile") 2>conftest.er1
9381   ac_status=$?
9382   grep -v '^ *+' conftest.er1 >conftest.err
9383   rm -f conftest.er1
9384   cat conftest.err >&5
9385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9386   (exit $ac_status); } && {
9387          test -z "$ac_c_werror_flag" ||
9388          test ! -s conftest.err
9389        } && test -s conftest.$ac_objext; then
9390   ac_header_compiler=yes
9391 else
9392   echo "$as_me: failed program was:" >&5
9393 sed 's/^/| /' conftest.$ac_ext >&5
9394
9395         ac_header_compiler=no
9396 fi
9397
9398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9400 echo "${ECHO_T}$ac_header_compiler" >&6; }
9401
9402 # Is the header present?
9403 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9404 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9405 cat >conftest.$ac_ext <<_ACEOF
9406 /* confdefs.h.  */
9407 _ACEOF
9408 cat confdefs.h >>conftest.$ac_ext
9409 cat >>conftest.$ac_ext <<_ACEOF
9410 /* end confdefs.h.  */
9411 #include <$ac_header>
9412 _ACEOF
9413 if { (ac_try="$ac_cpp conftest.$ac_ext"
9414 case "(($ac_try" in
9415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9416   *) ac_try_echo=$ac_try;;
9417 esac
9418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9419   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9420   ac_status=$?
9421   grep -v '^ *+' conftest.er1 >conftest.err
9422   rm -f conftest.er1
9423   cat conftest.err >&5
9424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425   (exit $ac_status); } >/dev/null && {
9426          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9427          test ! -s conftest.err
9428        }; then
9429   ac_header_preproc=yes
9430 else
9431   echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.$ac_ext >&5
9433
9434   ac_header_preproc=no
9435 fi
9436
9437 rm -f conftest.err conftest.$ac_ext
9438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9439 echo "${ECHO_T}$ac_header_preproc" >&6; }
9440
9441 # So?  What about this header?
9442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9443   yes:no: )
9444     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9445 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9446     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9447 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9448     ac_header_preproc=yes
9449     ;;
9450   no:yes:* )
9451     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9452 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9453     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9454 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9455     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9456 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9457     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9458 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9459     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9460 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9461     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9462 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9463     ( cat <<\_ASBOX
9464 ## ------------------------------------ ##
9465 ## Report this to wine-devel@winehq.org ##
9466 ## ------------------------------------ ##
9467 _ASBOX
9468      ) | sed "s/^/$as_me: WARNING:     /" >&2
9469     ;;
9470 esac
9471 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9473 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9474   echo $ECHO_N "(cached) $ECHO_C" >&6
9475 else
9476   eval "$as_ac_Header=\$ac_header_preproc"
9477 fi
9478 ac_res=`eval echo '${'$as_ac_Header'}'`
9479                { echo "$as_me:$LINENO: result: $ac_res" >&5
9480 echo "${ECHO_T}$ac_res" >&6; }
9481
9482 fi
9483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9484   cat >>confdefs.h <<_ACEOF
9485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9486 _ACEOF
9487
9488 fi
9489
9490 done
9491
9492     if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9493     then
9494         { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9495 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9496 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9497   echo $ECHO_N "(cached) $ECHO_C" >&6
9498 else
9499   ac_check_lib_save_LIBS=$LIBS
9500 LIBS="-lhal  $LIBS"
9501 cat >conftest.$ac_ext <<_ACEOF
9502 /* confdefs.h.  */
9503 _ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h.  */
9507
9508 /* Override any GCC internal prototype to avoid an error.
9509    Use char because int might match the return type of a GCC
9510    builtin and then its argument prototype would still apply.  */
9511 #ifdef __cplusplus
9512 extern "C"
9513 #endif
9514 char libhal_ctx_new ();
9515 int
9516 main ()
9517 {
9518 return libhal_ctx_new ();
9519   ;
9520   return 0;
9521 }
9522 _ACEOF
9523 rm -f conftest.$ac_objext conftest$ac_exeext
9524 if { (ac_try="$ac_link"
9525 case "(($ac_try" in
9526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9527   *) ac_try_echo=$ac_try;;
9528 esac
9529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9530   (eval "$ac_link") 2>conftest.er1
9531   ac_status=$?
9532   grep -v '^ *+' conftest.er1 >conftest.err
9533   rm -f conftest.er1
9534   cat conftest.err >&5
9535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536   (exit $ac_status); } && {
9537          test -z "$ac_c_werror_flag" ||
9538          test ! -s conftest.err
9539        } && test -s conftest$ac_exeext &&
9540        $as_test_x conftest$ac_exeext; then
9541   ac_cv_lib_hal_libhal_ctx_new=yes
9542 else
9543   echo "$as_me: failed program was:" >&5
9544 sed 's/^/| /' conftest.$ac_ext >&5
9545
9546         ac_cv_lib_hal_libhal_ctx_new=no
9547 fi
9548
9549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9550       conftest$ac_exeext conftest.$ac_ext
9551 LIBS=$ac_check_lib_save_LIBS
9552 fi
9553 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9554 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9555 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9556   { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9557 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9558 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9559   echo $ECHO_N "(cached) $ECHO_C" >&6
9560 else
9561   ac_check_lib_save_LIBS=$LIBS
9562 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9563 cat >conftest.$ac_ext <<_ACEOF
9564 /* confdefs.h.  */
9565 _ACEOF
9566 cat confdefs.h >>conftest.$ac_ext
9567 cat >>conftest.$ac_ext <<_ACEOF
9568 /* end confdefs.h.  */
9569
9570 /* Override any GCC internal prototype to avoid an error.
9571    Use char because int might match the return type of a GCC
9572    builtin and then its argument prototype would still apply.  */
9573 #ifdef __cplusplus
9574 extern "C"
9575 #endif
9576 char dbus_connection_close ();
9577 int
9578 main ()
9579 {
9580 return dbus_connection_close ();
9581   ;
9582   return 0;
9583 }
9584 _ACEOF
9585 rm -f conftest.$ac_objext conftest$ac_exeext
9586 if { (ac_try="$ac_link"
9587 case "(($ac_try" in
9588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9589   *) ac_try_echo=$ac_try;;
9590 esac
9591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9592   (eval "$ac_link") 2>conftest.er1
9593   ac_status=$?
9594   grep -v '^ *+' conftest.er1 >conftest.err
9595   rm -f conftest.er1
9596   cat conftest.err >&5
9597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9598   (exit $ac_status); } && {
9599          test -z "$ac_c_werror_flag" ||
9600          test ! -s conftest.err
9601        } && test -s conftest$ac_exeext &&
9602        $as_test_x conftest$ac_exeext; then
9603   ac_cv_lib_dbus_1_dbus_connection_close=yes
9604 else
9605   echo "$as_me: failed program was:" >&5
9606 sed 's/^/| /' conftest.$ac_ext >&5
9607
9608         ac_cv_lib_dbus_1_dbus_connection_close=no
9609 fi
9610
9611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9612       conftest$ac_exeext conftest.$ac_ext
9613 LIBS=$ac_check_lib_save_LIBS
9614 fi
9615 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9616 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9617 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9618
9619 cat >>confdefs.h <<\_ACEOF
9620 #define HAVE_LIBHAL 1
9621 _ACEOF
9622
9623              HALINCL="$ac_hal_cflags"
9624 fi
9625
9626 fi
9627
9628     fi
9629     CPPFLAGS="$ac_save_CPPFLAGS"
9630 fi
9631
9632 CURSESLIBS=""
9633 if test "$ac_cv_header_ncurses_h" = "yes"
9634 then
9635     { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9636 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9637 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9638   echo $ECHO_N "(cached) $ECHO_C" >&6
9639 else
9640   ac_check_lib_save_LIBS=$LIBS
9641 LIBS="-lncurses  $LIBS"
9642 cat >conftest.$ac_ext <<_ACEOF
9643 /* confdefs.h.  */
9644 _ACEOF
9645 cat confdefs.h >>conftest.$ac_ext
9646 cat >>conftest.$ac_ext <<_ACEOF
9647 /* end confdefs.h.  */
9648
9649 /* Override any GCC internal prototype to avoid an error.
9650    Use char because int might match the return type of a GCC
9651    builtin and then its argument prototype would still apply.  */
9652 #ifdef __cplusplus
9653 extern "C"
9654 #endif
9655 char waddch ();
9656 int
9657 main ()
9658 {
9659 return waddch ();
9660   ;
9661   return 0;
9662 }
9663 _ACEOF
9664 rm -f conftest.$ac_objext conftest$ac_exeext
9665 if { (ac_try="$ac_link"
9666 case "(($ac_try" in
9667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9668   *) ac_try_echo=$ac_try;;
9669 esac
9670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9671   (eval "$ac_link") 2>conftest.er1
9672   ac_status=$?
9673   grep -v '^ *+' conftest.er1 >conftest.err
9674   rm -f conftest.er1
9675   cat conftest.err >&5
9676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9677   (exit $ac_status); } && {
9678          test -z "$ac_c_werror_flag" ||
9679          test ! -s conftest.err
9680        } && test -s conftest$ac_exeext &&
9681        $as_test_x conftest$ac_exeext; then
9682   ac_cv_lib_ncurses_waddch=yes
9683 else
9684   echo "$as_me: failed program was:" >&5
9685 sed 's/^/| /' conftest.$ac_ext >&5
9686
9687         ac_cv_lib_ncurses_waddch=no
9688 fi
9689
9690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9691       conftest$ac_exeext conftest.$ac_ext
9692 LIBS=$ac_check_lib_save_LIBS
9693 fi
9694 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9695 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9696 if test $ac_cv_lib_ncurses_waddch = yes; then
9697   CURSESLIBS="-lncurses"
9698 fi
9699
9700 elif test "$ac_cv_header_curses_h" = "yes"
9701 then
9702     { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9703 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9704 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9705   echo $ECHO_N "(cached) $ECHO_C" >&6
9706 else
9707   ac_check_lib_save_LIBS=$LIBS
9708 LIBS="-lcurses  $LIBS"
9709 cat >conftest.$ac_ext <<_ACEOF
9710 /* confdefs.h.  */
9711 _ACEOF
9712 cat confdefs.h >>conftest.$ac_ext
9713 cat >>conftest.$ac_ext <<_ACEOF
9714 /* end confdefs.h.  */
9715
9716 /* Override any GCC internal prototype to avoid an error.
9717    Use char because int might match the return type of a GCC
9718    builtin and then its argument prototype would still apply.  */
9719 #ifdef __cplusplus
9720 extern "C"
9721 #endif
9722 char waddch ();
9723 int
9724 main ()
9725 {
9726 return waddch ();
9727   ;
9728   return 0;
9729 }
9730 _ACEOF
9731 rm -f conftest.$ac_objext conftest$ac_exeext
9732 if { (ac_try="$ac_link"
9733 case "(($ac_try" in
9734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9735   *) ac_try_echo=$ac_try;;
9736 esac
9737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9738   (eval "$ac_link") 2>conftest.er1
9739   ac_status=$?
9740   grep -v '^ *+' conftest.er1 >conftest.err
9741   rm -f conftest.er1
9742   cat conftest.err >&5
9743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9744   (exit $ac_status); } && {
9745          test -z "$ac_c_werror_flag" ||
9746          test ! -s conftest.err
9747        } && test -s conftest$ac_exeext &&
9748        $as_test_x conftest$ac_exeext; then
9749   ac_cv_lib_curses_waddch=yes
9750 else
9751   echo "$as_me: failed program was:" >&5
9752 sed 's/^/| /' conftest.$ac_ext >&5
9753
9754         ac_cv_lib_curses_waddch=no
9755 fi
9756
9757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9758       conftest$ac_exeext conftest.$ac_ext
9759 LIBS=$ac_check_lib_save_LIBS
9760 fi
9761 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9762 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9763 if test $ac_cv_lib_curses_waddch = yes; then
9764   CURSESLIBS="-lcurses"
9765 fi
9766
9767 fi
9768 ac_save_LIBS="$LIBS"
9769 LIBS="$LIBS $CURSESLIBS"
9770
9771 for ac_func in mousemask
9772 do
9773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9774 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9776 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9777   echo $ECHO_N "(cached) $ECHO_C" >&6
9778 else
9779   cat >conftest.$ac_ext <<_ACEOF
9780 /* confdefs.h.  */
9781 _ACEOF
9782 cat confdefs.h >>conftest.$ac_ext
9783 cat >>conftest.$ac_ext <<_ACEOF
9784 /* end confdefs.h.  */
9785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9787 #define $ac_func innocuous_$ac_func
9788
9789 /* System header to define __stub macros and hopefully few prototypes,
9790     which can conflict with char $ac_func (); below.
9791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9792     <limits.h> exists even on freestanding compilers.  */
9793
9794 #ifdef __STDC__
9795 # include <limits.h>
9796 #else
9797 # include <assert.h>
9798 #endif
9799
9800 #undef $ac_func
9801
9802 /* Override any GCC internal prototype to avoid an error.
9803    Use char because int might match the return type of a GCC
9804    builtin and then its argument prototype would still apply.  */
9805 #ifdef __cplusplus
9806 extern "C"
9807 #endif
9808 char $ac_func ();
9809 /* The GNU C library defines this for functions which it implements
9810     to always fail with ENOSYS.  Some functions are actually named
9811     something starting with __ and the normal name is an alias.  */
9812 #if defined __stub_$ac_func || defined __stub___$ac_func
9813 choke me
9814 #endif
9815
9816 int
9817 main ()
9818 {
9819 return $ac_func ();
9820   ;
9821   return 0;
9822 }
9823 _ACEOF
9824 rm -f conftest.$ac_objext conftest$ac_exeext
9825 if { (ac_try="$ac_link"
9826 case "(($ac_try" in
9827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9828   *) ac_try_echo=$ac_try;;
9829 esac
9830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9831   (eval "$ac_link") 2>conftest.er1
9832   ac_status=$?
9833   grep -v '^ *+' conftest.er1 >conftest.err
9834   rm -f conftest.er1
9835   cat conftest.err >&5
9836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837   (exit $ac_status); } && {
9838          test -z "$ac_c_werror_flag" ||
9839          test ! -s conftest.err
9840        } && test -s conftest$ac_exeext &&
9841        $as_test_x conftest$ac_exeext; then
9842   eval "$as_ac_var=yes"
9843 else
9844   echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.$ac_ext >&5
9846
9847         eval "$as_ac_var=no"
9848 fi
9849
9850 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9851       conftest$ac_exeext conftest.$ac_ext
9852 fi
9853 ac_res=`eval echo '${'$as_ac_var'}'`
9854                { echo "$as_me:$LINENO: result: $ac_res" >&5
9855 echo "${ECHO_T}$ac_res" >&6; }
9856 if test `eval echo '${'$as_ac_var'}'` = yes; then
9857   cat >>confdefs.h <<_ACEOF
9858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9859 _ACEOF
9860
9861 fi
9862 done
9863
9864 LIBS="$ac_save_LIBS"
9865
9866 # Extract the first word of "sane-config", so it can be a program name with args.
9867 set dummy sane-config; ac_word=$2
9868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9870 if test "${ac_cv_prog_sane_devel+set}" = set; then
9871   echo $ECHO_N "(cached) $ECHO_C" >&6
9872 else
9873   if test -n "$sane_devel"; then
9874   ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9875 else
9876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9877 for as_dir in $PATH
9878 do
9879   IFS=$as_save_IFS
9880   test -z "$as_dir" && as_dir=.
9881   for ac_exec_ext in '' $ac_executable_extensions; do
9882   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9883     ac_cv_prog_sane_devel="sane-config"
9884     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9885     break 2
9886   fi
9887 done
9888 done
9889 IFS=$as_save_IFS
9890
9891   test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9892 fi
9893 fi
9894 sane_devel=$ac_cv_prog_sane_devel
9895 if test -n "$sane_devel"; then
9896   { echo "$as_me:$LINENO: result: $sane_devel" >&5
9897 echo "${ECHO_T}$sane_devel" >&6; }
9898 else
9899   { echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6; }
9901 fi
9902
9903
9904 SANEINCL=""
9905
9906 if test "$sane_devel" != "no"
9907 then
9908     SANEINCL="`$sane_devel --cflags`"
9909     ac_save_CPPFLAGS="$CPPFLAGS"
9910     CPPFLAGS="$CPPFLAGS $SANEINCL"
9911     if test "${ac_cv_header_sane_sane_h+set}" = set; then
9912   { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9913 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9914 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9915   echo $ECHO_N "(cached) $ECHO_C" >&6
9916 fi
9917 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9918 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9919 else
9920   # Is the header compilable?
9921 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9922 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9923 cat >conftest.$ac_ext <<_ACEOF
9924 /* confdefs.h.  */
9925 _ACEOF
9926 cat confdefs.h >>conftest.$ac_ext
9927 cat >>conftest.$ac_ext <<_ACEOF
9928 /* end confdefs.h.  */
9929 $ac_includes_default
9930 #include <sane/sane.h>
9931 _ACEOF
9932 rm -f conftest.$ac_objext
9933 if { (ac_try="$ac_compile"
9934 case "(($ac_try" in
9935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9936   *) ac_try_echo=$ac_try;;
9937 esac
9938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9939   (eval "$ac_compile") 2>conftest.er1
9940   ac_status=$?
9941   grep -v '^ *+' conftest.er1 >conftest.err
9942   rm -f conftest.er1
9943   cat conftest.err >&5
9944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945   (exit $ac_status); } && {
9946          test -z "$ac_c_werror_flag" ||
9947          test ! -s conftest.err
9948        } && test -s conftest.$ac_objext; then
9949   ac_header_compiler=yes
9950 else
9951   echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9953
9954         ac_header_compiler=no
9955 fi
9956
9957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9958 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9959 echo "${ECHO_T}$ac_header_compiler" >&6; }
9960
9961 # Is the header present?
9962 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9963 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9964 cat >conftest.$ac_ext <<_ACEOF
9965 /* confdefs.h.  */
9966 _ACEOF
9967 cat confdefs.h >>conftest.$ac_ext
9968 cat >>conftest.$ac_ext <<_ACEOF
9969 /* end confdefs.h.  */
9970 #include <sane/sane.h>
9971 _ACEOF
9972 if { (ac_try="$ac_cpp conftest.$ac_ext"
9973 case "(($ac_try" in
9974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9975   *) ac_try_echo=$ac_try;;
9976 esac
9977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9978   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9979   ac_status=$?
9980   grep -v '^ *+' conftest.er1 >conftest.err
9981   rm -f conftest.er1
9982   cat conftest.err >&5
9983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9984   (exit $ac_status); } >/dev/null && {
9985          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9986          test ! -s conftest.err
9987        }; then
9988   ac_header_preproc=yes
9989 else
9990   echo "$as_me: failed program was:" >&5
9991 sed 's/^/| /' conftest.$ac_ext >&5
9992
9993   ac_header_preproc=no
9994 fi
9995
9996 rm -f conftest.err conftest.$ac_ext
9997 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9998 echo "${ECHO_T}$ac_header_preproc" >&6; }
9999
10000 # So?  What about this header?
10001 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10002   yes:no: )
10003     { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10004 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10005     { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10006 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10007     ac_header_preproc=yes
10008     ;;
10009   no:yes:* )
10010     { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10011 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10012     { echo "$as_me:$LINENO: WARNING: sane/sane.h:     check for missing prerequisite headers?" >&5
10013 echo "$as_me: WARNING: sane/sane.h:     check for missing prerequisite headers?" >&2;}
10014     { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10015 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10016     { echo "$as_me:$LINENO: WARNING: sane/sane.h:     section \"Present But Cannot Be Compiled\"" >&5
10017 echo "$as_me: WARNING: sane/sane.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10018     { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10019 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10020     { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10021 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10022     ( cat <<\_ASBOX
10023 ## ------------------------------------ ##
10024 ## Report this to wine-devel@winehq.org ##
10025 ## ------------------------------------ ##
10026 _ASBOX
10027      ) | sed "s/^/$as_me: WARNING:     /" >&2
10028     ;;
10029 esac
10030 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10031 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10032 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10033   echo $ECHO_N "(cached) $ECHO_C" >&6
10034 else
10035   ac_cv_header_sane_sane_h=$ac_header_preproc
10036 fi
10037 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10038 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10039
10040 fi
10041 if test $ac_cv_header_sane_sane_h = yes; then
10042
10043 cat >>confdefs.h <<\_ACEOF
10044 #define HAVE_SANE 1
10045 _ACEOF
10046
10047 else
10048   SANEINCL=""
10049 fi
10050
10051
10052     CPPFLAGS="$ac_save_CPPFLAGS"
10053 fi
10054
10055 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10056 set dummy gphoto2-config; ac_word=$2
10057 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10059 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10060   echo $ECHO_N "(cached) $ECHO_C" >&6
10061 else
10062   if test -n "$gphoto2_devel"; then
10063   ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10064 else
10065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10066 for as_dir in $PATH
10067 do
10068   IFS=$as_save_IFS
10069   test -z "$as_dir" && as_dir=.
10070   for ac_exec_ext in '' $ac_executable_extensions; do
10071   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10072     ac_cv_prog_gphoto2_devel="gphoto2-config"
10073     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10074     break 2
10075   fi
10076 done
10077 done
10078 IFS=$as_save_IFS
10079
10080   test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10081 fi
10082 fi
10083 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10084 if test -n "$gphoto2_devel"; then
10085   { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10086 echo "${ECHO_T}$gphoto2_devel" >&6; }
10087 else
10088   { echo "$as_me:$LINENO: result: no" >&5
10089 echo "${ECHO_T}no" >&6; }
10090 fi
10091
10092
10093 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10094 set dummy gphoto2-port-config; ac_word=$2
10095 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10097 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10098   echo $ECHO_N "(cached) $ECHO_C" >&6
10099 else
10100   if test -n "$gphoto2port_devel"; then
10101   ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10102 else
10103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10104 for as_dir in $PATH
10105 do
10106   IFS=$as_save_IFS
10107   test -z "$as_dir" && as_dir=.
10108   for ac_exec_ext in '' $ac_executable_extensions; do
10109   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10110     ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10111     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10112     break 2
10113   fi
10114 done
10115 done
10116 IFS=$as_save_IFS
10117
10118   test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10119 fi
10120 fi
10121 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10122 if test -n "$gphoto2port_devel"; then
10123   { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10124 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10125 else
10126   { echo "$as_me:$LINENO: result: no" >&5
10127 echo "${ECHO_T}no" >&6; }
10128 fi
10129
10130
10131 GPHOTO2LIBS=""
10132
10133 GPHOTO2INCL=""
10134
10135 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10136 then
10137     GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10138     GPHOTO2LIBS=""
10139     for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10140     do
10141       case "$i" in
10142         -L/usr/lib|-L/usr/lib64) ;;
10143         -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10144       esac
10145     done
10146     ac_save_CPPFLAGS="$CPPFLAGS"
10147     ac_save_LIBS="$LIBS"
10148     CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10149     LIBS="$LIBS $GPHOTO2LIBS"
10150     if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10151   { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10152 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10153 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10154   echo $ECHO_N "(cached) $ECHO_C" >&6
10155 fi
10156 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10157 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10158 else
10159   # Is the header compilable?
10160 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10161 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10162 cat >conftest.$ac_ext <<_ACEOF
10163 /* confdefs.h.  */
10164 _ACEOF
10165 cat confdefs.h >>conftest.$ac_ext
10166 cat >>conftest.$ac_ext <<_ACEOF
10167 /* end confdefs.h.  */
10168 $ac_includes_default
10169 #include <gphoto2-camera.h>
10170 _ACEOF
10171 rm -f conftest.$ac_objext
10172 if { (ac_try="$ac_compile"
10173 case "(($ac_try" in
10174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10175   *) ac_try_echo=$ac_try;;
10176 esac
10177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10178   (eval "$ac_compile") 2>conftest.er1
10179   ac_status=$?
10180   grep -v '^ *+' conftest.er1 >conftest.err
10181   rm -f conftest.er1
10182   cat conftest.err >&5
10183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10184   (exit $ac_status); } && {
10185          test -z "$ac_c_werror_flag" ||
10186          test ! -s conftest.err
10187        } && test -s conftest.$ac_objext; then
10188   ac_header_compiler=yes
10189 else
10190   echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10192
10193         ac_header_compiler=no
10194 fi
10195
10196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10197 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10198 echo "${ECHO_T}$ac_header_compiler" >&6; }
10199
10200 # Is the header present?
10201 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10202 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10203 cat >conftest.$ac_ext <<_ACEOF
10204 /* confdefs.h.  */
10205 _ACEOF
10206 cat confdefs.h >>conftest.$ac_ext
10207 cat >>conftest.$ac_ext <<_ACEOF
10208 /* end confdefs.h.  */
10209 #include <gphoto2-camera.h>
10210 _ACEOF
10211 if { (ac_try="$ac_cpp conftest.$ac_ext"
10212 case "(($ac_try" in
10213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10214   *) ac_try_echo=$ac_try;;
10215 esac
10216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10217   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10218   ac_status=$?
10219   grep -v '^ *+' conftest.er1 >conftest.err
10220   rm -f conftest.er1
10221   cat conftest.err >&5
10222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223   (exit $ac_status); } >/dev/null && {
10224          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10225          test ! -s conftest.err
10226        }; then
10227   ac_header_preproc=yes
10228 else
10229   echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.$ac_ext >&5
10231
10232   ac_header_preproc=no
10233 fi
10234
10235 rm -f conftest.err conftest.$ac_ext
10236 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10237 echo "${ECHO_T}$ac_header_preproc" >&6; }
10238
10239 # So?  What about this header?
10240 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10241   yes:no: )
10242     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10243 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10244     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10245 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10246     ac_header_preproc=yes
10247     ;;
10248   no:yes:* )
10249     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10250 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10251     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h:     check for missing prerequisite headers?" >&5
10252 echo "$as_me: WARNING: gphoto2-camera.h:     check for missing prerequisite headers?" >&2;}
10253     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10254 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10255     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h:     section \"Present But Cannot Be Compiled\"" >&5
10256 echo "$as_me: WARNING: gphoto2-camera.h:     section \"Present But Cannot Be Compiled\"" >&2;}
10257     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10258 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10259     { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10260 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10261     ( cat <<\_ASBOX
10262 ## ------------------------------------ ##
10263 ## Report this to wine-devel@winehq.org ##
10264 ## ------------------------------------ ##
10265 _ASBOX
10266      ) | sed "s/^/$as_me: WARNING:     /" >&2
10267     ;;
10268 esac
10269 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10270 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10271 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10272   echo $ECHO_N "(cached) $ECHO_C" >&6
10273 else
10274   ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10275 fi
10276 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10277 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10278
10279 fi
10280 if test $ac_cv_header_gphoto2_camera_h = yes; then
10281   { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10282 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10283 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10284   echo $ECHO_N "(cached) $ECHO_C" >&6
10285 else
10286   ac_check_lib_save_LIBS=$LIBS
10287 LIBS="-lgphoto2  $LIBS"
10288 cat >conftest.$ac_ext <<_ACEOF
10289 /* confdefs.h.  */
10290 _ACEOF
10291 cat confdefs.h >>conftest.$ac_ext
10292 cat >>conftest.$ac_ext <<_ACEOF
10293 /* end confdefs.h.  */
10294
10295 /* Override any GCC internal prototype to avoid an error.
10296    Use char because int might match the return type of a GCC
10297    builtin and then its argument prototype would still apply.  */
10298 #ifdef __cplusplus
10299 extern "C"
10300 #endif
10301 char gp_camera_new ();
10302 int
10303 main ()
10304 {
10305 return gp_camera_new ();
10306   ;
10307   return 0;
10308 }
10309 _ACEOF
10310 rm -f conftest.$ac_objext conftest$ac_exeext
10311 if { (ac_try="$ac_link"
10312 case "(($ac_try" in
10313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10314   *) ac_try_echo=$ac_try;;
10315 esac
10316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10317   (eval "$ac_link") 2>conftest.er1
10318   ac_status=$?
10319   grep -v '^ *+' conftest.er1 >conftest.err
10320   rm -f conftest.er1
10321   cat conftest.err >&5
10322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323   (exit $ac_status); } && {
10324          test -z "$ac_c_werror_flag" ||
10325          test ! -s conftest.err
10326        } && test -s conftest$ac_exeext &&
10327        $as_test_x conftest$ac_exeext; then
10328   ac_cv_lib_gphoto2_gp_camera_new=yes
10329 else
10330   echo "$as_me: failed program was:" >&5
10331 sed 's/^/| /' conftest.$ac_ext >&5
10332
10333         ac_cv_lib_gphoto2_gp_camera_new=no
10334 fi
10335
10336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10337       conftest$ac_exeext conftest.$ac_ext
10338 LIBS=$ac_check_lib_save_LIBS
10339 fi
10340 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10341 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10342 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10343
10344 cat >>confdefs.h <<\_ACEOF
10345 #define HAVE_GPHOTO2 1
10346 _ACEOF
10347
10348 else
10349   GPHOTO2LIBS=""
10350                                   GPHOTO2INCL=""
10351 fi
10352
10353 else
10354   GPHOTO2LIBS=""
10355                     GPHOTO2INCL=""
10356 fi
10357
10358
10359     LIBS="$ac_save_LIBS"
10360     CPPFLAGS="$ac_save_CPPFLAGS"
10361 fi
10362
10363 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10364 then
10365     saved_libs="$LIBS"
10366     icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
10367     if test -n "$ICU_LIB_DIR"
10368     then
10369         icu_libs="-L$ICU_LIB_DIR $icu_libs"
10370     fi
10371     { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
10372 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
10373     LIBS="$saved_libs $icu_libs"
10374     if test "$cross_compiling" = yes; then
10375   { echo "$as_me:$LINENO: result: no" >&5
10376 echo "${ECHO_T}no" >&6; }
10377 else
10378   cat >conftest.$ac_ext <<_ACEOF
10379 /* confdefs.h.  */
10380 _ACEOF
10381 cat confdefs.h >>conftest.$ac_ext
10382 cat >>conftest.$ac_ext <<_ACEOF
10383 /* end confdefs.h.  */
10384 #include <unicode/ubidi.h>
10385 int
10386 main ()
10387 {
10388 ubidi_open()
10389   ;
10390   return 0;
10391 }
10392 _ACEOF
10393 rm -f conftest$ac_exeext
10394 if { (ac_try="$ac_link"
10395 case "(($ac_try" in
10396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10397   *) ac_try_echo=$ac_try;;
10398 esac
10399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10400   (eval "$ac_link") 2>&5
10401   ac_status=$?
10402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10404   { (case "(($ac_try" in
10405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10406   *) ac_try_echo=$ac_try;;
10407 esac
10408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10409   (eval "$ac_try") 2>&5
10410   ac_status=$?
10411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412   (exit $ac_status); }; }; then
10413
10414 cat >>confdefs.h <<\_ACEOF
10415 #define HAVE_ICU 1
10416 _ACEOF
10417
10418                  ICULIBS="$icu_libs"
10419
10420                  { echo "$as_me:$LINENO: result: yes" >&5
10421 echo "${ECHO_T}yes" >&6; }
10422 else
10423   echo "$as_me: program exited with status $ac_status" >&5
10424 echo "$as_me: failed program was:" >&5
10425 sed 's/^/| /' conftest.$ac_ext >&5
10426
10427 ( exit $ac_status )
10428 { echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6; }
10430 fi
10431 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10432 fi
10433
10434
10435     LIBS="$saved_libs"
10436 fi
10437
10438 RESOLVLIBS=""
10439
10440 if test "$ac_cv_header_resolv_h" = "yes"
10441 then
10442     { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10443 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10444 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10445   echo $ECHO_N "(cached) $ECHO_C" >&6
10446 else
10447   ac_check_lib_save_LIBS=$LIBS
10448 LIBS="-lresolv  $LIBS"
10449 cat >conftest.$ac_ext <<_ACEOF
10450 /* confdefs.h.  */
10451 _ACEOF
10452 cat confdefs.h >>conftest.$ac_ext
10453 cat >>conftest.$ac_ext <<_ACEOF
10454 /* end confdefs.h.  */
10455
10456 /* Override any GCC internal prototype to avoid an error.
10457    Use char because int might match the return type of a GCC
10458    builtin and then its argument prototype would still apply.  */
10459 #ifdef __cplusplus
10460 extern "C"
10461 #endif
10462 char res_query ();
10463 int
10464 main ()
10465 {
10466 return res_query ();
10467   ;
10468   return 0;
10469 }
10470 _ACEOF
10471 rm -f conftest.$ac_objext conftest$ac_exeext
10472 if { (ac_try="$ac_link"
10473 case "(($ac_try" in
10474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10475   *) ac_try_echo=$ac_try;;
10476 esac
10477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10478   (eval "$ac_link") 2>conftest.er1
10479   ac_status=$?
10480   grep -v '^ *+' conftest.er1 >conftest.err
10481   rm -f conftest.er1
10482   cat conftest.err >&5
10483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10484   (exit $ac_status); } && {
10485          test -z "$ac_c_werror_flag" ||
10486          test ! -s conftest.err
10487        } && test -s conftest$ac_exeext &&
10488        $as_test_x conftest$ac_exeext; then
10489   ac_cv_lib_resolv_res_query=yes
10490 else
10491   echo "$as_me: failed program was:" >&5
10492 sed 's/^/| /' conftest.$ac_ext >&5
10493
10494         ac_cv_lib_resolv_res_query=no
10495 fi
10496
10497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10498       conftest$ac_exeext conftest.$ac_ext
10499 LIBS=$ac_check_lib_save_LIBS
10500 fi
10501 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10502 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10503 if test $ac_cv_lib_resolv_res_query = yes; then
10504
10505 cat >>confdefs.h <<\_ACEOF
10506 #define HAVE_RESOLV 1
10507 _ACEOF
10508
10509          RESOLVLIBS="-lresolv"
10510 fi
10511
10512 fi
10513
10514 LCMSLIBS=""
10515
10516 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10517 then
10518     { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10519 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10520 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10521   echo $ECHO_N "(cached) $ECHO_C" >&6
10522 else
10523   ac_check_lib_save_LIBS=$LIBS
10524 LIBS="-llcms  $LIBS"
10525 cat >conftest.$ac_ext <<_ACEOF
10526 /* confdefs.h.  */
10527 _ACEOF
10528 cat confdefs.h >>conftest.$ac_ext
10529 cat >>conftest.$ac_ext <<_ACEOF
10530 /* end confdefs.h.  */
10531
10532 /* Override any GCC internal prototype to avoid an error.
10533    Use char because int might match the return type of a GCC
10534    builtin and then its argument prototype would still apply.  */
10535 #ifdef __cplusplus
10536 extern "C"
10537 #endif
10538 char cmsOpenProfileFromFile ();
10539 int
10540 main ()
10541 {
10542 return cmsOpenProfileFromFile ();
10543   ;
10544   return 0;
10545 }
10546 _ACEOF
10547 rm -f conftest.$ac_objext conftest$ac_exeext
10548 if { (ac_try="$ac_link"
10549 case "(($ac_try" in
10550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10551   *) ac_try_echo=$ac_try;;
10552 esac
10553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10554   (eval "$ac_link") 2>conftest.er1
10555   ac_status=$?
10556   grep -v '^ *+' conftest.er1 >conftest.err
10557   rm -f conftest.er1
10558   cat conftest.err >&5
10559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10560   (exit $ac_status); } && {
10561          test -z "$ac_c_werror_flag" ||
10562          test ! -s conftest.err
10563        } && test -s conftest$ac_exeext &&
10564        $as_test_x conftest$ac_exeext; then
10565   ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10566 else
10567   echo "$as_me: failed program was:" >&5
10568 sed 's/^/| /' conftest.$ac_ext >&5
10569
10570         ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10571 fi
10572
10573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10574       conftest$ac_exeext conftest.$ac_ext
10575 LIBS=$ac_check_lib_save_LIBS
10576 fi
10577 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10578 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10579 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10580
10581 cat >>confdefs.h <<\_ACEOF
10582 #define HAVE_LCMS 1
10583 _ACEOF
10584
10585          LCMSLIBS="-llcms"
10586 fi
10587
10588 fi
10589
10590 LDAPLIBS=""
10591
10592 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10593 then
10594     { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10595 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10596 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10597   echo $ECHO_N "(cached) $ECHO_C" >&6
10598 else
10599   ac_check_lib_save_LIBS=$LIBS
10600 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10601 cat >conftest.$ac_ext <<_ACEOF
10602 /* confdefs.h.  */
10603 _ACEOF
10604 cat confdefs.h >>conftest.$ac_ext
10605 cat >>conftest.$ac_ext <<_ACEOF
10606 /* end confdefs.h.  */
10607
10608 /* Override any GCC internal prototype to avoid an error.
10609    Use char because int might match the return type of a GCC
10610    builtin and then its argument prototype would still apply.  */
10611 #ifdef __cplusplus
10612 extern "C"
10613 #endif
10614 char ldap_initialize ();
10615 int
10616 main ()
10617 {
10618 return ldap_initialize ();
10619   ;
10620   return 0;
10621 }
10622 _ACEOF
10623 rm -f conftest.$ac_objext conftest$ac_exeext
10624 if { (ac_try="$ac_link"
10625 case "(($ac_try" in
10626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10627   *) ac_try_echo=$ac_try;;
10628 esac
10629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10630   (eval "$ac_link") 2>conftest.er1
10631   ac_status=$?
10632   grep -v '^ *+' conftest.er1 >conftest.err
10633   rm -f conftest.er1
10634   cat conftest.err >&5
10635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10636   (exit $ac_status); } && {
10637          test -z "$ac_c_werror_flag" ||
10638          test ! -s conftest.err
10639        } && test -s conftest$ac_exeext &&
10640        $as_test_x conftest$ac_exeext; then
10641   ac_cv_lib_ldap_r_ldap_initialize=yes
10642 else
10643   echo "$as_me: failed program was:" >&5
10644 sed 's/^/| /' conftest.$ac_ext >&5
10645
10646         ac_cv_lib_ldap_r_ldap_initialize=no
10647 fi
10648
10649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10650       conftest$ac_exeext conftest.$ac_ext
10651 LIBS=$ac_check_lib_save_LIBS
10652 fi
10653 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10654 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10655 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10656   { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10657 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10658 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10659   echo $ECHO_N "(cached) $ECHO_C" >&6
10660 else
10661   ac_check_lib_save_LIBS=$LIBS
10662 LIBS="-llber $LIBPTHREAD $LIBS"
10663 cat >conftest.$ac_ext <<_ACEOF
10664 /* confdefs.h.  */
10665 _ACEOF
10666 cat confdefs.h >>conftest.$ac_ext
10667 cat >>conftest.$ac_ext <<_ACEOF
10668 /* end confdefs.h.  */
10669
10670 /* Override any GCC internal prototype to avoid an error.
10671    Use char because int might match the return type of a GCC
10672    builtin and then its argument prototype would still apply.  */
10673 #ifdef __cplusplus
10674 extern "C"
10675 #endif
10676 char ber_init ();
10677 int
10678 main ()
10679 {
10680 return ber_init ();
10681   ;
10682   return 0;
10683 }
10684 _ACEOF
10685 rm -f conftest.$ac_objext conftest$ac_exeext
10686 if { (ac_try="$ac_link"
10687 case "(($ac_try" in
10688   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10689   *) ac_try_echo=$ac_try;;
10690 esac
10691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10692   (eval "$ac_link") 2>conftest.er1
10693   ac_status=$?
10694   grep -v '^ *+' conftest.er1 >conftest.err
10695   rm -f conftest.er1
10696   cat conftest.err >&5
10697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698   (exit $ac_status); } && {
10699          test -z "$ac_c_werror_flag" ||
10700          test ! -s conftest.err
10701        } && test -s conftest$ac_exeext &&
10702        $as_test_x conftest$ac_exeext; then
10703   ac_cv_lib_lber_ber_init=yes
10704 else
10705   echo "$as_me: failed program was:" >&5
10706 sed 's/^/| /' conftest.$ac_ext >&5
10707
10708         ac_cv_lib_lber_ber_init=no
10709 fi
10710
10711 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10712       conftest$ac_exeext conftest.$ac_ext
10713 LIBS=$ac_check_lib_save_LIBS
10714 fi
10715 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10716 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10717 if test $ac_cv_lib_lber_ber_init = yes; then
10718
10719 cat >>confdefs.h <<\_ACEOF
10720 #define HAVE_LDAP 1
10721 _ACEOF
10722
10723              LDAPLIBS="-lldap_r -llber"
10724 fi
10725
10726 fi
10727
10728     ac_wine_check_funcs_save_LIBS="$LIBS"
10729 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10730
10731
10732
10733
10734 for ac_func in \
10735         ldap_count_references \
10736         ldap_first_reference \
10737         ldap_next_reference \
10738         ldap_parse_reference
10739 do
10740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10741 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10743 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10744   echo $ECHO_N "(cached) $ECHO_C" >&6
10745 else
10746   cat >conftest.$ac_ext <<_ACEOF
10747 /* confdefs.h.  */
10748 _ACEOF
10749 cat confdefs.h >>conftest.$ac_ext
10750 cat >>conftest.$ac_ext <<_ACEOF
10751 /* end confdefs.h.  */
10752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10753    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10754 #define $ac_func innocuous_$ac_func
10755
10756 /* System header to define __stub macros and hopefully few prototypes,
10757     which can conflict with char $ac_func (); below.
10758     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10759     <limits.h> exists even on freestanding compilers.  */
10760
10761 #ifdef __STDC__
10762 # include <limits.h>
10763 #else
10764 # include <assert.h>
10765 #endif
10766
10767 #undef $ac_func
10768
10769 /* Override any GCC internal prototype to avoid an error.
10770    Use char because int might match the return type of a GCC
10771    builtin and then its argument prototype would still apply.  */
10772 #ifdef __cplusplus
10773 extern "C"
10774 #endif
10775 char $ac_func ();
10776 /* The GNU C library defines this for functions which it implements
10777     to always fail with ENOSYS.  Some functions are actually named
10778     something starting with __ and the normal name is an alias.  */
10779 #if defined __stub_$ac_func || defined __stub___$ac_func
10780 choke me
10781 #endif
10782
10783 int
10784 main ()
10785 {
10786 return $ac_func ();
10787   ;
10788   return 0;
10789 }
10790 _ACEOF
10791 rm -f conftest.$ac_objext conftest$ac_exeext
10792 if { (ac_try="$ac_link"
10793 case "(($ac_try" in
10794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10795   *) ac_try_echo=$ac_try;;
10796 esac
10797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10798   (eval "$ac_link") 2>conftest.er1
10799   ac_status=$?
10800   grep -v '^ *+' conftest.er1 >conftest.err
10801   rm -f conftest.er1
10802   cat conftest.err >&5
10803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804   (exit $ac_status); } && {
10805          test -z "$ac_c_werror_flag" ||
10806          test ! -s conftest.err
10807        } && test -s conftest$ac_exeext &&
10808        $as_test_x conftest$ac_exeext; then
10809   eval "$as_ac_var=yes"
10810 else
10811   echo "$as_me: failed program was:" >&5
10812 sed 's/^/| /' conftest.$ac_ext >&5
10813
10814         eval "$as_ac_var=no"
10815 fi
10816
10817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10818       conftest$ac_exeext conftest.$ac_ext
10819 fi
10820 ac_res=`eval echo '${'$as_ac_var'}'`
10821                { echo "$as_me:$LINENO: result: $ac_res" >&5
10822 echo "${ECHO_T}$ac_res" >&6; }
10823 if test `eval echo '${'$as_ac_var'}'` = yes; then
10824   cat >>confdefs.h <<_ACEOF
10825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10826 _ACEOF
10827
10828 fi
10829 done
10830
10831 LIBS="$ac_wine_check_funcs_save_LIBS"
10832 fi
10833
10834 FREETYPELIBS=""
10835
10836 FREETYPEINCL=""
10837
10838 # Extract the first word of "freetype-config", so it can be a program name with args.
10839 set dummy freetype-config; ac_word=$2
10840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10842 if test "${ac_cv_prog_ft_devel+set}" = set; then
10843   echo $ECHO_N "(cached) $ECHO_C" >&6
10844 else
10845   if test -n "$ft_devel"; then
10846   ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10847 else
10848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10849 for as_dir in $PATH
10850 do
10851   IFS=$as_save_IFS
10852   test -z "$as_dir" && as_dir=.
10853   for ac_exec_ext in '' $ac_executable_extensions; do
10854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10855     ac_cv_prog_ft_devel="freetype-config"
10856     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10857     break 2
10858   fi
10859 done
10860 done
10861 IFS=$as_save_IFS
10862
10863   test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10864 fi
10865 fi
10866 ft_devel=$ac_cv_prog_ft_devel
10867 if test -n "$ft_devel"; then
10868   { echo "$as_me:$LINENO: result: $ft_devel" >&5
10869 echo "${ECHO_T}$ft_devel" >&6; }
10870 else
10871   { echo "$as_me:$LINENO: result: no" >&5
10872 echo "${ECHO_T}no" >&6; }
10873 fi
10874
10875
10876 if test "$ft_devel" = "no"
10877 then
10878     # Extract the first word of "freetype2-config", so it can be a program name with args.
10879 set dummy freetype2-config; ac_word=$2
10880 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10882 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10883   echo $ECHO_N "(cached) $ECHO_C" >&6
10884 else
10885   if test -n "$ft_devel2"; then
10886   ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10887 else
10888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10889 for as_dir in $PATH
10890 do
10891   IFS=$as_save_IFS
10892   test -z "$as_dir" && as_dir=.
10893   for ac_exec_ext in '' $ac_executable_extensions; do
10894   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10895     ac_cv_prog_ft_devel2="freetype2-config"
10896     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10897     break 2
10898   fi
10899 done
10900 done
10901 IFS=$as_save_IFS
10902
10903   test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10904 fi
10905 fi
10906 ft_devel2=$ac_cv_prog_ft_devel2
10907 if test -n "$ft_devel2"; then
10908   { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10909 echo "${ECHO_T}$ft_devel2" >&6; }
10910 else
10911   { echo "$as_me:$LINENO: result: no" >&5
10912 echo "${ECHO_T}no" >&6; }
10913 fi
10914
10915
10916     if test "$ft_devel2" = "freetype2-config"
10917     then
10918         ft_devel=$ft_devel2
10919     fi
10920 fi
10921
10922 if test "$ft_devel" = "no"
10923 then
10924     wine_cv_msg_freetype=yes
10925 else
10926     FREETYPELIBS=`$ft_devel --libs`
10927     FREETYPEINCL=`$ft_devel --cflags`
10928     { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10929 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10930 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10931   echo $ECHO_N "(cached) $ECHO_C" >&6
10932 else
10933   ac_check_lib_save_LIBS=$LIBS
10934 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10935 cat >conftest.$ac_ext <<_ACEOF
10936 /* confdefs.h.  */
10937 _ACEOF
10938 cat confdefs.h >>conftest.$ac_ext
10939 cat >>conftest.$ac_ext <<_ACEOF
10940 /* end confdefs.h.  */
10941
10942 /* Override any GCC internal prototype to avoid an error.
10943    Use char because int might match the return type of a GCC
10944    builtin and then its argument prototype would still apply.  */
10945 #ifdef __cplusplus
10946 extern "C"
10947 #endif
10948 char FT_Init_FreeType ();
10949 int
10950 main ()
10951 {
10952 return FT_Init_FreeType ();
10953   ;
10954   return 0;
10955 }
10956 _ACEOF
10957 rm -f conftest.$ac_objext conftest$ac_exeext
10958 if { (ac_try="$ac_link"
10959 case "(($ac_try" in
10960   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10961   *) ac_try_echo=$ac_try;;
10962 esac
10963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10964   (eval "$ac_link") 2>conftest.er1
10965   ac_status=$?
10966   grep -v '^ *+' conftest.er1 >conftest.err
10967   rm -f conftest.er1
10968   cat conftest.err >&5
10969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970   (exit $ac_status); } && {
10971          test -z "$ac_c_werror_flag" ||
10972          test ! -s conftest.err
10973        } && test -s conftest$ac_exeext &&
10974        $as_test_x conftest$ac_exeext; then
10975   ac_cv_lib_freetype_FT_Init_FreeType=yes
10976 else
10977   echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.$ac_ext >&5
10979
10980         ac_cv_lib_freetype_FT_Init_FreeType=no
10981 fi
10982
10983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10984       conftest$ac_exeext conftest.$ac_ext
10985 LIBS=$ac_check_lib_save_LIBS
10986 fi
10987 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10988 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10989 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10990   ft_lib=yes
10991 else
10992   ft_lib=no
10993 fi
10994
10995     if test "$ft_lib" = "no"
10996     then
10997         wine_cv_msg_freetype=yes
10998         FREETYPELIBS=""
10999         FREETYPEINCL=""
11000     else
11001         ac_save_CPPFLAGS="$CPPFLAGS"
11002         CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014 for ac_header in ft2build.h \
11015                          freetype/freetype.h \
11016                          freetype/ftglyph.h \
11017                          freetype/tttables.h \
11018                          freetype/ftnames.h \
11019                          freetype/ftsnames.h \
11020                          freetype/ttnameid.h \
11021                          freetype/ftoutln.h \
11022                          freetype/ftwinfnt.h \
11023                          freetype/ftmodapi.h \
11024                          freetype/internal/sfnt.h
11025 do
11026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11027 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11029 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11030   echo $ECHO_N "(cached) $ECHO_C" >&6
11031 else
11032   cat >conftest.$ac_ext <<_ACEOF
11033 /* confdefs.h.  */
11034 _ACEOF
11035 cat confdefs.h >>conftest.$ac_ext
11036 cat >>conftest.$ac_ext <<_ACEOF
11037 /* end confdefs.h.  */
11038 #if HAVE_FT2BUILD_H
11039                           #include <ft2build.h>
11040                           #endif
11041
11042 #include <$ac_header>
11043 _ACEOF
11044 rm -f conftest.$ac_objext
11045 if { (ac_try="$ac_compile"
11046 case "(($ac_try" in
11047   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11048   *) ac_try_echo=$ac_try;;
11049 esac
11050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11051   (eval "$ac_compile") 2>conftest.er1
11052   ac_status=$?
11053   grep -v '^ *+' conftest.er1 >conftest.err
11054   rm -f conftest.er1
11055   cat conftest.err >&5
11056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057   (exit $ac_status); } && {
11058          test -z "$ac_c_werror_flag" ||
11059          test ! -s conftest.err
11060        } && test -s conftest.$ac_objext; then
11061   eval "$as_ac_Header=yes"
11062 else
11063   echo "$as_me: failed program was:" >&5
11064 sed 's/^/| /' conftest.$ac_ext >&5
11065
11066         eval "$as_ac_Header=no"
11067 fi
11068
11069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11070 fi
11071 ac_res=`eval echo '${'$as_ac_Header'}'`
11072                { echo "$as_me:$LINENO: result: $ac_res" >&5
11073 echo "${ECHO_T}$ac_res" >&6; }
11074 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11075   cat >>confdefs.h <<_ACEOF
11076 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11077 _ACEOF
11078
11079 fi
11080
11081 done
11082
11083         cat >conftest.$ac_ext <<_ACEOF
11084 /* confdefs.h.  */
11085 _ACEOF
11086 cat confdefs.h >>conftest.$ac_ext
11087 cat >>conftest.$ac_ext <<_ACEOF
11088 /* end confdefs.h.  */
11089 #include <ft2build.h>
11090                     #include <freetype/fttrigon.h>
11091 _ACEOF
11092 if { (ac_try="$ac_cpp conftest.$ac_ext"
11093 case "(($ac_try" in
11094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11095   *) ac_try_echo=$ac_try;;
11096 esac
11097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11098   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11099   ac_status=$?
11100   grep -v '^ *+' conftest.er1 >conftest.err
11101   rm -f conftest.er1
11102   cat conftest.err >&5
11103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104   (exit $ac_status); } >/dev/null && {
11105          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11106          test ! -s conftest.err
11107        }; then
11108
11109 cat >>confdefs.h <<\_ACEOF
11110 #define HAVE_FREETYPE_FTTRIGON_H 1
11111 _ACEOF
11112
11113                     wine_cv_fttrigon=yes
11114 else
11115   echo "$as_me: failed program was:" >&5
11116 sed 's/^/| /' conftest.$ac_ext >&5
11117
11118   wine_cv_fttrigon=no
11119 fi
11120
11121 rm -f conftest.err conftest.$ac_ext
11122         { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11123 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11124 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11125   echo $ECHO_N "(cached) $ECHO_C" >&6
11126 else
11127   cat >conftest.$ac_ext <<_ACEOF
11128 /* confdefs.h.  */
11129 _ACEOF
11130 cat confdefs.h >>conftest.$ac_ext
11131 cat >>conftest.$ac_ext <<_ACEOF
11132 /* end confdefs.h.  */
11133 #include <freetype/ftmodapi.h>
11134
11135 typedef FT_TrueTypeEngineType ac__type_new_;
11136 int
11137 main ()
11138 {
11139 if ((ac__type_new_ *) 0)
11140   return 0;
11141 if (sizeof (ac__type_new_))
11142   return 0;
11143   ;
11144   return 0;
11145 }
11146 _ACEOF
11147 rm -f conftest.$ac_objext
11148 if { (ac_try="$ac_compile"
11149 case "(($ac_try" in
11150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11151   *) ac_try_echo=$ac_try;;
11152 esac
11153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11154   (eval "$ac_compile") 2>conftest.er1
11155   ac_status=$?
11156   grep -v '^ *+' conftest.er1 >conftest.err
11157   rm -f conftest.er1
11158   cat conftest.err >&5
11159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160   (exit $ac_status); } && {
11161          test -z "$ac_c_werror_flag" ||
11162          test ! -s conftest.err
11163        } && test -s conftest.$ac_objext; then
11164   ac_cv_type_FT_TrueTypeEngineType=yes
11165 else
11166   echo "$as_me: failed program was:" >&5
11167 sed 's/^/| /' conftest.$ac_ext >&5
11168
11169         ac_cv_type_FT_TrueTypeEngineType=no
11170 fi
11171
11172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11173 fi
11174 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11175 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11176 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11177
11178 cat >>confdefs.h <<_ACEOF
11179 #define HAVE_FT_TRUETYPEENGINETYPE 1
11180 _ACEOF
11181
11182
11183 fi
11184
11185         ac_save_CFLAGS="$CFLAGS"
11186         CFLAGS="$CFLAGS $FREETYPELIBS"
11187
11188 for ac_func in FT_Load_Sfnt_Table
11189 do
11190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11193 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11194   echo $ECHO_N "(cached) $ECHO_C" >&6
11195 else
11196   cat >conftest.$ac_ext <<_ACEOF
11197 /* confdefs.h.  */
11198 _ACEOF
11199 cat confdefs.h >>conftest.$ac_ext
11200 cat >>conftest.$ac_ext <<_ACEOF
11201 /* end confdefs.h.  */
11202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11204 #define $ac_func innocuous_$ac_func
11205
11206 /* System header to define __stub macros and hopefully few prototypes,
11207     which can conflict with char $ac_func (); below.
11208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11209     <limits.h> exists even on freestanding compilers.  */
11210
11211 #ifdef __STDC__
11212 # include <limits.h>
11213 #else
11214 # include <assert.h>
11215 #endif
11216
11217 #undef $ac_func
11218
11219 /* Override any GCC internal prototype to avoid an error.
11220    Use char because int might match the return type of a GCC
11221    builtin and then its argument prototype would still apply.  */
11222 #ifdef __cplusplus
11223 extern "C"
11224 #endif
11225 char $ac_func ();
11226 /* The GNU C library defines this for functions which it implements
11227     to always fail with ENOSYS.  Some functions are actually named
11228     something starting with __ and the normal name is an alias.  */
11229 #if defined __stub_$ac_func || defined __stub___$ac_func
11230 choke me
11231 #endif
11232
11233 int
11234 main ()
11235 {
11236 return $ac_func ();
11237   ;
11238   return 0;
11239 }
11240 _ACEOF
11241 rm -f conftest.$ac_objext conftest$ac_exeext
11242 if { (ac_try="$ac_link"
11243 case "(($ac_try" in
11244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11245   *) ac_try_echo=$ac_try;;
11246 esac
11247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11248   (eval "$ac_link") 2>conftest.er1
11249   ac_status=$?
11250   grep -v '^ *+' conftest.er1 >conftest.err
11251   rm -f conftest.er1
11252   cat conftest.err >&5
11253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11254   (exit $ac_status); } && {
11255          test -z "$ac_c_werror_flag" ||
11256          test ! -s conftest.err
11257        } && test -s conftest$ac_exeext &&
11258        $as_test_x conftest$ac_exeext; then
11259   eval "$as_ac_var=yes"
11260 else
11261   echo "$as_me: failed program was:" >&5
11262 sed 's/^/| /' conftest.$ac_ext >&5
11263
11264         eval "$as_ac_var=no"
11265 fi
11266
11267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11268       conftest$ac_exeext conftest.$ac_ext
11269 fi
11270 ac_res=`eval echo '${'$as_ac_var'}'`
11271                { echo "$as_me:$LINENO: result: $ac_res" >&5
11272 echo "${ECHO_T}$ac_res" >&6; }
11273 if test `eval echo '${'$as_ac_var'}'` = yes; then
11274   cat >>confdefs.h <<_ACEOF
11275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11276 _ACEOF
11277
11278 fi
11279 done
11280
11281         CFLAGS="$ac_save_CFLAGS"
11282         CPPFLAGS="$ac_save_CPPFLAGS"
11283                 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11284         then
11285
11286 cat >>confdefs.h <<\_ACEOF
11287 #define HAVE_FREETYPE 1
11288 _ACEOF
11289
11290             wine_cv_msg_freetype=no
11291         else
11292             FREETYPELIBS=""
11293             FREETYPEINCL=""
11294             wine_cv_msg_freetype=yes
11295         fi
11296     fi
11297 fi
11298
11299 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11300 then
11301   FONTSSUBDIRS="fonts"
11302
11303 fi
11304
11305 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11306 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11307 if test "${ac_cv_c_ppdev+set}" = set; then
11308   echo $ECHO_N "(cached) $ECHO_C" >&6
11309 else
11310   cat >conftest.$ac_ext <<_ACEOF
11311 /* confdefs.h.  */
11312 _ACEOF
11313 cat confdefs.h >>conftest.$ac_ext
11314 cat >>conftest.$ac_ext <<_ACEOF
11315 /* end confdefs.h.  */
11316 #include <linux/ppdev.h>
11317 int
11318 main ()
11319 {
11320 ioctl (1,PPCLAIM,0)
11321   ;
11322   return 0;
11323 }
11324 _ACEOF
11325 rm -f conftest.$ac_objext
11326 if { (ac_try="$ac_compile"
11327 case "(($ac_try" in
11328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11329   *) ac_try_echo=$ac_try;;
11330 esac
11331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11332   (eval "$ac_compile") 2>conftest.er1
11333   ac_status=$?
11334   grep -v '^ *+' conftest.er1 >conftest.err
11335   rm -f conftest.er1
11336   cat conftest.err >&5
11337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11338   (exit $ac_status); } && {
11339          test -z "$ac_c_werror_flag" ||
11340          test ! -s conftest.err
11341        } && test -s conftest.$ac_objext; then
11342   ac_cv_c_ppdev="yes"
11343 else
11344   echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.$ac_ext >&5
11346
11347         ac_cv_c_ppdev="no"
11348 fi
11349
11350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11351 fi
11352 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11353 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11354 if test "$ac_cv_c_ppdev" = "yes"
11355 then
11356
11357 cat >>confdefs.h <<\_ACEOF
11358 #define HAVE_PPDEV 1
11359 _ACEOF
11360
11361 fi
11362
11363 { echo "$as_me:$LINENO: checking for va_copy" >&5
11364 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11365 if test "${ac_cv_c_va_copy+set}" = set; then
11366   echo $ECHO_N "(cached) $ECHO_C" >&6
11367 else
11368   cat >conftest.$ac_ext <<_ACEOF
11369 /* confdefs.h.  */
11370 _ACEOF
11371 cat confdefs.h >>conftest.$ac_ext
11372 cat >>conftest.$ac_ext <<_ACEOF
11373 /* end confdefs.h.  */
11374 #include <stdarg.h>
11375 int
11376 main ()
11377 {
11378 va_list ap1, ap2; va_copy(ap1,ap2);
11379   ;
11380   return 0;
11381 }
11382 _ACEOF
11383 rm -f conftest.$ac_objext conftest$ac_exeext
11384 if { (ac_try="$ac_link"
11385 case "(($ac_try" in
11386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11387   *) ac_try_echo=$ac_try;;
11388 esac
11389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11390   (eval "$ac_link") 2>conftest.er1
11391   ac_status=$?
11392   grep -v '^ *+' conftest.er1 >conftest.err
11393   rm -f conftest.er1
11394   cat conftest.err >&5
11395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11396   (exit $ac_status); } && {
11397          test -z "$ac_c_werror_flag" ||
11398          test ! -s conftest.err
11399        } && test -s conftest$ac_exeext &&
11400        $as_test_x conftest$ac_exeext; then
11401   ac_cv_c_va_copy="yes"
11402 else
11403   echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.$ac_ext >&5
11405
11406         ac_cv_c_va_copy="no"
11407 fi
11408
11409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11410       conftest$ac_exeext conftest.$ac_ext
11411
11412 fi
11413 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11414 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11415 if test "$ac_cv_c_va_copy" = "yes"
11416 then
11417
11418 cat >>confdefs.h <<\_ACEOF
11419 #define HAVE_VA_COPY 1
11420 _ACEOF
11421
11422 fi
11423 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11424 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11425 if test "${ac_cv_c___va_copy+set}" = set; then
11426   echo $ECHO_N "(cached) $ECHO_C" >&6
11427 else
11428   cat >conftest.$ac_ext <<_ACEOF
11429 /* confdefs.h.  */
11430 _ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h.  */
11434 #include <stdarg.h>
11435 int
11436 main ()
11437 {
11438 va_list ap1, ap2; __va_copy(ap1,ap2);
11439   ;
11440   return 0;
11441 }
11442 _ACEOF
11443 rm -f conftest.$ac_objext conftest$ac_exeext
11444 if { (ac_try="$ac_link"
11445 case "(($ac_try" in
11446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11447   *) ac_try_echo=$ac_try;;
11448 esac
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450   (eval "$ac_link") 2>conftest.er1
11451   ac_status=$?
11452   grep -v '^ *+' conftest.er1 >conftest.err
11453   rm -f conftest.er1
11454   cat conftest.err >&5
11455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456   (exit $ac_status); } && {
11457          test -z "$ac_c_werror_flag" ||
11458          test ! -s conftest.err
11459        } && test -s conftest$ac_exeext &&
11460        $as_test_x conftest$ac_exeext; then
11461   ac_cv_c___va_copy="yes"
11462 else
11463   echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11465
11466         ac_cv_c___va_copy="no"
11467 fi
11468
11469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11470       conftest$ac_exeext conftest.$ac_ext
11471
11472 fi
11473 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11474 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11475 if test "$ac_cv_c___va_copy" = "yes"
11476 then
11477
11478 cat >>confdefs.h <<\_ACEOF
11479 #define HAVE___VA_COPY 1
11480 _ACEOF
11481
11482 fi
11483
11484 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11485 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11486 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11487   echo $ECHO_N "(cached) $ECHO_C" >&6
11488 else
11489   cat >conftest.$ac_ext <<_ACEOF
11490 /* confdefs.h.  */
11491 _ACEOF
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h.  */
11495 #include <setjmp.h>
11496 int
11497 main ()
11498 {
11499 sigjmp_buf buf;
11500     sigsetjmp( buf, 1 );
11501     siglongjmp( buf, 1 );
11502   ;
11503   return 0;
11504 }
11505 _ACEOF
11506 rm -f conftest.$ac_objext conftest$ac_exeext
11507 if { (ac_try="$ac_link"
11508 case "(($ac_try" in
11509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11510   *) ac_try_echo=$ac_try;;
11511 esac
11512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11513   (eval "$ac_link") 2>conftest.er1
11514   ac_status=$?
11515   grep -v '^ *+' conftest.er1 >conftest.err
11516   rm -f conftest.er1
11517   cat conftest.err >&5
11518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519   (exit $ac_status); } && {
11520          test -z "$ac_c_werror_flag" ||
11521          test ! -s conftest.err
11522        } && test -s conftest$ac_exeext &&
11523        $as_test_x conftest$ac_exeext; then
11524   ac_cv_c_sigsetjmp="yes"
11525 else
11526   echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.$ac_ext >&5
11528
11529         ac_cv_c_sigsetjmp="no"
11530 fi
11531
11532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11533       conftest$ac_exeext conftest.$ac_ext
11534
11535 fi
11536 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11537 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11538 if test "$ac_cv_c_sigsetjmp" = "yes"
11539 then
11540
11541 cat >>confdefs.h <<\_ACEOF
11542 #define HAVE_SIGSETJMP 1
11543 _ACEOF
11544
11545 fi
11546
11547 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11548 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11549 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11550   echo $ECHO_N "(cached) $ECHO_C" >&6
11551 else
11552   cat >conftest.$ac_ext <<_ACEOF
11553 /* confdefs.h.  */
11554 _ACEOF
11555 cat confdefs.h >>conftest.$ac_ext
11556 cat >>conftest.$ac_ext <<_ACEOF
11557 /* end confdefs.h.  */
11558 #define _GNU_SOURCE
11559 #include <pthread.h>
11560
11561 typedef pthread_rwlock_t ac__type_new_;
11562 int
11563 main ()
11564 {
11565 if ((ac__type_new_ *) 0)
11566   return 0;
11567 if (sizeof (ac__type_new_))
11568   return 0;
11569   ;
11570   return 0;
11571 }
11572 _ACEOF
11573 rm -f conftest.$ac_objext
11574 if { (ac_try="$ac_compile"
11575 case "(($ac_try" in
11576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11577   *) ac_try_echo=$ac_try;;
11578 esac
11579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11580   (eval "$ac_compile") 2>conftest.er1
11581   ac_status=$?
11582   grep -v '^ *+' conftest.er1 >conftest.err
11583   rm -f conftest.er1
11584   cat conftest.err >&5
11585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586   (exit $ac_status); } && {
11587          test -z "$ac_c_werror_flag" ||
11588          test ! -s conftest.err
11589        } && test -s conftest.$ac_objext; then
11590   ac_cv_type_pthread_rwlock_t=yes
11591 else
11592   echo "$as_me: failed program was:" >&5
11593 sed 's/^/| /' conftest.$ac_ext >&5
11594
11595         ac_cv_type_pthread_rwlock_t=no
11596 fi
11597
11598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11599 fi
11600 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11601 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11602 if test $ac_cv_type_pthread_rwlock_t = yes; then
11603
11604 cat >>confdefs.h <<_ACEOF
11605 #define HAVE_PTHREAD_RWLOCK_T 1
11606 _ACEOF
11607
11608
11609 fi
11610 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11611 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11612 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11613   echo $ECHO_N "(cached) $ECHO_C" >&6
11614 else
11615   cat >conftest.$ac_ext <<_ACEOF
11616 /* confdefs.h.  */
11617 _ACEOF
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h.  */
11621 #define _GNU_SOURCE
11622 #include <pthread.h>
11623
11624 typedef pthread_rwlockattr_t ac__type_new_;
11625 int
11626 main ()
11627 {
11628 if ((ac__type_new_ *) 0)
11629   return 0;
11630 if (sizeof (ac__type_new_))
11631   return 0;
11632   ;
11633   return 0;
11634 }
11635 _ACEOF
11636 rm -f conftest.$ac_objext
11637 if { (ac_try="$ac_compile"
11638 case "(($ac_try" in
11639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11640   *) ac_try_echo=$ac_try;;
11641 esac
11642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11643   (eval "$ac_compile") 2>conftest.er1
11644   ac_status=$?
11645   grep -v '^ *+' conftest.er1 >conftest.err
11646   rm -f conftest.er1
11647   cat conftest.err >&5
11648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649   (exit $ac_status); } && {
11650          test -z "$ac_c_werror_flag" ||
11651          test ! -s conftest.err
11652        } && test -s conftest.$ac_objext; then
11653   ac_cv_type_pthread_rwlockattr_t=yes
11654 else
11655   echo "$as_me: failed program was:" >&5
11656 sed 's/^/| /' conftest.$ac_ext >&5
11657
11658         ac_cv_type_pthread_rwlockattr_t=no
11659 fi
11660
11661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11662 fi
11663 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11664 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11665 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11666
11667 cat >>confdefs.h <<_ACEOF
11668 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11669 _ACEOF
11670
11671
11672 fi
11673
11674
11675 ac_wine_check_funcs_save_LIBS="$LIBS"
11676 LIBS="$LIBS $LIBPTHREAD"
11677
11678
11679
11680
11681 for ac_func in \
11682         pthread_attr_get_np \
11683         pthread_getattr_np \
11684         pthread_get_stackaddr_np \
11685         pthread_get_stacksize_np
11686 do
11687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11691   echo $ECHO_N "(cached) $ECHO_C" >&6
11692 else
11693   cat >conftest.$ac_ext <<_ACEOF
11694 /* confdefs.h.  */
11695 _ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h.  */
11699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11700    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11701 #define $ac_func innocuous_$ac_func
11702
11703 /* System header to define __stub macros and hopefully few prototypes,
11704     which can conflict with char $ac_func (); below.
11705     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11706     <limits.h> exists even on freestanding compilers.  */
11707
11708 #ifdef __STDC__
11709 # include <limits.h>
11710 #else
11711 # include <assert.h>
11712 #endif
11713
11714 #undef $ac_func
11715
11716 /* Override any GCC internal prototype to avoid an error.
11717    Use char because int might match the return type of a GCC
11718    builtin and then its argument prototype would still apply.  */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char $ac_func ();
11723 /* The GNU C library defines this for functions which it implements
11724     to always fail with ENOSYS.  Some functions are actually named
11725     something starting with __ and the normal name is an alias.  */
11726 #if defined __stub_$ac_func || defined __stub___$ac_func
11727 choke me
11728 #endif
11729
11730 int
11731 main ()
11732 {
11733 return $ac_func ();
11734   ;
11735   return 0;
11736 }
11737 _ACEOF
11738 rm -f conftest.$ac_objext conftest$ac_exeext
11739 if { (ac_try="$ac_link"
11740 case "(($ac_try" in
11741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742   *) ac_try_echo=$ac_try;;
11743 esac
11744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11745   (eval "$ac_link") 2>conftest.er1
11746   ac_status=$?
11747   grep -v '^ *+' conftest.er1 >conftest.err
11748   rm -f conftest.er1
11749   cat conftest.err >&5
11750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751   (exit $ac_status); } && {
11752          test -z "$ac_c_werror_flag" ||
11753          test ! -s conftest.err
11754        } && test -s conftest$ac_exeext &&
11755        $as_test_x conftest$ac_exeext; then
11756   eval "$as_ac_var=yes"
11757 else
11758   echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.$ac_ext >&5
11760
11761         eval "$as_ac_var=no"
11762 fi
11763
11764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11765       conftest$ac_exeext conftest.$ac_ext
11766 fi
11767 ac_res=`eval echo '${'$as_ac_var'}'`
11768                { echo "$as_me:$LINENO: result: $ac_res" >&5
11769 echo "${ECHO_T}$ac_res" >&6; }
11770 if test `eval echo '${'$as_ac_var'}'` = yes; then
11771   cat >>confdefs.h <<_ACEOF
11772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11773 _ACEOF
11774
11775 fi
11776 done
11777
11778 LIBS="$ac_wine_check_funcs_save_LIBS"
11779
11780 # Extract the first word of "esd-config", so it can be a program name with args.
11781 set dummy esd-config; ac_word=$2
11782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11784 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11785   echo $ECHO_N "(cached) $ECHO_C" >&6
11786 else
11787   case $ESDCONFIG in
11788   [\\/]* | ?:[\\/]*)
11789   ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11790   ;;
11791   *)
11792   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $PATH
11794 do
11795   IFS=$as_save_IFS
11796   test -z "$as_dir" && as_dir=.
11797   for ac_exec_ext in '' $ac_executable_extensions; do
11798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799     ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11800     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11801     break 2
11802   fi
11803 done
11804 done
11805 IFS=$as_save_IFS
11806
11807   ;;
11808 esac
11809 fi
11810 ESDCONFIG=$ac_cv_path_ESDCONFIG
11811 if test -n "$ESDCONFIG"; then
11812   { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11813 echo "${ECHO_T}$ESDCONFIG" >&6; }
11814 else
11815   { echo "$as_me:$LINENO: result: no" >&5
11816 echo "${ECHO_T}no" >&6; }
11817 fi
11818
11819
11820 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11821 then
11822     ESD_CFLAGS=""
11823     for i in `$ESDCONFIG --cflags`
11824     do
11825       case "$i" in
11826         -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11827       esac
11828     done
11829     ESD_LIBS=`$ESDCONFIG --libs`
11830     save_CFLAGS="$CFLAGS"
11831     CFLAGS="$CFLAGS $ESD_CFLAGS"
11832     { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11833 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11834 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11835   echo $ECHO_N "(cached) $ECHO_C" >&6
11836 else
11837   ac_check_lib_save_LIBS=$LIBS
11838 LIBS="-lesd  $LIBS"
11839 cat >conftest.$ac_ext <<_ACEOF
11840 /* confdefs.h.  */
11841 _ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h.  */
11845
11846 /* Override any GCC internal prototype to avoid an error.
11847    Use char because int might match the return type of a GCC
11848    builtin and then its argument prototype would still apply.  */
11849 #ifdef __cplusplus
11850 extern "C"
11851 #endif
11852 char esd_open_sound ();
11853 int
11854 main ()
11855 {
11856 return esd_open_sound ();
11857   ;
11858   return 0;
11859 }
11860 _ACEOF
11861 rm -f conftest.$ac_objext conftest$ac_exeext
11862 if { (ac_try="$ac_link"
11863 case "(($ac_try" in
11864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11865   *) ac_try_echo=$ac_try;;
11866 esac
11867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11868   (eval "$ac_link") 2>conftest.er1
11869   ac_status=$?
11870   grep -v '^ *+' conftest.er1 >conftest.err
11871   rm -f conftest.er1
11872   cat conftest.err >&5
11873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874   (exit $ac_status); } && {
11875          test -z "$ac_c_werror_flag" ||
11876          test ! -s conftest.err
11877        } && test -s conftest$ac_exeext &&
11878        $as_test_x conftest$ac_exeext; then
11879   ac_cv_lib_esd_esd_open_sound=yes
11880 else
11881   echo "$as_me: failed program was:" >&5
11882 sed 's/^/| /' conftest.$ac_ext >&5
11883
11884         ac_cv_lib_esd_esd_open_sound=no
11885 fi
11886
11887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11888       conftest$ac_exeext conftest.$ac_ext
11889 LIBS=$ac_check_lib_save_LIBS
11890 fi
11891 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11892 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11893 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11894   ESDLIBS=$ESD_LIBS
11895
11896          ESDINCL=$ESD_CFLAGS
11897
11898
11899 cat >>confdefs.h <<\_ACEOF
11900 #define HAVE_ESD 1
11901 _ACEOF
11902
11903 fi
11904
11905     CFLAGS="$save_CFLAGS"
11906 fi
11907
11908 ALSALIBS=""
11909
11910 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11911 then
11912     { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11913 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11914 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11915   echo $ECHO_N "(cached) $ECHO_C" >&6
11916 else
11917   ac_check_lib_save_LIBS=$LIBS
11918 LIBS="-lasound  $LIBS"
11919 cat >conftest.$ac_ext <<_ACEOF
11920 /* confdefs.h.  */
11921 _ACEOF
11922 cat confdefs.h >>conftest.$ac_ext
11923 cat >>conftest.$ac_ext <<_ACEOF
11924 /* end confdefs.h.  */
11925
11926 /* Override any GCC internal prototype to avoid an error.
11927    Use char because int might match the return type of a GCC
11928    builtin and then its argument prototype would still apply.  */
11929 #ifdef __cplusplus
11930 extern "C"
11931 #endif
11932 char snd_pcm_hw_params_get_access ();
11933 int
11934 main ()
11935 {
11936 return snd_pcm_hw_params_get_access ();
11937   ;
11938   return 0;
11939 }
11940 _ACEOF
11941 rm -f conftest.$ac_objext conftest$ac_exeext
11942 if { (ac_try="$ac_link"
11943 case "(($ac_try" in
11944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11945   *) ac_try_echo=$ac_try;;
11946 esac
11947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11948   (eval "$ac_link") 2>conftest.er1
11949   ac_status=$?
11950   grep -v '^ *+' conftest.er1 >conftest.err
11951   rm -f conftest.er1
11952   cat conftest.err >&5
11953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954   (exit $ac_status); } && {
11955          test -z "$ac_c_werror_flag" ||
11956          test ! -s conftest.err
11957        } && test -s conftest$ac_exeext &&
11958        $as_test_x conftest$ac_exeext; then
11959   ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11960 else
11961   echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.$ac_ext >&5
11963
11964         ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11965 fi
11966
11967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11968       conftest$ac_exeext conftest.$ac_ext
11969 LIBS=$ac_check_lib_save_LIBS
11970 fi
11971 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11972 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
11973 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11974   cat >conftest.$ac_ext <<_ACEOF
11975 /* confdefs.h.  */
11976 _ACEOF
11977 cat confdefs.h >>conftest.$ac_ext
11978 cat >>conftest.$ac_ext <<_ACEOF
11979 /* end confdefs.h.  */
11980 #ifdef HAVE_ALSA_ASOUNDLIB_H
11981 #include <alsa/asoundlib.h>
11982 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11983 #include <sys/asoundlib.h>
11984 #endif
11985 int
11986 main ()
11987 {
11988 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11989   ;
11990   return 0;
11991 }
11992 _ACEOF
11993 rm -f conftest.$ac_objext
11994 if { (ac_try="$ac_compile"
11995 case "(($ac_try" in
11996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11997   *) ac_try_echo=$ac_try;;
11998 esac
11999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12000   (eval "$ac_compile") 2>conftest.er1
12001   ac_status=$?
12002   grep -v '^ *+' conftest.er1 >conftest.err
12003   rm -f conftest.er1
12004   cat conftest.err >&5
12005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006   (exit $ac_status); } && {
12007          test -z "$ac_c_werror_flag" ||
12008          test ! -s conftest.err
12009        } && test -s conftest.$ac_objext; then
12010
12011 cat >>confdefs.h <<\_ACEOF
12012 #define HAVE_ALSA 1
12013 _ACEOF
12014
12015                          ALSALIBS="-lasound"
12016 else
12017   echo "$as_me: failed program was:" >&5
12018 sed 's/^/| /' conftest.$ac_ext >&5
12019
12020
12021 fi
12022
12023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12024 fi
12025
12026 fi
12027
12028
12029 AUDIOIOLIBS=""
12030
12031 if test "$ac_cv_header_libaudioio_h" = "yes"
12032 then
12033     { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12034 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12035 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12036   echo $ECHO_N "(cached) $ECHO_C" >&6
12037 else
12038   ac_check_lib_save_LIBS=$LIBS
12039 LIBS="-laudioio  $LIBS"
12040 cat >conftest.$ac_ext <<_ACEOF
12041 /* confdefs.h.  */
12042 _ACEOF
12043 cat confdefs.h >>conftest.$ac_ext
12044 cat >>conftest.$ac_ext <<_ACEOF
12045 /* end confdefs.h.  */
12046
12047 /* Override any GCC internal prototype to avoid an error.
12048    Use char because int might match the return type of a GCC
12049    builtin and then its argument prototype would still apply.  */
12050 #ifdef __cplusplus
12051 extern "C"
12052 #endif
12053 char AudioIOGetVersion ();
12054 int
12055 main ()
12056 {
12057 return AudioIOGetVersion ();
12058   ;
12059   return 0;
12060 }
12061 _ACEOF
12062 rm -f conftest.$ac_objext conftest$ac_exeext
12063 if { (ac_try="$ac_link"
12064 case "(($ac_try" in
12065   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12066   *) ac_try_echo=$ac_try;;
12067 esac
12068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12069   (eval "$ac_link") 2>conftest.er1
12070   ac_status=$?
12071   grep -v '^ *+' conftest.er1 >conftest.err
12072   rm -f conftest.er1
12073   cat conftest.err >&5
12074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075   (exit $ac_status); } && {
12076          test -z "$ac_c_werror_flag" ||
12077          test ! -s conftest.err
12078        } && test -s conftest$ac_exeext &&
12079        $as_test_x conftest$ac_exeext; then
12080   ac_cv_lib_audioio_AudioIOGetVersion=yes
12081 else
12082   echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.$ac_ext >&5
12084
12085         ac_cv_lib_audioio_AudioIOGetVersion=no
12086 fi
12087
12088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12089       conftest$ac_exeext conftest.$ac_ext
12090 LIBS=$ac_check_lib_save_LIBS
12091 fi
12092 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12093 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12094 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12095   AUDIOIOLIBS="-laudioio"
12096
12097 cat >>confdefs.h <<\_ACEOF
12098 #define HAVE_LIBAUDIOIO 1
12099 _ACEOF
12100
12101 fi
12102
12103 fi
12104
12105
12106 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12107 then
12108     { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12109 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12110 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12111   echo $ECHO_N "(cached) $ECHO_C" >&6
12112 else
12113   ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lcapi20  $LIBS"
12115 cat >conftest.$ac_ext <<_ACEOF
12116 /* confdefs.h.  */
12117 _ACEOF
12118 cat confdefs.h >>conftest.$ac_ext
12119 cat >>conftest.$ac_ext <<_ACEOF
12120 /* end confdefs.h.  */
12121
12122 /* Override any GCC internal prototype to avoid an error.
12123    Use char because int might match the return type of a GCC
12124    builtin and then its argument prototype would still apply.  */
12125 #ifdef __cplusplus
12126 extern "C"
12127 #endif
12128 char capi20_register ();
12129 int
12130 main ()
12131 {
12132 return capi20_register ();
12133   ;
12134   return 0;
12135 }
12136 _ACEOF
12137 rm -f conftest.$ac_objext conftest$ac_exeext
12138 if { (ac_try="$ac_link"
12139 case "(($ac_try" in
12140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12141   *) ac_try_echo=$ac_try;;
12142 esac
12143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12144   (eval "$ac_link") 2>conftest.er1
12145   ac_status=$?
12146   grep -v '^ *+' conftest.er1 >conftest.err
12147   rm -f conftest.er1
12148   cat conftest.err >&5
12149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150   (exit $ac_status); } && {
12151          test -z "$ac_c_werror_flag" ||
12152          test ! -s conftest.err
12153        } && test -s conftest$ac_exeext &&
12154        $as_test_x conftest$ac_exeext; then
12155   ac_cv_lib_capi20_capi20_register=yes
12156 else
12157   echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12159
12160         ac_cv_lib_capi20_capi20_register=no
12161 fi
12162
12163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12164       conftest$ac_exeext conftest.$ac_ext
12165 LIBS=$ac_check_lib_save_LIBS
12166 fi
12167 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12168 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12169 if test $ac_cv_lib_capi20_capi20_register = yes; then
12170
12171 cat >>confdefs.h <<\_ACEOF
12172 #define HAVE_CAPI4LINUX 1
12173 _ACEOF
12174
12175 fi
12176
12177 fi
12178
12179
12180 EXTRACFLAGS=""
12181
12182 if test "x${GCC}" = "xyes"
12183 then
12184   EXTRACFLAGS="-Wall -pipe"
12185
12186     { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12187 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12188 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12189   echo $ECHO_N "(cached) $ECHO_C" >&6
12190 else
12191   if test "$cross_compiling" = yes; then
12192   ac_cv_c_gcc_strength_bug="yes"
12193 else
12194   cat >conftest.$ac_ext <<_ACEOF
12195 /* confdefs.h.  */
12196 _ACEOF
12197 cat confdefs.h >>conftest.$ac_ext
12198 cat >>conftest.$ac_ext <<_ACEOF
12199 /* end confdefs.h.  */
12200 int L[4] = {0,1,2,3};
12201 int
12202 main ()
12203 {
12204 static int Array[3];
12205   unsigned int B = 3;
12206   int i;
12207   for(i=0; i<B; i++) Array[i] = i - 3;
12208   for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12209   L[i] = 4;
12210   exit( Array[1] != -2 || L[2] != 3)
12211   ;
12212   return 0;
12213 }
12214 _ACEOF
12215 rm -f conftest$ac_exeext
12216 if { (ac_try="$ac_link"
12217 case "(($ac_try" in
12218   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12219   *) ac_try_echo=$ac_try;;
12220 esac
12221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12222   (eval "$ac_link") 2>&5
12223   ac_status=$?
12224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12225   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12226   { (case "(($ac_try" in
12227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12228   *) ac_try_echo=$ac_try;;
12229 esac
12230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12231   (eval "$ac_try") 2>&5
12232   ac_status=$?
12233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12234   (exit $ac_status); }; }; then
12235   ac_cv_c_gcc_strength_bug="no"
12236 else
12237   echo "$as_me: program exited with status $ac_status" >&5
12238 echo "$as_me: failed program was:" >&5
12239 sed 's/^/| /' conftest.$ac_ext >&5
12240
12241 ( exit $ac_status )
12242 ac_cv_c_gcc_strength_bug="yes"
12243 fi
12244 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12245 fi
12246
12247
12248 fi
12249 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12250 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12251   if test "$ac_cv_c_gcc_strength_bug" = "yes"
12252   then
12253     EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12254   fi
12255
12256
12257   { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12258 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12259 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12260   echo $ECHO_N "(cached) $ECHO_C" >&6
12261 else
12262   ac_wine_try_cflags_saved=$CFLAGS
12263 CFLAGS="$CFLAGS -fshort-wchar"
12264 cat >conftest.$ac_ext <<_ACEOF
12265 /* confdefs.h.  */
12266 _ACEOF
12267 cat confdefs.h >>conftest.$ac_ext
12268 cat >>conftest.$ac_ext <<_ACEOF
12269 /* end confdefs.h.  */
12270
12271 int
12272 main ()
12273 {
12274
12275   ;
12276   return 0;
12277 }
12278 _ACEOF
12279 rm -f conftest.$ac_objext conftest$ac_exeext
12280 if { (ac_try="$ac_link"
12281 case "(($ac_try" in
12282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12283   *) ac_try_echo=$ac_try;;
12284 esac
12285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12286   (eval "$ac_link") 2>conftest.er1
12287   ac_status=$?
12288   grep -v '^ *+' conftest.er1 >conftest.err
12289   rm -f conftest.er1
12290   cat conftest.err >&5
12291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292   (exit $ac_status); } && {
12293          test -z "$ac_c_werror_flag" ||
12294          test ! -s conftest.err
12295        } && test -s conftest$ac_exeext &&
12296        $as_test_x conftest$ac_exeext; then
12297   ac_cv_cflags__fshort_wchar=yes
12298 else
12299   echo "$as_me: failed program was:" >&5
12300 sed 's/^/| /' conftest.$ac_ext >&5
12301
12302         ac_cv_cflags__fshort_wchar=no
12303 fi
12304
12305 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12306       conftest$ac_exeext conftest.$ac_ext
12307 CFLAGS=$ac_wine_try_cflags_saved
12308 fi
12309 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12310 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12311 if test $ac_cv_cflags__fshort_wchar = yes; then
12312
12313 cat >>confdefs.h <<\_ACEOF
12314 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12315 _ACEOF
12316
12317 fi
12318
12319   { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12320 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12321 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12322   echo $ECHO_N "(cached) $ECHO_C" >&6
12323 else
12324   ac_wine_try_cflags_saved=$CFLAGS
12325 CFLAGS="$CFLAGS -fno-strict-aliasing"
12326 cat >conftest.$ac_ext <<_ACEOF
12327 /* confdefs.h.  */
12328 _ACEOF
12329 cat confdefs.h >>conftest.$ac_ext
12330 cat >>conftest.$ac_ext <<_ACEOF
12331 /* end confdefs.h.  */
12332
12333 int
12334 main ()
12335 {
12336
12337   ;
12338   return 0;
12339 }
12340 _ACEOF
12341 rm -f conftest.$ac_objext conftest$ac_exeext
12342 if { (ac_try="$ac_link"
12343 case "(($ac_try" in
12344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12345   *) ac_try_echo=$ac_try;;
12346 esac
12347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12348   (eval "$ac_link") 2>conftest.er1
12349   ac_status=$?
12350   grep -v '^ *+' conftest.er1 >conftest.err
12351   rm -f conftest.er1
12352   cat conftest.err >&5
12353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354   (exit $ac_status); } && {
12355          test -z "$ac_c_werror_flag" ||
12356          test ! -s conftest.err
12357        } && test -s conftest$ac_exeext &&
12358        $as_test_x conftest$ac_exeext; then
12359   ac_cv_cflags__fno_strict_aliasing=yes
12360 else
12361   echo "$as_me: failed program was:" >&5
12362 sed 's/^/| /' conftest.$ac_ext >&5
12363
12364         ac_cv_cflags__fno_strict_aliasing=no
12365 fi
12366
12367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12368       conftest$ac_exeext conftest.$ac_ext
12369 CFLAGS=$ac_wine_try_cflags_saved
12370 fi
12371 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12372 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12373 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12374   EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12375 fi
12376
12377   { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12378 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12379 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12380   echo $ECHO_N "(cached) $ECHO_C" >&6
12381 else
12382   ac_wine_try_cflags_saved=$CFLAGS
12383 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12384 cat >conftest.$ac_ext <<_ACEOF
12385 /* confdefs.h.  */
12386 _ACEOF
12387 cat confdefs.h >>conftest.$ac_ext
12388 cat >>conftest.$ac_ext <<_ACEOF
12389 /* end confdefs.h.  */
12390
12391 int
12392 main ()
12393 {
12394
12395   ;
12396   return 0;
12397 }
12398 _ACEOF
12399 rm -f conftest.$ac_objext conftest$ac_exeext
12400 if { (ac_try="$ac_link"
12401 case "(($ac_try" in
12402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12403   *) ac_try_echo=$ac_try;;
12404 esac
12405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12406   (eval "$ac_link") 2>conftest.er1
12407   ac_status=$?
12408   grep -v '^ *+' conftest.er1 >conftest.err
12409   rm -f conftest.er1
12410   cat conftest.err >&5
12411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12412   (exit $ac_status); } && {
12413          test -z "$ac_c_werror_flag" ||
12414          test ! -s conftest.err
12415        } && test -s conftest$ac_exeext &&
12416        $as_test_x conftest$ac_exeext; then
12417   ac_cv_cflags__Wdeclaration_after_statement=yes
12418 else
12419   echo "$as_me: failed program was:" >&5
12420 sed 's/^/| /' conftest.$ac_ext >&5
12421
12422         ac_cv_cflags__Wdeclaration_after_statement=no
12423 fi
12424
12425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12426       conftest$ac_exeext conftest.$ac_ext
12427 CFLAGS=$ac_wine_try_cflags_saved
12428 fi
12429 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12430 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12431 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12432   EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12433 fi
12434
12435   { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12436 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12437 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12438   echo $ECHO_N "(cached) $ECHO_C" >&6
12439 else
12440   ac_wine_try_cflags_saved=$CFLAGS
12441 CFLAGS="$CFLAGS -Wwrite-strings"
12442 cat >conftest.$ac_ext <<_ACEOF
12443 /* confdefs.h.  */
12444 _ACEOF
12445 cat confdefs.h >>conftest.$ac_ext
12446 cat >>conftest.$ac_ext <<_ACEOF
12447 /* end confdefs.h.  */
12448
12449 int
12450 main ()
12451 {
12452
12453   ;
12454   return 0;
12455 }
12456 _ACEOF
12457 rm -f conftest.$ac_objext conftest$ac_exeext
12458 if { (ac_try="$ac_link"
12459 case "(($ac_try" in
12460   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12461   *) ac_try_echo=$ac_try;;
12462 esac
12463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12464   (eval "$ac_link") 2>conftest.er1
12465   ac_status=$?
12466   grep -v '^ *+' conftest.er1 >conftest.err
12467   rm -f conftest.er1
12468   cat conftest.err >&5
12469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12470   (exit $ac_status); } && {
12471          test -z "$ac_c_werror_flag" ||
12472          test ! -s conftest.err
12473        } && test -s conftest$ac_exeext &&
12474        $as_test_x conftest$ac_exeext; then
12475   ac_cv_cflags__Wwrite_strings=yes
12476 else
12477   echo "$as_me: failed program was:" >&5
12478 sed 's/^/| /' conftest.$ac_ext >&5
12479
12480         ac_cv_cflags__Wwrite_strings=no
12481 fi
12482
12483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12484       conftest$ac_exeext conftest.$ac_ext
12485 CFLAGS=$ac_wine_try_cflags_saved
12486 fi
12487 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12488 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12489 if test $ac_cv_cflags__Wwrite_strings = yes; then
12490   EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12491 fi
12492
12493
12494     saved_CFLAGS="$CFLAGS"
12495   CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12496   { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12497 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12498 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12499   echo $ECHO_N "(cached) $ECHO_C" >&6
12500 else
12501   cat >conftest.$ac_ext <<_ACEOF
12502 /* confdefs.h.  */
12503 _ACEOF
12504 cat confdefs.h >>conftest.$ac_ext
12505 cat >>conftest.$ac_ext <<_ACEOF
12506 /* end confdefs.h.  */
12507 #include <string.h>
12508 int
12509 main ()
12510 {
12511
12512   ;
12513   return 0;
12514 }
12515 _ACEOF
12516 rm -f conftest.$ac_objext
12517 if { (ac_try="$ac_compile"
12518 case "(($ac_try" in
12519   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12520   *) ac_try_echo=$ac_try;;
12521 esac
12522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12523   (eval "$ac_compile") 2>conftest.er1
12524   ac_status=$?
12525   grep -v '^ *+' conftest.er1 >conftest.err
12526   rm -f conftest.er1
12527   cat conftest.err >&5
12528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529   (exit $ac_status); } && {
12530          test -z "$ac_c_werror_flag" ||
12531          test ! -s conftest.err
12532        } && test -s conftest.$ac_objext; then
12533   ac_cv_c_string_h_warnings=no
12534 else
12535   echo "$as_me: failed program was:" >&5
12536 sed 's/^/| /' conftest.$ac_ext >&5
12537
12538         ac_cv_c_string_h_warnings=yes
12539 fi
12540
12541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542 fi
12543 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12544 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12545   CFLAGS="$saved_CFLAGS"
12546   if test "$ac_cv_c_string_h_warnings" = "no"
12547   then
12548     EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12549   fi
12550
12551   BUILTINFLAG=""
12552
12553   saved_CFLAGS="$CFLAGS"
12554   CFLAGS="$CFLAGS -Werror"
12555   { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12556 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12557 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12558   echo $ECHO_N "(cached) $ECHO_C" >&6
12559 else
12560   cat >conftest.$ac_ext <<_ACEOF
12561 /* confdefs.h.  */
12562 _ACEOF
12563 cat confdefs.h >>conftest.$ac_ext
12564 cat >>conftest.$ac_ext <<_ACEOF
12565 /* end confdefs.h.  */
12566
12567 int
12568 main ()
12569 {
12570 int iswlower(unsigned short);
12571   ;
12572   return 0;
12573 }
12574 _ACEOF
12575 rm -f conftest.$ac_objext
12576 if { (ac_try="$ac_compile"
12577 case "(($ac_try" in
12578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12579   *) ac_try_echo=$ac_try;;
12580 esac
12581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12582   (eval "$ac_compile") 2>conftest.er1
12583   ac_status=$?
12584   grep -v '^ *+' conftest.er1 >conftest.err
12585   rm -f conftest.er1
12586   cat conftest.err >&5
12587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12588   (exit $ac_status); } && {
12589          test -z "$ac_c_werror_flag" ||
12590          test ! -s conftest.err
12591        } && test -s conftest.$ac_objext; then
12592   ac_cv_c_builtin_wchar_ctype=no
12593 else
12594   echo "$as_me: failed program was:" >&5
12595 sed 's/^/| /' conftest.$ac_ext >&5
12596
12597         ac_cv_c_builtin_wchar_ctype=yes
12598 fi
12599
12600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12601 fi
12602 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12603 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12604   CFLAGS="$saved_CFLAGS"
12605   if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12606   then
12607     BUILTINFLAG="-fno-builtin"
12608   fi
12609 fi
12610
12611
12612 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12613 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12614 if test "${ac_cv_asm_func_def+set}" = set; then
12615   echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617   cat >conftest.$ac_ext <<_ACEOF
12618 /* confdefs.h.  */
12619 _ACEOF
12620 cat confdefs.h >>conftest.$ac_ext
12621 cat >>conftest.$ac_ext <<_ACEOF
12622 /* end confdefs.h.  */
12623
12624 int
12625 main ()
12626 {
12627 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12628   ;
12629   return 0;
12630 }
12631 _ACEOF
12632 rm -f conftest.$ac_objext conftest$ac_exeext
12633 if { (ac_try="$ac_link"
12634 case "(($ac_try" in
12635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12636   *) ac_try_echo=$ac_try;;
12637 esac
12638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12639   (eval "$ac_link") 2>conftest.er1
12640   ac_status=$?
12641   grep -v '^ *+' conftest.er1 >conftest.err
12642   rm -f conftest.er1
12643   cat conftest.err >&5
12644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645   (exit $ac_status); } && {
12646          test -z "$ac_c_werror_flag" ||
12647          test ! -s conftest.err
12648        } && test -s conftest$ac_exeext &&
12649        $as_test_x conftest$ac_exeext; then
12650   ac_cv_asm_func_def=".def"
12651 else
12652   echo "$as_me: failed program was:" >&5
12653 sed 's/^/| /' conftest.$ac_ext >&5
12654
12655         cat >conftest.$ac_ext <<_ACEOF
12656 /* confdefs.h.  */
12657 _ACEOF
12658 cat confdefs.h >>conftest.$ac_ext
12659 cat >>conftest.$ac_ext <<_ACEOF
12660 /* end confdefs.h.  */
12661
12662 int
12663 main ()
12664 {
12665 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12666   ;
12667   return 0;
12668 }
12669 _ACEOF
12670 rm -f conftest.$ac_objext conftest$ac_exeext
12671 if { (ac_try="$ac_link"
12672 case "(($ac_try" in
12673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674   *) ac_try_echo=$ac_try;;
12675 esac
12676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12677   (eval "$ac_link") 2>conftest.er1
12678   ac_status=$?
12679   grep -v '^ *+' conftest.er1 >conftest.err
12680   rm -f conftest.er1
12681   cat conftest.err >&5
12682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683   (exit $ac_status); } && {
12684          test -z "$ac_c_werror_flag" ||
12685          test ! -s conftest.err
12686        } && test -s conftest$ac_exeext &&
12687        $as_test_x conftest$ac_exeext; then
12688   ac_cv_asm_func_def=".type @function"
12689 else
12690   echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12692
12693         cat >conftest.$ac_ext <<_ACEOF
12694 /* confdefs.h.  */
12695 _ACEOF
12696 cat confdefs.h >>conftest.$ac_ext
12697 cat >>conftest.$ac_ext <<_ACEOF
12698 /* end confdefs.h.  */
12699
12700 int
12701 main ()
12702 {
12703 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12704   ;
12705   return 0;
12706 }
12707 _ACEOF
12708 rm -f conftest.$ac_objext conftest$ac_exeext
12709 if { (ac_try="$ac_link"
12710 case "(($ac_try" in
12711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12712   *) ac_try_echo=$ac_try;;
12713 esac
12714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12715   (eval "$ac_link") 2>conftest.er1
12716   ac_status=$?
12717   grep -v '^ *+' conftest.er1 >conftest.err
12718   rm -f conftest.er1
12719   cat conftest.err >&5
12720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12721   (exit $ac_status); } && {
12722          test -z "$ac_c_werror_flag" ||
12723          test ! -s conftest.err
12724        } && test -s conftest$ac_exeext &&
12725        $as_test_x conftest$ac_exeext; then
12726   ac_cv_asm_func_def=".type 2"
12727 else
12728   echo "$as_me: failed program was:" >&5
12729 sed 's/^/| /' conftest.$ac_ext >&5
12730
12731         ac_cv_asm_func_def="unknown"
12732 fi
12733
12734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12735       conftest$ac_exeext conftest.$ac_ext
12736 fi
12737
12738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12739       conftest$ac_exeext conftest.$ac_ext
12740 fi
12741
12742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12743       conftest$ac_exeext conftest.$ac_ext
12744 fi
12745 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12746 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12747
12748
12749
12750 case "$ac_cv_asm_func_def" in
12751   ".def")
12752      cat >>confdefs.h <<\_ACEOF
12753 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12754 _ACEOF
12755  ;;
12756   ".type @function")
12757      cat >>confdefs.h <<\_ACEOF
12758 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12759 _ACEOF
12760  ;;
12761   ".type 2")
12762      cat >>confdefs.h <<\_ACEOF
12763 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12764 _ACEOF
12765  ;;
12766   *)
12767      cat >>confdefs.h <<\_ACEOF
12768 #define __ASM_FUNC(name) ""
12769 _ACEOF
12770  ;;
12771 esac
12772
12773
12774 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12775 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12776 if test "${ac_cv_c_extern_prefix+set}" = set; then
12777   echo $ECHO_N "(cached) $ECHO_C" >&6
12778 else
12779   cat >conftest.$ac_ext <<_ACEOF
12780 /* confdefs.h.  */
12781 _ACEOF
12782 cat confdefs.h >>conftest.$ac_ext
12783 cat >>conftest.$ac_ext <<_ACEOF
12784 /* end confdefs.h.  */
12785 extern int ac_test;
12786 int
12787 main ()
12788 {
12789 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12790   ;
12791   return 0;
12792 }
12793 _ACEOF
12794 rm -f conftest.$ac_objext conftest$ac_exeext
12795 if { (ac_try="$ac_link"
12796 case "(($ac_try" in
12797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12798   *) ac_try_echo=$ac_try;;
12799 esac
12800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12801   (eval "$ac_link") 2>conftest.er1
12802   ac_status=$?
12803   grep -v '^ *+' conftest.er1 >conftest.err
12804   rm -f conftest.er1
12805   cat conftest.err >&5
12806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807   (exit $ac_status); } && {
12808          test -z "$ac_c_werror_flag" ||
12809          test ! -s conftest.err
12810        } && test -s conftest$ac_exeext &&
12811        $as_test_x conftest$ac_exeext; then
12812   ac_cv_c_extern_prefix="yes"
12813 else
12814   echo "$as_me: failed program was:" >&5
12815 sed 's/^/| /' conftest.$ac_ext >&5
12816
12817         ac_cv_c_extern_prefix="no"
12818 fi
12819
12820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12821       conftest$ac_exeext conftest.$ac_ext
12822 fi
12823 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12824 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12825
12826
12827
12828 if test "$ac_cv_c_extern_prefix" = "yes"
12829 then
12830   cat >>confdefs.h <<\_ACEOF
12831 #define __ASM_NAME(name) "_" name
12832 _ACEOF
12833
12834 else
12835   cat >>confdefs.h <<\_ACEOF
12836 #define __ASM_NAME(name) name
12837 _ACEOF
12838
12839 fi
12840
12841
12842 DLLEXT=""
12843
12844 DLLFLAGS="-D_REENTRANT"
12845
12846 LDSHARED=""
12847
12848 LDDLLFLAGS=""
12849
12850 LIBEXT="so"
12851
12852 IMPLIBEXT="def"
12853
12854 LDRPATH_INSTALL=""
12855
12856 LDRPATH_LOCAL=""
12857
12858
12859 case $host_os in
12860   cygwin*|mingw32*)
12861     if test -n "$ac_tool_prefix"; then
12862   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12863 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12866 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12867   echo $ECHO_N "(cached) $ECHO_C" >&6
12868 else
12869   if test -n "$DLLTOOL"; then
12870   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12871 else
12872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12873 for as_dir in $PATH
12874 do
12875   IFS=$as_save_IFS
12876   test -z "$as_dir" && as_dir=.
12877   for ac_exec_ext in '' $ac_executable_extensions; do
12878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12879     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12880     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12881     break 2
12882   fi
12883 done
12884 done
12885 IFS=$as_save_IFS
12886
12887 fi
12888 fi
12889 DLLTOOL=$ac_cv_prog_DLLTOOL
12890 if test -n "$DLLTOOL"; then
12891   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12892 echo "${ECHO_T}$DLLTOOL" >&6; }
12893 else
12894   { echo "$as_me:$LINENO: result: no" >&5
12895 echo "${ECHO_T}no" >&6; }
12896 fi
12897
12898
12899 fi
12900 if test -z "$ac_cv_prog_DLLTOOL"; then
12901   ac_ct_DLLTOOL=$DLLTOOL
12902   # Extract the first word of "dlltool", so it can be a program name with args.
12903 set dummy dlltool; ac_word=$2
12904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12906 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12907   echo $ECHO_N "(cached) $ECHO_C" >&6
12908 else
12909   if test -n "$ac_ct_DLLTOOL"; then
12910   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12911 else
12912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12913 for as_dir in $PATH
12914 do
12915   IFS=$as_save_IFS
12916   test -z "$as_dir" && as_dir=.
12917   for ac_exec_ext in '' $ac_executable_extensions; do
12918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12919     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12920     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12921     break 2
12922   fi
12923 done
12924 done
12925 IFS=$as_save_IFS
12926
12927 fi
12928 fi
12929 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12930 if test -n "$ac_ct_DLLTOOL"; then
12931   { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12932 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12933 else
12934   { echo "$as_me:$LINENO: result: no" >&5
12935 echo "${ECHO_T}no" >&6; }
12936 fi
12937
12938   if test "x$ac_ct_DLLTOOL" = x; then
12939     DLLTOOL="false"
12940   else
12941     case $cross_compiling:$ac_tool_warned in
12942 yes:)
12943 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12944 whose name does not start with the host triplet.  If you think this
12945 configuration is useful to you, please write to autoconf@gnu.org." >&5
12946 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12947 whose name does not start with the host triplet.  If you think this
12948 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12949 ac_tool_warned=yes ;;
12950 esac
12951     DLLTOOL=$ac_ct_DLLTOOL
12952   fi
12953 else
12954   DLLTOOL="$ac_cv_prog_DLLTOOL"
12955 fi
12956
12957     if test -n "$ac_tool_prefix"; then
12958   # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12959 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12962 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12963   echo $ECHO_N "(cached) $ECHO_C" >&6
12964 else
12965   if test -n "$DLLWRAP"; then
12966   ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12967 else
12968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12969 for as_dir in $PATH
12970 do
12971   IFS=$as_save_IFS
12972   test -z "$as_dir" && as_dir=.
12973   for ac_exec_ext in '' $ac_executable_extensions; do
12974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12975     ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
12976     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12977     break 2
12978   fi
12979 done
12980 done
12981 IFS=$as_save_IFS
12982
12983 fi
12984 fi
12985 DLLWRAP=$ac_cv_prog_DLLWRAP
12986 if test -n "$DLLWRAP"; then
12987   { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
12988 echo "${ECHO_T}$DLLWRAP" >&6; }
12989 else
12990   { echo "$as_me:$LINENO: result: no" >&5
12991 echo "${ECHO_T}no" >&6; }
12992 fi
12993
12994
12995 fi
12996 if test -z "$ac_cv_prog_DLLWRAP"; then
12997   ac_ct_DLLWRAP=$DLLWRAP
12998   # Extract the first word of "dllwrap", so it can be a program name with args.
12999 set dummy dllwrap; ac_word=$2
13000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13002 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13003   echo $ECHO_N "(cached) $ECHO_C" >&6
13004 else
13005   if test -n "$ac_ct_DLLWRAP"; then
13006   ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13007 else
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13010 do
13011   IFS=$as_save_IFS
13012   test -z "$as_dir" && as_dir=.
13013   for ac_exec_ext in '' $ac_executable_extensions; do
13014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13015     ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13016     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13017     break 2
13018   fi
13019 done
13020 done
13021 IFS=$as_save_IFS
13022
13023 fi
13024 fi
13025 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13026 if test -n "$ac_ct_DLLWRAP"; then
13027   { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13028 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13029 else
13030   { echo "$as_me:$LINENO: result: no" >&5
13031 echo "${ECHO_T}no" >&6; }
13032 fi
13033
13034   if test "x$ac_ct_DLLWRAP" = x; then
13035     DLLWRAP="false"
13036   else
13037     case $cross_compiling:$ac_tool_warned in
13038 yes:)
13039 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13040 whose name does not start with the host triplet.  If you think this
13041 configuration is useful to you, please write to autoconf@gnu.org." >&5
13042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13043 whose name does not start with the host triplet.  If you think this
13044 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13045 ac_tool_warned=yes ;;
13046 esac
13047     DLLWRAP=$ac_ct_DLLWRAP
13048   fi
13049 else
13050   DLLWRAP="$ac_cv_prog_DLLWRAP"
13051 fi
13052
13053     if test -n "$ac_tool_prefix"; then
13054   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13055 set dummy ${ac_tool_prefix}ar; ac_word=$2
13056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13058 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13059   echo $ECHO_N "(cached) $ECHO_C" >&6
13060 else
13061   if test -n "$MINGWAR"; then
13062   ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13063 else
13064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13065 for as_dir in $PATH
13066 do
13067   IFS=$as_save_IFS
13068   test -z "$as_dir" && as_dir=.
13069   for ac_exec_ext in '' $ac_executable_extensions; do
13070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13071     ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13072     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13073     break 2
13074   fi
13075 done
13076 done
13077 IFS=$as_save_IFS
13078
13079 fi
13080 fi
13081 MINGWAR=$ac_cv_prog_MINGWAR
13082 if test -n "$MINGWAR"; then
13083   { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13084 echo "${ECHO_T}$MINGWAR" >&6; }
13085 else
13086   { echo "$as_me:$LINENO: result: no" >&5
13087 echo "${ECHO_T}no" >&6; }
13088 fi
13089
13090
13091 fi
13092 if test -z "$ac_cv_prog_MINGWAR"; then
13093   ac_ct_MINGWAR=$MINGWAR
13094   # Extract the first word of "ar", so it can be a program name with args.
13095 set dummy ar; ac_word=$2
13096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13098 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13099   echo $ECHO_N "(cached) $ECHO_C" >&6
13100 else
13101   if test -n "$ac_ct_MINGWAR"; then
13102   ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13103 else
13104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13105 for as_dir in $PATH
13106 do
13107   IFS=$as_save_IFS
13108   test -z "$as_dir" && as_dir=.
13109   for ac_exec_ext in '' $ac_executable_extensions; do
13110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13111     ac_cv_prog_ac_ct_MINGWAR="ar"
13112     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13113     break 2
13114   fi
13115 done
13116 done
13117 IFS=$as_save_IFS
13118
13119 fi
13120 fi
13121 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13122 if test -n "$ac_ct_MINGWAR"; then
13123   { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13124 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13125 else
13126   { echo "$as_me:$LINENO: result: no" >&5
13127 echo "${ECHO_T}no" >&6; }
13128 fi
13129
13130   if test "x$ac_ct_MINGWAR" = x; then
13131     MINGWAR="false"
13132   else
13133     case $cross_compiling:$ac_tool_warned in
13134 yes:)
13135 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13136 whose name does not start with the host triplet.  If you think this
13137 configuration is useful to you, please write to autoconf@gnu.org." >&5
13138 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13139 whose name does not start with the host triplet.  If you think this
13140 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13141 ac_tool_warned=yes ;;
13142 esac
13143     MINGWAR=$ac_ct_MINGWAR
13144   fi
13145 else
13146   MINGWAR="$ac_cv_prog_MINGWAR"
13147 fi
13148
13149     if test "$DLLWRAP" = "false"; then
13150       LIBEXT="a"
13151     else
13152             LIBEXT="dll"
13153     fi
13154     IMPLIBEXT="a"
13155         WIN16_FILES=""
13156     WIN16_INSTALL=""
13157     ;;
13158   darwin*|macosx*)
13159     DLLEXT=".so"
13160     LIBEXT="dylib"
13161     DLLFLAGS="$DLLFLAGS -fPIC"
13162     LDDLLFLAGS="-bundle -multiply_defined suppress"
13163     LIBWINE_LDFLAGS="-multiply_defined suppress"
13164     LDSHARED="\$(CC) -dynamiclib"
13165     STRIP="$STRIP -u -r"
13166     LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
13167         COREFOUNDATIONLIB="-framework CoreFoundation"
13168
13169     IOKITLIB="-framework IOKit -framework CoreFoundation"
13170
13171     LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13172
13173     if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13174     then
13175                 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13176
13177     fi
13178     if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13179     then
13180                 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13181
13182     fi
13183     case $host_cpu in
13184       *powerpc*)
13185         LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"          ;;
13186     esac
13187         if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13188     then
13189         CARBONLIB="-framework Carbon"
13190
13191         QUARTZFILES='$(QUARTZFILES)'
13192     fi
13193     ;;
13194   *)
13195     DLLFLAGS="$DLLFLAGS -fPIC"
13196     DLLEXT=".so"
13197     { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13198 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13199 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13200   echo $ECHO_N "(cached) $ECHO_C" >&6
13201 else
13202   ac_wine_try_cflags_saved=$CFLAGS
13203 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13204 cat >conftest.$ac_ext <<_ACEOF
13205 void myfunc() {}
13206 _ACEOF
13207 rm -f conftest.$ac_objext conftest$ac_exeext
13208 if { (ac_try="$ac_link"
13209 case "(($ac_try" in
13210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13211   *) ac_try_echo=$ac_try;;
13212 esac
13213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13214   (eval "$ac_link") 2>conftest.er1
13215   ac_status=$?
13216   grep -v '^ *+' conftest.er1 >conftest.err
13217   rm -f conftest.er1
13218   cat conftest.err >&5
13219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220   (exit $ac_status); } && {
13221          test -z "$ac_c_werror_flag" ||
13222          test ! -s conftest.err
13223        } && test -s conftest$ac_exeext &&
13224        $as_test_x conftest$ac_exeext; then
13225   ac_cv_c_dll_gnuelf="yes"
13226 else
13227   echo "$as_me: failed program was:" >&5
13228 sed 's/^/| /' conftest.$ac_ext >&5
13229
13230         ac_cv_c_dll_gnuelf="no"
13231 fi
13232
13233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13234       conftest$ac_exeext conftest.$ac_ext
13235 CFLAGS=$ac_wine_try_cflags_saved
13236 fi
13237 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13238 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13239     if test "$ac_cv_c_dll_gnuelf" = "yes"
13240     then
13241       LDSHARED="\$(CC) -shared"
13242       LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13243       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13244 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13245 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13246   echo $ECHO_N "(cached) $ECHO_C" >&6
13247 else
13248   ac_wine_try_cflags_saved=$CFLAGS
13249 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13250 cat >conftest.$ac_ext <<_ACEOF
13251 /* confdefs.h.  */
13252 _ACEOF
13253 cat confdefs.h >>conftest.$ac_ext
13254 cat >>conftest.$ac_ext <<_ACEOF
13255 /* end confdefs.h.  */
13256
13257 int
13258 main ()
13259 {
13260
13261   ;
13262   return 0;
13263 }
13264 _ACEOF
13265 rm -f conftest.$ac_objext conftest$ac_exeext
13266 if { (ac_try="$ac_link"
13267 case "(($ac_try" in
13268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13269   *) ac_try_echo=$ac_try;;
13270 esac
13271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13272   (eval "$ac_link") 2>conftest.er1
13273   ac_status=$?
13274   grep -v '^ *+' conftest.er1 >conftest.err
13275   rm -f conftest.er1
13276   cat conftest.err >&5
13277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278   (exit $ac_status); } && {
13279          test -z "$ac_c_werror_flag" ||
13280          test ! -s conftest.err
13281        } && test -s conftest$ac_exeext &&
13282        $as_test_x conftest$ac_exeext; then
13283   ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13284 else
13285   echo "$as_me: failed program was:" >&5
13286 sed 's/^/| /' conftest.$ac_ext >&5
13287
13288         ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13289 fi
13290
13291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13292       conftest$ac_exeext conftest.$ac_ext
13293 CFLAGS=$ac_wine_try_cflags_saved
13294 fi
13295 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13296 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13297 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13298   LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13299 else
13300   { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13301 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13302 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13303   echo $ECHO_N "(cached) $ECHO_C" >&6
13304 else
13305   ac_wine_try_cflags_saved=$CFLAGS
13306 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13307 cat >conftest.$ac_ext <<_ACEOF
13308 /* confdefs.h.  */
13309 _ACEOF
13310 cat confdefs.h >>conftest.$ac_ext
13311 cat >>conftest.$ac_ext <<_ACEOF
13312 /* end confdefs.h.  */
13313
13314 int
13315 main ()
13316 {
13317
13318   ;
13319   return 0;
13320 }
13321 _ACEOF
13322 rm -f conftest.$ac_objext conftest$ac_exeext
13323 if { (ac_try="$ac_link"
13324 case "(($ac_try" in
13325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13326   *) ac_try_echo=$ac_try;;
13327 esac
13328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13329   (eval "$ac_link") 2>conftest.er1
13330   ac_status=$?
13331   grep -v '^ *+' conftest.er1 >conftest.err
13332   rm -f conftest.er1
13333   cat conftest.err >&5
13334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13335   (exit $ac_status); } && {
13336          test -z "$ac_c_werror_flag" ||
13337          test ! -s conftest.err
13338        } && test -s conftest$ac_exeext &&
13339        $as_test_x conftest$ac_exeext; then
13340   ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13341 else
13342   echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.$ac_ext >&5
13344
13345         ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13346 fi
13347
13348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13349       conftest$ac_exeext conftest.$ac_ext
13350 CFLAGS=$ac_wine_try_cflags_saved
13351 fi
13352 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13353 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13354 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13355   LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13356 fi
13357
13358 fi
13359
13360
13361       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13362 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13363 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13364   echo $ECHO_N "(cached) $ECHO_C" >&6
13365 else
13366   ac_wine_try_cflags_saved=$CFLAGS
13367 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13368 cat >conftest.$ac_ext <<_ACEOF
13369 /* confdefs.h.  */
13370 _ACEOF
13371 cat confdefs.h >>conftest.$ac_ext
13372 cat >>conftest.$ac_ext <<_ACEOF
13373 /* end confdefs.h.  */
13374
13375 int
13376 main ()
13377 {
13378
13379   ;
13380   return 0;
13381 }
13382 _ACEOF
13383 rm -f conftest.$ac_objext conftest$ac_exeext
13384 if { (ac_try="$ac_link"
13385 case "(($ac_try" in
13386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13387   *) ac_try_echo=$ac_try;;
13388 esac
13389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13390   (eval "$ac_link") 2>conftest.er1
13391   ac_status=$?
13392   grep -v '^ *+' conftest.er1 >conftest.err
13393   rm -f conftest.er1
13394   cat conftest.err >&5
13395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13396   (exit $ac_status); } && {
13397          test -z "$ac_c_werror_flag" ||
13398          test ! -s conftest.err
13399        } && test -s conftest$ac_exeext &&
13400        $as_test_x conftest$ac_exeext; then
13401   ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13402 else
13403   echo "$as_me: failed program was:" >&5
13404 sed 's/^/| /' conftest.$ac_ext >&5
13405
13406         ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13407 fi
13408
13409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13410       conftest$ac_exeext conftest.$ac_ext
13411 CFLAGS=$ac_wine_try_cflags_saved
13412 fi
13413 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13414 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13415 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13416   LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13417 fi
13418
13419
13420       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13421 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13422 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13423   echo $ECHO_N "(cached) $ECHO_C" >&6
13424 else
13425   ac_wine_try_cflags_saved=$CFLAGS
13426 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13427 cat >conftest.$ac_ext <<_ACEOF
13428 /* confdefs.h.  */
13429 _ACEOF
13430 cat confdefs.h >>conftest.$ac_ext
13431 cat >>conftest.$ac_ext <<_ACEOF
13432 /* end confdefs.h.  */
13433
13434 int
13435 main ()
13436 {
13437
13438   ;
13439   return 0;
13440 }
13441 _ACEOF
13442 rm -f conftest.$ac_objext conftest$ac_exeext
13443 if { (ac_try="$ac_link"
13444 case "(($ac_try" in
13445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13446   *) ac_try_echo=$ac_try;;
13447 esac
13448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13449   (eval "$ac_link") 2>conftest.er1
13450   ac_status=$?
13451   grep -v '^ *+' conftest.er1 >conftest.err
13452   rm -f conftest.er1
13453   cat conftest.err >&5
13454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455   (exit $ac_status); } && {
13456          test -z "$ac_c_werror_flag" ||
13457          test ! -s conftest.err
13458        } && test -s conftest$ac_exeext &&
13459        $as_test_x conftest$ac_exeext; then
13460   ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13461 else
13462   echo "$as_me: failed program was:" >&5
13463 sed 's/^/| /' conftest.$ac_ext >&5
13464
13465         ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13466 fi
13467
13468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13469       conftest$ac_exeext conftest.$ac_ext
13470 CFLAGS=$ac_wine_try_cflags_saved
13471 fi
13472 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13473 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13474 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13475   LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13476 fi
13477
13478
13479       echo '{ global: *; };' >conftest.map
13480       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13481 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13482 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13483   echo $ECHO_N "(cached) $ECHO_C" >&6
13484 else
13485   ac_wine_try_cflags_saved=$CFLAGS
13486 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13487 cat >conftest.$ac_ext <<_ACEOF
13488 /* confdefs.h.  */
13489 _ACEOF
13490 cat confdefs.h >>conftest.$ac_ext
13491 cat >>conftest.$ac_ext <<_ACEOF
13492 /* end confdefs.h.  */
13493
13494 int
13495 main ()
13496 {
13497
13498   ;
13499   return 0;
13500 }
13501 _ACEOF
13502 rm -f conftest.$ac_objext conftest$ac_exeext
13503 if { (ac_try="$ac_link"
13504 case "(($ac_try" in
13505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13506   *) ac_try_echo=$ac_try;;
13507 esac
13508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13509   (eval "$ac_link") 2>conftest.er1
13510   ac_status=$?
13511   grep -v '^ *+' conftest.er1 >conftest.err
13512   rm -f conftest.er1
13513   cat conftest.err >&5
13514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515   (exit $ac_status); } && {
13516          test -z "$ac_c_werror_flag" ||
13517          test ! -s conftest.err
13518        } && test -s conftest$ac_exeext &&
13519        $as_test_x conftest$ac_exeext; then
13520   ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13521 else
13522   echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13524
13525         ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13526 fi
13527
13528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13529       conftest$ac_exeext conftest.$ac_ext
13530 CFLAGS=$ac_wine_try_cflags_saved
13531 fi
13532 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13533 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13534 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13535   LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13536 fi
13537
13538       rm -f conftest.map
13539
13540       { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13541 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13542 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13543   echo $ECHO_N "(cached) $ECHO_C" >&6
13544 else
13545   ac_wine_try_cflags_saved=$CFLAGS
13546 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13547 cat >conftest.$ac_ext <<_ACEOF
13548 /* confdefs.h.  */
13549 _ACEOF
13550 cat confdefs.h >>conftest.$ac_ext
13551 cat >>conftest.$ac_ext <<_ACEOF
13552 /* end confdefs.h.  */
13553
13554 int
13555 main ()
13556 {
13557
13558   ;
13559   return 0;
13560 }
13561 _ACEOF
13562 rm -f conftest.$ac_objext conftest$ac_exeext
13563 if { (ac_try="$ac_link"
13564 case "(($ac_try" in
13565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13566   *) ac_try_echo=$ac_try;;
13567 esac
13568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13569   (eval "$ac_link") 2>conftest.er1
13570   ac_status=$?
13571   grep -v '^ *+' conftest.er1 >conftest.err
13572   rm -f conftest.er1
13573   cat conftest.err >&5
13574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575   (exit $ac_status); } && {
13576          test -z "$ac_c_werror_flag" ||
13577          test ! -s conftest.err
13578        } && test -s conftest$ac_exeext &&
13579        $as_test_x conftest$ac_exeext; then
13580   ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13581 else
13582   echo "$as_me: failed program was:" >&5
13583 sed 's/^/| /' conftest.$ac_ext >&5
13584
13585         ac_cv_cflags__fPIC__Wl___export_dynamic=no
13586 fi
13587
13588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13589       conftest$ac_exeext conftest.$ac_ext
13590 CFLAGS=$ac_wine_try_cflags_saved
13591 fi
13592 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13593 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13594 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13595   LDEXECFLAGS="-Wl,--export-dynamic"
13596
13597 fi
13598
13599
13600       as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13601 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13602 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13603 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13604   echo $ECHO_N "(cached) $ECHO_C" >&6
13605 else
13606   ac_wine_try_cflags_saved=$CFLAGS
13607 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13608 cat >conftest.$ac_ext <<_ACEOF
13609 /* confdefs.h.  */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h.  */
13614
13615 int
13616 main ()
13617 {
13618
13619   ;
13620   return 0;
13621 }
13622 _ACEOF
13623 rm -f conftest.$ac_objext conftest$ac_exeext
13624 if { (ac_try="$ac_link"
13625 case "(($ac_try" in
13626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13627   *) ac_try_echo=$ac_try;;
13628 esac
13629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13630   (eval "$ac_link") 2>conftest.er1
13631   ac_status=$?
13632   grep -v '^ *+' conftest.er1 >conftest.err
13633   rm -f conftest.er1
13634   cat conftest.err >&5
13635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636   (exit $ac_status); } && {
13637          test -z "$ac_c_werror_flag" ||
13638          test ! -s conftest.err
13639        } && test -s conftest$ac_exeext &&
13640        $as_test_x conftest$ac_exeext; then
13641   eval "$as_ac_var=yes"
13642 else
13643   echo "$as_me: failed program was:" >&5
13644 sed 's/^/| /' conftest.$ac_ext >&5
13645
13646         eval "$as_ac_var=no"
13647 fi
13648
13649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13650       conftest$ac_exeext conftest.$ac_ext
13651 CFLAGS=$ac_wine_try_cflags_saved
13652 fi
13653 ac_res=`eval echo '${'$as_ac_var'}'`
13654                { echo "$as_me:$LINENO: result: $ac_res" >&5
13655 echo "${ECHO_T}$ac_res" >&6; }
13656 if test `eval echo '${'$as_ac_var'}'` = yes; then
13657   LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13658                        LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
13659 else
13660   as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
13661 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
13662 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
13663 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13664   echo $ECHO_N "(cached) $ECHO_C" >&6
13665 else
13666   ac_wine_try_cflags_saved=$CFLAGS
13667 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
13668 cat >conftest.$ac_ext <<_ACEOF
13669 /* confdefs.h.  */
13670 _ACEOF
13671 cat confdefs.h >>conftest.$ac_ext
13672 cat >>conftest.$ac_ext <<_ACEOF
13673 /* end confdefs.h.  */
13674
13675 int
13676 main ()
13677 {
13678
13679   ;
13680   return 0;
13681 }
13682 _ACEOF
13683 rm -f conftest.$ac_objext conftest$ac_exeext
13684 if { (ac_try="$ac_link"
13685 case "(($ac_try" in
13686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13687   *) ac_try_echo=$ac_try;;
13688 esac
13689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13690   (eval "$ac_link") 2>conftest.er1
13691   ac_status=$?
13692   grep -v '^ *+' conftest.er1 >conftest.err
13693   rm -f conftest.er1
13694   cat conftest.err >&5
13695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696   (exit $ac_status); } && {
13697          test -z "$ac_c_werror_flag" ||
13698          test ! -s conftest.err
13699        } && test -s conftest$ac_exeext &&
13700        $as_test_x conftest$ac_exeext; then
13701   eval "$as_ac_var=yes"
13702 else
13703   echo "$as_me: failed program was:" >&5
13704 sed 's/^/| /' conftest.$ac_ext >&5
13705
13706         eval "$as_ac_var=no"
13707 fi
13708
13709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13710       conftest$ac_exeext conftest.$ac_ext
13711 CFLAGS=$ac_wine_try_cflags_saved
13712 fi
13713 ac_res=`eval echo '${'$as_ac_var'}'`
13714                { echo "$as_me:$LINENO: result: $ac_res" >&5
13715 echo "${ECHO_T}$ac_res" >&6; }
13716 if test `eval echo '${'$as_ac_var'}'` = yes; then
13717   LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13718                             LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
13719 fi
13720
13721 fi
13722
13723
13724       case $host_cpu in
13725         *i[3456789]86* | x86_64)
13726           { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13727 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13728 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13729   echo $ECHO_N "(cached) $ECHO_C" >&6
13730 else
13731   ac_wine_try_cflags_saved=$CFLAGS
13732 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13733 cat >conftest.$ac_ext <<_ACEOF
13734 /* confdefs.h.  */
13735 _ACEOF
13736 cat confdefs.h >>conftest.$ac_ext
13737 cat >>conftest.$ac_ext <<_ACEOF
13738 /* end confdefs.h.  */
13739
13740 int
13741 main ()
13742 {
13743
13744   ;
13745   return 0;
13746 }
13747 _ACEOF
13748 rm -f conftest.$ac_objext conftest$ac_exeext
13749 if { (ac_try="$ac_link"
13750 case "(($ac_try" in
13751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13752   *) ac_try_echo=$ac_try;;
13753 esac
13754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13755   (eval "$ac_link") 2>conftest.er1
13756   ac_status=$?
13757   grep -v '^ *+' conftest.er1 >conftest.err
13758   rm -f conftest.er1
13759   cat conftest.err >&5
13760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761   (exit $ac_status); } && {
13762          test -z "$ac_c_werror_flag" ||
13763          test ! -s conftest.err
13764        } && test -s conftest$ac_exeext &&
13765        $as_test_x conftest$ac_exeext; then
13766   ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13767 else
13768   echo "$as_me: failed program was:" >&5
13769 sed 's/^/| /' conftest.$ac_ext >&5
13770
13771         ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13772 fi
13773
13774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13775       conftest$ac_exeext conftest.$ac_ext
13776 CFLAGS=$ac_wine_try_cflags_saved
13777 fi
13778 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13779 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13780 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13781   LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13782 fi
13783
13784           ;;
13785       esac
13786
13787     else
13788       { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13789 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13790 if test "${ac_cv_c_dll_unixware+set}" = set; then
13791   echo $ECHO_N "(cached) $ECHO_C" >&6
13792 else
13793   ac_wine_try_cflags_saved=$CFLAGS
13794 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13795 cat >conftest.$ac_ext <<_ACEOF
13796 void myfunc() {}
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   ac_cv_c_dll_unixware="yes"
13817 else
13818   echo "$as_me: failed program was:" >&5
13819 sed 's/^/| /' conftest.$ac_ext >&5
13820
13821         ac_cv_c_dll_unixware="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 CFLAGS=$ac_wine_try_cflags_saved
13827 fi
13828 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13829 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13830       if test "$ac_cv_c_dll_unixware" = "yes"
13831       then
13832         LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13833         LDDLLFLAGS="-Wl,-G,-B,symbolic"
13834
13835       else
13836         { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13837 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13838 if test "${ac_cv_c_dll_hpux+set}" = set; then
13839   echo $ECHO_N "(cached) $ECHO_C" >&6
13840 else
13841   ac_wine_try_cflags_saved=$CFLAGS
13842 CFLAGS="$CFLAGS -shared"
13843 cat >conftest.$ac_ext <<_ACEOF
13844 void myfunc() {}
13845 _ACEOF
13846 rm -f conftest.$ac_objext conftest$ac_exeext
13847 if { (ac_try="$ac_link"
13848 case "(($ac_try" in
13849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13850   *) ac_try_echo=$ac_try;;
13851 esac
13852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13853   (eval "$ac_link") 2>conftest.er1
13854   ac_status=$?
13855   grep -v '^ *+' conftest.er1 >conftest.err
13856   rm -f conftest.er1
13857   cat conftest.err >&5
13858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859   (exit $ac_status); } && {
13860          test -z "$ac_c_werror_flag" ||
13861          test ! -s conftest.err
13862        } && test -s conftest$ac_exeext &&
13863        $as_test_x conftest$ac_exeext; then
13864   ac_cv_c_dll_hpux="yes"
13865 else
13866   echo "$as_me: failed program was:" >&5
13867 sed 's/^/| /' conftest.$ac_ext >&5
13868
13869         ac_cv_c_dll_hpux="no"
13870 fi
13871
13872 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13873       conftest$ac_exeext conftest.$ac_ext
13874 CFLAGS=$ac_wine_try_cflags_saved
13875 fi
13876 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13877 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13878         if test "$ac_cv_c_dll_hpux" = "yes"
13879         then
13880           LIBEXT="sl"
13881           DLLEXT=".sl"
13882           LDDLLFLAGS="-shared -fPIC"
13883           LDSHARED="\$(CC) -shared"
13884         fi
13885       fi
13886     fi
13887
13888         CROSSTEST=""
13889
13890     if test "$cross_compiling" = "no"
13891     then
13892       for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13893 do
13894   # Extract the first word of "$ac_prog", so it can be a program name with args.
13895 set dummy $ac_prog; ac_word=$2
13896 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13898 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13899   echo $ECHO_N "(cached) $ECHO_C" >&6
13900 else
13901   if test -n "$CROSSCC"; then
13902   ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13903 else
13904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13905 for as_dir in $PATH
13906 do
13907   IFS=$as_save_IFS
13908   test -z "$as_dir" && as_dir=.
13909   for ac_exec_ext in '' $ac_executable_extensions; do
13910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13911     ac_cv_prog_CROSSCC="$ac_prog"
13912     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13913     break 2
13914   fi
13915 done
13916 done
13917 IFS=$as_save_IFS
13918
13919 fi
13920 fi
13921 CROSSCC=$ac_cv_prog_CROSSCC
13922 if test -n "$CROSSCC"; then
13923   { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13924 echo "${ECHO_T}$CROSSCC" >&6; }
13925 else
13926   { echo "$as_me:$LINENO: result: no" >&5
13927 echo "${ECHO_T}no" >&6; }
13928 fi
13929
13930
13931   test -n "$CROSSCC" && break
13932 done
13933 test -n "$CROSSCC" || CROSSCC="false"
13934
13935       for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13936 do
13937   # Extract the first word of "$ac_prog", so it can be a program name with args.
13938 set dummy $ac_prog; ac_word=$2
13939 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13941 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13942   echo $ECHO_N "(cached) $ECHO_C" >&6
13943 else
13944   if test -n "$DLLTOOL"; then
13945   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13946 else
13947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13948 for as_dir in $PATH
13949 do
13950   IFS=$as_save_IFS
13951   test -z "$as_dir" && as_dir=.
13952   for ac_exec_ext in '' $ac_executable_extensions; do
13953   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13954     ac_cv_prog_DLLTOOL="$ac_prog"
13955     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13956     break 2
13957   fi
13958 done
13959 done
13960 IFS=$as_save_IFS
13961
13962 fi
13963 fi
13964 DLLTOOL=$ac_cv_prog_DLLTOOL
13965 if test -n "$DLLTOOL"; then
13966   { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13967 echo "${ECHO_T}$DLLTOOL" >&6; }
13968 else
13969   { echo "$as_me:$LINENO: result: no" >&5
13970 echo "${ECHO_T}no" >&6; }
13971 fi
13972
13973
13974   test -n "$DLLTOOL" && break
13975 done
13976 test -n "$DLLTOOL" || DLLTOOL="false"
13977
13978       for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
13979 do
13980   # Extract the first word of "$ac_prog", so it can be a program name with args.
13981 set dummy $ac_prog; ac_word=$2
13982 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13984 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
13985   echo $ECHO_N "(cached) $ECHO_C" >&6
13986 else
13987   if test -n "$CROSSWINDRES"; then
13988   ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
13989 else
13990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13991 for as_dir in $PATH
13992 do
13993   IFS=$as_save_IFS
13994   test -z "$as_dir" && as_dir=.
13995   for ac_exec_ext in '' $ac_executable_extensions; do
13996   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13997     ac_cv_prog_CROSSWINDRES="$ac_prog"
13998     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13999     break 2
14000   fi
14001 done
14002 done
14003 IFS=$as_save_IFS
14004
14005 fi
14006 fi
14007 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14008 if test -n "$CROSSWINDRES"; then
14009   { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14010 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14011 else
14012   { echo "$as_me:$LINENO: result: no" >&5
14013 echo "${ECHO_T}no" >&6; }
14014 fi
14015
14016
14017   test -n "$CROSSWINDRES" && break
14018 done
14019 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14020
14021       for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14022 do
14023   # Extract the first word of "$ac_prog", so it can be a program name with args.
14024 set dummy $ac_prog; ac_word=$2
14025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14027 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14028   echo $ECHO_N "(cached) $ECHO_C" >&6
14029 else
14030   if test -n "$MINGWAR"; then
14031   ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14032 else
14033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14034 for as_dir in $PATH
14035 do
14036   IFS=$as_save_IFS
14037   test -z "$as_dir" && as_dir=.
14038   for ac_exec_ext in '' $ac_executable_extensions; do
14039   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14040     ac_cv_prog_MINGWAR="$ac_prog"
14041     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14042     break 2
14043   fi
14044 done
14045 done
14046 IFS=$as_save_IFS
14047
14048 fi
14049 fi
14050 MINGWAR=$ac_cv_prog_MINGWAR
14051 if test -n "$MINGWAR"; then
14052   { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14053 echo "${ECHO_T}$MINGWAR" >&6; }
14054 else
14055   { echo "$as_me:$LINENO: result: no" >&5
14056 echo "${ECHO_T}no" >&6; }
14057 fi
14058
14059
14060   test -n "$MINGWAR" && break
14061 done
14062 test -n "$MINGWAR" || MINGWAR="false"
14063
14064       if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14065     fi
14066     ;;
14067 esac
14068
14069 if test "$LIBEXT" = "a"; then
14070   { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14071 It is currently not possible to build Wine without shared library
14072 (.so) support to allow transparent switch between .so and .dll files.
14073 If you are using Linux, you will need a newer binutils.
14074 " >&5
14075 echo "$as_me: error: could not find a way to build shared libraries.
14076 It is currently not possible to build Wine without shared library
14077 (.so) support to allow transparent switch between .so and .dll files.
14078 If you are using Linux, you will need a newer binutils.
14079 " >&2;}
14080    { (exit 1); exit 1; }; }
14081 fi
14082
14083 case $build_os in
14084   cygwin*|mingw32*)
14085     LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14086  ;;
14087   darwin*|macosx*)
14088     LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14089  ;;
14090   *)
14091     LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14092  ;;
14093 esac
14094
14095 case $host_os in
14096   mingw32*)
14097     CRTLIBS="-lmsvcrt"
14098
14099     SOCKETLIBS="-lws2_32"
14100
14101     ;;
14102 esac
14103
14104 MAIN_BINARY="wine-pthread"
14105   case $host_cpu in
14106   *i[3456789]86*)
14107     case $host_os in
14108       linux* | k*bsd*-gnu)
14109         MAIN_BINARY="wine-glibc"
14110
14111         EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14112  ;;
14113     esac
14114     ;;
14115 esac
14116
14117
14118 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14119 then
14120   # Extract the first word of "ldd", so it can be a program name with args.
14121 set dummy ldd; ac_word=$2
14122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14124 if test "${ac_cv_path_LDD+set}" = set; then
14125   echo $ECHO_N "(cached) $ECHO_C" >&6
14126 else
14127   case $LDD in
14128   [\\/]* | ?:[\\/]*)
14129   ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14130   ;;
14131   *)
14132   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14133 as_dummy="/sbin:/usr/sbin:$PATH"
14134 for as_dir in $as_dummy
14135 do
14136   IFS=$as_save_IFS
14137   test -z "$as_dir" && as_dir=.
14138   for ac_exec_ext in '' $ac_executable_extensions; do
14139   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14140     ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14141     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14142     break 2
14143   fi
14144 done
14145 done
14146 IFS=$as_save_IFS
14147
14148   test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14149   ;;
14150 esac
14151 fi
14152 LDD=$ac_cv_path_LDD
14153 if test -n "$LDD"; then
14154   { echo "$as_me:$LINENO: result: $LDD" >&5
14155 echo "${ECHO_T}$LDD" >&6; }
14156 else
14157   { echo "$as_me:$LINENO: result: no" >&5
14158 echo "${ECHO_T}no" >&6; }
14159 fi
14160
14161
14162 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14163 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14164 if test "${ac_cv_lib_soname_X11+set}" = set; then
14165   echo $ECHO_N "(cached) $ECHO_C" >&6
14166 else
14167   ac_get_soname_save_LIBS=$LIBS
14168 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14169   cat >conftest.$ac_ext <<_ACEOF
14170 /* confdefs.h.  */
14171 _ACEOF
14172 cat confdefs.h >>conftest.$ac_ext
14173 cat >>conftest.$ac_ext <<_ACEOF
14174 /* end confdefs.h.  */
14175
14176 /* Override any GCC internal prototype to avoid an error.
14177    Use char because int might match the return type of a GCC
14178    builtin and then its argument prototype would still apply.  */
14179 #ifdef __cplusplus
14180 extern "C"
14181 #endif
14182 char XCreateWindow ();
14183 int
14184 main ()
14185 {
14186 return XCreateWindow ();
14187   ;
14188   return 0;
14189 }
14190 _ACEOF
14191 rm -f conftest.$ac_objext conftest$ac_exeext
14192 if { (ac_try="$ac_link"
14193 case "(($ac_try" in
14194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14195   *) ac_try_echo=$ac_try;;
14196 esac
14197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14198   (eval "$ac_link") 2>conftest.er1
14199   ac_status=$?
14200   grep -v '^ *+' conftest.er1 >conftest.err
14201   rm -f conftest.er1
14202   cat conftest.err >&5
14203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204   (exit $ac_status); } && {
14205          test -z "$ac_c_werror_flag" ||
14206          test ! -s conftest.err
14207        } && test -s conftest$ac_exeext &&
14208        $as_test_x conftest$ac_exeext; then
14209   case "$LIBEXT" in
14210     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'` ;;
14211     so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^        ]*\).*$/\1/"';2,$d'` ;;
14212   esac
14213   if test "x$ac_cv_lib_soname_X11" = "x"
14214   then
14215      ac_cv_lib_soname_X11="libX11.$LIBEXT"
14216   fi
14217 else
14218   echo "$as_me: failed program was:" >&5
14219 sed 's/^/| /' conftest.$ac_ext >&5
14220
14221         ac_cv_lib_soname_X11="libX11.$LIBEXT"
14222 fi
14223
14224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14225       conftest$ac_exeext conftest.$ac_ext
14226   LIBS=$ac_get_soname_save_LIBS
14227 fi
14228 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14229 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14230 if test "${ac_cv_lib_soname_X11+set}" = set; then
14231
14232 cat >>confdefs.h <<_ACEOF
14233 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14234 _ACEOF
14235
14236 fi
14237
14238   { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14239 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14240 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14241   echo $ECHO_N "(cached) $ECHO_C" >&6
14242 else
14243   ac_get_soname_save_LIBS=$LIBS
14244 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14245   cat >conftest.$ac_ext <<_ACEOF
14246 /* confdefs.h.  */
14247 _ACEOF
14248 cat confdefs.h >>conftest.$ac_ext
14249 cat >>conftest.$ac_ext <<_ACEOF
14250 /* end confdefs.h.  */
14251
14252 /* Override any GCC internal prototype to avoid an error.
14253    Use char because int might match the return type of a GCC
14254    builtin and then its argument prototype would still apply.  */
14255 #ifdef __cplusplus
14256 extern "C"
14257 #endif
14258 char XextCreateExtension ();
14259 int
14260 main ()
14261 {
14262 return XextCreateExtension ();
14263   ;
14264   return 0;
14265 }
14266 _ACEOF
14267 rm -f conftest.$ac_objext conftest$ac_exeext
14268 if { (ac_try="$ac_link"
14269 case "(($ac_try" in
14270   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14271   *) ac_try_echo=$ac_try;;
14272 esac
14273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14274   (eval "$ac_link") 2>conftest.er1
14275   ac_status=$?
14276   grep -v '^ *+' conftest.er1 >conftest.err
14277   rm -f conftest.er1
14278   cat conftest.err >&5
14279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280   (exit $ac_status); } && {
14281          test -z "$ac_c_werror_flag" ||
14282          test ! -s conftest.err
14283        } && test -s conftest$ac_exeext &&
14284        $as_test_x conftest$ac_exeext; then
14285   case "$LIBEXT" in
14286     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'` ;;
14287     so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^     ]*\).*$/\1/"';2,$d'` ;;
14288   esac
14289   if test "x$ac_cv_lib_soname_Xext" = "x"
14290   then
14291      ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14292   fi
14293 else
14294   echo "$as_me: failed program was:" >&5
14295 sed 's/^/| /' conftest.$ac_ext >&5
14296
14297         ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14298 fi
14299
14300 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14301       conftest$ac_exeext conftest.$ac_ext
14302   LIBS=$ac_get_soname_save_LIBS
14303 fi
14304 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14305 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14306 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14307
14308 cat >>confdefs.h <<_ACEOF
14309 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14310 _ACEOF
14311
14312 fi
14313
14314   { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14315 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14316 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14317   echo $ECHO_N "(cached) $ECHO_C" >&6
14318 else
14319   ac_get_soname_save_LIBS=$LIBS
14320 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14321   cat >conftest.$ac_ext <<_ACEOF
14322 /* confdefs.h.  */
14323 _ACEOF
14324 cat confdefs.h >>conftest.$ac_ext
14325 cat >>conftest.$ac_ext <<_ACEOF
14326 /* end confdefs.h.  */
14327
14328 /* Override any GCC internal prototype to avoid an error.
14329    Use char because int might match the return type of a GCC
14330    builtin and then its argument prototype would still apply.  */
14331 #ifdef __cplusplus
14332 extern "C"
14333 #endif
14334 char XOpenDevice ();
14335 int
14336 main ()
14337 {
14338 return XOpenDevice ();
14339   ;
14340   return 0;
14341 }
14342 _ACEOF
14343 rm -f conftest.$ac_objext conftest$ac_exeext
14344 if { (ac_try="$ac_link"
14345 case "(($ac_try" in
14346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14347   *) ac_try_echo=$ac_try;;
14348 esac
14349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14350   (eval "$ac_link") 2>conftest.er1
14351   ac_status=$?
14352   grep -v '^ *+' conftest.er1 >conftest.err
14353   rm -f conftest.er1
14354   cat conftest.err >&5
14355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14356   (exit $ac_status); } && {
14357          test -z "$ac_c_werror_flag" ||
14358          test ! -s conftest.err
14359        } && test -s conftest$ac_exeext &&
14360        $as_test_x conftest$ac_exeext; then
14361   case "$LIBEXT" in
14362     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'` ;;
14363     so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^   ]*\).*$/\1/"';2,$d'` ;;
14364   esac
14365   if test "x$ac_cv_lib_soname_Xi" = "x"
14366   then
14367      ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14368   fi
14369 else
14370   echo "$as_me: failed program was:" >&5
14371 sed 's/^/| /' conftest.$ac_ext >&5
14372
14373         ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14374 fi
14375
14376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14377       conftest$ac_exeext conftest.$ac_ext
14378   LIBS=$ac_get_soname_save_LIBS
14379 fi
14380 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14381 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14382 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14383
14384 cat >>confdefs.h <<_ACEOF
14385 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14386 _ACEOF
14387
14388 fi
14389
14390   { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14391 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14392 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14393   echo $ECHO_N "(cached) $ECHO_C" >&6
14394 else
14395   ac_get_soname_save_LIBS=$LIBS
14396 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14397   cat >conftest.$ac_ext <<_ACEOF
14398 /* confdefs.h.  */
14399 _ACEOF
14400 cat confdefs.h >>conftest.$ac_ext
14401 cat >>conftest.$ac_ext <<_ACEOF
14402 /* end confdefs.h.  */
14403
14404 /* Override any GCC internal prototype to avoid an error.
14405    Use char because int might match the return type of a GCC
14406    builtin and then its argument prototype would still apply.  */
14407 #ifdef __cplusplus
14408 extern "C"
14409 #endif
14410 char XineramaQueryScreens ();
14411 int
14412 main ()
14413 {
14414 return XineramaQueryScreens ();
14415   ;
14416   return 0;
14417 }
14418 _ACEOF
14419 rm -f conftest.$ac_objext conftest$ac_exeext
14420 if { (ac_try="$ac_link"
14421 case "(($ac_try" in
14422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14423   *) ac_try_echo=$ac_try;;
14424 esac
14425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14426   (eval "$ac_link") 2>conftest.er1
14427   ac_status=$?
14428   grep -v '^ *+' conftest.er1 >conftest.err
14429   rm -f conftest.er1
14430   cat conftest.err >&5
14431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432   (exit $ac_status); } && {
14433          test -z "$ac_c_werror_flag" ||
14434          test ! -s conftest.err
14435        } && test -s conftest$ac_exeext &&
14436        $as_test_x conftest$ac_exeext; then
14437   case "$LIBEXT" in
14438     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'` ;;
14439     so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^         ]*\).*$/\1/"';2,$d'` ;;
14440   esac
14441   if test "x$ac_cv_lib_soname_Xinerama" = "x"
14442   then
14443      ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14444   fi
14445 else
14446   echo "$as_me: failed program was:" >&5
14447 sed 's/^/| /' conftest.$ac_ext >&5
14448
14449         ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14450 fi
14451
14452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14453       conftest$ac_exeext conftest.$ac_ext
14454   LIBS=$ac_get_soname_save_LIBS
14455 fi
14456 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14457 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14458 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14459
14460 cat >>confdefs.h <<_ACEOF
14461 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14462 _ACEOF
14463
14464 fi
14465
14466   { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14467 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14468 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14469   echo $ECHO_N "(cached) $ECHO_C" >&6
14470 else
14471   ac_get_soname_save_LIBS=$LIBS
14472 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14473   cat >conftest.$ac_ext <<_ACEOF
14474 /* confdefs.h.  */
14475 _ACEOF
14476 cat confdefs.h >>conftest.$ac_ext
14477 cat >>conftest.$ac_ext <<_ACEOF
14478 /* end confdefs.h.  */
14479
14480 /* Override any GCC internal prototype to avoid an error.
14481    Use char because int might match the return type of a GCC
14482    builtin and then its argument prototype would still apply.  */
14483 #ifdef __cplusplus
14484 extern "C"
14485 #endif
14486 char XRenderQueryExtension ();
14487 int
14488 main ()
14489 {
14490 return XRenderQueryExtension ();
14491   ;
14492   return 0;
14493 }
14494 _ACEOF
14495 rm -f conftest.$ac_objext conftest$ac_exeext
14496 if { (ac_try="$ac_link"
14497 case "(($ac_try" in
14498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14499   *) ac_try_echo=$ac_try;;
14500 esac
14501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14502   (eval "$ac_link") 2>conftest.er1
14503   ac_status=$?
14504   grep -v '^ *+' conftest.er1 >conftest.err
14505   rm -f conftest.er1
14506   cat conftest.err >&5
14507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508   (exit $ac_status); } && {
14509          test -z "$ac_c_werror_flag" ||
14510          test ! -s conftest.err
14511        } && test -s conftest$ac_exeext &&
14512        $as_test_x conftest$ac_exeext; then
14513   case "$LIBEXT" in
14514     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'` ;;
14515     so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^    ]*\).*$/\1/"';2,$d'` ;;
14516   esac
14517   if test "x$ac_cv_lib_soname_Xrender" = "x"
14518   then
14519      ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14520   fi
14521 else
14522   echo "$as_me: failed program was:" >&5
14523 sed 's/^/| /' conftest.$ac_ext >&5
14524
14525         ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14526 fi
14527
14528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14529       conftest$ac_exeext conftest.$ac_ext
14530   LIBS=$ac_get_soname_save_LIBS
14531 fi
14532 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14533 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14534 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14535
14536 cat >>confdefs.h <<_ACEOF
14537 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14538 _ACEOF
14539
14540 fi
14541
14542   { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14543 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14544 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14545   echo $ECHO_N "(cached) $ECHO_C" >&6
14546 else
14547   ac_get_soname_save_LIBS=$LIBS
14548 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14549   cat >conftest.$ac_ext <<_ACEOF
14550 /* confdefs.h.  */
14551 _ACEOF
14552 cat confdefs.h >>conftest.$ac_ext
14553 cat >>conftest.$ac_ext <<_ACEOF
14554 /* end confdefs.h.  */
14555
14556 /* Override any GCC internal prototype to avoid an error.
14557    Use char because int might match the return type of a GCC
14558    builtin and then its argument prototype would still apply.  */
14559 #ifdef __cplusplus
14560 extern "C"
14561 #endif
14562 char XRRQueryExtension ();
14563 int
14564 main ()
14565 {
14566 return XRRQueryExtension ();
14567   ;
14568   return 0;
14569 }
14570 _ACEOF
14571 rm -f conftest.$ac_objext conftest$ac_exeext
14572 if { (ac_try="$ac_link"
14573 case "(($ac_try" in
14574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14575   *) ac_try_echo=$ac_try;;
14576 esac
14577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14578   (eval "$ac_link") 2>conftest.er1
14579   ac_status=$?
14580   grep -v '^ *+' conftest.er1 >conftest.err
14581   rm -f conftest.er1
14582   cat conftest.err >&5
14583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584   (exit $ac_status); } && {
14585          test -z "$ac_c_werror_flag" ||
14586          test ! -s conftest.err
14587        } && test -s conftest$ac_exeext &&
14588        $as_test_x conftest$ac_exeext; then
14589   case "$LIBEXT" in
14590     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'` ;;
14591     so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^       ]*\).*$/\1/"';2,$d'` ;;
14592   esac
14593   if test "x$ac_cv_lib_soname_Xrandr" = "x"
14594   then
14595      ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14596   fi
14597 else
14598   echo "$as_me: failed program was:" >&5
14599 sed 's/^/| /' conftest.$ac_ext >&5
14600
14601         ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14602 fi
14603
14604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14605       conftest$ac_exeext conftest.$ac_ext
14606   LIBS=$ac_get_soname_save_LIBS
14607 fi
14608 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14609 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14610 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14611
14612 cat >>confdefs.h <<_ACEOF
14613 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14614 _ACEOF
14615
14616 fi
14617
14618   { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14619 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14620 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14621   echo $ECHO_N "(cached) $ECHO_C" >&6
14622 else
14623   ac_get_soname_save_LIBS=$LIBS
14624 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14625   cat >conftest.$ac_ext <<_ACEOF
14626 /* confdefs.h.  */
14627 _ACEOF
14628 cat confdefs.h >>conftest.$ac_ext
14629 cat >>conftest.$ac_ext <<_ACEOF
14630 /* end confdefs.h.  */
14631
14632 /* Override any GCC internal prototype to avoid an error.
14633    Use char because int might match the return type of a GCC
14634    builtin and then its argument prototype would still apply.  */
14635 #ifdef __cplusplus
14636 extern "C"
14637 #endif
14638 char XcursorImageLoadCursor ();
14639 int
14640 main ()
14641 {
14642 return XcursorImageLoadCursor ();
14643   ;
14644   return 0;
14645 }
14646 _ACEOF
14647 rm -f conftest.$ac_objext conftest$ac_exeext
14648 if { (ac_try="$ac_link"
14649 case "(($ac_try" in
14650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14651   *) ac_try_echo=$ac_try;;
14652 esac
14653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14654   (eval "$ac_link") 2>conftest.er1
14655   ac_status=$?
14656   grep -v '^ *+' conftest.er1 >conftest.err
14657   rm -f conftest.er1
14658   cat conftest.err >&5
14659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14660   (exit $ac_status); } && {
14661          test -z "$ac_c_werror_flag" ||
14662          test ! -s conftest.err
14663        } && test -s conftest$ac_exeext &&
14664        $as_test_x conftest$ac_exeext; then
14665   case "$LIBEXT" in
14666     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'` ;;
14667     so) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^    ]*\).*$/\1/"';2,$d'` ;;
14668   esac
14669   if test "x$ac_cv_lib_soname_Xcursor" = "x"
14670   then
14671      ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14672   fi
14673 else
14674   echo "$as_me: failed program was:" >&5
14675 sed 's/^/| /' conftest.$ac_ext >&5
14676
14677         ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14678 fi
14679
14680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14681       conftest$ac_exeext conftest.$ac_ext
14682   LIBS=$ac_get_soname_save_LIBS
14683 fi
14684 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14685 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14686 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14687
14688 cat >>confdefs.h <<_ACEOF
14689 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14690 _ACEOF
14691
14692 fi
14693
14694   { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14695 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14696 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14697   echo $ECHO_N "(cached) $ECHO_C" >&6
14698 else
14699   ac_get_soname_save_LIBS=$LIBS
14700 LIBS="-lfreetype $X_LIBS $LIBS"
14701   cat >conftest.$ac_ext <<_ACEOF
14702 /* confdefs.h.  */
14703 _ACEOF
14704 cat confdefs.h >>conftest.$ac_ext
14705 cat >>conftest.$ac_ext <<_ACEOF
14706 /* end confdefs.h.  */
14707
14708 /* Override any GCC internal prototype to avoid an error.
14709    Use char because int might match the return type of a GCC
14710    builtin and then its argument prototype would still apply.  */
14711 #ifdef __cplusplus
14712 extern "C"
14713 #endif
14714 char FT_Init_FreeType ();
14715 int
14716 main ()
14717 {
14718 return FT_Init_FreeType ();
14719   ;
14720   return 0;
14721 }
14722 _ACEOF
14723 rm -f conftest.$ac_objext conftest$ac_exeext
14724 if { (ac_try="$ac_link"
14725 case "(($ac_try" in
14726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14727   *) ac_try_echo=$ac_try;;
14728 esac
14729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14730   (eval "$ac_link") 2>conftest.er1
14731   ac_status=$?
14732   grep -v '^ *+' conftest.er1 >conftest.err
14733   rm -f conftest.er1
14734   cat conftest.err >&5
14735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14736   (exit $ac_status); } && {
14737          test -z "$ac_c_werror_flag" ||
14738          test ! -s conftest.err
14739        } && test -s conftest$ac_exeext &&
14740        $as_test_x conftest$ac_exeext; then
14741   case "$LIBEXT" in
14742     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'` ;;
14743     so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^         ]*\).*$/\1/"';2,$d'` ;;
14744   esac
14745   if test "x$ac_cv_lib_soname_freetype" = "x"
14746   then
14747      ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14748   fi
14749 else
14750   echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14752
14753         ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14754 fi
14755
14756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14757       conftest$ac_exeext conftest.$ac_ext
14758   LIBS=$ac_get_soname_save_LIBS
14759 fi
14760 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14761 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14762 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14763
14764 cat >>confdefs.h <<_ACEOF
14765 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14766 _ACEOF
14767
14768 fi
14769
14770   { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14771 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14772 if test "${ac_cv_lib_soname_GL+set}" = set; then
14773   echo $ECHO_N "(cached) $ECHO_C" >&6
14774 else
14775   ac_get_soname_save_LIBS=$LIBS
14776 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14777   cat >conftest.$ac_ext <<_ACEOF
14778 /* confdefs.h.  */
14779 _ACEOF
14780 cat confdefs.h >>conftest.$ac_ext
14781 cat >>conftest.$ac_ext <<_ACEOF
14782 /* end confdefs.h.  */
14783
14784 /* Override any GCC internal prototype to avoid an error.
14785    Use char because int might match the return type of a GCC
14786    builtin and then its argument prototype would still apply.  */
14787 #ifdef __cplusplus
14788 extern "C"
14789 #endif
14790 char glXQueryExtension ();
14791 int
14792 main ()
14793 {
14794 return glXQueryExtension ();
14795   ;
14796   return 0;
14797 }
14798 _ACEOF
14799 rm -f conftest.$ac_objext conftest$ac_exeext
14800 if { (ac_try="$ac_link"
14801 case "(($ac_try" in
14802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14803   *) ac_try_echo=$ac_try;;
14804 esac
14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14806   (eval "$ac_link") 2>conftest.er1
14807   ac_status=$?
14808   grep -v '^ *+' conftest.er1 >conftest.err
14809   rm -f conftest.er1
14810   cat conftest.err >&5
14811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812   (exit $ac_status); } && {
14813          test -z "$ac_c_werror_flag" ||
14814          test ! -s conftest.err
14815        } && test -s conftest$ac_exeext &&
14816        $as_test_x conftest$ac_exeext; then
14817   case "$LIBEXT" in
14818     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'` ;;
14819     so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^   ]*\).*$/\1/"';2,$d'` ;;
14820   esac
14821   if test "x$ac_cv_lib_soname_GL" = "x"
14822   then
14823      ac_cv_lib_soname_GL="libGL.$LIBEXT"
14824   fi
14825 else
14826   echo "$as_me: failed program was:" >&5
14827 sed 's/^/| /' conftest.$ac_ext >&5
14828
14829         ac_cv_lib_soname_GL="libGL.$LIBEXT"
14830 fi
14831
14832 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14833       conftest$ac_exeext conftest.$ac_ext
14834   LIBS=$ac_get_soname_save_LIBS
14835 fi
14836 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14837 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14838 if test "${ac_cv_lib_soname_GL+set}" = set; then
14839
14840 cat >>confdefs.h <<_ACEOF
14841 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14842 _ACEOF
14843
14844 fi
14845
14846   { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14847 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14848 if test "${ac_cv_lib_soname_hal+set}" = set; then
14849   echo $ECHO_N "(cached) $ECHO_C" >&6
14850 else
14851   ac_get_soname_save_LIBS=$LIBS
14852 LIBS="-lhal  $LIBS"
14853   cat >conftest.$ac_ext <<_ACEOF
14854 /* confdefs.h.  */
14855 _ACEOF
14856 cat confdefs.h >>conftest.$ac_ext
14857 cat >>conftest.$ac_ext <<_ACEOF
14858 /* end confdefs.h.  */
14859
14860 /* Override any GCC internal prototype to avoid an error.
14861    Use char because int might match the return type of a GCC
14862    builtin and then its argument prototype would still apply.  */
14863 #ifdef __cplusplus
14864 extern "C"
14865 #endif
14866 char libhal_ctx_new ();
14867 int
14868 main ()
14869 {
14870 return libhal_ctx_new ();
14871   ;
14872   return 0;
14873 }
14874 _ACEOF
14875 rm -f conftest.$ac_objext conftest$ac_exeext
14876 if { (ac_try="$ac_link"
14877 case "(($ac_try" in
14878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14879   *) ac_try_echo=$ac_try;;
14880 esac
14881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14882   (eval "$ac_link") 2>conftest.er1
14883   ac_status=$?
14884   grep -v '^ *+' conftest.er1 >conftest.err
14885   rm -f conftest.er1
14886   cat conftest.err >&5
14887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14888   (exit $ac_status); } && {
14889          test -z "$ac_c_werror_flag" ||
14890          test ! -s conftest.err
14891        } && test -s conftest$ac_exeext &&
14892        $as_test_x conftest$ac_exeext; then
14893   case "$LIBEXT" in
14894     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'` ;;
14895     so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^        ]*\).*$/\1/"';2,$d'` ;;
14896   esac
14897   if test "x$ac_cv_lib_soname_hal" = "x"
14898   then
14899      ac_cv_lib_soname_hal="libhal.$LIBEXT"
14900   fi
14901 else
14902   echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.$ac_ext >&5
14904
14905         ac_cv_lib_soname_hal="libhal.$LIBEXT"
14906 fi
14907
14908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14909       conftest$ac_exeext conftest.$ac_ext
14910   LIBS=$ac_get_soname_save_LIBS
14911 fi
14912 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14913 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14914 if test "${ac_cv_lib_soname_hal+set}" = set; then
14915
14916 cat >>confdefs.h <<_ACEOF
14917 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14918 _ACEOF
14919
14920 fi
14921
14922   { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14923 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14924 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14925   echo $ECHO_N "(cached) $ECHO_C" >&6
14926 else
14927   ac_get_soname_save_LIBS=$LIBS
14928 LIBS="-ltxc_dxtn  $LIBS"
14929   cat >conftest.$ac_ext <<_ACEOF
14930 /* confdefs.h.  */
14931 _ACEOF
14932 cat confdefs.h >>conftest.$ac_ext
14933 cat >>conftest.$ac_ext <<_ACEOF
14934 /* end confdefs.h.  */
14935
14936 /* Override any GCC internal prototype to avoid an error.
14937    Use char because int might match the return type of a GCC
14938    builtin and then its argument prototype would still apply.  */
14939 #ifdef __cplusplus
14940 extern "C"
14941 #endif
14942 char fetch_2d_texel_rgba_dxt1 ();
14943 int
14944 main ()
14945 {
14946 return fetch_2d_texel_rgba_dxt1 ();
14947   ;
14948   return 0;
14949 }
14950 _ACEOF
14951 rm -f conftest.$ac_objext conftest$ac_exeext
14952 if { (ac_try="$ac_link"
14953 case "(($ac_try" in
14954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14955   *) ac_try_echo=$ac_try;;
14956 esac
14957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14958   (eval "$ac_link") 2>conftest.er1
14959   ac_status=$?
14960   grep -v '^ *+' conftest.er1 >conftest.err
14961   rm -f conftest.er1
14962   cat conftest.err >&5
14963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14964   (exit $ac_status); } && {
14965          test -z "$ac_c_werror_flag" ||
14966          test ! -s conftest.err
14967        } && test -s conftest$ac_exeext &&
14968        $as_test_x conftest$ac_exeext; then
14969   case "$LIBEXT" in
14970     dylib) ac_cv_lib_soname_txc_dxtn=`otool -L conftest$ac_exeext | grep libtxc_dxtn\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14971     so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^         ]*\).*$/\1/"';2,$d'` ;;
14972   esac
14973   if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14974   then
14975      ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14976   fi
14977 else
14978   echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.$ac_ext >&5
14980
14981         ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14982 fi
14983
14984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14985       conftest$ac_exeext conftest.$ac_ext
14986   LIBS=$ac_get_soname_save_LIBS
14987 fi
14988 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14989 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14990 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14991
14992 cat >>confdefs.h <<_ACEOF
14993 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14994 _ACEOF
14995
14996 fi
14997
14998   { echo "$as_me:$LINENO: checking for -lcups soname" >&5
14999 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15000 if test "${ac_cv_lib_soname_cups+set}" = set; then
15001   echo $ECHO_N "(cached) $ECHO_C" >&6
15002 else
15003   ac_get_soname_save_LIBS=$LIBS
15004 LIBS="-lcups  $LIBS"
15005   cat >conftest.$ac_ext <<_ACEOF
15006 /* confdefs.h.  */
15007 _ACEOF
15008 cat confdefs.h >>conftest.$ac_ext
15009 cat >>conftest.$ac_ext <<_ACEOF
15010 /* end confdefs.h.  */
15011
15012 /* Override any GCC internal prototype to avoid an error.
15013    Use char because int might match the return type of a GCC
15014    builtin and then its argument prototype would still apply.  */
15015 #ifdef __cplusplus
15016 extern "C"
15017 #endif
15018 char cupsGetDefault ();
15019 int
15020 main ()
15021 {
15022 return cupsGetDefault ();
15023   ;
15024   return 0;
15025 }
15026 _ACEOF
15027 rm -f conftest.$ac_objext conftest$ac_exeext
15028 if { (ac_try="$ac_link"
15029 case "(($ac_try" in
15030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15031   *) ac_try_echo=$ac_try;;
15032 esac
15033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15034   (eval "$ac_link") 2>conftest.er1
15035   ac_status=$?
15036   grep -v '^ *+' conftest.er1 >conftest.err
15037   rm -f conftest.er1
15038   cat conftest.err >&5
15039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040   (exit $ac_status); } && {
15041          test -z "$ac_c_werror_flag" ||
15042          test ! -s conftest.err
15043        } && test -s conftest$ac_exeext &&
15044        $as_test_x conftest$ac_exeext; then
15045   case "$LIBEXT" in
15046     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'` ;;
15047     so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^     ]*\).*$/\1/"';2,$d'` ;;
15048   esac
15049   if test "x$ac_cv_lib_soname_cups" = "x"
15050   then
15051      ac_cv_lib_soname_cups="libcups.$LIBEXT"
15052   fi
15053 else
15054   echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15056
15057         ac_cv_lib_soname_cups="libcups.$LIBEXT"
15058 fi
15059
15060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15061       conftest$ac_exeext conftest.$ac_ext
15062   LIBS=$ac_get_soname_save_LIBS
15063 fi
15064 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15065 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15066 if test "${ac_cv_lib_soname_cups+set}" = set; then
15067
15068 cat >>confdefs.h <<_ACEOF
15069 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15070 _ACEOF
15071
15072 fi
15073
15074   { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15075 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15076 if test "${ac_cv_lib_soname_jack+set}" = set; then
15077   echo $ECHO_N "(cached) $ECHO_C" >&6
15078 else
15079   ac_get_soname_save_LIBS=$LIBS
15080 LIBS="-ljack  $LIBS"
15081   cat >conftest.$ac_ext <<_ACEOF
15082 /* confdefs.h.  */
15083 _ACEOF
15084 cat confdefs.h >>conftest.$ac_ext
15085 cat >>conftest.$ac_ext <<_ACEOF
15086 /* end confdefs.h.  */
15087
15088 /* Override any GCC internal prototype to avoid an error.
15089    Use char because int might match the return type of a GCC
15090    builtin and then its argument prototype would still apply.  */
15091 #ifdef __cplusplus
15092 extern "C"
15093 #endif
15094 char jack_client_new ();
15095 int
15096 main ()
15097 {
15098 return jack_client_new ();
15099   ;
15100   return 0;
15101 }
15102 _ACEOF
15103 rm -f conftest.$ac_objext conftest$ac_exeext
15104 if { (ac_try="$ac_link"
15105 case "(($ac_try" in
15106   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15107   *) ac_try_echo=$ac_try;;
15108 esac
15109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15110   (eval "$ac_link") 2>conftest.er1
15111   ac_status=$?
15112   grep -v '^ *+' conftest.er1 >conftest.err
15113   rm -f conftest.er1
15114   cat conftest.err >&5
15115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116   (exit $ac_status); } && {
15117          test -z "$ac_c_werror_flag" ||
15118          test ! -s conftest.err
15119        } && test -s conftest$ac_exeext &&
15120        $as_test_x conftest$ac_exeext; then
15121   case "$LIBEXT" in
15122     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'` ;;
15123     so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^     ]*\).*$/\1/"';2,$d'` ;;
15124   esac
15125   if test "x$ac_cv_lib_soname_jack" = "x"
15126   then
15127      ac_cv_lib_soname_jack="libjack.$LIBEXT"
15128   fi
15129 else
15130   echo "$as_me: failed program was:" >&5
15131 sed 's/^/| /' conftest.$ac_ext >&5
15132
15133         ac_cv_lib_soname_jack="libjack.$LIBEXT"
15134 fi
15135
15136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15137       conftest$ac_exeext conftest.$ac_ext
15138   LIBS=$ac_get_soname_save_LIBS
15139 fi
15140 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15141 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15142 if test "${ac_cv_lib_soname_jack+set}" = set; then
15143
15144 cat >>confdefs.h <<_ACEOF
15145 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15146 _ACEOF
15147
15148 fi
15149
15150   { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15151 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15152 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15153   echo $ECHO_N "(cached) $ECHO_C" >&6
15154 else
15155   ac_get_soname_save_LIBS=$LIBS
15156 LIBS="-lfontconfig  $LIBS"
15157   cat >conftest.$ac_ext <<_ACEOF
15158 /* confdefs.h.  */
15159 _ACEOF
15160 cat confdefs.h >>conftest.$ac_ext
15161 cat >>conftest.$ac_ext <<_ACEOF
15162 /* end confdefs.h.  */
15163
15164 /* Override any GCC internal prototype to avoid an error.
15165    Use char because int might match the return type of a GCC
15166    builtin and then its argument prototype would still apply.  */
15167 #ifdef __cplusplus
15168 extern "C"
15169 #endif
15170 char FcInit ();
15171 int
15172 main ()
15173 {
15174 return FcInit ();
15175   ;
15176   return 0;
15177 }
15178 _ACEOF
15179 rm -f conftest.$ac_objext conftest$ac_exeext
15180 if { (ac_try="$ac_link"
15181 case "(($ac_try" in
15182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15183   *) ac_try_echo=$ac_try;;
15184 esac
15185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15186   (eval "$ac_link") 2>conftest.er1
15187   ac_status=$?
15188   grep -v '^ *+' conftest.er1 >conftest.err
15189   rm -f conftest.er1
15190   cat conftest.err >&5
15191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192   (exit $ac_status); } && {
15193          test -z "$ac_c_werror_flag" ||
15194          test ! -s conftest.err
15195        } && test -s conftest$ac_exeext &&
15196        $as_test_x conftest$ac_exeext; then
15197   case "$LIBEXT" in
15198     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'` ;;
15199     so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^   ]*\).*$/\1/"';2,$d'` ;;
15200   esac
15201   if test "x$ac_cv_lib_soname_fontconfig" = "x"
15202   then
15203      ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15204   fi
15205 else
15206   echo "$as_me: failed program was:" >&5
15207 sed 's/^/| /' conftest.$ac_ext >&5
15208
15209         ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15210 fi
15211
15212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15213       conftest$ac_exeext conftest.$ac_ext
15214   LIBS=$ac_get_soname_save_LIBS
15215 fi
15216 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15217 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15218 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15219
15220 cat >>confdefs.h <<_ACEOF
15221 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15222 _ACEOF
15223
15224 fi
15225
15226   { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15227 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15228 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15229   echo $ECHO_N "(cached) $ECHO_C" >&6
15230 else
15231   ac_get_soname_save_LIBS=$LIBS
15232 LIBS="-lssl  $LIBS"
15233   cat >conftest.$ac_ext <<_ACEOF
15234 /* confdefs.h.  */
15235 _ACEOF
15236 cat confdefs.h >>conftest.$ac_ext
15237 cat >>conftest.$ac_ext <<_ACEOF
15238 /* end confdefs.h.  */
15239
15240 /* Override any GCC internal prototype to avoid an error.
15241    Use char because int might match the return type of a GCC
15242    builtin and then its argument prototype would still apply.  */
15243 #ifdef __cplusplus
15244 extern "C"
15245 #endif
15246 char SSL_library_init ();
15247 int
15248 main ()
15249 {
15250 return SSL_library_init ();
15251   ;
15252   return 0;
15253 }
15254 _ACEOF
15255 rm -f conftest.$ac_objext conftest$ac_exeext
15256 if { (ac_try="$ac_link"
15257 case "(($ac_try" in
15258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15259   *) ac_try_echo=$ac_try;;
15260 esac
15261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15262   (eval "$ac_link") 2>conftest.er1
15263   ac_status=$?
15264   grep -v '^ *+' conftest.er1 >conftest.err
15265   rm -f conftest.er1
15266   cat conftest.err >&5
15267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268   (exit $ac_status); } && {
15269          test -z "$ac_c_werror_flag" ||
15270          test ! -s conftest.err
15271        } && test -s conftest$ac_exeext &&
15272        $as_test_x conftest$ac_exeext; then
15273   case "$LIBEXT" in
15274     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'` ;;
15275     so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^        ]*\).*$/\1/"';2,$d'` ;;
15276   esac
15277   if test "x$ac_cv_lib_soname_ssl" = "x"
15278   then
15279      ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15280   fi
15281 else
15282   echo "$as_me: failed program was:" >&5
15283 sed 's/^/| /' conftest.$ac_ext >&5
15284
15285         ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15286 fi
15287
15288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15289       conftest$ac_exeext conftest.$ac_ext
15290   LIBS=$ac_get_soname_save_LIBS
15291 fi
15292 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15293 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15294 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15295
15296 cat >>confdefs.h <<_ACEOF
15297 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15298 _ACEOF
15299
15300 fi
15301
15302   { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15303 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15304 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15305   echo $ECHO_N "(cached) $ECHO_C" >&6
15306 else
15307   ac_get_soname_save_LIBS=$LIBS
15308 LIBS="-lcrypto  $LIBS"
15309   cat >conftest.$ac_ext <<_ACEOF
15310 /* confdefs.h.  */
15311 _ACEOF
15312 cat confdefs.h >>conftest.$ac_ext
15313 cat >>conftest.$ac_ext <<_ACEOF
15314 /* end confdefs.h.  */
15315
15316 /* Override any GCC internal prototype to avoid an error.
15317    Use char because int might match the return type of a GCC
15318    builtin and then its argument prototype would still apply.  */
15319 #ifdef __cplusplus
15320 extern "C"
15321 #endif
15322 char BIO_new_socket ();
15323 int
15324 main ()
15325 {
15326 return BIO_new_socket ();
15327   ;
15328   return 0;
15329 }
15330 _ACEOF
15331 rm -f conftest.$ac_objext conftest$ac_exeext
15332 if { (ac_try="$ac_link"
15333 case "(($ac_try" in
15334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15335   *) ac_try_echo=$ac_try;;
15336 esac
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338   (eval "$ac_link") 2>conftest.er1
15339   ac_status=$?
15340   grep -v '^ *+' conftest.er1 >conftest.err
15341   rm -f conftest.er1
15342   cat conftest.err >&5
15343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344   (exit $ac_status); } && {
15345          test -z "$ac_c_werror_flag" ||
15346          test ! -s conftest.err
15347        } && test -s conftest$ac_exeext &&
15348        $as_test_x conftest$ac_exeext; then
15349   case "$LIBEXT" in
15350     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'` ;;
15351     so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^       ]*\).*$/\1/"';2,$d'` ;;
15352   esac
15353   if test "x$ac_cv_lib_soname_crypto" = "x"
15354   then
15355      ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15356   fi
15357 else
15358   echo "$as_me: failed program was:" >&5
15359 sed 's/^/| /' conftest.$ac_ext >&5
15360
15361         ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15362 fi
15363
15364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15365       conftest$ac_exeext conftest.$ac_ext
15366   LIBS=$ac_get_soname_save_LIBS
15367 fi
15368 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15369 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15370 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15371
15372 cat >>confdefs.h <<_ACEOF
15373 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15374 _ACEOF
15375
15376 fi
15377
15378   { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15379 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15380 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15381   echo $ECHO_N "(cached) $ECHO_C" >&6
15382 else
15383   ac_get_soname_save_LIBS=$LIBS
15384 LIBS="-lncurses  $LIBS"
15385   cat >conftest.$ac_ext <<_ACEOF
15386 /* confdefs.h.  */
15387 _ACEOF
15388 cat confdefs.h >>conftest.$ac_ext
15389 cat >>conftest.$ac_ext <<_ACEOF
15390 /* end confdefs.h.  */
15391
15392 /* Override any GCC internal prototype to avoid an error.
15393    Use char because int might match the return type of a GCC
15394    builtin and then its argument prototype would still apply.  */
15395 #ifdef __cplusplus
15396 extern "C"
15397 #endif
15398 char waddch ();
15399 int
15400 main ()
15401 {
15402 return waddch ();
15403   ;
15404   return 0;
15405 }
15406 _ACEOF
15407 rm -f conftest.$ac_objext conftest$ac_exeext
15408 if { (ac_try="$ac_link"
15409 case "(($ac_try" in
15410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15411   *) ac_try_echo=$ac_try;;
15412 esac
15413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15414   (eval "$ac_link") 2>conftest.er1
15415   ac_status=$?
15416   grep -v '^ *+' conftest.er1 >conftest.err
15417   rm -f conftest.er1
15418   cat conftest.err >&5
15419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15420   (exit $ac_status); } && {
15421          test -z "$ac_c_werror_flag" ||
15422          test ! -s conftest.err
15423        } && test -s conftest$ac_exeext &&
15424        $as_test_x conftest$ac_exeext; then
15425   case "$LIBEXT" in
15426     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'` ;;
15427     so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^    ]*\).*$/\1/"';2,$d'` ;;
15428   esac
15429   if test "x$ac_cv_lib_soname_ncurses" = "x"
15430   then
15431      ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15432   fi
15433 else
15434   echo "$as_me: failed program was:" >&5
15435 sed 's/^/| /' conftest.$ac_ext >&5
15436
15437         ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15438 fi
15439
15440 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15441       conftest$ac_exeext conftest.$ac_ext
15442   LIBS=$ac_get_soname_save_LIBS
15443 fi
15444 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15445 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15446 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15447
15448 cat >>confdefs.h <<_ACEOF
15449 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15450 _ACEOF
15451
15452 fi
15453
15454   { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15455 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15456 if test "${ac_cv_lib_soname_curses+set}" = set; then
15457   echo $ECHO_N "(cached) $ECHO_C" >&6
15458 else
15459   ac_get_soname_save_LIBS=$LIBS
15460 LIBS="-lcurses  $LIBS"
15461   cat >conftest.$ac_ext <<_ACEOF
15462 /* confdefs.h.  */
15463 _ACEOF
15464 cat confdefs.h >>conftest.$ac_ext
15465 cat >>conftest.$ac_ext <<_ACEOF
15466 /* end confdefs.h.  */
15467
15468 /* Override any GCC internal prototype to avoid an error.
15469    Use char because int might match the return type of a GCC
15470    builtin and then its argument prototype would still apply.  */
15471 #ifdef __cplusplus
15472 extern "C"
15473 #endif
15474 char waddch ();
15475 int
15476 main ()
15477 {
15478 return waddch ();
15479   ;
15480   return 0;
15481 }
15482 _ACEOF
15483 rm -f conftest.$ac_objext conftest$ac_exeext
15484 if { (ac_try="$ac_link"
15485 case "(($ac_try" in
15486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15487   *) ac_try_echo=$ac_try;;
15488 esac
15489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15490   (eval "$ac_link") 2>conftest.er1
15491   ac_status=$?
15492   grep -v '^ *+' conftest.er1 >conftest.err
15493   rm -f conftest.er1
15494   cat conftest.err >&5
15495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496   (exit $ac_status); } && {
15497          test -z "$ac_c_werror_flag" ||
15498          test ! -s conftest.err
15499        } && test -s conftest$ac_exeext &&
15500        $as_test_x conftest$ac_exeext; then
15501   case "$LIBEXT" in
15502     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'` ;;
15503     so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^       ]*\).*$/\1/"';2,$d'` ;;
15504   esac
15505   if test "x$ac_cv_lib_soname_curses" = "x"
15506   then
15507      ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15508   fi
15509 else
15510   echo "$as_me: failed program was:" >&5
15511 sed 's/^/| /' conftest.$ac_ext >&5
15512
15513         ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15514 fi
15515
15516 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15517       conftest$ac_exeext conftest.$ac_ext
15518   LIBS=$ac_get_soname_save_LIBS
15519 fi
15520 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15521 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15522 if test "${ac_cv_lib_soname_curses+set}" = set; then
15523
15524 cat >>confdefs.h <<_ACEOF
15525 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15526 _ACEOF
15527
15528 fi
15529
15530   { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15531 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15532 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15533   echo $ECHO_N "(cached) $ECHO_C" >&6
15534 else
15535   ac_get_soname_save_LIBS=$LIBS
15536 LIBS="-ljpeg  $LIBS"
15537   cat >conftest.$ac_ext <<_ACEOF
15538 /* confdefs.h.  */
15539 _ACEOF
15540 cat confdefs.h >>conftest.$ac_ext
15541 cat >>conftest.$ac_ext <<_ACEOF
15542 /* end confdefs.h.  */
15543
15544 /* Override any GCC internal prototype to avoid an error.
15545    Use char because int might match the return type of a GCC
15546    builtin and then its argument prototype would still apply.  */
15547 #ifdef __cplusplus
15548 extern "C"
15549 #endif
15550 char jpeg_start_decompress ();
15551 int
15552 main ()
15553 {
15554 return jpeg_start_decompress ();
15555   ;
15556   return 0;
15557 }
15558 _ACEOF
15559 rm -f conftest.$ac_objext conftest$ac_exeext
15560 if { (ac_try="$ac_link"
15561 case "(($ac_try" in
15562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15563   *) ac_try_echo=$ac_try;;
15564 esac
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566   (eval "$ac_link") 2>conftest.er1
15567   ac_status=$?
15568   grep -v '^ *+' conftest.er1 >conftest.err
15569   rm -f conftest.er1
15570   cat conftest.err >&5
15571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572   (exit $ac_status); } && {
15573          test -z "$ac_c_werror_flag" ||
15574          test ! -s conftest.err
15575        } && test -s conftest$ac_exeext &&
15576        $as_test_x conftest$ac_exeext; then
15577   case "$LIBEXT" in
15578     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'` ;;
15579     so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^     ]*\).*$/\1/"';2,$d'` ;;
15580   esac
15581   if test "x$ac_cv_lib_soname_jpeg" = "x"
15582   then
15583      ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15584   fi
15585 else
15586   echo "$as_me: failed program was:" >&5
15587 sed 's/^/| /' conftest.$ac_ext >&5
15588
15589         ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15590 fi
15591
15592 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15593       conftest$ac_exeext conftest.$ac_ext
15594   LIBS=$ac_get_soname_save_LIBS
15595 fi
15596 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15597 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15598 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15599
15600 cat >>confdefs.h <<_ACEOF
15601 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15602 _ACEOF
15603
15604 fi
15605
15606   { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15607 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15608 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15609   echo $ECHO_N "(cached) $ECHO_C" >&6
15610 else
15611   ac_get_soname_save_LIBS=$LIBS
15612 LIBS="-lcapi20  $LIBS"
15613   cat >conftest.$ac_ext <<_ACEOF
15614 /* confdefs.h.  */
15615 _ACEOF
15616 cat confdefs.h >>conftest.$ac_ext
15617 cat >>conftest.$ac_ext <<_ACEOF
15618 /* end confdefs.h.  */
15619
15620 /* Override any GCC internal prototype to avoid an error.
15621    Use char because int might match the return type of a GCC
15622    builtin and then its argument prototype would still apply.  */
15623 #ifdef __cplusplus
15624 extern "C"
15625 #endif
15626 char capi20_isinstalled ();
15627 int
15628 main ()
15629 {
15630 return capi20_isinstalled ();
15631   ;
15632   return 0;
15633 }
15634 _ACEOF
15635 rm -f conftest.$ac_objext conftest$ac_exeext
15636 if { (ac_try="$ac_link"
15637 case "(($ac_try" in
15638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15639   *) ac_try_echo=$ac_try;;
15640 esac
15641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15642   (eval "$ac_link") 2>conftest.er1
15643   ac_status=$?
15644   grep -v '^ *+' conftest.er1 >conftest.err
15645   rm -f conftest.er1
15646   cat conftest.err >&5
15647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648   (exit $ac_status); } && {
15649          test -z "$ac_c_werror_flag" ||
15650          test ! -s conftest.err
15651        } && test -s conftest$ac_exeext &&
15652        $as_test_x conftest$ac_exeext; then
15653   case "$LIBEXT" in
15654     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'` ;;
15655     so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^       ]*\).*$/\1/"';2,$d'` ;;
15656   esac
15657   if test "x$ac_cv_lib_soname_capi20" = "x"
15658   then
15659      ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15660   fi
15661 else
15662   echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15664
15665         ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15666 fi
15667
15668 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15669       conftest$ac_exeext conftest.$ac_ext
15670   LIBS=$ac_get_soname_save_LIBS
15671 fi
15672 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15673 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15674 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15675
15676 cat >>confdefs.h <<_ACEOF
15677 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15678 _ACEOF
15679
15680 fi
15681
15682   { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15683 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15684 if test "${ac_cv_lib_soname_sane+set}" = set; then
15685   echo $ECHO_N "(cached) $ECHO_C" >&6
15686 else
15687   ac_get_soname_save_LIBS=$LIBS
15688 LIBS="-lsane  $LIBS"
15689   cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h.  */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h.  */
15695
15696 /* Override any GCC internal prototype to avoid an error.
15697    Use char because int might match the return type of a GCC
15698    builtin and then its argument prototype would still apply.  */
15699 #ifdef __cplusplus
15700 extern "C"
15701 #endif
15702 char sane_init ();
15703 int
15704 main ()
15705 {
15706 return sane_init ();
15707   ;
15708   return 0;
15709 }
15710 _ACEOF
15711 rm -f conftest.$ac_objext conftest$ac_exeext
15712 if { (ac_try="$ac_link"
15713 case "(($ac_try" in
15714   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15715   *) ac_try_echo=$ac_try;;
15716 esac
15717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15718   (eval "$ac_link") 2>conftest.er1
15719   ac_status=$?
15720   grep -v '^ *+' conftest.er1 >conftest.err
15721   rm -f conftest.er1
15722   cat conftest.err >&5
15723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724   (exit $ac_status); } && {
15725          test -z "$ac_c_werror_flag" ||
15726          test ! -s conftest.err
15727        } && test -s conftest$ac_exeext &&
15728        $as_test_x conftest$ac_exeext; then
15729   case "$LIBEXT" in
15730     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'` ;;
15731     so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^     ]*\).*$/\1/"';2,$d'` ;;
15732   esac
15733   if test "x$ac_cv_lib_soname_sane" = "x"
15734   then
15735      ac_cv_lib_soname_sane="libsane.$LIBEXT"
15736   fi
15737 else
15738   echo "$as_me: failed program was:" >&5
15739 sed 's/^/| /' conftest.$ac_ext >&5
15740
15741         ac_cv_lib_soname_sane="libsane.$LIBEXT"
15742 fi
15743
15744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15745       conftest$ac_exeext conftest.$ac_ext
15746   LIBS=$ac_get_soname_save_LIBS
15747 fi
15748 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15749 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15750 if test "${ac_cv_lib_soname_sane+set}" = set; then
15751
15752 cat >>confdefs.h <<_ACEOF
15753 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15754 _ACEOF
15755
15756 fi
15757
15758 fi
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822 for ac_func in \
15823         _pclose \
15824         _popen \
15825         _snprintf \
15826         _spawnvp \
15827         _stricmp \
15828         _strnicmp \
15829         _vsnprintf \
15830         asctime_r \
15831         chsize \
15832         clone \
15833         dlopen \
15834         epoll_create \
15835         ffs \
15836         finite \
15837         fork \
15838         fpclass \
15839         fstatfs \
15840         fstatvfs \
15841         ftruncate \
15842         futimes \
15843         futimesat \
15844         getdirentries \
15845         getopt_long \
15846         getpagesize \
15847         getpwuid \
15848         gettid \
15849         gettimeofday \
15850         getuid \
15851         kqueue \
15852         lstat \
15853         memmove \
15854         mmap \
15855         pclose \
15856         poll \
15857         popen \
15858         prctl \
15859         pread \
15860         pwrite \
15861         readlink \
15862         rfork \
15863         sched_yield \
15864         select \
15865         setrlimit \
15866         settimeofday \
15867         sigaltstack \
15868         sigprocmask \
15869         snprintf \
15870         spawnvp \
15871         statfs \
15872         statvfs \
15873         strcasecmp \
15874         strerror \
15875         strncasecmp \
15876         strtold \
15877         tcgetattr \
15878         timegm \
15879         usleep \
15880         vsnprintf \
15881         wait4 \
15882         waitpid \
15883
15884 do
15885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15889   echo $ECHO_N "(cached) $ECHO_C" >&6
15890 else
15891   cat >conftest.$ac_ext <<_ACEOF
15892 /* confdefs.h.  */
15893 _ACEOF
15894 cat confdefs.h >>conftest.$ac_ext
15895 cat >>conftest.$ac_ext <<_ACEOF
15896 /* end confdefs.h.  */
15897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15899 #define $ac_func innocuous_$ac_func
15900
15901 /* System header to define __stub macros and hopefully few prototypes,
15902     which can conflict with char $ac_func (); below.
15903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15904     <limits.h> exists even on freestanding compilers.  */
15905
15906 #ifdef __STDC__
15907 # include <limits.h>
15908 #else
15909 # include <assert.h>
15910 #endif
15911
15912 #undef $ac_func
15913
15914 /* Override any GCC internal prototype to avoid an error.
15915    Use char because int might match the return type of a GCC
15916    builtin and then its argument prototype would still apply.  */
15917 #ifdef __cplusplus
15918 extern "C"
15919 #endif
15920 char $ac_func ();
15921 /* The GNU C library defines this for functions which it implements
15922     to always fail with ENOSYS.  Some functions are actually named
15923     something starting with __ and the normal name is an alias.  */
15924 #if defined __stub_$ac_func || defined __stub___$ac_func
15925 choke me
15926 #endif
15927
15928 int
15929 main ()
15930 {
15931 return $ac_func ();
15932   ;
15933   return 0;
15934 }
15935 _ACEOF
15936 rm -f conftest.$ac_objext conftest$ac_exeext
15937 if { (ac_try="$ac_link"
15938 case "(($ac_try" in
15939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15940   *) ac_try_echo=$ac_try;;
15941 esac
15942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15943   (eval "$ac_link") 2>conftest.er1
15944   ac_status=$?
15945   grep -v '^ *+' conftest.er1 >conftest.err
15946   rm -f conftest.er1
15947   cat conftest.err >&5
15948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15949   (exit $ac_status); } && {
15950          test -z "$ac_c_werror_flag" ||
15951          test ! -s conftest.err
15952        } && test -s conftest$ac_exeext &&
15953        $as_test_x conftest$ac_exeext; then
15954   eval "$as_ac_var=yes"
15955 else
15956   echo "$as_me: failed program was:" >&5
15957 sed 's/^/| /' conftest.$ac_ext >&5
15958
15959         eval "$as_ac_var=no"
15960 fi
15961
15962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15963       conftest$ac_exeext conftest.$ac_ext
15964 fi
15965 ac_res=`eval echo '${'$as_ac_var'}'`
15966                { echo "$as_me:$LINENO: result: $ac_res" >&5
15967 echo "${ECHO_T}$ac_res" >&6; }
15968 if test `eval echo '${'$as_ac_var'}'` = yes; then
15969   cat >>confdefs.h <<_ACEOF
15970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15971 _ACEOF
15972
15973 fi
15974 done
15975
15976
15977 if test "$ac_cv_func_dlopen" = no
15978 then
15979     { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15980 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15981 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15982   echo $ECHO_N "(cached) $ECHO_C" >&6
15983 else
15984   ac_check_lib_save_LIBS=$LIBS
15985 LIBS="-ldl  $LIBS"
15986 cat >conftest.$ac_ext <<_ACEOF
15987 /* confdefs.h.  */
15988 _ACEOF
15989 cat confdefs.h >>conftest.$ac_ext
15990 cat >>conftest.$ac_ext <<_ACEOF
15991 /* end confdefs.h.  */
15992
15993 /* Override any GCC internal prototype to avoid an error.
15994    Use char because int might match the return type of a GCC
15995    builtin and then its argument prototype would still apply.  */
15996 #ifdef __cplusplus
15997 extern "C"
15998 #endif
15999 char dlopen ();
16000 int
16001 main ()
16002 {
16003 return dlopen ();
16004   ;
16005   return 0;
16006 }
16007 _ACEOF
16008 rm -f conftest.$ac_objext conftest$ac_exeext
16009 if { (ac_try="$ac_link"
16010 case "(($ac_try" in
16011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16012   *) ac_try_echo=$ac_try;;
16013 esac
16014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16015   (eval "$ac_link") 2>conftest.er1
16016   ac_status=$?
16017   grep -v '^ *+' conftest.er1 >conftest.err
16018   rm -f conftest.er1
16019   cat conftest.err >&5
16020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16021   (exit $ac_status); } && {
16022          test -z "$ac_c_werror_flag" ||
16023          test ! -s conftest.err
16024        } && test -s conftest$ac_exeext &&
16025        $as_test_x conftest$ac_exeext; then
16026   ac_cv_lib_dl_dlopen=yes
16027 else
16028   echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16030
16031         ac_cv_lib_dl_dlopen=no
16032 fi
16033
16034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16035       conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_lib_save_LIBS
16037 fi
16038 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16039 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16040 if test $ac_cv_lib_dl_dlopen = yes; then
16041   cat >>confdefs.h <<\_ACEOF
16042 #define HAVE_DLOPEN 1
16043 _ACEOF
16044  LIBDL="-ldl"
16045
16046 fi
16047
16048 fi
16049 ac_wine_check_funcs_save_LIBS="$LIBS"
16050 LIBS="$LIBS $LIBDL"
16051
16052 for ac_func in dladdr
16053 do
16054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16055 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16057 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16058   echo $ECHO_N "(cached) $ECHO_C" >&6
16059 else
16060   cat >conftest.$ac_ext <<_ACEOF
16061 /* confdefs.h.  */
16062 _ACEOF
16063 cat confdefs.h >>conftest.$ac_ext
16064 cat >>conftest.$ac_ext <<_ACEOF
16065 /* end confdefs.h.  */
16066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16068 #define $ac_func innocuous_$ac_func
16069
16070 /* System header to define __stub macros and hopefully few prototypes,
16071     which can conflict with char $ac_func (); below.
16072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16073     <limits.h> exists even on freestanding compilers.  */
16074
16075 #ifdef __STDC__
16076 # include <limits.h>
16077 #else
16078 # include <assert.h>
16079 #endif
16080
16081 #undef $ac_func
16082
16083 /* Override any GCC internal prototype to avoid an error.
16084    Use char because int might match the return type of a GCC
16085    builtin and then its argument prototype would still apply.  */
16086 #ifdef __cplusplus
16087 extern "C"
16088 #endif
16089 char $ac_func ();
16090 /* The GNU C library defines this for functions which it implements
16091     to always fail with ENOSYS.  Some functions are actually named
16092     something starting with __ and the normal name is an alias.  */
16093 #if defined __stub_$ac_func || defined __stub___$ac_func
16094 choke me
16095 #endif
16096
16097 int
16098 main ()
16099 {
16100 return $ac_func ();
16101   ;
16102   return 0;
16103 }
16104 _ACEOF
16105 rm -f conftest.$ac_objext conftest$ac_exeext
16106 if { (ac_try="$ac_link"
16107 case "(($ac_try" in
16108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16109   *) ac_try_echo=$ac_try;;
16110 esac
16111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16112   (eval "$ac_link") 2>conftest.er1
16113   ac_status=$?
16114   grep -v '^ *+' conftest.er1 >conftest.err
16115   rm -f conftest.er1
16116   cat conftest.err >&5
16117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16118   (exit $ac_status); } && {
16119          test -z "$ac_c_werror_flag" ||
16120          test ! -s conftest.err
16121        } && test -s conftest$ac_exeext &&
16122        $as_test_x conftest$ac_exeext; then
16123   eval "$as_ac_var=yes"
16124 else
16125   echo "$as_me: failed program was:" >&5
16126 sed 's/^/| /' conftest.$ac_ext >&5
16127
16128         eval "$as_ac_var=no"
16129 fi
16130
16131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16132       conftest$ac_exeext conftest.$ac_ext
16133 fi
16134 ac_res=`eval echo '${'$as_ac_var'}'`
16135                { echo "$as_me:$LINENO: result: $ac_res" >&5
16136 echo "${ECHO_T}$ac_res" >&6; }
16137 if test `eval echo '${'$as_ac_var'}'` = yes; then
16138   cat >>confdefs.h <<_ACEOF
16139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16140 _ACEOF
16141
16142 fi
16143 done
16144
16145 LIBS="$ac_wine_check_funcs_save_LIBS"
16146
16147 if test "$ac_cv_func_poll" = no
16148 then
16149     { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16150 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16151 if test "${ac_cv_lib_poll_poll+set}" = set; then
16152   echo $ECHO_N "(cached) $ECHO_C" >&6
16153 else
16154   ac_check_lib_save_LIBS=$LIBS
16155 LIBS="-lpoll  $LIBS"
16156 cat >conftest.$ac_ext <<_ACEOF
16157 /* confdefs.h.  */
16158 _ACEOF
16159 cat confdefs.h >>conftest.$ac_ext
16160 cat >>conftest.$ac_ext <<_ACEOF
16161 /* end confdefs.h.  */
16162
16163 /* Override any GCC internal prototype to avoid an error.
16164    Use char because int might match the return type of a GCC
16165    builtin and then its argument prototype would still apply.  */
16166 #ifdef __cplusplus
16167 extern "C"
16168 #endif
16169 char poll ();
16170 int
16171 main ()
16172 {
16173 return poll ();
16174   ;
16175   return 0;
16176 }
16177 _ACEOF
16178 rm -f conftest.$ac_objext conftest$ac_exeext
16179 if { (ac_try="$ac_link"
16180 case "(($ac_try" in
16181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16182   *) ac_try_echo=$ac_try;;
16183 esac
16184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16185   (eval "$ac_link") 2>conftest.er1
16186   ac_status=$?
16187   grep -v '^ *+' conftest.er1 >conftest.err
16188   rm -f conftest.er1
16189   cat conftest.err >&5
16190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191   (exit $ac_status); } && {
16192          test -z "$ac_c_werror_flag" ||
16193          test ! -s conftest.err
16194        } && test -s conftest$ac_exeext &&
16195        $as_test_x conftest$ac_exeext; then
16196   ac_cv_lib_poll_poll=yes
16197 else
16198   echo "$as_me: failed program was:" >&5
16199 sed 's/^/| /' conftest.$ac_ext >&5
16200
16201         ac_cv_lib_poll_poll=no
16202 fi
16203
16204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16205       conftest$ac_exeext conftest.$ac_ext
16206 LIBS=$ac_check_lib_save_LIBS
16207 fi
16208 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16209 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16210 if test $ac_cv_lib_poll_poll = yes; then
16211   cat >>confdefs.h <<\_ACEOF
16212 #define HAVE_POLL 1
16213 _ACEOF
16214  LIBPOLL="-lpoll"
16215
16216 fi
16217
16218 fi
16219
16220 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16221 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16222 if test "${ac_cv_search_gethostbyname+set}" = set; then
16223   echo $ECHO_N "(cached) $ECHO_C" >&6
16224 else
16225   ac_func_search_save_LIBS=$LIBS
16226 cat >conftest.$ac_ext <<_ACEOF
16227 /* confdefs.h.  */
16228 _ACEOF
16229 cat confdefs.h >>conftest.$ac_ext
16230 cat >>conftest.$ac_ext <<_ACEOF
16231 /* end confdefs.h.  */
16232
16233 /* Override any GCC internal prototype to avoid an error.
16234    Use char because int might match the return type of a GCC
16235    builtin and then its argument prototype would still apply.  */
16236 #ifdef __cplusplus
16237 extern "C"
16238 #endif
16239 char gethostbyname ();
16240 int
16241 main ()
16242 {
16243 return gethostbyname ();
16244   ;
16245   return 0;
16246 }
16247 _ACEOF
16248 for ac_lib in '' nsl; do
16249   if test -z "$ac_lib"; then
16250     ac_res="none required"
16251   else
16252     ac_res=-l$ac_lib
16253     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16254   fi
16255   rm -f conftest.$ac_objext conftest$ac_exeext
16256 if { (ac_try="$ac_link"
16257 case "(($ac_try" in
16258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16259   *) ac_try_echo=$ac_try;;
16260 esac
16261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16262   (eval "$ac_link") 2>conftest.er1
16263   ac_status=$?
16264   grep -v '^ *+' conftest.er1 >conftest.err
16265   rm -f conftest.er1
16266   cat conftest.err >&5
16267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268   (exit $ac_status); } && {
16269          test -z "$ac_c_werror_flag" ||
16270          test ! -s conftest.err
16271        } && test -s conftest$ac_exeext &&
16272        $as_test_x conftest$ac_exeext; then
16273   ac_cv_search_gethostbyname=$ac_res
16274 else
16275   echo "$as_me: failed program was:" >&5
16276 sed 's/^/| /' conftest.$ac_ext >&5
16277
16278
16279 fi
16280
16281 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16282       conftest$ac_exeext
16283   if test "${ac_cv_search_gethostbyname+set}" = set; then
16284   break
16285 fi
16286 done
16287 if test "${ac_cv_search_gethostbyname+set}" = set; then
16288   :
16289 else
16290   ac_cv_search_gethostbyname=no
16291 fi
16292 rm conftest.$ac_ext
16293 LIBS=$ac_func_search_save_LIBS
16294 fi
16295 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16296 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16297 ac_res=$ac_cv_search_gethostbyname
16298 if test "$ac_res" != no; then
16299   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16300
16301 fi
16302
16303
16304 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16305 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16306 if test "${ac_cv_search_connect+set}" = set; then
16307   echo $ECHO_N "(cached) $ECHO_C" >&6
16308 else
16309   ac_func_search_save_LIBS=$LIBS
16310 cat >conftest.$ac_ext <<_ACEOF
16311 /* confdefs.h.  */
16312 _ACEOF
16313 cat confdefs.h >>conftest.$ac_ext
16314 cat >>conftest.$ac_ext <<_ACEOF
16315 /* end confdefs.h.  */
16316
16317 /* Override any GCC internal prototype to avoid an error.
16318    Use char because int might match the return type of a GCC
16319    builtin and then its argument prototype would still apply.  */
16320 #ifdef __cplusplus
16321 extern "C"
16322 #endif
16323 char connect ();
16324 int
16325 main ()
16326 {
16327 return connect ();
16328   ;
16329   return 0;
16330 }
16331 _ACEOF
16332 for ac_lib in '' socket; do
16333   if test -z "$ac_lib"; then
16334     ac_res="none required"
16335   else
16336     ac_res=-l$ac_lib
16337     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16338   fi
16339   rm -f conftest.$ac_objext conftest$ac_exeext
16340 if { (ac_try="$ac_link"
16341 case "(($ac_try" in
16342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16343   *) ac_try_echo=$ac_try;;
16344 esac
16345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16346   (eval "$ac_link") 2>conftest.er1
16347   ac_status=$?
16348   grep -v '^ *+' conftest.er1 >conftest.err
16349   rm -f conftest.er1
16350   cat conftest.err >&5
16351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352   (exit $ac_status); } && {
16353          test -z "$ac_c_werror_flag" ||
16354          test ! -s conftest.err
16355        } && test -s conftest$ac_exeext &&
16356        $as_test_x conftest$ac_exeext; then
16357   ac_cv_search_connect=$ac_res
16358 else
16359   echo "$as_me: failed program was:" >&5
16360 sed 's/^/| /' conftest.$ac_ext >&5
16361
16362
16363 fi
16364
16365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16366       conftest$ac_exeext
16367   if test "${ac_cv_search_connect+set}" = set; then
16368   break
16369 fi
16370 done
16371 if test "${ac_cv_search_connect+set}" = set; then
16372   :
16373 else
16374   ac_cv_search_connect=no
16375 fi
16376 rm conftest.$ac_ext
16377 LIBS=$ac_func_search_save_LIBS
16378 fi
16379 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16380 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16381 ac_res=$ac_cv_search_connect
16382 if test "$ac_res" != no; then
16383   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16384
16385 fi
16386
16387
16388 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16389 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16390 if test "${ac_cv_search_inet_aton+set}" = set; then
16391   echo $ECHO_N "(cached) $ECHO_C" >&6
16392 else
16393   ac_func_search_save_LIBS=$LIBS
16394 cat >conftest.$ac_ext <<_ACEOF
16395 /* confdefs.h.  */
16396 _ACEOF
16397 cat confdefs.h >>conftest.$ac_ext
16398 cat >>conftest.$ac_ext <<_ACEOF
16399 /* end confdefs.h.  */
16400
16401 /* Override any GCC internal prototype to avoid an error.
16402    Use char because int might match the return type of a GCC
16403    builtin and then its argument prototype would still apply.  */
16404 #ifdef __cplusplus
16405 extern "C"
16406 #endif
16407 char inet_aton ();
16408 int
16409 main ()
16410 {
16411 return inet_aton ();
16412   ;
16413   return 0;
16414 }
16415 _ACEOF
16416 for ac_lib in '' resolv; do
16417   if test -z "$ac_lib"; then
16418     ac_res="none required"
16419   else
16420     ac_res=-l$ac_lib
16421     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
16422   fi
16423   rm -f conftest.$ac_objext conftest$ac_exeext
16424 if { (ac_try="$ac_link"
16425 case "(($ac_try" in
16426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16427   *) ac_try_echo=$ac_try;;
16428 esac
16429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16430   (eval "$ac_link") 2>conftest.er1
16431   ac_status=$?
16432   grep -v '^ *+' conftest.er1 >conftest.err
16433   rm -f conftest.er1
16434   cat conftest.err >&5
16435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436   (exit $ac_status); } && {
16437          test -z "$ac_c_werror_flag" ||
16438          test ! -s conftest.err
16439        } && test -s conftest$ac_exeext &&
16440        $as_test_x conftest$ac_exeext; then
16441   ac_cv_search_inet_aton=$ac_res
16442 else
16443   echo "$as_me: failed program was:" >&5
16444 sed 's/^/| /' conftest.$ac_ext >&5
16445
16446
16447 fi
16448
16449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16450       conftest$ac_exeext
16451   if test "${ac_cv_search_inet_aton+set}" = set; then
16452   break
16453 fi
16454 done
16455 if test "${ac_cv_search_inet_aton+set}" = set; then
16456   :
16457 else
16458   ac_cv_search_inet_aton=no
16459 fi
16460 rm conftest.$ac_ext
16461 LIBS=$ac_func_search_save_LIBS
16462 fi
16463 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16464 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16465 ac_res=$ac_cv_search_inet_aton
16466 if test "$ac_res" != no; then
16467   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16468
16469 fi
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480 for ac_func in \
16481         getaddrinfo \
16482         getnameinfo \
16483         getnetbyname \
16484         getprotobyname \
16485         getprotobynumber \
16486         getservbyport \
16487         inet_network \
16488         sendmsg \
16489
16490 do
16491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16492 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16494 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16495   echo $ECHO_N "(cached) $ECHO_C" >&6
16496 else
16497   cat >conftest.$ac_ext <<_ACEOF
16498 /* confdefs.h.  */
16499 _ACEOF
16500 cat confdefs.h >>conftest.$ac_ext
16501 cat >>conftest.$ac_ext <<_ACEOF
16502 /* end confdefs.h.  */
16503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16505 #define $ac_func innocuous_$ac_func
16506
16507 /* System header to define __stub macros and hopefully few prototypes,
16508     which can conflict with char $ac_func (); below.
16509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16510     <limits.h> exists even on freestanding compilers.  */
16511
16512 #ifdef __STDC__
16513 # include <limits.h>
16514 #else
16515 # include <assert.h>
16516 #endif
16517
16518 #undef $ac_func
16519
16520 /* Override any GCC internal prototype to avoid an error.
16521    Use char because int might match the return type of a GCC
16522    builtin and then its argument prototype would still apply.  */
16523 #ifdef __cplusplus
16524 extern "C"
16525 #endif
16526 char $ac_func ();
16527 /* The GNU C library defines this for functions which it implements
16528     to always fail with ENOSYS.  Some functions are actually named
16529     something starting with __ and the normal name is an alias.  */
16530 #if defined __stub_$ac_func || defined __stub___$ac_func
16531 choke me
16532 #endif
16533
16534 int
16535 main ()
16536 {
16537 return $ac_func ();
16538   ;
16539   return 0;
16540 }
16541 _ACEOF
16542 rm -f conftest.$ac_objext conftest$ac_exeext
16543 if { (ac_try="$ac_link"
16544 case "(($ac_try" in
16545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16546   *) ac_try_echo=$ac_try;;
16547 esac
16548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16549   (eval "$ac_link") 2>conftest.er1
16550   ac_status=$?
16551   grep -v '^ *+' conftest.er1 >conftest.err
16552   rm -f conftest.er1
16553   cat conftest.err >&5
16554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555   (exit $ac_status); } && {
16556          test -z "$ac_c_werror_flag" ||
16557          test ! -s conftest.err
16558        } && test -s conftest$ac_exeext &&
16559        $as_test_x conftest$ac_exeext; then
16560   eval "$as_ac_var=yes"
16561 else
16562   echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.$ac_ext >&5
16564
16565         eval "$as_ac_var=no"
16566 fi
16567
16568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16569       conftest$ac_exeext conftest.$ac_ext
16570 fi
16571 ac_res=`eval echo '${'$as_ac_var'}'`
16572                { echo "$as_me:$LINENO: result: $ac_res" >&5
16573 echo "${ECHO_T}$ac_res" >&6; }
16574 if test `eval echo '${'$as_ac_var'}'` = yes; then
16575   cat >>confdefs.h <<_ACEOF
16576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16577 _ACEOF
16578
16579 fi
16580 done
16581
16582
16583
16584 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16585 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16586 if test "${ac_cv_c_const+set}" = set; then
16587   echo $ECHO_N "(cached) $ECHO_C" >&6
16588 else
16589   cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h.  */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h.  */
16595
16596 int
16597 main ()
16598 {
16599 /* FIXME: Include the comments suggested by Paul. */
16600 #ifndef __cplusplus
16601   /* Ultrix mips cc rejects this.  */
16602   typedef int charset[2];
16603   const charset cs;
16604   /* SunOS 4.1.1 cc rejects this.  */
16605   char const *const *pcpcc;
16606   char **ppc;
16607   /* NEC SVR4.0.2 mips cc rejects this.  */
16608   struct point {int x, y;};
16609   static struct point const zero = {0,0};
16610   /* AIX XL C 1.02.0.0 rejects this.
16611      It does not let you subtract one const X* pointer from another in
16612      an arm of an if-expression whose if-part is not a constant
16613      expression */
16614   const char *g = "string";
16615   pcpcc = &g + (g ? g-g : 0);
16616   /* HPUX 7.0 cc rejects these. */
16617   ++pcpcc;
16618   ppc = (char**) pcpcc;
16619   pcpcc = (char const *const *) ppc;
16620   { /* SCO 3.2v4 cc rejects this.  */
16621     char *t;
16622     char const *s = 0 ? (char *) 0 : (char const *) 0;
16623
16624     *t++ = 0;
16625     if (s) return 0;
16626   }
16627   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
16628     int x[] = {25, 17};
16629     const int *foo = &x[0];
16630     ++foo;
16631   }
16632   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16633     typedef const int *iptr;
16634     iptr p = 0;
16635     ++p;
16636   }
16637   { /* AIX XL C 1.02.0.0 rejects this saying
16638        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16639     struct s { int j; const int *ap[3]; };
16640     struct s *b; b->j = 5;
16641   }
16642   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16643     const int foo = 10;
16644     if (!foo) return 0;
16645   }
16646   return !cs[0] && !zero.x;
16647 #endif
16648
16649   ;
16650   return 0;
16651 }
16652 _ACEOF
16653 rm -f conftest.$ac_objext
16654 if { (ac_try="$ac_compile"
16655 case "(($ac_try" in
16656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16657   *) ac_try_echo=$ac_try;;
16658 esac
16659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16660   (eval "$ac_compile") 2>conftest.er1
16661   ac_status=$?
16662   grep -v '^ *+' conftest.er1 >conftest.err
16663   rm -f conftest.er1
16664   cat conftest.err >&5
16665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666   (exit $ac_status); } && {
16667          test -z "$ac_c_werror_flag" ||
16668          test ! -s conftest.err
16669        } && test -s conftest.$ac_objext; then
16670   ac_cv_c_const=yes
16671 else
16672   echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16674
16675         ac_cv_c_const=no
16676 fi
16677
16678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16679 fi
16680 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16681 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16682 if test $ac_cv_c_const = no; then
16683
16684 cat >>confdefs.h <<\_ACEOF
16685 #define const
16686 _ACEOF
16687
16688 fi
16689
16690 { echo "$as_me:$LINENO: checking for inline" >&5
16691 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16692 if test "${ac_cv_c_inline+set}" = set; then
16693   echo $ECHO_N "(cached) $ECHO_C" >&6
16694 else
16695   ac_cv_c_inline=no
16696 for ac_kw in inline __inline__ __inline; do
16697   cat >conftest.$ac_ext <<_ACEOF
16698 /* confdefs.h.  */
16699 _ACEOF
16700 cat confdefs.h >>conftest.$ac_ext
16701 cat >>conftest.$ac_ext <<_ACEOF
16702 /* end confdefs.h.  */
16703 #ifndef __cplusplus
16704 typedef int foo_t;
16705 static $ac_kw foo_t static_foo () {return 0; }
16706 $ac_kw foo_t foo () {return 0; }
16707 #endif
16708
16709 _ACEOF
16710 rm -f conftest.$ac_objext
16711 if { (ac_try="$ac_compile"
16712 case "(($ac_try" in
16713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16714   *) ac_try_echo=$ac_try;;
16715 esac
16716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16717   (eval "$ac_compile") 2>conftest.er1
16718   ac_status=$?
16719   grep -v '^ *+' conftest.er1 >conftest.err
16720   rm -f conftest.er1
16721   cat conftest.err >&5
16722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723   (exit $ac_status); } && {
16724          test -z "$ac_c_werror_flag" ||
16725          test ! -s conftest.err
16726        } && test -s conftest.$ac_objext; then
16727   ac_cv_c_inline=$ac_kw
16728 else
16729   echo "$as_me: failed program was:" >&5
16730 sed 's/^/| /' conftest.$ac_ext >&5
16731
16732
16733 fi
16734
16735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16736   test "$ac_cv_c_inline" != no && break
16737 done
16738
16739 fi
16740 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16741 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16742
16743
16744 case $ac_cv_c_inline in
16745   inline | yes) ;;
16746   *)
16747     case $ac_cv_c_inline in
16748       no) ac_val=;;
16749       *) ac_val=$ac_cv_c_inline;;
16750     esac
16751     cat >>confdefs.h <<_ACEOF
16752 #ifndef __cplusplus
16753 #define inline $ac_val
16754 #endif
16755 _ACEOF
16756     ;;
16757 esac
16758
16759 { echo "$as_me:$LINENO: checking for mode_t" >&5
16760 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16761 if test "${ac_cv_type_mode_t+set}" = set; then
16762   echo $ECHO_N "(cached) $ECHO_C" >&6
16763 else
16764   cat >conftest.$ac_ext <<_ACEOF
16765 /* confdefs.h.  */
16766 _ACEOF
16767 cat confdefs.h >>conftest.$ac_ext
16768 cat >>conftest.$ac_ext <<_ACEOF
16769 /* end confdefs.h.  */
16770 $ac_includes_default
16771 typedef mode_t ac__type_new_;
16772 int
16773 main ()
16774 {
16775 if ((ac__type_new_ *) 0)
16776   return 0;
16777 if (sizeof (ac__type_new_))
16778   return 0;
16779   ;
16780   return 0;
16781 }
16782 _ACEOF
16783 rm -f conftest.$ac_objext
16784 if { (ac_try="$ac_compile"
16785 case "(($ac_try" in
16786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16787   *) ac_try_echo=$ac_try;;
16788 esac
16789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16790   (eval "$ac_compile") 2>conftest.er1
16791   ac_status=$?
16792   grep -v '^ *+' conftest.er1 >conftest.err
16793   rm -f conftest.er1
16794   cat conftest.err >&5
16795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796   (exit $ac_status); } && {
16797          test -z "$ac_c_werror_flag" ||
16798          test ! -s conftest.err
16799        } && test -s conftest.$ac_objext; then
16800   ac_cv_type_mode_t=yes
16801 else
16802   echo "$as_me: failed program was:" >&5
16803 sed 's/^/| /' conftest.$ac_ext >&5
16804
16805         ac_cv_type_mode_t=no
16806 fi
16807
16808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16809 fi
16810 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16811 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16812 if test $ac_cv_type_mode_t = yes; then
16813
16814 cat >>confdefs.h <<_ACEOF
16815 #define HAVE_MODE_T 1
16816 _ACEOF
16817
16818
16819 fi
16820 { echo "$as_me:$LINENO: checking for off_t" >&5
16821 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16822 if test "${ac_cv_type_off_t+set}" = set; then
16823   echo $ECHO_N "(cached) $ECHO_C" >&6
16824 else
16825   cat >conftest.$ac_ext <<_ACEOF
16826 /* confdefs.h.  */
16827 _ACEOF
16828 cat confdefs.h >>conftest.$ac_ext
16829 cat >>conftest.$ac_ext <<_ACEOF
16830 /* end confdefs.h.  */
16831 $ac_includes_default
16832 typedef off_t ac__type_new_;
16833 int
16834 main ()
16835 {
16836 if ((ac__type_new_ *) 0)
16837   return 0;
16838 if (sizeof (ac__type_new_))
16839   return 0;
16840   ;
16841   return 0;
16842 }
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (ac_try="$ac_compile"
16846 case "(($ac_try" in
16847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16848   *) ac_try_echo=$ac_try;;
16849 esac
16850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16851   (eval "$ac_compile") 2>conftest.er1
16852   ac_status=$?
16853   grep -v '^ *+' conftest.er1 >conftest.err
16854   rm -f conftest.er1
16855   cat conftest.err >&5
16856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857   (exit $ac_status); } && {
16858          test -z "$ac_c_werror_flag" ||
16859          test ! -s conftest.err
16860        } && test -s conftest.$ac_objext; then
16861   ac_cv_type_off_t=yes
16862 else
16863   echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16865
16866         ac_cv_type_off_t=no
16867 fi
16868
16869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16870 fi
16871 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16872 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16873 if test $ac_cv_type_off_t = yes; then
16874
16875 cat >>confdefs.h <<_ACEOF
16876 #define HAVE_OFF_T 1
16877 _ACEOF
16878
16879
16880 fi
16881 { echo "$as_me:$LINENO: checking for pid_t" >&5
16882 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16883 if test "${ac_cv_type_pid_t+set}" = set; then
16884   echo $ECHO_N "(cached) $ECHO_C" >&6
16885 else
16886   cat >conftest.$ac_ext <<_ACEOF
16887 /* confdefs.h.  */
16888 _ACEOF
16889 cat confdefs.h >>conftest.$ac_ext
16890 cat >>conftest.$ac_ext <<_ACEOF
16891 /* end confdefs.h.  */
16892 $ac_includes_default
16893 typedef pid_t ac__type_new_;
16894 int
16895 main ()
16896 {
16897 if ((ac__type_new_ *) 0)
16898   return 0;
16899 if (sizeof (ac__type_new_))
16900   return 0;
16901   ;
16902   return 0;
16903 }
16904 _ACEOF
16905 rm -f conftest.$ac_objext
16906 if { (ac_try="$ac_compile"
16907 case "(($ac_try" in
16908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16909   *) ac_try_echo=$ac_try;;
16910 esac
16911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16912   (eval "$ac_compile") 2>conftest.er1
16913   ac_status=$?
16914   grep -v '^ *+' conftest.er1 >conftest.err
16915   rm -f conftest.er1
16916   cat conftest.err >&5
16917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16918   (exit $ac_status); } && {
16919          test -z "$ac_c_werror_flag" ||
16920          test ! -s conftest.err
16921        } && test -s conftest.$ac_objext; then
16922   ac_cv_type_pid_t=yes
16923 else
16924   echo "$as_me: failed program was:" >&5
16925 sed 's/^/| /' conftest.$ac_ext >&5
16926
16927         ac_cv_type_pid_t=no
16928 fi
16929
16930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16931 fi
16932 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16933 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16934 if test $ac_cv_type_pid_t = yes; then
16935
16936 cat >>confdefs.h <<_ACEOF
16937 #define HAVE_PID_T 1
16938 _ACEOF
16939
16940
16941 fi
16942 { echo "$as_me:$LINENO: checking for size_t" >&5
16943 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16944 if test "${ac_cv_type_size_t+set}" = set; then
16945   echo $ECHO_N "(cached) $ECHO_C" >&6
16946 else
16947   cat >conftest.$ac_ext <<_ACEOF
16948 /* confdefs.h.  */
16949 _ACEOF
16950 cat confdefs.h >>conftest.$ac_ext
16951 cat >>conftest.$ac_ext <<_ACEOF
16952 /* end confdefs.h.  */
16953 $ac_includes_default
16954 typedef size_t ac__type_new_;
16955 int
16956 main ()
16957 {
16958 if ((ac__type_new_ *) 0)
16959   return 0;
16960 if (sizeof (ac__type_new_))
16961   return 0;
16962   ;
16963   return 0;
16964 }
16965 _ACEOF
16966 rm -f conftest.$ac_objext
16967 if { (ac_try="$ac_compile"
16968 case "(($ac_try" in
16969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16970   *) ac_try_echo=$ac_try;;
16971 esac
16972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16973   (eval "$ac_compile") 2>conftest.er1
16974   ac_status=$?
16975   grep -v '^ *+' conftest.er1 >conftest.err
16976   rm -f conftest.er1
16977   cat conftest.err >&5
16978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979   (exit $ac_status); } && {
16980          test -z "$ac_c_werror_flag" ||
16981          test ! -s conftest.err
16982        } && test -s conftest.$ac_objext; then
16983   ac_cv_type_size_t=yes
16984 else
16985   echo "$as_me: failed program was:" >&5
16986 sed 's/^/| /' conftest.$ac_ext >&5
16987
16988         ac_cv_type_size_t=no
16989 fi
16990
16991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16992 fi
16993 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16994 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16995 if test $ac_cv_type_size_t = yes; then
16996
16997 cat >>confdefs.h <<_ACEOF
16998 #define HAVE_SIZE_T 1
16999 _ACEOF
17000
17001
17002 fi
17003 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17004 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17005 if test "${ac_cv_type_ssize_t+set}" = set; then
17006   echo $ECHO_N "(cached) $ECHO_C" >&6
17007 else
17008   cat >conftest.$ac_ext <<_ACEOF
17009 /* confdefs.h.  */
17010 _ACEOF
17011 cat confdefs.h >>conftest.$ac_ext
17012 cat >>conftest.$ac_ext <<_ACEOF
17013 /* end confdefs.h.  */
17014 $ac_includes_default
17015 typedef ssize_t ac__type_new_;
17016 int
17017 main ()
17018 {
17019 if ((ac__type_new_ *) 0)
17020   return 0;
17021 if (sizeof (ac__type_new_))
17022   return 0;
17023   ;
17024   return 0;
17025 }
17026 _ACEOF
17027 rm -f conftest.$ac_objext
17028 if { (ac_try="$ac_compile"
17029 case "(($ac_try" in
17030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17031   *) ac_try_echo=$ac_try;;
17032 esac
17033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17034   (eval "$ac_compile") 2>conftest.er1
17035   ac_status=$?
17036   grep -v '^ *+' conftest.er1 >conftest.err
17037   rm -f conftest.er1
17038   cat conftest.err >&5
17039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040   (exit $ac_status); } && {
17041          test -z "$ac_c_werror_flag" ||
17042          test ! -s conftest.err
17043        } && test -s conftest.$ac_objext; then
17044   ac_cv_type_ssize_t=yes
17045 else
17046   echo "$as_me: failed program was:" >&5
17047 sed 's/^/| /' conftest.$ac_ext >&5
17048
17049         ac_cv_type_ssize_t=no
17050 fi
17051
17052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17053 fi
17054 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17055 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17056 if test $ac_cv_type_ssize_t = yes; then
17057
17058 cat >>confdefs.h <<_ACEOF
17059 #define HAVE_SSIZE_T 1
17060 _ACEOF
17061
17062
17063 fi
17064 { echo "$as_me:$LINENO: checking for long long" >&5
17065 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17066 if test "${ac_cv_type_long_long+set}" = set; then
17067   echo $ECHO_N "(cached) $ECHO_C" >&6
17068 else
17069   cat >conftest.$ac_ext <<_ACEOF
17070 /* confdefs.h.  */
17071 _ACEOF
17072 cat confdefs.h >>conftest.$ac_ext
17073 cat >>conftest.$ac_ext <<_ACEOF
17074 /* end confdefs.h.  */
17075 $ac_includes_default
17076 typedef long long ac__type_new_;
17077 int
17078 main ()
17079 {
17080 if ((ac__type_new_ *) 0)
17081   return 0;
17082 if (sizeof (ac__type_new_))
17083   return 0;
17084   ;
17085   return 0;
17086 }
17087 _ACEOF
17088 rm -f conftest.$ac_objext
17089 if { (ac_try="$ac_compile"
17090 case "(($ac_try" in
17091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17092   *) ac_try_echo=$ac_try;;
17093 esac
17094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17095   (eval "$ac_compile") 2>conftest.er1
17096   ac_status=$?
17097   grep -v '^ *+' conftest.er1 >conftest.err
17098   rm -f conftest.er1
17099   cat conftest.err >&5
17100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101   (exit $ac_status); } && {
17102          test -z "$ac_c_werror_flag" ||
17103          test ! -s conftest.err
17104        } && test -s conftest.$ac_objext; then
17105   ac_cv_type_long_long=yes
17106 else
17107   echo "$as_me: failed program was:" >&5
17108 sed 's/^/| /' conftest.$ac_ext >&5
17109
17110         ac_cv_type_long_long=no
17111 fi
17112
17113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17114 fi
17115 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17116 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17117 if test $ac_cv_type_long_long = yes; then
17118
17119 cat >>confdefs.h <<_ACEOF
17120 #define HAVE_LONG_LONG 1
17121 _ACEOF
17122
17123
17124 fi
17125 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17126 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17127 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17128   echo $ECHO_N "(cached) $ECHO_C" >&6
17129 else
17130   cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h.  */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h.  */
17136 $ac_includes_default
17137 typedef fsblkcnt_t ac__type_new_;
17138 int
17139 main ()
17140 {
17141 if ((ac__type_new_ *) 0)
17142   return 0;
17143 if (sizeof (ac__type_new_))
17144   return 0;
17145   ;
17146   return 0;
17147 }
17148 _ACEOF
17149 rm -f conftest.$ac_objext
17150 if { (ac_try="$ac_compile"
17151 case "(($ac_try" in
17152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17153   *) ac_try_echo=$ac_try;;
17154 esac
17155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17156   (eval "$ac_compile") 2>conftest.er1
17157   ac_status=$?
17158   grep -v '^ *+' conftest.er1 >conftest.err
17159   rm -f conftest.er1
17160   cat conftest.err >&5
17161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162   (exit $ac_status); } && {
17163          test -z "$ac_c_werror_flag" ||
17164          test ! -s conftest.err
17165        } && test -s conftest.$ac_objext; then
17166   ac_cv_type_fsblkcnt_t=yes
17167 else
17168   echo "$as_me: failed program was:" >&5
17169 sed 's/^/| /' conftest.$ac_ext >&5
17170
17171         ac_cv_type_fsblkcnt_t=no
17172 fi
17173
17174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17175 fi
17176 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17177 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17178 if test $ac_cv_type_fsblkcnt_t = yes; then
17179
17180 cat >>confdefs.h <<_ACEOF
17181 #define HAVE_FSBLKCNT_T 1
17182 _ACEOF
17183
17184
17185 fi
17186 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17187 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17188 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17189   echo $ECHO_N "(cached) $ECHO_C" >&6
17190 else
17191   cat >conftest.$ac_ext <<_ACEOF
17192 /* confdefs.h.  */
17193 _ACEOF
17194 cat confdefs.h >>conftest.$ac_ext
17195 cat >>conftest.$ac_ext <<_ACEOF
17196 /* end confdefs.h.  */
17197 $ac_includes_default
17198 typedef fsfilcnt_t ac__type_new_;
17199 int
17200 main ()
17201 {
17202 if ((ac__type_new_ *) 0)
17203   return 0;
17204 if (sizeof (ac__type_new_))
17205   return 0;
17206   ;
17207   return 0;
17208 }
17209 _ACEOF
17210 rm -f conftest.$ac_objext
17211 if { (ac_try="$ac_compile"
17212 case "(($ac_try" in
17213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17214   *) ac_try_echo=$ac_try;;
17215 esac
17216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17217   (eval "$ac_compile") 2>conftest.er1
17218   ac_status=$?
17219   grep -v '^ *+' conftest.er1 >conftest.err
17220   rm -f conftest.er1
17221   cat conftest.err >&5
17222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223   (exit $ac_status); } && {
17224          test -z "$ac_c_werror_flag" ||
17225          test ! -s conftest.err
17226        } && test -s conftest.$ac_objext; then
17227   ac_cv_type_fsfilcnt_t=yes
17228 else
17229   echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17231
17232         ac_cv_type_fsfilcnt_t=no
17233 fi
17234
17235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17236 fi
17237 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17238 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17239 if test $ac_cv_type_fsfilcnt_t = yes; then
17240
17241 cat >>confdefs.h <<_ACEOF
17242 #define HAVE_FSFILCNT_T 1
17243 _ACEOF
17244
17245
17246 fi
17247
17248 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17249 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17250 if test "${ac_cv_type_sigset_t+set}" = set; then
17251   echo $ECHO_N "(cached) $ECHO_C" >&6
17252 else
17253   cat >conftest.$ac_ext <<_ACEOF
17254 /* confdefs.h.  */
17255 _ACEOF
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h.  */
17259 #include <signal.h>
17260
17261 typedef sigset_t ac__type_new_;
17262 int
17263 main ()
17264 {
17265 if ((ac__type_new_ *) 0)
17266   return 0;
17267 if (sizeof (ac__type_new_))
17268   return 0;
17269   ;
17270   return 0;
17271 }
17272 _ACEOF
17273 rm -f conftest.$ac_objext
17274 if { (ac_try="$ac_compile"
17275 case "(($ac_try" in
17276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17277   *) ac_try_echo=$ac_try;;
17278 esac
17279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17280   (eval "$ac_compile") 2>conftest.er1
17281   ac_status=$?
17282   grep -v '^ *+' conftest.er1 >conftest.err
17283   rm -f conftest.er1
17284   cat conftest.err >&5
17285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286   (exit $ac_status); } && {
17287          test -z "$ac_c_werror_flag" ||
17288          test ! -s conftest.err
17289        } && test -s conftest.$ac_objext; then
17290   ac_cv_type_sigset_t=yes
17291 else
17292   echo "$as_me: failed program was:" >&5
17293 sed 's/^/| /' conftest.$ac_ext >&5
17294
17295         ac_cv_type_sigset_t=no
17296 fi
17297
17298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17299 fi
17300 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17301 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17302 if test $ac_cv_type_sigset_t = yes; then
17303
17304 cat >>confdefs.h <<_ACEOF
17305 #define HAVE_SIGSET_T 1
17306 _ACEOF
17307
17308
17309 fi
17310
17311 { echo "$as_me:$LINENO: checking for request_sense" >&5
17312 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17313 if test "${ac_cv_type_request_sense+set}" = set; then
17314   echo $ECHO_N "(cached) $ECHO_C" >&6
17315 else
17316   cat >conftest.$ac_ext <<_ACEOF
17317 /* confdefs.h.  */
17318 _ACEOF
17319 cat confdefs.h >>conftest.$ac_ext
17320 cat >>conftest.$ac_ext <<_ACEOF
17321 /* end confdefs.h.  */
17322 #include <linux/cdrom.h>
17323
17324 typedef request_sense ac__type_new_;
17325 int
17326 main ()
17327 {
17328 if ((ac__type_new_ *) 0)
17329   return 0;
17330 if (sizeof (ac__type_new_))
17331   return 0;
17332   ;
17333   return 0;
17334 }
17335 _ACEOF
17336 rm -f conftest.$ac_objext
17337 if { (ac_try="$ac_compile"
17338 case "(($ac_try" in
17339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17340   *) ac_try_echo=$ac_try;;
17341 esac
17342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17343   (eval "$ac_compile") 2>conftest.er1
17344   ac_status=$?
17345   grep -v '^ *+' conftest.er1 >conftest.err
17346   rm -f conftest.er1
17347   cat conftest.err >&5
17348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349   (exit $ac_status); } && {
17350          test -z "$ac_c_werror_flag" ||
17351          test ! -s conftest.err
17352        } && test -s conftest.$ac_objext; then
17353   ac_cv_type_request_sense=yes
17354 else
17355   echo "$as_me: failed program was:" >&5
17356 sed 's/^/| /' conftest.$ac_ext >&5
17357
17358         ac_cv_type_request_sense=no
17359 fi
17360
17361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 fi
17363 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17364 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17365 if test $ac_cv_type_request_sense = yes; then
17366
17367 cat >>confdefs.h <<_ACEOF
17368 #define HAVE_REQUEST_SENSE 1
17369 _ACEOF
17370
17371
17372 fi
17373
17374
17375 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17376 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17377 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17378   echo $ECHO_N "(cached) $ECHO_C" >&6
17379 else
17380   cat >conftest.$ac_ext <<_ACEOF
17381 /* confdefs.h.  */
17382 _ACEOF
17383 cat confdefs.h >>conftest.$ac_ext
17384 cat >>conftest.$ac_ext <<_ACEOF
17385 /* end confdefs.h.  */
17386 #ifdef HAVE_LINUX_INPUT_H
17387 #include <linux/input.h>
17388 #endif
17389
17390 int
17391 main ()
17392 {
17393 static struct ff_effect ac_aggr;
17394 if (ac_aggr.direction)
17395 return 0;
17396   ;
17397   return 0;
17398 }
17399 _ACEOF
17400 rm -f conftest.$ac_objext
17401 if { (ac_try="$ac_compile"
17402 case "(($ac_try" in
17403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17404   *) ac_try_echo=$ac_try;;
17405 esac
17406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17407   (eval "$ac_compile") 2>conftest.er1
17408   ac_status=$?
17409   grep -v '^ *+' conftest.er1 >conftest.err
17410   rm -f conftest.er1
17411   cat conftest.err >&5
17412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17413   (exit $ac_status); } && {
17414          test -z "$ac_c_werror_flag" ||
17415          test ! -s conftest.err
17416        } && test -s conftest.$ac_objext; then
17417   ac_cv_member_struct_ff_effect_direction=yes
17418 else
17419   echo "$as_me: failed program was:" >&5
17420 sed 's/^/| /' conftest.$ac_ext >&5
17421
17422         cat >conftest.$ac_ext <<_ACEOF
17423 /* confdefs.h.  */
17424 _ACEOF
17425 cat confdefs.h >>conftest.$ac_ext
17426 cat >>conftest.$ac_ext <<_ACEOF
17427 /* end confdefs.h.  */
17428 #ifdef HAVE_LINUX_INPUT_H
17429 #include <linux/input.h>
17430 #endif
17431
17432 int
17433 main ()
17434 {
17435 static struct ff_effect ac_aggr;
17436 if (sizeof ac_aggr.direction)
17437 return 0;
17438   ;
17439   return 0;
17440 }
17441 _ACEOF
17442 rm -f conftest.$ac_objext
17443 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
17459   ac_cv_member_struct_ff_effect_direction=yes
17460 else
17461   echo "$as_me: failed program was:" >&5
17462 sed 's/^/| /' conftest.$ac_ext >&5
17463
17464         ac_cv_member_struct_ff_effect_direction=no
17465 fi
17466
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17468 fi
17469
17470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17471 fi
17472 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17473 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17474 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17475
17476 cat >>confdefs.h <<_ACEOF
17477 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17478 _ACEOF
17479
17480
17481 fi
17482
17483
17484 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17485 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17486 if test "${wine_cv_have_sigaddset+set}" = set; then
17487   echo $ECHO_N "(cached) $ECHO_C" >&6
17488 else
17489   cat >conftest.$ac_ext <<_ACEOF
17490 /* confdefs.h.  */
17491 _ACEOF
17492 cat confdefs.h >>conftest.$ac_ext
17493 cat >>conftest.$ac_ext <<_ACEOF
17494 /* end confdefs.h.  */
17495 #include <signal.h>
17496 int
17497 main ()
17498 {
17499 sigset_t set; sigaddset(&set,SIGTERM);
17500   ;
17501   return 0;
17502 }
17503 _ACEOF
17504 rm -f conftest.$ac_objext conftest$ac_exeext
17505 if { (ac_try="$ac_link"
17506 case "(($ac_try" in
17507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17508   *) ac_try_echo=$ac_try;;
17509 esac
17510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17511   (eval "$ac_link") 2>conftest.er1
17512   ac_status=$?
17513   grep -v '^ *+' conftest.er1 >conftest.err
17514   rm -f conftest.er1
17515   cat conftest.err >&5
17516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517   (exit $ac_status); } && {
17518          test -z "$ac_c_werror_flag" ||
17519          test ! -s conftest.err
17520        } && test -s conftest$ac_exeext &&
17521        $as_test_x conftest$ac_exeext; then
17522   wine_cv_have_sigaddset=yes
17523 else
17524   echo "$as_me: failed program was:" >&5
17525 sed 's/^/| /' conftest.$ac_ext >&5
17526
17527         wine_cv_have_sigaddset=no
17528 fi
17529
17530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17531       conftest$ac_exeext conftest.$ac_ext
17532 fi
17533 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17534 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17535 if test "$wine_cv_have_sigaddset" = "yes"
17536 then
17537
17538 cat >>confdefs.h <<\_ACEOF
17539 #define HAVE_SIGADDSET 1
17540 _ACEOF
17541
17542 fi
17543
17544
17545 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17546 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17547 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17548   echo $ECHO_N "(cached) $ECHO_C" >&6
17549 else
17550   cat >conftest.$ac_ext <<_ACEOF
17551 /* confdefs.h.  */
17552 _ACEOF
17553 cat confdefs.h >>conftest.$ac_ext
17554 cat >>conftest.$ac_ext <<_ACEOF
17555 /* end confdefs.h.  */
17556 #include <netdb.h>
17557 int
17558 main ()
17559 {
17560
17561     char *name=NULL;
17562     struct hostent he;
17563     struct hostent *result;
17564     char *buf=NULL;
17565     int bufsize=0;
17566     int res,errnr;
17567     char *addr=NULL;
17568     int addrlen=0;
17569     int addrtype=0;
17570     res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17571     res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17572
17573   ;
17574   return 0;
17575 }
17576 _ACEOF
17577 rm -f conftest.$ac_objext conftest$ac_exeext
17578 if { (ac_try="$ac_link"
17579 case "(($ac_try" in
17580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17581   *) ac_try_echo=$ac_try;;
17582 esac
17583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17584   (eval "$ac_link") 2>conftest.er1
17585   ac_status=$?
17586   grep -v '^ *+' conftest.er1 >conftest.err
17587   rm -f conftest.er1
17588   cat conftest.err >&5
17589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590   (exit $ac_status); } && {
17591          test -z "$ac_c_werror_flag" ||
17592          test ! -s conftest.err
17593        } && test -s conftest$ac_exeext &&
17594        $as_test_x conftest$ac_exeext; then
17595   wine_cv_linux_gethostbyname_r_6=yes
17596 else
17597   echo "$as_me: failed program was:" >&5
17598 sed 's/^/| /' conftest.$ac_ext >&5
17599
17600         wine_cv_linux_gethostbyname_r_6=no
17601
17602 fi
17603
17604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17605       conftest$ac_exeext conftest.$ac_ext
17606
17607 fi
17608 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17609 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17610    if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17611    then
17612
17613 cat >>confdefs.h <<\_ACEOF
17614 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17615 _ACEOF
17616
17617    fi
17618
17619 if test "$ac_cv_header_linux_joystick_h" = "yes"
17620 then
17621    { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17622 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17623 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17624   echo $ECHO_N "(cached) $ECHO_C" >&6
17625 else
17626   cat >conftest.$ac_ext <<_ACEOF
17627 /* confdefs.h.  */
17628 _ACEOF
17629 cat confdefs.h >>conftest.$ac_ext
17630 cat >>conftest.$ac_ext <<_ACEOF
17631 /* end confdefs.h.  */
17632
17633         #include <sys/ioctl.h>
17634         #include <sys/types.h>
17635         #include <linux/joystick.h>
17636
17637         struct js_event blub;
17638         #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17639         #error "no 2.2 header"
17640         #endif
17641
17642 int
17643 main ()
17644 {
17645 /*empty*/
17646   ;
17647   return 0;
17648 }
17649 _ACEOF
17650 rm -f conftest.$ac_objext
17651 if { (ac_try="$ac_compile"
17652 case "(($ac_try" in
17653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17654   *) ac_try_echo=$ac_try;;
17655 esac
17656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17657   (eval "$ac_compile") 2>conftest.er1
17658   ac_status=$?
17659   grep -v '^ *+' conftest.er1 >conftest.err
17660   rm -f conftest.er1
17661   cat conftest.err >&5
17662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663   (exit $ac_status); } && {
17664          test -z "$ac_c_werror_flag" ||
17665          test ! -s conftest.err
17666        } && test -s conftest.$ac_objext; then
17667   wine_cv_linux_joystick_22_api=yes
17668 else
17669   echo "$as_me: failed program was:" >&5
17670 sed 's/^/| /' conftest.$ac_ext >&5
17671
17672         wine_cv_linux_joystick_22_api=no
17673 fi
17674
17675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17676
17677 fi
17678 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17679 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17680    if test "$wine_cv_linux_joystick_22_api" = "yes"
17681    then
17682
17683 cat >>confdefs.h <<\_ACEOF
17684 #define HAVE_LINUX_22_JOYSTICK_API 1
17685 _ACEOF
17686
17687    fi
17688 fi
17689
17690
17691 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17692 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17693 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17694   echo $ECHO_N "(cached) $ECHO_C" >&6
17695 else
17696   cat >conftest.$ac_ext <<_ACEOF
17697 /* confdefs.h.  */
17698 _ACEOF
17699 cat confdefs.h >>conftest.$ac_ext
17700 cat >>conftest.$ac_ext <<_ACEOF
17701 /* end confdefs.h.  */
17702 #include <sys/types.h>
17703 #ifdef HAVE_SYS_PARAM_H
17704 # include <sys/param.h>
17705 #endif
17706 #ifdef HAVE_SYS_MOUNT_H
17707 # include <sys/mount.h>
17708 #endif
17709 #ifdef HAVE_SYS_VFS_H
17710 # include <sys/vfs.h>
17711 #endif
17712 #ifdef HAVE_SYS_STATFS_H
17713 # include <sys/statfs.h>
17714 #endif
17715
17716 int
17717 main ()
17718 {
17719 static struct statfs ac_aggr;
17720 if (ac_aggr.f_bfree)
17721 return 0;
17722   ;
17723   return 0;
17724 }
17725 _ACEOF
17726 rm -f conftest.$ac_objext
17727 if { (ac_try="$ac_compile"
17728 case "(($ac_try" in
17729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17730   *) ac_try_echo=$ac_try;;
17731 esac
17732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17733   (eval "$ac_compile") 2>conftest.er1
17734   ac_status=$?
17735   grep -v '^ *+' conftest.er1 >conftest.err
17736   rm -f conftest.er1
17737   cat conftest.err >&5
17738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739   (exit $ac_status); } && {
17740          test -z "$ac_c_werror_flag" ||
17741          test ! -s conftest.err
17742        } && test -s conftest.$ac_objext; then
17743   ac_cv_member_struct_statfs_f_bfree=yes
17744 else
17745   echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.$ac_ext >&5
17747
17748         cat >conftest.$ac_ext <<_ACEOF
17749 /* confdefs.h.  */
17750 _ACEOF
17751 cat confdefs.h >>conftest.$ac_ext
17752 cat >>conftest.$ac_ext <<_ACEOF
17753 /* end confdefs.h.  */
17754 #include <sys/types.h>
17755 #ifdef HAVE_SYS_PARAM_H
17756 # include <sys/param.h>
17757 #endif
17758 #ifdef HAVE_SYS_MOUNT_H
17759 # include <sys/mount.h>
17760 #endif
17761 #ifdef HAVE_SYS_VFS_H
17762 # include <sys/vfs.h>
17763 #endif
17764 #ifdef HAVE_SYS_STATFS_H
17765 # include <sys/statfs.h>
17766 #endif
17767
17768 int
17769 main ()
17770 {
17771 static struct statfs ac_aggr;
17772 if (sizeof ac_aggr.f_bfree)
17773 return 0;
17774   ;
17775   return 0;
17776 }
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (ac_try="$ac_compile"
17780 case "(($ac_try" in
17781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17782   *) ac_try_echo=$ac_try;;
17783 esac
17784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17785   (eval "$ac_compile") 2>conftest.er1
17786   ac_status=$?
17787   grep -v '^ *+' conftest.er1 >conftest.err
17788   rm -f conftest.er1
17789   cat conftest.err >&5
17790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17791   (exit $ac_status); } && {
17792          test -z "$ac_c_werror_flag" ||
17793          test ! -s conftest.err
17794        } && test -s conftest.$ac_objext; then
17795   ac_cv_member_struct_statfs_f_bfree=yes
17796 else
17797   echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17799
17800         ac_cv_member_struct_statfs_f_bfree=no
17801 fi
17802
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804 fi
17805
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 fi
17808 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17809 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17810 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17811
17812 cat >>confdefs.h <<_ACEOF
17813 #define HAVE_STRUCT_STATFS_F_BFREE 1
17814 _ACEOF
17815
17816
17817 fi
17818 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17819 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17820 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17821   echo $ECHO_N "(cached) $ECHO_C" >&6
17822 else
17823   cat >conftest.$ac_ext <<_ACEOF
17824 /* confdefs.h.  */
17825 _ACEOF
17826 cat confdefs.h >>conftest.$ac_ext
17827 cat >>conftest.$ac_ext <<_ACEOF
17828 /* end confdefs.h.  */
17829 #include <sys/types.h>
17830 #ifdef HAVE_SYS_PARAM_H
17831 # include <sys/param.h>
17832 #endif
17833 #ifdef HAVE_SYS_MOUNT_H
17834 # include <sys/mount.h>
17835 #endif
17836 #ifdef HAVE_SYS_VFS_H
17837 # include <sys/vfs.h>
17838 #endif
17839 #ifdef HAVE_SYS_STATFS_H
17840 # include <sys/statfs.h>
17841 #endif
17842
17843 int
17844 main ()
17845 {
17846 static struct statfs ac_aggr;
17847 if (ac_aggr.f_bavail)
17848 return 0;
17849   ;
17850   return 0;
17851 }
17852 _ACEOF
17853 rm -f conftest.$ac_objext
17854 if { (ac_try="$ac_compile"
17855 case "(($ac_try" in
17856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17857   *) ac_try_echo=$ac_try;;
17858 esac
17859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17860   (eval "$ac_compile") 2>conftest.er1
17861   ac_status=$?
17862   grep -v '^ *+' conftest.er1 >conftest.err
17863   rm -f conftest.er1
17864   cat conftest.err >&5
17865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866   (exit $ac_status); } && {
17867          test -z "$ac_c_werror_flag" ||
17868          test ! -s conftest.err
17869        } && test -s conftest.$ac_objext; then
17870   ac_cv_member_struct_statfs_f_bavail=yes
17871 else
17872   echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17874
17875         cat >conftest.$ac_ext <<_ACEOF
17876 /* confdefs.h.  */
17877 _ACEOF
17878 cat confdefs.h >>conftest.$ac_ext
17879 cat >>conftest.$ac_ext <<_ACEOF
17880 /* end confdefs.h.  */
17881 #include <sys/types.h>
17882 #ifdef HAVE_SYS_PARAM_H
17883 # include <sys/param.h>
17884 #endif
17885 #ifdef HAVE_SYS_MOUNT_H
17886 # include <sys/mount.h>
17887 #endif
17888 #ifdef HAVE_SYS_VFS_H
17889 # include <sys/vfs.h>
17890 #endif
17891 #ifdef HAVE_SYS_STATFS_H
17892 # include <sys/statfs.h>
17893 #endif
17894
17895 int
17896 main ()
17897 {
17898 static struct statfs ac_aggr;
17899 if (sizeof ac_aggr.f_bavail)
17900 return 0;
17901   ;
17902   return 0;
17903 }
17904 _ACEOF
17905 rm -f conftest.$ac_objext
17906 if { (ac_try="$ac_compile"
17907 case "(($ac_try" in
17908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17909   *) ac_try_echo=$ac_try;;
17910 esac
17911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17912   (eval "$ac_compile") 2>conftest.er1
17913   ac_status=$?
17914   grep -v '^ *+' conftest.er1 >conftest.err
17915   rm -f conftest.er1
17916   cat conftest.err >&5
17917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918   (exit $ac_status); } && {
17919          test -z "$ac_c_werror_flag" ||
17920          test ! -s conftest.err
17921        } && test -s conftest.$ac_objext; then
17922   ac_cv_member_struct_statfs_f_bavail=yes
17923 else
17924   echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.$ac_ext >&5
17926
17927         ac_cv_member_struct_statfs_f_bavail=no
17928 fi
17929
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17931 fi
17932
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 fi
17935 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17936 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17937 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17938
17939 cat >>confdefs.h <<_ACEOF
17940 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17941 _ACEOF
17942
17943
17944 fi
17945 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17946 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17947 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17948   echo $ECHO_N "(cached) $ECHO_C" >&6
17949 else
17950   cat >conftest.$ac_ext <<_ACEOF
17951 /* confdefs.h.  */
17952 _ACEOF
17953 cat confdefs.h >>conftest.$ac_ext
17954 cat >>conftest.$ac_ext <<_ACEOF
17955 /* end confdefs.h.  */
17956 #include <sys/types.h>
17957 #ifdef HAVE_SYS_PARAM_H
17958 # include <sys/param.h>
17959 #endif
17960 #ifdef HAVE_SYS_MOUNT_H
17961 # include <sys/mount.h>
17962 #endif
17963 #ifdef HAVE_SYS_VFS_H
17964 # include <sys/vfs.h>
17965 #endif
17966 #ifdef HAVE_SYS_STATFS_H
17967 # include <sys/statfs.h>
17968 #endif
17969
17970 int
17971 main ()
17972 {
17973 static struct statfs ac_aggr;
17974 if (ac_aggr.f_frsize)
17975 return 0;
17976   ;
17977   return 0;
17978 }
17979 _ACEOF
17980 rm -f conftest.$ac_objext
17981 if { (ac_try="$ac_compile"
17982 case "(($ac_try" in
17983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17984   *) ac_try_echo=$ac_try;;
17985 esac
17986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17987   (eval "$ac_compile") 2>conftest.er1
17988   ac_status=$?
17989   grep -v '^ *+' conftest.er1 >conftest.err
17990   rm -f conftest.er1
17991   cat conftest.err >&5
17992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993   (exit $ac_status); } && {
17994          test -z "$ac_c_werror_flag" ||
17995          test ! -s conftest.err
17996        } && test -s conftest.$ac_objext; then
17997   ac_cv_member_struct_statfs_f_frsize=yes
17998 else
17999   echo "$as_me: failed program was:" >&5
18000 sed 's/^/| /' conftest.$ac_ext >&5
18001
18002         cat >conftest.$ac_ext <<_ACEOF
18003 /* confdefs.h.  */
18004 _ACEOF
18005 cat confdefs.h >>conftest.$ac_ext
18006 cat >>conftest.$ac_ext <<_ACEOF
18007 /* end confdefs.h.  */
18008 #include <sys/types.h>
18009 #ifdef HAVE_SYS_PARAM_H
18010 # include <sys/param.h>
18011 #endif
18012 #ifdef HAVE_SYS_MOUNT_H
18013 # include <sys/mount.h>
18014 #endif
18015 #ifdef HAVE_SYS_VFS_H
18016 # include <sys/vfs.h>
18017 #endif
18018 #ifdef HAVE_SYS_STATFS_H
18019 # include <sys/statfs.h>
18020 #endif
18021
18022 int
18023 main ()
18024 {
18025 static struct statfs ac_aggr;
18026 if (sizeof ac_aggr.f_frsize)
18027 return 0;
18028   ;
18029   return 0;
18030 }
18031 _ACEOF
18032 rm -f conftest.$ac_objext
18033 if { (ac_try="$ac_compile"
18034 case "(($ac_try" in
18035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18036   *) ac_try_echo=$ac_try;;
18037 esac
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039   (eval "$ac_compile") 2>conftest.er1
18040   ac_status=$?
18041   grep -v '^ *+' conftest.er1 >conftest.err
18042   rm -f conftest.er1
18043   cat conftest.err >&5
18044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045   (exit $ac_status); } && {
18046          test -z "$ac_c_werror_flag" ||
18047          test ! -s conftest.err
18048        } && test -s conftest.$ac_objext; then
18049   ac_cv_member_struct_statfs_f_frsize=yes
18050 else
18051   echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18053
18054         ac_cv_member_struct_statfs_f_frsize=no
18055 fi
18056
18057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18058 fi
18059
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 fi
18062 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18063 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18064 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18065
18066 cat >>confdefs.h <<_ACEOF
18067 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18068 _ACEOF
18069
18070
18071 fi
18072 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18073 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18074 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18075   echo $ECHO_N "(cached) $ECHO_C" >&6
18076 else
18077   cat >conftest.$ac_ext <<_ACEOF
18078 /* confdefs.h.  */
18079 _ACEOF
18080 cat confdefs.h >>conftest.$ac_ext
18081 cat >>conftest.$ac_ext <<_ACEOF
18082 /* end confdefs.h.  */
18083 #include <sys/types.h>
18084 #ifdef HAVE_SYS_PARAM_H
18085 # include <sys/param.h>
18086 #endif
18087 #ifdef HAVE_SYS_MOUNT_H
18088 # include <sys/mount.h>
18089 #endif
18090 #ifdef HAVE_SYS_VFS_H
18091 # include <sys/vfs.h>
18092 #endif
18093 #ifdef HAVE_SYS_STATFS_H
18094 # include <sys/statfs.h>
18095 #endif
18096
18097 int
18098 main ()
18099 {
18100 static struct statfs ac_aggr;
18101 if (ac_aggr.f_ffree)
18102 return 0;
18103   ;
18104   return 0;
18105 }
18106 _ACEOF
18107 rm -f conftest.$ac_objext
18108 if { (ac_try="$ac_compile"
18109 case "(($ac_try" in
18110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18111   *) ac_try_echo=$ac_try;;
18112 esac
18113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18114   (eval "$ac_compile") 2>conftest.er1
18115   ac_status=$?
18116   grep -v '^ *+' conftest.er1 >conftest.err
18117   rm -f conftest.er1
18118   cat conftest.err >&5
18119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120   (exit $ac_status); } && {
18121          test -z "$ac_c_werror_flag" ||
18122          test ! -s conftest.err
18123        } && test -s conftest.$ac_objext; then
18124   ac_cv_member_struct_statfs_f_ffree=yes
18125 else
18126   echo "$as_me: failed program was:" >&5
18127 sed 's/^/| /' conftest.$ac_ext >&5
18128
18129         cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h.  */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h.  */
18135 #include <sys/types.h>
18136 #ifdef HAVE_SYS_PARAM_H
18137 # include <sys/param.h>
18138 #endif
18139 #ifdef HAVE_SYS_MOUNT_H
18140 # include <sys/mount.h>
18141 #endif
18142 #ifdef HAVE_SYS_VFS_H
18143 # include <sys/vfs.h>
18144 #endif
18145 #ifdef HAVE_SYS_STATFS_H
18146 # include <sys/statfs.h>
18147 #endif
18148
18149 int
18150 main ()
18151 {
18152 static struct statfs ac_aggr;
18153 if (sizeof ac_aggr.f_ffree)
18154 return 0;
18155   ;
18156   return 0;
18157 }
18158 _ACEOF
18159 rm -f conftest.$ac_objext
18160 if { (ac_try="$ac_compile"
18161 case "(($ac_try" in
18162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18163   *) ac_try_echo=$ac_try;;
18164 esac
18165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18166   (eval "$ac_compile") 2>conftest.er1
18167   ac_status=$?
18168   grep -v '^ *+' conftest.er1 >conftest.err
18169   rm -f conftest.er1
18170   cat conftest.err >&5
18171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18172   (exit $ac_status); } && {
18173          test -z "$ac_c_werror_flag" ||
18174          test ! -s conftest.err
18175        } && test -s conftest.$ac_objext; then
18176   ac_cv_member_struct_statfs_f_ffree=yes
18177 else
18178   echo "$as_me: failed program was:" >&5
18179 sed 's/^/| /' conftest.$ac_ext >&5
18180
18181         ac_cv_member_struct_statfs_f_ffree=no
18182 fi
18183
18184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 fi
18186
18187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18188 fi
18189 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18190 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18191 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18192
18193 cat >>confdefs.h <<_ACEOF
18194 #define HAVE_STRUCT_STATFS_F_FFREE 1
18195 _ACEOF
18196
18197
18198 fi
18199 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18200 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18201 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18202   echo $ECHO_N "(cached) $ECHO_C" >&6
18203 else
18204   cat >conftest.$ac_ext <<_ACEOF
18205 /* confdefs.h.  */
18206 _ACEOF
18207 cat confdefs.h >>conftest.$ac_ext
18208 cat >>conftest.$ac_ext <<_ACEOF
18209 /* end confdefs.h.  */
18210 #include <sys/types.h>
18211 #ifdef HAVE_SYS_PARAM_H
18212 # include <sys/param.h>
18213 #endif
18214 #ifdef HAVE_SYS_MOUNT_H
18215 # include <sys/mount.h>
18216 #endif
18217 #ifdef HAVE_SYS_VFS_H
18218 # include <sys/vfs.h>
18219 #endif
18220 #ifdef HAVE_SYS_STATFS_H
18221 # include <sys/statfs.h>
18222 #endif
18223
18224 int
18225 main ()
18226 {
18227 static struct statfs ac_aggr;
18228 if (ac_aggr.f_favail)
18229 return 0;
18230   ;
18231   return 0;
18232 }
18233 _ACEOF
18234 rm -f conftest.$ac_objext
18235 if { (ac_try="$ac_compile"
18236 case "(($ac_try" in
18237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18238   *) ac_try_echo=$ac_try;;
18239 esac
18240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18241   (eval "$ac_compile") 2>conftest.er1
18242   ac_status=$?
18243   grep -v '^ *+' conftest.er1 >conftest.err
18244   rm -f conftest.er1
18245   cat conftest.err >&5
18246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247   (exit $ac_status); } && {
18248          test -z "$ac_c_werror_flag" ||
18249          test ! -s conftest.err
18250        } && test -s conftest.$ac_objext; then
18251   ac_cv_member_struct_statfs_f_favail=yes
18252 else
18253   echo "$as_me: failed program was:" >&5
18254 sed 's/^/| /' conftest.$ac_ext >&5
18255
18256         cat >conftest.$ac_ext <<_ACEOF
18257 /* confdefs.h.  */
18258 _ACEOF
18259 cat confdefs.h >>conftest.$ac_ext
18260 cat >>conftest.$ac_ext <<_ACEOF
18261 /* end confdefs.h.  */
18262 #include <sys/types.h>
18263 #ifdef HAVE_SYS_PARAM_H
18264 # include <sys/param.h>
18265 #endif
18266 #ifdef HAVE_SYS_MOUNT_H
18267 # include <sys/mount.h>
18268 #endif
18269 #ifdef HAVE_SYS_VFS_H
18270 # include <sys/vfs.h>
18271 #endif
18272 #ifdef HAVE_SYS_STATFS_H
18273 # include <sys/statfs.h>
18274 #endif
18275
18276 int
18277 main ()
18278 {
18279 static struct statfs ac_aggr;
18280 if (sizeof ac_aggr.f_favail)
18281 return 0;
18282   ;
18283   return 0;
18284 }
18285 _ACEOF
18286 rm -f conftest.$ac_objext
18287 if { (ac_try="$ac_compile"
18288 case "(($ac_try" in
18289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18290   *) ac_try_echo=$ac_try;;
18291 esac
18292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18293   (eval "$ac_compile") 2>conftest.er1
18294   ac_status=$?
18295   grep -v '^ *+' conftest.er1 >conftest.err
18296   rm -f conftest.er1
18297   cat conftest.err >&5
18298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299   (exit $ac_status); } && {
18300          test -z "$ac_c_werror_flag" ||
18301          test ! -s conftest.err
18302        } && test -s conftest.$ac_objext; then
18303   ac_cv_member_struct_statfs_f_favail=yes
18304 else
18305   echo "$as_me: failed program was:" >&5
18306 sed 's/^/| /' conftest.$ac_ext >&5
18307
18308         ac_cv_member_struct_statfs_f_favail=no
18309 fi
18310
18311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18312 fi
18313
18314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18315 fi
18316 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18317 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18318 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18319
18320 cat >>confdefs.h <<_ACEOF
18321 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18322 _ACEOF
18323
18324
18325 fi
18326 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18327 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18328 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18329   echo $ECHO_N "(cached) $ECHO_C" >&6
18330 else
18331   cat >conftest.$ac_ext <<_ACEOF
18332 /* confdefs.h.  */
18333 _ACEOF
18334 cat confdefs.h >>conftest.$ac_ext
18335 cat >>conftest.$ac_ext <<_ACEOF
18336 /* end confdefs.h.  */
18337 #include <sys/types.h>
18338 #ifdef HAVE_SYS_PARAM_H
18339 # include <sys/param.h>
18340 #endif
18341 #ifdef HAVE_SYS_MOUNT_H
18342 # include <sys/mount.h>
18343 #endif
18344 #ifdef HAVE_SYS_VFS_H
18345 # include <sys/vfs.h>
18346 #endif
18347 #ifdef HAVE_SYS_STATFS_H
18348 # include <sys/statfs.h>
18349 #endif
18350
18351 int
18352 main ()
18353 {
18354 static struct statfs ac_aggr;
18355 if (ac_aggr.f_namelen)
18356 return 0;
18357   ;
18358   return 0;
18359 }
18360 _ACEOF
18361 rm -f conftest.$ac_objext
18362 if { (ac_try="$ac_compile"
18363 case "(($ac_try" in
18364   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18365   *) ac_try_echo=$ac_try;;
18366 esac
18367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18368   (eval "$ac_compile") 2>conftest.er1
18369   ac_status=$?
18370   grep -v '^ *+' conftest.er1 >conftest.err
18371   rm -f conftest.er1
18372   cat conftest.err >&5
18373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374   (exit $ac_status); } && {
18375          test -z "$ac_c_werror_flag" ||
18376          test ! -s conftest.err
18377        } && test -s conftest.$ac_objext; then
18378   ac_cv_member_struct_statfs_f_namelen=yes
18379 else
18380   echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.$ac_ext >&5
18382
18383         cat >conftest.$ac_ext <<_ACEOF
18384 /* confdefs.h.  */
18385 _ACEOF
18386 cat confdefs.h >>conftest.$ac_ext
18387 cat >>conftest.$ac_ext <<_ACEOF
18388 /* end confdefs.h.  */
18389 #include <sys/types.h>
18390 #ifdef HAVE_SYS_PARAM_H
18391 # include <sys/param.h>
18392 #endif
18393 #ifdef HAVE_SYS_MOUNT_H
18394 # include <sys/mount.h>
18395 #endif
18396 #ifdef HAVE_SYS_VFS_H
18397 # include <sys/vfs.h>
18398 #endif
18399 #ifdef HAVE_SYS_STATFS_H
18400 # include <sys/statfs.h>
18401 #endif
18402
18403 int
18404 main ()
18405 {
18406 static struct statfs ac_aggr;
18407 if (sizeof ac_aggr.f_namelen)
18408 return 0;
18409   ;
18410   return 0;
18411 }
18412 _ACEOF
18413 rm -f conftest.$ac_objext
18414 if { (ac_try="$ac_compile"
18415 case "(($ac_try" in
18416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18417   *) ac_try_echo=$ac_try;;
18418 esac
18419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18420   (eval "$ac_compile") 2>conftest.er1
18421   ac_status=$?
18422   grep -v '^ *+' conftest.er1 >conftest.err
18423   rm -f conftest.er1
18424   cat conftest.err >&5
18425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18426   (exit $ac_status); } && {
18427          test -z "$ac_c_werror_flag" ||
18428          test ! -s conftest.err
18429        } && test -s conftest.$ac_objext; then
18430   ac_cv_member_struct_statfs_f_namelen=yes
18431 else
18432   echo "$as_me: failed program was:" >&5
18433 sed 's/^/| /' conftest.$ac_ext >&5
18434
18435         ac_cv_member_struct_statfs_f_namelen=no
18436 fi
18437
18438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18439 fi
18440
18441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18442 fi
18443 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18444 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18445 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18446
18447 cat >>confdefs.h <<_ACEOF
18448 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18449 _ACEOF
18450
18451
18452 fi
18453
18454
18455 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18456 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18457 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18458   echo $ECHO_N "(cached) $ECHO_C" >&6
18459 else
18460   cat >conftest.$ac_ext <<_ACEOF
18461 /* confdefs.h.  */
18462 _ACEOF
18463 cat confdefs.h >>conftest.$ac_ext
18464 cat >>conftest.$ac_ext <<_ACEOF
18465 /* end confdefs.h.  */
18466 #ifdef HAVE_SYS_STATVFS_H
18467 #include <sys/statvfs.h>
18468 #endif
18469
18470 int
18471 main ()
18472 {
18473 static struct statvfs ac_aggr;
18474 if (ac_aggr.f_blocks)
18475 return 0;
18476   ;
18477   return 0;
18478 }
18479 _ACEOF
18480 rm -f conftest.$ac_objext
18481 if { (ac_try="$ac_compile"
18482 case "(($ac_try" in
18483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18484   *) ac_try_echo=$ac_try;;
18485 esac
18486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18487   (eval "$ac_compile") 2>conftest.er1
18488   ac_status=$?
18489   grep -v '^ *+' conftest.er1 >conftest.err
18490   rm -f conftest.er1
18491   cat conftest.err >&5
18492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493   (exit $ac_status); } && {
18494          test -z "$ac_c_werror_flag" ||
18495          test ! -s conftest.err
18496        } && test -s conftest.$ac_objext; then
18497   ac_cv_member_struct_statvfs_f_blocks=yes
18498 else
18499   echo "$as_me: failed program was:" >&5
18500 sed 's/^/| /' conftest.$ac_ext >&5
18501
18502         cat >conftest.$ac_ext <<_ACEOF
18503 /* confdefs.h.  */
18504 _ACEOF
18505 cat confdefs.h >>conftest.$ac_ext
18506 cat >>conftest.$ac_ext <<_ACEOF
18507 /* end confdefs.h.  */
18508 #ifdef HAVE_SYS_STATVFS_H
18509 #include <sys/statvfs.h>
18510 #endif
18511
18512 int
18513 main ()
18514 {
18515 static struct statvfs ac_aggr;
18516 if (sizeof ac_aggr.f_blocks)
18517 return 0;
18518   ;
18519   return 0;
18520 }
18521 _ACEOF
18522 rm -f conftest.$ac_objext
18523 if { (ac_try="$ac_compile"
18524 case "(($ac_try" in
18525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18526   *) ac_try_echo=$ac_try;;
18527 esac
18528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18529   (eval "$ac_compile") 2>conftest.er1
18530   ac_status=$?
18531   grep -v '^ *+' conftest.er1 >conftest.err
18532   rm -f conftest.er1
18533   cat conftest.err >&5
18534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535   (exit $ac_status); } && {
18536          test -z "$ac_c_werror_flag" ||
18537          test ! -s conftest.err
18538        } && test -s conftest.$ac_objext; then
18539   ac_cv_member_struct_statvfs_f_blocks=yes
18540 else
18541   echo "$as_me: failed program was:" >&5
18542 sed 's/^/| /' conftest.$ac_ext >&5
18543
18544         ac_cv_member_struct_statvfs_f_blocks=no
18545 fi
18546
18547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18548 fi
18549
18550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 fi
18552 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18553 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18554 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18555
18556 cat >>confdefs.h <<_ACEOF
18557 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18558 _ACEOF
18559
18560
18561 fi
18562
18563
18564 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18565 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18566 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18567   echo $ECHO_N "(cached) $ECHO_C" >&6
18568 else
18569   cat >conftest.$ac_ext <<_ACEOF
18570 /* confdefs.h.  */
18571 _ACEOF
18572 cat confdefs.h >>conftest.$ac_ext
18573 cat >>conftest.$ac_ext <<_ACEOF
18574 /* end confdefs.h.  */
18575 #include <sys/types.h>
18576 #ifdef HAVE_SYS_SOCKET_H
18577 # include <sys/socket.h>
18578 #endif
18579 #ifdef HAVE_SYS_UN_H
18580 # include <sys/un.h>
18581 #endif
18582
18583 int
18584 main ()
18585 {
18586 static struct msghdr ac_aggr;
18587 if (ac_aggr.msg_accrights)
18588 return 0;
18589   ;
18590   return 0;
18591 }
18592 _ACEOF
18593 rm -f conftest.$ac_objext
18594 if { (ac_try="$ac_compile"
18595 case "(($ac_try" in
18596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18597   *) ac_try_echo=$ac_try;;
18598 esac
18599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18600   (eval "$ac_compile") 2>conftest.er1
18601   ac_status=$?
18602   grep -v '^ *+' conftest.er1 >conftest.err
18603   rm -f conftest.er1
18604   cat conftest.err >&5
18605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18606   (exit $ac_status); } && {
18607          test -z "$ac_c_werror_flag" ||
18608          test ! -s conftest.err
18609        } && test -s conftest.$ac_objext; then
18610   ac_cv_member_struct_msghdr_msg_accrights=yes
18611 else
18612   echo "$as_me: failed program was:" >&5
18613 sed 's/^/| /' conftest.$ac_ext >&5
18614
18615         cat >conftest.$ac_ext <<_ACEOF
18616 /* confdefs.h.  */
18617 _ACEOF
18618 cat confdefs.h >>conftest.$ac_ext
18619 cat >>conftest.$ac_ext <<_ACEOF
18620 /* end confdefs.h.  */
18621 #include <sys/types.h>
18622 #ifdef HAVE_SYS_SOCKET_H
18623 # include <sys/socket.h>
18624 #endif
18625 #ifdef HAVE_SYS_UN_H
18626 # include <sys/un.h>
18627 #endif
18628
18629 int
18630 main ()
18631 {
18632 static struct msghdr ac_aggr;
18633 if (sizeof ac_aggr.msg_accrights)
18634 return 0;
18635   ;
18636   return 0;
18637 }
18638 _ACEOF
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18643   *) ac_try_echo=$ac_try;;
18644 esac
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646   (eval "$ac_compile") 2>conftest.er1
18647   ac_status=$?
18648   grep -v '^ *+' conftest.er1 >conftest.err
18649   rm -f conftest.er1
18650   cat conftest.err >&5
18651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652   (exit $ac_status); } && {
18653          test -z "$ac_c_werror_flag" ||
18654          test ! -s conftest.err
18655        } && test -s conftest.$ac_objext; then
18656   ac_cv_member_struct_msghdr_msg_accrights=yes
18657 else
18658   echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.$ac_ext >&5
18660
18661         ac_cv_member_struct_msghdr_msg_accrights=no
18662 fi
18663
18664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18665 fi
18666
18667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18668 fi
18669 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18670 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18671 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18672
18673 cat >>confdefs.h <<_ACEOF
18674 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18675 _ACEOF
18676
18677
18678 fi
18679 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18680 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18681 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18682   echo $ECHO_N "(cached) $ECHO_C" >&6
18683 else
18684   cat >conftest.$ac_ext <<_ACEOF
18685 /* confdefs.h.  */
18686 _ACEOF
18687 cat confdefs.h >>conftest.$ac_ext
18688 cat >>conftest.$ac_ext <<_ACEOF
18689 /* end confdefs.h.  */
18690 #include <sys/types.h>
18691 #ifdef HAVE_SYS_SOCKET_H
18692 # include <sys/socket.h>
18693 #endif
18694 #ifdef HAVE_SYS_UN_H
18695 # include <sys/un.h>
18696 #endif
18697
18698 int
18699 main ()
18700 {
18701 static struct sockaddr ac_aggr;
18702 if (ac_aggr.sa_len)
18703 return 0;
18704   ;
18705   return 0;
18706 }
18707 _ACEOF
18708 rm -f conftest.$ac_objext
18709 if { (ac_try="$ac_compile"
18710 case "(($ac_try" in
18711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18712   *) ac_try_echo=$ac_try;;
18713 esac
18714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18715   (eval "$ac_compile") 2>conftest.er1
18716   ac_status=$?
18717   grep -v '^ *+' conftest.er1 >conftest.err
18718   rm -f conftest.er1
18719   cat conftest.err >&5
18720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18721   (exit $ac_status); } && {
18722          test -z "$ac_c_werror_flag" ||
18723          test ! -s conftest.err
18724        } && test -s conftest.$ac_objext; then
18725   ac_cv_member_struct_sockaddr_sa_len=yes
18726 else
18727   echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18729
18730         cat >conftest.$ac_ext <<_ACEOF
18731 /* confdefs.h.  */
18732 _ACEOF
18733 cat confdefs.h >>conftest.$ac_ext
18734 cat >>conftest.$ac_ext <<_ACEOF
18735 /* end confdefs.h.  */
18736 #include <sys/types.h>
18737 #ifdef HAVE_SYS_SOCKET_H
18738 # include <sys/socket.h>
18739 #endif
18740 #ifdef HAVE_SYS_UN_H
18741 # include <sys/un.h>
18742 #endif
18743
18744 int
18745 main ()
18746 {
18747 static struct sockaddr ac_aggr;
18748 if (sizeof ac_aggr.sa_len)
18749 return 0;
18750   ;
18751   return 0;
18752 }
18753 _ACEOF
18754 rm -f conftest.$ac_objext
18755 if { (ac_try="$ac_compile"
18756 case "(($ac_try" in
18757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18758   *) ac_try_echo=$ac_try;;
18759 esac
18760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18761   (eval "$ac_compile") 2>conftest.er1
18762   ac_status=$?
18763   grep -v '^ *+' conftest.er1 >conftest.err
18764   rm -f conftest.er1
18765   cat conftest.err >&5
18766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767   (exit $ac_status); } && {
18768          test -z "$ac_c_werror_flag" ||
18769          test ! -s conftest.err
18770        } && test -s conftest.$ac_objext; then
18771   ac_cv_member_struct_sockaddr_sa_len=yes
18772 else
18773   echo "$as_me: failed program was:" >&5
18774 sed 's/^/| /' conftest.$ac_ext >&5
18775
18776         ac_cv_member_struct_sockaddr_sa_len=no
18777 fi
18778
18779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18780 fi
18781
18782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18783 fi
18784 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18785 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18786 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18787
18788 cat >>confdefs.h <<_ACEOF
18789 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18790 _ACEOF
18791
18792
18793 fi
18794 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18795 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18796 if test "${ac_cv_member_struct_sockaddr_un_sun_len+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_SOCKET_H
18807 # include <sys/socket.h>
18808 #endif
18809 #ifdef HAVE_SYS_UN_H
18810 # include <sys/un.h>
18811 #endif
18812
18813 int
18814 main ()
18815 {
18816 static struct sockaddr_un ac_aggr;
18817 if (ac_aggr.sun_len)
18818 return 0;
18819   ;
18820   return 0;
18821 }
18822 _ACEOF
18823 rm -f conftest.$ac_objext
18824 if { (ac_try="$ac_compile"
18825 case "(($ac_try" in
18826   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18827   *) ac_try_echo=$ac_try;;
18828 esac
18829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18830   (eval "$ac_compile") 2>conftest.er1
18831   ac_status=$?
18832   grep -v '^ *+' conftest.er1 >conftest.err
18833   rm -f conftest.er1
18834   cat conftest.err >&5
18835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836   (exit $ac_status); } && {
18837          test -z "$ac_c_werror_flag" ||
18838          test ! -s conftest.err
18839        } && test -s conftest.$ac_objext; then
18840   ac_cv_member_struct_sockaddr_un_sun_len=yes
18841 else
18842   echo "$as_me: failed program was:" >&5
18843 sed 's/^/| /' conftest.$ac_ext >&5
18844
18845         cat >conftest.$ac_ext <<_ACEOF
18846 /* confdefs.h.  */
18847 _ACEOF
18848 cat confdefs.h >>conftest.$ac_ext
18849 cat >>conftest.$ac_ext <<_ACEOF
18850 /* end confdefs.h.  */
18851 #include <sys/types.h>
18852 #ifdef HAVE_SYS_SOCKET_H
18853 # include <sys/socket.h>
18854 #endif
18855 #ifdef HAVE_SYS_UN_H
18856 # include <sys/un.h>
18857 #endif
18858
18859 int
18860 main ()
18861 {
18862 static struct sockaddr_un ac_aggr;
18863 if (sizeof ac_aggr.sun_len)
18864 return 0;
18865   ;
18866   return 0;
18867 }
18868 _ACEOF
18869 rm -f conftest.$ac_objext
18870 if { (ac_try="$ac_compile"
18871 case "(($ac_try" in
18872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18873   *) ac_try_echo=$ac_try;;
18874 esac
18875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18876   (eval "$ac_compile") 2>conftest.er1
18877   ac_status=$?
18878   grep -v '^ *+' conftest.er1 >conftest.err
18879   rm -f conftest.er1
18880   cat conftest.err >&5
18881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882   (exit $ac_status); } && {
18883          test -z "$ac_c_werror_flag" ||
18884          test ! -s conftest.err
18885        } && test -s conftest.$ac_objext; then
18886   ac_cv_member_struct_sockaddr_un_sun_len=yes
18887 else
18888   echo "$as_me: failed program was:" >&5
18889 sed 's/^/| /' conftest.$ac_ext >&5
18890
18891         ac_cv_member_struct_sockaddr_un_sun_len=no
18892 fi
18893
18894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895 fi
18896
18897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18898 fi
18899 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18900 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18901 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18902
18903 cat >>confdefs.h <<_ACEOF
18904 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18905 _ACEOF
18906
18907
18908 fi
18909
18910
18911 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18912 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18913 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18914   echo $ECHO_N "(cached) $ECHO_C" >&6
18915 else
18916   cat >conftest.$ac_ext <<_ACEOF
18917 /* confdefs.h.  */
18918 _ACEOF
18919 cat confdefs.h >>conftest.$ac_ext
18920 cat >>conftest.$ac_ext <<_ACEOF
18921 /* end confdefs.h.  */
18922 #include <sys/types.h>
18923 #ifdef HAVE_SCSI_SG_H
18924 #include <scsi/sg.h>
18925 #endif
18926
18927 int
18928 main ()
18929 {
18930 static scsireq_t ac_aggr;
18931 if (ac_aggr.cmd)
18932 return 0;
18933   ;
18934   return 0;
18935 }
18936 _ACEOF
18937 rm -f conftest.$ac_objext
18938 if { (ac_try="$ac_compile"
18939 case "(($ac_try" in
18940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18941   *) ac_try_echo=$ac_try;;
18942 esac
18943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18944   (eval "$ac_compile") 2>conftest.er1
18945   ac_status=$?
18946   grep -v '^ *+' conftest.er1 >conftest.err
18947   rm -f conftest.er1
18948   cat conftest.err >&5
18949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18950   (exit $ac_status); } && {
18951          test -z "$ac_c_werror_flag" ||
18952          test ! -s conftest.err
18953        } && test -s conftest.$ac_objext; then
18954   ac_cv_member_scsireq_t_cmd=yes
18955 else
18956   echo "$as_me: failed program was:" >&5
18957 sed 's/^/| /' conftest.$ac_ext >&5
18958
18959         cat >conftest.$ac_ext <<_ACEOF
18960 /* confdefs.h.  */
18961 _ACEOF
18962 cat confdefs.h >>conftest.$ac_ext
18963 cat >>conftest.$ac_ext <<_ACEOF
18964 /* end confdefs.h.  */
18965 #include <sys/types.h>
18966 #ifdef HAVE_SCSI_SG_H
18967 #include <scsi/sg.h>
18968 #endif
18969
18970 int
18971 main ()
18972 {
18973 static scsireq_t ac_aggr;
18974 if (sizeof ac_aggr.cmd)
18975 return 0;
18976   ;
18977   return 0;
18978 }
18979 _ACEOF
18980 rm -f conftest.$ac_objext
18981 if { (ac_try="$ac_compile"
18982 case "(($ac_try" in
18983   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18984   *) ac_try_echo=$ac_try;;
18985 esac
18986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18987   (eval "$ac_compile") 2>conftest.er1
18988   ac_status=$?
18989   grep -v '^ *+' conftest.er1 >conftest.err
18990   rm -f conftest.er1
18991   cat conftest.err >&5
18992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993   (exit $ac_status); } && {
18994          test -z "$ac_c_werror_flag" ||
18995          test ! -s conftest.err
18996        } && test -s conftest.$ac_objext; then
18997   ac_cv_member_scsireq_t_cmd=yes
18998 else
18999   echo "$as_me: failed program was:" >&5
19000 sed 's/^/| /' conftest.$ac_ext >&5
19001
19002         ac_cv_member_scsireq_t_cmd=no
19003 fi
19004
19005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19006 fi
19007
19008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19009 fi
19010 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19011 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19012 if test $ac_cv_member_scsireq_t_cmd = yes; then
19013
19014 cat >>confdefs.h <<_ACEOF
19015 #define HAVE_SCSIREQ_T_CMD 1
19016 _ACEOF
19017
19018
19019 fi
19020 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19021 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19022 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19023   echo $ECHO_N "(cached) $ECHO_C" >&6
19024 else
19025   cat >conftest.$ac_ext <<_ACEOF
19026 /* confdefs.h.  */
19027 _ACEOF
19028 cat confdefs.h >>conftest.$ac_ext
19029 cat >>conftest.$ac_ext <<_ACEOF
19030 /* end confdefs.h.  */
19031 #include <sys/types.h>
19032 #ifdef HAVE_SCSI_SG_H
19033 #include <scsi/sg.h>
19034 #endif
19035
19036 int
19037 main ()
19038 {
19039 static sg_io_hdr_t ac_aggr;
19040 if (ac_aggr.interface_id)
19041 return 0;
19042   ;
19043   return 0;
19044 }
19045 _ACEOF
19046 rm -f conftest.$ac_objext
19047 if { (ac_try="$ac_compile"
19048 case "(($ac_try" in
19049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19050   *) ac_try_echo=$ac_try;;
19051 esac
19052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19053   (eval "$ac_compile") 2>conftest.er1
19054   ac_status=$?
19055   grep -v '^ *+' conftest.er1 >conftest.err
19056   rm -f conftest.er1
19057   cat conftest.err >&5
19058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059   (exit $ac_status); } && {
19060          test -z "$ac_c_werror_flag" ||
19061          test ! -s conftest.err
19062        } && test -s conftest.$ac_objext; then
19063   ac_cv_member_sg_io_hdr_t_interface_id=yes
19064 else
19065   echo "$as_me: failed program was:" >&5
19066 sed 's/^/| /' conftest.$ac_ext >&5
19067
19068         cat >conftest.$ac_ext <<_ACEOF
19069 /* confdefs.h.  */
19070 _ACEOF
19071 cat confdefs.h >>conftest.$ac_ext
19072 cat >>conftest.$ac_ext <<_ACEOF
19073 /* end confdefs.h.  */
19074 #include <sys/types.h>
19075 #ifdef HAVE_SCSI_SG_H
19076 #include <scsi/sg.h>
19077 #endif
19078
19079 int
19080 main ()
19081 {
19082 static sg_io_hdr_t ac_aggr;
19083 if (sizeof ac_aggr.interface_id)
19084 return 0;
19085   ;
19086   return 0;
19087 }
19088 _ACEOF
19089 rm -f conftest.$ac_objext
19090 if { (ac_try="$ac_compile"
19091 case "(($ac_try" in
19092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19093   *) ac_try_echo=$ac_try;;
19094 esac
19095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19096   (eval "$ac_compile") 2>conftest.er1
19097   ac_status=$?
19098   grep -v '^ *+' conftest.er1 >conftest.err
19099   rm -f conftest.er1
19100   cat conftest.err >&5
19101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19102   (exit $ac_status); } && {
19103          test -z "$ac_c_werror_flag" ||
19104          test ! -s conftest.err
19105        } && test -s conftest.$ac_objext; then
19106   ac_cv_member_sg_io_hdr_t_interface_id=yes
19107 else
19108   echo "$as_me: failed program was:" >&5
19109 sed 's/^/| /' conftest.$ac_ext >&5
19110
19111         ac_cv_member_sg_io_hdr_t_interface_id=no
19112 fi
19113
19114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19115 fi
19116
19117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19118 fi
19119 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19120 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19121 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19122
19123 cat >>confdefs.h <<_ACEOF
19124 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19125 _ACEOF
19126
19127
19128 fi
19129
19130
19131 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19132 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19133 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19134   echo $ECHO_N "(cached) $ECHO_C" >&6
19135 else
19136   cat >conftest.$ac_ext <<_ACEOF
19137 /* confdefs.h.  */
19138 _ACEOF
19139 cat confdefs.h >>conftest.$ac_ext
19140 cat >>conftest.$ac_ext <<_ACEOF
19141 /* end confdefs.h.  */
19142 #include <signal.h>
19143
19144 int
19145 main ()
19146 {
19147 static siginfo_t ac_aggr;
19148 if (ac_aggr.si_fd)
19149 return 0;
19150   ;
19151   return 0;
19152 }
19153 _ACEOF
19154 rm -f conftest.$ac_objext
19155 if { (ac_try="$ac_compile"
19156 case "(($ac_try" in
19157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19158   *) ac_try_echo=$ac_try;;
19159 esac
19160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19161   (eval "$ac_compile") 2>conftest.er1
19162   ac_status=$?
19163   grep -v '^ *+' conftest.er1 >conftest.err
19164   rm -f conftest.er1
19165   cat conftest.err >&5
19166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167   (exit $ac_status); } && {
19168          test -z "$ac_c_werror_flag" ||
19169          test ! -s conftest.err
19170        } && test -s conftest.$ac_objext; then
19171   ac_cv_member_siginfo_t_si_fd=yes
19172 else
19173   echo "$as_me: failed program was:" >&5
19174 sed 's/^/| /' conftest.$ac_ext >&5
19175
19176         cat >conftest.$ac_ext <<_ACEOF
19177 /* confdefs.h.  */
19178 _ACEOF
19179 cat confdefs.h >>conftest.$ac_ext
19180 cat >>conftest.$ac_ext <<_ACEOF
19181 /* end confdefs.h.  */
19182 #include <signal.h>
19183
19184 int
19185 main ()
19186 {
19187 static siginfo_t ac_aggr;
19188 if (sizeof ac_aggr.si_fd)
19189 return 0;
19190   ;
19191   return 0;
19192 }
19193 _ACEOF
19194 rm -f conftest.$ac_objext
19195 if { (ac_try="$ac_compile"
19196 case "(($ac_try" in
19197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198   *) ac_try_echo=$ac_try;;
19199 esac
19200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19201   (eval "$ac_compile") 2>conftest.er1
19202   ac_status=$?
19203   grep -v '^ *+' conftest.er1 >conftest.err
19204   rm -f conftest.er1
19205   cat conftest.err >&5
19206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207   (exit $ac_status); } && {
19208          test -z "$ac_c_werror_flag" ||
19209          test ! -s conftest.err
19210        } && test -s conftest.$ac_objext; then
19211   ac_cv_member_siginfo_t_si_fd=yes
19212 else
19213   echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19215
19216         ac_cv_member_siginfo_t_si_fd=no
19217 fi
19218
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 fi
19221
19222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 fi
19224 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19225 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19226 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19227
19228 cat >>confdefs.h <<_ACEOF
19229 #define HAVE_SIGINFO_T_SI_FD 1
19230 _ACEOF
19231
19232
19233 fi
19234
19235
19236 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19237 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19238 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19239   echo $ECHO_N "(cached) $ECHO_C" >&6
19240 else
19241   cat >conftest.$ac_ext <<_ACEOF
19242 /* confdefs.h.  */
19243 _ACEOF
19244 cat confdefs.h >>conftest.$ac_ext
19245 cat >>conftest.$ac_ext <<_ACEOF
19246 /* end confdefs.h.  */
19247 #include <sys/types.h>
19248 #ifdef HAVE_SYS_MTIO_H
19249 #include <sys/mtio.h>
19250 #endif
19251
19252 int
19253 main ()
19254 {
19255 static struct mtget ac_aggr;
19256 if (ac_aggr.mt_blksiz)
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_mtget_mt_blksiz=yes
19280 else
19281   echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.$ac_ext >&5
19283
19284         cat >conftest.$ac_ext <<_ACEOF
19285 /* confdefs.h.  */
19286 _ACEOF
19287 cat confdefs.h >>conftest.$ac_ext
19288 cat >>conftest.$ac_ext <<_ACEOF
19289 /* end confdefs.h.  */
19290 #include <sys/types.h>
19291 #ifdef HAVE_SYS_MTIO_H
19292 #include <sys/mtio.h>
19293 #endif
19294
19295 int
19296 main ()
19297 {
19298 static struct mtget ac_aggr;
19299 if (sizeof ac_aggr.mt_blksiz)
19300 return 0;
19301   ;
19302   return 0;
19303 }
19304 _ACEOF
19305 rm -f conftest.$ac_objext
19306 if { (ac_try="$ac_compile"
19307 case "(($ac_try" in
19308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19309   *) ac_try_echo=$ac_try;;
19310 esac
19311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19312   (eval "$ac_compile") 2>conftest.er1
19313   ac_status=$?
19314   grep -v '^ *+' conftest.er1 >conftest.err
19315   rm -f conftest.er1
19316   cat conftest.err >&5
19317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318   (exit $ac_status); } && {
19319          test -z "$ac_c_werror_flag" ||
19320          test ! -s conftest.err
19321        } && test -s conftest.$ac_objext; then
19322   ac_cv_member_struct_mtget_mt_blksiz=yes
19323 else
19324   echo "$as_me: failed program was:" >&5
19325 sed 's/^/| /' conftest.$ac_ext >&5
19326
19327         ac_cv_member_struct_mtget_mt_blksiz=no
19328 fi
19329
19330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19331 fi
19332
19333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19334 fi
19335 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19336 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19337 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19338
19339 cat >>confdefs.h <<_ACEOF
19340 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19341 _ACEOF
19342
19343
19344 fi
19345 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19346 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19347 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19348   echo $ECHO_N "(cached) $ECHO_C" >&6
19349 else
19350   cat >conftest.$ac_ext <<_ACEOF
19351 /* confdefs.h.  */
19352 _ACEOF
19353 cat confdefs.h >>conftest.$ac_ext
19354 cat >>conftest.$ac_ext <<_ACEOF
19355 /* end confdefs.h.  */
19356 #include <sys/types.h>
19357 #ifdef HAVE_SYS_MTIO_H
19358 #include <sys/mtio.h>
19359 #endif
19360
19361 int
19362 main ()
19363 {
19364 static struct mtget ac_aggr;
19365 if (ac_aggr.mt_gstat)
19366 return 0;
19367   ;
19368   return 0;
19369 }
19370 _ACEOF
19371 rm -f conftest.$ac_objext
19372 if { (ac_try="$ac_compile"
19373 case "(($ac_try" in
19374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19375   *) ac_try_echo=$ac_try;;
19376 esac
19377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19378   (eval "$ac_compile") 2>conftest.er1
19379   ac_status=$?
19380   grep -v '^ *+' conftest.er1 >conftest.err
19381   rm -f conftest.er1
19382   cat conftest.err >&5
19383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19384   (exit $ac_status); } && {
19385          test -z "$ac_c_werror_flag" ||
19386          test ! -s conftest.err
19387        } && test -s conftest.$ac_objext; then
19388   ac_cv_member_struct_mtget_mt_gstat=yes
19389 else
19390   echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.$ac_ext >&5
19392
19393         cat >conftest.$ac_ext <<_ACEOF
19394 /* confdefs.h.  */
19395 _ACEOF
19396 cat confdefs.h >>conftest.$ac_ext
19397 cat >>conftest.$ac_ext <<_ACEOF
19398 /* end confdefs.h.  */
19399 #include <sys/types.h>
19400 #ifdef HAVE_SYS_MTIO_H
19401 #include <sys/mtio.h>
19402 #endif
19403
19404 int
19405 main ()
19406 {
19407 static struct mtget ac_aggr;
19408 if (sizeof ac_aggr.mt_gstat)
19409 return 0;
19410   ;
19411   return 0;
19412 }
19413 _ACEOF
19414 rm -f conftest.$ac_objext
19415 if { (ac_try="$ac_compile"
19416 case "(($ac_try" in
19417   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19418   *) ac_try_echo=$ac_try;;
19419 esac
19420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19421   (eval "$ac_compile") 2>conftest.er1
19422   ac_status=$?
19423   grep -v '^ *+' conftest.er1 >conftest.err
19424   rm -f conftest.er1
19425   cat conftest.err >&5
19426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19427   (exit $ac_status); } && {
19428          test -z "$ac_c_werror_flag" ||
19429          test ! -s conftest.err
19430        } && test -s conftest.$ac_objext; then
19431   ac_cv_member_struct_mtget_mt_gstat=yes
19432 else
19433   echo "$as_me: failed program was:" >&5
19434 sed 's/^/| /' conftest.$ac_ext >&5
19435
19436         ac_cv_member_struct_mtget_mt_gstat=no
19437 fi
19438
19439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19440 fi
19441
19442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19443 fi
19444 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19445 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19446 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19447
19448 cat >>confdefs.h <<_ACEOF
19449 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19450 _ACEOF
19451
19452
19453 fi
19454 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19455 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19456 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19457   echo $ECHO_N "(cached) $ECHO_C" >&6
19458 else
19459   cat >conftest.$ac_ext <<_ACEOF
19460 /* confdefs.h.  */
19461 _ACEOF
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h.  */
19465 #include <sys/types.h>
19466 #ifdef HAVE_SYS_MTIO_H
19467 #include <sys/mtio.h>
19468 #endif
19469
19470 int
19471 main ()
19472 {
19473 static struct mtget ac_aggr;
19474 if (ac_aggr.mt_blkno)
19475 return 0;
19476   ;
19477   return 0;
19478 }
19479 _ACEOF
19480 rm -f conftest.$ac_objext
19481 if { (ac_try="$ac_compile"
19482 case "(($ac_try" in
19483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19484   *) ac_try_echo=$ac_try;;
19485 esac
19486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19487   (eval "$ac_compile") 2>conftest.er1
19488   ac_status=$?
19489   grep -v '^ *+' conftest.er1 >conftest.err
19490   rm -f conftest.er1
19491   cat conftest.err >&5
19492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493   (exit $ac_status); } && {
19494          test -z "$ac_c_werror_flag" ||
19495          test ! -s conftest.err
19496        } && test -s conftest.$ac_objext; then
19497   ac_cv_member_struct_mtget_mt_blkno=yes
19498 else
19499   echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19501
19502         cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h.  */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h.  */
19508 #include <sys/types.h>
19509 #ifdef HAVE_SYS_MTIO_H
19510 #include <sys/mtio.h>
19511 #endif
19512
19513 int
19514 main ()
19515 {
19516 static struct mtget ac_aggr;
19517 if (sizeof ac_aggr.mt_blkno)
19518 return 0;
19519   ;
19520   return 0;
19521 }
19522 _ACEOF
19523 rm -f conftest.$ac_objext
19524 if { (ac_try="$ac_compile"
19525 case "(($ac_try" in
19526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19527   *) ac_try_echo=$ac_try;;
19528 esac
19529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19530   (eval "$ac_compile") 2>conftest.er1
19531   ac_status=$?
19532   grep -v '^ *+' conftest.er1 >conftest.err
19533   rm -f conftest.er1
19534   cat conftest.err >&5
19535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536   (exit $ac_status); } && {
19537          test -z "$ac_c_werror_flag" ||
19538          test ! -s conftest.err
19539        } && test -s conftest.$ac_objext; then
19540   ac_cv_member_struct_mtget_mt_blkno=yes
19541 else
19542   echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.$ac_ext >&5
19544
19545         ac_cv_member_struct_mtget_mt_blkno=no
19546 fi
19547
19548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19549 fi
19550
19551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19552 fi
19553 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19554 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19555 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19556
19557 cat >>confdefs.h <<_ACEOF
19558 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19559 _ACEOF
19560
19561
19562 fi
19563
19564
19565 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19566 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19567 if test "${ac_cv_member_struct_option_name+set}" = set; then
19568   echo $ECHO_N "(cached) $ECHO_C" >&6
19569 else
19570   cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h.  */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h.  */
19576 #ifdef HAVE_GETOPT_H
19577 #include <getopt.h>
19578 #endif
19579
19580 int
19581 main ()
19582 {
19583 static struct option ac_aggr;
19584 if (ac_aggr.name)
19585 return 0;
19586   ;
19587   return 0;
19588 }
19589 _ACEOF
19590 rm -f conftest.$ac_objext
19591 if { (ac_try="$ac_compile"
19592 case "(($ac_try" in
19593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19594   *) ac_try_echo=$ac_try;;
19595 esac
19596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19597   (eval "$ac_compile") 2>conftest.er1
19598   ac_status=$?
19599   grep -v '^ *+' conftest.er1 >conftest.err
19600   rm -f conftest.er1
19601   cat conftest.err >&5
19602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19603   (exit $ac_status); } && {
19604          test -z "$ac_c_werror_flag" ||
19605          test ! -s conftest.err
19606        } && test -s conftest.$ac_objext; then
19607   ac_cv_member_struct_option_name=yes
19608 else
19609   echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.$ac_ext >&5
19611
19612         cat >conftest.$ac_ext <<_ACEOF
19613 /* confdefs.h.  */
19614 _ACEOF
19615 cat confdefs.h >>conftest.$ac_ext
19616 cat >>conftest.$ac_ext <<_ACEOF
19617 /* end confdefs.h.  */
19618 #ifdef HAVE_GETOPT_H
19619 #include <getopt.h>
19620 #endif
19621
19622 int
19623 main ()
19624 {
19625 static struct option ac_aggr;
19626 if (sizeof ac_aggr.name)
19627 return 0;
19628   ;
19629   return 0;
19630 }
19631 _ACEOF
19632 rm -f conftest.$ac_objext
19633 if { (ac_try="$ac_compile"
19634 case "(($ac_try" in
19635   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19636   *) ac_try_echo=$ac_try;;
19637 esac
19638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19639   (eval "$ac_compile") 2>conftest.er1
19640   ac_status=$?
19641   grep -v '^ *+' conftest.er1 >conftest.err
19642   rm -f conftest.er1
19643   cat conftest.err >&5
19644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645   (exit $ac_status); } && {
19646          test -z "$ac_c_werror_flag" ||
19647          test ! -s conftest.err
19648        } && test -s conftest.$ac_objext; then
19649   ac_cv_member_struct_option_name=yes
19650 else
19651   echo "$as_me: failed program was:" >&5
19652 sed 's/^/| /' conftest.$ac_ext >&5
19653
19654         ac_cv_member_struct_option_name=no
19655 fi
19656
19657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19658 fi
19659
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 fi
19662 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19663 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19664 if test $ac_cv_member_struct_option_name = yes; then
19665
19666 cat >>confdefs.h <<_ACEOF
19667 #define HAVE_STRUCT_OPTION_NAME 1
19668 _ACEOF
19669
19670
19671 fi
19672
19673
19674 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19675 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19676 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19677   echo $ECHO_N "(cached) $ECHO_C" >&6
19678 else
19679   cat >conftest.$ac_ext <<_ACEOF
19680 /* confdefs.h.  */
19681 _ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h.  */
19685 $ac_includes_default
19686 int
19687 main ()
19688 {
19689 static struct stat ac_aggr;
19690 if (ac_aggr.st_blocks)
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_stat_st_blocks=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 $ac_includes_default
19725 int
19726 main ()
19727 {
19728 static struct stat ac_aggr;
19729 if (sizeof ac_aggr.st_blocks)
19730 return 0;
19731   ;
19732   return 0;
19733 }
19734 _ACEOF
19735 rm -f conftest.$ac_objext
19736 if { (ac_try="$ac_compile"
19737 case "(($ac_try" in
19738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19739   *) ac_try_echo=$ac_try;;
19740 esac
19741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19742   (eval "$ac_compile") 2>conftest.er1
19743   ac_status=$?
19744   grep -v '^ *+' conftest.er1 >conftest.err
19745   rm -f conftest.er1
19746   cat conftest.err >&5
19747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748   (exit $ac_status); } && {
19749          test -z "$ac_c_werror_flag" ||
19750          test ! -s conftest.err
19751        } && test -s conftest.$ac_objext; then
19752   ac_cv_member_struct_stat_st_blocks=yes
19753 else
19754   echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19756
19757         ac_cv_member_struct_stat_st_blocks=no
19758 fi
19759
19760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19761 fi
19762
19763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19764 fi
19765 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19766 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19767 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19768
19769 cat >>confdefs.h <<_ACEOF
19770 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19771 _ACEOF
19772
19773
19774 fi
19775
19776
19777 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19778 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19779 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19780   echo $ECHO_N "(cached) $ECHO_C" >&6
19781 else
19782   cat >conftest.$ac_ext <<_ACEOF
19783 /* confdefs.h.  */
19784 _ACEOF
19785 cat confdefs.h >>conftest.$ac_ext
19786 cat >>conftest.$ac_ext <<_ACEOF
19787 /* end confdefs.h.  */
19788 #ifdef HAVE_SYS_TYPES_H
19789 #include <sys/types.h>
19790 #endif
19791 #ifdef HAVE_NETINET_IN_H
19792 #include <netinet/in.h>
19793 #endif
19794
19795 int
19796 main ()
19797 {
19798 static struct sockaddr_in6 ac_aggr;
19799 if (ac_aggr.sin6_scope_id)
19800 return 0;
19801   ;
19802   return 0;
19803 }
19804 _ACEOF
19805 rm -f conftest.$ac_objext
19806 if { (ac_try="$ac_compile"
19807 case "(($ac_try" in
19808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19809   *) ac_try_echo=$ac_try;;
19810 esac
19811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19812   (eval "$ac_compile") 2>conftest.er1
19813   ac_status=$?
19814   grep -v '^ *+' conftest.er1 >conftest.err
19815   rm -f conftest.er1
19816   cat conftest.err >&5
19817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19818   (exit $ac_status); } && {
19819          test -z "$ac_c_werror_flag" ||
19820          test ! -s conftest.err
19821        } && test -s conftest.$ac_objext; then
19822   ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19823 else
19824   echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19826
19827         cat >conftest.$ac_ext <<_ACEOF
19828 /* confdefs.h.  */
19829 _ACEOF
19830 cat confdefs.h >>conftest.$ac_ext
19831 cat >>conftest.$ac_ext <<_ACEOF
19832 /* end confdefs.h.  */
19833 #ifdef HAVE_SYS_TYPES_H
19834 #include <sys/types.h>
19835 #endif
19836 #ifdef HAVE_NETINET_IN_H
19837 #include <netinet/in.h>
19838 #endif
19839
19840 int
19841 main ()
19842 {
19843 static struct sockaddr_in6 ac_aggr;
19844 if (sizeof ac_aggr.sin6_scope_id)
19845 return 0;
19846   ;
19847   return 0;
19848 }
19849 _ACEOF
19850 rm -f conftest.$ac_objext
19851 if { (ac_try="$ac_compile"
19852 case "(($ac_try" in
19853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854   *) ac_try_echo=$ac_try;;
19855 esac
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857   (eval "$ac_compile") 2>conftest.er1
19858   ac_status=$?
19859   grep -v '^ *+' conftest.er1 >conftest.err
19860   rm -f conftest.er1
19861   cat conftest.err >&5
19862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863   (exit $ac_status); } && {
19864          test -z "$ac_c_werror_flag" ||
19865          test ! -s conftest.err
19866        } && test -s conftest.$ac_objext; then
19867   ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19868 else
19869   echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.$ac_ext >&5
19871
19872         ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19873 fi
19874
19875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19876 fi
19877
19878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 fi
19880 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19881 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19882 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19883
19884 cat >>confdefs.h <<_ACEOF
19885 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19886 _ACEOF
19887
19888
19889 fi
19890
19891
19892 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19893 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19894 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19895   echo $ECHO_N "(cached) $ECHO_C" >&6
19896 else
19897   cat >conftest.$ac_ext <<_ACEOF
19898 /* confdefs.h.  */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h.  */
19903 #ifdef HAVE_SYS_TYPES_H
19904 #include <sys/types.h>
19905 #endif
19906 #ifdef HAVE_NETINET_IN_H
19907 # include <netinet/in.h>
19908 #endif
19909 #ifdef HAVE_ARPA_NAMESER_H
19910 # include <arpa/nameser.h>
19911 #endif
19912
19913 int
19914 main ()
19915 {
19916 static ns_msg ac_aggr;
19917 if (ac_aggr._msg_ptr)
19918 return 0;
19919   ;
19920   return 0;
19921 }
19922 _ACEOF
19923 rm -f conftest.$ac_objext
19924 if { (ac_try="$ac_compile"
19925 case "(($ac_try" in
19926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19927   *) ac_try_echo=$ac_try;;
19928 esac
19929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19930   (eval "$ac_compile") 2>conftest.er1
19931   ac_status=$?
19932   grep -v '^ *+' conftest.er1 >conftest.err
19933   rm -f conftest.er1
19934   cat conftest.err >&5
19935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936   (exit $ac_status); } && {
19937          test -z "$ac_c_werror_flag" ||
19938          test ! -s conftest.err
19939        } && test -s conftest.$ac_objext; then
19940   ac_cv_member_ns_msg__msg_ptr=yes
19941 else
19942   echo "$as_me: failed program was:" >&5
19943 sed 's/^/| /' conftest.$ac_ext >&5
19944
19945         cat >conftest.$ac_ext <<_ACEOF
19946 /* confdefs.h.  */
19947 _ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h.  */
19951 #ifdef HAVE_SYS_TYPES_H
19952 #include <sys/types.h>
19953 #endif
19954 #ifdef HAVE_NETINET_IN_H
19955 # include <netinet/in.h>
19956 #endif
19957 #ifdef HAVE_ARPA_NAMESER_H
19958 # include <arpa/nameser.h>
19959 #endif
19960
19961 int
19962 main ()
19963 {
19964 static ns_msg ac_aggr;
19965 if (sizeof ac_aggr._msg_ptr)
19966 return 0;
19967   ;
19968   return 0;
19969 }
19970 _ACEOF
19971 rm -f conftest.$ac_objext
19972 if { (ac_try="$ac_compile"
19973 case "(($ac_try" in
19974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19975   *) ac_try_echo=$ac_try;;
19976 esac
19977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19978   (eval "$ac_compile") 2>conftest.er1
19979   ac_status=$?
19980   grep -v '^ *+' conftest.er1 >conftest.err
19981   rm -f conftest.er1
19982   cat conftest.err >&5
19983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19984   (exit $ac_status); } && {
19985          test -z "$ac_c_werror_flag" ||
19986          test ! -s conftest.err
19987        } && test -s conftest.$ac_objext; then
19988   ac_cv_member_ns_msg__msg_ptr=yes
19989 else
19990   echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19992
19993         ac_cv_member_ns_msg__msg_ptr=no
19994 fi
19995
19996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19997 fi
19998
19999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20000 fi
20001 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20002 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20003 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20004
20005 cat >>confdefs.h <<_ACEOF
20006 #define HAVE_NS_MSG__MSG_PTR 1
20007 _ACEOF
20008
20009
20010 fi
20011
20012
20013 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20014 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20015 if test "${ac_cv_have_timezone+set}" = set; then
20016   echo $ECHO_N "(cached) $ECHO_C" >&6
20017 else
20018   cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h.  */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h.  */
20024 #include <time.h>
20025 int
20026 main ()
20027 {
20028 timezone = 1
20029   ;
20030   return 0;
20031 }
20032 _ACEOF
20033 rm -f conftest.$ac_objext conftest$ac_exeext
20034 if { (ac_try="$ac_link"
20035 case "(($ac_try" in
20036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20037   *) ac_try_echo=$ac_try;;
20038 esac
20039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20040   (eval "$ac_link") 2>conftest.er1
20041   ac_status=$?
20042   grep -v '^ *+' conftest.er1 >conftest.err
20043   rm -f conftest.er1
20044   cat conftest.err >&5
20045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20046   (exit $ac_status); } && {
20047          test -z "$ac_c_werror_flag" ||
20048          test ! -s conftest.err
20049        } && test -s conftest$ac_exeext &&
20050        $as_test_x conftest$ac_exeext; then
20051   ac_cv_have_timezone="yes"
20052 else
20053   echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.$ac_ext >&5
20055
20056         ac_cv_have_timezone="no"
20057 fi
20058
20059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20060       conftest$ac_exeext conftest.$ac_ext
20061 fi
20062 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20063 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20064 if test "$ac_cv_have_timezone" = "yes"
20065 then
20066
20067 cat >>confdefs.h <<\_ACEOF
20068 #define HAVE_TIMEZONE 1
20069 _ACEOF
20070
20071 fi
20072 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20073 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20074 if test "${ac_cv_have_daylight+set}" = set; then
20075   echo $ECHO_N "(cached) $ECHO_C" >&6
20076 else
20077   cat >conftest.$ac_ext <<_ACEOF
20078 /* confdefs.h.  */
20079 _ACEOF
20080 cat confdefs.h >>conftest.$ac_ext
20081 cat >>conftest.$ac_ext <<_ACEOF
20082 /* end confdefs.h.  */
20083 #include <time.h>
20084 int
20085 main ()
20086 {
20087 daylight = 1
20088   ;
20089   return 0;
20090 }
20091 _ACEOF
20092 rm -f conftest.$ac_objext conftest$ac_exeext
20093 if { (ac_try="$ac_link"
20094 case "(($ac_try" in
20095   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20096   *) ac_try_echo=$ac_try;;
20097 esac
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099   (eval "$ac_link") 2>conftest.er1
20100   ac_status=$?
20101   grep -v '^ *+' conftest.er1 >conftest.err
20102   rm -f conftest.er1
20103   cat conftest.err >&5
20104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105   (exit $ac_status); } && {
20106          test -z "$ac_c_werror_flag" ||
20107          test ! -s conftest.err
20108        } && test -s conftest$ac_exeext &&
20109        $as_test_x conftest$ac_exeext; then
20110   ac_cv_have_daylight="yes"
20111 else
20112   echo "$as_me: failed program was:" >&5
20113 sed 's/^/| /' conftest.$ac_ext >&5
20114
20115         ac_cv_have_daylight="no"
20116 fi
20117
20118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20119       conftest$ac_exeext conftest.$ac_ext
20120 fi
20121 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20122 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20123 if test "$ac_cv_have_daylight" = "yes"
20124 then
20125
20126 cat >>confdefs.h <<\_ACEOF
20127 #define HAVE_DAYLIGHT 1
20128 _ACEOF
20129
20130 fi
20131
20132
20133 case $host_cpu in
20134   *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20135 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20136 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20137   echo $ECHO_N "(cached) $ECHO_C" >&6
20138 else
20139   cat >conftest.$ac_ext <<_ACEOF
20140 /* confdefs.h.  */
20141 _ACEOF
20142 cat confdefs.h >>conftest.$ac_ext
20143 cat >>conftest.$ac_ext <<_ACEOF
20144 /* end confdefs.h.  */
20145 #ifndef __i386__
20146 yes
20147 #endif
20148 _ACEOF
20149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20150   $EGREP "yes" >/dev/null 2>&1; then
20151   ac_cv_cpp_def___i386__=yes
20152 else
20153   ac_cv_cpp_def___i386__=no
20154 fi
20155 rm -f conftest*
20156
20157 fi
20158 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20159 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20160 if test $ac_cv_cpp_def___i386__ = yes; then
20161   CFLAGS="$CFLAGS -D__i386__"
20162   LINTFLAGS="$LINTFLAGS -D__i386__"
20163 fi
20164  ;;
20165   *x86_64*)         { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20166 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20167 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20168   echo $ECHO_N "(cached) $ECHO_C" >&6
20169 else
20170   cat >conftest.$ac_ext <<_ACEOF
20171 /* confdefs.h.  */
20172 _ACEOF
20173 cat confdefs.h >>conftest.$ac_ext
20174 cat >>conftest.$ac_ext <<_ACEOF
20175 /* end confdefs.h.  */
20176 #ifndef __x86_64__
20177 yes
20178 #endif
20179 _ACEOF
20180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20181   $EGREP "yes" >/dev/null 2>&1; then
20182   ac_cv_cpp_def___x86_64__=yes
20183 else
20184   ac_cv_cpp_def___x86_64__=no
20185 fi
20186 rm -f conftest*
20187
20188 fi
20189 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20190 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20191 if test $ac_cv_cpp_def___x86_64__ = yes; then
20192   CFLAGS="$CFLAGS -D__x86_64__"
20193   LINTFLAGS="$LINTFLAGS -D__x86_64__"
20194 fi
20195  ;;
20196   *alpha*)          { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20197 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20198 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20199   echo $ECHO_N "(cached) $ECHO_C" >&6
20200 else
20201   cat >conftest.$ac_ext <<_ACEOF
20202 /* confdefs.h.  */
20203 _ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h.  */
20207 #ifndef __ALPHA__
20208 yes
20209 #endif
20210 _ACEOF
20211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20212   $EGREP "yes" >/dev/null 2>&1; then
20213   ac_cv_cpp_def___ALPHA__=yes
20214 else
20215   ac_cv_cpp_def___ALPHA__=no
20216 fi
20217 rm -f conftest*
20218
20219 fi
20220 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20221 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20222 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20223   CFLAGS="$CFLAGS -D__ALPHA__"
20224   LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20225 fi
20226  ;;
20227   *sparc*)          { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20228 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20229 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20230   echo $ECHO_N "(cached) $ECHO_C" >&6
20231 else
20232   cat >conftest.$ac_ext <<_ACEOF
20233 /* confdefs.h.  */
20234 _ACEOF
20235 cat confdefs.h >>conftest.$ac_ext
20236 cat >>conftest.$ac_ext <<_ACEOF
20237 /* end confdefs.h.  */
20238 #ifndef __sparc__
20239 yes
20240 #endif
20241 _ACEOF
20242 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20243   $EGREP "yes" >/dev/null 2>&1; then
20244   ac_cv_cpp_def___sparc__=yes
20245 else
20246   ac_cv_cpp_def___sparc__=no
20247 fi
20248 rm -f conftest*
20249
20250 fi
20251 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20252 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20253 if test $ac_cv_cpp_def___sparc__ = yes; then
20254   CFLAGS="$CFLAGS -D__sparc__"
20255   LINTFLAGS="$LINTFLAGS -D__sparc__"
20256 fi
20257  ;;
20258   *powerpc*)        { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20259 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20260 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20261   echo $ECHO_N "(cached) $ECHO_C" >&6
20262 else
20263   cat >conftest.$ac_ext <<_ACEOF
20264 /* confdefs.h.  */
20265 _ACEOF
20266 cat confdefs.h >>conftest.$ac_ext
20267 cat >>conftest.$ac_ext <<_ACEOF
20268 /* end confdefs.h.  */
20269 #ifndef __powerpc__
20270 yes
20271 #endif
20272 _ACEOF
20273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20274   $EGREP "yes" >/dev/null 2>&1; then
20275   ac_cv_cpp_def___powerpc__=yes
20276 else
20277   ac_cv_cpp_def___powerpc__=no
20278 fi
20279 rm -f conftest*
20280
20281 fi
20282 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20283 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20284 if test $ac_cv_cpp_def___powerpc__ = yes; then
20285   CFLAGS="$CFLAGS -D__powerpc__"
20286   LINTFLAGS="$LINTFLAGS -D__powerpc__"
20287 fi
20288  ;;
20289 esac
20290
20291 case $host_vendor in
20292   *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20293 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20294 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20295   echo $ECHO_N "(cached) $ECHO_C" >&6
20296 else
20297   cat >conftest.$ac_ext <<_ACEOF
20298 /* confdefs.h.  */
20299 _ACEOF
20300 cat confdefs.h >>conftest.$ac_ext
20301 cat >>conftest.$ac_ext <<_ACEOF
20302 /* end confdefs.h.  */
20303 #ifndef __sun__
20304 yes
20305 #endif
20306 _ACEOF
20307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20308   $EGREP "yes" >/dev/null 2>&1; then
20309   ac_cv_cpp_def___sun__=yes
20310 else
20311   ac_cv_cpp_def___sun__=no
20312 fi
20313 rm -f conftest*
20314
20315 fi
20316 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20317 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20318 if test $ac_cv_cpp_def___sun__ = yes; then
20319   CFLAGS="$CFLAGS -D__sun__"
20320   LINTFLAGS="$LINTFLAGS -D__sun__"
20321 fi
20322  ;;
20323 esac
20324
20325
20326 DEPENDENCIES="### Dependencies:
20327
20328 .INIT: Makefile
20329 .BEGIN: Makefile
20330 Makefile: dummy
20331         -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20332
20333 \$(OBJS): \$(IDL_GEN_HEADERS)
20334 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20335 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20336 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20337
20338
20339
20340
20341
20342 ac_config_commands="$ac_config_commands include/stamp-h"
20343
20344
20345 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20346
20347 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20348
20349 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20350
20351 ac_config_commands="$ac_config_commands dlls/user32/resources"
20352
20353 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20354
20355 ac_config_commands="$ac_config_commands include/wine"
20356
20357
20358 MAKE_RULES=Make.rules
20359
20360
20361 MAKE_DLL_RULES=dlls/Makedll.rules
20362
20363
20364 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20365
20366
20367 MAKE_TEST_RULES=dlls/Maketest.rules
20368
20369
20370 MAKE_PROG_RULES=programs/Makeprog.rules
20371
20372
20373 ac_config_files="$ac_config_files Make.rules"
20374
20375 ac_config_files="$ac_config_files dlls/Makedll.rules"
20376
20377 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20378
20379 ac_config_files="$ac_config_files dlls/Maketest.rules"
20380
20381 ac_config_files="$ac_config_files programs/Makeprog.rules"
20382
20383 ac_config_files="$ac_config_files Makefile"
20384
20385 ac_config_files="$ac_config_files dlls/Makefile"
20386
20387 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20388
20389 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20390
20391 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20392
20393 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20394
20395 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20396
20397 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20398
20399 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20400
20401 ac_config_files="$ac_config_files dlls/atl/Makefile"
20402
20403 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20404
20405 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20406
20407 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20408
20409 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20410
20411 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20412
20413 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20414
20415 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20416
20417 ac_config_files="$ac_config_files dlls/cards/Makefile"
20418
20419 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20420
20421 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20422
20423 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20424
20425 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20426
20427 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20428
20429 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20430
20431 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20432
20433 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20434
20435 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20436
20437 ac_config_files="$ac_config_files dlls/credui/Makefile"
20438
20439 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20440
20441 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20442
20443 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20444
20445 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20446
20447 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20448
20449 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20450
20451 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20452
20453 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20454
20455 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20456
20457 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20458
20459 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20460
20461 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20462
20463 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20464
20465 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20466
20467 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20468
20469 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20470
20471 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20472
20473 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20474
20475 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20476
20477 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20478
20479 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20480
20481 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20482
20483 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20484
20485 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20486
20487 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20488
20489 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20490
20491 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20492
20493 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20494
20495 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20496
20497 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20498
20499 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20500
20501 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20502
20503 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20504
20505 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20506
20507 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20508
20509 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20510
20511 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20512
20513 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20514
20515 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20516
20517 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20518
20519 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20520
20521 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20522
20523 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20524
20525 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20526
20527 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20528
20529 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20530
20531 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20532
20533 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20534
20535 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20536
20537 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20538
20539 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20540
20541 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20542
20543 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20544
20545 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20546
20547 ac_config_files="$ac_config_files dlls/hal/Makefile"
20548
20549 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20550
20551 ac_config_files="$ac_config_files dlls/hid/Makefile"
20552
20553 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20554
20555 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20556
20557 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20558
20559 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20560
20561 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20562
20563 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20564
20565 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20566
20567 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20568
20569 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20570
20571 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20572
20573 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20574
20575 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20576
20577 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20578
20579 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20580
20581 ac_config_files="$ac_config_files dlls/itss/Makefile"
20582
20583 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20584
20585 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20586
20587 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20588
20589 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20590
20591 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20592
20593 ac_config_files="$ac_config_files dlls/localui/Makefile"
20594
20595 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20596
20597 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20598
20599 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20600
20601 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20602
20603 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20604
20605 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20606
20607 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20608
20609 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20610
20611 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20612
20613 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20614
20615 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20616
20617 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20618
20619 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20620
20621 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20622
20623 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20624
20625 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20626
20627 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20628
20629 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20630
20631 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20632
20633 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20634
20635 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20636
20637 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20638
20639 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20640
20641 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20642
20643 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20644
20645 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20646
20647 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20648
20649 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20650
20651 ac_config_files="$ac_config_files dlls/msi/Makefile"
20652
20653 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20654
20655 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20656
20657 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20658
20659 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20660
20661 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20662
20663 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20664
20665 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20666
20667 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20668
20669 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20670
20671 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20672
20673 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20674
20675 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20676
20677 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20678
20679 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20680
20681 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20682
20683 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20684
20685 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20686
20687 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20688
20689 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20690
20691 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20692
20693 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20694
20695 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20696
20697 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20698
20699 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20700
20701 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20702
20703 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20704
20705 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20706
20707 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20708
20709 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20710
20711 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20712
20713 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20714
20715 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20716
20717 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20718
20719 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20720
20721 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20722
20723 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20724
20725 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20726
20727 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20728
20729 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20730
20731 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20732
20733 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20734
20735 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20736
20737 ac_config_files="$ac_config_files dlls/printui/Makefile"
20738
20739 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20740
20741 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20742
20743 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20744
20745 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20746
20747 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20748
20749 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20750
20751 ac_config_files="$ac_config_files dlls/query/Makefile"
20752
20753 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20754
20755 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20756
20757 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20758
20759 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20760
20761 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20762
20763 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20764
20765 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20766
20767 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20768
20769 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20770
20771 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20772
20773 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20774
20775 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20776
20777 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20778
20779 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20780
20781 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20782
20783 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20784
20785 ac_config_files="$ac_config_files dlls/security/Makefile"
20786
20787 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20788
20789 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20790
20791 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20792
20793 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20794
20795 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20796
20797 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20798
20799 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20800
20801 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20802
20803 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20804
20805 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20806
20807 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20808
20809 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20810
20811 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20812
20813 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20814
20815 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20816
20817 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20818
20819 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20820
20821 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20822
20823 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20824
20825 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20826
20827 ac_config_files="$ac_config_files dlls/sti/Makefile"
20828
20829 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20830
20831 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20832
20833 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20834
20835 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20836
20837 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20838
20839 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20840
20841 ac_config_files="$ac_config_files dlls/url/Makefile"
20842
20843 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20844
20845 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20846
20847 ac_config_files="$ac_config_files dlls/user32/Makefile"
20848
20849 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20850
20851 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20852
20853 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20854
20855 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20856
20857 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20858
20859 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20860
20861 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20862
20863 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20864
20865 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20866
20867 ac_config_files="$ac_config_files dlls/version/Makefile"
20868
20869 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20870
20871 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20872
20873 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20874
20875 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20876
20877 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20878
20879 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20880
20881 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20882
20883 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20884
20885 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20886
20887 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20888
20889 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20890
20891 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20892
20893 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20894
20895 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20896
20897 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20898
20899 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20900
20901 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20902
20903 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20904
20905 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20906
20907 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20908
20909 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20910
20911 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20912
20913 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20914
20915 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20916
20917 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20918
20919 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20920
20921 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20922
20923 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20924
20925 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20926
20927 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20928
20929 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20930
20931 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20932
20933 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20934
20935 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20936
20937 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20938
20939 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20940
20941 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20942
20943 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20944
20945 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20946
20947 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20948
20949 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20950
20951 ac_config_files="$ac_config_files documentation/Makefile"
20952
20953 ac_config_files="$ac_config_files fonts/Makefile"
20954
20955 ac_config_files="$ac_config_files include/Makefile"
20956
20957 ac_config_files="$ac_config_files libs/Makefile"
20958
20959 ac_config_files="$ac_config_files libs/port/Makefile"
20960
20961 ac_config_files="$ac_config_files libs/wine/Makefile"
20962
20963 ac_config_files="$ac_config_files libs/wpp/Makefile"
20964
20965 ac_config_files="$ac_config_files loader/Makefile"
20966
20967 ac_config_files="$ac_config_files programs/Makefile"
20968
20969 ac_config_files="$ac_config_files programs/clock/Makefile"
20970
20971 ac_config_files="$ac_config_files programs/cmd/Makefile"
20972
20973 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20974
20975 ac_config_files="$ac_config_files programs/control/Makefile"
20976
20977 ac_config_files="$ac_config_files programs/eject/Makefile"
20978
20979 ac_config_files="$ac_config_files programs/expand/Makefile"
20980
20981 ac_config_files="$ac_config_files programs/explorer/Makefile"
20982
20983 ac_config_files="$ac_config_files programs/hh/Makefile"
20984
20985 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20986
20987 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20988
20989 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20990
20991 ac_config_files="$ac_config_files programs/net/Makefile"
20992
20993 ac_config_files="$ac_config_files programs/notepad/Makefile"
20994
20995 ac_config_files="$ac_config_files programs/oleview/Makefile"
20996
20997 ac_config_files="$ac_config_files programs/progman/Makefile"
20998
20999 ac_config_files="$ac_config_files programs/regedit/Makefile"
21000
21001 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
21002
21003 ac_config_files="$ac_config_files programs/rpcss/Makefile"
21004
21005 ac_config_files="$ac_config_files programs/rundll32/Makefile"
21006
21007 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
21008
21009 ac_config_files="$ac_config_files programs/start/Makefile"
21010
21011 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
21012
21013 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
21014
21015 ac_config_files="$ac_config_files programs/view/Makefile"
21016
21017 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21018
21019 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21020
21021 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21022
21023 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21024
21025 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21026
21027 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21028
21029 ac_config_files="$ac_config_files programs/winefile/Makefile"
21030
21031 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21032
21033 ac_config_files="$ac_config_files programs/winemine/Makefile"
21034
21035 ac_config_files="$ac_config_files programs/winepath/Makefile"
21036
21037 ac_config_files="$ac_config_files programs/winetest/Makefile"
21038
21039 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21040
21041 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21042
21043 ac_config_files="$ac_config_files programs/winver/Makefile"
21044
21045 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21046
21047 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21048
21049 ac_config_files="$ac_config_files server/Makefile"
21050
21051 ac_config_files="$ac_config_files tools/Makefile"
21052
21053 ac_config_files="$ac_config_files tools/widl/Makefile"
21054
21055 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21056
21057 ac_config_files="$ac_config_files tools/winedump/Makefile"
21058
21059 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21060
21061 ac_config_files="$ac_config_files tools/wmc/Makefile"
21062
21063 ac_config_files="$ac_config_files tools/wrc/Makefile"
21064
21065
21066 cat >confcache <<\_ACEOF
21067 # This file is a shell script that caches the results of configure
21068 # tests run on this system so they can be shared between configure
21069 # scripts and configure runs, see configure's option --config-cache.
21070 # It is not useful on other systems.  If it contains results you don't
21071 # want to keep, you may remove or edit it.
21072 #
21073 # config.status only pays attention to the cache file if you give it
21074 # the --recheck option to rerun configure.
21075 #
21076 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21077 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21078 # following values.
21079
21080 _ACEOF
21081
21082 # The following way of writing the cache mishandles newlines in values,
21083 # but we know of no workaround that is simple, portable, and efficient.
21084 # So, we kill variables containing newlines.
21085 # Ultrix sh set writes to stderr and can't be redirected directly,
21086 # and sets the high bit in the cache file unless we assign to the vars.
21087 (
21088   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21089     eval ac_val=\$$ac_var
21090     case $ac_val in #(
21091     *${as_nl}*)
21092       case $ac_var in #(
21093       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21094 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21095       esac
21096       case $ac_var in #(
21097       _ | IFS | as_nl) ;; #(
21098       *) $as_unset $ac_var ;;
21099       esac ;;
21100     esac
21101   done
21102
21103   (set) 2>&1 |
21104     case $as_nl`(ac_space=' '; set) 2>&1` in #(
21105     *${as_nl}ac_space=\ *)
21106       # `set' does not quote correctly, so add quotes (double-quote
21107       # substitution turns \\\\ into \\, and sed turns \\ into \).
21108       sed -n \
21109         "s/'/'\\\\''/g;
21110           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21111       ;; #(
21112     *)
21113       # `set' quotes correctly as required by POSIX, so do not add quotes.
21114       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21115       ;;
21116     esac |
21117     sort
21118 ) |
21119   sed '
21120      /^ac_cv_env_/b end
21121      t clear
21122      :clear
21123      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21124      t end
21125      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21126      :end' >>confcache
21127 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21128   if test -w "$cache_file"; then
21129     test "x$cache_file" != "x/dev/null" &&
21130       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21131 echo "$as_me: updating cache $cache_file" >&6;}
21132     cat confcache >$cache_file
21133   else
21134     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21135 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21136   fi
21137 fi
21138 rm -f confcache
21139
21140 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21141 # Let make expand exec_prefix.
21142 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21143
21144 DEFS=-DHAVE_CONFIG_H
21145
21146 ac_libobjs=
21147 ac_ltlibobjs=
21148 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21149   # 1. Remove the extension, and $U if already installed.
21150   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21151   ac_i=`echo "$ac_i" | sed "$ac_script"`
21152   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
21153   #    will be set to the directory where LIBOBJS objects are built.
21154   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21155   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21156 done
21157 LIBOBJS=$ac_libobjs
21158
21159 LTLIBOBJS=$ac_ltlibobjs
21160
21161
21162
21163 : ${CONFIG_STATUS=./config.status}
21164 ac_clean_files_save=$ac_clean_files
21165 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21166 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21167 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21168 cat >$CONFIG_STATUS <<_ACEOF
21169 #! $SHELL
21170 # Generated by $as_me.
21171 # Run this file to recreate the current configuration.
21172 # Compiler output produced by configure, useful for debugging
21173 # configure, is in config.log if it exists.
21174
21175 debug=false
21176 ac_cs_recheck=false
21177 ac_cs_silent=false
21178 SHELL=\${CONFIG_SHELL-$SHELL}
21179 _ACEOF
21180
21181 cat >>$CONFIG_STATUS <<\_ACEOF
21182 ## --------------------- ##
21183 ## M4sh Initialization.  ##
21184 ## --------------------- ##
21185
21186 # Be more Bourne compatible
21187 DUALCASE=1; export DUALCASE # for MKS sh
21188 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21189   emulate sh
21190   NULLCMD=:
21191   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21192   # is contrary to our usage.  Disable this feature.
21193   alias -g '${1+"$@"}'='"$@"'
21194   setopt NO_GLOB_SUBST
21195 else
21196   case `(set -o) 2>/dev/null` in
21197   *posix*) set -o posix ;;
21198 esac
21199
21200 fi
21201
21202
21203
21204
21205 # PATH needs CR
21206 # Avoid depending upon Character Ranges.
21207 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21208 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21209 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21210 as_cr_digits='0123456789'
21211 as_cr_alnum=$as_cr_Letters$as_cr_digits
21212
21213 # The user is always right.
21214 if test "${PATH_SEPARATOR+set}" != set; then
21215   echo "#! /bin/sh" >conf$$.sh
21216   echo  "exit 0"   >>conf$$.sh
21217   chmod +x conf$$.sh
21218   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21219     PATH_SEPARATOR=';'
21220   else
21221     PATH_SEPARATOR=:
21222   fi
21223   rm -f conf$$.sh
21224 fi
21225
21226 # Support unset when possible.
21227 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21228   as_unset=unset
21229 else
21230   as_unset=false
21231 fi
21232
21233
21234 # IFS
21235 # We need space, tab and new line, in precisely that order.  Quoting is
21236 # there to prevent editors from complaining about space-tab.
21237 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21238 # splitting by setting IFS to empty value.)
21239 as_nl='
21240 '
21241 IFS=" ""        $as_nl"
21242
21243 # Find who we are.  Look in the path if we contain no directory separator.
21244 case $0 in
21245   *[\\/]* ) as_myself=$0 ;;
21246   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21247 for as_dir in $PATH
21248 do
21249   IFS=$as_save_IFS
21250   test -z "$as_dir" && as_dir=.
21251   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21252 done
21253 IFS=$as_save_IFS
21254
21255      ;;
21256 esac
21257 # We did not find ourselves, most probably we were run as `sh COMMAND'
21258 # in which case we are not to be found in the path.
21259 if test "x$as_myself" = x; then
21260   as_myself=$0
21261 fi
21262 if test ! -f "$as_myself"; then
21263   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21264   { (exit 1); exit 1; }
21265 fi
21266
21267 # Work around bugs in pre-3.0 UWIN ksh.
21268 for as_var in ENV MAIL MAILPATH
21269 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21270 done
21271 PS1='$ '
21272 PS2='> '
21273 PS4='+ '
21274
21275 # NLS nuisances.
21276 for as_var in \
21277   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21278   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21279   LC_TELEPHONE LC_TIME
21280 do
21281   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21282     eval $as_var=C; export $as_var
21283   else
21284     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21285   fi
21286 done
21287
21288 # Required to use basename.
21289 if expr a : '\(a\)' >/dev/null 2>&1 &&
21290    test "X`expr 00001 : '.*\(...\)'`" = X001; then
21291   as_expr=expr
21292 else
21293   as_expr=false
21294 fi
21295
21296 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21297   as_basename=basename
21298 else
21299   as_basename=false
21300 fi
21301
21302
21303 # Name of the executable.
21304 as_me=`$as_basename -- "$0" ||
21305 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21306          X"$0" : 'X\(//\)$' \| \
21307          X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21308 echo X/"$0" |
21309     sed '/^.*\/\([^/][^/]*\)\/*$/{
21310             s//\1/
21311             q
21312           }
21313           /^X\/\(\/\/\)$/{
21314             s//\1/
21315             q
21316           }
21317           /^X\/\(\/\).*/{
21318             s//\1/
21319             q
21320           }
21321           s/.*/./; q'`
21322
21323 # CDPATH.
21324 $as_unset CDPATH
21325
21326
21327
21328   as_lineno_1=$LINENO
21329   as_lineno_2=$LINENO
21330   test "x$as_lineno_1" != "x$as_lineno_2" &&
21331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21332
21333   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21334   # uniformly replaced by the line number.  The first 'sed' inserts a
21335   # line-number line after each line using $LINENO; the second 'sed'
21336   # does the real work.  The second script uses 'N' to pair each
21337   # line-number line with the line containing $LINENO, and appends
21338   # trailing '-' during substitution so that $LINENO is not a special
21339   # case at line end.
21340   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21341   # scripts with optimization help from Paolo Bonzini.  Blame Lee
21342   # E. McMahon (1931-1989) for sed's syntax.  :-)
21343   sed -n '
21344     p
21345     /[$]LINENO/=
21346   ' <$as_myself |
21347     sed '
21348       s/[$]LINENO.*/&-/
21349       t lineno
21350       b
21351       :lineno
21352       N
21353       :loop
21354       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21355       t loop
21356       s/-\n.*//
21357     ' >$as_me.lineno &&
21358   chmod +x "$as_me.lineno" ||
21359     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21360    { (exit 1); exit 1; }; }
21361
21362   # Don't try to exec as it changes $[0], causing all sort of problems
21363   # (the dirname of $[0] is not the place where we might find the
21364   # original and so on.  Autoconf is especially sensitive to this).
21365   . "./$as_me.lineno"
21366   # Exit status is that of the last command.
21367   exit
21368 }
21369
21370
21371 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21372   as_dirname=dirname
21373 else
21374   as_dirname=false
21375 fi
21376
21377 ECHO_C= ECHO_N= ECHO_T=
21378 case `echo -n x` in
21379 -n*)
21380   case `echo 'x\c'` in
21381   *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
21382   *)   ECHO_C='\c';;
21383   esac;;
21384 *)
21385   ECHO_N='-n';;
21386 esac
21387
21388 if expr a : '\(a\)' >/dev/null 2>&1 &&
21389    test "X`expr 00001 : '.*\(...\)'`" = X001; then
21390   as_expr=expr
21391 else
21392   as_expr=false
21393 fi
21394
21395 rm -f conf$$ conf$$.exe conf$$.file
21396 if test -d conf$$.dir; then
21397   rm -f conf$$.dir/conf$$.file
21398 else
21399   rm -f conf$$.dir
21400   mkdir conf$$.dir
21401 fi
21402 echo >conf$$.file
21403 if ln -s conf$$.file conf$$ 2>/dev/null; then
21404   as_ln_s='ln -s'
21405   # ... but there are two gotchas:
21406   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21407   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21408   # In both cases, we have to default to `cp -p'.
21409   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21410     as_ln_s='cp -p'
21411 elif ln conf$$.file conf$$ 2>/dev/null; then
21412   as_ln_s=ln
21413 else
21414   as_ln_s='cp -p'
21415 fi
21416 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21417 rmdir conf$$.dir 2>/dev/null
21418
21419 if mkdir -p . 2>/dev/null; then
21420   as_mkdir_p=:
21421 else
21422   test -d ./-p && rmdir ./-p
21423   as_mkdir_p=false
21424 fi
21425
21426 if test -x / >/dev/null 2>&1; then
21427   as_test_x='test -x'
21428 else
21429   if ls -dL / >/dev/null 2>&1; then
21430     as_ls_L_option=L
21431   else
21432     as_ls_L_option=
21433   fi
21434   as_test_x='
21435     eval sh -c '\''
21436       if test -d "$1"; then
21437         test -d "$1/.";
21438       else
21439         case $1 in
21440         -*)set "./$1";;
21441         esac;
21442         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21443         ???[sx]*):;;*)false;;esac;fi
21444     '\'' sh
21445   '
21446 fi
21447 as_executable_p=$as_test_x
21448
21449 # Sed expression to map a string onto a valid CPP name.
21450 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21451
21452 # Sed expression to map a string onto a valid variable name.
21453 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21454
21455
21456 exec 6>&1
21457
21458 # Save the log message, to keep $[0] and so on meaningful, and to
21459 # report actual input values of CONFIG_FILES etc. instead of their
21460 # values after options handling.
21461 ac_log="
21462 This file was extended by Wine $as_me 0.9.39, which was
21463 generated by GNU Autoconf 2.61.  Invocation command line was
21464
21465   CONFIG_FILES    = $CONFIG_FILES
21466   CONFIG_HEADERS  = $CONFIG_HEADERS
21467   CONFIG_LINKS    = $CONFIG_LINKS
21468   CONFIG_COMMANDS = $CONFIG_COMMANDS
21469   $ $0 $@
21470
21471 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21472 "
21473
21474 _ACEOF
21475
21476 cat >>$CONFIG_STATUS <<_ACEOF
21477 # Files that config.status was made for.
21478 config_files="$ac_config_files"
21479 config_headers="$ac_config_headers"
21480 config_commands="$ac_config_commands"
21481
21482 _ACEOF
21483
21484 cat >>$CONFIG_STATUS <<\_ACEOF
21485 ac_cs_usage="\
21486 \`$as_me' instantiates files from templates according to the
21487 current configuration.
21488
21489 Usage: $0 [OPTIONS] [FILE]...
21490
21491   -h, --help       print this help, then exit
21492   -V, --version    print version number and configuration settings, then exit
21493   -q, --quiet      do not print progress messages
21494   -d, --debug      don't remove temporary files
21495       --recheck    update $as_me by reconfiguring in the same conditions
21496   --file=FILE[:TEMPLATE]
21497                    instantiate the configuration file FILE
21498   --header=FILE[:TEMPLATE]
21499                    instantiate the configuration header FILE
21500
21501 Configuration files:
21502 $config_files
21503
21504 Configuration headers:
21505 $config_headers
21506
21507 Configuration commands:
21508 $config_commands
21509
21510 Report bugs to <bug-autoconf@gnu.org>."
21511
21512 _ACEOF
21513 cat >>$CONFIG_STATUS <<_ACEOF
21514 ac_cs_version="\\
21515 Wine config.status 0.9.39
21516 configured by $0, generated by GNU Autoconf 2.61,
21517   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21518
21519 Copyright (C) 2006 Free Software Foundation, Inc.
21520 This config.status script is free software; the Free Software Foundation
21521 gives unlimited permission to copy, distribute and modify it."
21522
21523 ac_pwd='$ac_pwd'
21524 srcdir='$srcdir'
21525 INSTALL='$INSTALL'
21526 _ACEOF
21527
21528 cat >>$CONFIG_STATUS <<\_ACEOF
21529 # If no file are specified by the user, then we need to provide default
21530 # value.  By we need to know if files were specified by the user.
21531 ac_need_defaults=:
21532 while test $# != 0
21533 do
21534   case $1 in
21535   --*=*)
21536     ac_option=`expr "X$1" : 'X\([^=]*\)='`
21537     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21538     ac_shift=:
21539     ;;
21540   *)
21541     ac_option=$1
21542     ac_optarg=$2
21543     ac_shift=shift
21544     ;;
21545   esac
21546
21547   case $ac_option in
21548   # Handling of the options.
21549   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21550     ac_cs_recheck=: ;;
21551   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21552     echo "$ac_cs_version"; exit ;;
21553   --debug | --debu | --deb | --de | --d | -d )
21554     debug=: ;;
21555   --file | --fil | --fi | --f )
21556     $ac_shift
21557     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21558     ac_need_defaults=false;;
21559   --header | --heade | --head | --hea )
21560     $ac_shift
21561     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21562     ac_need_defaults=false;;
21563   --he | --h)
21564     # Conflict between --help and --header
21565     { echo "$as_me: error: ambiguous option: $1
21566 Try \`$0 --help' for more information." >&2
21567    { (exit 1); exit 1; }; };;
21568   --help | --hel | -h )
21569     echo "$ac_cs_usage"; exit ;;
21570   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21571   | -silent | --silent | --silen | --sile | --sil | --si | --s)
21572     ac_cs_silent=: ;;
21573
21574   # This is an error.
21575   -*) { echo "$as_me: error: unrecognized option: $1
21576 Try \`$0 --help' for more information." >&2
21577    { (exit 1); exit 1; }; } ;;
21578
21579   *) ac_config_targets="$ac_config_targets $1"
21580      ac_need_defaults=false ;;
21581
21582   esac
21583   shift
21584 done
21585
21586 ac_configure_extra_args=
21587
21588 if $ac_cs_silent; then
21589   exec 6>/dev/null
21590   ac_configure_extra_args="$ac_configure_extra_args --silent"
21591 fi
21592
21593 _ACEOF
21594 cat >>$CONFIG_STATUS <<_ACEOF
21595 if \$ac_cs_recheck; then
21596   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21597   CONFIG_SHELL=$SHELL
21598   export CONFIG_SHELL
21599   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21600 fi
21601
21602 _ACEOF
21603 cat >>$CONFIG_STATUS <<\_ACEOF
21604 exec 5>>config.log
21605 {
21606   echo
21607   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21608 ## Running $as_me. ##
21609 _ASBOX
21610   echo "$ac_log"
21611 } >&5
21612
21613 _ACEOF
21614 cat >>$CONFIG_STATUS <<_ACEOF
21615 _ACEOF
21616
21617 cat >>$CONFIG_STATUS <<\_ACEOF
21618
21619 # Handling of arguments.
21620 for ac_config_target in $ac_config_targets
21621 do
21622   case $ac_config_target in
21623     "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21624     "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21625     "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21626     "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21627     "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21628     "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21629     "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21630     "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21631     "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21632     "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21633     "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21634     "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21635     "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21636     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21637     "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21638     "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21639     "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21640     "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21641     "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21642     "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21643     "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21644     "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21645     "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21646     "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21647     "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21648     "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21649     "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21650     "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21651     "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21652     "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21653     "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21654     "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21655     "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21656     "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21657     "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21658     "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21659     "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21660     "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21661     "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21662     "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21663     "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21664     "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21665     "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21666     "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21667     "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21668     "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21669     "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21670     "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21671     "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21672     "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21673     "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21674     "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21675     "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21676     "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21677     "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21678     "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21679     "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21680     "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21681     "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21682     "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21683     "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21684     "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21685     "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21686     "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21687     "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21688     "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21689     "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21690     "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21691     "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21692     "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21693     "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21694     "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21695     "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21696     "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21697     "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21698     "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21699     "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21700     "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21701     "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21702     "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21703     "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21704     "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21705     "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21706     "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21707     "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21708     "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21709     "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21710     "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21711     "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21712     "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21713     "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21714     "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21715     "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21716     "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21717     "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21718     "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21719     "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21720     "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21721     "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21722     "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21723     "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21724     "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21725     "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21726     "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21727     "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21728     "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21729     "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21730     "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21731     "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21732     "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21733     "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21734     "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21735     "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21736     "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21737     "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21738     "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21739     "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21740     "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21741     "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21742     "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21743     "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21744     "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21745     "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21746     "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21747     "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21748     "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21749     "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21750     "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21751     "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21752     "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21753     "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21754     "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21755     "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21756     "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21757     "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21758     "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21759     "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21760     "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21761     "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21762     "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21763     "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21764     "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21765     "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21766     "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21767     "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21768     "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21769     "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21770     "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21771     "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21772     "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21773     "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21774     "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21775     "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21776     "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21777     "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21778     "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21779     "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21780     "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21781     "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21782     "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21783     "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21784     "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21785     "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21786     "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21787     "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21788     "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21789     "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21790     "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21791     "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21792     "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21793     "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21794     "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21795     "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21796     "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21797     "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21798     "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21799     "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21800     "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21801     "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21802     "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21803     "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21804     "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21805     "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21806     "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21807     "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21808     "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21809     "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21810     "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21811     "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21812     "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21813     "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21814     "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21815     "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21816     "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21817     "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21818     "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21819     "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21820     "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21821     "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21822     "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21823     "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21824     "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21825     "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21826     "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21827     "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21828     "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21829     "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21830     "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21831     "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21832     "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21833     "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21834     "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21835     "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21836     "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21837     "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21838     "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21839     "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21840     "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21841     "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21842     "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21843     "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21844     "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21845     "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21846     "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21847     "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21848     "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21849     "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21850     "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21851     "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21852     "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21853     "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21854     "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21855     "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21856     "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21857     "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21858     "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21859     "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21860     "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21861     "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21862     "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21863     "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21864     "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21865     "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21866     "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21867     "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21868     "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21869     "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21870     "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21871     "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21872     "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21873     "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21874     "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21875     "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21876     "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21877     "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21878     "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21879     "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21880     "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21881     "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21882     "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21883     "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21884     "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21885     "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21886     "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21887     "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21888     "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21889     "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21890     "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21891     "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21892     "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21893     "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21894     "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21895     "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21896     "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21897     "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21898     "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21899     "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21900     "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21901     "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21902     "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21903     "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21904     "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21905     "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21906     "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21907     "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21908     "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21909     "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21910     "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21911     "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21912     "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21913     "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21914     "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21915     "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21916     "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21917     "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21918     "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21919     "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21920     "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21921     "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21922     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21923     "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21924     "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21925     "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21926     "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21927     "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21928     "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21929     "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21930     "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21931     "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21932     "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21933     "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21934     "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21935     "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21936     "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21937     "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21938     "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21939     "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21940     "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21941     "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21942     "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21943     "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21944     "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21945     "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21946     "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21947     "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21948     "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21949     "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21950     "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21951     "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21952     "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21953     "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21954     "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21955     "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21956     "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21957     "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21958     "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21959     "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21960     "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21961     "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21962     "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21963     "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21964     "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21965     "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21966     "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21967     "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21968     "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21969     "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21970     "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21971     "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21972     "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21973     "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21974     "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21975     "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21976     "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21977
21978   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21979 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21980    { (exit 1); exit 1; }; };;
21981   esac
21982 done
21983
21984
21985 # If the user did not use the arguments to specify the items to instantiate,
21986 # then the envvar interface is used.  Set only those that are not.
21987 # We use the long form for the default assignment because of an extremely
21988 # bizarre bug on SunOS 4.1.3.
21989 if $ac_need_defaults; then
21990   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21991   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21992   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21993 fi
21994
21995 # Have a temporary directory for convenience.  Make it in the build tree
21996 # simply because there is no reason against having it here, and in addition,
21997 # creating and moving files from /tmp can sometimes cause problems.
21998 # Hook for its removal unless debugging.
21999 # Note that there is a small window in which the directory will not be cleaned:
22000 # after its creation but before its name has been assigned to `$tmp'.
22001 $debug ||
22002 {
22003   tmp=
22004   trap 'exit_status=$?
22005   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22006 ' 0
22007   trap '{ (exit 1); exit 1; }' 1 2 13 15
22008 }
22009 # Create a (secure) tmp directory for tmp files.
22010
22011 {
22012   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22013   test -n "$tmp" && test -d "$tmp"
22014 }  ||
22015 {
22016   tmp=./conf$$-$RANDOM
22017   (umask 077 && mkdir "$tmp")
22018 } ||
22019 {
22020    echo "$me: cannot create a temporary directory in ." >&2
22021    { (exit 1); exit 1; }
22022 }
22023
22024 #
22025 # Set up the sed scripts for CONFIG_FILES section.
22026 #
22027
22028 # No need to generate the scripts if there are no CONFIG_FILES.
22029 # This happens for instance when ./config.status config.h
22030 if test -n "$CONFIG_FILES"; then
22031
22032 _ACEOF
22033
22034 # Create sed commands to just substitute file output variables.
22035
22036 # Remaining file output variables are in a fragment that also has non-file
22037 # output varibles.
22038
22039
22040
22041 ac_delim='%!_!# '
22042 for ac_last_try in false false false false false :; do
22043   cat >conf$$subs.sed <<_ACEOF
22044 SHELL!$SHELL$ac_delim
22045 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22046 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22047 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22048 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22049 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22050 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22051 exec_prefix!$exec_prefix$ac_delim
22052 prefix!$prefix$ac_delim
22053 program_transform_name!$program_transform_name$ac_delim
22054 bindir!$bindir$ac_delim
22055 sbindir!$sbindir$ac_delim
22056 libexecdir!$libexecdir$ac_delim
22057 datarootdir!$datarootdir$ac_delim
22058 datadir!$datadir$ac_delim
22059 sysconfdir!$sysconfdir$ac_delim
22060 sharedstatedir!$sharedstatedir$ac_delim
22061 localstatedir!$localstatedir$ac_delim
22062 includedir!$includedir$ac_delim
22063 oldincludedir!$oldincludedir$ac_delim
22064 docdir!$docdir$ac_delim
22065 infodir!$infodir$ac_delim
22066 htmldir!$htmldir$ac_delim
22067 dvidir!$dvidir$ac_delim
22068 pdfdir!$pdfdir$ac_delim
22069 psdir!$psdir$ac_delim
22070 libdir!$libdir$ac_delim
22071 localedir!$localedir$ac_delim
22072 mandir!$mandir$ac_delim
22073 DEFS!$DEFS$ac_delim
22074 ECHO_C!$ECHO_C$ac_delim
22075 ECHO_N!$ECHO_N$ac_delim
22076 ECHO_T!$ECHO_T$ac_delim
22077 LIBS!$LIBS$ac_delim
22078 build_alias!$build_alias$ac_delim
22079 host_alias!$host_alias$ac_delim
22080 target_alias!$target_alias$ac_delim
22081 build!$build$ac_delim
22082 build_cpu!$build_cpu$ac_delim
22083 build_vendor!$build_vendor$ac_delim
22084 build_os!$build_os$ac_delim
22085 host!$host$ac_delim
22086 host_cpu!$host_cpu$ac_delim
22087 host_vendor!$host_vendor$ac_delim
22088 host_os!$host_os$ac_delim
22089 WIN16_FILES!$WIN16_FILES$ac_delim
22090 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22091 SET_MAKE!$SET_MAKE$ac_delim
22092 CC!$CC$ac_delim
22093 CFLAGS!$CFLAGS$ac_delim
22094 LDFLAGS!$LDFLAGS$ac_delim
22095 CPPFLAGS!$CPPFLAGS$ac_delim
22096 ac_ct_CC!$ac_ct_CC$ac_delim
22097 EXEEXT!$EXEEXT$ac_delim
22098 OBJEXT!$OBJEXT$ac_delim
22099 CXX!$CXX$ac_delim
22100 CXXFLAGS!$CXXFLAGS$ac_delim
22101 ac_ct_CXX!$ac_ct_CXX$ac_delim
22102 CPPBIN!$CPPBIN$ac_delim
22103 TOOLSDIR!$TOOLSDIR$ac_delim
22104 XMKMF!$XMKMF$ac_delim
22105 CPP!$CPP$ac_delim
22106 X_CFLAGS!$X_CFLAGS$ac_delim
22107 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22108 X_LIBS!$X_LIBS$ac_delim
22109 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22110 FLEX!$FLEX$ac_delim
22111 BISON!$BISON$ac_delim
22112 AS!$AS$ac_delim
22113 ac_ct_AS!$ac_ct_AS$ac_delim
22114 LD!$LD$ac_delim
22115 AR!$AR$ac_delim
22116 RANLIB!$RANLIB$ac_delim
22117 STRIP!$STRIP$ac_delim
22118 WINDRES!$WINDRES$ac_delim
22119 LN_S!$LN_S$ac_delim
22120 LN!$LN$ac_delim
22121 GREP!$GREP$ac_delim
22122 EGREP!$EGREP$ac_delim
22123 LDCONFIG!$LDCONFIG$ac_delim
22124 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22125 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22126 _ACEOF
22127
22128   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22129     break
22130   elif $ac_last_try; then
22131     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22132 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22133    { (exit 1); exit 1; }; }
22134   else
22135     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22136   fi
22137 done
22138
22139 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22140 if test -n "$ac_eof"; then
22141   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22142   ac_eof=`expr $ac_eof + 1`
22143 fi
22144
22145 cat >>$CONFIG_STATUS <<_ACEOF
22146 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22147 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22148 /^[      ]*@MAKE_RULES@[         ]*$/{
22149 r $MAKE_RULES
22150 d
22151 }
22152 /^[      ]*@MAKE_DLL_RULES@[     ]*$/{
22153 r $MAKE_DLL_RULES
22154 d
22155 }
22156 /^[      ]*@MAKE_IMPLIB_RULES@[  ]*$/{
22157 r $MAKE_IMPLIB_RULES
22158 d
22159 }
22160 /^[      ]*@MAKE_TEST_RULES@[    ]*$/{
22161 r $MAKE_TEST_RULES
22162 d
22163 }
22164 /^[      ]*@MAKE_PROG_RULES@[    ]*$/{
22165 r $MAKE_PROG_RULES
22166 d
22167 }
22168 _ACEOF
22169 sed '
22170 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22171 s/^/s,@/; s/!/@,|#_!!_#|/
22172 :n
22173 t n
22174 s/'"$ac_delim"'$/,g/; t
22175 s/$/\\/; p
22176 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22177 ' >>$CONFIG_STATUS <conf$$subs.sed
22178 rm -f conf$$subs.sed
22179 cat >>$CONFIG_STATUS <<_ACEOF
22180 CEOF$ac_eof
22181 _ACEOF
22182
22183
22184 ac_delim='%!_!# '
22185 for ac_last_try in false false false false false :; do
22186   cat >conf$$subs.sed <<_ACEOF
22187 INSTALL_DATA!$INSTALL_DATA$ac_delim
22188 LINT!$LINT$ac_delim
22189 LINTFLAGS!$LINTFLAGS$ac_delim
22190 FONTFORGE!$FONTFORGE$ac_delim
22191 PKG_CONFIG!$PKG_CONFIG$ac_delim
22192 PRELINK!$PRELINK$ac_delim
22193 LIBPTHREAD!$LIBPTHREAD$ac_delim
22194 XLIB!$XLIB$ac_delim
22195 XFILES!$XFILES$ac_delim
22196 OPENGLFILES!$OPENGLFILES$ac_delim
22197 GLU32FILES!$GLU32FILES$ac_delim
22198 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22199 QUARTZFILES!$QUARTZFILES$ac_delim
22200 NASLIBS!$NASLIBS$ac_delim
22201 XML2LIBS!$XML2LIBS$ac_delim
22202 XML2INCL!$XML2INCL$ac_delim
22203 XSLTLIBS!$XSLTLIBS$ac_delim
22204 XSLTINCL!$XSLTINCL$ac_delim
22205 HALINCL!$HALINCL$ac_delim
22206 sane_devel!$sane_devel$ac_delim
22207 SANEINCL!$SANEINCL$ac_delim
22208 gphoto2_devel!$gphoto2_devel$ac_delim
22209 gphoto2port_devel!$gphoto2port_devel$ac_delim
22210 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22211 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22212 ICULIBS!$ICULIBS$ac_delim
22213 RESOLVLIBS!$RESOLVLIBS$ac_delim
22214 LCMSLIBS!$LCMSLIBS$ac_delim
22215 LDAPLIBS!$LDAPLIBS$ac_delim
22216 FREETYPELIBS!$FREETYPELIBS$ac_delim
22217 FREETYPEINCL!$FREETYPEINCL$ac_delim
22218 ft_devel!$ft_devel$ac_delim
22219 ft_devel2!$ft_devel2$ac_delim
22220 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22221 ESDCONFIG!$ESDCONFIG$ac_delim
22222 ESDLIBS!$ESDLIBS$ac_delim
22223 ESDINCL!$ESDINCL$ac_delim
22224 ALSALIBS!$ALSALIBS$ac_delim
22225 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22226 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22227 BUILTINFLAG!$BUILTINFLAG$ac_delim
22228 DLLEXT!$DLLEXT$ac_delim
22229 DLLFLAGS!$DLLFLAGS$ac_delim
22230 LDSHARED!$LDSHARED$ac_delim
22231 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22232 LIBEXT!$LIBEXT$ac_delim
22233 IMPLIBEXT!$IMPLIBEXT$ac_delim
22234 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22235 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22236 DLLTOOL!$DLLTOOL$ac_delim
22237 DLLWRAP!$DLLWRAP$ac_delim
22238 MINGWAR!$MINGWAR$ac_delim
22239 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22240 IOKITLIB!$IOKITLIB$ac_delim
22241 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22242 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22243 COREAUDIO!$COREAUDIO$ac_delim
22244 CARBONLIB!$CARBONLIB$ac_delim
22245 CROSSTEST!$CROSSTEST$ac_delim
22246 CROSSCC!$CROSSCC$ac_delim
22247 CROSSWINDRES!$CROSSWINDRES$ac_delim
22248 LDPATH!$LDPATH$ac_delim
22249 CRTLIBS!$CRTLIBS$ac_delim
22250 SOCKETLIBS!$SOCKETLIBS$ac_delim
22251 MAIN_BINARY!$MAIN_BINARY$ac_delim
22252 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22253 LDD!$LDD$ac_delim
22254 LIBDL!$LIBDL$ac_delim
22255 LIBPOLL!$LIBPOLL$ac_delim
22256 DEPENDENCIES!$DEPENDENCIES$ac_delim
22257 LIBOBJS!$LIBOBJS$ac_delim
22258 LTLIBOBJS!$LTLIBOBJS$ac_delim
22259 _ACEOF
22260
22261   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22262     break
22263   elif $ac_last_try; then
22264     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22265 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22266    { (exit 1); exit 1; }; }
22267   else
22268     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22269   fi
22270 done
22271
22272 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22273 if test -n "$ac_eof"; then
22274   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22275   ac_eof=`expr $ac_eof + 1`
22276 fi
22277
22278 cat >>$CONFIG_STATUS <<_ACEOF
22279 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22280 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22281 _ACEOF
22282 sed '
22283 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22284 s/^/s,@/; s/!/@,|#_!!_#|/
22285 :n
22286 t n
22287 s/'"$ac_delim"'$/,g/; t
22288 s/$/\\/; p
22289 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22290 ' >>$CONFIG_STATUS <conf$$subs.sed
22291 rm -f conf$$subs.sed
22292 cat >>$CONFIG_STATUS <<_ACEOF
22293 :end
22294 s/|#_!!_#|//g
22295 CEOF$ac_eof
22296 _ACEOF
22297
22298
22299 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22300 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22301 # trailing colons and then remove the whole line if VPATH becomes empty
22302 # (actually we leave an empty line to preserve line numbers).
22303 if test "x$srcdir" = x.; then
22304   ac_vpsub='/^[  ]*VPATH[        ]*=/{
22305 s/:*\$(srcdir):*/:/
22306 s/:*\${srcdir}:*/:/
22307 s/:*@srcdir@:*/:/
22308 s/^\([^=]*=[     ]*\):*/\1/
22309 s/:*$//
22310 s/^[^=]*=[       ]*$//
22311 }'
22312 fi
22313
22314 cat >>$CONFIG_STATUS <<\_ACEOF
22315 fi # test -n "$CONFIG_FILES"
22316
22317
22318 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
22319 do
22320   case $ac_tag in
22321   :[FHLC]) ac_mode=$ac_tag; continue;;
22322   esac
22323   case $ac_mode$ac_tag in
22324   :[FHL]*:*);;
22325   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22326 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22327    { (exit 1); exit 1; }; };;
22328   :[FH]-) ac_tag=-:-;;
22329   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22330   esac
22331   ac_save_IFS=$IFS
22332   IFS=:
22333   set x $ac_tag
22334   IFS=$ac_save_IFS
22335   shift
22336   ac_file=$1
22337   shift
22338
22339   case $ac_mode in
22340   :L) ac_source=$1;;
22341   :[FH])
22342     ac_file_inputs=
22343     for ac_f
22344     do
22345       case $ac_f in
22346       -) ac_f="$tmp/stdin";;
22347       *) # Look for the file first in the build tree, then in the source tree
22348          # (if the path is not absolute).  The absolute path cannot be DOS-style,
22349          # because $ac_f cannot contain `:'.
22350          test -f "$ac_f" ||
22351            case $ac_f in
22352            [\\/$]*) false;;
22353            *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22354            esac ||
22355            { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22356 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22357    { (exit 1); exit 1; }; };;
22358       esac
22359       ac_file_inputs="$ac_file_inputs $ac_f"
22360     done
22361
22362     # Let's still pretend it is `configure' which instantiates (i.e., don't
22363     # use $as_me), people would be surprised to read:
22364     #    /* config.h.  Generated by config.status.  */
22365     configure_input="Generated from "`IFS=:
22366           echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22367     if test x"$ac_file" != x-; then
22368       configure_input="$ac_file.  $configure_input"
22369       { echo "$as_me:$LINENO: creating $ac_file" >&5
22370 echo "$as_me: creating $ac_file" >&6;}
22371     fi
22372
22373     case $ac_tag in
22374     *:-:* | *:-) cat >"$tmp/stdin";;
22375     esac
22376     ;;
22377   esac
22378
22379   ac_dir=`$as_dirname -- "$ac_file" ||
22380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22381          X"$ac_file" : 'X\(//\)[^/]' \| \
22382          X"$ac_file" : 'X\(//\)$' \| \
22383          X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22384 echo X"$ac_file" |
22385     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22386             s//\1/
22387             q
22388           }
22389           /^X\(\/\/\)[^/].*/{
22390             s//\1/
22391             q
22392           }
22393           /^X\(\/\/\)$/{
22394             s//\1/
22395             q
22396           }
22397           /^X\(\/\).*/{
22398             s//\1/
22399             q
22400           }
22401           s/.*/./; q'`
22402   { as_dir="$ac_dir"
22403   case $as_dir in #(
22404   -*) as_dir=./$as_dir;;
22405   esac
22406   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22407     as_dirs=
22408     while :; do
22409       case $as_dir in #(
22410       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22411       *) as_qdir=$as_dir;;
22412       esac
22413       as_dirs="'$as_qdir' $as_dirs"
22414       as_dir=`$as_dirname -- "$as_dir" ||
22415 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22416          X"$as_dir" : 'X\(//\)[^/]' \| \
22417          X"$as_dir" : 'X\(//\)$' \| \
22418          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22419 echo X"$as_dir" |
22420     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22421             s//\1/
22422             q
22423           }
22424           /^X\(\/\/\)[^/].*/{
22425             s//\1/
22426             q
22427           }
22428           /^X\(\/\/\)$/{
22429             s//\1/
22430             q
22431           }
22432           /^X\(\/\).*/{
22433             s//\1/
22434             q
22435           }
22436           s/.*/./; q'`
22437       test -d "$as_dir" && break
22438     done
22439     test -z "$as_dirs" || eval "mkdir $as_dirs"
22440   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22441 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22442    { (exit 1); exit 1; }; }; }
22443   ac_builddir=.
22444
22445 case "$ac_dir" in
22446 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22447 *)
22448   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22449   # A ".." for each directory in $ac_dir_suffix.
22450   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22451   case $ac_top_builddir_sub in
22452   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22453   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22454   esac ;;
22455 esac
22456 ac_abs_top_builddir=$ac_pwd
22457 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22458 # for backward compatibility:
22459 ac_top_builddir=$ac_top_build_prefix
22460
22461 case $srcdir in
22462   .)  # We are building in place.
22463     ac_srcdir=.
22464     ac_top_srcdir=$ac_top_builddir_sub
22465     ac_abs_top_srcdir=$ac_pwd ;;
22466   [\\/]* | ?:[\\/]* )  # Absolute name.
22467     ac_srcdir=$srcdir$ac_dir_suffix;
22468     ac_top_srcdir=$srcdir
22469     ac_abs_top_srcdir=$srcdir ;;
22470   *) # Relative name.
22471     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22472     ac_top_srcdir=$ac_top_build_prefix$srcdir
22473     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22474 esac
22475 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22476
22477
22478   case $ac_mode in
22479   :F)
22480   #
22481   # CONFIG_FILE
22482   #
22483
22484   case $INSTALL in
22485   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22486   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22487   esac
22488 _ACEOF
22489
22490 cat >>$CONFIG_STATUS <<\_ACEOF
22491 # If the template does not know about datarootdir, expand it.
22492 # FIXME: This hack should be removed a few years after 2.60.
22493 ac_datarootdir_hack=; ac_datarootdir_seen=
22494
22495 case `sed -n '/datarootdir/ {
22496   p
22497   q
22498 }
22499 /@datadir@/p
22500 /@docdir@/p
22501 /@infodir@/p
22502 /@localedir@/p
22503 /@mandir@/p
22504 ' $ac_file_inputs` in
22505 *datarootdir*) ac_datarootdir_seen=yes;;
22506 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22507   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22508 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22509 _ACEOF
22510 cat >>$CONFIG_STATUS <<_ACEOF
22511   ac_datarootdir_hack='
22512   s&@datadir@&$datadir&g
22513   s&@docdir@&$docdir&g
22514   s&@infodir@&$infodir&g
22515   s&@localedir@&$localedir&g
22516   s&@mandir@&$mandir&g
22517     s&\\\${datarootdir}&$datarootdir&g' ;;
22518 esac
22519 _ACEOF
22520
22521 # Neutralize VPATH when `$srcdir' = `.'.
22522 # Shell code in configure.ac might set extrasub.
22523 # FIXME: do we really want to maintain this feature?
22524 cat >>$CONFIG_STATUS <<_ACEOF
22525   sed "$ac_vpsub
22526 $extrasub
22527 _ACEOF
22528 cat >>$CONFIG_STATUS <<\_ACEOF
22529 :t
22530 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22531 s&@configure_input@&$configure_input&;t t
22532 s&@top_builddir@&$ac_top_builddir_sub&;t t
22533 s&@srcdir@&$ac_srcdir&;t t
22534 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22535 s&@top_srcdir@&$ac_top_srcdir&;t t
22536 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22537 s&@builddir@&$ac_builddir&;t t
22538 s&@abs_builddir@&$ac_abs_builddir&;t t
22539 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22540 s&@INSTALL@&$ac_INSTALL&;t t
22541 $ac_datarootdir_hack
22542 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22543
22544 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22545   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22546   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22547   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22548 which seems to be undefined.  Please make sure it is defined." >&5
22549 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22550 which seems to be undefined.  Please make sure it is defined." >&2;}
22551
22552   rm -f "$tmp/stdin"
22553   case $ac_file in
22554   -) cat "$tmp/out"; rm -f "$tmp/out";;
22555   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22556   esac
22557  ;;
22558   :H)
22559   #
22560   # CONFIG_HEADER
22561   #
22562 _ACEOF
22563
22564 # Transform confdefs.h into a sed script `conftest.defines', that
22565 # substitutes the proper values into config.h.in to produce config.h.
22566 rm -f conftest.defines conftest.tail
22567 # First, append a space to every undef/define line, to ease matching.
22568 echo 's/$/ /' >conftest.defines
22569 # Then, protect against being on the right side of a sed subst, or in
22570 # an unquoted here document, in config.status.  If some macros were
22571 # called several times there might be several #defines for the same
22572 # symbol, which is useless.  But do not sort them, since the last
22573 # AC_DEFINE must be honored.
22574 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22575 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22576 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22577 # PARAMS is the parameter list in the macro definition--in most cases, it's
22578 # just an empty string.
22579 ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
22580 ac_dB='\\)[      (].*,\\1define\\2'
22581 ac_dC=' '
22582 ac_dD=' ,'
22583
22584 uniq confdefs.h |
22585   sed -n '
22586         t rset
22587         :rset
22588         s/^[     ]*#[    ]*define[       ][      ]*//
22589         t ok
22590         d
22591         :ok
22592         s/[\\&,]/\\&/g
22593         s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22594         s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22595   ' >>conftest.defines
22596
22597 # Remove the space that was appended to ease matching.
22598 # Then replace #undef with comments.  This is necessary, for
22599 # example, in the case of _POSIX_SOURCE, which is predefined and required
22600 # on some systems where configure will not decide to define it.
22601 # (The regexp can be short, since the line contains either #define or #undef.)
22602 echo 's/ $//
22603 s,^[     #]*u.*,/* & */,' >>conftest.defines
22604
22605 # Break up conftest.defines:
22606 ac_max_sed_lines=50
22607
22608 # First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22609 # Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22610 # Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22611 # et cetera.
22612 ac_in='$ac_file_inputs'
22613 ac_out='"$tmp/out1"'
22614 ac_nxt='"$tmp/out2"'
22615
22616 while :
22617 do
22618   # Write a here document:
22619     cat >>$CONFIG_STATUS <<_ACEOF
22620     # First, check the format of the line:
22621     cat >"\$tmp/defines.sed" <<\\CEOF
22622 /^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
22623 /^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
22624 b
22625 :def
22626 _ACEOF
22627   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22628   echo 'CEOF
22629     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22630   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22631   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22632   grep . conftest.tail >/dev/null || break
22633   rm -f conftest.defines
22634   mv conftest.tail conftest.defines
22635 done
22636 rm -f conftest.defines conftest.tail
22637
22638 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22639 cat >>$CONFIG_STATUS <<\_ACEOF
22640   if test x"$ac_file" != x-; then
22641     echo "/* $configure_input  */" >"$tmp/config.h"
22642     cat "$ac_result" >>"$tmp/config.h"
22643     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22644       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22645 echo "$as_me: $ac_file is unchanged" >&6;}
22646     else
22647       rm -f $ac_file
22648       mv "$tmp/config.h" $ac_file
22649     fi
22650   else
22651     echo "/* $configure_input  */"
22652     cat "$ac_result"
22653   fi
22654   rm -f "$tmp/out12"
22655  ;;
22656
22657   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22658 echo "$as_me: executing $ac_file commands" >&6;}
22659  ;;
22660   esac
22661
22662
22663   case $ac_file$ac_mode in
22664     "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22665     "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22666 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22667     "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22668 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22669     "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22670 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22671     "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22672 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22673     "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22674 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22675     "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22676 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22677
22678   esac
22679 done # for ac_tag
22680
22681
22682 { (exit 0); exit 0; }
22683 _ACEOF
22684 chmod +x $CONFIG_STATUS
22685 ac_clean_files=$ac_clean_files_save
22686
22687
22688 # configure is writing to config.log, and then calls config.status.
22689 # config.status does its own redirection, appending to config.log.
22690 # Unfortunately, on DOS this fails, as config.log is still kept open
22691 # by configure, so config.status won't be able to write to it; its
22692 # output is simply discarded.  So we exec the FD to /dev/null,
22693 # effectively closing config.log, so it can be properly (re)opened and
22694 # appended to by config.status.  When coming back to configure, we
22695 # need to make the FD available again.
22696 if test "$no_create" != yes; then
22697   ac_cs_success=:
22698   ac_config_status_args=
22699   test "$silent" = yes &&
22700     ac_config_status_args="$ac_config_status_args --quiet"
22701   exec 5>/dev/null
22702   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22703   exec 5>>config.log
22704   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22705   # would make configure fail if this is the last instruction.
22706   $ac_cs_success || { (exit 1); exit 1; }
22707 fi
22708
22709
22710
22711 if test "$no_create" = "yes"
22712 then
22713   exit 0
22714 fi
22715
22716 if test "$verbose" = "yes"
22717 then
22718     if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22719   then
22720     echo >&2
22721     { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22722 echo "$as_me: libcapi20 development files not found." >&6;}
22723     { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22724 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22725   fi
22726
22727     if test "$ac_cv_header_cups_cups_h" != "yes"
22728   then
22729     echo >&2
22730     { echo "$as_me:$LINENO: libcups development files not found." >&5
22731 echo "$as_me: libcups development files not found." >&6;}
22732     { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22733 echo "$as_me: Wine will be built without CUPS support." >&6;}
22734   fi
22735
22736
22737     if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22738   then
22739     echo >&2
22740     { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22741 echo "$as_me: libgphoto2 development files not found." >&6;}
22742     if test "$ac_cv_header_sane_sane_h" = "yes"
22743     then
22744       { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22745 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22746     else
22747       { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22748 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22749     fi
22750   fi
22751
22752       if test "$ac_cv_header_hal_libhal_h" != "yes"
22753   then
22754     echo >&2
22755     { echo "$as_me:$LINENO: libhal development files not found." >&5
22756 echo "$as_me: libhal development files not found." >&6;}
22757     { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22758 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22759   fi
22760
22761     if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22762   then
22763     echo >&2
22764     { echo "$as_me:$LINENO: libicu development files not found." >&5
22765 echo "$as_me: libicu development files not found." >&6;}
22766     { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22767 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22768   fi
22769
22770     if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22771   then
22772     echo >&2
22773     { echo "$as_me:$LINENO: liblcms development files not found." >&5
22774 echo "$as_me: liblcms development files not found." >&6;}
22775     { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22776 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22777   fi
22778
22779     if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22780   then
22781     echo >&2
22782     { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22783 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22784     { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22785 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22786   fi
22787
22788     if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22789   then
22790     echo >&2
22791     { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22792 echo "$as_me: lib(n)curses development files not found." >&6;}
22793     { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22794 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22795   fi
22796
22797     if test "$ac_cv_header_sane_sane_h" != "yes"
22798   then
22799     echo >&2
22800     { echo "$as_me:$LINENO: libsane development files not found." >&5
22801 echo "$as_me: libsane development files not found." >&6;}
22802     { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22803 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22804   fi
22805
22806       if test "$have_x" = "yes"
22807   then
22808         if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22809     then
22810       echo >&2
22811       { echo "$as_me:$LINENO: libxext development files not found." >&5
22812 echo "$as_me: libxext development files not found." >&6;}
22813       { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22814 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22815     fi
22816
22817         if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22818     then
22819       echo >&2
22820       { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22821 echo "$as_me: libXrandr development files not found." >&6;}
22822       { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22823 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22824     fi
22825
22826         if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22827     then
22828       echo >&2
22829       { echo "$as_me:$LINENO: libXrender development files not found." >&5
22830 echo "$as_me: libXrender development files not found." >&6;}
22831       { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22832 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22833     fi
22834
22835         if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22836     then
22837       echo >&2
22838       { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22839 echo "$as_me: libXxf86vm development files not found." >&6;}
22840       { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22841 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22842     fi
22843   fi
22844
22845     if test "$ac_cv_header_libxml_parser_h" != "yes"
22846   then
22847     echo >&2
22848     { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22849 echo "$as_me: libxml2 development files not found." >&6;}
22850     { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22851 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22852   fi
22853
22854     if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22855   then
22856     echo >&2
22857     { echo "$as_me:$LINENO: libxslt development files not found." >&5
22858 echo "$as_me: libxslt development files not found." >&6;}
22859     { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22860 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22861   fi
22862 fi
22863
22864
22865 if test "$have_x" = "no"
22866 then
22867   echo >&2
22868   { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22869 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22870   { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22871 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22872   { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22873 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22874   { echo "$as_me:$LINENO: WARNING:  packages of Xlib/Xfree86 at the very least." >&5
22875 echo "$as_me: WARNING:  packages of Xlib/Xfree86 at the very least." >&2;}
22876 fi
22877
22878 if test -z "$OPENGLFILES"
22879 then
22880   echo >&2
22881   { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22882 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22883   { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22884 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22885   if test "$wine_cv_opengl_headers_found" = "no"
22886   then
22887     { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22888 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22889   fi
22890   if test "$wine_cv_opengl_header_version_OK" = "no"
22891   then
22892     { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22893 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22894   elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22895   then
22896      if test -f /usr/X11R6/lib/libGL.a
22897      then
22898         { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22899 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22900 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22901 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22902      else
22903         { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22904 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22905      fi
22906   fi
22907 fi
22908
22909 if test "$wine_cv_msg_freetype" = "yes"
22910 then
22911   echo >&2
22912   { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22913 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22914   { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22915 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22916   { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22917 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22918   { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22919 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22920 fi
22921
22922 if test -z "$FONTSSUBDIRS"
22923 then
22924   echo >&2
22925   if test "$FONTFORGE" = "false"
22926   then
22927     { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22928 echo "$as_me: WARNING: FontForge is missing." >&2;}
22929   else
22930     { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22931 echo "$as_me: WARNING: FreeType is missing." >&2;}
22932   fi
22933   { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22934 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22935 fi
22936
22937 if test -z "$ALSALIBS" -a \
22938         -z "$AUDIOIOLIBS" -a \
22939         -z "$NASLIBS" -a \
22940         -z "$ESD_LIBS" -a \
22941         -z "$ac_cv_lib_soname_jack" -a \
22942         "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22943         "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22944         "$ac_cv_header_soundcard_h" != "yes"
22945 then
22946   echo >&2
22947   { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22948 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22949   { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22950 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22951   { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22952 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22953 fi
22954
22955 echo
22956 echo "Configure finished.  Do '${ac_make} depend && ${ac_make}' to compile Wine."
22957 echo
22958