aclocal: Add macros for logging messages about missing features.
[wine/dibdrv.git] / configure
blobc409e20574f17fefe02e2ee877869703abbe9af8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.40.
5 # Report bugs to <wine-devel@winehq.org>.
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 ## --------------------- ##
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
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
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=:
52 rm -f conf$$.sh
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
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='
70 IFS=" "" $as_nl"
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
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
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
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; }
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='+ '
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
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
115 done
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
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
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/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
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
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
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
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
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
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
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
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
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
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; }
335 _ASEOF
336 }; then
337 break
342 done
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+"$@"}
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; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
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
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" || {
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 '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
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; }; }
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
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
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;;
482 ECHO_N='-n';;
483 esac
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
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
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'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
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
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=
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
544 as_executable_p=$as_test_x
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'"
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'"
554 exec 7<&0 </dev/null 6>&1
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`
562 # Initializations.
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}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.40'
578 PACKAGE_STRING='Wine 0.9.40'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
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"
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
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
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 DLLEXT
714 DLLFLAGS
715 LDSHARED
716 LDDLLFLAGS
717 LIBEXT
718 IMPLIBEXT
719 LDRPATH_INSTALL
720 LDRPATH_LOCAL
722 DLLTOOL
723 DLLWRAP
724 MINGWAR
725 COREFOUNDATIONLIB
726 IOKITLIB
727 LDEXECFLAGS
728 DISKARBITRATIONLIB
729 COREAUDIO
730 CARBONLIB
731 CROSSTEST
732 CROSSCC
733 CROSSWINDRES
734 NASLIBS
735 XML2LIBS
736 XML2INCL
737 XSLTLIBS
738 XSLTINCL
739 HALINCL
740 sane_devel
741 SANEINCL
742 gphoto2_devel
743 gphoto2port_devel
744 GPHOTO2LIBS
745 GPHOTO2INCL
746 ICULIBS
747 RESOLVLIBS
748 LCMSLIBS
749 LDAPLIBS
750 ft_devel
751 FREETYPELIBS
752 FREETYPEINCL
753 FONTSSUBDIRS
754 ESDCONFIG
755 ESDLIBS
756 ESDINCL
757 ALSALIBS
758 AUDIOIOLIBS
759 EXTRACFLAGS
760 BUILTINFLAG
761 LDPATH
762 CRTLIBS
763 SOCKETLIBS
764 MAIN_BINARY
765 EXTRA_BINARIES
766 LIBDL
767 LIBPOLL
768 DEPENDENCIES
769 LIBOBJS
770 LTLIBOBJS'
771 ac_subst_files='MAKE_RULES
772 MAKE_DLL_RULES
773 MAKE_IMPLIB_RULES
774 MAKE_TEST_RULES
775 MAKE_PROG_RULES'
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
785 CXXFLAGS
787 XMKMF
788 CPP'
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
910 -enable-* | --enable-*)
911 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_$ac_feature=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
930 with_gas=yes ;;
932 -help | --help | --hel | --he | -h)
933 ac_init_help=long ;;
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 ac_prev=htmldir ;;
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 | --ht=*)
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 ac_prev=infodir ;;
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
963 ac_prev=libdir ;;
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
965 libdir=$ac_optarg ;;
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
975 ac_prev=localedir ;;
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 ac_prev=mandir ;;
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 mandir=$ac_optarg ;;
991 -nfp | --nfp | --nf)
992 # Obsolete; use --without-fp.
993 with_fp=no ;;
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
997 no_create=yes ;;
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 no_recursion=yes ;;
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 ac_prev=prefix ;;
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 ac_prev=pdfdir ;;
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1054 ac_prev=psdir ;;
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 psdir=$ac_optarg ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 silent=yes ;;
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 ac_prev=sbindir ;;
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 | --sbi=* | --sb=*)
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1071 | --sha | --sh)
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 | --sha=* | --sh=*)
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1080 ac_prev=site ;;
1081 -site=* | --site=* | --sit=*)
1082 site=$ac_optarg ;;
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 ac_prev=srcdir ;;
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 verbose=yes ;;
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1107 -with-* | --with-*)
1108 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_$ac_package=no ;;
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1148 *=*)
1149 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 esac
1166 done
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1181 case $ac_val in
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 esac
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1187 done
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1203 cross_compiling=yes
1207 ac_tool_prefix=
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1232 echo X"$0" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 s//\1/
1237 /^X\(\/\/\)[^/].*/{
1238 s//\1/
1241 /^X\(\/\/\)$/{
1242 s//\1/
1245 /^X\(\/\).*/{
1246 s//\1/
1249 s/.*/./; q'`
1250 srcdir=$ac_confdir
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 srcdir=..
1254 else
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 ac_abs_confdir=`(
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1266 pwd)`
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 srcdir=.
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1274 case $srcdir in
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 esac
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1282 done
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1290 cat <<_ACEOF
1291 \`configure' configures Wine 0.9.40 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1300 Configuration:
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 [PREFIX]
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1344 _ACEOF
1346 cat <<\_ACEOF
1348 X features:
1349 --x-includes=DIR X include files are in DIR
1350 --x-libraries=DIR X library files are in DIR
1352 System types:
1353 --build=BUILD configure for building on BUILD [guessed]
1354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1355 _ACEOF
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Wine 0.9.40:";;
1361 esac
1362 cat <<\_ACEOF
1364 Optional Features:
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1369 binaries)
1371 Optional Packages:
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1389 CPP C preprocessor
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <wine-devel@winehq.org>.
1395 _ACEOF
1396 ac_status=$?
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" || continue
1403 ac_builddir=.
1405 case "$ac_dir" in
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 esac ;;
1415 esac
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1421 case $srcdir in
1422 .) # We are building in place.
1423 ac_srcdir=.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1430 *) # Relative name.
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 esac
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1445 else
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 fi || ac_status=$?
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1449 done
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1454 cat <<\_ACEOF
1455 Wine configure 0.9.40
1456 generated by GNU Autoconf 2.61
1458 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1462 _ACEOF
1463 exit
1465 cat >config.log <<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.40, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1472 $ $0 $@
1474 _ACEOF
1475 exec 5>>config.log
1477 cat <<_ASUNAME
1478 ## --------- ##
1479 ## Platform. ##
1480 ## --------- ##
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1499 _ASUNAME
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 for as_dir in $PATH
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 echo "PATH: $as_dir"
1507 done
1508 IFS=$as_save_IFS
1510 } >&5
1512 cat >&5 <<_ACEOF
1515 ## ----------- ##
1516 ## Core tests. ##
1517 ## ----------- ##
1519 _ACEOF
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1527 ac_configure_args=
1528 ac_configure_args0=
1529 ac_configure_args1=
1530 ac_must_keep_next=false
1531 for ac_pass in 1 2
1533 for ac_arg
1535 case $ac_arg in
1536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1538 | -silent | --silent | --silen | --sile | --sil)
1539 continue ;;
1540 *\'*)
1541 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1542 esac
1543 case $ac_pass in
1544 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true; then
1548 ac_must_keep_next=false # Got value, back to normal.
1549 else
1550 case $ac_arg in
1551 *=* | --config-cache | -C | -disable-* | --disable-* \
1552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1554 | -with-* | --with-* | -without-* | --without-* | --x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1557 esac
1559 -* ) ac_must_keep_next=true ;;
1560 esac
1562 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 esac
1565 done
1566 done
1567 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1568 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1578 echo
1580 cat <<\_ASBOX
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1584 _ASBOX
1585 echo
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1590 case $ac_val in #(
1591 *${as_nl}*)
1592 case $ac_var in #(
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1595 esac
1596 case $ac_var in #(
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1599 esac ;;
1600 esac
1601 done
1602 (set) 2>&1 |
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1605 sed -n \
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1608 ;; #(
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 esac |
1613 sort
1615 echo
1617 cat <<\_ASBOX
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1621 _ASBOX
1622 echo
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1633 if test -n "$ac_subst_files"; then
1634 cat <<\_ASBOX
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1638 _ASBOX
1639 echo
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 echo "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1651 if test -s confdefs.h; then
1652 cat <<\_ASBOX
1653 ## ----------- ##
1654 ## confdefs.h. ##
1655 ## ----------- ##
1656 _ASBOX
1657 echo
1658 cat confdefs.h
1659 echo
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1664 } >&5
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1667 exit $exit_status
1669 for ac_signal in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 done
1672 ac_signal=0
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 _ACEOF
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 _ACEOF
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 _ACEOF
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x "$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE; then
1709 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1710 else
1711 set x "$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1714 shift
1715 for ac_site_file
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1721 . "$ac_site_file"
1723 done
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1731 case $cache_file in
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1734 esac
1736 else
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1739 >$cache_file
1742 # Check that the precious variables saved in the cache have kept the same
1743 # value.
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1751 set,)
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,set)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,);;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted=:
1769 fi;;
1770 esac
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1773 case $ac_new_val in
1774 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1776 esac
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1780 esac
1782 done
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_config_headers="$ac_config_headers include/config.h"
1825 ac_aux_dir=
1826 for ac_dir in tools "$srcdir"/tools; do
1827 if test -f "$ac_dir/install-sh"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 break
1831 elif test -f "$ac_dir/install.sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 break
1835 elif test -f "$ac_dir/shtool"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/shtool install -c"
1838 break
1840 done
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 ac_build_alias=$build_alias
1894 test "x$ac_build_alias" = x &&
1895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x &&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1909 *-*-*) ;;
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1913 esac
1914 build=$ac_cv_build
1915 ac_save_IFS=$IFS; IFS='-'
1916 set x $ac_cv_build
1917 shift
1918 build_cpu=$1
1919 build_vendor=$2
1920 shift; shift
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1923 build_os=$*
1924 IFS=$ac_save_IFS
1925 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1935 else
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1945 case $ac_cv_host in
1946 *-*-*) ;;
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1950 esac
1951 host=$ac_cv_host
1952 ac_save_IFS=$IFS; IFS='-'
1953 set x $ac_cv_host
1954 shift
1955 host_cpu=$1
1956 host_vendor=$2
1957 shift; shift
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1960 host_os=$*
1961 IFS=$ac_save_IFS
1962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1965 case $host in
1966 x86_64*linux*)
1967 if test "x$enable_win64" != "xyes"
1968 then
1969 test -n "$CC" || CC="gcc -m32"
1970 test -n "$LD" || LD="ld -m elf_i386"
1971 test -n "$AS" || AS="as --32"
1972 host_cpu="i386"
1975 esac
1977 case $host_cpu in
1978 *i[3456789]86*)
1979 if test "x$enable_win16" != "xno"
1980 then
1981 enable_win16="yes"
1984 esac
1986 WIN16_FILES="\$(WIN16_FILES)"
1988 WIN16_INSTALL="\$(WIN16_INSTALL)"
1990 if test "x$enable_win16" != "xyes"
1991 then
1992 WIN16_FILES=""
1993 WIN16_INSTALL=""
1996 case "$srcdir" in
1997 .) ;;
1998 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
1999 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2000 You need to run 'make distclean' in the source tree first." >&5
2001 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&2;}
2003 { (exit 1); exit 1; }; }
2004 fi ;;
2005 esac
2008 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 cat >conftest.make <<\_ACEOF
2015 SHELL = /bin/sh
2016 all:
2017 @echo '@@@%%%=$(MAKE)=@@@%%%'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2021 *@@@%%%=?*=@@@%%%*)
2022 eval ac_cv_prog_make_${ac_make}_set=yes;;
2024 eval ac_cv_prog_make_${ac_make}_set=no;;
2025 esac
2026 rm -f conftest.make
2028 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2029 { echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6; }
2031 SET_MAKE=
2032 else
2033 { echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6; }
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 ac_ext=c
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2067 IFS=$as_save_IFS
2071 CC=$ac_cv_prog_CC
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2075 else
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2083 ac_ct_CC=$CC
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 break 2
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2115 else
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2121 CC=""
2122 else
2123 case $cross_compiling:$ac_tool_warned in
2124 yes:)
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2131 ac_tool_warned=yes ;;
2132 esac
2133 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2164 IFS=$as_save_IFS
2168 CC=$ac_cv_prog_CC
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2172 else
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 else
2191 ac_prog_rejected=no
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 for as_dir in $PATH
2195 IFS=$as_save_IFS
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected=yes
2201 continue
2203 ac_cv_prog_CC="cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2214 shift
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2219 shift
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2225 CC=$ac_cv_prog_CC
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2229 else
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2263 IFS=$as_save_IFS
2267 CC=$ac_cv_prog_CC
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2271 else
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2278 done
2280 if test -z "$CC"; then
2281 ac_ct_CC=$CC
2282 for ac_prog in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2293 else
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 for as_dir in $PATH
2297 IFS=$as_save_IFS
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 break 2
2305 done
2306 done
2307 IFS=$as_save_IFS
2311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2315 else
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2322 done
2324 if test "x$ac_ct_CC" = x; then
2325 CC=""
2326 else
2327 case $cross_compiling:$ac_tool_warned in
2328 yes:)
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2335 ac_tool_warned=yes ;;
2336 esac
2337 CC=$ac_ct_CC
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking for C compiler version" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (ac_try="$ac_compiler --version >&5"
2354 case "(($ac_try" in
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2357 esac
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try="$ac_compiler -V >&5"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler -V >&5") 2>&5
2380 ac_status=$?
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2385 /* confdefs.h. */
2386 _ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2392 main ()
2396 return 0;
2398 _ACEOF
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2403 # of exeext.
2404 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2416 ac_rmfiles=
2417 for ac_file in $ac_files
2419 case $ac_file in
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2422 esac
2423 done
2424 rm -f $ac_rmfiles
2426 if { (ac_try="$ac_link_default"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2440 # Autoconf.
2441 for ac_file in $ac_files ''
2443 test -f "$ac_file" || continue
2444 case $ac_file in
2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2447 [ab].out )
2448 # We found the default executable, but exeext='' is most
2449 # certainly right.
2450 break;;
2451 *.* )
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2453 then :; else
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2460 # actually working.
2461 break;;
2463 break;;
2464 esac
2465 done
2466 test "$ac_cv_exeext" = no && ac_cv_exeext=
2468 else
2469 ac_file=''
2472 { echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try='./$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2504 cross_compiling=no
2505 else
2506 if test "$cross_compiling" = maybe; then
2507 cross_compiling=yes
2508 else
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2534 case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2537 esac
2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 # `rm'.
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 break;;
2553 * ) break;;
2554 esac
2555 done
2556 else
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.$ac_ext
2569 EXEEXT=$ac_cv_exeext
2570 ac_exeext=$EXEEXT
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576 cat >conftest.$ac_ext <<_ACEOF
2577 /* confdefs.h. */
2578 _ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2584 main ()
2588 return 0;
2590 _ACEOF
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try="$ac_compile"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2604 case $ac_file in
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2607 break;;
2608 esac
2609 done
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2626 ac_objext=$OBJEXT
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2642 #ifndef __GNUC__
2643 choke me
2644 #endif
2647 return 0;
2649 _ACEOF
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2652 case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then
2667 ac_compiler_gnu=yes
2668 else
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_compiler_gnu=no
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 ac_save_c_werror_flag=$ac_c_werror_flag
2690 ac_c_werror_flag=yes
2691 ac_cv_prog_cc_g=no
2692 CFLAGS="-g"
2693 cat >conftest.$ac_ext <<_ACEOF
2694 /* confdefs.h. */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2701 main ()
2705 return 0;
2707 _ACEOF
2708 rm -f conftest.$ac_objext
2709 if { (ac_try="$ac_compile"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2716 ac_status=$?
2717 grep -v '^ *+' conftest.er1 >conftest.err
2718 rm -f conftest.er1
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2725 ac_cv_prog_cc_g=yes
2726 else
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2730 CFLAGS=""
2731 cat >conftest.$ac_ext <<_ACEOF
2732 /* confdefs.h. */
2733 _ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2739 main ()
2743 return 0;
2745 _ACEOF
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2754 ac_status=$?
2755 grep -v '^ *+' conftest.er1 >conftest.err
2756 rm -f conftest.er1
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2764 else
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_c_werror_flag=$ac_save_c_werror_flag
2769 CFLAGS="-g"
2770 cat >conftest.$ac_ext <<_ACEOF
2771 /* confdefs.h. */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 main ()
2782 return 0;
2784 _ACEOF
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2793 ac_status=$?
2794 grep -v '^ *+' conftest.er1 >conftest.err
2795 rm -f conftest.er1
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2802 ac_cv_prog_cc_g=yes
2803 else
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2825 CFLAGS="-g -O2"
2826 else
2827 CFLAGS="-g"
2829 else
2830 if test "$GCC" = yes; then
2831 CFLAGS="-O2"
2832 else
2833 CFLAGS=
2836 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2837 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 ac_cv_prog_cc_c89=no
2842 ac_save_CC=$CC
2843 cat >conftest.$ac_ext <<_ACEOF
2844 /* confdefs.h. */
2845 _ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2849 #include <stdarg.h>
2850 #include <stdio.h>
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2857 char **p;
2858 int i;
2860 return p[i];
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2864 char *s;
2865 va_list v;
2866 va_start (v,p);
2867 s = g (p, va_arg (v,int));
2868 va_end (v);
2869 return s;
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2883 #define FOO(x) 'x'
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890 int argc;
2891 char **argv;
2893 main ()
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2897 return 0;
2899 _ACEOF
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2921 ac_cv_prog_cc_c89=$ac_arg
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext
2930 test "x$ac_cv_prog_cc_c89" != "xno" && break
2931 done
2932 rm -f conftest.$ac_ext
2933 CC=$ac_save_CC
2936 # AC_CACHE_VAL
2937 case "x$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6; } ;;
2941 xno)
2942 { echo "$as_me:$LINENO: result: unsupported" >&5
2943 echo "${ECHO_T}unsupported" >&6; } ;;
2945 CC="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2948 esac
2951 ac_ext=c
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957 ac_ext=cpp
2958 ac_cpp='$CXXCPP $CPPFLAGS'
2959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 if test -z "$CXX"; then
2963 if test -n "$CCC"; then
2964 CXX=$CCC
2965 else
2966 if test -n "$ac_tool_prefix"; then
2967 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_CXX+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 else
2976 if test -n "$CXX"; then
2977 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 CXX=$ac_cv_prog_CXX
2997 if test -n "$CXX"; then
2998 { echo "$as_me:$LINENO: result: $CXX" >&5
2999 echo "${ECHO_T}$CXX" >&6; }
3000 else
3001 { echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6; }
3006 test -n "$CXX" && break
3007 done
3009 if test -z "$CXX"; then
3010 ac_ct_CXX=$CXX
3011 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy $ac_prog; ac_word=$2
3015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020 if test -n "$ac_ct_CXX"; then
3021 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3022 else
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3026 IFS=$as_save_IFS
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_ac_ct_CXX="$ac_prog"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 break 2
3034 done
3035 done
3036 IFS=$as_save_IFS
3040 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3041 if test -n "$ac_ct_CXX"; then
3042 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3043 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3044 else
3045 { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3050 test -n "$ac_ct_CXX" && break
3051 done
3053 if test "x$ac_ct_CXX" = x; then
3054 CXX="g++"
3055 else
3056 case $cross_compiling:$ac_tool_warned in
3057 yes:)
3058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3059 whose name does not start with the host triplet. If you think this
3060 configuration is useful to you, please write to autoconf@gnu.org." >&5
3061 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3064 ac_tool_warned=yes ;;
3065 esac
3066 CXX=$ac_ct_CXX
3072 # Provide some information about the compiler.
3073 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3074 ac_compiler=`set X $ac_compile; echo $2`
3075 { (ac_try="$ac_compiler --version >&5"
3076 case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079 esac
3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compiler --version >&5") 2>&5
3082 ac_status=$?
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }
3085 { (ac_try="$ac_compiler -v >&5"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_compiler -v >&5") 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }
3095 { (ac_try="$ac_compiler -V >&5"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compiler -V >&5") 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3106 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3121 #ifndef __GNUC__
3122 choke me
3123 #endif
3126 return 0;
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3131 case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_cxx_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_compiler_gnu=yes
3147 else
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_compiler_gnu=no
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3159 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3160 GXX=`test $ac_compiler_gnu = yes && echo yes`
3161 ac_test_CXXFLAGS=${CXXFLAGS+set}
3162 ac_save_CXXFLAGS=$CXXFLAGS
3163 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3164 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3165 if test "${ac_cv_prog_cxx_g+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 else
3168 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3169 ac_cxx_werror_flag=yes
3170 ac_cv_prog_cxx_g=no
3171 CXXFLAGS="-g"
3172 cat >conftest.$ac_ext <<_ACEOF
3173 /* confdefs.h. */
3174 _ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 rm -f conftest.$ac_objext
3188 if { (ac_try="$ac_compile"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3195 ac_status=$?
3196 grep -v '^ *+' conftest.er1 >conftest.err
3197 rm -f conftest.er1
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_cxx_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_prog_cxx_g=yes
3205 else
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 CXXFLAGS=""
3210 cat >conftest.$ac_ext <<_ACEOF
3211 /* confdefs.h. */
3212 _ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3218 main ()
3222 return 0;
3224 _ACEOF
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3227 case "(($ac_try" in
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3230 esac
3231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3232 (eval "$ac_compile") 2>conftest.er1
3233 ac_status=$?
3234 grep -v '^ *+' conftest.er1 >conftest.err
3235 rm -f conftest.er1
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && {
3239 test -z "$ac_cxx_werror_flag" ||
3240 test ! -s conftest.err
3241 } && test -s conftest.$ac_objext; then
3243 else
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3248 CXXFLAGS="-g"
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h. */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3266 case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3269 esac
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compile") 2>conftest.er1
3272 ac_status=$?
3273 grep -v '^ *+' conftest.er1 >conftest.err
3274 rm -f conftest.er1
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } && {
3278 test -z "$ac_cxx_werror_flag" ||
3279 test ! -s conftest.err
3280 } && test -s conftest.$ac_objext; then
3281 ac_cv_prog_cxx_g=yes
3282 else
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3299 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3300 if test "$ac_test_CXXFLAGS" = set; then
3301 CXXFLAGS=$ac_save_CXXFLAGS
3302 elif test $ac_cv_prog_cxx_g = yes; then
3303 if test "$GXX" = yes; then
3304 CXXFLAGS="-g -O2"
3305 else
3306 CXXFLAGS="-g"
3308 else
3309 if test "$GXX" = yes; then
3310 CXXFLAGS="-O2"
3311 else
3312 CXXFLAGS=
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 if test -n "$ac_tool_prefix"; then
3322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3326 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 else
3329 if test -n "$CPPBIN"; then
3330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3335 IFS=$as_save_IFS
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 break 2
3343 done
3344 done
3345 IFS=$as_save_IFS
3349 CPPBIN=$ac_cv_prog_CPPBIN
3350 if test -n "$CPPBIN"; then
3351 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3352 echo "${ECHO_T}$CPPBIN" >&6; }
3353 else
3354 { echo "$as_me:$LINENO: result: no" >&5
3355 echo "${ECHO_T}no" >&6; }
3360 if test -z "$ac_cv_prog_CPPBIN"; then
3361 ac_ct_CPPBIN=$CPPBIN
3362 # Extract the first word of "cpp", so it can be a program name with args.
3363 set dummy cpp; ac_word=$2
3364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3366 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 else
3369 if test -n "$ac_ct_CPPBIN"; then
3370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_ac_ct_CPPBIN="cpp"
3380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 break 2
3383 done
3384 done
3385 IFS=$as_save_IFS
3389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3390 if test -n "$ac_ct_CPPBIN"; then
3391 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3392 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3393 else
3394 { echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6; }
3398 if test "x$ac_ct_CPPBIN" = x; then
3399 CPPBIN="cpp"
3400 else
3401 case $cross_compiling:$ac_tool_warned in
3402 yes:)
3403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3404 whose name does not start with the host triplet. If you think this
3405 configuration is useful to you, please write to autoconf@gnu.org." >&5
3406 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3409 ac_tool_warned=yes ;;
3410 esac
3411 CPPBIN=$ac_ct_CPPBIN
3413 else
3414 CPPBIN="$ac_cv_prog_CPPBIN"
3418 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3419 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3420 if test "${wine_cv_toolsdir+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 else
3423 if test -z "$with_wine_tools"; then
3424 if test "$cross_compiling" = "yes"; then
3425 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3426 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3427 { (exit 1); exit 1; }; }
3428 else
3429 wine_cv_toolsdir="\$(TOPOBJDIR)"
3431 elif test -d "$with_wine_tools/tools/winebuild"; then
3432 case $with_wine_tools in
3433 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3434 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3435 esac
3436 else
3437 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3438 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3439 { (exit 1); exit 1; }; }
3442 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3443 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3444 TOOLSDIR=$wine_cv_toolsdir
3448 ac_ext=c
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3454 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3455 # On Suns, sometimes $CPP names a directory.
3456 if test -n "$CPP" && test -d "$CPP"; then
3457 CPP=
3459 if test -z "$CPP"; then
3460 if test "${ac_cv_prog_CPP+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463 # Double quotes because CPP needs to be expanded
3464 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3466 ac_preproc_ok=false
3467 for ac_c_preproc_warn_flag in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error" is here to catch this case.
3475 cat >conftest.$ac_ext <<_ACEOF
3476 /* confdefs.h. */
3477 _ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #ifdef __STDC__
3482 # include <limits.h>
3483 #else
3484 # include <assert.h>
3485 #endif
3486 Syntax error
3487 _ACEOF
3488 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3492 esac
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 ac_status=$?
3496 grep -v '^ *+' conftest.er1 >conftest.err
3497 rm -f conftest.er1
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null && {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3503 }; then
3505 else
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Broken: fails on valid input.
3510 continue
3513 rm -f conftest.err conftest.$ac_ext
3515 # OK, works on sane cases. Now check whether nonexistent headers
3516 # can be detected and how.
3517 cat >conftest.$ac_ext <<_ACEOF
3518 /* confdefs.h. */
3519 _ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3524 _ACEOF
3525 if { (ac_try="$ac_cpp conftest.$ac_ext"
3526 case "(($ac_try" in
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3529 esac
3530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3532 ac_status=$?
3533 grep -v '^ *+' conftest.er1 >conftest.err
3534 rm -f conftest.er1
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } >/dev/null && {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3540 }; then
3541 # Broken: success on invalid input.
3542 continue
3543 else
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 # Passes both tests.
3548 ac_preproc_ok=:
3549 break
3552 rm -f conftest.err conftest.$ac_ext
3554 done
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.err conftest.$ac_ext
3557 if $ac_preproc_ok; then
3558 break
3561 done
3562 ac_cv_prog_CPP=$CPP
3565 CPP=$ac_cv_prog_CPP
3566 else
3567 ac_cv_prog_CPP=$CPP
3569 { echo "$as_me:$LINENO: result: $CPP" >&5
3570 echo "${ECHO_T}$CPP" >&6; }
3571 ac_preproc_ok=false
3572 for ac_c_preproc_warn_flag in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat >conftest.$ac_ext <<_ACEOF
3581 /* confdefs.h. */
3582 _ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3586 #ifdef __STDC__
3587 # include <limits.h>
3588 #else
3589 # include <assert.h>
3590 #endif
3591 Syntax error
3592 _ACEOF
3593 if { (ac_try="$ac_cpp conftest.$ac_ext"
3594 case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3600 ac_status=$?
3601 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } >/dev/null && {
3606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3608 }; then
3610 else
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 # Broken: fails on valid input.
3615 continue
3618 rm -f conftest.err conftest.$ac_ext
3620 # OK, works on sane cases. Now check whether nonexistent headers
3621 # can be detected and how.
3622 cat >conftest.$ac_ext <<_ACEOF
3623 /* confdefs.h. */
3624 _ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3628 #include <ac_nonexistent.h>
3629 _ACEOF
3630 if { (ac_try="$ac_cpp conftest.$ac_ext"
3631 case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3634 esac
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3637 ac_status=$?
3638 grep -v '^ *+' conftest.er1 >conftest.err
3639 rm -f conftest.er1
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } >/dev/null && {
3643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 }; then
3646 # Broken: success on invalid input.
3647 continue
3648 else
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 # Passes both tests.
3653 ac_preproc_ok=:
3654 break
3657 rm -f conftest.err conftest.$ac_ext
3659 done
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then
3664 else
3665 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3666 See \`config.log' for more details." >&5
3667 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&2;}
3669 { (exit 1); exit 1; }; }
3672 ac_ext=c
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 { echo "$as_me:$LINENO: checking for X" >&5
3680 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3683 # Check whether --with-x was given.
3684 if test "${with_x+set}" = set; then
3685 withval=$with_x;
3688 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3689 if test "x$with_x" = xno; then
3690 # The user explicitly disabled X.
3691 have_x=disabled
3692 else
3693 case $x_includes,$x_libraries in #(
3694 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3695 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3696 { (exit 1); exit 1; }; };; #(
3697 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 # One or both of the vars are not set, and there is no cached value.
3701 ac_x_includes=no ac_x_libraries=no
3702 rm -f -r conftest.dir
3703 if mkdir conftest.dir; then
3704 cd conftest.dir
3705 cat >Imakefile <<'_ACEOF'
3706 incroot:
3707 @echo incroot='${INCROOT}'
3708 usrlibdir:
3709 @echo usrlibdir='${USRLIBDIR}'
3710 libdir:
3711 @echo libdir='${LIBDIR}'
3712 _ACEOF
3713 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 for ac_var in incroot usrlibdir libdir; do
3716 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3717 done
3718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3719 for ac_extension in a so sl; do
3720 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3721 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3722 ac_im_usrlibdir=$ac_im_libdir; break
3724 done
3725 # Screen out bogus values from the imake configuration. They are
3726 # bogus both because they are the default anyway, and because
3727 # using them would break gcc on systems where it needs fixed includes.
3728 case $ac_im_incroot in
3729 /usr/include) ac_x_includes= ;;
3730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3731 esac
3732 case $ac_im_usrlibdir in
3733 /usr/lib | /lib) ;;
3734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3735 esac
3737 cd ..
3738 rm -f -r conftest.dir
3741 # Standard set of common directories for X headers.
3742 # Check X11 before X11Rn because it is often a symlink to the current release.
3743 ac_x_header_dirs='
3744 /usr/X11/include
3745 /usr/X11R6/include
3746 /usr/X11R5/include
3747 /usr/X11R4/include
3749 /usr/include/X11
3750 /usr/include/X11R6
3751 /usr/include/X11R5
3752 /usr/include/X11R4
3754 /usr/local/X11/include
3755 /usr/local/X11R6/include
3756 /usr/local/X11R5/include
3757 /usr/local/X11R4/include
3759 /usr/local/include/X11
3760 /usr/local/include/X11R6
3761 /usr/local/include/X11R5
3762 /usr/local/include/X11R4
3764 /usr/X386/include
3765 /usr/x386/include
3766 /usr/XFree86/include/X11
3768 /usr/include
3769 /usr/local/include
3770 /usr/unsupported/include
3771 /usr/athena/include
3772 /usr/local/x11r5/include
3773 /usr/lpp/Xamples/include
3775 /usr/openwin/include
3776 /usr/openwin/share/include'
3778 if test "$ac_x_includes" = no; then
3779 # Guess where to find include files, by looking for Xlib.h.
3780 # First, try using that file with no special directory specified.
3781 cat >conftest.$ac_ext <<_ACEOF
3782 /* confdefs.h. */
3783 _ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <X11/Xlib.h>
3788 _ACEOF
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null && {
3802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3804 }; then
3805 # We can compile using X headers with no special include directory.
3806 ac_x_includes=
3807 else
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3811 for ac_dir in $ac_x_header_dirs; do
3812 if test -r "$ac_dir/X11/Xlib.h"; then
3813 ac_x_includes=$ac_dir
3814 break
3816 done
3819 rm -f conftest.err conftest.$ac_ext
3820 fi # $ac_x_includes = no
3822 if test "$ac_x_libraries" = no; then
3823 # Check for the libraries.
3824 # See if we find them without any special options.
3825 # Don't add to $LIBS permanently.
3826 ac_save_LIBS=$LIBS
3827 LIBS="-lX11 $LIBS"
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #include <X11/Xlib.h>
3836 main ()
3838 XrmInitialize ()
3840 return 0;
3842 _ACEOF
3843 rm -f conftest.$ac_objext conftest$ac_exeext
3844 if { (ac_try="$ac_link"
3845 case "(($ac_try" in
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3848 esac
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_link") 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext &&
3860 $as_test_x conftest$ac_exeext; then
3861 LIBS=$ac_save_LIBS
3862 # We can link X programs with no special library path.
3863 ac_x_libraries=
3864 else
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3868 LIBS=$ac_save_LIBS
3869 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3871 # Don't even attempt the hair of trying to link an X program!
3872 for ac_extension in a so sl; do
3873 if test -r "$ac_dir/libX11.$ac_extension"; then
3874 ac_x_libraries=$ac_dir
3875 break 2
3877 done
3878 done
3881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3882 conftest$ac_exeext conftest.$ac_ext
3883 fi # $ac_x_libraries = no
3885 case $ac_x_includes,$ac_x_libraries in #(
3886 no,* | *,no | *\'*)
3887 # Didn't find X, or a directory has "'" in its name.
3888 ac_cv_have_x="have_x=no";; #(
3890 # Record where we found X for the cache.
3891 ac_cv_have_x="have_x=yes\
3892 ac_x_includes='$ac_x_includes'\
3893 ac_x_libraries='$ac_x_libraries'"
3894 esac
3896 ;; #(
3897 *) have_x=yes;;
3898 esac
3899 eval "$ac_cv_have_x"
3900 fi # $with_x != no
3902 if test "$have_x" != yes; then
3903 { echo "$as_me:$LINENO: result: $have_x" >&5
3904 echo "${ECHO_T}$have_x" >&6; }
3905 no_x=yes
3906 else
3907 # If each of the values was on the command line, it overrides each guess.
3908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3910 # Update the cache value to reflect the command line values.
3911 ac_cv_have_x="have_x=yes\
3912 ac_x_includes='$x_includes'\
3913 ac_x_libraries='$x_libraries'"
3914 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3918 if test "$no_x" = yes; then
3919 # Not all programs may use this symbol, but it does not hurt to define it.
3921 cat >>confdefs.h <<\_ACEOF
3922 #define X_DISPLAY_MISSING 1
3923 _ACEOF
3925 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3926 else
3927 if test -n "$x_includes"; then
3928 X_CFLAGS="$X_CFLAGS -I$x_includes"
3931 # It would also be nice to do this for all -L options, not just this one.
3932 if test -n "$x_libraries"; then
3933 X_LIBS="$X_LIBS -L$x_libraries"
3934 # For Solaris; some versions of Sun CC require a space after -R and
3935 # others require no space. Words are not sufficient . . . .
3936 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3937 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3938 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3939 ac_xsave_c_werror_flag=$ac_c_werror_flag
3940 ac_c_werror_flag=yes
3941 cat >conftest.$ac_ext <<_ACEOF
3942 /* confdefs.h. */
3943 _ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 rm -f conftest.$ac_objext conftest$ac_exeext
3957 if { (ac_try="$ac_link"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_link") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest$ac_exeext &&
3973 $as_test_x conftest$ac_exeext; then
3974 { echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6; }
3976 X_LIBS="$X_LIBS -R$x_libraries"
3977 else
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 LIBS="$ac_xsave_LIBS -R $x_libraries"
3982 cat >conftest.$ac_ext <<_ACEOF
3983 /* confdefs.h. */
3984 _ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3990 main ()
3994 return 0;
3996 _ACEOF
3997 rm -f conftest.$ac_objext conftest$ac_exeext
3998 if { (ac_try="$ac_link"
3999 case "(($ac_try" in
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4002 esac
4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_link") 2>conftest.er1
4005 ac_status=$?
4006 grep -v '^ *+' conftest.er1 >conftest.err
4007 rm -f conftest.er1
4008 cat conftest.err >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && {
4011 test -z "$ac_c_werror_flag" ||
4012 test ! -s conftest.err
4013 } && test -s conftest$ac_exeext &&
4014 $as_test_x conftest$ac_exeext; then
4015 { echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6; }
4017 X_LIBS="$X_LIBS -R $x_libraries"
4018 else
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { echo "$as_me:$LINENO: result: neither works" >&5
4023 echo "${ECHO_T}neither works" >&6; }
4026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4027 conftest$ac_exeext conftest.$ac_ext
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4032 ac_c_werror_flag=$ac_xsave_c_werror_flag
4033 LIBS=$ac_xsave_LIBS
4036 # Check for system-dependent libraries X programs must link with.
4037 # Do this before checking for the system-independent R6 libraries
4038 # (-lICE), since we may need -lsocket or whatever for X linking.
4040 if test "$ISC" = yes; then
4041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4042 else
4043 # Martyn Johnson says this is needed for Ultrix, if the X
4044 # libraries were built with DECnet support. And Karl Berry says
4045 # the Alpha needs dnet_stub (dnet does not exist).
4046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4047 cat >conftest.$ac_ext <<_ACEOF
4048 /* confdefs.h. */
4049 _ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4054 /* Override any GCC internal prototype to avoid an error.
4055 Use char because int might match the return type of a GCC
4056 builtin and then its argument prototype would still apply. */
4057 #ifdef __cplusplus
4058 extern "C"
4059 #endif
4060 char XOpenDisplay ();
4062 main ()
4064 return XOpenDisplay ();
4066 return 0;
4068 _ACEOF
4069 rm -f conftest.$ac_objext conftest$ac_exeext
4070 if { (ac_try="$ac_link"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076 (eval "$ac_link") 2>conftest.er1
4077 ac_status=$?
4078 grep -v '^ *+' conftest.er1 >conftest.err
4079 rm -f conftest.er1
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest$ac_exeext &&
4086 $as_test_x conftest$ac_exeext; then
4088 else
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.$ac_ext >&5
4092 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 else
4097 ac_check_lib_save_LIBS=$LIBS
4098 LIBS="-ldnet $LIBS"
4099 cat >conftest.$ac_ext <<_ACEOF
4100 /* confdefs.h. */
4101 _ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4106 /* Override any GCC internal prototype to avoid an error.
4107 Use char because int might match the return type of a GCC
4108 builtin and then its argument prototype would still apply. */
4109 #ifdef __cplusplus
4110 extern "C"
4111 #endif
4112 char dnet_ntoa ();
4114 main ()
4116 return dnet_ntoa ();
4118 return 0;
4120 _ACEOF
4121 rm -f conftest.$ac_objext conftest$ac_exeext
4122 if { (ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_link") 2>conftest.er1
4129 ac_status=$?
4130 grep -v '^ *+' conftest.er1 >conftest.err
4131 rm -f conftest.er1
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest$ac_exeext &&
4138 $as_test_x conftest$ac_exeext; then
4139 ac_cv_lib_dnet_dnet_ntoa=yes
4140 else
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 ac_cv_lib_dnet_dnet_ntoa=no
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 LIBS=$ac_check_lib_save_LIBS
4151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4152 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4153 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4159 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 ac_check_lib_save_LIBS=$LIBS
4164 LIBS="-ldnet_stub $LIBS"
4165 cat >conftest.$ac_ext <<_ACEOF
4166 /* confdefs.h. */
4167 _ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4172 /* Override any GCC internal prototype to avoid an error.
4173 Use char because int might match the return type of a GCC
4174 builtin and then its argument prototype would still apply. */
4175 #ifdef __cplusplus
4176 extern "C"
4177 #endif
4178 char dnet_ntoa ();
4180 main ()
4182 return dnet_ntoa ();
4184 return 0;
4186 _ACEOF
4187 rm -f conftest.$ac_objext conftest$ac_exeext
4188 if { (ac_try="$ac_link"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_link") 2>conftest.er1
4195 ac_status=$?
4196 grep -v '^ *+' conftest.er1 >conftest.err
4197 rm -f conftest.er1
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } && {
4201 test -z "$ac_c_werror_flag" ||
4202 test ! -s conftest.err
4203 } && test -s conftest$ac_exeext &&
4204 $as_test_x conftest$ac_exeext; then
4205 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4206 else
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 ac_cv_lib_dnet_stub_dnet_ntoa=no
4213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4214 conftest$ac_exeext conftest.$ac_ext
4215 LIBS=$ac_check_lib_save_LIBS
4217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4218 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4219 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4227 conftest$ac_exeext conftest.$ac_ext
4228 LIBS="$ac_xsave_LIBS"
4230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4231 # to get the SysV transport functions.
4232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4233 # needs -lnsl.
4234 # The nsl library prevents programs from opening the X display
4235 # on Irix 5.2, according to T.E. Dickey.
4236 # The functions gethostbyname, getservbyname, and inet_addr are
4237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4238 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4240 if test "${ac_cv_func_gethostbyname+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 else
4243 cat >conftest.$ac_ext <<_ACEOF
4244 /* confdefs.h. */
4245 _ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4251 #define gethostbyname innocuous_gethostbyname
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char gethostbyname (); below.
4255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 <limits.h> exists even on freestanding compilers. */
4258 #ifdef __STDC__
4259 # include <limits.h>
4260 #else
4261 # include <assert.h>
4262 #endif
4264 #undef gethostbyname
4266 /* Override any GCC internal prototype to avoid an error.
4267 Use char because int might match the return type of a GCC
4268 builtin and then its argument prototype would still apply. */
4269 #ifdef __cplusplus
4270 extern "C"
4271 #endif
4272 char gethostbyname ();
4273 /* The GNU C library defines this for functions which it implements
4274 to always fail with ENOSYS. Some functions are actually named
4275 something starting with __ and the normal name is an alias. */
4276 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4277 choke me
4278 #endif
4281 main ()
4283 return gethostbyname ();
4285 return 0;
4287 _ACEOF
4288 rm -f conftest.$ac_objext conftest$ac_exeext
4289 if { (ac_try="$ac_link"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4295 (eval "$ac_link") 2>conftest.er1
4296 ac_status=$?
4297 grep -v '^ *+' conftest.er1 >conftest.err
4298 rm -f conftest.er1
4299 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err
4304 } && test -s conftest$ac_exeext &&
4305 $as_test_x conftest$ac_exeext; then
4306 ac_cv_func_gethostbyname=yes
4307 else
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 ac_cv_func_gethostbyname=no
4314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4315 conftest$ac_exeext conftest.$ac_ext
4317 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4318 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4320 if test $ac_cv_func_gethostbyname = no; then
4321 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4322 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else
4326 ac_check_lib_save_LIBS=$LIBS
4327 LIBS="-lnsl $LIBS"
4328 cat >conftest.$ac_ext <<_ACEOF
4329 /* confdefs.h. */
4330 _ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4338 #ifdef __cplusplus
4339 extern "C"
4340 #endif
4341 char gethostbyname ();
4343 main ()
4345 return gethostbyname ();
4347 return 0;
4349 _ACEOF
4350 rm -f conftest.$ac_objext conftest$ac_exeext
4351 if { (ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4358 ac_status=$?
4359 grep -v '^ *+' conftest.er1 >conftest.err
4360 rm -f conftest.er1
4361 cat conftest.err >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest$ac_exeext &&
4367 $as_test_x conftest$ac_exeext; then
4368 ac_cv_lib_nsl_gethostbyname=yes
4369 else
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 ac_cv_lib_nsl_gethostbyname=no
4376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4377 conftest$ac_exeext conftest.$ac_ext
4378 LIBS=$ac_check_lib_save_LIBS
4380 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4381 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4382 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4386 if test $ac_cv_lib_nsl_gethostbyname = no; then
4387 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4388 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4389 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 else
4392 ac_check_lib_save_LIBS=$LIBS
4393 LIBS="-lbsd $LIBS"
4394 cat >conftest.$ac_ext <<_ACEOF
4395 /* confdefs.h. */
4396 _ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 /* Override any GCC internal prototype to avoid an error.
4402 Use char because int might match the return type of a GCC
4403 builtin and then its argument prototype would still apply. */
4404 #ifdef __cplusplus
4405 extern "C"
4406 #endif
4407 char gethostbyname ();
4409 main ()
4411 return gethostbyname ();
4413 return 0;
4415 _ACEOF
4416 rm -f conftest.$ac_objext conftest$ac_exeext
4417 if { (ac_try="$ac_link"
4418 case "(($ac_try" in
4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4421 esac
4422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423 (eval "$ac_link") 2>conftest.er1
4424 ac_status=$?
4425 grep -v '^ *+' conftest.er1 >conftest.err
4426 rm -f conftest.er1
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } && {
4430 test -z "$ac_c_werror_flag" ||
4431 test ! -s conftest.err
4432 } && test -s conftest$ac_exeext &&
4433 $as_test_x conftest$ac_exeext; then
4434 ac_cv_lib_bsd_gethostbyname=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_bsd_gethostbyname=no
4442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4443 conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4456 # socket/setsockopt and other routines are undefined under SCO ODT
4457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4458 # on later versions), says Simon Leinen: it contains gethostby*
4459 # variants that don't use the name server (or something). -lsocket
4460 # must be given before -lnsl if both are needed. We assume that
4461 # if connect needs -lnsl, so does gethostbyname.
4462 { echo "$as_me:$LINENO: checking for connect" >&5
4463 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4464 if test "${ac_cv_func_connect+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 else
4467 cat >conftest.$ac_ext <<_ACEOF
4468 /* confdefs.h. */
4469 _ACEOF
4470 cat confdefs.h >>conftest.$ac_ext
4471 cat >>conftest.$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4475 #define connect innocuous_connect
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char connect (); below.
4479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480 <limits.h> exists even on freestanding compilers. */
4482 #ifdef __STDC__
4483 # include <limits.h>
4484 #else
4485 # include <assert.h>
4486 #endif
4488 #undef connect
4490 /* Override any GCC internal prototype to avoid an error.
4491 Use char because int might match the return type of a GCC
4492 builtin and then its argument prototype would still apply. */
4493 #ifdef __cplusplus
4494 extern "C"
4495 #endif
4496 char connect ();
4497 /* The GNU C library defines this for functions which it implements
4498 to always fail with ENOSYS. Some functions are actually named
4499 something starting with __ and the normal name is an alias. */
4500 #if defined __stub_connect || defined __stub___connect
4501 choke me
4502 #endif
4505 main ()
4507 return connect ();
4509 return 0;
4511 _ACEOF
4512 rm -f conftest.$ac_objext conftest$ac_exeext
4513 if { (ac_try="$ac_link"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4519 (eval "$ac_link") 2>conftest.er1
4520 ac_status=$?
4521 grep -v '^ *+' conftest.er1 >conftest.err
4522 rm -f conftest.er1
4523 cat conftest.err >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest$ac_exeext &&
4529 $as_test_x conftest$ac_exeext; then
4530 ac_cv_func_connect=yes
4531 else
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.$ac_ext >&5
4535 ac_cv_func_connect=no
4538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4539 conftest$ac_exeext conftest.$ac_ext
4541 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4542 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4544 if test $ac_cv_func_connect = no; then
4545 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4547 if test "${ac_cv_lib_socket_connect+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 ac_check_lib_save_LIBS=$LIBS
4551 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4552 cat >conftest.$ac_ext <<_ACEOF
4553 /* confdefs.h. */
4554 _ACEOF
4555 cat confdefs.h >>conftest.$ac_ext
4556 cat >>conftest.$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4562 #ifdef __cplusplus
4563 extern "C"
4564 #endif
4565 char connect ();
4567 main ()
4569 return connect ();
4571 return 0;
4573 _ACEOF
4574 rm -f conftest.$ac_objext conftest$ac_exeext
4575 if { (ac_try="$ac_link"
4576 case "(($ac_try" in
4577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4579 esac
4580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4581 (eval "$ac_link") 2>conftest.er1
4582 ac_status=$?
4583 grep -v '^ *+' conftest.er1 >conftest.err
4584 rm -f conftest.er1
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && {
4588 test -z "$ac_c_werror_flag" ||
4589 test ! -s conftest.err
4590 } && test -s conftest$ac_exeext &&
4591 $as_test_x conftest$ac_exeext; then
4592 ac_cv_lib_socket_connect=yes
4593 else
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_lib_socket_connect=no
4600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4601 conftest$ac_exeext conftest.$ac_ext
4602 LIBS=$ac_check_lib_save_LIBS
4604 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4606 if test $ac_cv_lib_socket_connect = yes; then
4607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4612 # Guillermo Gomez says -lposix is necessary on A/UX.
4613 { echo "$as_me:$LINENO: checking for remove" >&5
4614 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4615 if test "${ac_cv_func_remove+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618 cat >conftest.$ac_ext <<_ACEOF
4619 /* confdefs.h. */
4620 _ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4626 #define remove innocuous_remove
4628 /* System header to define __stub macros and hopefully few prototypes,
4629 which can conflict with char remove (); below.
4630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 <limits.h> exists even on freestanding compilers. */
4633 #ifdef __STDC__
4634 # include <limits.h>
4635 #else
4636 # include <assert.h>
4637 #endif
4639 #undef remove
4641 /* Override any GCC internal prototype to avoid an error.
4642 Use char because int might match the return type of a GCC
4643 builtin and then its argument prototype would still apply. */
4644 #ifdef __cplusplus
4645 extern "C"
4646 #endif
4647 char remove ();
4648 /* The GNU C library defines this for functions which it implements
4649 to always fail with ENOSYS. Some functions are actually named
4650 something starting with __ and the normal name is an alias. */
4651 #if defined __stub_remove || defined __stub___remove
4652 choke me
4653 #endif
4656 main ()
4658 return remove ();
4660 return 0;
4662 _ACEOF
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_link") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest$ac_exeext &&
4680 $as_test_x conftest$ac_exeext; then
4681 ac_cv_func_remove=yes
4682 else
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4686 ac_cv_func_remove=no
4689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4690 conftest$ac_exeext conftest.$ac_ext
4692 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4693 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4695 if test $ac_cv_func_remove = no; then
4696 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4697 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4698 if test "${ac_cv_lib_posix_remove+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701 ac_check_lib_save_LIBS=$LIBS
4702 LIBS="-lposix $LIBS"
4703 cat >conftest.$ac_ext <<_ACEOF
4704 /* confdefs.h. */
4705 _ACEOF
4706 cat confdefs.h >>conftest.$ac_ext
4707 cat >>conftest.$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4710 /* Override any GCC internal prototype to avoid an error.
4711 Use char because int might match the return type of a GCC
4712 builtin and then its argument prototype would still apply. */
4713 #ifdef __cplusplus
4714 extern "C"
4715 #endif
4716 char remove ();
4718 main ()
4720 return remove ();
4722 return 0;
4724 _ACEOF
4725 rm -f conftest.$ac_objext conftest$ac_exeext
4726 if { (ac_try="$ac_link"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } && {
4739 test -z "$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4741 } && test -s conftest$ac_exeext &&
4742 $as_test_x conftest$ac_exeext; then
4743 ac_cv_lib_posix_remove=yes
4744 else
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_posix_remove=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4757 if test $ac_cv_lib_posix_remove = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4764 { echo "$as_me:$LINENO: checking for shmat" >&5
4765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4766 if test "${ac_cv_func_shmat+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 else
4769 cat >conftest.$ac_ext <<_ACEOF
4770 /* confdefs.h. */
4771 _ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4777 #define shmat innocuous_shmat
4779 /* System header to define __stub macros and hopefully few prototypes,
4780 which can conflict with char shmat (); below.
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782 <limits.h> exists even on freestanding compilers. */
4784 #ifdef __STDC__
4785 # include <limits.h>
4786 #else
4787 # include <assert.h>
4788 #endif
4790 #undef shmat
4792 /* Override any GCC internal prototype to avoid an error.
4793 Use char because int might match the return type of a GCC
4794 builtin and then its argument prototype would still apply. */
4795 #ifdef __cplusplus
4796 extern "C"
4797 #endif
4798 char shmat ();
4799 /* The GNU C library defines this for functions which it implements
4800 to always fail with ENOSYS. Some functions are actually named
4801 something starting with __ and the normal name is an alias. */
4802 #if defined __stub_shmat || defined __stub___shmat
4803 choke me
4804 #endif
4807 main ()
4809 return shmat ();
4811 return 0;
4813 _ACEOF
4814 rm -f conftest.$ac_objext conftest$ac_exeext
4815 if { (ac_try="$ac_link"
4816 case "(($ac_try" in
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4819 esac
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_link") 2>conftest.er1
4822 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err
4824 rm -f conftest.er1
4825 cat conftest.err >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } && {
4828 test -z "$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4830 } && test -s conftest$ac_exeext &&
4831 $as_test_x conftest$ac_exeext; then
4832 ac_cv_func_shmat=yes
4833 else
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 ac_cv_func_shmat=no
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841 conftest$ac_exeext conftest.$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846 if test $ac_cv_func_shmat = no; then
4847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 ac_check_lib_save_LIBS=$LIBS
4853 LIBS="-lipc $LIBS"
4854 cat >conftest.$ac_ext <<_ACEOF
4855 /* confdefs.h. */
4856 _ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4864 #ifdef __cplusplus
4865 extern "C"
4866 #endif
4867 char shmat ();
4869 main ()
4871 return shmat ();
4873 return 0;
4875 _ACEOF
4876 rm -f conftest.$ac_objext conftest$ac_exeext
4877 if { (ac_try="$ac_link"
4878 case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$ac_link") 2>conftest.er1
4884 ac_status=$?
4885 grep -v '^ *+' conftest.er1 >conftest.err
4886 rm -f conftest.er1
4887 cat conftest.err >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } && {
4890 test -z "$ac_c_werror_flag" ||
4891 test ! -s conftest.err
4892 } && test -s conftest$ac_exeext &&
4893 $as_test_x conftest$ac_exeext; then
4894 ac_cv_lib_ipc_shmat=yes
4895 else
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4899 ac_cv_lib_ipc_shmat=no
4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4903 conftest$ac_exeext conftest.$ac_ext
4904 LIBS=$ac_check_lib_save_LIBS
4906 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4908 if test $ac_cv_lib_ipc_shmat = yes; then
4909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4915 # Check for libraries that X11R6 Xt/Xaw programs need.
4916 ac_save_LDFLAGS=$LDFLAGS
4917 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4919 # check for ICE first), but we must link in the order -lSM -lICE or
4920 # we get undefined symbols. So assume we have SM if we have ICE.
4921 # These have to be linked with before -lX11, unlike the other
4922 # libraries we check for below, so use a different variable.
4923 # John Interrante, Karl Berry
4924 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 else
4929 ac_check_lib_save_LIBS=$LIBS
4930 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4931 cat >conftest.$ac_ext <<_ACEOF
4932 /* confdefs.h. */
4933 _ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 /* Override any GCC internal prototype to avoid an error.
4939 Use char because int might match the return type of a GCC
4940 builtin and then its argument prototype would still apply. */
4941 #ifdef __cplusplus
4942 extern "C"
4943 #endif
4944 char IceConnectionNumber ();
4946 main ()
4948 return IceConnectionNumber ();
4950 return 0;
4952 _ACEOF
4953 rm -f conftest.$ac_objext conftest$ac_exeext
4954 if { (ac_try="$ac_link"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest$ac_exeext &&
4970 $as_test_x conftest$ac_exeext; then
4971 ac_cv_lib_ICE_IceConnectionNumber=yes
4972 else
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 ac_cv_lib_ICE_IceConnectionNumber=no
4979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4980 conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4983 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4986 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4989 LDFLAGS=$ac_save_LDFLAGS
4994 for ac_prog in flex
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5000 if test "${ac_cv_prog_FLEX+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 if test -n "$FLEX"; then
5004 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_FLEX="$ac_prog"
5014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 FLEX=$ac_cv_prog_FLEX
5024 if test -n "$FLEX"; then
5025 { echo "$as_me:$LINENO: result: $FLEX" >&5
5026 echo "${ECHO_T}$FLEX" >&6; }
5027 else
5028 { echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6; }
5033 test -n "$FLEX" && break
5034 done
5035 test -n "$FLEX" || FLEX="none"
5037 if test "$FLEX" = "none"
5038 then
5039 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5040 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5041 { (exit 1); exit 1; }; }
5044 for ac_prog in bison
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5050 if test "${ac_cv_prog_BISON+set}" = set; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 else
5053 if test -n "$BISON"; then
5054 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_BISON="$ac_prog"
5064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 BISON=$ac_cv_prog_BISON
5074 if test -n "$BISON"; then
5075 { echo "$as_me:$LINENO: result: $BISON" >&5
5076 echo "${ECHO_T}$BISON" >&6; }
5077 else
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5083 test -n "$BISON" && break
5084 done
5085 test -n "$BISON" || BISON="none"
5087 if test "$BISON" = "none"
5088 then
5089 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5090 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5091 { (exit 1); exit 1; }; }
5094 if test -n "$ac_tool_prefix"; then
5095 for ac_prog in gas as
5097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5101 if test "${ac_cv_prog_AS+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 else
5104 if test -n "$AS"; then
5105 ac_cv_prog_AS="$AS" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5114 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 AS=$ac_cv_prog_AS
5125 if test -n "$AS"; then
5126 { echo "$as_me:$LINENO: result: $AS" >&5
5127 echo "${ECHO_T}$AS" >&6; }
5128 else
5129 { echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6; }
5134 test -n "$AS" && break
5135 done
5137 if test -z "$AS"; then
5138 ac_ct_AS=$AS
5139 for ac_prog in gas as
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy $ac_prog; ac_word=$2
5143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5145 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148 if test -n "$ac_ct_AS"; then
5149 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_AS="$ac_prog"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5169 if test -n "$ac_ct_AS"; then
5170 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5171 echo "${ECHO_T}$ac_ct_AS" >&6; }
5172 else
5173 { echo "$as_me:$LINENO: result: no" >&5
5174 echo "${ECHO_T}no" >&6; }
5178 test -n "$ac_ct_AS" && break
5179 done
5181 if test "x$ac_ct_AS" = x; then
5182 AS="as"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5187 whose name does not start with the host triplet. If you think this
5188 configuration is useful to you, please write to autoconf@gnu.org." >&5
5189 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5192 ac_tool_warned=yes ;;
5193 esac
5194 AS=$ac_ct_AS
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}ld; ac_word=$2
5201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5203 if test "${ac_cv_prog_LD+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 else
5206 if test -n "$LD"; then
5207 ac_cv_prog_LD="$LD" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_LD="${ac_tool_prefix}ld"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 break 2
5220 done
5221 done
5222 IFS=$as_save_IFS
5226 LD=$ac_cv_prog_LD
5227 if test -n "$LD"; then
5228 { echo "$as_me:$LINENO: result: $LD" >&5
5229 echo "${ECHO_T}$LD" >&6; }
5230 else
5231 { echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6; }
5237 if test -z "$ac_cv_prog_LD"; then
5238 ac_ct_LD=$LD
5239 # Extract the first word of "ld", so it can be a program name with args.
5240 set dummy ld; ac_word=$2
5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5243 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 else
5246 if test -n "$ac_ct_LD"; then
5247 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_ac_ct_LD="ld"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5267 if test -n "$ac_ct_LD"; then
5268 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5269 echo "${ECHO_T}$ac_ct_LD" >&6; }
5270 else
5271 { echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; }
5275 if test "x$ac_ct_LD" = x; then
5276 LD="ld"
5277 else
5278 case $cross_compiling:$ac_tool_warned in
5279 yes:)
5280 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5281 whose name does not start with the host triplet. If you think this
5282 configuration is useful to you, please write to autoconf@gnu.org." >&5
5283 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 LD=$ac_ct_LD
5290 else
5291 LD="$ac_cv_prog_LD"
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}ar; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AR+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 else
5302 if test -n "$AR"; then
5303 ac_cv_prog_AR="$AR" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AR="${ac_tool_prefix}ar"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 AR=$ac_cv_prog_AR
5323 if test -n "$AR"; then
5324 { echo "$as_me:$LINENO: result: $AR" >&5
5325 echo "${ECHO_T}$AR" >&6; }
5326 else
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5333 if test -z "$ac_cv_prog_AR"; then
5334 ac_ct_AR=$AR
5335 # Extract the first word of "ar", so it can be a program name with args.
5336 set dummy ar; ac_word=$2
5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5339 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 else
5342 if test -n "$ac_ct_AR"; then
5343 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_ac_ct_AR="ar"
5353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5363 if test -n "$ac_ct_AR"; then
5364 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5365 echo "${ECHO_T}$ac_ct_AR" >&6; }
5366 else
5367 { echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; }
5371 if test "x$ac_ct_AR" = x; then
5372 AR="ar"
5373 else
5374 case $cross_compiling:$ac_tool_warned in
5375 yes:)
5376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5377 whose name does not start with the host triplet. If you think this
5378 configuration is useful to you, please write to autoconf@gnu.org." >&5
5379 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384 AR=$ac_ct_AR
5386 else
5387 AR="$ac_cv_prog_AR"
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5395 if test "${ac_cv_prog_RANLIB+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 else
5398 if test -n "$RANLIB"; then
5399 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 RANLIB=$ac_cv_prog_RANLIB
5419 if test -n "$RANLIB"; then
5420 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5421 echo "${ECHO_T}$RANLIB" >&6; }
5422 else
5423 { echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6; }
5429 if test -z "$ac_cv_prog_RANLIB"; then
5430 ac_ct_RANLIB=$RANLIB
5431 # Extract the first word of "ranlib", so it can be a program name with args.
5432 set dummy ranlib; ac_word=$2
5433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5435 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 if test -n "$ac_ct_RANLIB"; then
5439 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_RANLIB="ranlib"
5449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5459 if test -n "$ac_ct_RANLIB"; then
5460 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5461 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5462 else
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5467 if test "x$ac_ct_RANLIB" = x; then
5468 RANLIB=":"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&5
5475 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5478 ac_tool_warned=yes ;;
5479 esac
5480 RANLIB=$ac_ct_RANLIB
5482 else
5483 RANLIB="$ac_cv_prog_RANLIB"
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}strip; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_STRIP+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 STRIP=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { echo "$as_me:$LINENO: result: $STRIP" >&5
5517 echo "${ECHO_T}$STRIP" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5526 ac_ct_STRIP=$STRIP
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip; ac_word=$2
5529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 else
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_ac_ct_STRIP="strip"
5545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5557 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5563 if test "x$ac_ct_STRIP" = x; then
5564 STRIP="strip"
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5569 whose name does not start with the host triplet. If you think this
5570 configuration is useful to you, please write to autoconf@gnu.org." >&5
5571 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5574 ac_tool_warned=yes ;;
5575 esac
5576 STRIP=$ac_ct_STRIP
5578 else
5579 STRIP="$ac_cv_prog_STRIP"
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}windres; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_WINDRES+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$WINDRES"; then
5591 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 WINDRES=$ac_cv_prog_WINDRES
5611 if test -n "$WINDRES"; then
5612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5613 echo "${ECHO_T}$WINDRES" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5621 if test -z "$ac_cv_prog_WINDRES"; then
5622 ac_ct_WINDRES=$WINDRES
5623 # Extract the first word of "windres", so it can be a program name with args.
5624 set dummy windres; ac_word=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 else
5630 if test -n "$ac_ct_WINDRES"; then
5631 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_WINDRES="windres"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5651 if test -n "$ac_ct_WINDRES"; then
5652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5654 else
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5659 if test "x$ac_ct_WINDRES" = x; then
5660 WINDRES="false"
5661 else
5662 case $cross_compiling:$ac_tool_warned in
5663 yes:)
5664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&5
5667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5670 ac_tool_warned=yes ;;
5671 esac
5672 WINDRES=$ac_ct_WINDRES
5674 else
5675 WINDRES="$ac_cv_prog_WINDRES"
5678 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5679 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5680 LN_S=$as_ln_s
5681 if test "$LN_S" = "ln -s"; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5686 echo "${ECHO_T}no, using $LN_S" >&6; }
5689 { echo "$as_me:$LINENO: checking whether ln works" >&5
5690 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5691 rm -f conf$$ conf$$.file
5692 echo >conf$$.file
5693 if ln conf$$.file conf$$ 2>/dev/null; then
5694 LN=ln
5696 { echo "$as_me:$LINENO: result: yes" >&5
5697 echo "${ECHO_T}yes" >&6; }
5698 else
5699 LN="cp -p"
5701 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5702 echo "${ECHO_T}no, using $LN" >&6; }
5704 rm -f conf$$ conf$$.file
5705 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5706 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5707 if test "${ac_cv_path_GREP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 # Extract the first word of "grep ggrep" to use in msg output
5711 if test -z "$GREP"; then
5712 set dummy grep ggrep; ac_prog_name=$2
5713 if test "${ac_cv_path_GREP+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 ac_path_GREP_found=false
5717 # Loop through the user's path and test for each of PROGNAME-LIST
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_prog in grep ggrep; do
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5726 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5727 # Check for GNU ac_path_GREP and select it if it is found.
5728 # Check for GNU $ac_path_GREP
5729 case `"$ac_path_GREP" --version 2>&1` in
5730 *GNU*)
5731 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 ac_count=0
5734 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5735 while :
5737 cat "conftest.in" "conftest.in" >"conftest.tmp"
5738 mv "conftest.tmp" "conftest.in"
5739 cp "conftest.in" "conftest.nl"
5740 echo 'GREP' >> "conftest.nl"
5741 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5743 ac_count=`expr $ac_count + 1`
5744 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5745 # Best one so far, save it but keep looking for a better one
5746 ac_cv_path_GREP="$ac_path_GREP"
5747 ac_path_GREP_max=$ac_count
5749 # 10*(2^10) chars as input seems more than enough
5750 test $ac_count -gt 10 && break
5751 done
5752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5753 esac
5756 $ac_path_GREP_found && break 3
5757 done
5758 done
5760 done
5761 IFS=$as_save_IFS
5766 GREP="$ac_cv_path_GREP"
5767 if test -z "$GREP"; then
5768 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5769 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5770 { (exit 1); exit 1; }; }
5773 else
5774 ac_cv_path_GREP=$GREP
5779 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5780 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5781 GREP="$ac_cv_path_GREP"
5784 { echo "$as_me:$LINENO: checking for egrep" >&5
5785 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5786 if test "${ac_cv_path_EGREP+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 else
5789 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5790 then ac_cv_path_EGREP="$GREP -E"
5791 else
5792 # Extract the first word of "egrep" to use in msg output
5793 if test -z "$EGREP"; then
5794 set dummy egrep; ac_prog_name=$2
5795 if test "${ac_cv_path_EGREP+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 ac_path_EGREP_found=false
5799 # Loop through the user's path and test for each of PROGNAME-LIST
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_prog in egrep; do
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5808 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5809 # Check for GNU ac_path_EGREP and select it if it is found.
5810 # Check for GNU $ac_path_EGREP
5811 case `"$ac_path_EGREP" --version 2>&1` in
5812 *GNU*)
5813 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5815 ac_count=0
5816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5817 while :
5819 cat "conftest.in" "conftest.in" >"conftest.tmp"
5820 mv "conftest.tmp" "conftest.in"
5821 cp "conftest.in" "conftest.nl"
5822 echo 'EGREP' >> "conftest.nl"
5823 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5825 ac_count=`expr $ac_count + 1`
5826 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5827 # Best one so far, save it but keep looking for a better one
5828 ac_cv_path_EGREP="$ac_path_EGREP"
5829 ac_path_EGREP_max=$ac_count
5831 # 10*(2^10) chars as input seems more than enough
5832 test $ac_count -gt 10 && break
5833 done
5834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5835 esac
5838 $ac_path_EGREP_found && break 3
5839 done
5840 done
5842 done
5843 IFS=$as_save_IFS
5848 EGREP="$ac_cv_path_EGREP"
5849 if test -z "$EGREP"; then
5850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5852 { (exit 1); exit 1; }; }
5855 else
5856 ac_cv_path_EGREP=$EGREP
5862 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5863 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5864 EGREP="$ac_cv_path_EGREP"
5867 # Extract the first word of "ldconfig", so it can be a program name with args.
5868 set dummy ldconfig; ac_word=$2
5869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5871 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 else
5874 case $LDCONFIG in
5875 [\\/]* | ?:[\\/]*)
5876 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in /sbin /usr/sbin $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5894 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5896 esac
5898 LDCONFIG=$ac_cv_path_LDCONFIG
5899 if test -n "$LDCONFIG"; then
5900 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5901 echo "${ECHO_T}$LDCONFIG" >&6; }
5902 else
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5908 # Find a good install program. We prefer a C program (faster),
5909 # so one script is as good as another. But avoid the broken or
5910 # incompatible versions:
5911 # SysV /etc/install, /usr/sbin/install
5912 # SunOS /usr/etc/install
5913 # IRIX /sbin/install
5914 # AIX /bin/install
5915 # AmigaOS /C/install, which installs bootblocks on floppy discs
5916 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5917 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5918 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5919 # OS/2's system install, which has a completely different semantic
5920 # ./install, which can be erroneously created by make from ./install.sh.
5921 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5922 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5923 if test -z "$INSTALL"; then
5924 if test "${ac_cv_path_install+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 # Account for people who put trailing slashes in PATH elements.
5933 case $as_dir/ in
5934 ./ | .// | /cC/* | \
5935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5936 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5937 /usr/ucb/* ) ;;
5939 # OSF1 and SCO ODT 3.0 have their own names for install.
5940 # Don't use installbsd from OSF since it installs stuff as root
5941 # by default.
5942 for ac_prog in ginstall scoinst install; do
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5945 if test $ac_prog = install &&
5946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5947 # AIX install. It has an incompatible calling convention.
5949 elif test $ac_prog = install &&
5950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5951 # program-specific install script used by HP pwplus--don't use.
5953 else
5954 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5955 break 3
5958 done
5959 done
5961 esac
5962 done
5963 IFS=$as_save_IFS
5967 if test "${ac_cv_path_install+set}" = set; then
5968 INSTALL=$ac_cv_path_install
5969 else
5970 # As a last resort, use the slow shell script. Don't cache a
5971 # value for INSTALL within a source directory, because that will
5972 # break other packages using the cache if that directory is
5973 # removed, or if the value is a relative name.
5974 INSTALL=$ac_install_sh
5977 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5978 echo "${ECHO_T}$INSTALL" >&6; }
5980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5981 # It thinks the first close brace ends the variable substitution.
5982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5986 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5988 case "$INSTALL" in
5989 [\\/$]* | ?:[\\/]* ) ;;
5990 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5991 esac
5993 for ac_prog in lclint lint
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5999 if test "${ac_cv_prog_LINT+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else
6002 if test -n "$LINT"; then
6003 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_LINT="$ac_prog"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 LINT=$ac_cv_prog_LINT
6023 if test -n "$LINT"; then
6024 { echo "$as_me:$LINENO: result: $LINT" >&5
6025 echo "${ECHO_T}$LINT" >&6; }
6026 else
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6032 test -n "$LINT" && break
6033 done
6035 if test "$LINT" = "lint"
6036 then
6037 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6042 for ac_prog in fontforge
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 if test -n "$FONTFORGE"; then
6052 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_FONTFORGE="$ac_prog"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 FONTFORGE=$ac_cv_prog_FONTFORGE
6072 if test -n "$FONTFORGE"; then
6073 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6074 echo "${ECHO_T}$FONTFORGE" >&6; }
6075 else
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6081 test -n "$FONTFORGE" && break
6082 done
6083 test -n "$FONTFORGE" || FONTFORGE="false"
6085 for ac_prog in pkg-config
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy $ac_prog; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 else
6094 if test -n "$PKG_CONFIG"; then
6095 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_PKG_CONFIG="$ac_prog"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6115 if test -n "$PKG_CONFIG"; then
6116 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6117 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 test -n "$PKG_CONFIG" && break
6125 done
6126 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6129 case $host_cpu in
6130 *i[3456789]86*)
6131 # Extract the first word of "prelink", so it can be a program name with args.
6132 set dummy prelink; ac_word=$2
6133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6135 if test "${ac_cv_path_PRELINK+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 case $PRELINK in
6139 [\\/]* | ?:[\\/]*)
6140 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in /sbin /usr/sbin $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6158 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6160 esac
6162 PRELINK=$ac_cv_path_PRELINK
6163 if test -n "$PRELINK"; then
6164 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6165 echo "${ECHO_T}$PRELINK" >&6; }
6166 else
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6173 esac
6177 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6178 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6179 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 else
6182 ac_check_lib_save_LIBS=$LIBS
6183 LIBS="-li386 $LIBS"
6184 cat >conftest.$ac_ext <<_ACEOF
6185 /* confdefs.h. */
6186 _ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6194 #ifdef __cplusplus
6195 extern "C"
6196 #endif
6197 char i386_set_ldt ();
6199 main ()
6201 return i386_set_ldt ();
6203 return 0;
6205 _ACEOF
6206 rm -f conftest.$ac_objext conftest$ac_exeext
6207 if { (ac_try="$ac_link"
6208 case "(($ac_try" in
6209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6210 *) ac_try_echo=$ac_try;;
6211 esac
6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6213 (eval "$ac_link") 2>conftest.er1
6214 ac_status=$?
6215 grep -v '^ *+' conftest.er1 >conftest.err
6216 rm -f conftest.er1
6217 cat conftest.err >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } && {
6220 test -z "$ac_c_werror_flag" ||
6221 test ! -s conftest.err
6222 } && test -s conftest$ac_exeext &&
6223 $as_test_x conftest$ac_exeext; then
6224 ac_cv_lib_i386_i386_set_ldt=yes
6225 else
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 ac_cv_lib_i386_i386_set_ldt=no
6232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6233 conftest$ac_exeext conftest.$ac_ext
6234 LIBS=$ac_check_lib_save_LIBS
6236 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6237 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6238 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6239 cat >>confdefs.h <<_ACEOF
6240 #define HAVE_LIBI386 1
6241 _ACEOF
6243 LIBS="-li386 $LIBS"
6248 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6249 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6250 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 else
6253 ac_check_lib_save_LIBS=$LIBS
6254 LIBS="-lossaudio $LIBS"
6255 cat >conftest.$ac_ext <<_ACEOF
6256 /* confdefs.h. */
6257 _ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any GCC internal prototype to avoid an error.
6263 Use char because int might match the return type of a GCC
6264 builtin and then its argument prototype would still apply. */
6265 #ifdef __cplusplus
6266 extern "C"
6267 #endif
6268 char _oss_ioctl ();
6270 main ()
6272 return _oss_ioctl ();
6274 return 0;
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (ac_try="$ac_link"
6279 case "(($ac_try" in
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6282 esac
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_link") 2>conftest.er1
6285 ac_status=$?
6286 grep -v '^ *+' conftest.er1 >conftest.err
6287 rm -f conftest.er1
6288 cat conftest.err >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_c_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest$ac_exeext &&
6294 $as_test_x conftest$ac_exeext; then
6295 ac_cv_lib_ossaudio__oss_ioctl=yes
6296 else
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.$ac_ext >&5
6300 ac_cv_lib_ossaudio__oss_ioctl=no
6303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6304 conftest$ac_exeext conftest.$ac_ext
6305 LIBS=$ac_check_lib_save_LIBS
6307 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6308 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6309 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6310 cat >>confdefs.h <<_ACEOF
6311 #define HAVE_LIBOSSAUDIO 1
6312 _ACEOF
6314 LIBS="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6320 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 else
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lxpg4 $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char _xpg4_setrunelocale ();
6341 main ()
6343 return _xpg4_setrunelocale ();
6345 return 0;
6347 _ACEOF
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6350 case "(($ac_try" in
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6353 esac
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6356 ac_status=$?
6357 grep -v '^ *+' conftest.er1 >conftest.err
6358 rm -f conftest.er1
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6379 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6380 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6381 cat >>confdefs.h <<_ACEOF
6382 #define HAVE_LIBXPG4 1
6383 _ACEOF
6385 LIBS="-lxpg4 $LIBS"
6389 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6390 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6391 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6392 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 else
6394 ac_check_lib_save_LIBS=$LIBS
6395 LIBS="-lpthread $LIBS"
6396 cat >conftest.$ac_ext <<_ACEOF
6397 /* confdefs.h. */
6398 _ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6403 /* Override any GCC internal prototype to avoid an error.
6404 Use char because int might match the return type of a GCC
6405 builtin and then its argument prototype would still apply. */
6406 #ifdef __cplusplus
6407 extern "C"
6408 #endif
6409 char pthread_create ();
6411 main ()
6413 return pthread_create ();
6415 return 0;
6417 _ACEOF
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (ac_try="$ac_link"
6420 case "(($ac_try" in
6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6423 esac
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_link") 2>conftest.er1
6426 ac_status=$?
6427 grep -v '^ *+' conftest.er1 >conftest.err
6428 rm -f conftest.er1
6429 cat conftest.err >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest$ac_exeext &&
6435 $as_test_x conftest$ac_exeext; then
6436 ac_cv_lib_pthread_pthread_create=yes
6437 else
6438 echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.$ac_ext >&5
6441 ac_cv_lib_pthread_pthread_create=no
6444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LIBS=$ac_check_lib_save_LIBS
6448 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6449 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6450 if test $ac_cv_lib_pthread_pthread_create = yes; then
6451 LIBPTHREAD="-lpthread"
6456 XLIB=""
6458 XFILES=""
6460 OPENGLFILES=""
6462 GLU32FILES=""
6464 OPENGL_LIBS=""
6466 QUARTZFILES=""
6470 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6472 if test "${ac_cv_header_stdc+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 else
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h. */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <stdlib.h>
6482 #include <stdarg.h>
6483 #include <string.h>
6484 #include <float.h>
6487 main ()
6491 return 0;
6493 _ACEOF
6494 rm -f conftest.$ac_objext
6495 if { (ac_try="$ac_compile"
6496 case "(($ac_try" in
6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;;
6499 esac
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6502 ac_status=$?
6503 grep -v '^ *+' conftest.er1 >conftest.err
6504 rm -f conftest.er1
6505 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then
6511 ac_cv_header_stdc=yes
6512 else
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_header_stdc=no
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 if test $ac_cv_header_stdc = yes; then
6522 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6523 cat >conftest.$ac_ext <<_ACEOF
6524 /* confdefs.h. */
6525 _ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 #include <string.h>
6531 _ACEOF
6532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6533 $EGREP "memchr" >/dev/null 2>&1; then
6535 else
6536 ac_cv_header_stdc=no
6538 rm -f conftest*
6542 if test $ac_cv_header_stdc = yes; then
6543 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 #include <stdlib.h>
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "free" >/dev/null 2>&1; then
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f conftest*
6563 if test $ac_cv_header_stdc = yes; then
6564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6565 if test "$cross_compiling" = yes; then
6567 else
6568 cat >conftest.$ac_ext <<_ACEOF
6569 /* confdefs.h. */
6570 _ACEOF
6571 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6574 #include <ctype.h>
6575 #include <stdlib.h>
6576 #if ((' ' & 0x0FF) == 0x020)
6577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6579 #else
6580 # define ISLOWER(c) \
6581 (('a' <= (c) && (c) <= 'i') \
6582 || ('j' <= (c) && (c) <= 'r') \
6583 || ('s' <= (c) && (c) <= 'z'))
6584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6585 #endif
6587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6589 main ()
6591 int i;
6592 for (i = 0; i < 256; i++)
6593 if (XOR (islower (i), ISLOWER (i))
6594 || toupper (i) != TOUPPER (i))
6595 return 2;
6596 return 0;
6598 _ACEOF
6599 rm -f conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6601 case "(($ac_try" in
6602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6603 *) ac_try_echo=$ac_try;;
6604 esac
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_link") 2>&5
6607 ac_status=$?
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6610 { (case "(($ac_try" in
6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6612 *) ac_try_echo=$ac_try;;
6613 esac
6614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6615 (eval "$ac_try") 2>&5
6616 ac_status=$?
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }; then
6620 else
6621 echo "$as_me: program exited with status $ac_status" >&5
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 ( exit $ac_status )
6626 ac_cv_header_stdc=no
6628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6634 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6635 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6636 if test $ac_cv_header_stdc = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6639 #define STDC_HEADERS 1
6640 _ACEOF
6644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 else
6663 cat >conftest.$ac_ext <<_ACEOF
6664 /* confdefs.h. */
6665 _ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6671 #include <$ac_header>
6672 _ACEOF
6673 rm -f conftest.$ac_objext
6674 if { (ac_try="$ac_compile"
6675 case "(($ac_try" in
6676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6677 *) ac_try_echo=$ac_try;;
6678 esac
6679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6680 (eval "$ac_compile") 2>conftest.er1
6681 ac_status=$?
6682 grep -v '^ *+' conftest.er1 >conftest.err
6683 rm -f conftest.er1
6684 cat conftest.err >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && {
6687 test -z "$ac_c_werror_flag" ||
6688 test ! -s conftest.err
6689 } && test -s conftest.$ac_objext; then
6690 eval "$as_ac_Header=yes"
6691 else
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5
6695 eval "$as_ac_Header=no"
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6700 ac_res=`eval echo '${'$as_ac_Header'}'`
6701 { echo "$as_me:$LINENO: result: $ac_res" >&5
6702 echo "${ECHO_T}$ac_res" >&6; }
6703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6704 cat >>confdefs.h <<_ACEOF
6705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 _ACEOF
6710 done
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 png.h \
6877 poll.h \
6878 process.h \
6879 pthread.h \
6880 pwd.h \
6881 regex.h \
6882 sched.h \
6883 scsi/scsi.h \
6884 scsi/scsi_ioctl.h \
6885 scsi/sg.h \
6886 soundcard.h \
6887 stdint.h \
6888 strings.h \
6889 sys/asoundlib.h \
6890 sys/cdio.h \
6891 sys/elf32.h \
6892 sys/epoll.h \
6893 sys/errno.h \
6894 sys/event.h \
6895 sys/exec_elf.h \
6896 sys/filio.h \
6897 sys/ioctl.h \
6898 sys/ipc.h \
6899 sys/limits.h \
6900 sys/link.h \
6901 sys/lwp.h \
6902 sys/mman.h \
6903 sys/modem.h \
6904 sys/msg.h \
6905 sys/mtio.h \
6906 sys/param.h \
6907 sys/poll.h \
6908 sys/prctl.h \
6909 sys/ptrace.h \
6910 sys/reg.h \
6911 sys/resource.h \
6912 sys/scsiio.h \
6913 sys/shm.h \
6914 sys/signal.h \
6915 sys/socket.h \
6916 sys/sockio.h \
6917 sys/soundcard.h \
6918 sys/statvfs.h \
6919 sys/strtio.h \
6920 sys/syscall.h \
6921 sys/sysctl.h \
6922 sys/time.h \
6923 sys/times.h \
6924 sys/uio.h \
6925 sys/un.h \
6926 sys/vm86.h \
6927 sys/wait.h \
6928 syscall.h \
6929 termios.h \
6930 unicode/ubidi.h \
6931 unistd.h \
6932 utime.h \
6933 valgrind/memcheck.h
6936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6937 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6938 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6939 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6940 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6941 echo $ECHO_N "(cached) $ECHO_C" >&6
6943 ac_res=`eval echo '${'$as_ac_Header'}'`
6944 { echo "$as_me:$LINENO: result: $ac_res" >&5
6945 echo "${ECHO_T}$ac_res" >&6; }
6946 else
6947 # Is the header compilable?
6948 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6949 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6950 cat >conftest.$ac_ext <<_ACEOF
6951 /* confdefs.h. */
6952 _ACEOF
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6956 $ac_includes_default
6957 #include <$ac_header>
6958 _ACEOF
6959 rm -f conftest.$ac_objext
6960 if { (ac_try="$ac_compile"
6961 case "(($ac_try" in
6962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6963 *) ac_try_echo=$ac_try;;
6964 esac
6965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6966 (eval "$ac_compile") 2>conftest.er1
6967 ac_status=$?
6968 grep -v '^ *+' conftest.er1 >conftest.err
6969 rm -f conftest.er1
6970 cat conftest.err >&5
6971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6972 (exit $ac_status); } && {
6973 test -z "$ac_c_werror_flag" ||
6974 test ! -s conftest.err
6975 } && test -s conftest.$ac_objext; then
6976 ac_header_compiler=yes
6977 else
6978 echo "$as_me: failed program was:" >&5
6979 sed 's/^/| /' conftest.$ac_ext >&5
6981 ac_header_compiler=no
6984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6985 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6986 echo "${ECHO_T}$ac_header_compiler" >&6; }
6988 # Is the header present?
6989 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6990 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6991 cat >conftest.$ac_ext <<_ACEOF
6992 /* confdefs.h. */
6993 _ACEOF
6994 cat confdefs.h >>conftest.$ac_ext
6995 cat >>conftest.$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
6997 #include <$ac_header>
6998 _ACEOF
6999 if { (ac_try="$ac_cpp conftest.$ac_ext"
7000 case "(($ac_try" in
7001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7002 *) ac_try_echo=$ac_try;;
7003 esac
7004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7005 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7006 ac_status=$?
7007 grep -v '^ *+' conftest.er1 >conftest.err
7008 rm -f conftest.er1
7009 cat conftest.err >&5
7010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } >/dev/null && {
7012 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7013 test ! -s conftest.err
7014 }; then
7015 ac_header_preproc=yes
7016 else
7017 echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7020 ac_header_preproc=no
7023 rm -f conftest.err conftest.$ac_ext
7024 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7025 echo "${ECHO_T}$ac_header_preproc" >&6; }
7027 # So? What about this header?
7028 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7029 yes:no: )
7030 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7031 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7033 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7034 ac_header_preproc=yes
7036 no:yes:* )
7037 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7038 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7040 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7042 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7044 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7046 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7048 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7049 ( cat <<\_ASBOX
7050 ## ------------------------------------ ##
7051 ## Report this to wine-devel@winehq.org ##
7052 ## ------------------------------------ ##
7053 _ASBOX
7054 ) | sed "s/^/$as_me: WARNING: /" >&2
7056 esac
7057 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7058 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7059 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7060 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 else
7062 eval "$as_ac_Header=\$ac_header_preproc"
7064 ac_res=`eval echo '${'$as_ac_Header'}'`
7065 { echo "$as_me:$LINENO: result: $ac_res" >&5
7066 echo "${ECHO_T}$ac_res" >&6; }
7069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7070 cat >>confdefs.h <<_ACEOF
7071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7072 _ACEOF
7076 done
7078 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7079 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7080 if test "${ac_cv_header_stat_broken+set}" = set; then
7081 echo $ECHO_N "(cached) $ECHO_C" >&6
7082 else
7083 cat >conftest.$ac_ext <<_ACEOF
7084 /* confdefs.h. */
7085 _ACEOF
7086 cat confdefs.h >>conftest.$ac_ext
7087 cat >>conftest.$ac_ext <<_ACEOF
7088 /* end confdefs.h. */
7089 #include <sys/types.h>
7090 #include <sys/stat.h>
7092 #if defined S_ISBLK && defined S_IFDIR
7093 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7094 #endif
7096 #if defined S_ISBLK && defined S_IFCHR
7097 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7098 #endif
7100 #if defined S_ISLNK && defined S_IFREG
7101 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7102 #endif
7104 #if defined S_ISSOCK && defined S_IFREG
7105 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7106 #endif
7108 _ACEOF
7109 rm -f conftest.$ac_objext
7110 if { (ac_try="$ac_compile"
7111 case "(($ac_try" in
7112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7113 *) ac_try_echo=$ac_try;;
7114 esac
7115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7116 (eval "$ac_compile") 2>conftest.er1
7117 ac_status=$?
7118 grep -v '^ *+' conftest.er1 >conftest.err
7119 rm -f conftest.er1
7120 cat conftest.err >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } && {
7123 test -z "$ac_c_werror_flag" ||
7124 test ! -s conftest.err
7125 } && test -s conftest.$ac_objext; then
7126 ac_cv_header_stat_broken=no
7127 else
7128 echo "$as_me: failed program was:" >&5
7129 sed 's/^/| /' conftest.$ac_ext >&5
7131 ac_cv_header_stat_broken=yes
7134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7136 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7137 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7138 if test $ac_cv_header_stat_broken = yes; then
7140 cat >>confdefs.h <<\_ACEOF
7141 #define STAT_MACROS_BROKEN 1
7142 _ACEOF
7152 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7154 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7155 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7158 echo $ECHO_N "(cached) $ECHO_C" >&6
7159 else
7160 cat >conftest.$ac_ext <<_ACEOF
7161 /* confdefs.h. */
7162 _ACEOF
7163 cat confdefs.h >>conftest.$ac_ext
7164 cat >>conftest.$ac_ext <<_ACEOF
7165 /* end confdefs.h. */
7166 #include <sys/types.h>
7167 #if HAVE_SYS_PARAM_H
7168 # include <sys/param.h>
7169 #endif
7171 #include <$ac_header>
7172 _ACEOF
7173 rm -f conftest.$ac_objext
7174 if { (ac_try="$ac_compile"
7175 case "(($ac_try" in
7176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7177 *) ac_try_echo=$ac_try;;
7178 esac
7179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7180 (eval "$ac_compile") 2>conftest.er1
7181 ac_status=$?
7182 grep -v '^ *+' conftest.er1 >conftest.err
7183 rm -f conftest.er1
7184 cat conftest.err >&5
7185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); } && {
7187 test -z "$ac_c_werror_flag" ||
7188 test ! -s conftest.err
7189 } && test -s conftest.$ac_objext; then
7190 eval "$as_ac_Header=yes"
7191 else
7192 echo "$as_me: failed program was:" >&5
7193 sed 's/^/| /' conftest.$ac_ext >&5
7195 eval "$as_ac_Header=no"
7198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7200 ac_res=`eval echo '${'$as_ac_Header'}'`
7201 { echo "$as_me:$LINENO: result: $ac_res" >&5
7202 echo "${ECHO_T}$ac_res" >&6; }
7203 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7204 cat >>confdefs.h <<_ACEOF
7205 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7206 _ACEOF
7210 done
7219 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
7221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7222 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7224 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 else
7227 cat >conftest.$ac_ext <<_ACEOF
7228 /* confdefs.h. */
7229 _ACEOF
7230 cat confdefs.h >>conftest.$ac_ext
7231 cat >>conftest.$ac_ext <<_ACEOF
7232 /* end confdefs.h. */
7233 #include <sys/types.h>
7234 #if HAVE_SYS_SOCKET_H
7235 # include <sys/socket.h>
7236 #endif
7238 #include <$ac_header>
7239 _ACEOF
7240 rm -f conftest.$ac_objext
7241 if { (ac_try="$ac_compile"
7242 case "(($ac_try" in
7243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7244 *) ac_try_echo=$ac_try;;
7245 esac
7246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7247 (eval "$ac_compile") 2>conftest.er1
7248 ac_status=$?
7249 grep -v '^ *+' conftest.er1 >conftest.err
7250 rm -f conftest.er1
7251 cat conftest.err >&5
7252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7253 (exit $ac_status); } && {
7254 test -z "$ac_c_werror_flag" ||
7255 test ! -s conftest.err
7256 } && test -s conftest.$ac_objext; then
7257 eval "$as_ac_Header=yes"
7258 else
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.$ac_ext >&5
7262 eval "$as_ac_Header=no"
7265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7267 ac_res=`eval echo '${'$as_ac_Header'}'`
7268 { echo "$as_me:$LINENO: result: $ac_res" >&5
7269 echo "${ECHO_T}$ac_res" >&6; }
7270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7271 cat >>confdefs.h <<_ACEOF
7272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7273 _ACEOF
7277 done
7281 for ac_header in linux/ipx.h
7283 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7284 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7285 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7287 echo $ECHO_N "(cached) $ECHO_C" >&6
7288 else
7289 cat >conftest.$ac_ext <<_ACEOF
7290 /* confdefs.h. */
7291 _ACEOF
7292 cat confdefs.h >>conftest.$ac_ext
7293 cat >>conftest.$ac_ext <<_ACEOF
7294 /* end confdefs.h. */
7295 #include <sys/types.h>
7296 #ifdef HAVE_ASM_TYPES_H
7297 # include <asm/types.h>
7298 #endif
7299 #if HAVE_SYS_SOCKET_H
7300 # include <sys/socket.h>
7301 #endif
7303 #include <$ac_header>
7304 _ACEOF
7305 rm -f conftest.$ac_objext
7306 if { (ac_try="$ac_compile"
7307 case "(($ac_try" in
7308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7309 *) ac_try_echo=$ac_try;;
7310 esac
7311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7312 (eval "$ac_compile") 2>conftest.er1
7313 ac_status=$?
7314 grep -v '^ *+' conftest.er1 >conftest.err
7315 rm -f conftest.er1
7316 cat conftest.err >&5
7317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7318 (exit $ac_status); } && {
7319 test -z "$ac_c_werror_flag" ||
7320 test ! -s conftest.err
7321 } && test -s conftest.$ac_objext; then
7322 eval "$as_ac_Header=yes"
7323 else
7324 echo "$as_me: failed program was:" >&5
7325 sed 's/^/| /' conftest.$ac_ext >&5
7327 eval "$as_ac_Header=no"
7330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7332 ac_res=`eval echo '${'$as_ac_Header'}'`
7333 { echo "$as_me:$LINENO: result: $ac_res" >&5
7334 echo "${ECHO_T}$ac_res" >&6; }
7335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7336 cat >>confdefs.h <<_ACEOF
7337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7338 _ACEOF
7342 done
7346 for ac_header in resolv.h
7348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 else
7354 cat >conftest.$ac_ext <<_ACEOF
7355 /* confdefs.h. */
7356 _ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7360 #include <sys/types.h>
7361 #if HAVE_SYS_SOCKET_H
7362 # include <sys/socket.h>
7363 #endif
7364 #if HAVE_NETINET_IN_H
7365 # include <netinet/in.h>
7366 #endif
7367 #if HAVE_ARPA_NAMESER_H
7368 # include <arpa/nameser.h>
7369 #endif
7371 #include <$ac_header>
7372 _ACEOF
7373 rm -f conftest.$ac_objext
7374 if { (ac_try="$ac_compile"
7375 case "(($ac_try" in
7376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7377 *) ac_try_echo=$ac_try;;
7378 esac
7379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7380 (eval "$ac_compile") 2>conftest.er1
7381 ac_status=$?
7382 grep -v '^ *+' conftest.er1 >conftest.err
7383 rm -f conftest.er1
7384 cat conftest.err >&5
7385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7386 (exit $ac_status); } && {
7387 test -z "$ac_c_werror_flag" ||
7388 test ! -s conftest.err
7389 } && test -s conftest.$ac_objext; then
7390 eval "$as_ac_Header=yes"
7391 else
7392 echo "$as_me: failed program was:" >&5
7393 sed 's/^/| /' conftest.$ac_ext >&5
7395 eval "$as_ac_Header=no"
7398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7400 ac_res=`eval echo '${'$as_ac_Header'}'`
7401 { echo "$as_me:$LINENO: result: $ac_res" >&5
7402 echo "${ECHO_T}$ac_res" >&6; }
7403 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7404 cat >>confdefs.h <<_ACEOF
7405 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7406 _ACEOF
7410 done
7414 for ac_header in ucontext.h
7416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7420 echo $ECHO_N "(cached) $ECHO_C" >&6
7421 else
7422 cat >conftest.$ac_ext <<_ACEOF
7423 /* confdefs.h. */
7424 _ACEOF
7425 cat confdefs.h >>conftest.$ac_ext
7426 cat >>conftest.$ac_ext <<_ACEOF
7427 /* end confdefs.h. */
7428 #include <signal.h>
7430 #include <$ac_header>
7431 _ACEOF
7432 rm -f conftest.$ac_objext
7433 if { (ac_try="$ac_compile"
7434 case "(($ac_try" in
7435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7436 *) ac_try_echo=$ac_try;;
7437 esac
7438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7439 (eval "$ac_compile") 2>conftest.er1
7440 ac_status=$?
7441 grep -v '^ *+' conftest.er1 >conftest.err
7442 rm -f conftest.er1
7443 cat conftest.err >&5
7444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7445 (exit $ac_status); } && {
7446 test -z "$ac_c_werror_flag" ||
7447 test ! -s conftest.err
7448 } && test -s conftest.$ac_objext; then
7449 eval "$as_ac_Header=yes"
7450 else
7451 echo "$as_me: failed program was:" >&5
7452 sed 's/^/| /' conftest.$ac_ext >&5
7454 eval "$as_ac_Header=no"
7457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7459 ac_res=`eval echo '${'$as_ac_Header'}'`
7460 { echo "$as_me:$LINENO: result: $ac_res" >&5
7461 echo "${ECHO_T}$ac_res" >&6; }
7462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7463 cat >>confdefs.h <<_ACEOF
7464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7465 _ACEOF
7469 done
7473 for ac_header in pthread_np.h
7475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7476 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7479 echo $ECHO_N "(cached) $ECHO_C" >&6
7480 else
7481 cat >conftest.$ac_ext <<_ACEOF
7482 /* confdefs.h. */
7483 _ACEOF
7484 cat confdefs.h >>conftest.$ac_ext
7485 cat >>conftest.$ac_ext <<_ACEOF
7486 /* end confdefs.h. */
7487 #ifdef HAVE_PTHREAD_H
7488 #include <pthread.h>
7489 #endif
7491 #include <$ac_header>
7492 _ACEOF
7493 rm -f conftest.$ac_objext
7494 if { (ac_try="$ac_compile"
7495 case "(($ac_try" in
7496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7497 *) ac_try_echo=$ac_try;;
7498 esac
7499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7500 (eval "$ac_compile") 2>conftest.er1
7501 ac_status=$?
7502 grep -v '^ *+' conftest.er1 >conftest.err
7503 rm -f conftest.er1
7504 cat conftest.err >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } && {
7507 test -z "$ac_c_werror_flag" ||
7508 test ! -s conftest.err
7509 } && test -s conftest.$ac_objext; then
7510 eval "$as_ac_Header=yes"
7511 else
7512 echo "$as_me: failed program was:" >&5
7513 sed 's/^/| /' conftest.$ac_ext >&5
7515 eval "$as_ac_Header=no"
7518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7520 ac_res=`eval echo '${'$as_ac_Header'}'`
7521 { echo "$as_me:$LINENO: result: $ac_res" >&5
7522 echo "${ECHO_T}$ac_res" >&6; }
7523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7524 cat >>confdefs.h <<_ACEOF
7525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7526 _ACEOF
7530 done
7534 for ac_header in linux/videodev.h
7536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7541 else
7542 cat >conftest.$ac_ext <<_ACEOF
7543 /* confdefs.h. */
7544 _ACEOF
7545 cat confdefs.h >>conftest.$ac_ext
7546 cat >>conftest.$ac_ext <<_ACEOF
7547 /* end confdefs.h. */
7548 #ifdef HAVE_SYS_TIME_H
7549 #include <sys/time.h>
7550 #endif
7551 #include <sys/types.h>
7552 #ifdef HAVE_ASM_TYPES_H
7553 #include <asm/types.h>
7554 #endif
7556 #include <$ac_header>
7557 _ACEOF
7558 rm -f conftest.$ac_objext
7559 if { (ac_try="$ac_compile"
7560 case "(($ac_try" in
7561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7562 *) ac_try_echo=$ac_try;;
7563 esac
7564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7565 (eval "$ac_compile") 2>conftest.er1
7566 ac_status=$?
7567 grep -v '^ *+' conftest.er1 >conftest.err
7568 rm -f conftest.er1
7569 cat conftest.err >&5
7570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7571 (exit $ac_status); } && {
7572 test -z "$ac_c_werror_flag" ||
7573 test ! -s conftest.err
7574 } && test -s conftest.$ac_objext; then
7575 eval "$as_ac_Header=yes"
7576 else
7577 echo "$as_me: failed program was:" >&5
7578 sed 's/^/| /' conftest.$ac_ext >&5
7580 eval "$as_ac_Header=no"
7583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7585 ac_res=`eval echo '${'$as_ac_Header'}'`
7586 { echo "$as_me:$LINENO: result: $ac_res" >&5
7587 echo "${ECHO_T}$ac_res" >&6; }
7588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7589 cat >>confdefs.h <<_ACEOF
7590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7591 _ACEOF
7595 done
7599 for ac_header in linux/capi.h
7601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7602 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7604 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7605 echo $ECHO_N "(cached) $ECHO_C" >&6
7606 else
7607 cat >conftest.$ac_ext <<_ACEOF
7608 /* confdefs.h. */
7609 _ACEOF
7610 cat confdefs.h >>conftest.$ac_ext
7611 cat >>conftest.$ac_ext <<_ACEOF
7612 /* end confdefs.h. */
7613 #define __user
7615 #include <$ac_header>
7616 _ACEOF
7617 rm -f conftest.$ac_objext
7618 if { (ac_try="$ac_compile"
7619 case "(($ac_try" in
7620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7621 *) ac_try_echo=$ac_try;;
7622 esac
7623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7624 (eval "$ac_compile") 2>conftest.er1
7625 ac_status=$?
7626 grep -v '^ *+' conftest.er1 >conftest.err
7627 rm -f conftest.er1
7628 cat conftest.err >&5
7629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7630 (exit $ac_status); } && {
7631 test -z "$ac_c_werror_flag" ||
7632 test ! -s conftest.err
7633 } && test -s conftest.$ac_objext; then
7634 eval "$as_ac_Header=yes"
7635 else
7636 echo "$as_me: failed program was:" >&5
7637 sed 's/^/| /' conftest.$ac_ext >&5
7639 eval "$as_ac_Header=no"
7642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7644 ac_res=`eval echo '${'$as_ac_Header'}'`
7645 { echo "$as_me:$LINENO: result: $ac_res" >&5
7646 echo "${ECHO_T}$ac_res" >&6; }
7647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7648 cat >>confdefs.h <<_ACEOF
7649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7650 _ACEOF
7654 done
7658 DLLEXT=""
7660 DLLFLAGS="-D_REENTRANT"
7662 LDSHARED=""
7664 LDDLLFLAGS=""
7666 LIBEXT="so"
7668 IMPLIBEXT="def"
7670 LDRPATH_INSTALL=""
7672 LDRPATH_LOCAL=""
7674 # Extract the first word of "ldd", so it can be a program name with args.
7675 set dummy ldd; ac_word=$2
7676 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7677 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7678 if test "${ac_cv_path_LDD+set}" = set; then
7679 echo $ECHO_N "(cached) $ECHO_C" >&6
7680 else
7681 case $LDD in
7682 [\\/]* | ?:[\\/]*)
7683 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 as_dummy="/sbin:/usr/sbin:$PATH"
7688 for as_dir in $as_dummy
7690 IFS=$as_save_IFS
7691 test -z "$as_dir" && as_dir=.
7692 for ac_exec_ext in '' $ac_executable_extensions; do
7693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7694 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7696 break 2
7698 done
7699 done
7700 IFS=$as_save_IFS
7702 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7704 esac
7706 LDD=$ac_cv_path_LDD
7707 if test -n "$LDD"; then
7708 { echo "$as_me:$LINENO: result: $LDD" >&5
7709 echo "${ECHO_T}$LDD" >&6; }
7710 else
7711 { echo "$as_me:$LINENO: result: no" >&5
7712 echo "${ECHO_T}no" >&6; }
7717 case $host_os in
7718 cygwin*|mingw32*)
7719 if test -n "$ac_tool_prefix"; then
7720 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7721 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7724 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7725 echo $ECHO_N "(cached) $ECHO_C" >&6
7726 else
7727 if test -n "$DLLTOOL"; then
7728 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7729 else
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 for as_dir in $PATH
7733 IFS=$as_save_IFS
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7737 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 break 2
7741 done
7742 done
7743 IFS=$as_save_IFS
7747 DLLTOOL=$ac_cv_prog_DLLTOOL
7748 if test -n "$DLLTOOL"; then
7749 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7750 echo "${ECHO_T}$DLLTOOL" >&6; }
7751 else
7752 { echo "$as_me:$LINENO: result: no" >&5
7753 echo "${ECHO_T}no" >&6; }
7758 if test -z "$ac_cv_prog_DLLTOOL"; then
7759 ac_ct_DLLTOOL=$DLLTOOL
7760 # Extract the first word of "dlltool", so it can be a program name with args.
7761 set dummy dlltool; ac_word=$2
7762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7764 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7765 echo $ECHO_N "(cached) $ECHO_C" >&6
7766 else
7767 if test -n "$ac_ct_DLLTOOL"; then
7768 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7769 else
7770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7771 for as_dir in $PATH
7773 IFS=$as_save_IFS
7774 test -z "$as_dir" && as_dir=.
7775 for ac_exec_ext in '' $ac_executable_extensions; do
7776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7777 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7779 break 2
7781 done
7782 done
7783 IFS=$as_save_IFS
7787 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7788 if test -n "$ac_ct_DLLTOOL"; then
7789 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7790 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7791 else
7792 { echo "$as_me:$LINENO: result: no" >&5
7793 echo "${ECHO_T}no" >&6; }
7796 if test "x$ac_ct_DLLTOOL" = x; then
7797 DLLTOOL="false"
7798 else
7799 case $cross_compiling:$ac_tool_warned in
7800 yes:)
7801 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7802 whose name does not start with the host triplet. If you think this
7803 configuration is useful to you, please write to autoconf@gnu.org." >&5
7804 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7805 whose name does not start with the host triplet. If you think this
7806 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7807 ac_tool_warned=yes ;;
7808 esac
7809 DLLTOOL=$ac_ct_DLLTOOL
7811 else
7812 DLLTOOL="$ac_cv_prog_DLLTOOL"
7815 if test -n "$ac_tool_prefix"; then
7816 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7817 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7820 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7821 echo $ECHO_N "(cached) $ECHO_C" >&6
7822 else
7823 if test -n "$DLLWRAP"; then
7824 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7825 else
7826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7827 for as_dir in $PATH
7829 IFS=$as_save_IFS
7830 test -z "$as_dir" && as_dir=.
7831 for ac_exec_ext in '' $ac_executable_extensions; do
7832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7833 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7835 break 2
7837 done
7838 done
7839 IFS=$as_save_IFS
7843 DLLWRAP=$ac_cv_prog_DLLWRAP
7844 if test -n "$DLLWRAP"; then
7845 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7846 echo "${ECHO_T}$DLLWRAP" >&6; }
7847 else
7848 { echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6; }
7854 if test -z "$ac_cv_prog_DLLWRAP"; then
7855 ac_ct_DLLWRAP=$DLLWRAP
7856 # Extract the first word of "dllwrap", so it can be a program name with args.
7857 set dummy dllwrap; ac_word=$2
7858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7860 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7861 echo $ECHO_N "(cached) $ECHO_C" >&6
7862 else
7863 if test -n "$ac_ct_DLLWRAP"; then
7864 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7865 else
7866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7867 for as_dir in $PATH
7869 IFS=$as_save_IFS
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7873 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 break 2
7877 done
7878 done
7879 IFS=$as_save_IFS
7883 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7884 if test -n "$ac_ct_DLLWRAP"; then
7885 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7886 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7887 else
7888 { echo "$as_me:$LINENO: result: no" >&5
7889 echo "${ECHO_T}no" >&6; }
7892 if test "x$ac_ct_DLLWRAP" = x; then
7893 DLLWRAP="false"
7894 else
7895 case $cross_compiling:$ac_tool_warned in
7896 yes:)
7897 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7898 whose name does not start with the host triplet. If you think this
7899 configuration is useful to you, please write to autoconf@gnu.org." >&5
7900 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7901 whose name does not start with the host triplet. If you think this
7902 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7903 ac_tool_warned=yes ;;
7904 esac
7905 DLLWRAP=$ac_ct_DLLWRAP
7907 else
7908 DLLWRAP="$ac_cv_prog_DLLWRAP"
7911 if test -n "$ac_tool_prefix"; then
7912 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7913 set dummy ${ac_tool_prefix}ar; ac_word=$2
7914 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7916 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7917 echo $ECHO_N "(cached) $ECHO_C" >&6
7918 else
7919 if test -n "$MINGWAR"; then
7920 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7921 else
7922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7923 for as_dir in $PATH
7925 IFS=$as_save_IFS
7926 test -z "$as_dir" && as_dir=.
7927 for ac_exec_ext in '' $ac_executable_extensions; do
7928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7929 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7930 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7931 break 2
7933 done
7934 done
7935 IFS=$as_save_IFS
7939 MINGWAR=$ac_cv_prog_MINGWAR
7940 if test -n "$MINGWAR"; then
7941 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
7942 echo "${ECHO_T}$MINGWAR" >&6; }
7943 else
7944 { echo "$as_me:$LINENO: result: no" >&5
7945 echo "${ECHO_T}no" >&6; }
7950 if test -z "$ac_cv_prog_MINGWAR"; then
7951 ac_ct_MINGWAR=$MINGWAR
7952 # Extract the first word of "ar", so it can be a program name with args.
7953 set dummy ar; ac_word=$2
7954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7956 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
7957 echo $ECHO_N "(cached) $ECHO_C" >&6
7958 else
7959 if test -n "$ac_ct_MINGWAR"; then
7960 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
7961 else
7962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7963 for as_dir in $PATH
7965 IFS=$as_save_IFS
7966 test -z "$as_dir" && as_dir=.
7967 for ac_exec_ext in '' $ac_executable_extensions; do
7968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7969 ac_cv_prog_ac_ct_MINGWAR="ar"
7970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 break 2
7973 done
7974 done
7975 IFS=$as_save_IFS
7979 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
7980 if test -n "$ac_ct_MINGWAR"; then
7981 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
7982 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
7983 else
7984 { echo "$as_me:$LINENO: result: no" >&5
7985 echo "${ECHO_T}no" >&6; }
7988 if test "x$ac_ct_MINGWAR" = x; then
7989 MINGWAR="false"
7990 else
7991 case $cross_compiling:$ac_tool_warned in
7992 yes:)
7993 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7994 whose name does not start with the host triplet. If you think this
7995 configuration is useful to you, please write to autoconf@gnu.org." >&5
7996 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7997 whose name does not start with the host triplet. If you think this
7998 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7999 ac_tool_warned=yes ;;
8000 esac
8001 MINGWAR=$ac_ct_MINGWAR
8003 else
8004 MINGWAR="$ac_cv_prog_MINGWAR"
8007 if test "$DLLWRAP" = "false"; then
8008 LIBEXT="a"
8009 else
8010 LIBEXT="dll"
8012 IMPLIBEXT="a"
8013 WIN16_FILES=""
8014 WIN16_INSTALL=""
8016 darwin*|macosx*)
8017 DLLEXT=".so"
8018 LIBEXT="dylib"
8019 DLLFLAGS="$DLLFLAGS -fPIC"
8020 LDDLLFLAGS="-bundle -multiply_defined suppress"
8021 LIBWINE_LDFLAGS="-multiply_defined suppress"
8022 LDSHARED="\$(CC) -dynamiclib"
8023 STRIP="$STRIP -x"
8024 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8025 COREFOUNDATIONLIB="-framework CoreFoundation"
8027 IOKITLIB="-framework IOKit -framework CoreFoundation"
8029 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8031 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8032 then
8033 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8036 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8037 then
8038 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8041 case $host_cpu in
8042 *powerpc*)
8043 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8044 esac
8045 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8046 then
8047 CARBONLIB="-framework Carbon"
8049 QUARTZFILES='$(QUARTZFILES)'
8053 DLLFLAGS="$DLLFLAGS -fPIC"
8054 DLLEXT=".so"
8055 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8056 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8057 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8058 echo $ECHO_N "(cached) $ECHO_C" >&6
8059 else
8060 ac_wine_try_cflags_saved=$CFLAGS
8061 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8062 cat >conftest.$ac_ext <<_ACEOF
8063 void myfunc() {}
8064 _ACEOF
8065 rm -f conftest.$ac_objext conftest$ac_exeext
8066 if { (ac_try="$ac_link"
8067 case "(($ac_try" in
8068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8069 *) ac_try_echo=$ac_try;;
8070 esac
8071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8072 (eval "$ac_link") 2>conftest.er1
8073 ac_status=$?
8074 grep -v '^ *+' conftest.er1 >conftest.err
8075 rm -f conftest.er1
8076 cat conftest.err >&5
8077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078 (exit $ac_status); } && {
8079 test -z "$ac_c_werror_flag" ||
8080 test ! -s conftest.err
8081 } && test -s conftest$ac_exeext &&
8082 $as_test_x conftest$ac_exeext; then
8083 ac_cv_c_dll_gnuelf="yes"
8084 else
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.$ac_ext >&5
8088 ac_cv_c_dll_gnuelf="no"
8091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8092 conftest$ac_exeext conftest.$ac_ext
8093 CFLAGS=$ac_wine_try_cflags_saved
8095 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8096 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8097 if test "$ac_cv_c_dll_gnuelf" = "yes"
8098 then
8099 LDSHARED="\$(CC) -shared"
8100 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8101 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8102 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8103 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8104 echo $ECHO_N "(cached) $ECHO_C" >&6
8105 else
8106 ac_wine_try_cflags_saved=$CFLAGS
8107 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8108 cat >conftest.$ac_ext <<_ACEOF
8109 /* confdefs.h. */
8110 _ACEOF
8111 cat confdefs.h >>conftest.$ac_ext
8112 cat >>conftest.$ac_ext <<_ACEOF
8113 /* end confdefs.h. */
8116 main ()
8120 return 0;
8122 _ACEOF
8123 rm -f conftest.$ac_objext conftest$ac_exeext
8124 if { (ac_try="$ac_link"
8125 case "(($ac_try" in
8126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;;
8128 esac
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_link") 2>conftest.er1
8131 ac_status=$?
8132 grep -v '^ *+' conftest.er1 >conftest.err
8133 rm -f conftest.er1
8134 cat conftest.err >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } && {
8137 test -z "$ac_c_werror_flag" ||
8138 test ! -s conftest.err
8139 } && test -s conftest$ac_exeext &&
8140 $as_test_x conftest$ac_exeext; then
8141 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8142 else
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.$ac_ext >&5
8146 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8150 conftest$ac_exeext conftest.$ac_ext
8151 CFLAGS=$ac_wine_try_cflags_saved
8153 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8154 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8155 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8156 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8157 else
8158 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8159 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8160 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8161 echo $ECHO_N "(cached) $ECHO_C" >&6
8162 else
8163 ac_wine_try_cflags_saved=$CFLAGS
8164 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8165 cat >conftest.$ac_ext <<_ACEOF
8166 /* confdefs.h. */
8167 _ACEOF
8168 cat confdefs.h >>conftest.$ac_ext
8169 cat >>conftest.$ac_ext <<_ACEOF
8170 /* end confdefs.h. */
8173 main ()
8177 return 0;
8179 _ACEOF
8180 rm -f conftest.$ac_objext conftest$ac_exeext
8181 if { (ac_try="$ac_link"
8182 case "(($ac_try" in
8183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8184 *) ac_try_echo=$ac_try;;
8185 esac
8186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8187 (eval "$ac_link") 2>conftest.er1
8188 ac_status=$?
8189 grep -v '^ *+' conftest.er1 >conftest.err
8190 rm -f conftest.er1
8191 cat conftest.err >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); } && {
8194 test -z "$ac_c_werror_flag" ||
8195 test ! -s conftest.err
8196 } && test -s conftest$ac_exeext &&
8197 $as_test_x conftest$ac_exeext; then
8198 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8199 else
8200 echo "$as_me: failed program was:" >&5
8201 sed 's/^/| /' conftest.$ac_ext >&5
8203 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8207 conftest$ac_exeext conftest.$ac_ext
8208 CFLAGS=$ac_wine_try_cflags_saved
8210 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8211 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8212 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8213 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8219 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8220 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8221 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8222 echo $ECHO_N "(cached) $ECHO_C" >&6
8223 else
8224 ac_wine_try_cflags_saved=$CFLAGS
8225 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8226 cat >conftest.$ac_ext <<_ACEOF
8227 /* confdefs.h. */
8228 _ACEOF
8229 cat confdefs.h >>conftest.$ac_ext
8230 cat >>conftest.$ac_ext <<_ACEOF
8231 /* end confdefs.h. */
8234 main ()
8238 return 0;
8240 _ACEOF
8241 rm -f conftest.$ac_objext conftest$ac_exeext
8242 if { (ac_try="$ac_link"
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_link") 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_exeext &&
8258 $as_test_x conftest$ac_exeext; then
8259 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8260 else
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.$ac_ext >&5
8264 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8268 conftest$ac_exeext conftest.$ac_ext
8269 CFLAGS=$ac_wine_try_cflags_saved
8271 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8272 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8273 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8274 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8278 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8279 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8280 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8281 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 else
8283 ac_wine_try_cflags_saved=$CFLAGS
8284 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8285 cat >conftest.$ac_ext <<_ACEOF
8286 /* confdefs.h. */
8287 _ACEOF
8288 cat confdefs.h >>conftest.$ac_ext
8289 cat >>conftest.$ac_ext <<_ACEOF
8290 /* end confdefs.h. */
8293 main ()
8297 return 0;
8299 _ACEOF
8300 rm -f conftest.$ac_objext conftest$ac_exeext
8301 if { (ac_try="$ac_link"
8302 case "(($ac_try" in
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8305 esac
8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8307 (eval "$ac_link") 2>conftest.er1
8308 ac_status=$?
8309 grep -v '^ *+' conftest.er1 >conftest.err
8310 rm -f conftest.er1
8311 cat conftest.err >&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); } && {
8314 test -z "$ac_c_werror_flag" ||
8315 test ! -s conftest.err
8316 } && test -s conftest$ac_exeext &&
8317 $as_test_x conftest$ac_exeext; then
8318 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8319 else
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.$ac_ext >&5
8323 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8327 conftest$ac_exeext conftest.$ac_ext
8328 CFLAGS=$ac_wine_try_cflags_saved
8330 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8331 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8332 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8333 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8337 echo '{ global: *; };' >conftest.map
8338 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8339 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8340 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8341 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 else
8343 ac_wine_try_cflags_saved=$CFLAGS
8344 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8345 cat >conftest.$ac_ext <<_ACEOF
8346 /* confdefs.h. */
8347 _ACEOF
8348 cat confdefs.h >>conftest.$ac_ext
8349 cat >>conftest.$ac_ext <<_ACEOF
8350 /* end confdefs.h. */
8353 main ()
8357 return 0;
8359 _ACEOF
8360 rm -f conftest.$ac_objext conftest$ac_exeext
8361 if { (ac_try="$ac_link"
8362 case "(($ac_try" in
8363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8364 *) ac_try_echo=$ac_try;;
8365 esac
8366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8367 (eval "$ac_link") 2>conftest.er1
8368 ac_status=$?
8369 grep -v '^ *+' conftest.er1 >conftest.err
8370 rm -f conftest.er1
8371 cat conftest.err >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); } && {
8374 test -z "$ac_c_werror_flag" ||
8375 test ! -s conftest.err
8376 } && test -s conftest$ac_exeext &&
8377 $as_test_x conftest$ac_exeext; then
8378 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8379 else
8380 echo "$as_me: failed program was:" >&5
8381 sed 's/^/| /' conftest.$ac_ext >&5
8383 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8387 conftest$ac_exeext conftest.$ac_ext
8388 CFLAGS=$ac_wine_try_cflags_saved
8390 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8391 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8392 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8393 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8396 rm -f conftest.map
8398 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8399 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8400 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8401 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 else
8403 ac_wine_try_cflags_saved=$CFLAGS
8404 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8405 cat >conftest.$ac_ext <<_ACEOF
8406 /* confdefs.h. */
8407 _ACEOF
8408 cat confdefs.h >>conftest.$ac_ext
8409 cat >>conftest.$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8413 main ()
8417 return 0;
8419 _ACEOF
8420 rm -f conftest.$ac_objext conftest$ac_exeext
8421 if { (ac_try="$ac_link"
8422 case "(($ac_try" in
8423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8424 *) ac_try_echo=$ac_try;;
8425 esac
8426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8427 (eval "$ac_link") 2>conftest.er1
8428 ac_status=$?
8429 grep -v '^ *+' conftest.er1 >conftest.err
8430 rm -f conftest.er1
8431 cat conftest.err >&5
8432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433 (exit $ac_status); } && {
8434 test -z "$ac_c_werror_flag" ||
8435 test ! -s conftest.err
8436 } && test -s conftest$ac_exeext &&
8437 $as_test_x conftest$ac_exeext; then
8438 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8439 else
8440 echo "$as_me: failed program was:" >&5
8441 sed 's/^/| /' conftest.$ac_ext >&5
8443 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8447 conftest$ac_exeext conftest.$ac_ext
8448 CFLAGS=$ac_wine_try_cflags_saved
8450 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8451 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8452 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8453 LDEXECFLAGS="-Wl,--export-dynamic"
8458 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8459 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8460 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8461 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8462 echo $ECHO_N "(cached) $ECHO_C" >&6
8463 else
8464 ac_wine_try_cflags_saved=$CFLAGS
8465 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8466 cat >conftest.$ac_ext <<_ACEOF
8467 /* confdefs.h. */
8468 _ACEOF
8469 cat confdefs.h >>conftest.$ac_ext
8470 cat >>conftest.$ac_ext <<_ACEOF
8471 /* end confdefs.h. */
8474 main ()
8478 return 0;
8480 _ACEOF
8481 rm -f conftest.$ac_objext conftest$ac_exeext
8482 if { (ac_try="$ac_link"
8483 case "(($ac_try" in
8484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8485 *) ac_try_echo=$ac_try;;
8486 esac
8487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8488 (eval "$ac_link") 2>conftest.er1
8489 ac_status=$?
8490 grep -v '^ *+' conftest.er1 >conftest.err
8491 rm -f conftest.er1
8492 cat conftest.err >&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } && {
8495 test -z "$ac_c_werror_flag" ||
8496 test ! -s conftest.err
8497 } && test -s conftest$ac_exeext &&
8498 $as_test_x conftest$ac_exeext; then
8499 eval "$as_ac_var=yes"
8500 else
8501 echo "$as_me: failed program was:" >&5
8502 sed 's/^/| /' conftest.$ac_ext >&5
8504 eval "$as_ac_var=no"
8507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8508 conftest$ac_exeext conftest.$ac_ext
8509 CFLAGS=$ac_wine_try_cflags_saved
8511 ac_res=`eval echo '${'$as_ac_var'}'`
8512 { echo "$as_me:$LINENO: result: $ac_res" >&5
8513 echo "${ECHO_T}$ac_res" >&6; }
8514 if test `eval echo '${'$as_ac_var'}'` = yes; then
8515 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8516 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8517 else
8518 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8519 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8520 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8521 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8522 echo $ECHO_N "(cached) $ECHO_C" >&6
8523 else
8524 ac_wine_try_cflags_saved=$CFLAGS
8525 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8526 cat >conftest.$ac_ext <<_ACEOF
8527 /* confdefs.h. */
8528 _ACEOF
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8534 main ()
8538 return 0;
8540 _ACEOF
8541 rm -f conftest.$ac_objext conftest$ac_exeext
8542 if { (ac_try="$ac_link"
8543 case "(($ac_try" in
8544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8545 *) ac_try_echo=$ac_try;;
8546 esac
8547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8548 (eval "$ac_link") 2>conftest.er1
8549 ac_status=$?
8550 grep -v '^ *+' conftest.er1 >conftest.err
8551 rm -f conftest.er1
8552 cat conftest.err >&5
8553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8554 (exit $ac_status); } && {
8555 test -z "$ac_c_werror_flag" ||
8556 test ! -s conftest.err
8557 } && test -s conftest$ac_exeext &&
8558 $as_test_x conftest$ac_exeext; then
8559 eval "$as_ac_var=yes"
8560 else
8561 echo "$as_me: failed program was:" >&5
8562 sed 's/^/| /' conftest.$ac_ext >&5
8564 eval "$as_ac_var=no"
8567 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8568 conftest$ac_exeext conftest.$ac_ext
8569 CFLAGS=$ac_wine_try_cflags_saved
8571 ac_res=`eval echo '${'$as_ac_var'}'`
8572 { echo "$as_me:$LINENO: result: $ac_res" >&5
8573 echo "${ECHO_T}$ac_res" >&6; }
8574 if test `eval echo '${'$as_ac_var'}'` = yes; then
8575 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8576 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8582 case $host_cpu in
8583 *i[3456789]86* | x86_64)
8584 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8585 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8586 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8588 else
8589 ac_wine_try_cflags_saved=$CFLAGS
8590 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8591 cat >conftest.$ac_ext <<_ACEOF
8592 /* confdefs.h. */
8593 _ACEOF
8594 cat confdefs.h >>conftest.$ac_ext
8595 cat >>conftest.$ac_ext <<_ACEOF
8596 /* end confdefs.h. */
8599 main ()
8603 return 0;
8605 _ACEOF
8606 rm -f conftest.$ac_objext conftest$ac_exeext
8607 if { (ac_try="$ac_link"
8608 case "(($ac_try" in
8609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8610 *) ac_try_echo=$ac_try;;
8611 esac
8612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8613 (eval "$ac_link") 2>conftest.er1
8614 ac_status=$?
8615 grep -v '^ *+' conftest.er1 >conftest.err
8616 rm -f conftest.er1
8617 cat conftest.err >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); } && {
8620 test -z "$ac_c_werror_flag" ||
8621 test ! -s conftest.err
8622 } && test -s conftest$ac_exeext &&
8623 $as_test_x conftest$ac_exeext; then
8624 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8625 else
8626 echo "$as_me: failed program was:" >&5
8627 sed 's/^/| /' conftest.$ac_ext >&5
8629 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8633 conftest$ac_exeext conftest.$ac_ext
8634 CFLAGS=$ac_wine_try_cflags_saved
8636 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8637 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8638 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8639 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8643 esac
8645 else
8646 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8647 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8648 if test "${ac_cv_c_dll_unixware+set}" = set; then
8649 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8653 cat >conftest.$ac_ext <<_ACEOF
8654 void myfunc() {}
8655 _ACEOF
8656 rm -f conftest.$ac_objext conftest$ac_exeext
8657 if { (ac_try="$ac_link"
8658 case "(($ac_try" in
8659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8660 *) ac_try_echo=$ac_try;;
8661 esac
8662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8663 (eval "$ac_link") 2>conftest.er1
8664 ac_status=$?
8665 grep -v '^ *+' conftest.er1 >conftest.err
8666 rm -f conftest.er1
8667 cat conftest.err >&5
8668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8669 (exit $ac_status); } && {
8670 test -z "$ac_c_werror_flag" ||
8671 test ! -s conftest.err
8672 } && test -s conftest$ac_exeext &&
8673 $as_test_x conftest$ac_exeext; then
8674 ac_cv_c_dll_unixware="yes"
8675 else
8676 echo "$as_me: failed program was:" >&5
8677 sed 's/^/| /' conftest.$ac_ext >&5
8679 ac_cv_c_dll_unixware="no"
8682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8683 conftest$ac_exeext conftest.$ac_ext
8684 CFLAGS=$ac_wine_try_cflags_saved
8686 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8687 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8688 if test "$ac_cv_c_dll_unixware" = "yes"
8689 then
8690 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8691 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8693 else
8694 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8695 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8696 if test "${ac_cv_c_dll_hpux+set}" = set; then
8697 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -shared"
8701 cat >conftest.$ac_ext <<_ACEOF
8702 void myfunc() {}
8703 _ACEOF
8704 rm -f conftest.$ac_objext conftest$ac_exeext
8705 if { (ac_try="$ac_link"
8706 case "(($ac_try" in
8707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8708 *) ac_try_echo=$ac_try;;
8709 esac
8710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8711 (eval "$ac_link") 2>conftest.er1
8712 ac_status=$?
8713 grep -v '^ *+' conftest.er1 >conftest.err
8714 rm -f conftest.er1
8715 cat conftest.err >&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && {
8718 test -z "$ac_c_werror_flag" ||
8719 test ! -s conftest.err
8720 } && test -s conftest$ac_exeext &&
8721 $as_test_x conftest$ac_exeext; then
8722 ac_cv_c_dll_hpux="yes"
8723 else
8724 echo "$as_me: failed program was:" >&5
8725 sed 's/^/| /' conftest.$ac_ext >&5
8727 ac_cv_c_dll_hpux="no"
8730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8731 conftest$ac_exeext conftest.$ac_ext
8732 CFLAGS=$ac_wine_try_cflags_saved
8734 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8735 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8736 if test "$ac_cv_c_dll_hpux" = "yes"
8737 then
8738 LIBEXT="sl"
8739 DLLEXT=".sl"
8740 LDDLLFLAGS="-shared -fPIC"
8741 LDSHARED="\$(CC) -shared"
8746 CROSSTEST=""
8748 if test "$cross_compiling" = "no"
8749 then
8750 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8752 # Extract the first word of "$ac_prog", so it can be a program name with args.
8753 set dummy $ac_prog; ac_word=$2
8754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8756 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8757 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 else
8759 if test -n "$CROSSCC"; then
8760 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8761 else
8762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8763 for as_dir in $PATH
8765 IFS=$as_save_IFS
8766 test -z "$as_dir" && as_dir=.
8767 for ac_exec_ext in '' $ac_executable_extensions; do
8768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8769 ac_cv_prog_CROSSCC="$ac_prog"
8770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8771 break 2
8773 done
8774 done
8775 IFS=$as_save_IFS
8779 CROSSCC=$ac_cv_prog_CROSSCC
8780 if test -n "$CROSSCC"; then
8781 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8782 echo "${ECHO_T}$CROSSCC" >&6; }
8783 else
8784 { echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6; }
8789 test -n "$CROSSCC" && break
8790 done
8791 test -n "$CROSSCC" || CROSSCC="false"
8793 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8795 # Extract the first word of "$ac_prog", so it can be a program name with args.
8796 set dummy $ac_prog; ac_word=$2
8797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8799 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8800 echo $ECHO_N "(cached) $ECHO_C" >&6
8801 else
8802 if test -n "$DLLTOOL"; then
8803 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8804 else
8805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8806 for as_dir in $PATH
8808 IFS=$as_save_IFS
8809 test -z "$as_dir" && as_dir=.
8810 for ac_exec_ext in '' $ac_executable_extensions; do
8811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8812 ac_cv_prog_DLLTOOL="$ac_prog"
8813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8814 break 2
8816 done
8817 done
8818 IFS=$as_save_IFS
8822 DLLTOOL=$ac_cv_prog_DLLTOOL
8823 if test -n "$DLLTOOL"; then
8824 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8825 echo "${ECHO_T}$DLLTOOL" >&6; }
8826 else
8827 { echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6; }
8832 test -n "$DLLTOOL" && break
8833 done
8834 test -n "$DLLTOOL" || DLLTOOL="false"
8836 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8838 # Extract the first word of "$ac_prog", so it can be a program name with args.
8839 set dummy $ac_prog; ac_word=$2
8840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8842 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8843 echo $ECHO_N "(cached) $ECHO_C" >&6
8844 else
8845 if test -n "$CROSSWINDRES"; then
8846 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8847 else
8848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8849 for as_dir in $PATH
8851 IFS=$as_save_IFS
8852 test -z "$as_dir" && as_dir=.
8853 for ac_exec_ext in '' $ac_executable_extensions; do
8854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8855 ac_cv_prog_CROSSWINDRES="$ac_prog"
8856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8857 break 2
8859 done
8860 done
8861 IFS=$as_save_IFS
8865 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8866 if test -n "$CROSSWINDRES"; then
8867 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8868 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8869 else
8870 { echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6; }
8875 test -n "$CROSSWINDRES" && break
8876 done
8877 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8879 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8881 # Extract the first word of "$ac_prog", so it can be a program name with args.
8882 set dummy $ac_prog; ac_word=$2
8883 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8885 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8887 else
8888 if test -n "$MINGWAR"; then
8889 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8890 else
8891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8892 for as_dir in $PATH
8894 IFS=$as_save_IFS
8895 test -z "$as_dir" && as_dir=.
8896 for ac_exec_ext in '' $ac_executable_extensions; do
8897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8898 ac_cv_prog_MINGWAR="$ac_prog"
8899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8900 break 2
8902 done
8903 done
8904 IFS=$as_save_IFS
8908 MINGWAR=$ac_cv_prog_MINGWAR
8909 if test -n "$MINGWAR"; then
8910 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8911 echo "${ECHO_T}$MINGWAR" >&6; }
8912 else
8913 { echo "$as_me:$LINENO: result: no" >&5
8914 echo "${ECHO_T}no" >&6; }
8918 test -n "$MINGWAR" && break
8919 done
8920 test -n "$MINGWAR" || MINGWAR="false"
8922 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
8925 esac
8927 if test "$LIBEXT" = "a"; then
8928 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
8929 It is currently not possible to build Wine without shared library
8930 (.so) support to allow transparent switch between .so and .dll files.
8931 If you are using Linux, you will need a newer binutils.
8932 " >&5
8933 echo "$as_me: error: could not find a way to build shared libraries.
8934 It is currently not possible to build Wine without shared library
8935 (.so) support to allow transparent switch between .so and .dll files.
8936 If you are using Linux, you will need a newer binutils.
8937 " >&2;}
8938 { (exit 1); exit 1; }; }
8942 if test "$have_x" = "yes"
8943 then
8944 XLIB="-lXext -lX11"
8945 ac_save_CPPFLAGS="$CPPFLAGS"
8946 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8948 { echo "$as_me:$LINENO: checking for -lX11" >&5
8949 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
8950 if test "${ac_cv_lib_soname_X11+set}" = set; then
8951 echo $ECHO_N "(cached) $ECHO_C" >&6
8952 else
8953 ac_check_soname_save_LIBS=$LIBS
8954 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8955 cat >conftest.$ac_ext <<_ACEOF
8956 /* confdefs.h. */
8957 _ACEOF
8958 cat confdefs.h >>conftest.$ac_ext
8959 cat >>conftest.$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8962 /* Override any GCC internal prototype to avoid an error.
8963 Use char because int might match the return type of a GCC
8964 builtin and then its argument prototype would still apply. */
8965 #ifdef __cplusplus
8966 extern "C"
8967 #endif
8968 char XCreateWindow ();
8970 main ()
8972 return XCreateWindow ();
8974 return 0;
8976 _ACEOF
8977 rm -f conftest.$ac_objext conftest$ac_exeext
8978 if { (ac_try="$ac_link"
8979 case "(($ac_try" in
8980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8981 *) ac_try_echo=$ac_try;;
8982 esac
8983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8984 (eval "$ac_link") 2>conftest.er1
8985 ac_status=$?
8986 grep -v '^ *+' conftest.er1 >conftest.err
8987 rm -f conftest.er1
8988 cat conftest.err >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); } && {
8991 test -z "$ac_c_werror_flag" ||
8992 test ! -s conftest.err
8993 } && test -s conftest$ac_exeext &&
8994 $as_test_x conftest$ac_exeext; then
8995 case "$LIBEXT" in
8996 dll) ;;
8997 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'` ;;
8998 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8999 esac
9000 else
9001 echo "$as_me: failed program was:" >&5
9002 sed 's/^/| /' conftest.$ac_ext >&5
9007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9008 conftest$ac_exeext conftest.$ac_ext
9009 LIBS=$ac_check_soname_save_LIBS
9011 if test "x$ac_cv_lib_soname_X11" = "x"; then
9012 { echo "$as_me:$LINENO: result: not found" >&5
9013 echo "${ECHO_T}not found" >&6; }
9015 else
9016 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
9017 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
9019 cat >>confdefs.h <<_ACEOF
9020 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9021 _ACEOF
9026 { echo "$as_me:$LINENO: checking for -lXext" >&5
9027 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
9028 if test "${ac_cv_lib_soname_Xext+set}" = set; then
9029 echo $ECHO_N "(cached) $ECHO_C" >&6
9030 else
9031 ac_check_soname_save_LIBS=$LIBS
9032 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9033 cat >conftest.$ac_ext <<_ACEOF
9034 /* confdefs.h. */
9035 _ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h. */
9040 /* Override any GCC internal prototype to avoid an error.
9041 Use char because int might match the return type of a GCC
9042 builtin and then its argument prototype would still apply. */
9043 #ifdef __cplusplus
9044 extern "C"
9045 #endif
9046 char XextCreateExtension ();
9048 main ()
9050 return XextCreateExtension ();
9052 return 0;
9054 _ACEOF
9055 rm -f conftest.$ac_objext conftest$ac_exeext
9056 if { (ac_try="$ac_link"
9057 case "(($ac_try" in
9058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9059 *) ac_try_echo=$ac_try;;
9060 esac
9061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9062 (eval "$ac_link") 2>conftest.er1
9063 ac_status=$?
9064 grep -v '^ *+' conftest.er1 >conftest.err
9065 rm -f conftest.er1
9066 cat conftest.err >&5
9067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9068 (exit $ac_status); } && {
9069 test -z "$ac_c_werror_flag" ||
9070 test ! -s conftest.err
9071 } && test -s conftest$ac_exeext &&
9072 $as_test_x conftest$ac_exeext; then
9073 case "$LIBEXT" in
9074 dll) ;;
9075 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'` ;;
9076 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9077 esac
9078 else
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9086 conftest$ac_exeext conftest.$ac_ext
9087 LIBS=$ac_check_soname_save_LIBS
9089 if test "x$ac_cv_lib_soname_Xext" = "x"; then
9090 { echo "$as_me:$LINENO: result: not found" >&5
9091 echo "${ECHO_T}not found" >&6; }
9093 else
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
9095 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
9097 cat >>confdefs.h <<_ACEOF
9098 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9099 _ACEOF
9116 for ac_header in X11/Xlib.h \
9117 X11/XKBlib.h \
9118 X11/Xutil.h \
9119 X11/Xcursor/Xcursor.h \
9120 X11/extensions/shape.h \
9121 X11/extensions/XInput.h \
9122 X11/extensions/XShm.h \
9123 X11/extensions/Xinerama.h \
9124 X11/extensions/Xrandr.h \
9125 X11/extensions/Xrender.h \
9126 X11/extensions/xf86vmode.h
9128 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9129 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9132 echo $ECHO_N "(cached) $ECHO_C" >&6
9133 else
9134 cat >conftest.$ac_ext <<_ACEOF
9135 /* confdefs.h. */
9136 _ACEOF
9137 cat confdefs.h >>conftest.$ac_ext
9138 cat >>conftest.$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9140 #ifdef HAVE_X11_XLIB_H
9141 # include <X11/Xlib.h>
9142 #endif
9143 #ifdef HAVE_X11_XUTIL_H
9144 # include <X11/Xutil.h>
9145 #endif
9147 #include <$ac_header>
9148 _ACEOF
9149 rm -f conftest.$ac_objext
9150 if { (ac_try="$ac_compile"
9151 case "(($ac_try" in
9152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9153 *) ac_try_echo=$ac_try;;
9154 esac
9155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9156 (eval "$ac_compile") 2>conftest.er1
9157 ac_status=$?
9158 grep -v '^ *+' conftest.er1 >conftest.err
9159 rm -f conftest.er1
9160 cat conftest.err >&5
9161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9162 (exit $ac_status); } && {
9163 test -z "$ac_c_werror_flag" ||
9164 test ! -s conftest.err
9165 } && test -s conftest.$ac_objext; then
9166 eval "$as_ac_Header=yes"
9167 else
9168 echo "$as_me: failed program was:" >&5
9169 sed 's/^/| /' conftest.$ac_ext >&5
9171 eval "$as_ac_Header=no"
9174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9176 ac_res=`eval echo '${'$as_ac_Header'}'`
9177 { echo "$as_me:$LINENO: result: $ac_res" >&5
9178 echo "${ECHO_T}$ac_res" >&6; }
9179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9180 cat >>confdefs.h <<_ACEOF
9181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9182 _ACEOF
9186 done
9189 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9190 then
9191 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9192 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9193 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9194 echo $ECHO_N "(cached) $ECHO_C" >&6
9195 else
9196 ac_check_lib_save_LIBS=$LIBS
9197 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9198 cat >conftest.$ac_ext <<_ACEOF
9199 /* confdefs.h. */
9200 _ACEOF
9201 cat confdefs.h >>conftest.$ac_ext
9202 cat >>conftest.$ac_ext <<_ACEOF
9203 /* end confdefs.h. */
9205 /* Override any GCC internal prototype to avoid an error.
9206 Use char because int might match the return type of a GCC
9207 builtin and then its argument prototype would still apply. */
9208 #ifdef __cplusplus
9209 extern "C"
9210 #endif
9211 char XkbQueryExtension ();
9213 main ()
9215 return XkbQueryExtension ();
9217 return 0;
9219 _ACEOF
9220 rm -f conftest.$ac_objext conftest$ac_exeext
9221 if { (ac_try="$ac_link"
9222 case "(($ac_try" in
9223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9224 *) ac_try_echo=$ac_try;;
9225 esac
9226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9227 (eval "$ac_link") 2>conftest.er1
9228 ac_status=$?
9229 grep -v '^ *+' conftest.er1 >conftest.err
9230 rm -f conftest.er1
9231 cat conftest.err >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); } && {
9234 test -z "$ac_c_werror_flag" ||
9235 test ! -s conftest.err
9236 } && test -s conftest$ac_exeext &&
9237 $as_test_x conftest$ac_exeext; then
9238 ac_cv_lib_X11_XkbQueryExtension=yes
9239 else
9240 echo "$as_me: failed program was:" >&5
9241 sed 's/^/| /' conftest.$ac_ext >&5
9243 ac_cv_lib_X11_XkbQueryExtension=no
9246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9247 conftest$ac_exeext conftest.$ac_ext
9248 LIBS=$ac_check_lib_save_LIBS
9250 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9251 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9252 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9254 cat >>confdefs.h <<\_ACEOF
9255 #define HAVE_XKB 1
9256 _ACEOF
9262 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9263 then
9264 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
9265 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
9266 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
9267 echo $ECHO_N "(cached) $ECHO_C" >&6
9268 else
9269 ac_check_soname_save_LIBS=$LIBS
9270 LIBS="-lXcursor $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9271 cat >conftest.$ac_ext <<_ACEOF
9272 /* confdefs.h. */
9273 _ACEOF
9274 cat confdefs.h >>conftest.$ac_ext
9275 cat >>conftest.$ac_ext <<_ACEOF
9276 /* end confdefs.h. */
9278 /* Override any GCC internal prototype to avoid an error.
9279 Use char because int might match the return type of a GCC
9280 builtin and then its argument prototype would still apply. */
9281 #ifdef __cplusplus
9282 extern "C"
9283 #endif
9284 char XcursorImageLoadCursor ();
9286 main ()
9288 return XcursorImageLoadCursor ();
9290 return 0;
9292 _ACEOF
9293 rm -f conftest.$ac_objext conftest$ac_exeext
9294 if { (ac_try="$ac_link"
9295 case "(($ac_try" in
9296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9297 *) ac_try_echo=$ac_try;;
9298 esac
9299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9300 (eval "$ac_link") 2>conftest.er1
9301 ac_status=$?
9302 grep -v '^ *+' conftest.er1 >conftest.err
9303 rm -f conftest.er1
9304 cat conftest.err >&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); } && {
9307 test -z "$ac_c_werror_flag" ||
9308 test ! -s conftest.err
9309 } && test -s conftest$ac_exeext &&
9310 $as_test_x conftest$ac_exeext; then
9311 case "$LIBEXT" in
9312 dll) ;;
9313 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'` ;;
9314 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9315 esac
9316 else
9317 echo "$as_me: failed program was:" >&5
9318 sed 's/^/| /' conftest.$ac_ext >&5
9323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9324 conftest$ac_exeext conftest.$ac_ext
9325 LIBS=$ac_check_soname_save_LIBS
9327 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
9328 { echo "$as_me:$LINENO: result: not found" >&5
9329 echo "${ECHO_T}not found" >&6; }
9331 else
9332 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
9333 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
9335 cat >>confdefs.h <<_ACEOF
9336 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9337 _ACEOF
9344 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9345 then
9346 { echo "$as_me:$LINENO: checking for -lXi" >&5
9347 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
9348 if test "${ac_cv_lib_soname_Xi+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 else
9351 ac_check_soname_save_LIBS=$LIBS
9352 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9353 cat >conftest.$ac_ext <<_ACEOF
9354 /* confdefs.h. */
9355 _ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9360 /* Override any GCC internal prototype to avoid an error.
9361 Use char because int might match the return type of a GCC
9362 builtin and then its argument prototype would still apply. */
9363 #ifdef __cplusplus
9364 extern "C"
9365 #endif
9366 char XOpenDevice ();
9368 main ()
9370 return XOpenDevice ();
9372 return 0;
9374 _ACEOF
9375 rm -f conftest.$ac_objext conftest$ac_exeext
9376 if { (ac_try="$ac_link"
9377 case "(($ac_try" in
9378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9379 *) ac_try_echo=$ac_try;;
9380 esac
9381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9382 (eval "$ac_link") 2>conftest.er1
9383 ac_status=$?
9384 grep -v '^ *+' conftest.er1 >conftest.err
9385 rm -f conftest.er1
9386 cat conftest.err >&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); } && {
9389 test -z "$ac_c_werror_flag" ||
9390 test ! -s conftest.err
9391 } && test -s conftest$ac_exeext &&
9392 $as_test_x conftest$ac_exeext; then
9393 case "$LIBEXT" in
9394 dll) ;;
9395 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'` ;;
9396 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9397 esac
9398 else
9399 echo "$as_me: failed program was:" >&5
9400 sed 's/^/| /' conftest.$ac_ext >&5
9405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9406 conftest$ac_exeext conftest.$ac_ext
9407 LIBS=$ac_check_soname_save_LIBS
9409 if test "x$ac_cv_lib_soname_Xi" = "x"; then
9410 { echo "$as_me:$LINENO: result: not found" >&5
9411 echo "${ECHO_T}not found" >&6; }
9413 else
9414 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
9415 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
9417 cat >>confdefs.h <<_ACEOF
9418 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9419 _ACEOF
9426 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9427 then
9428 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9429 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9430 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9432 else
9433 ac_check_lib_save_LIBS=$LIBS
9434 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9435 cat >conftest.$ac_ext <<_ACEOF
9436 /* confdefs.h. */
9437 _ACEOF
9438 cat confdefs.h >>conftest.$ac_ext
9439 cat >>conftest.$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9445 #ifdef __cplusplus
9446 extern "C"
9447 #endif
9448 char XShmQueryExtension ();
9450 main ()
9452 return XShmQueryExtension ();
9454 return 0;
9456 _ACEOF
9457 rm -f conftest.$ac_objext conftest$ac_exeext
9458 if { (ac_try="$ac_link"
9459 case "(($ac_try" in
9460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9461 *) ac_try_echo=$ac_try;;
9462 esac
9463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9464 (eval "$ac_link") 2>conftest.er1
9465 ac_status=$?
9466 grep -v '^ *+' conftest.er1 >conftest.err
9467 rm -f conftest.er1
9468 cat conftest.err >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); } && {
9471 test -z "$ac_c_werror_flag" ||
9472 test ! -s conftest.err
9473 } && test -s conftest$ac_exeext &&
9474 $as_test_x conftest$ac_exeext; then
9475 ac_cv_lib_Xext_XShmQueryExtension=yes
9476 else
9477 echo "$as_me: failed program was:" >&5
9478 sed 's/^/| /' conftest.$ac_ext >&5
9480 ac_cv_lib_Xext_XShmQueryExtension=no
9483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9484 conftest$ac_exeext conftest.$ac_ext
9485 LIBS=$ac_check_lib_save_LIBS
9487 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9488 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9489 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9491 cat >>confdefs.h <<\_ACEOF
9492 #define HAVE_LIBXXSHM 1
9493 _ACEOF
9499 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9500 then
9501 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9502 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9503 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9505 else
9506 ac_check_lib_save_LIBS=$LIBS
9507 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9508 cat >conftest.$ac_ext <<_ACEOF
9509 /* confdefs.h. */
9510 _ACEOF
9511 cat confdefs.h >>conftest.$ac_ext
9512 cat >>conftest.$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9518 #ifdef __cplusplus
9519 extern "C"
9520 #endif
9521 char XShapeQueryExtension ();
9523 main ()
9525 return XShapeQueryExtension ();
9527 return 0;
9529 _ACEOF
9530 rm -f conftest.$ac_objext conftest$ac_exeext
9531 if { (ac_try="$ac_link"
9532 case "(($ac_try" in
9533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9534 *) ac_try_echo=$ac_try;;
9535 esac
9536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9537 (eval "$ac_link") 2>conftest.er1
9538 ac_status=$?
9539 grep -v '^ *+' conftest.er1 >conftest.err
9540 rm -f conftest.er1
9541 cat conftest.err >&5
9542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9543 (exit $ac_status); } && {
9544 test -z "$ac_c_werror_flag" ||
9545 test ! -s conftest.err
9546 } && test -s conftest$ac_exeext &&
9547 $as_test_x conftest$ac_exeext; then
9548 ac_cv_lib_Xext_XShapeQueryExtension=yes
9549 else
9550 echo "$as_me: failed program was:" >&5
9551 sed 's/^/| /' conftest.$ac_ext >&5
9553 ac_cv_lib_Xext_XShapeQueryExtension=no
9556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9557 conftest$ac_exeext conftest.$ac_ext
9558 LIBS=$ac_check_lib_save_LIBS
9560 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9561 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9562 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9564 cat >>confdefs.h <<\_ACEOF
9565 #define HAVE_LIBXSHAPE 1
9566 _ACEOF
9572 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9573 then
9574 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9575 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9576 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 else
9579 ac_check_lib_save_LIBS=$LIBS
9580 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9581 cat >conftest.$ac_ext <<_ACEOF
9582 /* confdefs.h. */
9583 _ACEOF
9584 cat confdefs.h >>conftest.$ac_ext
9585 cat >>conftest.$ac_ext <<_ACEOF
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9591 #ifdef __cplusplus
9592 extern "C"
9593 #endif
9594 char XF86VidModeQueryExtension ();
9596 main ()
9598 return XF86VidModeQueryExtension ();
9600 return 0;
9602 _ACEOF
9603 rm -f conftest.$ac_objext conftest$ac_exeext
9604 if { (ac_try="$ac_link"
9605 case "(($ac_try" in
9606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9607 *) ac_try_echo=$ac_try;;
9608 esac
9609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9610 (eval "$ac_link") 2>conftest.er1
9611 ac_status=$?
9612 grep -v '^ *+' conftest.er1 >conftest.err
9613 rm -f conftest.er1
9614 cat conftest.err >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); } && {
9617 test -z "$ac_c_werror_flag" ||
9618 test ! -s conftest.err
9619 } && test -s conftest$ac_exeext &&
9620 $as_test_x conftest$ac_exeext; then
9621 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9622 else
9623 echo "$as_me: failed program was:" >&5
9624 sed 's/^/| /' conftest.$ac_ext >&5
9626 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9629 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9630 conftest$ac_exeext conftest.$ac_ext
9631 LIBS=$ac_check_lib_save_LIBS
9633 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9634 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9635 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9637 cat >>confdefs.h <<\_ACEOF
9638 #define HAVE_LIBXXF86VM 1
9639 _ACEOF
9641 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9647 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x" -a "x$ac_cv_lib_soname_Xext" != "x"
9648 then
9649 { echo "$as_me:$LINENO: checking for -lXrender" >&5
9650 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
9651 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
9652 echo $ECHO_N "(cached) $ECHO_C" >&6
9653 else
9654 ac_check_soname_save_LIBS=$LIBS
9655 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9656 cat >conftest.$ac_ext <<_ACEOF
9657 /* confdefs.h. */
9658 _ACEOF
9659 cat confdefs.h >>conftest.$ac_ext
9660 cat >>conftest.$ac_ext <<_ACEOF
9661 /* end confdefs.h. */
9663 /* Override any GCC internal prototype to avoid an error.
9664 Use char because int might match the return type of a GCC
9665 builtin and then its argument prototype would still apply. */
9666 #ifdef __cplusplus
9667 extern "C"
9668 #endif
9669 char XRenderQueryExtension ();
9671 main ()
9673 return XRenderQueryExtension ();
9675 return 0;
9677 _ACEOF
9678 rm -f conftest.$ac_objext conftest$ac_exeext
9679 if { (ac_try="$ac_link"
9680 case "(($ac_try" in
9681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9682 *) ac_try_echo=$ac_try;;
9683 esac
9684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9685 (eval "$ac_link") 2>conftest.er1
9686 ac_status=$?
9687 grep -v '^ *+' conftest.er1 >conftest.err
9688 rm -f conftest.er1
9689 cat conftest.err >&5
9690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9691 (exit $ac_status); } && {
9692 test -z "$ac_c_werror_flag" ||
9693 test ! -s conftest.err
9694 } && test -s conftest$ac_exeext &&
9695 $as_test_x conftest$ac_exeext; then
9696 case "$LIBEXT" in
9697 dll) ;;
9698 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'` ;;
9699 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9700 esac
9701 else
9702 echo "$as_me: failed program was:" >&5
9703 sed 's/^/| /' conftest.$ac_ext >&5
9708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_soname_save_LIBS
9712 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
9713 { echo "$as_me:$LINENO: result: not found" >&5
9714 echo "${ECHO_T}not found" >&6; }
9716 else
9717 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
9718 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
9720 cat >>confdefs.h <<_ACEOF
9721 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
9722 _ACEOF
9724 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9725 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9726 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9727 echo $ECHO_N "(cached) $ECHO_C" >&6
9728 else
9729 ac_check_lib_save_LIBS=$LIBS
9730 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9731 cat >conftest.$ac_ext <<_ACEOF
9732 /* confdefs.h. */
9733 _ACEOF
9734 cat confdefs.h >>conftest.$ac_ext
9735 cat >>conftest.$ac_ext <<_ACEOF
9736 /* end confdefs.h. */
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9741 #ifdef __cplusplus
9742 extern "C"
9743 #endif
9744 char XRenderSetPictureTransform ();
9746 main ()
9748 return XRenderSetPictureTransform ();
9750 return 0;
9752 _ACEOF
9753 rm -f conftest.$ac_objext conftest$ac_exeext
9754 if { (ac_try="$ac_link"
9755 case "(($ac_try" in
9756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9757 *) ac_try_echo=$ac_try;;
9758 esac
9759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9760 (eval "$ac_link") 2>conftest.er1
9761 ac_status=$?
9762 grep -v '^ *+' conftest.er1 >conftest.err
9763 rm -f conftest.er1
9764 cat conftest.err >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } && {
9767 test -z "$ac_c_werror_flag" ||
9768 test ! -s conftest.err
9769 } && test -s conftest$ac_exeext &&
9770 $as_test_x conftest$ac_exeext; then
9771 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9772 else
9773 echo "$as_me: failed program was:" >&5
9774 sed 's/^/| /' conftest.$ac_ext >&5
9776 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9780 conftest$ac_exeext conftest.$ac_ext
9781 LIBS=$ac_check_lib_save_LIBS
9783 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9784 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9785 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9787 cat >>confdefs.h <<\_ACEOF
9788 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9789 _ACEOF
9798 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9799 then
9800 cat >conftest.$ac_ext <<_ACEOF
9801 /* confdefs.h. */
9802 _ACEOF
9803 cat confdefs.h >>conftest.$ac_ext
9804 cat >>conftest.$ac_ext <<_ACEOF
9805 /* end confdefs.h. */
9806 #include <X11/Xlib.h>
9807 #include <X11/extensions/Xrandr.h>
9809 main ()
9811 static typeof(XRRSetScreenConfigAndRate) * func;
9813 return 0;
9815 _ACEOF
9816 rm -f conftest.$ac_objext
9817 if { (ac_try="$ac_compile"
9818 case "(($ac_try" in
9819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9820 *) ac_try_echo=$ac_try;;
9821 esac
9822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9823 (eval "$ac_compile") 2>conftest.er1
9824 ac_status=$?
9825 grep -v '^ *+' conftest.er1 >conftest.err
9826 rm -f conftest.er1
9827 cat conftest.err >&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); } && {
9830 test -z "$ac_c_werror_flag" ||
9831 test ! -s conftest.err
9832 } && test -s conftest.$ac_objext; then
9833 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
9834 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
9835 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
9836 echo $ECHO_N "(cached) $ECHO_C" >&6
9837 else
9838 ac_check_soname_save_LIBS=$LIBS
9839 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9840 cat >conftest.$ac_ext <<_ACEOF
9841 /* confdefs.h. */
9842 _ACEOF
9843 cat confdefs.h >>conftest.$ac_ext
9844 cat >>conftest.$ac_ext <<_ACEOF
9845 /* end confdefs.h. */
9847 /* Override any GCC internal prototype to avoid an error.
9848 Use char because int might match the return type of a GCC
9849 builtin and then its argument prototype would still apply. */
9850 #ifdef __cplusplus
9851 extern "C"
9852 #endif
9853 char XRRQueryExtension ();
9855 main ()
9857 return XRRQueryExtension ();
9859 return 0;
9861 _ACEOF
9862 rm -f conftest.$ac_objext conftest$ac_exeext
9863 if { (ac_try="$ac_link"
9864 case "(($ac_try" in
9865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9866 *) ac_try_echo=$ac_try;;
9867 esac
9868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9869 (eval "$ac_link") 2>conftest.er1
9870 ac_status=$?
9871 grep -v '^ *+' conftest.er1 >conftest.err
9872 rm -f conftest.er1
9873 cat conftest.err >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); } && {
9876 test -z "$ac_c_werror_flag" ||
9877 test ! -s conftest.err
9878 } && test -s conftest$ac_exeext &&
9879 $as_test_x conftest$ac_exeext; then
9880 case "$LIBEXT" in
9881 dll) ;;
9882 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'` ;;
9883 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9884 esac
9885 else
9886 echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9893 conftest$ac_exeext conftest.$ac_ext
9894 LIBS=$ac_check_soname_save_LIBS
9896 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
9897 { echo "$as_me:$LINENO: result: not found" >&5
9898 echo "${ECHO_T}not found" >&6; }
9900 else
9901 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
9902 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
9904 cat >>confdefs.h <<_ACEOF
9905 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9906 _ACEOF
9911 else
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.$ac_ext >&5
9918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9921 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9922 then
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 #include <X11/Xlib.h>
9930 #include <X11/extensions/Xinerama.h>
9932 main ()
9934 static typeof(XineramaQueryScreens) * func;
9936 return 0;
9938 _ACEOF
9939 rm -f conftest.$ac_objext
9940 if { (ac_try="$ac_compile"
9941 case "(($ac_try" in
9942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9943 *) ac_try_echo=$ac_try;;
9944 esac
9945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9946 (eval "$ac_compile") 2>conftest.er1
9947 ac_status=$?
9948 grep -v '^ *+' conftest.er1 >conftest.err
9949 rm -f conftest.er1
9950 cat conftest.err >&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); } && {
9953 test -z "$ac_c_werror_flag" ||
9954 test ! -s conftest.err
9955 } && test -s conftest.$ac_objext; then
9956 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
9957 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
9958 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
9959 echo $ECHO_N "(cached) $ECHO_C" >&6
9960 else
9961 ac_check_soname_save_LIBS=$LIBS
9962 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9963 cat >conftest.$ac_ext <<_ACEOF
9964 /* confdefs.h. */
9965 _ACEOF
9966 cat confdefs.h >>conftest.$ac_ext
9967 cat >>conftest.$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9970 /* Override any GCC internal prototype to avoid an error.
9971 Use char because int might match the return type of a GCC
9972 builtin and then its argument prototype would still apply. */
9973 #ifdef __cplusplus
9974 extern "C"
9975 #endif
9976 char XineramaQueryScreens ();
9978 main ()
9980 return XineramaQueryScreens ();
9982 return 0;
9984 _ACEOF
9985 rm -f conftest.$ac_objext conftest$ac_exeext
9986 if { (ac_try="$ac_link"
9987 case "(($ac_try" in
9988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9989 *) ac_try_echo=$ac_try;;
9990 esac
9991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9992 (eval "$ac_link") 2>conftest.er1
9993 ac_status=$?
9994 grep -v '^ *+' conftest.er1 >conftest.err
9995 rm -f conftest.er1
9996 cat conftest.err >&5
9997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9998 (exit $ac_status); } && {
9999 test -z "$ac_c_werror_flag" ||
10000 test ! -s conftest.err
10001 } && test -s conftest$ac_exeext &&
10002 $as_test_x conftest$ac_exeext; then
10003 case "$LIBEXT" in
10004 dll) ;;
10005 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'` ;;
10006 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10007 esac
10008 else
10009 echo "$as_me: failed program was:" >&5
10010 sed 's/^/| /' conftest.$ac_ext >&5
10015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10016 conftest$ac_exeext conftest.$ac_ext
10017 LIBS=$ac_check_soname_save_LIBS
10019 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
10020 { echo "$as_me:$LINENO: result: not found" >&5
10021 echo "${ECHO_T}not found" >&6; }
10023 else
10024 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
10025 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
10027 cat >>confdefs.h <<_ACEOF
10028 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10029 _ACEOF
10034 else
10035 echo "$as_me: failed program was:" >&5
10036 sed 's/^/| /' conftest.$ac_ext >&5
10041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10045 if test "x$with_opengl" != "xno"
10046 then
10051 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
10053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10054 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10056 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10057 echo $ECHO_N "(cached) $ECHO_C" >&6
10058 else
10059 cat >conftest.$ac_ext <<_ACEOF
10060 /* confdefs.h. */
10061 _ACEOF
10062 cat confdefs.h >>conftest.$ac_ext
10063 cat >>conftest.$ac_ext <<_ACEOF
10064 /* end confdefs.h. */
10065 #ifdef HAVE_GL_GLX_H
10066 # include <GL/glx.h>
10067 #endif
10069 #include <$ac_header>
10070 _ACEOF
10071 rm -f conftest.$ac_objext
10072 if { (ac_try="$ac_compile"
10073 case "(($ac_try" in
10074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10075 *) ac_try_echo=$ac_try;;
10076 esac
10077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10078 (eval "$ac_compile") 2>conftest.er1
10079 ac_status=$?
10080 grep -v '^ *+' conftest.er1 >conftest.err
10081 rm -f conftest.er1
10082 cat conftest.err >&5
10083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10084 (exit $ac_status); } && {
10085 test -z "$ac_c_werror_flag" ||
10086 test ! -s conftest.err
10087 } && test -s conftest.$ac_objext; then
10088 eval "$as_ac_Header=yes"
10089 else
10090 echo "$as_me: failed program was:" >&5
10091 sed 's/^/| /' conftest.$ac_ext >&5
10093 eval "$as_ac_Header=no"
10096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10098 ac_res=`eval echo '${'$as_ac_Header'}'`
10099 { echo "$as_me:$LINENO: result: $ac_res" >&5
10100 echo "${ECHO_T}$ac_res" >&6; }
10101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10102 cat >>confdefs.h <<_ACEOF
10103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10104 _ACEOF
10108 done
10110 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
10111 then
10112 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
10113 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
10114 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
10115 echo $ECHO_N "(cached) $ECHO_C" >&6
10116 else
10117 cat >conftest.$ac_ext <<_ACEOF
10118 /* confdefs.h. */
10119 _ACEOF
10120 cat confdefs.h >>conftest.$ac_ext
10121 cat >>conftest.$ac_ext <<_ACEOF
10122 /* end confdefs.h. */
10123 #include <GL/gl.h>
10125 main ()
10127 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
10129 return 0;
10131 _ACEOF
10132 rm -f conftest.$ac_objext
10133 if { (ac_try="$ac_compile"
10134 case "(($ac_try" in
10135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10136 *) ac_try_echo=$ac_try;;
10137 esac
10138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10139 (eval "$ac_compile") 2>conftest.er1
10140 ac_status=$?
10141 grep -v '^ *+' conftest.er1 >conftest.err
10142 rm -f conftest.er1
10143 cat conftest.err >&5
10144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10145 (exit $ac_status); } && {
10146 test -z "$ac_c_werror_flag" ||
10147 test ! -s conftest.err
10148 } && test -s conftest.$ac_objext; then
10149 wine_cv_opengl_header_version_OK="yes"
10150 else
10151 echo "$as_me: failed program was:" >&5
10152 sed 's/^/| /' conftest.$ac_ext >&5
10154 wine_cv_opengl_header_version_OK="no"
10157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10159 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
10160 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
10162 if test "$wine_cv_opengl_header_version_OK" = "yes"
10163 then
10164 { echo "$as_me:$LINENO: checking for -lGL" >&5
10165 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
10166 if test "${ac_cv_lib_soname_GL+set}" = set; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10168 else
10169 ac_check_soname_save_LIBS=$LIBS
10170 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
10171 cat >conftest.$ac_ext <<_ACEOF
10172 /* confdefs.h. */
10173 _ACEOF
10174 cat confdefs.h >>conftest.$ac_ext
10175 cat >>conftest.$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10178 /* Override any GCC internal prototype to avoid an error.
10179 Use char because int might match the return type of a GCC
10180 builtin and then its argument prototype would still apply. */
10181 #ifdef __cplusplus
10182 extern "C"
10183 #endif
10184 char glXCreateContext ();
10186 main ()
10188 return glXCreateContext ();
10190 return 0;
10192 _ACEOF
10193 rm -f conftest.$ac_objext conftest$ac_exeext
10194 if { (ac_try="$ac_link"
10195 case "(($ac_try" in
10196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10197 *) ac_try_echo=$ac_try;;
10198 esac
10199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10200 (eval "$ac_link") 2>conftest.er1
10201 ac_status=$?
10202 grep -v '^ *+' conftest.er1 >conftest.err
10203 rm -f conftest.er1
10204 cat conftest.err >&5
10205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10206 (exit $ac_status); } && {
10207 test -z "$ac_c_werror_flag" ||
10208 test ! -s conftest.err
10209 } && test -s conftest$ac_exeext &&
10210 $as_test_x conftest$ac_exeext; then
10211 case "$LIBEXT" in
10212 dll) ;;
10213 dylib) ac_cv_lib_soname_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'` ;;
10214 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10215 esac
10216 else
10217 echo "$as_me: failed program was:" >&5
10218 sed 's/^/| /' conftest.$ac_ext >&5
10223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10224 conftest$ac_exeext conftest.$ac_ext
10225 LIBS=$ac_check_soname_save_LIBS
10227 if test "x$ac_cv_lib_soname_GL" = "x"; then
10228 { echo "$as_me:$LINENO: result: not found" >&5
10229 echo "${ECHO_T}not found" >&6; }
10231 else
10232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
10233 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
10235 cat >>confdefs.h <<_ACEOF
10236 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10237 _ACEOF
10239 OPENGL_LIBS="-lGL"
10240 OPENGLFILES='$(OPENGLFILES)'
10242 cat >>confdefs.h <<\_ACEOF
10243 #define HAVE_OPENGL 1
10244 _ACEOF
10250 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
10251 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
10252 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
10253 echo $ECHO_N "(cached) $ECHO_C" >&6
10254 else
10255 ac_check_lib_save_LIBS=$LIBS
10256 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
10257 $LIBS"
10258 cat >conftest.$ac_ext <<_ACEOF
10259 /* confdefs.h. */
10260 _ACEOF
10261 cat confdefs.h >>conftest.$ac_ext
10262 cat >>conftest.$ac_ext <<_ACEOF
10263 /* end confdefs.h. */
10265 /* Override any GCC internal prototype to avoid an error.
10266 Use char because int might match the return type of a GCC
10267 builtin and then its argument prototype would still apply. */
10268 #ifdef __cplusplus
10269 extern "C"
10270 #endif
10271 char gluLookAt ();
10273 main ()
10275 return gluLookAt ();
10277 return 0;
10279 _ACEOF
10280 rm -f conftest.$ac_objext conftest$ac_exeext
10281 if { (ac_try="$ac_link"
10282 case "(($ac_try" in
10283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10284 *) ac_try_echo=$ac_try;;
10285 esac
10286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10287 (eval "$ac_link") 2>conftest.er1
10288 ac_status=$?
10289 grep -v '^ *+' conftest.er1 >conftest.err
10290 rm -f conftest.er1
10291 cat conftest.err >&5
10292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10293 (exit $ac_status); } && {
10294 test -z "$ac_c_werror_flag" ||
10295 test ! -s conftest.err
10296 } && test -s conftest$ac_exeext &&
10297 $as_test_x conftest$ac_exeext; then
10298 ac_cv_lib_GLU_gluLookAt=yes
10299 else
10300 echo "$as_me: failed program was:" >&5
10301 sed 's/^/| /' conftest.$ac_ext >&5
10303 ac_cv_lib_GLU_gluLookAt=no
10306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10307 conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_lib_save_LIBS
10310 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
10311 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
10312 if test $ac_cv_lib_GLU_gluLookAt = yes; then
10313 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
10314 GLU32FILES='$(GLU32FILES)'
10319 else
10320 wine_cv_opengl_headers_found="no"
10323 NASLIBS=""
10326 for ac_header in audio/audiolib.h
10328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10329 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10330 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10335 ac_res=`eval echo '${'$as_ac_Header'}'`
10336 { echo "$as_me:$LINENO: result: $ac_res" >&5
10337 echo "${ECHO_T}$ac_res" >&6; }
10338 else
10339 # Is the header compilable?
10340 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10341 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10342 cat >conftest.$ac_ext <<_ACEOF
10343 /* confdefs.h. */
10344 _ACEOF
10345 cat confdefs.h >>conftest.$ac_ext
10346 cat >>conftest.$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10348 $ac_includes_default
10349 #include <$ac_header>
10350 _ACEOF
10351 rm -f conftest.$ac_objext
10352 if { (ac_try="$ac_compile"
10353 case "(($ac_try" in
10354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10355 *) ac_try_echo=$ac_try;;
10356 esac
10357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10358 (eval "$ac_compile") 2>conftest.er1
10359 ac_status=$?
10360 grep -v '^ *+' conftest.er1 >conftest.err
10361 rm -f conftest.er1
10362 cat conftest.err >&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } && {
10365 test -z "$ac_c_werror_flag" ||
10366 test ! -s conftest.err
10367 } && test -s conftest.$ac_objext; then
10368 ac_header_compiler=yes
10369 else
10370 echo "$as_me: failed program was:" >&5
10371 sed 's/^/| /' conftest.$ac_ext >&5
10373 ac_header_compiler=no
10376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10377 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10378 echo "${ECHO_T}$ac_header_compiler" >&6; }
10380 # Is the header present?
10381 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10383 cat >conftest.$ac_ext <<_ACEOF
10384 /* confdefs.h. */
10385 _ACEOF
10386 cat confdefs.h >>conftest.$ac_ext
10387 cat >>conftest.$ac_ext <<_ACEOF
10388 /* end confdefs.h. */
10389 #include <$ac_header>
10390 _ACEOF
10391 if { (ac_try="$ac_cpp conftest.$ac_ext"
10392 case "(($ac_try" in
10393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10394 *) ac_try_echo=$ac_try;;
10395 esac
10396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10397 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10398 ac_status=$?
10399 grep -v '^ *+' conftest.er1 >conftest.err
10400 rm -f conftest.er1
10401 cat conftest.err >&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } >/dev/null && {
10404 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10405 test ! -s conftest.err
10406 }; then
10407 ac_header_preproc=yes
10408 else
10409 echo "$as_me: failed program was:" >&5
10410 sed 's/^/| /' conftest.$ac_ext >&5
10412 ac_header_preproc=no
10415 rm -f conftest.err conftest.$ac_ext
10416 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10417 echo "${ECHO_T}$ac_header_preproc" >&6; }
10419 # So? What about this header?
10420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10421 yes:no: )
10422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10426 ac_header_preproc=yes
10428 no:yes:* )
10429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10441 ( cat <<\_ASBOX
10442 ## ------------------------------------ ##
10443 ## Report this to wine-devel@winehq.org ##
10444 ## ------------------------------------ ##
10445 _ASBOX
10446 ) | sed "s/^/$as_me: WARNING: /" >&2
10448 esac
10449 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10451 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10452 echo $ECHO_N "(cached) $ECHO_C" >&6
10453 else
10454 eval "$as_ac_Header=\$ac_header_preproc"
10456 ac_res=`eval echo '${'$as_ac_Header'}'`
10457 { echo "$as_me:$LINENO: result: $ac_res" >&5
10458 echo "${ECHO_T}$ac_res" >&6; }
10461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10462 cat >>confdefs.h <<_ACEOF
10463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10464 _ACEOF
10466 for ac_header in audio/soundlib.h
10468 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10469 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10471 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10472 echo $ECHO_N "(cached) $ECHO_C" >&6
10473 else
10474 cat >conftest.$ac_ext <<_ACEOF
10475 /* confdefs.h. */
10476 _ACEOF
10477 cat confdefs.h >>conftest.$ac_ext
10478 cat >>conftest.$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 #include <audio/audiolib.h>
10482 #include <$ac_header>
10483 _ACEOF
10484 rm -f conftest.$ac_objext
10485 if { (ac_try="$ac_compile"
10486 case "(($ac_try" in
10487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10488 *) ac_try_echo=$ac_try;;
10489 esac
10490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10491 (eval "$ac_compile") 2>conftest.er1
10492 ac_status=$?
10493 grep -v '^ *+' conftest.er1 >conftest.err
10494 rm -f conftest.er1
10495 cat conftest.err >&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } && {
10498 test -z "$ac_c_werror_flag" ||
10499 test ! -s conftest.err
10500 } && test -s conftest.$ac_objext; then
10501 eval "$as_ac_Header=yes"
10502 else
10503 echo "$as_me: failed program was:" >&5
10504 sed 's/^/| /' conftest.$ac_ext >&5
10506 eval "$as_ac_Header=no"
10509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10511 ac_res=`eval echo '${'$as_ac_Header'}'`
10512 { echo "$as_me:$LINENO: result: $ac_res" >&5
10513 echo "${ECHO_T}$ac_res" >&6; }
10514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10515 cat >>confdefs.h <<_ACEOF
10516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10517 _ACEOF
10521 done
10523 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
10524 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
10525 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
10526 echo $ECHO_N "(cached) $ECHO_C" >&6
10527 else
10528 ac_check_lib_save_LIBS=$LIBS
10529 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
10530 cat >conftest.$ac_ext <<_ACEOF
10531 /* confdefs.h. */
10532 _ACEOF
10533 cat confdefs.h >>conftest.$ac_ext
10534 cat >>conftest.$ac_ext <<_ACEOF
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10540 #ifdef __cplusplus
10541 extern "C"
10542 #endif
10543 char AuCreateFlow ();
10545 main ()
10547 return AuCreateFlow ();
10549 return 0;
10551 _ACEOF
10552 rm -f conftest.$ac_objext conftest$ac_exeext
10553 if { (ac_try="$ac_link"
10554 case "(($ac_try" in
10555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10556 *) ac_try_echo=$ac_try;;
10557 esac
10558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10559 (eval "$ac_link") 2>conftest.er1
10560 ac_status=$?
10561 grep -v '^ *+' conftest.er1 >conftest.err
10562 rm -f conftest.er1
10563 cat conftest.err >&5
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); } && {
10566 test -z "$ac_c_werror_flag" ||
10567 test ! -s conftest.err
10568 } && test -s conftest$ac_exeext &&
10569 $as_test_x conftest$ac_exeext; then
10570 ac_cv_lib_audio_AuCreateFlow=yes
10571 else
10572 echo "$as_me: failed program was:" >&5
10573 sed 's/^/| /' conftest.$ac_ext >&5
10575 ac_cv_lib_audio_AuCreateFlow=no
10578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10579 conftest$ac_exeext conftest.$ac_ext
10580 LIBS=$ac_check_lib_save_LIBS
10582 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10583 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10584 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10586 cat >>confdefs.h <<\_ACEOF
10587 #define HAVE_NAS 1
10588 _ACEOF
10590 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10591 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10592 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10594 else
10595 ac_check_lib_save_LIBS=$LIBS
10596 LIBS="-lXau $X_LIBS $LIBS"
10597 cat >conftest.$ac_ext <<_ACEOF
10598 /* confdefs.h. */
10599 _ACEOF
10600 cat confdefs.h >>conftest.$ac_ext
10601 cat >>conftest.$ac_ext <<_ACEOF
10602 /* end confdefs.h. */
10604 /* Override any GCC internal prototype to avoid an error.
10605 Use char because int might match the return type of a GCC
10606 builtin and then its argument prototype would still apply. */
10607 #ifdef __cplusplus
10608 extern "C"
10609 #endif
10610 char XauGetBestAuthByAddr ();
10612 main ()
10614 return XauGetBestAuthByAddr ();
10616 return 0;
10618 _ACEOF
10619 rm -f conftest.$ac_objext conftest$ac_exeext
10620 if { (ac_try="$ac_link"
10621 case "(($ac_try" in
10622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10623 *) ac_try_echo=$ac_try;;
10624 esac
10625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10626 (eval "$ac_link") 2>conftest.er1
10627 ac_status=$?
10628 grep -v '^ *+' conftest.er1 >conftest.err
10629 rm -f conftest.er1
10630 cat conftest.err >&5
10631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10632 (exit $ac_status); } && {
10633 test -z "$ac_c_werror_flag" ||
10634 test ! -s conftest.err
10635 } && test -s conftest$ac_exeext &&
10636 $as_test_x conftest$ac_exeext; then
10637 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10638 else
10639 echo "$as_me: failed program was:" >&5
10640 sed 's/^/| /' conftest.$ac_ext >&5
10642 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10646 conftest$ac_exeext conftest.$ac_ext
10647 LIBS=$ac_check_lib_save_LIBS
10649 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10650 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10651 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10652 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10653 else
10654 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10662 done
10665 CPPFLAGS="$ac_save_CPPFLAGS"
10666 XFILES='$(XFILES)'
10667 else
10668 XLIB=""
10669 X_CFLAGS=""
10670 X_LIBS=""
10674 XML2LIBS=""
10676 XML2INCL=""
10678 XSLTLIBS=""
10680 XSLTINCL=""
10682 ac_save_CPPFLAGS="$CPPFLAGS"
10683 if test "$PKG_CONFIG" != "false"
10684 then
10685 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10686 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10687 else
10688 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10689 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10691 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10693 for ac_header in libxml/parser.h
10695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10700 echo $ECHO_N "(cached) $ECHO_C" >&6
10702 ac_res=`eval echo '${'$as_ac_Header'}'`
10703 { echo "$as_me:$LINENO: result: $ac_res" >&5
10704 echo "${ECHO_T}$ac_res" >&6; }
10705 else
10706 # Is the header compilable?
10707 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10709 cat >conftest.$ac_ext <<_ACEOF
10710 /* confdefs.h. */
10711 _ACEOF
10712 cat confdefs.h >>conftest.$ac_ext
10713 cat >>conftest.$ac_ext <<_ACEOF
10714 /* end confdefs.h. */
10715 $ac_includes_default
10716 #include <$ac_header>
10717 _ACEOF
10718 rm -f conftest.$ac_objext
10719 if { (ac_try="$ac_compile"
10720 case "(($ac_try" in
10721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10722 *) ac_try_echo=$ac_try;;
10723 esac
10724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10725 (eval "$ac_compile") 2>conftest.er1
10726 ac_status=$?
10727 grep -v '^ *+' conftest.er1 >conftest.err
10728 rm -f conftest.er1
10729 cat conftest.err >&5
10730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10731 (exit $ac_status); } && {
10732 test -z "$ac_c_werror_flag" ||
10733 test ! -s conftest.err
10734 } && test -s conftest.$ac_objext; then
10735 ac_header_compiler=yes
10736 else
10737 echo "$as_me: failed program was:" >&5
10738 sed 's/^/| /' conftest.$ac_ext >&5
10740 ac_header_compiler=no
10743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10744 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10745 echo "${ECHO_T}$ac_header_compiler" >&6; }
10747 # Is the header present?
10748 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10750 cat >conftest.$ac_ext <<_ACEOF
10751 /* confdefs.h. */
10752 _ACEOF
10753 cat confdefs.h >>conftest.$ac_ext
10754 cat >>conftest.$ac_ext <<_ACEOF
10755 /* end confdefs.h. */
10756 #include <$ac_header>
10757 _ACEOF
10758 if { (ac_try="$ac_cpp conftest.$ac_ext"
10759 case "(($ac_try" in
10760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10761 *) ac_try_echo=$ac_try;;
10762 esac
10763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10765 ac_status=$?
10766 grep -v '^ *+' conftest.er1 >conftest.err
10767 rm -f conftest.er1
10768 cat conftest.err >&5
10769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10770 (exit $ac_status); } >/dev/null && {
10771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10772 test ! -s conftest.err
10773 }; then
10774 ac_header_preproc=yes
10775 else
10776 echo "$as_me: failed program was:" >&5
10777 sed 's/^/| /' conftest.$ac_ext >&5
10779 ac_header_preproc=no
10782 rm -f conftest.err conftest.$ac_ext
10783 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10784 echo "${ECHO_T}$ac_header_preproc" >&6; }
10786 # So? What about this header?
10787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10788 yes:no: )
10789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10793 ac_header_preproc=yes
10795 no:yes:* )
10796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10808 ( cat <<\_ASBOX
10809 ## ------------------------------------ ##
10810 ## Report this to wine-devel@winehq.org ##
10811 ## ------------------------------------ ##
10812 _ASBOX
10813 ) | sed "s/^/$as_me: WARNING: /" >&2
10815 esac
10816 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10819 echo $ECHO_N "(cached) $ECHO_C" >&6
10820 else
10821 eval "$as_ac_Header=\$ac_header_preproc"
10823 ac_res=`eval echo '${'$as_ac_Header'}'`
10824 { echo "$as_me:$LINENO: result: $ac_res" >&5
10825 echo "${ECHO_T}$ac_res" >&6; }
10828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10829 cat >>confdefs.h <<_ACEOF
10830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10831 _ACEOF
10832 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10833 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10834 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10835 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 else
10837 ac_check_lib_save_LIBS=$LIBS
10838 LIBS="-lxml2 $ac_xml_libs $LIBS"
10839 cat >conftest.$ac_ext <<_ACEOF
10840 /* confdefs.h. */
10841 _ACEOF
10842 cat confdefs.h >>conftest.$ac_ext
10843 cat >>conftest.$ac_ext <<_ACEOF
10844 /* end confdefs.h. */
10846 /* Override any GCC internal prototype to avoid an error.
10847 Use char because int might match the return type of a GCC
10848 builtin and then its argument prototype would still apply. */
10849 #ifdef __cplusplus
10850 extern "C"
10851 #endif
10852 char xmlParseMemory ();
10854 main ()
10856 return xmlParseMemory ();
10858 return 0;
10860 _ACEOF
10861 rm -f conftest.$ac_objext conftest$ac_exeext
10862 if { (ac_try="$ac_link"
10863 case "(($ac_try" in
10864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10865 *) ac_try_echo=$ac_try;;
10866 esac
10867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10868 (eval "$ac_link") 2>conftest.er1
10869 ac_status=$?
10870 grep -v '^ *+' conftest.er1 >conftest.err
10871 rm -f conftest.er1
10872 cat conftest.err >&5
10873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10874 (exit $ac_status); } && {
10875 test -z "$ac_c_werror_flag" ||
10876 test ! -s conftest.err
10877 } && test -s conftest$ac_exeext &&
10878 $as_test_x conftest$ac_exeext; then
10879 ac_cv_lib_xml2_xmlParseMemory=yes
10880 else
10881 echo "$as_me: failed program was:" >&5
10882 sed 's/^/| /' conftest.$ac_ext >&5
10884 ac_cv_lib_xml2_xmlParseMemory=no
10887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10888 conftest$ac_exeext conftest.$ac_ext
10889 LIBS=$ac_check_lib_save_LIBS
10891 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10892 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10893 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10895 cat >>confdefs.h <<\_ACEOF
10896 #define HAVE_LIBXML2 1
10897 _ACEOF
10899 XML2LIBS="$ac_xml_libs"
10900 XML2INCL="$ac_xml_cflags"
10903 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10904 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10905 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10906 echo $ECHO_N "(cached) $ECHO_C" >&6
10907 else
10908 ac_check_lib_save_LIBS=$LIBS
10909 LIBS="-lxml2 $ac_xml_libs $LIBS"
10910 cat >conftest.$ac_ext <<_ACEOF
10911 /* confdefs.h. */
10912 _ACEOF
10913 cat confdefs.h >>conftest.$ac_ext
10914 cat >>conftest.$ac_ext <<_ACEOF
10915 /* end confdefs.h. */
10917 /* Override any GCC internal prototype to avoid an error.
10918 Use char because int might match the return type of a GCC
10919 builtin and then its argument prototype would still apply. */
10920 #ifdef __cplusplus
10921 extern "C"
10922 #endif
10923 char xmlReadMemory ();
10925 main ()
10927 return xmlReadMemory ();
10929 return 0;
10931 _ACEOF
10932 rm -f conftest.$ac_objext conftest$ac_exeext
10933 if { (ac_try="$ac_link"
10934 case "(($ac_try" in
10935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10936 *) ac_try_echo=$ac_try;;
10937 esac
10938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10939 (eval "$ac_link") 2>conftest.er1
10940 ac_status=$?
10941 grep -v '^ *+' conftest.er1 >conftest.err
10942 rm -f conftest.er1
10943 cat conftest.err >&5
10944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10945 (exit $ac_status); } && {
10946 test -z "$ac_c_werror_flag" ||
10947 test ! -s conftest.err
10948 } && test -s conftest$ac_exeext &&
10949 $as_test_x conftest$ac_exeext; then
10950 ac_cv_lib_xml2_xmlReadMemory=yes
10951 else
10952 echo "$as_me: failed program was:" >&5
10953 sed 's/^/| /' conftest.$ac_ext >&5
10955 ac_cv_lib_xml2_xmlReadMemory=no
10958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10959 conftest$ac_exeext conftest.$ac_ext
10960 LIBS=$ac_check_lib_save_LIBS
10962 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10963 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10964 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10966 cat >>confdefs.h <<\_ACEOF
10967 #define HAVE_XMLREADMEMORY 1
10968 _ACEOF
10972 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10973 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10974 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10975 echo $ECHO_N "(cached) $ECHO_C" >&6
10976 else
10977 ac_check_lib_save_LIBS=$LIBS
10978 LIBS="-lxml2 $ac_xml_libs $LIBS"
10979 cat >conftest.$ac_ext <<_ACEOF
10980 /* confdefs.h. */
10981 _ACEOF
10982 cat confdefs.h >>conftest.$ac_ext
10983 cat >>conftest.$ac_ext <<_ACEOF
10984 /* end confdefs.h. */
10986 /* Override any GCC internal prototype to avoid an error.
10987 Use char because int might match the return type of a GCC
10988 builtin and then its argument prototype would still apply. */
10989 #ifdef __cplusplus
10990 extern "C"
10991 #endif
10992 char xmlNewDocPI ();
10994 main ()
10996 return xmlNewDocPI ();
10998 return 0;
11000 _ACEOF
11001 rm -f conftest.$ac_objext conftest$ac_exeext
11002 if { (ac_try="$ac_link"
11003 case "(($ac_try" in
11004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11005 *) ac_try_echo=$ac_try;;
11006 esac
11007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11008 (eval "$ac_link") 2>conftest.er1
11009 ac_status=$?
11010 grep -v '^ *+' conftest.er1 >conftest.err
11011 rm -f conftest.er1
11012 cat conftest.err >&5
11013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11014 (exit $ac_status); } && {
11015 test -z "$ac_c_werror_flag" ||
11016 test ! -s conftest.err
11017 } && test -s conftest$ac_exeext &&
11018 $as_test_x conftest$ac_exeext; then
11019 ac_cv_lib_xml2_xmlNewDocPI=yes
11020 else
11021 echo "$as_me: failed program was:" >&5
11022 sed 's/^/| /' conftest.$ac_ext >&5
11024 ac_cv_lib_xml2_xmlNewDocPI=no
11027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11031 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11032 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11033 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
11035 cat >>confdefs.h <<\_ACEOF
11036 #define HAVE_XMLNEWDOCPI 1
11037 _ACEOF
11044 done
11046 CPPFLAGS="$ac_save_CPPFLAGS"
11047 if test "$PKG_CONFIG" != "false"
11048 then
11049 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
11050 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
11051 else
11052 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
11053 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
11055 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
11058 for ac_header in libxslt/pattern.h libxslt/transform.h
11060 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11061 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11062 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11063 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11064 echo $ECHO_N "(cached) $ECHO_C" >&6
11065 else
11066 cat >conftest.$ac_ext <<_ACEOF
11067 /* confdefs.h. */
11068 _ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11072 #ifdef HAVE_LIBXSLT_PATTERN_H
11073 # include <libxslt/pattern.h>
11074 #endif
11076 #include <$ac_header>
11077 _ACEOF
11078 rm -f conftest.$ac_objext
11079 if { (ac_try="$ac_compile"
11080 case "(($ac_try" in
11081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11082 *) ac_try_echo=$ac_try;;
11083 esac
11084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11085 (eval "$ac_compile") 2>conftest.er1
11086 ac_status=$?
11087 grep -v '^ *+' conftest.er1 >conftest.err
11088 rm -f conftest.er1
11089 cat conftest.err >&5
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); } && {
11092 test -z "$ac_c_werror_flag" ||
11093 test ! -s conftest.err
11094 } && test -s conftest.$ac_objext; then
11095 eval "$as_ac_Header=yes"
11096 else
11097 echo "$as_me: failed program was:" >&5
11098 sed 's/^/| /' conftest.$ac_ext >&5
11100 eval "$as_ac_Header=no"
11103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11105 ac_res=`eval echo '${'$as_ac_Header'}'`
11106 { echo "$as_me:$LINENO: result: $ac_res" >&5
11107 echo "${ECHO_T}$ac_res" >&6; }
11108 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11109 cat >>confdefs.h <<_ACEOF
11110 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11111 _ACEOF
11112 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
11113 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
11114 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
11115 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 else
11117 ac_check_lib_save_LIBS=$LIBS
11118 LIBS="-lxslt $ac_xslt_libs $LIBS"
11119 cat >conftest.$ac_ext <<_ACEOF
11120 /* confdefs.h. */
11121 _ACEOF
11122 cat confdefs.h >>conftest.$ac_ext
11123 cat >>conftest.$ac_ext <<_ACEOF
11124 /* end confdefs.h. */
11126 /* Override any GCC internal prototype to avoid an error.
11127 Use char because int might match the return type of a GCC
11128 builtin and then its argument prototype would still apply. */
11129 #ifdef __cplusplus
11130 extern "C"
11131 #endif
11132 char xsltCompilePattern ();
11134 main ()
11136 return xsltCompilePattern ();
11138 return 0;
11140 _ACEOF
11141 rm -f conftest.$ac_objext conftest$ac_exeext
11142 if { (ac_try="$ac_link"
11143 case "(($ac_try" in
11144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11145 *) ac_try_echo=$ac_try;;
11146 esac
11147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11148 (eval "$ac_link") 2>conftest.er1
11149 ac_status=$?
11150 grep -v '^ *+' conftest.er1 >conftest.err
11151 rm -f conftest.er1
11152 cat conftest.err >&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); } && {
11155 test -z "$ac_c_werror_flag" ||
11156 test ! -s conftest.err
11157 } && test -s conftest$ac_exeext &&
11158 $as_test_x conftest$ac_exeext; then
11159 ac_cv_lib_xslt_xsltCompilePattern=yes
11160 else
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.$ac_ext >&5
11164 ac_cv_lib_xslt_xsltCompilePattern=no
11167 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11168 conftest$ac_exeext conftest.$ac_ext
11169 LIBS=$ac_check_lib_save_LIBS
11171 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
11172 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
11173 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
11175 cat >>confdefs.h <<\_ACEOF
11176 #define HAVE_LIBXSLT 1
11177 _ACEOF
11179 XSLTLIBS="$ac_xslt_libs"
11180 XSLTINCL="$ac_xslt_cflags"
11186 done
11188 CPPFLAGS="$ac_save_CPPFLAGS"
11190 HALINCL=""
11192 if test "$PKG_CONFIG" != "false"
11193 then
11194 ac_save_CPPFLAGS="$CPPFLAGS"
11195 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
11196 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
11197 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
11200 for ac_header in dbus/dbus.h hal/libhal.h
11202 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11203 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11204 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11206 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11207 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 ac_res=`eval echo '${'$as_ac_Header'}'`
11210 { echo "$as_me:$LINENO: result: $ac_res" >&5
11211 echo "${ECHO_T}$ac_res" >&6; }
11212 else
11213 # Is the header compilable?
11214 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
11215 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
11216 cat >conftest.$ac_ext <<_ACEOF
11217 /* confdefs.h. */
11218 _ACEOF
11219 cat confdefs.h >>conftest.$ac_ext
11220 cat >>conftest.$ac_ext <<_ACEOF
11221 /* end confdefs.h. */
11222 $ac_includes_default
11223 #include <$ac_header>
11224 _ACEOF
11225 rm -f conftest.$ac_objext
11226 if { (ac_try="$ac_compile"
11227 case "(($ac_try" in
11228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11229 *) ac_try_echo=$ac_try;;
11230 esac
11231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11232 (eval "$ac_compile") 2>conftest.er1
11233 ac_status=$?
11234 grep -v '^ *+' conftest.er1 >conftest.err
11235 rm -f conftest.er1
11236 cat conftest.err >&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); } && {
11239 test -z "$ac_c_werror_flag" ||
11240 test ! -s conftest.err
11241 } && test -s conftest.$ac_objext; then
11242 ac_header_compiler=yes
11243 else
11244 echo "$as_me: failed program was:" >&5
11245 sed 's/^/| /' conftest.$ac_ext >&5
11247 ac_header_compiler=no
11250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11251 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11252 echo "${ECHO_T}$ac_header_compiler" >&6; }
11254 # Is the header present?
11255 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
11256 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
11257 cat >conftest.$ac_ext <<_ACEOF
11258 /* confdefs.h. */
11259 _ACEOF
11260 cat confdefs.h >>conftest.$ac_ext
11261 cat >>conftest.$ac_ext <<_ACEOF
11262 /* end confdefs.h. */
11263 #include <$ac_header>
11264 _ACEOF
11265 if { (ac_try="$ac_cpp conftest.$ac_ext"
11266 case "(($ac_try" in
11267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11268 *) ac_try_echo=$ac_try;;
11269 esac
11270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11271 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11272 ac_status=$?
11273 grep -v '^ *+' conftest.er1 >conftest.err
11274 rm -f conftest.er1
11275 cat conftest.err >&5
11276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11277 (exit $ac_status); } >/dev/null && {
11278 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11279 test ! -s conftest.err
11280 }; then
11281 ac_header_preproc=yes
11282 else
11283 echo "$as_me: failed program was:" >&5
11284 sed 's/^/| /' conftest.$ac_ext >&5
11286 ac_header_preproc=no
11289 rm -f conftest.err conftest.$ac_ext
11290 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11291 echo "${ECHO_T}$ac_header_preproc" >&6; }
11293 # So? What about this header?
11294 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11295 yes:no: )
11296 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11297 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11299 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11300 ac_header_preproc=yes
11302 no:yes:* )
11303 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11304 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11305 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11306 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11307 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11308 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11309 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11310 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11311 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11312 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11313 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11314 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11315 ( cat <<\_ASBOX
11316 ## ------------------------------------ ##
11317 ## Report this to wine-devel@winehq.org ##
11318 ## ------------------------------------ ##
11319 _ASBOX
11320 ) | sed "s/^/$as_me: WARNING: /" >&2
11322 esac
11323 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11325 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11326 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 else
11328 eval "$as_ac_Header=\$ac_header_preproc"
11330 ac_res=`eval echo '${'$as_ac_Header'}'`
11331 { echo "$as_me:$LINENO: result: $ac_res" >&5
11332 echo "${ECHO_T}$ac_res" >&6; }
11335 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11336 cat >>confdefs.h <<_ACEOF
11337 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11338 _ACEOF
11342 done
11344 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
11345 then
11346 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
11347 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
11348 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
11349 echo $ECHO_N "(cached) $ECHO_C" >&6
11350 else
11351 ac_check_lib_save_LIBS=$LIBS
11352 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
11353 cat >conftest.$ac_ext <<_ACEOF
11354 /* confdefs.h. */
11355 _ACEOF
11356 cat confdefs.h >>conftest.$ac_ext
11357 cat >>conftest.$ac_ext <<_ACEOF
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char dbus_connection_close ();
11368 main ()
11370 return dbus_connection_close ();
11372 return 0;
11374 _ACEOF
11375 rm -f conftest.$ac_objext conftest$ac_exeext
11376 if { (ac_try="$ac_link"
11377 case "(($ac_try" in
11378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11379 *) ac_try_echo=$ac_try;;
11380 esac
11381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11382 (eval "$ac_link") 2>conftest.er1
11383 ac_status=$?
11384 grep -v '^ *+' conftest.er1 >conftest.err
11385 rm -f conftest.er1
11386 cat conftest.err >&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 (exit $ac_status); } && {
11389 test -z "$ac_c_werror_flag" ||
11390 test ! -s conftest.err
11391 } && test -s conftest$ac_exeext &&
11392 $as_test_x conftest$ac_exeext; then
11393 ac_cv_lib_dbus_1_dbus_connection_close=yes
11394 else
11395 echo "$as_me: failed program was:" >&5
11396 sed 's/^/| /' conftest.$ac_ext >&5
11398 ac_cv_lib_dbus_1_dbus_connection_close=no
11401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_lib_save_LIBS
11405 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
11406 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
11407 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
11408 { echo "$as_me:$LINENO: checking for -lhal" >&5
11409 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
11410 if test "${ac_cv_lib_soname_hal+set}" = set; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 else
11413 ac_check_soname_save_LIBS=$LIBS
11414 LIBS="-lhal $ac_hal_libs $LIBS"
11415 cat >conftest.$ac_ext <<_ACEOF
11416 /* confdefs.h. */
11417 _ACEOF
11418 cat confdefs.h >>conftest.$ac_ext
11419 cat >>conftest.$ac_ext <<_ACEOF
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char libhal_ctx_new ();
11430 main ()
11432 return libhal_ctx_new ();
11434 return 0;
11436 _ACEOF
11437 rm -f conftest.$ac_objext conftest$ac_exeext
11438 if { (ac_try="$ac_link"
11439 case "(($ac_try" in
11440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11441 *) ac_try_echo=$ac_try;;
11442 esac
11443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11444 (eval "$ac_link") 2>conftest.er1
11445 ac_status=$?
11446 grep -v '^ *+' conftest.er1 >conftest.err
11447 rm -f conftest.er1
11448 cat conftest.err >&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); } && {
11451 test -z "$ac_c_werror_flag" ||
11452 test ! -s conftest.err
11453 } && test -s conftest$ac_exeext &&
11454 $as_test_x conftest$ac_exeext; then
11455 case "$LIBEXT" in
11456 dll) ;;
11457 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'` ;;
11458 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11459 esac
11460 else
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_soname_save_LIBS
11471 if test "x$ac_cv_lib_soname_hal" = "x"; then
11472 { echo "$as_me:$LINENO: result: not found" >&5
11473 echo "${ECHO_T}not found" >&6; }
11475 else
11476 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
11477 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
11479 cat >>confdefs.h <<_ACEOF
11480 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11481 _ACEOF
11483 HALINCL="$ac_hal_cflags"
11489 CPPFLAGS="$ac_save_CPPFLAGS"
11492 CURSESLIBS=""
11493 if test "$ac_cv_header_ncurses_h" = "yes"
11494 then
11495 { echo "$as_me:$LINENO: checking for -lncurses" >&5
11496 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
11497 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
11498 echo $ECHO_N "(cached) $ECHO_C" >&6
11499 else
11500 ac_check_soname_save_LIBS=$LIBS
11501 LIBS="-lncurses $LIBS"
11502 cat >conftest.$ac_ext <<_ACEOF
11503 /* confdefs.h. */
11504 _ACEOF
11505 cat confdefs.h >>conftest.$ac_ext
11506 cat >>conftest.$ac_ext <<_ACEOF
11507 /* end confdefs.h. */
11509 /* Override any GCC internal prototype to avoid an error.
11510 Use char because int might match the return type of a GCC
11511 builtin and then its argument prototype would still apply. */
11512 #ifdef __cplusplus
11513 extern "C"
11514 #endif
11515 char waddch ();
11517 main ()
11519 return waddch ();
11521 return 0;
11523 _ACEOF
11524 rm -f conftest.$ac_objext conftest$ac_exeext
11525 if { (ac_try="$ac_link"
11526 case "(($ac_try" in
11527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11528 *) ac_try_echo=$ac_try;;
11529 esac
11530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11531 (eval "$ac_link") 2>conftest.er1
11532 ac_status=$?
11533 grep -v '^ *+' conftest.er1 >conftest.err
11534 rm -f conftest.er1
11535 cat conftest.err >&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } && {
11538 test -z "$ac_c_werror_flag" ||
11539 test ! -s conftest.err
11540 } && test -s conftest$ac_exeext &&
11541 $as_test_x conftest$ac_exeext; then
11542 case "$LIBEXT" in
11543 dll) ;;
11544 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'` ;;
11545 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11546 esac
11547 else
11548 echo "$as_me: failed program was:" >&5
11549 sed 's/^/| /' conftest.$ac_ext >&5
11554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11555 conftest$ac_exeext conftest.$ac_ext
11556 LIBS=$ac_check_soname_save_LIBS
11558 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11559 { echo "$as_me:$LINENO: result: not found" >&5
11560 echo "${ECHO_T}not found" >&6; }
11562 else
11563 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11564 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11566 cat >>confdefs.h <<_ACEOF
11567 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11568 _ACEOF
11570 CURSESLIBS="-lncurses"
11573 elif test "$ac_cv_header_curses_h" = "yes"
11574 then
11575 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11576 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11577 if test "${ac_cv_lib_soname_curses+set}" = set; then
11578 echo $ECHO_N "(cached) $ECHO_C" >&6
11579 else
11580 ac_check_soname_save_LIBS=$LIBS
11581 LIBS="-lcurses $LIBS"
11582 cat >conftest.$ac_ext <<_ACEOF
11583 /* confdefs.h. */
11584 _ACEOF
11585 cat confdefs.h >>conftest.$ac_ext
11586 cat >>conftest.$ac_ext <<_ACEOF
11587 /* end confdefs.h. */
11589 /* Override any GCC internal prototype to avoid an error.
11590 Use char because int might match the return type of a GCC
11591 builtin and then its argument prototype would still apply. */
11592 #ifdef __cplusplus
11593 extern "C"
11594 #endif
11595 char waddch ();
11597 main ()
11599 return waddch ();
11601 return 0;
11603 _ACEOF
11604 rm -f conftest.$ac_objext conftest$ac_exeext
11605 if { (ac_try="$ac_link"
11606 case "(($ac_try" in
11607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11608 *) ac_try_echo=$ac_try;;
11609 esac
11610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11611 (eval "$ac_link") 2>conftest.er1
11612 ac_status=$?
11613 grep -v '^ *+' conftest.er1 >conftest.err
11614 rm -f conftest.er1
11615 cat conftest.err >&5
11616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617 (exit $ac_status); } && {
11618 test -z "$ac_c_werror_flag" ||
11619 test ! -s conftest.err
11620 } && test -s conftest$ac_exeext &&
11621 $as_test_x conftest$ac_exeext; then
11622 case "$LIBEXT" in
11623 dll) ;;
11624 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'` ;;
11625 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11626 esac
11627 else
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11635 conftest$ac_exeext conftest.$ac_ext
11636 LIBS=$ac_check_soname_save_LIBS
11638 if test "x$ac_cv_lib_soname_curses" = "x"; then
11639 { echo "$as_me:$LINENO: result: not found" >&5
11640 echo "${ECHO_T}not found" >&6; }
11642 else
11643 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11644 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11646 cat >>confdefs.h <<_ACEOF
11647 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11648 _ACEOF
11650 CURSESLIBS="-lcurses"
11654 ac_save_LIBS="$LIBS"
11655 LIBS="$LIBS $CURSESLIBS"
11657 for ac_func in mousemask
11659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11660 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11662 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11663 echo $ECHO_N "(cached) $ECHO_C" >&6
11664 else
11665 cat >conftest.$ac_ext <<_ACEOF
11666 /* confdefs.h. */
11667 _ACEOF
11668 cat confdefs.h >>conftest.$ac_ext
11669 cat >>conftest.$ac_ext <<_ACEOF
11670 /* end confdefs.h. */
11671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11673 #define $ac_func innocuous_$ac_func
11675 /* System header to define __stub macros and hopefully few prototypes,
11676 which can conflict with char $ac_func (); below.
11677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11678 <limits.h> exists even on freestanding compilers. */
11680 #ifdef __STDC__
11681 # include <limits.h>
11682 #else
11683 # include <assert.h>
11684 #endif
11686 #undef $ac_func
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 char $ac_func ();
11695 /* The GNU C library defines this for functions which it implements
11696 to always fail with ENOSYS. Some functions are actually named
11697 something starting with __ and the normal name is an alias. */
11698 #if defined __stub_$ac_func || defined __stub___$ac_func
11699 choke me
11700 #endif
11703 main ()
11705 return $ac_func ();
11707 return 0;
11709 _ACEOF
11710 rm -f conftest.$ac_objext conftest$ac_exeext
11711 if { (ac_try="$ac_link"
11712 case "(($ac_try" in
11713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11714 *) ac_try_echo=$ac_try;;
11715 esac
11716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11717 (eval "$ac_link") 2>conftest.er1
11718 ac_status=$?
11719 grep -v '^ *+' conftest.er1 >conftest.err
11720 rm -f conftest.er1
11721 cat conftest.err >&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } && {
11724 test -z "$ac_c_werror_flag" ||
11725 test ! -s conftest.err
11726 } && test -s conftest$ac_exeext &&
11727 $as_test_x conftest$ac_exeext; then
11728 eval "$as_ac_var=yes"
11729 else
11730 echo "$as_me: failed program was:" >&5
11731 sed 's/^/| /' conftest.$ac_ext >&5
11733 eval "$as_ac_var=no"
11736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11737 conftest$ac_exeext conftest.$ac_ext
11739 ac_res=`eval echo '${'$as_ac_var'}'`
11740 { echo "$as_me:$LINENO: result: $ac_res" >&5
11741 echo "${ECHO_T}$ac_res" >&6; }
11742 if test `eval echo '${'$as_ac_var'}'` = yes; then
11743 cat >>confdefs.h <<_ACEOF
11744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11745 _ACEOF
11748 done
11750 LIBS="$ac_save_LIBS"
11752 # Extract the first word of "sane-config", so it can be a program name with args.
11753 set dummy sane-config; ac_word=$2
11754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11756 if test "${ac_cv_prog_sane_devel+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11758 else
11759 if test -n "$sane_devel"; then
11760 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11761 else
11762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11763 for as_dir in $PATH
11765 IFS=$as_save_IFS
11766 test -z "$as_dir" && as_dir=.
11767 for ac_exec_ext in '' $ac_executable_extensions; do
11768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11769 ac_cv_prog_sane_devel="sane-config"
11770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11771 break 2
11773 done
11774 done
11775 IFS=$as_save_IFS
11777 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11780 sane_devel=$ac_cv_prog_sane_devel
11781 if test -n "$sane_devel"; then
11782 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11783 echo "${ECHO_T}$sane_devel" >&6; }
11784 else
11785 { echo "$as_me:$LINENO: result: no" >&5
11786 echo "${ECHO_T}no" >&6; }
11790 if test "$sane_devel" != "no"
11791 then
11792 ac_sane_incl="`$sane_devel --cflags`"
11793 ac_save_CPPFLAGS="$CPPFLAGS"
11794 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11795 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11796 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11797 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11798 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11799 echo $ECHO_N "(cached) $ECHO_C" >&6
11801 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11802 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11803 else
11804 # Is the header compilable?
11805 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11806 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11807 cat >conftest.$ac_ext <<_ACEOF
11808 /* confdefs.h. */
11809 _ACEOF
11810 cat confdefs.h >>conftest.$ac_ext
11811 cat >>conftest.$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11813 $ac_includes_default
11814 #include <sane/sane.h>
11815 _ACEOF
11816 rm -f conftest.$ac_objext
11817 if { (ac_try="$ac_compile"
11818 case "(($ac_try" in
11819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11820 *) ac_try_echo=$ac_try;;
11821 esac
11822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11823 (eval "$ac_compile") 2>conftest.er1
11824 ac_status=$?
11825 grep -v '^ *+' conftest.er1 >conftest.err
11826 rm -f conftest.er1
11827 cat conftest.err >&5
11828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11829 (exit $ac_status); } && {
11830 test -z "$ac_c_werror_flag" ||
11831 test ! -s conftest.err
11832 } && test -s conftest.$ac_objext; then
11833 ac_header_compiler=yes
11834 else
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11838 ac_header_compiler=no
11841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11842 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11843 echo "${ECHO_T}$ac_header_compiler" >&6; }
11845 # Is the header present?
11846 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11847 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11848 cat >conftest.$ac_ext <<_ACEOF
11849 /* confdefs.h. */
11850 _ACEOF
11851 cat confdefs.h >>conftest.$ac_ext
11852 cat >>conftest.$ac_ext <<_ACEOF
11853 /* end confdefs.h. */
11854 #include <sane/sane.h>
11855 _ACEOF
11856 if { (ac_try="$ac_cpp conftest.$ac_ext"
11857 case "(($ac_try" in
11858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11859 *) ac_try_echo=$ac_try;;
11860 esac
11861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11862 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11863 ac_status=$?
11864 grep -v '^ *+' conftest.er1 >conftest.err
11865 rm -f conftest.er1
11866 cat conftest.err >&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); } >/dev/null && {
11869 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11870 test ! -s conftest.err
11871 }; then
11872 ac_header_preproc=yes
11873 else
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11877 ac_header_preproc=no
11880 rm -f conftest.err conftest.$ac_ext
11881 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11882 echo "${ECHO_T}$ac_header_preproc" >&6; }
11884 # So? What about this header?
11885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11886 yes:no: )
11887 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11888 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11889 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11890 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11891 ac_header_preproc=yes
11893 no:yes:* )
11894 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11895 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11896 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11897 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11898 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11899 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11900 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11901 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11902 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11903 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11904 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11905 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11906 ( cat <<\_ASBOX
11907 ## ------------------------------------ ##
11908 ## Report this to wine-devel@winehq.org ##
11909 ## ------------------------------------ ##
11910 _ASBOX
11911 ) | sed "s/^/$as_me: WARNING: /" >&2
11913 esac
11914 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11915 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11916 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11917 echo $ECHO_N "(cached) $ECHO_C" >&6
11918 else
11919 ac_cv_header_sane_sane_h=$ac_header_preproc
11921 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11922 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11925 if test $ac_cv_header_sane_sane_h = yes; then
11926 { echo "$as_me:$LINENO: checking for -lsane" >&5
11927 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
11928 if test "${ac_cv_lib_soname_sane+set}" = set; then
11929 echo $ECHO_N "(cached) $ECHO_C" >&6
11930 else
11931 ac_check_soname_save_LIBS=$LIBS
11932 LIBS="-lsane $LIBS"
11933 cat >conftest.$ac_ext <<_ACEOF
11934 /* confdefs.h. */
11935 _ACEOF
11936 cat confdefs.h >>conftest.$ac_ext
11937 cat >>conftest.$ac_ext <<_ACEOF
11938 /* end confdefs.h. */
11940 /* Override any GCC internal prototype to avoid an error.
11941 Use char because int might match the return type of a GCC
11942 builtin and then its argument prototype would still apply. */
11943 #ifdef __cplusplus
11944 extern "C"
11945 #endif
11946 char sane_init ();
11948 main ()
11950 return sane_init ();
11952 return 0;
11954 _ACEOF
11955 rm -f conftest.$ac_objext conftest$ac_exeext
11956 if { (ac_try="$ac_link"
11957 case "(($ac_try" in
11958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11959 *) ac_try_echo=$ac_try;;
11960 esac
11961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11962 (eval "$ac_link") 2>conftest.er1
11963 ac_status=$?
11964 grep -v '^ *+' conftest.er1 >conftest.err
11965 rm -f conftest.er1
11966 cat conftest.err >&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } && {
11969 test -z "$ac_c_werror_flag" ||
11970 test ! -s conftest.err
11971 } && test -s conftest$ac_exeext &&
11972 $as_test_x conftest$ac_exeext; then
11973 case "$LIBEXT" in
11974 dll) ;;
11975 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'` ;;
11976 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11977 esac
11978 else
11979 echo "$as_me: failed program was:" >&5
11980 sed 's/^/| /' conftest.$ac_ext >&5
11985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11986 conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_soname_save_LIBS
11989 if test "x$ac_cv_lib_soname_sane" = "x"; then
11990 { echo "$as_me:$LINENO: result: not found" >&5
11991 echo "${ECHO_T}not found" >&6; }
11993 else
11994 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
11995 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
11997 cat >>confdefs.h <<_ACEOF
11998 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11999 _ACEOF
12001 SANEINCL="$ac_sane_incl"
12008 CPPFLAGS="$ac_save_CPPFLAGS"
12011 # Extract the first word of "gphoto2-config", so it can be a program name with args.
12012 set dummy gphoto2-config; ac_word=$2
12013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12015 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018 if test -n "$gphoto2_devel"; then
12019 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
12020 else
12021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12022 for as_dir in $PATH
12024 IFS=$as_save_IFS
12025 test -z "$as_dir" && as_dir=.
12026 for ac_exec_ext in '' $ac_executable_extensions; do
12027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12028 ac_cv_prog_gphoto2_devel="gphoto2-config"
12029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12030 break 2
12032 done
12033 done
12034 IFS=$as_save_IFS
12036 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
12039 gphoto2_devel=$ac_cv_prog_gphoto2_devel
12040 if test -n "$gphoto2_devel"; then
12041 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
12042 echo "${ECHO_T}$gphoto2_devel" >&6; }
12043 else
12044 { echo "$as_me:$LINENO: result: no" >&5
12045 echo "${ECHO_T}no" >&6; }
12049 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
12050 set dummy gphoto2-port-config; ac_word=$2
12051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12053 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
12054 echo $ECHO_N "(cached) $ECHO_C" >&6
12055 else
12056 if test -n "$gphoto2port_devel"; then
12057 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
12058 else
12059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12060 for as_dir in $PATH
12062 IFS=$as_save_IFS
12063 test -z "$as_dir" && as_dir=.
12064 for ac_exec_ext in '' $ac_executable_extensions; do
12065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12066 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
12067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12068 break 2
12070 done
12071 done
12072 IFS=$as_save_IFS
12074 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
12077 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
12078 if test -n "$gphoto2port_devel"; then
12079 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
12080 echo "${ECHO_T}$gphoto2port_devel" >&6; }
12081 else
12082 { echo "$as_me:$LINENO: result: no" >&5
12083 echo "${ECHO_T}no" >&6; }
12087 GPHOTO2LIBS=""
12089 GPHOTO2INCL=""
12091 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
12092 then
12093 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
12094 GPHOTO2LIBS=""
12095 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
12097 case "$i" in
12098 -L/usr/lib|-L/usr/lib64) ;;
12099 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
12100 esac
12101 done
12102 ac_save_CPPFLAGS="$CPPFLAGS"
12103 ac_save_LIBS="$LIBS"
12104 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
12105 LIBS="$LIBS $GPHOTO2LIBS"
12106 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12107 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12108 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12109 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12110 echo $ECHO_N "(cached) $ECHO_C" >&6
12112 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12113 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12114 else
12115 # Is the header compilable?
12116 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
12117 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
12118 cat >conftest.$ac_ext <<_ACEOF
12119 /* confdefs.h. */
12120 _ACEOF
12121 cat confdefs.h >>conftest.$ac_ext
12122 cat >>conftest.$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12124 $ac_includes_default
12125 #include <gphoto2-camera.h>
12126 _ACEOF
12127 rm -f conftest.$ac_objext
12128 if { (ac_try="$ac_compile"
12129 case "(($ac_try" in
12130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12131 *) ac_try_echo=$ac_try;;
12132 esac
12133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12134 (eval "$ac_compile") 2>conftest.er1
12135 ac_status=$?
12136 grep -v '^ *+' conftest.er1 >conftest.err
12137 rm -f conftest.er1
12138 cat conftest.err >&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); } && {
12141 test -z "$ac_c_werror_flag" ||
12142 test ! -s conftest.err
12143 } && test -s conftest.$ac_objext; then
12144 ac_header_compiler=yes
12145 else
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12149 ac_header_compiler=no
12152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12153 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12154 echo "${ECHO_T}$ac_header_compiler" >&6; }
12156 # Is the header present?
12157 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
12158 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
12159 cat >conftest.$ac_ext <<_ACEOF
12160 /* confdefs.h. */
12161 _ACEOF
12162 cat confdefs.h >>conftest.$ac_ext
12163 cat >>conftest.$ac_ext <<_ACEOF
12164 /* end confdefs.h. */
12165 #include <gphoto2-camera.h>
12166 _ACEOF
12167 if { (ac_try="$ac_cpp conftest.$ac_ext"
12168 case "(($ac_try" in
12169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12170 *) ac_try_echo=$ac_try;;
12171 esac
12172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12173 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12174 ac_status=$?
12175 grep -v '^ *+' conftest.er1 >conftest.err
12176 rm -f conftest.er1
12177 cat conftest.err >&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } >/dev/null && {
12180 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12181 test ! -s conftest.err
12182 }; then
12183 ac_header_preproc=yes
12184 else
12185 echo "$as_me: failed program was:" >&5
12186 sed 's/^/| /' conftest.$ac_ext >&5
12188 ac_header_preproc=no
12191 rm -f conftest.err conftest.$ac_ext
12192 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12193 echo "${ECHO_T}$ac_header_preproc" >&6; }
12195 # So? What about this header?
12196 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12197 yes:no: )
12198 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
12199 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
12200 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
12201 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
12202 ac_header_preproc=yes
12204 no:yes:* )
12205 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
12206 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
12207 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
12208 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
12209 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
12210 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
12211 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
12212 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
12213 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
12214 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
12215 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
12216 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
12217 ( cat <<\_ASBOX
12218 ## ------------------------------------ ##
12219 ## Report this to wine-devel@winehq.org ##
12220 ## ------------------------------------ ##
12221 _ASBOX
12222 ) | sed "s/^/$as_me: WARNING: /" >&2
12224 esac
12225 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
12226 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
12227 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
12228 echo $ECHO_N "(cached) $ECHO_C" >&6
12229 else
12230 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
12232 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
12233 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
12236 if test $ac_cv_header_gphoto2_camera_h = yes; then
12237 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
12238 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
12239 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
12240 echo $ECHO_N "(cached) $ECHO_C" >&6
12241 else
12242 ac_check_lib_save_LIBS=$LIBS
12243 LIBS="-lgphoto2 $LIBS"
12244 cat >conftest.$ac_ext <<_ACEOF
12245 /* confdefs.h. */
12246 _ACEOF
12247 cat confdefs.h >>conftest.$ac_ext
12248 cat >>conftest.$ac_ext <<_ACEOF
12249 /* end confdefs.h. */
12251 /* Override any GCC internal prototype to avoid an error.
12252 Use char because int might match the return type of a GCC
12253 builtin and then its argument prototype would still apply. */
12254 #ifdef __cplusplus
12255 extern "C"
12256 #endif
12257 char gp_camera_new ();
12259 main ()
12261 return gp_camera_new ();
12263 return 0;
12265 _ACEOF
12266 rm -f conftest.$ac_objext conftest$ac_exeext
12267 if { (ac_try="$ac_link"
12268 case "(($ac_try" in
12269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12270 *) ac_try_echo=$ac_try;;
12271 esac
12272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12273 (eval "$ac_link") 2>conftest.er1
12274 ac_status=$?
12275 grep -v '^ *+' conftest.er1 >conftest.err
12276 rm -f conftest.er1
12277 cat conftest.err >&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } && {
12280 test -z "$ac_c_werror_flag" ||
12281 test ! -s conftest.err
12282 } && test -s conftest$ac_exeext &&
12283 $as_test_x conftest$ac_exeext; then
12284 ac_cv_lib_gphoto2_gp_camera_new=yes
12285 else
12286 echo "$as_me: failed program was:" >&5
12287 sed 's/^/| /' conftest.$ac_ext >&5
12289 ac_cv_lib_gphoto2_gp_camera_new=no
12292 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12293 conftest$ac_exeext conftest.$ac_ext
12294 LIBS=$ac_check_lib_save_LIBS
12296 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12297 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12298 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
12300 cat >>confdefs.h <<\_ACEOF
12301 #define HAVE_GPHOTO2 1
12302 _ACEOF
12304 else
12305 GPHOTO2LIBS=""
12306 GPHOTO2INCL=""
12309 else
12310 GPHOTO2LIBS=""
12311 GPHOTO2INCL=""
12315 LIBS="$ac_save_LIBS"
12316 CPPFLAGS="$ac_save_CPPFLAGS"
12319 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
12320 then
12321 saved_libs="$LIBS"
12322 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
12323 if test -n "$ICU_LIB_DIR"
12324 then
12325 icu_libs="-L$ICU_LIB_DIR $icu_libs"
12327 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
12328 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
12329 LIBS="$saved_libs $icu_libs"
12330 if test "$cross_compiling" = yes; then
12331 { echo "$as_me:$LINENO: result: no" >&5
12332 echo "${ECHO_T}no" >&6; }
12333 else
12334 cat >conftest.$ac_ext <<_ACEOF
12335 /* confdefs.h. */
12336 _ACEOF
12337 cat confdefs.h >>conftest.$ac_ext
12338 cat >>conftest.$ac_ext <<_ACEOF
12339 /* end confdefs.h. */
12340 #include <unicode/ubidi.h>
12342 main ()
12344 ubidi_open()
12346 return 0;
12348 _ACEOF
12349 rm -f conftest$ac_exeext
12350 if { (ac_try="$ac_link"
12351 case "(($ac_try" in
12352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12353 *) ac_try_echo=$ac_try;;
12354 esac
12355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12356 (eval "$ac_link") 2>&5
12357 ac_status=$?
12358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12359 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12360 { (case "(($ac_try" in
12361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12362 *) ac_try_echo=$ac_try;;
12363 esac
12364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12365 (eval "$ac_try") 2>&5
12366 ac_status=$?
12367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12368 (exit $ac_status); }; }; then
12370 cat >>confdefs.h <<\_ACEOF
12371 #define HAVE_ICU 1
12372 _ACEOF
12374 ICULIBS="$icu_libs"
12376 { echo "$as_me:$LINENO: result: yes" >&5
12377 echo "${ECHO_T}yes" >&6; }
12378 else
12379 echo "$as_me: program exited with status $ac_status" >&5
12380 echo "$as_me: failed program was:" >&5
12381 sed 's/^/| /' conftest.$ac_ext >&5
12383 ( exit $ac_status )
12384 { echo "$as_me:$LINENO: result: no" >&5
12385 echo "${ECHO_T}no" >&6; }
12387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12391 LIBS="$saved_libs"
12394 RESOLVLIBS=""
12396 if test "$ac_cv_header_resolv_h" = "yes"
12397 then
12398 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
12399 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
12400 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
12401 echo $ECHO_N "(cached) $ECHO_C" >&6
12402 else
12403 ac_check_lib_save_LIBS=$LIBS
12404 LIBS="-lresolv $LIBS"
12405 cat >conftest.$ac_ext <<_ACEOF
12406 /* confdefs.h. */
12407 _ACEOF
12408 cat confdefs.h >>conftest.$ac_ext
12409 cat >>conftest.$ac_ext <<_ACEOF
12410 /* end confdefs.h. */
12412 /* Override any GCC internal prototype to avoid an error.
12413 Use char because int might match the return type of a GCC
12414 builtin and then its argument prototype would still apply. */
12415 #ifdef __cplusplus
12416 extern "C"
12417 #endif
12418 char res_query ();
12420 main ()
12422 return res_query ();
12424 return 0;
12426 _ACEOF
12427 rm -f conftest.$ac_objext conftest$ac_exeext
12428 if { (ac_try="$ac_link"
12429 case "(($ac_try" in
12430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12431 *) ac_try_echo=$ac_try;;
12432 esac
12433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12434 (eval "$ac_link") 2>conftest.er1
12435 ac_status=$?
12436 grep -v '^ *+' conftest.er1 >conftest.err
12437 rm -f conftest.er1
12438 cat conftest.err >&5
12439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12440 (exit $ac_status); } && {
12441 test -z "$ac_c_werror_flag" ||
12442 test ! -s conftest.err
12443 } && test -s conftest$ac_exeext &&
12444 $as_test_x conftest$ac_exeext; then
12445 ac_cv_lib_resolv_res_query=yes
12446 else
12447 echo "$as_me: failed program was:" >&5
12448 sed 's/^/| /' conftest.$ac_ext >&5
12450 ac_cv_lib_resolv_res_query=no
12453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12454 conftest$ac_exeext conftest.$ac_ext
12455 LIBS=$ac_check_lib_save_LIBS
12457 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12458 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12459 if test $ac_cv_lib_resolv_res_query = yes; then
12461 cat >>confdefs.h <<\_ACEOF
12462 #define HAVE_RESOLV 1
12463 _ACEOF
12465 RESOLVLIBS="-lresolv"
12470 LCMSLIBS=""
12472 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12473 then
12474 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12475 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12476 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12477 echo $ECHO_N "(cached) $ECHO_C" >&6
12478 else
12479 ac_check_lib_save_LIBS=$LIBS
12480 LIBS="-llcms $LIBS"
12481 cat >conftest.$ac_ext <<_ACEOF
12482 /* confdefs.h. */
12483 _ACEOF
12484 cat confdefs.h >>conftest.$ac_ext
12485 cat >>conftest.$ac_ext <<_ACEOF
12486 /* end confdefs.h. */
12488 /* Override any GCC internal prototype to avoid an error.
12489 Use char because int might match the return type of a GCC
12490 builtin and then its argument prototype would still apply. */
12491 #ifdef __cplusplus
12492 extern "C"
12493 #endif
12494 char cmsOpenProfileFromFile ();
12496 main ()
12498 return cmsOpenProfileFromFile ();
12500 return 0;
12502 _ACEOF
12503 rm -f conftest.$ac_objext conftest$ac_exeext
12504 if { (ac_try="$ac_link"
12505 case "(($ac_try" in
12506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12508 esac
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_link") 2>conftest.er1
12511 ac_status=$?
12512 grep -v '^ *+' conftest.er1 >conftest.err
12513 rm -f conftest.er1
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } && {
12517 test -z "$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12519 } && test -s conftest$ac_exeext &&
12520 $as_test_x conftest$ac_exeext; then
12521 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12522 else
12523 echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.$ac_ext >&5
12526 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12530 conftest$ac_exeext conftest.$ac_ext
12531 LIBS=$ac_check_lib_save_LIBS
12533 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12534 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12535 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12537 cat >>confdefs.h <<\_ACEOF
12538 #define HAVE_LCMS 1
12539 _ACEOF
12541 LCMSLIBS="-llcms"
12546 LDAPLIBS=""
12548 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12549 then
12550 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12551 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12552 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12553 echo $ECHO_N "(cached) $ECHO_C" >&6
12554 else
12555 ac_check_lib_save_LIBS=$LIBS
12556 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12557 cat >conftest.$ac_ext <<_ACEOF
12558 /* confdefs.h. */
12559 _ACEOF
12560 cat confdefs.h >>conftest.$ac_ext
12561 cat >>conftest.$ac_ext <<_ACEOF
12562 /* end confdefs.h. */
12564 /* Override any GCC internal prototype to avoid an error.
12565 Use char because int might match the return type of a GCC
12566 builtin and then its argument prototype would still apply. */
12567 #ifdef __cplusplus
12568 extern "C"
12569 #endif
12570 char ldap_initialize ();
12572 main ()
12574 return ldap_initialize ();
12576 return 0;
12578 _ACEOF
12579 rm -f conftest.$ac_objext conftest$ac_exeext
12580 if { (ac_try="$ac_link"
12581 case "(($ac_try" in
12582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12583 *) ac_try_echo=$ac_try;;
12584 esac
12585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12586 (eval "$ac_link") 2>conftest.er1
12587 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } && {
12593 test -z "$ac_c_werror_flag" ||
12594 test ! -s conftest.err
12595 } && test -s conftest$ac_exeext &&
12596 $as_test_x conftest$ac_exeext; then
12597 ac_cv_lib_ldap_r_ldap_initialize=yes
12598 else
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.$ac_ext >&5
12602 ac_cv_lib_ldap_r_ldap_initialize=no
12605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12606 conftest$ac_exeext conftest.$ac_ext
12607 LIBS=$ac_check_lib_save_LIBS
12609 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12610 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12611 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12612 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12613 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12614 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12615 echo $ECHO_N "(cached) $ECHO_C" >&6
12616 else
12617 ac_check_lib_save_LIBS=$LIBS
12618 LIBS="-llber $LIBPTHREAD $LIBS"
12619 cat >conftest.$ac_ext <<_ACEOF
12620 /* confdefs.h. */
12621 _ACEOF
12622 cat confdefs.h >>conftest.$ac_ext
12623 cat >>conftest.$ac_ext <<_ACEOF
12624 /* end confdefs.h. */
12626 /* Override any GCC internal prototype to avoid an error.
12627 Use char because int might match the return type of a GCC
12628 builtin and then its argument prototype would still apply. */
12629 #ifdef __cplusplus
12630 extern "C"
12631 #endif
12632 char ber_init ();
12634 main ()
12636 return ber_init ();
12638 return 0;
12640 _ACEOF
12641 rm -f conftest.$ac_objext conftest$ac_exeext
12642 if { (ac_try="$ac_link"
12643 case "(($ac_try" in
12644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12645 *) ac_try_echo=$ac_try;;
12646 esac
12647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12648 (eval "$ac_link") 2>conftest.er1
12649 ac_status=$?
12650 grep -v '^ *+' conftest.er1 >conftest.err
12651 rm -f conftest.er1
12652 cat conftest.err >&5
12653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12654 (exit $ac_status); } && {
12655 test -z "$ac_c_werror_flag" ||
12656 test ! -s conftest.err
12657 } && test -s conftest$ac_exeext &&
12658 $as_test_x conftest$ac_exeext; then
12659 ac_cv_lib_lber_ber_init=yes
12660 else
12661 echo "$as_me: failed program was:" >&5
12662 sed 's/^/| /' conftest.$ac_ext >&5
12664 ac_cv_lib_lber_ber_init=no
12667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12668 conftest$ac_exeext conftest.$ac_ext
12669 LIBS=$ac_check_lib_save_LIBS
12671 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12672 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12673 if test $ac_cv_lib_lber_ber_init = yes; then
12675 cat >>confdefs.h <<\_ACEOF
12676 #define HAVE_LDAP 1
12677 _ACEOF
12679 LDAPLIBS="-lldap_r -llber"
12684 ac_wine_check_funcs_save_LIBS="$LIBS"
12685 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12690 for ac_func in \
12691 ldap_count_references \
12692 ldap_first_reference \
12693 ldap_next_reference \
12694 ldap_parse_reference
12696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12697 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12699 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12701 else
12702 cat >conftest.$ac_ext <<_ACEOF
12703 /* confdefs.h. */
12704 _ACEOF
12705 cat confdefs.h >>conftest.$ac_ext
12706 cat >>conftest.$ac_ext <<_ACEOF
12707 /* end confdefs.h. */
12708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12710 #define $ac_func innocuous_$ac_func
12712 /* System header to define __stub macros and hopefully few prototypes,
12713 which can conflict with char $ac_func (); below.
12714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12715 <limits.h> exists even on freestanding compilers. */
12717 #ifdef __STDC__
12718 # include <limits.h>
12719 #else
12720 # include <assert.h>
12721 #endif
12723 #undef $ac_func
12725 /* Override any GCC internal prototype to avoid an error.
12726 Use char because int might match the return type of a GCC
12727 builtin and then its argument prototype would still apply. */
12728 #ifdef __cplusplus
12729 extern "C"
12730 #endif
12731 char $ac_func ();
12732 /* The GNU C library defines this for functions which it implements
12733 to always fail with ENOSYS. Some functions are actually named
12734 something starting with __ and the normal name is an alias. */
12735 #if defined __stub_$ac_func || defined __stub___$ac_func
12736 choke me
12737 #endif
12740 main ()
12742 return $ac_func ();
12744 return 0;
12746 _ACEOF
12747 rm -f conftest.$ac_objext conftest$ac_exeext
12748 if { (ac_try="$ac_link"
12749 case "(($ac_try" in
12750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12751 *) ac_try_echo=$ac_try;;
12752 esac
12753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12754 (eval "$ac_link") 2>conftest.er1
12755 ac_status=$?
12756 grep -v '^ *+' conftest.er1 >conftest.err
12757 rm -f conftest.er1
12758 cat conftest.err >&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } && {
12761 test -z "$ac_c_werror_flag" ||
12762 test ! -s conftest.err
12763 } && test -s conftest$ac_exeext &&
12764 $as_test_x conftest$ac_exeext; then
12765 eval "$as_ac_var=yes"
12766 else
12767 echo "$as_me: failed program was:" >&5
12768 sed 's/^/| /' conftest.$ac_ext >&5
12770 eval "$as_ac_var=no"
12773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12774 conftest$ac_exeext conftest.$ac_ext
12776 ac_res=`eval echo '${'$as_ac_var'}'`
12777 { echo "$as_me:$LINENO: result: $ac_res" >&5
12778 echo "${ECHO_T}$ac_res" >&6; }
12779 if test `eval echo '${'$as_ac_var'}'` = yes; then
12780 cat >>confdefs.h <<_ACEOF
12781 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12782 _ACEOF
12785 done
12787 LIBS="$ac_wine_check_funcs_save_LIBS"
12790 wine_cv_msg_freetype=yes
12791 for ac_prog in freetype-config freetype2-config
12793 # Extract the first word of "$ac_prog", so it can be a program name with args.
12794 set dummy $ac_prog; ac_word=$2
12795 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12797 if test "${ac_cv_prog_ft_devel+set}" = set; then
12798 echo $ECHO_N "(cached) $ECHO_C" >&6
12799 else
12800 if test -n "$ft_devel"; then
12801 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12802 else
12803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12804 for as_dir in $PATH
12806 IFS=$as_save_IFS
12807 test -z "$as_dir" && as_dir=.
12808 for ac_exec_ext in '' $ac_executable_extensions; do
12809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12810 ac_cv_prog_ft_devel="$ac_prog"
12811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12812 break 2
12814 done
12815 done
12816 IFS=$as_save_IFS
12820 ft_devel=$ac_cv_prog_ft_devel
12821 if test -n "$ft_devel"; then
12822 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12823 echo "${ECHO_T}$ft_devel" >&6; }
12824 else
12825 { echo "$as_me:$LINENO: result: no" >&5
12826 echo "${ECHO_T}no" >&6; }
12830 test -n "$ft_devel" && break
12831 done
12832 test -n "$ft_devel" || ft_devel="false"
12834 if test "$ft_devel" != "false"
12835 then
12836 ac_freetype_libs=`$ft_devel --libs`
12837 ac_freetype_incl=`$ft_devel --cflags`
12838 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
12839 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
12840 if test "${ac_cv_lib_soname_freetype+set}" = set; then
12841 echo $ECHO_N "(cached) $ECHO_C" >&6
12842 else
12843 ac_check_soname_save_LIBS=$LIBS
12844 LIBS="-lfreetype $ac_freetype_libs $LIBS"
12845 cat >conftest.$ac_ext <<_ACEOF
12846 /* confdefs.h. */
12847 _ACEOF
12848 cat confdefs.h >>conftest.$ac_ext
12849 cat >>conftest.$ac_ext <<_ACEOF
12850 /* end confdefs.h. */
12852 /* Override any GCC internal prototype to avoid an error.
12853 Use char because int might match the return type of a GCC
12854 builtin and then its argument prototype would still apply. */
12855 #ifdef __cplusplus
12856 extern "C"
12857 #endif
12858 char FT_Init_FreeType ();
12860 main ()
12862 return FT_Init_FreeType ();
12864 return 0;
12866 _ACEOF
12867 rm -f conftest.$ac_objext conftest$ac_exeext
12868 if { (ac_try="$ac_link"
12869 case "(($ac_try" in
12870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12871 *) ac_try_echo=$ac_try;;
12872 esac
12873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12874 (eval "$ac_link") 2>conftest.er1
12875 ac_status=$?
12876 grep -v '^ *+' conftest.er1 >conftest.err
12877 rm -f conftest.er1
12878 cat conftest.err >&5
12879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12880 (exit $ac_status); } && {
12881 test -z "$ac_c_werror_flag" ||
12882 test ! -s conftest.err
12883 } && test -s conftest$ac_exeext &&
12884 $as_test_x conftest$ac_exeext; then
12885 case "$LIBEXT" in
12886 dll) ;;
12887 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'` ;;
12888 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12889 esac
12890 else
12891 echo "$as_me: failed program was:" >&5
12892 sed 's/^/| /' conftest.$ac_ext >&5
12897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12898 conftest$ac_exeext conftest.$ac_ext
12899 LIBS=$ac_check_soname_save_LIBS
12901 if test "x$ac_cv_lib_soname_freetype" = "x"; then
12902 { echo "$as_me:$LINENO: result: not found" >&5
12903 echo "${ECHO_T}not found" >&6; }
12904 ft_lib=no
12905 else
12906 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
12907 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
12909 cat >>confdefs.h <<_ACEOF
12910 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12911 _ACEOF
12913 ft_lib=yes
12916 if test "$ft_lib" = "yes"
12917 then
12918 ac_save_CPPFLAGS="$CPPFLAGS"
12919 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
12931 for ac_header in ft2build.h \
12932 freetype/freetype.h \
12933 freetype/ftglyph.h \
12934 freetype/tttables.h \
12935 freetype/ftnames.h \
12936 freetype/ftsnames.h \
12937 freetype/ttnameid.h \
12938 freetype/ftoutln.h \
12939 freetype/ftwinfnt.h \
12940 freetype/ftmodapi.h \
12941 freetype/internal/sfnt.h
12943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12944 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12948 else
12949 cat >conftest.$ac_ext <<_ACEOF
12950 /* confdefs.h. */
12951 _ACEOF
12952 cat confdefs.h >>conftest.$ac_ext
12953 cat >>conftest.$ac_ext <<_ACEOF
12954 /* end confdefs.h. */
12955 #if HAVE_FT2BUILD_H
12956 #include <ft2build.h>
12957 #endif
12959 #include <$ac_header>
12960 _ACEOF
12961 rm -f conftest.$ac_objext
12962 if { (ac_try="$ac_compile"
12963 case "(($ac_try" in
12964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12965 *) ac_try_echo=$ac_try;;
12966 esac
12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12968 (eval "$ac_compile") 2>conftest.er1
12969 ac_status=$?
12970 grep -v '^ *+' conftest.er1 >conftest.err
12971 rm -f conftest.er1
12972 cat conftest.err >&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } && {
12975 test -z "$ac_c_werror_flag" ||
12976 test ! -s conftest.err
12977 } && test -s conftest.$ac_objext; then
12978 eval "$as_ac_Header=yes"
12979 else
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12983 eval "$as_ac_Header=no"
12986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12988 ac_res=`eval echo '${'$as_ac_Header'}'`
12989 { echo "$as_me:$LINENO: result: $ac_res" >&5
12990 echo "${ECHO_T}$ac_res" >&6; }
12991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12992 cat >>confdefs.h <<_ACEOF
12993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12994 _ACEOF
12998 done
13000 cat >conftest.$ac_ext <<_ACEOF
13001 /* confdefs.h. */
13002 _ACEOF
13003 cat confdefs.h >>conftest.$ac_ext
13004 cat >>conftest.$ac_ext <<_ACEOF
13005 /* end confdefs.h. */
13006 #include <ft2build.h>
13007 #include <freetype/fttrigon.h>
13008 _ACEOF
13009 if { (ac_try="$ac_cpp conftest.$ac_ext"
13010 case "(($ac_try" in
13011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13012 *) ac_try_echo=$ac_try;;
13013 esac
13014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
13016 ac_status=$?
13017 grep -v '^ *+' conftest.er1 >conftest.err
13018 rm -f conftest.er1
13019 cat conftest.err >&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); } >/dev/null && {
13022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
13023 test ! -s conftest.err
13024 }; then
13026 cat >>confdefs.h <<\_ACEOF
13027 #define HAVE_FREETYPE_FTTRIGON_H 1
13028 _ACEOF
13030 wine_cv_fttrigon=yes
13031 else
13032 echo "$as_me: failed program was:" >&5
13033 sed 's/^/| /' conftest.$ac_ext >&5
13035 wine_cv_fttrigon=no
13038 rm -f conftest.err conftest.$ac_ext
13039 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
13040 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
13041 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
13042 echo $ECHO_N "(cached) $ECHO_C" >&6
13043 else
13044 cat >conftest.$ac_ext <<_ACEOF
13045 /* confdefs.h. */
13046 _ACEOF
13047 cat confdefs.h >>conftest.$ac_ext
13048 cat >>conftest.$ac_ext <<_ACEOF
13049 /* end confdefs.h. */
13050 #include <freetype/ftmodapi.h>
13052 typedef FT_TrueTypeEngineType ac__type_new_;
13054 main ()
13056 if ((ac__type_new_ *) 0)
13057 return 0;
13058 if (sizeof (ac__type_new_))
13059 return 0;
13061 return 0;
13063 _ACEOF
13064 rm -f conftest.$ac_objext
13065 if { (ac_try="$ac_compile"
13066 case "(($ac_try" in
13067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13068 *) ac_try_echo=$ac_try;;
13069 esac
13070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13071 (eval "$ac_compile") 2>conftest.er1
13072 ac_status=$?
13073 grep -v '^ *+' conftest.er1 >conftest.err
13074 rm -f conftest.er1
13075 cat conftest.err >&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } && {
13078 test -z "$ac_c_werror_flag" ||
13079 test ! -s conftest.err
13080 } && test -s conftest.$ac_objext; then
13081 ac_cv_type_FT_TrueTypeEngineType=yes
13082 else
13083 echo "$as_me: failed program was:" >&5
13084 sed 's/^/| /' conftest.$ac_ext >&5
13086 ac_cv_type_FT_TrueTypeEngineType=no
13089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13091 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
13092 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
13093 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
13095 cat >>confdefs.h <<_ACEOF
13096 #define HAVE_FT_TRUETYPEENGINETYPE 1
13097 _ACEOF
13102 ac_save_CFLAGS="$CFLAGS"
13103 CFLAGS="$CFLAGS $ac_freetype_libs"
13105 for ac_func in FT_Load_Sfnt_Table
13107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13108 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13110 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13111 echo $ECHO_N "(cached) $ECHO_C" >&6
13112 else
13113 cat >conftest.$ac_ext <<_ACEOF
13114 /* confdefs.h. */
13115 _ACEOF
13116 cat confdefs.h >>conftest.$ac_ext
13117 cat >>conftest.$ac_ext <<_ACEOF
13118 /* end confdefs.h. */
13119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13121 #define $ac_func innocuous_$ac_func
13123 /* System header to define __stub macros and hopefully few prototypes,
13124 which can conflict with char $ac_func (); below.
13125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13126 <limits.h> exists even on freestanding compilers. */
13128 #ifdef __STDC__
13129 # include <limits.h>
13130 #else
13131 # include <assert.h>
13132 #endif
13134 #undef $ac_func
13136 /* Override any GCC internal prototype to avoid an error.
13137 Use char because int might match the return type of a GCC
13138 builtin and then its argument prototype would still apply. */
13139 #ifdef __cplusplus
13140 extern "C"
13141 #endif
13142 char $ac_func ();
13143 /* The GNU C library defines this for functions which it implements
13144 to always fail with ENOSYS. Some functions are actually named
13145 something starting with __ and the normal name is an alias. */
13146 #if defined __stub_$ac_func || defined __stub___$ac_func
13147 choke me
13148 #endif
13151 main ()
13153 return $ac_func ();
13155 return 0;
13157 _ACEOF
13158 rm -f conftest.$ac_objext conftest$ac_exeext
13159 if { (ac_try="$ac_link"
13160 case "(($ac_try" in
13161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13162 *) ac_try_echo=$ac_try;;
13163 esac
13164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13165 (eval "$ac_link") 2>conftest.er1
13166 ac_status=$?
13167 grep -v '^ *+' conftest.er1 >conftest.err
13168 rm -f conftest.er1
13169 cat conftest.err >&5
13170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13171 (exit $ac_status); } && {
13172 test -z "$ac_c_werror_flag" ||
13173 test ! -s conftest.err
13174 } && test -s conftest$ac_exeext &&
13175 $as_test_x conftest$ac_exeext; then
13176 eval "$as_ac_var=yes"
13177 else
13178 echo "$as_me: failed program was:" >&5
13179 sed 's/^/| /' conftest.$ac_ext >&5
13181 eval "$as_ac_var=no"
13184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13185 conftest$ac_exeext conftest.$ac_ext
13187 ac_res=`eval echo '${'$as_ac_var'}'`
13188 { echo "$as_me:$LINENO: result: $ac_res" >&5
13189 echo "${ECHO_T}$ac_res" >&6; }
13190 if test `eval echo '${'$as_ac_var'}'` = yes; then
13191 cat >>confdefs.h <<_ACEOF
13192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13193 _ACEOF
13196 done
13198 CFLAGS="$ac_save_CFLAGS"
13199 CPPFLAGS="$ac_save_CPPFLAGS"
13200 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
13201 then
13203 cat >>confdefs.h <<\_ACEOF
13204 #define HAVE_FREETYPE 1
13205 _ACEOF
13207 FREETYPELIBS="$ac_freetype_libs"
13209 FREETYPEINCL="$ac_freetype_incl"
13211 wine_cv_msg_freetype=no
13216 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
13217 then
13218 FONTSSUBDIRS="fonts"
13222 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
13223 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
13224 if test "${ac_cv_c_ppdev+set}" = set; then
13225 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 else
13227 cat >conftest.$ac_ext <<_ACEOF
13228 /* confdefs.h. */
13229 _ACEOF
13230 cat confdefs.h >>conftest.$ac_ext
13231 cat >>conftest.$ac_ext <<_ACEOF
13232 /* end confdefs.h. */
13233 #include <linux/ppdev.h>
13235 main ()
13237 ioctl (1,PPCLAIM,0)
13239 return 0;
13241 _ACEOF
13242 rm -f conftest.$ac_objext
13243 if { (ac_try="$ac_compile"
13244 case "(($ac_try" in
13245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13246 *) ac_try_echo=$ac_try;;
13247 esac
13248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13249 (eval "$ac_compile") 2>conftest.er1
13250 ac_status=$?
13251 grep -v '^ *+' conftest.er1 >conftest.err
13252 rm -f conftest.er1
13253 cat conftest.err >&5
13254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13255 (exit $ac_status); } && {
13256 test -z "$ac_c_werror_flag" ||
13257 test ! -s conftest.err
13258 } && test -s conftest.$ac_objext; then
13259 ac_cv_c_ppdev="yes"
13260 else
13261 echo "$as_me: failed program was:" >&5
13262 sed 's/^/| /' conftest.$ac_ext >&5
13264 ac_cv_c_ppdev="no"
13267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13269 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13270 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13271 if test "$ac_cv_c_ppdev" = "yes"
13272 then
13274 cat >>confdefs.h <<\_ACEOF
13275 #define HAVE_PPDEV 1
13276 _ACEOF
13280 { echo "$as_me:$LINENO: checking for va_copy" >&5
13281 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13282 if test "${ac_cv_c_va_copy+set}" = set; then
13283 echo $ECHO_N "(cached) $ECHO_C" >&6
13284 else
13285 cat >conftest.$ac_ext <<_ACEOF
13286 /* confdefs.h. */
13287 _ACEOF
13288 cat confdefs.h >>conftest.$ac_ext
13289 cat >>conftest.$ac_ext <<_ACEOF
13290 /* end confdefs.h. */
13291 #include <stdarg.h>
13293 main ()
13295 va_list ap1, ap2; va_copy(ap1,ap2);
13297 return 0;
13299 _ACEOF
13300 rm -f conftest.$ac_objext conftest$ac_exeext
13301 if { (ac_try="$ac_link"
13302 case "(($ac_try" in
13303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13304 *) ac_try_echo=$ac_try;;
13305 esac
13306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13307 (eval "$ac_link") 2>conftest.er1
13308 ac_status=$?
13309 grep -v '^ *+' conftest.er1 >conftest.err
13310 rm -f conftest.er1
13311 cat conftest.err >&5
13312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13313 (exit $ac_status); } && {
13314 test -z "$ac_c_werror_flag" ||
13315 test ! -s conftest.err
13316 } && test -s conftest$ac_exeext &&
13317 $as_test_x conftest$ac_exeext; then
13318 ac_cv_c_va_copy="yes"
13319 else
13320 echo "$as_me: failed program was:" >&5
13321 sed 's/^/| /' conftest.$ac_ext >&5
13323 ac_cv_c_va_copy="no"
13326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13327 conftest$ac_exeext conftest.$ac_ext
13330 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13331 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13332 if test "$ac_cv_c_va_copy" = "yes"
13333 then
13335 cat >>confdefs.h <<\_ACEOF
13336 #define HAVE_VA_COPY 1
13337 _ACEOF
13340 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13341 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13342 if test "${ac_cv_c___va_copy+set}" = set; then
13343 echo $ECHO_N "(cached) $ECHO_C" >&6
13344 else
13345 cat >conftest.$ac_ext <<_ACEOF
13346 /* confdefs.h. */
13347 _ACEOF
13348 cat confdefs.h >>conftest.$ac_ext
13349 cat >>conftest.$ac_ext <<_ACEOF
13350 /* end confdefs.h. */
13351 #include <stdarg.h>
13353 main ()
13355 va_list ap1, ap2; __va_copy(ap1,ap2);
13357 return 0;
13359 _ACEOF
13360 rm -f conftest.$ac_objext conftest$ac_exeext
13361 if { (ac_try="$ac_link"
13362 case "(($ac_try" in
13363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13364 *) ac_try_echo=$ac_try;;
13365 esac
13366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13367 (eval "$ac_link") 2>conftest.er1
13368 ac_status=$?
13369 grep -v '^ *+' conftest.er1 >conftest.err
13370 rm -f conftest.er1
13371 cat conftest.err >&5
13372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373 (exit $ac_status); } && {
13374 test -z "$ac_c_werror_flag" ||
13375 test ! -s conftest.err
13376 } && test -s conftest$ac_exeext &&
13377 $as_test_x conftest$ac_exeext; then
13378 ac_cv_c___va_copy="yes"
13379 else
13380 echo "$as_me: failed program was:" >&5
13381 sed 's/^/| /' conftest.$ac_ext >&5
13383 ac_cv_c___va_copy="no"
13386 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13387 conftest$ac_exeext conftest.$ac_ext
13390 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13391 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13392 if test "$ac_cv_c___va_copy" = "yes"
13393 then
13395 cat >>confdefs.h <<\_ACEOF
13396 #define HAVE___VA_COPY 1
13397 _ACEOF
13401 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13402 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13403 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13404 echo $ECHO_N "(cached) $ECHO_C" >&6
13405 else
13406 cat >conftest.$ac_ext <<_ACEOF
13407 /* confdefs.h. */
13408 _ACEOF
13409 cat confdefs.h >>conftest.$ac_ext
13410 cat >>conftest.$ac_ext <<_ACEOF
13411 /* end confdefs.h. */
13412 #include <setjmp.h>
13414 main ()
13416 sigjmp_buf buf;
13417 sigsetjmp( buf, 1 );
13418 siglongjmp( buf, 1 );
13420 return 0;
13422 _ACEOF
13423 rm -f conftest.$ac_objext conftest$ac_exeext
13424 if { (ac_try="$ac_link"
13425 case "(($ac_try" in
13426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13427 *) ac_try_echo=$ac_try;;
13428 esac
13429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13430 (eval "$ac_link") 2>conftest.er1
13431 ac_status=$?
13432 grep -v '^ *+' conftest.er1 >conftest.err
13433 rm -f conftest.er1
13434 cat conftest.err >&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); } && {
13437 test -z "$ac_c_werror_flag" ||
13438 test ! -s conftest.err
13439 } && test -s conftest$ac_exeext &&
13440 $as_test_x conftest$ac_exeext; then
13441 ac_cv_c_sigsetjmp="yes"
13442 else
13443 echo "$as_me: failed program was:" >&5
13444 sed 's/^/| /' conftest.$ac_ext >&5
13446 ac_cv_c_sigsetjmp="no"
13449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13450 conftest$ac_exeext conftest.$ac_ext
13453 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13454 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13455 if test "$ac_cv_c_sigsetjmp" = "yes"
13456 then
13458 cat >>confdefs.h <<\_ACEOF
13459 #define HAVE_SIGSETJMP 1
13460 _ACEOF
13464 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13465 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13466 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13468 else
13469 cat >conftest.$ac_ext <<_ACEOF
13470 /* confdefs.h. */
13471 _ACEOF
13472 cat confdefs.h >>conftest.$ac_ext
13473 cat >>conftest.$ac_ext <<_ACEOF
13474 /* end confdefs.h. */
13475 #define _GNU_SOURCE
13476 #include <pthread.h>
13478 typedef pthread_rwlock_t ac__type_new_;
13480 main ()
13482 if ((ac__type_new_ *) 0)
13483 return 0;
13484 if (sizeof (ac__type_new_))
13485 return 0;
13487 return 0;
13489 _ACEOF
13490 rm -f conftest.$ac_objext
13491 if { (ac_try="$ac_compile"
13492 case "(($ac_try" in
13493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13494 *) ac_try_echo=$ac_try;;
13495 esac
13496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13497 (eval "$ac_compile") 2>conftest.er1
13498 ac_status=$?
13499 grep -v '^ *+' conftest.er1 >conftest.err
13500 rm -f conftest.er1
13501 cat conftest.err >&5
13502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13503 (exit $ac_status); } && {
13504 test -z "$ac_c_werror_flag" ||
13505 test ! -s conftest.err
13506 } && test -s conftest.$ac_objext; then
13507 ac_cv_type_pthread_rwlock_t=yes
13508 else
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13512 ac_cv_type_pthread_rwlock_t=no
13515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13517 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13518 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13519 if test $ac_cv_type_pthread_rwlock_t = yes; then
13521 cat >>confdefs.h <<_ACEOF
13522 #define HAVE_PTHREAD_RWLOCK_T 1
13523 _ACEOF
13527 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13528 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13529 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13530 echo $ECHO_N "(cached) $ECHO_C" >&6
13531 else
13532 cat >conftest.$ac_ext <<_ACEOF
13533 /* confdefs.h. */
13534 _ACEOF
13535 cat confdefs.h >>conftest.$ac_ext
13536 cat >>conftest.$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13538 #define _GNU_SOURCE
13539 #include <pthread.h>
13541 typedef pthread_rwlockattr_t ac__type_new_;
13543 main ()
13545 if ((ac__type_new_ *) 0)
13546 return 0;
13547 if (sizeof (ac__type_new_))
13548 return 0;
13550 return 0;
13552 _ACEOF
13553 rm -f conftest.$ac_objext
13554 if { (ac_try="$ac_compile"
13555 case "(($ac_try" in
13556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13557 *) ac_try_echo=$ac_try;;
13558 esac
13559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13560 (eval "$ac_compile") 2>conftest.er1
13561 ac_status=$?
13562 grep -v '^ *+' conftest.er1 >conftest.err
13563 rm -f conftest.er1
13564 cat conftest.err >&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); } && {
13567 test -z "$ac_c_werror_flag" ||
13568 test ! -s conftest.err
13569 } && test -s conftest.$ac_objext; then
13570 ac_cv_type_pthread_rwlockattr_t=yes
13571 else
13572 echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.$ac_ext >&5
13575 ac_cv_type_pthread_rwlockattr_t=no
13578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13580 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13581 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13582 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13584 cat >>confdefs.h <<_ACEOF
13585 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13586 _ACEOF
13592 ac_wine_check_funcs_save_LIBS="$LIBS"
13593 LIBS="$LIBS $LIBPTHREAD"
13598 for ac_func in \
13599 pthread_attr_get_np \
13600 pthread_getattr_np \
13601 pthread_get_stackaddr_np \
13602 pthread_get_stacksize_np
13604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13605 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13607 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13608 echo $ECHO_N "(cached) $ECHO_C" >&6
13609 else
13610 cat >conftest.$ac_ext <<_ACEOF
13611 /* confdefs.h. */
13612 _ACEOF
13613 cat confdefs.h >>conftest.$ac_ext
13614 cat >>conftest.$ac_ext <<_ACEOF
13615 /* end confdefs.h. */
13616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13618 #define $ac_func innocuous_$ac_func
13620 /* System header to define __stub macros and hopefully few prototypes,
13621 which can conflict with char $ac_func (); below.
13622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13623 <limits.h> exists even on freestanding compilers. */
13625 #ifdef __STDC__
13626 # include <limits.h>
13627 #else
13628 # include <assert.h>
13629 #endif
13631 #undef $ac_func
13633 /* Override any GCC internal prototype to avoid an error.
13634 Use char because int might match the return type of a GCC
13635 builtin and then its argument prototype would still apply. */
13636 #ifdef __cplusplus
13637 extern "C"
13638 #endif
13639 char $ac_func ();
13640 /* The GNU C library defines this for functions which it implements
13641 to always fail with ENOSYS. Some functions are actually named
13642 something starting with __ and the normal name is an alias. */
13643 #if defined __stub_$ac_func || defined __stub___$ac_func
13644 choke me
13645 #endif
13648 main ()
13650 return $ac_func ();
13652 return 0;
13654 _ACEOF
13655 rm -f conftest.$ac_objext conftest$ac_exeext
13656 if { (ac_try="$ac_link"
13657 case "(($ac_try" in
13658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13659 *) ac_try_echo=$ac_try;;
13660 esac
13661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13662 (eval "$ac_link") 2>conftest.er1
13663 ac_status=$?
13664 grep -v '^ *+' conftest.er1 >conftest.err
13665 rm -f conftest.er1
13666 cat conftest.err >&5
13667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13668 (exit $ac_status); } && {
13669 test -z "$ac_c_werror_flag" ||
13670 test ! -s conftest.err
13671 } && test -s conftest$ac_exeext &&
13672 $as_test_x conftest$ac_exeext; then
13673 eval "$as_ac_var=yes"
13674 else
13675 echo "$as_me: failed program was:" >&5
13676 sed 's/^/| /' conftest.$ac_ext >&5
13678 eval "$as_ac_var=no"
13681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13682 conftest$ac_exeext conftest.$ac_ext
13684 ac_res=`eval echo '${'$as_ac_var'}'`
13685 { echo "$as_me:$LINENO: result: $ac_res" >&5
13686 echo "${ECHO_T}$ac_res" >&6; }
13687 if test `eval echo '${'$as_ac_var'}'` = yes; then
13688 cat >>confdefs.h <<_ACEOF
13689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13690 _ACEOF
13693 done
13695 LIBS="$ac_wine_check_funcs_save_LIBS"
13697 # Extract the first word of "esd-config", so it can be a program name with args.
13698 set dummy esd-config; ac_word=$2
13699 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13701 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13702 echo $ECHO_N "(cached) $ECHO_C" >&6
13703 else
13704 case $ESDCONFIG in
13705 [\\/]* | ?:[\\/]*)
13706 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13710 for as_dir in $PATH
13712 IFS=$as_save_IFS
13713 test -z "$as_dir" && as_dir=.
13714 for ac_exec_ext in '' $ac_executable_extensions; do
13715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13716 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13718 break 2
13720 done
13721 done
13722 IFS=$as_save_IFS
13725 esac
13727 ESDCONFIG=$ac_cv_path_ESDCONFIG
13728 if test -n "$ESDCONFIG"; then
13729 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13730 echo "${ECHO_T}$ESDCONFIG" >&6; }
13731 else
13732 { echo "$as_me:$LINENO: result: no" >&5
13733 echo "${ECHO_T}no" >&6; }
13737 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13738 then
13739 ESD_CFLAGS=""
13740 for i in `$ESDCONFIG --cflags`
13742 case "$i" in
13743 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13744 esac
13745 done
13746 ESD_LIBS=`$ESDCONFIG --libs`
13747 save_CFLAGS="$CFLAGS"
13748 CFLAGS="$CFLAGS $ESD_CFLAGS"
13749 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13750 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13751 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 else
13754 ac_check_lib_save_LIBS=$LIBS
13755 LIBS="-lesd $LIBS"
13756 cat >conftest.$ac_ext <<_ACEOF
13757 /* confdefs.h. */
13758 _ACEOF
13759 cat confdefs.h >>conftest.$ac_ext
13760 cat >>conftest.$ac_ext <<_ACEOF
13761 /* end confdefs.h. */
13763 /* Override any GCC internal prototype to avoid an error.
13764 Use char because int might match the return type of a GCC
13765 builtin and then its argument prototype would still apply. */
13766 #ifdef __cplusplus
13767 extern "C"
13768 #endif
13769 char esd_open_sound ();
13771 main ()
13773 return esd_open_sound ();
13775 return 0;
13777 _ACEOF
13778 rm -f conftest.$ac_objext conftest$ac_exeext
13779 if { (ac_try="$ac_link"
13780 case "(($ac_try" in
13781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13782 *) ac_try_echo=$ac_try;;
13783 esac
13784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13785 (eval "$ac_link") 2>conftest.er1
13786 ac_status=$?
13787 grep -v '^ *+' conftest.er1 >conftest.err
13788 rm -f conftest.er1
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } && {
13792 test -z "$ac_c_werror_flag" ||
13793 test ! -s conftest.err
13794 } && test -s conftest$ac_exeext &&
13795 $as_test_x conftest$ac_exeext; then
13796 ac_cv_lib_esd_esd_open_sound=yes
13797 else
13798 echo "$as_me: failed program was:" >&5
13799 sed 's/^/| /' conftest.$ac_ext >&5
13801 ac_cv_lib_esd_esd_open_sound=no
13804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13805 conftest$ac_exeext conftest.$ac_ext
13806 LIBS=$ac_check_lib_save_LIBS
13808 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13809 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13810 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13811 ESDLIBS=$ESD_LIBS
13813 ESDINCL=$ESD_CFLAGS
13816 cat >>confdefs.h <<\_ACEOF
13817 #define HAVE_ESD 1
13818 _ACEOF
13822 CFLAGS="$save_CFLAGS"
13825 ALSALIBS=""
13827 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13828 then
13829 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13830 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13831 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13832 echo $ECHO_N "(cached) $ECHO_C" >&6
13833 else
13834 ac_check_lib_save_LIBS=$LIBS
13835 LIBS="-lasound $LIBS"
13836 cat >conftest.$ac_ext <<_ACEOF
13837 /* confdefs.h. */
13838 _ACEOF
13839 cat confdefs.h >>conftest.$ac_ext
13840 cat >>conftest.$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13843 /* Override any GCC internal prototype to avoid an error.
13844 Use char because int might match the return type of a GCC
13845 builtin and then its argument prototype would still apply. */
13846 #ifdef __cplusplus
13847 extern "C"
13848 #endif
13849 char snd_pcm_hw_params_get_access ();
13851 main ()
13853 return snd_pcm_hw_params_get_access ();
13855 return 0;
13857 _ACEOF
13858 rm -f conftest.$ac_objext conftest$ac_exeext
13859 if { (ac_try="$ac_link"
13860 case "(($ac_try" in
13861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13862 *) ac_try_echo=$ac_try;;
13863 esac
13864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13865 (eval "$ac_link") 2>conftest.er1
13866 ac_status=$?
13867 grep -v '^ *+' conftest.er1 >conftest.err
13868 rm -f conftest.er1
13869 cat conftest.err >&5
13870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13871 (exit $ac_status); } && {
13872 test -z "$ac_c_werror_flag" ||
13873 test ! -s conftest.err
13874 } && test -s conftest$ac_exeext &&
13875 $as_test_x conftest$ac_exeext; then
13876 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13877 else
13878 echo "$as_me: failed program was:" >&5
13879 sed 's/^/| /' conftest.$ac_ext >&5
13881 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13885 conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_lib_save_LIBS
13888 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13889 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13890 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13891 cat >conftest.$ac_ext <<_ACEOF
13892 /* confdefs.h. */
13893 _ACEOF
13894 cat confdefs.h >>conftest.$ac_ext
13895 cat >>conftest.$ac_ext <<_ACEOF
13896 /* end confdefs.h. */
13897 #ifdef HAVE_ALSA_ASOUNDLIB_H
13898 #include <alsa/asoundlib.h>
13899 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13900 #include <sys/asoundlib.h>
13901 #endif
13903 main ()
13905 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13907 return 0;
13909 _ACEOF
13910 rm -f conftest.$ac_objext
13911 if { (ac_try="$ac_compile"
13912 case "(($ac_try" in
13913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13914 *) ac_try_echo=$ac_try;;
13915 esac
13916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13917 (eval "$ac_compile") 2>conftest.er1
13918 ac_status=$?
13919 grep -v '^ *+' conftest.er1 >conftest.err
13920 rm -f conftest.er1
13921 cat conftest.err >&5
13922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13923 (exit $ac_status); } && {
13924 test -z "$ac_c_werror_flag" ||
13925 test ! -s conftest.err
13926 } && test -s conftest.$ac_objext; then
13928 cat >>confdefs.h <<\_ACEOF
13929 #define HAVE_ALSA 1
13930 _ACEOF
13932 ALSALIBS="-lasound"
13933 else
13934 echo "$as_me: failed program was:" >&5
13935 sed 's/^/| /' conftest.$ac_ext >&5
13940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13946 AUDIOIOLIBS=""
13948 if test "$ac_cv_header_libaudioio_h" = "yes"
13949 then
13950 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13951 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13952 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13953 echo $ECHO_N "(cached) $ECHO_C" >&6
13954 else
13955 ac_check_lib_save_LIBS=$LIBS
13956 LIBS="-laudioio $LIBS"
13957 cat >conftest.$ac_ext <<_ACEOF
13958 /* confdefs.h. */
13959 _ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13964 /* Override any GCC internal prototype to avoid an error.
13965 Use char because int might match the return type of a GCC
13966 builtin and then its argument prototype would still apply. */
13967 #ifdef __cplusplus
13968 extern "C"
13969 #endif
13970 char AudioIOGetVersion ();
13972 main ()
13974 return AudioIOGetVersion ();
13976 return 0;
13978 _ACEOF
13979 rm -f conftest.$ac_objext conftest$ac_exeext
13980 if { (ac_try="$ac_link"
13981 case "(($ac_try" in
13982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13983 *) ac_try_echo=$ac_try;;
13984 esac
13985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13986 (eval "$ac_link") 2>conftest.er1
13987 ac_status=$?
13988 grep -v '^ *+' conftest.er1 >conftest.err
13989 rm -f conftest.er1
13990 cat conftest.err >&5
13991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13992 (exit $ac_status); } && {
13993 test -z "$ac_c_werror_flag" ||
13994 test ! -s conftest.err
13995 } && test -s conftest$ac_exeext &&
13996 $as_test_x conftest$ac_exeext; then
13997 ac_cv_lib_audioio_AudioIOGetVersion=yes
13998 else
13999 echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14002 ac_cv_lib_audioio_AudioIOGetVersion=no
14005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14006 conftest$ac_exeext conftest.$ac_ext
14007 LIBS=$ac_check_lib_save_LIBS
14009 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14010 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14011 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14012 AUDIOIOLIBS="-laudioio"
14014 cat >>confdefs.h <<\_ACEOF
14015 #define HAVE_LIBAUDIOIO 1
14016 _ACEOF
14023 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14024 then
14025 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
14026 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
14027 if test "${ac_cv_lib_soname_capi20+set}" = set; then
14028 echo $ECHO_N "(cached) $ECHO_C" >&6
14029 else
14030 ac_check_soname_save_LIBS=$LIBS
14031 LIBS="-lcapi20 $LIBS"
14032 cat >conftest.$ac_ext <<_ACEOF
14033 /* confdefs.h. */
14034 _ACEOF
14035 cat confdefs.h >>conftest.$ac_ext
14036 cat >>conftest.$ac_ext <<_ACEOF
14037 /* end confdefs.h. */
14039 /* Override any GCC internal prototype to avoid an error.
14040 Use char because int might match the return type of a GCC
14041 builtin and then its argument prototype would still apply. */
14042 #ifdef __cplusplus
14043 extern "C"
14044 #endif
14045 char capi20_register ();
14047 main ()
14049 return capi20_register ();
14051 return 0;
14053 _ACEOF
14054 rm -f conftest.$ac_objext conftest$ac_exeext
14055 if { (ac_try="$ac_link"
14056 case "(($ac_try" in
14057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14058 *) ac_try_echo=$ac_try;;
14059 esac
14060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14061 (eval "$ac_link") 2>conftest.er1
14062 ac_status=$?
14063 grep -v '^ *+' conftest.er1 >conftest.err
14064 rm -f conftest.er1
14065 cat conftest.err >&5
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); } && {
14068 test -z "$ac_c_werror_flag" ||
14069 test ! -s conftest.err
14070 } && test -s conftest$ac_exeext &&
14071 $as_test_x conftest$ac_exeext; then
14072 case "$LIBEXT" in
14073 dll) ;;
14074 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'` ;;
14075 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14076 esac
14077 else
14078 echo "$as_me: failed program was:" >&5
14079 sed 's/^/| /' conftest.$ac_ext >&5
14084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14085 conftest$ac_exeext conftest.$ac_ext
14086 LIBS=$ac_check_soname_save_LIBS
14088 if test "x$ac_cv_lib_soname_capi20" = "x"; then
14089 { echo "$as_me:$LINENO: result: not found" >&5
14090 echo "${ECHO_T}not found" >&6; }
14092 else
14093 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14094 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
14096 cat >>confdefs.h <<_ACEOF
14097 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14098 _ACEOF
14105 if test "$ac_cv_header_cups_cups_h" = "yes"
14106 then
14107 { echo "$as_me:$LINENO: checking for -lcups" >&5
14108 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
14109 if test "${ac_cv_lib_soname_cups+set}" = set; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 else
14112 ac_check_soname_save_LIBS=$LIBS
14113 LIBS="-lcups $LIBS"
14114 cat >conftest.$ac_ext <<_ACEOF
14115 /* confdefs.h. */
14116 _ACEOF
14117 cat confdefs.h >>conftest.$ac_ext
14118 cat >>conftest.$ac_ext <<_ACEOF
14119 /* end confdefs.h. */
14121 /* Override any GCC internal prototype to avoid an error.
14122 Use char because int might match the return type of a GCC
14123 builtin and then its argument prototype would still apply. */
14124 #ifdef __cplusplus
14125 extern "C"
14126 #endif
14127 char cupsGetDefault ();
14129 main ()
14131 return cupsGetDefault ();
14133 return 0;
14135 _ACEOF
14136 rm -f conftest.$ac_objext conftest$ac_exeext
14137 if { (ac_try="$ac_link"
14138 case "(($ac_try" in
14139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14140 *) ac_try_echo=$ac_try;;
14141 esac
14142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14143 (eval "$ac_link") 2>conftest.er1
14144 ac_status=$?
14145 grep -v '^ *+' conftest.er1 >conftest.err
14146 rm -f conftest.er1
14147 cat conftest.err >&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } && {
14150 test -z "$ac_c_werror_flag" ||
14151 test ! -s conftest.err
14152 } && test -s conftest$ac_exeext &&
14153 $as_test_x conftest$ac_exeext; then
14154 case "$LIBEXT" in
14155 dll) ;;
14156 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'` ;;
14157 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14158 esac
14159 else
14160 echo "$as_me: failed program was:" >&5
14161 sed 's/^/| /' conftest.$ac_ext >&5
14166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14167 conftest$ac_exeext conftest.$ac_ext
14168 LIBS=$ac_check_soname_save_LIBS
14170 if test "x$ac_cv_lib_soname_cups" = "x"; then
14171 { echo "$as_me:$LINENO: result: not found" >&5
14172 echo "${ECHO_T}not found" >&6; }
14174 else
14175 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14176 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
14178 cat >>confdefs.h <<_ACEOF
14179 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14180 _ACEOF
14187 if test "$ac_cv_header_jack_jack_h" = "yes"
14188 then
14189 { echo "$as_me:$LINENO: checking for -ljack" >&5
14190 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
14191 if test "${ac_cv_lib_soname_jack+set}" = set; then
14192 echo $ECHO_N "(cached) $ECHO_C" >&6
14193 else
14194 ac_check_soname_save_LIBS=$LIBS
14195 LIBS="-ljack $LIBS"
14196 cat >conftest.$ac_ext <<_ACEOF
14197 /* confdefs.h. */
14198 _ACEOF
14199 cat confdefs.h >>conftest.$ac_ext
14200 cat >>conftest.$ac_ext <<_ACEOF
14201 /* end confdefs.h. */
14203 /* Override any GCC internal prototype to avoid an error.
14204 Use char because int might match the return type of a GCC
14205 builtin and then its argument prototype would still apply. */
14206 #ifdef __cplusplus
14207 extern "C"
14208 #endif
14209 char jack_client_new ();
14211 main ()
14213 return jack_client_new ();
14215 return 0;
14217 _ACEOF
14218 rm -f conftest.$ac_objext conftest$ac_exeext
14219 if { (ac_try="$ac_link"
14220 case "(($ac_try" in
14221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14222 *) ac_try_echo=$ac_try;;
14223 esac
14224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14225 (eval "$ac_link") 2>conftest.er1
14226 ac_status=$?
14227 grep -v '^ *+' conftest.er1 >conftest.err
14228 rm -f conftest.er1
14229 cat conftest.err >&5
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); } && {
14232 test -z "$ac_c_werror_flag" ||
14233 test ! -s conftest.err
14234 } && test -s conftest$ac_exeext &&
14235 $as_test_x conftest$ac_exeext; then
14236 case "$LIBEXT" in
14237 dll) ;;
14238 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'` ;;
14239 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14240 esac
14241 else
14242 echo "$as_me: failed program was:" >&5
14243 sed 's/^/| /' conftest.$ac_ext >&5
14248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14249 conftest$ac_exeext conftest.$ac_ext
14250 LIBS=$ac_check_soname_save_LIBS
14252 if test "x$ac_cv_lib_soname_jack" = "x"; then
14253 { echo "$as_me:$LINENO: result: not found" >&5
14254 echo "${ECHO_T}not found" >&6; }
14256 else
14257 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
14258 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
14260 cat >>confdefs.h <<_ACEOF
14261 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
14262 _ACEOF
14269 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
14270 then
14271 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
14272 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
14273 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 else
14276 ac_check_soname_save_LIBS=$LIBS
14277 LIBS="-lfontconfig $LIBS"
14278 cat >conftest.$ac_ext <<_ACEOF
14279 /* confdefs.h. */
14280 _ACEOF
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14288 #ifdef __cplusplus
14289 extern "C"
14290 #endif
14291 char FcInit ();
14293 main ()
14295 return FcInit ();
14297 return 0;
14299 _ACEOF
14300 rm -f conftest.$ac_objext conftest$ac_exeext
14301 if { (ac_try="$ac_link"
14302 case "(($ac_try" in
14303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14304 *) ac_try_echo=$ac_try;;
14305 esac
14306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14307 (eval "$ac_link") 2>conftest.er1
14308 ac_status=$?
14309 grep -v '^ *+' conftest.er1 >conftest.err
14310 rm -f conftest.er1
14311 cat conftest.err >&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); } && {
14314 test -z "$ac_c_werror_flag" ||
14315 test ! -s conftest.err
14316 } && test -s conftest$ac_exeext &&
14317 $as_test_x conftest$ac_exeext; then
14318 case "$LIBEXT" in
14319 dll) ;;
14320 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'` ;;
14321 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14322 esac
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14331 conftest$ac_exeext conftest.$ac_ext
14332 LIBS=$ac_check_soname_save_LIBS
14334 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
14335 { echo "$as_me:$LINENO: result: not found" >&5
14336 echo "${ECHO_T}not found" >&6; }
14338 else
14339 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
14340 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
14342 cat >>confdefs.h <<_ACEOF
14343 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
14344 _ACEOF
14351 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
14352 then
14353 { echo "$as_me:$LINENO: checking for -lssl" >&5
14354 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
14355 if test "${ac_cv_lib_soname_ssl+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 else
14358 ac_check_soname_save_LIBS=$LIBS
14359 LIBS="-lssl $LIBS"
14360 cat >conftest.$ac_ext <<_ACEOF
14361 /* confdefs.h. */
14362 _ACEOF
14363 cat confdefs.h >>conftest.$ac_ext
14364 cat >>conftest.$ac_ext <<_ACEOF
14365 /* end confdefs.h. */
14367 /* Override any GCC internal prototype to avoid an error.
14368 Use char because int might match the return type of a GCC
14369 builtin and then its argument prototype would still apply. */
14370 #ifdef __cplusplus
14371 extern "C"
14372 #endif
14373 char SSL_library_init ();
14375 main ()
14377 return SSL_library_init ();
14379 return 0;
14381 _ACEOF
14382 rm -f conftest.$ac_objext conftest$ac_exeext
14383 if { (ac_try="$ac_link"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14387 esac
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_link") 2>conftest.er1
14390 ac_status=$?
14391 grep -v '^ *+' conftest.er1 >conftest.err
14392 rm -f conftest.er1
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest$ac_exeext &&
14399 $as_test_x conftest$ac_exeext; then
14400 case "$LIBEXT" in
14401 dll) ;;
14402 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'` ;;
14403 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14404 esac
14405 else
14406 echo "$as_me: failed program was:" >&5
14407 sed 's/^/| /' conftest.$ac_ext >&5
14412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14413 conftest$ac_exeext conftest.$ac_ext
14414 LIBS=$ac_check_soname_save_LIBS
14416 if test "x$ac_cv_lib_soname_ssl" = "x"; then
14417 { echo "$as_me:$LINENO: result: not found" >&5
14418 echo "${ECHO_T}not found" >&6; }
14420 else
14421 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
14422 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
14424 cat >>confdefs.h <<_ACEOF
14425 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
14426 _ACEOF
14431 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
14432 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
14433 if test "${ac_cv_lib_soname_crypto+set}" = set; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 else
14436 ac_check_soname_save_LIBS=$LIBS
14437 LIBS="-lcrypto $LIBS"
14438 cat >conftest.$ac_ext <<_ACEOF
14439 /* confdefs.h. */
14440 _ACEOF
14441 cat confdefs.h >>conftest.$ac_ext
14442 cat >>conftest.$ac_ext <<_ACEOF
14443 /* end confdefs.h. */
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply. */
14448 #ifdef __cplusplus
14449 extern "C"
14450 #endif
14451 char BIO_new_socket ();
14453 main ()
14455 return BIO_new_socket ();
14457 return 0;
14459 _ACEOF
14460 rm -f conftest.$ac_objext conftest$ac_exeext
14461 if { (ac_try="$ac_link"
14462 case "(($ac_try" in
14463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14464 *) ac_try_echo=$ac_try;;
14465 esac
14466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14467 (eval "$ac_link") 2>conftest.er1
14468 ac_status=$?
14469 grep -v '^ *+' conftest.er1 >conftest.err
14470 rm -f conftest.er1
14471 cat conftest.err >&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } && {
14474 test -z "$ac_c_werror_flag" ||
14475 test ! -s conftest.err
14476 } && test -s conftest$ac_exeext &&
14477 $as_test_x conftest$ac_exeext; then
14478 case "$LIBEXT" in
14479 dll) ;;
14480 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'` ;;
14481 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14482 esac
14483 else
14484 echo "$as_me: failed program was:" >&5
14485 sed 's/^/| /' conftest.$ac_ext >&5
14490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14491 conftest$ac_exeext conftest.$ac_ext
14492 LIBS=$ac_check_soname_save_LIBS
14494 if test "x$ac_cv_lib_soname_crypto" = "x"; then
14495 { echo "$as_me:$LINENO: result: not found" >&5
14496 echo "${ECHO_T}not found" >&6; }
14498 else
14499 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
14500 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
14502 cat >>confdefs.h <<_ACEOF
14503 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
14504 _ACEOF
14511 if test "$ac_cv_header_jpeglib_h" = "yes"
14512 then
14513 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
14514 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
14515 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
14516 echo $ECHO_N "(cached) $ECHO_C" >&6
14517 else
14518 ac_check_soname_save_LIBS=$LIBS
14519 LIBS="-ljpeg $LIBS"
14520 cat >conftest.$ac_ext <<_ACEOF
14521 /* confdefs.h. */
14522 _ACEOF
14523 cat confdefs.h >>conftest.$ac_ext
14524 cat >>conftest.$ac_ext <<_ACEOF
14525 /* end confdefs.h. */
14527 /* Override any GCC internal prototype to avoid an error.
14528 Use char because int might match the return type of a GCC
14529 builtin and then its argument prototype would still apply. */
14530 #ifdef __cplusplus
14531 extern "C"
14532 #endif
14533 char jpeg_start_decompress ();
14535 main ()
14537 return jpeg_start_decompress ();
14539 return 0;
14541 _ACEOF
14542 rm -f conftest.$ac_objext conftest$ac_exeext
14543 if { (ac_try="$ac_link"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_link") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest$ac_exeext &&
14559 $as_test_x conftest$ac_exeext; then
14560 case "$LIBEXT" in
14561 dll) ;;
14562 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'` ;;
14563 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14564 esac
14565 else
14566 echo "$as_me: failed program was:" >&5
14567 sed 's/^/| /' conftest.$ac_ext >&5
14572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14573 conftest$ac_exeext conftest.$ac_ext
14574 LIBS=$ac_check_soname_save_LIBS
14576 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14577 { echo "$as_me:$LINENO: result: not found" >&5
14578 echo "${ECHO_T}not found" >&6; }
14580 else
14581 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14582 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14584 cat >>confdefs.h <<_ACEOF
14585 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14586 _ACEOF
14593 if test "$ac_cv_header_png_h" = "yes"
14594 then
14595 { echo "$as_me:$LINENO: checking for -lpng" >&5
14596 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14597 if test "${ac_cv_lib_soname_png+set}" = set; then
14598 echo $ECHO_N "(cached) $ECHO_C" >&6
14599 else
14600 ac_check_soname_save_LIBS=$LIBS
14601 LIBS="-lpng $LIBS"
14602 cat >conftest.$ac_ext <<_ACEOF
14603 /* confdefs.h. */
14604 _ACEOF
14605 cat confdefs.h >>conftest.$ac_ext
14606 cat >>conftest.$ac_ext <<_ACEOF
14607 /* end confdefs.h. */
14609 /* Override any GCC internal prototype to avoid an error.
14610 Use char because int might match the return type of a GCC
14611 builtin and then its argument prototype would still apply. */
14612 #ifdef __cplusplus
14613 extern "C"
14614 #endif
14615 char png_create_read_struct ();
14617 main ()
14619 return png_create_read_struct ();
14621 return 0;
14623 _ACEOF
14624 rm -f conftest.$ac_objext conftest$ac_exeext
14625 if { (ac_try="$ac_link"
14626 case "(($ac_try" in
14627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14628 *) ac_try_echo=$ac_try;;
14629 esac
14630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14631 (eval "$ac_link") 2>conftest.er1
14632 ac_status=$?
14633 grep -v '^ *+' conftest.er1 >conftest.err
14634 rm -f conftest.er1
14635 cat conftest.err >&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } && {
14638 test -z "$ac_c_werror_flag" ||
14639 test ! -s conftest.err
14640 } && test -s conftest$ac_exeext &&
14641 $as_test_x conftest$ac_exeext; then
14642 case "$LIBEXT" in
14643 dll) ;;
14644 dylib) ac_cv_lib_soname_png=`otool -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14645 *) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14646 esac
14647 else
14648 echo "$as_me: failed program was:" >&5
14649 sed 's/^/| /' conftest.$ac_ext >&5
14654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14655 conftest$ac_exeext conftest.$ac_ext
14656 LIBS=$ac_check_soname_save_LIBS
14658 if test "x$ac_cv_lib_soname_png" = "x"; then
14659 { echo "$as_me:$LINENO: result: not found" >&5
14660 echo "${ECHO_T}not found" >&6; }
14662 else
14663 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14664 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14666 cat >>confdefs.h <<_ACEOF
14667 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14668 _ACEOF
14676 EXTRACFLAGS=""
14678 if test "x${GCC}" = "xyes"
14679 then
14680 EXTRACFLAGS="-Wall -pipe"
14682 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14683 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14684 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
14686 else
14687 if test "$cross_compiling" = yes; then
14688 ac_cv_c_gcc_strength_bug="yes"
14689 else
14690 cat >conftest.$ac_ext <<_ACEOF
14691 /* confdefs.h. */
14692 _ACEOF
14693 cat confdefs.h >>conftest.$ac_ext
14694 cat >>conftest.$ac_ext <<_ACEOF
14695 /* end confdefs.h. */
14696 int L[4] = {0,1,2,3};
14698 main ()
14700 static int Array[3];
14701 unsigned int B = 3;
14702 int i;
14703 for(i=0; i<B; i++) Array[i] = i - 3;
14704 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14705 L[i] = 4;
14706 exit( Array[1] != -2 || L[2] != 3)
14708 return 0;
14710 _ACEOF
14711 rm -f conftest$ac_exeext
14712 if { (ac_try="$ac_link"
14713 case "(($ac_try" in
14714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14715 *) ac_try_echo=$ac_try;;
14716 esac
14717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14718 (eval "$ac_link") 2>&5
14719 ac_status=$?
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14722 { (case "(($ac_try" in
14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14724 *) ac_try_echo=$ac_try;;
14725 esac
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_try") 2>&5
14728 ac_status=$?
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); }; }; then
14731 ac_cv_c_gcc_strength_bug="no"
14732 else
14733 echo "$as_me: program exited with status $ac_status" >&5
14734 echo "$as_me: failed program was:" >&5
14735 sed 's/^/| /' conftest.$ac_ext >&5
14737 ( exit $ac_status )
14738 ac_cv_c_gcc_strength_bug="yes"
14740 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14745 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14746 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14747 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14748 then
14749 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14753 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14754 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14755 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14756 echo $ECHO_N "(cached) $ECHO_C" >&6
14757 else
14758 ac_wine_try_cflags_saved=$CFLAGS
14759 CFLAGS="$CFLAGS -fshort-wchar"
14760 cat >conftest.$ac_ext <<_ACEOF
14761 /* confdefs.h. */
14762 _ACEOF
14763 cat confdefs.h >>conftest.$ac_ext
14764 cat >>conftest.$ac_ext <<_ACEOF
14765 /* end confdefs.h. */
14768 main ()
14772 return 0;
14774 _ACEOF
14775 rm -f conftest.$ac_objext conftest$ac_exeext
14776 if { (ac_try="$ac_link"
14777 case "(($ac_try" in
14778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14779 *) ac_try_echo=$ac_try;;
14780 esac
14781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14782 (eval "$ac_link") 2>conftest.er1
14783 ac_status=$?
14784 grep -v '^ *+' conftest.er1 >conftest.err
14785 rm -f conftest.er1
14786 cat conftest.err >&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); } && {
14789 test -z "$ac_c_werror_flag" ||
14790 test ! -s conftest.err
14791 } && test -s conftest$ac_exeext &&
14792 $as_test_x conftest$ac_exeext; then
14793 ac_cv_cflags__fshort_wchar=yes
14794 else
14795 echo "$as_me: failed program was:" >&5
14796 sed 's/^/| /' conftest.$ac_ext >&5
14798 ac_cv_cflags__fshort_wchar=no
14801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14802 conftest$ac_exeext conftest.$ac_ext
14803 CFLAGS=$ac_wine_try_cflags_saved
14805 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14806 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14807 if test $ac_cv_cflags__fshort_wchar = yes; then
14809 cat >>confdefs.h <<\_ACEOF
14810 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14811 _ACEOF
14815 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14816 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14817 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14818 echo $ECHO_N "(cached) $ECHO_C" >&6
14819 else
14820 ac_wine_try_cflags_saved=$CFLAGS
14821 CFLAGS="$CFLAGS -fno-strict-aliasing"
14822 cat >conftest.$ac_ext <<_ACEOF
14823 /* confdefs.h. */
14824 _ACEOF
14825 cat confdefs.h >>conftest.$ac_ext
14826 cat >>conftest.$ac_ext <<_ACEOF
14827 /* end confdefs.h. */
14830 main ()
14834 return 0;
14836 _ACEOF
14837 rm -f conftest.$ac_objext conftest$ac_exeext
14838 if { (ac_try="$ac_link"
14839 case "(($ac_try" in
14840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14841 *) ac_try_echo=$ac_try;;
14842 esac
14843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14844 (eval "$ac_link") 2>conftest.er1
14845 ac_status=$?
14846 grep -v '^ *+' conftest.er1 >conftest.err
14847 rm -f conftest.er1
14848 cat conftest.err >&5
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); } && {
14851 test -z "$ac_c_werror_flag" ||
14852 test ! -s conftest.err
14853 } && test -s conftest$ac_exeext &&
14854 $as_test_x conftest$ac_exeext; then
14855 ac_cv_cflags__fno_strict_aliasing=yes
14856 else
14857 echo "$as_me: failed program was:" >&5
14858 sed 's/^/| /' conftest.$ac_ext >&5
14860 ac_cv_cflags__fno_strict_aliasing=no
14863 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14864 conftest$ac_exeext conftest.$ac_ext
14865 CFLAGS=$ac_wine_try_cflags_saved
14867 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14868 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14869 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14870 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14873 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14874 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14875 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14876 echo $ECHO_N "(cached) $ECHO_C" >&6
14877 else
14878 ac_wine_try_cflags_saved=$CFLAGS
14879 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14880 cat >conftest.$ac_ext <<_ACEOF
14881 /* confdefs.h. */
14882 _ACEOF
14883 cat confdefs.h >>conftest.$ac_ext
14884 cat >>conftest.$ac_ext <<_ACEOF
14885 /* end confdefs.h. */
14888 main ()
14892 return 0;
14894 _ACEOF
14895 rm -f conftest.$ac_objext conftest$ac_exeext
14896 if { (ac_try="$ac_link"
14897 case "(($ac_try" in
14898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14899 *) ac_try_echo=$ac_try;;
14900 esac
14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14902 (eval "$ac_link") 2>conftest.er1
14903 ac_status=$?
14904 grep -v '^ *+' conftest.er1 >conftest.err
14905 rm -f conftest.er1
14906 cat conftest.err >&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } && {
14909 test -z "$ac_c_werror_flag" ||
14910 test ! -s conftest.err
14911 } && test -s conftest$ac_exeext &&
14912 $as_test_x conftest$ac_exeext; then
14913 ac_cv_cflags__Wdeclaration_after_statement=yes
14914 else
14915 echo "$as_me: failed program was:" >&5
14916 sed 's/^/| /' conftest.$ac_ext >&5
14918 ac_cv_cflags__Wdeclaration_after_statement=no
14921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14922 conftest$ac_exeext conftest.$ac_ext
14923 CFLAGS=$ac_wine_try_cflags_saved
14925 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14926 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14927 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14928 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14931 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14932 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14933 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14934 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 else
14936 ac_wine_try_cflags_saved=$CFLAGS
14937 CFLAGS="$CFLAGS -Wwrite-strings"
14938 cat >conftest.$ac_ext <<_ACEOF
14939 /* confdefs.h. */
14940 _ACEOF
14941 cat confdefs.h >>conftest.$ac_ext
14942 cat >>conftest.$ac_ext <<_ACEOF
14943 /* end confdefs.h. */
14946 main ()
14950 return 0;
14952 _ACEOF
14953 rm -f conftest.$ac_objext conftest$ac_exeext
14954 if { (ac_try="$ac_link"
14955 case "(($ac_try" in
14956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14957 *) ac_try_echo=$ac_try;;
14958 esac
14959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14960 (eval "$ac_link") 2>conftest.er1
14961 ac_status=$?
14962 grep -v '^ *+' conftest.er1 >conftest.err
14963 rm -f conftest.er1
14964 cat conftest.err >&5
14965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966 (exit $ac_status); } && {
14967 test -z "$ac_c_werror_flag" ||
14968 test ! -s conftest.err
14969 } && test -s conftest$ac_exeext &&
14970 $as_test_x conftest$ac_exeext; then
14971 ac_cv_cflags__Wwrite_strings=yes
14972 else
14973 echo "$as_me: failed program was:" >&5
14974 sed 's/^/| /' conftest.$ac_ext >&5
14976 ac_cv_cflags__Wwrite_strings=no
14979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14980 conftest$ac_exeext conftest.$ac_ext
14981 CFLAGS=$ac_wine_try_cflags_saved
14983 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14984 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14985 if test $ac_cv_cflags__Wwrite_strings = yes; then
14986 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14990 saved_CFLAGS="$CFLAGS"
14991 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14992 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14993 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14994 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 cat >conftest.$ac_ext <<_ACEOF
14998 /* confdefs.h. */
14999 _ACEOF
15000 cat confdefs.h >>conftest.$ac_ext
15001 cat >>conftest.$ac_ext <<_ACEOF
15002 /* end confdefs.h. */
15003 #include <string.h>
15005 main ()
15009 return 0;
15011 _ACEOF
15012 rm -f conftest.$ac_objext
15013 if { (ac_try="$ac_compile"
15014 case "(($ac_try" in
15015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15016 *) ac_try_echo=$ac_try;;
15017 esac
15018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15019 (eval "$ac_compile") 2>conftest.er1
15020 ac_status=$?
15021 grep -v '^ *+' conftest.er1 >conftest.err
15022 rm -f conftest.er1
15023 cat conftest.err >&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); } && {
15026 test -z "$ac_c_werror_flag" ||
15027 test ! -s conftest.err
15028 } && test -s conftest.$ac_objext; then
15029 ac_cv_c_string_h_warnings=no
15030 else
15031 echo "$as_me: failed program was:" >&5
15032 sed 's/^/| /' conftest.$ac_ext >&5
15034 ac_cv_c_string_h_warnings=yes
15037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15039 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
15040 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
15041 CFLAGS="$saved_CFLAGS"
15042 if test "$ac_cv_c_string_h_warnings" = "no"
15043 then
15044 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15047 BUILTINFLAG=""
15049 saved_CFLAGS="$CFLAGS"
15050 CFLAGS="$CFLAGS -Werror"
15051 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
15052 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
15053 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
15054 echo $ECHO_N "(cached) $ECHO_C" >&6
15055 else
15056 cat >conftest.$ac_ext <<_ACEOF
15057 /* confdefs.h. */
15058 _ACEOF
15059 cat confdefs.h >>conftest.$ac_ext
15060 cat >>conftest.$ac_ext <<_ACEOF
15061 /* end confdefs.h. */
15064 main ()
15066 int iswlower(unsigned short);
15068 return 0;
15070 _ACEOF
15071 rm -f conftest.$ac_objext
15072 if { (ac_try="$ac_compile"
15073 case "(($ac_try" in
15074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15075 *) ac_try_echo=$ac_try;;
15076 esac
15077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15078 (eval "$ac_compile") 2>conftest.er1
15079 ac_status=$?
15080 grep -v '^ *+' conftest.er1 >conftest.err
15081 rm -f conftest.er1
15082 cat conftest.err >&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } && {
15085 test -z "$ac_c_werror_flag" ||
15086 test ! -s conftest.err
15087 } && test -s conftest.$ac_objext; then
15088 ac_cv_c_builtin_wchar_ctype=no
15089 else
15090 echo "$as_me: failed program was:" >&5
15091 sed 's/^/| /' conftest.$ac_ext >&5
15093 ac_cv_c_builtin_wchar_ctype=yes
15096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15098 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
15099 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
15100 CFLAGS="$saved_CFLAGS"
15101 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
15102 then
15103 BUILTINFLAG="-fno-builtin"
15108 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
15109 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
15110 if test "${ac_cv_asm_func_def+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 else
15113 cat >conftest.$ac_ext <<_ACEOF
15114 /* confdefs.h. */
15115 _ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15121 main ()
15123 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15125 return 0;
15127 _ACEOF
15128 rm -f conftest.$ac_objext conftest$ac_exeext
15129 if { (ac_try="$ac_link"
15130 case "(($ac_try" in
15131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15132 *) ac_try_echo=$ac_try;;
15133 esac
15134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15135 (eval "$ac_link") 2>conftest.er1
15136 ac_status=$?
15137 grep -v '^ *+' conftest.er1 >conftest.err
15138 rm -f conftest.er1
15139 cat conftest.err >&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } && {
15142 test -z "$ac_c_werror_flag" ||
15143 test ! -s conftest.err
15144 } && test -s conftest$ac_exeext &&
15145 $as_test_x conftest$ac_exeext; then
15146 ac_cv_asm_func_def=".def"
15147 else
15148 echo "$as_me: failed program was:" >&5
15149 sed 's/^/| /' conftest.$ac_ext >&5
15151 cat >conftest.$ac_ext <<_ACEOF
15152 /* confdefs.h. */
15153 _ACEOF
15154 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15159 main ()
15161 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15163 return 0;
15165 _ACEOF
15166 rm -f conftest.$ac_objext conftest$ac_exeext
15167 if { (ac_try="$ac_link"
15168 case "(($ac_try" in
15169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15170 *) ac_try_echo=$ac_try;;
15171 esac
15172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15173 (eval "$ac_link") 2>conftest.er1
15174 ac_status=$?
15175 grep -v '^ *+' conftest.er1 >conftest.err
15176 rm -f conftest.er1
15177 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } && {
15180 test -z "$ac_c_werror_flag" ||
15181 test ! -s conftest.err
15182 } && test -s conftest$ac_exeext &&
15183 $as_test_x conftest$ac_exeext; then
15184 ac_cv_asm_func_def=".type @function"
15185 else
15186 echo "$as_me: failed program was:" >&5
15187 sed 's/^/| /' conftest.$ac_ext >&5
15189 cat >conftest.$ac_ext <<_ACEOF
15190 /* confdefs.h. */
15191 _ACEOF
15192 cat confdefs.h >>conftest.$ac_ext
15193 cat >>conftest.$ac_ext <<_ACEOF
15194 /* end confdefs.h. */
15197 main ()
15199 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15201 return 0;
15203 _ACEOF
15204 rm -f conftest.$ac_objext conftest$ac_exeext
15205 if { (ac_try="$ac_link"
15206 case "(($ac_try" in
15207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15208 *) ac_try_echo=$ac_try;;
15209 esac
15210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15211 (eval "$ac_link") 2>conftest.er1
15212 ac_status=$?
15213 grep -v '^ *+' conftest.er1 >conftest.err
15214 rm -f conftest.er1
15215 cat conftest.err >&5
15216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15217 (exit $ac_status); } && {
15218 test -z "$ac_c_werror_flag" ||
15219 test ! -s conftest.err
15220 } && test -s conftest$ac_exeext &&
15221 $as_test_x conftest$ac_exeext; then
15222 ac_cv_asm_func_def=".type 2"
15223 else
15224 echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.$ac_ext >&5
15227 ac_cv_asm_func_def="unknown"
15230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15231 conftest$ac_exeext conftest.$ac_ext
15234 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15235 conftest$ac_exeext conftest.$ac_ext
15238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15239 conftest$ac_exeext conftest.$ac_ext
15241 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
15242 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
15246 case "$ac_cv_asm_func_def" in
15247 ".def")
15248 cat >>confdefs.h <<\_ACEOF
15249 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
15250 _ACEOF
15252 ".type @function")
15253 cat >>confdefs.h <<\_ACEOF
15254 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
15255 _ACEOF
15257 ".type 2")
15258 cat >>confdefs.h <<\_ACEOF
15259 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
15260 _ACEOF
15263 cat >>confdefs.h <<\_ACEOF
15264 #define __ASM_FUNC(name) ""
15265 _ACEOF
15267 esac
15270 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
15271 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
15272 if test "${ac_cv_c_extern_prefix+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 else
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15281 extern int ac_test;
15283 main ()
15285 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15287 return 0;
15289 _ACEOF
15290 rm -f conftest.$ac_objext conftest$ac_exeext
15291 if { (ac_try="$ac_link"
15292 case "(($ac_try" in
15293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15294 *) ac_try_echo=$ac_try;;
15295 esac
15296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15297 (eval "$ac_link") 2>conftest.er1
15298 ac_status=$?
15299 grep -v '^ *+' conftest.er1 >conftest.err
15300 rm -f conftest.er1
15301 cat conftest.err >&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } && {
15304 test -z "$ac_c_werror_flag" ||
15305 test ! -s conftest.err
15306 } && test -s conftest$ac_exeext &&
15307 $as_test_x conftest$ac_exeext; then
15308 ac_cv_c_extern_prefix="yes"
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15313 ac_cv_c_extern_prefix="no"
15316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15317 conftest$ac_exeext conftest.$ac_ext
15319 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15320 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15324 if test "$ac_cv_c_extern_prefix" = "yes"
15325 then
15326 cat >>confdefs.h <<\_ACEOF
15327 #define __ASM_NAME(name) "_" name
15328 _ACEOF
15330 else
15331 cat >>confdefs.h <<\_ACEOF
15332 #define __ASM_NAME(name) name
15333 _ACEOF
15338 LDPATH=""
15340 case $build_os in
15341 cygwin*|mingw32*)
15342 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
15344 darwin*|macosx*)
15346 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
15347 then
15348 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15352 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
15354 esac
15356 case $host_os in
15357 mingw32*)
15358 CRTLIBS="-lmsvcrt"
15360 SOCKETLIBS="-lws2_32"
15363 esac
15365 MAIN_BINARY="wine-pthread"
15366 case $host_cpu in
15367 *i[3456789]86*)
15368 case $host_os in
15369 linux* | k*bsd*-gnu)
15370 MAIN_BINARY="wine-glibc"
15372 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
15374 esac
15376 esac
15440 for ac_func in \
15441 _pclose \
15442 _popen \
15443 _snprintf \
15444 _spawnvp \
15445 _stricmp \
15446 _strnicmp \
15447 _vsnprintf \
15448 asctime_r \
15449 chsize \
15450 clone \
15451 dlopen \
15452 epoll_create \
15453 ffs \
15454 finite \
15455 fork \
15456 fpclass \
15457 fstatfs \
15458 fstatvfs \
15459 ftruncate \
15460 futimes \
15461 futimesat \
15462 getdirentries \
15463 getopt_long \
15464 getpagesize \
15465 getpwuid \
15466 gettid \
15467 gettimeofday \
15468 getuid \
15469 inet_pton \
15470 kqueue \
15471 lstat \
15472 memmove \
15473 mmap \
15474 pclose \
15475 poll \
15476 popen \
15477 prctl \
15478 pread \
15479 pwrite \
15480 readlink \
15481 rfork \
15482 sched_yield \
15483 select \
15484 setrlimit \
15485 settimeofday \
15486 sigaltstack \
15487 sigprocmask \
15488 snprintf \
15489 spawnvp \
15490 statfs \
15491 statvfs \
15492 strcasecmp \
15493 strerror \
15494 strncasecmp \
15495 strtold \
15496 tcgetattr \
15497 timegm \
15498 usleep \
15499 vsnprintf \
15500 wait4 \
15501 waitpid \
15504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15505 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15507 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15508 echo $ECHO_N "(cached) $ECHO_C" >&6
15509 else
15510 cat >conftest.$ac_ext <<_ACEOF
15511 /* confdefs.h. */
15512 _ACEOF
15513 cat confdefs.h >>conftest.$ac_ext
15514 cat >>conftest.$ac_ext <<_ACEOF
15515 /* end confdefs.h. */
15516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15518 #define $ac_func innocuous_$ac_func
15520 /* System header to define __stub macros and hopefully few prototypes,
15521 which can conflict with char $ac_func (); below.
15522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15523 <limits.h> exists even on freestanding compilers. */
15525 #ifdef __STDC__
15526 # include <limits.h>
15527 #else
15528 # include <assert.h>
15529 #endif
15531 #undef $ac_func
15533 /* Override any GCC internal prototype to avoid an error.
15534 Use char because int might match the return type of a GCC
15535 builtin and then its argument prototype would still apply. */
15536 #ifdef __cplusplus
15537 extern "C"
15538 #endif
15539 char $ac_func ();
15540 /* The GNU C library defines this for functions which it implements
15541 to always fail with ENOSYS. Some functions are actually named
15542 something starting with __ and the normal name is an alias. */
15543 #if defined __stub_$ac_func || defined __stub___$ac_func
15544 choke me
15545 #endif
15548 main ()
15550 return $ac_func ();
15552 return 0;
15554 _ACEOF
15555 rm -f conftest.$ac_objext conftest$ac_exeext
15556 if { (ac_try="$ac_link"
15557 case "(($ac_try" in
15558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15559 *) ac_try_echo=$ac_try;;
15560 esac
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_link") 2>conftest.er1
15563 ac_status=$?
15564 grep -v '^ *+' conftest.er1 >conftest.err
15565 rm -f conftest.er1
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } && {
15569 test -z "$ac_c_werror_flag" ||
15570 test ! -s conftest.err
15571 } && test -s conftest$ac_exeext &&
15572 $as_test_x conftest$ac_exeext; then
15573 eval "$as_ac_var=yes"
15574 else
15575 echo "$as_me: failed program was:" >&5
15576 sed 's/^/| /' conftest.$ac_ext >&5
15578 eval "$as_ac_var=no"
15581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15582 conftest$ac_exeext conftest.$ac_ext
15584 ac_res=`eval echo '${'$as_ac_var'}'`
15585 { echo "$as_me:$LINENO: result: $ac_res" >&5
15586 echo "${ECHO_T}$ac_res" >&6; }
15587 if test `eval echo '${'$as_ac_var'}'` = yes; then
15588 cat >>confdefs.h <<_ACEOF
15589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15590 _ACEOF
15593 done
15596 if test "$ac_cv_func_dlopen" = no
15597 then
15598 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15599 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15600 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15601 echo $ECHO_N "(cached) $ECHO_C" >&6
15602 else
15603 ac_check_lib_save_LIBS=$LIBS
15604 LIBS="-ldl $LIBS"
15605 cat >conftest.$ac_ext <<_ACEOF
15606 /* confdefs.h. */
15607 _ACEOF
15608 cat confdefs.h >>conftest.$ac_ext
15609 cat >>conftest.$ac_ext <<_ACEOF
15610 /* end confdefs.h. */
15612 /* Override any GCC internal prototype to avoid an error.
15613 Use char because int might match the return type of a GCC
15614 builtin and then its argument prototype would still apply. */
15615 #ifdef __cplusplus
15616 extern "C"
15617 #endif
15618 char dlopen ();
15620 main ()
15622 return dlopen ();
15624 return 0;
15626 _ACEOF
15627 rm -f conftest.$ac_objext conftest$ac_exeext
15628 if { (ac_try="$ac_link"
15629 case "(($ac_try" in
15630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15631 *) ac_try_echo=$ac_try;;
15632 esac
15633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15634 (eval "$ac_link") 2>conftest.er1
15635 ac_status=$?
15636 grep -v '^ *+' conftest.er1 >conftest.err
15637 rm -f conftest.er1
15638 cat conftest.err >&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); } && {
15641 test -z "$ac_c_werror_flag" ||
15642 test ! -s conftest.err
15643 } && test -s conftest$ac_exeext &&
15644 $as_test_x conftest$ac_exeext; then
15645 ac_cv_lib_dl_dlopen=yes
15646 else
15647 echo "$as_me: failed program was:" >&5
15648 sed 's/^/| /' conftest.$ac_ext >&5
15650 ac_cv_lib_dl_dlopen=no
15653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15654 conftest$ac_exeext conftest.$ac_ext
15655 LIBS=$ac_check_lib_save_LIBS
15657 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15658 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15659 if test $ac_cv_lib_dl_dlopen = yes; then
15660 cat >>confdefs.h <<\_ACEOF
15661 #define HAVE_DLOPEN 1
15662 _ACEOF
15663 LIBDL="-ldl"
15668 ac_wine_check_funcs_save_LIBS="$LIBS"
15669 LIBS="$LIBS $LIBDL"
15671 for ac_func in dladdr
15673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15674 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15676 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 else
15679 cat >conftest.$ac_ext <<_ACEOF
15680 /* confdefs.h. */
15681 _ACEOF
15682 cat confdefs.h >>conftest.$ac_ext
15683 cat >>conftest.$ac_ext <<_ACEOF
15684 /* end confdefs.h. */
15685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15687 #define $ac_func innocuous_$ac_func
15689 /* System header to define __stub macros and hopefully few prototypes,
15690 which can conflict with char $ac_func (); below.
15691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15692 <limits.h> exists even on freestanding compilers. */
15694 #ifdef __STDC__
15695 # include <limits.h>
15696 #else
15697 # include <assert.h>
15698 #endif
15700 #undef $ac_func
15702 /* Override any GCC internal prototype to avoid an error.
15703 Use char because int might match the return type of a GCC
15704 builtin and then its argument prototype would still apply. */
15705 #ifdef __cplusplus
15706 extern "C"
15707 #endif
15708 char $ac_func ();
15709 /* The GNU C library defines this for functions which it implements
15710 to always fail with ENOSYS. Some functions are actually named
15711 something starting with __ and the normal name is an alias. */
15712 #if defined __stub_$ac_func || defined __stub___$ac_func
15713 choke me
15714 #endif
15717 main ()
15719 return $ac_func ();
15721 return 0;
15723 _ACEOF
15724 rm -f conftest.$ac_objext conftest$ac_exeext
15725 if { (ac_try="$ac_link"
15726 case "(($ac_try" in
15727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15728 *) ac_try_echo=$ac_try;;
15729 esac
15730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15731 (eval "$ac_link") 2>conftest.er1
15732 ac_status=$?
15733 grep -v '^ *+' conftest.er1 >conftest.err
15734 rm -f conftest.er1
15735 cat conftest.err >&5
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); } && {
15738 test -z "$ac_c_werror_flag" ||
15739 test ! -s conftest.err
15740 } && test -s conftest$ac_exeext &&
15741 $as_test_x conftest$ac_exeext; then
15742 eval "$as_ac_var=yes"
15743 else
15744 echo "$as_me: failed program was:" >&5
15745 sed 's/^/| /' conftest.$ac_ext >&5
15747 eval "$as_ac_var=no"
15750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15751 conftest$ac_exeext conftest.$ac_ext
15753 ac_res=`eval echo '${'$as_ac_var'}'`
15754 { echo "$as_me:$LINENO: result: $ac_res" >&5
15755 echo "${ECHO_T}$ac_res" >&6; }
15756 if test `eval echo '${'$as_ac_var'}'` = yes; then
15757 cat >>confdefs.h <<_ACEOF
15758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15759 _ACEOF
15762 done
15764 LIBS="$ac_wine_check_funcs_save_LIBS"
15766 if test "$ac_cv_func_poll" = no
15767 then
15768 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
15769 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
15770 if test "${ac_cv_lib_poll_poll+set}" = set; then
15771 echo $ECHO_N "(cached) $ECHO_C" >&6
15772 else
15773 ac_check_lib_save_LIBS=$LIBS
15774 LIBS="-lpoll $LIBS"
15775 cat >conftest.$ac_ext <<_ACEOF
15776 /* confdefs.h. */
15777 _ACEOF
15778 cat confdefs.h >>conftest.$ac_ext
15779 cat >>conftest.$ac_ext <<_ACEOF
15780 /* end confdefs.h. */
15782 /* Override any GCC internal prototype to avoid an error.
15783 Use char because int might match the return type of a GCC
15784 builtin and then its argument prototype would still apply. */
15785 #ifdef __cplusplus
15786 extern "C"
15787 #endif
15788 char poll ();
15790 main ()
15792 return poll ();
15794 return 0;
15796 _ACEOF
15797 rm -f conftest.$ac_objext conftest$ac_exeext
15798 if { (ac_try="$ac_link"
15799 case "(($ac_try" in
15800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15801 *) ac_try_echo=$ac_try;;
15802 esac
15803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15804 (eval "$ac_link") 2>conftest.er1
15805 ac_status=$?
15806 grep -v '^ *+' conftest.er1 >conftest.err
15807 rm -f conftest.er1
15808 cat conftest.err >&5
15809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15810 (exit $ac_status); } && {
15811 test -z "$ac_c_werror_flag" ||
15812 test ! -s conftest.err
15813 } && test -s conftest$ac_exeext &&
15814 $as_test_x conftest$ac_exeext; then
15815 ac_cv_lib_poll_poll=yes
15816 else
15817 echo "$as_me: failed program was:" >&5
15818 sed 's/^/| /' conftest.$ac_ext >&5
15820 ac_cv_lib_poll_poll=no
15823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15824 conftest$ac_exeext conftest.$ac_ext
15825 LIBS=$ac_check_lib_save_LIBS
15827 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
15828 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
15829 if test $ac_cv_lib_poll_poll = yes; then
15830 cat >>confdefs.h <<\_ACEOF
15831 #define HAVE_POLL 1
15832 _ACEOF
15833 LIBPOLL="-lpoll"
15839 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
15840 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
15841 if test "${ac_cv_search_gethostbyname+set}" = set; then
15842 echo $ECHO_N "(cached) $ECHO_C" >&6
15843 else
15844 ac_func_search_save_LIBS=$LIBS
15845 cat >conftest.$ac_ext <<_ACEOF
15846 /* confdefs.h. */
15847 _ACEOF
15848 cat confdefs.h >>conftest.$ac_ext
15849 cat >>conftest.$ac_ext <<_ACEOF
15850 /* end confdefs.h. */
15852 /* Override any GCC internal prototype to avoid an error.
15853 Use char because int might match the return type of a GCC
15854 builtin and then its argument prototype would still apply. */
15855 #ifdef __cplusplus
15856 extern "C"
15857 #endif
15858 char gethostbyname ();
15860 main ()
15862 return gethostbyname ();
15864 return 0;
15866 _ACEOF
15867 for ac_lib in '' nsl; do
15868 if test -z "$ac_lib"; then
15869 ac_res="none required"
15870 else
15871 ac_res=-l$ac_lib
15872 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15874 rm -f conftest.$ac_objext conftest$ac_exeext
15875 if { (ac_try="$ac_link"
15876 case "(($ac_try" in
15877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15878 *) ac_try_echo=$ac_try;;
15879 esac
15880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15881 (eval "$ac_link") 2>conftest.er1
15882 ac_status=$?
15883 grep -v '^ *+' conftest.er1 >conftest.err
15884 rm -f conftest.er1
15885 cat conftest.err >&5
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); } && {
15888 test -z "$ac_c_werror_flag" ||
15889 test ! -s conftest.err
15890 } && test -s conftest$ac_exeext &&
15891 $as_test_x conftest$ac_exeext; then
15892 ac_cv_search_gethostbyname=$ac_res
15893 else
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15901 conftest$ac_exeext
15902 if test "${ac_cv_search_gethostbyname+set}" = set; then
15903 break
15905 done
15906 if test "${ac_cv_search_gethostbyname+set}" = set; then
15908 else
15909 ac_cv_search_gethostbyname=no
15911 rm conftest.$ac_ext
15912 LIBS=$ac_func_search_save_LIBS
15914 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
15915 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
15916 ac_res=$ac_cv_search_gethostbyname
15917 if test "$ac_res" != no; then
15918 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15923 { echo "$as_me:$LINENO: checking for library containing connect" >&5
15924 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
15925 if test "${ac_cv_search_connect+set}" = set; then
15926 echo $ECHO_N "(cached) $ECHO_C" >&6
15927 else
15928 ac_func_search_save_LIBS=$LIBS
15929 cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h. */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15936 /* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15939 #ifdef __cplusplus
15940 extern "C"
15941 #endif
15942 char connect ();
15944 main ()
15946 return connect ();
15948 return 0;
15950 _ACEOF
15951 for ac_lib in '' socket; do
15952 if test -z "$ac_lib"; then
15953 ac_res="none required"
15954 else
15955 ac_res=-l$ac_lib
15956 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15958 rm -f conftest.$ac_objext conftest$ac_exeext
15959 if { (ac_try="$ac_link"
15960 case "(($ac_try" in
15961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15962 *) ac_try_echo=$ac_try;;
15963 esac
15964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15965 (eval "$ac_link") 2>conftest.er1
15966 ac_status=$?
15967 grep -v '^ *+' conftest.er1 >conftest.err
15968 rm -f conftest.er1
15969 cat conftest.err >&5
15970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15971 (exit $ac_status); } && {
15972 test -z "$ac_c_werror_flag" ||
15973 test ! -s conftest.err
15974 } && test -s conftest$ac_exeext &&
15975 $as_test_x conftest$ac_exeext; then
15976 ac_cv_search_connect=$ac_res
15977 else
15978 echo "$as_me: failed program was:" >&5
15979 sed 's/^/| /' conftest.$ac_ext >&5
15984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15985 conftest$ac_exeext
15986 if test "${ac_cv_search_connect+set}" = set; then
15987 break
15989 done
15990 if test "${ac_cv_search_connect+set}" = set; then
15992 else
15993 ac_cv_search_connect=no
15995 rm conftest.$ac_ext
15996 LIBS=$ac_func_search_save_LIBS
15998 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
15999 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16000 ac_res=$ac_cv_search_connect
16001 if test "$ac_res" != no; then
16002 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16007 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16008 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16009 if test "${ac_cv_search_inet_aton+set}" = set; then
16010 echo $ECHO_N "(cached) $ECHO_C" >&6
16011 else
16012 ac_func_search_save_LIBS=$LIBS
16013 cat >conftest.$ac_ext <<_ACEOF
16014 /* confdefs.h. */
16015 _ACEOF
16016 cat confdefs.h >>conftest.$ac_ext
16017 cat >>conftest.$ac_ext <<_ACEOF
16018 /* end confdefs.h. */
16020 /* Override any GCC internal prototype to avoid an error.
16021 Use char because int might match the return type of a GCC
16022 builtin and then its argument prototype would still apply. */
16023 #ifdef __cplusplus
16024 extern "C"
16025 #endif
16026 char inet_aton ();
16028 main ()
16030 return inet_aton ();
16032 return 0;
16034 _ACEOF
16035 for ac_lib in '' resolv; do
16036 if test -z "$ac_lib"; then
16037 ac_res="none required"
16038 else
16039 ac_res=-l$ac_lib
16040 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16042 rm -f conftest.$ac_objext conftest$ac_exeext
16043 if { (ac_try="$ac_link"
16044 case "(($ac_try" in
16045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16046 *) ac_try_echo=$ac_try;;
16047 esac
16048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16049 (eval "$ac_link") 2>conftest.er1
16050 ac_status=$?
16051 grep -v '^ *+' conftest.er1 >conftest.err
16052 rm -f conftest.er1
16053 cat conftest.err >&5
16054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16055 (exit $ac_status); } && {
16056 test -z "$ac_c_werror_flag" ||
16057 test ! -s conftest.err
16058 } && test -s conftest$ac_exeext &&
16059 $as_test_x conftest$ac_exeext; then
16060 ac_cv_search_inet_aton=$ac_res
16061 else
16062 echo "$as_me: failed program was:" >&5
16063 sed 's/^/| /' conftest.$ac_ext >&5
16068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16069 conftest$ac_exeext
16070 if test "${ac_cv_search_inet_aton+set}" = set; then
16071 break
16073 done
16074 if test "${ac_cv_search_inet_aton+set}" = set; then
16076 else
16077 ac_cv_search_inet_aton=no
16079 rm conftest.$ac_ext
16080 LIBS=$ac_func_search_save_LIBS
16082 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16083 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16084 ac_res=$ac_cv_search_inet_aton
16085 if test "$ac_res" != no; then
16086 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16099 for ac_func in \
16100 getaddrinfo \
16101 getnameinfo \
16102 getnetbyname \
16103 getprotobyname \
16104 getprotobynumber \
16105 getservbyport \
16106 inet_network \
16107 sendmsg \
16110 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16111 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16112 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16113 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16114 echo $ECHO_N "(cached) $ECHO_C" >&6
16115 else
16116 cat >conftest.$ac_ext <<_ACEOF
16117 /* confdefs.h. */
16118 _ACEOF
16119 cat confdefs.h >>conftest.$ac_ext
16120 cat >>conftest.$ac_ext <<_ACEOF
16121 /* end confdefs.h. */
16122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16124 #define $ac_func innocuous_$ac_func
16126 /* System header to define __stub macros and hopefully few prototypes,
16127 which can conflict with char $ac_func (); below.
16128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16129 <limits.h> exists even on freestanding compilers. */
16131 #ifdef __STDC__
16132 # include <limits.h>
16133 #else
16134 # include <assert.h>
16135 #endif
16137 #undef $ac_func
16139 /* Override any GCC internal prototype to avoid an error.
16140 Use char because int might match the return type of a GCC
16141 builtin and then its argument prototype would still apply. */
16142 #ifdef __cplusplus
16143 extern "C"
16144 #endif
16145 char $ac_func ();
16146 /* The GNU C library defines this for functions which it implements
16147 to always fail with ENOSYS. Some functions are actually named
16148 something starting with __ and the normal name is an alias. */
16149 #if defined __stub_$ac_func || defined __stub___$ac_func
16150 choke me
16151 #endif
16154 main ()
16156 return $ac_func ();
16158 return 0;
16160 _ACEOF
16161 rm -f conftest.$ac_objext conftest$ac_exeext
16162 if { (ac_try="$ac_link"
16163 case "(($ac_try" in
16164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16165 *) ac_try_echo=$ac_try;;
16166 esac
16167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16168 (eval "$ac_link") 2>conftest.er1
16169 ac_status=$?
16170 grep -v '^ *+' conftest.er1 >conftest.err
16171 rm -f conftest.er1
16172 cat conftest.err >&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } && {
16175 test -z "$ac_c_werror_flag" ||
16176 test ! -s conftest.err
16177 } && test -s conftest$ac_exeext &&
16178 $as_test_x conftest$ac_exeext; then
16179 eval "$as_ac_var=yes"
16180 else
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.$ac_ext >&5
16184 eval "$as_ac_var=no"
16187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16188 conftest$ac_exeext conftest.$ac_ext
16190 ac_res=`eval echo '${'$as_ac_var'}'`
16191 { echo "$as_me:$LINENO: result: $ac_res" >&5
16192 echo "${ECHO_T}$ac_res" >&6; }
16193 if test `eval echo '${'$as_ac_var'}'` = yes; then
16194 cat >>confdefs.h <<_ACEOF
16195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16196 _ACEOF
16199 done
16203 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16204 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16205 if test "${ac_cv_c_const+set}" = set; then
16206 echo $ECHO_N "(cached) $ECHO_C" >&6
16207 else
16208 cat >conftest.$ac_ext <<_ACEOF
16209 /* confdefs.h. */
16210 _ACEOF
16211 cat confdefs.h >>conftest.$ac_ext
16212 cat >>conftest.$ac_ext <<_ACEOF
16213 /* end confdefs.h. */
16216 main ()
16218 /* FIXME: Include the comments suggested by Paul. */
16219 #ifndef __cplusplus
16220 /* Ultrix mips cc rejects this. */
16221 typedef int charset[2];
16222 const charset cs;
16223 /* SunOS 4.1.1 cc rejects this. */
16224 char const *const *pcpcc;
16225 char **ppc;
16226 /* NEC SVR4.0.2 mips cc rejects this. */
16227 struct point {int x, y;};
16228 static struct point const zero = {0,0};
16229 /* AIX XL C 1.02.0.0 rejects this.
16230 It does not let you subtract one const X* pointer from another in
16231 an arm of an if-expression whose if-part is not a constant
16232 expression */
16233 const char *g = "string";
16234 pcpcc = &g + (g ? g-g : 0);
16235 /* HPUX 7.0 cc rejects these. */
16236 ++pcpcc;
16237 ppc = (char**) pcpcc;
16238 pcpcc = (char const *const *) ppc;
16239 { /* SCO 3.2v4 cc rejects this. */
16240 char *t;
16241 char const *s = 0 ? (char *) 0 : (char const *) 0;
16243 *t++ = 0;
16244 if (s) return 0;
16246 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16247 int x[] = {25, 17};
16248 const int *foo = &x[0];
16249 ++foo;
16251 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16252 typedef const int *iptr;
16253 iptr p = 0;
16254 ++p;
16256 { /* AIX XL C 1.02.0.0 rejects this saying
16257 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16258 struct s { int j; const int *ap[3]; };
16259 struct s *b; b->j = 5;
16261 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16262 const int foo = 10;
16263 if (!foo) return 0;
16265 return !cs[0] && !zero.x;
16266 #endif
16269 return 0;
16271 _ACEOF
16272 rm -f conftest.$ac_objext
16273 if { (ac_try="$ac_compile"
16274 case "(($ac_try" in
16275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16276 *) ac_try_echo=$ac_try;;
16277 esac
16278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16279 (eval "$ac_compile") 2>conftest.er1
16280 ac_status=$?
16281 grep -v '^ *+' conftest.er1 >conftest.err
16282 rm -f conftest.er1
16283 cat conftest.err >&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } && {
16286 test -z "$ac_c_werror_flag" ||
16287 test ! -s conftest.err
16288 } && test -s conftest.$ac_objext; then
16289 ac_cv_c_const=yes
16290 else
16291 echo "$as_me: failed program was:" >&5
16292 sed 's/^/| /' conftest.$ac_ext >&5
16294 ac_cv_c_const=no
16297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16299 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16300 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16301 if test $ac_cv_c_const = no; then
16303 cat >>confdefs.h <<\_ACEOF
16304 #define const
16305 _ACEOF
16309 { echo "$as_me:$LINENO: checking for inline" >&5
16310 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16311 if test "${ac_cv_c_inline+set}" = set; then
16312 echo $ECHO_N "(cached) $ECHO_C" >&6
16313 else
16314 ac_cv_c_inline=no
16315 for ac_kw in inline __inline__ __inline; do
16316 cat >conftest.$ac_ext <<_ACEOF
16317 /* confdefs.h. */
16318 _ACEOF
16319 cat confdefs.h >>conftest.$ac_ext
16320 cat >>conftest.$ac_ext <<_ACEOF
16321 /* end confdefs.h. */
16322 #ifndef __cplusplus
16323 typedef int foo_t;
16324 static $ac_kw foo_t static_foo () {return 0; }
16325 $ac_kw foo_t foo () {return 0; }
16326 #endif
16328 _ACEOF
16329 rm -f conftest.$ac_objext
16330 if { (ac_try="$ac_compile"
16331 case "(($ac_try" in
16332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16333 *) ac_try_echo=$ac_try;;
16334 esac
16335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16336 (eval "$ac_compile") 2>conftest.er1
16337 ac_status=$?
16338 grep -v '^ *+' conftest.er1 >conftest.err
16339 rm -f conftest.er1
16340 cat conftest.err >&5
16341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16342 (exit $ac_status); } && {
16343 test -z "$ac_c_werror_flag" ||
16344 test ! -s conftest.err
16345 } && test -s conftest.$ac_objext; then
16346 ac_cv_c_inline=$ac_kw
16347 else
16348 echo "$as_me: failed program was:" >&5
16349 sed 's/^/| /' conftest.$ac_ext >&5
16354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16355 test "$ac_cv_c_inline" != no && break
16356 done
16359 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16360 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16363 case $ac_cv_c_inline in
16364 inline | yes) ;;
16366 case $ac_cv_c_inline in
16367 no) ac_val=;;
16368 *) ac_val=$ac_cv_c_inline;;
16369 esac
16370 cat >>confdefs.h <<_ACEOF
16371 #ifndef __cplusplus
16372 #define inline $ac_val
16373 #endif
16374 _ACEOF
16376 esac
16378 { echo "$as_me:$LINENO: checking for mode_t" >&5
16379 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16380 if test "${ac_cv_type_mode_t+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16382 else
16383 cat >conftest.$ac_ext <<_ACEOF
16384 /* confdefs.h. */
16385 _ACEOF
16386 cat confdefs.h >>conftest.$ac_ext
16387 cat >>conftest.$ac_ext <<_ACEOF
16388 /* end confdefs.h. */
16389 $ac_includes_default
16390 typedef mode_t ac__type_new_;
16392 main ()
16394 if ((ac__type_new_ *) 0)
16395 return 0;
16396 if (sizeof (ac__type_new_))
16397 return 0;
16399 return 0;
16401 _ACEOF
16402 rm -f conftest.$ac_objext
16403 if { (ac_try="$ac_compile"
16404 case "(($ac_try" in
16405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16406 *) ac_try_echo=$ac_try;;
16407 esac
16408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16409 (eval "$ac_compile") 2>conftest.er1
16410 ac_status=$?
16411 grep -v '^ *+' conftest.er1 >conftest.err
16412 rm -f conftest.er1
16413 cat conftest.err >&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } && {
16416 test -z "$ac_c_werror_flag" ||
16417 test ! -s conftest.err
16418 } && test -s conftest.$ac_objext; then
16419 ac_cv_type_mode_t=yes
16420 else
16421 echo "$as_me: failed program was:" >&5
16422 sed 's/^/| /' conftest.$ac_ext >&5
16424 ac_cv_type_mode_t=no
16427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16429 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16430 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16431 if test $ac_cv_type_mode_t = yes; then
16433 cat >>confdefs.h <<_ACEOF
16434 #define HAVE_MODE_T 1
16435 _ACEOF
16439 { echo "$as_me:$LINENO: checking for off_t" >&5
16440 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16441 if test "${ac_cv_type_off_t+set}" = set; then
16442 echo $ECHO_N "(cached) $ECHO_C" >&6
16443 else
16444 cat >conftest.$ac_ext <<_ACEOF
16445 /* confdefs.h. */
16446 _ACEOF
16447 cat confdefs.h >>conftest.$ac_ext
16448 cat >>conftest.$ac_ext <<_ACEOF
16449 /* end confdefs.h. */
16450 $ac_includes_default
16451 typedef off_t ac__type_new_;
16453 main ()
16455 if ((ac__type_new_ *) 0)
16456 return 0;
16457 if (sizeof (ac__type_new_))
16458 return 0;
16460 return 0;
16462 _ACEOF
16463 rm -f conftest.$ac_objext
16464 if { (ac_try="$ac_compile"
16465 case "(($ac_try" in
16466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16467 *) ac_try_echo=$ac_try;;
16468 esac
16469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16470 (eval "$ac_compile") 2>conftest.er1
16471 ac_status=$?
16472 grep -v '^ *+' conftest.er1 >conftest.err
16473 rm -f conftest.er1
16474 cat conftest.err >&5
16475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16476 (exit $ac_status); } && {
16477 test -z "$ac_c_werror_flag" ||
16478 test ! -s conftest.err
16479 } && test -s conftest.$ac_objext; then
16480 ac_cv_type_off_t=yes
16481 else
16482 echo "$as_me: failed program was:" >&5
16483 sed 's/^/| /' conftest.$ac_ext >&5
16485 ac_cv_type_off_t=no
16488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16490 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16491 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16492 if test $ac_cv_type_off_t = yes; then
16494 cat >>confdefs.h <<_ACEOF
16495 #define HAVE_OFF_T 1
16496 _ACEOF
16500 { echo "$as_me:$LINENO: checking for pid_t" >&5
16501 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16502 if test "${ac_cv_type_pid_t+set}" = set; then
16503 echo $ECHO_N "(cached) $ECHO_C" >&6
16504 else
16505 cat >conftest.$ac_ext <<_ACEOF
16506 /* confdefs.h. */
16507 _ACEOF
16508 cat confdefs.h >>conftest.$ac_ext
16509 cat >>conftest.$ac_ext <<_ACEOF
16510 /* end confdefs.h. */
16511 $ac_includes_default
16512 typedef pid_t ac__type_new_;
16514 main ()
16516 if ((ac__type_new_ *) 0)
16517 return 0;
16518 if (sizeof (ac__type_new_))
16519 return 0;
16521 return 0;
16523 _ACEOF
16524 rm -f conftest.$ac_objext
16525 if { (ac_try="$ac_compile"
16526 case "(($ac_try" in
16527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16528 *) ac_try_echo=$ac_try;;
16529 esac
16530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16531 (eval "$ac_compile") 2>conftest.er1
16532 ac_status=$?
16533 grep -v '^ *+' conftest.er1 >conftest.err
16534 rm -f conftest.er1
16535 cat conftest.err >&5
16536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16537 (exit $ac_status); } && {
16538 test -z "$ac_c_werror_flag" ||
16539 test ! -s conftest.err
16540 } && test -s conftest.$ac_objext; then
16541 ac_cv_type_pid_t=yes
16542 else
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.$ac_ext >&5
16546 ac_cv_type_pid_t=no
16549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16551 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16552 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16553 if test $ac_cv_type_pid_t = yes; then
16555 cat >>confdefs.h <<_ACEOF
16556 #define HAVE_PID_T 1
16557 _ACEOF
16561 { echo "$as_me:$LINENO: checking for size_t" >&5
16562 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16563 if test "${ac_cv_type_size_t+set}" = set; then
16564 echo $ECHO_N "(cached) $ECHO_C" >&6
16565 else
16566 cat >conftest.$ac_ext <<_ACEOF
16567 /* confdefs.h. */
16568 _ACEOF
16569 cat confdefs.h >>conftest.$ac_ext
16570 cat >>conftest.$ac_ext <<_ACEOF
16571 /* end confdefs.h. */
16572 $ac_includes_default
16573 typedef size_t ac__type_new_;
16575 main ()
16577 if ((ac__type_new_ *) 0)
16578 return 0;
16579 if (sizeof (ac__type_new_))
16580 return 0;
16582 return 0;
16584 _ACEOF
16585 rm -f conftest.$ac_objext
16586 if { (ac_try="$ac_compile"
16587 case "(($ac_try" in
16588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16589 *) ac_try_echo=$ac_try;;
16590 esac
16591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16592 (eval "$ac_compile") 2>conftest.er1
16593 ac_status=$?
16594 grep -v '^ *+' conftest.er1 >conftest.err
16595 rm -f conftest.er1
16596 cat conftest.err >&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } && {
16599 test -z "$ac_c_werror_flag" ||
16600 test ! -s conftest.err
16601 } && test -s conftest.$ac_objext; then
16602 ac_cv_type_size_t=yes
16603 else
16604 echo "$as_me: failed program was:" >&5
16605 sed 's/^/| /' conftest.$ac_ext >&5
16607 ac_cv_type_size_t=no
16610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16612 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16613 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16614 if test $ac_cv_type_size_t = yes; then
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_SIZE_T 1
16618 _ACEOF
16622 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16623 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16624 if test "${ac_cv_type_ssize_t+set}" = set; then
16625 echo $ECHO_N "(cached) $ECHO_C" >&6
16626 else
16627 cat >conftest.$ac_ext <<_ACEOF
16628 /* confdefs.h. */
16629 _ACEOF
16630 cat confdefs.h >>conftest.$ac_ext
16631 cat >>conftest.$ac_ext <<_ACEOF
16632 /* end confdefs.h. */
16633 $ac_includes_default
16634 typedef ssize_t ac__type_new_;
16636 main ()
16638 if ((ac__type_new_ *) 0)
16639 return 0;
16640 if (sizeof (ac__type_new_))
16641 return 0;
16643 return 0;
16645 _ACEOF
16646 rm -f conftest.$ac_objext
16647 if { (ac_try="$ac_compile"
16648 case "(($ac_try" in
16649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16650 *) ac_try_echo=$ac_try;;
16651 esac
16652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16653 (eval "$ac_compile") 2>conftest.er1
16654 ac_status=$?
16655 grep -v '^ *+' conftest.er1 >conftest.err
16656 rm -f conftest.er1
16657 cat conftest.err >&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); } && {
16660 test -z "$ac_c_werror_flag" ||
16661 test ! -s conftest.err
16662 } && test -s conftest.$ac_objext; then
16663 ac_cv_type_ssize_t=yes
16664 else
16665 echo "$as_me: failed program was:" >&5
16666 sed 's/^/| /' conftest.$ac_ext >&5
16668 ac_cv_type_ssize_t=no
16671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16673 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16674 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16675 if test $ac_cv_type_ssize_t = yes; then
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_SSIZE_T 1
16679 _ACEOF
16683 { echo "$as_me:$LINENO: checking for long long" >&5
16684 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16685 if test "${ac_cv_type_long_long+set}" = set; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 else
16688 cat >conftest.$ac_ext <<_ACEOF
16689 /* confdefs.h. */
16690 _ACEOF
16691 cat confdefs.h >>conftest.$ac_ext
16692 cat >>conftest.$ac_ext <<_ACEOF
16693 /* end confdefs.h. */
16694 $ac_includes_default
16695 typedef long long ac__type_new_;
16697 main ()
16699 if ((ac__type_new_ *) 0)
16700 return 0;
16701 if (sizeof (ac__type_new_))
16702 return 0;
16704 return 0;
16706 _ACEOF
16707 rm -f conftest.$ac_objext
16708 if { (ac_try="$ac_compile"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711 *) ac_try_echo=$ac_try;;
16712 esac
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16715 ac_status=$?
16716 grep -v '^ *+' conftest.er1 >conftest.err
16717 rm -f conftest.er1
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_c_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.$ac_objext; then
16724 ac_cv_type_long_long=yes
16725 else
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16729 ac_cv_type_long_long=no
16732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16734 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16735 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16736 if test $ac_cv_type_long_long = yes; then
16738 cat >>confdefs.h <<_ACEOF
16739 #define HAVE_LONG_LONG 1
16740 _ACEOF
16744 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16745 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16746 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16747 echo $ECHO_N "(cached) $ECHO_C" >&6
16748 else
16749 cat >conftest.$ac_ext <<_ACEOF
16750 /* confdefs.h. */
16751 _ACEOF
16752 cat confdefs.h >>conftest.$ac_ext
16753 cat >>conftest.$ac_ext <<_ACEOF
16754 /* end confdefs.h. */
16755 $ac_includes_default
16756 typedef fsblkcnt_t ac__type_new_;
16758 main ()
16760 if ((ac__type_new_ *) 0)
16761 return 0;
16762 if (sizeof (ac__type_new_))
16763 return 0;
16765 return 0;
16767 _ACEOF
16768 rm -f conftest.$ac_objext
16769 if { (ac_try="$ac_compile"
16770 case "(($ac_try" in
16771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16772 *) ac_try_echo=$ac_try;;
16773 esac
16774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16775 (eval "$ac_compile") 2>conftest.er1
16776 ac_status=$?
16777 grep -v '^ *+' conftest.er1 >conftest.err
16778 rm -f conftest.er1
16779 cat conftest.err >&5
16780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781 (exit $ac_status); } && {
16782 test -z "$ac_c_werror_flag" ||
16783 test ! -s conftest.err
16784 } && test -s conftest.$ac_objext; then
16785 ac_cv_type_fsblkcnt_t=yes
16786 else
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16790 ac_cv_type_fsblkcnt_t=no
16793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16795 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16796 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
16797 if test $ac_cv_type_fsblkcnt_t = yes; then
16799 cat >>confdefs.h <<_ACEOF
16800 #define HAVE_FSBLKCNT_T 1
16801 _ACEOF
16805 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16806 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
16807 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16808 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 else
16810 cat >conftest.$ac_ext <<_ACEOF
16811 /* confdefs.h. */
16812 _ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16816 $ac_includes_default
16817 typedef fsfilcnt_t ac__type_new_;
16819 main ()
16821 if ((ac__type_new_ *) 0)
16822 return 0;
16823 if (sizeof (ac__type_new_))
16824 return 0;
16826 return 0;
16828 _ACEOF
16829 rm -f conftest.$ac_objext
16830 if { (ac_try="$ac_compile"
16831 case "(($ac_try" in
16832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16833 *) ac_try_echo=$ac_try;;
16834 esac
16835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16836 (eval "$ac_compile") 2>conftest.er1
16837 ac_status=$?
16838 grep -v '^ *+' conftest.er1 >conftest.err
16839 rm -f conftest.er1
16840 cat conftest.err >&5
16841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16842 (exit $ac_status); } && {
16843 test -z "$ac_c_werror_flag" ||
16844 test ! -s conftest.err
16845 } && test -s conftest.$ac_objext; then
16846 ac_cv_type_fsfilcnt_t=yes
16847 else
16848 echo "$as_me: failed program was:" >&5
16849 sed 's/^/| /' conftest.$ac_ext >&5
16851 ac_cv_type_fsfilcnt_t=no
16854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16856 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
16857 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
16858 if test $ac_cv_type_fsfilcnt_t = yes; then
16860 cat >>confdefs.h <<_ACEOF
16861 #define HAVE_FSFILCNT_T 1
16862 _ACEOF
16867 { echo "$as_me:$LINENO: checking for sigset_t" >&5
16868 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
16869 if test "${ac_cv_type_sigset_t+set}" = set; then
16870 echo $ECHO_N "(cached) $ECHO_C" >&6
16871 else
16872 cat >conftest.$ac_ext <<_ACEOF
16873 /* confdefs.h. */
16874 _ACEOF
16875 cat confdefs.h >>conftest.$ac_ext
16876 cat >>conftest.$ac_ext <<_ACEOF
16877 /* end confdefs.h. */
16878 #include <signal.h>
16880 typedef sigset_t ac__type_new_;
16882 main ()
16884 if ((ac__type_new_ *) 0)
16885 return 0;
16886 if (sizeof (ac__type_new_))
16887 return 0;
16889 return 0;
16891 _ACEOF
16892 rm -f conftest.$ac_objext
16893 if { (ac_try="$ac_compile"
16894 case "(($ac_try" in
16895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16896 *) ac_try_echo=$ac_try;;
16897 esac
16898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16899 (eval "$ac_compile") 2>conftest.er1
16900 ac_status=$?
16901 grep -v '^ *+' conftest.er1 >conftest.err
16902 rm -f conftest.er1
16903 cat conftest.err >&5
16904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } && {
16906 test -z "$ac_c_werror_flag" ||
16907 test ! -s conftest.err
16908 } && test -s conftest.$ac_objext; then
16909 ac_cv_type_sigset_t=yes
16910 else
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.$ac_ext >&5
16914 ac_cv_type_sigset_t=no
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16919 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
16920 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
16921 if test $ac_cv_type_sigset_t = yes; then
16923 cat >>confdefs.h <<_ACEOF
16924 #define HAVE_SIGSET_T 1
16925 _ACEOF
16930 { echo "$as_me:$LINENO: checking for request_sense" >&5
16931 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
16932 if test "${ac_cv_type_request_sense+set}" = set; then
16933 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 else
16935 cat >conftest.$ac_ext <<_ACEOF
16936 /* confdefs.h. */
16937 _ACEOF
16938 cat confdefs.h >>conftest.$ac_ext
16939 cat >>conftest.$ac_ext <<_ACEOF
16940 /* end confdefs.h. */
16941 #include <linux/cdrom.h>
16943 typedef request_sense ac__type_new_;
16945 main ()
16947 if ((ac__type_new_ *) 0)
16948 return 0;
16949 if (sizeof (ac__type_new_))
16950 return 0;
16952 return 0;
16954 _ACEOF
16955 rm -f conftest.$ac_objext
16956 if { (ac_try="$ac_compile"
16957 case "(($ac_try" in
16958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16959 *) ac_try_echo=$ac_try;;
16960 esac
16961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16962 (eval "$ac_compile") 2>conftest.er1
16963 ac_status=$?
16964 grep -v '^ *+' conftest.er1 >conftest.err
16965 rm -f conftest.er1
16966 cat conftest.err >&5
16967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16968 (exit $ac_status); } && {
16969 test -z "$ac_c_werror_flag" ||
16970 test ! -s conftest.err
16971 } && test -s conftest.$ac_objext; then
16972 ac_cv_type_request_sense=yes
16973 else
16974 echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16977 ac_cv_type_request_sense=no
16980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16982 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
16983 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
16984 if test $ac_cv_type_request_sense = yes; then
16986 cat >>confdefs.h <<_ACEOF
16987 #define HAVE_REQUEST_SENSE 1
16988 _ACEOF
16994 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
16995 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
16996 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
16997 echo $ECHO_N "(cached) $ECHO_C" >&6
16998 else
16999 cat >conftest.$ac_ext <<_ACEOF
17000 /* confdefs.h. */
17001 _ACEOF
17002 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17005 #ifdef HAVE_LINUX_INPUT_H
17006 #include <linux/input.h>
17007 #endif
17010 main ()
17012 static struct ff_effect ac_aggr;
17013 if (ac_aggr.direction)
17014 return 0;
17016 return 0;
17018 _ACEOF
17019 rm -f conftest.$ac_objext
17020 if { (ac_try="$ac_compile"
17021 case "(($ac_try" in
17022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17023 *) ac_try_echo=$ac_try;;
17024 esac
17025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17026 (eval "$ac_compile") 2>conftest.er1
17027 ac_status=$?
17028 grep -v '^ *+' conftest.er1 >conftest.err
17029 rm -f conftest.er1
17030 cat conftest.err >&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); } && {
17033 test -z "$ac_c_werror_flag" ||
17034 test ! -s conftest.err
17035 } && test -s conftest.$ac_objext; then
17036 ac_cv_member_struct_ff_effect_direction=yes
17037 else
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.$ac_ext >&5
17041 cat >conftest.$ac_ext <<_ACEOF
17042 /* confdefs.h. */
17043 _ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 #ifdef HAVE_LINUX_INPUT_H
17048 #include <linux/input.h>
17049 #endif
17052 main ()
17054 static struct ff_effect ac_aggr;
17055 if (sizeof ac_aggr.direction)
17056 return 0;
17058 return 0;
17060 _ACEOF
17061 rm -f conftest.$ac_objext
17062 if { (ac_try="$ac_compile"
17063 case "(($ac_try" in
17064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17065 *) ac_try_echo=$ac_try;;
17066 esac
17067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17068 (eval "$ac_compile") 2>conftest.er1
17069 ac_status=$?
17070 grep -v '^ *+' conftest.er1 >conftest.err
17071 rm -f conftest.er1
17072 cat conftest.err >&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } && {
17075 test -z "$ac_c_werror_flag" ||
17076 test ! -s conftest.err
17077 } && test -s conftest.$ac_objext; then
17078 ac_cv_member_struct_ff_effect_direction=yes
17079 else
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.$ac_ext >&5
17083 ac_cv_member_struct_ff_effect_direction=no
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17091 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17092 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17093 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17095 cat >>confdefs.h <<_ACEOF
17096 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17097 _ACEOF
17103 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17104 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17105 if test "${wine_cv_have_sigaddset+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 else
17108 cat >conftest.$ac_ext <<_ACEOF
17109 /* confdefs.h. */
17110 _ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 #include <signal.h>
17116 main ()
17118 sigset_t set; sigaddset(&set,SIGTERM);
17120 return 0;
17122 _ACEOF
17123 rm -f conftest.$ac_objext conftest$ac_exeext
17124 if { (ac_try="$ac_link"
17125 case "(($ac_try" in
17126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17127 *) ac_try_echo=$ac_try;;
17128 esac
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_link") 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_c_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest$ac_exeext &&
17140 $as_test_x conftest$ac_exeext; then
17141 wine_cv_have_sigaddset=yes
17142 else
17143 echo "$as_me: failed program was:" >&5
17144 sed 's/^/| /' conftest.$ac_ext >&5
17146 wine_cv_have_sigaddset=no
17149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17150 conftest$ac_exeext conftest.$ac_ext
17152 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17153 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17154 if test "$wine_cv_have_sigaddset" = "yes"
17155 then
17157 cat >>confdefs.h <<\_ACEOF
17158 #define HAVE_SIGADDSET 1
17159 _ACEOF
17164 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17165 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17166 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17167 echo $ECHO_N "(cached) $ECHO_C" >&6
17168 else
17169 cat >conftest.$ac_ext <<_ACEOF
17170 /* confdefs.h. */
17171 _ACEOF
17172 cat confdefs.h >>conftest.$ac_ext
17173 cat >>conftest.$ac_ext <<_ACEOF
17174 /* end confdefs.h. */
17175 #include <netdb.h>
17177 main ()
17180 char *name=NULL;
17181 struct hostent he;
17182 struct hostent *result;
17183 char *buf=NULL;
17184 int bufsize=0;
17185 int res,errnr;
17186 char *addr=NULL;
17187 int addrlen=0;
17188 int addrtype=0;
17189 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17190 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17193 return 0;
17195 _ACEOF
17196 rm -f conftest.$ac_objext conftest$ac_exeext
17197 if { (ac_try="$ac_link"
17198 case "(($ac_try" in
17199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17200 *) ac_try_echo=$ac_try;;
17201 esac
17202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17203 (eval "$ac_link") 2>conftest.er1
17204 ac_status=$?
17205 grep -v '^ *+' conftest.er1 >conftest.err
17206 rm -f conftest.er1
17207 cat conftest.err >&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } && {
17210 test -z "$ac_c_werror_flag" ||
17211 test ! -s conftest.err
17212 } && test -s conftest$ac_exeext &&
17213 $as_test_x conftest$ac_exeext; then
17214 wine_cv_linux_gethostbyname_r_6=yes
17215 else
17216 echo "$as_me: failed program was:" >&5
17217 sed 's/^/| /' conftest.$ac_ext >&5
17219 wine_cv_linux_gethostbyname_r_6=no
17223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17224 conftest$ac_exeext conftest.$ac_ext
17227 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17228 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17229 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17230 then
17232 cat >>confdefs.h <<\_ACEOF
17233 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17234 _ACEOF
17238 if test "$ac_cv_header_linux_joystick_h" = "yes"
17239 then
17240 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17241 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17242 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17244 else
17245 cat >conftest.$ac_ext <<_ACEOF
17246 /* confdefs.h. */
17247 _ACEOF
17248 cat confdefs.h >>conftest.$ac_ext
17249 cat >>conftest.$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17252 #include <sys/ioctl.h>
17253 #include <sys/types.h>
17254 #include <linux/joystick.h>
17256 struct js_event blub;
17257 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17258 #error "no 2.2 header"
17259 #endif
17262 main ()
17264 /*empty*/
17266 return 0;
17268 _ACEOF
17269 rm -f conftest.$ac_objext
17270 if { (ac_try="$ac_compile"
17271 case "(($ac_try" in
17272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17273 *) ac_try_echo=$ac_try;;
17274 esac
17275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17276 (eval "$ac_compile") 2>conftest.er1
17277 ac_status=$?
17278 grep -v '^ *+' conftest.er1 >conftest.err
17279 rm -f conftest.er1
17280 cat conftest.err >&5
17281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } && {
17283 test -z "$ac_c_werror_flag" ||
17284 test ! -s conftest.err
17285 } && test -s conftest.$ac_objext; then
17286 wine_cv_linux_joystick_22_api=yes
17287 else
17288 echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.$ac_ext >&5
17291 wine_cv_linux_joystick_22_api=no
17294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17297 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17298 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17299 if test "$wine_cv_linux_joystick_22_api" = "yes"
17300 then
17302 cat >>confdefs.h <<\_ACEOF
17303 #define HAVE_LINUX_22_JOYSTICK_API 1
17304 _ACEOF
17310 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17311 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17312 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17313 echo $ECHO_N "(cached) $ECHO_C" >&6
17314 else
17315 cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h. */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h. */
17321 #include <sys/types.h>
17322 #ifdef HAVE_SYS_PARAM_H
17323 # include <sys/param.h>
17324 #endif
17325 #ifdef HAVE_SYS_MOUNT_H
17326 # include <sys/mount.h>
17327 #endif
17328 #ifdef HAVE_SYS_VFS_H
17329 # include <sys/vfs.h>
17330 #endif
17331 #ifdef HAVE_SYS_STATFS_H
17332 # include <sys/statfs.h>
17333 #endif
17336 main ()
17338 static struct statfs ac_aggr;
17339 if (ac_aggr.f_bfree)
17340 return 0;
17342 return 0;
17344 _ACEOF
17345 rm -f conftest.$ac_objext
17346 if { (ac_try="$ac_compile"
17347 case "(($ac_try" in
17348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17349 *) ac_try_echo=$ac_try;;
17350 esac
17351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17352 (eval "$ac_compile") 2>conftest.er1
17353 ac_status=$?
17354 grep -v '^ *+' conftest.er1 >conftest.err
17355 rm -f conftest.er1
17356 cat conftest.err >&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); } && {
17359 test -z "$ac_c_werror_flag" ||
17360 test ! -s conftest.err
17361 } && test -s conftest.$ac_objext; then
17362 ac_cv_member_struct_statfs_f_bfree=yes
17363 else
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17367 cat >conftest.$ac_ext <<_ACEOF
17368 /* confdefs.h. */
17369 _ACEOF
17370 cat confdefs.h >>conftest.$ac_ext
17371 cat >>conftest.$ac_ext <<_ACEOF
17372 /* end confdefs.h. */
17373 #include <sys/types.h>
17374 #ifdef HAVE_SYS_PARAM_H
17375 # include <sys/param.h>
17376 #endif
17377 #ifdef HAVE_SYS_MOUNT_H
17378 # include <sys/mount.h>
17379 #endif
17380 #ifdef HAVE_SYS_VFS_H
17381 # include <sys/vfs.h>
17382 #endif
17383 #ifdef HAVE_SYS_STATFS_H
17384 # include <sys/statfs.h>
17385 #endif
17388 main ()
17390 static struct statfs ac_aggr;
17391 if (sizeof ac_aggr.f_bfree)
17392 return 0;
17394 return 0;
17396 _ACEOF
17397 rm -f conftest.$ac_objext
17398 if { (ac_try="$ac_compile"
17399 case "(($ac_try" in
17400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17401 *) ac_try_echo=$ac_try;;
17402 esac
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_compile") 2>conftest.er1
17405 ac_status=$?
17406 grep -v '^ *+' conftest.er1 >conftest.err
17407 rm -f conftest.er1
17408 cat conftest.err >&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } && {
17411 test -z "$ac_c_werror_flag" ||
17412 test ! -s conftest.err
17413 } && test -s conftest.$ac_objext; then
17414 ac_cv_member_struct_statfs_f_bfree=yes
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17419 ac_cv_member_struct_statfs_f_bfree=no
17422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17427 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17428 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17429 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17431 cat >>confdefs.h <<_ACEOF
17432 #define HAVE_STRUCT_STATFS_F_BFREE 1
17433 _ACEOF
17437 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17438 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17439 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17440 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17442 cat >conftest.$ac_ext <<_ACEOF
17443 /* confdefs.h. */
17444 _ACEOF
17445 cat confdefs.h >>conftest.$ac_ext
17446 cat >>conftest.$ac_ext <<_ACEOF
17447 /* end confdefs.h. */
17448 #include <sys/types.h>
17449 #ifdef HAVE_SYS_PARAM_H
17450 # include <sys/param.h>
17451 #endif
17452 #ifdef HAVE_SYS_MOUNT_H
17453 # include <sys/mount.h>
17454 #endif
17455 #ifdef HAVE_SYS_VFS_H
17456 # include <sys/vfs.h>
17457 #endif
17458 #ifdef HAVE_SYS_STATFS_H
17459 # include <sys/statfs.h>
17460 #endif
17463 main ()
17465 static struct statfs ac_aggr;
17466 if (ac_aggr.f_bavail)
17467 return 0;
17469 return 0;
17471 _ACEOF
17472 rm -f conftest.$ac_objext
17473 if { (ac_try="$ac_compile"
17474 case "(($ac_try" in
17475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17476 *) ac_try_echo=$ac_try;;
17477 esac
17478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17479 (eval "$ac_compile") 2>conftest.er1
17480 ac_status=$?
17481 grep -v '^ *+' conftest.er1 >conftest.err
17482 rm -f conftest.er1
17483 cat conftest.err >&5
17484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17485 (exit $ac_status); } && {
17486 test -z "$ac_c_werror_flag" ||
17487 test ! -s conftest.err
17488 } && test -s conftest.$ac_objext; then
17489 ac_cv_member_struct_statfs_f_bavail=yes
17490 else
17491 echo "$as_me: failed program was:" >&5
17492 sed 's/^/| /' conftest.$ac_ext >&5
17494 cat >conftest.$ac_ext <<_ACEOF
17495 /* confdefs.h. */
17496 _ACEOF
17497 cat confdefs.h >>conftest.$ac_ext
17498 cat >>conftest.$ac_ext <<_ACEOF
17499 /* end confdefs.h. */
17500 #include <sys/types.h>
17501 #ifdef HAVE_SYS_PARAM_H
17502 # include <sys/param.h>
17503 #endif
17504 #ifdef HAVE_SYS_MOUNT_H
17505 # include <sys/mount.h>
17506 #endif
17507 #ifdef HAVE_SYS_VFS_H
17508 # include <sys/vfs.h>
17509 #endif
17510 #ifdef HAVE_SYS_STATFS_H
17511 # include <sys/statfs.h>
17512 #endif
17515 main ()
17517 static struct statfs ac_aggr;
17518 if (sizeof ac_aggr.f_bavail)
17519 return 0;
17521 return 0;
17523 _ACEOF
17524 rm -f conftest.$ac_objext
17525 if { (ac_try="$ac_compile"
17526 case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17529 esac
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_compile") 2>conftest.er1
17532 ac_status=$?
17533 grep -v '^ *+' conftest.er1 >conftest.err
17534 rm -f conftest.er1
17535 cat conftest.err >&5
17536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537 (exit $ac_status); } && {
17538 test -z "$ac_c_werror_flag" ||
17539 test ! -s conftest.err
17540 } && test -s conftest.$ac_objext; then
17541 ac_cv_member_struct_statfs_f_bavail=yes
17542 else
17543 echo "$as_me: failed program was:" >&5
17544 sed 's/^/| /' conftest.$ac_ext >&5
17546 ac_cv_member_struct_statfs_f_bavail=no
17549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17554 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17555 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17556 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17558 cat >>confdefs.h <<_ACEOF
17559 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17560 _ACEOF
17564 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17565 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17566 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17567 echo $ECHO_N "(cached) $ECHO_C" >&6
17568 else
17569 cat >conftest.$ac_ext <<_ACEOF
17570 /* confdefs.h. */
17571 _ACEOF
17572 cat confdefs.h >>conftest.$ac_ext
17573 cat >>conftest.$ac_ext <<_ACEOF
17574 /* end confdefs.h. */
17575 #include <sys/types.h>
17576 #ifdef HAVE_SYS_PARAM_H
17577 # include <sys/param.h>
17578 #endif
17579 #ifdef HAVE_SYS_MOUNT_H
17580 # include <sys/mount.h>
17581 #endif
17582 #ifdef HAVE_SYS_VFS_H
17583 # include <sys/vfs.h>
17584 #endif
17585 #ifdef HAVE_SYS_STATFS_H
17586 # include <sys/statfs.h>
17587 #endif
17590 main ()
17592 static struct statfs ac_aggr;
17593 if (ac_aggr.f_frsize)
17594 return 0;
17596 return 0;
17598 _ACEOF
17599 rm -f conftest.$ac_objext
17600 if { (ac_try="$ac_compile"
17601 case "(($ac_try" in
17602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17603 *) ac_try_echo=$ac_try;;
17604 esac
17605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17606 (eval "$ac_compile") 2>conftest.er1
17607 ac_status=$?
17608 grep -v '^ *+' conftest.er1 >conftest.err
17609 rm -f conftest.er1
17610 cat conftest.err >&5
17611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17612 (exit $ac_status); } && {
17613 test -z "$ac_c_werror_flag" ||
17614 test ! -s conftest.err
17615 } && test -s conftest.$ac_objext; then
17616 ac_cv_member_struct_statfs_f_frsize=yes
17617 else
17618 echo "$as_me: failed program was:" >&5
17619 sed 's/^/| /' conftest.$ac_ext >&5
17621 cat >conftest.$ac_ext <<_ACEOF
17622 /* confdefs.h. */
17623 _ACEOF
17624 cat confdefs.h >>conftest.$ac_ext
17625 cat >>conftest.$ac_ext <<_ACEOF
17626 /* end confdefs.h. */
17627 #include <sys/types.h>
17628 #ifdef HAVE_SYS_PARAM_H
17629 # include <sys/param.h>
17630 #endif
17631 #ifdef HAVE_SYS_MOUNT_H
17632 # include <sys/mount.h>
17633 #endif
17634 #ifdef HAVE_SYS_VFS_H
17635 # include <sys/vfs.h>
17636 #endif
17637 #ifdef HAVE_SYS_STATFS_H
17638 # include <sys/statfs.h>
17639 #endif
17642 main ()
17644 static struct statfs ac_aggr;
17645 if (sizeof ac_aggr.f_frsize)
17646 return 0;
17648 return 0;
17650 _ACEOF
17651 rm -f conftest.$ac_objext
17652 if { (ac_try="$ac_compile"
17653 case "(($ac_try" in
17654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17655 *) ac_try_echo=$ac_try;;
17656 esac
17657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17658 (eval "$ac_compile") 2>conftest.er1
17659 ac_status=$?
17660 grep -v '^ *+' conftest.er1 >conftest.err
17661 rm -f conftest.er1
17662 cat conftest.err >&5
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); } && {
17665 test -z "$ac_c_werror_flag" ||
17666 test ! -s conftest.err
17667 } && test -s conftest.$ac_objext; then
17668 ac_cv_member_struct_statfs_f_frsize=yes
17669 else
17670 echo "$as_me: failed program was:" >&5
17671 sed 's/^/| /' conftest.$ac_ext >&5
17673 ac_cv_member_struct_statfs_f_frsize=no
17676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17681 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17682 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17683 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17685 cat >>confdefs.h <<_ACEOF
17686 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17687 _ACEOF
17691 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17692 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17693 if test "${ac_cv_member_struct_statfs_f_ffree+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
17717 main ()
17719 static struct statfs ac_aggr;
17720 if (ac_aggr.f_ffree)
17721 return 0;
17723 return 0;
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_ffree=yes
17744 else
17745 echo "$as_me: failed program was:" >&5
17746 sed 's/^/| /' conftest.$ac_ext >&5
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
17769 main ()
17771 static struct statfs ac_aggr;
17772 if (sizeof ac_aggr.f_ffree)
17773 return 0;
17775 return 0;
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_ffree=yes
17796 else
17797 echo "$as_me: failed program was:" >&5
17798 sed 's/^/| /' conftest.$ac_ext >&5
17800 ac_cv_member_struct_statfs_f_ffree=no
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17808 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17809 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
17810 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17812 cat >>confdefs.h <<_ACEOF
17813 #define HAVE_STRUCT_STATFS_F_FFREE 1
17814 _ACEOF
17818 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17819 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
17820 if test "${ac_cv_member_struct_statfs_f_favail+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
17844 main ()
17846 static struct statfs ac_aggr;
17847 if (ac_aggr.f_favail)
17848 return 0;
17850 return 0;
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_favail=yes
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
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
17896 main ()
17898 static struct statfs ac_aggr;
17899 if (sizeof ac_aggr.f_favail)
17900 return 0;
17902 return 0;
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_favail=yes
17923 else
17924 echo "$as_me: failed program was:" >&5
17925 sed 's/^/| /' conftest.$ac_ext >&5
17927 ac_cv_member_struct_statfs_f_favail=no
17930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17935 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
17936 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
17937 if test $ac_cv_member_struct_statfs_f_favail = yes; then
17939 cat >>confdefs.h <<_ACEOF
17940 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
17941 _ACEOF
17945 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
17946 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
17947 if test "${ac_cv_member_struct_statfs_f_namelen+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
17971 main ()
17973 static struct statfs ac_aggr;
17974 if (ac_aggr.f_namelen)
17975 return 0;
17977 return 0;
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_namelen=yes
17998 else
17999 echo "$as_me: failed program was:" >&5
18000 sed 's/^/| /' conftest.$ac_ext >&5
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
18023 main ()
18025 static struct statfs ac_aggr;
18026 if (sizeof ac_aggr.f_namelen)
18027 return 0;
18029 return 0;
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_namelen=yes
18050 else
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.$ac_ext >&5
18054 ac_cv_member_struct_statfs_f_namelen=no
18057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18062 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18063 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18064 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18066 cat >>confdefs.h <<_ACEOF
18067 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18068 _ACEOF
18074 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18075 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18076 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18077 echo $ECHO_N "(cached) $ECHO_C" >&6
18078 else
18079 cat >conftest.$ac_ext <<_ACEOF
18080 /* confdefs.h. */
18081 _ACEOF
18082 cat confdefs.h >>conftest.$ac_ext
18083 cat >>conftest.$ac_ext <<_ACEOF
18084 /* end confdefs.h. */
18085 #ifdef HAVE_SYS_STATVFS_H
18086 #include <sys/statvfs.h>
18087 #endif
18090 main ()
18092 static struct statvfs ac_aggr;
18093 if (ac_aggr.f_blocks)
18094 return 0;
18096 return 0;
18098 _ACEOF
18099 rm -f conftest.$ac_objext
18100 if { (ac_try="$ac_compile"
18101 case "(($ac_try" in
18102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18103 *) ac_try_echo=$ac_try;;
18104 esac
18105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18106 (eval "$ac_compile") 2>conftest.er1
18107 ac_status=$?
18108 grep -v '^ *+' conftest.er1 >conftest.err
18109 rm -f conftest.er1
18110 cat conftest.err >&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); } && {
18113 test -z "$ac_c_werror_flag" ||
18114 test ! -s conftest.err
18115 } && test -s conftest.$ac_objext; then
18116 ac_cv_member_struct_statvfs_f_blocks=yes
18117 else
18118 echo "$as_me: failed program was:" >&5
18119 sed 's/^/| /' conftest.$ac_ext >&5
18121 cat >conftest.$ac_ext <<_ACEOF
18122 /* confdefs.h. */
18123 _ACEOF
18124 cat confdefs.h >>conftest.$ac_ext
18125 cat >>conftest.$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 #ifdef HAVE_SYS_STATVFS_H
18128 #include <sys/statvfs.h>
18129 #endif
18132 main ()
18134 static struct statvfs ac_aggr;
18135 if (sizeof ac_aggr.f_blocks)
18136 return 0;
18138 return 0;
18140 _ACEOF
18141 rm -f conftest.$ac_objext
18142 if { (ac_try="$ac_compile"
18143 case "(($ac_try" in
18144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18145 *) ac_try_echo=$ac_try;;
18146 esac
18147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18148 (eval "$ac_compile") 2>conftest.er1
18149 ac_status=$?
18150 grep -v '^ *+' conftest.er1 >conftest.err
18151 rm -f conftest.er1
18152 cat conftest.err >&5
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); } && {
18155 test -z "$ac_c_werror_flag" ||
18156 test ! -s conftest.err
18157 } && test -s conftest.$ac_objext; then
18158 ac_cv_member_struct_statvfs_f_blocks=yes
18159 else
18160 echo "$as_me: failed program was:" >&5
18161 sed 's/^/| /' conftest.$ac_ext >&5
18163 ac_cv_member_struct_statvfs_f_blocks=no
18166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18171 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18172 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18173 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18175 cat >>confdefs.h <<_ACEOF
18176 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18177 _ACEOF
18183 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18184 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18185 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18186 echo $ECHO_N "(cached) $ECHO_C" >&6
18187 else
18188 cat >conftest.$ac_ext <<_ACEOF
18189 /* confdefs.h. */
18190 _ACEOF
18191 cat confdefs.h >>conftest.$ac_ext
18192 cat >>conftest.$ac_ext <<_ACEOF
18193 /* end confdefs.h. */
18194 #include <sys/types.h>
18195 #ifdef HAVE_SYS_SOCKET_H
18196 # include <sys/socket.h>
18197 #endif
18198 #ifdef HAVE_SYS_UN_H
18199 # include <sys/un.h>
18200 #endif
18203 main ()
18205 static struct msghdr ac_aggr;
18206 if (ac_aggr.msg_accrights)
18207 return 0;
18209 return 0;
18211 _ACEOF
18212 rm -f conftest.$ac_objext
18213 if { (ac_try="$ac_compile"
18214 case "(($ac_try" in
18215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18216 *) ac_try_echo=$ac_try;;
18217 esac
18218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18219 (eval "$ac_compile") 2>conftest.er1
18220 ac_status=$?
18221 grep -v '^ *+' conftest.er1 >conftest.err
18222 rm -f conftest.er1
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } && {
18226 test -z "$ac_c_werror_flag" ||
18227 test ! -s conftest.err
18228 } && test -s conftest.$ac_objext; then
18229 ac_cv_member_struct_msghdr_msg_accrights=yes
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 cat >conftest.$ac_ext <<_ACEOF
18235 /* confdefs.h. */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <sys/types.h>
18241 #ifdef HAVE_SYS_SOCKET_H
18242 # include <sys/socket.h>
18243 #endif
18244 #ifdef HAVE_SYS_UN_H
18245 # include <sys/un.h>
18246 #endif
18249 main ()
18251 static struct msghdr ac_aggr;
18252 if (sizeof ac_aggr.msg_accrights)
18253 return 0;
18255 return 0;
18257 _ACEOF
18258 rm -f conftest.$ac_objext
18259 if { (ac_try="$ac_compile"
18260 case "(($ac_try" in
18261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18262 *) ac_try_echo=$ac_try;;
18263 esac
18264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18265 (eval "$ac_compile") 2>conftest.er1
18266 ac_status=$?
18267 grep -v '^ *+' conftest.er1 >conftest.err
18268 rm -f conftest.er1
18269 cat conftest.err >&5
18270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18271 (exit $ac_status); } && {
18272 test -z "$ac_c_werror_flag" ||
18273 test ! -s conftest.err
18274 } && test -s conftest.$ac_objext; then
18275 ac_cv_member_struct_msghdr_msg_accrights=yes
18276 else
18277 echo "$as_me: failed program was:" >&5
18278 sed 's/^/| /' conftest.$ac_ext >&5
18280 ac_cv_member_struct_msghdr_msg_accrights=no
18283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18288 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18289 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18290 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18292 cat >>confdefs.h <<_ACEOF
18293 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18294 _ACEOF
18298 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18299 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18300 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18302 else
18303 cat >conftest.$ac_ext <<_ACEOF
18304 /* confdefs.h. */
18305 _ACEOF
18306 cat confdefs.h >>conftest.$ac_ext
18307 cat >>conftest.$ac_ext <<_ACEOF
18308 /* end confdefs.h. */
18309 #include <sys/types.h>
18310 #ifdef HAVE_SYS_SOCKET_H
18311 # include <sys/socket.h>
18312 #endif
18313 #ifdef HAVE_SYS_UN_H
18314 # include <sys/un.h>
18315 #endif
18318 main ()
18320 static struct sockaddr ac_aggr;
18321 if (ac_aggr.sa_len)
18322 return 0;
18324 return 0;
18326 _ACEOF
18327 rm -f conftest.$ac_objext
18328 if { (ac_try="$ac_compile"
18329 case "(($ac_try" in
18330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18331 *) ac_try_echo=$ac_try;;
18332 esac
18333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18334 (eval "$ac_compile") 2>conftest.er1
18335 ac_status=$?
18336 grep -v '^ *+' conftest.er1 >conftest.err
18337 rm -f conftest.er1
18338 cat conftest.err >&5
18339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18340 (exit $ac_status); } && {
18341 test -z "$ac_c_werror_flag" ||
18342 test ! -s conftest.err
18343 } && test -s conftest.$ac_objext; then
18344 ac_cv_member_struct_sockaddr_sa_len=yes
18345 else
18346 echo "$as_me: failed program was:" >&5
18347 sed 's/^/| /' conftest.$ac_ext >&5
18349 cat >conftest.$ac_ext <<_ACEOF
18350 /* confdefs.h. */
18351 _ACEOF
18352 cat confdefs.h >>conftest.$ac_ext
18353 cat >>conftest.$ac_ext <<_ACEOF
18354 /* end confdefs.h. */
18355 #include <sys/types.h>
18356 #ifdef HAVE_SYS_SOCKET_H
18357 # include <sys/socket.h>
18358 #endif
18359 #ifdef HAVE_SYS_UN_H
18360 # include <sys/un.h>
18361 #endif
18364 main ()
18366 static struct sockaddr ac_aggr;
18367 if (sizeof ac_aggr.sa_len)
18368 return 0;
18370 return 0;
18372 _ACEOF
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_cv_member_struct_sockaddr_sa_len=yes
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18395 ac_cv_member_struct_sockaddr_sa_len=no
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18403 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18404 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18405 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18409 _ACEOF
18413 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18414 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18415 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18416 echo $ECHO_N "(cached) $ECHO_C" >&6
18417 else
18418 cat >conftest.$ac_ext <<_ACEOF
18419 /* confdefs.h. */
18420 _ACEOF
18421 cat confdefs.h >>conftest.$ac_ext
18422 cat >>conftest.$ac_ext <<_ACEOF
18423 /* end confdefs.h. */
18424 #include <sys/types.h>
18425 #ifdef HAVE_SYS_SOCKET_H
18426 # include <sys/socket.h>
18427 #endif
18428 #ifdef HAVE_SYS_UN_H
18429 # include <sys/un.h>
18430 #endif
18433 main ()
18435 static struct sockaddr_un ac_aggr;
18436 if (ac_aggr.sun_len)
18437 return 0;
18439 return 0;
18441 _ACEOF
18442 rm -f conftest.$ac_objext
18443 if { (ac_try="$ac_compile"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18447 esac
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_compile") 2>conftest.er1
18450 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } && {
18456 test -z "$ac_c_werror_flag" ||
18457 test ! -s conftest.err
18458 } && test -s conftest.$ac_objext; then
18459 ac_cv_member_struct_sockaddr_un_sun_len=yes
18460 else
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18464 cat >conftest.$ac_ext <<_ACEOF
18465 /* confdefs.h. */
18466 _ACEOF
18467 cat confdefs.h >>conftest.$ac_ext
18468 cat >>conftest.$ac_ext <<_ACEOF
18469 /* end confdefs.h. */
18470 #include <sys/types.h>
18471 #ifdef HAVE_SYS_SOCKET_H
18472 # include <sys/socket.h>
18473 #endif
18474 #ifdef HAVE_SYS_UN_H
18475 # include <sys/un.h>
18476 #endif
18479 main ()
18481 static struct sockaddr_un ac_aggr;
18482 if (sizeof ac_aggr.sun_len)
18483 return 0;
18485 return 0;
18487 _ACEOF
18488 rm -f conftest.$ac_objext
18489 if { (ac_try="$ac_compile"
18490 case "(($ac_try" in
18491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18492 *) ac_try_echo=$ac_try;;
18493 esac
18494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18495 (eval "$ac_compile") 2>conftest.er1
18496 ac_status=$?
18497 grep -v '^ *+' conftest.er1 >conftest.err
18498 rm -f conftest.er1
18499 cat conftest.err >&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); } && {
18502 test -z "$ac_c_werror_flag" ||
18503 test ! -s conftest.err
18504 } && test -s conftest.$ac_objext; then
18505 ac_cv_member_struct_sockaddr_un_sun_len=yes
18506 else
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.$ac_ext >&5
18510 ac_cv_member_struct_sockaddr_un_sun_len=no
18513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18518 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18519 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18520 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18522 cat >>confdefs.h <<_ACEOF
18523 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18524 _ACEOF
18530 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18531 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18532 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18533 echo $ECHO_N "(cached) $ECHO_C" >&6
18534 else
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h. */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 #include <sys/types.h>
18542 #ifdef HAVE_SCSI_SG_H
18543 #include <scsi/sg.h>
18544 #endif
18547 main ()
18549 static scsireq_t ac_aggr;
18550 if (ac_aggr.cmd)
18551 return 0;
18553 return 0;
18555 _ACEOF
18556 rm -f conftest.$ac_objext
18557 if { (ac_try="$ac_compile"
18558 case "(($ac_try" in
18559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18560 *) ac_try_echo=$ac_try;;
18561 esac
18562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18563 (eval "$ac_compile") 2>conftest.er1
18564 ac_status=$?
18565 grep -v '^ *+' conftest.er1 >conftest.err
18566 rm -f conftest.er1
18567 cat conftest.err >&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); } && {
18570 test -z "$ac_c_werror_flag" ||
18571 test ! -s conftest.err
18572 } && test -s conftest.$ac_objext; then
18573 ac_cv_member_scsireq_t_cmd=yes
18574 else
18575 echo "$as_me: failed program was:" >&5
18576 sed 's/^/| /' conftest.$ac_ext >&5
18578 cat >conftest.$ac_ext <<_ACEOF
18579 /* confdefs.h. */
18580 _ACEOF
18581 cat confdefs.h >>conftest.$ac_ext
18582 cat >>conftest.$ac_ext <<_ACEOF
18583 /* end confdefs.h. */
18584 #include <sys/types.h>
18585 #ifdef HAVE_SCSI_SG_H
18586 #include <scsi/sg.h>
18587 #endif
18590 main ()
18592 static scsireq_t ac_aggr;
18593 if (sizeof ac_aggr.cmd)
18594 return 0;
18596 return 0;
18598 _ACEOF
18599 rm -f conftest.$ac_objext
18600 if { (ac_try="$ac_compile"
18601 case "(($ac_try" in
18602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18603 *) ac_try_echo=$ac_try;;
18604 esac
18605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18606 (eval "$ac_compile") 2>conftest.er1
18607 ac_status=$?
18608 grep -v '^ *+' conftest.er1 >conftest.err
18609 rm -f conftest.er1
18610 cat conftest.err >&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); } && {
18613 test -z "$ac_c_werror_flag" ||
18614 test ! -s conftest.err
18615 } && test -s conftest.$ac_objext; then
18616 ac_cv_member_scsireq_t_cmd=yes
18617 else
18618 echo "$as_me: failed program was:" >&5
18619 sed 's/^/| /' conftest.$ac_ext >&5
18621 ac_cv_member_scsireq_t_cmd=no
18624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18629 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18630 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18631 if test $ac_cv_member_scsireq_t_cmd = yes; then
18633 cat >>confdefs.h <<_ACEOF
18634 #define HAVE_SCSIREQ_T_CMD 1
18635 _ACEOF
18639 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18640 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18641 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18642 echo $ECHO_N "(cached) $ECHO_C" >&6
18643 else
18644 cat >conftest.$ac_ext <<_ACEOF
18645 /* confdefs.h. */
18646 _ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 #include <sys/types.h>
18651 #ifdef HAVE_SCSI_SG_H
18652 #include <scsi/sg.h>
18653 #endif
18656 main ()
18658 static sg_io_hdr_t ac_aggr;
18659 if (ac_aggr.interface_id)
18660 return 0;
18662 return 0;
18664 _ACEOF
18665 rm -f conftest.$ac_objext
18666 if { (ac_try="$ac_compile"
18667 case "(($ac_try" in
18668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18669 *) ac_try_echo=$ac_try;;
18670 esac
18671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18672 (eval "$ac_compile") 2>conftest.er1
18673 ac_status=$?
18674 grep -v '^ *+' conftest.er1 >conftest.err
18675 rm -f conftest.er1
18676 cat conftest.err >&5
18677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678 (exit $ac_status); } && {
18679 test -z "$ac_c_werror_flag" ||
18680 test ! -s conftest.err
18681 } && test -s conftest.$ac_objext; then
18682 ac_cv_member_sg_io_hdr_t_interface_id=yes
18683 else
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18687 cat >conftest.$ac_ext <<_ACEOF
18688 /* confdefs.h. */
18689 _ACEOF
18690 cat confdefs.h >>conftest.$ac_ext
18691 cat >>conftest.$ac_ext <<_ACEOF
18692 /* end confdefs.h. */
18693 #include <sys/types.h>
18694 #ifdef HAVE_SCSI_SG_H
18695 #include <scsi/sg.h>
18696 #endif
18699 main ()
18701 static sg_io_hdr_t ac_aggr;
18702 if (sizeof ac_aggr.interface_id)
18703 return 0;
18705 return 0;
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_sg_io_hdr_t_interface_id=yes
18726 else
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18730 ac_cv_member_sg_io_hdr_t_interface_id=no
18733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18738 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18739 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18740 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18742 cat >>confdefs.h <<_ACEOF
18743 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18744 _ACEOF
18750 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18751 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18752 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 else
18755 cat >conftest.$ac_ext <<_ACEOF
18756 /* confdefs.h. */
18757 _ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 #include <signal.h>
18764 main ()
18766 static siginfo_t ac_aggr;
18767 if (ac_aggr.si_fd)
18768 return 0;
18770 return 0;
18772 _ACEOF
18773 rm -f conftest.$ac_objext
18774 if { (ac_try="$ac_compile"
18775 case "(($ac_try" in
18776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18777 *) ac_try_echo=$ac_try;;
18778 esac
18779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18780 (eval "$ac_compile") 2>conftest.er1
18781 ac_status=$?
18782 grep -v '^ *+' conftest.er1 >conftest.err
18783 rm -f conftest.er1
18784 cat conftest.err >&5
18785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18786 (exit $ac_status); } && {
18787 test -z "$ac_c_werror_flag" ||
18788 test ! -s conftest.err
18789 } && test -s conftest.$ac_objext; then
18790 ac_cv_member_siginfo_t_si_fd=yes
18791 else
18792 echo "$as_me: failed program was:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18795 cat >conftest.$ac_ext <<_ACEOF
18796 /* confdefs.h. */
18797 _ACEOF
18798 cat confdefs.h >>conftest.$ac_ext
18799 cat >>conftest.$ac_ext <<_ACEOF
18800 /* end confdefs.h. */
18801 #include <signal.h>
18804 main ()
18806 static siginfo_t ac_aggr;
18807 if (sizeof ac_aggr.si_fd)
18808 return 0;
18810 return 0;
18812 _ACEOF
18813 rm -f conftest.$ac_objext
18814 if { (ac_try="$ac_compile"
18815 case "(($ac_try" in
18816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18817 *) ac_try_echo=$ac_try;;
18818 esac
18819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18820 (eval "$ac_compile") 2>conftest.er1
18821 ac_status=$?
18822 grep -v '^ *+' conftest.er1 >conftest.err
18823 rm -f conftest.er1
18824 cat conftest.err >&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } && {
18827 test -z "$ac_c_werror_flag" ||
18828 test ! -s conftest.err
18829 } && test -s conftest.$ac_objext; then
18830 ac_cv_member_siginfo_t_si_fd=yes
18831 else
18832 echo "$as_me: failed program was:" >&5
18833 sed 's/^/| /' conftest.$ac_ext >&5
18835 ac_cv_member_siginfo_t_si_fd=no
18838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18843 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
18844 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
18845 if test $ac_cv_member_siginfo_t_si_fd = yes; then
18847 cat >>confdefs.h <<_ACEOF
18848 #define HAVE_SIGINFO_T_SI_FD 1
18849 _ACEOF
18855 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
18856 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
18857 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
18858 echo $ECHO_N "(cached) $ECHO_C" >&6
18859 else
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 #include <sys/types.h>
18867 #ifdef HAVE_SYS_MTIO_H
18868 #include <sys/mtio.h>
18869 #endif
18872 main ()
18874 static struct mtget ac_aggr;
18875 if (ac_aggr.mt_blksiz)
18876 return 0;
18878 return 0;
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18886 esac
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 ac_cv_member_struct_mtget_mt_blksiz=yes
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 cat >conftest.$ac_ext <<_ACEOF
18904 /* confdefs.h. */
18905 _ACEOF
18906 cat confdefs.h >>conftest.$ac_ext
18907 cat >>conftest.$ac_ext <<_ACEOF
18908 /* end confdefs.h. */
18909 #include <sys/types.h>
18910 #ifdef HAVE_SYS_MTIO_H
18911 #include <sys/mtio.h>
18912 #endif
18915 main ()
18917 static struct mtget ac_aggr;
18918 if (sizeof ac_aggr.mt_blksiz)
18919 return 0;
18921 return 0;
18923 _ACEOF
18924 rm -f conftest.$ac_objext
18925 if { (ac_try="$ac_compile"
18926 case "(($ac_try" in
18927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18928 *) ac_try_echo=$ac_try;;
18929 esac
18930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18931 (eval "$ac_compile") 2>conftest.er1
18932 ac_status=$?
18933 grep -v '^ *+' conftest.er1 >conftest.err
18934 rm -f conftest.er1
18935 cat conftest.err >&5
18936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18937 (exit $ac_status); } && {
18938 test -z "$ac_c_werror_flag" ||
18939 test ! -s conftest.err
18940 } && test -s conftest.$ac_objext; then
18941 ac_cv_member_struct_mtget_mt_blksiz=yes
18942 else
18943 echo "$as_me: failed program was:" >&5
18944 sed 's/^/| /' conftest.$ac_ext >&5
18946 ac_cv_member_struct_mtget_mt_blksiz=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18954 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
18955 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
18956 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
18958 cat >>confdefs.h <<_ACEOF
18959 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18960 _ACEOF
18964 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
18965 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
18966 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
18967 echo $ECHO_N "(cached) $ECHO_C" >&6
18968 else
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <sys/types.h>
18976 #ifdef HAVE_SYS_MTIO_H
18977 #include <sys/mtio.h>
18978 #endif
18981 main ()
18983 static struct mtget ac_aggr;
18984 if (ac_aggr.mt_gstat)
18985 return 0;
18987 return 0;
18989 _ACEOF
18990 rm -f conftest.$ac_objext
18991 if { (ac_try="$ac_compile"
18992 case "(($ac_try" in
18993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18995 esac
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18998 ac_status=$?
18999 grep -v '^ *+' conftest.er1 >conftest.err
19000 rm -f conftest.er1
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19007 ac_cv_member_struct_mtget_mt_gstat=yes
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 #include <sys/types.h>
19019 #ifdef HAVE_SYS_MTIO_H
19020 #include <sys/mtio.h>
19021 #endif
19024 main ()
19026 static struct mtget ac_aggr;
19027 if (sizeof ac_aggr.mt_gstat)
19028 return 0;
19030 return 0;
19032 _ACEOF
19033 rm -f conftest.$ac_objext
19034 if { (ac_try="$ac_compile"
19035 case "(($ac_try" in
19036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19037 *) ac_try_echo=$ac_try;;
19038 esac
19039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19040 (eval "$ac_compile") 2>conftest.er1
19041 ac_status=$?
19042 grep -v '^ *+' conftest.er1 >conftest.err
19043 rm -f conftest.er1
19044 cat conftest.err >&5
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); } && {
19047 test -z "$ac_c_werror_flag" ||
19048 test ! -s conftest.err
19049 } && test -s conftest.$ac_objext; then
19050 ac_cv_member_struct_mtget_mt_gstat=yes
19051 else
19052 echo "$as_me: failed program was:" >&5
19053 sed 's/^/| /' conftest.$ac_ext >&5
19055 ac_cv_member_struct_mtget_mt_gstat=no
19058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19063 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19064 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19065 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19069 _ACEOF
19073 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19074 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19075 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19076 echo $ECHO_N "(cached) $ECHO_C" >&6
19077 else
19078 cat >conftest.$ac_ext <<_ACEOF
19079 /* confdefs.h. */
19080 _ACEOF
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19084 #include <sys/types.h>
19085 #ifdef HAVE_SYS_MTIO_H
19086 #include <sys/mtio.h>
19087 #endif
19090 main ()
19092 static struct mtget ac_aggr;
19093 if (ac_aggr.mt_blkno)
19094 return 0;
19096 return 0;
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (ac_try="$ac_compile"
19101 case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19104 esac
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_compile") 2>conftest.er1
19107 ac_status=$?
19108 grep -v '^ *+' conftest.er1 >conftest.err
19109 rm -f conftest.er1
19110 cat conftest.err >&5
19111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19112 (exit $ac_status); } && {
19113 test -z "$ac_c_werror_flag" ||
19114 test ! -s conftest.err
19115 } && test -s conftest.$ac_objext; then
19116 ac_cv_member_struct_mtget_mt_blkno=yes
19117 else
19118 echo "$as_me: failed program was:" >&5
19119 sed 's/^/| /' conftest.$ac_ext >&5
19121 cat >conftest.$ac_ext <<_ACEOF
19122 /* confdefs.h. */
19123 _ACEOF
19124 cat confdefs.h >>conftest.$ac_ext
19125 cat >>conftest.$ac_ext <<_ACEOF
19126 /* end confdefs.h. */
19127 #include <sys/types.h>
19128 #ifdef HAVE_SYS_MTIO_H
19129 #include <sys/mtio.h>
19130 #endif
19133 main ()
19135 static struct mtget ac_aggr;
19136 if (sizeof ac_aggr.mt_blkno)
19137 return 0;
19139 return 0;
19141 _ACEOF
19142 rm -f conftest.$ac_objext
19143 if { (ac_try="$ac_compile"
19144 case "(($ac_try" in
19145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19146 *) ac_try_echo=$ac_try;;
19147 esac
19148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19149 (eval "$ac_compile") 2>conftest.er1
19150 ac_status=$?
19151 grep -v '^ *+' conftest.er1 >conftest.err
19152 rm -f conftest.er1
19153 cat conftest.err >&5
19154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19155 (exit $ac_status); } && {
19156 test -z "$ac_c_werror_flag" ||
19157 test ! -s conftest.err
19158 } && test -s conftest.$ac_objext; then
19159 ac_cv_member_struct_mtget_mt_blkno=yes
19160 else
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.$ac_ext >&5
19164 ac_cv_member_struct_mtget_mt_blkno=no
19167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19172 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19173 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19174 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19176 cat >>confdefs.h <<_ACEOF
19177 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19178 _ACEOF
19184 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19185 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19186 if test "${ac_cv_member_struct_option_name+set}" = set; then
19187 echo $ECHO_N "(cached) $ECHO_C" >&6
19188 else
19189 cat >conftest.$ac_ext <<_ACEOF
19190 /* confdefs.h. */
19191 _ACEOF
19192 cat confdefs.h >>conftest.$ac_ext
19193 cat >>conftest.$ac_ext <<_ACEOF
19194 /* end confdefs.h. */
19195 #ifdef HAVE_GETOPT_H
19196 #include <getopt.h>
19197 #endif
19200 main ()
19202 static struct option ac_aggr;
19203 if (ac_aggr.name)
19204 return 0;
19206 return 0;
19208 _ACEOF
19209 rm -f conftest.$ac_objext
19210 if { (ac_try="$ac_compile"
19211 case "(($ac_try" in
19212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19213 *) ac_try_echo=$ac_try;;
19214 esac
19215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19216 (eval "$ac_compile") 2>conftest.er1
19217 ac_status=$?
19218 grep -v '^ *+' conftest.er1 >conftest.err
19219 rm -f conftest.er1
19220 cat conftest.err >&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } && {
19223 test -z "$ac_c_werror_flag" ||
19224 test ! -s conftest.err
19225 } && test -s conftest.$ac_objext; then
19226 ac_cv_member_struct_option_name=yes
19227 else
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19231 cat >conftest.$ac_ext <<_ACEOF
19232 /* confdefs.h. */
19233 _ACEOF
19234 cat confdefs.h >>conftest.$ac_ext
19235 cat >>conftest.$ac_ext <<_ACEOF
19236 /* end confdefs.h. */
19237 #ifdef HAVE_GETOPT_H
19238 #include <getopt.h>
19239 #endif
19242 main ()
19244 static struct option ac_aggr;
19245 if (sizeof ac_aggr.name)
19246 return 0;
19248 return 0;
19250 _ACEOF
19251 rm -f conftest.$ac_objext
19252 if { (ac_try="$ac_compile"
19253 case "(($ac_try" in
19254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19255 *) ac_try_echo=$ac_try;;
19256 esac
19257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19258 (eval "$ac_compile") 2>conftest.er1
19259 ac_status=$?
19260 grep -v '^ *+' conftest.er1 >conftest.err
19261 rm -f conftest.er1
19262 cat conftest.err >&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && {
19265 test -z "$ac_c_werror_flag" ||
19266 test ! -s conftest.err
19267 } && test -s conftest.$ac_objext; then
19268 ac_cv_member_struct_option_name=yes
19269 else
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19273 ac_cv_member_struct_option_name=no
19276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19282 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19283 if test $ac_cv_member_struct_option_name = yes; then
19285 cat >>confdefs.h <<_ACEOF
19286 #define HAVE_STRUCT_OPTION_NAME 1
19287 _ACEOF
19293 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19294 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19295 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 else
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h. */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 $ac_includes_default
19306 main ()
19308 static struct stat ac_aggr;
19309 if (ac_aggr.st_blocks)
19310 return 0;
19312 return 0;
19314 _ACEOF
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19320 esac
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19323 ac_status=$?
19324 grep -v '^ *+' conftest.er1 >conftest.err
19325 rm -f conftest.er1
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 ac_cv_member_struct_stat_st_blocks=yes
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 cat >conftest.$ac_ext <<_ACEOF
19338 /* confdefs.h. */
19339 _ACEOF
19340 cat confdefs.h >>conftest.$ac_ext
19341 cat >>conftest.$ac_ext <<_ACEOF
19342 /* end confdefs.h. */
19343 $ac_includes_default
19345 main ()
19347 static struct stat ac_aggr;
19348 if (sizeof ac_aggr.st_blocks)
19349 return 0;
19351 return 0;
19353 _ACEOF
19354 rm -f conftest.$ac_objext
19355 if { (ac_try="$ac_compile"
19356 case "(($ac_try" in
19357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19358 *) ac_try_echo=$ac_try;;
19359 esac
19360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19361 (eval "$ac_compile") 2>conftest.er1
19362 ac_status=$?
19363 grep -v '^ *+' conftest.er1 >conftest.err
19364 rm -f conftest.er1
19365 cat conftest.err >&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); } && {
19368 test -z "$ac_c_werror_flag" ||
19369 test ! -s conftest.err
19370 } && test -s conftest.$ac_objext; then
19371 ac_cv_member_struct_stat_st_blocks=yes
19372 else
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19376 ac_cv_member_struct_stat_st_blocks=no
19379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19384 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19385 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19386 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19388 cat >>confdefs.h <<_ACEOF
19389 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19390 _ACEOF
19396 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19397 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19398 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19399 echo $ECHO_N "(cached) $ECHO_C" >&6
19400 else
19401 cat >conftest.$ac_ext <<_ACEOF
19402 /* confdefs.h. */
19403 _ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19407 #ifdef HAVE_SYS_TYPES_H
19408 #include <sys/types.h>
19409 #endif
19410 #ifdef HAVE_NETINET_IN_H
19411 #include <netinet/in.h>
19412 #endif
19415 main ()
19417 static struct sockaddr_in6 ac_aggr;
19418 if (ac_aggr.sin6_scope_id)
19419 return 0;
19421 return 0;
19423 _ACEOF
19424 rm -f conftest.$ac_objext
19425 if { (ac_try="$ac_compile"
19426 case "(($ac_try" in
19427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19428 *) ac_try_echo=$ac_try;;
19429 esac
19430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19431 (eval "$ac_compile") 2>conftest.er1
19432 ac_status=$?
19433 grep -v '^ *+' conftest.er1 >conftest.err
19434 rm -f conftest.er1
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } && {
19438 test -z "$ac_c_werror_flag" ||
19439 test ! -s conftest.err
19440 } && test -s conftest.$ac_objext; then
19441 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19442 else
19443 echo "$as_me: failed program was:" >&5
19444 sed 's/^/| /' conftest.$ac_ext >&5
19446 cat >conftest.$ac_ext <<_ACEOF
19447 /* confdefs.h. */
19448 _ACEOF
19449 cat confdefs.h >>conftest.$ac_ext
19450 cat >>conftest.$ac_ext <<_ACEOF
19451 /* end confdefs.h. */
19452 #ifdef HAVE_SYS_TYPES_H
19453 #include <sys/types.h>
19454 #endif
19455 #ifdef HAVE_NETINET_IN_H
19456 #include <netinet/in.h>
19457 #endif
19460 main ()
19462 static struct sockaddr_in6 ac_aggr;
19463 if (sizeof ac_aggr.sin6_scope_id)
19464 return 0;
19466 return 0;
19468 _ACEOF
19469 rm -f conftest.$ac_objext
19470 if { (ac_try="$ac_compile"
19471 case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19474 esac
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_compile") 2>conftest.er1
19477 ac_status=$?
19478 grep -v '^ *+' conftest.er1 >conftest.err
19479 rm -f conftest.er1
19480 cat conftest.err >&5
19481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19482 (exit $ac_status); } && {
19483 test -z "$ac_c_werror_flag" ||
19484 test ! -s conftest.err
19485 } && test -s conftest.$ac_objext; then
19486 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19487 else
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.$ac_ext >&5
19491 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19499 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19500 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19501 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19503 cat >>confdefs.h <<_ACEOF
19504 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19505 _ACEOF
19511 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19512 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19513 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 else
19516 cat >conftest.$ac_ext <<_ACEOF
19517 /* confdefs.h. */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #ifdef HAVE_SYS_TYPES_H
19523 #include <sys/types.h>
19524 #endif
19525 #ifdef HAVE_NETINET_IN_H
19526 # include <netinet/in.h>
19527 #endif
19528 #ifdef HAVE_ARPA_NAMESER_H
19529 # include <arpa/nameser.h>
19530 #endif
19533 main ()
19535 static ns_msg ac_aggr;
19536 if (ac_aggr._msg_ptr)
19537 return 0;
19539 return 0;
19541 _ACEOF
19542 rm -f conftest.$ac_objext
19543 if { (ac_try="$ac_compile"
19544 case "(($ac_try" in
19545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19546 *) ac_try_echo=$ac_try;;
19547 esac
19548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19549 (eval "$ac_compile") 2>conftest.er1
19550 ac_status=$?
19551 grep -v '^ *+' conftest.er1 >conftest.err
19552 rm -f conftest.er1
19553 cat conftest.err >&5
19554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19555 (exit $ac_status); } && {
19556 test -z "$ac_c_werror_flag" ||
19557 test ! -s conftest.err
19558 } && test -s conftest.$ac_objext; then
19559 ac_cv_member_ns_msg__msg_ptr=yes
19560 else
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19564 cat >conftest.$ac_ext <<_ACEOF
19565 /* confdefs.h. */
19566 _ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 #ifdef HAVE_SYS_TYPES_H
19571 #include <sys/types.h>
19572 #endif
19573 #ifdef HAVE_NETINET_IN_H
19574 # include <netinet/in.h>
19575 #endif
19576 #ifdef HAVE_ARPA_NAMESER_H
19577 # include <arpa/nameser.h>
19578 #endif
19581 main ()
19583 static ns_msg ac_aggr;
19584 if (sizeof ac_aggr._msg_ptr)
19585 return 0;
19587 return 0;
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_ns_msg__msg_ptr=yes
19608 else
19609 echo "$as_me: failed program was:" >&5
19610 sed 's/^/| /' conftest.$ac_ext >&5
19612 ac_cv_member_ns_msg__msg_ptr=no
19615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19621 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19622 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19624 cat >>confdefs.h <<_ACEOF
19625 #define HAVE_NS_MSG__MSG_PTR 1
19626 _ACEOF
19632 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19633 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19634 if test "${ac_cv_have_timezone+set}" = set; then
19635 echo $ECHO_N "(cached) $ECHO_C" >&6
19636 else
19637 cat >conftest.$ac_ext <<_ACEOF
19638 /* confdefs.h. */
19639 _ACEOF
19640 cat confdefs.h >>conftest.$ac_ext
19641 cat >>conftest.$ac_ext <<_ACEOF
19642 /* end confdefs.h. */
19643 #include <time.h>
19645 main ()
19647 timezone = 1
19649 return 0;
19651 _ACEOF
19652 rm -f conftest.$ac_objext conftest$ac_exeext
19653 if { (ac_try="$ac_link"
19654 case "(($ac_try" in
19655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19656 *) ac_try_echo=$ac_try;;
19657 esac
19658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19659 (eval "$ac_link") 2>conftest.er1
19660 ac_status=$?
19661 grep -v '^ *+' conftest.er1 >conftest.err
19662 rm -f conftest.er1
19663 cat conftest.err >&5
19664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19665 (exit $ac_status); } && {
19666 test -z "$ac_c_werror_flag" ||
19667 test ! -s conftest.err
19668 } && test -s conftest$ac_exeext &&
19669 $as_test_x conftest$ac_exeext; then
19670 ac_cv_have_timezone="yes"
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19675 ac_cv_have_timezone="no"
19678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19679 conftest$ac_exeext conftest.$ac_ext
19681 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19682 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19683 if test "$ac_cv_have_timezone" = "yes"
19684 then
19686 cat >>confdefs.h <<\_ACEOF
19687 #define HAVE_TIMEZONE 1
19688 _ACEOF
19691 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19692 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19693 if test "${ac_cv_have_daylight+set}" = set; then
19694 echo $ECHO_N "(cached) $ECHO_C" >&6
19695 else
19696 cat >conftest.$ac_ext <<_ACEOF
19697 /* confdefs.h. */
19698 _ACEOF
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <time.h>
19704 main ()
19706 daylight = 1
19708 return 0;
19710 _ACEOF
19711 rm -f conftest.$ac_objext conftest$ac_exeext
19712 if { (ac_try="$ac_link"
19713 case "(($ac_try" in
19714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19715 *) ac_try_echo=$ac_try;;
19716 esac
19717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19718 (eval "$ac_link") 2>conftest.er1
19719 ac_status=$?
19720 grep -v '^ *+' conftest.er1 >conftest.err
19721 rm -f conftest.er1
19722 cat conftest.err >&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); } && {
19725 test -z "$ac_c_werror_flag" ||
19726 test ! -s conftest.err
19727 } && test -s conftest$ac_exeext &&
19728 $as_test_x conftest$ac_exeext; then
19729 ac_cv_have_daylight="yes"
19730 else
19731 echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19734 ac_cv_have_daylight="no"
19737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19738 conftest$ac_exeext conftest.$ac_ext
19740 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19741 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19742 if test "$ac_cv_have_daylight" = "yes"
19743 then
19745 cat >>confdefs.h <<\_ACEOF
19746 #define HAVE_DAYLIGHT 1
19747 _ACEOF
19752 case $host_cpu in
19753 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19754 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19755 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 else
19758 cat >conftest.$ac_ext <<_ACEOF
19759 /* confdefs.h. */
19760 _ACEOF
19761 cat confdefs.h >>conftest.$ac_ext
19762 cat >>conftest.$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19764 #ifndef __i386__
19766 #endif
19767 _ACEOF
19768 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19769 $EGREP "yes" >/dev/null 2>&1; then
19770 ac_cv_cpp_def___i386__=yes
19771 else
19772 ac_cv_cpp_def___i386__=no
19774 rm -f conftest*
19777 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19778 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
19779 if test $ac_cv_cpp_def___i386__ = yes; then
19780 CFLAGS="$CFLAGS -D__i386__"
19781 LINTFLAGS="$LINTFLAGS -D__i386__"
19784 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19785 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
19786 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19787 echo $ECHO_N "(cached) $ECHO_C" >&6
19788 else
19789 cat >conftest.$ac_ext <<_ACEOF
19790 /* confdefs.h. */
19791 _ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 #ifndef __x86_64__
19797 #endif
19798 _ACEOF
19799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19800 $EGREP "yes" >/dev/null 2>&1; then
19801 ac_cv_cpp_def___x86_64__=yes
19802 else
19803 ac_cv_cpp_def___x86_64__=no
19805 rm -f conftest*
19808 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19809 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
19810 if test $ac_cv_cpp_def___x86_64__ = yes; then
19811 CFLAGS="$CFLAGS -D__x86_64__"
19812 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19815 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19816 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
19817 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19818 echo $ECHO_N "(cached) $ECHO_C" >&6
19819 else
19820 cat >conftest.$ac_ext <<_ACEOF
19821 /* confdefs.h. */
19822 _ACEOF
19823 cat confdefs.h >>conftest.$ac_ext
19824 cat >>conftest.$ac_ext <<_ACEOF
19825 /* end confdefs.h. */
19826 #ifndef __ALPHA__
19828 #endif
19829 _ACEOF
19830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19831 $EGREP "yes" >/dev/null 2>&1; then
19832 ac_cv_cpp_def___ALPHA__=yes
19833 else
19834 ac_cv_cpp_def___ALPHA__=no
19836 rm -f conftest*
19839 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19840 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
19841 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19842 CFLAGS="$CFLAGS -D__ALPHA__"
19843 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19846 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19847 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
19848 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19849 echo $ECHO_N "(cached) $ECHO_C" >&6
19850 else
19851 cat >conftest.$ac_ext <<_ACEOF
19852 /* confdefs.h. */
19853 _ACEOF
19854 cat confdefs.h >>conftest.$ac_ext
19855 cat >>conftest.$ac_ext <<_ACEOF
19856 /* end confdefs.h. */
19857 #ifndef __sparc__
19859 #endif
19860 _ACEOF
19861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19862 $EGREP "yes" >/dev/null 2>&1; then
19863 ac_cv_cpp_def___sparc__=yes
19864 else
19865 ac_cv_cpp_def___sparc__=no
19867 rm -f conftest*
19870 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19871 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
19872 if test $ac_cv_cpp_def___sparc__ = yes; then
19873 CFLAGS="$CFLAGS -D__sparc__"
19874 LINTFLAGS="$LINTFLAGS -D__sparc__"
19877 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19878 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
19879 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19880 echo $ECHO_N "(cached) $ECHO_C" >&6
19881 else
19882 cat >conftest.$ac_ext <<_ACEOF
19883 /* confdefs.h. */
19884 _ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19888 #ifndef __powerpc__
19890 #endif
19891 _ACEOF
19892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19893 $EGREP "yes" >/dev/null 2>&1; then
19894 ac_cv_cpp_def___powerpc__=yes
19895 else
19896 ac_cv_cpp_def___powerpc__=no
19898 rm -f conftest*
19901 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19902 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
19903 if test $ac_cv_cpp_def___powerpc__ = yes; then
19904 CFLAGS="$CFLAGS -D__powerpc__"
19905 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19908 esac
19910 case $host_vendor in
19911 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19912 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
19913 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19914 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 else
19916 cat >conftest.$ac_ext <<_ACEOF
19917 /* confdefs.h. */
19918 _ACEOF
19919 cat confdefs.h >>conftest.$ac_ext
19920 cat >>conftest.$ac_ext <<_ACEOF
19921 /* end confdefs.h. */
19922 #ifndef __sun__
19924 #endif
19925 _ACEOF
19926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19927 $EGREP "yes" >/dev/null 2>&1; then
19928 ac_cv_cpp_def___sun__=yes
19929 else
19930 ac_cv_cpp_def___sun__=no
19932 rm -f conftest*
19935 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19936 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
19937 if test $ac_cv_cpp_def___sun__ = yes; then
19938 CFLAGS="$CFLAGS -D__sun__"
19939 LINTFLAGS="$LINTFLAGS -D__sun__"
19942 esac
19945 DEPENDENCIES="### Dependencies:
19947 .INIT: Makefile
19948 .BEGIN: Makefile
19949 Makefile: dummy
19950 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
19952 \$(OBJS): \$(IDL_GEN_HEADERS)
19953 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
19954 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
19955 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
19961 ac_config_commands="$ac_config_commands include/stamp-h"
19964 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
19966 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
19968 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
19970 ac_config_commands="$ac_config_commands dlls/user32/resources"
19972 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
19974 ac_config_commands="$ac_config_commands include/wine"
19977 MAKE_RULES=Make.rules
19980 MAKE_DLL_RULES=dlls/Makedll.rules
19983 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
19986 MAKE_TEST_RULES=dlls/Maketest.rules
19989 MAKE_PROG_RULES=programs/Makeprog.rules
19992 ac_config_files="$ac_config_files Make.rules"
19994 ac_config_files="$ac_config_files dlls/Makedll.rules"
19996 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
19998 ac_config_files="$ac_config_files dlls/Maketest.rules"
20000 ac_config_files="$ac_config_files programs/Makeprog.rules"
20002 ac_config_files="$ac_config_files Makefile"
20004 ac_config_files="$ac_config_files dlls/Makefile"
20006 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20008 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20010 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20012 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20014 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20016 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20018 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20020 ac_config_files="$ac_config_files dlls/atl/Makefile"
20022 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20024 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20026 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20028 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20030 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20032 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20034 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20036 ac_config_files="$ac_config_files dlls/cards/Makefile"
20038 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20040 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20042 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20044 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20046 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20048 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20050 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20052 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20054 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20056 ac_config_files="$ac_config_files dlls/credui/Makefile"
20058 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20060 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20062 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20064 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20066 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20068 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20070 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20072 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20074 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20076 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20078 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20080 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20082 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20084 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20086 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20088 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20090 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20092 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20094 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20096 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20098 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20100 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20102 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20104 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20106 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20108 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20110 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20112 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20114 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20116 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20118 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20120 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20122 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20124 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20126 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20128 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20130 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20132 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20134 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20136 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20138 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20140 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20142 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20144 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20146 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20148 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20150 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20152 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20154 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20156 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20158 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20160 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20162 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20164 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20166 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20168 ac_config_files="$ac_config_files dlls/hal/Makefile"
20170 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20172 ac_config_files="$ac_config_files dlls/hid/Makefile"
20174 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20176 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20178 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20180 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20182 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20184 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20186 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20188 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20190 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20192 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20194 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20196 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20198 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20200 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20202 ac_config_files="$ac_config_files dlls/itss/Makefile"
20204 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20206 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20208 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20210 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20212 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20214 ac_config_files="$ac_config_files dlls/localui/Makefile"
20216 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20218 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20220 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20222 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20224 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20226 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20228 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20230 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20232 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20234 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20236 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20238 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20240 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20242 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20244 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20246 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20248 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20250 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20252 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20254 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20256 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20258 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20260 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20262 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20264 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20266 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20268 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20270 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20272 ac_config_files="$ac_config_files dlls/msi/Makefile"
20274 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20276 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20278 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20280 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20282 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20284 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20286 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20288 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20290 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20292 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20294 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20296 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20298 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20300 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20302 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20304 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20306 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20308 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20310 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20312 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20314 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20316 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20318 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20320 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20322 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20324 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20326 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20328 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20330 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20332 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20334 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20336 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20338 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20340 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20342 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20344 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20346 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20348 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20350 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20352 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20354 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20356 ac_config_files="$ac_config_files dlls/pdh/tests/Makefile"
20358 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20360 ac_config_files="$ac_config_files dlls/printui/Makefile"
20362 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20364 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20366 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20368 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20370 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20372 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20374 ac_config_files="$ac_config_files dlls/query/Makefile"
20376 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20378 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20380 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20382 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20384 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20386 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20388 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20390 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20392 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20394 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20396 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20398 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20400 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20402 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20404 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20406 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20408 ac_config_files="$ac_config_files dlls/security/Makefile"
20410 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20412 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20414 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20416 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20418 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20420 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20422 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20424 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20426 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20428 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20430 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20432 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20434 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20436 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20438 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20440 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20442 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20444 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20446 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20448 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20450 ac_config_files="$ac_config_files dlls/sti/Makefile"
20452 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20454 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20456 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20458 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20460 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20462 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20464 ac_config_files="$ac_config_files dlls/url/Makefile"
20466 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20468 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20470 ac_config_files="$ac_config_files dlls/user32/Makefile"
20472 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20474 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20476 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20478 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20480 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20482 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20484 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20486 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20488 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20490 ac_config_files="$ac_config_files dlls/version/Makefile"
20492 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20494 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20496 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20498 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20500 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20502 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20504 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20506 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20508 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20510 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20512 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20514 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20516 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20518 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20520 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20522 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20524 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20526 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20528 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20530 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20532 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20534 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20536 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20538 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20540 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20542 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20544 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20546 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20548 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20550 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20552 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20554 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20556 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20558 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20560 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20562 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20564 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20566 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20568 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20570 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20572 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20574 ac_config_files="$ac_config_files documentation/Makefile"
20576 ac_config_files="$ac_config_files fonts/Makefile"
20578 ac_config_files="$ac_config_files include/Makefile"
20580 ac_config_files="$ac_config_files libs/Makefile"
20582 ac_config_files="$ac_config_files libs/port/Makefile"
20584 ac_config_files="$ac_config_files libs/wine/Makefile"
20586 ac_config_files="$ac_config_files libs/wpp/Makefile"
20588 ac_config_files="$ac_config_files loader/Makefile"
20590 ac_config_files="$ac_config_files programs/Makefile"
20592 ac_config_files="$ac_config_files programs/clock/Makefile"
20594 ac_config_files="$ac_config_files programs/cmd/Makefile"
20596 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20598 ac_config_files="$ac_config_files programs/control/Makefile"
20600 ac_config_files="$ac_config_files programs/eject/Makefile"
20602 ac_config_files="$ac_config_files programs/expand/Makefile"
20604 ac_config_files="$ac_config_files programs/explorer/Makefile"
20606 ac_config_files="$ac_config_files programs/hh/Makefile"
20608 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20610 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20612 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20614 ac_config_files="$ac_config_files programs/net/Makefile"
20616 ac_config_files="$ac_config_files programs/notepad/Makefile"
20618 ac_config_files="$ac_config_files programs/oleview/Makefile"
20620 ac_config_files="$ac_config_files programs/progman/Makefile"
20622 ac_config_files="$ac_config_files programs/regedit/Makefile"
20624 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20626 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20628 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20630 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20632 ac_config_files="$ac_config_files programs/start/Makefile"
20634 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20636 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20638 ac_config_files="$ac_config_files programs/view/Makefile"
20640 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20642 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20644 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20646 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20648 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20650 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20652 ac_config_files="$ac_config_files programs/winefile/Makefile"
20654 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20656 ac_config_files="$ac_config_files programs/winemine/Makefile"
20658 ac_config_files="$ac_config_files programs/winepath/Makefile"
20660 ac_config_files="$ac_config_files programs/winetest/Makefile"
20662 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20664 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20666 ac_config_files="$ac_config_files programs/winver/Makefile"
20668 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20670 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20672 ac_config_files="$ac_config_files server/Makefile"
20674 ac_config_files="$ac_config_files tools/Makefile"
20676 ac_config_files="$ac_config_files tools/widl/Makefile"
20678 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20680 ac_config_files="$ac_config_files tools/winedump/Makefile"
20682 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20684 ac_config_files="$ac_config_files tools/wmc/Makefile"
20686 ac_config_files="$ac_config_files tools/wrc/Makefile"
20689 cat >confcache <<\_ACEOF
20690 # This file is a shell script that caches the results of configure
20691 # tests run on this system so they can be shared between configure
20692 # scripts and configure runs, see configure's option --config-cache.
20693 # It is not useful on other systems. If it contains results you don't
20694 # want to keep, you may remove or edit it.
20696 # config.status only pays attention to the cache file if you give it
20697 # the --recheck option to rerun configure.
20699 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20700 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20701 # following values.
20703 _ACEOF
20705 # The following way of writing the cache mishandles newlines in values,
20706 # but we know of no workaround that is simple, portable, and efficient.
20707 # So, we kill variables containing newlines.
20708 # Ultrix sh set writes to stderr and can't be redirected directly,
20709 # and sets the high bit in the cache file unless we assign to the vars.
20711 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20712 eval ac_val=\$$ac_var
20713 case $ac_val in #(
20714 *${as_nl}*)
20715 case $ac_var in #(
20716 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20717 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20718 esac
20719 case $ac_var in #(
20720 _ | IFS | as_nl) ;; #(
20721 *) $as_unset $ac_var ;;
20722 esac ;;
20723 esac
20724 done
20726 (set) 2>&1 |
20727 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20728 *${as_nl}ac_space=\ *)
20729 # `set' does not quote correctly, so add quotes (double-quote
20730 # substitution turns \\\\ into \\, and sed turns \\ into \).
20731 sed -n \
20732 "s/'/'\\\\''/g;
20733 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20734 ;; #(
20736 # `set' quotes correctly as required by POSIX, so do not add quotes.
20737 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20739 esac |
20740 sort
20742 sed '
20743 /^ac_cv_env_/b end
20744 t clear
20745 :clear
20746 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20747 t end
20748 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20749 :end' >>confcache
20750 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20751 if test -w "$cache_file"; then
20752 test "x$cache_file" != "x/dev/null" &&
20753 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20754 echo "$as_me: updating cache $cache_file" >&6;}
20755 cat confcache >$cache_file
20756 else
20757 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20758 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20761 rm -f confcache
20763 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20764 # Let make expand exec_prefix.
20765 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20767 DEFS=-DHAVE_CONFIG_H
20769 ac_libobjs=
20770 ac_ltlibobjs=
20771 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20772 # 1. Remove the extension, and $U if already installed.
20773 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20774 ac_i=`echo "$ac_i" | sed "$ac_script"`
20775 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20776 # will be set to the directory where LIBOBJS objects are built.
20777 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20778 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20779 done
20780 LIBOBJS=$ac_libobjs
20782 LTLIBOBJS=$ac_ltlibobjs
20786 : ${CONFIG_STATUS=./config.status}
20787 ac_clean_files_save=$ac_clean_files
20788 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20789 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20790 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20791 cat >$CONFIG_STATUS <<_ACEOF
20792 #! $SHELL
20793 # Generated by $as_me.
20794 # Run this file to recreate the current configuration.
20795 # Compiler output produced by configure, useful for debugging
20796 # configure, is in config.log if it exists.
20798 debug=false
20799 ac_cs_recheck=false
20800 ac_cs_silent=false
20801 SHELL=\${CONFIG_SHELL-$SHELL}
20802 _ACEOF
20804 cat >>$CONFIG_STATUS <<\_ACEOF
20805 ## --------------------- ##
20806 ## M4sh Initialization. ##
20807 ## --------------------- ##
20809 # Be more Bourne compatible
20810 DUALCASE=1; export DUALCASE # for MKS sh
20811 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20812 emulate sh
20813 NULLCMD=:
20814 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20815 # is contrary to our usage. Disable this feature.
20816 alias -g '${1+"$@"}'='"$@"'
20817 setopt NO_GLOB_SUBST
20818 else
20819 case `(set -o) 2>/dev/null` in
20820 *posix*) set -o posix ;;
20821 esac
20828 # PATH needs CR
20829 # Avoid depending upon Character Ranges.
20830 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20831 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20832 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20833 as_cr_digits='0123456789'
20834 as_cr_alnum=$as_cr_Letters$as_cr_digits
20836 # The user is always right.
20837 if test "${PATH_SEPARATOR+set}" != set; then
20838 echo "#! /bin/sh" >conf$$.sh
20839 echo "exit 0" >>conf$$.sh
20840 chmod +x conf$$.sh
20841 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20842 PATH_SEPARATOR=';'
20843 else
20844 PATH_SEPARATOR=:
20846 rm -f conf$$.sh
20849 # Support unset when possible.
20850 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20851 as_unset=unset
20852 else
20853 as_unset=false
20857 # IFS
20858 # We need space, tab and new line, in precisely that order. Quoting is
20859 # there to prevent editors from complaining about space-tab.
20860 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20861 # splitting by setting IFS to empty value.)
20862 as_nl='
20864 IFS=" "" $as_nl"
20866 # Find who we are. Look in the path if we contain no directory separator.
20867 case $0 in
20868 *[\\/]* ) as_myself=$0 ;;
20869 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20870 for as_dir in $PATH
20872 IFS=$as_save_IFS
20873 test -z "$as_dir" && as_dir=.
20874 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20875 done
20876 IFS=$as_save_IFS
20879 esac
20880 # We did not find ourselves, most probably we were run as `sh COMMAND'
20881 # in which case we are not to be found in the path.
20882 if test "x$as_myself" = x; then
20883 as_myself=$0
20885 if test ! -f "$as_myself"; then
20886 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20887 { (exit 1); exit 1; }
20890 # Work around bugs in pre-3.0 UWIN ksh.
20891 for as_var in ENV MAIL MAILPATH
20892 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20893 done
20894 PS1='$ '
20895 PS2='> '
20896 PS4='+ '
20898 # NLS nuisances.
20899 for as_var in \
20900 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20901 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20902 LC_TELEPHONE LC_TIME
20904 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20905 eval $as_var=C; export $as_var
20906 else
20907 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20909 done
20911 # Required to use basename.
20912 if expr a : '\(a\)' >/dev/null 2>&1 &&
20913 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20914 as_expr=expr
20915 else
20916 as_expr=false
20919 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20920 as_basename=basename
20921 else
20922 as_basename=false
20926 # Name of the executable.
20927 as_me=`$as_basename -- "$0" ||
20928 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20929 X"$0" : 'X\(//\)$' \| \
20930 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20931 echo X/"$0" |
20932 sed '/^.*\/\([^/][^/]*\)\/*$/{
20933 s//\1/
20936 /^X\/\(\/\/\)$/{
20937 s//\1/
20940 /^X\/\(\/\).*/{
20941 s//\1/
20944 s/.*/./; q'`
20946 # CDPATH.
20947 $as_unset CDPATH
20951 as_lineno_1=$LINENO
20952 as_lineno_2=$LINENO
20953 test "x$as_lineno_1" != "x$as_lineno_2" &&
20954 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20956 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20957 # uniformly replaced by the line number. The first 'sed' inserts a
20958 # line-number line after each line using $LINENO; the second 'sed'
20959 # does the real work. The second script uses 'N' to pair each
20960 # line-number line with the line containing $LINENO, and appends
20961 # trailing '-' during substitution so that $LINENO is not a special
20962 # case at line end.
20963 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20964 # scripts with optimization help from Paolo Bonzini. Blame Lee
20965 # E. McMahon (1931-1989) for sed's syntax. :-)
20966 sed -n '
20968 /[$]LINENO/=
20969 ' <$as_myself |
20970 sed '
20971 s/[$]LINENO.*/&-/
20972 t lineno
20974 :lineno
20976 :loop
20977 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20978 t loop
20979 s/-\n.*//
20980 ' >$as_me.lineno &&
20981 chmod +x "$as_me.lineno" ||
20982 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20983 { (exit 1); exit 1; }; }
20985 # Don't try to exec as it changes $[0], causing all sort of problems
20986 # (the dirname of $[0] is not the place where we might find the
20987 # original and so on. Autoconf is especially sensitive to this).
20988 . "./$as_me.lineno"
20989 # Exit status is that of the last command.
20990 exit
20994 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20995 as_dirname=dirname
20996 else
20997 as_dirname=false
21000 ECHO_C= ECHO_N= ECHO_T=
21001 case `echo -n x` in
21002 -n*)
21003 case `echo 'x\c'` in
21004 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21005 *) ECHO_C='\c';;
21006 esac;;
21008 ECHO_N='-n';;
21009 esac
21011 if expr a : '\(a\)' >/dev/null 2>&1 &&
21012 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21013 as_expr=expr
21014 else
21015 as_expr=false
21018 rm -f conf$$ conf$$.exe conf$$.file
21019 if test -d conf$$.dir; then
21020 rm -f conf$$.dir/conf$$.file
21021 else
21022 rm -f conf$$.dir
21023 mkdir conf$$.dir
21025 echo >conf$$.file
21026 if ln -s conf$$.file conf$$ 2>/dev/null; then
21027 as_ln_s='ln -s'
21028 # ... but there are two gotchas:
21029 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21030 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21031 # In both cases, we have to default to `cp -p'.
21032 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21033 as_ln_s='cp -p'
21034 elif ln conf$$.file conf$$ 2>/dev/null; then
21035 as_ln_s=ln
21036 else
21037 as_ln_s='cp -p'
21039 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21040 rmdir conf$$.dir 2>/dev/null
21042 if mkdir -p . 2>/dev/null; then
21043 as_mkdir_p=:
21044 else
21045 test -d ./-p && rmdir ./-p
21046 as_mkdir_p=false
21049 if test -x / >/dev/null 2>&1; then
21050 as_test_x='test -x'
21051 else
21052 if ls -dL / >/dev/null 2>&1; then
21053 as_ls_L_option=L
21054 else
21055 as_ls_L_option=
21057 as_test_x='
21058 eval sh -c '\''
21059 if test -d "$1"; then
21060 test -d "$1/.";
21061 else
21062 case $1 in
21063 -*)set "./$1";;
21064 esac;
21065 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21066 ???[sx]*):;;*)false;;esac;fi
21067 '\'' sh
21070 as_executable_p=$as_test_x
21072 # Sed expression to map a string onto a valid CPP name.
21073 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21075 # Sed expression to map a string onto a valid variable name.
21076 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21079 exec 6>&1
21081 # Save the log message, to keep $[0] and so on meaningful, and to
21082 # report actual input values of CONFIG_FILES etc. instead of their
21083 # values after options handling.
21084 ac_log="
21085 This file was extended by Wine $as_me 0.9.40, which was
21086 generated by GNU Autoconf 2.61. Invocation command line was
21088 CONFIG_FILES = $CONFIG_FILES
21089 CONFIG_HEADERS = $CONFIG_HEADERS
21090 CONFIG_LINKS = $CONFIG_LINKS
21091 CONFIG_COMMANDS = $CONFIG_COMMANDS
21092 $ $0 $@
21094 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21097 _ACEOF
21099 cat >>$CONFIG_STATUS <<_ACEOF
21100 # Files that config.status was made for.
21101 config_files="$ac_config_files"
21102 config_headers="$ac_config_headers"
21103 config_commands="$ac_config_commands"
21105 _ACEOF
21107 cat >>$CONFIG_STATUS <<\_ACEOF
21108 ac_cs_usage="\
21109 \`$as_me' instantiates files from templates according to the
21110 current configuration.
21112 Usage: $0 [OPTIONS] [FILE]...
21114 -h, --help print this help, then exit
21115 -V, --version print version number and configuration settings, then exit
21116 -q, --quiet do not print progress messages
21117 -d, --debug don't remove temporary files
21118 --recheck update $as_me by reconfiguring in the same conditions
21119 --file=FILE[:TEMPLATE]
21120 instantiate the configuration file FILE
21121 --header=FILE[:TEMPLATE]
21122 instantiate the configuration header FILE
21124 Configuration files:
21125 $config_files
21127 Configuration headers:
21128 $config_headers
21130 Configuration commands:
21131 $config_commands
21133 Report bugs to <bug-autoconf@gnu.org>."
21135 _ACEOF
21136 cat >>$CONFIG_STATUS <<_ACEOF
21137 ac_cs_version="\\
21138 Wine config.status 0.9.40
21139 configured by $0, generated by GNU Autoconf 2.61,
21140 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21142 Copyright (C) 2006 Free Software Foundation, Inc.
21143 This config.status script is free software; the Free Software Foundation
21144 gives unlimited permission to copy, distribute and modify it."
21146 ac_pwd='$ac_pwd'
21147 srcdir='$srcdir'
21148 INSTALL='$INSTALL'
21149 _ACEOF
21151 cat >>$CONFIG_STATUS <<\_ACEOF
21152 # If no file are specified by the user, then we need to provide default
21153 # value. By we need to know if files were specified by the user.
21154 ac_need_defaults=:
21155 while test $# != 0
21157 case $1 in
21158 --*=*)
21159 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21160 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21161 ac_shift=:
21164 ac_option=$1
21165 ac_optarg=$2
21166 ac_shift=shift
21168 esac
21170 case $ac_option in
21171 # Handling of the options.
21172 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21173 ac_cs_recheck=: ;;
21174 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21175 echo "$ac_cs_version"; exit ;;
21176 --debug | --debu | --deb | --de | --d | -d )
21177 debug=: ;;
21178 --file | --fil | --fi | --f )
21179 $ac_shift
21180 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21181 ac_need_defaults=false;;
21182 --header | --heade | --head | --hea )
21183 $ac_shift
21184 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21185 ac_need_defaults=false;;
21186 --he | --h)
21187 # Conflict between --help and --header
21188 { echo "$as_me: error: ambiguous option: $1
21189 Try \`$0 --help' for more information." >&2
21190 { (exit 1); exit 1; }; };;
21191 --help | --hel | -h )
21192 echo "$ac_cs_usage"; exit ;;
21193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21194 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21195 ac_cs_silent=: ;;
21197 # This is an error.
21198 -*) { echo "$as_me: error: unrecognized option: $1
21199 Try \`$0 --help' for more information." >&2
21200 { (exit 1); exit 1; }; } ;;
21202 *) ac_config_targets="$ac_config_targets $1"
21203 ac_need_defaults=false ;;
21205 esac
21206 shift
21207 done
21209 ac_configure_extra_args=
21211 if $ac_cs_silent; then
21212 exec 6>/dev/null
21213 ac_configure_extra_args="$ac_configure_extra_args --silent"
21216 _ACEOF
21217 cat >>$CONFIG_STATUS <<_ACEOF
21218 if \$ac_cs_recheck; then
21219 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21220 CONFIG_SHELL=$SHELL
21221 export CONFIG_SHELL
21222 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21225 _ACEOF
21226 cat >>$CONFIG_STATUS <<\_ACEOF
21227 exec 5>>config.log
21229 echo
21230 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21231 ## Running $as_me. ##
21232 _ASBOX
21233 echo "$ac_log"
21234 } >&5
21236 _ACEOF
21237 cat >>$CONFIG_STATUS <<_ACEOF
21238 _ACEOF
21240 cat >>$CONFIG_STATUS <<\_ACEOF
21242 # Handling of arguments.
21243 for ac_config_target in $ac_config_targets
21245 case $ac_config_target in
21246 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21247 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21248 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21249 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21250 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21251 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21252 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21253 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21254 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21255 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21256 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21257 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21258 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21259 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21260 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21261 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21262 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21263 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21264 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21265 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21266 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21267 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21268 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21269 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21270 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21271 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21272 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21273 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21274 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21275 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21276 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21277 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21278 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21279 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21280 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21281 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21282 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21283 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21284 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21285 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21286 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21287 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21288 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21289 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21290 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21291 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21292 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21293 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21294 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21295 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21296 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21297 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21298 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21299 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21300 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21301 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21302 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21303 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21304 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21305 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21306 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21307 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21308 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21309 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21310 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21311 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21312 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21313 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21314 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21315 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21316 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21317 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21318 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21319 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21320 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21321 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21322 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21323 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21324 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21325 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21326 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21327 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21328 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21329 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21330 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21331 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21332 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21333 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21334 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21335 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21336 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21337 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21338 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21339 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21340 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21341 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21342 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21343 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21344 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21345 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21346 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21347 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21348 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21349 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21350 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21351 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21352 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21353 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21354 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21355 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21356 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21357 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21358 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21359 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21360 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21361 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21362 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21363 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21364 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21365 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21366 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21367 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21368 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21369 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21370 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21371 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21372 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21373 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21374 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21375 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21376 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21377 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21378 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21379 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21380 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21381 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21382 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21383 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21384 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21385 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21386 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21387 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21388 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21389 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21390 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21391 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21392 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21393 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21394 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21395 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21396 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21397 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21398 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21399 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21400 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21401 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21402 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21403 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21404 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21405 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21406 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21407 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21408 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21409 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21410 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21411 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21412 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21413 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21414 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21415 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21416 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21417 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21418 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21419 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21420 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21421 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21422 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21423 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21424 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21425 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21426 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21427 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21428 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21429 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21430 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21431 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21432 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21433 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21434 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21435 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21436 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
21437 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21438 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21439 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21440 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21441 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21442 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21443 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21444 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21445 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21446 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21447 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21448 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21449 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21450 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21451 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21452 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21453 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21454 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21455 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21456 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21457 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21458 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21459 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21460 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21461 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21462 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21463 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21464 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21465 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21466 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21467 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21468 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21469 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21470 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21471 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21472 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21473 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21474 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21475 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21476 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21477 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21478 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21479 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21480 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21481 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21482 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21483 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21484 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21485 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21486 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21487 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21488 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21489 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21490 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21491 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21492 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21493 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21494 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21495 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21496 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21497 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21498 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21499 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21500 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21501 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21502 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21503 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21504 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21505 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21506 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21507 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21508 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21509 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21510 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21511 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21512 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21513 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21514 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21515 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21516 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21517 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21518 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21519 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21520 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21521 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21522 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21523 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21524 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21525 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21526 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21527 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21528 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21529 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21530 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21531 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21532 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21533 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21534 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21535 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21536 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21537 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21538 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21539 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21540 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21541 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21542 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21543 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21544 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21545 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21546 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21547 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21548 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21549 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21550 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21551 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21552 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21553 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21554 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21555 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21556 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21557 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21558 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21559 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21560 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21561 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21562 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21563 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21564 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21565 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21566 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21567 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21568 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21569 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21570 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21571 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21572 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21573 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21574 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21575 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21576 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21577 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21578 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21579 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21580 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21581 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21582 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21583 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21584 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21585 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21586 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21587 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21588 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21589 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21590 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21591 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21592 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21593 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21594 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21595 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21596 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21597 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21598 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21599 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21600 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21601 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21603 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21604 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21605 { (exit 1); exit 1; }; };;
21606 esac
21607 done
21610 # If the user did not use the arguments to specify the items to instantiate,
21611 # then the envvar interface is used. Set only those that are not.
21612 # We use the long form for the default assignment because of an extremely
21613 # bizarre bug on SunOS 4.1.3.
21614 if $ac_need_defaults; then
21615 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21616 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21617 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21620 # Have a temporary directory for convenience. Make it in the build tree
21621 # simply because there is no reason against having it here, and in addition,
21622 # creating and moving files from /tmp can sometimes cause problems.
21623 # Hook for its removal unless debugging.
21624 # Note that there is a small window in which the directory will not be cleaned:
21625 # after its creation but before its name has been assigned to `$tmp'.
21626 $debug ||
21628 tmp=
21629 trap 'exit_status=$?
21630 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21632 trap '{ (exit 1); exit 1; }' 1 2 13 15
21634 # Create a (secure) tmp directory for tmp files.
21637 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21638 test -n "$tmp" && test -d "$tmp"
21639 } ||
21641 tmp=./conf$$-$RANDOM
21642 (umask 077 && mkdir "$tmp")
21643 } ||
21645 echo "$me: cannot create a temporary directory in ." >&2
21646 { (exit 1); exit 1; }
21650 # Set up the sed scripts for CONFIG_FILES section.
21653 # No need to generate the scripts if there are no CONFIG_FILES.
21654 # This happens for instance when ./config.status config.h
21655 if test -n "$CONFIG_FILES"; then
21657 _ACEOF
21659 # Create sed commands to just substitute file output variables.
21661 # Remaining file output variables are in a fragment that also has non-file
21662 # output varibles.
21666 ac_delim='%!_!# '
21667 for ac_last_try in false false false false false :; do
21668 cat >conf$$subs.sed <<_ACEOF
21669 SHELL!$SHELL$ac_delim
21670 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21671 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21672 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21673 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21674 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21675 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21676 exec_prefix!$exec_prefix$ac_delim
21677 prefix!$prefix$ac_delim
21678 program_transform_name!$program_transform_name$ac_delim
21679 bindir!$bindir$ac_delim
21680 sbindir!$sbindir$ac_delim
21681 libexecdir!$libexecdir$ac_delim
21682 datarootdir!$datarootdir$ac_delim
21683 datadir!$datadir$ac_delim
21684 sysconfdir!$sysconfdir$ac_delim
21685 sharedstatedir!$sharedstatedir$ac_delim
21686 localstatedir!$localstatedir$ac_delim
21687 includedir!$includedir$ac_delim
21688 oldincludedir!$oldincludedir$ac_delim
21689 docdir!$docdir$ac_delim
21690 infodir!$infodir$ac_delim
21691 htmldir!$htmldir$ac_delim
21692 dvidir!$dvidir$ac_delim
21693 pdfdir!$pdfdir$ac_delim
21694 psdir!$psdir$ac_delim
21695 libdir!$libdir$ac_delim
21696 localedir!$localedir$ac_delim
21697 mandir!$mandir$ac_delim
21698 DEFS!$DEFS$ac_delim
21699 ECHO_C!$ECHO_C$ac_delim
21700 ECHO_N!$ECHO_N$ac_delim
21701 ECHO_T!$ECHO_T$ac_delim
21702 LIBS!$LIBS$ac_delim
21703 build_alias!$build_alias$ac_delim
21704 host_alias!$host_alias$ac_delim
21705 target_alias!$target_alias$ac_delim
21706 build!$build$ac_delim
21707 build_cpu!$build_cpu$ac_delim
21708 build_vendor!$build_vendor$ac_delim
21709 build_os!$build_os$ac_delim
21710 host!$host$ac_delim
21711 host_cpu!$host_cpu$ac_delim
21712 host_vendor!$host_vendor$ac_delim
21713 host_os!$host_os$ac_delim
21714 WIN16_FILES!$WIN16_FILES$ac_delim
21715 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21716 SET_MAKE!$SET_MAKE$ac_delim
21717 CC!$CC$ac_delim
21718 CFLAGS!$CFLAGS$ac_delim
21719 LDFLAGS!$LDFLAGS$ac_delim
21720 CPPFLAGS!$CPPFLAGS$ac_delim
21721 ac_ct_CC!$ac_ct_CC$ac_delim
21722 EXEEXT!$EXEEXT$ac_delim
21723 OBJEXT!$OBJEXT$ac_delim
21724 CXX!$CXX$ac_delim
21725 CXXFLAGS!$CXXFLAGS$ac_delim
21726 ac_ct_CXX!$ac_ct_CXX$ac_delim
21727 CPPBIN!$CPPBIN$ac_delim
21728 TOOLSDIR!$TOOLSDIR$ac_delim
21729 XMKMF!$XMKMF$ac_delim
21730 CPP!$CPP$ac_delim
21731 X_CFLAGS!$X_CFLAGS$ac_delim
21732 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21733 X_LIBS!$X_LIBS$ac_delim
21734 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21735 FLEX!$FLEX$ac_delim
21736 BISON!$BISON$ac_delim
21737 AS!$AS$ac_delim
21738 ac_ct_AS!$ac_ct_AS$ac_delim
21739 LD!$LD$ac_delim
21740 AR!$AR$ac_delim
21741 RANLIB!$RANLIB$ac_delim
21742 STRIP!$STRIP$ac_delim
21743 WINDRES!$WINDRES$ac_delim
21744 LN_S!$LN_S$ac_delim
21745 LN!$LN$ac_delim
21746 GREP!$GREP$ac_delim
21747 EGREP!$EGREP$ac_delim
21748 LDCONFIG!$LDCONFIG$ac_delim
21749 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21750 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21751 _ACEOF
21753 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21754 break
21755 elif $ac_last_try; then
21756 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21757 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21758 { (exit 1); exit 1; }; }
21759 else
21760 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21762 done
21764 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21765 if test -n "$ac_eof"; then
21766 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21767 ac_eof=`expr $ac_eof + 1`
21770 cat >>$CONFIG_STATUS <<_ACEOF
21771 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21772 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21773 /^[ ]*@MAKE_RULES@[ ]*$/{
21774 r $MAKE_RULES
21777 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21778 r $MAKE_DLL_RULES
21781 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21782 r $MAKE_IMPLIB_RULES
21785 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21786 r $MAKE_TEST_RULES
21789 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21790 r $MAKE_PROG_RULES
21793 _ACEOF
21794 sed '
21795 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21796 s/^/s,@/; s/!/@,|#_!!_#|/
21799 s/'"$ac_delim"'$/,g/; t
21800 s/$/\\/; p
21801 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21802 ' >>$CONFIG_STATUS <conf$$subs.sed
21803 rm -f conf$$subs.sed
21804 cat >>$CONFIG_STATUS <<_ACEOF
21805 CEOF$ac_eof
21806 _ACEOF
21809 ac_delim='%!_!# '
21810 for ac_last_try in false false false false false :; do
21811 cat >conf$$subs.sed <<_ACEOF
21812 INSTALL_DATA!$INSTALL_DATA$ac_delim
21813 LINT!$LINT$ac_delim
21814 LINTFLAGS!$LINTFLAGS$ac_delim
21815 FONTFORGE!$FONTFORGE$ac_delim
21816 PKG_CONFIG!$PKG_CONFIG$ac_delim
21817 PRELINK!$PRELINK$ac_delim
21818 LIBPTHREAD!$LIBPTHREAD$ac_delim
21819 XLIB!$XLIB$ac_delim
21820 XFILES!$XFILES$ac_delim
21821 OPENGLFILES!$OPENGLFILES$ac_delim
21822 GLU32FILES!$GLU32FILES$ac_delim
21823 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21824 QUARTZFILES!$QUARTZFILES$ac_delim
21825 DLLEXT!$DLLEXT$ac_delim
21826 DLLFLAGS!$DLLFLAGS$ac_delim
21827 LDSHARED!$LDSHARED$ac_delim
21828 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21829 LIBEXT!$LIBEXT$ac_delim
21830 IMPLIBEXT!$IMPLIBEXT$ac_delim
21831 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
21832 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
21833 LDD!$LDD$ac_delim
21834 DLLTOOL!$DLLTOOL$ac_delim
21835 DLLWRAP!$DLLWRAP$ac_delim
21836 MINGWAR!$MINGWAR$ac_delim
21837 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21838 IOKITLIB!$IOKITLIB$ac_delim
21839 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21840 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21841 COREAUDIO!$COREAUDIO$ac_delim
21842 CARBONLIB!$CARBONLIB$ac_delim
21843 CROSSTEST!$CROSSTEST$ac_delim
21844 CROSSCC!$CROSSCC$ac_delim
21845 CROSSWINDRES!$CROSSWINDRES$ac_delim
21846 NASLIBS!$NASLIBS$ac_delim
21847 XML2LIBS!$XML2LIBS$ac_delim
21848 XML2INCL!$XML2INCL$ac_delim
21849 XSLTLIBS!$XSLTLIBS$ac_delim
21850 XSLTINCL!$XSLTINCL$ac_delim
21851 HALINCL!$HALINCL$ac_delim
21852 sane_devel!$sane_devel$ac_delim
21853 SANEINCL!$SANEINCL$ac_delim
21854 gphoto2_devel!$gphoto2_devel$ac_delim
21855 gphoto2port_devel!$gphoto2port_devel$ac_delim
21856 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21857 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21858 ICULIBS!$ICULIBS$ac_delim
21859 RESOLVLIBS!$RESOLVLIBS$ac_delim
21860 LCMSLIBS!$LCMSLIBS$ac_delim
21861 LDAPLIBS!$LDAPLIBS$ac_delim
21862 ft_devel!$ft_devel$ac_delim
21863 FREETYPELIBS!$FREETYPELIBS$ac_delim
21864 FREETYPEINCL!$FREETYPEINCL$ac_delim
21865 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21866 ESDCONFIG!$ESDCONFIG$ac_delim
21867 ESDLIBS!$ESDLIBS$ac_delim
21868 ESDINCL!$ESDINCL$ac_delim
21869 ALSALIBS!$ALSALIBS$ac_delim
21870 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21871 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21872 BUILTINFLAG!$BUILTINFLAG$ac_delim
21873 LDPATH!$LDPATH$ac_delim
21874 CRTLIBS!$CRTLIBS$ac_delim
21875 SOCKETLIBS!$SOCKETLIBS$ac_delim
21876 MAIN_BINARY!$MAIN_BINARY$ac_delim
21877 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
21878 LIBDL!$LIBDL$ac_delim
21879 LIBPOLL!$LIBPOLL$ac_delim
21880 DEPENDENCIES!$DEPENDENCIES$ac_delim
21881 LIBOBJS!$LIBOBJS$ac_delim
21882 LTLIBOBJS!$LTLIBOBJS$ac_delim
21883 _ACEOF
21885 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
21886 break
21887 elif $ac_last_try; then
21888 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21889 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21890 { (exit 1); exit 1; }; }
21891 else
21892 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21894 done
21896 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21897 if test -n "$ac_eof"; then
21898 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21899 ac_eof=`expr $ac_eof + 1`
21902 cat >>$CONFIG_STATUS <<_ACEOF
21903 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21904 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21905 _ACEOF
21906 sed '
21907 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21908 s/^/s,@/; s/!/@,|#_!!_#|/
21911 s/'"$ac_delim"'$/,g/; t
21912 s/$/\\/; p
21913 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21914 ' >>$CONFIG_STATUS <conf$$subs.sed
21915 rm -f conf$$subs.sed
21916 cat >>$CONFIG_STATUS <<_ACEOF
21917 :end
21918 s/|#_!!_#|//g
21919 CEOF$ac_eof
21920 _ACEOF
21923 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21924 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21925 # trailing colons and then remove the whole line if VPATH becomes empty
21926 # (actually we leave an empty line to preserve line numbers).
21927 if test "x$srcdir" = x.; then
21928 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21929 s/:*\$(srcdir):*/:/
21930 s/:*\${srcdir}:*/:/
21931 s/:*@srcdir@:*/:/
21932 s/^\([^=]*=[ ]*\):*/\1/
21933 s/:*$//
21934 s/^[^=]*=[ ]*$//
21938 cat >>$CONFIG_STATUS <<\_ACEOF
21939 fi # test -n "$CONFIG_FILES"
21942 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
21944 case $ac_tag in
21945 :[FHLC]) ac_mode=$ac_tag; continue;;
21946 esac
21947 case $ac_mode$ac_tag in
21948 :[FHL]*:*);;
21949 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21950 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21951 { (exit 1); exit 1; }; };;
21952 :[FH]-) ac_tag=-:-;;
21953 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21954 esac
21955 ac_save_IFS=$IFS
21956 IFS=:
21957 set x $ac_tag
21958 IFS=$ac_save_IFS
21959 shift
21960 ac_file=$1
21961 shift
21963 case $ac_mode in
21964 :L) ac_source=$1;;
21965 :[FH])
21966 ac_file_inputs=
21967 for ac_f
21969 case $ac_f in
21970 -) ac_f="$tmp/stdin";;
21971 *) # Look for the file first in the build tree, then in the source tree
21972 # (if the path is not absolute). The absolute path cannot be DOS-style,
21973 # because $ac_f cannot contain `:'.
21974 test -f "$ac_f" ||
21975 case $ac_f in
21976 [\\/$]*) false;;
21977 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21978 esac ||
21979 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21980 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21981 { (exit 1); exit 1; }; };;
21982 esac
21983 ac_file_inputs="$ac_file_inputs $ac_f"
21984 done
21986 # Let's still pretend it is `configure' which instantiates (i.e., don't
21987 # use $as_me), people would be surprised to read:
21988 # /* config.h. Generated by config.status. */
21989 configure_input="Generated from "`IFS=:
21990 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21991 if test x"$ac_file" != x-; then
21992 configure_input="$ac_file. $configure_input"
21993 { echo "$as_me:$LINENO: creating $ac_file" >&5
21994 echo "$as_me: creating $ac_file" >&6;}
21997 case $ac_tag in
21998 *:-:* | *:-) cat >"$tmp/stdin";;
21999 esac
22001 esac
22003 ac_dir=`$as_dirname -- "$ac_file" ||
22004 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22005 X"$ac_file" : 'X\(//\)[^/]' \| \
22006 X"$ac_file" : 'X\(//\)$' \| \
22007 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22008 echo X"$ac_file" |
22009 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22010 s//\1/
22013 /^X\(\/\/\)[^/].*/{
22014 s//\1/
22017 /^X\(\/\/\)$/{
22018 s//\1/
22021 /^X\(\/\).*/{
22022 s//\1/
22025 s/.*/./; q'`
22026 { as_dir="$ac_dir"
22027 case $as_dir in #(
22028 -*) as_dir=./$as_dir;;
22029 esac
22030 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22031 as_dirs=
22032 while :; do
22033 case $as_dir in #(
22034 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22035 *) as_qdir=$as_dir;;
22036 esac
22037 as_dirs="'$as_qdir' $as_dirs"
22038 as_dir=`$as_dirname -- "$as_dir" ||
22039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22040 X"$as_dir" : 'X\(//\)[^/]' \| \
22041 X"$as_dir" : 'X\(//\)$' \| \
22042 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22043 echo X"$as_dir" |
22044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22045 s//\1/
22048 /^X\(\/\/\)[^/].*/{
22049 s//\1/
22052 /^X\(\/\/\)$/{
22053 s//\1/
22056 /^X\(\/\).*/{
22057 s//\1/
22060 s/.*/./; q'`
22061 test -d "$as_dir" && break
22062 done
22063 test -z "$as_dirs" || eval "mkdir $as_dirs"
22064 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22065 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22066 { (exit 1); exit 1; }; }; }
22067 ac_builddir=.
22069 case "$ac_dir" in
22070 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22072 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22073 # A ".." for each directory in $ac_dir_suffix.
22074 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22075 case $ac_top_builddir_sub in
22076 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22077 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22078 esac ;;
22079 esac
22080 ac_abs_top_builddir=$ac_pwd
22081 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22082 # for backward compatibility:
22083 ac_top_builddir=$ac_top_build_prefix
22085 case $srcdir in
22086 .) # We are building in place.
22087 ac_srcdir=.
22088 ac_top_srcdir=$ac_top_builddir_sub
22089 ac_abs_top_srcdir=$ac_pwd ;;
22090 [\\/]* | ?:[\\/]* ) # Absolute name.
22091 ac_srcdir=$srcdir$ac_dir_suffix;
22092 ac_top_srcdir=$srcdir
22093 ac_abs_top_srcdir=$srcdir ;;
22094 *) # Relative name.
22095 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22096 ac_top_srcdir=$ac_top_build_prefix$srcdir
22097 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22098 esac
22099 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22102 case $ac_mode in
22105 # CONFIG_FILE
22108 case $INSTALL in
22109 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22110 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22111 esac
22112 _ACEOF
22114 cat >>$CONFIG_STATUS <<\_ACEOF
22115 # If the template does not know about datarootdir, expand it.
22116 # FIXME: This hack should be removed a few years after 2.60.
22117 ac_datarootdir_hack=; ac_datarootdir_seen=
22119 case `sed -n '/datarootdir/ {
22123 /@datadir@/p
22124 /@docdir@/p
22125 /@infodir@/p
22126 /@localedir@/p
22127 /@mandir@/p
22128 ' $ac_file_inputs` in
22129 *datarootdir*) ac_datarootdir_seen=yes;;
22130 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22131 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22132 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22133 _ACEOF
22134 cat >>$CONFIG_STATUS <<_ACEOF
22135 ac_datarootdir_hack='
22136 s&@datadir@&$datadir&g
22137 s&@docdir@&$docdir&g
22138 s&@infodir@&$infodir&g
22139 s&@localedir@&$localedir&g
22140 s&@mandir@&$mandir&g
22141 s&\\\${datarootdir}&$datarootdir&g' ;;
22142 esac
22143 _ACEOF
22145 # Neutralize VPATH when `$srcdir' = `.'.
22146 # Shell code in configure.ac might set extrasub.
22147 # FIXME: do we really want to maintain this feature?
22148 cat >>$CONFIG_STATUS <<_ACEOF
22149 sed "$ac_vpsub
22150 $extrasub
22151 _ACEOF
22152 cat >>$CONFIG_STATUS <<\_ACEOF
22154 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22155 s&@configure_input@&$configure_input&;t t
22156 s&@top_builddir@&$ac_top_builddir_sub&;t t
22157 s&@srcdir@&$ac_srcdir&;t t
22158 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22159 s&@top_srcdir@&$ac_top_srcdir&;t t
22160 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22161 s&@builddir@&$ac_builddir&;t t
22162 s&@abs_builddir@&$ac_abs_builddir&;t t
22163 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22164 s&@INSTALL@&$ac_INSTALL&;t t
22165 $ac_datarootdir_hack
22166 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22168 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22169 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22170 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22171 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22172 which seems to be undefined. Please make sure it is defined." >&5
22173 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22174 which seems to be undefined. Please make sure it is defined." >&2;}
22176 rm -f "$tmp/stdin"
22177 case $ac_file in
22178 -) cat "$tmp/out"; rm -f "$tmp/out";;
22179 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22180 esac
22184 # CONFIG_HEADER
22186 _ACEOF
22188 # Transform confdefs.h into a sed script `conftest.defines', that
22189 # substitutes the proper values into config.h.in to produce config.h.
22190 rm -f conftest.defines conftest.tail
22191 # First, append a space to every undef/define line, to ease matching.
22192 echo 's/$/ /' >conftest.defines
22193 # Then, protect against being on the right side of a sed subst, or in
22194 # an unquoted here document, in config.status. If some macros were
22195 # called several times there might be several #defines for the same
22196 # symbol, which is useless. But do not sort them, since the last
22197 # AC_DEFINE must be honored.
22198 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22199 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22200 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22201 # PARAMS is the parameter list in the macro definition--in most cases, it's
22202 # just an empty string.
22203 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22204 ac_dB='\\)[ (].*,\\1define\\2'
22205 ac_dC=' '
22206 ac_dD=' ,'
22208 uniq confdefs.h |
22209 sed -n '
22210 t rset
22211 :rset
22212 s/^[ ]*#[ ]*define[ ][ ]*//
22213 t ok
22216 s/[\\&,]/\\&/g
22217 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22218 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22219 ' >>conftest.defines
22221 # Remove the space that was appended to ease matching.
22222 # Then replace #undef with comments. This is necessary, for
22223 # example, in the case of _POSIX_SOURCE, which is predefined and required
22224 # on some systems where configure will not decide to define it.
22225 # (The regexp can be short, since the line contains either #define or #undef.)
22226 echo 's/ $//
22227 s,^[ #]*u.*,/* & */,' >>conftest.defines
22229 # Break up conftest.defines:
22230 ac_max_sed_lines=50
22232 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22233 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22234 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22235 # et cetera.
22236 ac_in='$ac_file_inputs'
22237 ac_out='"$tmp/out1"'
22238 ac_nxt='"$tmp/out2"'
22240 while :
22242 # Write a here document:
22243 cat >>$CONFIG_STATUS <<_ACEOF
22244 # First, check the format of the line:
22245 cat >"\$tmp/defines.sed" <<\\CEOF
22246 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22247 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22249 :def
22250 _ACEOF
22251 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22252 echo 'CEOF
22253 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22254 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22255 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22256 grep . conftest.tail >/dev/null || break
22257 rm -f conftest.defines
22258 mv conftest.tail conftest.defines
22259 done
22260 rm -f conftest.defines conftest.tail
22262 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22263 cat >>$CONFIG_STATUS <<\_ACEOF
22264 if test x"$ac_file" != x-; then
22265 echo "/* $configure_input */" >"$tmp/config.h"
22266 cat "$ac_result" >>"$tmp/config.h"
22267 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22268 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22269 echo "$as_me: $ac_file is unchanged" >&6;}
22270 else
22271 rm -f $ac_file
22272 mv "$tmp/config.h" $ac_file
22274 else
22275 echo "/* $configure_input */"
22276 cat "$ac_result"
22278 rm -f "$tmp/out12"
22281 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22282 echo "$as_me: executing $ac_file commands" >&6;}
22284 esac
22287 case $ac_file$ac_mode in
22288 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22289 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22290 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22291 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22292 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22293 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22294 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22295 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22296 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22297 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22298 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22299 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22300 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22302 esac
22303 done # for ac_tag
22306 { (exit 0); exit 0; }
22307 _ACEOF
22308 chmod +x $CONFIG_STATUS
22309 ac_clean_files=$ac_clean_files_save
22312 # configure is writing to config.log, and then calls config.status.
22313 # config.status does its own redirection, appending to config.log.
22314 # Unfortunately, on DOS this fails, as config.log is still kept open
22315 # by configure, so config.status won't be able to write to it; its
22316 # output is simply discarded. So we exec the FD to /dev/null,
22317 # effectively closing config.log, so it can be properly (re)opened and
22318 # appended to by config.status. When coming back to configure, we
22319 # need to make the FD available again.
22320 if test "$no_create" != yes; then
22321 ac_cs_success=:
22322 ac_config_status_args=
22323 test "$silent" = yes &&
22324 ac_config_status_args="$ac_config_status_args --quiet"
22325 exec 5>/dev/null
22326 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22327 exec 5>>config.log
22328 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22329 # would make configure fail if this is the last instruction.
22330 $ac_cs_success || { (exit 1); exit 1; }
22335 if test "$no_create" = "yes"
22336 then
22337 exit 0
22340 if test "$verbose" = "yes"
22341 then
22342 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22343 then
22344 echo >&2
22345 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22346 echo "$as_me: libcapi20 development files not found." >&6;}
22347 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22348 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22351 if test "$ac_cv_header_cups_cups_h" != "yes"
22352 then
22353 echo >&2
22354 { echo "$as_me:$LINENO: libcups development files not found." >&5
22355 echo "$as_me: libcups development files not found." >&6;}
22356 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22357 echo "$as_me: Wine will be built without CUPS support." >&6;}
22361 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22362 then
22363 echo >&2
22364 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22365 echo "$as_me: libgphoto2 development files not found." >&6;}
22366 if test "$ac_cv_header_sane_sane_h" = "yes"
22367 then
22368 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22369 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22370 else
22371 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22372 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22376 if test "$ac_cv_header_hal_libhal_h" != "yes"
22377 then
22378 echo >&2
22379 { echo "$as_me:$LINENO: libhal development files not found." >&5
22380 echo "$as_me: libhal development files not found." >&6;}
22381 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22382 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22385 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22386 then
22387 echo >&2
22388 { echo "$as_me:$LINENO: libicu development files not found." >&5
22389 echo "$as_me: libicu development files not found." >&6;}
22390 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22391 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22394 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22395 then
22396 echo >&2
22397 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22398 echo "$as_me: liblcms development files not found." >&6;}
22399 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22400 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22403 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22404 then
22405 echo >&2
22406 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22407 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22408 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22409 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22412 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22413 then
22414 echo >&2
22415 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22416 echo "$as_me: lib(n)curses development files not found." >&6;}
22417 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22418 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22421 if test "$ac_cv_header_sane_sane_h" != "yes"
22422 then
22423 echo >&2
22424 { echo "$as_me:$LINENO: libsane development files not found." >&5
22425 echo "$as_me: libsane development files not found." >&6;}
22426 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22427 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22430 if test "$have_x" = "yes"
22431 then
22432 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22433 then
22434 echo >&2
22435 { echo "$as_me:$LINENO: libxext development files not found." >&5
22436 echo "$as_me: libxext development files not found." >&6;}
22437 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22438 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22441 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22442 then
22443 echo >&2
22444 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22445 echo "$as_me: libXrandr development files not found." >&6;}
22446 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22447 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22450 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22451 then
22452 echo >&2
22453 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22454 echo "$as_me: libXrender development files not found." >&6;}
22455 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22456 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22459 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22460 then
22461 echo >&2
22462 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22463 echo "$as_me: libXxf86vm development files not found." >&6;}
22464 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22465 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22469 if test "$ac_cv_header_libxml_parser_h" != "yes"
22470 then
22471 echo >&2
22472 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22473 echo "$as_me: libxml2 development files not found." >&6;}
22474 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22475 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22478 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22479 then
22480 echo >&2
22481 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22482 echo "$as_me: libxslt development files not found." >&6;}
22483 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22484 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22489 if test "$have_x" = "no"
22490 then
22491 echo >&2
22492 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22493 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22494 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22495 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22496 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22497 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22498 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22499 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22502 if test -z "$OPENGLFILES"
22503 then
22504 echo >&2
22505 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22506 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22507 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22508 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22509 if test "$wine_cv_opengl_headers_found" = "no"
22510 then
22511 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22512 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22514 if test "$wine_cv_opengl_header_version_OK" = "no"
22515 then
22516 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22517 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22518 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22519 then
22520 if test -f /usr/X11R6/lib/libGL.a
22521 then
22522 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22523 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22524 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22525 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22526 else
22527 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22528 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22533 if test "$wine_cv_msg_freetype" = "yes"
22534 then
22535 echo >&2
22536 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22537 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22538 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22539 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22540 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22541 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22542 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22543 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22546 if test -z "$FONTSSUBDIRS"
22547 then
22548 echo >&2
22549 if test "$FONTFORGE" = "false"
22550 then
22551 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22552 echo "$as_me: WARNING: FontForge is missing." >&2;}
22553 else
22554 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22555 echo "$as_me: WARNING: FreeType is missing." >&2;}
22557 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22558 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22561 if test -z "$ALSALIBS" -a \
22562 -z "$AUDIOIOLIBS" -a \
22563 -z "$NASLIBS" -a \
22564 -z "$ESD_LIBS" -a \
22565 -z "$ac_cv_lib_soname_jack" -a \
22566 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22567 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22568 "$ac_cv_header_soundcard_h" != "yes"
22569 then
22570 echo >&2
22571 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22572 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22573 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22574 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22575 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22576 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22579 echo
22580 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22581 echo