msi: Read the components state directly from the registry.
[wine/multimedia.git] / configure
blobcc67602a669646fa7d6108584cd45fb1f66a72d9
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 FREETYPELIBS
751 FREETYPEINCL
752 ft_devel
753 ft_devel2
754 FONTSSUBDIRS
755 ESDCONFIG
756 ESDLIBS
757 ESDINCL
758 ALSALIBS
759 AUDIOIOLIBS
760 EXTRACFLAGS
761 BUILTINFLAG
762 LDPATH
763 CRTLIBS
764 SOCKETLIBS
765 MAIN_BINARY
766 EXTRA_BINARIES
767 LIBDL
768 LIBPOLL
769 DEPENDENCIES
770 LIBOBJS
771 LTLIBOBJS'
772 ac_subst_files='MAKE_RULES
773 MAKE_DLL_RULES
774 MAKE_IMPLIB_RULES
775 MAKE_TEST_RULES
776 MAKE_PROG_RULES'
777 ac_precious_vars='build_alias
778 host_alias
779 target_alias
781 CFLAGS
782 LDFLAGS
783 LIBS
784 CPPFLAGS
786 CXXFLAGS
788 XMKMF
789 CPP'
792 # Initialize some variables set by options.
793 ac_init_help=
794 ac_init_version=false
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
797 cache_file=/dev/null
798 exec_prefix=NONE
799 no_create=
800 no_recursion=
801 prefix=NONE
802 program_prefix=NONE
803 program_suffix=NONE
804 program_transform_name=s,x,x,
805 silent=
806 site=
807 srcdir=
808 verbose=
809 x_includes=NONE
810 x_libraries=NONE
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
830 htmldir='${docdir}'
831 dvidir='${docdir}'
832 pdfdir='${docdir}'
833 psdir='${docdir}'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
838 ac_prev=
839 ac_dashdash=
840 for ac_option
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
845 ac_prev=
846 continue
849 case $ac_option in
850 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
851 *) ac_optarg=yes ;;
852 esac
854 # Accept the important Cygnus configure options, so we can diagnose typos.
856 case $ac_dashdash$ac_option in
858 ac_dashdash=yes ;;
860 -bindir | --bindir | --bindi | --bind | --bin | --bi)
861 ac_prev=bindir ;;
862 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
863 bindir=$ac_optarg ;;
865 -build | --build | --buil | --bui | --bu)
866 ac_prev=build_alias ;;
867 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
868 build_alias=$ac_optarg ;;
870 -cache-file | --cache-file | --cache-fil | --cache-fi \
871 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
872 ac_prev=cache_file ;;
873 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
874 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
875 cache_file=$ac_optarg ;;
877 --config-cache | -C)
878 cache_file=config.cache ;;
880 -datadir | --datadir | --datadi | --datad)
881 ac_prev=datadir ;;
882 -datadir=* | --datadir=* | --datadi=* | --datad=*)
883 datadir=$ac_optarg ;;
885 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
886 | --dataroo | --dataro | --datar)
887 ac_prev=datarootdir ;;
888 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
889 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
890 datarootdir=$ac_optarg ;;
892 -disable-* | --disable-*)
893 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
894 # Reject names that are not valid shell variable names.
895 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
896 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
897 { (exit 1); exit 1; }; }
898 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
899 eval enable_$ac_feature=no ;;
901 -docdir | --docdir | --docdi | --doc | --do)
902 ac_prev=docdir ;;
903 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
904 docdir=$ac_optarg ;;
906 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
907 ac_prev=dvidir ;;
908 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
909 dvidir=$ac_optarg ;;
911 -enable-* | --enable-*)
912 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
913 # Reject names that are not valid shell variable names.
914 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
915 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
916 { (exit 1); exit 1; }; }
917 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
918 eval enable_$ac_feature=\$ac_optarg ;;
920 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
921 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
922 | --exec | --exe | --ex)
923 ac_prev=exec_prefix ;;
924 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
925 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
926 | --exec=* | --exe=* | --ex=*)
927 exec_prefix=$ac_optarg ;;
929 -gas | --gas | --ga | --g)
930 # Obsolete; use --with-gas.
931 with_gas=yes ;;
933 -help | --help | --hel | --he | -h)
934 ac_init_help=long ;;
935 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
936 ac_init_help=recursive ;;
937 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
938 ac_init_help=short ;;
940 -host | --host | --hos | --ho)
941 ac_prev=host_alias ;;
942 -host=* | --host=* | --hos=* | --ho=*)
943 host_alias=$ac_optarg ;;
945 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 ac_prev=htmldir ;;
947 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 | --ht=*)
949 htmldir=$ac_optarg ;;
951 -includedir | --includedir | --includedi | --included | --include \
952 | --includ | --inclu | --incl | --inc)
953 ac_prev=includedir ;;
954 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
955 | --includ=* | --inclu=* | --incl=* | --inc=*)
956 includedir=$ac_optarg ;;
958 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 ac_prev=infodir ;;
960 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
961 infodir=$ac_optarg ;;
963 -libdir | --libdir | --libdi | --libd)
964 ac_prev=libdir ;;
965 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 libdir=$ac_optarg ;;
968 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
969 | --libexe | --libex | --libe)
970 ac_prev=libexecdir ;;
971 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
972 | --libexe=* | --libex=* | --libe=*)
973 libexecdir=$ac_optarg ;;
975 -localedir | --localedir | --localedi | --localed | --locale)
976 ac_prev=localedir ;;
977 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
978 localedir=$ac_optarg ;;
980 -localstatedir | --localstatedir | --localstatedi | --localstated \
981 | --localstate | --localstat | --localsta | --localst | --locals)
982 ac_prev=localstatedir ;;
983 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
984 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
985 localstatedir=$ac_optarg ;;
987 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 ac_prev=mandir ;;
989 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
990 mandir=$ac_optarg ;;
992 -nfp | --nfp | --nf)
993 # Obsolete; use --without-fp.
994 with_fp=no ;;
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n)
998 no_create=yes ;;
1000 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1001 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 no_recursion=yes ;;
1004 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1005 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1006 | --oldin | --oldi | --old | --ol | --o)
1007 ac_prev=oldincludedir ;;
1008 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1009 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1010 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1011 oldincludedir=$ac_optarg ;;
1013 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 ac_prev=prefix ;;
1015 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1016 prefix=$ac_optarg ;;
1018 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1019 | --program-pre | --program-pr | --program-p)
1020 ac_prev=program_prefix ;;
1021 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1022 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1023 program_prefix=$ac_optarg ;;
1025 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1026 | --program-suf | --program-su | --program-s)
1027 ac_prev=program_suffix ;;
1028 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1029 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1030 program_suffix=$ac_optarg ;;
1032 -program-transform-name | --program-transform-name \
1033 | --program-transform-nam | --program-transform-na \
1034 | --program-transform-n | --program-transform- \
1035 | --program-transform | --program-transfor \
1036 | --program-transfo | --program-transf \
1037 | --program-trans | --program-tran \
1038 | --progr-tra | --program-tr | --program-t)
1039 ac_prev=program_transform_name ;;
1040 -program-transform-name=* | --program-transform-name=* \
1041 | --program-transform-nam=* | --program-transform-na=* \
1042 | --program-transform-n=* | --program-transform-=* \
1043 | --program-transform=* | --program-transfor=* \
1044 | --program-transfo=* | --program-transf=* \
1045 | --program-trans=* | --program-tran=* \
1046 | --progr-tra=* | --program-tr=* | --program-t=*)
1047 program_transform_name=$ac_optarg ;;
1049 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 ac_prev=pdfdir ;;
1051 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1052 pdfdir=$ac_optarg ;;
1054 -psdir | --psdir | --psdi | --psd | --ps)
1055 ac_prev=psdir ;;
1056 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 psdir=$ac_optarg ;;
1059 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1060 | -silent | --silent | --silen | --sile | --sil)
1061 silent=yes ;;
1063 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 ac_prev=sbindir ;;
1065 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 | --sbi=* | --sb=*)
1067 sbindir=$ac_optarg ;;
1069 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1070 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1071 | --sharedst | --shareds | --shared | --share | --shar \
1072 | --sha | --sh)
1073 ac_prev=sharedstatedir ;;
1074 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1075 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1076 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 | --sha=* | --sh=*)
1078 sharedstatedir=$ac_optarg ;;
1080 -site | --site | --sit)
1081 ac_prev=site ;;
1082 -site=* | --site=* | --sit=*)
1083 site=$ac_optarg ;;
1085 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 ac_prev=srcdir ;;
1087 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1088 srcdir=$ac_optarg ;;
1090 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1091 | --syscon | --sysco | --sysc | --sys | --sy)
1092 ac_prev=sysconfdir ;;
1093 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1094 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1095 sysconfdir=$ac_optarg ;;
1097 -target | --target | --targe | --targ | --tar | --ta | --t)
1098 ac_prev=target_alias ;;
1099 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1100 target_alias=$ac_optarg ;;
1102 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 verbose=yes ;;
1105 -version | --version | --versio | --versi | --vers | -V)
1106 ac_init_version=: ;;
1108 -with-* | --with-*)
1109 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1110 # Reject names that are not valid shell variable names.
1111 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1112 { echo "$as_me: error: invalid package name: $ac_package" >&2
1113 { (exit 1); exit 1; }; }
1114 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1115 eval with_$ac_package=\$ac_optarg ;;
1117 -without-* | --without-*)
1118 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1121 { echo "$as_me: error: invalid package name: $ac_package" >&2
1122 { (exit 1); exit 1; }; }
1123 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1124 eval with_$ac_package=no ;;
1126 --x)
1127 # Obsolete; use --with-x.
1128 with_x=yes ;;
1130 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1131 | --x-incl | --x-inc | --x-in | --x-i)
1132 ac_prev=x_includes ;;
1133 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1134 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1135 x_includes=$ac_optarg ;;
1137 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1138 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1139 ac_prev=x_libraries ;;
1140 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1141 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1142 x_libraries=$ac_optarg ;;
1144 -*) { echo "$as_me: error: unrecognized option: $ac_option
1145 Try \`$0 --help' for more information." >&2
1146 { (exit 1); exit 1; }; }
1149 *=*)
1150 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1151 # Reject names that are not valid shell variable names.
1152 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1153 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1154 { (exit 1); exit 1; }; }
1155 eval $ac_envvar=\$ac_optarg
1156 export $ac_envvar ;;
1159 # FIXME: should be removed in autoconf 3.0.
1160 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1161 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1162 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1163 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1166 esac
1167 done
1169 if test -n "$ac_prev"; then
1170 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1171 { echo "$as_me: error: missing argument to $ac_option" >&2
1172 { (exit 1); exit 1; }; }
1175 # Be sure to have absolute directory names.
1176 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1177 datadir sysconfdir sharedstatedir localstatedir includedir \
1178 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1179 libdir localedir mandir
1181 eval ac_val=\$$ac_var
1182 case $ac_val in
1183 [\\/$]* | ?:[\\/]* ) continue;;
1184 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1185 esac
1186 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1187 { (exit 1); exit 1; }; }
1188 done
1190 # There might be people who depend on the old broken behavior: `$host'
1191 # used to hold the argument of --host etc.
1192 # FIXME: To remove some day.
1193 build=$build_alias
1194 host=$host_alias
1195 target=$target_alias
1197 # FIXME: To remove some day.
1198 if test "x$host_alias" != x; then
1199 if test "x$build_alias" = x; then
1200 cross_compiling=maybe
1201 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1202 If a cross compiler is detected then cross compile mode will be used." >&2
1203 elif test "x$build_alias" != "x$host_alias"; then
1204 cross_compiling=yes
1208 ac_tool_prefix=
1209 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1211 test "$silent" = yes && exec 6>/dev/null
1214 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1215 ac_ls_di=`ls -di .` &&
1216 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1217 { echo "$as_me: error: Working directory cannot be determined" >&2
1218 { (exit 1); exit 1; }; }
1219 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1220 { echo "$as_me: error: pwd does not report name of working directory" >&2
1221 { (exit 1); exit 1; }; }
1224 # Find the source files, if location was not specified.
1225 if test -z "$srcdir"; then
1226 ac_srcdir_defaulted=yes
1227 # Try the directory containing this script, then the parent directory.
1228 ac_confdir=`$as_dirname -- "$0" ||
1229 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1230 X"$0" : 'X\(//\)[^/]' \| \
1231 X"$0" : 'X\(//\)$' \| \
1232 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1233 echo X"$0" |
1234 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1235 s//\1/
1238 /^X\(\/\/\)[^/].*/{
1239 s//\1/
1242 /^X\(\/\/\)$/{
1243 s//\1/
1246 /^X\(\/\).*/{
1247 s//\1/
1250 s/.*/./; q'`
1251 srcdir=$ac_confdir
1252 if test ! -r "$srcdir/$ac_unique_file"; then
1253 srcdir=..
1255 else
1256 ac_srcdir_defaulted=no
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1260 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1261 { (exit 1); exit 1; }; }
1263 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1264 ac_abs_confdir=`(
1265 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1266 { (exit 1); exit 1; }; }
1267 pwd)`
1268 # When building in place, set srcdir=.
1269 if test "$ac_abs_confdir" = "$ac_pwd"; then
1270 srcdir=.
1272 # Remove unnecessary trailing slashes from srcdir.
1273 # Double slashes in file names in object file debugging info
1274 # mess up M-x gdb in Emacs.
1275 case $srcdir in
1276 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1277 esac
1278 for ac_var in $ac_precious_vars; do
1279 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1280 eval ac_env_${ac_var}_value=\$${ac_var}
1281 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1283 done
1286 # Report the --help message.
1288 if test "$ac_init_help" = "long"; then
1289 # Omit some internal or obsolete options to make the list less imposing.
1290 # This message is too long to be a string in the A/UX 3.1 sh.
1291 cat <<_ACEOF
1292 \`configure' configures Wine 0.9.40 to adapt to many kinds of systems.
1294 Usage: $0 [OPTION]... [VAR=VALUE]...
1296 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1297 VAR=VALUE. See below for descriptions of some of the useful variables.
1299 Defaults for the options are specified in brackets.
1301 Configuration:
1302 -h, --help display this help and exit
1303 --help=short display options specific to this package
1304 --help=recursive display the short help of all the included packages
1305 -V, --version display version information and exit
1306 -q, --quiet, --silent do not print \`checking...' messages
1307 --cache-file=FILE cache test results in FILE [disabled]
1308 -C, --config-cache alias for \`--cache-file=config.cache'
1309 -n, --no-create do not create output files
1310 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1312 Installation directories:
1313 --prefix=PREFIX install architecture-independent files in PREFIX
1314 [$ac_default_prefix]
1315 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1316 [PREFIX]
1318 By default, \`make install' will install all the files in
1319 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1320 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1321 for instance \`--prefix=\$HOME'.
1323 For better control, use the options below.
1325 Fine tuning of the installation directories:
1326 --bindir=DIR user executables [EPREFIX/bin]
1327 --sbindir=DIR system admin executables [EPREFIX/sbin]
1328 --libexecdir=DIR program executables [EPREFIX/libexec]
1329 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1330 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1331 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1332 --libdir=DIR object code libraries [EPREFIX/lib]
1333 --includedir=DIR C header files [PREFIX/include]
1334 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1335 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1336 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1337 --infodir=DIR info documentation [DATAROOTDIR/info]
1338 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1339 --mandir=DIR man documentation [DATAROOTDIR/man]
1340 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1341 --htmldir=DIR html documentation [DOCDIR]
1342 --dvidir=DIR dvi documentation [DOCDIR]
1343 --pdfdir=DIR pdf documentation [DOCDIR]
1344 --psdir=DIR ps documentation [DOCDIR]
1345 _ACEOF
1347 cat <<\_ACEOF
1349 X features:
1350 --x-includes=DIR X include files are in DIR
1351 --x-libraries=DIR X library files are in DIR
1353 System types:
1354 --build=BUILD configure for building on BUILD [guessed]
1355 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1356 _ACEOF
1359 if test -n "$ac_init_help"; then
1360 case $ac_init_help in
1361 short | recursive ) echo "Configuration of Wine 0.9.40:";;
1362 esac
1363 cat <<\_ACEOF
1365 Optional Features:
1366 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1367 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1368 --disable-win16 do not include Win16 support
1369 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1370 binaries)
1372 Optional Packages:
1373 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1374 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1375 --without-opengl do not use OpenGL
1376 --with-wine-tools=<dir> use Wine tools from directory <dir>
1377 --with-x use the X Window System
1379 Some influential environment variables:
1380 CC C compiler command
1381 CFLAGS C compiler flags
1382 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1383 nonstandard directory <lib dir>
1384 LIBS libraries to pass to the linker, e.g. -l<library>
1385 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1386 you have headers in a nonstandard directory <include dir>
1387 CXX C++ compiler command
1388 CXXFLAGS C++ compiler flags
1389 XMKMF Path to xmkmf, Makefile generator for X Window System
1390 CPP C preprocessor
1392 Use these variables to override the choices made by `configure' or to help
1393 it to find libraries and programs with nonstandard names/locations.
1395 Report bugs to <wine-devel@winehq.org>.
1396 _ACEOF
1397 ac_status=$?
1400 if test "$ac_init_help" = "recursive"; then
1401 # If there are subdirs, report their specific --help.
1402 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1403 test -d "$ac_dir" || continue
1404 ac_builddir=.
1406 case "$ac_dir" in
1407 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1409 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1410 # A ".." for each directory in $ac_dir_suffix.
1411 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1412 case $ac_top_builddir_sub in
1413 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1414 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1415 esac ;;
1416 esac
1417 ac_abs_top_builddir=$ac_pwd
1418 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1419 # for backward compatibility:
1420 ac_top_builddir=$ac_top_build_prefix
1422 case $srcdir in
1423 .) # We are building in place.
1424 ac_srcdir=.
1425 ac_top_srcdir=$ac_top_builddir_sub
1426 ac_abs_top_srcdir=$ac_pwd ;;
1427 [\\/]* | ?:[\\/]* ) # Absolute name.
1428 ac_srcdir=$srcdir$ac_dir_suffix;
1429 ac_top_srcdir=$srcdir
1430 ac_abs_top_srcdir=$srcdir ;;
1431 *) # Relative name.
1432 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1433 ac_top_srcdir=$ac_top_build_prefix$srcdir
1434 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1435 esac
1436 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1438 cd "$ac_dir" || { ac_status=$?; continue; }
1439 # Check for guested configure.
1440 if test -f "$ac_srcdir/configure.gnu"; then
1441 echo &&
1442 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1443 elif test -f "$ac_srcdir/configure"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure" --help=recursive
1446 else
1447 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1448 fi || ac_status=$?
1449 cd "$ac_pwd" || { ac_status=$?; break; }
1450 done
1453 test -n "$ac_init_help" && exit $ac_status
1454 if $ac_init_version; then
1455 cat <<\_ACEOF
1456 Wine configure 0.9.40
1457 generated by GNU Autoconf 2.61
1459 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1460 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1461 This configure script is free software; the Free Software Foundation
1462 gives unlimited permission to copy, distribute and modify it.
1463 _ACEOF
1464 exit
1466 cat >config.log <<_ACEOF
1467 This file contains any messages produced by compilers while
1468 running configure, to aid debugging if configure makes a mistake.
1470 It was created by Wine $as_me 0.9.40, which was
1471 generated by GNU Autoconf 2.61. Invocation command line was
1473 $ $0 $@
1475 _ACEOF
1476 exec 5>>config.log
1478 cat <<_ASUNAME
1479 ## --------- ##
1480 ## Platform. ##
1481 ## --------- ##
1483 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1484 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1485 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1486 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1487 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1489 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1490 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1492 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1493 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1494 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1495 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1496 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1497 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1498 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1500 _ASUNAME
1502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1503 for as_dir in $PATH
1505 IFS=$as_save_IFS
1506 test -z "$as_dir" && as_dir=.
1507 echo "PATH: $as_dir"
1508 done
1509 IFS=$as_save_IFS
1511 } >&5
1513 cat >&5 <<_ACEOF
1516 ## ----------- ##
1517 ## Core tests. ##
1518 ## ----------- ##
1520 _ACEOF
1523 # Keep a trace of the command line.
1524 # Strip out --no-create and --no-recursion so they do not pile up.
1525 # Strip out --silent because we don't want to record it for future runs.
1526 # Also quote any args containing shell meta-characters.
1527 # Make two passes to allow for proper duplicate-argument suppression.
1528 ac_configure_args=
1529 ac_configure_args0=
1530 ac_configure_args1=
1531 ac_must_keep_next=false
1532 for ac_pass in 1 2
1534 for ac_arg
1536 case $ac_arg in
1537 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1538 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1539 | -silent | --silent | --silen | --sile | --sil)
1540 continue ;;
1541 *\'*)
1542 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1543 esac
1544 case $ac_pass in
1545 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1547 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1548 if test $ac_must_keep_next = true; then
1549 ac_must_keep_next=false # Got value, back to normal.
1550 else
1551 case $ac_arg in
1552 *=* | --config-cache | -C | -disable-* | --disable-* \
1553 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1554 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1555 | -with-* | --with-* | -without-* | --without-* | --x)
1556 case "$ac_configure_args0 " in
1557 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1558 esac
1560 -* ) ac_must_keep_next=true ;;
1561 esac
1563 ac_configure_args="$ac_configure_args '$ac_arg'"
1565 esac
1566 done
1567 done
1568 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1569 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1571 # When interrupted or exit'd, cleanup temporary files, and complete
1572 # config.log. We remove comments because anyway the quotes in there
1573 # would cause problems or look ugly.
1574 # WARNING: Use '\'' to represent an apostrophe within the trap.
1575 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1576 trap 'exit_status=$?
1577 # Save into config.log some information that might help in debugging.
1579 echo
1581 cat <<\_ASBOX
1582 ## ---------------- ##
1583 ## Cache variables. ##
1584 ## ---------------- ##
1585 _ASBOX
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
1594 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1595 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 *) $as_unset $ac_var ;;
1600 esac ;;
1601 esac
1602 done
1603 (set) 2>&1 |
1604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1605 *${as_nl}ac_space=\ *)
1606 sed -n \
1607 "s/'\''/'\''\\\\'\'''\''/g;
1608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1609 ;; #(
1611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1613 esac |
1614 sort
1616 echo
1618 cat <<\_ASBOX
1619 ## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##
1622 _ASBOX
1623 echo
1624 for ac_var in $ac_subst_vars
1626 eval ac_val=\$$ac_var
1627 case $ac_val in
1628 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1629 esac
1630 echo "$ac_var='\''$ac_val'\''"
1631 done | sort
1632 echo
1634 if test -n "$ac_subst_files"; then
1635 cat <<\_ASBOX
1636 ## ------------------- ##
1637 ## File substitutions. ##
1638 ## ------------------- ##
1639 _ASBOX
1640 echo
1641 for ac_var in $ac_subst_files
1643 eval ac_val=\$$ac_var
1644 case $ac_val in
1645 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1646 esac
1647 echo "$ac_var='\''$ac_val'\''"
1648 done | sort
1649 echo
1652 if test -s confdefs.h; then
1653 cat <<\_ASBOX
1654 ## ----------- ##
1655 ## confdefs.h. ##
1656 ## ----------- ##
1657 _ASBOX
1658 echo
1659 cat confdefs.h
1660 echo
1662 test "$ac_signal" != 0 &&
1663 echo "$as_me: caught signal $ac_signal"
1664 echo "$as_me: exit $exit_status"
1665 } >&5
1666 rm -f core *.core core.conftest.* &&
1667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1668 exit $exit_status
1670 for ac_signal in 1 2 13 15; do
1671 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1672 done
1673 ac_signal=0
1675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1676 rm -f -r conftest* confdefs.h
1678 # Predefined preprocessor variables.
1680 cat >>confdefs.h <<_ACEOF
1681 #define PACKAGE_NAME "$PACKAGE_NAME"
1682 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1687 _ACEOF
1690 cat >>confdefs.h <<_ACEOF
1691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1692 _ACEOF
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_STRING "$PACKAGE_STRING"
1697 _ACEOF
1700 cat >>confdefs.h <<_ACEOF
1701 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1702 _ACEOF
1705 # Let the site file select an alternate cache file if it wants to.
1706 # Prefer explicitly selected file to automatically selected ones.
1707 if test -n "$CONFIG_SITE"; then
1708 set x "$CONFIG_SITE"
1709 elif test "x$prefix" != xNONE; then
1710 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1711 else
1712 set x "$ac_default_prefix/share/config.site" \
1713 "$ac_default_prefix/etc/config.site"
1715 shift
1716 for ac_site_file
1718 if test -r "$ac_site_file"; then
1719 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1720 echo "$as_me: loading site script $ac_site_file" >&6;}
1721 sed 's/^/| /' "$ac_site_file" >&5
1722 . "$ac_site_file"
1724 done
1726 if test -r "$cache_file"; then
1727 # Some versions of bash will fail to source /dev/null (special
1728 # files actually), so we avoid doing that.
1729 if test -f "$cache_file"; then
1730 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1731 echo "$as_me: loading cache $cache_file" >&6;}
1732 case $cache_file in
1733 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1734 *) . "./$cache_file";;
1735 esac
1737 else
1738 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1739 echo "$as_me: creating cache $cache_file" >&6;}
1740 >$cache_file
1743 # Check that the precious variables saved in the cache have kept the same
1744 # value.
1745 ac_cache_corrupted=false
1746 for ac_var in $ac_precious_vars; do
1747 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1748 eval ac_new_set=\$ac_env_${ac_var}_set
1749 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1750 eval ac_new_val=\$ac_env_${ac_var}_value
1751 case $ac_old_set,$ac_new_set in
1752 set,)
1753 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1754 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1755 ac_cache_corrupted=: ;;
1756 ,set)
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1760 ,);;
1762 if test "x$ac_old_val" != "x$ac_new_val"; then
1763 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1764 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1765 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1766 echo "$as_me: former value: $ac_old_val" >&2;}
1767 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1768 echo "$as_me: current value: $ac_new_val" >&2;}
1769 ac_cache_corrupted=:
1770 fi;;
1771 esac
1772 # Pass precious variables to config.status.
1773 if test "$ac_new_set" = set; then
1774 case $ac_new_val in
1775 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1776 *) ac_arg=$ac_var=$ac_new_val ;;
1777 esac
1778 case " $ac_configure_args " in
1779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1780 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1781 esac
1783 done
1784 if $ac_cache_corrupted; then
1785 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1786 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1787 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1788 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1789 { (exit 1); exit 1; }; }
1816 ac_ext=c
1817 ac_cpp='$CPP $CPPFLAGS'
1818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1824 ac_config_headers="$ac_config_headers include/config.h"
1826 ac_aux_dir=
1827 for ac_dir in tools "$srcdir"/tools; do
1828 if test -f "$ac_dir/install-sh"; then
1829 ac_aux_dir=$ac_dir
1830 ac_install_sh="$ac_aux_dir/install-sh -c"
1831 break
1832 elif test -f "$ac_dir/install.sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install.sh -c"
1835 break
1836 elif test -f "$ac_dir/shtool"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/shtool install -c"
1839 break
1841 done
1842 if test -z "$ac_aux_dir"; then
1843 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1844 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1845 { (exit 1); exit 1; }; }
1848 # These three variables are undocumented and unsupported,
1849 # and are intended to be withdrawn in a future Autoconf release.
1850 # They can cause serious problems if a builder's source tree is in a directory
1851 # whose full name contains unusual characters.
1852 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1853 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1854 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1859 # Check whether --enable-win16 was given.
1860 if test "${enable_win16+set}" = set; then
1861 enableval=$enable_win16;
1864 # Check whether --enable-win64 was given.
1865 if test "${enable_win64+set}" = set; then
1866 enableval=$enable_win64;
1871 # Check whether --with-opengl was given.
1872 if test "${with_opengl+set}" = set; then
1873 withval=$with_opengl;
1877 # Check whether --with-wine-tools was given.
1878 if test "${with_wine_tools+set}" = set; then
1879 withval=$with_wine_tools;
1883 # Make sure we can run config.sub.
1884 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1885 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1886 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1887 { (exit 1); exit 1; }; }
1889 { echo "$as_me:$LINENO: checking build system type" >&5
1890 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1891 if test "${ac_cv_build+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1893 else
1894 ac_build_alias=$build_alias
1895 test "x$ac_build_alias" = x &&
1896 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1897 test "x$ac_build_alias" = x &&
1898 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1899 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1900 { (exit 1); exit 1; }; }
1901 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1902 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1903 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1904 { (exit 1); exit 1; }; }
1907 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1908 echo "${ECHO_T}$ac_cv_build" >&6; }
1909 case $ac_cv_build in
1910 *-*-*) ;;
1911 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1912 echo "$as_me: error: invalid value of canonical build" >&2;}
1913 { (exit 1); exit 1; }; };;
1914 esac
1915 build=$ac_cv_build
1916 ac_save_IFS=$IFS; IFS='-'
1917 set x $ac_cv_build
1918 shift
1919 build_cpu=$1
1920 build_vendor=$2
1921 shift; shift
1922 # Remember, the first character of IFS is used to create $*,
1923 # except with old shells:
1924 build_os=$*
1925 IFS=$ac_save_IFS
1926 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1929 { echo "$as_me:$LINENO: checking host system type" >&5
1930 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1931 if test "${ac_cv_host+set}" = set; then
1932 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 else
1934 if test "x$host_alias" = x; then
1935 ac_cv_host=$ac_cv_build
1936 else
1937 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1938 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1939 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1940 { (exit 1); exit 1; }; }
1944 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1945 echo "${ECHO_T}$ac_cv_host" >&6; }
1946 case $ac_cv_host in
1947 *-*-*) ;;
1948 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1949 echo "$as_me: error: invalid value of canonical host" >&2;}
1950 { (exit 1); exit 1; }; };;
1951 esac
1952 host=$ac_cv_host
1953 ac_save_IFS=$IFS; IFS='-'
1954 set x $ac_cv_host
1955 shift
1956 host_cpu=$1
1957 host_vendor=$2
1958 shift; shift
1959 # Remember, the first character of IFS is used to create $*,
1960 # except with old shells:
1961 host_os=$*
1962 IFS=$ac_save_IFS
1963 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1966 case $host in
1967 x86_64*linux*)
1968 if test "x$enable_win64" != "xyes"
1969 then
1970 test -n "$CC" || CC="gcc -m32"
1971 test -n "$LD" || LD="ld -m elf_i386"
1972 test -n "$AS" || AS="as --32"
1973 host_cpu="i386"
1976 esac
1978 case $host_cpu in
1979 *i[3456789]86*)
1980 if test "x$enable_win16" != "xno"
1981 then
1982 enable_win16="yes"
1985 esac
1987 WIN16_FILES="\$(WIN16_FILES)"
1989 WIN16_INSTALL="\$(WIN16_INSTALL)"
1991 if test "x$enable_win16" != "xyes"
1992 then
1993 WIN16_FILES=""
1994 WIN16_INSTALL=""
1997 case "$srcdir" in
1998 .) ;;
1999 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2000 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2001 You need to run 'make distclean' in the source tree first." >&5
2002 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&2;}
2004 { (exit 1); exit 1; }; }
2005 fi ;;
2006 esac
2009 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2011 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2012 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.make <<\_ACEOF
2016 SHELL = /bin/sh
2017 all:
2018 @echo '@@@%%%=$(MAKE)=@@@%%%'
2019 _ACEOF
2020 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2022 *@@@%%%=?*=@@@%%%*)
2023 eval ac_cv_prog_make_${ac_make}_set=yes;;
2025 eval ac_cv_prog_make_${ac_make}_set=no;;
2026 esac
2027 rm -f conftest.make
2029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2030 { echo "$as_me:$LINENO: result: yes" >&5
2031 echo "${ECHO_T}yes" >&6; }
2032 SET_MAKE=
2033 else
2034 { echo "$as_me:$LINENO: result: no" >&5
2035 echo "${ECHO_T}no" >&6; }
2036 SET_MAKE="MAKE=${MAKE-make}"
2039 ac_ext=c
2040 ac_cpp='$CPP $CPPFLAGS'
2041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2044 if test -n "$ac_tool_prefix"; then
2045 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2049 if test "${ac_cv_prog_CC+set}" = set; then
2050 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 else
2052 if test -n "$CC"; then
2053 ac_cv_prog_CC="$CC" # Let the user override the test.
2054 else
2055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 for as_dir in $PATH
2058 IFS=$as_save_IFS
2059 test -z "$as_dir" && as_dir=.
2060 for ac_exec_ext in '' $ac_executable_extensions; do
2061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2062 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2064 break 2
2066 done
2067 done
2068 IFS=$as_save_IFS
2072 CC=$ac_cv_prog_CC
2073 if test -n "$CC"; then
2074 { echo "$as_me:$LINENO: result: $CC" >&5
2075 echo "${ECHO_T}$CC" >&6; }
2076 else
2077 { echo "$as_me:$LINENO: result: no" >&5
2078 echo "${ECHO_T}no" >&6; }
2083 if test -z "$ac_cv_prog_CC"; then
2084 ac_ct_CC=$CC
2085 # Extract the first word of "gcc", so it can be a program name with args.
2086 set dummy gcc; ac_word=$2
2087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2089 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2090 echo $ECHO_N "(cached) $ECHO_C" >&6
2091 else
2092 if test -n "$ac_ct_CC"; then
2093 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2094 else
2095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2096 for as_dir in $PATH
2098 IFS=$as_save_IFS
2099 test -z "$as_dir" && as_dir=.
2100 for ac_exec_ext in '' $ac_executable_extensions; do
2101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2102 ac_cv_prog_ac_ct_CC="gcc"
2103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 break 2
2106 done
2107 done
2108 IFS=$as_save_IFS
2112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2113 if test -n "$ac_ct_CC"; then
2114 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2115 echo "${ECHO_T}$ac_ct_CC" >&6; }
2116 else
2117 { echo "$as_me:$LINENO: result: no" >&5
2118 echo "${ECHO_T}no" >&6; }
2121 if test "x$ac_ct_CC" = x; then
2122 CC=""
2123 else
2124 case $cross_compiling:$ac_tool_warned in
2125 yes:)
2126 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2127 whose name does not start with the host triplet. If you think this
2128 configuration is useful to you, please write to autoconf@gnu.org." >&5
2129 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2130 whose name does not start with the host triplet. If you think this
2131 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2132 ac_tool_warned=yes ;;
2133 esac
2134 CC=$ac_ct_CC
2136 else
2137 CC="$ac_cv_prog_CC"
2140 if test -z "$CC"; then
2141 if test -n "$ac_tool_prefix"; then
2142 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2143 set dummy ${ac_tool_prefix}cc; ac_word=$2
2144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2146 if test "${ac_cv_prog_CC+set}" = set; then
2147 echo $ECHO_N "(cached) $ECHO_C" >&6
2148 else
2149 if test -n "$CC"; then
2150 ac_cv_prog_CC="$CC" # Let the user override the test.
2151 else
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2153 for as_dir in $PATH
2155 IFS=$as_save_IFS
2156 test -z "$as_dir" && as_dir=.
2157 for ac_exec_ext in '' $ac_executable_extensions; do
2158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2159 ac_cv_prog_CC="${ac_tool_prefix}cc"
2160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2161 break 2
2163 done
2164 done
2165 IFS=$as_save_IFS
2169 CC=$ac_cv_prog_CC
2170 if test -n "$CC"; then
2171 { echo "$as_me:$LINENO: result: $CC" >&5
2172 echo "${ECHO_T}$CC" >&6; }
2173 else
2174 { echo "$as_me:$LINENO: result: no" >&5
2175 echo "${ECHO_T}no" >&6; }
2181 if test -z "$CC"; then
2182 # Extract the first word of "cc", so it can be a program name with args.
2183 set dummy cc; ac_word=$2
2184 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2186 if test "${ac_cv_prog_CC+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189 if test -n "$CC"; then
2190 ac_cv_prog_CC="$CC" # Let the user override the test.
2191 else
2192 ac_prog_rejected=no
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2194 for as_dir in $PATH
2196 IFS=$as_save_IFS
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2200 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2201 ac_prog_rejected=yes
2202 continue
2204 ac_cv_prog_CC="cc"
2205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2206 break 2
2208 done
2209 done
2210 IFS=$as_save_IFS
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 { echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6; }
2230 else
2231 { echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6; }
2237 if test -z "$CC"; then
2238 if test -n "$ac_tool_prefix"; then
2239 for ac_prog in cl.exe
2241 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2242 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2245 if test "${ac_cv_prog_CC+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 else
2248 if test -n "$CC"; then
2249 ac_cv_prog_CC="$CC" # Let the user override the test.
2250 else
2251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2252 for as_dir in $PATH
2254 IFS=$as_save_IFS
2255 test -z "$as_dir" && as_dir=.
2256 for ac_exec_ext in '' $ac_executable_extensions; do
2257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2258 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2260 break 2
2262 done
2263 done
2264 IFS=$as_save_IFS
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270 { echo "$as_me:$LINENO: result: $CC" >&5
2271 echo "${ECHO_T}$CC" >&6; }
2272 else
2273 { echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6; }
2278 test -n "$CC" && break
2279 done
2281 if test -z "$CC"; then
2282 ac_ct_CC=$CC
2283 for ac_prog in cl.exe
2285 # Extract the first word of "$ac_prog", so it can be a program name with args.
2286 set dummy $ac_prog; ac_word=$2
2287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2289 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2290 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 else
2292 if test -n "$ac_ct_CC"; then
2293 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2294 else
2295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2296 for as_dir in $PATH
2298 IFS=$as_save_IFS
2299 test -z "$as_dir" && as_dir=.
2300 for ac_exec_ext in '' $ac_executable_extensions; do
2301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2302 ac_cv_prog_ac_ct_CC="$ac_prog"
2303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 break 2
2306 done
2307 done
2308 IFS=$as_save_IFS
2312 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2313 if test -n "$ac_ct_CC"; then
2314 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2315 echo "${ECHO_T}$ac_ct_CC" >&6; }
2316 else
2317 { echo "$as_me:$LINENO: result: no" >&5
2318 echo "${ECHO_T}no" >&6; }
2322 test -n "$ac_ct_CC" && break
2323 done
2325 if test "x$ac_ct_CC" = x; then
2326 CC=""
2327 else
2328 case $cross_compiling:$ac_tool_warned in
2329 yes:)
2330 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2331 whose name does not start with the host triplet. If you think this
2332 configuration is useful to you, please write to autoconf@gnu.org." >&5
2333 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2334 whose name does not start with the host triplet. If you think this
2335 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2336 ac_tool_warned=yes ;;
2337 esac
2338 CC=$ac_ct_CC
2345 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2346 See \`config.log' for more details." >&5
2347 echo "$as_me: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&2;}
2349 { (exit 1); exit 1; }; }
2351 # Provide some information about the compiler.
2352 echo "$as_me:$LINENO: checking for C compiler version" >&5
2353 ac_compiler=`set X $ac_compile; echo $2`
2354 { (ac_try="$ac_compiler --version >&5"
2355 case "(($ac_try" in
2356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2357 *) ac_try_echo=$ac_try;;
2358 esac
2359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2360 (eval "$ac_compiler --version >&5") 2>&5
2361 ac_status=$?
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2364 { (ac_try="$ac_compiler -v >&5"
2365 case "(($ac_try" in
2366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2367 *) ac_try_echo=$ac_try;;
2368 esac
2369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2370 (eval "$ac_compiler -v >&5") 2>&5
2371 ac_status=$?
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (ac_try="$ac_compiler -V >&5"
2375 case "(($ac_try" in
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2378 esac
2379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2380 (eval "$ac_compiler -V >&5") 2>&5
2381 ac_status=$?
2382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2383 (exit $ac_status); }
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2409 # List of possible output files, starting from the most likely.
2410 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2411 # only as a last resort. b.out is created by i960 compilers.
2412 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2414 # The IRIX 6 linker writes into existing files which may not be
2415 # executable, retaining their permissions. Remove them first so a
2416 # subsequent execution test works.
2417 ac_rmfiles=
2418 for ac_file in $ac_files
2420 case $ac_file in
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423 esac
2424 done
2425 rm -f $ac_rmfiles
2427 if { (ac_try="$ac_link_default"
2428 case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431 esac
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_link_default") 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }; then
2437 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2438 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2439 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2440 # so that the user can short-circuit this test for compilers unknown to
2441 # Autoconf.
2442 for ac_file in $ac_files ''
2444 test -f "$ac_file" || continue
2445 case $ac_file in
2446 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2448 [ab].out )
2449 # We found the default executable, but exeext='' is most
2450 # certainly right.
2451 break;;
2452 *.* )
2453 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2454 then :; else
2455 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2457 # We set ac_cv_exeext here because the later test for it is not
2458 # safe: cross compilers may not add the suffix if given an `-o'
2459 # argument, so we may need to know it at that point already.
2460 # Even if this section looks crufty: it has the advantage of
2461 # actually working.
2462 break;;
2464 break;;
2465 esac
2466 done
2467 test "$ac_cv_exeext" = no && ac_cv_exeext=
2469 else
2470 ac_file=''
2473 { echo "$as_me:$LINENO: result: $ac_file" >&5
2474 echo "${ECHO_T}$ac_file" >&6; }
2475 if test -z "$ac_file"; then
2476 echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&2;}
2483 { (exit 77); exit 77; }; }
2486 ac_exeext=$ac_cv_exeext
2488 # Check that the compiler produces executables we can run. If not, either
2489 # the compiler is broken, or we cross compile.
2490 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2491 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2492 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2493 # If not cross compiling, check that we can run a simple program.
2494 if test "$cross_compiling" != yes; then
2495 if { ac_try='./$ac_file'
2496 { (case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2501 (eval "$ac_try") 2>&5
2502 ac_status=$?
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); }; }; then
2505 cross_compiling=no
2506 else
2507 if test "$cross_compiling" = maybe; then
2508 cross_compiling=yes
2509 else
2510 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2511 If you meant to cross compile, use \`--host'.
2512 See \`config.log' for more details." >&5
2513 echo "$as_me: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&2;}
2516 { (exit 1); exit 1; }; }
2520 { echo "$as_me:$LINENO: result: yes" >&5
2521 echo "${ECHO_T}yes" >&6; }
2523 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2524 ac_clean_files=$ac_clean_files_save
2525 # Check that the compiler produces executables we can run. If not, either
2526 # the compiler is broken, or we cross compile.
2527 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2528 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2529 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2530 echo "${ECHO_T}$cross_compiling" >&6; }
2532 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2533 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2534 if { (ac_try="$ac_link"
2535 case "(($ac_try" in
2536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2537 *) ac_try_echo=$ac_try;;
2538 esac
2539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2540 (eval "$ac_link") 2>&5
2541 ac_status=$?
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2545 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2546 # work properly (i.e., refer to `conftest.exe'), while it won't with
2547 # `rm'.
2548 for ac_file in conftest.exe conftest conftest.*; do
2549 test -f "$ac_file" || continue
2550 case $ac_file in
2551 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2552 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2553 break;;
2554 * ) break;;
2555 esac
2556 done
2557 else
2558 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2559 See \`config.log' for more details." >&5
2560 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&2;}
2562 { (exit 1); exit 1; }; }
2565 rm -f conftest$ac_cv_exeext
2566 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2567 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2569 rm -f conftest.$ac_ext
2570 EXEEXT=$ac_cv_exeext
2571 ac_exeext=$EXEEXT
2572 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2573 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2574 if test "${ac_cv_objext+set}" = set; then
2575 echo $ECHO_N "(cached) $ECHO_C" >&6
2576 else
2577 cat >conftest.$ac_ext <<_ACEOF
2578 /* confdefs.h. */
2579 _ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2585 main ()
2589 return 0;
2591 _ACEOF
2592 rm -f conftest.o conftest.obj
2593 if { (ac_try="$ac_compile"
2594 case "(($ac_try" in
2595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2596 *) ac_try_echo=$ac_try;;
2597 esac
2598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2599 (eval "$ac_compile") 2>&5
2600 ac_status=$?
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; then
2603 for ac_file in conftest.o conftest.obj conftest.*; do
2604 test -f "$ac_file" || continue;
2605 case $ac_file in
2606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2607 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2608 break;;
2609 esac
2610 done
2611 else
2612 echo "$as_me: failed program was:" >&5
2613 sed 's/^/| /' conftest.$ac_ext >&5
2615 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2616 See \`config.log' for more details." >&5
2617 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&2;}
2619 { (exit 1); exit 1; }; }
2622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2624 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2625 echo "${ECHO_T}$ac_cv_objext" >&6; }
2626 OBJEXT=$ac_cv_objext
2627 ac_objext=$OBJEXT
2628 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2629 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2630 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2632 else
2633 cat >conftest.$ac_ext <<_ACEOF
2634 /* confdefs.h. */
2635 _ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2641 main ()
2643 #ifndef __GNUC__
2644 choke me
2645 #endif
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (ac_try="$ac_compile"
2653 case "(($ac_try" in
2654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2655 *) ac_try_echo=$ac_try;;
2656 esac
2657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2658 (eval "$ac_compile") 2>conftest.er1
2659 ac_status=$?
2660 grep -v '^ *+' conftest.er1 >conftest.err
2661 rm -f conftest.er1
2662 cat conftest.err >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); } && {
2665 test -z "$ac_c_werror_flag" ||
2666 test ! -s conftest.err
2667 } && test -s conftest.$ac_objext; then
2668 ac_compiler_gnu=yes
2669 else
2670 echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 ac_compiler_gnu=no
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2680 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2681 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2682 GCC=`test $ac_compiler_gnu = yes && echo yes`
2683 ac_test_CFLAGS=${CFLAGS+set}
2684 ac_save_CFLAGS=$CFLAGS
2685 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2686 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2687 if test "${ac_cv_prog_cc_g+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 else
2690 ac_save_c_werror_flag=$ac_c_werror_flag
2691 ac_c_werror_flag=yes
2692 ac_cv_prog_cc_g=no
2693 CFLAGS="-g"
2694 cat >conftest.$ac_ext <<_ACEOF
2695 /* confdefs.h. */
2696 _ACEOF
2697 cat confdefs.h >>conftest.$ac_ext
2698 cat >>conftest.$ac_ext <<_ACEOF
2699 /* end confdefs.h. */
2702 main ()
2706 return 0;
2708 _ACEOF
2709 rm -f conftest.$ac_objext
2710 if { (ac_try="$ac_compile"
2711 case "(($ac_try" in
2712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2713 *) ac_try_echo=$ac_try;;
2714 esac
2715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2716 (eval "$ac_compile") 2>conftest.er1
2717 ac_status=$?
2718 grep -v '^ *+' conftest.er1 >conftest.err
2719 rm -f conftest.er1
2720 cat conftest.err >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); } && {
2723 test -z "$ac_c_werror_flag" ||
2724 test ! -s conftest.err
2725 } && test -s conftest.$ac_objext; then
2726 ac_cv_prog_cc_g=yes
2727 else
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2731 CFLAGS=""
2732 cat >conftest.$ac_ext <<_ACEOF
2733 /* confdefs.h. */
2734 _ACEOF
2735 cat confdefs.h >>conftest.$ac_ext
2736 cat >>conftest.$ac_ext <<_ACEOF
2737 /* end confdefs.h. */
2740 main ()
2744 return 0;
2746 _ACEOF
2747 rm -f conftest.$ac_objext
2748 if { (ac_try="$ac_compile"
2749 case "(($ac_try" in
2750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2751 *) ac_try_echo=$ac_try;;
2752 esac
2753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2754 (eval "$ac_compile") 2>conftest.er1
2755 ac_status=$?
2756 grep -v '^ *+' conftest.er1 >conftest.err
2757 rm -f conftest.er1
2758 cat conftest.err >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); } && {
2761 test -z "$ac_c_werror_flag" ||
2762 test ! -s conftest.err
2763 } && test -s conftest.$ac_objext; then
2765 else
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2769 ac_c_werror_flag=$ac_save_c_werror_flag
2770 CFLAGS="-g"
2771 cat >conftest.$ac_ext <<_ACEOF
2772 /* confdefs.h. */
2773 _ACEOF
2774 cat confdefs.h >>conftest.$ac_ext
2775 cat >>conftest.$ac_ext <<_ACEOF
2776 /* end confdefs.h. */
2779 main ()
2783 return 0;
2785 _ACEOF
2786 rm -f conftest.$ac_objext
2787 if { (ac_try="$ac_compile"
2788 case "(($ac_try" in
2789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2790 *) ac_try_echo=$ac_try;;
2791 esac
2792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2793 (eval "$ac_compile") 2>conftest.er1
2794 ac_status=$?
2795 grep -v '^ *+' conftest.er1 >conftest.err
2796 rm -f conftest.er1
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then
2803 ac_cv_prog_cc_g=yes
2804 else
2805 echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2818 ac_c_werror_flag=$ac_save_c_werror_flag
2820 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2821 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2822 if test "$ac_test_CFLAGS" = set; then
2823 CFLAGS=$ac_save_CFLAGS
2824 elif test $ac_cv_prog_cc_g = yes; then
2825 if test "$GCC" = yes; then
2826 CFLAGS="-g -O2"
2827 else
2828 CFLAGS="-g"
2830 else
2831 if test "$GCC" = yes; then
2832 CFLAGS="-O2"
2833 else
2834 CFLAGS=
2837 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2838 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2839 if test "${ac_cv_prog_cc_c89+set}" = set; then
2840 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 else
2842 ac_cv_prog_cc_c89=no
2843 ac_save_CC=$CC
2844 cat >conftest.$ac_ext <<_ACEOF
2845 /* confdefs.h. */
2846 _ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2850 #include <stdarg.h>
2851 #include <stdio.h>
2852 #include <sys/types.h>
2853 #include <sys/stat.h>
2854 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2855 struct buf { int x; };
2856 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2857 static char *e (p, i)
2858 char **p;
2859 int i;
2861 return p[i];
2863 static char *f (char * (*g) (char **, int), char **p, ...)
2865 char *s;
2866 va_list v;
2867 va_start (v,p);
2868 s = g (p, va_arg (v,int));
2869 va_end (v);
2870 return s;
2873 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2874 function prototypes and stuff, but not '\xHH' hex character constants.
2875 These don't provoke an error unfortunately, instead are silently treated
2876 as 'x'. The following induces an error, until -std is added to get
2877 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2878 array size at least. It's necessary to write '\x00'==0 to get something
2879 that's true only with -std. */
2880 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2882 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2883 inside strings and character constants. */
2884 #define FOO(x) 'x'
2885 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2887 int test (int i, double x);
2888 struct s1 {int (*f) (int a);};
2889 struct s2 {int (*f) (double a);};
2890 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2891 int argc;
2892 char **argv;
2894 main ()
2896 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2898 return 0;
2900 _ACEOF
2901 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2902 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2904 CC="$ac_save_CC $ac_arg"
2905 rm -f conftest.$ac_objext
2906 if { (ac_try="$ac_compile"
2907 case "(($ac_try" in
2908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909 *) ac_try_echo=$ac_try;;
2910 esac
2911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912 (eval "$ac_compile") 2>conftest.er1
2913 ac_status=$?
2914 grep -v '^ *+' conftest.er1 >conftest.err
2915 rm -f conftest.er1
2916 cat conftest.err >&5
2917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918 (exit $ac_status); } && {
2919 test -z "$ac_c_werror_flag" ||
2920 test ! -s conftest.err
2921 } && test -s conftest.$ac_objext; then
2922 ac_cv_prog_cc_c89=$ac_arg
2923 else
2924 echo "$as_me: failed program was:" >&5
2925 sed 's/^/| /' conftest.$ac_ext >&5
2930 rm -f core conftest.err conftest.$ac_objext
2931 test "x$ac_cv_prog_cc_c89" != "xno" && break
2932 done
2933 rm -f conftest.$ac_ext
2934 CC=$ac_save_CC
2937 # AC_CACHE_VAL
2938 case "x$ac_cv_prog_cc_c89" in
2940 { echo "$as_me:$LINENO: result: none needed" >&5
2941 echo "${ECHO_T}none needed" >&6; } ;;
2942 xno)
2943 { echo "$as_me:$LINENO: result: unsupported" >&5
2944 echo "${ECHO_T}unsupported" >&6; } ;;
2946 CC="$CC $ac_cv_prog_cc_c89"
2947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2948 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2949 esac
2952 ac_ext=c
2953 ac_cpp='$CPP $CPPFLAGS'
2954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2958 ac_ext=cpp
2959 ac_cpp='$CXXCPP $CPPFLAGS'
2960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2963 if test -z "$CXX"; then
2964 if test -n "$CCC"; then
2965 CXX=$CCC
2966 else
2967 if test -n "$ac_tool_prefix"; then
2968 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2970 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2971 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2972 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2974 if test "${ac_cv_prog_CXX+set}" = set; then
2975 echo $ECHO_N "(cached) $ECHO_C" >&6
2976 else
2977 if test -n "$CXX"; then
2978 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2979 else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2987 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 break 2
2991 done
2992 done
2993 IFS=$as_save_IFS
2997 CXX=$ac_cv_prog_CXX
2998 if test -n "$CXX"; then
2999 { echo "$as_me:$LINENO: result: $CXX" >&5
3000 echo "${ECHO_T}$CXX" >&6; }
3001 else
3002 { echo "$as_me:$LINENO: result: no" >&5
3003 echo "${ECHO_T}no" >&6; }
3007 test -n "$CXX" && break
3008 done
3010 if test -z "$CXX"; then
3011 ac_ct_CXX=$CXX
3012 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3014 # Extract the first word of "$ac_prog", so it can be a program name with args.
3015 set dummy $ac_prog; ac_word=$2
3016 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3018 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3019 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021 if test -n "$ac_ct_CXX"; then
3022 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3023 else
3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3025 for as_dir in $PATH
3027 IFS=$as_save_IFS
3028 test -z "$as_dir" && as_dir=.
3029 for ac_exec_ext in '' $ac_executable_extensions; do
3030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3031 ac_cv_prog_ac_ct_CXX="$ac_prog"
3032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3033 break 2
3035 done
3036 done
3037 IFS=$as_save_IFS
3041 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3042 if test -n "$ac_ct_CXX"; then
3043 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3044 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3045 else
3046 { echo "$as_me:$LINENO: result: no" >&5
3047 echo "${ECHO_T}no" >&6; }
3051 test -n "$ac_ct_CXX" && break
3052 done
3054 if test "x$ac_ct_CXX" = x; then
3055 CXX="g++"
3056 else
3057 case $cross_compiling:$ac_tool_warned in
3058 yes:)
3059 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3060 whose name does not start with the host triplet. If you think this
3061 configuration is useful to you, please write to autoconf@gnu.org." >&5
3062 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3063 whose name does not start with the host triplet. If you think this
3064 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3065 ac_tool_warned=yes ;;
3066 esac
3067 CXX=$ac_ct_CXX
3073 # Provide some information about the compiler.
3074 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3075 ac_compiler=`set X $ac_compile; echo $2`
3076 { (ac_try="$ac_compiler --version >&5"
3077 case "(($ac_try" in
3078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3079 *) ac_try_echo=$ac_try;;
3080 esac
3081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3082 (eval "$ac_compiler --version >&5") 2>&5
3083 ac_status=$?
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); }
3086 { (ac_try="$ac_compiler -v >&5"
3087 case "(($ac_try" in
3088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3089 *) ac_try_echo=$ac_try;;
3090 esac
3091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3092 (eval "$ac_compiler -v >&5") 2>&5
3093 ac_status=$?
3094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3095 (exit $ac_status); }
3096 { (ac_try="$ac_compiler -V >&5"
3097 case "(($ac_try" in
3098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3100 esac
3101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3102 (eval "$ac_compiler -V >&5") 2>&5
3103 ac_status=$?
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); }
3107 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3108 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3109 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3110 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 else
3112 cat >conftest.$ac_ext <<_ACEOF
3113 /* confdefs.h. */
3114 _ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3120 main ()
3122 #ifndef __GNUC__
3123 choke me
3124 #endif
3127 return 0;
3129 _ACEOF
3130 rm -f conftest.$ac_objext
3131 if { (ac_try="$ac_compile"
3132 case "(($ac_try" in
3133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3135 esac
3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3137 (eval "$ac_compile") 2>conftest.er1
3138 ac_status=$?
3139 grep -v '^ *+' conftest.er1 >conftest.err
3140 rm -f conftest.er1
3141 cat conftest.err >&5
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } && {
3144 test -z "$ac_cxx_werror_flag" ||
3145 test ! -s conftest.err
3146 } && test -s conftest.$ac_objext; then
3147 ac_compiler_gnu=yes
3148 else
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3152 ac_compiler_gnu=no
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3156 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3159 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3160 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3161 GXX=`test $ac_compiler_gnu = yes && echo yes`
3162 ac_test_CXXFLAGS=${CXXFLAGS+set}
3163 ac_save_CXXFLAGS=$CXXFLAGS
3164 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3165 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3166 if test "${ac_cv_prog_cxx_g+set}" = set; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3168 else
3169 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3170 ac_cxx_werror_flag=yes
3171 ac_cv_prog_cxx_g=no
3172 CXXFLAGS="-g"
3173 cat >conftest.$ac_ext <<_ACEOF
3174 /* confdefs.h. */
3175 _ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3181 main ()
3185 return 0;
3187 _ACEOF
3188 rm -f conftest.$ac_objext
3189 if { (ac_try="$ac_compile"
3190 case "(($ac_try" in
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3193 esac
3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3195 (eval "$ac_compile") 2>conftest.er1
3196 ac_status=$?
3197 grep -v '^ *+' conftest.er1 >conftest.err
3198 rm -f conftest.er1
3199 cat conftest.err >&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } && {
3202 test -z "$ac_cxx_werror_flag" ||
3203 test ! -s conftest.err
3204 } && test -s conftest.$ac_objext; then
3205 ac_cv_prog_cxx_g=yes
3206 else
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3210 CXXFLAGS=""
3211 cat >conftest.$ac_ext <<_ACEOF
3212 /* confdefs.h. */
3213 _ACEOF
3214 cat confdefs.h >>conftest.$ac_ext
3215 cat >>conftest.$ac_ext <<_ACEOF
3216 /* end confdefs.h. */
3219 main ()
3223 return 0;
3225 _ACEOF
3226 rm -f conftest.$ac_objext
3227 if { (ac_try="$ac_compile"
3228 case "(($ac_try" in
3229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3230 *) ac_try_echo=$ac_try;;
3231 esac
3232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3233 (eval "$ac_compile") 2>conftest.er1
3234 ac_status=$?
3235 grep -v '^ *+' conftest.er1 >conftest.err
3236 rm -f conftest.er1
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } && {
3240 test -z "$ac_cxx_werror_flag" ||
3241 test ! -s conftest.err
3242 } && test -s conftest.$ac_objext; then
3244 else
3245 echo "$as_me: failed program was:" >&5
3246 sed 's/^/| /' conftest.$ac_ext >&5
3248 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3249 CXXFLAGS="-g"
3250 cat >conftest.$ac_ext <<_ACEOF
3251 /* confdefs.h. */
3252 _ACEOF
3253 cat confdefs.h >>conftest.$ac_ext
3254 cat >>conftest.$ac_ext <<_ACEOF
3255 /* end confdefs.h. */
3258 main ()
3262 return 0;
3264 _ACEOF
3265 rm -f conftest.$ac_objext
3266 if { (ac_try="$ac_compile"
3267 case "(($ac_try" in
3268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3269 *) ac_try_echo=$ac_try;;
3270 esac
3271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3272 (eval "$ac_compile") 2>conftest.er1
3273 ac_status=$?
3274 grep -v '^ *+' conftest.er1 >conftest.err
3275 rm -f conftest.er1
3276 cat conftest.err >&5
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); } && {
3279 test -z "$ac_cxx_werror_flag" ||
3280 test ! -s conftest.err
3281 } && test -s conftest.$ac_objext; then
3282 ac_cv_prog_cxx_g=yes
3283 else
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3299 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3300 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3301 if test "$ac_test_CXXFLAGS" = set; then
3302 CXXFLAGS=$ac_save_CXXFLAGS
3303 elif test $ac_cv_prog_cxx_g = yes; then
3304 if test "$GXX" = yes; then
3305 CXXFLAGS="-g -O2"
3306 else
3307 CXXFLAGS="-g"
3309 else
3310 if test "$GXX" = yes; then
3311 CXXFLAGS="-O2"
3312 else
3313 CXXFLAGS=
3316 ac_ext=c
3317 ac_cpp='$CPP $CPPFLAGS'
3318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3322 if test -n "$ac_tool_prefix"; then
3323 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3324 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3327 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3328 echo $ECHO_N "(cached) $ECHO_C" >&6
3329 else
3330 if test -n "$CPPBIN"; then
3331 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3332 else
3333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3334 for as_dir in $PATH
3336 IFS=$as_save_IFS
3337 test -z "$as_dir" && as_dir=.
3338 for ac_exec_ext in '' $ac_executable_extensions; do
3339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3340 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3341 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3342 break 2
3344 done
3345 done
3346 IFS=$as_save_IFS
3350 CPPBIN=$ac_cv_prog_CPPBIN
3351 if test -n "$CPPBIN"; then
3352 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3353 echo "${ECHO_T}$CPPBIN" >&6; }
3354 else
3355 { echo "$as_me:$LINENO: result: no" >&5
3356 echo "${ECHO_T}no" >&6; }
3361 if test -z "$ac_cv_prog_CPPBIN"; then
3362 ac_ct_CPPBIN=$CPPBIN
3363 # Extract the first word of "cpp", so it can be a program name with args.
3364 set dummy cpp; ac_word=$2
3365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3367 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3368 echo $ECHO_N "(cached) $ECHO_C" >&6
3369 else
3370 if test -n "$ac_ct_CPPBIN"; then
3371 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_exec_ext in '' $ac_executable_extensions; do
3379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3380 ac_cv_prog_ac_ct_CPPBIN="cpp"
3381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3382 break 2
3384 done
3385 done
3386 IFS=$as_save_IFS
3390 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3391 if test -n "$ac_ct_CPPBIN"; then
3392 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3393 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3394 else
3395 { echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6; }
3399 if test "x$ac_ct_CPPBIN" = x; then
3400 CPPBIN="cpp"
3401 else
3402 case $cross_compiling:$ac_tool_warned in
3403 yes:)
3404 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3405 whose name does not start with the host triplet. If you think this
3406 configuration is useful to you, please write to autoconf@gnu.org." >&5
3407 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3408 whose name does not start with the host triplet. If you think this
3409 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3410 ac_tool_warned=yes ;;
3411 esac
3412 CPPBIN=$ac_ct_CPPBIN
3414 else
3415 CPPBIN="$ac_cv_prog_CPPBIN"
3419 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3420 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3421 if test "${wine_cv_toolsdir+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -z "$with_wine_tools"; then
3425 if test "$cross_compiling" = "yes"; then
3426 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3427 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3428 { (exit 1); exit 1; }; }
3429 else
3430 wine_cv_toolsdir="\$(TOPOBJDIR)"
3432 elif test -d "$with_wine_tools/tools/winebuild"; then
3433 case $with_wine_tools in
3434 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3435 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3436 esac
3437 else
3438 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3439 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3440 { (exit 1); exit 1; }; }
3443 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3444 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3445 TOOLSDIR=$wine_cv_toolsdir
3449 ac_ext=c
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3455 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3456 # On Suns, sometimes $CPP names a directory.
3457 if test -n "$CPP" && test -d "$CPP"; then
3458 CPP=
3460 if test -z "$CPP"; then
3461 if test "${ac_cv_prog_CPP+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 # Double quotes because CPP needs to be expanded
3465 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3467 ac_preproc_ok=false
3468 for ac_c_preproc_warn_flag in '' yes
3470 # Use a header file that comes with gcc, so configuring glibc
3471 # with a fresh cross-compiler works.
3472 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3473 # <limits.h> exists even on freestanding compilers.
3474 # On the NeXT, cc -E runs the code through the compiler's parser,
3475 # not just through cpp. "Syntax error" is here to catch this case.
3476 cat >conftest.$ac_ext <<_ACEOF
3477 /* confdefs.h. */
3478 _ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3482 #ifdef __STDC__
3483 # include <limits.h>
3484 #else
3485 # include <assert.h>
3486 #endif
3487 Syntax error
3488 _ACEOF
3489 if { (ac_try="$ac_cpp conftest.$ac_ext"
3490 case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493 esac
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3496 ac_status=$?
3497 grep -v '^ *+' conftest.er1 >conftest.err
3498 rm -f conftest.er1
3499 cat conftest.err >&5
3500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3501 (exit $ac_status); } >/dev/null && {
3502 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3503 test ! -s conftest.err
3504 }; then
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 # Broken: fails on valid input.
3511 continue
3514 rm -f conftest.err conftest.$ac_ext
3516 # OK, works on sane cases. Now check whether nonexistent headers
3517 # can be detected and how.
3518 cat >conftest.$ac_ext <<_ACEOF
3519 /* confdefs.h. */
3520 _ACEOF
3521 cat confdefs.h >>conftest.$ac_ext
3522 cat >>conftest.$ac_ext <<_ACEOF
3523 /* end confdefs.h. */
3524 #include <ac_nonexistent.h>
3525 _ACEOF
3526 if { (ac_try="$ac_cpp conftest.$ac_ext"
3527 case "(($ac_try" in
3528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3529 *) ac_try_echo=$ac_try;;
3530 esac
3531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3532 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3533 ac_status=$?
3534 grep -v '^ *+' conftest.er1 >conftest.err
3535 rm -f conftest.er1
3536 cat conftest.err >&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } >/dev/null && {
3539 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3540 test ! -s conftest.err
3541 }; then
3542 # Broken: success on invalid input.
3543 continue
3544 else
3545 echo "$as_me: failed program was:" >&5
3546 sed 's/^/| /' conftest.$ac_ext >&5
3548 # Passes both tests.
3549 ac_preproc_ok=:
3550 break
3553 rm -f conftest.err conftest.$ac_ext
3555 done
3556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3557 rm -f conftest.err conftest.$ac_ext
3558 if $ac_preproc_ok; then
3559 break
3562 done
3563 ac_cv_prog_CPP=$CPP
3566 CPP=$ac_cv_prog_CPP
3567 else
3568 ac_cv_prog_CPP=$CPP
3570 { echo "$as_me:$LINENO: result: $CPP" >&5
3571 echo "${ECHO_T}$CPP" >&6; }
3572 ac_preproc_ok=false
3573 for ac_c_preproc_warn_flag in '' yes
3575 # Use a header file that comes with gcc, so configuring glibc
3576 # with a fresh cross-compiler works.
3577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3578 # <limits.h> exists even on freestanding compilers.
3579 # On the NeXT, cc -E runs the code through the compiler's parser,
3580 # not just through cpp. "Syntax error" is here to catch this case.
3581 cat >conftest.$ac_ext <<_ACEOF
3582 /* confdefs.h. */
3583 _ACEOF
3584 cat confdefs.h >>conftest.$ac_ext
3585 cat >>conftest.$ac_ext <<_ACEOF
3586 /* end confdefs.h. */
3587 #ifdef __STDC__
3588 # include <limits.h>
3589 #else
3590 # include <assert.h>
3591 #endif
3592 Syntax error
3593 _ACEOF
3594 if { (ac_try="$ac_cpp conftest.$ac_ext"
3595 case "(($ac_try" in
3596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3597 *) ac_try_echo=$ac_try;;
3598 esac
3599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3600 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3601 ac_status=$?
3602 grep -v '^ *+' conftest.er1 >conftest.err
3603 rm -f conftest.er1
3604 cat conftest.err >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); } >/dev/null && {
3607 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3608 test ! -s conftest.err
3609 }; then
3611 else
3612 echo "$as_me: failed program was:" >&5
3613 sed 's/^/| /' conftest.$ac_ext >&5
3615 # Broken: fails on valid input.
3616 continue
3619 rm -f conftest.err conftest.$ac_ext
3621 # OK, works on sane cases. Now check whether nonexistent headers
3622 # can be detected and how.
3623 cat >conftest.$ac_ext <<_ACEOF
3624 /* confdefs.h. */
3625 _ACEOF
3626 cat confdefs.h >>conftest.$ac_ext
3627 cat >>conftest.$ac_ext <<_ACEOF
3628 /* end confdefs.h. */
3629 #include <ac_nonexistent.h>
3630 _ACEOF
3631 if { (ac_try="$ac_cpp conftest.$ac_ext"
3632 case "(($ac_try" in
3633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3634 *) ac_try_echo=$ac_try;;
3635 esac
3636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3637 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3638 ac_status=$?
3639 grep -v '^ *+' conftest.er1 >conftest.err
3640 rm -f conftest.er1
3641 cat conftest.err >&5
3642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3643 (exit $ac_status); } >/dev/null && {
3644 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3645 test ! -s conftest.err
3646 }; then
3647 # Broken: success on invalid input.
3648 continue
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 # Passes both tests.
3654 ac_preproc_ok=:
3655 break
3658 rm -f conftest.err conftest.$ac_ext
3660 done
3661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3662 rm -f conftest.err conftest.$ac_ext
3663 if $ac_preproc_ok; then
3665 else
3666 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3667 See \`config.log' for more details." >&5
3668 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&2;}
3670 { (exit 1); exit 1; }; }
3673 ac_ext=c
3674 ac_cpp='$CPP $CPPFLAGS'
3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3680 { echo "$as_me:$LINENO: checking for X" >&5
3681 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3684 # Check whether --with-x was given.
3685 if test "${with_x+set}" = set; then
3686 withval=$with_x;
3689 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3690 if test "x$with_x" = xno; then
3691 # The user explicitly disabled X.
3692 have_x=disabled
3693 else
3694 case $x_includes,$x_libraries in #(
3695 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3696 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3697 { (exit 1); exit 1; }; };; #(
3698 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3699 echo $ECHO_N "(cached) $ECHO_C" >&6
3700 else
3701 # One or both of the vars are not set, and there is no cached value.
3702 ac_x_includes=no ac_x_libraries=no
3703 rm -f -r conftest.dir
3704 if mkdir conftest.dir; then
3705 cd conftest.dir
3706 cat >Imakefile <<'_ACEOF'
3707 incroot:
3708 @echo incroot='${INCROOT}'
3709 usrlibdir:
3710 @echo usrlibdir='${USRLIBDIR}'
3711 libdir:
3712 @echo libdir='${LIBDIR}'
3713 _ACEOF
3714 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3715 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3716 for ac_var in incroot usrlibdir libdir; do
3717 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3718 done
3719 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3720 for ac_extension in a so sl; do
3721 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3722 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3723 ac_im_usrlibdir=$ac_im_libdir; break
3725 done
3726 # Screen out bogus values from the imake configuration. They are
3727 # bogus both because they are the default anyway, and because
3728 # using them would break gcc on systems where it needs fixed includes.
3729 case $ac_im_incroot in
3730 /usr/include) ac_x_includes= ;;
3731 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3732 esac
3733 case $ac_im_usrlibdir in
3734 /usr/lib | /lib) ;;
3735 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3736 esac
3738 cd ..
3739 rm -f -r conftest.dir
3742 # Standard set of common directories for X headers.
3743 # Check X11 before X11Rn because it is often a symlink to the current release.
3744 ac_x_header_dirs='
3745 /usr/X11/include
3746 /usr/X11R6/include
3747 /usr/X11R5/include
3748 /usr/X11R4/include
3750 /usr/include/X11
3751 /usr/include/X11R6
3752 /usr/include/X11R5
3753 /usr/include/X11R4
3755 /usr/local/X11/include
3756 /usr/local/X11R6/include
3757 /usr/local/X11R5/include
3758 /usr/local/X11R4/include
3760 /usr/local/include/X11
3761 /usr/local/include/X11R6
3762 /usr/local/include/X11R5
3763 /usr/local/include/X11R4
3765 /usr/X386/include
3766 /usr/x386/include
3767 /usr/XFree86/include/X11
3769 /usr/include
3770 /usr/local/include
3771 /usr/unsupported/include
3772 /usr/athena/include
3773 /usr/local/x11r5/include
3774 /usr/lpp/Xamples/include
3776 /usr/openwin/include
3777 /usr/openwin/share/include'
3779 if test "$ac_x_includes" = no; then
3780 # Guess where to find include files, by looking for Xlib.h.
3781 # First, try using that file with no special directory specified.
3782 cat >conftest.$ac_ext <<_ACEOF
3783 /* confdefs.h. */
3784 _ACEOF
3785 cat confdefs.h >>conftest.$ac_ext
3786 cat >>conftest.$ac_ext <<_ACEOF
3787 /* end confdefs.h. */
3788 #include <X11/Xlib.h>
3789 _ACEOF
3790 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 case "(($ac_try" in
3792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3793 *) ac_try_echo=$ac_try;;
3794 esac
3795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3796 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 ac_status=$?
3798 grep -v '^ *+' conftest.er1 >conftest.err
3799 rm -f conftest.er1
3800 cat conftest.err >&5
3801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3802 (exit $ac_status); } >/dev/null && {
3803 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3804 test ! -s conftest.err
3805 }; then
3806 # We can compile using X headers with no special include directory.
3807 ac_x_includes=
3808 else
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.$ac_ext >&5
3812 for ac_dir in $ac_x_header_dirs; do
3813 if test -r "$ac_dir/X11/Xlib.h"; then
3814 ac_x_includes=$ac_dir
3815 break
3817 done
3820 rm -f conftest.err conftest.$ac_ext
3821 fi # $ac_x_includes = no
3823 if test "$ac_x_libraries" = no; then
3824 # Check for the libraries.
3825 # See if we find them without any special options.
3826 # Don't add to $LIBS permanently.
3827 ac_save_LIBS=$LIBS
3828 LIBS="-lX11 $LIBS"
3829 cat >conftest.$ac_ext <<_ACEOF
3830 /* confdefs.h. */
3831 _ACEOF
3832 cat confdefs.h >>conftest.$ac_ext
3833 cat >>conftest.$ac_ext <<_ACEOF
3834 /* end confdefs.h. */
3835 #include <X11/Xlib.h>
3837 main ()
3839 XrmInitialize ()
3841 return 0;
3843 _ACEOF
3844 rm -f conftest.$ac_objext conftest$ac_exeext
3845 if { (ac_try="$ac_link"
3846 case "(($ac_try" in
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3849 esac
3850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3851 (eval "$ac_link") 2>conftest.er1
3852 ac_status=$?
3853 grep -v '^ *+' conftest.er1 >conftest.err
3854 rm -f conftest.er1
3855 cat conftest.err >&5
3856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3857 (exit $ac_status); } && {
3858 test -z "$ac_c_werror_flag" ||
3859 test ! -s conftest.err
3860 } && test -s conftest$ac_exeext &&
3861 $as_test_x conftest$ac_exeext; then
3862 LIBS=$ac_save_LIBS
3863 # We can link X programs with no special library path.
3864 ac_x_libraries=
3865 else
3866 echo "$as_me: failed program was:" >&5
3867 sed 's/^/| /' conftest.$ac_ext >&5
3869 LIBS=$ac_save_LIBS
3870 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3872 # Don't even attempt the hair of trying to link an X program!
3873 for ac_extension in a so sl; do
3874 if test -r "$ac_dir/libX11.$ac_extension"; then
3875 ac_x_libraries=$ac_dir
3876 break 2
3878 done
3879 done
3882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3883 conftest$ac_exeext conftest.$ac_ext
3884 fi # $ac_x_libraries = no
3886 case $ac_x_includes,$ac_x_libraries in #(
3887 no,* | *,no | *\'*)
3888 # Didn't find X, or a directory has "'" in its name.
3889 ac_cv_have_x="have_x=no";; #(
3891 # Record where we found X for the cache.
3892 ac_cv_have_x="have_x=yes\
3893 ac_x_includes='$ac_x_includes'\
3894 ac_x_libraries='$ac_x_libraries'"
3895 esac
3897 ;; #(
3898 *) have_x=yes;;
3899 esac
3900 eval "$ac_cv_have_x"
3901 fi # $with_x != no
3903 if test "$have_x" != yes; then
3904 { echo "$as_me:$LINENO: result: $have_x" >&5
3905 echo "${ECHO_T}$have_x" >&6; }
3906 no_x=yes
3907 else
3908 # If each of the values was on the command line, it overrides each guess.
3909 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3910 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3911 # Update the cache value to reflect the command line values.
3912 ac_cv_have_x="have_x=yes\
3913 ac_x_includes='$x_includes'\
3914 ac_x_libraries='$x_libraries'"
3915 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3916 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3919 if test "$no_x" = yes; then
3920 # Not all programs may use this symbol, but it does not hurt to define it.
3922 cat >>confdefs.h <<\_ACEOF
3923 #define X_DISPLAY_MISSING 1
3924 _ACEOF
3926 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3927 else
3928 if test -n "$x_includes"; then
3929 X_CFLAGS="$X_CFLAGS -I$x_includes"
3932 # It would also be nice to do this for all -L options, not just this one.
3933 if test -n "$x_libraries"; then
3934 X_LIBS="$X_LIBS -L$x_libraries"
3935 # For Solaris; some versions of Sun CC require a space after -R and
3936 # others require no space. Words are not sufficient . . . .
3937 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3938 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3939 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3940 ac_xsave_c_werror_flag=$ac_c_werror_flag
3941 ac_c_werror_flag=yes
3942 cat >conftest.$ac_ext <<_ACEOF
3943 /* confdefs.h. */
3944 _ACEOF
3945 cat confdefs.h >>conftest.$ac_ext
3946 cat >>conftest.$ac_ext <<_ACEOF
3947 /* end confdefs.h. */
3950 main ()
3954 return 0;
3956 _ACEOF
3957 rm -f conftest.$ac_objext conftest$ac_exeext
3958 if { (ac_try="$ac_link"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3964 (eval "$ac_link") 2>conftest.er1
3965 ac_status=$?
3966 grep -v '^ *+' conftest.er1 >conftest.err
3967 rm -f conftest.er1
3968 cat conftest.err >&5
3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3970 (exit $ac_status); } && {
3971 test -z "$ac_c_werror_flag" ||
3972 test ! -s conftest.err
3973 } && test -s conftest$ac_exeext &&
3974 $as_test_x conftest$ac_exeext; then
3975 { echo "$as_me:$LINENO: result: no" >&5
3976 echo "${ECHO_T}no" >&6; }
3977 X_LIBS="$X_LIBS -R$x_libraries"
3978 else
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3982 LIBS="$ac_xsave_LIBS -R $x_libraries"
3983 cat >conftest.$ac_ext <<_ACEOF
3984 /* confdefs.h. */
3985 _ACEOF
3986 cat confdefs.h >>conftest.$ac_ext
3987 cat >>conftest.$ac_ext <<_ACEOF
3988 /* end confdefs.h. */
3991 main ()
3995 return 0;
3997 _ACEOF
3998 rm -f conftest.$ac_objext conftest$ac_exeext
3999 if { (ac_try="$ac_link"
4000 case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4005 (eval "$ac_link") 2>conftest.er1
4006 ac_status=$?
4007 grep -v '^ *+' conftest.er1 >conftest.err
4008 rm -f conftest.er1
4009 cat conftest.err >&5
4010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4011 (exit $ac_status); } && {
4012 test -z "$ac_c_werror_flag" ||
4013 test ! -s conftest.err
4014 } && test -s conftest$ac_exeext &&
4015 $as_test_x conftest$ac_exeext; then
4016 { echo "$as_me:$LINENO: result: yes" >&5
4017 echo "${ECHO_T}yes" >&6; }
4018 X_LIBS="$X_LIBS -R $x_libraries"
4019 else
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.$ac_ext >&5
4023 { echo "$as_me:$LINENO: result: neither works" >&5
4024 echo "${ECHO_T}neither works" >&6; }
4027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4028 conftest$ac_exeext conftest.$ac_ext
4031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4032 conftest$ac_exeext conftest.$ac_ext
4033 ac_c_werror_flag=$ac_xsave_c_werror_flag
4034 LIBS=$ac_xsave_LIBS
4037 # Check for system-dependent libraries X programs must link with.
4038 # Do this before checking for the system-independent R6 libraries
4039 # (-lICE), since we may need -lsocket or whatever for X linking.
4041 if test "$ISC" = yes; then
4042 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4043 else
4044 # Martyn Johnson says this is needed for Ultrix, if the X
4045 # libraries were built with DECnet support. And Karl Berry says
4046 # the Alpha needs dnet_stub (dnet does not exist).
4047 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4048 cat >conftest.$ac_ext <<_ACEOF
4049 /* confdefs.h. */
4050 _ACEOF
4051 cat confdefs.h >>conftest.$ac_ext
4052 cat >>conftest.$ac_ext <<_ACEOF
4053 /* end confdefs.h. */
4055 /* Override any GCC internal prototype to avoid an error.
4056 Use char because int might match the return type of a GCC
4057 builtin and then its argument prototype would still apply. */
4058 #ifdef __cplusplus
4059 extern "C"
4060 #endif
4061 char XOpenDisplay ();
4063 main ()
4065 return XOpenDisplay ();
4067 return 0;
4069 _ACEOF
4070 rm -f conftest.$ac_objext conftest$ac_exeext
4071 if { (ac_try="$ac_link"
4072 case "(($ac_try" in
4073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4074 *) ac_try_echo=$ac_try;;
4075 esac
4076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4077 (eval "$ac_link") 2>conftest.er1
4078 ac_status=$?
4079 grep -v '^ *+' conftest.er1 >conftest.err
4080 rm -f conftest.er1
4081 cat conftest.err >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); } && {
4084 test -z "$ac_c_werror_flag" ||
4085 test ! -s conftest.err
4086 } && test -s conftest$ac_exeext &&
4087 $as_test_x conftest$ac_exeext; then
4089 else
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.$ac_ext >&5
4093 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4094 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4095 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4097 else
4098 ac_check_lib_save_LIBS=$LIBS
4099 LIBS="-ldnet $LIBS"
4100 cat >conftest.$ac_ext <<_ACEOF
4101 /* confdefs.h. */
4102 _ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4107 /* Override any GCC internal prototype to avoid an error.
4108 Use char because int might match the return type of a GCC
4109 builtin and then its argument prototype would still apply. */
4110 #ifdef __cplusplus
4111 extern "C"
4112 #endif
4113 char dnet_ntoa ();
4115 main ()
4117 return dnet_ntoa ();
4119 return 0;
4121 _ACEOF
4122 rm -f conftest.$ac_objext conftest$ac_exeext
4123 if { (ac_try="$ac_link"
4124 case "(($ac_try" in
4125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4126 *) ac_try_echo=$ac_try;;
4127 esac
4128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4129 (eval "$ac_link") 2>conftest.er1
4130 ac_status=$?
4131 grep -v '^ *+' conftest.er1 >conftest.err
4132 rm -f conftest.er1
4133 cat conftest.err >&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } && {
4136 test -z "$ac_c_werror_flag" ||
4137 test ! -s conftest.err
4138 } && test -s conftest$ac_exeext &&
4139 $as_test_x conftest$ac_exeext; then
4140 ac_cv_lib_dnet_dnet_ntoa=yes
4141 else
4142 echo "$as_me: failed program was:" >&5
4143 sed 's/^/| /' conftest.$ac_ext >&5
4145 ac_cv_lib_dnet_dnet_ntoa=no
4148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4149 conftest$ac_exeext conftest.$ac_ext
4150 LIBS=$ac_check_lib_save_LIBS
4152 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4153 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4154 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4155 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4158 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4159 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4160 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4161 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 else
4164 ac_check_lib_save_LIBS=$LIBS
4165 LIBS="-ldnet_stub $LIBS"
4166 cat >conftest.$ac_ext <<_ACEOF
4167 /* confdefs.h. */
4168 _ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4173 /* Override any GCC internal prototype to avoid an error.
4174 Use char because int might match the return type of a GCC
4175 builtin and then its argument prototype would still apply. */
4176 #ifdef __cplusplus
4177 extern "C"
4178 #endif
4179 char dnet_ntoa ();
4181 main ()
4183 return dnet_ntoa ();
4185 return 0;
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (ac_try="$ac_link"
4190 case "(($ac_try" in
4191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4192 *) ac_try_echo=$ac_try;;
4193 esac
4194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4195 (eval "$ac_link") 2>conftest.er1
4196 ac_status=$?
4197 grep -v '^ *+' conftest.er1 >conftest.err
4198 rm -f conftest.er1
4199 cat conftest.err >&5
4200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } && {
4202 test -z "$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 } && test -s conftest$ac_exeext &&
4205 $as_test_x conftest$ac_exeext; then
4206 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4207 else
4208 echo "$as_me: failed program was:" >&5
4209 sed 's/^/| /' conftest.$ac_ext >&5
4211 ac_cv_lib_dnet_stub_dnet_ntoa=no
4214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4215 conftest$ac_exeext conftest.$ac_ext
4216 LIBS=$ac_check_lib_save_LIBS
4218 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4219 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4220 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4221 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4228 conftest$ac_exeext conftest.$ac_ext
4229 LIBS="$ac_xsave_LIBS"
4231 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4232 # to get the SysV transport functions.
4233 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4234 # needs -lnsl.
4235 # The nsl library prevents programs from opening the X display
4236 # on Irix 5.2, according to T.E. Dickey.
4237 # The functions gethostbyname, getservbyname, and inet_addr are
4238 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4239 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4240 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4241 if test "${ac_cv_func_gethostbyname+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 else
4244 cat >conftest.$ac_ext <<_ACEOF
4245 /* confdefs.h. */
4246 _ACEOF
4247 cat confdefs.h >>conftest.$ac_ext
4248 cat >>conftest.$ac_ext <<_ACEOF
4249 /* end confdefs.h. */
4250 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4252 #define gethostbyname innocuous_gethostbyname
4254 /* System header to define __stub macros and hopefully few prototypes,
4255 which can conflict with char gethostbyname (); below.
4256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4257 <limits.h> exists even on freestanding compilers. */
4259 #ifdef __STDC__
4260 # include <limits.h>
4261 #else
4262 # include <assert.h>
4263 #endif
4265 #undef gethostbyname
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4270 #ifdef __cplusplus
4271 extern "C"
4272 #endif
4273 char gethostbyname ();
4274 /* The GNU C library defines this for functions which it implements
4275 to always fail with ENOSYS. Some functions are actually named
4276 something starting with __ and the normal name is an alias. */
4277 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4278 choke me
4279 #endif
4282 main ()
4284 return gethostbyname ();
4286 return 0;
4288 _ACEOF
4289 rm -f conftest.$ac_objext conftest$ac_exeext
4290 if { (ac_try="$ac_link"
4291 case "(($ac_try" in
4292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4293 *) ac_try_echo=$ac_try;;
4294 esac
4295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4296 (eval "$ac_link") 2>conftest.er1
4297 ac_status=$?
4298 grep -v '^ *+' conftest.er1 >conftest.err
4299 rm -f conftest.er1
4300 cat conftest.err >&5
4301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4302 (exit $ac_status); } && {
4303 test -z "$ac_c_werror_flag" ||
4304 test ! -s conftest.err
4305 } && test -s conftest$ac_exeext &&
4306 $as_test_x conftest$ac_exeext; then
4307 ac_cv_func_gethostbyname=yes
4308 else
4309 echo "$as_me: failed program was:" >&5
4310 sed 's/^/| /' conftest.$ac_ext >&5
4312 ac_cv_func_gethostbyname=no
4315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4316 conftest$ac_exeext conftest.$ac_ext
4318 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4319 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4321 if test $ac_cv_func_gethostbyname = no; then
4322 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4323 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4324 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4325 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 else
4327 ac_check_lib_save_LIBS=$LIBS
4328 LIBS="-lnsl $LIBS"
4329 cat >conftest.$ac_ext <<_ACEOF
4330 /* confdefs.h. */
4331 _ACEOF
4332 cat confdefs.h >>conftest.$ac_ext
4333 cat >>conftest.$ac_ext <<_ACEOF
4334 /* end confdefs.h. */
4336 /* Override any GCC internal prototype to avoid an error.
4337 Use char because int might match the return type of a GCC
4338 builtin and then its argument prototype would still apply. */
4339 #ifdef __cplusplus
4340 extern "C"
4341 #endif
4342 char gethostbyname ();
4344 main ()
4346 return gethostbyname ();
4348 return 0;
4350 _ACEOF
4351 rm -f conftest.$ac_objext conftest$ac_exeext
4352 if { (ac_try="$ac_link"
4353 case "(($ac_try" in
4354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4355 *) ac_try_echo=$ac_try;;
4356 esac
4357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4358 (eval "$ac_link") 2>conftest.er1
4359 ac_status=$?
4360 grep -v '^ *+' conftest.er1 >conftest.err
4361 rm -f conftest.er1
4362 cat conftest.err >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } && {
4365 test -z "$ac_c_werror_flag" ||
4366 test ! -s conftest.err
4367 } && test -s conftest$ac_exeext &&
4368 $as_test_x conftest$ac_exeext; then
4369 ac_cv_lib_nsl_gethostbyname=yes
4370 else
4371 echo "$as_me: failed program was:" >&5
4372 sed 's/^/| /' conftest.$ac_ext >&5
4374 ac_cv_lib_nsl_gethostbyname=no
4377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4378 conftest$ac_exeext conftest.$ac_ext
4379 LIBS=$ac_check_lib_save_LIBS
4381 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4382 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4383 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4384 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4387 if test $ac_cv_lib_nsl_gethostbyname = no; then
4388 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4389 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4390 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4391 echo $ECHO_N "(cached) $ECHO_C" >&6
4392 else
4393 ac_check_lib_save_LIBS=$LIBS
4394 LIBS="-lbsd $LIBS"
4395 cat >conftest.$ac_ext <<_ACEOF
4396 /* confdefs.h. */
4397 _ACEOF
4398 cat confdefs.h >>conftest.$ac_ext
4399 cat >>conftest.$ac_ext <<_ACEOF
4400 /* end confdefs.h. */
4402 /* Override any GCC internal prototype to avoid an error.
4403 Use char because int might match the return type of a GCC
4404 builtin and then its argument prototype would still apply. */
4405 #ifdef __cplusplus
4406 extern "C"
4407 #endif
4408 char gethostbyname ();
4410 main ()
4412 return gethostbyname ();
4414 return 0;
4416 _ACEOF
4417 rm -f conftest.$ac_objext conftest$ac_exeext
4418 if { (ac_try="$ac_link"
4419 case "(($ac_try" in
4420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4421 *) ac_try_echo=$ac_try;;
4422 esac
4423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4424 (eval "$ac_link") 2>conftest.er1
4425 ac_status=$?
4426 grep -v '^ *+' conftest.er1 >conftest.err
4427 rm -f conftest.er1
4428 cat conftest.err >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); } && {
4431 test -z "$ac_c_werror_flag" ||
4432 test ! -s conftest.err
4433 } && test -s conftest$ac_exeext &&
4434 $as_test_x conftest$ac_exeext; then
4435 ac_cv_lib_bsd_gethostbyname=yes
4436 else
4437 echo "$as_me: failed program was:" >&5
4438 sed 's/^/| /' conftest.$ac_ext >&5
4440 ac_cv_lib_bsd_gethostbyname=no
4443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4444 conftest$ac_exeext conftest.$ac_ext
4445 LIBS=$ac_check_lib_save_LIBS
4447 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4448 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4449 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4456 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4457 # socket/setsockopt and other routines are undefined under SCO ODT
4458 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4459 # on later versions), says Simon Leinen: it contains gethostby*
4460 # variants that don't use the name server (or something). -lsocket
4461 # must be given before -lnsl if both are needed. We assume that
4462 # if connect needs -lnsl, so does gethostbyname.
4463 { echo "$as_me:$LINENO: checking for connect" >&5
4464 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4465 if test "${ac_cv_func_connect+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 cat >conftest.$ac_ext <<_ACEOF
4469 /* confdefs.h. */
4470 _ACEOF
4471 cat confdefs.h >>conftest.$ac_ext
4472 cat >>conftest.$ac_ext <<_ACEOF
4473 /* end confdefs.h. */
4474 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4476 #define connect innocuous_connect
4478 /* System header to define __stub macros and hopefully few prototypes,
4479 which can conflict with char connect (); below.
4480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4481 <limits.h> exists even on freestanding compilers. */
4483 #ifdef __STDC__
4484 # include <limits.h>
4485 #else
4486 # include <assert.h>
4487 #endif
4489 #undef connect
4491 /* Override any GCC internal prototype to avoid an error.
4492 Use char because int might match the return type of a GCC
4493 builtin and then its argument prototype would still apply. */
4494 #ifdef __cplusplus
4495 extern "C"
4496 #endif
4497 char connect ();
4498 /* The GNU C library defines this for functions which it implements
4499 to always fail with ENOSYS. Some functions are actually named
4500 something starting with __ and the normal name is an alias. */
4501 #if defined __stub_connect || defined __stub___connect
4502 choke me
4503 #endif
4506 main ()
4508 return connect ();
4510 return 0;
4512 _ACEOF
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (ac_try="$ac_link"
4515 case "(($ac_try" in
4516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4517 *) ac_try_echo=$ac_try;;
4518 esac
4519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4520 (eval "$ac_link") 2>conftest.er1
4521 ac_status=$?
4522 grep -v '^ *+' conftest.er1 >conftest.err
4523 rm -f conftest.er1
4524 cat conftest.err >&5
4525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4526 (exit $ac_status); } && {
4527 test -z "$ac_c_werror_flag" ||
4528 test ! -s conftest.err
4529 } && test -s conftest$ac_exeext &&
4530 $as_test_x conftest$ac_exeext; then
4531 ac_cv_func_connect=yes
4532 else
4533 echo "$as_me: failed program was:" >&5
4534 sed 's/^/| /' conftest.$ac_ext >&5
4536 ac_cv_func_connect=no
4539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4540 conftest$ac_exeext conftest.$ac_ext
4542 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4543 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4545 if test $ac_cv_func_connect = no; then
4546 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4547 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4548 if test "${ac_cv_lib_socket_connect+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4550 else
4551 ac_check_lib_save_LIBS=$LIBS
4552 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4553 cat >conftest.$ac_ext <<_ACEOF
4554 /* confdefs.h. */
4555 _ACEOF
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any GCC internal prototype to avoid an error.
4561 Use char because int might match the return type of a GCC
4562 builtin and then its argument prototype would still apply. */
4563 #ifdef __cplusplus
4564 extern "C"
4565 #endif
4566 char connect ();
4568 main ()
4570 return connect ();
4572 return 0;
4574 _ACEOF
4575 rm -f conftest.$ac_objext conftest$ac_exeext
4576 if { (ac_try="$ac_link"
4577 case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4582 (eval "$ac_link") 2>conftest.er1
4583 ac_status=$?
4584 grep -v '^ *+' conftest.er1 >conftest.err
4585 rm -f conftest.er1
4586 cat conftest.err >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); } && {
4589 test -z "$ac_c_werror_flag" ||
4590 test ! -s conftest.err
4591 } && test -s conftest$ac_exeext &&
4592 $as_test_x conftest$ac_exeext; then
4593 ac_cv_lib_socket_connect=yes
4594 else
4595 echo "$as_me: failed program was:" >&5
4596 sed 's/^/| /' conftest.$ac_ext >&5
4598 ac_cv_lib_socket_connect=no
4601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4602 conftest$ac_exeext conftest.$ac_ext
4603 LIBS=$ac_check_lib_save_LIBS
4605 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4606 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4607 if test $ac_cv_lib_socket_connect = yes; then
4608 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4613 # Guillermo Gomez says -lposix is necessary on A/UX.
4614 { echo "$as_me:$LINENO: checking for remove" >&5
4615 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4616 if test "${ac_cv_func_remove+set}" = set; then
4617 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 else
4619 cat >conftest.$ac_ext <<_ACEOF
4620 /* confdefs.h. */
4621 _ACEOF
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4625 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4627 #define remove innocuous_remove
4629 /* System header to define __stub macros and hopefully few prototypes,
4630 which can conflict with char remove (); below.
4631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 <limits.h> exists even on freestanding compilers. */
4634 #ifdef __STDC__
4635 # include <limits.h>
4636 #else
4637 # include <assert.h>
4638 #endif
4640 #undef remove
4642 /* Override any GCC internal prototype to avoid an error.
4643 Use char because int might match the return type of a GCC
4644 builtin and then its argument prototype would still apply. */
4645 #ifdef __cplusplus
4646 extern "C"
4647 #endif
4648 char remove ();
4649 /* The GNU C library defines this for functions which it implements
4650 to always fail with ENOSYS. Some functions are actually named
4651 something starting with __ and the normal name is an alias. */
4652 #if defined __stub_remove || defined __stub___remove
4653 choke me
4654 #endif
4657 main ()
4659 return remove ();
4661 return 0;
4663 _ACEOF
4664 rm -f conftest.$ac_objext conftest$ac_exeext
4665 if { (ac_try="$ac_link"
4666 case "(($ac_try" in
4667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4668 *) ac_try_echo=$ac_try;;
4669 esac
4670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4671 (eval "$ac_link") 2>conftest.er1
4672 ac_status=$?
4673 grep -v '^ *+' conftest.er1 >conftest.err
4674 rm -f conftest.er1
4675 cat conftest.err >&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && {
4678 test -z "$ac_c_werror_flag" ||
4679 test ! -s conftest.err
4680 } && test -s conftest$ac_exeext &&
4681 $as_test_x conftest$ac_exeext; then
4682 ac_cv_func_remove=yes
4683 else
4684 echo "$as_me: failed program was:" >&5
4685 sed 's/^/| /' conftest.$ac_ext >&5
4687 ac_cv_func_remove=no
4690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4691 conftest$ac_exeext conftest.$ac_ext
4693 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4694 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4696 if test $ac_cv_func_remove = no; then
4697 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4698 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4699 if test "${ac_cv_lib_posix_remove+set}" = set; then
4700 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 else
4702 ac_check_lib_save_LIBS=$LIBS
4703 LIBS="-lposix $LIBS"
4704 cat >conftest.$ac_ext <<_ACEOF
4705 /* confdefs.h. */
4706 _ACEOF
4707 cat confdefs.h >>conftest.$ac_ext
4708 cat >>conftest.$ac_ext <<_ACEOF
4709 /* end confdefs.h. */
4711 /* Override any GCC internal prototype to avoid an error.
4712 Use char because int might match the return type of a GCC
4713 builtin and then its argument prototype would still apply. */
4714 #ifdef __cplusplus
4715 extern "C"
4716 #endif
4717 char remove ();
4719 main ()
4721 return remove ();
4723 return 0;
4725 _ACEOF
4726 rm -f conftest.$ac_objext conftest$ac_exeext
4727 if { (ac_try="$ac_link"
4728 case "(($ac_try" in
4729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4730 *) ac_try_echo=$ac_try;;
4731 esac
4732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4733 (eval "$ac_link") 2>conftest.er1
4734 ac_status=$?
4735 grep -v '^ *+' conftest.er1 >conftest.err
4736 rm -f conftest.er1
4737 cat conftest.err >&5
4738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4739 (exit $ac_status); } && {
4740 test -z "$ac_c_werror_flag" ||
4741 test ! -s conftest.err
4742 } && test -s conftest$ac_exeext &&
4743 $as_test_x conftest$ac_exeext; then
4744 ac_cv_lib_posix_remove=yes
4745 else
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 ac_cv_lib_posix_remove=no
4752 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4753 conftest$ac_exeext conftest.$ac_ext
4754 LIBS=$ac_check_lib_save_LIBS
4756 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4757 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4758 if test $ac_cv_lib_posix_remove = yes; then
4759 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4764 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4765 { echo "$as_me:$LINENO: checking for shmat" >&5
4766 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4767 if test "${ac_cv_func_shmat+set}" = set; then
4768 echo $ECHO_N "(cached) $ECHO_C" >&6
4769 else
4770 cat >conftest.$ac_ext <<_ACEOF
4771 /* confdefs.h. */
4772 _ACEOF
4773 cat confdefs.h >>conftest.$ac_ext
4774 cat >>conftest.$ac_ext <<_ACEOF
4775 /* end confdefs.h. */
4776 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4778 #define shmat innocuous_shmat
4780 /* System header to define __stub macros and hopefully few prototypes,
4781 which can conflict with char shmat (); below.
4782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4783 <limits.h> exists even on freestanding compilers. */
4785 #ifdef __STDC__
4786 # include <limits.h>
4787 #else
4788 # include <assert.h>
4789 #endif
4791 #undef shmat
4793 /* Override any GCC internal prototype to avoid an error.
4794 Use char because int might match the return type of a GCC
4795 builtin and then its argument prototype would still apply. */
4796 #ifdef __cplusplus
4797 extern "C"
4798 #endif
4799 char shmat ();
4800 /* The GNU C library defines this for functions which it implements
4801 to always fail with ENOSYS. Some functions are actually named
4802 something starting with __ and the normal name is an alias. */
4803 #if defined __stub_shmat || defined __stub___shmat
4804 choke me
4805 #endif
4808 main ()
4810 return shmat ();
4812 return 0;
4814 _ACEOF
4815 rm -f conftest.$ac_objext conftest$ac_exeext
4816 if { (ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4822 (eval "$ac_link") 2>conftest.er1
4823 ac_status=$?
4824 grep -v '^ *+' conftest.er1 >conftest.err
4825 rm -f conftest.er1
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } && {
4829 test -z "$ac_c_werror_flag" ||
4830 test ! -s conftest.err
4831 } && test -s conftest$ac_exeext &&
4832 $as_test_x conftest$ac_exeext; then
4833 ac_cv_func_shmat=yes
4834 else
4835 echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4838 ac_cv_func_shmat=no
4841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4842 conftest$ac_exeext conftest.$ac_ext
4844 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4845 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4847 if test $ac_cv_func_shmat = no; then
4848 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4849 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4850 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4851 echo $ECHO_N "(cached) $ECHO_C" >&6
4852 else
4853 ac_check_lib_save_LIBS=$LIBS
4854 LIBS="-lipc $LIBS"
4855 cat >conftest.$ac_ext <<_ACEOF
4856 /* confdefs.h. */
4857 _ACEOF
4858 cat confdefs.h >>conftest.$ac_ext
4859 cat >>conftest.$ac_ext <<_ACEOF
4860 /* end confdefs.h. */
4862 /* Override any GCC internal prototype to avoid an error.
4863 Use char because int might match the return type of a GCC
4864 builtin and then its argument prototype would still apply. */
4865 #ifdef __cplusplus
4866 extern "C"
4867 #endif
4868 char shmat ();
4870 main ()
4872 return shmat ();
4874 return 0;
4876 _ACEOF
4877 rm -f conftest.$ac_objext conftest$ac_exeext
4878 if { (ac_try="$ac_link"
4879 case "(($ac_try" in
4880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4881 *) ac_try_echo=$ac_try;;
4882 esac
4883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4884 (eval "$ac_link") 2>conftest.er1
4885 ac_status=$?
4886 grep -v '^ *+' conftest.er1 >conftest.err
4887 rm -f conftest.er1
4888 cat conftest.err >&5
4889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4890 (exit $ac_status); } && {
4891 test -z "$ac_c_werror_flag" ||
4892 test ! -s conftest.err
4893 } && test -s conftest$ac_exeext &&
4894 $as_test_x conftest$ac_exeext; then
4895 ac_cv_lib_ipc_shmat=yes
4896 else
4897 echo "$as_me: failed program was:" >&5
4898 sed 's/^/| /' conftest.$ac_ext >&5
4900 ac_cv_lib_ipc_shmat=no
4903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4904 conftest$ac_exeext conftest.$ac_ext
4905 LIBS=$ac_check_lib_save_LIBS
4907 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4908 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4909 if test $ac_cv_lib_ipc_shmat = yes; then
4910 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4916 # Check for libraries that X11R6 Xt/Xaw programs need.
4917 ac_save_LDFLAGS=$LDFLAGS
4918 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4919 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4920 # check for ICE first), but we must link in the order -lSM -lICE or
4921 # we get undefined symbols. So assume we have SM if we have ICE.
4922 # These have to be linked with before -lX11, unlike the other
4923 # libraries we check for below, so use a different variable.
4924 # John Interrante, Karl Berry
4925 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4926 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4927 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4928 echo $ECHO_N "(cached) $ECHO_C" >&6
4929 else
4930 ac_check_lib_save_LIBS=$LIBS
4931 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4932 cat >conftest.$ac_ext <<_ACEOF
4933 /* confdefs.h. */
4934 _ACEOF
4935 cat confdefs.h >>conftest.$ac_ext
4936 cat >>conftest.$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4939 /* Override any GCC internal prototype to avoid an error.
4940 Use char because int might match the return type of a GCC
4941 builtin and then its argument prototype would still apply. */
4942 #ifdef __cplusplus
4943 extern "C"
4944 #endif
4945 char IceConnectionNumber ();
4947 main ()
4949 return IceConnectionNumber ();
4951 return 0;
4953 _ACEOF
4954 rm -f conftest.$ac_objext conftest$ac_exeext
4955 if { (ac_try="$ac_link"
4956 case "(($ac_try" in
4957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4958 *) ac_try_echo=$ac_try;;
4959 esac
4960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4961 (eval "$ac_link") 2>conftest.er1
4962 ac_status=$?
4963 grep -v '^ *+' conftest.er1 >conftest.err
4964 rm -f conftest.er1
4965 cat conftest.err >&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && {
4968 test -z "$ac_c_werror_flag" ||
4969 test ! -s conftest.err
4970 } && test -s conftest$ac_exeext &&
4971 $as_test_x conftest$ac_exeext; then
4972 ac_cv_lib_ICE_IceConnectionNumber=yes
4973 else
4974 echo "$as_me: failed program was:" >&5
4975 sed 's/^/| /' conftest.$ac_ext >&5
4977 ac_cv_lib_ICE_IceConnectionNumber=no
4980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4981 conftest$ac_exeext conftest.$ac_ext
4982 LIBS=$ac_check_lib_save_LIBS
4984 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4985 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4986 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4987 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4990 LDFLAGS=$ac_save_LDFLAGS
4995 for ac_prog in flex
4997 # Extract the first word of "$ac_prog", so it can be a program name with args.
4998 set dummy $ac_prog; ac_word=$2
4999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5001 if test "${ac_cv_prog_FLEX+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 else
5004 if test -n "$FLEX"; then
5005 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 test -z "$as_dir" && as_dir=.
5012 for ac_exec_ext in '' $ac_executable_extensions; do
5013 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5014 ac_cv_prog_FLEX="$ac_prog"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 break 2
5018 done
5019 done
5020 IFS=$as_save_IFS
5024 FLEX=$ac_cv_prog_FLEX
5025 if test -n "$FLEX"; then
5026 { echo "$as_me:$LINENO: result: $FLEX" >&5
5027 echo "${ECHO_T}$FLEX" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5034 test -n "$FLEX" && break
5035 done
5036 test -n "$FLEX" || FLEX="none"
5038 if test "$FLEX" = "none"
5039 then
5040 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5041 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5042 { (exit 1); exit 1; }; }
5045 for ac_prog in bison
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy $ac_prog; ac_word=$2
5049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5051 if test "${ac_cv_prog_BISON+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054 if test -n "$BISON"; then
5055 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_BISON="$ac_prog"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5070 IFS=$as_save_IFS
5074 BISON=$ac_cv_prog_BISON
5075 if test -n "$BISON"; then
5076 { echo "$as_me:$LINENO: result: $BISON" >&5
5077 echo "${ECHO_T}$BISON" >&6; }
5078 else
5079 { echo "$as_me:$LINENO: result: no" >&5
5080 echo "${ECHO_T}no" >&6; }
5084 test -n "$BISON" && break
5085 done
5086 test -n "$BISON" || BISON="none"
5088 if test "$BISON" = "none"
5089 then
5090 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5091 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5092 { (exit 1); exit 1; }; }
5095 if test -n "$ac_tool_prefix"; then
5096 for ac_prog in gas as
5098 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5099 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5102 if test "${ac_cv_prog_AS+set}" = set; then
5103 echo $ECHO_N "(cached) $ECHO_C" >&6
5104 else
5105 if test -n "$AS"; then
5106 ac_cv_prog_AS="$AS" # Let the user override the test.
5107 else
5108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5109 for as_dir in $PATH
5111 IFS=$as_save_IFS
5112 test -z "$as_dir" && as_dir=.
5113 for ac_exec_ext in '' $ac_executable_extensions; do
5114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5115 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5117 break 2
5119 done
5120 done
5121 IFS=$as_save_IFS
5125 AS=$ac_cv_prog_AS
5126 if test -n "$AS"; then
5127 { echo "$as_me:$LINENO: result: $AS" >&5
5128 echo "${ECHO_T}$AS" >&6; }
5129 else
5130 { echo "$as_me:$LINENO: result: no" >&5
5131 echo "${ECHO_T}no" >&6; }
5135 test -n "$AS" && break
5136 done
5138 if test -z "$AS"; then
5139 ac_ct_AS=$AS
5140 for ac_prog in gas as
5142 # Extract the first word of "$ac_prog", so it can be a program name with args.
5143 set dummy $ac_prog; ac_word=$2
5144 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5145 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5146 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5147 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 else
5149 if test -n "$ac_ct_AS"; then
5150 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5151 else
5152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5153 for as_dir in $PATH
5155 IFS=$as_save_IFS
5156 test -z "$as_dir" && as_dir=.
5157 for ac_exec_ext in '' $ac_executable_extensions; do
5158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5159 ac_cv_prog_ac_ct_AS="$ac_prog"
5160 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5161 break 2
5163 done
5164 done
5165 IFS=$as_save_IFS
5169 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5170 if test -n "$ac_ct_AS"; then
5171 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5172 echo "${ECHO_T}$ac_ct_AS" >&6; }
5173 else
5174 { echo "$as_me:$LINENO: result: no" >&5
5175 echo "${ECHO_T}no" >&6; }
5179 test -n "$ac_ct_AS" && break
5180 done
5182 if test "x$ac_ct_AS" = x; then
5183 AS="as"
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5188 whose name does not start with the host triplet. If you think this
5189 configuration is useful to you, please write to autoconf@gnu.org." >&5
5190 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5191 whose name does not start with the host triplet. If you think this
5192 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5193 ac_tool_warned=yes ;;
5194 esac
5195 AS=$ac_ct_AS
5199 if test -n "$ac_tool_prefix"; then
5200 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5201 set dummy ${ac_tool_prefix}ld; ac_word=$2
5202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5204 if test "${ac_cv_prog_LD+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 else
5207 if test -n "$LD"; then
5208 ac_cv_prog_LD="$LD" # Let the user override the test.
5209 else
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 for as_dir in $PATH
5213 IFS=$as_save_IFS
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5217 ac_cv_prog_LD="${ac_tool_prefix}ld"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5219 break 2
5221 done
5222 done
5223 IFS=$as_save_IFS
5227 LD=$ac_cv_prog_LD
5228 if test -n "$LD"; then
5229 { echo "$as_me:$LINENO: result: $LD" >&5
5230 echo "${ECHO_T}$LD" >&6; }
5231 else
5232 { echo "$as_me:$LINENO: result: no" >&5
5233 echo "${ECHO_T}no" >&6; }
5238 if test -z "$ac_cv_prog_LD"; then
5239 ac_ct_LD=$LD
5240 # Extract the first word of "ld", so it can be a program name with args.
5241 set dummy ld; ac_word=$2
5242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5244 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5245 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 else
5247 if test -n "$ac_ct_LD"; then
5248 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5249 else
5250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5251 for as_dir in $PATH
5253 IFS=$as_save_IFS
5254 test -z "$as_dir" && as_dir=.
5255 for ac_exec_ext in '' $ac_executable_extensions; do
5256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5257 ac_cv_prog_ac_ct_LD="ld"
5258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5259 break 2
5261 done
5262 done
5263 IFS=$as_save_IFS
5267 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5268 if test -n "$ac_ct_LD"; then
5269 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5270 echo "${ECHO_T}$ac_ct_LD" >&6; }
5271 else
5272 { echo "$as_me:$LINENO: result: no" >&5
5273 echo "${ECHO_T}no" >&6; }
5276 if test "x$ac_ct_LD" = x; then
5277 LD="ld"
5278 else
5279 case $cross_compiling:$ac_tool_warned in
5280 yes:)
5281 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5282 whose name does not start with the host triplet. If you think this
5283 configuration is useful to you, please write to autoconf@gnu.org." >&5
5284 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5285 whose name does not start with the host triplet. If you think this
5286 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5287 ac_tool_warned=yes ;;
5288 esac
5289 LD=$ac_ct_LD
5291 else
5292 LD="$ac_cv_prog_LD"
5295 if test -n "$ac_tool_prefix"; then
5296 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5297 set dummy ${ac_tool_prefix}ar; ac_word=$2
5298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5300 if test "${ac_cv_prog_AR+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 else
5303 if test -n "$AR"; then
5304 ac_cv_prog_AR="$AR" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_AR="${ac_tool_prefix}ar"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5317 done
5318 done
5319 IFS=$as_save_IFS
5323 AR=$ac_cv_prog_AR
5324 if test -n "$AR"; then
5325 { echo "$as_me:$LINENO: result: $AR" >&5
5326 echo "${ECHO_T}$AR" >&6; }
5327 else
5328 { echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6; }
5334 if test -z "$ac_cv_prog_AR"; then
5335 ac_ct_AR=$AR
5336 # Extract the first word of "ar", so it can be a program name with args.
5337 set dummy ar; ac_word=$2
5338 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5339 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5340 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 else
5343 if test -n "$ac_ct_AR"; then
5344 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5345 else
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_exec_ext in '' $ac_executable_extensions; do
5352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5353 ac_cv_prog_ac_ct_AR="ar"
5354 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5355 break 2
5357 done
5358 done
5359 IFS=$as_save_IFS
5363 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5364 if test -n "$ac_ct_AR"; then
5365 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5366 echo "${ECHO_T}$ac_ct_AR" >&6; }
5367 else
5368 { echo "$as_me:$LINENO: result: no" >&5
5369 echo "${ECHO_T}no" >&6; }
5372 if test "x$ac_ct_AR" = x; then
5373 AR="ar"
5374 else
5375 case $cross_compiling:$ac_tool_warned in
5376 yes:)
5377 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5378 whose name does not start with the host triplet. If you think this
5379 configuration is useful to you, please write to autoconf@gnu.org." >&5
5380 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5381 whose name does not start with the host triplet. If you think this
5382 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5383 ac_tool_warned=yes ;;
5384 esac
5385 AR=$ac_ct_AR
5387 else
5388 AR="$ac_cv_prog_AR"
5391 if test -n "$ac_tool_prefix"; then
5392 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5393 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5396 if test "${ac_cv_prog_RANLIB+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5398 else
5399 if test -n "$RANLIB"; then
5400 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5401 else
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 for as_dir in $PATH
5405 IFS=$as_save_IFS
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5409 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 break 2
5413 done
5414 done
5415 IFS=$as_save_IFS
5419 RANLIB=$ac_cv_prog_RANLIB
5420 if test -n "$RANLIB"; then
5421 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5422 echo "${ECHO_T}$RANLIB" >&6; }
5423 else
5424 { echo "$as_me:$LINENO: result: no" >&5
5425 echo "${ECHO_T}no" >&6; }
5430 if test -z "$ac_cv_prog_RANLIB"; then
5431 ac_ct_RANLIB=$RANLIB
5432 # Extract the first word of "ranlib", so it can be a program name with args.
5433 set dummy ranlib; ac_word=$2
5434 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5436 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5437 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 else
5439 if test -n "$ac_ct_RANLIB"; then
5440 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5441 else
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5443 for as_dir in $PATH
5445 IFS=$as_save_IFS
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_prog_ac_ct_RANLIB="ranlib"
5450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 break 2
5453 done
5454 done
5455 IFS=$as_save_IFS
5459 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5460 if test -n "$ac_ct_RANLIB"; then
5461 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5462 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5463 else
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5468 if test "x$ac_ct_RANLIB" = x; then
5469 RANLIB=":"
5470 else
5471 case $cross_compiling:$ac_tool_warned in
5472 yes:)
5473 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5474 whose name does not start with the host triplet. If you think this
5475 configuration is useful to you, please write to autoconf@gnu.org." >&5
5476 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5477 whose name does not start with the host triplet. If you think this
5478 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5479 ac_tool_warned=yes ;;
5480 esac
5481 RANLIB=$ac_ct_RANLIB
5483 else
5484 RANLIB="$ac_cv_prog_RANLIB"
5487 if test -n "$ac_tool_prefix"; then
5488 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5489 set dummy ${ac_tool_prefix}strip; ac_word=$2
5490 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5492 if test "${ac_cv_prog_STRIP+set}" = set; then
5493 echo $ECHO_N "(cached) $ECHO_C" >&6
5494 else
5495 if test -n "$STRIP"; then
5496 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5497 else
5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5499 for as_dir in $PATH
5501 IFS=$as_save_IFS
5502 test -z "$as_dir" && as_dir=.
5503 for ac_exec_ext in '' $ac_executable_extensions; do
5504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5505 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5507 break 2
5509 done
5510 done
5511 IFS=$as_save_IFS
5515 STRIP=$ac_cv_prog_STRIP
5516 if test -n "$STRIP"; then
5517 { echo "$as_me:$LINENO: result: $STRIP" >&5
5518 echo "${ECHO_T}$STRIP" >&6; }
5519 else
5520 { echo "$as_me:$LINENO: result: no" >&5
5521 echo "${ECHO_T}no" >&6; }
5526 if test -z "$ac_cv_prog_STRIP"; then
5527 ac_ct_STRIP=$STRIP
5528 # Extract the first word of "strip", so it can be a program name with args.
5529 set dummy strip; ac_word=$2
5530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5532 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5533 echo $ECHO_N "(cached) $ECHO_C" >&6
5534 else
5535 if test -n "$ac_ct_STRIP"; then
5536 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5537 else
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in $PATH
5541 IFS=$as_save_IFS
5542 test -z "$as_dir" && as_dir=.
5543 for ac_exec_ext in '' $ac_executable_extensions; do
5544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5545 ac_cv_prog_ac_ct_STRIP="strip"
5546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5547 break 2
5549 done
5550 done
5551 IFS=$as_save_IFS
5555 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5556 if test -n "$ac_ct_STRIP"; then
5557 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5558 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5559 else
5560 { echo "$as_me:$LINENO: result: no" >&5
5561 echo "${ECHO_T}no" >&6; }
5564 if test "x$ac_ct_STRIP" = x; then
5565 STRIP="strip"
5566 else
5567 case $cross_compiling:$ac_tool_warned in
5568 yes:)
5569 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5570 whose name does not start with the host triplet. If you think this
5571 configuration is useful to you, please write to autoconf@gnu.org." >&5
5572 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5573 whose name does not start with the host triplet. If you think this
5574 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5575 ac_tool_warned=yes ;;
5576 esac
5577 STRIP=$ac_ct_STRIP
5579 else
5580 STRIP="$ac_cv_prog_STRIP"
5583 if test -n "$ac_tool_prefix"; then
5584 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5585 set dummy ${ac_tool_prefix}windres; ac_word=$2
5586 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5588 if test "${ac_cv_prog_WINDRES+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5590 else
5591 if test -n "$WINDRES"; then
5592 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5593 else
5594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5595 for as_dir in $PATH
5597 IFS=$as_save_IFS
5598 test -z "$as_dir" && as_dir=.
5599 for ac_exec_ext in '' $ac_executable_extensions; do
5600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5601 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5603 break 2
5605 done
5606 done
5607 IFS=$as_save_IFS
5611 WINDRES=$ac_cv_prog_WINDRES
5612 if test -n "$WINDRES"; then
5613 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5614 echo "${ECHO_T}$WINDRES" >&6; }
5615 else
5616 { echo "$as_me:$LINENO: result: no" >&5
5617 echo "${ECHO_T}no" >&6; }
5622 if test -z "$ac_cv_prog_WINDRES"; then
5623 ac_ct_WINDRES=$WINDRES
5624 # Extract the first word of "windres", so it can be a program name with args.
5625 set dummy windres; ac_word=$2
5626 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5628 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5629 echo $ECHO_N "(cached) $ECHO_C" >&6
5630 else
5631 if test -n "$ac_ct_WINDRES"; then
5632 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5633 else
5634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5635 for as_dir in $PATH
5637 IFS=$as_save_IFS
5638 test -z "$as_dir" && as_dir=.
5639 for ac_exec_ext in '' $ac_executable_extensions; do
5640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5641 ac_cv_prog_ac_ct_WINDRES="windres"
5642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5643 break 2
5645 done
5646 done
5647 IFS=$as_save_IFS
5651 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5652 if test -n "$ac_ct_WINDRES"; then
5653 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5654 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5655 else
5656 { echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6; }
5660 if test "x$ac_ct_WINDRES" = x; then
5661 WINDRES="false"
5662 else
5663 case $cross_compiling:$ac_tool_warned in
5664 yes:)
5665 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5666 whose name does not start with the host triplet. If you think this
5667 configuration is useful to you, please write to autoconf@gnu.org." >&5
5668 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5669 whose name does not start with the host triplet. If you think this
5670 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5671 ac_tool_warned=yes ;;
5672 esac
5673 WINDRES=$ac_ct_WINDRES
5675 else
5676 WINDRES="$ac_cv_prog_WINDRES"
5679 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5680 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5681 LN_S=$as_ln_s
5682 if test "$LN_S" = "ln -s"; then
5683 { echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6; }
5685 else
5686 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5687 echo "${ECHO_T}no, using $LN_S" >&6; }
5690 { echo "$as_me:$LINENO: checking whether ln works" >&5
5691 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5692 rm -f conf$$ conf$$.file
5693 echo >conf$$.file
5694 if ln conf$$.file conf$$ 2>/dev/null; then
5695 LN=ln
5697 { echo "$as_me:$LINENO: result: yes" >&5
5698 echo "${ECHO_T}yes" >&6; }
5699 else
5700 LN="cp -p"
5702 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5703 echo "${ECHO_T}no, using $LN" >&6; }
5705 rm -f conf$$ conf$$.file
5706 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5707 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5708 if test "${ac_cv_path_GREP+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 else
5711 # Extract the first word of "grep ggrep" to use in msg output
5712 if test -z "$GREP"; then
5713 set dummy grep ggrep; ac_prog_name=$2
5714 if test "${ac_cv_path_GREP+set}" = set; then
5715 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 else
5717 ac_path_GREP_found=false
5718 # Loop through the user's path and test for each of PROGNAME-LIST
5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5720 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5722 IFS=$as_save_IFS
5723 test -z "$as_dir" && as_dir=.
5724 for ac_prog in grep ggrep; do
5725 for ac_exec_ext in '' $ac_executable_extensions; do
5726 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5727 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5728 # Check for GNU ac_path_GREP and select it if it is found.
5729 # Check for GNU $ac_path_GREP
5730 case `"$ac_path_GREP" --version 2>&1` in
5731 *GNU*)
5732 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5734 ac_count=0
5735 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5736 while :
5738 cat "conftest.in" "conftest.in" >"conftest.tmp"
5739 mv "conftest.tmp" "conftest.in"
5740 cp "conftest.in" "conftest.nl"
5741 echo 'GREP' >> "conftest.nl"
5742 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5743 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5744 ac_count=`expr $ac_count + 1`
5745 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5746 # Best one so far, save it but keep looking for a better one
5747 ac_cv_path_GREP="$ac_path_GREP"
5748 ac_path_GREP_max=$ac_count
5750 # 10*(2^10) chars as input seems more than enough
5751 test $ac_count -gt 10 && break
5752 done
5753 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5754 esac
5757 $ac_path_GREP_found && break 3
5758 done
5759 done
5761 done
5762 IFS=$as_save_IFS
5767 GREP="$ac_cv_path_GREP"
5768 if test -z "$GREP"; then
5769 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5770 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5771 { (exit 1); exit 1; }; }
5774 else
5775 ac_cv_path_GREP=$GREP
5780 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5781 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5782 GREP="$ac_cv_path_GREP"
5785 { echo "$as_me:$LINENO: checking for egrep" >&5
5786 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5787 if test "${ac_cv_path_EGREP+set}" = set; then
5788 echo $ECHO_N "(cached) $ECHO_C" >&6
5789 else
5790 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5791 then ac_cv_path_EGREP="$GREP -E"
5792 else
5793 # Extract the first word of "egrep" to use in msg output
5794 if test -z "$EGREP"; then
5795 set dummy egrep; ac_prog_name=$2
5796 if test "${ac_cv_path_EGREP+set}" = set; then
5797 echo $ECHO_N "(cached) $ECHO_C" >&6
5798 else
5799 ac_path_EGREP_found=false
5800 # Loop through the user's path and test for each of PROGNAME-LIST
5801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5802 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5804 IFS=$as_save_IFS
5805 test -z "$as_dir" && as_dir=.
5806 for ac_prog in egrep; do
5807 for ac_exec_ext in '' $ac_executable_extensions; do
5808 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5809 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5810 # Check for GNU ac_path_EGREP and select it if it is found.
5811 # Check for GNU $ac_path_EGREP
5812 case `"$ac_path_EGREP" --version 2>&1` in
5813 *GNU*)
5814 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5816 ac_count=0
5817 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5818 while :
5820 cat "conftest.in" "conftest.in" >"conftest.tmp"
5821 mv "conftest.tmp" "conftest.in"
5822 cp "conftest.in" "conftest.nl"
5823 echo 'EGREP' >> "conftest.nl"
5824 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5825 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5826 ac_count=`expr $ac_count + 1`
5827 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5828 # Best one so far, save it but keep looking for a better one
5829 ac_cv_path_EGREP="$ac_path_EGREP"
5830 ac_path_EGREP_max=$ac_count
5832 # 10*(2^10) chars as input seems more than enough
5833 test $ac_count -gt 10 && break
5834 done
5835 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5836 esac
5839 $ac_path_EGREP_found && break 3
5840 done
5841 done
5843 done
5844 IFS=$as_save_IFS
5849 EGREP="$ac_cv_path_EGREP"
5850 if test -z "$EGREP"; then
5851 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5852 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5853 { (exit 1); exit 1; }; }
5856 else
5857 ac_cv_path_EGREP=$EGREP
5863 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5864 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5865 EGREP="$ac_cv_path_EGREP"
5868 # Extract the first word of "ldconfig", so it can be a program name with args.
5869 set dummy ldconfig; ac_word=$2
5870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5872 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5873 echo $ECHO_N "(cached) $ECHO_C" >&6
5874 else
5875 case $LDCONFIG in
5876 [\\/]* | ?:[\\/]*)
5877 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5881 for as_dir in /sbin /usr/sbin $PATH
5883 IFS=$as_save_IFS
5884 test -z "$as_dir" && as_dir=.
5885 for ac_exec_ext in '' $ac_executable_extensions; do
5886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5887 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5889 break 2
5891 done
5892 done
5893 IFS=$as_save_IFS
5895 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5897 esac
5899 LDCONFIG=$ac_cv_path_LDCONFIG
5900 if test -n "$LDCONFIG"; then
5901 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5902 echo "${ECHO_T}$LDCONFIG" >&6; }
5903 else
5904 { echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6; }
5909 # Find a good install program. We prefer a C program (faster),
5910 # so one script is as good as another. But avoid the broken or
5911 # incompatible versions:
5912 # SysV /etc/install, /usr/sbin/install
5913 # SunOS /usr/etc/install
5914 # IRIX /sbin/install
5915 # AIX /bin/install
5916 # AmigaOS /C/install, which installs bootblocks on floppy discs
5917 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5918 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5919 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5920 # OS/2's system install, which has a completely different semantic
5921 # ./install, which can be erroneously created by make from ./install.sh.
5922 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5923 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5924 if test -z "$INSTALL"; then
5925 if test "${ac_cv_path_install+set}" = set; then
5926 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 else
5928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 for as_dir in $PATH
5931 IFS=$as_save_IFS
5932 test -z "$as_dir" && as_dir=.
5933 # Account for people who put trailing slashes in PATH elements.
5934 case $as_dir/ in
5935 ./ | .// | /cC/* | \
5936 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5937 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5938 /usr/ucb/* ) ;;
5940 # OSF1 and SCO ODT 3.0 have their own names for install.
5941 # Don't use installbsd from OSF since it installs stuff as root
5942 # by default.
5943 for ac_prog in ginstall scoinst install; do
5944 for ac_exec_ext in '' $ac_executable_extensions; do
5945 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5946 if test $ac_prog = install &&
5947 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5948 # AIX install. It has an incompatible calling convention.
5950 elif test $ac_prog = install &&
5951 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5952 # program-specific install script used by HP pwplus--don't use.
5954 else
5955 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5956 break 3
5959 done
5960 done
5962 esac
5963 done
5964 IFS=$as_save_IFS
5968 if test "${ac_cv_path_install+set}" = set; then
5969 INSTALL=$ac_cv_path_install
5970 else
5971 # As a last resort, use the slow shell script. Don't cache a
5972 # value for INSTALL within a source directory, because that will
5973 # break other packages using the cache if that directory is
5974 # removed, or if the value is a relative name.
5975 INSTALL=$ac_install_sh
5978 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5979 echo "${ECHO_T}$INSTALL" >&6; }
5981 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5982 # It thinks the first close brace ends the variable substitution.
5983 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5985 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5987 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5989 case "$INSTALL" in
5990 [\\/$]* | ?:[\\/]* ) ;;
5991 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5992 esac
5994 for ac_prog in lclint lint
5996 # Extract the first word of "$ac_prog", so it can be a program name with args.
5997 set dummy $ac_prog; ac_word=$2
5998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6000 if test "${ac_cv_prog_LINT+set}" = set; then
6001 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 else
6003 if test -n "$LINT"; then
6004 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6005 else
6006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6007 for as_dir in $PATH
6009 IFS=$as_save_IFS
6010 test -z "$as_dir" && as_dir=.
6011 for ac_exec_ext in '' $ac_executable_extensions; do
6012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6013 ac_cv_prog_LINT="$ac_prog"
6014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6015 break 2
6017 done
6018 done
6019 IFS=$as_save_IFS
6023 LINT=$ac_cv_prog_LINT
6024 if test -n "$LINT"; then
6025 { echo "$as_me:$LINENO: result: $LINT" >&5
6026 echo "${ECHO_T}$LINT" >&6; }
6027 else
6028 { echo "$as_me:$LINENO: result: no" >&5
6029 echo "${ECHO_T}no" >&6; }
6033 test -n "$LINT" && break
6034 done
6036 if test "$LINT" = "lint"
6037 then
6038 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6043 for ac_prog in fontforge
6045 # Extract the first word of "$ac_prog", so it can be a program name with args.
6046 set dummy $ac_prog; ac_word=$2
6047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6049 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6050 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 else
6052 if test -n "$FONTFORGE"; then
6053 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6054 else
6055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6056 for as_dir in $PATH
6058 IFS=$as_save_IFS
6059 test -z "$as_dir" && as_dir=.
6060 for ac_exec_ext in '' $ac_executable_extensions; do
6061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6062 ac_cv_prog_FONTFORGE="$ac_prog"
6063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6064 break 2
6066 done
6067 done
6068 IFS=$as_save_IFS
6072 FONTFORGE=$ac_cv_prog_FONTFORGE
6073 if test -n "$FONTFORGE"; then
6074 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6075 echo "${ECHO_T}$FONTFORGE" >&6; }
6076 else
6077 { echo "$as_me:$LINENO: result: no" >&5
6078 echo "${ECHO_T}no" >&6; }
6082 test -n "$FONTFORGE" && break
6083 done
6084 test -n "$FONTFORGE" || FONTFORGE="false"
6086 for ac_prog in pkg-config
6088 # Extract the first word of "$ac_prog", so it can be a program name with args.
6089 set dummy $ac_prog; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6094 else
6095 if test -n "$PKG_CONFIG"; then
6096 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_PKG_CONFIG="$ac_prog"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6109 done
6110 done
6111 IFS=$as_save_IFS
6115 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6116 if test -n "$PKG_CONFIG"; then
6117 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6118 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6119 else
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6125 test -n "$PKG_CONFIG" && break
6126 done
6127 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6130 case $host_cpu in
6131 *i[3456789]86*)
6132 # Extract the first word of "prelink", so it can be a program name with args.
6133 set dummy prelink; ac_word=$2
6134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6136 if test "${ac_cv_path_PRELINK+set}" = set; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 else
6139 case $PRELINK in
6140 [\\/]* | ?:[\\/]*)
6141 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6145 for as_dir in /sbin /usr/sbin $PATH
6147 IFS=$as_save_IFS
6148 test -z "$as_dir" && as_dir=.
6149 for ac_exec_ext in '' $ac_executable_extensions; do
6150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6151 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6153 break 2
6155 done
6156 done
6157 IFS=$as_save_IFS
6159 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6161 esac
6163 PRELINK=$ac_cv_path_PRELINK
6164 if test -n "$PRELINK"; then
6165 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6166 echo "${ECHO_T}$PRELINK" >&6; }
6167 else
6168 { echo "$as_me:$LINENO: result: no" >&5
6169 echo "${ECHO_T}no" >&6; }
6174 esac
6178 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6179 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6180 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 else
6183 ac_check_lib_save_LIBS=$LIBS
6184 LIBS="-li386 $LIBS"
6185 cat >conftest.$ac_ext <<_ACEOF
6186 /* confdefs.h. */
6187 _ACEOF
6188 cat confdefs.h >>conftest.$ac_ext
6189 cat >>conftest.$ac_ext <<_ACEOF
6190 /* end confdefs.h. */
6192 /* Override any GCC internal prototype to avoid an error.
6193 Use char because int might match the return type of a GCC
6194 builtin and then its argument prototype would still apply. */
6195 #ifdef __cplusplus
6196 extern "C"
6197 #endif
6198 char i386_set_ldt ();
6200 main ()
6202 return i386_set_ldt ();
6204 return 0;
6206 _ACEOF
6207 rm -f conftest.$ac_objext conftest$ac_exeext
6208 if { (ac_try="$ac_link"
6209 case "(($ac_try" in
6210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6211 *) ac_try_echo=$ac_try;;
6212 esac
6213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6214 (eval "$ac_link") 2>conftest.er1
6215 ac_status=$?
6216 grep -v '^ *+' conftest.er1 >conftest.err
6217 rm -f conftest.er1
6218 cat conftest.err >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); } && {
6221 test -z "$ac_c_werror_flag" ||
6222 test ! -s conftest.err
6223 } && test -s conftest$ac_exeext &&
6224 $as_test_x conftest$ac_exeext; then
6225 ac_cv_lib_i386_i386_set_ldt=yes
6226 else
6227 echo "$as_me: failed program was:" >&5
6228 sed 's/^/| /' conftest.$ac_ext >&5
6230 ac_cv_lib_i386_i386_set_ldt=no
6233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6234 conftest$ac_exeext conftest.$ac_ext
6235 LIBS=$ac_check_lib_save_LIBS
6237 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6238 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6239 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6240 cat >>confdefs.h <<_ACEOF
6241 #define HAVE_LIBI386 1
6242 _ACEOF
6244 LIBS="-li386 $LIBS"
6249 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6250 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6251 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6253 else
6254 ac_check_lib_save_LIBS=$LIBS
6255 LIBS="-lossaudio $LIBS"
6256 cat >conftest.$ac_ext <<_ACEOF
6257 /* confdefs.h. */
6258 _ACEOF
6259 cat confdefs.h >>conftest.$ac_ext
6260 cat >>conftest.$ac_ext <<_ACEOF
6261 /* end confdefs.h. */
6263 /* Override any GCC internal prototype to avoid an error.
6264 Use char because int might match the return type of a GCC
6265 builtin and then its argument prototype would still apply. */
6266 #ifdef __cplusplus
6267 extern "C"
6268 #endif
6269 char _oss_ioctl ();
6271 main ()
6273 return _oss_ioctl ();
6275 return 0;
6277 _ACEOF
6278 rm -f conftest.$ac_objext conftest$ac_exeext
6279 if { (ac_try="$ac_link"
6280 case "(($ac_try" in
6281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6282 *) ac_try_echo=$ac_try;;
6283 esac
6284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6285 (eval "$ac_link") 2>conftest.er1
6286 ac_status=$?
6287 grep -v '^ *+' conftest.er1 >conftest.err
6288 rm -f conftest.er1
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } && {
6292 test -z "$ac_c_werror_flag" ||
6293 test ! -s conftest.err
6294 } && test -s conftest$ac_exeext &&
6295 $as_test_x conftest$ac_exeext; then
6296 ac_cv_lib_ossaudio__oss_ioctl=yes
6297 else
6298 echo "$as_me: failed program was:" >&5
6299 sed 's/^/| /' conftest.$ac_ext >&5
6301 ac_cv_lib_ossaudio__oss_ioctl=no
6304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6305 conftest$ac_exeext conftest.$ac_ext
6306 LIBS=$ac_check_lib_save_LIBS
6308 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6309 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6310 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6311 cat >>confdefs.h <<_ACEOF
6312 #define HAVE_LIBOSSAUDIO 1
6313 _ACEOF
6315 LIBS="-lossaudio $LIBS"
6320 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6321 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6322 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6323 echo $ECHO_N "(cached) $ECHO_C" >&6
6324 else
6325 ac_check_lib_save_LIBS=$LIBS
6326 LIBS="-lxpg4 $LIBS"
6327 cat >conftest.$ac_ext <<_ACEOF
6328 /* confdefs.h. */
6329 _ACEOF
6330 cat confdefs.h >>conftest.$ac_ext
6331 cat >>conftest.$ac_ext <<_ACEOF
6332 /* end confdefs.h. */
6334 /* Override any GCC internal prototype to avoid an error.
6335 Use char because int might match the return type of a GCC
6336 builtin and then its argument prototype would still apply. */
6337 #ifdef __cplusplus
6338 extern "C"
6339 #endif
6340 char _xpg4_setrunelocale ();
6342 main ()
6344 return _xpg4_setrunelocale ();
6346 return 0;
6348 _ACEOF
6349 rm -f conftest.$ac_objext conftest$ac_exeext
6350 if { (ac_try="$ac_link"
6351 case "(($ac_try" in
6352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6353 *) ac_try_echo=$ac_try;;
6354 esac
6355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6356 (eval "$ac_link") 2>conftest.er1
6357 ac_status=$?
6358 grep -v '^ *+' conftest.er1 >conftest.err
6359 rm -f conftest.er1
6360 cat conftest.err >&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } && {
6363 test -z "$ac_c_werror_flag" ||
6364 test ! -s conftest.err
6365 } && test -s conftest$ac_exeext &&
6366 $as_test_x conftest$ac_exeext; then
6367 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6368 else
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.$ac_ext >&5
6372 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6376 conftest$ac_exeext conftest.$ac_ext
6377 LIBS=$ac_check_lib_save_LIBS
6379 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6380 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6381 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6382 cat >>confdefs.h <<_ACEOF
6383 #define HAVE_LIBXPG4 1
6384 _ACEOF
6386 LIBS="-lxpg4 $LIBS"
6390 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6391 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6392 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6393 echo $ECHO_N "(cached) $ECHO_C" >&6
6394 else
6395 ac_check_lib_save_LIBS=$LIBS
6396 LIBS="-lpthread $LIBS"
6397 cat >conftest.$ac_ext <<_ACEOF
6398 /* confdefs.h. */
6399 _ACEOF
6400 cat confdefs.h >>conftest.$ac_ext
6401 cat >>conftest.$ac_ext <<_ACEOF
6402 /* end confdefs.h. */
6404 /* Override any GCC internal prototype to avoid an error.
6405 Use char because int might match the return type of a GCC
6406 builtin and then its argument prototype would still apply. */
6407 #ifdef __cplusplus
6408 extern "C"
6409 #endif
6410 char pthread_create ();
6412 main ()
6414 return pthread_create ();
6416 return 0;
6418 _ACEOF
6419 rm -f conftest.$ac_objext conftest$ac_exeext
6420 if { (ac_try="$ac_link"
6421 case "(($ac_try" in
6422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6423 *) ac_try_echo=$ac_try;;
6424 esac
6425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6426 (eval "$ac_link") 2>conftest.er1
6427 ac_status=$?
6428 grep -v '^ *+' conftest.er1 >conftest.err
6429 rm -f conftest.er1
6430 cat conftest.err >&5
6431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6432 (exit $ac_status); } && {
6433 test -z "$ac_c_werror_flag" ||
6434 test ! -s conftest.err
6435 } && test -s conftest$ac_exeext &&
6436 $as_test_x conftest$ac_exeext; then
6437 ac_cv_lib_pthread_pthread_create=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 ac_cv_lib_pthread_pthread_create=no
6445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6446 conftest$ac_exeext conftest.$ac_ext
6447 LIBS=$ac_check_lib_save_LIBS
6449 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6450 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6451 if test $ac_cv_lib_pthread_pthread_create = yes; then
6452 LIBPTHREAD="-lpthread"
6457 XLIB=""
6459 XFILES=""
6461 OPENGLFILES=""
6463 GLU32FILES=""
6465 OPENGL_LIBS=""
6467 QUARTZFILES=""
6471 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6472 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6473 if test "${ac_cv_header_stdc+set}" = set; then
6474 echo $ECHO_N "(cached) $ECHO_C" >&6
6475 else
6476 cat >conftest.$ac_ext <<_ACEOF
6477 /* confdefs.h. */
6478 _ACEOF
6479 cat confdefs.h >>conftest.$ac_ext
6480 cat >>conftest.$ac_ext <<_ACEOF
6481 /* end confdefs.h. */
6482 #include <stdlib.h>
6483 #include <stdarg.h>
6484 #include <string.h>
6485 #include <float.h>
6488 main ()
6492 return 0;
6494 _ACEOF
6495 rm -f conftest.$ac_objext
6496 if { (ac_try="$ac_compile"
6497 case "(($ac_try" in
6498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6499 *) ac_try_echo=$ac_try;;
6500 esac
6501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6502 (eval "$ac_compile") 2>conftest.er1
6503 ac_status=$?
6504 grep -v '^ *+' conftest.er1 >conftest.err
6505 rm -f conftest.er1
6506 cat conftest.err >&5
6507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6508 (exit $ac_status); } && {
6509 test -z "$ac_c_werror_flag" ||
6510 test ! -s conftest.err
6511 } && test -s conftest.$ac_objext; then
6512 ac_cv_header_stdc=yes
6513 else
6514 echo "$as_me: failed program was:" >&5
6515 sed 's/^/| /' conftest.$ac_ext >&5
6517 ac_cv_header_stdc=no
6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6522 if test $ac_cv_header_stdc = yes; then
6523 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6530 #include <string.h>
6532 _ACEOF
6533 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6534 $EGREP "memchr" >/dev/null 2>&1; then
6536 else
6537 ac_cv_header_stdc=no
6539 rm -f conftest*
6543 if test $ac_cv_header_stdc = yes; then
6544 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6545 cat >conftest.$ac_ext <<_ACEOF
6546 /* confdefs.h. */
6547 _ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6551 #include <stdlib.h>
6553 _ACEOF
6554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6555 $EGREP "free" >/dev/null 2>&1; then
6557 else
6558 ac_cv_header_stdc=no
6560 rm -f conftest*
6564 if test $ac_cv_header_stdc = yes; then
6565 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6566 if test "$cross_compiling" = yes; then
6568 else
6569 cat >conftest.$ac_ext <<_ACEOF
6570 /* confdefs.h. */
6571 _ACEOF
6572 cat confdefs.h >>conftest.$ac_ext
6573 cat >>conftest.$ac_ext <<_ACEOF
6574 /* end confdefs.h. */
6575 #include <ctype.h>
6576 #include <stdlib.h>
6577 #if ((' ' & 0x0FF) == 0x020)
6578 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6579 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6580 #else
6581 # define ISLOWER(c) \
6582 (('a' <= (c) && (c) <= 'i') \
6583 || ('j' <= (c) && (c) <= 'r') \
6584 || ('s' <= (c) && (c) <= 'z'))
6585 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6586 #endif
6588 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6590 main ()
6592 int i;
6593 for (i = 0; i < 256; i++)
6594 if (XOR (islower (i), ISLOWER (i))
6595 || toupper (i) != TOUPPER (i))
6596 return 2;
6597 return 0;
6599 _ACEOF
6600 rm -f conftest$ac_exeext
6601 if { (ac_try="$ac_link"
6602 case "(($ac_try" in
6603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6604 *) ac_try_echo=$ac_try;;
6605 esac
6606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6607 (eval "$ac_link") 2>&5
6608 ac_status=$?
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6611 { (case "(($ac_try" in
6612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6613 *) ac_try_echo=$ac_try;;
6614 esac
6615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6616 (eval "$ac_try") 2>&5
6617 ac_status=$?
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; }; then
6621 else
6622 echo "$as_me: program exited with status $ac_status" >&5
6623 echo "$as_me: failed program was:" >&5
6624 sed 's/^/| /' conftest.$ac_ext >&5
6626 ( exit $ac_status )
6627 ac_cv_header_stdc=no
6629 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6635 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6636 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6637 if test $ac_cv_header_stdc = yes; then
6639 cat >>confdefs.h <<\_ACEOF
6640 #define STDC_HEADERS 1
6641 _ACEOF
6645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6655 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6656 inttypes.h stdint.h unistd.h
6658 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6659 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6660 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6661 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6662 echo $ECHO_N "(cached) $ECHO_C" >&6
6663 else
6664 cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h. */
6666 _ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6670 $ac_includes_default
6672 #include <$ac_header>
6673 _ACEOF
6674 rm -f conftest.$ac_objext
6675 if { (ac_try="$ac_compile"
6676 case "(($ac_try" in
6677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6678 *) ac_try_echo=$ac_try;;
6679 esac
6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6681 (eval "$ac_compile") 2>conftest.er1
6682 ac_status=$?
6683 grep -v '^ *+' conftest.er1 >conftest.err
6684 rm -f conftest.er1
6685 cat conftest.err >&5
6686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687 (exit $ac_status); } && {
6688 test -z "$ac_c_werror_flag" ||
6689 test ! -s conftest.err
6690 } && test -s conftest.$ac_objext; then
6691 eval "$as_ac_Header=yes"
6692 else
6693 echo "$as_me: failed program was:" >&5
6694 sed 's/^/| /' conftest.$ac_ext >&5
6696 eval "$as_ac_Header=no"
6699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6701 ac_res=`eval echo '${'$as_ac_Header'}'`
6702 { echo "$as_me:$LINENO: result: $ac_res" >&5
6703 echo "${ECHO_T}$ac_res" >&6; }
6704 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6705 cat >>confdefs.h <<_ACEOF
6706 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6707 _ACEOF
6711 done
6824 for ac_header in \
6825 AudioUnit/AudioUnit.h \
6826 Carbon/Carbon.h \
6827 CoreAudio/CoreAudio.h \
6828 DiskArbitration/DiskArbitration.h \
6829 IOKit/IOKitLib.h \
6830 alsa/asoundlib.h \
6831 arpa/inet.h \
6832 arpa/nameser.h \
6833 asm/types.h \
6834 capi20.h \
6835 cups/cups.h \
6836 curses.h \
6837 direct.h \
6838 dlfcn.h \
6839 elf.h \
6840 float.h \
6841 fontconfig/fontconfig.h \
6842 getopt.h \
6843 ieeefp.h \
6844 io.h \
6845 jack/jack.h \
6846 jpeglib.h \
6847 lber.h \
6848 lcms.h \
6849 lcms/lcms.h \
6850 ldap.h \
6851 libaudioio.h \
6852 link.h \
6853 linux/cdrom.h \
6854 linux/compiler.h \
6855 linux/hdreg.h \
6856 linux/input.h \
6857 linux/ioctl.h \
6858 linux/joystick.h \
6859 linux/major.h \
6860 linux/param.h \
6861 linux/serial.h \
6862 linux/ucdrom.h \
6863 mach/mach.h \
6864 mach/machine.h \
6865 machine/cpu.h \
6866 machine/limits.h \
6867 machine/soundcard.h \
6868 mntent.h \
6869 ncurses.h \
6870 netdb.h \
6871 netinet/in.h \
6872 netinet/in_systm.h \
6873 netinet/tcp.h \
6874 netinet/tcp_fsm.h \
6875 openssl/err.h \
6876 openssl/ssl.h \
6877 png.h \
6878 poll.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 regex.h \
6883 sched.h \
6884 scsi/scsi.h \
6885 scsi/scsi_ioctl.h \
6886 scsi/sg.h \
6887 soundcard.h \
6888 stdint.h \
6889 strings.h \
6890 sys/asoundlib.h \
6891 sys/cdio.h \
6892 sys/elf32.h \
6893 sys/epoll.h \
6894 sys/errno.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/ioctl.h \
6899 sys/ipc.h \
6900 sys/limits.h \
6901 sys/link.h \
6902 sys/lwp.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/ptrace.h \
6911 sys/reg.h \
6912 sys/resource.h \
6913 sys/scsiio.h \
6914 sys/shm.h \
6915 sys/signal.h \
6916 sys/socket.h \
6917 sys/sockio.h \
6918 sys/soundcard.h \
6919 sys/statvfs.h \
6920 sys/strtio.h \
6921 sys/syscall.h \
6922 sys/sysctl.h \
6923 sys/time.h \
6924 sys/times.h \
6925 sys/uio.h \
6926 sys/un.h \
6927 sys/vm86.h \
6928 sys/wait.h \
6929 syscall.h \
6930 termios.h \
6931 unicode/ubidi.h \
6932 unistd.h \
6933 utime.h \
6934 valgrind/memcheck.h
6937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_res=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6947 else
6948 # Is the header compilable?
6949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6951 cat >conftest.$ac_ext <<_ACEOF
6952 /* confdefs.h. */
6953 _ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 #include <$ac_header>
6959 _ACEOF
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6962 case "(($ac_try" in
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6965 esac
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.$ac_objext; then
6977 ac_header_compiler=yes
6978 else
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 ac_header_compiler=no
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6987 echo "${ECHO_T}$ac_header_compiler" >&6; }
6989 # Is the header present?
6990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6992 cat >conftest.$ac_ext <<_ACEOF
6993 /* confdefs.h. */
6994 _ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <$ac_header>
6999 _ACEOF
7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
7001 case "(($ac_try" in
7002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7003 *) ac_try_echo=$ac_try;;
7004 esac
7005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7007 ac_status=$?
7008 grep -v '^ *+' conftest.er1 >conftest.err
7009 rm -f conftest.er1
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } >/dev/null && {
7013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7015 }; then
7016 ac_header_preproc=yes
7017 else
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_header_preproc=no
7024 rm -f conftest.err conftest.$ac_ext
7025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026 echo "${ECHO_T}$ac_header_preproc" >&6; }
7028 # So? What about this header?
7029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7030 yes:no: )
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035 ac_header_preproc=yes
7037 no:yes:* )
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7050 ( cat <<\_ASBOX
7051 ## ------------------------------------ ##
7052 ## Report this to wine-devel@winehq.org ##
7053 ## ------------------------------------ ##
7054 _ASBOX
7055 ) | sed "s/^/$as_me: WARNING: /" >&2
7057 esac
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7062 else
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h <<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7073 _ACEOF
7077 done
7079 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7080 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7081 if test "${ac_cv_header_stat_broken+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 else
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <sys/stat.h>
7093 #if defined S_ISBLK && defined S_IFDIR
7094 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7095 #endif
7097 #if defined S_ISBLK && defined S_IFCHR
7098 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7099 #endif
7101 #if defined S_ISLNK && defined S_IFREG
7102 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7103 #endif
7105 #if defined S_ISSOCK && defined S_IFREG
7106 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7107 #endif
7109 _ACEOF
7110 rm -f conftest.$ac_objext
7111 if { (ac_try="$ac_compile"
7112 case "(($ac_try" in
7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7115 esac
7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
7118 ac_status=$?
7119 grep -v '^ *+' conftest.er1 >conftest.err
7120 rm -f conftest.er1
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && {
7124 test -z "$ac_c_werror_flag" ||
7125 test ! -s conftest.err
7126 } && test -s conftest.$ac_objext; then
7127 ac_cv_header_stat_broken=no
7128 else
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7132 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7138 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 cat >>confdefs.h <<\_ACEOF
7142 #define STAT_MACROS_BROKEN 1
7143 _ACEOF
7153 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 else
7161 cat >conftest.$ac_ext <<_ACEOF
7162 /* confdefs.h. */
7163 _ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_PARAM_H
7169 # include <sys/param.h>
7170 #endif
7172 #include <$ac_header>
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7176 case "(($ac_try" in
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7179 esac
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7182 ac_status=$?
7183 grep -v '^ *+' conftest.er1 >conftest.err
7184 rm -f conftest.er1
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.$ac_objext; then
7191 eval "$as_ac_Header=yes"
7192 else
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h <<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7207 _ACEOF
7211 done
7220 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
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h. */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7239 #include <$ac_header>
7240 _ACEOF
7241 rm -f conftest.$ac_objext
7242 if { (ac_try="$ac_compile"
7243 case "(($ac_try" in
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7246 esac
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7249 ac_status=$?
7250 grep -v '^ *+' conftest.er1 >conftest.err
7251 rm -f conftest.er1
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7259 else
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval echo '${'$as_ac_Header'}'`
7269 { echo "$as_me:$LINENO: result: $ac_res" >&5
7270 echo "${ECHO_T}$ac_res" >&6; }
7271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7272 cat >>confdefs.h <<_ACEOF
7273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 _ACEOF
7278 done
7282 for ac_header in linux/ipx.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 else
7290 cat >conftest.$ac_ext <<_ACEOF
7291 /* confdefs.h. */
7292 _ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 # include <asm/types.h>
7299 #endif
7300 #if HAVE_SYS_SOCKET_H
7301 # include <sys/socket.h>
7302 #endif
7304 #include <$ac_header>
7305 _ACEOF
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7308 case "(($ac_try" in
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7311 esac
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7314 ac_status=$?
7315 grep -v '^ *+' conftest.er1 >conftest.err
7316 rm -f conftest.er1
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest.$ac_objext; then
7323 eval "$as_ac_Header=yes"
7324 else
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 eval "$as_ac_Header=no"
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7337 cat >>confdefs.h <<_ACEOF
7338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 _ACEOF
7343 done
7347 for ac_header in resolv.h
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 else
7355 cat >conftest.$ac_ext <<_ACEOF
7356 /* confdefs.h. */
7357 _ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7364 #endif
7365 #if HAVE_NETINET_IN_H
7366 # include <netinet/in.h>
7367 #endif
7368 #if HAVE_ARPA_NAMESER_H
7369 # include <arpa/nameser.h>
7370 #endif
7372 #include <$ac_header>
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7376 case "(($ac_try" in
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7379 esac
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7382 ac_status=$?
7383 grep -v '^ *+' conftest.er1 >conftest.err
7384 rm -f conftest.er1
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 eval "$as_ac_Header=yes"
7392 else
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 eval "$as_ac_Header=no"
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 ac_res=`eval echo '${'$as_ac_Header'}'`
7402 { echo "$as_me:$LINENO: result: $ac_res" >&5
7403 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7407 _ACEOF
7411 done
7415 for ac_header in ucontext.h
7417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 else
7423 cat >conftest.$ac_ext <<_ACEOF
7424 /* confdefs.h. */
7425 _ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429 #include <signal.h>
7431 #include <$ac_header>
7432 _ACEOF
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7435 case "(($ac_try" in
7436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7438 esac
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7441 ac_status=$?
7442 grep -v '^ *+' conftest.er1 >conftest.err
7443 rm -f conftest.er1
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 eval "$as_ac_Header=yes"
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 eval "$as_ac_Header=no"
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7460 ac_res=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7464 cat >>confdefs.h <<_ACEOF
7465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7466 _ACEOF
7470 done
7474 for ac_header in pthread_np.h
7476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else
7482 cat >conftest.$ac_ext <<_ACEOF
7483 /* confdefs.h. */
7484 _ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 #ifdef HAVE_PTHREAD_H
7489 #include <pthread.h>
7490 #endif
7492 #include <$ac_header>
7493 _ACEOF
7494 rm -f conftest.$ac_objext
7495 if { (ac_try="$ac_compile"
7496 case "(($ac_try" in
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7499 esac
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compile") 2>conftest.er1
7502 ac_status=$?
7503 grep -v '^ *+' conftest.er1 >conftest.err
7504 rm -f conftest.er1
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then
7511 eval "$as_ac_Header=yes"
7512 else
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 eval "$as_ac_Header=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 ac_res=`eval echo '${'$as_ac_Header'}'`
7522 { echo "$as_me:$LINENO: result: $ac_res" >&5
7523 echo "${ECHO_T}$ac_res" >&6; }
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7527 _ACEOF
7531 done
7535 for ac_header in linux/videodev.h
7537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 else
7543 cat >conftest.$ac_ext <<_ACEOF
7544 /* confdefs.h. */
7545 _ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 #ifdef HAVE_SYS_TIME_H
7550 #include <sys/time.h>
7551 #endif
7552 #include <sys/types.h>
7553 #ifdef HAVE_ASM_TYPES_H
7554 #include <asm/types.h>
7555 #endif
7557 #include <$ac_header>
7558 _ACEOF
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7561 case "(($ac_try" in
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7564 esac
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7567 ac_status=$?
7568 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 eval "$as_ac_Header=yes"
7577 else
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 eval "$as_ac_Header=no"
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 ac_res=`eval echo '${'$as_ac_Header'}'`
7587 { echo "$as_me:$LINENO: result: $ac_res" >&5
7588 echo "${ECHO_T}$ac_res" >&6; }
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h <<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7592 _ACEOF
7596 done
7600 for ac_header in linux/capi.h
7602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 else
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h. */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 #define __user
7616 #include <$ac_header>
7617 _ACEOF
7618 rm -f conftest.$ac_objext
7619 if { (ac_try="$ac_compile"
7620 case "(($ac_try" in
7621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7623 esac
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7626 ac_status=$?
7627 grep -v '^ *+' conftest.er1 >conftest.err
7628 rm -f conftest.er1
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7636 else
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 _ACEOF
7655 done
7659 DLLEXT=""
7661 DLLFLAGS="-D_REENTRANT"
7663 LDSHARED=""
7665 LDDLLFLAGS=""
7667 LIBEXT="so"
7669 IMPLIBEXT="def"
7671 LDRPATH_INSTALL=""
7673 LDRPATH_LOCAL=""
7675 # Extract the first word of "ldd", so it can be a program name with args.
7676 set dummy ldd; ac_word=$2
7677 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7679 if test "${ac_cv_path_LDD+set}" = set; then
7680 echo $ECHO_N "(cached) $ECHO_C" >&6
7681 else
7682 case $LDD in
7683 [\\/]* | ?:[\\/]*)
7684 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7688 as_dummy="/sbin:/usr/sbin:$PATH"
7689 for as_dir in $as_dummy
7691 IFS=$as_save_IFS
7692 test -z "$as_dir" && as_dir=.
7693 for ac_exec_ext in '' $ac_executable_extensions; do
7694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7695 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7697 break 2
7699 done
7700 done
7701 IFS=$as_save_IFS
7703 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7705 esac
7707 LDD=$ac_cv_path_LDD
7708 if test -n "$LDD"; then
7709 { echo "$as_me:$LINENO: result: $LDD" >&5
7710 echo "${ECHO_T}$LDD" >&6; }
7711 else
7712 { echo "$as_me:$LINENO: result: no" >&5
7713 echo "${ECHO_T}no" >&6; }
7718 case $host_os in
7719 cygwin*|mingw32*)
7720 if test -n "$ac_tool_prefix"; then
7721 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7722 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7723 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7725 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
7726 echo $ECHO_N "(cached) $ECHO_C" >&6
7727 else
7728 if test -n "$DLLTOOL"; then
7729 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7730 else
7731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7732 for as_dir in $PATH
7734 IFS=$as_save_IFS
7735 test -z "$as_dir" && as_dir=.
7736 for ac_exec_ext in '' $ac_executable_extensions; do
7737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7738 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7740 break 2
7742 done
7743 done
7744 IFS=$as_save_IFS
7748 DLLTOOL=$ac_cv_prog_DLLTOOL
7749 if test -n "$DLLTOOL"; then
7750 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
7751 echo "${ECHO_T}$DLLTOOL" >&6; }
7752 else
7753 { echo "$as_me:$LINENO: result: no" >&5
7754 echo "${ECHO_T}no" >&6; }
7759 if test -z "$ac_cv_prog_DLLTOOL"; then
7760 ac_ct_DLLTOOL=$DLLTOOL
7761 # Extract the first word of "dlltool", so it can be a program name with args.
7762 set dummy dlltool; ac_word=$2
7763 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7765 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
7766 echo $ECHO_N "(cached) $ECHO_C" >&6
7767 else
7768 if test -n "$ac_ct_DLLTOOL"; then
7769 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7770 else
7771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7772 for as_dir in $PATH
7774 IFS=$as_save_IFS
7775 test -z "$as_dir" && as_dir=.
7776 for ac_exec_ext in '' $ac_executable_extensions; do
7777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7778 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7780 break 2
7782 done
7783 done
7784 IFS=$as_save_IFS
7788 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7789 if test -n "$ac_ct_DLLTOOL"; then
7790 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
7791 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
7792 else
7793 { echo "$as_me:$LINENO: result: no" >&5
7794 echo "${ECHO_T}no" >&6; }
7797 if test "x$ac_ct_DLLTOOL" = x; then
7798 DLLTOOL="false"
7799 else
7800 case $cross_compiling:$ac_tool_warned in
7801 yes:)
7802 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7803 whose name does not start with the host triplet. If you think this
7804 configuration is useful to you, please write to autoconf@gnu.org." >&5
7805 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7806 whose name does not start with the host triplet. If you think this
7807 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7808 ac_tool_warned=yes ;;
7809 esac
7810 DLLTOOL=$ac_ct_DLLTOOL
7812 else
7813 DLLTOOL="$ac_cv_prog_DLLTOOL"
7816 if test -n "$ac_tool_prefix"; then
7817 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
7818 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
7819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7821 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6
7823 else
7824 if test -n "$DLLWRAP"; then
7825 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
7826 else
7827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7828 for as_dir in $PATH
7830 IFS=$as_save_IFS
7831 test -z "$as_dir" && as_dir=.
7832 for ac_exec_ext in '' $ac_executable_extensions; do
7833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7834 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
7835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7836 break 2
7838 done
7839 done
7840 IFS=$as_save_IFS
7844 DLLWRAP=$ac_cv_prog_DLLWRAP
7845 if test -n "$DLLWRAP"; then
7846 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
7847 echo "${ECHO_T}$DLLWRAP" >&6; }
7848 else
7849 { echo "$as_me:$LINENO: result: no" >&5
7850 echo "${ECHO_T}no" >&6; }
7855 if test -z "$ac_cv_prog_DLLWRAP"; then
7856 ac_ct_DLLWRAP=$DLLWRAP
7857 # Extract the first word of "dllwrap", so it can be a program name with args.
7858 set dummy dllwrap; ac_word=$2
7859 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7861 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
7862 echo $ECHO_N "(cached) $ECHO_C" >&6
7863 else
7864 if test -n "$ac_ct_DLLWRAP"; then
7865 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
7866 else
7867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7868 for as_dir in $PATH
7870 IFS=$as_save_IFS
7871 test -z "$as_dir" && as_dir=.
7872 for ac_exec_ext in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
7875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7876 break 2
7878 done
7879 done
7880 IFS=$as_save_IFS
7884 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
7885 if test -n "$ac_ct_DLLWRAP"; then
7886 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
7887 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
7888 else
7889 { echo "$as_me:$LINENO: result: no" >&5
7890 echo "${ECHO_T}no" >&6; }
7893 if test "x$ac_ct_DLLWRAP" = x; then
7894 DLLWRAP="false"
7895 else
7896 case $cross_compiling:$ac_tool_warned in
7897 yes:)
7898 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7899 whose name does not start with the host triplet. If you think this
7900 configuration is useful to you, please write to autoconf@gnu.org." >&5
7901 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7902 whose name does not start with the host triplet. If you think this
7903 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
7904 ac_tool_warned=yes ;;
7905 esac
7906 DLLWRAP=$ac_ct_DLLWRAP
7908 else
7909 DLLWRAP="$ac_cv_prog_DLLWRAP"
7912 if test -n "$ac_tool_prefix"; then
7913 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7914 set dummy ${ac_tool_prefix}ar; ac_word=$2
7915 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7917 if test "${ac_cv_prog_MINGWAR+set}" = set; then
7918 echo $ECHO_N "(cached) $ECHO_C" >&6
7919 else
7920 if test -n "$MINGWAR"; then
7921 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
7922 else
7923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7924 for as_dir in $PATH
7926 IFS=$as_save_IFS
7927 test -z "$as_dir" && as_dir=.
7928 for ac_exec_ext in '' $ac_executable_extensions; do
7929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7930 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
7931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7932 break 2
7934 done
7935 done
7936 IFS=$as_save_IFS
7940 MINGWAR=$ac_cv_prog_MINGWAR
7941 if test -n "$MINGWAR"; then
7942 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
7943 echo "${ECHO_T}$MINGWAR" >&6; }
7944 else
7945 { echo "$as_me:$LINENO: result: no" >&5
7946 echo "${ECHO_T}no" >&6; }
7951 if test -z "$ac_cv_prog_MINGWAR"; then
7952 ac_ct_MINGWAR=$MINGWAR
7953 # Extract the first word of "ar", so it can be a program name with args.
7954 set dummy ar; ac_word=$2
7955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
7956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
7957 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7959 else
7960 if test -n "$ac_ct_MINGWAR"; then
7961 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
7962 else
7963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7964 for as_dir in $PATH
7966 IFS=$as_save_IFS
7967 test -z "$as_dir" && as_dir=.
7968 for ac_exec_ext in '' $ac_executable_extensions; do
7969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7970 ac_cv_prog_ac_ct_MINGWAR="ar"
7971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7972 break 2
7974 done
7975 done
7976 IFS=$as_save_IFS
7980 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
7981 if test -n "$ac_ct_MINGWAR"; then
7982 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
7983 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
7984 else
7985 { echo "$as_me:$LINENO: result: no" >&5
7986 echo "${ECHO_T}no" >&6; }
7989 if test "x$ac_ct_MINGWAR" = x; then
7990 MINGWAR="false"
7991 else
7992 case $cross_compiling:$ac_tool_warned in
7993 yes:)
7994 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
7995 whose name does not start with the host triplet. If you think this
7996 configuration is useful to you, please write to autoconf@gnu.org." >&5
7997 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
7998 whose name does not start with the host triplet. If you think this
7999 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
8000 ac_tool_warned=yes ;;
8001 esac
8002 MINGWAR=$ac_ct_MINGWAR
8004 else
8005 MINGWAR="$ac_cv_prog_MINGWAR"
8008 if test "$DLLWRAP" = "false"; then
8009 LIBEXT="a"
8010 else
8011 LIBEXT="dll"
8013 IMPLIBEXT="a"
8014 WIN16_FILES=""
8015 WIN16_INSTALL=""
8017 darwin*|macosx*)
8018 DLLEXT=".so"
8019 LIBEXT="dylib"
8020 DLLFLAGS="$DLLFLAGS -fPIC"
8021 LDDLLFLAGS="-bundle -multiply_defined suppress"
8022 LIBWINE_LDFLAGS="-multiply_defined suppress"
8023 LDSHARED="\$(CC) -dynamiclib"
8024 STRIP="$STRIP -x"
8025 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
8026 COREFOUNDATIONLIB="-framework CoreFoundation"
8028 IOKITLIB="-framework IOKit -framework CoreFoundation"
8030 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
8032 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8033 then
8034 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
8037 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8038 then
8039 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8042 case $host_cpu in
8043 *powerpc*)
8044 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
8045 esac
8046 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8047 then
8048 CARBONLIB="-framework Carbon"
8050 QUARTZFILES='$(QUARTZFILES)'
8054 DLLFLAGS="$DLLFLAGS -fPIC"
8055 DLLEXT=".so"
8056 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
8057 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
8058 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
8059 echo $ECHO_N "(cached) $ECHO_C" >&6
8060 else
8061 ac_wine_try_cflags_saved=$CFLAGS
8062 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8063 cat >conftest.$ac_ext <<_ACEOF
8064 void myfunc() {}
8065 _ACEOF
8066 rm -f conftest.$ac_objext conftest$ac_exeext
8067 if { (ac_try="$ac_link"
8068 case "(($ac_try" in
8069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8070 *) ac_try_echo=$ac_try;;
8071 esac
8072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8073 (eval "$ac_link") 2>conftest.er1
8074 ac_status=$?
8075 grep -v '^ *+' conftest.er1 >conftest.err
8076 rm -f conftest.er1
8077 cat conftest.err >&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); } && {
8080 test -z "$ac_c_werror_flag" ||
8081 test ! -s conftest.err
8082 } && test -s conftest$ac_exeext &&
8083 $as_test_x conftest$ac_exeext; then
8084 ac_cv_c_dll_gnuelf="yes"
8085 else
8086 echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.$ac_ext >&5
8089 ac_cv_c_dll_gnuelf="no"
8092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8093 conftest$ac_exeext conftest.$ac_ext
8094 CFLAGS=$ac_wine_try_cflags_saved
8096 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
8097 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
8098 if test "$ac_cv_c_dll_gnuelf" = "yes"
8099 then
8100 LDSHARED="\$(CC) -shared"
8101 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
8102 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8103 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
8104 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8106 else
8107 ac_wine_try_cflags_saved=$CFLAGS
8108 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8109 cat >conftest.$ac_ext <<_ACEOF
8110 /* confdefs.h. */
8111 _ACEOF
8112 cat confdefs.h >>conftest.$ac_ext
8113 cat >>conftest.$ac_ext <<_ACEOF
8114 /* end confdefs.h. */
8117 main ()
8121 return 0;
8123 _ACEOF
8124 rm -f conftest.$ac_objext conftest$ac_exeext
8125 if { (ac_try="$ac_link"
8126 case "(($ac_try" in
8127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8128 *) ac_try_echo=$ac_try;;
8129 esac
8130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8131 (eval "$ac_link") 2>conftest.er1
8132 ac_status=$?
8133 grep -v '^ *+' conftest.er1 >conftest.err
8134 rm -f conftest.er1
8135 cat conftest.err >&5
8136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8137 (exit $ac_status); } && {
8138 test -z "$ac_c_werror_flag" ||
8139 test ! -s conftest.err
8140 } && test -s conftest$ac_exeext &&
8141 $as_test_x conftest$ac_exeext; then
8142 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8143 else
8144 echo "$as_me: failed program was:" >&5
8145 sed 's/^/| /' conftest.$ac_ext >&5
8147 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8151 conftest$ac_exeext conftest.$ac_ext
8152 CFLAGS=$ac_wine_try_cflags_saved
8154 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8155 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8156 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
8157 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
8158 else
8159 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8160 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
8161 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
8162 echo $ECHO_N "(cached) $ECHO_C" >&6
8163 else
8164 ac_wine_try_cflags_saved=$CFLAGS
8165 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8166 cat >conftest.$ac_ext <<_ACEOF
8167 /* confdefs.h. */
8168 _ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8174 main ()
8178 return 0;
8180 _ACEOF
8181 rm -f conftest.$ac_objext conftest$ac_exeext
8182 if { (ac_try="$ac_link"
8183 case "(($ac_try" in
8184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8185 *) ac_try_echo=$ac_try;;
8186 esac
8187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8188 (eval "$ac_link") 2>conftest.er1
8189 ac_status=$?
8190 grep -v '^ *+' conftest.er1 >conftest.err
8191 rm -f conftest.er1
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && {
8195 test -z "$ac_c_werror_flag" ||
8196 test ! -s conftest.err
8197 } && test -s conftest$ac_exeext &&
8198 $as_test_x conftest$ac_exeext; then
8199 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8200 else
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8208 conftest$ac_exeext conftest.$ac_ext
8209 CFLAGS=$ac_wine_try_cflags_saved
8211 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8212 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8213 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
8214 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
8220 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
8221 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
8222 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
8223 echo $ECHO_N "(cached) $ECHO_C" >&6
8224 else
8225 ac_wine_try_cflags_saved=$CFLAGS
8226 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
8227 cat >conftest.$ac_ext <<_ACEOF
8228 /* confdefs.h. */
8229 _ACEOF
8230 cat confdefs.h >>conftest.$ac_ext
8231 cat >>conftest.$ac_ext <<_ACEOF
8232 /* end confdefs.h. */
8235 main ()
8239 return 0;
8241 _ACEOF
8242 rm -f conftest.$ac_objext conftest$ac_exeext
8243 if { (ac_try="$ac_link"
8244 case "(($ac_try" in
8245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8246 *) ac_try_echo=$ac_try;;
8247 esac
8248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8249 (eval "$ac_link") 2>conftest.er1
8250 ac_status=$?
8251 grep -v '^ *+' conftest.er1 >conftest.err
8252 rm -f conftest.er1
8253 cat conftest.err >&5
8254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8255 (exit $ac_status); } && {
8256 test -z "$ac_c_werror_flag" ||
8257 test ! -s conftest.err
8258 } && test -s conftest$ac_exeext &&
8259 $as_test_x conftest$ac_exeext; then
8260 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
8261 else
8262 echo "$as_me: failed program was:" >&5
8263 sed 's/^/| /' conftest.$ac_ext >&5
8265 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
8268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8269 conftest$ac_exeext conftest.$ac_ext
8270 CFLAGS=$ac_wine_try_cflags_saved
8272 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
8273 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
8274 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
8275 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
8279 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
8280 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
8281 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
8282 echo $ECHO_N "(cached) $ECHO_C" >&6
8283 else
8284 ac_wine_try_cflags_saved=$CFLAGS
8285 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
8286 cat >conftest.$ac_ext <<_ACEOF
8287 /* confdefs.h. */
8288 _ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8294 main ()
8298 return 0;
8300 _ACEOF
8301 rm -f conftest.$ac_objext conftest$ac_exeext
8302 if { (ac_try="$ac_link"
8303 case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8306 esac
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_link") 2>conftest.er1
8309 ac_status=$?
8310 grep -v '^ *+' conftest.er1 >conftest.err
8311 rm -f conftest.er1
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } && {
8315 test -z "$ac_c_werror_flag" ||
8316 test ! -s conftest.err
8317 } && test -s conftest$ac_exeext &&
8318 $as_test_x conftest$ac_exeext; then
8319 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
8320 else
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
8327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8328 conftest$ac_exeext conftest.$ac_ext
8329 CFLAGS=$ac_wine_try_cflags_saved
8331 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
8332 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
8333 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
8334 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
8338 echo '{ global: *; };' >conftest.map
8339 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8340 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
8341 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
8342 echo $ECHO_N "(cached) $ECHO_C" >&6
8343 else
8344 ac_wine_try_cflags_saved=$CFLAGS
8345 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8346 cat >conftest.$ac_ext <<_ACEOF
8347 /* confdefs.h. */
8348 _ACEOF
8349 cat confdefs.h >>conftest.$ac_ext
8350 cat >>conftest.$ac_ext <<_ACEOF
8351 /* end confdefs.h. */
8354 main ()
8358 return 0;
8360 _ACEOF
8361 rm -f conftest.$ac_objext conftest$ac_exeext
8362 if { (ac_try="$ac_link"
8363 case "(($ac_try" in
8364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8365 *) ac_try_echo=$ac_try;;
8366 esac
8367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8368 (eval "$ac_link") 2>conftest.er1
8369 ac_status=$?
8370 grep -v '^ *+' conftest.er1 >conftest.err
8371 rm -f conftest.er1
8372 cat conftest.err >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } && {
8375 test -z "$ac_c_werror_flag" ||
8376 test ! -s conftest.err
8377 } && test -s conftest$ac_exeext &&
8378 $as_test_x conftest$ac_exeext; then
8379 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8380 else
8381 echo "$as_me: failed program was:" >&5
8382 sed 's/^/| /' conftest.$ac_ext >&5
8384 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8388 conftest$ac_exeext conftest.$ac_ext
8389 CFLAGS=$ac_wine_try_cflags_saved
8391 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8392 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8393 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
8394 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
8397 rm -f conftest.map
8399 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8400 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
8401 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8403 else
8404 ac_wine_try_cflags_saved=$CFLAGS
8405 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8406 cat >conftest.$ac_ext <<_ACEOF
8407 /* confdefs.h. */
8408 _ACEOF
8409 cat confdefs.h >>conftest.$ac_ext
8410 cat >>conftest.$ac_ext <<_ACEOF
8411 /* end confdefs.h. */
8414 main ()
8418 return 0;
8420 _ACEOF
8421 rm -f conftest.$ac_objext conftest$ac_exeext
8422 if { (ac_try="$ac_link"
8423 case "(($ac_try" in
8424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8425 *) ac_try_echo=$ac_try;;
8426 esac
8427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8428 (eval "$ac_link") 2>conftest.er1
8429 ac_status=$?
8430 grep -v '^ *+' conftest.er1 >conftest.err
8431 rm -f conftest.er1
8432 cat conftest.err >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } && {
8435 test -z "$ac_c_werror_flag" ||
8436 test ! -s conftest.err
8437 } && test -s conftest$ac_exeext &&
8438 $as_test_x conftest$ac_exeext; then
8439 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8440 else
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.$ac_ext >&5
8444 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8448 conftest$ac_exeext conftest.$ac_ext
8449 CFLAGS=$ac_wine_try_cflags_saved
8451 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8452 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8453 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
8454 LDEXECFLAGS="-Wl,--export-dynamic"
8459 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
8460 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8461 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
8462 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8463 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 else
8465 ac_wine_try_cflags_saved=$CFLAGS
8466 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8467 cat >conftest.$ac_ext <<_ACEOF
8468 /* confdefs.h. */
8469 _ACEOF
8470 cat confdefs.h >>conftest.$ac_ext
8471 cat >>conftest.$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8475 main ()
8479 return 0;
8481 _ACEOF
8482 rm -f conftest.$ac_objext conftest$ac_exeext
8483 if { (ac_try="$ac_link"
8484 case "(($ac_try" in
8485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8486 *) ac_try_echo=$ac_try;;
8487 esac
8488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8489 (eval "$ac_link") 2>conftest.er1
8490 ac_status=$?
8491 grep -v '^ *+' conftest.er1 >conftest.err
8492 rm -f conftest.er1
8493 cat conftest.err >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); } && {
8496 test -z "$ac_c_werror_flag" ||
8497 test ! -s conftest.err
8498 } && test -s conftest$ac_exeext &&
8499 $as_test_x conftest$ac_exeext; then
8500 eval "$as_ac_var=yes"
8501 else
8502 echo "$as_me: failed program was:" >&5
8503 sed 's/^/| /' conftest.$ac_ext >&5
8505 eval "$as_ac_var=no"
8508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8509 conftest$ac_exeext conftest.$ac_ext
8510 CFLAGS=$ac_wine_try_cflags_saved
8512 ac_res=`eval echo '${'$as_ac_var'}'`
8513 { echo "$as_me:$LINENO: result: $ac_res" >&5
8514 echo "${ECHO_T}$ac_res" >&6; }
8515 if test `eval echo '${'$as_ac_var'}'` = yes; then
8516 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8517 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8518 else
8519 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
8520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8521 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
8522 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8523 echo $ECHO_N "(cached) $ECHO_C" >&6
8524 else
8525 ac_wine_try_cflags_saved=$CFLAGS
8526 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8527 cat >conftest.$ac_ext <<_ACEOF
8528 /* confdefs.h. */
8529 _ACEOF
8530 cat confdefs.h >>conftest.$ac_ext
8531 cat >>conftest.$ac_ext <<_ACEOF
8532 /* end confdefs.h. */
8535 main ()
8539 return 0;
8541 _ACEOF
8542 rm -f conftest.$ac_objext conftest$ac_exeext
8543 if { (ac_try="$ac_link"
8544 case "(($ac_try" in
8545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8546 *) ac_try_echo=$ac_try;;
8547 esac
8548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8549 (eval "$ac_link") 2>conftest.er1
8550 ac_status=$?
8551 grep -v '^ *+' conftest.er1 >conftest.err
8552 rm -f conftest.er1
8553 cat conftest.err >&5
8554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555 (exit $ac_status); } && {
8556 test -z "$ac_c_werror_flag" ||
8557 test ! -s conftest.err
8558 } && test -s conftest$ac_exeext &&
8559 $as_test_x conftest$ac_exeext; then
8560 eval "$as_ac_var=yes"
8561 else
8562 echo "$as_me: failed program was:" >&5
8563 sed 's/^/| /' conftest.$ac_ext >&5
8565 eval "$as_ac_var=no"
8568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8569 conftest$ac_exeext conftest.$ac_ext
8570 CFLAGS=$ac_wine_try_cflags_saved
8572 ac_res=`eval echo '${'$as_ac_var'}'`
8573 { echo "$as_me:$LINENO: result: $ac_res" >&5
8574 echo "${ECHO_T}$ac_res" >&6; }
8575 if test `eval echo '${'$as_ac_var'}'` = yes; then
8576 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
8577 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
8583 case $host_cpu in
8584 *i[3456789]86* | x86_64)
8585 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
8586 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
8587 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
8588 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 else
8590 ac_wine_try_cflags_saved=$CFLAGS
8591 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
8592 cat >conftest.$ac_ext <<_ACEOF
8593 /* confdefs.h. */
8594 _ACEOF
8595 cat confdefs.h >>conftest.$ac_ext
8596 cat >>conftest.$ac_ext <<_ACEOF
8597 /* end confdefs.h. */
8600 main ()
8604 return 0;
8606 _ACEOF
8607 rm -f conftest.$ac_objext conftest$ac_exeext
8608 if { (ac_try="$ac_link"
8609 case "(($ac_try" in
8610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8611 *) ac_try_echo=$ac_try;;
8612 esac
8613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8614 (eval "$ac_link") 2>conftest.er1
8615 ac_status=$?
8616 grep -v '^ *+' conftest.er1 >conftest.err
8617 rm -f conftest.er1
8618 cat conftest.err >&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); } && {
8621 test -z "$ac_c_werror_flag" ||
8622 test ! -s conftest.err
8623 } && test -s conftest$ac_exeext &&
8624 $as_test_x conftest$ac_exeext; then
8625 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
8626 else
8627 echo "$as_me: failed program was:" >&5
8628 sed 's/^/| /' conftest.$ac_ext >&5
8630 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
8633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8634 conftest$ac_exeext conftest.$ac_ext
8635 CFLAGS=$ac_wine_try_cflags_saved
8637 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
8638 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
8639 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
8640 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
8644 esac
8646 else
8647 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
8648 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
8649 if test "${ac_cv_c_dll_unixware+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8651 else
8652 ac_wine_try_cflags_saved=$CFLAGS
8653 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8654 cat >conftest.$ac_ext <<_ACEOF
8655 void myfunc() {}
8656 _ACEOF
8657 rm -f conftest.$ac_objext conftest$ac_exeext
8658 if { (ac_try="$ac_link"
8659 case "(($ac_try" in
8660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8662 esac
8663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_link") 2>conftest.er1
8665 ac_status=$?
8666 grep -v '^ *+' conftest.er1 >conftest.err
8667 rm -f conftest.er1
8668 cat conftest.err >&5
8669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8670 (exit $ac_status); } && {
8671 test -z "$ac_c_werror_flag" ||
8672 test ! -s conftest.err
8673 } && test -s conftest$ac_exeext &&
8674 $as_test_x conftest$ac_exeext; then
8675 ac_cv_c_dll_unixware="yes"
8676 else
8677 echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.$ac_ext >&5
8680 ac_cv_c_dll_unixware="no"
8683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8684 conftest$ac_exeext conftest.$ac_ext
8685 CFLAGS=$ac_wine_try_cflags_saved
8687 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
8688 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
8689 if test "$ac_cv_c_dll_unixware" = "yes"
8690 then
8691 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
8692 LDDLLFLAGS="-Wl,-G,-B,symbolic"
8694 else
8695 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
8696 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
8697 if test "${ac_cv_c_dll_hpux+set}" = set; then
8698 echo $ECHO_N "(cached) $ECHO_C" >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -shared"
8702 cat >conftest.$ac_ext <<_ACEOF
8703 void myfunc() {}
8704 _ACEOF
8705 rm -f conftest.$ac_objext conftest$ac_exeext
8706 if { (ac_try="$ac_link"
8707 case "(($ac_try" in
8708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8709 *) ac_try_echo=$ac_try;;
8710 esac
8711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8712 (eval "$ac_link") 2>conftest.er1
8713 ac_status=$?
8714 grep -v '^ *+' conftest.er1 >conftest.err
8715 rm -f conftest.er1
8716 cat conftest.err >&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && {
8719 test -z "$ac_c_werror_flag" ||
8720 test ! -s conftest.err
8721 } && test -s conftest$ac_exeext &&
8722 $as_test_x conftest$ac_exeext; then
8723 ac_cv_c_dll_hpux="yes"
8724 else
8725 echo "$as_me: failed program was:" >&5
8726 sed 's/^/| /' conftest.$ac_ext >&5
8728 ac_cv_c_dll_hpux="no"
8731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8732 conftest$ac_exeext conftest.$ac_ext
8733 CFLAGS=$ac_wine_try_cflags_saved
8735 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
8736 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
8737 if test "$ac_cv_c_dll_hpux" = "yes"
8738 then
8739 LIBEXT="sl"
8740 DLLEXT=".sl"
8741 LDDLLFLAGS="-shared -fPIC"
8742 LDSHARED="\$(CC) -shared"
8747 CROSSTEST=""
8749 if test "$cross_compiling" = "no"
8750 then
8751 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
8753 # Extract the first word of "$ac_prog", so it can be a program name with args.
8754 set dummy $ac_prog; ac_word=$2
8755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8757 if test "${ac_cv_prog_CROSSCC+set}" = set; then
8758 echo $ECHO_N "(cached) $ECHO_C" >&6
8759 else
8760 if test -n "$CROSSCC"; then
8761 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8762 else
8763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8764 for as_dir in $PATH
8766 IFS=$as_save_IFS
8767 test -z "$as_dir" && as_dir=.
8768 for ac_exec_ext in '' $ac_executable_extensions; do
8769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770 ac_cv_prog_CROSSCC="$ac_prog"
8771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8772 break 2
8774 done
8775 done
8776 IFS=$as_save_IFS
8780 CROSSCC=$ac_cv_prog_CROSSCC
8781 if test -n "$CROSSCC"; then
8782 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
8783 echo "${ECHO_T}$CROSSCC" >&6; }
8784 else
8785 { echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6; }
8790 test -n "$CROSSCC" && break
8791 done
8792 test -n "$CROSSCC" || CROSSCC="false"
8794 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
8796 # Extract the first word of "$ac_prog", so it can be a program name with args.
8797 set dummy $ac_prog; ac_word=$2
8798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8800 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
8801 echo $ECHO_N "(cached) $ECHO_C" >&6
8802 else
8803 if test -n "$DLLTOOL"; then
8804 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8805 else
8806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8807 for as_dir in $PATH
8809 IFS=$as_save_IFS
8810 test -z "$as_dir" && as_dir=.
8811 for ac_exec_ext in '' $ac_executable_extensions; do
8812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8813 ac_cv_prog_DLLTOOL="$ac_prog"
8814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 break 2
8817 done
8818 done
8819 IFS=$as_save_IFS
8823 DLLTOOL=$ac_cv_prog_DLLTOOL
8824 if test -n "$DLLTOOL"; then
8825 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
8826 echo "${ECHO_T}$DLLTOOL" >&6; }
8827 else
8828 { echo "$as_me:$LINENO: result: no" >&5
8829 echo "${ECHO_T}no" >&6; }
8833 test -n "$DLLTOOL" && break
8834 done
8835 test -n "$DLLTOOL" || DLLTOOL="false"
8837 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
8839 # Extract the first word of "$ac_prog", so it can be a program name with args.
8840 set dummy $ac_prog; ac_word=$2
8841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8843 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
8844 echo $ECHO_N "(cached) $ECHO_C" >&6
8845 else
8846 if test -n "$CROSSWINDRES"; then
8847 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
8848 else
8849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8850 for as_dir in $PATH
8852 IFS=$as_save_IFS
8853 test -z "$as_dir" && as_dir=.
8854 for ac_exec_ext in '' $ac_executable_extensions; do
8855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8856 ac_cv_prog_CROSSWINDRES="$ac_prog"
8857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8858 break 2
8860 done
8861 done
8862 IFS=$as_save_IFS
8866 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
8867 if test -n "$CROSSWINDRES"; then
8868 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
8869 echo "${ECHO_T}$CROSSWINDRES" >&6; }
8870 else
8871 { echo "$as_me:$LINENO: result: no" >&5
8872 echo "${ECHO_T}no" >&6; }
8876 test -n "$CROSSWINDRES" && break
8877 done
8878 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
8880 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
8882 # Extract the first word of "$ac_prog", so it can be a program name with args.
8883 set dummy $ac_prog; ac_word=$2
8884 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8886 if test "${ac_cv_prog_MINGWAR+set}" = set; then
8887 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 else
8889 if test -n "$MINGWAR"; then
8890 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
8891 else
8892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8893 for as_dir in $PATH
8895 IFS=$as_save_IFS
8896 test -z "$as_dir" && as_dir=.
8897 for ac_exec_ext in '' $ac_executable_extensions; do
8898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8899 ac_cv_prog_MINGWAR="$ac_prog"
8900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8901 break 2
8903 done
8904 done
8905 IFS=$as_save_IFS
8909 MINGWAR=$ac_cv_prog_MINGWAR
8910 if test -n "$MINGWAR"; then
8911 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
8912 echo "${ECHO_T}$MINGWAR" >&6; }
8913 else
8914 { echo "$as_me:$LINENO: result: no" >&5
8915 echo "${ECHO_T}no" >&6; }
8919 test -n "$MINGWAR" && break
8920 done
8921 test -n "$MINGWAR" || MINGWAR="false"
8923 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
8926 esac
8928 if test "$LIBEXT" = "a"; then
8929 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
8930 It is currently not possible to build Wine without shared library
8931 (.so) support to allow transparent switch between .so and .dll files.
8932 If you are using Linux, you will need a newer binutils.
8933 " >&5
8934 echo "$as_me: error: could not find a way to build shared libraries.
8935 It is currently not possible to build Wine without shared library
8936 (.so) support to allow transparent switch between .so and .dll files.
8937 If you are using Linux, you will need a newer binutils.
8938 " >&2;}
8939 { (exit 1); exit 1; }; }
8943 if test "$have_x" = "yes"
8944 then
8945 XLIB="-lXext -lX11"
8946 ac_save_CPPFLAGS="$CPPFLAGS"
8947 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8960 for ac_header in X11/Xlib.h \
8961 X11/XKBlib.h \
8962 X11/Xutil.h \
8963 X11/Xcursor/Xcursor.h \
8964 X11/extensions/shape.h \
8965 X11/extensions/XInput.h \
8966 X11/extensions/XShm.h \
8967 X11/extensions/Xinerama.h \
8968 X11/extensions/Xrandr.h \
8969 X11/extensions/Xrender.h \
8970 X11/extensions/xf86vmode.h
8972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8973 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8974 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8975 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8977 else
8978 cat >conftest.$ac_ext <<_ACEOF
8979 /* confdefs.h. */
8980 _ACEOF
8981 cat confdefs.h >>conftest.$ac_ext
8982 cat >>conftest.$ac_ext <<_ACEOF
8983 /* end confdefs.h. */
8984 #ifdef HAVE_X11_XLIB_H
8985 # include <X11/Xlib.h>
8986 #endif
8987 #ifdef HAVE_X11_XUTIL_H
8988 # include <X11/Xutil.h>
8989 #endif
8991 #include <$ac_header>
8992 _ACEOF
8993 rm -f conftest.$ac_objext
8994 if { (ac_try="$ac_compile"
8995 case "(($ac_try" in
8996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8997 *) ac_try_echo=$ac_try;;
8998 esac
8999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9000 (eval "$ac_compile") 2>conftest.er1
9001 ac_status=$?
9002 grep -v '^ *+' conftest.er1 >conftest.err
9003 rm -f conftest.er1
9004 cat conftest.err >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); } && {
9007 test -z "$ac_c_werror_flag" ||
9008 test ! -s conftest.err
9009 } && test -s conftest.$ac_objext; then
9010 eval "$as_ac_Header=yes"
9011 else
9012 echo "$as_me: failed program was:" >&5
9013 sed 's/^/| /' conftest.$ac_ext >&5
9015 eval "$as_ac_Header=no"
9018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9020 ac_res=`eval echo '${'$as_ac_Header'}'`
9021 { echo "$as_me:$LINENO: result: $ac_res" >&5
9022 echo "${ECHO_T}$ac_res" >&6; }
9023 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9024 cat >>confdefs.h <<_ACEOF
9025 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9026 _ACEOF
9030 done
9033 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9034 then
9035 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
9036 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
9037 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
9038 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 else
9040 ac_check_lib_save_LIBS=$LIBS
9041 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9042 cat >conftest.$ac_ext <<_ACEOF
9043 /* confdefs.h. */
9044 _ACEOF
9045 cat confdefs.h >>conftest.$ac_ext
9046 cat >>conftest.$ac_ext <<_ACEOF
9047 /* end confdefs.h. */
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9052 #ifdef __cplusplus
9053 extern "C"
9054 #endif
9055 char XkbQueryExtension ();
9057 main ()
9059 return XkbQueryExtension ();
9061 return 0;
9063 _ACEOF
9064 rm -f conftest.$ac_objext conftest$ac_exeext
9065 if { (ac_try="$ac_link"
9066 case "(($ac_try" in
9067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9068 *) ac_try_echo=$ac_try;;
9069 esac
9070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9071 (eval "$ac_link") 2>conftest.er1
9072 ac_status=$?
9073 grep -v '^ *+' conftest.er1 >conftest.err
9074 rm -f conftest.er1
9075 cat conftest.err >&5
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); } && {
9078 test -z "$ac_c_werror_flag" ||
9079 test ! -s conftest.err
9080 } && test -s conftest$ac_exeext &&
9081 $as_test_x conftest$ac_exeext; then
9082 ac_cv_lib_X11_XkbQueryExtension=yes
9083 else
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.$ac_ext >&5
9087 ac_cv_lib_X11_XkbQueryExtension=no
9090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9091 conftest$ac_exeext conftest.$ac_ext
9092 LIBS=$ac_check_lib_save_LIBS
9094 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9095 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9096 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
9098 cat >>confdefs.h <<\_ACEOF
9099 #define HAVE_XKB 1
9100 _ACEOF
9106 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9107 then
9108 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9109 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
9110 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9111 echo $ECHO_N "(cached) $ECHO_C" >&6
9112 else
9113 ac_check_lib_save_LIBS=$LIBS
9114 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9115 cat >conftest.$ac_ext <<_ACEOF
9116 /* confdefs.h. */
9117 _ACEOF
9118 cat confdefs.h >>conftest.$ac_ext
9119 cat >>conftest.$ac_ext <<_ACEOF
9120 /* end confdefs.h. */
9122 /* Override any GCC internal prototype to avoid an error.
9123 Use char because int might match the return type of a GCC
9124 builtin and then its argument prototype would still apply. */
9125 #ifdef __cplusplus
9126 extern "C"
9127 #endif
9128 char XShmQueryExtension ();
9130 main ()
9132 return XShmQueryExtension ();
9134 return 0;
9136 _ACEOF
9137 rm -f conftest.$ac_objext conftest$ac_exeext
9138 if { (ac_try="$ac_link"
9139 case "(($ac_try" in
9140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9141 *) ac_try_echo=$ac_try;;
9142 esac
9143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9144 (eval "$ac_link") 2>conftest.er1
9145 ac_status=$?
9146 grep -v '^ *+' conftest.er1 >conftest.err
9147 rm -f conftest.er1
9148 cat conftest.err >&5
9149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9150 (exit $ac_status); } && {
9151 test -z "$ac_c_werror_flag" ||
9152 test ! -s conftest.err
9153 } && test -s conftest$ac_exeext &&
9154 $as_test_x conftest$ac_exeext; then
9155 ac_cv_lib_Xext_XShmQueryExtension=yes
9156 else
9157 echo "$as_me: failed program was:" >&5
9158 sed 's/^/| /' conftest.$ac_ext >&5
9160 ac_cv_lib_Xext_XShmQueryExtension=no
9163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9164 conftest$ac_exeext conftest.$ac_ext
9165 LIBS=$ac_check_lib_save_LIBS
9167 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9168 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9169 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9171 cat >>confdefs.h <<\_ACEOF
9172 #define HAVE_LIBXXSHM 1
9173 _ACEOF
9179 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
9180 then
9181 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9182 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
9183 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9184 echo $ECHO_N "(cached) $ECHO_C" >&6
9185 else
9186 ac_check_lib_save_LIBS=$LIBS
9187 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9188 cat >conftest.$ac_ext <<_ACEOF
9189 /* confdefs.h. */
9190 _ACEOF
9191 cat confdefs.h >>conftest.$ac_ext
9192 cat >>conftest.$ac_ext <<_ACEOF
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9198 #ifdef __cplusplus
9199 extern "C"
9200 #endif
9201 char XShapeQueryExtension ();
9203 main ()
9205 return XShapeQueryExtension ();
9207 return 0;
9209 _ACEOF
9210 rm -f conftest.$ac_objext conftest$ac_exeext
9211 if { (ac_try="$ac_link"
9212 case "(($ac_try" in
9213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9214 *) ac_try_echo=$ac_try;;
9215 esac
9216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9217 (eval "$ac_link") 2>conftest.er1
9218 ac_status=$?
9219 grep -v '^ *+' conftest.er1 >conftest.err
9220 rm -f conftest.er1
9221 cat conftest.err >&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); } && {
9224 test -z "$ac_c_werror_flag" ||
9225 test ! -s conftest.err
9226 } && test -s conftest$ac_exeext &&
9227 $as_test_x conftest$ac_exeext; then
9228 ac_cv_lib_Xext_XShapeQueryExtension=yes
9229 else
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9233 ac_cv_lib_Xext_XShapeQueryExtension=no
9236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9237 conftest$ac_exeext conftest.$ac_ext
9238 LIBS=$ac_check_lib_save_LIBS
9240 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9241 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9242 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9244 cat >>confdefs.h <<\_ACEOF
9245 #define HAVE_LIBXSHAPE 1
9246 _ACEOF
9252 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
9253 then
9254 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9255 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9256 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9258 else
9259 ac_check_lib_save_LIBS=$LIBS
9260 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9261 cat >conftest.$ac_ext <<_ACEOF
9262 /* confdefs.h. */
9263 _ACEOF
9264 cat confdefs.h >>conftest.$ac_ext
9265 cat >>conftest.$ac_ext <<_ACEOF
9266 /* end confdefs.h. */
9268 /* Override any GCC internal prototype to avoid an error.
9269 Use char because int might match the return type of a GCC
9270 builtin and then its argument prototype would still apply. */
9271 #ifdef __cplusplus
9272 extern "C"
9273 #endif
9274 char XF86VidModeQueryExtension ();
9276 main ()
9278 return XF86VidModeQueryExtension ();
9280 return 0;
9282 _ACEOF
9283 rm -f conftest.$ac_objext conftest$ac_exeext
9284 if { (ac_try="$ac_link"
9285 case "(($ac_try" in
9286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9287 *) ac_try_echo=$ac_try;;
9288 esac
9289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9290 (eval "$ac_link") 2>conftest.er1
9291 ac_status=$?
9292 grep -v '^ *+' conftest.er1 >conftest.err
9293 rm -f conftest.er1
9294 cat conftest.err >&5
9295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9296 (exit $ac_status); } && {
9297 test -z "$ac_c_werror_flag" ||
9298 test ! -s conftest.err
9299 } && test -s conftest$ac_exeext &&
9300 $as_test_x conftest$ac_exeext; then
9301 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9302 else
9303 echo "$as_me: failed program was:" >&5
9304 sed 's/^/| /' conftest.$ac_ext >&5
9306 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9310 conftest$ac_exeext conftest.$ac_ext
9311 LIBS=$ac_check_lib_save_LIBS
9313 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9314 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9315 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9317 cat >>confdefs.h <<\_ACEOF
9318 #define HAVE_LIBXXF86VM 1
9319 _ACEOF
9321 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9327 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9328 then
9329 cat >conftest.$ac_ext <<_ACEOF
9330 /* confdefs.h. */
9331 _ACEOF
9332 cat confdefs.h >>conftest.$ac_ext
9333 cat >>conftest.$ac_ext <<_ACEOF
9334 /* end confdefs.h. */
9335 #include <X11/Xlib.h>
9336 #include <X11/extensions/Xrandr.h>
9338 main ()
9340 static typeof(XRRSetScreenConfigAndRate) * func;
9342 return 0;
9344 _ACEOF
9345 rm -f conftest.$ac_objext
9346 if { (ac_try="$ac_compile"
9347 case "(($ac_try" in
9348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9349 *) ac_try_echo=$ac_try;;
9350 esac
9351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9352 (eval "$ac_compile") 2>conftest.er1
9353 ac_status=$?
9354 grep -v '^ *+' conftest.er1 >conftest.err
9355 rm -f conftest.er1
9356 cat conftest.err >&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } && {
9359 test -z "$ac_c_werror_flag" ||
9360 test ! -s conftest.err
9361 } && test -s conftest.$ac_objext; then
9363 cat >>confdefs.h <<\_ACEOF
9364 #define HAVE_LIBXRANDR 1
9365 _ACEOF
9367 else
9368 echo "$as_me: failed program was:" >&5
9369 sed 's/^/| /' conftest.$ac_ext >&5
9374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9377 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9378 then
9379 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9380 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9381 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9382 echo $ECHO_N "(cached) $ECHO_C" >&6
9383 else
9384 ac_check_lib_save_LIBS=$LIBS
9385 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9386 cat >conftest.$ac_ext <<_ACEOF
9387 /* confdefs.h. */
9388 _ACEOF
9389 cat confdefs.h >>conftest.$ac_ext
9390 cat >>conftest.$ac_ext <<_ACEOF
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9396 #ifdef __cplusplus
9397 extern "C"
9398 #endif
9399 char XRenderSetPictureTransform ();
9401 main ()
9403 return XRenderSetPictureTransform ();
9405 return 0;
9407 _ACEOF
9408 rm -f conftest.$ac_objext conftest$ac_exeext
9409 if { (ac_try="$ac_link"
9410 case "(($ac_try" in
9411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9412 *) ac_try_echo=$ac_try;;
9413 esac
9414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9415 (eval "$ac_link") 2>conftest.er1
9416 ac_status=$?
9417 grep -v '^ *+' conftest.er1 >conftest.err
9418 rm -f conftest.er1
9419 cat conftest.err >&5
9420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9421 (exit $ac_status); } && {
9422 test -z "$ac_c_werror_flag" ||
9423 test ! -s conftest.err
9424 } && test -s conftest$ac_exeext &&
9425 $as_test_x conftest$ac_exeext; then
9426 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9427 else
9428 echo "$as_me: failed program was:" >&5
9429 sed 's/^/| /' conftest.$ac_ext >&5
9431 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9435 conftest$ac_exeext conftest.$ac_ext
9436 LIBS=$ac_check_lib_save_LIBS
9438 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9439 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9440 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9442 cat >>confdefs.h <<\_ACEOF
9443 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9444 _ACEOF
9450 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9451 then
9452 cat >conftest.$ac_ext <<_ACEOF
9453 /* confdefs.h. */
9454 _ACEOF
9455 cat confdefs.h >>conftest.$ac_ext
9456 cat >>conftest.$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9458 #include <X11/Xlib.h>
9459 #include <X11/extensions/Xinerama.h>
9461 main ()
9463 static typeof(XineramaQueryScreens) * func;
9465 return 0;
9467 _ACEOF
9468 rm -f conftest.$ac_objext
9469 if { (ac_try="$ac_compile"
9470 case "(($ac_try" in
9471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9472 *) ac_try_echo=$ac_try;;
9473 esac
9474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9475 (eval "$ac_compile") 2>conftest.er1
9476 ac_status=$?
9477 grep -v '^ *+' conftest.er1 >conftest.err
9478 rm -f conftest.er1
9479 cat conftest.err >&5
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); } && {
9482 test -z "$ac_c_werror_flag" ||
9483 test ! -s conftest.err
9484 } && test -s conftest.$ac_objext; then
9486 cat >>confdefs.h <<\_ACEOF
9487 #define HAVE_LIBXINERAMA 1
9488 _ACEOF
9490 else
9491 echo "$as_me: failed program was:" >&5
9492 sed 's/^/| /' conftest.$ac_ext >&5
9497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9501 if test "x$with_opengl" != "xno"
9502 then
9507 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9510 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9512 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9513 echo $ECHO_N "(cached) $ECHO_C" >&6
9514 else
9515 cat >conftest.$ac_ext <<_ACEOF
9516 /* confdefs.h. */
9517 _ACEOF
9518 cat confdefs.h >>conftest.$ac_ext
9519 cat >>conftest.$ac_ext <<_ACEOF
9520 /* end confdefs.h. */
9521 #ifdef HAVE_GL_GLX_H
9522 # include <GL/glx.h>
9523 #endif
9525 #include <$ac_header>
9526 _ACEOF
9527 rm -f conftest.$ac_objext
9528 if { (ac_try="$ac_compile"
9529 case "(($ac_try" in
9530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9531 *) ac_try_echo=$ac_try;;
9532 esac
9533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9534 (eval "$ac_compile") 2>conftest.er1
9535 ac_status=$?
9536 grep -v '^ *+' conftest.er1 >conftest.err
9537 rm -f conftest.er1
9538 cat conftest.err >&5
9539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9540 (exit $ac_status); } && {
9541 test -z "$ac_c_werror_flag" ||
9542 test ! -s conftest.err
9543 } && test -s conftest.$ac_objext; then
9544 eval "$as_ac_Header=yes"
9545 else
9546 echo "$as_me: failed program was:" >&5
9547 sed 's/^/| /' conftest.$ac_ext >&5
9549 eval "$as_ac_Header=no"
9552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9554 ac_res=`eval echo '${'$as_ac_Header'}'`
9555 { echo "$as_me:$LINENO: result: $ac_res" >&5
9556 echo "${ECHO_T}$ac_res" >&6; }
9557 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9558 cat >>confdefs.h <<_ACEOF
9559 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9560 _ACEOF
9564 done
9566 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9567 then
9568 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9569 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9570 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9572 else
9573 cat >conftest.$ac_ext <<_ACEOF
9574 /* confdefs.h. */
9575 _ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9579 #include <GL/gl.h>
9581 main ()
9583 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9585 return 0;
9587 _ACEOF
9588 rm -f conftest.$ac_objext
9589 if { (ac_try="$ac_compile"
9590 case "(($ac_try" in
9591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9592 *) ac_try_echo=$ac_try;;
9593 esac
9594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9595 (eval "$ac_compile") 2>conftest.er1
9596 ac_status=$?
9597 grep -v '^ *+' conftest.er1 >conftest.err
9598 rm -f conftest.er1
9599 cat conftest.err >&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); } && {
9602 test -z "$ac_c_werror_flag" ||
9603 test ! -s conftest.err
9604 } && test -s conftest.$ac_objext; then
9605 wine_cv_opengl_header_version_OK="yes"
9606 else
9607 echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.$ac_ext >&5
9610 wine_cv_opengl_header_version_OK="no"
9613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9615 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9616 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9618 if test "$wine_cv_opengl_header_version_OK" = "yes"
9619 then
9620 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9621 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9622 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9623 echo $ECHO_N "(cached) $ECHO_C" >&6
9624 else
9625 ac_check_lib_save_LIBS=$LIBS
9626 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9627 cat >conftest.$ac_ext <<_ACEOF
9628 /* confdefs.h. */
9629 _ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9634 /* Override any GCC internal prototype to avoid an error.
9635 Use char because int might match the return type of a GCC
9636 builtin and then its argument prototype would still apply. */
9637 #ifdef __cplusplus
9638 extern "C"
9639 #endif
9640 char glXCreateContext ();
9642 main ()
9644 return glXCreateContext ();
9646 return 0;
9648 _ACEOF
9649 rm -f conftest.$ac_objext conftest$ac_exeext
9650 if { (ac_try="$ac_link"
9651 case "(($ac_try" in
9652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9653 *) ac_try_echo=$ac_try;;
9654 esac
9655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9656 (eval "$ac_link") 2>conftest.er1
9657 ac_status=$?
9658 grep -v '^ *+' conftest.er1 >conftest.err
9659 rm -f conftest.er1
9660 cat conftest.err >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } && {
9663 test -z "$ac_c_werror_flag" ||
9664 test ! -s conftest.err
9665 } && test -s conftest$ac_exeext &&
9666 $as_test_x conftest$ac_exeext; then
9667 ac_cv_lib_GL_glXCreateContext=yes
9668 else
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.$ac_ext >&5
9672 ac_cv_lib_GL_glXCreateContext=no
9675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
9679 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9680 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9681 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9682 OPENGL_LIBS="-lGL"
9683 OPENGLFILES='$(OPENGLFILES)'
9685 cat >>confdefs.h <<\_ACEOF
9686 #define HAVE_OPENGL 1
9687 _ACEOF
9693 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9694 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9695 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9696 echo $ECHO_N "(cached) $ECHO_C" >&6
9697 else
9698 ac_check_lib_save_LIBS=$LIBS
9699 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9700 $LIBS"
9701 cat >conftest.$ac_ext <<_ACEOF
9702 /* confdefs.h. */
9703 _ACEOF
9704 cat confdefs.h >>conftest.$ac_ext
9705 cat >>conftest.$ac_ext <<_ACEOF
9706 /* end confdefs.h. */
9708 /* Override any GCC internal prototype to avoid an error.
9709 Use char because int might match the return type of a GCC
9710 builtin and then its argument prototype would still apply. */
9711 #ifdef __cplusplus
9712 extern "C"
9713 #endif
9714 char gluLookAt ();
9716 main ()
9718 return gluLookAt ();
9720 return 0;
9722 _ACEOF
9723 rm -f conftest.$ac_objext conftest$ac_exeext
9724 if { (ac_try="$ac_link"
9725 case "(($ac_try" in
9726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9727 *) ac_try_echo=$ac_try;;
9728 esac
9729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9730 (eval "$ac_link") 2>conftest.er1
9731 ac_status=$?
9732 grep -v '^ *+' conftest.er1 >conftest.err
9733 rm -f conftest.er1
9734 cat conftest.err >&5
9735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736 (exit $ac_status); } && {
9737 test -z "$ac_c_werror_flag" ||
9738 test ! -s conftest.err
9739 } && test -s conftest$ac_exeext &&
9740 $as_test_x conftest$ac_exeext; then
9741 ac_cv_lib_GLU_gluLookAt=yes
9742 else
9743 echo "$as_me: failed program was:" >&5
9744 sed 's/^/| /' conftest.$ac_ext >&5
9746 ac_cv_lib_GLU_gluLookAt=no
9749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9750 conftest$ac_exeext conftest.$ac_ext
9751 LIBS=$ac_check_lib_save_LIBS
9753 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9754 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9755 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9756 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9757 GLU32FILES='$(GLU32FILES)'
9762 else
9763 wine_cv_opengl_headers_found="no"
9766 NASLIBS=""
9769 for ac_header in audio/audiolib.h
9771 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9772 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9773 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9778 ac_res=`eval echo '${'$as_ac_Header'}'`
9779 { echo "$as_me:$LINENO: result: $ac_res" >&5
9780 echo "${ECHO_T}$ac_res" >&6; }
9781 else
9782 # Is the header compilable?
9783 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9784 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9785 cat >conftest.$ac_ext <<_ACEOF
9786 /* confdefs.h. */
9787 _ACEOF
9788 cat confdefs.h >>conftest.$ac_ext
9789 cat >>conftest.$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9791 $ac_includes_default
9792 #include <$ac_header>
9793 _ACEOF
9794 rm -f conftest.$ac_objext
9795 if { (ac_try="$ac_compile"
9796 case "(($ac_try" in
9797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9798 *) ac_try_echo=$ac_try;;
9799 esac
9800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9801 (eval "$ac_compile") 2>conftest.er1
9802 ac_status=$?
9803 grep -v '^ *+' conftest.er1 >conftest.err
9804 rm -f conftest.er1
9805 cat conftest.err >&5
9806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9807 (exit $ac_status); } && {
9808 test -z "$ac_c_werror_flag" ||
9809 test ! -s conftest.err
9810 } && test -s conftest.$ac_objext; then
9811 ac_header_compiler=yes
9812 else
9813 echo "$as_me: failed program was:" >&5
9814 sed 's/^/| /' conftest.$ac_ext >&5
9816 ac_header_compiler=no
9819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9820 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9821 echo "${ECHO_T}$ac_header_compiler" >&6; }
9823 # Is the header present?
9824 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9825 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9826 cat >conftest.$ac_ext <<_ACEOF
9827 /* confdefs.h. */
9828 _ACEOF
9829 cat confdefs.h >>conftest.$ac_ext
9830 cat >>conftest.$ac_ext <<_ACEOF
9831 /* end confdefs.h. */
9832 #include <$ac_header>
9833 _ACEOF
9834 if { (ac_try="$ac_cpp conftest.$ac_ext"
9835 case "(($ac_try" in
9836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9837 *) ac_try_echo=$ac_try;;
9838 esac
9839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9840 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9841 ac_status=$?
9842 grep -v '^ *+' conftest.er1 >conftest.err
9843 rm -f conftest.er1
9844 cat conftest.err >&5
9845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9846 (exit $ac_status); } >/dev/null && {
9847 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9848 test ! -s conftest.err
9849 }; then
9850 ac_header_preproc=yes
9851 else
9852 echo "$as_me: failed program was:" >&5
9853 sed 's/^/| /' conftest.$ac_ext >&5
9855 ac_header_preproc=no
9858 rm -f conftest.err conftest.$ac_ext
9859 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9860 echo "${ECHO_T}$ac_header_preproc" >&6; }
9862 # So? What about this header?
9863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9864 yes:no: )
9865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9869 ac_header_preproc=yes
9871 no:yes:* )
9872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9884 ( cat <<\_ASBOX
9885 ## ------------------------------------ ##
9886 ## Report this to wine-devel@winehq.org ##
9887 ## ------------------------------------ ##
9888 _ASBOX
9889 ) | sed "s/^/$as_me: WARNING: /" >&2
9891 esac
9892 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9894 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9895 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 else
9897 eval "$as_ac_Header=\$ac_header_preproc"
9899 ac_res=`eval echo '${'$as_ac_Header'}'`
9900 { echo "$as_me:$LINENO: result: $ac_res" >&5
9901 echo "${ECHO_T}$ac_res" >&6; }
9904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9905 cat >>confdefs.h <<_ACEOF
9906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9907 _ACEOF
9909 for ac_header in audio/soundlib.h
9911 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9912 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9915 echo $ECHO_N "(cached) $ECHO_C" >&6
9916 else
9917 cat >conftest.$ac_ext <<_ACEOF
9918 /* confdefs.h. */
9919 _ACEOF
9920 cat confdefs.h >>conftest.$ac_ext
9921 cat >>conftest.$ac_ext <<_ACEOF
9922 /* end confdefs.h. */
9923 #include <audio/audiolib.h>
9925 #include <$ac_header>
9926 _ACEOF
9927 rm -f conftest.$ac_objext
9928 if { (ac_try="$ac_compile"
9929 case "(($ac_try" in
9930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9931 *) ac_try_echo=$ac_try;;
9932 esac
9933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9934 (eval "$ac_compile") 2>conftest.er1
9935 ac_status=$?
9936 grep -v '^ *+' conftest.er1 >conftest.err
9937 rm -f conftest.er1
9938 cat conftest.err >&5
9939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } && {
9941 test -z "$ac_c_werror_flag" ||
9942 test ! -s conftest.err
9943 } && test -s conftest.$ac_objext; then
9944 eval "$as_ac_Header=yes"
9945 else
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.$ac_ext >&5
9949 eval "$as_ac_Header=no"
9952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9954 ac_res=`eval echo '${'$as_ac_Header'}'`
9955 { echo "$as_me:$LINENO: result: $ac_res" >&5
9956 echo "${ECHO_T}$ac_res" >&6; }
9957 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9958 cat >>confdefs.h <<_ACEOF
9959 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9960 _ACEOF
9964 done
9966 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9967 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9968 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9969 echo $ECHO_N "(cached) $ECHO_C" >&6
9970 else
9971 ac_check_lib_save_LIBS=$LIBS
9972 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9973 cat >conftest.$ac_ext <<_ACEOF
9974 /* confdefs.h. */
9975 _ACEOF
9976 cat confdefs.h >>conftest.$ac_ext
9977 cat >>conftest.$ac_ext <<_ACEOF
9978 /* end confdefs.h. */
9980 /* Override any GCC internal prototype to avoid an error.
9981 Use char because int might match the return type of a GCC
9982 builtin and then its argument prototype would still apply. */
9983 #ifdef __cplusplus
9984 extern "C"
9985 #endif
9986 char AuCreateFlow ();
9988 main ()
9990 return AuCreateFlow ();
9992 return 0;
9994 _ACEOF
9995 rm -f conftest.$ac_objext conftest$ac_exeext
9996 if { (ac_try="$ac_link"
9997 case "(($ac_try" in
9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9999 *) ac_try_echo=$ac_try;;
10000 esac
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_link") 2>conftest.er1
10003 ac_status=$?
10004 grep -v '^ *+' conftest.er1 >conftest.err
10005 rm -f conftest.er1
10006 cat conftest.err >&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } && {
10009 test -z "$ac_c_werror_flag" ||
10010 test ! -s conftest.err
10011 } && test -s conftest$ac_exeext &&
10012 $as_test_x conftest$ac_exeext; then
10013 ac_cv_lib_audio_AuCreateFlow=yes
10014 else
10015 echo "$as_me: failed program was:" >&5
10016 sed 's/^/| /' conftest.$ac_ext >&5
10018 ac_cv_lib_audio_AuCreateFlow=no
10021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10022 conftest$ac_exeext conftest.$ac_ext
10023 LIBS=$ac_check_lib_save_LIBS
10025 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
10026 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
10027 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
10029 cat >>confdefs.h <<\_ACEOF
10030 #define HAVE_NAS 1
10031 _ACEOF
10033 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
10034 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
10035 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
10036 echo $ECHO_N "(cached) $ECHO_C" >&6
10037 else
10038 ac_check_lib_save_LIBS=$LIBS
10039 LIBS="-lXau $X_LIBS $LIBS"
10040 cat >conftest.$ac_ext <<_ACEOF
10041 /* confdefs.h. */
10042 _ACEOF
10043 cat confdefs.h >>conftest.$ac_ext
10044 cat >>conftest.$ac_ext <<_ACEOF
10045 /* end confdefs.h. */
10047 /* Override any GCC internal prototype to avoid an error.
10048 Use char because int might match the return type of a GCC
10049 builtin and then its argument prototype would still apply. */
10050 #ifdef __cplusplus
10051 extern "C"
10052 #endif
10053 char XauGetBestAuthByAddr ();
10055 main ()
10057 return XauGetBestAuthByAddr ();
10059 return 0;
10061 _ACEOF
10062 rm -f conftest.$ac_objext conftest$ac_exeext
10063 if { (ac_try="$ac_link"
10064 case "(($ac_try" in
10065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10066 *) ac_try_echo=$ac_try;;
10067 esac
10068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10069 (eval "$ac_link") 2>conftest.er1
10070 ac_status=$?
10071 grep -v '^ *+' conftest.er1 >conftest.err
10072 rm -f conftest.er1
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } && {
10076 test -z "$ac_c_werror_flag" ||
10077 test ! -s conftest.err
10078 } && test -s conftest$ac_exeext &&
10079 $as_test_x conftest$ac_exeext; then
10080 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
10081 else
10082 echo "$as_me: failed program was:" >&5
10083 sed 's/^/| /' conftest.$ac_ext >&5
10085 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
10088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10089 conftest$ac_exeext conftest.$ac_ext
10090 LIBS=$ac_check_lib_save_LIBS
10092 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
10093 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
10094 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
10095 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10096 else
10097 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
10105 done
10108 CPPFLAGS="$ac_save_CPPFLAGS"
10109 XFILES='$(XFILES)'
10110 else
10111 XLIB=""
10112 X_CFLAGS=""
10113 X_LIBS=""
10117 XML2LIBS=""
10119 XML2INCL=""
10121 XSLTLIBS=""
10123 XSLTINCL=""
10125 ac_save_CPPFLAGS="$CPPFLAGS"
10126 if test "$PKG_CONFIG" != "false"
10127 then
10128 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
10129 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
10130 else
10131 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
10132 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
10134 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
10136 for ac_header in libxml/parser.h
10138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10139 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10140 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10142 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10143 echo $ECHO_N "(cached) $ECHO_C" >&6
10145 ac_res=`eval echo '${'$as_ac_Header'}'`
10146 { echo "$as_me:$LINENO: result: $ac_res" >&5
10147 echo "${ECHO_T}$ac_res" >&6; }
10148 else
10149 # Is the header compilable?
10150 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10151 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10152 cat >conftest.$ac_ext <<_ACEOF
10153 /* confdefs.h. */
10154 _ACEOF
10155 cat confdefs.h >>conftest.$ac_ext
10156 cat >>conftest.$ac_ext <<_ACEOF
10157 /* end confdefs.h. */
10158 $ac_includes_default
10159 #include <$ac_header>
10160 _ACEOF
10161 rm -f conftest.$ac_objext
10162 if { (ac_try="$ac_compile"
10163 case "(($ac_try" in
10164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10165 *) ac_try_echo=$ac_try;;
10166 esac
10167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10168 (eval "$ac_compile") 2>conftest.er1
10169 ac_status=$?
10170 grep -v '^ *+' conftest.er1 >conftest.err
10171 rm -f conftest.er1
10172 cat conftest.err >&5
10173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10174 (exit $ac_status); } && {
10175 test -z "$ac_c_werror_flag" ||
10176 test ! -s conftest.err
10177 } && test -s conftest.$ac_objext; then
10178 ac_header_compiler=yes
10179 else
10180 echo "$as_me: failed program was:" >&5
10181 sed 's/^/| /' conftest.$ac_ext >&5
10183 ac_header_compiler=no
10186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10187 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10188 echo "${ECHO_T}$ac_header_compiler" >&6; }
10190 # Is the header present?
10191 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10193 cat >conftest.$ac_ext <<_ACEOF
10194 /* confdefs.h. */
10195 _ACEOF
10196 cat confdefs.h >>conftest.$ac_ext
10197 cat >>conftest.$ac_ext <<_ACEOF
10198 /* end confdefs.h. */
10199 #include <$ac_header>
10200 _ACEOF
10201 if { (ac_try="$ac_cpp conftest.$ac_ext"
10202 case "(($ac_try" in
10203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10204 *) ac_try_echo=$ac_try;;
10205 esac
10206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10207 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10208 ac_status=$?
10209 grep -v '^ *+' conftest.er1 >conftest.err
10210 rm -f conftest.er1
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } >/dev/null && {
10214 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10215 test ! -s conftest.err
10216 }; then
10217 ac_header_preproc=yes
10218 else
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.$ac_ext >&5
10222 ac_header_preproc=no
10225 rm -f conftest.err conftest.$ac_ext
10226 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10227 echo "${ECHO_T}$ac_header_preproc" >&6; }
10229 # So? What about this header?
10230 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10231 yes:no: )
10232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10236 ac_header_preproc=yes
10238 no:yes:* )
10239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10251 ( cat <<\_ASBOX
10252 ## ------------------------------------ ##
10253 ## Report this to wine-devel@winehq.org ##
10254 ## ------------------------------------ ##
10255 _ASBOX
10256 ) | sed "s/^/$as_me: WARNING: /" >&2
10258 esac
10259 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10260 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 else
10264 eval "$as_ac_Header=\$ac_header_preproc"
10266 ac_res=`eval echo '${'$as_ac_Header'}'`
10267 { echo "$as_me:$LINENO: result: $ac_res" >&5
10268 echo "${ECHO_T}$ac_res" >&6; }
10271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10272 cat >>confdefs.h <<_ACEOF
10273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10274 _ACEOF
10275 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10276 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10277 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10278 echo $ECHO_N "(cached) $ECHO_C" >&6
10279 else
10280 ac_check_lib_save_LIBS=$LIBS
10281 LIBS="-lxml2 $ac_xml_libs $LIBS"
10282 cat >conftest.$ac_ext <<_ACEOF
10283 /* confdefs.h. */
10284 _ACEOF
10285 cat confdefs.h >>conftest.$ac_ext
10286 cat >>conftest.$ac_ext <<_ACEOF
10287 /* end confdefs.h. */
10289 /* Override any GCC internal prototype to avoid an error.
10290 Use char because int might match the return type of a GCC
10291 builtin and then its argument prototype would still apply. */
10292 #ifdef __cplusplus
10293 extern "C"
10294 #endif
10295 char xmlParseMemory ();
10297 main ()
10299 return xmlParseMemory ();
10301 return 0;
10303 _ACEOF
10304 rm -f conftest.$ac_objext conftest$ac_exeext
10305 if { (ac_try="$ac_link"
10306 case "(($ac_try" in
10307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10308 *) ac_try_echo=$ac_try;;
10309 esac
10310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10311 (eval "$ac_link") 2>conftest.er1
10312 ac_status=$?
10313 grep -v '^ *+' conftest.er1 >conftest.err
10314 rm -f conftest.er1
10315 cat conftest.err >&5
10316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10317 (exit $ac_status); } && {
10318 test -z "$ac_c_werror_flag" ||
10319 test ! -s conftest.err
10320 } && test -s conftest$ac_exeext &&
10321 $as_test_x conftest$ac_exeext; then
10322 ac_cv_lib_xml2_xmlParseMemory=yes
10323 else
10324 echo "$as_me: failed program was:" >&5
10325 sed 's/^/| /' conftest.$ac_ext >&5
10327 ac_cv_lib_xml2_xmlParseMemory=no
10330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10331 conftest$ac_exeext conftest.$ac_ext
10332 LIBS=$ac_check_lib_save_LIBS
10334 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10335 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10336 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10338 cat >>confdefs.h <<\_ACEOF
10339 #define HAVE_LIBXML2 1
10340 _ACEOF
10342 XML2LIBS="$ac_xml_libs"
10343 XML2INCL="$ac_xml_cflags"
10346 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10347 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10348 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 else
10351 ac_check_lib_save_LIBS=$LIBS
10352 LIBS="-lxml2 $ac_xml_libs $LIBS"
10353 cat >conftest.$ac_ext <<_ACEOF
10354 /* confdefs.h. */
10355 _ACEOF
10356 cat confdefs.h >>conftest.$ac_ext
10357 cat >>conftest.$ac_ext <<_ACEOF
10358 /* end confdefs.h. */
10360 /* Override any GCC internal prototype to avoid an error.
10361 Use char because int might match the return type of a GCC
10362 builtin and then its argument prototype would still apply. */
10363 #ifdef __cplusplus
10364 extern "C"
10365 #endif
10366 char xmlReadMemory ();
10368 main ()
10370 return xmlReadMemory ();
10372 return 0;
10374 _ACEOF
10375 rm -f conftest.$ac_objext conftest$ac_exeext
10376 if { (ac_try="$ac_link"
10377 case "(($ac_try" in
10378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10379 *) ac_try_echo=$ac_try;;
10380 esac
10381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10382 (eval "$ac_link") 2>conftest.er1
10383 ac_status=$?
10384 grep -v '^ *+' conftest.er1 >conftest.err
10385 rm -f conftest.er1
10386 cat conftest.err >&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); } && {
10389 test -z "$ac_c_werror_flag" ||
10390 test ! -s conftest.err
10391 } && test -s conftest$ac_exeext &&
10392 $as_test_x conftest$ac_exeext; then
10393 ac_cv_lib_xml2_xmlReadMemory=yes
10394 else
10395 echo "$as_me: failed program was:" >&5
10396 sed 's/^/| /' conftest.$ac_ext >&5
10398 ac_cv_lib_xml2_xmlReadMemory=no
10401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10402 conftest$ac_exeext conftest.$ac_ext
10403 LIBS=$ac_check_lib_save_LIBS
10405 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10406 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10407 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10409 cat >>confdefs.h <<\_ACEOF
10410 #define HAVE_XMLREADMEMORY 1
10411 _ACEOF
10415 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10416 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10417 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10418 echo $ECHO_N "(cached) $ECHO_C" >&6
10419 else
10420 ac_check_lib_save_LIBS=$LIBS
10421 LIBS="-lxml2 $ac_xml_libs $LIBS"
10422 cat >conftest.$ac_ext <<_ACEOF
10423 /* confdefs.h. */
10424 _ACEOF
10425 cat confdefs.h >>conftest.$ac_ext
10426 cat >>conftest.$ac_ext <<_ACEOF
10427 /* end confdefs.h. */
10429 /* Override any GCC internal prototype to avoid an error.
10430 Use char because int might match the return type of a GCC
10431 builtin and then its argument prototype would still apply. */
10432 #ifdef __cplusplus
10433 extern "C"
10434 #endif
10435 char xmlNewDocPI ();
10437 main ()
10439 return xmlNewDocPI ();
10441 return 0;
10443 _ACEOF
10444 rm -f conftest.$ac_objext conftest$ac_exeext
10445 if { (ac_try="$ac_link"
10446 case "(($ac_try" in
10447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10448 *) ac_try_echo=$ac_try;;
10449 esac
10450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10451 (eval "$ac_link") 2>conftest.er1
10452 ac_status=$?
10453 grep -v '^ *+' conftest.er1 >conftest.err
10454 rm -f conftest.er1
10455 cat conftest.err >&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); } && {
10458 test -z "$ac_c_werror_flag" ||
10459 test ! -s conftest.err
10460 } && test -s conftest$ac_exeext &&
10461 $as_test_x conftest$ac_exeext; then
10462 ac_cv_lib_xml2_xmlNewDocPI=yes
10463 else
10464 echo "$as_me: failed program was:" >&5
10465 sed 's/^/| /' conftest.$ac_ext >&5
10467 ac_cv_lib_xml2_xmlNewDocPI=no
10470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10471 conftest$ac_exeext conftest.$ac_ext
10472 LIBS=$ac_check_lib_save_LIBS
10474 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10475 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10476 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10478 cat >>confdefs.h <<\_ACEOF
10479 #define HAVE_XMLNEWDOCPI 1
10480 _ACEOF
10487 done
10489 CPPFLAGS="$ac_save_CPPFLAGS"
10490 if test "$PKG_CONFIG" != "false"
10491 then
10492 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10493 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10494 else
10495 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
10496 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
10498 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10501 for ac_header in libxslt/pattern.h libxslt/transform.h
10503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10504 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10507 echo $ECHO_N "(cached) $ECHO_C" >&6
10508 else
10509 cat >conftest.$ac_ext <<_ACEOF
10510 /* confdefs.h. */
10511 _ACEOF
10512 cat confdefs.h >>conftest.$ac_ext
10513 cat >>conftest.$ac_ext <<_ACEOF
10514 /* end confdefs.h. */
10515 #ifdef HAVE_LIBXSLT_PATTERN_H
10516 # include <libxslt/pattern.h>
10517 #endif
10519 #include <$ac_header>
10520 _ACEOF
10521 rm -f conftest.$ac_objext
10522 if { (ac_try="$ac_compile"
10523 case "(($ac_try" in
10524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10525 *) ac_try_echo=$ac_try;;
10526 esac
10527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10528 (eval "$ac_compile") 2>conftest.er1
10529 ac_status=$?
10530 grep -v '^ *+' conftest.er1 >conftest.err
10531 rm -f conftest.er1
10532 cat conftest.err >&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); } && {
10535 test -z "$ac_c_werror_flag" ||
10536 test ! -s conftest.err
10537 } && test -s conftest.$ac_objext; then
10538 eval "$as_ac_Header=yes"
10539 else
10540 echo "$as_me: failed program was:" >&5
10541 sed 's/^/| /' conftest.$ac_ext >&5
10543 eval "$as_ac_Header=no"
10546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10548 ac_res=`eval echo '${'$as_ac_Header'}'`
10549 { echo "$as_me:$LINENO: result: $ac_res" >&5
10550 echo "${ECHO_T}$ac_res" >&6; }
10551 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10552 cat >>confdefs.h <<_ACEOF
10553 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10554 _ACEOF
10555 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10556 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10557 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6
10559 else
10560 ac_check_lib_save_LIBS=$LIBS
10561 LIBS="-lxslt $ac_xslt_libs $LIBS"
10562 cat >conftest.$ac_ext <<_ACEOF
10563 /* confdefs.h. */
10564 _ACEOF
10565 cat confdefs.h >>conftest.$ac_ext
10566 cat >>conftest.$ac_ext <<_ACEOF
10567 /* end confdefs.h. */
10569 /* Override any GCC internal prototype to avoid an error.
10570 Use char because int might match the return type of a GCC
10571 builtin and then its argument prototype would still apply. */
10572 #ifdef __cplusplus
10573 extern "C"
10574 #endif
10575 char xsltCompilePattern ();
10577 main ()
10579 return xsltCompilePattern ();
10581 return 0;
10583 _ACEOF
10584 rm -f conftest.$ac_objext conftest$ac_exeext
10585 if { (ac_try="$ac_link"
10586 case "(($ac_try" in
10587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10588 *) ac_try_echo=$ac_try;;
10589 esac
10590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10591 (eval "$ac_link") 2>conftest.er1
10592 ac_status=$?
10593 grep -v '^ *+' conftest.er1 >conftest.err
10594 rm -f conftest.er1
10595 cat conftest.err >&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); } && {
10598 test -z "$ac_c_werror_flag" ||
10599 test ! -s conftest.err
10600 } && test -s conftest$ac_exeext &&
10601 $as_test_x conftest$ac_exeext; then
10602 ac_cv_lib_xslt_xsltCompilePattern=yes
10603 else
10604 echo "$as_me: failed program was:" >&5
10605 sed 's/^/| /' conftest.$ac_ext >&5
10607 ac_cv_lib_xslt_xsltCompilePattern=no
10610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10611 conftest$ac_exeext conftest.$ac_ext
10612 LIBS=$ac_check_lib_save_LIBS
10614 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10615 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10616 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10618 cat >>confdefs.h <<\_ACEOF
10619 #define HAVE_LIBXSLT 1
10620 _ACEOF
10622 XSLTLIBS="$ac_xslt_libs"
10623 XSLTINCL="$ac_xslt_cflags"
10629 done
10631 CPPFLAGS="$ac_save_CPPFLAGS"
10633 HALINCL=""
10635 if test "$PKG_CONFIG" != "false"
10636 then
10637 ac_save_CPPFLAGS="$CPPFLAGS"
10638 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10639 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10640 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10643 for ac_header in dbus/dbus.h hal/libhal.h
10645 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10646 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10650 echo $ECHO_N "(cached) $ECHO_C" >&6
10652 ac_res=`eval echo '${'$as_ac_Header'}'`
10653 { echo "$as_me:$LINENO: result: $ac_res" >&5
10654 echo "${ECHO_T}$ac_res" >&6; }
10655 else
10656 # Is the header compilable?
10657 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10659 cat >conftest.$ac_ext <<_ACEOF
10660 /* confdefs.h. */
10661 _ACEOF
10662 cat confdefs.h >>conftest.$ac_ext
10663 cat >>conftest.$ac_ext <<_ACEOF
10664 /* end confdefs.h. */
10665 $ac_includes_default
10666 #include <$ac_header>
10667 _ACEOF
10668 rm -f conftest.$ac_objext
10669 if { (ac_try="$ac_compile"
10670 case "(($ac_try" in
10671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10672 *) ac_try_echo=$ac_try;;
10673 esac
10674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10675 (eval "$ac_compile") 2>conftest.er1
10676 ac_status=$?
10677 grep -v '^ *+' conftest.er1 >conftest.err
10678 rm -f conftest.er1
10679 cat conftest.err >&5
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); } && {
10682 test -z "$ac_c_werror_flag" ||
10683 test ! -s conftest.err
10684 } && test -s conftest.$ac_objext; then
10685 ac_header_compiler=yes
10686 else
10687 echo "$as_me: failed program was:" >&5
10688 sed 's/^/| /' conftest.$ac_ext >&5
10690 ac_header_compiler=no
10693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10694 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10695 echo "${ECHO_T}$ac_header_compiler" >&6; }
10697 # Is the header present?
10698 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10699 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10700 cat >conftest.$ac_ext <<_ACEOF
10701 /* confdefs.h. */
10702 _ACEOF
10703 cat confdefs.h >>conftest.$ac_ext
10704 cat >>conftest.$ac_ext <<_ACEOF
10705 /* end confdefs.h. */
10706 #include <$ac_header>
10707 _ACEOF
10708 if { (ac_try="$ac_cpp conftest.$ac_ext"
10709 case "(($ac_try" in
10710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10711 *) ac_try_echo=$ac_try;;
10712 esac
10713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10714 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10715 ac_status=$?
10716 grep -v '^ *+' conftest.er1 >conftest.err
10717 rm -f conftest.er1
10718 cat conftest.err >&5
10719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10720 (exit $ac_status); } >/dev/null && {
10721 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10722 test ! -s conftest.err
10723 }; then
10724 ac_header_preproc=yes
10725 else
10726 echo "$as_me: failed program was:" >&5
10727 sed 's/^/| /' conftest.$ac_ext >&5
10729 ac_header_preproc=no
10732 rm -f conftest.err conftest.$ac_ext
10733 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10734 echo "${ECHO_T}$ac_header_preproc" >&6; }
10736 # So? What about this header?
10737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10738 yes:no: )
10739 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10740 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10741 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10742 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10743 ac_header_preproc=yes
10745 no:yes:* )
10746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10750 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10751 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10752 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10753 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10756 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10757 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10758 ( cat <<\_ASBOX
10759 ## ------------------------------------ ##
10760 ## Report this to wine-devel@winehq.org ##
10761 ## ------------------------------------ ##
10762 _ASBOX
10763 ) | sed "s/^/$as_me: WARNING: /" >&2
10765 esac
10766 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10768 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10770 else
10771 eval "$as_ac_Header=\$ac_header_preproc"
10773 ac_res=`eval echo '${'$as_ac_Header'}'`
10774 { echo "$as_me:$LINENO: result: $ac_res" >&5
10775 echo "${ECHO_T}$ac_res" >&6; }
10778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10779 cat >>confdefs.h <<_ACEOF
10780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10781 _ACEOF
10785 done
10787 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10788 then
10789 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10790 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10791 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10794 ac_check_lib_save_LIBS=$LIBS
10795 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10796 cat >conftest.$ac_ext <<_ACEOF
10797 /* confdefs.h. */
10798 _ACEOF
10799 cat confdefs.h >>conftest.$ac_ext
10800 cat >>conftest.$ac_ext <<_ACEOF
10801 /* end confdefs.h. */
10803 /* Override any GCC internal prototype to avoid an error.
10804 Use char because int might match the return type of a GCC
10805 builtin and then its argument prototype would still apply. */
10806 #ifdef __cplusplus
10807 extern "C"
10808 #endif
10809 char dbus_connection_close ();
10811 main ()
10813 return dbus_connection_close ();
10815 return 0;
10817 _ACEOF
10818 rm -f conftest.$ac_objext conftest$ac_exeext
10819 if { (ac_try="$ac_link"
10820 case "(($ac_try" in
10821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10822 *) ac_try_echo=$ac_try;;
10823 esac
10824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10825 (eval "$ac_link") 2>conftest.er1
10826 ac_status=$?
10827 grep -v '^ *+' conftest.er1 >conftest.err
10828 rm -f conftest.er1
10829 cat conftest.err >&5
10830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10831 (exit $ac_status); } && {
10832 test -z "$ac_c_werror_flag" ||
10833 test ! -s conftest.err
10834 } && test -s conftest$ac_exeext &&
10835 $as_test_x conftest$ac_exeext; then
10836 ac_cv_lib_dbus_1_dbus_connection_close=yes
10837 else
10838 echo "$as_me: failed program was:" >&5
10839 sed 's/^/| /' conftest.$ac_ext >&5
10841 ac_cv_lib_dbus_1_dbus_connection_close=no
10844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10845 conftest$ac_exeext conftest.$ac_ext
10846 LIBS=$ac_check_lib_save_LIBS
10848 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10849 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10850 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10851 { echo "$as_me:$LINENO: checking for -lhal" >&5
10852 echo $ECHO_N "checking for -lhal... $ECHO_C" >&6; }
10853 if test "${ac_cv_lib_soname_hal+set}" = set; then
10854 echo $ECHO_N "(cached) $ECHO_C" >&6
10855 else
10856 ac_check_soname_save_LIBS=$LIBS
10857 LIBS="-lhal $ac_hal_libs $LIBS"
10858 cat >conftest.$ac_ext <<_ACEOF
10859 /* confdefs.h. */
10860 _ACEOF
10861 cat confdefs.h >>conftest.$ac_ext
10862 cat >>conftest.$ac_ext <<_ACEOF
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10868 #ifdef __cplusplus
10869 extern "C"
10870 #endif
10871 char libhal_ctx_new ();
10873 main ()
10875 return libhal_ctx_new ();
10877 return 0;
10879 _ACEOF
10880 rm -f conftest.$ac_objext conftest$ac_exeext
10881 if { (ac_try="$ac_link"
10882 case "(($ac_try" in
10883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10884 *) ac_try_echo=$ac_try;;
10885 esac
10886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10887 (eval "$ac_link") 2>conftest.er1
10888 ac_status=$?
10889 grep -v '^ *+' conftest.er1 >conftest.err
10890 rm -f conftest.er1
10891 cat conftest.err >&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } && {
10894 test -z "$ac_c_werror_flag" ||
10895 test ! -s conftest.err
10896 } && test -s conftest$ac_exeext &&
10897 $as_test_x conftest$ac_exeext; then
10898 case "$LIBEXT" in
10899 dll) ;;
10900 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'` ;;
10901 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10902 esac
10903 else
10904 echo "$as_me: failed program was:" >&5
10905 sed 's/^/| /' conftest.$ac_ext >&5
10910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10911 conftest$ac_exeext conftest.$ac_ext
10912 LIBS=$ac_check_soname_save_LIBS
10914 if test "x$ac_cv_lib_soname_hal" = "x"; then
10915 { echo "$as_me:$LINENO: result: not found" >&5
10916 echo "${ECHO_T}not found" >&6; }
10918 else
10919 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
10920 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
10922 cat >>confdefs.h <<_ACEOF
10923 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10924 _ACEOF
10926 HALINCL="$ac_hal_cflags"
10932 CPPFLAGS="$ac_save_CPPFLAGS"
10935 CURSESLIBS=""
10936 if test "$ac_cv_header_ncurses_h" = "yes"
10937 then
10938 { echo "$as_me:$LINENO: checking for -lncurses" >&5
10939 echo $ECHO_N "checking for -lncurses... $ECHO_C" >&6; }
10940 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
10941 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 else
10943 ac_check_soname_save_LIBS=$LIBS
10944 LIBS="-lncurses $LIBS"
10945 cat >conftest.$ac_ext <<_ACEOF
10946 /* confdefs.h. */
10947 _ACEOF
10948 cat confdefs.h >>conftest.$ac_ext
10949 cat >>conftest.$ac_ext <<_ACEOF
10950 /* end confdefs.h. */
10952 /* Override any GCC internal prototype to avoid an error.
10953 Use char because int might match the return type of a GCC
10954 builtin and then its argument prototype would still apply. */
10955 #ifdef __cplusplus
10956 extern "C"
10957 #endif
10958 char waddch ();
10960 main ()
10962 return waddch ();
10964 return 0;
10966 _ACEOF
10967 rm -f conftest.$ac_objext conftest$ac_exeext
10968 if { (ac_try="$ac_link"
10969 case "(($ac_try" in
10970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10971 *) ac_try_echo=$ac_try;;
10972 esac
10973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10974 (eval "$ac_link") 2>conftest.er1
10975 ac_status=$?
10976 grep -v '^ *+' conftest.er1 >conftest.err
10977 rm -f conftest.er1
10978 cat conftest.err >&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); } && {
10981 test -z "$ac_c_werror_flag" ||
10982 test ! -s conftest.err
10983 } && test -s conftest$ac_exeext &&
10984 $as_test_x conftest$ac_exeext; then
10985 case "$LIBEXT" in
10986 dll) ;;
10987 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'` ;;
10988 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10989 esac
10990 else
10991 echo "$as_me: failed program was:" >&5
10992 sed 's/^/| /' conftest.$ac_ext >&5
10997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10998 conftest$ac_exeext conftest.$ac_ext
10999 LIBS=$ac_check_soname_save_LIBS
11001 if test "x$ac_cv_lib_soname_ncurses" = "x"; then
11002 { echo "$as_me:$LINENO: result: not found" >&5
11003 echo "${ECHO_T}not found" >&6; }
11005 else
11006 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
11007 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
11009 cat >>confdefs.h <<_ACEOF
11010 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11011 _ACEOF
11013 CURSESLIBS="-lncurses"
11016 elif test "$ac_cv_header_curses_h" = "yes"
11017 then
11018 { echo "$as_me:$LINENO: checking for -lcurses" >&5
11019 echo $ECHO_N "checking for -lcurses... $ECHO_C" >&6; }
11020 if test "${ac_cv_lib_soname_curses+set}" = set; then
11021 echo $ECHO_N "(cached) $ECHO_C" >&6
11022 else
11023 ac_check_soname_save_LIBS=$LIBS
11024 LIBS="-lcurses $LIBS"
11025 cat >conftest.$ac_ext <<_ACEOF
11026 /* confdefs.h. */
11027 _ACEOF
11028 cat confdefs.h >>conftest.$ac_ext
11029 cat >>conftest.$ac_ext <<_ACEOF
11030 /* end confdefs.h. */
11032 /* Override any GCC internal prototype to avoid an error.
11033 Use char because int might match the return type of a GCC
11034 builtin and then its argument prototype would still apply. */
11035 #ifdef __cplusplus
11036 extern "C"
11037 #endif
11038 char waddch ();
11040 main ()
11042 return waddch ();
11044 return 0;
11046 _ACEOF
11047 rm -f conftest.$ac_objext conftest$ac_exeext
11048 if { (ac_try="$ac_link"
11049 case "(($ac_try" in
11050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11051 *) ac_try_echo=$ac_try;;
11052 esac
11053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11054 (eval "$ac_link") 2>conftest.er1
11055 ac_status=$?
11056 grep -v '^ *+' conftest.er1 >conftest.err
11057 rm -f conftest.er1
11058 cat conftest.err >&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } && {
11061 test -z "$ac_c_werror_flag" ||
11062 test ! -s conftest.err
11063 } && test -s conftest$ac_exeext &&
11064 $as_test_x conftest$ac_exeext; then
11065 case "$LIBEXT" in
11066 dll) ;;
11067 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'` ;;
11068 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11069 esac
11070 else
11071 echo "$as_me: failed program was:" >&5
11072 sed 's/^/| /' conftest.$ac_ext >&5
11077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11078 conftest$ac_exeext conftest.$ac_ext
11079 LIBS=$ac_check_soname_save_LIBS
11081 if test "x$ac_cv_lib_soname_curses" = "x"; then
11082 { echo "$as_me:$LINENO: result: not found" >&5
11083 echo "${ECHO_T}not found" >&6; }
11085 else
11086 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
11087 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
11089 cat >>confdefs.h <<_ACEOF
11090 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11091 _ACEOF
11093 CURSESLIBS="-lcurses"
11097 ac_save_LIBS="$LIBS"
11098 LIBS="$LIBS $CURSESLIBS"
11100 for ac_func in mousemask
11102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11107 else
11108 cat >conftest.$ac_ext <<_ACEOF
11109 /* confdefs.h. */
11110 _ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11116 #define $ac_func innocuous_$ac_func
11118 /* System header to define __stub macros and hopefully few prototypes,
11119 which can conflict with char $ac_func (); below.
11120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11121 <limits.h> exists even on freestanding compilers. */
11123 #ifdef __STDC__
11124 # include <limits.h>
11125 #else
11126 # include <assert.h>
11127 #endif
11129 #undef $ac_func
11131 /* Override any GCC internal prototype to avoid an error.
11132 Use char because int might match the return type of a GCC
11133 builtin and then its argument prototype would still apply. */
11134 #ifdef __cplusplus
11135 extern "C"
11136 #endif
11137 char $ac_func ();
11138 /* The GNU C library defines this for functions which it implements
11139 to always fail with ENOSYS. Some functions are actually named
11140 something starting with __ and the normal name is an alias. */
11141 #if defined __stub_$ac_func || defined __stub___$ac_func
11142 choke me
11143 #endif
11146 main ()
11148 return $ac_func ();
11150 return 0;
11152 _ACEOF
11153 rm -f conftest.$ac_objext conftest$ac_exeext
11154 if { (ac_try="$ac_link"
11155 case "(($ac_try" in
11156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11157 *) ac_try_echo=$ac_try;;
11158 esac
11159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11160 (eval "$ac_link") 2>conftest.er1
11161 ac_status=$?
11162 grep -v '^ *+' conftest.er1 >conftest.err
11163 rm -f conftest.er1
11164 cat conftest.err >&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); } && {
11167 test -z "$ac_c_werror_flag" ||
11168 test ! -s conftest.err
11169 } && test -s conftest$ac_exeext &&
11170 $as_test_x conftest$ac_exeext; then
11171 eval "$as_ac_var=yes"
11172 else
11173 echo "$as_me: failed program was:" >&5
11174 sed 's/^/| /' conftest.$ac_ext >&5
11176 eval "$as_ac_var=no"
11179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11180 conftest$ac_exeext conftest.$ac_ext
11182 ac_res=`eval echo '${'$as_ac_var'}'`
11183 { echo "$as_me:$LINENO: result: $ac_res" >&5
11184 echo "${ECHO_T}$ac_res" >&6; }
11185 if test `eval echo '${'$as_ac_var'}'` = yes; then
11186 cat >>confdefs.h <<_ACEOF
11187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11188 _ACEOF
11191 done
11193 LIBS="$ac_save_LIBS"
11195 # Extract the first word of "sane-config", so it can be a program name with args.
11196 set dummy sane-config; ac_word=$2
11197 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11199 if test "${ac_cv_prog_sane_devel+set}" = set; then
11200 echo $ECHO_N "(cached) $ECHO_C" >&6
11201 else
11202 if test -n "$sane_devel"; then
11203 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11204 else
11205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11206 for as_dir in $PATH
11208 IFS=$as_save_IFS
11209 test -z "$as_dir" && as_dir=.
11210 for ac_exec_ext in '' $ac_executable_extensions; do
11211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11212 ac_cv_prog_sane_devel="sane-config"
11213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11214 break 2
11216 done
11217 done
11218 IFS=$as_save_IFS
11220 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11223 sane_devel=$ac_cv_prog_sane_devel
11224 if test -n "$sane_devel"; then
11225 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11226 echo "${ECHO_T}$sane_devel" >&6; }
11227 else
11228 { echo "$as_me:$LINENO: result: no" >&5
11229 echo "${ECHO_T}no" >&6; }
11233 if test "$sane_devel" != "no"
11234 then
11235 ac_sane_incl="`$sane_devel --cflags`"
11236 ac_save_CPPFLAGS="$CPPFLAGS"
11237 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
11238 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11239 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11240 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11241 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11244 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11245 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11246 else
11247 # Is the header compilable?
11248 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11249 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11250 cat >conftest.$ac_ext <<_ACEOF
11251 /* confdefs.h. */
11252 _ACEOF
11253 cat confdefs.h >>conftest.$ac_ext
11254 cat >>conftest.$ac_ext <<_ACEOF
11255 /* end confdefs.h. */
11256 $ac_includes_default
11257 #include <sane/sane.h>
11258 _ACEOF
11259 rm -f conftest.$ac_objext
11260 if { (ac_try="$ac_compile"
11261 case "(($ac_try" in
11262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11263 *) ac_try_echo=$ac_try;;
11264 esac
11265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11266 (eval "$ac_compile") 2>conftest.er1
11267 ac_status=$?
11268 grep -v '^ *+' conftest.er1 >conftest.err
11269 rm -f conftest.er1
11270 cat conftest.err >&5
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); } && {
11273 test -z "$ac_c_werror_flag" ||
11274 test ! -s conftest.err
11275 } && test -s conftest.$ac_objext; then
11276 ac_header_compiler=yes
11277 else
11278 echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.$ac_ext >&5
11281 ac_header_compiler=no
11284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11285 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11286 echo "${ECHO_T}$ac_header_compiler" >&6; }
11288 # Is the header present?
11289 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11290 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11291 cat >conftest.$ac_ext <<_ACEOF
11292 /* confdefs.h. */
11293 _ACEOF
11294 cat confdefs.h >>conftest.$ac_ext
11295 cat >>conftest.$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <sane/sane.h>
11298 _ACEOF
11299 if { (ac_try="$ac_cpp conftest.$ac_ext"
11300 case "(($ac_try" in
11301 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11302 *) ac_try_echo=$ac_try;;
11303 esac
11304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11305 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11306 ac_status=$?
11307 grep -v '^ *+' conftest.er1 >conftest.err
11308 rm -f conftest.er1
11309 cat conftest.err >&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } >/dev/null && {
11312 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11313 test ! -s conftest.err
11314 }; then
11315 ac_header_preproc=yes
11316 else
11317 echo "$as_me: failed program was:" >&5
11318 sed 's/^/| /' conftest.$ac_ext >&5
11320 ac_header_preproc=no
11323 rm -f conftest.err conftest.$ac_ext
11324 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11325 echo "${ECHO_T}$ac_header_preproc" >&6; }
11327 # So? What about this header?
11328 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11329 yes:no: )
11330 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11331 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11332 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11333 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11334 ac_header_preproc=yes
11336 no:yes:* )
11337 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11338 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11339 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11340 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11341 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11342 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11343 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11344 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11345 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11346 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11347 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11348 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11349 ( cat <<\_ASBOX
11350 ## ------------------------------------ ##
11351 ## Report this to wine-devel@winehq.org ##
11352 ## ------------------------------------ ##
11353 _ASBOX
11354 ) | sed "s/^/$as_me: WARNING: /" >&2
11356 esac
11357 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11358 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11359 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 else
11362 ac_cv_header_sane_sane_h=$ac_header_preproc
11364 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11365 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11368 if test $ac_cv_header_sane_sane_h = yes; then
11369 { echo "$as_me:$LINENO: checking for -lsane" >&5
11370 echo $ECHO_N "checking for -lsane... $ECHO_C" >&6; }
11371 if test "${ac_cv_lib_soname_sane+set}" = set; then
11372 echo $ECHO_N "(cached) $ECHO_C" >&6
11373 else
11374 ac_check_soname_save_LIBS=$LIBS
11375 LIBS="-lsane $LIBS"
11376 cat >conftest.$ac_ext <<_ACEOF
11377 /* confdefs.h. */
11378 _ACEOF
11379 cat confdefs.h >>conftest.$ac_ext
11380 cat >>conftest.$ac_ext <<_ACEOF
11381 /* end confdefs.h. */
11383 /* Override any GCC internal prototype to avoid an error.
11384 Use char because int might match the return type of a GCC
11385 builtin and then its argument prototype would still apply. */
11386 #ifdef __cplusplus
11387 extern "C"
11388 #endif
11389 char sane_init ();
11391 main ()
11393 return sane_init ();
11395 return 0;
11397 _ACEOF
11398 rm -f conftest.$ac_objext conftest$ac_exeext
11399 if { (ac_try="$ac_link"
11400 case "(($ac_try" in
11401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11402 *) ac_try_echo=$ac_try;;
11403 esac
11404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11405 (eval "$ac_link") 2>conftest.er1
11406 ac_status=$?
11407 grep -v '^ *+' conftest.er1 >conftest.err
11408 rm -f conftest.er1
11409 cat conftest.err >&5
11410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11411 (exit $ac_status); } && {
11412 test -z "$ac_c_werror_flag" ||
11413 test ! -s conftest.err
11414 } && test -s conftest$ac_exeext &&
11415 $as_test_x conftest$ac_exeext; then
11416 case "$LIBEXT" in
11417 dll) ;;
11418 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'` ;;
11419 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11420 esac
11421 else
11422 echo "$as_me: failed program was:" >&5
11423 sed 's/^/| /' conftest.$ac_ext >&5
11428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11429 conftest$ac_exeext conftest.$ac_ext
11430 LIBS=$ac_check_soname_save_LIBS
11432 if test "x$ac_cv_lib_soname_sane" = "x"; then
11433 { echo "$as_me:$LINENO: result: not found" >&5
11434 echo "${ECHO_T}not found" >&6; }
11436 else
11437 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
11438 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
11440 cat >>confdefs.h <<_ACEOF
11441 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
11442 _ACEOF
11444 SANEINCL="$ac_sane_incl"
11451 CPPFLAGS="$ac_save_CPPFLAGS"
11454 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11455 set dummy gphoto2-config; ac_word=$2
11456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11458 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11459 echo $ECHO_N "(cached) $ECHO_C" >&6
11460 else
11461 if test -n "$gphoto2_devel"; then
11462 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11463 else
11464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11465 for as_dir in $PATH
11467 IFS=$as_save_IFS
11468 test -z "$as_dir" && as_dir=.
11469 for ac_exec_ext in '' $ac_executable_extensions; do
11470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11471 ac_cv_prog_gphoto2_devel="gphoto2-config"
11472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11473 break 2
11475 done
11476 done
11477 IFS=$as_save_IFS
11479 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11482 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11483 if test -n "$gphoto2_devel"; then
11484 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11485 echo "${ECHO_T}$gphoto2_devel" >&6; }
11486 else
11487 { echo "$as_me:$LINENO: result: no" >&5
11488 echo "${ECHO_T}no" >&6; }
11492 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11493 set dummy gphoto2-port-config; ac_word=$2
11494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11496 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11497 echo $ECHO_N "(cached) $ECHO_C" >&6
11498 else
11499 if test -n "$gphoto2port_devel"; then
11500 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11501 else
11502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11503 for as_dir in $PATH
11505 IFS=$as_save_IFS
11506 test -z "$as_dir" && as_dir=.
11507 for ac_exec_ext in '' $ac_executable_extensions; do
11508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11509 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11511 break 2
11513 done
11514 done
11515 IFS=$as_save_IFS
11517 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11520 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11521 if test -n "$gphoto2port_devel"; then
11522 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11523 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11524 else
11525 { echo "$as_me:$LINENO: result: no" >&5
11526 echo "${ECHO_T}no" >&6; }
11530 GPHOTO2LIBS=""
11532 GPHOTO2INCL=""
11534 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11535 then
11536 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11537 GPHOTO2LIBS=""
11538 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11540 case "$i" in
11541 -L/usr/lib|-L/usr/lib64) ;;
11542 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11543 esac
11544 done
11545 ac_save_CPPFLAGS="$CPPFLAGS"
11546 ac_save_LIBS="$LIBS"
11547 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11548 LIBS="$LIBS $GPHOTO2LIBS"
11549 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11550 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11551 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11552 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11553 echo $ECHO_N "(cached) $ECHO_C" >&6
11555 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11556 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11557 else
11558 # Is the header compilable?
11559 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11560 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11561 cat >conftest.$ac_ext <<_ACEOF
11562 /* confdefs.h. */
11563 _ACEOF
11564 cat confdefs.h >>conftest.$ac_ext
11565 cat >>conftest.$ac_ext <<_ACEOF
11566 /* end confdefs.h. */
11567 $ac_includes_default
11568 #include <gphoto2-camera.h>
11569 _ACEOF
11570 rm -f conftest.$ac_objext
11571 if { (ac_try="$ac_compile"
11572 case "(($ac_try" in
11573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11574 *) ac_try_echo=$ac_try;;
11575 esac
11576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11577 (eval "$ac_compile") 2>conftest.er1
11578 ac_status=$?
11579 grep -v '^ *+' conftest.er1 >conftest.err
11580 rm -f conftest.er1
11581 cat conftest.err >&5
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); } && {
11584 test -z "$ac_c_werror_flag" ||
11585 test ! -s conftest.err
11586 } && test -s conftest.$ac_objext; then
11587 ac_header_compiler=yes
11588 else
11589 echo "$as_me: failed program was:" >&5
11590 sed 's/^/| /' conftest.$ac_ext >&5
11592 ac_header_compiler=no
11595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11596 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11597 echo "${ECHO_T}$ac_header_compiler" >&6; }
11599 # Is the header present?
11600 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11601 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11602 cat >conftest.$ac_ext <<_ACEOF
11603 /* confdefs.h. */
11604 _ACEOF
11605 cat confdefs.h >>conftest.$ac_ext
11606 cat >>conftest.$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11608 #include <gphoto2-camera.h>
11609 _ACEOF
11610 if { (ac_try="$ac_cpp conftest.$ac_ext"
11611 case "(($ac_try" in
11612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11613 *) ac_try_echo=$ac_try;;
11614 esac
11615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11616 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11617 ac_status=$?
11618 grep -v '^ *+' conftest.er1 >conftest.err
11619 rm -f conftest.er1
11620 cat conftest.err >&5
11621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11622 (exit $ac_status); } >/dev/null && {
11623 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11624 test ! -s conftest.err
11625 }; then
11626 ac_header_preproc=yes
11627 else
11628 echo "$as_me: failed program was:" >&5
11629 sed 's/^/| /' conftest.$ac_ext >&5
11631 ac_header_preproc=no
11634 rm -f conftest.err conftest.$ac_ext
11635 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11636 echo "${ECHO_T}$ac_header_preproc" >&6; }
11638 # So? What about this header?
11639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11640 yes:no: )
11641 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11642 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11643 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11644 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11645 ac_header_preproc=yes
11647 no:yes:* )
11648 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11649 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11650 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11651 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11652 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11653 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11654 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11655 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11656 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11657 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11658 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11659 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11660 ( cat <<\_ASBOX
11661 ## ------------------------------------ ##
11662 ## Report this to wine-devel@winehq.org ##
11663 ## ------------------------------------ ##
11664 _ASBOX
11665 ) | sed "s/^/$as_me: WARNING: /" >&2
11667 esac
11668 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11669 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11670 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11671 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 else
11673 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11675 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11676 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11679 if test $ac_cv_header_gphoto2_camera_h = yes; then
11680 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11681 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11682 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11683 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 else
11685 ac_check_lib_save_LIBS=$LIBS
11686 LIBS="-lgphoto2 $LIBS"
11687 cat >conftest.$ac_ext <<_ACEOF
11688 /* confdefs.h. */
11689 _ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11694 /* Override any GCC internal prototype to avoid an error.
11695 Use char because int might match the return type of a GCC
11696 builtin and then its argument prototype would still apply. */
11697 #ifdef __cplusplus
11698 extern "C"
11699 #endif
11700 char gp_camera_new ();
11702 main ()
11704 return gp_camera_new ();
11706 return 0;
11708 _ACEOF
11709 rm -f conftest.$ac_objext conftest$ac_exeext
11710 if { (ac_try="$ac_link"
11711 case "(($ac_try" in
11712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11713 *) ac_try_echo=$ac_try;;
11714 esac
11715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11716 (eval "$ac_link") 2>conftest.er1
11717 ac_status=$?
11718 grep -v '^ *+' conftest.er1 >conftest.err
11719 rm -f conftest.er1
11720 cat conftest.err >&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); } && {
11723 test -z "$ac_c_werror_flag" ||
11724 test ! -s conftest.err
11725 } && test -s conftest$ac_exeext &&
11726 $as_test_x conftest$ac_exeext; then
11727 ac_cv_lib_gphoto2_gp_camera_new=yes
11728 else
11729 echo "$as_me: failed program was:" >&5
11730 sed 's/^/| /' conftest.$ac_ext >&5
11732 ac_cv_lib_gphoto2_gp_camera_new=no
11735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11736 conftest$ac_exeext conftest.$ac_ext
11737 LIBS=$ac_check_lib_save_LIBS
11739 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11740 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11741 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11743 cat >>confdefs.h <<\_ACEOF
11744 #define HAVE_GPHOTO2 1
11745 _ACEOF
11747 else
11748 GPHOTO2LIBS=""
11749 GPHOTO2INCL=""
11752 else
11753 GPHOTO2LIBS=""
11754 GPHOTO2INCL=""
11758 LIBS="$ac_save_LIBS"
11759 CPPFLAGS="$ac_save_CPPFLAGS"
11762 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11763 then
11764 saved_libs="$LIBS"
11765 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
11766 if test -n "$ICU_LIB_DIR"
11767 then
11768 icu_libs="-L$ICU_LIB_DIR $icu_libs"
11770 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
11771 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
11772 LIBS="$saved_libs $icu_libs"
11773 if test "$cross_compiling" = yes; then
11774 { echo "$as_me:$LINENO: result: no" >&5
11775 echo "${ECHO_T}no" >&6; }
11776 else
11777 cat >conftest.$ac_ext <<_ACEOF
11778 /* confdefs.h. */
11779 _ACEOF
11780 cat confdefs.h >>conftest.$ac_ext
11781 cat >>conftest.$ac_ext <<_ACEOF
11782 /* end confdefs.h. */
11783 #include <unicode/ubidi.h>
11785 main ()
11787 ubidi_open()
11789 return 0;
11791 _ACEOF
11792 rm -f conftest$ac_exeext
11793 if { (ac_try="$ac_link"
11794 case "(($ac_try" in
11795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11796 *) ac_try_echo=$ac_try;;
11797 esac
11798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11799 (eval "$ac_link") 2>&5
11800 ac_status=$?
11801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
11803 { (case "(($ac_try" in
11804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11805 *) ac_try_echo=$ac_try;;
11806 esac
11807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11808 (eval "$ac_try") 2>&5
11809 ac_status=$?
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; }; then
11813 cat >>confdefs.h <<\_ACEOF
11814 #define HAVE_ICU 1
11815 _ACEOF
11817 ICULIBS="$icu_libs"
11819 { echo "$as_me:$LINENO: result: yes" >&5
11820 echo "${ECHO_T}yes" >&6; }
11821 else
11822 echo "$as_me: program exited with status $ac_status" >&5
11823 echo "$as_me: failed program was:" >&5
11824 sed 's/^/| /' conftest.$ac_ext >&5
11826 ( exit $ac_status )
11827 { echo "$as_me:$LINENO: result: no" >&5
11828 echo "${ECHO_T}no" >&6; }
11830 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
11834 LIBS="$saved_libs"
11837 RESOLVLIBS=""
11839 if test "$ac_cv_header_resolv_h" = "yes"
11840 then
11841 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11842 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11843 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11844 echo $ECHO_N "(cached) $ECHO_C" >&6
11845 else
11846 ac_check_lib_save_LIBS=$LIBS
11847 LIBS="-lresolv $LIBS"
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. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11858 #ifdef __cplusplus
11859 extern "C"
11860 #endif
11861 char res_query ();
11863 main ()
11865 return res_query ();
11867 return 0;
11869 _ACEOF
11870 rm -f conftest.$ac_objext conftest$ac_exeext
11871 if { (ac_try="$ac_link"
11872 case "(($ac_try" in
11873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11874 *) ac_try_echo=$ac_try;;
11875 esac
11876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11877 (eval "$ac_link") 2>conftest.er1
11878 ac_status=$?
11879 grep -v '^ *+' conftest.er1 >conftest.err
11880 rm -f conftest.er1
11881 cat conftest.err >&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } && {
11884 test -z "$ac_c_werror_flag" ||
11885 test ! -s conftest.err
11886 } && test -s conftest$ac_exeext &&
11887 $as_test_x conftest$ac_exeext; then
11888 ac_cv_lib_resolv_res_query=yes
11889 else
11890 echo "$as_me: failed program was:" >&5
11891 sed 's/^/| /' conftest.$ac_ext >&5
11893 ac_cv_lib_resolv_res_query=no
11896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11897 conftest$ac_exeext conftest.$ac_ext
11898 LIBS=$ac_check_lib_save_LIBS
11900 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
11901 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
11902 if test $ac_cv_lib_resolv_res_query = yes; then
11904 cat >>confdefs.h <<\_ACEOF
11905 #define HAVE_RESOLV 1
11906 _ACEOF
11908 RESOLVLIBS="-lresolv"
11913 LCMSLIBS=""
11915 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
11916 then
11917 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
11918 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
11919 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 else
11922 ac_check_lib_save_LIBS=$LIBS
11923 LIBS="-llcms $LIBS"
11924 cat >conftest.$ac_ext <<_ACEOF
11925 /* confdefs.h. */
11926 _ACEOF
11927 cat confdefs.h >>conftest.$ac_ext
11928 cat >>conftest.$ac_ext <<_ACEOF
11929 /* end confdefs.h. */
11931 /* Override any GCC internal prototype to avoid an error.
11932 Use char because int might match the return type of a GCC
11933 builtin and then its argument prototype would still apply. */
11934 #ifdef __cplusplus
11935 extern "C"
11936 #endif
11937 char cmsOpenProfileFromFile ();
11939 main ()
11941 return cmsOpenProfileFromFile ();
11943 return 0;
11945 _ACEOF
11946 rm -f conftest.$ac_objext conftest$ac_exeext
11947 if { (ac_try="$ac_link"
11948 case "(($ac_try" in
11949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11950 *) ac_try_echo=$ac_try;;
11951 esac
11952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11953 (eval "$ac_link") 2>conftest.er1
11954 ac_status=$?
11955 grep -v '^ *+' conftest.er1 >conftest.err
11956 rm -f conftest.er1
11957 cat conftest.err >&5
11958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11959 (exit $ac_status); } && {
11960 test -z "$ac_c_werror_flag" ||
11961 test ! -s conftest.err
11962 } && test -s conftest$ac_exeext &&
11963 $as_test_x conftest$ac_exeext; then
11964 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
11965 else
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.$ac_ext >&5
11969 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
11972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11973 conftest$ac_exeext conftest.$ac_ext
11974 LIBS=$ac_check_lib_save_LIBS
11976 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
11977 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
11978 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
11980 cat >>confdefs.h <<\_ACEOF
11981 #define HAVE_LCMS 1
11982 _ACEOF
11984 LCMSLIBS="-llcms"
11989 LDAPLIBS=""
11991 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
11992 then
11993 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
11994 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
11995 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
11996 echo $ECHO_N "(cached) $ECHO_C" >&6
11997 else
11998 ac_check_lib_save_LIBS=$LIBS
11999 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12000 cat >conftest.$ac_ext <<_ACEOF
12001 /* confdefs.h. */
12002 _ACEOF
12003 cat confdefs.h >>conftest.$ac_ext
12004 cat >>conftest.$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12007 /* Override any GCC internal prototype to avoid an error.
12008 Use char because int might match the return type of a GCC
12009 builtin and then its argument prototype would still apply. */
12010 #ifdef __cplusplus
12011 extern "C"
12012 #endif
12013 char ldap_initialize ();
12015 main ()
12017 return ldap_initialize ();
12019 return 0;
12021 _ACEOF
12022 rm -f conftest.$ac_objext conftest$ac_exeext
12023 if { (ac_try="$ac_link"
12024 case "(($ac_try" in
12025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12026 *) ac_try_echo=$ac_try;;
12027 esac
12028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12029 (eval "$ac_link") 2>conftest.er1
12030 ac_status=$?
12031 grep -v '^ *+' conftest.er1 >conftest.err
12032 rm -f conftest.er1
12033 cat conftest.err >&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } && {
12036 test -z "$ac_c_werror_flag" ||
12037 test ! -s conftest.err
12038 } && test -s conftest$ac_exeext &&
12039 $as_test_x conftest$ac_exeext; then
12040 ac_cv_lib_ldap_r_ldap_initialize=yes
12041 else
12042 echo "$as_me: failed program was:" >&5
12043 sed 's/^/| /' conftest.$ac_ext >&5
12045 ac_cv_lib_ldap_r_ldap_initialize=no
12048 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12049 conftest$ac_exeext conftest.$ac_ext
12050 LIBS=$ac_check_lib_save_LIBS
12052 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12053 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12054 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12055 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12056 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12057 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 else
12060 ac_check_lib_save_LIBS=$LIBS
12061 LIBS="-llber $LIBPTHREAD $LIBS"
12062 cat >conftest.$ac_ext <<_ACEOF
12063 /* confdefs.h. */
12064 _ACEOF
12065 cat confdefs.h >>conftest.$ac_ext
12066 cat >>conftest.$ac_ext <<_ACEOF
12067 /* end confdefs.h. */
12069 /* Override any GCC internal prototype to avoid an error.
12070 Use char because int might match the return type of a GCC
12071 builtin and then its argument prototype would still apply. */
12072 #ifdef __cplusplus
12073 extern "C"
12074 #endif
12075 char ber_init ();
12077 main ()
12079 return ber_init ();
12081 return 0;
12083 _ACEOF
12084 rm -f conftest.$ac_objext conftest$ac_exeext
12085 if { (ac_try="$ac_link"
12086 case "(($ac_try" in
12087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12088 *) ac_try_echo=$ac_try;;
12089 esac
12090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12091 (eval "$ac_link") 2>conftest.er1
12092 ac_status=$?
12093 grep -v '^ *+' conftest.er1 >conftest.err
12094 rm -f conftest.er1
12095 cat conftest.err >&5
12096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12097 (exit $ac_status); } && {
12098 test -z "$ac_c_werror_flag" ||
12099 test ! -s conftest.err
12100 } && test -s conftest$ac_exeext &&
12101 $as_test_x conftest$ac_exeext; then
12102 ac_cv_lib_lber_ber_init=yes
12103 else
12104 echo "$as_me: failed program was:" >&5
12105 sed 's/^/| /' conftest.$ac_ext >&5
12107 ac_cv_lib_lber_ber_init=no
12110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12111 conftest$ac_exeext conftest.$ac_ext
12112 LIBS=$ac_check_lib_save_LIBS
12114 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12115 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12116 if test $ac_cv_lib_lber_ber_init = yes; then
12118 cat >>confdefs.h <<\_ACEOF
12119 #define HAVE_LDAP 1
12120 _ACEOF
12122 LDAPLIBS="-lldap_r -llber"
12127 ac_wine_check_funcs_save_LIBS="$LIBS"
12128 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12133 for ac_func in \
12134 ldap_count_references \
12135 ldap_first_reference \
12136 ldap_next_reference \
12137 ldap_parse_reference
12139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12140 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12142 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12143 echo $ECHO_N "(cached) $ECHO_C" >&6
12144 else
12145 cat >conftest.$ac_ext <<_ACEOF
12146 /* confdefs.h. */
12147 _ACEOF
12148 cat confdefs.h >>conftest.$ac_ext
12149 cat >>conftest.$ac_ext <<_ACEOF
12150 /* end confdefs.h. */
12151 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12152 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12153 #define $ac_func innocuous_$ac_func
12155 /* System header to define __stub macros and hopefully few prototypes,
12156 which can conflict with char $ac_func (); below.
12157 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12158 <limits.h> exists even on freestanding compilers. */
12160 #ifdef __STDC__
12161 # include <limits.h>
12162 #else
12163 # include <assert.h>
12164 #endif
12166 #undef $ac_func
12168 /* Override any GCC internal prototype to avoid an error.
12169 Use char because int might match the return type of a GCC
12170 builtin and then its argument prototype would still apply. */
12171 #ifdef __cplusplus
12172 extern "C"
12173 #endif
12174 char $ac_func ();
12175 /* The GNU C library defines this for functions which it implements
12176 to always fail with ENOSYS. Some functions are actually named
12177 something starting with __ and the normal name is an alias. */
12178 #if defined __stub_$ac_func || defined __stub___$ac_func
12179 choke me
12180 #endif
12183 main ()
12185 return $ac_func ();
12187 return 0;
12189 _ACEOF
12190 rm -f conftest.$ac_objext conftest$ac_exeext
12191 if { (ac_try="$ac_link"
12192 case "(($ac_try" in
12193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12194 *) ac_try_echo=$ac_try;;
12195 esac
12196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12197 (eval "$ac_link") 2>conftest.er1
12198 ac_status=$?
12199 grep -v '^ *+' conftest.er1 >conftest.err
12200 rm -f conftest.er1
12201 cat conftest.err >&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } && {
12204 test -z "$ac_c_werror_flag" ||
12205 test ! -s conftest.err
12206 } && test -s conftest$ac_exeext &&
12207 $as_test_x conftest$ac_exeext; then
12208 eval "$as_ac_var=yes"
12209 else
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.$ac_ext >&5
12213 eval "$as_ac_var=no"
12216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12217 conftest$ac_exeext conftest.$ac_ext
12219 ac_res=`eval echo '${'$as_ac_var'}'`
12220 { echo "$as_me:$LINENO: result: $ac_res" >&5
12221 echo "${ECHO_T}$ac_res" >&6; }
12222 if test `eval echo '${'$as_ac_var'}'` = yes; then
12223 cat >>confdefs.h <<_ACEOF
12224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12225 _ACEOF
12228 done
12230 LIBS="$ac_wine_check_funcs_save_LIBS"
12233 FREETYPELIBS=""
12235 FREETYPEINCL=""
12237 # Extract the first word of "freetype-config", so it can be a program name with args.
12238 set dummy freetype-config; ac_word=$2
12239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12241 if test "${ac_cv_prog_ft_devel+set}" = set; then
12242 echo $ECHO_N "(cached) $ECHO_C" >&6
12243 else
12244 if test -n "$ft_devel"; then
12245 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12246 else
12247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12248 for as_dir in $PATH
12250 IFS=$as_save_IFS
12251 test -z "$as_dir" && as_dir=.
12252 for ac_exec_ext in '' $ac_executable_extensions; do
12253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12254 ac_cv_prog_ft_devel="freetype-config"
12255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12256 break 2
12258 done
12259 done
12260 IFS=$as_save_IFS
12262 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12265 ft_devel=$ac_cv_prog_ft_devel
12266 if test -n "$ft_devel"; then
12267 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12268 echo "${ECHO_T}$ft_devel" >&6; }
12269 else
12270 { echo "$as_me:$LINENO: result: no" >&5
12271 echo "${ECHO_T}no" >&6; }
12275 if test "$ft_devel" = "no"
12276 then
12277 # Extract the first word of "freetype2-config", so it can be a program name with args.
12278 set dummy freetype2-config; ac_word=$2
12279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12281 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12283 else
12284 if test -n "$ft_devel2"; then
12285 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12286 else
12287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12288 for as_dir in $PATH
12290 IFS=$as_save_IFS
12291 test -z "$as_dir" && as_dir=.
12292 for ac_exec_ext in '' $ac_executable_extensions; do
12293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12294 ac_cv_prog_ft_devel2="freetype2-config"
12295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12296 break 2
12298 done
12299 done
12300 IFS=$as_save_IFS
12302 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12305 ft_devel2=$ac_cv_prog_ft_devel2
12306 if test -n "$ft_devel2"; then
12307 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12308 echo "${ECHO_T}$ft_devel2" >&6; }
12309 else
12310 { echo "$as_me:$LINENO: result: no" >&5
12311 echo "${ECHO_T}no" >&6; }
12315 if test "$ft_devel2" = "freetype2-config"
12316 then
12317 ft_devel=$ft_devel2
12321 if test "$ft_devel" = "no"
12322 then
12323 wine_cv_msg_freetype=yes
12324 else
12325 FREETYPELIBS=`$ft_devel --libs`
12326 FREETYPEINCL=`$ft_devel --cflags`
12327 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12328 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12329 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12330 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 else
12332 ac_check_lib_save_LIBS=$LIBS
12333 LIBS="-lfreetype $FREETYPELIBS $LIBS"
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. */
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12344 #ifdef __cplusplus
12345 extern "C"
12346 #endif
12347 char FT_Init_FreeType ();
12349 main ()
12351 return FT_Init_FreeType ();
12353 return 0;
12355 _ACEOF
12356 rm -f conftest.$ac_objext conftest$ac_exeext
12357 if { (ac_try="$ac_link"
12358 case "(($ac_try" in
12359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12360 *) ac_try_echo=$ac_try;;
12361 esac
12362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12363 (eval "$ac_link") 2>conftest.er1
12364 ac_status=$?
12365 grep -v '^ *+' conftest.er1 >conftest.err
12366 rm -f conftest.er1
12367 cat conftest.err >&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } && {
12370 test -z "$ac_c_werror_flag" ||
12371 test ! -s conftest.err
12372 } && test -s conftest$ac_exeext &&
12373 $as_test_x conftest$ac_exeext; then
12374 ac_cv_lib_freetype_FT_Init_FreeType=yes
12375 else
12376 echo "$as_me: failed program was:" >&5
12377 sed 's/^/| /' conftest.$ac_ext >&5
12379 ac_cv_lib_freetype_FT_Init_FreeType=no
12382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12383 conftest$ac_exeext conftest.$ac_ext
12384 LIBS=$ac_check_lib_save_LIBS
12386 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12387 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12388 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12389 ft_lib=yes
12390 else
12391 ft_lib=no
12394 if test "$ft_lib" = "no"
12395 then
12396 wine_cv_msg_freetype=yes
12397 FREETYPELIBS=""
12398 FREETYPEINCL=""
12399 else
12400 ac_save_CPPFLAGS="$CPPFLAGS"
12401 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12413 for ac_header in ft2build.h \
12414 freetype/freetype.h \
12415 freetype/ftglyph.h \
12416 freetype/tttables.h \
12417 freetype/ftnames.h \
12418 freetype/ftsnames.h \
12419 freetype/ttnameid.h \
12420 freetype/ftoutln.h \
12421 freetype/ftwinfnt.h \
12422 freetype/ftmodapi.h \
12423 freetype/internal/sfnt.h
12425 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12428 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12429 echo $ECHO_N "(cached) $ECHO_C" >&6
12430 else
12431 cat >conftest.$ac_ext <<_ACEOF
12432 /* confdefs.h. */
12433 _ACEOF
12434 cat confdefs.h >>conftest.$ac_ext
12435 cat >>conftest.$ac_ext <<_ACEOF
12436 /* end confdefs.h. */
12437 #if HAVE_FT2BUILD_H
12438 #include <ft2build.h>
12439 #endif
12441 #include <$ac_header>
12442 _ACEOF
12443 rm -f conftest.$ac_objext
12444 if { (ac_try="$ac_compile"
12445 case "(($ac_try" in
12446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12447 *) ac_try_echo=$ac_try;;
12448 esac
12449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12450 (eval "$ac_compile") 2>conftest.er1
12451 ac_status=$?
12452 grep -v '^ *+' conftest.er1 >conftest.err
12453 rm -f conftest.er1
12454 cat conftest.err >&5
12455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12456 (exit $ac_status); } && {
12457 test -z "$ac_c_werror_flag" ||
12458 test ! -s conftest.err
12459 } && test -s conftest.$ac_objext; then
12460 eval "$as_ac_Header=yes"
12461 else
12462 echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.$ac_ext >&5
12465 eval "$as_ac_Header=no"
12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470 ac_res=`eval echo '${'$as_ac_Header'}'`
12471 { echo "$as_me:$LINENO: result: $ac_res" >&5
12472 echo "${ECHO_T}$ac_res" >&6; }
12473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12474 cat >>confdefs.h <<_ACEOF
12475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12476 _ACEOF
12480 done
12482 cat >conftest.$ac_ext <<_ACEOF
12483 /* confdefs.h. */
12484 _ACEOF
12485 cat confdefs.h >>conftest.$ac_ext
12486 cat >>conftest.$ac_ext <<_ACEOF
12487 /* end confdefs.h. */
12488 #include <ft2build.h>
12489 #include <freetype/fttrigon.h>
12490 _ACEOF
12491 if { (ac_try="$ac_cpp conftest.$ac_ext"
12492 case "(($ac_try" in
12493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12494 *) ac_try_echo=$ac_try;;
12495 esac
12496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12498 ac_status=$?
12499 grep -v '^ *+' conftest.er1 >conftest.err
12500 rm -f conftest.er1
12501 cat conftest.err >&5
12502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12503 (exit $ac_status); } >/dev/null && {
12504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
12505 test ! -s conftest.err
12506 }; then
12508 cat >>confdefs.h <<\_ACEOF
12509 #define HAVE_FREETYPE_FTTRIGON_H 1
12510 _ACEOF
12512 wine_cv_fttrigon=yes
12513 else
12514 echo "$as_me: failed program was:" >&5
12515 sed 's/^/| /' conftest.$ac_ext >&5
12517 wine_cv_fttrigon=no
12520 rm -f conftest.err conftest.$ac_ext
12521 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12522 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12523 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12524 echo $ECHO_N "(cached) $ECHO_C" >&6
12525 else
12526 cat >conftest.$ac_ext <<_ACEOF
12527 /* confdefs.h. */
12528 _ACEOF
12529 cat confdefs.h >>conftest.$ac_ext
12530 cat >>conftest.$ac_ext <<_ACEOF
12531 /* end confdefs.h. */
12532 #include <freetype/ftmodapi.h>
12534 typedef FT_TrueTypeEngineType ac__type_new_;
12536 main ()
12538 if ((ac__type_new_ *) 0)
12539 return 0;
12540 if (sizeof (ac__type_new_))
12541 return 0;
12543 return 0;
12545 _ACEOF
12546 rm -f conftest.$ac_objext
12547 if { (ac_try="$ac_compile"
12548 case "(($ac_try" in
12549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12550 *) ac_try_echo=$ac_try;;
12551 esac
12552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553 (eval "$ac_compile") 2>conftest.er1
12554 ac_status=$?
12555 grep -v '^ *+' conftest.er1 >conftest.err
12556 rm -f conftest.er1
12557 cat conftest.err >&5
12558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12559 (exit $ac_status); } && {
12560 test -z "$ac_c_werror_flag" ||
12561 test ! -s conftest.err
12562 } && test -s conftest.$ac_objext; then
12563 ac_cv_type_FT_TrueTypeEngineType=yes
12564 else
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.$ac_ext >&5
12568 ac_cv_type_FT_TrueTypeEngineType=no
12571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12573 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12574 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12575 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12577 cat >>confdefs.h <<_ACEOF
12578 #define HAVE_FT_TRUETYPEENGINETYPE 1
12579 _ACEOF
12584 ac_save_CFLAGS="$CFLAGS"
12585 CFLAGS="$CFLAGS $FREETYPELIBS"
12587 for ac_func in FT_Load_Sfnt_Table
12589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12590 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12592 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12593 echo $ECHO_N "(cached) $ECHO_C" >&6
12594 else
12595 cat >conftest.$ac_ext <<_ACEOF
12596 /* confdefs.h. */
12597 _ACEOF
12598 cat confdefs.h >>conftest.$ac_ext
12599 cat >>conftest.$ac_ext <<_ACEOF
12600 /* end confdefs.h. */
12601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12602 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12603 #define $ac_func innocuous_$ac_func
12605 /* System header to define __stub macros and hopefully few prototypes,
12606 which can conflict with char $ac_func (); below.
12607 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12608 <limits.h> exists even on freestanding compilers. */
12610 #ifdef __STDC__
12611 # include <limits.h>
12612 #else
12613 # include <assert.h>
12614 #endif
12616 #undef $ac_func
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12621 #ifdef __cplusplus
12622 extern "C"
12623 #endif
12624 char $ac_func ();
12625 /* The GNU C library defines this for functions which it implements
12626 to always fail with ENOSYS. Some functions are actually named
12627 something starting with __ and the normal name is an alias. */
12628 #if defined __stub_$ac_func || defined __stub___$ac_func
12629 choke me
12630 #endif
12633 main ()
12635 return $ac_func ();
12637 return 0;
12639 _ACEOF
12640 rm -f conftest.$ac_objext conftest$ac_exeext
12641 if { (ac_try="$ac_link"
12642 case "(($ac_try" in
12643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12644 *) ac_try_echo=$ac_try;;
12645 esac
12646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12647 (eval "$ac_link") 2>conftest.er1
12648 ac_status=$?
12649 grep -v '^ *+' conftest.er1 >conftest.err
12650 rm -f conftest.er1
12651 cat conftest.err >&5
12652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12653 (exit $ac_status); } && {
12654 test -z "$ac_c_werror_flag" ||
12655 test ! -s conftest.err
12656 } && test -s conftest$ac_exeext &&
12657 $as_test_x conftest$ac_exeext; then
12658 eval "$as_ac_var=yes"
12659 else
12660 echo "$as_me: failed program was:" >&5
12661 sed 's/^/| /' conftest.$ac_ext >&5
12663 eval "$as_ac_var=no"
12666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12667 conftest$ac_exeext conftest.$ac_ext
12669 ac_res=`eval echo '${'$as_ac_var'}'`
12670 { echo "$as_me:$LINENO: result: $ac_res" >&5
12671 echo "${ECHO_T}$ac_res" >&6; }
12672 if test `eval echo '${'$as_ac_var'}'` = yes; then
12673 cat >>confdefs.h <<_ACEOF
12674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12675 _ACEOF
12678 done
12680 CFLAGS="$ac_save_CFLAGS"
12681 CPPFLAGS="$ac_save_CPPFLAGS"
12682 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12683 then
12685 cat >>confdefs.h <<\_ACEOF
12686 #define HAVE_FREETYPE 1
12687 _ACEOF
12689 wine_cv_msg_freetype=no
12690 else
12691 FREETYPELIBS=""
12692 FREETYPEINCL=""
12693 wine_cv_msg_freetype=yes
12698 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12699 then
12700 FONTSSUBDIRS="fonts"
12704 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12705 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12706 if test "${ac_cv_c_ppdev+set}" = set; then
12707 echo $ECHO_N "(cached) $ECHO_C" >&6
12708 else
12709 cat >conftest.$ac_ext <<_ACEOF
12710 /* confdefs.h. */
12711 _ACEOF
12712 cat confdefs.h >>conftest.$ac_ext
12713 cat >>conftest.$ac_ext <<_ACEOF
12714 /* end confdefs.h. */
12715 #include <linux/ppdev.h>
12717 main ()
12719 ioctl (1,PPCLAIM,0)
12721 return 0;
12723 _ACEOF
12724 rm -f conftest.$ac_objext
12725 if { (ac_try="$ac_compile"
12726 case "(($ac_try" in
12727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12728 *) ac_try_echo=$ac_try;;
12729 esac
12730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12731 (eval "$ac_compile") 2>conftest.er1
12732 ac_status=$?
12733 grep -v '^ *+' conftest.er1 >conftest.err
12734 rm -f conftest.er1
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } && {
12738 test -z "$ac_c_werror_flag" ||
12739 test ! -s conftest.err
12740 } && test -s conftest.$ac_objext; then
12741 ac_cv_c_ppdev="yes"
12742 else
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.$ac_ext >&5
12746 ac_cv_c_ppdev="no"
12749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12751 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
12752 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
12753 if test "$ac_cv_c_ppdev" = "yes"
12754 then
12756 cat >>confdefs.h <<\_ACEOF
12757 #define HAVE_PPDEV 1
12758 _ACEOF
12762 { echo "$as_me:$LINENO: checking for va_copy" >&5
12763 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
12764 if test "${ac_cv_c_va_copy+set}" = set; then
12765 echo $ECHO_N "(cached) $ECHO_C" >&6
12766 else
12767 cat >conftest.$ac_ext <<_ACEOF
12768 /* confdefs.h. */
12769 _ACEOF
12770 cat confdefs.h >>conftest.$ac_ext
12771 cat >>conftest.$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12773 #include <stdarg.h>
12775 main ()
12777 va_list ap1, ap2; va_copy(ap1,ap2);
12779 return 0;
12781 _ACEOF
12782 rm -f conftest.$ac_objext conftest$ac_exeext
12783 if { (ac_try="$ac_link"
12784 case "(($ac_try" in
12785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12786 *) ac_try_echo=$ac_try;;
12787 esac
12788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12789 (eval "$ac_link") 2>conftest.er1
12790 ac_status=$?
12791 grep -v '^ *+' conftest.er1 >conftest.err
12792 rm -f conftest.er1
12793 cat conftest.err >&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } && {
12796 test -z "$ac_c_werror_flag" ||
12797 test ! -s conftest.err
12798 } && test -s conftest$ac_exeext &&
12799 $as_test_x conftest$ac_exeext; then
12800 ac_cv_c_va_copy="yes"
12801 else
12802 echo "$as_me: failed program was:" >&5
12803 sed 's/^/| /' conftest.$ac_ext >&5
12805 ac_cv_c_va_copy="no"
12808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12809 conftest$ac_exeext conftest.$ac_ext
12812 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
12813 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
12814 if test "$ac_cv_c_va_copy" = "yes"
12815 then
12817 cat >>confdefs.h <<\_ACEOF
12818 #define HAVE_VA_COPY 1
12819 _ACEOF
12822 { echo "$as_me:$LINENO: checking for __va_copy" >&5
12823 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
12824 if test "${ac_cv_c___va_copy+set}" = set; then
12825 echo $ECHO_N "(cached) $ECHO_C" >&6
12826 else
12827 cat >conftest.$ac_ext <<_ACEOF
12828 /* confdefs.h. */
12829 _ACEOF
12830 cat confdefs.h >>conftest.$ac_ext
12831 cat >>conftest.$ac_ext <<_ACEOF
12832 /* end confdefs.h. */
12833 #include <stdarg.h>
12835 main ()
12837 va_list ap1, ap2; __va_copy(ap1,ap2);
12839 return 0;
12841 _ACEOF
12842 rm -f conftest.$ac_objext conftest$ac_exeext
12843 if { (ac_try="$ac_link"
12844 case "(($ac_try" in
12845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12846 *) ac_try_echo=$ac_try;;
12847 esac
12848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12849 (eval "$ac_link") 2>conftest.er1
12850 ac_status=$?
12851 grep -v '^ *+' conftest.er1 >conftest.err
12852 rm -f conftest.er1
12853 cat conftest.err >&5
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); } && {
12856 test -z "$ac_c_werror_flag" ||
12857 test ! -s conftest.err
12858 } && test -s conftest$ac_exeext &&
12859 $as_test_x conftest$ac_exeext; then
12860 ac_cv_c___va_copy="yes"
12861 else
12862 echo "$as_me: failed program was:" >&5
12863 sed 's/^/| /' conftest.$ac_ext >&5
12865 ac_cv_c___va_copy="no"
12868 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12869 conftest$ac_exeext conftest.$ac_ext
12872 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
12873 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
12874 if test "$ac_cv_c___va_copy" = "yes"
12875 then
12877 cat >>confdefs.h <<\_ACEOF
12878 #define HAVE___VA_COPY 1
12879 _ACEOF
12883 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
12884 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
12885 if test "${ac_cv_c_sigsetjmp+set}" = set; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 else
12888 cat >conftest.$ac_ext <<_ACEOF
12889 /* confdefs.h. */
12890 _ACEOF
12891 cat confdefs.h >>conftest.$ac_ext
12892 cat >>conftest.$ac_ext <<_ACEOF
12893 /* end confdefs.h. */
12894 #include <setjmp.h>
12896 main ()
12898 sigjmp_buf buf;
12899 sigsetjmp( buf, 1 );
12900 siglongjmp( buf, 1 );
12902 return 0;
12904 _ACEOF
12905 rm -f conftest.$ac_objext conftest$ac_exeext
12906 if { (ac_try="$ac_link"
12907 case "(($ac_try" in
12908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12909 *) ac_try_echo=$ac_try;;
12910 esac
12911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12912 (eval "$ac_link") 2>conftest.er1
12913 ac_status=$?
12914 grep -v '^ *+' conftest.er1 >conftest.err
12915 rm -f conftest.er1
12916 cat conftest.err >&5
12917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12918 (exit $ac_status); } && {
12919 test -z "$ac_c_werror_flag" ||
12920 test ! -s conftest.err
12921 } && test -s conftest$ac_exeext &&
12922 $as_test_x conftest$ac_exeext; then
12923 ac_cv_c_sigsetjmp="yes"
12924 else
12925 echo "$as_me: failed program was:" >&5
12926 sed 's/^/| /' conftest.$ac_ext >&5
12928 ac_cv_c_sigsetjmp="no"
12931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12932 conftest$ac_exeext conftest.$ac_ext
12935 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
12936 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
12937 if test "$ac_cv_c_sigsetjmp" = "yes"
12938 then
12940 cat >>confdefs.h <<\_ACEOF
12941 #define HAVE_SIGSETJMP 1
12942 _ACEOF
12946 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
12947 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
12948 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
12949 echo $ECHO_N "(cached) $ECHO_C" >&6
12950 else
12951 cat >conftest.$ac_ext <<_ACEOF
12952 /* confdefs.h. */
12953 _ACEOF
12954 cat confdefs.h >>conftest.$ac_ext
12955 cat >>conftest.$ac_ext <<_ACEOF
12956 /* end confdefs.h. */
12957 #define _GNU_SOURCE
12958 #include <pthread.h>
12960 typedef pthread_rwlock_t ac__type_new_;
12962 main ()
12964 if ((ac__type_new_ *) 0)
12965 return 0;
12966 if (sizeof (ac__type_new_))
12967 return 0;
12969 return 0;
12971 _ACEOF
12972 rm -f conftest.$ac_objext
12973 if { (ac_try="$ac_compile"
12974 case "(($ac_try" in
12975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12976 *) ac_try_echo=$ac_try;;
12977 esac
12978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12979 (eval "$ac_compile") 2>conftest.er1
12980 ac_status=$?
12981 grep -v '^ *+' conftest.er1 >conftest.err
12982 rm -f conftest.er1
12983 cat conftest.err >&5
12984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12985 (exit $ac_status); } && {
12986 test -z "$ac_c_werror_flag" ||
12987 test ! -s conftest.err
12988 } && test -s conftest.$ac_objext; then
12989 ac_cv_type_pthread_rwlock_t=yes
12990 else
12991 echo "$as_me: failed program was:" >&5
12992 sed 's/^/| /' conftest.$ac_ext >&5
12994 ac_cv_type_pthread_rwlock_t=no
12997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12999 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13000 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13001 if test $ac_cv_type_pthread_rwlock_t = yes; then
13003 cat >>confdefs.h <<_ACEOF
13004 #define HAVE_PTHREAD_RWLOCK_T 1
13005 _ACEOF
13009 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13010 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13011 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13012 echo $ECHO_N "(cached) $ECHO_C" >&6
13013 else
13014 cat >conftest.$ac_ext <<_ACEOF
13015 /* confdefs.h. */
13016 _ACEOF
13017 cat confdefs.h >>conftest.$ac_ext
13018 cat >>conftest.$ac_ext <<_ACEOF
13019 /* end confdefs.h. */
13020 #define _GNU_SOURCE
13021 #include <pthread.h>
13023 typedef pthread_rwlockattr_t ac__type_new_;
13025 main ()
13027 if ((ac__type_new_ *) 0)
13028 return 0;
13029 if (sizeof (ac__type_new_))
13030 return 0;
13032 return 0;
13034 _ACEOF
13035 rm -f conftest.$ac_objext
13036 if { (ac_try="$ac_compile"
13037 case "(($ac_try" in
13038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13039 *) ac_try_echo=$ac_try;;
13040 esac
13041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13042 (eval "$ac_compile") 2>conftest.er1
13043 ac_status=$?
13044 grep -v '^ *+' conftest.er1 >conftest.err
13045 rm -f conftest.er1
13046 cat conftest.err >&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } && {
13049 test -z "$ac_c_werror_flag" ||
13050 test ! -s conftest.err
13051 } && test -s conftest.$ac_objext; then
13052 ac_cv_type_pthread_rwlockattr_t=yes
13053 else
13054 echo "$as_me: failed program was:" >&5
13055 sed 's/^/| /' conftest.$ac_ext >&5
13057 ac_cv_type_pthread_rwlockattr_t=no
13060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13062 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13063 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13064 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13066 cat >>confdefs.h <<_ACEOF
13067 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13068 _ACEOF
13074 ac_wine_check_funcs_save_LIBS="$LIBS"
13075 LIBS="$LIBS $LIBPTHREAD"
13080 for ac_func in \
13081 pthread_attr_get_np \
13082 pthread_getattr_np \
13083 pthread_get_stackaddr_np \
13084 pthread_get_stacksize_np
13086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13087 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13089 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13090 echo $ECHO_N "(cached) $ECHO_C" >&6
13091 else
13092 cat >conftest.$ac_ext <<_ACEOF
13093 /* confdefs.h. */
13094 _ACEOF
13095 cat confdefs.h >>conftest.$ac_ext
13096 cat >>conftest.$ac_ext <<_ACEOF
13097 /* end confdefs.h. */
13098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13100 #define $ac_func innocuous_$ac_func
13102 /* System header to define __stub macros and hopefully few prototypes,
13103 which can conflict with char $ac_func (); below.
13104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13105 <limits.h> exists even on freestanding compilers. */
13107 #ifdef __STDC__
13108 # include <limits.h>
13109 #else
13110 # include <assert.h>
13111 #endif
13113 #undef $ac_func
13115 /* Override any GCC internal prototype to avoid an error.
13116 Use char because int might match the return type of a GCC
13117 builtin and then its argument prototype would still apply. */
13118 #ifdef __cplusplus
13119 extern "C"
13120 #endif
13121 char $ac_func ();
13122 /* The GNU C library defines this for functions which it implements
13123 to always fail with ENOSYS. Some functions are actually named
13124 something starting with __ and the normal name is an alias. */
13125 #if defined __stub_$ac_func || defined __stub___$ac_func
13126 choke me
13127 #endif
13130 main ()
13132 return $ac_func ();
13134 return 0;
13136 _ACEOF
13137 rm -f conftest.$ac_objext conftest$ac_exeext
13138 if { (ac_try="$ac_link"
13139 case "(($ac_try" in
13140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13141 *) ac_try_echo=$ac_try;;
13142 esac
13143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13144 (eval "$ac_link") 2>conftest.er1
13145 ac_status=$?
13146 grep -v '^ *+' conftest.er1 >conftest.err
13147 rm -f conftest.er1
13148 cat conftest.err >&5
13149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13150 (exit $ac_status); } && {
13151 test -z "$ac_c_werror_flag" ||
13152 test ! -s conftest.err
13153 } && test -s conftest$ac_exeext &&
13154 $as_test_x conftest$ac_exeext; then
13155 eval "$as_ac_var=yes"
13156 else
13157 echo "$as_me: failed program was:" >&5
13158 sed 's/^/| /' conftest.$ac_ext >&5
13160 eval "$as_ac_var=no"
13163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13164 conftest$ac_exeext conftest.$ac_ext
13166 ac_res=`eval echo '${'$as_ac_var'}'`
13167 { echo "$as_me:$LINENO: result: $ac_res" >&5
13168 echo "${ECHO_T}$ac_res" >&6; }
13169 if test `eval echo '${'$as_ac_var'}'` = yes; then
13170 cat >>confdefs.h <<_ACEOF
13171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13172 _ACEOF
13175 done
13177 LIBS="$ac_wine_check_funcs_save_LIBS"
13179 # Extract the first word of "esd-config", so it can be a program name with args.
13180 set dummy esd-config; ac_word=$2
13181 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13182 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13183 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 else
13186 case $ESDCONFIG in
13187 [\\/]* | ?:[\\/]*)
13188 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13192 for as_dir in $PATH
13194 IFS=$as_save_IFS
13195 test -z "$as_dir" && as_dir=.
13196 for ac_exec_ext in '' $ac_executable_extensions; do
13197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13198 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13200 break 2
13202 done
13203 done
13204 IFS=$as_save_IFS
13207 esac
13209 ESDCONFIG=$ac_cv_path_ESDCONFIG
13210 if test -n "$ESDCONFIG"; then
13211 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13212 echo "${ECHO_T}$ESDCONFIG" >&6; }
13213 else
13214 { echo "$as_me:$LINENO: result: no" >&5
13215 echo "${ECHO_T}no" >&6; }
13219 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13220 then
13221 ESD_CFLAGS=""
13222 for i in `$ESDCONFIG --cflags`
13224 case "$i" in
13225 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13226 esac
13227 done
13228 ESD_LIBS=`$ESDCONFIG --libs`
13229 save_CFLAGS="$CFLAGS"
13230 CFLAGS="$CFLAGS $ESD_CFLAGS"
13231 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13232 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13233 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13234 echo $ECHO_N "(cached) $ECHO_C" >&6
13235 else
13236 ac_check_lib_save_LIBS=$LIBS
13237 LIBS="-lesd $LIBS"
13238 cat >conftest.$ac_ext <<_ACEOF
13239 /* confdefs.h. */
13240 _ACEOF
13241 cat confdefs.h >>conftest.$ac_ext
13242 cat >>conftest.$ac_ext <<_ACEOF
13243 /* end confdefs.h. */
13245 /* Override any GCC internal prototype to avoid an error.
13246 Use char because int might match the return type of a GCC
13247 builtin and then its argument prototype would still apply. */
13248 #ifdef __cplusplus
13249 extern "C"
13250 #endif
13251 char esd_open_sound ();
13253 main ()
13255 return esd_open_sound ();
13257 return 0;
13259 _ACEOF
13260 rm -f conftest.$ac_objext conftest$ac_exeext
13261 if { (ac_try="$ac_link"
13262 case "(($ac_try" in
13263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13264 *) ac_try_echo=$ac_try;;
13265 esac
13266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13267 (eval "$ac_link") 2>conftest.er1
13268 ac_status=$?
13269 grep -v '^ *+' conftest.er1 >conftest.err
13270 rm -f conftest.er1
13271 cat conftest.err >&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); } && {
13274 test -z "$ac_c_werror_flag" ||
13275 test ! -s conftest.err
13276 } && test -s conftest$ac_exeext &&
13277 $as_test_x conftest$ac_exeext; then
13278 ac_cv_lib_esd_esd_open_sound=yes
13279 else
13280 echo "$as_me: failed program was:" >&5
13281 sed 's/^/| /' conftest.$ac_ext >&5
13283 ac_cv_lib_esd_esd_open_sound=no
13286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_lib_save_LIBS
13290 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13291 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13292 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13293 ESDLIBS=$ESD_LIBS
13295 ESDINCL=$ESD_CFLAGS
13298 cat >>confdefs.h <<\_ACEOF
13299 #define HAVE_ESD 1
13300 _ACEOF
13304 CFLAGS="$save_CFLAGS"
13307 ALSALIBS=""
13309 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13310 then
13311 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13312 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13313 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13314 echo $ECHO_N "(cached) $ECHO_C" >&6
13315 else
13316 ac_check_lib_save_LIBS=$LIBS
13317 LIBS="-lasound $LIBS"
13318 cat >conftest.$ac_ext <<_ACEOF
13319 /* confdefs.h. */
13320 _ACEOF
13321 cat confdefs.h >>conftest.$ac_ext
13322 cat >>conftest.$ac_ext <<_ACEOF
13323 /* end confdefs.h. */
13325 /* Override any GCC internal prototype to avoid an error.
13326 Use char because int might match the return type of a GCC
13327 builtin and then its argument prototype would still apply. */
13328 #ifdef __cplusplus
13329 extern "C"
13330 #endif
13331 char snd_pcm_hw_params_get_access ();
13333 main ()
13335 return snd_pcm_hw_params_get_access ();
13337 return 0;
13339 _ACEOF
13340 rm -f conftest.$ac_objext conftest$ac_exeext
13341 if { (ac_try="$ac_link"
13342 case "(($ac_try" in
13343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13344 *) ac_try_echo=$ac_try;;
13345 esac
13346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13347 (eval "$ac_link") 2>conftest.er1
13348 ac_status=$?
13349 grep -v '^ *+' conftest.er1 >conftest.err
13350 rm -f conftest.er1
13351 cat conftest.err >&5
13352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13353 (exit $ac_status); } && {
13354 test -z "$ac_c_werror_flag" ||
13355 test ! -s conftest.err
13356 } && test -s conftest$ac_exeext &&
13357 $as_test_x conftest$ac_exeext; then
13358 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13359 else
13360 echo "$as_me: failed program was:" >&5
13361 sed 's/^/| /' conftest.$ac_ext >&5
13363 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13367 conftest$ac_exeext conftest.$ac_ext
13368 LIBS=$ac_check_lib_save_LIBS
13370 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13371 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13372 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13373 cat >conftest.$ac_ext <<_ACEOF
13374 /* confdefs.h. */
13375 _ACEOF
13376 cat confdefs.h >>conftest.$ac_ext
13377 cat >>conftest.$ac_ext <<_ACEOF
13378 /* end confdefs.h. */
13379 #ifdef HAVE_ALSA_ASOUNDLIB_H
13380 #include <alsa/asoundlib.h>
13381 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13382 #include <sys/asoundlib.h>
13383 #endif
13385 main ()
13387 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13389 return 0;
13391 _ACEOF
13392 rm -f conftest.$ac_objext
13393 if { (ac_try="$ac_compile"
13394 case "(($ac_try" in
13395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13396 *) ac_try_echo=$ac_try;;
13397 esac
13398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13399 (eval "$ac_compile") 2>conftest.er1
13400 ac_status=$?
13401 grep -v '^ *+' conftest.er1 >conftest.err
13402 rm -f conftest.er1
13403 cat conftest.err >&5
13404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13405 (exit $ac_status); } && {
13406 test -z "$ac_c_werror_flag" ||
13407 test ! -s conftest.err
13408 } && test -s conftest.$ac_objext; then
13410 cat >>confdefs.h <<\_ACEOF
13411 #define HAVE_ALSA 1
13412 _ACEOF
13414 ALSALIBS="-lasound"
13415 else
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.$ac_ext >&5
13422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13428 AUDIOIOLIBS=""
13430 if test "$ac_cv_header_libaudioio_h" = "yes"
13431 then
13432 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
13433 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
13434 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
13435 echo $ECHO_N "(cached) $ECHO_C" >&6
13436 else
13437 ac_check_lib_save_LIBS=$LIBS
13438 LIBS="-laudioio $LIBS"
13439 cat >conftest.$ac_ext <<_ACEOF
13440 /* confdefs.h. */
13441 _ACEOF
13442 cat confdefs.h >>conftest.$ac_ext
13443 cat >>conftest.$ac_ext <<_ACEOF
13444 /* end confdefs.h. */
13446 /* Override any GCC internal prototype to avoid an error.
13447 Use char because int might match the return type of a GCC
13448 builtin and then its argument prototype would still apply. */
13449 #ifdef __cplusplus
13450 extern "C"
13451 #endif
13452 char AudioIOGetVersion ();
13454 main ()
13456 return AudioIOGetVersion ();
13458 return 0;
13460 _ACEOF
13461 rm -f conftest.$ac_objext conftest$ac_exeext
13462 if { (ac_try="$ac_link"
13463 case "(($ac_try" in
13464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13465 *) ac_try_echo=$ac_try;;
13466 esac
13467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13468 (eval "$ac_link") 2>conftest.er1
13469 ac_status=$?
13470 grep -v '^ *+' conftest.er1 >conftest.err
13471 rm -f conftest.er1
13472 cat conftest.err >&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); } && {
13475 test -z "$ac_c_werror_flag" ||
13476 test ! -s conftest.err
13477 } && test -s conftest$ac_exeext &&
13478 $as_test_x conftest$ac_exeext; then
13479 ac_cv_lib_audioio_AudioIOGetVersion=yes
13480 else
13481 echo "$as_me: failed program was:" >&5
13482 sed 's/^/| /' conftest.$ac_ext >&5
13484 ac_cv_lib_audioio_AudioIOGetVersion=no
13487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13488 conftest$ac_exeext conftest.$ac_ext
13489 LIBS=$ac_check_lib_save_LIBS
13491 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
13492 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
13493 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
13494 AUDIOIOLIBS="-laudioio"
13496 cat >>confdefs.h <<\_ACEOF
13497 #define HAVE_LIBAUDIOIO 1
13498 _ACEOF
13505 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13506 then
13507 { echo "$as_me:$LINENO: checking for -lcapi20" >&5
13508 echo $ECHO_N "checking for -lcapi20... $ECHO_C" >&6; }
13509 if test "${ac_cv_lib_soname_capi20+set}" = set; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13511 else
13512 ac_check_soname_save_LIBS=$LIBS
13513 LIBS="-lcapi20 $LIBS"
13514 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13521 /* Override any GCC internal prototype to avoid an error.
13522 Use char because int might match the return type of a GCC
13523 builtin and then its argument prototype would still apply. */
13524 #ifdef __cplusplus
13525 extern "C"
13526 #endif
13527 char capi20_register ();
13529 main ()
13531 return capi20_register ();
13533 return 0;
13535 _ACEOF
13536 rm -f conftest.$ac_objext conftest$ac_exeext
13537 if { (ac_try="$ac_link"
13538 case "(($ac_try" in
13539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13540 *) ac_try_echo=$ac_try;;
13541 esac
13542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13543 (eval "$ac_link") 2>conftest.er1
13544 ac_status=$?
13545 grep -v '^ *+' conftest.er1 >conftest.err
13546 rm -f conftest.er1
13547 cat conftest.err >&5
13548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13549 (exit $ac_status); } && {
13550 test -z "$ac_c_werror_flag" ||
13551 test ! -s conftest.err
13552 } && test -s conftest$ac_exeext &&
13553 $as_test_x conftest$ac_exeext; then
13554 case "$LIBEXT" in
13555 dll) ;;
13556 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'` ;;
13557 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13558 esac
13559 else
13560 echo "$as_me: failed program was:" >&5
13561 sed 's/^/| /' conftest.$ac_ext >&5
13566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13567 conftest$ac_exeext conftest.$ac_ext
13568 LIBS=$ac_check_soname_save_LIBS
13570 if test "x$ac_cv_lib_soname_capi20" = "x"; then
13571 { echo "$as_me:$LINENO: result: not found" >&5
13572 echo "${ECHO_T}not found" >&6; }
13574 else
13575 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
13576 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
13578 cat >>confdefs.h <<_ACEOF
13579 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13580 _ACEOF
13587 if test "$ac_cv_header_cups_cups_h" = "yes"
13588 then
13589 { echo "$as_me:$LINENO: checking for -lcups" >&5
13590 echo $ECHO_N "checking for -lcups... $ECHO_C" >&6; }
13591 if test "${ac_cv_lib_soname_cups+set}" = set; then
13592 echo $ECHO_N "(cached) $ECHO_C" >&6
13593 else
13594 ac_check_soname_save_LIBS=$LIBS
13595 LIBS="-lcups $LIBS"
13596 cat >conftest.$ac_ext <<_ACEOF
13597 /* confdefs.h. */
13598 _ACEOF
13599 cat confdefs.h >>conftest.$ac_ext
13600 cat >>conftest.$ac_ext <<_ACEOF
13601 /* end confdefs.h. */
13603 /* Override any GCC internal prototype to avoid an error.
13604 Use char because int might match the return type of a GCC
13605 builtin and then its argument prototype would still apply. */
13606 #ifdef __cplusplus
13607 extern "C"
13608 #endif
13609 char cupsGetDefault ();
13611 main ()
13613 return cupsGetDefault ();
13615 return 0;
13617 _ACEOF
13618 rm -f conftest.$ac_objext conftest$ac_exeext
13619 if { (ac_try="$ac_link"
13620 case "(($ac_try" in
13621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13622 *) ac_try_echo=$ac_try;;
13623 esac
13624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13625 (eval "$ac_link") 2>conftest.er1
13626 ac_status=$?
13627 grep -v '^ *+' conftest.er1 >conftest.err
13628 rm -f conftest.er1
13629 cat conftest.err >&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); } && {
13632 test -z "$ac_c_werror_flag" ||
13633 test ! -s conftest.err
13634 } && test -s conftest$ac_exeext &&
13635 $as_test_x conftest$ac_exeext; then
13636 case "$LIBEXT" in
13637 dll) ;;
13638 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'` ;;
13639 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13640 esac
13641 else
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13649 conftest$ac_exeext conftest.$ac_ext
13650 LIBS=$ac_check_soname_save_LIBS
13652 if test "x$ac_cv_lib_soname_cups" = "x"; then
13653 { echo "$as_me:$LINENO: result: not found" >&5
13654 echo "${ECHO_T}not found" >&6; }
13656 else
13657 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13658 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
13660 cat >>confdefs.h <<_ACEOF
13661 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13662 _ACEOF
13669 if test "$ac_cv_header_jack_jack_h" = "yes"
13670 then
13671 { echo "$as_me:$LINENO: checking for -ljack" >&5
13672 echo $ECHO_N "checking for -ljack... $ECHO_C" >&6; }
13673 if test "${ac_cv_lib_soname_jack+set}" = set; then
13674 echo $ECHO_N "(cached) $ECHO_C" >&6
13675 else
13676 ac_check_soname_save_LIBS=$LIBS
13677 LIBS="-ljack $LIBS"
13678 cat >conftest.$ac_ext <<_ACEOF
13679 /* confdefs.h. */
13680 _ACEOF
13681 cat confdefs.h >>conftest.$ac_ext
13682 cat >>conftest.$ac_ext <<_ACEOF
13683 /* end confdefs.h. */
13685 /* Override any GCC internal prototype to avoid an error.
13686 Use char because int might match the return type of a GCC
13687 builtin and then its argument prototype would still apply. */
13688 #ifdef __cplusplus
13689 extern "C"
13690 #endif
13691 char jack_client_new ();
13693 main ()
13695 return jack_client_new ();
13697 return 0;
13699 _ACEOF
13700 rm -f conftest.$ac_objext conftest$ac_exeext
13701 if { (ac_try="$ac_link"
13702 case "(($ac_try" in
13703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13704 *) ac_try_echo=$ac_try;;
13705 esac
13706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13707 (eval "$ac_link") 2>conftest.er1
13708 ac_status=$?
13709 grep -v '^ *+' conftest.er1 >conftest.err
13710 rm -f conftest.er1
13711 cat conftest.err >&5
13712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13713 (exit $ac_status); } && {
13714 test -z "$ac_c_werror_flag" ||
13715 test ! -s conftest.err
13716 } && test -s conftest$ac_exeext &&
13717 $as_test_x conftest$ac_exeext; then
13718 case "$LIBEXT" in
13719 dll) ;;
13720 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'` ;;
13721 *) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack\\.$LIBEXT" | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13722 esac
13723 else
13724 echo "$as_me: failed program was:" >&5
13725 sed 's/^/| /' conftest.$ac_ext >&5
13730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13731 conftest$ac_exeext conftest.$ac_ext
13732 LIBS=$ac_check_soname_save_LIBS
13734 if test "x$ac_cv_lib_soname_jack" = "x"; then
13735 { echo "$as_me:$LINENO: result: not found" >&5
13736 echo "${ECHO_T}not found" >&6; }
13738 else
13739 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13740 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
13742 cat >>confdefs.h <<_ACEOF
13743 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13744 _ACEOF
13751 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13752 then
13753 { echo "$as_me:$LINENO: checking for -lfontconfig" >&5
13754 echo $ECHO_N "checking for -lfontconfig... $ECHO_C" >&6; }
13755 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13756 echo $ECHO_N "(cached) $ECHO_C" >&6
13757 else
13758 ac_check_soname_save_LIBS=$LIBS
13759 LIBS="-lfontconfig $LIBS"
13760 cat >conftest.$ac_ext <<_ACEOF
13761 /* confdefs.h. */
13762 _ACEOF
13763 cat confdefs.h >>conftest.$ac_ext
13764 cat >>conftest.$ac_ext <<_ACEOF
13765 /* end confdefs.h. */
13767 /* Override any GCC internal prototype to avoid an error.
13768 Use char because int might match the return type of a GCC
13769 builtin and then its argument prototype would still apply. */
13770 #ifdef __cplusplus
13771 extern "C"
13772 #endif
13773 char FcInit ();
13775 main ()
13777 return FcInit ();
13779 return 0;
13781 _ACEOF
13782 rm -f conftest.$ac_objext conftest$ac_exeext
13783 if { (ac_try="$ac_link"
13784 case "(($ac_try" in
13785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13786 *) ac_try_echo=$ac_try;;
13787 esac
13788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13789 (eval "$ac_link") 2>conftest.er1
13790 ac_status=$?
13791 grep -v '^ *+' conftest.er1 >conftest.err
13792 rm -f conftest.er1
13793 cat conftest.err >&5
13794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13795 (exit $ac_status); } && {
13796 test -z "$ac_c_werror_flag" ||
13797 test ! -s conftest.err
13798 } && test -s conftest$ac_exeext &&
13799 $as_test_x conftest$ac_exeext; then
13800 case "$LIBEXT" in
13801 dll) ;;
13802 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'` ;;
13803 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13804 esac
13805 else
13806 echo "$as_me: failed program was:" >&5
13807 sed 's/^/| /' conftest.$ac_ext >&5
13812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13813 conftest$ac_exeext conftest.$ac_ext
13814 LIBS=$ac_check_soname_save_LIBS
13816 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then
13817 { echo "$as_me:$LINENO: result: not found" >&5
13818 echo "${ECHO_T}not found" >&6; }
13820 else
13821 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13822 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
13824 cat >>confdefs.h <<_ACEOF
13825 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13826 _ACEOF
13833 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
13834 then
13835 { echo "$as_me:$LINENO: checking for -lssl" >&5
13836 echo $ECHO_N "checking for -lssl... $ECHO_C" >&6; }
13837 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 else
13840 ac_check_soname_save_LIBS=$LIBS
13841 LIBS="-lssl $LIBS"
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13849 /* Override any GCC internal prototype to avoid an error.
13850 Use char because int might match the return type of a GCC
13851 builtin and then its argument prototype would still apply. */
13852 #ifdef __cplusplus
13853 extern "C"
13854 #endif
13855 char SSL_library_init ();
13857 main ()
13859 return SSL_library_init ();
13861 return 0;
13863 _ACEOF
13864 rm -f conftest.$ac_objext conftest$ac_exeext
13865 if { (ac_try="$ac_link"
13866 case "(($ac_try" in
13867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13868 *) ac_try_echo=$ac_try;;
13869 esac
13870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13871 (eval "$ac_link") 2>conftest.er1
13872 ac_status=$?
13873 grep -v '^ *+' conftest.er1 >conftest.err
13874 rm -f conftest.er1
13875 cat conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 (exit $ac_status); } && {
13878 test -z "$ac_c_werror_flag" ||
13879 test ! -s conftest.err
13880 } && test -s conftest$ac_exeext &&
13881 $as_test_x conftest$ac_exeext; then
13882 case "$LIBEXT" in
13883 dll) ;;
13884 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'` ;;
13885 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13886 esac
13887 else
13888 echo "$as_me: failed program was:" >&5
13889 sed 's/^/| /' conftest.$ac_ext >&5
13894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13895 conftest$ac_exeext conftest.$ac_ext
13896 LIBS=$ac_check_soname_save_LIBS
13898 if test "x$ac_cv_lib_soname_ssl" = "x"; then
13899 { echo "$as_me:$LINENO: result: not found" >&5
13900 echo "${ECHO_T}not found" >&6; }
13902 else
13903 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13904 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
13906 cat >>confdefs.h <<_ACEOF
13907 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13908 _ACEOF
13913 { echo "$as_me:$LINENO: checking for -lcrypto" >&5
13914 echo $ECHO_N "checking for -lcrypto... $ECHO_C" >&6; }
13915 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13916 echo $ECHO_N "(cached) $ECHO_C" >&6
13917 else
13918 ac_check_soname_save_LIBS=$LIBS
13919 LIBS="-lcrypto $LIBS"
13920 cat >conftest.$ac_ext <<_ACEOF
13921 /* confdefs.h. */
13922 _ACEOF
13923 cat confdefs.h >>conftest.$ac_ext
13924 cat >>conftest.$ac_ext <<_ACEOF
13925 /* end confdefs.h. */
13927 /* Override any GCC internal prototype to avoid an error.
13928 Use char because int might match the return type of a GCC
13929 builtin and then its argument prototype would still apply. */
13930 #ifdef __cplusplus
13931 extern "C"
13932 #endif
13933 char BIO_new_socket ();
13935 main ()
13937 return BIO_new_socket ();
13939 return 0;
13941 _ACEOF
13942 rm -f conftest.$ac_objext conftest$ac_exeext
13943 if { (ac_try="$ac_link"
13944 case "(($ac_try" in
13945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13946 *) ac_try_echo=$ac_try;;
13947 esac
13948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13949 (eval "$ac_link") 2>conftest.er1
13950 ac_status=$?
13951 grep -v '^ *+' conftest.er1 >conftest.err
13952 rm -f conftest.er1
13953 cat conftest.err >&5
13954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13955 (exit $ac_status); } && {
13956 test -z "$ac_c_werror_flag" ||
13957 test ! -s conftest.err
13958 } && test -s conftest$ac_exeext &&
13959 $as_test_x conftest$ac_exeext; then
13960 case "$LIBEXT" in
13961 dll) ;;
13962 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'` ;;
13963 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
13964 esac
13965 else
13966 echo "$as_me: failed program was:" >&5
13967 sed 's/^/| /' conftest.$ac_ext >&5
13972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13973 conftest$ac_exeext conftest.$ac_ext
13974 LIBS=$ac_check_soname_save_LIBS
13976 if test "x$ac_cv_lib_soname_crypto" = "x"; then
13977 { echo "$as_me:$LINENO: result: not found" >&5
13978 echo "${ECHO_T}not found" >&6; }
13980 else
13981 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13982 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
13984 cat >>confdefs.h <<_ACEOF
13985 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
13986 _ACEOF
13993 if test "$ac_cv_header_jpeglib_h" = "yes"
13994 then
13995 { echo "$as_me:$LINENO: checking for -ljpeg" >&5
13996 echo $ECHO_N "checking for -ljpeg... $ECHO_C" >&6; }
13997 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
13998 echo $ECHO_N "(cached) $ECHO_C" >&6
13999 else
14000 ac_check_soname_save_LIBS=$LIBS
14001 LIBS="-ljpeg $LIBS"
14002 cat >conftest.$ac_ext <<_ACEOF
14003 /* confdefs.h. */
14004 _ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 #ifdef __cplusplus
14013 extern "C"
14014 #endif
14015 char jpeg_start_decompress ();
14017 main ()
14019 return jpeg_start_decompress ();
14021 return 0;
14023 _ACEOF
14024 rm -f conftest.$ac_objext conftest$ac_exeext
14025 if { (ac_try="$ac_link"
14026 case "(($ac_try" in
14027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14028 *) ac_try_echo=$ac_try;;
14029 esac
14030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14031 (eval "$ac_link") 2>conftest.er1
14032 ac_status=$?
14033 grep -v '^ *+' conftest.er1 >conftest.err
14034 rm -f conftest.er1
14035 cat conftest.err >&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); } && {
14038 test -z "$ac_c_werror_flag" ||
14039 test ! -s conftest.err
14040 } && test -s conftest$ac_exeext &&
14041 $as_test_x conftest$ac_exeext; then
14042 case "$LIBEXT" in
14043 dll) ;;
14044 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'` ;;
14045 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14046 esac
14047 else
14048 echo "$as_me: failed program was:" >&5
14049 sed 's/^/| /' conftest.$ac_ext >&5
14054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14055 conftest$ac_exeext conftest.$ac_ext
14056 LIBS=$ac_check_soname_save_LIBS
14058 if test "x$ac_cv_lib_soname_jpeg" = "x"; then
14059 { echo "$as_me:$LINENO: result: not found" >&5
14060 echo "${ECHO_T}not found" >&6; }
14062 else
14063 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
14064 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
14066 cat >>confdefs.h <<_ACEOF
14067 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
14068 _ACEOF
14075 if test "$ac_cv_header_png_h" = "yes"
14076 then
14077 { echo "$as_me:$LINENO: checking for -lpng" >&5
14078 echo $ECHO_N "checking for -lpng... $ECHO_C" >&6; }
14079 if test "${ac_cv_lib_soname_png+set}" = set; then
14080 echo $ECHO_N "(cached) $ECHO_C" >&6
14081 else
14082 ac_check_soname_save_LIBS=$LIBS
14083 LIBS="-lpng $LIBS"
14084 cat >conftest.$ac_ext <<_ACEOF
14085 /* confdefs.h. */
14086 _ACEOF
14087 cat confdefs.h >>conftest.$ac_ext
14088 cat >>conftest.$ac_ext <<_ACEOF
14089 /* end confdefs.h. */
14091 /* Override any GCC internal prototype to avoid an error.
14092 Use char because int might match the return type of a GCC
14093 builtin and then its argument prototype would still apply. */
14094 #ifdef __cplusplus
14095 extern "C"
14096 #endif
14097 char png_create_read_struct ();
14099 main ()
14101 return png_create_read_struct ();
14103 return 0;
14105 _ACEOF
14106 rm -f conftest.$ac_objext conftest$ac_exeext
14107 if { (ac_try="$ac_link"
14108 case "(($ac_try" in
14109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14110 *) ac_try_echo=$ac_try;;
14111 esac
14112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14113 (eval "$ac_link") 2>conftest.er1
14114 ac_status=$?
14115 grep -v '^ *+' conftest.er1 >conftest.err
14116 rm -f conftest.er1
14117 cat conftest.err >&5
14118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14119 (exit $ac_status); } && {
14120 test -z "$ac_c_werror_flag" ||
14121 test ! -s conftest.err
14122 } && test -s conftest$ac_exeext &&
14123 $as_test_x conftest$ac_exeext; then
14124 case "$LIBEXT" in
14125 dll) ;;
14126 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'` ;;
14127 *) 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'` ;;
14128 esac
14129 else
14130 echo "$as_me: failed program was:" >&5
14131 sed 's/^/| /' conftest.$ac_ext >&5
14136 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS=$ac_check_soname_save_LIBS
14140 if test "x$ac_cv_lib_soname_png" = "x"; then
14141 { echo "$as_me:$LINENO: result: not found" >&5
14142 echo "${ECHO_T}not found" >&6; }
14144 else
14145 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_png" >&5
14146 echo "${ECHO_T}$ac_cv_lib_soname_png" >&6; }
14148 cat >>confdefs.h <<_ACEOF
14149 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14150 _ACEOF
14158 EXTRACFLAGS=""
14160 if test "x${GCC}" = "xyes"
14161 then
14162 EXTRACFLAGS="-Wall -pipe"
14164 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14165 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14166 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 else
14169 if test "$cross_compiling" = yes; then
14170 ac_cv_c_gcc_strength_bug="yes"
14171 else
14172 cat >conftest.$ac_ext <<_ACEOF
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178 int L[4] = {0,1,2,3};
14180 main ()
14182 static int Array[3];
14183 unsigned int B = 3;
14184 int i;
14185 for(i=0; i<B; i++) Array[i] = i - 3;
14186 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14187 L[i] = 4;
14188 exit( Array[1] != -2 || L[2] != 3)
14190 return 0;
14192 _ACEOF
14193 rm -f conftest$ac_exeext
14194 if { (ac_try="$ac_link"
14195 case "(($ac_try" in
14196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14197 *) ac_try_echo=$ac_try;;
14198 esac
14199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14200 (eval "$ac_link") 2>&5
14201 ac_status=$?
14202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14203 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14204 { (case "(($ac_try" in
14205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14206 *) ac_try_echo=$ac_try;;
14207 esac
14208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14209 (eval "$ac_try") 2>&5
14210 ac_status=$?
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; }; then
14213 ac_cv_c_gcc_strength_bug="no"
14214 else
14215 echo "$as_me: program exited with status $ac_status" >&5
14216 echo "$as_me: failed program was:" >&5
14217 sed 's/^/| /' conftest.$ac_ext >&5
14219 ( exit $ac_status )
14220 ac_cv_c_gcc_strength_bug="yes"
14222 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14227 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14228 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14229 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14230 then
14231 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14235 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14236 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14237 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14239 else
14240 ac_wine_try_cflags_saved=$CFLAGS
14241 CFLAGS="$CFLAGS -fshort-wchar"
14242 cat >conftest.$ac_ext <<_ACEOF
14243 /* confdefs.h. */
14244 _ACEOF
14245 cat confdefs.h >>conftest.$ac_ext
14246 cat >>conftest.$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14250 main ()
14254 return 0;
14256 _ACEOF
14257 rm -f conftest.$ac_objext conftest$ac_exeext
14258 if { (ac_try="$ac_link"
14259 case "(($ac_try" in
14260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14261 *) ac_try_echo=$ac_try;;
14262 esac
14263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14264 (eval "$ac_link") 2>conftest.er1
14265 ac_status=$?
14266 grep -v '^ *+' conftest.er1 >conftest.err
14267 rm -f conftest.er1
14268 cat conftest.err >&5
14269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14270 (exit $ac_status); } && {
14271 test -z "$ac_c_werror_flag" ||
14272 test ! -s conftest.err
14273 } && test -s conftest$ac_exeext &&
14274 $as_test_x conftest$ac_exeext; then
14275 ac_cv_cflags__fshort_wchar=yes
14276 else
14277 echo "$as_me: failed program was:" >&5
14278 sed 's/^/| /' conftest.$ac_ext >&5
14280 ac_cv_cflags__fshort_wchar=no
14283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14284 conftest$ac_exeext conftest.$ac_ext
14285 CFLAGS=$ac_wine_try_cflags_saved
14287 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14288 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14289 if test $ac_cv_cflags__fshort_wchar = yes; then
14291 cat >>confdefs.h <<\_ACEOF
14292 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14293 _ACEOF
14297 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14298 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14299 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14300 echo $ECHO_N "(cached) $ECHO_C" >&6
14301 else
14302 ac_wine_try_cflags_saved=$CFLAGS
14303 CFLAGS="$CFLAGS -fno-strict-aliasing"
14304 cat >conftest.$ac_ext <<_ACEOF
14305 /* confdefs.h. */
14306 _ACEOF
14307 cat confdefs.h >>conftest.$ac_ext
14308 cat >>conftest.$ac_ext <<_ACEOF
14309 /* end confdefs.h. */
14312 main ()
14316 return 0;
14318 _ACEOF
14319 rm -f conftest.$ac_objext conftest$ac_exeext
14320 if { (ac_try="$ac_link"
14321 case "(($ac_try" in
14322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14323 *) ac_try_echo=$ac_try;;
14324 esac
14325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14326 (eval "$ac_link") 2>conftest.er1
14327 ac_status=$?
14328 grep -v '^ *+' conftest.er1 >conftest.err
14329 rm -f conftest.er1
14330 cat conftest.err >&5
14331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14332 (exit $ac_status); } && {
14333 test -z "$ac_c_werror_flag" ||
14334 test ! -s conftest.err
14335 } && test -s conftest$ac_exeext &&
14336 $as_test_x conftest$ac_exeext; then
14337 ac_cv_cflags__fno_strict_aliasing=yes
14338 else
14339 echo "$as_me: failed program was:" >&5
14340 sed 's/^/| /' conftest.$ac_ext >&5
14342 ac_cv_cflags__fno_strict_aliasing=no
14345 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14346 conftest$ac_exeext conftest.$ac_ext
14347 CFLAGS=$ac_wine_try_cflags_saved
14349 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14350 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14351 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14352 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14355 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14356 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14357 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 else
14360 ac_wine_try_cflags_saved=$CFLAGS
14361 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14362 cat >conftest.$ac_ext <<_ACEOF
14363 /* confdefs.h. */
14364 _ACEOF
14365 cat confdefs.h >>conftest.$ac_ext
14366 cat >>conftest.$ac_ext <<_ACEOF
14367 /* end confdefs.h. */
14370 main ()
14374 return 0;
14376 _ACEOF
14377 rm -f conftest.$ac_objext conftest$ac_exeext
14378 if { (ac_try="$ac_link"
14379 case "(($ac_try" in
14380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14381 *) ac_try_echo=$ac_try;;
14382 esac
14383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14384 (eval "$ac_link") 2>conftest.er1
14385 ac_status=$?
14386 grep -v '^ *+' conftest.er1 >conftest.err
14387 rm -f conftest.er1
14388 cat conftest.err >&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } && {
14391 test -z "$ac_c_werror_flag" ||
14392 test ! -s conftest.err
14393 } && test -s conftest$ac_exeext &&
14394 $as_test_x conftest$ac_exeext; then
14395 ac_cv_cflags__Wdeclaration_after_statement=yes
14396 else
14397 echo "$as_me: failed program was:" >&5
14398 sed 's/^/| /' conftest.$ac_ext >&5
14400 ac_cv_cflags__Wdeclaration_after_statement=no
14403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14404 conftest$ac_exeext conftest.$ac_ext
14405 CFLAGS=$ac_wine_try_cflags_saved
14407 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14408 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14409 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14410 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14413 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14414 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14415 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14416 echo $ECHO_N "(cached) $ECHO_C" >&6
14417 else
14418 ac_wine_try_cflags_saved=$CFLAGS
14419 CFLAGS="$CFLAGS -Wwrite-strings"
14420 cat >conftest.$ac_ext <<_ACEOF
14421 /* confdefs.h. */
14422 _ACEOF
14423 cat confdefs.h >>conftest.$ac_ext
14424 cat >>conftest.$ac_ext <<_ACEOF
14425 /* end confdefs.h. */
14428 main ()
14432 return 0;
14434 _ACEOF
14435 rm -f conftest.$ac_objext conftest$ac_exeext
14436 if { (ac_try="$ac_link"
14437 case "(($ac_try" in
14438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14439 *) ac_try_echo=$ac_try;;
14440 esac
14441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14442 (eval "$ac_link") 2>conftest.er1
14443 ac_status=$?
14444 grep -v '^ *+' conftest.er1 >conftest.err
14445 rm -f conftest.er1
14446 cat conftest.err >&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } && {
14449 test -z "$ac_c_werror_flag" ||
14450 test ! -s conftest.err
14451 } && test -s conftest$ac_exeext &&
14452 $as_test_x conftest$ac_exeext; then
14453 ac_cv_cflags__Wwrite_strings=yes
14454 else
14455 echo "$as_me: failed program was:" >&5
14456 sed 's/^/| /' conftest.$ac_ext >&5
14458 ac_cv_cflags__Wwrite_strings=no
14461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14462 conftest$ac_exeext conftest.$ac_ext
14463 CFLAGS=$ac_wine_try_cflags_saved
14465 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14466 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14467 if test $ac_cv_cflags__Wwrite_strings = yes; then
14468 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14472 saved_CFLAGS="$CFLAGS"
14473 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14474 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14475 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14476 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 else
14479 cat >conftest.$ac_ext <<_ACEOF
14480 /* confdefs.h. */
14481 _ACEOF
14482 cat confdefs.h >>conftest.$ac_ext
14483 cat >>conftest.$ac_ext <<_ACEOF
14484 /* end confdefs.h. */
14485 #include <string.h>
14487 main ()
14491 return 0;
14493 _ACEOF
14494 rm -f conftest.$ac_objext
14495 if { (ac_try="$ac_compile"
14496 case "(($ac_try" in
14497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14498 *) ac_try_echo=$ac_try;;
14499 esac
14500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14501 (eval "$ac_compile") 2>conftest.er1
14502 ac_status=$?
14503 grep -v '^ *+' conftest.er1 >conftest.err
14504 rm -f conftest.er1
14505 cat conftest.err >&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); } && {
14508 test -z "$ac_c_werror_flag" ||
14509 test ! -s conftest.err
14510 } && test -s conftest.$ac_objext; then
14511 ac_cv_c_string_h_warnings=no
14512 else
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14516 ac_cv_c_string_h_warnings=yes
14519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14521 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14522 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14523 CFLAGS="$saved_CFLAGS"
14524 if test "$ac_cv_c_string_h_warnings" = "no"
14525 then
14526 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14529 BUILTINFLAG=""
14531 saved_CFLAGS="$CFLAGS"
14532 CFLAGS="$CFLAGS -Werror"
14533 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14534 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14535 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14536 echo $ECHO_N "(cached) $ECHO_C" >&6
14537 else
14538 cat >conftest.$ac_ext <<_ACEOF
14539 /* confdefs.h. */
14540 _ACEOF
14541 cat confdefs.h >>conftest.$ac_ext
14542 cat >>conftest.$ac_ext <<_ACEOF
14543 /* end confdefs.h. */
14546 main ()
14548 int iswlower(unsigned short);
14550 return 0;
14552 _ACEOF
14553 rm -f conftest.$ac_objext
14554 if { (ac_try="$ac_compile"
14555 case "(($ac_try" in
14556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14557 *) ac_try_echo=$ac_try;;
14558 esac
14559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14560 (eval "$ac_compile") 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } && {
14567 test -z "$ac_c_werror_flag" ||
14568 test ! -s conftest.err
14569 } && test -s conftest.$ac_objext; then
14570 ac_cv_c_builtin_wchar_ctype=no
14571 else
14572 echo "$as_me: failed program was:" >&5
14573 sed 's/^/| /' conftest.$ac_ext >&5
14575 ac_cv_c_builtin_wchar_ctype=yes
14578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14580 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14581 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14582 CFLAGS="$saved_CFLAGS"
14583 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14584 then
14585 BUILTINFLAG="-fno-builtin"
14590 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14591 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14592 if test "${ac_cv_asm_func_def+set}" = set; then
14593 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 else
14595 cat >conftest.$ac_ext <<_ACEOF
14596 /* confdefs.h. */
14597 _ACEOF
14598 cat confdefs.h >>conftest.$ac_ext
14599 cat >>conftest.$ac_ext <<_ACEOF
14600 /* end confdefs.h. */
14603 main ()
14605 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
14607 return 0;
14609 _ACEOF
14610 rm -f conftest.$ac_objext conftest$ac_exeext
14611 if { (ac_try="$ac_link"
14612 case "(($ac_try" in
14613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14614 *) ac_try_echo=$ac_try;;
14615 esac
14616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14617 (eval "$ac_link") 2>conftest.er1
14618 ac_status=$?
14619 grep -v '^ *+' conftest.er1 >conftest.err
14620 rm -f conftest.er1
14621 cat conftest.err >&5
14622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14623 (exit $ac_status); } && {
14624 test -z "$ac_c_werror_flag" ||
14625 test ! -s conftest.err
14626 } && test -s conftest$ac_exeext &&
14627 $as_test_x conftest$ac_exeext; then
14628 ac_cv_asm_func_def=".def"
14629 else
14630 echo "$as_me: failed program was:" >&5
14631 sed 's/^/| /' conftest.$ac_ext >&5
14633 cat >conftest.$ac_ext <<_ACEOF
14634 /* confdefs.h. */
14635 _ACEOF
14636 cat confdefs.h >>conftest.$ac_ext
14637 cat >>conftest.$ac_ext <<_ACEOF
14638 /* end confdefs.h. */
14641 main ()
14643 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
14645 return 0;
14647 _ACEOF
14648 rm -f conftest.$ac_objext conftest$ac_exeext
14649 if { (ac_try="$ac_link"
14650 case "(($ac_try" in
14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14653 esac
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_link") 2>conftest.er1
14656 ac_status=$?
14657 grep -v '^ *+' conftest.er1 >conftest.err
14658 rm -f conftest.er1
14659 cat conftest.err >&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } && {
14662 test -z "$ac_c_werror_flag" ||
14663 test ! -s conftest.err
14664 } && test -s conftest$ac_exeext &&
14665 $as_test_x conftest$ac_exeext; then
14666 ac_cv_asm_func_def=".type @function"
14667 else
14668 echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.$ac_ext >&5
14671 cat >conftest.$ac_ext <<_ACEOF
14672 /* confdefs.h. */
14673 _ACEOF
14674 cat confdefs.h >>conftest.$ac_ext
14675 cat >>conftest.$ac_ext <<_ACEOF
14676 /* end confdefs.h. */
14679 main ()
14681 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
14683 return 0;
14685 _ACEOF
14686 rm -f conftest.$ac_objext conftest$ac_exeext
14687 if { (ac_try="$ac_link"
14688 case "(($ac_try" in
14689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14690 *) ac_try_echo=$ac_try;;
14691 esac
14692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14693 (eval "$ac_link") 2>conftest.er1
14694 ac_status=$?
14695 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } && {
14700 test -z "$ac_c_werror_flag" ||
14701 test ! -s conftest.err
14702 } && test -s conftest$ac_exeext &&
14703 $as_test_x conftest$ac_exeext; then
14704 ac_cv_asm_func_def=".type 2"
14705 else
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14709 ac_cv_asm_func_def="unknown"
14712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14713 conftest$ac_exeext conftest.$ac_ext
14716 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14717 conftest$ac_exeext conftest.$ac_ext
14720 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14721 conftest$ac_exeext conftest.$ac_ext
14723 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14724 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14728 case "$ac_cv_asm_func_def" in
14729 ".def")
14730 cat >>confdefs.h <<\_ACEOF
14731 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14732 _ACEOF
14734 ".type @function")
14735 cat >>confdefs.h <<\_ACEOF
14736 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14737 _ACEOF
14739 ".type 2")
14740 cat >>confdefs.h <<\_ACEOF
14741 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14742 _ACEOF
14745 cat >>confdefs.h <<\_ACEOF
14746 #define __ASM_FUNC(name) ""
14747 _ACEOF
14749 esac
14752 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14753 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14754 if test "${ac_cv_c_extern_prefix+set}" = set; then
14755 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 else
14757 cat >conftest.$ac_ext <<_ACEOF
14758 /* confdefs.h. */
14759 _ACEOF
14760 cat confdefs.h >>conftest.$ac_ext
14761 cat >>conftest.$ac_ext <<_ACEOF
14762 /* end confdefs.h. */
14763 extern int ac_test;
14765 main ()
14767 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
14769 return 0;
14771 _ACEOF
14772 rm -f conftest.$ac_objext conftest$ac_exeext
14773 if { (ac_try="$ac_link"
14774 case "(($ac_try" in
14775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14776 *) ac_try_echo=$ac_try;;
14777 esac
14778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14779 (eval "$ac_link") 2>conftest.er1
14780 ac_status=$?
14781 grep -v '^ *+' conftest.er1 >conftest.err
14782 rm -f conftest.er1
14783 cat conftest.err >&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } && {
14786 test -z "$ac_c_werror_flag" ||
14787 test ! -s conftest.err
14788 } && test -s conftest$ac_exeext &&
14789 $as_test_x conftest$ac_exeext; then
14790 ac_cv_c_extern_prefix="yes"
14791 else
14792 echo "$as_me: failed program was:" >&5
14793 sed 's/^/| /' conftest.$ac_ext >&5
14795 ac_cv_c_extern_prefix="no"
14798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14799 conftest$ac_exeext conftest.$ac_ext
14801 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
14802 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
14806 if test "$ac_cv_c_extern_prefix" = "yes"
14807 then
14808 cat >>confdefs.h <<\_ACEOF
14809 #define __ASM_NAME(name) "_" name
14810 _ACEOF
14812 else
14813 cat >>confdefs.h <<\_ACEOF
14814 #define __ASM_NAME(name) name
14815 _ACEOF
14820 LDPATH=""
14822 case $build_os in
14823 cygwin*|mingw32*)
14824 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14826 darwin*|macosx*)
14828 linux*|solaris*) if test -z "$LDRPATH_LOCAL"
14829 then
14830 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14834 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14836 esac
14838 case $host_os in
14839 mingw32*)
14840 CRTLIBS="-lmsvcrt"
14842 SOCKETLIBS="-lws2_32"
14845 esac
14847 MAIN_BINARY="wine-pthread"
14848 case $host_cpu in
14849 *i[3456789]86*)
14850 case $host_os in
14851 linux* | k*bsd*-gnu)
14852 MAIN_BINARY="wine-glibc"
14854 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14856 esac
14858 esac
14862 cat >>confdefs.h <<_ACEOF
14863 #define SONAME_EXT ".$LIBEXT"
14864 _ACEOF
14867 { echo "$as_me:$LINENO: checking for -lX11" >&5
14868 echo $ECHO_N "checking for -lX11... $ECHO_C" >&6; }
14869 if test "${ac_cv_lib_soname_X11+set}" = set; then
14870 echo $ECHO_N "(cached) $ECHO_C" >&6
14871 else
14872 ac_check_soname_save_LIBS=$LIBS
14873 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14874 cat >conftest.$ac_ext <<_ACEOF
14875 /* confdefs.h. */
14876 _ACEOF
14877 cat confdefs.h >>conftest.$ac_ext
14878 cat >>conftest.$ac_ext <<_ACEOF
14879 /* end confdefs.h. */
14881 /* Override any GCC internal prototype to avoid an error.
14882 Use char because int might match the return type of a GCC
14883 builtin and then its argument prototype would still apply. */
14884 #ifdef __cplusplus
14885 extern "C"
14886 #endif
14887 char XCreateWindow ();
14889 main ()
14891 return XCreateWindow ();
14893 return 0;
14895 _ACEOF
14896 rm -f conftest.$ac_objext conftest$ac_exeext
14897 if { (ac_try="$ac_link"
14898 case "(($ac_try" in
14899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14900 *) ac_try_echo=$ac_try;;
14901 esac
14902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14903 (eval "$ac_link") 2>conftest.er1
14904 ac_status=$?
14905 grep -v '^ *+' conftest.er1 >conftest.err
14906 rm -f conftest.er1
14907 cat conftest.err >&5
14908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14909 (exit $ac_status); } && {
14910 test -z "$ac_c_werror_flag" ||
14911 test ! -s conftest.err
14912 } && test -s conftest$ac_exeext &&
14913 $as_test_x conftest$ac_exeext; then
14914 case "$LIBEXT" in
14915 dll) ;;
14916 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'` ;;
14917 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14918 esac
14919 else
14920 echo "$as_me: failed program was:" >&5
14921 sed 's/^/| /' conftest.$ac_ext >&5
14926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14927 conftest$ac_exeext conftest.$ac_ext
14928 LIBS=$ac_check_soname_save_LIBS
14930 if test "x$ac_cv_lib_soname_X11" = "x"; then
14931 { echo "$as_me:$LINENO: result: not found" >&5
14932 echo "${ECHO_T}not found" >&6; }
14934 else
14935 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14936 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14938 cat >>confdefs.h <<_ACEOF
14939 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14940 _ACEOF
14945 { echo "$as_me:$LINENO: checking for -lXext" >&5
14946 echo $ECHO_N "checking for -lXext... $ECHO_C" >&6; }
14947 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14948 echo $ECHO_N "(cached) $ECHO_C" >&6
14949 else
14950 ac_check_soname_save_LIBS=$LIBS
14951 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14952 cat >conftest.$ac_ext <<_ACEOF
14953 /* confdefs.h. */
14954 _ACEOF
14955 cat confdefs.h >>conftest.$ac_ext
14956 cat >>conftest.$ac_ext <<_ACEOF
14957 /* end confdefs.h. */
14959 /* Override any GCC internal prototype to avoid an error.
14960 Use char because int might match the return type of a GCC
14961 builtin and then its argument prototype would still apply. */
14962 #ifdef __cplusplus
14963 extern "C"
14964 #endif
14965 char XextCreateExtension ();
14967 main ()
14969 return XextCreateExtension ();
14971 return 0;
14973 _ACEOF
14974 rm -f conftest.$ac_objext conftest$ac_exeext
14975 if { (ac_try="$ac_link"
14976 case "(($ac_try" in
14977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14978 *) ac_try_echo=$ac_try;;
14979 esac
14980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14981 (eval "$ac_link") 2>conftest.er1
14982 ac_status=$?
14983 grep -v '^ *+' conftest.er1 >conftest.err
14984 rm -f conftest.er1
14985 cat conftest.err >&5
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); } && {
14988 test -z "$ac_c_werror_flag" ||
14989 test ! -s conftest.err
14990 } && test -s conftest$ac_exeext &&
14991 $as_test_x conftest$ac_exeext; then
14992 case "$LIBEXT" in
14993 dll) ;;
14994 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'` ;;
14995 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
14996 esac
14997 else
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.$ac_ext >&5
15004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15005 conftest$ac_exeext conftest.$ac_ext
15006 LIBS=$ac_check_soname_save_LIBS
15008 if test "x$ac_cv_lib_soname_Xext" = "x"; then
15009 { echo "$as_me:$LINENO: result: not found" >&5
15010 echo "${ECHO_T}not found" >&6; }
15012 else
15013 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
15014 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
15016 cat >>confdefs.h <<_ACEOF
15017 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
15018 _ACEOF
15023 { echo "$as_me:$LINENO: checking for -lXi" >&5
15024 echo $ECHO_N "checking for -lXi... $ECHO_C" >&6; }
15025 if test "${ac_cv_lib_soname_Xi+set}" = set; then
15026 echo $ECHO_N "(cached) $ECHO_C" >&6
15027 else
15028 ac_check_soname_save_LIBS=$LIBS
15029 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15030 cat >conftest.$ac_ext <<_ACEOF
15031 /* confdefs.h. */
15032 _ACEOF
15033 cat confdefs.h >>conftest.$ac_ext
15034 cat >>conftest.$ac_ext <<_ACEOF
15035 /* end confdefs.h. */
15037 /* Override any GCC internal prototype to avoid an error.
15038 Use char because int might match the return type of a GCC
15039 builtin and then its argument prototype would still apply. */
15040 #ifdef __cplusplus
15041 extern "C"
15042 #endif
15043 char XOpenDevice ();
15045 main ()
15047 return XOpenDevice ();
15049 return 0;
15051 _ACEOF
15052 rm -f conftest.$ac_objext conftest$ac_exeext
15053 if { (ac_try="$ac_link"
15054 case "(($ac_try" in
15055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15056 *) ac_try_echo=$ac_try;;
15057 esac
15058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15059 (eval "$ac_link") 2>conftest.er1
15060 ac_status=$?
15061 grep -v '^ *+' conftest.er1 >conftest.err
15062 rm -f conftest.er1
15063 cat conftest.err >&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); } && {
15066 test -z "$ac_c_werror_flag" ||
15067 test ! -s conftest.err
15068 } && test -s conftest$ac_exeext &&
15069 $as_test_x conftest$ac_exeext; then
15070 case "$LIBEXT" in
15071 dll) ;;
15072 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'` ;;
15073 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15074 esac
15075 else
15076 echo "$as_me: failed program was:" >&5
15077 sed 's/^/| /' conftest.$ac_ext >&5
15082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15083 conftest$ac_exeext conftest.$ac_ext
15084 LIBS=$ac_check_soname_save_LIBS
15086 if test "x$ac_cv_lib_soname_Xi" = "x"; then
15087 { echo "$as_me:$LINENO: result: not found" >&5
15088 echo "${ECHO_T}not found" >&6; }
15090 else
15091 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
15092 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
15094 cat >>confdefs.h <<_ACEOF
15095 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
15096 _ACEOF
15101 { echo "$as_me:$LINENO: checking for -lXinerama" >&5
15102 echo $ECHO_N "checking for -lXinerama... $ECHO_C" >&6; }
15103 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
15104 echo $ECHO_N "(cached) $ECHO_C" >&6
15105 else
15106 ac_check_soname_save_LIBS=$LIBS
15107 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15108 cat >conftest.$ac_ext <<_ACEOF
15109 /* confdefs.h. */
15110 _ACEOF
15111 cat confdefs.h >>conftest.$ac_ext
15112 cat >>conftest.$ac_ext <<_ACEOF
15113 /* end confdefs.h. */
15115 /* Override any GCC internal prototype to avoid an error.
15116 Use char because int might match the return type of a GCC
15117 builtin and then its argument prototype would still apply. */
15118 #ifdef __cplusplus
15119 extern "C"
15120 #endif
15121 char XineramaQueryScreens ();
15123 main ()
15125 return XineramaQueryScreens ();
15127 return 0;
15129 _ACEOF
15130 rm -f conftest.$ac_objext conftest$ac_exeext
15131 if { (ac_try="$ac_link"
15132 case "(($ac_try" in
15133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15134 *) ac_try_echo=$ac_try;;
15135 esac
15136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15137 (eval "$ac_link") 2>conftest.er1
15138 ac_status=$?
15139 grep -v '^ *+' conftest.er1 >conftest.err
15140 rm -f conftest.er1
15141 cat conftest.err >&5
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); } && {
15144 test -z "$ac_c_werror_flag" ||
15145 test ! -s conftest.err
15146 } && test -s conftest$ac_exeext &&
15147 $as_test_x conftest$ac_exeext; then
15148 case "$LIBEXT" in
15149 dll) ;;
15150 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'` ;;
15151 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15152 esac
15153 else
15154 echo "$as_me: failed program was:" >&5
15155 sed 's/^/| /' conftest.$ac_ext >&5
15160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15161 conftest$ac_exeext conftest.$ac_ext
15162 LIBS=$ac_check_soname_save_LIBS
15164 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then
15165 { echo "$as_me:$LINENO: result: not found" >&5
15166 echo "${ECHO_T}not found" >&6; }
15168 else
15169 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
15170 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
15172 cat >>confdefs.h <<_ACEOF
15173 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
15174 _ACEOF
15179 { echo "$as_me:$LINENO: checking for -lXrender" >&5
15180 echo $ECHO_N "checking for -lXrender... $ECHO_C" >&6; }
15181 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 ac_check_soname_save_LIBS=$LIBS
15185 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15186 cat >conftest.$ac_ext <<_ACEOF
15187 /* confdefs.h. */
15188 _ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15193 /* Override any GCC internal prototype to avoid an error.
15194 Use char because int might match the return type of a GCC
15195 builtin and then its argument prototype would still apply. */
15196 #ifdef __cplusplus
15197 extern "C"
15198 #endif
15199 char XRenderQueryExtension ();
15201 main ()
15203 return XRenderQueryExtension ();
15205 return 0;
15207 _ACEOF
15208 rm -f conftest.$ac_objext conftest$ac_exeext
15209 if { (ac_try="$ac_link"
15210 case "(($ac_try" in
15211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15212 *) ac_try_echo=$ac_try;;
15213 esac
15214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15215 (eval "$ac_link") 2>conftest.er1
15216 ac_status=$?
15217 grep -v '^ *+' conftest.er1 >conftest.err
15218 rm -f conftest.er1
15219 cat conftest.err >&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); } && {
15222 test -z "$ac_c_werror_flag" ||
15223 test ! -s conftest.err
15224 } && test -s conftest$ac_exeext &&
15225 $as_test_x conftest$ac_exeext; then
15226 case "$LIBEXT" in
15227 dll) ;;
15228 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'` ;;
15229 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15230 esac
15231 else
15232 echo "$as_me: failed program was:" >&5
15233 sed 's/^/| /' conftest.$ac_ext >&5
15238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15239 conftest$ac_exeext conftest.$ac_ext
15240 LIBS=$ac_check_soname_save_LIBS
15242 if test "x$ac_cv_lib_soname_Xrender" = "x"; then
15243 { echo "$as_me:$LINENO: result: not found" >&5
15244 echo "${ECHO_T}not found" >&6; }
15246 else
15247 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15248 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
15250 cat >>confdefs.h <<_ACEOF
15251 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15252 _ACEOF
15257 { echo "$as_me:$LINENO: checking for -lXrandr" >&5
15258 echo $ECHO_N "checking for -lXrandr... $ECHO_C" >&6; }
15259 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
15260 echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262 ac_check_soname_save_LIBS=$LIBS
15263 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
15264 cat >conftest.$ac_ext <<_ACEOF
15265 /* confdefs.h. */
15266 _ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15271 /* Override any GCC internal prototype to avoid an error.
15272 Use char because int might match the return type of a GCC
15273 builtin and then its argument prototype would still apply. */
15274 #ifdef __cplusplus
15275 extern "C"
15276 #endif
15277 char XRRQueryExtension ();
15279 main ()
15281 return XRRQueryExtension ();
15283 return 0;
15285 _ACEOF
15286 rm -f conftest.$ac_objext conftest$ac_exeext
15287 if { (ac_try="$ac_link"
15288 case "(($ac_try" in
15289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15290 *) ac_try_echo=$ac_try;;
15291 esac
15292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15293 (eval "$ac_link") 2>conftest.er1
15294 ac_status=$?
15295 grep -v '^ *+' conftest.er1 >conftest.err
15296 rm -f conftest.er1
15297 cat conftest.err >&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); } && {
15300 test -z "$ac_c_werror_flag" ||
15301 test ! -s conftest.err
15302 } && test -s conftest$ac_exeext &&
15303 $as_test_x conftest$ac_exeext; then
15304 case "$LIBEXT" in
15305 dll) ;;
15306 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'` ;;
15307 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15308 esac
15309 else
15310 echo "$as_me: failed program was:" >&5
15311 sed 's/^/| /' conftest.$ac_ext >&5
15316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15317 conftest$ac_exeext conftest.$ac_ext
15318 LIBS=$ac_check_soname_save_LIBS
15320 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then
15321 { echo "$as_me:$LINENO: result: not found" >&5
15322 echo "${ECHO_T}not found" >&6; }
15324 else
15325 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
15326 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
15328 cat >>confdefs.h <<_ACEOF
15329 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
15330 _ACEOF
15335 { echo "$as_me:$LINENO: checking for -lXcursor" >&5
15336 echo $ECHO_N "checking for -lXcursor... $ECHO_C" >&6; }
15337 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15340 ac_check_soname_save_LIBS=$LIBS
15341 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
15342 cat >conftest.$ac_ext <<_ACEOF
15343 /* confdefs.h. */
15344 _ACEOF
15345 cat confdefs.h >>conftest.$ac_ext
15346 cat >>conftest.$ac_ext <<_ACEOF
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15352 #ifdef __cplusplus
15353 extern "C"
15354 #endif
15355 char XcursorImageLoadCursor ();
15357 main ()
15359 return XcursorImageLoadCursor ();
15361 return 0;
15363 _ACEOF
15364 rm -f conftest.$ac_objext conftest$ac_exeext
15365 if { (ac_try="$ac_link"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15369 esac
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_link") 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest$ac_exeext &&
15381 $as_test_x conftest$ac_exeext; then
15382 case "$LIBEXT" in
15383 dll) ;;
15384 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'` ;;
15385 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15386 esac
15387 else
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.$ac_ext >&5
15394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15395 conftest$ac_exeext conftest.$ac_ext
15396 LIBS=$ac_check_soname_save_LIBS
15398 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then
15399 { echo "$as_me:$LINENO: result: not found" >&5
15400 echo "${ECHO_T}not found" >&6; }
15402 else
15403 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
15404 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
15406 cat >>confdefs.h <<_ACEOF
15407 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
15408 _ACEOF
15413 { echo "$as_me:$LINENO: checking for -lfreetype" >&5
15414 echo $ECHO_N "checking for -lfreetype... $ECHO_C" >&6; }
15415 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 else
15418 ac_check_soname_save_LIBS=$LIBS
15419 LIBS="-lfreetype $X_LIBS $LIBS"
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15427 /* Override any GCC internal prototype to avoid an error.
15428 Use char because int might match the return type of a GCC
15429 builtin and then its argument prototype would still apply. */
15430 #ifdef __cplusplus
15431 extern "C"
15432 #endif
15433 char FT_Init_FreeType ();
15435 main ()
15437 return FT_Init_FreeType ();
15439 return 0;
15441 _ACEOF
15442 rm -f conftest.$ac_objext conftest$ac_exeext
15443 if { (ac_try="$ac_link"
15444 case "(($ac_try" in
15445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15446 *) ac_try_echo=$ac_try;;
15447 esac
15448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15449 (eval "$ac_link") 2>conftest.er1
15450 ac_status=$?
15451 grep -v '^ *+' conftest.er1 >conftest.err
15452 rm -f conftest.er1
15453 cat conftest.err >&5
15454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15455 (exit $ac_status); } && {
15456 test -z "$ac_c_werror_flag" ||
15457 test ! -s conftest.err
15458 } && test -s conftest$ac_exeext &&
15459 $as_test_x conftest$ac_exeext; then
15460 case "$LIBEXT" in
15461 dll) ;;
15462 dylib) ac_cv_lib_soname_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'` ;;
15463 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15464 esac
15465 else
15466 echo "$as_me: failed program was:" >&5
15467 sed 's/^/| /' conftest.$ac_ext >&5
15472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15473 conftest$ac_exeext conftest.$ac_ext
15474 LIBS=$ac_check_soname_save_LIBS
15476 if test "x$ac_cv_lib_soname_freetype" = "x"; then
15477 { echo "$as_me:$LINENO: result: not found" >&5
15478 echo "${ECHO_T}not found" >&6; }
15480 else
15481 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15482 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15484 cat >>confdefs.h <<_ACEOF
15485 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15486 _ACEOF
15491 { echo "$as_me:$LINENO: checking for -lGL" >&5
15492 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
15493 if test "${ac_cv_lib_soname_GL+set}" = set; then
15494 echo $ECHO_N "(cached) $ECHO_C" >&6
15495 else
15496 ac_check_soname_save_LIBS=$LIBS
15497 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15505 /* Override any GCC internal prototype to avoid an error.
15506 Use char because int might match the return type of a GCC
15507 builtin and then its argument prototype would still apply. */
15508 #ifdef __cplusplus
15509 extern "C"
15510 #endif
15511 char glXQueryExtension ();
15513 main ()
15515 return glXQueryExtension ();
15517 return 0;
15519 _ACEOF
15520 rm -f conftest.$ac_objext conftest$ac_exeext
15521 if { (ac_try="$ac_link"
15522 case "(($ac_try" in
15523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15524 *) ac_try_echo=$ac_try;;
15525 esac
15526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15527 (eval "$ac_link") 2>conftest.er1
15528 ac_status=$?
15529 grep -v '^ *+' conftest.er1 >conftest.err
15530 rm -f conftest.er1
15531 cat conftest.err >&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } && {
15534 test -z "$ac_c_werror_flag" ||
15535 test ! -s conftest.err
15536 } && test -s conftest$ac_exeext &&
15537 $as_test_x conftest$ac_exeext; then
15538 case "$LIBEXT" in
15539 dll) ;;
15540 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'` ;;
15541 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15542 esac
15543 else
15544 echo "$as_me: failed program was:" >&5
15545 sed 's/^/| /' conftest.$ac_ext >&5
15550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15551 conftest$ac_exeext conftest.$ac_ext
15552 LIBS=$ac_check_soname_save_LIBS
15554 if test "x$ac_cv_lib_soname_GL" = "x"; then
15555 { echo "$as_me:$LINENO: result: not found" >&5
15556 echo "${ECHO_T}not found" >&6; }
15558 else
15559 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15560 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
15562 cat >>confdefs.h <<_ACEOF
15563 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15564 _ACEOF
15569 { echo "$as_me:$LINENO: checking for -ltxc_dxtn" >&5
15570 echo $ECHO_N "checking for -ltxc_dxtn... $ECHO_C" >&6; }
15571 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15572 echo $ECHO_N "(cached) $ECHO_C" >&6
15573 else
15574 ac_check_soname_save_LIBS=$LIBS
15575 LIBS="-ltxc_dxtn $LIBS"
15576 cat >conftest.$ac_ext <<_ACEOF
15577 /* confdefs.h. */
15578 _ACEOF
15579 cat confdefs.h >>conftest.$ac_ext
15580 cat >>conftest.$ac_ext <<_ACEOF
15581 /* end confdefs.h. */
15583 /* Override any GCC internal prototype to avoid an error.
15584 Use char because int might match the return type of a GCC
15585 builtin and then its argument prototype would still apply. */
15586 #ifdef __cplusplus
15587 extern "C"
15588 #endif
15589 char fetch_2d_texel_rgba_dxt1 ();
15591 main ()
15593 return fetch_2d_texel_rgba_dxt1 ();
15595 return 0;
15597 _ACEOF
15598 rm -f conftest.$ac_objext conftest$ac_exeext
15599 if { (ac_try="$ac_link"
15600 case "(($ac_try" in
15601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15602 *) ac_try_echo=$ac_try;;
15603 esac
15604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15605 (eval "$ac_link") 2>conftest.er1
15606 ac_status=$?
15607 grep -v '^ *+' conftest.er1 >conftest.err
15608 rm -f conftest.er1
15609 cat conftest.err >&5
15610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15611 (exit $ac_status); } && {
15612 test -z "$ac_c_werror_flag" ||
15613 test ! -s conftest.err
15614 } && test -s conftest$ac_exeext &&
15615 $as_test_x conftest$ac_exeext; then
15616 case "$LIBEXT" in
15617 dll) ;;
15618 dylib) ac_cv_lib_soname_txc_dxtn=`otool -L conftest$ac_exeext | grep "libtxc_dxtn\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15619 *) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtxc_dxtn\\.$LIBEXT" | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
15620 esac
15621 else
15622 echo "$as_me: failed program was:" >&5
15623 sed 's/^/| /' conftest.$ac_ext >&5
15628 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15629 conftest$ac_exeext conftest.$ac_ext
15630 LIBS=$ac_check_soname_save_LIBS
15632 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"; then
15633 { echo "$as_me:$LINENO: result: not found" >&5
15634 echo "${ECHO_T}not found" >&6; }
15636 else
15637 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15638 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15640 cat >>confdefs.h <<_ACEOF
15641 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15642 _ACEOF
15711 for ac_func in \
15712 _pclose \
15713 _popen \
15714 _snprintf \
15715 _spawnvp \
15716 _stricmp \
15717 _strnicmp \
15718 _vsnprintf \
15719 asctime_r \
15720 chsize \
15721 clone \
15722 dlopen \
15723 epoll_create \
15724 ffs \
15725 finite \
15726 fork \
15727 fpclass \
15728 fstatfs \
15729 fstatvfs \
15730 ftruncate \
15731 futimes \
15732 futimesat \
15733 getdirentries \
15734 getopt_long \
15735 getpagesize \
15736 getpwuid \
15737 gettid \
15738 gettimeofday \
15739 getuid \
15740 inet_pton \
15741 kqueue \
15742 lstat \
15743 memmove \
15744 mmap \
15745 pclose \
15746 poll \
15747 popen \
15748 prctl \
15749 pread \
15750 pwrite \
15751 readlink \
15752 rfork \
15753 sched_yield \
15754 select \
15755 setrlimit \
15756 settimeofday \
15757 sigaltstack \
15758 sigprocmask \
15759 snprintf \
15760 spawnvp \
15761 statfs \
15762 statvfs \
15763 strcasecmp \
15764 strerror \
15765 strncasecmp \
15766 strtold \
15767 tcgetattr \
15768 timegm \
15769 usleep \
15770 vsnprintf \
15771 wait4 \
15772 waitpid \
15775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15776 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15778 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15779 echo $ECHO_N "(cached) $ECHO_C" >&6
15780 else
15781 cat >conftest.$ac_ext <<_ACEOF
15782 /* confdefs.h. */
15783 _ACEOF
15784 cat confdefs.h >>conftest.$ac_ext
15785 cat >>conftest.$ac_ext <<_ACEOF
15786 /* end confdefs.h. */
15787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15789 #define $ac_func innocuous_$ac_func
15791 /* System header to define __stub macros and hopefully few prototypes,
15792 which can conflict with char $ac_func (); below.
15793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15794 <limits.h> exists even on freestanding compilers. */
15796 #ifdef __STDC__
15797 # include <limits.h>
15798 #else
15799 # include <assert.h>
15800 #endif
15802 #undef $ac_func
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 #ifdef __cplusplus
15808 extern "C"
15809 #endif
15810 char $ac_func ();
15811 /* The GNU C library defines this for functions which it implements
15812 to always fail with ENOSYS. Some functions are actually named
15813 something starting with __ and the normal name is an alias. */
15814 #if defined __stub_$ac_func || defined __stub___$ac_func
15815 choke me
15816 #endif
15819 main ()
15821 return $ac_func ();
15823 return 0;
15825 _ACEOF
15826 rm -f conftest.$ac_objext conftest$ac_exeext
15827 if { (ac_try="$ac_link"
15828 case "(($ac_try" in
15829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15830 *) ac_try_echo=$ac_try;;
15831 esac
15832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15833 (eval "$ac_link") 2>conftest.er1
15834 ac_status=$?
15835 grep -v '^ *+' conftest.er1 >conftest.err
15836 rm -f conftest.er1
15837 cat conftest.err >&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); } && {
15840 test -z "$ac_c_werror_flag" ||
15841 test ! -s conftest.err
15842 } && test -s conftest$ac_exeext &&
15843 $as_test_x conftest$ac_exeext; then
15844 eval "$as_ac_var=yes"
15845 else
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.$ac_ext >&5
15849 eval "$as_ac_var=no"
15852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15853 conftest$ac_exeext conftest.$ac_ext
15855 ac_res=`eval echo '${'$as_ac_var'}'`
15856 { echo "$as_me:$LINENO: result: $ac_res" >&5
15857 echo "${ECHO_T}$ac_res" >&6; }
15858 if test `eval echo '${'$as_ac_var'}'` = yes; then
15859 cat >>confdefs.h <<_ACEOF
15860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15861 _ACEOF
15864 done
15867 if test "$ac_cv_func_dlopen" = no
15868 then
15869 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15870 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15871 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15872 echo $ECHO_N "(cached) $ECHO_C" >&6
15873 else
15874 ac_check_lib_save_LIBS=$LIBS
15875 LIBS="-ldl $LIBS"
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15883 /* Override any GCC internal prototype to avoid an error.
15884 Use char because int might match the return type of a GCC
15885 builtin and then its argument prototype would still apply. */
15886 #ifdef __cplusplus
15887 extern "C"
15888 #endif
15889 char dlopen ();
15891 main ()
15893 return dlopen ();
15895 return 0;
15897 _ACEOF
15898 rm -f conftest.$ac_objext conftest$ac_exeext
15899 if { (ac_try="$ac_link"
15900 case "(($ac_try" in
15901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15902 *) ac_try_echo=$ac_try;;
15903 esac
15904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15905 (eval "$ac_link") 2>conftest.er1
15906 ac_status=$?
15907 grep -v '^ *+' conftest.er1 >conftest.err
15908 rm -f conftest.er1
15909 cat conftest.err >&5
15910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15911 (exit $ac_status); } && {
15912 test -z "$ac_c_werror_flag" ||
15913 test ! -s conftest.err
15914 } && test -s conftest$ac_exeext &&
15915 $as_test_x conftest$ac_exeext; then
15916 ac_cv_lib_dl_dlopen=yes
15917 else
15918 echo "$as_me: failed program was:" >&5
15919 sed 's/^/| /' conftest.$ac_ext >&5
15921 ac_cv_lib_dl_dlopen=no
15924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15925 conftest$ac_exeext conftest.$ac_ext
15926 LIBS=$ac_check_lib_save_LIBS
15928 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
15929 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
15930 if test $ac_cv_lib_dl_dlopen = yes; then
15931 cat >>confdefs.h <<\_ACEOF
15932 #define HAVE_DLOPEN 1
15933 _ACEOF
15934 LIBDL="-ldl"
15939 ac_wine_check_funcs_save_LIBS="$LIBS"
15940 LIBS="$LIBS $LIBDL"
15942 for ac_func in dladdr
15944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15945 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15947 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15948 echo $ECHO_N "(cached) $ECHO_C" >&6
15949 else
15950 cat >conftest.$ac_ext <<_ACEOF
15951 /* confdefs.h. */
15952 _ACEOF
15953 cat confdefs.h >>conftest.$ac_ext
15954 cat >>conftest.$ac_ext <<_ACEOF
15955 /* end confdefs.h. */
15956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15958 #define $ac_func innocuous_$ac_func
15960 /* System header to define __stub macros and hopefully few prototypes,
15961 which can conflict with char $ac_func (); below.
15962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15963 <limits.h> exists even on freestanding compilers. */
15965 #ifdef __STDC__
15966 # include <limits.h>
15967 #else
15968 # include <assert.h>
15969 #endif
15971 #undef $ac_func
15973 /* Override any GCC internal prototype to avoid an error.
15974 Use char because int might match the return type of a GCC
15975 builtin and then its argument prototype would still apply. */
15976 #ifdef __cplusplus
15977 extern "C"
15978 #endif
15979 char $ac_func ();
15980 /* The GNU C library defines this for functions which it implements
15981 to always fail with ENOSYS. Some functions are actually named
15982 something starting with __ and the normal name is an alias. */
15983 #if defined __stub_$ac_func || defined __stub___$ac_func
15984 choke me
15985 #endif
15988 main ()
15990 return $ac_func ();
15992 return 0;
15994 _ACEOF
15995 rm -f conftest.$ac_objext conftest$ac_exeext
15996 if { (ac_try="$ac_link"
15997 case "(($ac_try" in
15998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15999 *) ac_try_echo=$ac_try;;
16000 esac
16001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16002 (eval "$ac_link") 2>conftest.er1
16003 ac_status=$?
16004 grep -v '^ *+' conftest.er1 >conftest.err
16005 rm -f conftest.er1
16006 cat conftest.err >&5
16007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16008 (exit $ac_status); } && {
16009 test -z "$ac_c_werror_flag" ||
16010 test ! -s conftest.err
16011 } && test -s conftest$ac_exeext &&
16012 $as_test_x conftest$ac_exeext; then
16013 eval "$as_ac_var=yes"
16014 else
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16018 eval "$as_ac_var=no"
16021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16022 conftest$ac_exeext conftest.$ac_ext
16024 ac_res=`eval echo '${'$as_ac_var'}'`
16025 { echo "$as_me:$LINENO: result: $ac_res" >&5
16026 echo "${ECHO_T}$ac_res" >&6; }
16027 if test `eval echo '${'$as_ac_var'}'` = yes; then
16028 cat >>confdefs.h <<_ACEOF
16029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16030 _ACEOF
16033 done
16035 LIBS="$ac_wine_check_funcs_save_LIBS"
16037 if test "$ac_cv_func_poll" = no
16038 then
16039 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16040 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16041 if test "${ac_cv_lib_poll_poll+set}" = set; then
16042 echo $ECHO_N "(cached) $ECHO_C" >&6
16043 else
16044 ac_check_lib_save_LIBS=$LIBS
16045 LIBS="-lpoll $LIBS"
16046 cat >conftest.$ac_ext <<_ACEOF
16047 /* confdefs.h. */
16048 _ACEOF
16049 cat confdefs.h >>conftest.$ac_ext
16050 cat >>conftest.$ac_ext <<_ACEOF
16051 /* end confdefs.h. */
16053 /* Override any GCC internal prototype to avoid an error.
16054 Use char because int might match the return type of a GCC
16055 builtin and then its argument prototype would still apply. */
16056 #ifdef __cplusplus
16057 extern "C"
16058 #endif
16059 char poll ();
16061 main ()
16063 return poll ();
16065 return 0;
16067 _ACEOF
16068 rm -f conftest.$ac_objext conftest$ac_exeext
16069 if { (ac_try="$ac_link"
16070 case "(($ac_try" in
16071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16072 *) ac_try_echo=$ac_try;;
16073 esac
16074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16075 (eval "$ac_link") 2>conftest.er1
16076 ac_status=$?
16077 grep -v '^ *+' conftest.er1 >conftest.err
16078 rm -f conftest.er1
16079 cat conftest.err >&5
16080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16081 (exit $ac_status); } && {
16082 test -z "$ac_c_werror_flag" ||
16083 test ! -s conftest.err
16084 } && test -s conftest$ac_exeext &&
16085 $as_test_x conftest$ac_exeext; then
16086 ac_cv_lib_poll_poll=yes
16087 else
16088 echo "$as_me: failed program was:" >&5
16089 sed 's/^/| /' conftest.$ac_ext >&5
16091 ac_cv_lib_poll_poll=no
16094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16095 conftest$ac_exeext conftest.$ac_ext
16096 LIBS=$ac_check_lib_save_LIBS
16098 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16099 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16100 if test $ac_cv_lib_poll_poll = yes; then
16101 cat >>confdefs.h <<\_ACEOF
16102 #define HAVE_POLL 1
16103 _ACEOF
16104 LIBPOLL="-lpoll"
16110 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16111 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16112 if test "${ac_cv_search_gethostbyname+set}" = set; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 else
16115 ac_func_search_save_LIBS=$LIBS
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. */
16123 /* Override any GCC internal prototype to avoid an error.
16124 Use char because int might match the return type of a GCC
16125 builtin and then its argument prototype would still apply. */
16126 #ifdef __cplusplus
16127 extern "C"
16128 #endif
16129 char gethostbyname ();
16131 main ()
16133 return gethostbyname ();
16135 return 0;
16137 _ACEOF
16138 for ac_lib in '' nsl; do
16139 if test -z "$ac_lib"; then
16140 ac_res="none required"
16141 else
16142 ac_res=-l$ac_lib
16143 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16145 rm -f conftest.$ac_objext conftest$ac_exeext
16146 if { (ac_try="$ac_link"
16147 case "(($ac_try" in
16148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16149 *) ac_try_echo=$ac_try;;
16150 esac
16151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16152 (eval "$ac_link") 2>conftest.er1
16153 ac_status=$?
16154 grep -v '^ *+' conftest.er1 >conftest.err
16155 rm -f conftest.er1
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } && {
16159 test -z "$ac_c_werror_flag" ||
16160 test ! -s conftest.err
16161 } && test -s conftest$ac_exeext &&
16162 $as_test_x conftest$ac_exeext; then
16163 ac_cv_search_gethostbyname=$ac_res
16164 else
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.$ac_ext >&5
16171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16172 conftest$ac_exeext
16173 if test "${ac_cv_search_gethostbyname+set}" = set; then
16174 break
16176 done
16177 if test "${ac_cv_search_gethostbyname+set}" = set; then
16179 else
16180 ac_cv_search_gethostbyname=no
16182 rm conftest.$ac_ext
16183 LIBS=$ac_func_search_save_LIBS
16185 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16186 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16187 ac_res=$ac_cv_search_gethostbyname
16188 if test "$ac_res" != no; then
16189 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16194 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16195 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16196 if test "${ac_cv_search_connect+set}" = set; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 else
16199 ac_func_search_save_LIBS=$LIBS
16200 cat >conftest.$ac_ext <<_ACEOF
16201 /* confdefs.h. */
16202 _ACEOF
16203 cat confdefs.h >>conftest.$ac_ext
16204 cat >>conftest.$ac_ext <<_ACEOF
16205 /* end confdefs.h. */
16207 /* Override any GCC internal prototype to avoid an error.
16208 Use char because int might match the return type of a GCC
16209 builtin and then its argument prototype would still apply. */
16210 #ifdef __cplusplus
16211 extern "C"
16212 #endif
16213 char connect ();
16215 main ()
16217 return connect ();
16219 return 0;
16221 _ACEOF
16222 for ac_lib in '' socket; do
16223 if test -z "$ac_lib"; then
16224 ac_res="none required"
16225 else
16226 ac_res=-l$ac_lib
16227 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16229 rm -f conftest.$ac_objext conftest$ac_exeext
16230 if { (ac_try="$ac_link"
16231 case "(($ac_try" in
16232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16233 *) ac_try_echo=$ac_try;;
16234 esac
16235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16236 (eval "$ac_link") 2>conftest.er1
16237 ac_status=$?
16238 grep -v '^ *+' conftest.er1 >conftest.err
16239 rm -f conftest.er1
16240 cat conftest.err >&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); } && {
16243 test -z "$ac_c_werror_flag" ||
16244 test ! -s conftest.err
16245 } && test -s conftest$ac_exeext &&
16246 $as_test_x conftest$ac_exeext; then
16247 ac_cv_search_connect=$ac_res
16248 else
16249 echo "$as_me: failed program was:" >&5
16250 sed 's/^/| /' conftest.$ac_ext >&5
16255 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16256 conftest$ac_exeext
16257 if test "${ac_cv_search_connect+set}" = set; then
16258 break
16260 done
16261 if test "${ac_cv_search_connect+set}" = set; then
16263 else
16264 ac_cv_search_connect=no
16266 rm conftest.$ac_ext
16267 LIBS=$ac_func_search_save_LIBS
16269 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16270 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16271 ac_res=$ac_cv_search_connect
16272 if test "$ac_res" != no; then
16273 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16278 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16279 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16280 if test "${ac_cv_search_inet_aton+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 else
16283 ac_func_search_save_LIBS=$LIBS
16284 cat >conftest.$ac_ext <<_ACEOF
16285 /* confdefs.h. */
16286 _ACEOF
16287 cat confdefs.h >>conftest.$ac_ext
16288 cat >>conftest.$ac_ext <<_ACEOF
16289 /* end confdefs.h. */
16291 /* Override any GCC internal prototype to avoid an error.
16292 Use char because int might match the return type of a GCC
16293 builtin and then its argument prototype would still apply. */
16294 #ifdef __cplusplus
16295 extern "C"
16296 #endif
16297 char inet_aton ();
16299 main ()
16301 return inet_aton ();
16303 return 0;
16305 _ACEOF
16306 for ac_lib in '' resolv; do
16307 if test -z "$ac_lib"; then
16308 ac_res="none required"
16309 else
16310 ac_res=-l$ac_lib
16311 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16313 rm -f conftest.$ac_objext conftest$ac_exeext
16314 if { (ac_try="$ac_link"
16315 case "(($ac_try" in
16316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16317 *) ac_try_echo=$ac_try;;
16318 esac
16319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16320 (eval "$ac_link") 2>conftest.er1
16321 ac_status=$?
16322 grep -v '^ *+' conftest.er1 >conftest.err
16323 rm -f conftest.er1
16324 cat conftest.err >&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); } && {
16327 test -z "$ac_c_werror_flag" ||
16328 test ! -s conftest.err
16329 } && test -s conftest$ac_exeext &&
16330 $as_test_x conftest$ac_exeext; then
16331 ac_cv_search_inet_aton=$ac_res
16332 else
16333 echo "$as_me: failed program was:" >&5
16334 sed 's/^/| /' conftest.$ac_ext >&5
16339 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16340 conftest$ac_exeext
16341 if test "${ac_cv_search_inet_aton+set}" = set; then
16342 break
16344 done
16345 if test "${ac_cv_search_inet_aton+set}" = set; then
16347 else
16348 ac_cv_search_inet_aton=no
16350 rm conftest.$ac_ext
16351 LIBS=$ac_func_search_save_LIBS
16353 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16354 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16355 ac_res=$ac_cv_search_inet_aton
16356 if test "$ac_res" != no; then
16357 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16370 for ac_func in \
16371 getaddrinfo \
16372 getnameinfo \
16373 getnetbyname \
16374 getprotobyname \
16375 getprotobynumber \
16376 getservbyport \
16377 inet_network \
16378 sendmsg \
16381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16382 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16384 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16385 echo $ECHO_N "(cached) $ECHO_C" >&6
16386 else
16387 cat >conftest.$ac_ext <<_ACEOF
16388 /* confdefs.h. */
16389 _ACEOF
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16395 #define $ac_func innocuous_$ac_func
16397 /* System header to define __stub macros and hopefully few prototypes,
16398 which can conflict with char $ac_func (); below.
16399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16400 <limits.h> exists even on freestanding compilers. */
16402 #ifdef __STDC__
16403 # include <limits.h>
16404 #else
16405 # include <assert.h>
16406 #endif
16408 #undef $ac_func
16410 /* Override any GCC internal prototype to avoid an error.
16411 Use char because int might match the return type of a GCC
16412 builtin and then its argument prototype would still apply. */
16413 #ifdef __cplusplus
16414 extern "C"
16415 #endif
16416 char $ac_func ();
16417 /* The GNU C library defines this for functions which it implements
16418 to always fail with ENOSYS. Some functions are actually named
16419 something starting with __ and the normal name is an alias. */
16420 #if defined __stub_$ac_func || defined __stub___$ac_func
16421 choke me
16422 #endif
16425 main ()
16427 return $ac_func ();
16429 return 0;
16431 _ACEOF
16432 rm -f conftest.$ac_objext conftest$ac_exeext
16433 if { (ac_try="$ac_link"
16434 case "(($ac_try" in
16435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16436 *) ac_try_echo=$ac_try;;
16437 esac
16438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16439 (eval "$ac_link") 2>conftest.er1
16440 ac_status=$?
16441 grep -v '^ *+' conftest.er1 >conftest.err
16442 rm -f conftest.er1
16443 cat conftest.err >&5
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); } && {
16446 test -z "$ac_c_werror_flag" ||
16447 test ! -s conftest.err
16448 } && test -s conftest$ac_exeext &&
16449 $as_test_x conftest$ac_exeext; then
16450 eval "$as_ac_var=yes"
16451 else
16452 echo "$as_me: failed program was:" >&5
16453 sed 's/^/| /' conftest.$ac_ext >&5
16455 eval "$as_ac_var=no"
16458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16459 conftest$ac_exeext conftest.$ac_ext
16461 ac_res=`eval echo '${'$as_ac_var'}'`
16462 { echo "$as_me:$LINENO: result: $ac_res" >&5
16463 echo "${ECHO_T}$ac_res" >&6; }
16464 if test `eval echo '${'$as_ac_var'}'` = yes; then
16465 cat >>confdefs.h <<_ACEOF
16466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16467 _ACEOF
16470 done
16474 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16475 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16476 if test "${ac_cv_c_const+set}" = set; then
16477 echo $ECHO_N "(cached) $ECHO_C" >&6
16478 else
16479 cat >conftest.$ac_ext <<_ACEOF
16480 /* confdefs.h. */
16481 _ACEOF
16482 cat confdefs.h >>conftest.$ac_ext
16483 cat >>conftest.$ac_ext <<_ACEOF
16484 /* end confdefs.h. */
16487 main ()
16489 /* FIXME: Include the comments suggested by Paul. */
16490 #ifndef __cplusplus
16491 /* Ultrix mips cc rejects this. */
16492 typedef int charset[2];
16493 const charset cs;
16494 /* SunOS 4.1.1 cc rejects this. */
16495 char const *const *pcpcc;
16496 char **ppc;
16497 /* NEC SVR4.0.2 mips cc rejects this. */
16498 struct point {int x, y;};
16499 static struct point const zero = {0,0};
16500 /* AIX XL C 1.02.0.0 rejects this.
16501 It does not let you subtract one const X* pointer from another in
16502 an arm of an if-expression whose if-part is not a constant
16503 expression */
16504 const char *g = "string";
16505 pcpcc = &g + (g ? g-g : 0);
16506 /* HPUX 7.0 cc rejects these. */
16507 ++pcpcc;
16508 ppc = (char**) pcpcc;
16509 pcpcc = (char const *const *) ppc;
16510 { /* SCO 3.2v4 cc rejects this. */
16511 char *t;
16512 char const *s = 0 ? (char *) 0 : (char const *) 0;
16514 *t++ = 0;
16515 if (s) return 0;
16517 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16518 int x[] = {25, 17};
16519 const int *foo = &x[0];
16520 ++foo;
16522 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16523 typedef const int *iptr;
16524 iptr p = 0;
16525 ++p;
16527 { /* AIX XL C 1.02.0.0 rejects this saying
16528 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16529 struct s { int j; const int *ap[3]; };
16530 struct s *b; b->j = 5;
16532 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16533 const int foo = 10;
16534 if (!foo) return 0;
16536 return !cs[0] && !zero.x;
16537 #endif
16540 return 0;
16542 _ACEOF
16543 rm -f conftest.$ac_objext
16544 if { (ac_try="$ac_compile"
16545 case "(($ac_try" in
16546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16548 esac
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16550 (eval "$ac_compile") 2>conftest.er1
16551 ac_status=$?
16552 grep -v '^ *+' conftest.er1 >conftest.err
16553 rm -f conftest.er1
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && {
16557 test -z "$ac_c_werror_flag" ||
16558 test ! -s conftest.err
16559 } && test -s conftest.$ac_objext; then
16560 ac_cv_c_const=yes
16561 else
16562 echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.$ac_ext >&5
16565 ac_cv_c_const=no
16568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16570 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16571 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16572 if test $ac_cv_c_const = no; then
16574 cat >>confdefs.h <<\_ACEOF
16575 #define const
16576 _ACEOF
16580 { echo "$as_me:$LINENO: checking for inline" >&5
16581 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16582 if test "${ac_cv_c_inline+set}" = set; then
16583 echo $ECHO_N "(cached) $ECHO_C" >&6
16584 else
16585 ac_cv_c_inline=no
16586 for ac_kw in inline __inline__ __inline; do
16587 cat >conftest.$ac_ext <<_ACEOF
16588 /* confdefs.h. */
16589 _ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 #ifndef __cplusplus
16594 typedef int foo_t;
16595 static $ac_kw foo_t static_foo () {return 0; }
16596 $ac_kw foo_t foo () {return 0; }
16597 #endif
16599 _ACEOF
16600 rm -f conftest.$ac_objext
16601 if { (ac_try="$ac_compile"
16602 case "(($ac_try" in
16603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16604 *) ac_try_echo=$ac_try;;
16605 esac
16606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16607 (eval "$ac_compile") 2>conftest.er1
16608 ac_status=$?
16609 grep -v '^ *+' conftest.er1 >conftest.err
16610 rm -f conftest.er1
16611 cat conftest.err >&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); } && {
16614 test -z "$ac_c_werror_flag" ||
16615 test ! -s conftest.err
16616 } && test -s conftest.$ac_objext; then
16617 ac_cv_c_inline=$ac_kw
16618 else
16619 echo "$as_me: failed program was:" >&5
16620 sed 's/^/| /' conftest.$ac_ext >&5
16625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16626 test "$ac_cv_c_inline" != no && break
16627 done
16630 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16631 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16634 case $ac_cv_c_inline in
16635 inline | yes) ;;
16637 case $ac_cv_c_inline in
16638 no) ac_val=;;
16639 *) ac_val=$ac_cv_c_inline;;
16640 esac
16641 cat >>confdefs.h <<_ACEOF
16642 #ifndef __cplusplus
16643 #define inline $ac_val
16644 #endif
16645 _ACEOF
16647 esac
16649 { echo "$as_me:$LINENO: checking for mode_t" >&5
16650 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16651 if test "${ac_cv_type_mode_t+set}" = set; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16653 else
16654 cat >conftest.$ac_ext <<_ACEOF
16655 /* confdefs.h. */
16656 _ACEOF
16657 cat confdefs.h >>conftest.$ac_ext
16658 cat >>conftest.$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 $ac_includes_default
16661 typedef mode_t ac__type_new_;
16663 main ()
16665 if ((ac__type_new_ *) 0)
16666 return 0;
16667 if (sizeof (ac__type_new_))
16668 return 0;
16670 return 0;
16672 _ACEOF
16673 rm -f conftest.$ac_objext
16674 if { (ac_try="$ac_compile"
16675 case "(($ac_try" in
16676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16677 *) ac_try_echo=$ac_try;;
16678 esac
16679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16680 (eval "$ac_compile") 2>conftest.er1
16681 ac_status=$?
16682 grep -v '^ *+' conftest.er1 >conftest.err
16683 rm -f conftest.er1
16684 cat conftest.err >&5
16685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16686 (exit $ac_status); } && {
16687 test -z "$ac_c_werror_flag" ||
16688 test ! -s conftest.err
16689 } && test -s conftest.$ac_objext; then
16690 ac_cv_type_mode_t=yes
16691 else
16692 echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.$ac_ext >&5
16695 ac_cv_type_mode_t=no
16698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16700 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16701 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16702 if test $ac_cv_type_mode_t = yes; then
16704 cat >>confdefs.h <<_ACEOF
16705 #define HAVE_MODE_T 1
16706 _ACEOF
16710 { echo "$as_me:$LINENO: checking for off_t" >&5
16711 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16712 if test "${ac_cv_type_off_t+set}" = set; then
16713 echo $ECHO_N "(cached) $ECHO_C" >&6
16714 else
16715 cat >conftest.$ac_ext <<_ACEOF
16716 /* confdefs.h. */
16717 _ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 $ac_includes_default
16722 typedef off_t ac__type_new_;
16724 main ()
16726 if ((ac__type_new_ *) 0)
16727 return 0;
16728 if (sizeof (ac__type_new_))
16729 return 0;
16731 return 0;
16733 _ACEOF
16734 rm -f conftest.$ac_objext
16735 if { (ac_try="$ac_compile"
16736 case "(($ac_try" in
16737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16738 *) ac_try_echo=$ac_try;;
16739 esac
16740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16741 (eval "$ac_compile") 2>conftest.er1
16742 ac_status=$?
16743 grep -v '^ *+' conftest.er1 >conftest.err
16744 rm -f conftest.er1
16745 cat conftest.err >&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } && {
16748 test -z "$ac_c_werror_flag" ||
16749 test ! -s conftest.err
16750 } && test -s conftest.$ac_objext; then
16751 ac_cv_type_off_t=yes
16752 else
16753 echo "$as_me: failed program was:" >&5
16754 sed 's/^/| /' conftest.$ac_ext >&5
16756 ac_cv_type_off_t=no
16759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16761 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16762 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16763 if test $ac_cv_type_off_t = yes; then
16765 cat >>confdefs.h <<_ACEOF
16766 #define HAVE_OFF_T 1
16767 _ACEOF
16771 { echo "$as_me:$LINENO: checking for pid_t" >&5
16772 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16773 if test "${ac_cv_type_pid_t+set}" = set; then
16774 echo $ECHO_N "(cached) $ECHO_C" >&6
16775 else
16776 cat >conftest.$ac_ext <<_ACEOF
16777 /* confdefs.h. */
16778 _ACEOF
16779 cat confdefs.h >>conftest.$ac_ext
16780 cat >>conftest.$ac_ext <<_ACEOF
16781 /* end confdefs.h. */
16782 $ac_includes_default
16783 typedef pid_t ac__type_new_;
16785 main ()
16787 if ((ac__type_new_ *) 0)
16788 return 0;
16789 if (sizeof (ac__type_new_))
16790 return 0;
16792 return 0;
16794 _ACEOF
16795 rm -f conftest.$ac_objext
16796 if { (ac_try="$ac_compile"
16797 case "(($ac_try" in
16798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16799 *) ac_try_echo=$ac_try;;
16800 esac
16801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16802 (eval "$ac_compile") 2>conftest.er1
16803 ac_status=$?
16804 grep -v '^ *+' conftest.er1 >conftest.err
16805 rm -f conftest.er1
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } && {
16809 test -z "$ac_c_werror_flag" ||
16810 test ! -s conftest.err
16811 } && test -s conftest.$ac_objext; then
16812 ac_cv_type_pid_t=yes
16813 else
16814 echo "$as_me: failed program was:" >&5
16815 sed 's/^/| /' conftest.$ac_ext >&5
16817 ac_cv_type_pid_t=no
16820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16822 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16823 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16824 if test $ac_cv_type_pid_t = yes; then
16826 cat >>confdefs.h <<_ACEOF
16827 #define HAVE_PID_T 1
16828 _ACEOF
16832 { echo "$as_me:$LINENO: checking for size_t" >&5
16833 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16834 if test "${ac_cv_type_size_t+set}" = set; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 else
16837 cat >conftest.$ac_ext <<_ACEOF
16838 /* confdefs.h. */
16839 _ACEOF
16840 cat confdefs.h >>conftest.$ac_ext
16841 cat >>conftest.$ac_ext <<_ACEOF
16842 /* end confdefs.h. */
16843 $ac_includes_default
16844 typedef size_t ac__type_new_;
16846 main ()
16848 if ((ac__type_new_ *) 0)
16849 return 0;
16850 if (sizeof (ac__type_new_))
16851 return 0;
16853 return 0;
16855 _ACEOF
16856 rm -f conftest.$ac_objext
16857 if { (ac_try="$ac_compile"
16858 case "(($ac_try" in
16859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16860 *) ac_try_echo=$ac_try;;
16861 esac
16862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16863 (eval "$ac_compile") 2>conftest.er1
16864 ac_status=$?
16865 grep -v '^ *+' conftest.er1 >conftest.err
16866 rm -f conftest.er1
16867 cat conftest.err >&5
16868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16869 (exit $ac_status); } && {
16870 test -z "$ac_c_werror_flag" ||
16871 test ! -s conftest.err
16872 } && test -s conftest.$ac_objext; then
16873 ac_cv_type_size_t=yes
16874 else
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.$ac_ext >&5
16878 ac_cv_type_size_t=no
16881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16883 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16884 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16885 if test $ac_cv_type_size_t = yes; then
16887 cat >>confdefs.h <<_ACEOF
16888 #define HAVE_SIZE_T 1
16889 _ACEOF
16893 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16894 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16895 if test "${ac_cv_type_ssize_t+set}" = set; then
16896 echo $ECHO_N "(cached) $ECHO_C" >&6
16897 else
16898 cat >conftest.$ac_ext <<_ACEOF
16899 /* confdefs.h. */
16900 _ACEOF
16901 cat confdefs.h >>conftest.$ac_ext
16902 cat >>conftest.$ac_ext <<_ACEOF
16903 /* end confdefs.h. */
16904 $ac_includes_default
16905 typedef ssize_t ac__type_new_;
16907 main ()
16909 if ((ac__type_new_ *) 0)
16910 return 0;
16911 if (sizeof (ac__type_new_))
16912 return 0;
16914 return 0;
16916 _ACEOF
16917 rm -f conftest.$ac_objext
16918 if { (ac_try="$ac_compile"
16919 case "(($ac_try" in
16920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16921 *) ac_try_echo=$ac_try;;
16922 esac
16923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16924 (eval "$ac_compile") 2>conftest.er1
16925 ac_status=$?
16926 grep -v '^ *+' conftest.er1 >conftest.err
16927 rm -f conftest.er1
16928 cat conftest.err >&5
16929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16930 (exit $ac_status); } && {
16931 test -z "$ac_c_werror_flag" ||
16932 test ! -s conftest.err
16933 } && test -s conftest.$ac_objext; then
16934 ac_cv_type_ssize_t=yes
16935 else
16936 echo "$as_me: failed program was:" >&5
16937 sed 's/^/| /' conftest.$ac_ext >&5
16939 ac_cv_type_ssize_t=no
16942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16944 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16945 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16946 if test $ac_cv_type_ssize_t = yes; then
16948 cat >>confdefs.h <<_ACEOF
16949 #define HAVE_SSIZE_T 1
16950 _ACEOF
16954 { echo "$as_me:$LINENO: checking for long long" >&5
16955 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16956 if test "${ac_cv_type_long_long+set}" = set; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 else
16959 cat >conftest.$ac_ext <<_ACEOF
16960 /* confdefs.h. */
16961 _ACEOF
16962 cat confdefs.h >>conftest.$ac_ext
16963 cat >>conftest.$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965 $ac_includes_default
16966 typedef long long ac__type_new_;
16968 main ()
16970 if ((ac__type_new_ *) 0)
16971 return 0;
16972 if (sizeof (ac__type_new_))
16973 return 0;
16975 return 0;
16977 _ACEOF
16978 rm -f conftest.$ac_objext
16979 if { (ac_try="$ac_compile"
16980 case "(($ac_try" in
16981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16982 *) ac_try_echo=$ac_try;;
16983 esac
16984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16985 (eval "$ac_compile") 2>conftest.er1
16986 ac_status=$?
16987 grep -v '^ *+' conftest.er1 >conftest.err
16988 rm -f conftest.er1
16989 cat conftest.err >&5
16990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16991 (exit $ac_status); } && {
16992 test -z "$ac_c_werror_flag" ||
16993 test ! -s conftest.err
16994 } && test -s conftest.$ac_objext; then
16995 ac_cv_type_long_long=yes
16996 else
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
17000 ac_cv_type_long_long=no
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17005 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17006 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17007 if test $ac_cv_type_long_long = yes; then
17009 cat >>confdefs.h <<_ACEOF
17010 #define HAVE_LONG_LONG 1
17011 _ACEOF
17015 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17016 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17017 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17018 echo $ECHO_N "(cached) $ECHO_C" >&6
17019 else
17020 cat >conftest.$ac_ext <<_ACEOF
17021 /* confdefs.h. */
17022 _ACEOF
17023 cat confdefs.h >>conftest.$ac_ext
17024 cat >>conftest.$ac_ext <<_ACEOF
17025 /* end confdefs.h. */
17026 $ac_includes_default
17027 typedef fsblkcnt_t ac__type_new_;
17029 main ()
17031 if ((ac__type_new_ *) 0)
17032 return 0;
17033 if (sizeof (ac__type_new_))
17034 return 0;
17036 return 0;
17038 _ACEOF
17039 rm -f conftest.$ac_objext
17040 if { (ac_try="$ac_compile"
17041 case "(($ac_try" in
17042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17043 *) ac_try_echo=$ac_try;;
17044 esac
17045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17046 (eval "$ac_compile") 2>conftest.er1
17047 ac_status=$?
17048 grep -v '^ *+' conftest.er1 >conftest.err
17049 rm -f conftest.er1
17050 cat conftest.err >&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); } && {
17053 test -z "$ac_c_werror_flag" ||
17054 test ! -s conftest.err
17055 } && test -s conftest.$ac_objext; then
17056 ac_cv_type_fsblkcnt_t=yes
17057 else
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.$ac_ext >&5
17061 ac_cv_type_fsblkcnt_t=no
17064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17066 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17067 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17068 if test $ac_cv_type_fsblkcnt_t = yes; then
17070 cat >>confdefs.h <<_ACEOF
17071 #define HAVE_FSBLKCNT_T 1
17072 _ACEOF
17076 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17077 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17078 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17079 echo $ECHO_N "(cached) $ECHO_C" >&6
17080 else
17081 cat >conftest.$ac_ext <<_ACEOF
17082 /* confdefs.h. */
17083 _ACEOF
17084 cat confdefs.h >>conftest.$ac_ext
17085 cat >>conftest.$ac_ext <<_ACEOF
17086 /* end confdefs.h. */
17087 $ac_includes_default
17088 typedef fsfilcnt_t ac__type_new_;
17090 main ()
17092 if ((ac__type_new_ *) 0)
17093 return 0;
17094 if (sizeof (ac__type_new_))
17095 return 0;
17097 return 0;
17099 _ACEOF
17100 rm -f conftest.$ac_objext
17101 if { (ac_try="$ac_compile"
17102 case "(($ac_try" in
17103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17104 *) ac_try_echo=$ac_try;;
17105 esac
17106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17107 (eval "$ac_compile") 2>conftest.er1
17108 ac_status=$?
17109 grep -v '^ *+' conftest.er1 >conftest.err
17110 rm -f conftest.er1
17111 cat conftest.err >&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); } && {
17114 test -z "$ac_c_werror_flag" ||
17115 test ! -s conftest.err
17116 } && test -s conftest.$ac_objext; then
17117 ac_cv_type_fsfilcnt_t=yes
17118 else
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.$ac_ext >&5
17122 ac_cv_type_fsfilcnt_t=no
17125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17127 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17128 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17129 if test $ac_cv_type_fsfilcnt_t = yes; then
17131 cat >>confdefs.h <<_ACEOF
17132 #define HAVE_FSFILCNT_T 1
17133 _ACEOF
17138 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17139 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17140 if test "${ac_cv_type_sigset_t+set}" = set; then
17141 echo $ECHO_N "(cached) $ECHO_C" >&6
17142 else
17143 cat >conftest.$ac_ext <<_ACEOF
17144 /* confdefs.h. */
17145 _ACEOF
17146 cat confdefs.h >>conftest.$ac_ext
17147 cat >>conftest.$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 #include <signal.h>
17151 typedef sigset_t ac__type_new_;
17153 main ()
17155 if ((ac__type_new_ *) 0)
17156 return 0;
17157 if (sizeof (ac__type_new_))
17158 return 0;
17160 return 0;
17162 _ACEOF
17163 rm -f conftest.$ac_objext
17164 if { (ac_try="$ac_compile"
17165 case "(($ac_try" in
17166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17167 *) ac_try_echo=$ac_try;;
17168 esac
17169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17170 (eval "$ac_compile") 2>conftest.er1
17171 ac_status=$?
17172 grep -v '^ *+' conftest.er1 >conftest.err
17173 rm -f conftest.er1
17174 cat conftest.err >&5
17175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17176 (exit $ac_status); } && {
17177 test -z "$ac_c_werror_flag" ||
17178 test ! -s conftest.err
17179 } && test -s conftest.$ac_objext; then
17180 ac_cv_type_sigset_t=yes
17181 else
17182 echo "$as_me: failed program was:" >&5
17183 sed 's/^/| /' conftest.$ac_ext >&5
17185 ac_cv_type_sigset_t=no
17188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17191 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17192 if test $ac_cv_type_sigset_t = yes; then
17194 cat >>confdefs.h <<_ACEOF
17195 #define HAVE_SIGSET_T 1
17196 _ACEOF
17201 { echo "$as_me:$LINENO: checking for request_sense" >&5
17202 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17203 if test "${ac_cv_type_request_sense+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 else
17206 cat >conftest.$ac_ext <<_ACEOF
17207 /* confdefs.h. */
17208 _ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 #include <linux/cdrom.h>
17214 typedef request_sense ac__type_new_;
17216 main ()
17218 if ((ac__type_new_ *) 0)
17219 return 0;
17220 if (sizeof (ac__type_new_))
17221 return 0;
17223 return 0;
17225 _ACEOF
17226 rm -f conftest.$ac_objext
17227 if { (ac_try="$ac_compile"
17228 case "(($ac_try" in
17229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17230 *) ac_try_echo=$ac_try;;
17231 esac
17232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_c_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 ac_cv_type_request_sense=yes
17244 else
17245 echo "$as_me: failed program was:" >&5
17246 sed 's/^/| /' conftest.$ac_ext >&5
17248 ac_cv_type_request_sense=no
17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17253 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17254 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17255 if test $ac_cv_type_request_sense = yes; then
17257 cat >>confdefs.h <<_ACEOF
17258 #define HAVE_REQUEST_SENSE 1
17259 _ACEOF
17265 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17266 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17267 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17268 echo $ECHO_N "(cached) $ECHO_C" >&6
17269 else
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #ifdef HAVE_LINUX_INPUT_H
17277 #include <linux/input.h>
17278 #endif
17281 main ()
17283 static struct ff_effect ac_aggr;
17284 if (ac_aggr.direction)
17285 return 0;
17287 return 0;
17289 _ACEOF
17290 rm -f conftest.$ac_objext
17291 if { (ac_try="$ac_compile"
17292 case "(($ac_try" in
17293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17294 *) ac_try_echo=$ac_try;;
17295 esac
17296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17297 (eval "$ac_compile") 2>conftest.er1
17298 ac_status=$?
17299 grep -v '^ *+' conftest.er1 >conftest.err
17300 rm -f conftest.er1
17301 cat conftest.err >&5
17302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17303 (exit $ac_status); } && {
17304 test -z "$ac_c_werror_flag" ||
17305 test ! -s conftest.err
17306 } && test -s conftest.$ac_objext; then
17307 ac_cv_member_struct_ff_effect_direction=yes
17308 else
17309 echo "$as_me: failed program was:" >&5
17310 sed 's/^/| /' conftest.$ac_ext >&5
17312 cat >conftest.$ac_ext <<_ACEOF
17313 /* confdefs.h. */
17314 _ACEOF
17315 cat confdefs.h >>conftest.$ac_ext
17316 cat >>conftest.$ac_ext <<_ACEOF
17317 /* end confdefs.h. */
17318 #ifdef HAVE_LINUX_INPUT_H
17319 #include <linux/input.h>
17320 #endif
17323 main ()
17325 static struct ff_effect ac_aggr;
17326 if (sizeof ac_aggr.direction)
17327 return 0;
17329 return 0;
17331 _ACEOF
17332 rm -f conftest.$ac_objext
17333 if { (ac_try="$ac_compile"
17334 case "(($ac_try" in
17335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17336 *) ac_try_echo=$ac_try;;
17337 esac
17338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17339 (eval "$ac_compile") 2>conftest.er1
17340 ac_status=$?
17341 grep -v '^ *+' conftest.er1 >conftest.err
17342 rm -f conftest.er1
17343 cat conftest.err >&5
17344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345 (exit $ac_status); } && {
17346 test -z "$ac_c_werror_flag" ||
17347 test ! -s conftest.err
17348 } && test -s conftest.$ac_objext; then
17349 ac_cv_member_struct_ff_effect_direction=yes
17350 else
17351 echo "$as_me: failed program was:" >&5
17352 sed 's/^/| /' conftest.$ac_ext >&5
17354 ac_cv_member_struct_ff_effect_direction=no
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17362 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17363 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17364 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17366 cat >>confdefs.h <<_ACEOF
17367 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17368 _ACEOF
17374 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17375 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17376 if test "${wine_cv_have_sigaddset+set}" = set; then
17377 echo $ECHO_N "(cached) $ECHO_C" >&6
17378 else
17379 cat >conftest.$ac_ext <<_ACEOF
17380 /* confdefs.h. */
17381 _ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h. */
17385 #include <signal.h>
17387 main ()
17389 sigset_t set; sigaddset(&set,SIGTERM);
17391 return 0;
17393 _ACEOF
17394 rm -f conftest.$ac_objext conftest$ac_exeext
17395 if { (ac_try="$ac_link"
17396 case "(($ac_try" in
17397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17398 *) ac_try_echo=$ac_try;;
17399 esac
17400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17401 (eval "$ac_link") 2>conftest.er1
17402 ac_status=$?
17403 grep -v '^ *+' conftest.er1 >conftest.err
17404 rm -f conftest.er1
17405 cat conftest.err >&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); } && {
17408 test -z "$ac_c_werror_flag" ||
17409 test ! -s conftest.err
17410 } && test -s conftest$ac_exeext &&
17411 $as_test_x conftest$ac_exeext; then
17412 wine_cv_have_sigaddset=yes
17413 else
17414 echo "$as_me: failed program was:" >&5
17415 sed 's/^/| /' conftest.$ac_ext >&5
17417 wine_cv_have_sigaddset=no
17420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17421 conftest$ac_exeext conftest.$ac_ext
17423 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17424 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17425 if test "$wine_cv_have_sigaddset" = "yes"
17426 then
17428 cat >>confdefs.h <<\_ACEOF
17429 #define HAVE_SIGADDSET 1
17430 _ACEOF
17435 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17436 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17437 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17438 echo $ECHO_N "(cached) $ECHO_C" >&6
17439 else
17440 cat >conftest.$ac_ext <<_ACEOF
17441 /* confdefs.h. */
17442 _ACEOF
17443 cat confdefs.h >>conftest.$ac_ext
17444 cat >>conftest.$ac_ext <<_ACEOF
17445 /* end confdefs.h. */
17446 #include <netdb.h>
17448 main ()
17451 char *name=NULL;
17452 struct hostent he;
17453 struct hostent *result;
17454 char *buf=NULL;
17455 int bufsize=0;
17456 int res,errnr;
17457 char *addr=NULL;
17458 int addrlen=0;
17459 int addrtype=0;
17460 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17461 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17464 return 0;
17466 _ACEOF
17467 rm -f conftest.$ac_objext conftest$ac_exeext
17468 if { (ac_try="$ac_link"
17469 case "(($ac_try" in
17470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17471 *) ac_try_echo=$ac_try;;
17472 esac
17473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17474 (eval "$ac_link") 2>conftest.er1
17475 ac_status=$?
17476 grep -v '^ *+' conftest.er1 >conftest.err
17477 rm -f conftest.er1
17478 cat conftest.err >&5
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); } && {
17481 test -z "$ac_c_werror_flag" ||
17482 test ! -s conftest.err
17483 } && test -s conftest$ac_exeext &&
17484 $as_test_x conftest$ac_exeext; then
17485 wine_cv_linux_gethostbyname_r_6=yes
17486 else
17487 echo "$as_me: failed program was:" >&5
17488 sed 's/^/| /' conftest.$ac_ext >&5
17490 wine_cv_linux_gethostbyname_r_6=no
17494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17495 conftest$ac_exeext conftest.$ac_ext
17498 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17499 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17500 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17501 then
17503 cat >>confdefs.h <<\_ACEOF
17504 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17505 _ACEOF
17509 if test "$ac_cv_header_linux_joystick_h" = "yes"
17510 then
17511 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17512 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17513 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17514 echo $ECHO_N "(cached) $ECHO_C" >&6
17515 else
17516 cat >conftest.$ac_ext <<_ACEOF
17517 /* confdefs.h. */
17518 _ACEOF
17519 cat confdefs.h >>conftest.$ac_ext
17520 cat >>conftest.$ac_ext <<_ACEOF
17521 /* end confdefs.h. */
17523 #include <sys/ioctl.h>
17524 #include <sys/types.h>
17525 #include <linux/joystick.h>
17527 struct js_event blub;
17528 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17529 #error "no 2.2 header"
17530 #endif
17533 main ()
17535 /*empty*/
17537 return 0;
17539 _ACEOF
17540 rm -f conftest.$ac_objext
17541 if { (ac_try="$ac_compile"
17542 case "(($ac_try" in
17543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17544 *) ac_try_echo=$ac_try;;
17545 esac
17546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17547 (eval "$ac_compile") 2>conftest.er1
17548 ac_status=$?
17549 grep -v '^ *+' conftest.er1 >conftest.err
17550 rm -f conftest.er1
17551 cat conftest.err >&5
17552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17553 (exit $ac_status); } && {
17554 test -z "$ac_c_werror_flag" ||
17555 test ! -s conftest.err
17556 } && test -s conftest.$ac_objext; then
17557 wine_cv_linux_joystick_22_api=yes
17558 else
17559 echo "$as_me: failed program was:" >&5
17560 sed 's/^/| /' conftest.$ac_ext >&5
17562 wine_cv_linux_joystick_22_api=no
17565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17568 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17569 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17570 if test "$wine_cv_linux_joystick_22_api" = "yes"
17571 then
17573 cat >>confdefs.h <<\_ACEOF
17574 #define HAVE_LINUX_22_JOYSTICK_API 1
17575 _ACEOF
17581 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17582 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17583 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17584 echo $ECHO_N "(cached) $ECHO_C" >&6
17585 else
17586 cat >conftest.$ac_ext <<_ACEOF
17587 /* confdefs.h. */
17588 _ACEOF
17589 cat confdefs.h >>conftest.$ac_ext
17590 cat >>conftest.$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17592 #include <sys/types.h>
17593 #ifdef HAVE_SYS_PARAM_H
17594 # include <sys/param.h>
17595 #endif
17596 #ifdef HAVE_SYS_MOUNT_H
17597 # include <sys/mount.h>
17598 #endif
17599 #ifdef HAVE_SYS_VFS_H
17600 # include <sys/vfs.h>
17601 #endif
17602 #ifdef HAVE_SYS_STATFS_H
17603 # include <sys/statfs.h>
17604 #endif
17607 main ()
17609 static struct statfs ac_aggr;
17610 if (ac_aggr.f_bfree)
17611 return 0;
17613 return 0;
17615 _ACEOF
17616 rm -f conftest.$ac_objext
17617 if { (ac_try="$ac_compile"
17618 case "(($ac_try" in
17619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17620 *) ac_try_echo=$ac_try;;
17621 esac
17622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17623 (eval "$ac_compile") 2>conftest.er1
17624 ac_status=$?
17625 grep -v '^ *+' conftest.er1 >conftest.err
17626 rm -f conftest.er1
17627 cat conftest.err >&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); } && {
17630 test -z "$ac_c_werror_flag" ||
17631 test ! -s conftest.err
17632 } && test -s conftest.$ac_objext; then
17633 ac_cv_member_struct_statfs_f_bfree=yes
17634 else
17635 echo "$as_me: failed program was:" >&5
17636 sed 's/^/| /' conftest.$ac_ext >&5
17638 cat >conftest.$ac_ext <<_ACEOF
17639 /* confdefs.h. */
17640 _ACEOF
17641 cat confdefs.h >>conftest.$ac_ext
17642 cat >>conftest.$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17644 #include <sys/types.h>
17645 #ifdef HAVE_SYS_PARAM_H
17646 # include <sys/param.h>
17647 #endif
17648 #ifdef HAVE_SYS_MOUNT_H
17649 # include <sys/mount.h>
17650 #endif
17651 #ifdef HAVE_SYS_VFS_H
17652 # include <sys/vfs.h>
17653 #endif
17654 #ifdef HAVE_SYS_STATFS_H
17655 # include <sys/statfs.h>
17656 #endif
17659 main ()
17661 static struct statfs ac_aggr;
17662 if (sizeof ac_aggr.f_bfree)
17663 return 0;
17665 return 0;
17667 _ACEOF
17668 rm -f conftest.$ac_objext
17669 if { (ac_try="$ac_compile"
17670 case "(($ac_try" in
17671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17672 *) ac_try_echo=$ac_try;;
17673 esac
17674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17675 (eval "$ac_compile") 2>conftest.er1
17676 ac_status=$?
17677 grep -v '^ *+' conftest.er1 >conftest.err
17678 rm -f conftest.er1
17679 cat conftest.err >&5
17680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17681 (exit $ac_status); } && {
17682 test -z "$ac_c_werror_flag" ||
17683 test ! -s conftest.err
17684 } && test -s conftest.$ac_objext; then
17685 ac_cv_member_struct_statfs_f_bfree=yes
17686 else
17687 echo "$as_me: failed program was:" >&5
17688 sed 's/^/| /' conftest.$ac_ext >&5
17690 ac_cv_member_struct_statfs_f_bfree=no
17693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17698 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17699 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17700 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17702 cat >>confdefs.h <<_ACEOF
17703 #define HAVE_STRUCT_STATFS_F_BFREE 1
17704 _ACEOF
17708 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17709 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17710 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17712 else
17713 cat >conftest.$ac_ext <<_ACEOF
17714 /* confdefs.h. */
17715 _ACEOF
17716 cat confdefs.h >>conftest.$ac_ext
17717 cat >>conftest.$ac_ext <<_ACEOF
17718 /* end confdefs.h. */
17719 #include <sys/types.h>
17720 #ifdef HAVE_SYS_PARAM_H
17721 # include <sys/param.h>
17722 #endif
17723 #ifdef HAVE_SYS_MOUNT_H
17724 # include <sys/mount.h>
17725 #endif
17726 #ifdef HAVE_SYS_VFS_H
17727 # include <sys/vfs.h>
17728 #endif
17729 #ifdef HAVE_SYS_STATFS_H
17730 # include <sys/statfs.h>
17731 #endif
17734 main ()
17736 static struct statfs ac_aggr;
17737 if (ac_aggr.f_bavail)
17738 return 0;
17740 return 0;
17742 _ACEOF
17743 rm -f conftest.$ac_objext
17744 if { (ac_try="$ac_compile"
17745 case "(($ac_try" in
17746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17747 *) ac_try_echo=$ac_try;;
17748 esac
17749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17750 (eval "$ac_compile") 2>conftest.er1
17751 ac_status=$?
17752 grep -v '^ *+' conftest.er1 >conftest.err
17753 rm -f conftest.er1
17754 cat conftest.err >&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } && {
17757 test -z "$ac_c_werror_flag" ||
17758 test ! -s conftest.err
17759 } && test -s conftest.$ac_objext; then
17760 ac_cv_member_struct_statfs_f_bavail=yes
17761 else
17762 echo "$as_me: failed program was:" >&5
17763 sed 's/^/| /' conftest.$ac_ext >&5
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #include <sys/types.h>
17772 #ifdef HAVE_SYS_PARAM_H
17773 # include <sys/param.h>
17774 #endif
17775 #ifdef HAVE_SYS_MOUNT_H
17776 # include <sys/mount.h>
17777 #endif
17778 #ifdef HAVE_SYS_VFS_H
17779 # include <sys/vfs.h>
17780 #endif
17781 #ifdef HAVE_SYS_STATFS_H
17782 # include <sys/statfs.h>
17783 #endif
17786 main ()
17788 static struct statfs ac_aggr;
17789 if (sizeof ac_aggr.f_bavail)
17790 return 0;
17792 return 0;
17794 _ACEOF
17795 rm -f conftest.$ac_objext
17796 if { (ac_try="$ac_compile"
17797 case "(($ac_try" in
17798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17799 *) ac_try_echo=$ac_try;;
17800 esac
17801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17802 (eval "$ac_compile") 2>conftest.er1
17803 ac_status=$?
17804 grep -v '^ *+' conftest.er1 >conftest.err
17805 rm -f conftest.er1
17806 cat conftest.err >&5
17807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17808 (exit $ac_status); } && {
17809 test -z "$ac_c_werror_flag" ||
17810 test ! -s conftest.err
17811 } && test -s conftest.$ac_objext; then
17812 ac_cv_member_struct_statfs_f_bavail=yes
17813 else
17814 echo "$as_me: failed program was:" >&5
17815 sed 's/^/| /' conftest.$ac_ext >&5
17817 ac_cv_member_struct_statfs_f_bavail=no
17820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17825 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17826 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17827 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17829 cat >>confdefs.h <<_ACEOF
17830 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17831 _ACEOF
17835 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17836 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17837 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17838 echo $ECHO_N "(cached) $ECHO_C" >&6
17839 else
17840 cat >conftest.$ac_ext <<_ACEOF
17841 /* confdefs.h. */
17842 _ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 #include <sys/types.h>
17847 #ifdef HAVE_SYS_PARAM_H
17848 # include <sys/param.h>
17849 #endif
17850 #ifdef HAVE_SYS_MOUNT_H
17851 # include <sys/mount.h>
17852 #endif
17853 #ifdef HAVE_SYS_VFS_H
17854 # include <sys/vfs.h>
17855 #endif
17856 #ifdef HAVE_SYS_STATFS_H
17857 # include <sys/statfs.h>
17858 #endif
17861 main ()
17863 static struct statfs ac_aggr;
17864 if (ac_aggr.f_frsize)
17865 return 0;
17867 return 0;
17869 _ACEOF
17870 rm -f conftest.$ac_objext
17871 if { (ac_try="$ac_compile"
17872 case "(($ac_try" in
17873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17874 *) ac_try_echo=$ac_try;;
17875 esac
17876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17877 (eval "$ac_compile") 2>conftest.er1
17878 ac_status=$?
17879 grep -v '^ *+' conftest.er1 >conftest.err
17880 rm -f conftest.er1
17881 cat conftest.err >&5
17882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17883 (exit $ac_status); } && {
17884 test -z "$ac_c_werror_flag" ||
17885 test ! -s conftest.err
17886 } && test -s conftest.$ac_objext; then
17887 ac_cv_member_struct_statfs_f_frsize=yes
17888 else
17889 echo "$as_me: failed program was:" >&5
17890 sed 's/^/| /' conftest.$ac_ext >&5
17892 cat >conftest.$ac_ext <<_ACEOF
17893 /* confdefs.h. */
17894 _ACEOF
17895 cat confdefs.h >>conftest.$ac_ext
17896 cat >>conftest.$ac_ext <<_ACEOF
17897 /* end confdefs.h. */
17898 #include <sys/types.h>
17899 #ifdef HAVE_SYS_PARAM_H
17900 # include <sys/param.h>
17901 #endif
17902 #ifdef HAVE_SYS_MOUNT_H
17903 # include <sys/mount.h>
17904 #endif
17905 #ifdef HAVE_SYS_VFS_H
17906 # include <sys/vfs.h>
17907 #endif
17908 #ifdef HAVE_SYS_STATFS_H
17909 # include <sys/statfs.h>
17910 #endif
17913 main ()
17915 static struct statfs ac_aggr;
17916 if (sizeof ac_aggr.f_frsize)
17917 return 0;
17919 return 0;
17921 _ACEOF
17922 rm -f conftest.$ac_objext
17923 if { (ac_try="$ac_compile"
17924 case "(($ac_try" in
17925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17926 *) ac_try_echo=$ac_try;;
17927 esac
17928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17929 (eval "$ac_compile") 2>conftest.er1
17930 ac_status=$?
17931 grep -v '^ *+' conftest.er1 >conftest.err
17932 rm -f conftest.er1
17933 cat conftest.err >&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } && {
17936 test -z "$ac_c_werror_flag" ||
17937 test ! -s conftest.err
17938 } && test -s conftest.$ac_objext; then
17939 ac_cv_member_struct_statfs_f_frsize=yes
17940 else
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17944 ac_cv_member_struct_statfs_f_frsize=no
17947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17952 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17953 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17954 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17956 cat >>confdefs.h <<_ACEOF
17957 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17958 _ACEOF
17962 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17963 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17964 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17965 echo $ECHO_N "(cached) $ECHO_C" >&6
17966 else
17967 cat >conftest.$ac_ext <<_ACEOF
17968 /* confdefs.h. */
17969 _ACEOF
17970 cat confdefs.h >>conftest.$ac_ext
17971 cat >>conftest.$ac_ext <<_ACEOF
17972 /* end confdefs.h. */
17973 #include <sys/types.h>
17974 #ifdef HAVE_SYS_PARAM_H
17975 # include <sys/param.h>
17976 #endif
17977 #ifdef HAVE_SYS_MOUNT_H
17978 # include <sys/mount.h>
17979 #endif
17980 #ifdef HAVE_SYS_VFS_H
17981 # include <sys/vfs.h>
17982 #endif
17983 #ifdef HAVE_SYS_STATFS_H
17984 # include <sys/statfs.h>
17985 #endif
17988 main ()
17990 static struct statfs ac_aggr;
17991 if (ac_aggr.f_ffree)
17992 return 0;
17994 return 0;
17996 _ACEOF
17997 rm -f conftest.$ac_objext
17998 if { (ac_try="$ac_compile"
17999 case "(($ac_try" in
18000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18001 *) ac_try_echo=$ac_try;;
18002 esac
18003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18004 (eval "$ac_compile") 2>conftest.er1
18005 ac_status=$?
18006 grep -v '^ *+' conftest.er1 >conftest.err
18007 rm -f conftest.er1
18008 cat conftest.err >&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } && {
18011 test -z "$ac_c_werror_flag" ||
18012 test ! -s conftest.err
18013 } && test -s conftest.$ac_objext; then
18014 ac_cv_member_struct_statfs_f_ffree=yes
18015 else
18016 echo "$as_me: failed program was:" >&5
18017 sed 's/^/| /' conftest.$ac_ext >&5
18019 cat >conftest.$ac_ext <<_ACEOF
18020 /* confdefs.h. */
18021 _ACEOF
18022 cat confdefs.h >>conftest.$ac_ext
18023 cat >>conftest.$ac_ext <<_ACEOF
18024 /* end confdefs.h. */
18025 #include <sys/types.h>
18026 #ifdef HAVE_SYS_PARAM_H
18027 # include <sys/param.h>
18028 #endif
18029 #ifdef HAVE_SYS_MOUNT_H
18030 # include <sys/mount.h>
18031 #endif
18032 #ifdef HAVE_SYS_VFS_H
18033 # include <sys/vfs.h>
18034 #endif
18035 #ifdef HAVE_SYS_STATFS_H
18036 # include <sys/statfs.h>
18037 #endif
18040 main ()
18042 static struct statfs ac_aggr;
18043 if (sizeof ac_aggr.f_ffree)
18044 return 0;
18046 return 0;
18048 _ACEOF
18049 rm -f conftest.$ac_objext
18050 if { (ac_try="$ac_compile"
18051 case "(($ac_try" in
18052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18053 *) ac_try_echo=$ac_try;;
18054 esac
18055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18056 (eval "$ac_compile") 2>conftest.er1
18057 ac_status=$?
18058 grep -v '^ *+' conftest.er1 >conftest.err
18059 rm -f conftest.er1
18060 cat conftest.err >&5
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); } && {
18063 test -z "$ac_c_werror_flag" ||
18064 test ! -s conftest.err
18065 } && test -s conftest.$ac_objext; then
18066 ac_cv_member_struct_statfs_f_ffree=yes
18067 else
18068 echo "$as_me: failed program was:" >&5
18069 sed 's/^/| /' conftest.$ac_ext >&5
18071 ac_cv_member_struct_statfs_f_ffree=no
18074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18080 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18081 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18083 cat >>confdefs.h <<_ACEOF
18084 #define HAVE_STRUCT_STATFS_F_FFREE 1
18085 _ACEOF
18089 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18090 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18091 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18092 echo $ECHO_N "(cached) $ECHO_C" >&6
18093 else
18094 cat >conftest.$ac_ext <<_ACEOF
18095 /* confdefs.h. */
18096 _ACEOF
18097 cat confdefs.h >>conftest.$ac_ext
18098 cat >>conftest.$ac_ext <<_ACEOF
18099 /* end confdefs.h. */
18100 #include <sys/types.h>
18101 #ifdef HAVE_SYS_PARAM_H
18102 # include <sys/param.h>
18103 #endif
18104 #ifdef HAVE_SYS_MOUNT_H
18105 # include <sys/mount.h>
18106 #endif
18107 #ifdef HAVE_SYS_VFS_H
18108 # include <sys/vfs.h>
18109 #endif
18110 #ifdef HAVE_SYS_STATFS_H
18111 # include <sys/statfs.h>
18112 #endif
18115 main ()
18117 static struct statfs ac_aggr;
18118 if (ac_aggr.f_favail)
18119 return 0;
18121 return 0;
18123 _ACEOF
18124 rm -f conftest.$ac_objext
18125 if { (ac_try="$ac_compile"
18126 case "(($ac_try" in
18127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18128 *) ac_try_echo=$ac_try;;
18129 esac
18130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18131 (eval "$ac_compile") 2>conftest.er1
18132 ac_status=$?
18133 grep -v '^ *+' conftest.er1 >conftest.err
18134 rm -f conftest.er1
18135 cat conftest.err >&5
18136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18137 (exit $ac_status); } && {
18138 test -z "$ac_c_werror_flag" ||
18139 test ! -s conftest.err
18140 } && test -s conftest.$ac_objext; then
18141 ac_cv_member_struct_statfs_f_favail=yes
18142 else
18143 echo "$as_me: failed program was:" >&5
18144 sed 's/^/| /' conftest.$ac_ext >&5
18146 cat >conftest.$ac_ext <<_ACEOF
18147 /* confdefs.h. */
18148 _ACEOF
18149 cat confdefs.h >>conftest.$ac_ext
18150 cat >>conftest.$ac_ext <<_ACEOF
18151 /* end confdefs.h. */
18152 #include <sys/types.h>
18153 #ifdef HAVE_SYS_PARAM_H
18154 # include <sys/param.h>
18155 #endif
18156 #ifdef HAVE_SYS_MOUNT_H
18157 # include <sys/mount.h>
18158 #endif
18159 #ifdef HAVE_SYS_VFS_H
18160 # include <sys/vfs.h>
18161 #endif
18162 #ifdef HAVE_SYS_STATFS_H
18163 # include <sys/statfs.h>
18164 #endif
18167 main ()
18169 static struct statfs ac_aggr;
18170 if (sizeof ac_aggr.f_favail)
18171 return 0;
18173 return 0;
18175 _ACEOF
18176 rm -f conftest.$ac_objext
18177 if { (ac_try="$ac_compile"
18178 case "(($ac_try" in
18179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18180 *) ac_try_echo=$ac_try;;
18181 esac
18182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18183 (eval "$ac_compile") 2>conftest.er1
18184 ac_status=$?
18185 grep -v '^ *+' conftest.er1 >conftest.err
18186 rm -f conftest.er1
18187 cat conftest.err >&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); } && {
18190 test -z "$ac_c_werror_flag" ||
18191 test ! -s conftest.err
18192 } && test -s conftest.$ac_objext; then
18193 ac_cv_member_struct_statfs_f_favail=yes
18194 else
18195 echo "$as_me: failed program was:" >&5
18196 sed 's/^/| /' conftest.$ac_ext >&5
18198 ac_cv_member_struct_statfs_f_favail=no
18201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18206 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18207 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18208 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18210 cat >>confdefs.h <<_ACEOF
18211 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18212 _ACEOF
18216 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18217 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18218 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18219 echo $ECHO_N "(cached) $ECHO_C" >&6
18220 else
18221 cat >conftest.$ac_ext <<_ACEOF
18222 /* confdefs.h. */
18223 _ACEOF
18224 cat confdefs.h >>conftest.$ac_ext
18225 cat >>conftest.$ac_ext <<_ACEOF
18226 /* end confdefs.h. */
18227 #include <sys/types.h>
18228 #ifdef HAVE_SYS_PARAM_H
18229 # include <sys/param.h>
18230 #endif
18231 #ifdef HAVE_SYS_MOUNT_H
18232 # include <sys/mount.h>
18233 #endif
18234 #ifdef HAVE_SYS_VFS_H
18235 # include <sys/vfs.h>
18236 #endif
18237 #ifdef HAVE_SYS_STATFS_H
18238 # include <sys/statfs.h>
18239 #endif
18242 main ()
18244 static struct statfs ac_aggr;
18245 if (ac_aggr.f_namelen)
18246 return 0;
18248 return 0;
18250 _ACEOF
18251 rm -f conftest.$ac_objext
18252 if { (ac_try="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18256 esac
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_c_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 ac_cv_member_struct_statfs_f_namelen=yes
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18273 cat >conftest.$ac_ext <<_ACEOF
18274 /* confdefs.h. */
18275 _ACEOF
18276 cat confdefs.h >>conftest.$ac_ext
18277 cat >>conftest.$ac_ext <<_ACEOF
18278 /* end confdefs.h. */
18279 #include <sys/types.h>
18280 #ifdef HAVE_SYS_PARAM_H
18281 # include <sys/param.h>
18282 #endif
18283 #ifdef HAVE_SYS_MOUNT_H
18284 # include <sys/mount.h>
18285 #endif
18286 #ifdef HAVE_SYS_VFS_H
18287 # include <sys/vfs.h>
18288 #endif
18289 #ifdef HAVE_SYS_STATFS_H
18290 # include <sys/statfs.h>
18291 #endif
18294 main ()
18296 static struct statfs ac_aggr;
18297 if (sizeof ac_aggr.f_namelen)
18298 return 0;
18300 return 0;
18302 _ACEOF
18303 rm -f conftest.$ac_objext
18304 if { (ac_try="$ac_compile"
18305 case "(($ac_try" in
18306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18307 *) ac_try_echo=$ac_try;;
18308 esac
18309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18310 (eval "$ac_compile") 2>conftest.er1
18311 ac_status=$?
18312 grep -v '^ *+' conftest.er1 >conftest.err
18313 rm -f conftest.er1
18314 cat conftest.err >&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); } && {
18317 test -z "$ac_c_werror_flag" ||
18318 test ! -s conftest.err
18319 } && test -s conftest.$ac_objext; then
18320 ac_cv_member_struct_statfs_f_namelen=yes
18321 else
18322 echo "$as_me: failed program was:" >&5
18323 sed 's/^/| /' conftest.$ac_ext >&5
18325 ac_cv_member_struct_statfs_f_namelen=no
18328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18334 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18335 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18337 cat >>confdefs.h <<_ACEOF
18338 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18339 _ACEOF
18345 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18346 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18347 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18348 echo $ECHO_N "(cached) $ECHO_C" >&6
18349 else
18350 cat >conftest.$ac_ext <<_ACEOF
18351 /* confdefs.h. */
18352 _ACEOF
18353 cat confdefs.h >>conftest.$ac_ext
18354 cat >>conftest.$ac_ext <<_ACEOF
18355 /* end confdefs.h. */
18356 #ifdef HAVE_SYS_STATVFS_H
18357 #include <sys/statvfs.h>
18358 #endif
18361 main ()
18363 static struct statvfs ac_aggr;
18364 if (ac_aggr.f_blocks)
18365 return 0;
18367 return 0;
18369 _ACEOF
18370 rm -f conftest.$ac_objext
18371 if { (ac_try="$ac_compile"
18372 case "(($ac_try" in
18373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18374 *) ac_try_echo=$ac_try;;
18375 esac
18376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18377 (eval "$ac_compile") 2>conftest.er1
18378 ac_status=$?
18379 grep -v '^ *+' conftest.er1 >conftest.err
18380 rm -f conftest.er1
18381 cat conftest.err >&5
18382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18383 (exit $ac_status); } && {
18384 test -z "$ac_c_werror_flag" ||
18385 test ! -s conftest.err
18386 } && test -s conftest.$ac_objext; then
18387 ac_cv_member_struct_statvfs_f_blocks=yes
18388 else
18389 echo "$as_me: failed program was:" >&5
18390 sed 's/^/| /' conftest.$ac_ext >&5
18392 cat >conftest.$ac_ext <<_ACEOF
18393 /* confdefs.h. */
18394 _ACEOF
18395 cat confdefs.h >>conftest.$ac_ext
18396 cat >>conftest.$ac_ext <<_ACEOF
18397 /* end confdefs.h. */
18398 #ifdef HAVE_SYS_STATVFS_H
18399 #include <sys/statvfs.h>
18400 #endif
18403 main ()
18405 static struct statvfs ac_aggr;
18406 if (sizeof ac_aggr.f_blocks)
18407 return 0;
18409 return 0;
18411 _ACEOF
18412 rm -f conftest.$ac_objext
18413 if { (ac_try="$ac_compile"
18414 case "(($ac_try" in
18415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18416 *) ac_try_echo=$ac_try;;
18417 esac
18418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18419 (eval "$ac_compile") 2>conftest.er1
18420 ac_status=$?
18421 grep -v '^ *+' conftest.er1 >conftest.err
18422 rm -f conftest.er1
18423 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } && {
18426 test -z "$ac_c_werror_flag" ||
18427 test ! -s conftest.err
18428 } && test -s conftest.$ac_objext; then
18429 ac_cv_member_struct_statvfs_f_blocks=yes
18430 else
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.$ac_ext >&5
18434 ac_cv_member_struct_statvfs_f_blocks=no
18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18442 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18443 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18444 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18446 cat >>confdefs.h <<_ACEOF
18447 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18448 _ACEOF
18454 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18455 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18456 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 else
18459 cat >conftest.$ac_ext <<_ACEOF
18460 /* confdefs.h. */
18461 _ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465 #include <sys/types.h>
18466 #ifdef HAVE_SYS_SOCKET_H
18467 # include <sys/socket.h>
18468 #endif
18469 #ifdef HAVE_SYS_UN_H
18470 # include <sys/un.h>
18471 #endif
18474 main ()
18476 static struct msghdr ac_aggr;
18477 if (ac_aggr.msg_accrights)
18478 return 0;
18480 return 0;
18482 _ACEOF
18483 rm -f conftest.$ac_objext
18484 if { (ac_try="$ac_compile"
18485 case "(($ac_try" in
18486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18487 *) ac_try_echo=$ac_try;;
18488 esac
18489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18490 (eval "$ac_compile") 2>conftest.er1
18491 ac_status=$?
18492 grep -v '^ *+' conftest.er1 >conftest.err
18493 rm -f conftest.er1
18494 cat conftest.err >&5
18495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18496 (exit $ac_status); } && {
18497 test -z "$ac_c_werror_flag" ||
18498 test ! -s conftest.err
18499 } && test -s conftest.$ac_objext; then
18500 ac_cv_member_struct_msghdr_msg_accrights=yes
18501 else
18502 echo "$as_me: failed program was:" >&5
18503 sed 's/^/| /' conftest.$ac_ext >&5
18505 cat >conftest.$ac_ext <<_ACEOF
18506 /* confdefs.h. */
18507 _ACEOF
18508 cat confdefs.h >>conftest.$ac_ext
18509 cat >>conftest.$ac_ext <<_ACEOF
18510 /* end confdefs.h. */
18511 #include <sys/types.h>
18512 #ifdef HAVE_SYS_SOCKET_H
18513 # include <sys/socket.h>
18514 #endif
18515 #ifdef HAVE_SYS_UN_H
18516 # include <sys/un.h>
18517 #endif
18520 main ()
18522 static struct msghdr ac_aggr;
18523 if (sizeof ac_aggr.msg_accrights)
18524 return 0;
18526 return 0;
18528 _ACEOF
18529 rm -f conftest.$ac_objext
18530 if { (ac_try="$ac_compile"
18531 case "(($ac_try" in
18532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18533 *) ac_try_echo=$ac_try;;
18534 esac
18535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18536 (eval "$ac_compile") 2>conftest.er1
18537 ac_status=$?
18538 grep -v '^ *+' conftest.er1 >conftest.err
18539 rm -f conftest.er1
18540 cat conftest.err >&5
18541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18542 (exit $ac_status); } && {
18543 test -z "$ac_c_werror_flag" ||
18544 test ! -s conftest.err
18545 } && test -s conftest.$ac_objext; then
18546 ac_cv_member_struct_msghdr_msg_accrights=yes
18547 else
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 ac_cv_member_struct_msghdr_msg_accrights=no
18554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18560 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18561 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18563 cat >>confdefs.h <<_ACEOF
18564 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18565 _ACEOF
18569 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18570 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18571 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18572 echo $ECHO_N "(cached) $ECHO_C" >&6
18573 else
18574 cat >conftest.$ac_ext <<_ACEOF
18575 /* confdefs.h. */
18576 _ACEOF
18577 cat confdefs.h >>conftest.$ac_ext
18578 cat >>conftest.$ac_ext <<_ACEOF
18579 /* end confdefs.h. */
18580 #include <sys/types.h>
18581 #ifdef HAVE_SYS_SOCKET_H
18582 # include <sys/socket.h>
18583 #endif
18584 #ifdef HAVE_SYS_UN_H
18585 # include <sys/un.h>
18586 #endif
18589 main ()
18591 static struct sockaddr ac_aggr;
18592 if (ac_aggr.sa_len)
18593 return 0;
18595 return 0;
18597 _ACEOF
18598 rm -f conftest.$ac_objext
18599 if { (ac_try="$ac_compile"
18600 case "(($ac_try" in
18601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18602 *) ac_try_echo=$ac_try;;
18603 esac
18604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18605 (eval "$ac_compile") 2>conftest.er1
18606 ac_status=$?
18607 grep -v '^ *+' conftest.er1 >conftest.err
18608 rm -f conftest.er1
18609 cat conftest.err >&5
18610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18611 (exit $ac_status); } && {
18612 test -z "$ac_c_werror_flag" ||
18613 test ! -s conftest.err
18614 } && test -s conftest.$ac_objext; then
18615 ac_cv_member_struct_sockaddr_sa_len=yes
18616 else
18617 echo "$as_me: failed program was:" >&5
18618 sed 's/^/| /' conftest.$ac_ext >&5
18620 cat >conftest.$ac_ext <<_ACEOF
18621 /* confdefs.h. */
18622 _ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18626 #include <sys/types.h>
18627 #ifdef HAVE_SYS_SOCKET_H
18628 # include <sys/socket.h>
18629 #endif
18630 #ifdef HAVE_SYS_UN_H
18631 # include <sys/un.h>
18632 #endif
18635 main ()
18637 static struct sockaddr ac_aggr;
18638 if (sizeof ac_aggr.sa_len)
18639 return 0;
18641 return 0;
18643 _ACEOF
18644 rm -f conftest.$ac_objext
18645 if { (ac_try="$ac_compile"
18646 case "(($ac_try" in
18647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18648 *) ac_try_echo=$ac_try;;
18649 esac
18650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18651 (eval "$ac_compile") 2>conftest.er1
18652 ac_status=$?
18653 grep -v '^ *+' conftest.er1 >conftest.err
18654 rm -f conftest.er1
18655 cat conftest.err >&5
18656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18657 (exit $ac_status); } && {
18658 test -z "$ac_c_werror_flag" ||
18659 test ! -s conftest.err
18660 } && test -s conftest.$ac_objext; then
18661 ac_cv_member_struct_sockaddr_sa_len=yes
18662 else
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.$ac_ext >&5
18666 ac_cv_member_struct_sockaddr_sa_len=no
18669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18674 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18675 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18676 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18678 cat >>confdefs.h <<_ACEOF
18679 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18680 _ACEOF
18684 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18685 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18686 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18687 echo $ECHO_N "(cached) $ECHO_C" >&6
18688 else
18689 cat >conftest.$ac_ext <<_ACEOF
18690 /* confdefs.h. */
18691 _ACEOF
18692 cat confdefs.h >>conftest.$ac_ext
18693 cat >>conftest.$ac_ext <<_ACEOF
18694 /* end confdefs.h. */
18695 #include <sys/types.h>
18696 #ifdef HAVE_SYS_SOCKET_H
18697 # include <sys/socket.h>
18698 #endif
18699 #ifdef HAVE_SYS_UN_H
18700 # include <sys/un.h>
18701 #endif
18704 main ()
18706 static struct sockaddr_un ac_aggr;
18707 if (ac_aggr.sun_len)
18708 return 0;
18710 return 0;
18712 _ACEOF
18713 rm -f conftest.$ac_objext
18714 if { (ac_try="$ac_compile"
18715 case "(($ac_try" in
18716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18717 *) ac_try_echo=$ac_try;;
18718 esac
18719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18720 (eval "$ac_compile") 2>conftest.er1
18721 ac_status=$?
18722 grep -v '^ *+' conftest.er1 >conftest.err
18723 rm -f conftest.er1
18724 cat conftest.err >&5
18725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18726 (exit $ac_status); } && {
18727 test -z "$ac_c_werror_flag" ||
18728 test ! -s conftest.err
18729 } && test -s conftest.$ac_objext; then
18730 ac_cv_member_struct_sockaddr_un_sun_len=yes
18731 else
18732 echo "$as_me: failed program was:" >&5
18733 sed 's/^/| /' conftest.$ac_ext >&5
18735 cat >conftest.$ac_ext <<_ACEOF
18736 /* confdefs.h. */
18737 _ACEOF
18738 cat confdefs.h >>conftest.$ac_ext
18739 cat >>conftest.$ac_ext <<_ACEOF
18740 /* end confdefs.h. */
18741 #include <sys/types.h>
18742 #ifdef HAVE_SYS_SOCKET_H
18743 # include <sys/socket.h>
18744 #endif
18745 #ifdef HAVE_SYS_UN_H
18746 # include <sys/un.h>
18747 #endif
18750 main ()
18752 static struct sockaddr_un ac_aggr;
18753 if (sizeof ac_aggr.sun_len)
18754 return 0;
18756 return 0;
18758 _ACEOF
18759 rm -f conftest.$ac_objext
18760 if { (ac_try="$ac_compile"
18761 case "(($ac_try" in
18762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18763 *) ac_try_echo=$ac_try;;
18764 esac
18765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18766 (eval "$ac_compile") 2>conftest.er1
18767 ac_status=$?
18768 grep -v '^ *+' conftest.er1 >conftest.err
18769 rm -f conftest.er1
18770 cat conftest.err >&5
18771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18772 (exit $ac_status); } && {
18773 test -z "$ac_c_werror_flag" ||
18774 test ! -s conftest.err
18775 } && test -s conftest.$ac_objext; then
18776 ac_cv_member_struct_sockaddr_un_sun_len=yes
18777 else
18778 echo "$as_me: failed program was:" >&5
18779 sed 's/^/| /' conftest.$ac_ext >&5
18781 ac_cv_member_struct_sockaddr_un_sun_len=no
18784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18789 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18790 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18791 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18793 cat >>confdefs.h <<_ACEOF
18794 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18795 _ACEOF
18801 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18802 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18803 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18804 echo $ECHO_N "(cached) $ECHO_C" >&6
18805 else
18806 cat >conftest.$ac_ext <<_ACEOF
18807 /* confdefs.h. */
18808 _ACEOF
18809 cat confdefs.h >>conftest.$ac_ext
18810 cat >>conftest.$ac_ext <<_ACEOF
18811 /* end confdefs.h. */
18812 #include <sys/types.h>
18813 #ifdef HAVE_SCSI_SG_H
18814 #include <scsi/sg.h>
18815 #endif
18818 main ()
18820 static scsireq_t ac_aggr;
18821 if (ac_aggr.cmd)
18822 return 0;
18824 return 0;
18826 _ACEOF
18827 rm -f conftest.$ac_objext
18828 if { (ac_try="$ac_compile"
18829 case "(($ac_try" in
18830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18831 *) ac_try_echo=$ac_try;;
18832 esac
18833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18834 (eval "$ac_compile") 2>conftest.er1
18835 ac_status=$?
18836 grep -v '^ *+' conftest.er1 >conftest.err
18837 rm -f conftest.er1
18838 cat conftest.err >&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); } && {
18841 test -z "$ac_c_werror_flag" ||
18842 test ! -s conftest.err
18843 } && test -s conftest.$ac_objext; then
18844 ac_cv_member_scsireq_t_cmd=yes
18845 else
18846 echo "$as_me: failed program was:" >&5
18847 sed 's/^/| /' conftest.$ac_ext >&5
18849 cat >conftest.$ac_ext <<_ACEOF
18850 /* confdefs.h. */
18851 _ACEOF
18852 cat confdefs.h >>conftest.$ac_ext
18853 cat >>conftest.$ac_ext <<_ACEOF
18854 /* end confdefs.h. */
18855 #include <sys/types.h>
18856 #ifdef HAVE_SCSI_SG_H
18857 #include <scsi/sg.h>
18858 #endif
18861 main ()
18863 static scsireq_t ac_aggr;
18864 if (sizeof ac_aggr.cmd)
18865 return 0;
18867 return 0;
18869 _ACEOF
18870 rm -f conftest.$ac_objext
18871 if { (ac_try="$ac_compile"
18872 case "(($ac_try" in
18873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18874 *) ac_try_echo=$ac_try;;
18875 esac
18876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18877 (eval "$ac_compile") 2>conftest.er1
18878 ac_status=$?
18879 grep -v '^ *+' conftest.er1 >conftest.err
18880 rm -f conftest.er1
18881 cat conftest.err >&5
18882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18883 (exit $ac_status); } && {
18884 test -z "$ac_c_werror_flag" ||
18885 test ! -s conftest.err
18886 } && test -s conftest.$ac_objext; then
18887 ac_cv_member_scsireq_t_cmd=yes
18888 else
18889 echo "$as_me: failed program was:" >&5
18890 sed 's/^/| /' conftest.$ac_ext >&5
18892 ac_cv_member_scsireq_t_cmd=no
18895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18900 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18901 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18902 if test $ac_cv_member_scsireq_t_cmd = yes; then
18904 cat >>confdefs.h <<_ACEOF
18905 #define HAVE_SCSIREQ_T_CMD 1
18906 _ACEOF
18910 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18911 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18912 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18913 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 else
18915 cat >conftest.$ac_ext <<_ACEOF
18916 /* confdefs.h. */
18917 _ACEOF
18918 cat confdefs.h >>conftest.$ac_ext
18919 cat >>conftest.$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18921 #include <sys/types.h>
18922 #ifdef HAVE_SCSI_SG_H
18923 #include <scsi/sg.h>
18924 #endif
18927 main ()
18929 static sg_io_hdr_t ac_aggr;
18930 if (ac_aggr.interface_id)
18931 return 0;
18933 return 0;
18935 _ACEOF
18936 rm -f conftest.$ac_objext
18937 if { (ac_try="$ac_compile"
18938 case "(($ac_try" in
18939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18940 *) ac_try_echo=$ac_try;;
18941 esac
18942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18943 (eval "$ac_compile") 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } && {
18950 test -z "$ac_c_werror_flag" ||
18951 test ! -s conftest.err
18952 } && test -s conftest.$ac_objext; then
18953 ac_cv_member_sg_io_hdr_t_interface_id=yes
18954 else
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 cat >conftest.$ac_ext <<_ACEOF
18959 /* confdefs.h. */
18960 _ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964 #include <sys/types.h>
18965 #ifdef HAVE_SCSI_SG_H
18966 #include <scsi/sg.h>
18967 #endif
18970 main ()
18972 static sg_io_hdr_t ac_aggr;
18973 if (sizeof ac_aggr.interface_id)
18974 return 0;
18976 return 0;
18978 _ACEOF
18979 rm -f conftest.$ac_objext
18980 if { (ac_try="$ac_compile"
18981 case "(($ac_try" in
18982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18984 esac
18985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_compile") 2>conftest.er1
18987 ac_status=$?
18988 grep -v '^ *+' conftest.er1 >conftest.err
18989 rm -f conftest.er1
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } && {
18993 test -z "$ac_c_werror_flag" ||
18994 test ! -s conftest.err
18995 } && test -s conftest.$ac_objext; then
18996 ac_cv_member_sg_io_hdr_t_interface_id=yes
18997 else
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19001 ac_cv_member_sg_io_hdr_t_interface_id=no
19004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19009 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19010 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19011 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19015 _ACEOF
19021 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19022 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19023 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19025 else
19026 cat >conftest.$ac_ext <<_ACEOF
19027 /* confdefs.h. */
19028 _ACEOF
19029 cat confdefs.h >>conftest.$ac_ext
19030 cat >>conftest.$ac_ext <<_ACEOF
19031 /* end confdefs.h. */
19032 #include <signal.h>
19035 main ()
19037 static siginfo_t ac_aggr;
19038 if (ac_aggr.si_fd)
19039 return 0;
19041 return 0;
19043 _ACEOF
19044 rm -f conftest.$ac_objext
19045 if { (ac_try="$ac_compile"
19046 case "(($ac_try" in
19047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19048 *) ac_try_echo=$ac_try;;
19049 esac
19050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19051 (eval "$ac_compile") 2>conftest.er1
19052 ac_status=$?
19053 grep -v '^ *+' conftest.er1 >conftest.err
19054 rm -f conftest.er1
19055 cat conftest.err >&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); } && {
19058 test -z "$ac_c_werror_flag" ||
19059 test ! -s conftest.err
19060 } && test -s conftest.$ac_objext; then
19061 ac_cv_member_siginfo_t_si_fd=yes
19062 else
19063 echo "$as_me: failed program was:" >&5
19064 sed 's/^/| /' conftest.$ac_ext >&5
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h. */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h. */
19072 #include <signal.h>
19075 main ()
19077 static siginfo_t ac_aggr;
19078 if (sizeof ac_aggr.si_fd)
19079 return 0;
19081 return 0;
19083 _ACEOF
19084 rm -f conftest.$ac_objext
19085 if { (ac_try="$ac_compile"
19086 case "(($ac_try" in
19087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19088 *) ac_try_echo=$ac_try;;
19089 esac
19090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19091 (eval "$ac_compile") 2>conftest.er1
19092 ac_status=$?
19093 grep -v '^ *+' conftest.er1 >conftest.err
19094 rm -f conftest.er1
19095 cat conftest.err >&5
19096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19097 (exit $ac_status); } && {
19098 test -z "$ac_c_werror_flag" ||
19099 test ! -s conftest.err
19100 } && test -s conftest.$ac_objext; then
19101 ac_cv_member_siginfo_t_si_fd=yes
19102 else
19103 echo "$as_me: failed program was:" >&5
19104 sed 's/^/| /' conftest.$ac_ext >&5
19106 ac_cv_member_siginfo_t_si_fd=no
19109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19114 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19115 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19116 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_SIGINFO_T_SI_FD 1
19120 _ACEOF
19126 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19127 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19128 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19129 echo $ECHO_N "(cached) $ECHO_C" >&6
19130 else
19131 cat >conftest.$ac_ext <<_ACEOF
19132 /* confdefs.h. */
19133 _ACEOF
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19137 #include <sys/types.h>
19138 #ifdef HAVE_SYS_MTIO_H
19139 #include <sys/mtio.h>
19140 #endif
19143 main ()
19145 static struct mtget ac_aggr;
19146 if (ac_aggr.mt_blksiz)
19147 return 0;
19149 return 0;
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 ac_cv_member_struct_mtget_mt_blksiz=yes
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19174 cat >conftest.$ac_ext <<_ACEOF
19175 /* confdefs.h. */
19176 _ACEOF
19177 cat confdefs.h >>conftest.$ac_ext
19178 cat >>conftest.$ac_ext <<_ACEOF
19179 /* end confdefs.h. */
19180 #include <sys/types.h>
19181 #ifdef HAVE_SYS_MTIO_H
19182 #include <sys/mtio.h>
19183 #endif
19186 main ()
19188 static struct mtget ac_aggr;
19189 if (sizeof ac_aggr.mt_blksiz)
19190 return 0;
19192 return 0;
19194 _ACEOF
19195 rm -f conftest.$ac_objext
19196 if { (ac_try="$ac_compile"
19197 case "(($ac_try" in
19198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19199 *) ac_try_echo=$ac_try;;
19200 esac
19201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19202 (eval "$ac_compile") 2>conftest.er1
19203 ac_status=$?
19204 grep -v '^ *+' conftest.er1 >conftest.err
19205 rm -f conftest.er1
19206 cat conftest.err >&5
19207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19208 (exit $ac_status); } && {
19209 test -z "$ac_c_werror_flag" ||
19210 test ! -s conftest.err
19211 } && test -s conftest.$ac_objext; then
19212 ac_cv_member_struct_mtget_mt_blksiz=yes
19213 else
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19217 ac_cv_member_struct_mtget_mt_blksiz=no
19220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19226 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19227 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19229 cat >>confdefs.h <<_ACEOF
19230 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19231 _ACEOF
19235 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19236 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19237 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19239 else
19240 cat >conftest.$ac_ext <<_ACEOF
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 #include <sys/types.h>
19247 #ifdef HAVE_SYS_MTIO_H
19248 #include <sys/mtio.h>
19249 #endif
19252 main ()
19254 static struct mtget ac_aggr;
19255 if (ac_aggr.mt_gstat)
19256 return 0;
19258 return 0;
19260 _ACEOF
19261 rm -f conftest.$ac_objext
19262 if { (ac_try="$ac_compile"
19263 case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19266 esac
19267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19268 (eval "$ac_compile") 2>conftest.er1
19269 ac_status=$?
19270 grep -v '^ *+' conftest.er1 >conftest.err
19271 rm -f conftest.er1
19272 cat conftest.err >&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); } && {
19275 test -z "$ac_c_werror_flag" ||
19276 test ! -s conftest.err
19277 } && test -s conftest.$ac_objext; then
19278 ac_cv_member_struct_mtget_mt_gstat=yes
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 cat >conftest.$ac_ext <<_ACEOF
19284 /* confdefs.h. */
19285 _ACEOF
19286 cat confdefs.h >>conftest.$ac_ext
19287 cat >>conftest.$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19289 #include <sys/types.h>
19290 #ifdef HAVE_SYS_MTIO_H
19291 #include <sys/mtio.h>
19292 #endif
19295 main ()
19297 static struct mtget ac_aggr;
19298 if (sizeof ac_aggr.mt_gstat)
19299 return 0;
19301 return 0;
19303 _ACEOF
19304 rm -f conftest.$ac_objext
19305 if { (ac_try="$ac_compile"
19306 case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19309 esac
19310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_compile") 2>conftest.er1
19312 ac_status=$?
19313 grep -v '^ *+' conftest.er1 >conftest.err
19314 rm -f conftest.er1
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); } && {
19318 test -z "$ac_c_werror_flag" ||
19319 test ! -s conftest.err
19320 } && test -s conftest.$ac_objext; then
19321 ac_cv_member_struct_mtget_mt_gstat=yes
19322 else
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 ac_cv_member_struct_mtget_mt_gstat=no
19329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19334 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19335 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19336 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19338 cat >>confdefs.h <<_ACEOF
19339 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19340 _ACEOF
19344 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19345 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19346 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19347 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 else
19349 cat >conftest.$ac_ext <<_ACEOF
19350 /* confdefs.h. */
19351 _ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19355 #include <sys/types.h>
19356 #ifdef HAVE_SYS_MTIO_H
19357 #include <sys/mtio.h>
19358 #endif
19361 main ()
19363 static struct mtget ac_aggr;
19364 if (ac_aggr.mt_blkno)
19365 return 0;
19367 return 0;
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (ac_try="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19378 ac_status=$?
19379 grep -v '^ *+' conftest.er1 >conftest.err
19380 rm -f conftest.er1
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_cv_member_struct_mtget_mt_blkno=yes
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 cat >conftest.$ac_ext <<_ACEOF
19393 /* confdefs.h. */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 #include <sys/types.h>
19399 #ifdef HAVE_SYS_MTIO_H
19400 #include <sys/mtio.h>
19401 #endif
19404 main ()
19406 static struct mtget ac_aggr;
19407 if (sizeof ac_aggr.mt_blkno)
19408 return 0;
19410 return 0;
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (ac_try="$ac_compile"
19415 case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19418 esac
19419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_compile") 2>conftest.er1
19421 ac_status=$?
19422 grep -v '^ *+' conftest.er1 >conftest.err
19423 rm -f conftest.er1
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } && {
19427 test -z "$ac_c_werror_flag" ||
19428 test ! -s conftest.err
19429 } && test -s conftest.$ac_objext; then
19430 ac_cv_member_struct_mtget_mt_blkno=yes
19431 else
19432 echo "$as_me: failed program was:" >&5
19433 sed 's/^/| /' conftest.$ac_ext >&5
19435 ac_cv_member_struct_mtget_mt_blkno=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19443 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19444 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19445 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19447 cat >>confdefs.h <<_ACEOF
19448 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19449 _ACEOF
19455 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19456 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19457 if test "${ac_cv_member_struct_option_name+set}" = set; then
19458 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 else
19460 cat >conftest.$ac_ext <<_ACEOF
19461 /* confdefs.h. */
19462 _ACEOF
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 #ifdef HAVE_GETOPT_H
19467 #include <getopt.h>
19468 #endif
19471 main ()
19473 static struct option ac_aggr;
19474 if (ac_aggr.name)
19475 return 0;
19477 return 0;
19479 _ACEOF
19480 rm -f conftest.$ac_objext
19481 if { (ac_try="$ac_compile"
19482 case "(($ac_try" in
19483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19484 *) ac_try_echo=$ac_try;;
19485 esac
19486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19487 (eval "$ac_compile") 2>conftest.er1
19488 ac_status=$?
19489 grep -v '^ *+' conftest.er1 >conftest.err
19490 rm -f conftest.er1
19491 cat conftest.err >&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); } && {
19494 test -z "$ac_c_werror_flag" ||
19495 test ! -s conftest.err
19496 } && test -s conftest.$ac_objext; then
19497 ac_cv_member_struct_option_name=yes
19498 else
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19502 cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h. */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 #ifdef HAVE_GETOPT_H
19509 #include <getopt.h>
19510 #endif
19513 main ()
19515 static struct option ac_aggr;
19516 if (sizeof ac_aggr.name)
19517 return 0;
19519 return 0;
19521 _ACEOF
19522 rm -f conftest.$ac_objext
19523 if { (ac_try="$ac_compile"
19524 case "(($ac_try" in
19525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19526 *) ac_try_echo=$ac_try;;
19527 esac
19528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19529 (eval "$ac_compile") 2>conftest.er1
19530 ac_status=$?
19531 grep -v '^ *+' conftest.er1 >conftest.err
19532 rm -f conftest.er1
19533 cat conftest.err >&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } && {
19536 test -z "$ac_c_werror_flag" ||
19537 test ! -s conftest.err
19538 } && test -s conftest.$ac_objext; then
19539 ac_cv_member_struct_option_name=yes
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19544 ac_cv_member_struct_option_name=no
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19552 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19553 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19554 if test $ac_cv_member_struct_option_name = yes; then
19556 cat >>confdefs.h <<_ACEOF
19557 #define HAVE_STRUCT_OPTION_NAME 1
19558 _ACEOF
19564 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19565 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19566 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19568 else
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19577 main ()
19579 static struct stat ac_aggr;
19580 if (ac_aggr.st_blocks)
19581 return 0;
19583 return 0;
19585 _ACEOF
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19591 esac
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19594 ac_status=$?
19595 grep -v '^ *+' conftest.er1 >conftest.err
19596 rm -f conftest.er1
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19603 ac_cv_member_struct_stat_st_blocks=yes
19604 else
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19608 cat >conftest.$ac_ext <<_ACEOF
19609 /* confdefs.h. */
19610 _ACEOF
19611 cat confdefs.h >>conftest.$ac_ext
19612 cat >>conftest.$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 $ac_includes_default
19616 main ()
19618 static struct stat ac_aggr;
19619 if (sizeof ac_aggr.st_blocks)
19620 return 0;
19622 return 0;
19624 _ACEOF
19625 rm -f conftest.$ac_objext
19626 if { (ac_try="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19630 esac
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19633 ac_status=$?
19634 grep -v '^ *+' conftest.er1 >conftest.err
19635 rm -f conftest.er1
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && {
19639 test -z "$ac_c_werror_flag" ||
19640 test ! -s conftest.err
19641 } && test -s conftest.$ac_objext; then
19642 ac_cv_member_struct_stat_st_blocks=yes
19643 else
19644 echo "$as_me: failed program was:" >&5
19645 sed 's/^/| /' conftest.$ac_ext >&5
19647 ac_cv_member_struct_stat_st_blocks=no
19650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19655 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19656 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19657 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19659 cat >>confdefs.h <<_ACEOF
19660 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19661 _ACEOF
19667 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19668 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19669 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19670 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 else
19672 cat >conftest.$ac_ext <<_ACEOF
19673 /* confdefs.h. */
19674 _ACEOF
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 #ifdef HAVE_SYS_TYPES_H
19679 #include <sys/types.h>
19680 #endif
19681 #ifdef HAVE_NETINET_IN_H
19682 #include <netinet/in.h>
19683 #endif
19686 main ()
19688 static struct sockaddr_in6 ac_aggr;
19689 if (ac_aggr.sin6_scope_id)
19690 return 0;
19692 return 0;
19694 _ACEOF
19695 rm -f conftest.$ac_objext
19696 if { (ac_try="$ac_compile"
19697 case "(($ac_try" in
19698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19699 *) ac_try_echo=$ac_try;;
19700 esac
19701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19702 (eval "$ac_compile") 2>conftest.er1
19703 ac_status=$?
19704 grep -v '^ *+' conftest.er1 >conftest.err
19705 rm -f conftest.er1
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } && {
19709 test -z "$ac_c_werror_flag" ||
19710 test ! -s conftest.err
19711 } && test -s conftest.$ac_objext; then
19712 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19713 else
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 #ifdef HAVE_SYS_TYPES_H
19724 #include <sys/types.h>
19725 #endif
19726 #ifdef HAVE_NETINET_IN_H
19727 #include <netinet/in.h>
19728 #endif
19731 main ()
19733 static struct sockaddr_in6 ac_aggr;
19734 if (sizeof ac_aggr.sin6_scope_id)
19735 return 0;
19737 return 0;
19739 _ACEOF
19740 rm -f conftest.$ac_objext
19741 if { (ac_try="$ac_compile"
19742 case "(($ac_try" in
19743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19744 *) ac_try_echo=$ac_try;;
19745 esac
19746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19747 (eval "$ac_compile") 2>conftest.er1
19748 ac_status=$?
19749 grep -v '^ *+' conftest.er1 >conftest.err
19750 rm -f conftest.er1
19751 cat conftest.err >&5
19752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19753 (exit $ac_status); } && {
19754 test -z "$ac_c_werror_flag" ||
19755 test ! -s conftest.err
19756 } && test -s conftest.$ac_objext; then
19757 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19758 else
19759 echo "$as_me: failed program was:" >&5
19760 sed 's/^/| /' conftest.$ac_ext >&5
19762 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19770 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19771 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19772 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19774 cat >>confdefs.h <<_ACEOF
19775 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19776 _ACEOF
19782 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19783 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19784 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19785 echo $ECHO_N "(cached) $ECHO_C" >&6
19786 else
19787 cat >conftest.$ac_ext <<_ACEOF
19788 /* confdefs.h. */
19789 _ACEOF
19790 cat confdefs.h >>conftest.$ac_ext
19791 cat >>conftest.$ac_ext <<_ACEOF
19792 /* end confdefs.h. */
19793 #ifdef HAVE_SYS_TYPES_H
19794 #include <sys/types.h>
19795 #endif
19796 #ifdef HAVE_NETINET_IN_H
19797 # include <netinet/in.h>
19798 #endif
19799 #ifdef HAVE_ARPA_NAMESER_H
19800 # include <arpa/nameser.h>
19801 #endif
19804 main ()
19806 static ns_msg ac_aggr;
19807 if (ac_aggr._msg_ptr)
19808 return 0;
19810 return 0;
19812 _ACEOF
19813 rm -f conftest.$ac_objext
19814 if { (ac_try="$ac_compile"
19815 case "(($ac_try" in
19816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19817 *) ac_try_echo=$ac_try;;
19818 esac
19819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19820 (eval "$ac_compile") 2>conftest.er1
19821 ac_status=$?
19822 grep -v '^ *+' conftest.er1 >conftest.err
19823 rm -f conftest.er1
19824 cat conftest.err >&5
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); } && {
19827 test -z "$ac_c_werror_flag" ||
19828 test ! -s conftest.err
19829 } && test -s conftest.$ac_objext; then
19830 ac_cv_member_ns_msg__msg_ptr=yes
19831 else
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19835 cat >conftest.$ac_ext <<_ACEOF
19836 /* confdefs.h. */
19837 _ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 #ifdef HAVE_SYS_TYPES_H
19842 #include <sys/types.h>
19843 #endif
19844 #ifdef HAVE_NETINET_IN_H
19845 # include <netinet/in.h>
19846 #endif
19847 #ifdef HAVE_ARPA_NAMESER_H
19848 # include <arpa/nameser.h>
19849 #endif
19852 main ()
19854 static ns_msg ac_aggr;
19855 if (sizeof ac_aggr._msg_ptr)
19856 return 0;
19858 return 0;
19860 _ACEOF
19861 rm -f conftest.$ac_objext
19862 if { (ac_try="$ac_compile"
19863 case "(($ac_try" in
19864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19865 *) ac_try_echo=$ac_try;;
19866 esac
19867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19868 (eval "$ac_compile") 2>conftest.er1
19869 ac_status=$?
19870 grep -v '^ *+' conftest.er1 >conftest.err
19871 rm -f conftest.er1
19872 cat conftest.err >&5
19873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19874 (exit $ac_status); } && {
19875 test -z "$ac_c_werror_flag" ||
19876 test ! -s conftest.err
19877 } && test -s conftest.$ac_objext; then
19878 ac_cv_member_ns_msg__msg_ptr=yes
19879 else
19880 echo "$as_me: failed program was:" >&5
19881 sed 's/^/| /' conftest.$ac_ext >&5
19883 ac_cv_member_ns_msg__msg_ptr=no
19886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19891 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19892 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19893 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19895 cat >>confdefs.h <<_ACEOF
19896 #define HAVE_NS_MSG__MSG_PTR 1
19897 _ACEOF
19903 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19904 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19905 if test "${ac_cv_have_timezone+set}" = set; then
19906 echo $ECHO_N "(cached) $ECHO_C" >&6
19907 else
19908 cat >conftest.$ac_ext <<_ACEOF
19909 /* confdefs.h. */
19910 _ACEOF
19911 cat confdefs.h >>conftest.$ac_ext
19912 cat >>conftest.$ac_ext <<_ACEOF
19913 /* end confdefs.h. */
19914 #include <time.h>
19916 main ()
19918 timezone = 1
19920 return 0;
19922 _ACEOF
19923 rm -f conftest.$ac_objext conftest$ac_exeext
19924 if { (ac_try="$ac_link"
19925 case "(($ac_try" in
19926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19927 *) ac_try_echo=$ac_try;;
19928 esac
19929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19930 (eval "$ac_link") 2>conftest.er1
19931 ac_status=$?
19932 grep -v '^ *+' conftest.er1 >conftest.err
19933 rm -f conftest.er1
19934 cat conftest.err >&5
19935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19936 (exit $ac_status); } && {
19937 test -z "$ac_c_werror_flag" ||
19938 test ! -s conftest.err
19939 } && test -s conftest$ac_exeext &&
19940 $as_test_x conftest$ac_exeext; then
19941 ac_cv_have_timezone="yes"
19942 else
19943 echo "$as_me: failed program was:" >&5
19944 sed 's/^/| /' conftest.$ac_ext >&5
19946 ac_cv_have_timezone="no"
19949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19950 conftest$ac_exeext conftest.$ac_ext
19952 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19953 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19954 if test "$ac_cv_have_timezone" = "yes"
19955 then
19957 cat >>confdefs.h <<\_ACEOF
19958 #define HAVE_TIMEZONE 1
19959 _ACEOF
19962 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19963 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19964 if test "${ac_cv_have_daylight+set}" = set; then
19965 echo $ECHO_N "(cached) $ECHO_C" >&6
19966 else
19967 cat >conftest.$ac_ext <<_ACEOF
19968 /* confdefs.h. */
19969 _ACEOF
19970 cat confdefs.h >>conftest.$ac_ext
19971 cat >>conftest.$ac_ext <<_ACEOF
19972 /* end confdefs.h. */
19973 #include <time.h>
19975 main ()
19977 daylight = 1
19979 return 0;
19981 _ACEOF
19982 rm -f conftest.$ac_objext conftest$ac_exeext
19983 if { (ac_try="$ac_link"
19984 case "(($ac_try" in
19985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19986 *) ac_try_echo=$ac_try;;
19987 esac
19988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19989 (eval "$ac_link") 2>conftest.er1
19990 ac_status=$?
19991 grep -v '^ *+' conftest.er1 >conftest.err
19992 rm -f conftest.er1
19993 cat conftest.err >&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); } && {
19996 test -z "$ac_c_werror_flag" ||
19997 test ! -s conftest.err
19998 } && test -s conftest$ac_exeext &&
19999 $as_test_x conftest$ac_exeext; then
20000 ac_cv_have_daylight="yes"
20001 else
20002 echo "$as_me: failed program was:" >&5
20003 sed 's/^/| /' conftest.$ac_ext >&5
20005 ac_cv_have_daylight="no"
20008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20009 conftest$ac_exeext conftest.$ac_ext
20011 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20012 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20013 if test "$ac_cv_have_daylight" = "yes"
20014 then
20016 cat >>confdefs.h <<\_ACEOF
20017 #define HAVE_DAYLIGHT 1
20018 _ACEOF
20023 case $host_cpu in
20024 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20025 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20026 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20028 else
20029 cat >conftest.$ac_ext <<_ACEOF
20030 /* confdefs.h. */
20031 _ACEOF
20032 cat confdefs.h >>conftest.$ac_ext
20033 cat >>conftest.$ac_ext <<_ACEOF
20034 /* end confdefs.h. */
20035 #ifndef __i386__
20037 #endif
20038 _ACEOF
20039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20040 $EGREP "yes" >/dev/null 2>&1; then
20041 ac_cv_cpp_def___i386__=yes
20042 else
20043 ac_cv_cpp_def___i386__=no
20045 rm -f conftest*
20048 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20049 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20050 if test $ac_cv_cpp_def___i386__ = yes; then
20051 CFLAGS="$CFLAGS -D__i386__"
20052 LINTFLAGS="$LINTFLAGS -D__i386__"
20055 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20056 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20057 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20058 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 else
20060 cat >conftest.$ac_ext <<_ACEOF
20061 /* confdefs.h. */
20062 _ACEOF
20063 cat confdefs.h >>conftest.$ac_ext
20064 cat >>conftest.$ac_ext <<_ACEOF
20065 /* end confdefs.h. */
20066 #ifndef __x86_64__
20068 #endif
20069 _ACEOF
20070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20071 $EGREP "yes" >/dev/null 2>&1; then
20072 ac_cv_cpp_def___x86_64__=yes
20073 else
20074 ac_cv_cpp_def___x86_64__=no
20076 rm -f conftest*
20079 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20080 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20081 if test $ac_cv_cpp_def___x86_64__ = yes; then
20082 CFLAGS="$CFLAGS -D__x86_64__"
20083 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20086 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20087 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20088 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20090 else
20091 cat >conftest.$ac_ext <<_ACEOF
20092 /* confdefs.h. */
20093 _ACEOF
20094 cat confdefs.h >>conftest.$ac_ext
20095 cat >>conftest.$ac_ext <<_ACEOF
20096 /* end confdefs.h. */
20097 #ifndef __ALPHA__
20099 #endif
20100 _ACEOF
20101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20102 $EGREP "yes" >/dev/null 2>&1; then
20103 ac_cv_cpp_def___ALPHA__=yes
20104 else
20105 ac_cv_cpp_def___ALPHA__=no
20107 rm -f conftest*
20110 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20111 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20112 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20113 CFLAGS="$CFLAGS -D__ALPHA__"
20114 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20117 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20118 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20119 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20120 echo $ECHO_N "(cached) $ECHO_C" >&6
20121 else
20122 cat >conftest.$ac_ext <<_ACEOF
20123 /* confdefs.h. */
20124 _ACEOF
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 #ifndef __sparc__
20130 #endif
20131 _ACEOF
20132 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20133 $EGREP "yes" >/dev/null 2>&1; then
20134 ac_cv_cpp_def___sparc__=yes
20135 else
20136 ac_cv_cpp_def___sparc__=no
20138 rm -f conftest*
20141 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20142 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20143 if test $ac_cv_cpp_def___sparc__ = yes; then
20144 CFLAGS="$CFLAGS -D__sparc__"
20145 LINTFLAGS="$LINTFLAGS -D__sparc__"
20148 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20149 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20150 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20152 else
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 #ifndef __powerpc__
20161 #endif
20162 _ACEOF
20163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20164 $EGREP "yes" >/dev/null 2>&1; then
20165 ac_cv_cpp_def___powerpc__=yes
20166 else
20167 ac_cv_cpp_def___powerpc__=no
20169 rm -f conftest*
20172 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20173 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20174 if test $ac_cv_cpp_def___powerpc__ = yes; then
20175 CFLAGS="$CFLAGS -D__powerpc__"
20176 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20179 esac
20181 case $host_vendor in
20182 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20183 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20184 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20185 echo $ECHO_N "(cached) $ECHO_C" >&6
20186 else
20187 cat >conftest.$ac_ext <<_ACEOF
20188 /* confdefs.h. */
20189 _ACEOF
20190 cat confdefs.h >>conftest.$ac_ext
20191 cat >>conftest.$ac_ext <<_ACEOF
20192 /* end confdefs.h. */
20193 #ifndef __sun__
20195 #endif
20196 _ACEOF
20197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20198 $EGREP "yes" >/dev/null 2>&1; then
20199 ac_cv_cpp_def___sun__=yes
20200 else
20201 ac_cv_cpp_def___sun__=no
20203 rm -f conftest*
20206 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20207 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20208 if test $ac_cv_cpp_def___sun__ = yes; then
20209 CFLAGS="$CFLAGS -D__sun__"
20210 LINTFLAGS="$LINTFLAGS -D__sun__"
20213 esac
20216 DEPENDENCIES="### Dependencies:
20218 .INIT: Makefile
20219 .BEGIN: Makefile
20220 Makefile: dummy
20221 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20223 \$(OBJS): \$(IDL_GEN_HEADERS)
20224 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20225 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20226 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20232 ac_config_commands="$ac_config_commands include/stamp-h"
20235 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20237 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20239 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20241 ac_config_commands="$ac_config_commands dlls/user32/resources"
20243 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20245 ac_config_commands="$ac_config_commands include/wine"
20248 MAKE_RULES=Make.rules
20251 MAKE_DLL_RULES=dlls/Makedll.rules
20254 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20257 MAKE_TEST_RULES=dlls/Maketest.rules
20260 MAKE_PROG_RULES=programs/Makeprog.rules
20263 ac_config_files="$ac_config_files Make.rules"
20265 ac_config_files="$ac_config_files dlls/Makedll.rules"
20267 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20269 ac_config_files="$ac_config_files dlls/Maketest.rules"
20271 ac_config_files="$ac_config_files programs/Makeprog.rules"
20273 ac_config_files="$ac_config_files Makefile"
20275 ac_config_files="$ac_config_files dlls/Makefile"
20277 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20279 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20281 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20283 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20285 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20287 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20289 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20291 ac_config_files="$ac_config_files dlls/atl/Makefile"
20293 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20295 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20297 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20299 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20301 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20303 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20305 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20307 ac_config_files="$ac_config_files dlls/cards/Makefile"
20309 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20311 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20313 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20315 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20317 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20319 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20321 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20323 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20325 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20327 ac_config_files="$ac_config_files dlls/credui/Makefile"
20329 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20331 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20333 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20335 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20337 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20339 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20341 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20343 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20345 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20347 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20349 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20351 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20353 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20355 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20357 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20359 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20361 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20363 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20365 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20367 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20369 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20371 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20373 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20375 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20377 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20379 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20381 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20383 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20385 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20387 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20389 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20391 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20393 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20395 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20397 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20399 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20401 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20403 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20405 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20407 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20409 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20411 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20413 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20415 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20417 ac_config_files="$ac_config_files dlls/dwmapi/Makefile"
20419 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20421 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20423 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20425 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20427 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20429 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20431 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20433 ac_config_files="$ac_config_files dlls/gdiplus/tests/Makefile"
20435 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20437 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20439 ac_config_files="$ac_config_files dlls/hal/Makefile"
20441 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20443 ac_config_files="$ac_config_files dlls/hid/Makefile"
20445 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20447 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20449 ac_config_files="$ac_config_files dlls/hnetcfg/Makefile"
20451 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20453 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20455 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20457 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20459 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20461 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20463 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20465 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20467 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20469 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20471 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20473 ac_config_files="$ac_config_files dlls/itss/Makefile"
20475 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20477 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20479 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20481 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20483 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20485 ac_config_files="$ac_config_files dlls/localui/Makefile"
20487 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20491 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20493 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20495 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20497 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20499 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20501 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20503 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20505 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20507 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20509 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20511 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20513 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20515 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20517 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20519 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20521 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20523 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20525 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20527 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20529 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20531 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20533 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20535 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20537 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20539 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20541 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20543 ac_config_files="$ac_config_files dlls/msi/Makefile"
20545 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20547 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20549 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20551 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20553 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20555 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20557 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20559 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20561 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20563 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20565 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20567 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20569 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20571 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20573 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20575 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20579 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20581 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20583 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20585 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20587 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20589 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20591 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20593 ac_config_files="$ac_config_files dlls/ntprint/Makefile"
20595 ac_config_files="$ac_config_files dlls/ntprint/tests/Makefile"
20597 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20599 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20601 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20603 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20605 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20607 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20611 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20613 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20615 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20617 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20619 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20621 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20623 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20625 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20627 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20629 ac_config_files="$ac_config_files dlls/printui/Makefile"
20631 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20633 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20635 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20637 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20639 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20641 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/query/Makefile"
20645 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20647 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20649 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20651 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20653 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20655 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20657 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20661 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20663 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20665 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20667 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20669 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20671 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20673 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20675 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20677 ac_config_files="$ac_config_files dlls/security/Makefile"
20679 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20681 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20683 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20685 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20687 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20689 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20691 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20693 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20695 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20697 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20699 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20701 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20703 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20705 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20707 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20709 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20711 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20713 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20715 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20717 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20719 ac_config_files="$ac_config_files dlls/sti/Makefile"
20721 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20723 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20725 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20727 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20729 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20731 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20733 ac_config_files="$ac_config_files dlls/url/Makefile"
20735 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20737 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20739 ac_config_files="$ac_config_files dlls/user32/Makefile"
20741 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20743 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20745 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20747 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20749 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20751 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20753 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20757 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20759 ac_config_files="$ac_config_files dlls/version/Makefile"
20761 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20763 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20765 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20767 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20769 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20771 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20773 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20775 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20777 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20779 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20781 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20783 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20785 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20787 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20789 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20791 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20793 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20795 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20797 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20799 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20801 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20803 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20805 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20807 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20809 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20811 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20813 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20815 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20817 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20819 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20821 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20823 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20825 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20827 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20829 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20831 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20833 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20835 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20837 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20839 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20841 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20843 ac_config_files="$ac_config_files documentation/Makefile"
20845 ac_config_files="$ac_config_files fonts/Makefile"
20847 ac_config_files="$ac_config_files include/Makefile"
20849 ac_config_files="$ac_config_files libs/Makefile"
20851 ac_config_files="$ac_config_files libs/port/Makefile"
20853 ac_config_files="$ac_config_files libs/wine/Makefile"
20855 ac_config_files="$ac_config_files libs/wpp/Makefile"
20857 ac_config_files="$ac_config_files loader/Makefile"
20859 ac_config_files="$ac_config_files programs/Makefile"
20861 ac_config_files="$ac_config_files programs/clock/Makefile"
20863 ac_config_files="$ac_config_files programs/cmd/Makefile"
20865 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20867 ac_config_files="$ac_config_files programs/control/Makefile"
20869 ac_config_files="$ac_config_files programs/eject/Makefile"
20871 ac_config_files="$ac_config_files programs/expand/Makefile"
20873 ac_config_files="$ac_config_files programs/explorer/Makefile"
20875 ac_config_files="$ac_config_files programs/hh/Makefile"
20877 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20879 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20881 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20883 ac_config_files="$ac_config_files programs/net/Makefile"
20885 ac_config_files="$ac_config_files programs/notepad/Makefile"
20887 ac_config_files="$ac_config_files programs/oleview/Makefile"
20889 ac_config_files="$ac_config_files programs/progman/Makefile"
20891 ac_config_files="$ac_config_files programs/regedit/Makefile"
20893 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20895 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20897 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20899 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20901 ac_config_files="$ac_config_files programs/start/Makefile"
20903 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20905 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20907 ac_config_files="$ac_config_files programs/view/Makefile"
20909 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20911 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20913 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20915 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20917 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20919 ac_config_files="$ac_config_files programs/winedevice/Makefile"
20921 ac_config_files="$ac_config_files programs/winefile/Makefile"
20923 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20925 ac_config_files="$ac_config_files programs/winemine/Makefile"
20927 ac_config_files="$ac_config_files programs/winepath/Makefile"
20929 ac_config_files="$ac_config_files programs/winetest/Makefile"
20931 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20933 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20935 ac_config_files="$ac_config_files programs/winver/Makefile"
20937 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20939 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20941 ac_config_files="$ac_config_files server/Makefile"
20943 ac_config_files="$ac_config_files tools/Makefile"
20945 ac_config_files="$ac_config_files tools/widl/Makefile"
20947 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20949 ac_config_files="$ac_config_files tools/winedump/Makefile"
20951 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20953 ac_config_files="$ac_config_files tools/wmc/Makefile"
20955 ac_config_files="$ac_config_files tools/wrc/Makefile"
20958 cat >confcache <<\_ACEOF
20959 # This file is a shell script that caches the results of configure
20960 # tests run on this system so they can be shared between configure
20961 # scripts and configure runs, see configure's option --config-cache.
20962 # It is not useful on other systems. If it contains results you don't
20963 # want to keep, you may remove or edit it.
20965 # config.status only pays attention to the cache file if you give it
20966 # the --recheck option to rerun configure.
20968 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20969 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20970 # following values.
20972 _ACEOF
20974 # The following way of writing the cache mishandles newlines in values,
20975 # but we know of no workaround that is simple, portable, and efficient.
20976 # So, we kill variables containing newlines.
20977 # Ultrix sh set writes to stderr and can't be redirected directly,
20978 # and sets the high bit in the cache file unless we assign to the vars.
20980 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20981 eval ac_val=\$$ac_var
20982 case $ac_val in #(
20983 *${as_nl}*)
20984 case $ac_var in #(
20985 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20986 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20987 esac
20988 case $ac_var in #(
20989 _ | IFS | as_nl) ;; #(
20990 *) $as_unset $ac_var ;;
20991 esac ;;
20992 esac
20993 done
20995 (set) 2>&1 |
20996 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20997 *${as_nl}ac_space=\ *)
20998 # `set' does not quote correctly, so add quotes (double-quote
20999 # substitution turns \\\\ into \\, and sed turns \\ into \).
21000 sed -n \
21001 "s/'/'\\\\''/g;
21002 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21003 ;; #(
21005 # `set' quotes correctly as required by POSIX, so do not add quotes.
21006 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21008 esac |
21009 sort
21011 sed '
21012 /^ac_cv_env_/b end
21013 t clear
21014 :clear
21015 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21016 t end
21017 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21018 :end' >>confcache
21019 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21020 if test -w "$cache_file"; then
21021 test "x$cache_file" != "x/dev/null" &&
21022 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21023 echo "$as_me: updating cache $cache_file" >&6;}
21024 cat confcache >$cache_file
21025 else
21026 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21027 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21030 rm -f confcache
21032 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21033 # Let make expand exec_prefix.
21034 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21036 DEFS=-DHAVE_CONFIG_H
21038 ac_libobjs=
21039 ac_ltlibobjs=
21040 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21041 # 1. Remove the extension, and $U if already installed.
21042 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21043 ac_i=`echo "$ac_i" | sed "$ac_script"`
21044 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21045 # will be set to the directory where LIBOBJS objects are built.
21046 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21047 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21048 done
21049 LIBOBJS=$ac_libobjs
21051 LTLIBOBJS=$ac_ltlibobjs
21055 : ${CONFIG_STATUS=./config.status}
21056 ac_clean_files_save=$ac_clean_files
21057 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21058 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21059 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21060 cat >$CONFIG_STATUS <<_ACEOF
21061 #! $SHELL
21062 # Generated by $as_me.
21063 # Run this file to recreate the current configuration.
21064 # Compiler output produced by configure, useful for debugging
21065 # configure, is in config.log if it exists.
21067 debug=false
21068 ac_cs_recheck=false
21069 ac_cs_silent=false
21070 SHELL=\${CONFIG_SHELL-$SHELL}
21071 _ACEOF
21073 cat >>$CONFIG_STATUS <<\_ACEOF
21074 ## --------------------- ##
21075 ## M4sh Initialization. ##
21076 ## --------------------- ##
21078 # Be more Bourne compatible
21079 DUALCASE=1; export DUALCASE # for MKS sh
21080 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21081 emulate sh
21082 NULLCMD=:
21083 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21084 # is contrary to our usage. Disable this feature.
21085 alias -g '${1+"$@"}'='"$@"'
21086 setopt NO_GLOB_SUBST
21087 else
21088 case `(set -o) 2>/dev/null` in
21089 *posix*) set -o posix ;;
21090 esac
21097 # PATH needs CR
21098 # Avoid depending upon Character Ranges.
21099 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21100 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21101 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21102 as_cr_digits='0123456789'
21103 as_cr_alnum=$as_cr_Letters$as_cr_digits
21105 # The user is always right.
21106 if test "${PATH_SEPARATOR+set}" != set; then
21107 echo "#! /bin/sh" >conf$$.sh
21108 echo "exit 0" >>conf$$.sh
21109 chmod +x conf$$.sh
21110 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21111 PATH_SEPARATOR=';'
21112 else
21113 PATH_SEPARATOR=:
21115 rm -f conf$$.sh
21118 # Support unset when possible.
21119 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21120 as_unset=unset
21121 else
21122 as_unset=false
21126 # IFS
21127 # We need space, tab and new line, in precisely that order. Quoting is
21128 # there to prevent editors from complaining about space-tab.
21129 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21130 # splitting by setting IFS to empty value.)
21131 as_nl='
21133 IFS=" "" $as_nl"
21135 # Find who we are. Look in the path if we contain no directory separator.
21136 case $0 in
21137 *[\\/]* ) as_myself=$0 ;;
21138 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21139 for as_dir in $PATH
21141 IFS=$as_save_IFS
21142 test -z "$as_dir" && as_dir=.
21143 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21144 done
21145 IFS=$as_save_IFS
21148 esac
21149 # We did not find ourselves, most probably we were run as `sh COMMAND'
21150 # in which case we are not to be found in the path.
21151 if test "x$as_myself" = x; then
21152 as_myself=$0
21154 if test ! -f "$as_myself"; then
21155 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21156 { (exit 1); exit 1; }
21159 # Work around bugs in pre-3.0 UWIN ksh.
21160 for as_var in ENV MAIL MAILPATH
21161 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21162 done
21163 PS1='$ '
21164 PS2='> '
21165 PS4='+ '
21167 # NLS nuisances.
21168 for as_var in \
21169 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21170 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21171 LC_TELEPHONE LC_TIME
21173 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21174 eval $as_var=C; export $as_var
21175 else
21176 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21178 done
21180 # Required to use basename.
21181 if expr a : '\(a\)' >/dev/null 2>&1 &&
21182 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21183 as_expr=expr
21184 else
21185 as_expr=false
21188 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21189 as_basename=basename
21190 else
21191 as_basename=false
21195 # Name of the executable.
21196 as_me=`$as_basename -- "$0" ||
21197 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21198 X"$0" : 'X\(//\)$' \| \
21199 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21200 echo X/"$0" |
21201 sed '/^.*\/\([^/][^/]*\)\/*$/{
21202 s//\1/
21205 /^X\/\(\/\/\)$/{
21206 s//\1/
21209 /^X\/\(\/\).*/{
21210 s//\1/
21213 s/.*/./; q'`
21215 # CDPATH.
21216 $as_unset CDPATH
21220 as_lineno_1=$LINENO
21221 as_lineno_2=$LINENO
21222 test "x$as_lineno_1" != "x$as_lineno_2" &&
21223 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21225 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21226 # uniformly replaced by the line number. The first 'sed' inserts a
21227 # line-number line after each line using $LINENO; the second 'sed'
21228 # does the real work. The second script uses 'N' to pair each
21229 # line-number line with the line containing $LINENO, and appends
21230 # trailing '-' during substitution so that $LINENO is not a special
21231 # case at line end.
21232 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21233 # scripts with optimization help from Paolo Bonzini. Blame Lee
21234 # E. McMahon (1931-1989) for sed's syntax. :-)
21235 sed -n '
21237 /[$]LINENO/=
21238 ' <$as_myself |
21239 sed '
21240 s/[$]LINENO.*/&-/
21241 t lineno
21243 :lineno
21245 :loop
21246 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21247 t loop
21248 s/-\n.*//
21249 ' >$as_me.lineno &&
21250 chmod +x "$as_me.lineno" ||
21251 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21252 { (exit 1); exit 1; }; }
21254 # Don't try to exec as it changes $[0], causing all sort of problems
21255 # (the dirname of $[0] is not the place where we might find the
21256 # original and so on. Autoconf is especially sensitive to this).
21257 . "./$as_me.lineno"
21258 # Exit status is that of the last command.
21259 exit
21263 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21264 as_dirname=dirname
21265 else
21266 as_dirname=false
21269 ECHO_C= ECHO_N= ECHO_T=
21270 case `echo -n x` in
21271 -n*)
21272 case `echo 'x\c'` in
21273 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21274 *) ECHO_C='\c';;
21275 esac;;
21277 ECHO_N='-n';;
21278 esac
21280 if expr a : '\(a\)' >/dev/null 2>&1 &&
21281 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21282 as_expr=expr
21283 else
21284 as_expr=false
21287 rm -f conf$$ conf$$.exe conf$$.file
21288 if test -d conf$$.dir; then
21289 rm -f conf$$.dir/conf$$.file
21290 else
21291 rm -f conf$$.dir
21292 mkdir conf$$.dir
21294 echo >conf$$.file
21295 if ln -s conf$$.file conf$$ 2>/dev/null; then
21296 as_ln_s='ln -s'
21297 # ... but there are two gotchas:
21298 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21299 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21300 # In both cases, we have to default to `cp -p'.
21301 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21302 as_ln_s='cp -p'
21303 elif ln conf$$.file conf$$ 2>/dev/null; then
21304 as_ln_s=ln
21305 else
21306 as_ln_s='cp -p'
21308 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21309 rmdir conf$$.dir 2>/dev/null
21311 if mkdir -p . 2>/dev/null; then
21312 as_mkdir_p=:
21313 else
21314 test -d ./-p && rmdir ./-p
21315 as_mkdir_p=false
21318 if test -x / >/dev/null 2>&1; then
21319 as_test_x='test -x'
21320 else
21321 if ls -dL / >/dev/null 2>&1; then
21322 as_ls_L_option=L
21323 else
21324 as_ls_L_option=
21326 as_test_x='
21327 eval sh -c '\''
21328 if test -d "$1"; then
21329 test -d "$1/.";
21330 else
21331 case $1 in
21332 -*)set "./$1";;
21333 esac;
21334 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21335 ???[sx]*):;;*)false;;esac;fi
21336 '\'' sh
21339 as_executable_p=$as_test_x
21341 # Sed expression to map a string onto a valid CPP name.
21342 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21344 # Sed expression to map a string onto a valid variable name.
21345 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21348 exec 6>&1
21350 # Save the log message, to keep $[0] and so on meaningful, and to
21351 # report actual input values of CONFIG_FILES etc. instead of their
21352 # values after options handling.
21353 ac_log="
21354 This file was extended by Wine $as_me 0.9.40, which was
21355 generated by GNU Autoconf 2.61. Invocation command line was
21357 CONFIG_FILES = $CONFIG_FILES
21358 CONFIG_HEADERS = $CONFIG_HEADERS
21359 CONFIG_LINKS = $CONFIG_LINKS
21360 CONFIG_COMMANDS = $CONFIG_COMMANDS
21361 $ $0 $@
21363 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21366 _ACEOF
21368 cat >>$CONFIG_STATUS <<_ACEOF
21369 # Files that config.status was made for.
21370 config_files="$ac_config_files"
21371 config_headers="$ac_config_headers"
21372 config_commands="$ac_config_commands"
21374 _ACEOF
21376 cat >>$CONFIG_STATUS <<\_ACEOF
21377 ac_cs_usage="\
21378 \`$as_me' instantiates files from templates according to the
21379 current configuration.
21381 Usage: $0 [OPTIONS] [FILE]...
21383 -h, --help print this help, then exit
21384 -V, --version print version number and configuration settings, then exit
21385 -q, --quiet do not print progress messages
21386 -d, --debug don't remove temporary files
21387 --recheck update $as_me by reconfiguring in the same conditions
21388 --file=FILE[:TEMPLATE]
21389 instantiate the configuration file FILE
21390 --header=FILE[:TEMPLATE]
21391 instantiate the configuration header FILE
21393 Configuration files:
21394 $config_files
21396 Configuration headers:
21397 $config_headers
21399 Configuration commands:
21400 $config_commands
21402 Report bugs to <bug-autoconf@gnu.org>."
21404 _ACEOF
21405 cat >>$CONFIG_STATUS <<_ACEOF
21406 ac_cs_version="\\
21407 Wine config.status 0.9.40
21408 configured by $0, generated by GNU Autoconf 2.61,
21409 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21411 Copyright (C) 2006 Free Software Foundation, Inc.
21412 This config.status script is free software; the Free Software Foundation
21413 gives unlimited permission to copy, distribute and modify it."
21415 ac_pwd='$ac_pwd'
21416 srcdir='$srcdir'
21417 INSTALL='$INSTALL'
21418 _ACEOF
21420 cat >>$CONFIG_STATUS <<\_ACEOF
21421 # If no file are specified by the user, then we need to provide default
21422 # value. By we need to know if files were specified by the user.
21423 ac_need_defaults=:
21424 while test $# != 0
21426 case $1 in
21427 --*=*)
21428 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21429 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21430 ac_shift=:
21433 ac_option=$1
21434 ac_optarg=$2
21435 ac_shift=shift
21437 esac
21439 case $ac_option in
21440 # Handling of the options.
21441 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21442 ac_cs_recheck=: ;;
21443 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21444 echo "$ac_cs_version"; exit ;;
21445 --debug | --debu | --deb | --de | --d | -d )
21446 debug=: ;;
21447 --file | --fil | --fi | --f )
21448 $ac_shift
21449 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21450 ac_need_defaults=false;;
21451 --header | --heade | --head | --hea )
21452 $ac_shift
21453 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21454 ac_need_defaults=false;;
21455 --he | --h)
21456 # Conflict between --help and --header
21457 { echo "$as_me: error: ambiguous option: $1
21458 Try \`$0 --help' for more information." >&2
21459 { (exit 1); exit 1; }; };;
21460 --help | --hel | -h )
21461 echo "$ac_cs_usage"; exit ;;
21462 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21463 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21464 ac_cs_silent=: ;;
21466 # This is an error.
21467 -*) { echo "$as_me: error: unrecognized option: $1
21468 Try \`$0 --help' for more information." >&2
21469 { (exit 1); exit 1; }; } ;;
21471 *) ac_config_targets="$ac_config_targets $1"
21472 ac_need_defaults=false ;;
21474 esac
21475 shift
21476 done
21478 ac_configure_extra_args=
21480 if $ac_cs_silent; then
21481 exec 6>/dev/null
21482 ac_configure_extra_args="$ac_configure_extra_args --silent"
21485 _ACEOF
21486 cat >>$CONFIG_STATUS <<_ACEOF
21487 if \$ac_cs_recheck; then
21488 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21489 CONFIG_SHELL=$SHELL
21490 export CONFIG_SHELL
21491 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21494 _ACEOF
21495 cat >>$CONFIG_STATUS <<\_ACEOF
21496 exec 5>>config.log
21498 echo
21499 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21500 ## Running $as_me. ##
21501 _ASBOX
21502 echo "$ac_log"
21503 } >&5
21505 _ACEOF
21506 cat >>$CONFIG_STATUS <<_ACEOF
21507 _ACEOF
21509 cat >>$CONFIG_STATUS <<\_ACEOF
21511 # Handling of arguments.
21512 for ac_config_target in $ac_config_targets
21514 case $ac_config_target in
21515 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21516 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21517 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21518 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21519 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21520 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21521 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21522 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21523 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21524 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21525 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21526 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21527 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21528 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21529 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21530 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21531 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21532 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21533 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21534 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21535 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21536 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21537 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21538 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21539 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21540 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21541 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21542 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21543 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21544 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21545 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21546 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21547 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21548 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21549 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21550 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21551 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21552 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21553 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21554 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21555 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21556 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21557 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21558 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21559 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21560 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21561 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21562 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21563 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21564 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21565 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21566 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21567 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21568 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21569 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21570 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21571 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21572 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21573 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21574 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21575 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21576 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21577 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21578 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21579 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21580 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21581 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21582 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21583 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21584 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21585 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21586 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21587 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21588 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21589 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21590 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21591 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21592 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21593 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21594 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21595 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21596 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21597 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21598 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21599 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21600 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
21601 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21602 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21603 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21604 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21605 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21606 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21607 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21608 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
21609 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21610 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21611 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21612 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21613 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21614 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21615 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21616 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
21617 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21618 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21619 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21620 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21621 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21622 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21623 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21624 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21625 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21626 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21627 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21628 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21629 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21630 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21631 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21632 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21633 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21634 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21635 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21636 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21637 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21638 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21639 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21640 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21641 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21642 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21643 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21644 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21645 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21646 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21647 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21648 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21649 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21650 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21651 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21652 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21653 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21654 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21655 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21656 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21657 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21658 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21659 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21660 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21661 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21662 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21663 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21664 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21665 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21666 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21667 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21668 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21669 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21670 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21671 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21672 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21673 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21674 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21675 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21676 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21677 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21678 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21679 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21680 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21681 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21682 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21683 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21684 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21685 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21686 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21687 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21688 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
21689 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
21690 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21691 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21692 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21693 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21694 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21695 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21696 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21697 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21698 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21699 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21700 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21701 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21702 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21703 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21704 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21705 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21706 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
21707 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21708 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21709 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21710 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21711 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21712 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21713 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21714 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21715 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21716 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21717 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21718 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21719 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21720 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21721 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21722 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21723 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21724 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21725 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21726 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21727 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21728 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21729 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21730 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21731 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21732 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21733 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21734 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21735 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21736 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21737 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21738 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21739 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21740 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21741 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21742 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21743 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21744 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21745 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21746 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21747 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21748 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21749 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21750 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21751 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21752 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21753 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21754 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21755 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21756 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21757 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21758 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21759 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21760 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21761 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21762 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21763 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21764 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21765 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21766 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21767 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21768 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21769 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21770 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21771 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21772 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21773 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21774 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21775 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21776 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21777 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21778 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21779 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21780 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21781 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21782 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21783 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21784 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21785 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21786 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21787 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21788 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21789 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21790 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21791 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21792 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21793 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21794 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21795 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21796 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21797 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21798 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21799 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21800 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21801 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21802 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21803 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21804 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21805 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21806 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21807 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21808 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21809 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21810 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21811 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21812 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21813 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21814 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21815 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21816 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21817 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21818 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21819 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21820 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21821 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21822 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21823 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21824 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21825 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21826 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21827 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21828 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21829 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21830 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21831 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21832 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21833 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21834 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21835 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21836 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21837 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21838 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21839 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21840 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21841 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21842 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21843 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21844 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21845 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21846 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21847 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21848 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21849 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21850 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21851 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21852 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21853 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21854 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21855 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21856 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21857 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21858 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21859 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21860 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21861 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21862 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21863 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21864 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21865 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21866 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21867 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21868 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21869 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21871 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21872 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21873 { (exit 1); exit 1; }; };;
21874 esac
21875 done
21878 # If the user did not use the arguments to specify the items to instantiate,
21879 # then the envvar interface is used. Set only those that are not.
21880 # We use the long form for the default assignment because of an extremely
21881 # bizarre bug on SunOS 4.1.3.
21882 if $ac_need_defaults; then
21883 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21884 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21885 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21888 # Have a temporary directory for convenience. Make it in the build tree
21889 # simply because there is no reason against having it here, and in addition,
21890 # creating and moving files from /tmp can sometimes cause problems.
21891 # Hook for its removal unless debugging.
21892 # Note that there is a small window in which the directory will not be cleaned:
21893 # after its creation but before its name has been assigned to `$tmp'.
21894 $debug ||
21896 tmp=
21897 trap 'exit_status=$?
21898 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21900 trap '{ (exit 1); exit 1; }' 1 2 13 15
21902 # Create a (secure) tmp directory for tmp files.
21905 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21906 test -n "$tmp" && test -d "$tmp"
21907 } ||
21909 tmp=./conf$$-$RANDOM
21910 (umask 077 && mkdir "$tmp")
21911 } ||
21913 echo "$me: cannot create a temporary directory in ." >&2
21914 { (exit 1); exit 1; }
21918 # Set up the sed scripts for CONFIG_FILES section.
21921 # No need to generate the scripts if there are no CONFIG_FILES.
21922 # This happens for instance when ./config.status config.h
21923 if test -n "$CONFIG_FILES"; then
21925 _ACEOF
21927 # Create sed commands to just substitute file output variables.
21929 # Remaining file output variables are in a fragment that also has non-file
21930 # output varibles.
21934 ac_delim='%!_!# '
21935 for ac_last_try in false false false false false :; do
21936 cat >conf$$subs.sed <<_ACEOF
21937 SHELL!$SHELL$ac_delim
21938 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21939 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21940 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21941 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21942 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21943 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21944 exec_prefix!$exec_prefix$ac_delim
21945 prefix!$prefix$ac_delim
21946 program_transform_name!$program_transform_name$ac_delim
21947 bindir!$bindir$ac_delim
21948 sbindir!$sbindir$ac_delim
21949 libexecdir!$libexecdir$ac_delim
21950 datarootdir!$datarootdir$ac_delim
21951 datadir!$datadir$ac_delim
21952 sysconfdir!$sysconfdir$ac_delim
21953 sharedstatedir!$sharedstatedir$ac_delim
21954 localstatedir!$localstatedir$ac_delim
21955 includedir!$includedir$ac_delim
21956 oldincludedir!$oldincludedir$ac_delim
21957 docdir!$docdir$ac_delim
21958 infodir!$infodir$ac_delim
21959 htmldir!$htmldir$ac_delim
21960 dvidir!$dvidir$ac_delim
21961 pdfdir!$pdfdir$ac_delim
21962 psdir!$psdir$ac_delim
21963 libdir!$libdir$ac_delim
21964 localedir!$localedir$ac_delim
21965 mandir!$mandir$ac_delim
21966 DEFS!$DEFS$ac_delim
21967 ECHO_C!$ECHO_C$ac_delim
21968 ECHO_N!$ECHO_N$ac_delim
21969 ECHO_T!$ECHO_T$ac_delim
21970 LIBS!$LIBS$ac_delim
21971 build_alias!$build_alias$ac_delim
21972 host_alias!$host_alias$ac_delim
21973 target_alias!$target_alias$ac_delim
21974 build!$build$ac_delim
21975 build_cpu!$build_cpu$ac_delim
21976 build_vendor!$build_vendor$ac_delim
21977 build_os!$build_os$ac_delim
21978 host!$host$ac_delim
21979 host_cpu!$host_cpu$ac_delim
21980 host_vendor!$host_vendor$ac_delim
21981 host_os!$host_os$ac_delim
21982 WIN16_FILES!$WIN16_FILES$ac_delim
21983 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21984 SET_MAKE!$SET_MAKE$ac_delim
21985 CC!$CC$ac_delim
21986 CFLAGS!$CFLAGS$ac_delim
21987 LDFLAGS!$LDFLAGS$ac_delim
21988 CPPFLAGS!$CPPFLAGS$ac_delim
21989 ac_ct_CC!$ac_ct_CC$ac_delim
21990 EXEEXT!$EXEEXT$ac_delim
21991 OBJEXT!$OBJEXT$ac_delim
21992 CXX!$CXX$ac_delim
21993 CXXFLAGS!$CXXFLAGS$ac_delim
21994 ac_ct_CXX!$ac_ct_CXX$ac_delim
21995 CPPBIN!$CPPBIN$ac_delim
21996 TOOLSDIR!$TOOLSDIR$ac_delim
21997 XMKMF!$XMKMF$ac_delim
21998 CPP!$CPP$ac_delim
21999 X_CFLAGS!$X_CFLAGS$ac_delim
22000 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22001 X_LIBS!$X_LIBS$ac_delim
22002 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22003 FLEX!$FLEX$ac_delim
22004 BISON!$BISON$ac_delim
22005 AS!$AS$ac_delim
22006 ac_ct_AS!$ac_ct_AS$ac_delim
22007 LD!$LD$ac_delim
22008 AR!$AR$ac_delim
22009 RANLIB!$RANLIB$ac_delim
22010 STRIP!$STRIP$ac_delim
22011 WINDRES!$WINDRES$ac_delim
22012 LN_S!$LN_S$ac_delim
22013 LN!$LN$ac_delim
22014 GREP!$GREP$ac_delim
22015 EGREP!$EGREP$ac_delim
22016 LDCONFIG!$LDCONFIG$ac_delim
22017 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22018 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22019 _ACEOF
22021 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22022 break
22023 elif $ac_last_try; then
22024 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22025 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22026 { (exit 1); exit 1; }; }
22027 else
22028 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22030 done
22032 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22033 if test -n "$ac_eof"; then
22034 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22035 ac_eof=`expr $ac_eof + 1`
22038 cat >>$CONFIG_STATUS <<_ACEOF
22039 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22040 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22041 /^[ ]*@MAKE_RULES@[ ]*$/{
22042 r $MAKE_RULES
22045 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22046 r $MAKE_DLL_RULES
22049 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22050 r $MAKE_IMPLIB_RULES
22053 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22054 r $MAKE_TEST_RULES
22057 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22058 r $MAKE_PROG_RULES
22061 _ACEOF
22062 sed '
22063 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22064 s/^/s,@/; s/!/@,|#_!!_#|/
22067 s/'"$ac_delim"'$/,g/; t
22068 s/$/\\/; p
22069 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22070 ' >>$CONFIG_STATUS <conf$$subs.sed
22071 rm -f conf$$subs.sed
22072 cat >>$CONFIG_STATUS <<_ACEOF
22073 CEOF$ac_eof
22074 _ACEOF
22077 ac_delim='%!_!# '
22078 for ac_last_try in false false false false false :; do
22079 cat >conf$$subs.sed <<_ACEOF
22080 INSTALL_DATA!$INSTALL_DATA$ac_delim
22081 LINT!$LINT$ac_delim
22082 LINTFLAGS!$LINTFLAGS$ac_delim
22083 FONTFORGE!$FONTFORGE$ac_delim
22084 PKG_CONFIG!$PKG_CONFIG$ac_delim
22085 PRELINK!$PRELINK$ac_delim
22086 LIBPTHREAD!$LIBPTHREAD$ac_delim
22087 XLIB!$XLIB$ac_delim
22088 XFILES!$XFILES$ac_delim
22089 OPENGLFILES!$OPENGLFILES$ac_delim
22090 GLU32FILES!$GLU32FILES$ac_delim
22091 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22092 QUARTZFILES!$QUARTZFILES$ac_delim
22093 DLLEXT!$DLLEXT$ac_delim
22094 DLLFLAGS!$DLLFLAGS$ac_delim
22095 LDSHARED!$LDSHARED$ac_delim
22096 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22097 LIBEXT!$LIBEXT$ac_delim
22098 IMPLIBEXT!$IMPLIBEXT$ac_delim
22099 LDRPATH_INSTALL!$LDRPATH_INSTALL$ac_delim
22100 LDRPATH_LOCAL!$LDRPATH_LOCAL$ac_delim
22101 LDD!$LDD$ac_delim
22102 DLLTOOL!$DLLTOOL$ac_delim
22103 DLLWRAP!$DLLWRAP$ac_delim
22104 MINGWAR!$MINGWAR$ac_delim
22105 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22106 IOKITLIB!$IOKITLIB$ac_delim
22107 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22108 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22109 COREAUDIO!$COREAUDIO$ac_delim
22110 CARBONLIB!$CARBONLIB$ac_delim
22111 CROSSTEST!$CROSSTEST$ac_delim
22112 CROSSCC!$CROSSCC$ac_delim
22113 CROSSWINDRES!$CROSSWINDRES$ac_delim
22114 NASLIBS!$NASLIBS$ac_delim
22115 XML2LIBS!$XML2LIBS$ac_delim
22116 XML2INCL!$XML2INCL$ac_delim
22117 XSLTLIBS!$XSLTLIBS$ac_delim
22118 XSLTINCL!$XSLTINCL$ac_delim
22119 HALINCL!$HALINCL$ac_delim
22120 sane_devel!$sane_devel$ac_delim
22121 SANEINCL!$SANEINCL$ac_delim
22122 gphoto2_devel!$gphoto2_devel$ac_delim
22123 gphoto2port_devel!$gphoto2port_devel$ac_delim
22124 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22125 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22126 ICULIBS!$ICULIBS$ac_delim
22127 RESOLVLIBS!$RESOLVLIBS$ac_delim
22128 LCMSLIBS!$LCMSLIBS$ac_delim
22129 LDAPLIBS!$LDAPLIBS$ac_delim
22130 FREETYPELIBS!$FREETYPELIBS$ac_delim
22131 FREETYPEINCL!$FREETYPEINCL$ac_delim
22132 ft_devel!$ft_devel$ac_delim
22133 ft_devel2!$ft_devel2$ac_delim
22134 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22135 ESDCONFIG!$ESDCONFIG$ac_delim
22136 ESDLIBS!$ESDLIBS$ac_delim
22137 ESDINCL!$ESDINCL$ac_delim
22138 ALSALIBS!$ALSALIBS$ac_delim
22139 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22140 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22141 BUILTINFLAG!$BUILTINFLAG$ac_delim
22142 LDPATH!$LDPATH$ac_delim
22143 CRTLIBS!$CRTLIBS$ac_delim
22144 SOCKETLIBS!$SOCKETLIBS$ac_delim
22145 MAIN_BINARY!$MAIN_BINARY$ac_delim
22146 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22147 LIBDL!$LIBDL$ac_delim
22148 LIBPOLL!$LIBPOLL$ac_delim
22149 DEPENDENCIES!$DEPENDENCIES$ac_delim
22150 LIBOBJS!$LIBOBJS$ac_delim
22151 LTLIBOBJS!$LTLIBOBJS$ac_delim
22152 _ACEOF
22154 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 72; then
22155 break
22156 elif $ac_last_try; then
22157 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22158 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22159 { (exit 1); exit 1; }; }
22160 else
22161 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22163 done
22165 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22166 if test -n "$ac_eof"; then
22167 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22168 ac_eof=`expr $ac_eof + 1`
22171 cat >>$CONFIG_STATUS <<_ACEOF
22172 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22173 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22174 _ACEOF
22175 sed '
22176 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22177 s/^/s,@/; s/!/@,|#_!!_#|/
22180 s/'"$ac_delim"'$/,g/; t
22181 s/$/\\/; p
22182 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22183 ' >>$CONFIG_STATUS <conf$$subs.sed
22184 rm -f conf$$subs.sed
22185 cat >>$CONFIG_STATUS <<_ACEOF
22186 :end
22187 s/|#_!!_#|//g
22188 CEOF$ac_eof
22189 _ACEOF
22192 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22193 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22194 # trailing colons and then remove the whole line if VPATH becomes empty
22195 # (actually we leave an empty line to preserve line numbers).
22196 if test "x$srcdir" = x.; then
22197 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22198 s/:*\$(srcdir):*/:/
22199 s/:*\${srcdir}:*/:/
22200 s/:*@srcdir@:*/:/
22201 s/^\([^=]*=[ ]*\):*/\1/
22202 s/:*$//
22203 s/^[^=]*=[ ]*$//
22207 cat >>$CONFIG_STATUS <<\_ACEOF
22208 fi # test -n "$CONFIG_FILES"
22211 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22213 case $ac_tag in
22214 :[FHLC]) ac_mode=$ac_tag; continue;;
22215 esac
22216 case $ac_mode$ac_tag in
22217 :[FHL]*:*);;
22218 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22219 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22220 { (exit 1); exit 1; }; };;
22221 :[FH]-) ac_tag=-:-;;
22222 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22223 esac
22224 ac_save_IFS=$IFS
22225 IFS=:
22226 set x $ac_tag
22227 IFS=$ac_save_IFS
22228 shift
22229 ac_file=$1
22230 shift
22232 case $ac_mode in
22233 :L) ac_source=$1;;
22234 :[FH])
22235 ac_file_inputs=
22236 for ac_f
22238 case $ac_f in
22239 -) ac_f="$tmp/stdin";;
22240 *) # Look for the file first in the build tree, then in the source tree
22241 # (if the path is not absolute). The absolute path cannot be DOS-style,
22242 # because $ac_f cannot contain `:'.
22243 test -f "$ac_f" ||
22244 case $ac_f in
22245 [\\/$]*) false;;
22246 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22247 esac ||
22248 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22249 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22250 { (exit 1); exit 1; }; };;
22251 esac
22252 ac_file_inputs="$ac_file_inputs $ac_f"
22253 done
22255 # Let's still pretend it is `configure' which instantiates (i.e., don't
22256 # use $as_me), people would be surprised to read:
22257 # /* config.h. Generated by config.status. */
22258 configure_input="Generated from "`IFS=:
22259 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22260 if test x"$ac_file" != x-; then
22261 configure_input="$ac_file. $configure_input"
22262 { echo "$as_me:$LINENO: creating $ac_file" >&5
22263 echo "$as_me: creating $ac_file" >&6;}
22266 case $ac_tag in
22267 *:-:* | *:-) cat >"$tmp/stdin";;
22268 esac
22270 esac
22272 ac_dir=`$as_dirname -- "$ac_file" ||
22273 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22274 X"$ac_file" : 'X\(//\)[^/]' \| \
22275 X"$ac_file" : 'X\(//\)$' \| \
22276 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22277 echo X"$ac_file" |
22278 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22279 s//\1/
22282 /^X\(\/\/\)[^/].*/{
22283 s//\1/
22286 /^X\(\/\/\)$/{
22287 s//\1/
22290 /^X\(\/\).*/{
22291 s//\1/
22294 s/.*/./; q'`
22295 { as_dir="$ac_dir"
22296 case $as_dir in #(
22297 -*) as_dir=./$as_dir;;
22298 esac
22299 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22300 as_dirs=
22301 while :; do
22302 case $as_dir in #(
22303 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22304 *) as_qdir=$as_dir;;
22305 esac
22306 as_dirs="'$as_qdir' $as_dirs"
22307 as_dir=`$as_dirname -- "$as_dir" ||
22308 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22309 X"$as_dir" : 'X\(//\)[^/]' \| \
22310 X"$as_dir" : 'X\(//\)$' \| \
22311 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22312 echo X"$as_dir" |
22313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22314 s//\1/
22317 /^X\(\/\/\)[^/].*/{
22318 s//\1/
22321 /^X\(\/\/\)$/{
22322 s//\1/
22325 /^X\(\/\).*/{
22326 s//\1/
22329 s/.*/./; q'`
22330 test -d "$as_dir" && break
22331 done
22332 test -z "$as_dirs" || eval "mkdir $as_dirs"
22333 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22334 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22335 { (exit 1); exit 1; }; }; }
22336 ac_builddir=.
22338 case "$ac_dir" in
22339 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22341 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22342 # A ".." for each directory in $ac_dir_suffix.
22343 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22344 case $ac_top_builddir_sub in
22345 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22346 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22347 esac ;;
22348 esac
22349 ac_abs_top_builddir=$ac_pwd
22350 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22351 # for backward compatibility:
22352 ac_top_builddir=$ac_top_build_prefix
22354 case $srcdir in
22355 .) # We are building in place.
22356 ac_srcdir=.
22357 ac_top_srcdir=$ac_top_builddir_sub
22358 ac_abs_top_srcdir=$ac_pwd ;;
22359 [\\/]* | ?:[\\/]* ) # Absolute name.
22360 ac_srcdir=$srcdir$ac_dir_suffix;
22361 ac_top_srcdir=$srcdir
22362 ac_abs_top_srcdir=$srcdir ;;
22363 *) # Relative name.
22364 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22365 ac_top_srcdir=$ac_top_build_prefix$srcdir
22366 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22367 esac
22368 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22371 case $ac_mode in
22374 # CONFIG_FILE
22377 case $INSTALL in
22378 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22379 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22380 esac
22381 _ACEOF
22383 cat >>$CONFIG_STATUS <<\_ACEOF
22384 # If the template does not know about datarootdir, expand it.
22385 # FIXME: This hack should be removed a few years after 2.60.
22386 ac_datarootdir_hack=; ac_datarootdir_seen=
22388 case `sed -n '/datarootdir/ {
22392 /@datadir@/p
22393 /@docdir@/p
22394 /@infodir@/p
22395 /@localedir@/p
22396 /@mandir@/p
22397 ' $ac_file_inputs` in
22398 *datarootdir*) ac_datarootdir_seen=yes;;
22399 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22400 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22401 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22402 _ACEOF
22403 cat >>$CONFIG_STATUS <<_ACEOF
22404 ac_datarootdir_hack='
22405 s&@datadir@&$datadir&g
22406 s&@docdir@&$docdir&g
22407 s&@infodir@&$infodir&g
22408 s&@localedir@&$localedir&g
22409 s&@mandir@&$mandir&g
22410 s&\\\${datarootdir}&$datarootdir&g' ;;
22411 esac
22412 _ACEOF
22414 # Neutralize VPATH when `$srcdir' = `.'.
22415 # Shell code in configure.ac might set extrasub.
22416 # FIXME: do we really want to maintain this feature?
22417 cat >>$CONFIG_STATUS <<_ACEOF
22418 sed "$ac_vpsub
22419 $extrasub
22420 _ACEOF
22421 cat >>$CONFIG_STATUS <<\_ACEOF
22423 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22424 s&@configure_input@&$configure_input&;t t
22425 s&@top_builddir@&$ac_top_builddir_sub&;t t
22426 s&@srcdir@&$ac_srcdir&;t t
22427 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22428 s&@top_srcdir@&$ac_top_srcdir&;t t
22429 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22430 s&@builddir@&$ac_builddir&;t t
22431 s&@abs_builddir@&$ac_abs_builddir&;t t
22432 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22433 s&@INSTALL@&$ac_INSTALL&;t t
22434 $ac_datarootdir_hack
22435 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22437 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22438 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22439 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22440 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22441 which seems to be undefined. Please make sure it is defined." >&5
22442 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22443 which seems to be undefined. Please make sure it is defined." >&2;}
22445 rm -f "$tmp/stdin"
22446 case $ac_file in
22447 -) cat "$tmp/out"; rm -f "$tmp/out";;
22448 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22449 esac
22453 # CONFIG_HEADER
22455 _ACEOF
22457 # Transform confdefs.h into a sed script `conftest.defines', that
22458 # substitutes the proper values into config.h.in to produce config.h.
22459 rm -f conftest.defines conftest.tail
22460 # First, append a space to every undef/define line, to ease matching.
22461 echo 's/$/ /' >conftest.defines
22462 # Then, protect against being on the right side of a sed subst, or in
22463 # an unquoted here document, in config.status. If some macros were
22464 # called several times there might be several #defines for the same
22465 # symbol, which is useless. But do not sort them, since the last
22466 # AC_DEFINE must be honored.
22467 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22468 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22469 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22470 # PARAMS is the parameter list in the macro definition--in most cases, it's
22471 # just an empty string.
22472 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22473 ac_dB='\\)[ (].*,\\1define\\2'
22474 ac_dC=' '
22475 ac_dD=' ,'
22477 uniq confdefs.h |
22478 sed -n '
22479 t rset
22480 :rset
22481 s/^[ ]*#[ ]*define[ ][ ]*//
22482 t ok
22485 s/[\\&,]/\\&/g
22486 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22487 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22488 ' >>conftest.defines
22490 # Remove the space that was appended to ease matching.
22491 # Then replace #undef with comments. This is necessary, for
22492 # example, in the case of _POSIX_SOURCE, which is predefined and required
22493 # on some systems where configure will not decide to define it.
22494 # (The regexp can be short, since the line contains either #define or #undef.)
22495 echo 's/ $//
22496 s,^[ #]*u.*,/* & */,' >>conftest.defines
22498 # Break up conftest.defines:
22499 ac_max_sed_lines=50
22501 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22502 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22503 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22504 # et cetera.
22505 ac_in='$ac_file_inputs'
22506 ac_out='"$tmp/out1"'
22507 ac_nxt='"$tmp/out2"'
22509 while :
22511 # Write a here document:
22512 cat >>$CONFIG_STATUS <<_ACEOF
22513 # First, check the format of the line:
22514 cat >"\$tmp/defines.sed" <<\\CEOF
22515 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22516 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22518 :def
22519 _ACEOF
22520 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22521 echo 'CEOF
22522 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22523 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22524 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22525 grep . conftest.tail >/dev/null || break
22526 rm -f conftest.defines
22527 mv conftest.tail conftest.defines
22528 done
22529 rm -f conftest.defines conftest.tail
22531 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22532 cat >>$CONFIG_STATUS <<\_ACEOF
22533 if test x"$ac_file" != x-; then
22534 echo "/* $configure_input */" >"$tmp/config.h"
22535 cat "$ac_result" >>"$tmp/config.h"
22536 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22537 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22538 echo "$as_me: $ac_file is unchanged" >&6;}
22539 else
22540 rm -f $ac_file
22541 mv "$tmp/config.h" $ac_file
22543 else
22544 echo "/* $configure_input */"
22545 cat "$ac_result"
22547 rm -f "$tmp/out12"
22550 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22551 echo "$as_me: executing $ac_file commands" >&6;}
22553 esac
22556 case $ac_file$ac_mode in
22557 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22558 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22559 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22560 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22561 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22562 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22563 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22564 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22565 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22566 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22567 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22568 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22569 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22571 esac
22572 done # for ac_tag
22575 { (exit 0); exit 0; }
22576 _ACEOF
22577 chmod +x $CONFIG_STATUS
22578 ac_clean_files=$ac_clean_files_save
22581 # configure is writing to config.log, and then calls config.status.
22582 # config.status does its own redirection, appending to config.log.
22583 # Unfortunately, on DOS this fails, as config.log is still kept open
22584 # by configure, so config.status won't be able to write to it; its
22585 # output is simply discarded. So we exec the FD to /dev/null,
22586 # effectively closing config.log, so it can be properly (re)opened and
22587 # appended to by config.status. When coming back to configure, we
22588 # need to make the FD available again.
22589 if test "$no_create" != yes; then
22590 ac_cs_success=:
22591 ac_config_status_args=
22592 test "$silent" = yes &&
22593 ac_config_status_args="$ac_config_status_args --quiet"
22594 exec 5>/dev/null
22595 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22596 exec 5>>config.log
22597 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22598 # would make configure fail if this is the last instruction.
22599 $ac_cs_success || { (exit 1); exit 1; }
22604 if test "$no_create" = "yes"
22605 then
22606 exit 0
22609 if test "$verbose" = "yes"
22610 then
22611 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22612 then
22613 echo >&2
22614 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22615 echo "$as_me: libcapi20 development files not found." >&6;}
22616 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22617 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22620 if test "$ac_cv_header_cups_cups_h" != "yes"
22621 then
22622 echo >&2
22623 { echo "$as_me:$LINENO: libcups development files not found." >&5
22624 echo "$as_me: libcups development files not found." >&6;}
22625 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22626 echo "$as_me: Wine will be built without CUPS support." >&6;}
22630 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22631 then
22632 echo >&2
22633 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22634 echo "$as_me: libgphoto2 development files not found." >&6;}
22635 if test "$ac_cv_header_sane_sane_h" = "yes"
22636 then
22637 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22638 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22639 else
22640 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22641 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22645 if test "$ac_cv_header_hal_libhal_h" != "yes"
22646 then
22647 echo >&2
22648 { echo "$as_me:$LINENO: libhal development files not found." >&5
22649 echo "$as_me: libhal development files not found." >&6;}
22650 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22651 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22654 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22655 then
22656 echo >&2
22657 { echo "$as_me:$LINENO: libicu development files not found." >&5
22658 echo "$as_me: libicu development files not found." >&6;}
22659 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22660 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22663 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22664 then
22665 echo >&2
22666 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22667 echo "$as_me: liblcms development files not found." >&6;}
22668 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22669 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22672 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22673 then
22674 echo >&2
22675 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22676 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22677 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22678 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22681 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22682 then
22683 echo >&2
22684 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22685 echo "$as_me: lib(n)curses development files not found." >&6;}
22686 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22687 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22690 if test "$ac_cv_header_sane_sane_h" != "yes"
22691 then
22692 echo >&2
22693 { echo "$as_me:$LINENO: libsane development files not found." >&5
22694 echo "$as_me: libsane development files not found." >&6;}
22695 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22696 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22699 if test "$have_x" = "yes"
22700 then
22701 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22702 then
22703 echo >&2
22704 { echo "$as_me:$LINENO: libxext development files not found." >&5
22705 echo "$as_me: libxext development files not found." >&6;}
22706 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22707 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22710 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22711 then
22712 echo >&2
22713 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22714 echo "$as_me: libXrandr development files not found." >&6;}
22715 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22716 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22719 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22720 then
22721 echo >&2
22722 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22723 echo "$as_me: libXrender development files not found." >&6;}
22724 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22725 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22728 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22729 then
22730 echo >&2
22731 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22732 echo "$as_me: libXxf86vm development files not found." >&6;}
22733 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22734 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22738 if test "$ac_cv_header_libxml_parser_h" != "yes"
22739 then
22740 echo >&2
22741 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22742 echo "$as_me: libxml2 development files not found." >&6;}
22743 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22744 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22747 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22748 then
22749 echo >&2
22750 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22751 echo "$as_me: libxslt development files not found." >&6;}
22752 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22753 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22758 if test "$have_x" = "no"
22759 then
22760 echo >&2
22761 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22762 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22763 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22764 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22765 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22766 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22767 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22768 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22771 if test -z "$OPENGLFILES"
22772 then
22773 echo >&2
22774 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22775 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22776 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22777 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22778 if test "$wine_cv_opengl_headers_found" = "no"
22779 then
22780 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22781 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22783 if test "$wine_cv_opengl_header_version_OK" = "no"
22784 then
22785 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22786 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22787 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22788 then
22789 if test -f /usr/X11R6/lib/libGL.a
22790 then
22791 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22792 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22793 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22794 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22795 else
22796 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22797 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22802 if test "$wine_cv_msg_freetype" = "yes"
22803 then
22804 echo >&2
22805 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22806 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22807 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22808 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22809 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22810 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22811 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22812 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22815 if test -z "$FONTSSUBDIRS"
22816 then
22817 echo >&2
22818 if test "$FONTFORGE" = "false"
22819 then
22820 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22821 echo "$as_me: WARNING: FontForge is missing." >&2;}
22822 else
22823 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22824 echo "$as_me: WARNING: FreeType is missing." >&2;}
22826 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22827 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22830 if test -z "$ALSALIBS" -a \
22831 -z "$AUDIOIOLIBS" -a \
22832 -z "$NASLIBS" -a \
22833 -z "$ESD_LIBS" -a \
22834 -z "$ac_cv_lib_soname_jack" -a \
22835 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22836 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22837 "$ac_cv_header_soundcard_h" != "yes"
22838 then
22839 echo >&2
22840 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22841 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22842 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22843 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22844 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22845 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22848 echo
22849 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22850 echo