shdocvw: Call EnableModeless and SetStatusText in navigate.
[wine.git] / configure
blobc80aa80582073a630ce410694836db4765c2c9ec
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.32.
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.32'
578 PACKAGE_STRING='Wine 0.9.32'
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 NASLIBS
714 XML2LIBS
715 XML2INCL
716 XSLTLIBS
717 XSLTINCL
718 HALINCL
719 sane_devel
720 SANELIBS
721 SANEINCL
722 gphoto2_devel
723 gphoto2port_devel
724 GPHOTO2LIBS
725 GPHOTO2INCL
726 ICULIBS
727 RESOLVLIBS
728 LCMSLIBS
729 LDAPLIBS
730 FREETYPELIBS
731 FREETYPEINCL
732 ft_devel
733 ft_devel2
734 FONTSSUBDIRS
735 ARTSCCONFIG
736 ARTSLIBS
737 ARTSINCL
738 ESDCONFIG
739 ESDLIBS
740 ESDINCL
741 ALSALIBS
742 AUDIOIOLIBS
743 EXTRACFLAGS
744 BUILTINFLAG
745 DLLEXT
746 DLLFLAGS
747 LDSHARED
748 LDDLLFLAGS
749 LIBEXT
750 IMPLIBEXT
751 LIBWINE_LDFLAGS
752 DLLTOOL
753 DLLWRAP
754 MINGWAR
755 COREFOUNDATIONLIB
756 IOKITLIB
757 LDEXECFLAGS
758 DISKARBITRATIONLIB
759 COREAUDIO
760 CARBONLIB
761 CROSSTEST
762 CROSSCC
763 CROSSWINDRES
764 LDPATH
765 CRTLIBS
766 SOCKETLIBS
767 MAIN_BINARY
768 EXTRA_BINARIES
770 LIBDL
771 LIBPOLL
772 DEPENDENCIES
773 LIBOBJS
774 LTLIBOBJS'
775 ac_subst_files='MAKE_RULES
776 MAKE_DLL_RULES
777 MAKE_IMPLIB_RULES
778 MAKE_TEST_RULES
779 MAKE_PROG_RULES'
780 ac_precious_vars='build_alias
781 host_alias
782 target_alias
784 CFLAGS
785 LDFLAGS
786 LIBS
787 CPPFLAGS
789 CXXFLAGS
791 XMKMF
792 CPP'
795 # Initialize some variables set by options.
796 ac_init_help=
797 ac_init_version=false
798 # The variables have the same names as the options, with
799 # dashes changed to underlines.
800 cache_file=/dev/null
801 exec_prefix=NONE
802 no_create=
803 no_recursion=
804 prefix=NONE
805 program_prefix=NONE
806 program_suffix=NONE
807 program_transform_name=s,x,x,
808 silent=
809 site=
810 srcdir=
811 verbose=
812 x_includes=NONE
813 x_libraries=NONE
815 # Installation directory options.
816 # These are left unexpanded so users can "make install exec_prefix=/foo"
817 # and all the variables that are supposed to be based on exec_prefix
818 # by default will actually change.
819 # Use braces instead of parens because sh, perl, etc. also accept them.
820 # (The list follows the same order as the GNU Coding Standards.)
821 bindir='${exec_prefix}/bin'
822 sbindir='${exec_prefix}/sbin'
823 libexecdir='${exec_prefix}/libexec'
824 datarootdir='${prefix}/share'
825 datadir='${datarootdir}'
826 sysconfdir='${prefix}/etc'
827 sharedstatedir='${prefix}/com'
828 localstatedir='${prefix}/var'
829 includedir='${prefix}/include'
830 oldincludedir='/usr/include'
831 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
832 infodir='${datarootdir}/info'
833 htmldir='${docdir}'
834 dvidir='${docdir}'
835 pdfdir='${docdir}'
836 psdir='${docdir}'
837 libdir='${exec_prefix}/lib'
838 localedir='${datarootdir}/locale'
839 mandir='${datarootdir}/man'
841 ac_prev=
842 ac_dashdash=
843 for ac_option
845 # If the previous option needs an argument, assign it.
846 if test -n "$ac_prev"; then
847 eval $ac_prev=\$ac_option
848 ac_prev=
849 continue
852 case $ac_option in
853 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
854 *) ac_optarg=yes ;;
855 esac
857 # Accept the important Cygnus configure options, so we can diagnose typos.
859 case $ac_dashdash$ac_option in
861 ac_dashdash=yes ;;
863 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 ac_prev=bindir ;;
865 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 bindir=$ac_optarg ;;
868 -build | --build | --buil | --bui | --bu)
869 ac_prev=build_alias ;;
870 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
871 build_alias=$ac_optarg ;;
873 -cache-file | --cache-file | --cache-fil | --cache-fi \
874 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
875 ac_prev=cache_file ;;
876 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
877 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
878 cache_file=$ac_optarg ;;
880 --config-cache | -C)
881 cache_file=config.cache ;;
883 -datadir | --datadir | --datadi | --datad)
884 ac_prev=datadir ;;
885 -datadir=* | --datadir=* | --datadi=* | --datad=*)
886 datadir=$ac_optarg ;;
888 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
889 | --dataroo | --dataro | --datar)
890 ac_prev=datarootdir ;;
891 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
892 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
893 datarootdir=$ac_optarg ;;
895 -disable-* | --disable-*)
896 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
899 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
900 { (exit 1); exit 1; }; }
901 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
902 eval enable_$ac_feature=no ;;
904 -docdir | --docdir | --docdi | --doc | --do)
905 ac_prev=docdir ;;
906 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907 docdir=$ac_optarg ;;
909 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910 ac_prev=dvidir ;;
911 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912 dvidir=$ac_optarg ;;
914 -enable-* | --enable-*)
915 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
916 # Reject names that are not valid shell variable names.
917 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
918 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
919 { (exit 1); exit 1; }; }
920 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
921 eval enable_$ac_feature=\$ac_optarg ;;
923 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
924 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
925 | --exec | --exe | --ex)
926 ac_prev=exec_prefix ;;
927 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
928 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
929 | --exec=* | --exe=* | --ex=*)
930 exec_prefix=$ac_optarg ;;
932 -gas | --gas | --ga | --g)
933 # Obsolete; use --with-gas.
934 with_gas=yes ;;
936 -help | --help | --hel | --he | -h)
937 ac_init_help=long ;;
938 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
939 ac_init_help=recursive ;;
940 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
941 ac_init_help=short ;;
943 -host | --host | --hos | --ho)
944 ac_prev=host_alias ;;
945 -host=* | --host=* | --hos=* | --ho=*)
946 host_alias=$ac_optarg ;;
948 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
949 ac_prev=htmldir ;;
950 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
951 | --ht=*)
952 htmldir=$ac_optarg ;;
954 -includedir | --includedir | --includedi | --included | --include \
955 | --includ | --inclu | --incl | --inc)
956 ac_prev=includedir ;;
957 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
958 | --includ=* | --inclu=* | --incl=* | --inc=*)
959 includedir=$ac_optarg ;;
961 -infodir | --infodir | --infodi | --infod | --info | --inf)
962 ac_prev=infodir ;;
963 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
964 infodir=$ac_optarg ;;
966 -libdir | --libdir | --libdi | --libd)
967 ac_prev=libdir ;;
968 -libdir=* | --libdir=* | --libdi=* | --libd=*)
969 libdir=$ac_optarg ;;
971 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
972 | --libexe | --libex | --libe)
973 ac_prev=libexecdir ;;
974 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
975 | --libexe=* | --libex=* | --libe=*)
976 libexecdir=$ac_optarg ;;
978 -localedir | --localedir | --localedi | --localed | --locale)
979 ac_prev=localedir ;;
980 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
981 localedir=$ac_optarg ;;
983 -localstatedir | --localstatedir | --localstatedi | --localstated \
984 | --localstate | --localstat | --localsta | --localst | --locals)
985 ac_prev=localstatedir ;;
986 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
987 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
988 localstatedir=$ac_optarg ;;
990 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
991 ac_prev=mandir ;;
992 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
993 mandir=$ac_optarg ;;
995 -nfp | --nfp | --nf)
996 # Obsolete; use --without-fp.
997 with_fp=no ;;
999 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1000 | --no-cr | --no-c | -n)
1001 no_create=yes ;;
1003 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1004 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1005 no_recursion=yes ;;
1007 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1008 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1009 | --oldin | --oldi | --old | --ol | --o)
1010 ac_prev=oldincludedir ;;
1011 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1012 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1013 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1014 oldincludedir=$ac_optarg ;;
1016 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1017 ac_prev=prefix ;;
1018 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1019 prefix=$ac_optarg ;;
1021 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1022 | --program-pre | --program-pr | --program-p)
1023 ac_prev=program_prefix ;;
1024 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1025 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1026 program_prefix=$ac_optarg ;;
1028 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1029 | --program-suf | --program-su | --program-s)
1030 ac_prev=program_suffix ;;
1031 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1032 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1033 program_suffix=$ac_optarg ;;
1035 -program-transform-name | --program-transform-name \
1036 | --program-transform-nam | --program-transform-na \
1037 | --program-transform-n | --program-transform- \
1038 | --program-transform | --program-transfor \
1039 | --program-transfo | --program-transf \
1040 | --program-trans | --program-tran \
1041 | --progr-tra | --program-tr | --program-t)
1042 ac_prev=program_transform_name ;;
1043 -program-transform-name=* | --program-transform-name=* \
1044 | --program-transform-nam=* | --program-transform-na=* \
1045 | --program-transform-n=* | --program-transform-=* \
1046 | --program-transform=* | --program-transfor=* \
1047 | --program-transfo=* | --program-transf=* \
1048 | --program-trans=* | --program-tran=* \
1049 | --progr-tra=* | --program-tr=* | --program-t=*)
1050 program_transform_name=$ac_optarg ;;
1052 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1053 ac_prev=pdfdir ;;
1054 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1055 pdfdir=$ac_optarg ;;
1057 -psdir | --psdir | --psdi | --psd | --ps)
1058 ac_prev=psdir ;;
1059 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1060 psdir=$ac_optarg ;;
1062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1063 | -silent | --silent | --silen | --sile | --sil)
1064 silent=yes ;;
1066 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1067 ac_prev=sbindir ;;
1068 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1069 | --sbi=* | --sb=*)
1070 sbindir=$ac_optarg ;;
1072 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1073 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1074 | --sharedst | --shareds | --shared | --share | --shar \
1075 | --sha | --sh)
1076 ac_prev=sharedstatedir ;;
1077 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1078 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1079 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1080 | --sha=* | --sh=*)
1081 sharedstatedir=$ac_optarg ;;
1083 -site | --site | --sit)
1084 ac_prev=site ;;
1085 -site=* | --site=* | --sit=*)
1086 site=$ac_optarg ;;
1088 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1089 ac_prev=srcdir ;;
1090 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1091 srcdir=$ac_optarg ;;
1093 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1094 | --syscon | --sysco | --sysc | --sys | --sy)
1095 ac_prev=sysconfdir ;;
1096 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1097 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1098 sysconfdir=$ac_optarg ;;
1100 -target | --target | --targe | --targ | --tar | --ta | --t)
1101 ac_prev=target_alias ;;
1102 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1103 target_alias=$ac_optarg ;;
1105 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1106 verbose=yes ;;
1108 -version | --version | --versio | --versi | --vers | -V)
1109 ac_init_version=: ;;
1111 -with-* | --with-*)
1112 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1113 # Reject names that are not valid shell variable names.
1114 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1115 { echo "$as_me: error: invalid package name: $ac_package" >&2
1116 { (exit 1); exit 1; }; }
1117 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1118 eval with_$ac_package=\$ac_optarg ;;
1120 -without-* | --without-*)
1121 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1122 # Reject names that are not valid shell variable names.
1123 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1124 { echo "$as_me: error: invalid package name: $ac_package" >&2
1125 { (exit 1); exit 1; }; }
1126 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1127 eval with_$ac_package=no ;;
1129 --x)
1130 # Obsolete; use --with-x.
1131 with_x=yes ;;
1133 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1134 | --x-incl | --x-inc | --x-in | --x-i)
1135 ac_prev=x_includes ;;
1136 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1137 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1138 x_includes=$ac_optarg ;;
1140 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1141 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1142 ac_prev=x_libraries ;;
1143 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1144 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1145 x_libraries=$ac_optarg ;;
1147 -*) { echo "$as_me: error: unrecognized option: $ac_option
1148 Try \`$0 --help' for more information." >&2
1149 { (exit 1); exit 1; }; }
1152 *=*)
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1156 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1157 { (exit 1); exit 1; }; }
1158 eval $ac_envvar=\$ac_optarg
1159 export $ac_envvar ;;
1162 # FIXME: should be removed in autoconf 3.0.
1163 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1164 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1165 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1166 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1169 esac
1170 done
1172 if test -n "$ac_prev"; then
1173 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1174 { echo "$as_me: error: missing argument to $ac_option" >&2
1175 { (exit 1); exit 1; }; }
1178 # Be sure to have absolute directory names.
1179 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1180 datadir sysconfdir sharedstatedir localstatedir includedir \
1181 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1182 libdir localedir mandir
1184 eval ac_val=\$$ac_var
1185 case $ac_val in
1186 [\\/$]* | ?:[\\/]* ) continue;;
1187 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1188 esac
1189 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1190 { (exit 1); exit 1; }; }
1191 done
1193 # There might be people who depend on the old broken behavior: `$host'
1194 # used to hold the argument of --host etc.
1195 # FIXME: To remove some day.
1196 build=$build_alias
1197 host=$host_alias
1198 target=$target_alias
1200 # FIXME: To remove some day.
1201 if test "x$host_alias" != x; then
1202 if test "x$build_alias" = x; then
1203 cross_compiling=maybe
1204 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1205 If a cross compiler is detected then cross compile mode will be used." >&2
1206 elif test "x$build_alias" != "x$host_alias"; then
1207 cross_compiling=yes
1211 ac_tool_prefix=
1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1214 test "$silent" = yes && exec 6>/dev/null
1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1218 ac_ls_di=`ls -di .` &&
1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1220 { echo "$as_me: error: Working directory cannot be determined" >&2
1221 { (exit 1); exit 1; }; }
1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1223 { echo "$as_me: error: pwd does not report name of working directory" >&2
1224 { (exit 1); exit 1; }; }
1227 # Find the source files, if location was not specified.
1228 if test -z "$srcdir"; then
1229 ac_srcdir_defaulted=yes
1230 # Try the directory containing this script, then the parent directory.
1231 ac_confdir=`$as_dirname -- "$0" ||
1232 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1233 X"$0" : 'X\(//\)[^/]' \| \
1234 X"$0" : 'X\(//\)$' \| \
1235 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1236 echo X"$0" |
1237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1238 s//\1/
1241 /^X\(\/\/\)[^/].*/{
1242 s//\1/
1245 /^X\(\/\/\)$/{
1246 s//\1/
1249 /^X\(\/\).*/{
1250 s//\1/
1253 s/.*/./; q'`
1254 srcdir=$ac_confdir
1255 if test ! -r "$srcdir/$ac_unique_file"; then
1256 srcdir=..
1258 else
1259 ac_srcdir_defaulted=no
1261 if test ! -r "$srcdir/$ac_unique_file"; then
1262 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1263 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1264 { (exit 1); exit 1; }; }
1266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1267 ac_abs_confdir=`(
1268 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1269 { (exit 1); exit 1; }; }
1270 pwd)`
1271 # When building in place, set srcdir=.
1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
1273 srcdir=.
1275 # Remove unnecessary trailing slashes from srcdir.
1276 # Double slashes in file names in object file debugging info
1277 # mess up M-x gdb in Emacs.
1278 case $srcdir in
1279 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1280 esac
1281 for ac_var in $ac_precious_vars; do
1282 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1283 eval ac_env_${ac_var}_value=\$${ac_var}
1284 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1285 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1286 done
1289 # Report the --help message.
1291 if test "$ac_init_help" = "long"; then
1292 # Omit some internal or obsolete options to make the list less imposing.
1293 # This message is too long to be a string in the A/UX 3.1 sh.
1294 cat <<_ACEOF
1295 \`configure' configures Wine 0.9.32 to adapt to many kinds of systems.
1297 Usage: $0 [OPTION]... [VAR=VALUE]...
1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1300 VAR=VALUE. See below for descriptions of some of the useful variables.
1302 Defaults for the options are specified in brackets.
1304 Configuration:
1305 -h, --help display this help and exit
1306 --help=short display options specific to this package
1307 --help=recursive display the short help of all the included packages
1308 -V, --version display version information and exit
1309 -q, --quiet, --silent do not print \`checking...' messages
1310 --cache-file=FILE cache test results in FILE [disabled]
1311 -C, --config-cache alias for \`--cache-file=config.cache'
1312 -n, --no-create do not create output files
1313 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1315 Installation directories:
1316 --prefix=PREFIX install architecture-independent files in PREFIX
1317 [$ac_default_prefix]
1318 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1319 [PREFIX]
1321 By default, \`make install' will install all the files in
1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1324 for instance \`--prefix=\$HOME'.
1326 For better control, use the options below.
1328 Fine tuning of the installation directories:
1329 --bindir=DIR user executables [EPREFIX/bin]
1330 --sbindir=DIR system admin executables [EPREFIX/sbin]
1331 --libexecdir=DIR program executables [EPREFIX/libexec]
1332 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1333 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1334 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1335 --libdir=DIR object code libraries [EPREFIX/lib]
1336 --includedir=DIR C header files [PREFIX/include]
1337 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1338 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1339 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1340 --infodir=DIR info documentation [DATAROOTDIR/info]
1341 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1342 --mandir=DIR man documentation [DATAROOTDIR/man]
1343 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1344 --htmldir=DIR html documentation [DOCDIR]
1345 --dvidir=DIR dvi documentation [DOCDIR]
1346 --pdfdir=DIR pdf documentation [DOCDIR]
1347 --psdir=DIR ps documentation [DOCDIR]
1348 _ACEOF
1350 cat <<\_ACEOF
1352 X features:
1353 --x-includes=DIR X include files are in DIR
1354 --x-libraries=DIR X library files are in DIR
1356 System types:
1357 --build=BUILD configure for building on BUILD [guessed]
1358 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1359 _ACEOF
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive ) echo "Configuration of Wine 0.9.32:";;
1365 esac
1366 cat <<\_ACEOF
1368 Optional Features:
1369 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1370 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1371 --disable-win16 do not include Win16 support
1372 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1373 binaries)
1375 Optional Packages:
1376 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1377 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1378 --without-opengl do not use OpenGL
1379 --with-wine-tools=<dir> use Wine tools from directory <dir>
1380 --with-x use the X Window System
1382 Some influential environment variables:
1383 CC C compiler command
1384 CFLAGS C compiler flags
1385 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1386 nonstandard directory <lib dir>
1387 LIBS libraries to pass to the linker, e.g. -l<library>
1388 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1389 you have headers in a nonstandard directory <include dir>
1390 CXX C++ compiler command
1391 CXXFLAGS C++ compiler flags
1392 XMKMF Path to xmkmf, Makefile generator for X Window System
1393 CPP C preprocessor
1395 Use these variables to override the choices made by `configure' or to help
1396 it to find libraries and programs with nonstandard names/locations.
1398 Report bugs to <wine-devel@winehq.org>.
1399 _ACEOF
1400 ac_status=$?
1403 if test "$ac_init_help" = "recursive"; then
1404 # If there are subdirs, report their specific --help.
1405 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1406 test -d "$ac_dir" || continue
1407 ac_builddir=.
1409 case "$ac_dir" in
1410 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1412 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1413 # A ".." for each directory in $ac_dir_suffix.
1414 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1415 case $ac_top_builddir_sub in
1416 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1417 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1418 esac ;;
1419 esac
1420 ac_abs_top_builddir=$ac_pwd
1421 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1422 # for backward compatibility:
1423 ac_top_builddir=$ac_top_build_prefix
1425 case $srcdir in
1426 .) # We are building in place.
1427 ac_srcdir=.
1428 ac_top_srcdir=$ac_top_builddir_sub
1429 ac_abs_top_srcdir=$ac_pwd ;;
1430 [\\/]* | ?:[\\/]* ) # Absolute name.
1431 ac_srcdir=$srcdir$ac_dir_suffix;
1432 ac_top_srcdir=$srcdir
1433 ac_abs_top_srcdir=$srcdir ;;
1434 *) # Relative name.
1435 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1436 ac_top_srcdir=$ac_top_build_prefix$srcdir
1437 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1438 esac
1439 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1441 cd "$ac_dir" || { ac_status=$?; continue; }
1442 # Check for guested configure.
1443 if test -f "$ac_srcdir/configure.gnu"; then
1444 echo &&
1445 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1446 elif test -f "$ac_srcdir/configure"; then
1447 echo &&
1448 $SHELL "$ac_srcdir/configure" --help=recursive
1449 else
1450 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1451 fi || ac_status=$?
1452 cd "$ac_pwd" || { ac_status=$?; break; }
1453 done
1456 test -n "$ac_init_help" && exit $ac_status
1457 if $ac_init_version; then
1458 cat <<\_ACEOF
1459 Wine configure 0.9.32
1460 generated by GNU Autoconf 2.61
1462 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1463 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1464 This configure script is free software; the Free Software Foundation
1465 gives unlimited permission to copy, distribute and modify it.
1466 _ACEOF
1467 exit
1469 cat >config.log <<_ACEOF
1470 This file contains any messages produced by compilers while
1471 running configure, to aid debugging if configure makes a mistake.
1473 It was created by Wine $as_me 0.9.32, which was
1474 generated by GNU Autoconf 2.61. Invocation command line was
1476 $ $0 $@
1478 _ACEOF
1479 exec 5>>config.log
1481 cat <<_ASUNAME
1482 ## --------- ##
1483 ## Platform. ##
1484 ## --------- ##
1486 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1487 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1488 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1489 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1490 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1492 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1493 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1495 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1496 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1497 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1498 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1499 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1500 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1501 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1503 _ASUNAME
1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1506 for as_dir in $PATH
1508 IFS=$as_save_IFS
1509 test -z "$as_dir" && as_dir=.
1510 echo "PATH: $as_dir"
1511 done
1512 IFS=$as_save_IFS
1514 } >&5
1516 cat >&5 <<_ACEOF
1519 ## ----------- ##
1520 ## Core tests. ##
1521 ## ----------- ##
1523 _ACEOF
1526 # Keep a trace of the command line.
1527 # Strip out --no-create and --no-recursion so they do not pile up.
1528 # Strip out --silent because we don't want to record it for future runs.
1529 # Also quote any args containing shell meta-characters.
1530 # Make two passes to allow for proper duplicate-argument suppression.
1531 ac_configure_args=
1532 ac_configure_args0=
1533 ac_configure_args1=
1534 ac_must_keep_next=false
1535 for ac_pass in 1 2
1537 for ac_arg
1539 case $ac_arg in
1540 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1542 | -silent | --silent | --silen | --sile | --sil)
1543 continue ;;
1544 *\'*)
1545 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1546 esac
1547 case $ac_pass in
1548 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1550 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1551 if test $ac_must_keep_next = true; then
1552 ac_must_keep_next=false # Got value, back to normal.
1553 else
1554 case $ac_arg in
1555 *=* | --config-cache | -C | -disable-* | --disable-* \
1556 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1557 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1558 | -with-* | --with-* | -without-* | --without-* | --x)
1559 case "$ac_configure_args0 " in
1560 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1561 esac
1563 -* ) ac_must_keep_next=true ;;
1564 esac
1566 ac_configure_args="$ac_configure_args '$ac_arg'"
1568 esac
1569 done
1570 done
1571 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1572 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1574 # When interrupted or exit'd, cleanup temporary files, and complete
1575 # config.log. We remove comments because anyway the quotes in there
1576 # would cause problems or look ugly.
1577 # WARNING: Use '\'' to represent an apostrophe within the trap.
1578 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1579 trap 'exit_status=$?
1580 # Save into config.log some information that might help in debugging.
1582 echo
1584 cat <<\_ASBOX
1585 ## ---------------- ##
1586 ## Cache variables. ##
1587 ## ---------------- ##
1588 _ASBOX
1589 echo
1590 # The following way of writing the cache mishandles newlines in values,
1592 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1593 eval ac_val=\$$ac_var
1594 case $ac_val in #(
1595 *${as_nl}*)
1596 case $ac_var in #(
1597 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1598 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1599 esac
1600 case $ac_var in #(
1601 _ | IFS | as_nl) ;; #(
1602 *) $as_unset $ac_var ;;
1603 esac ;;
1604 esac
1605 done
1606 (set) 2>&1 |
1607 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1608 *${as_nl}ac_space=\ *)
1609 sed -n \
1610 "s/'\''/'\''\\\\'\'''\''/g;
1611 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1612 ;; #(
1614 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1616 esac |
1617 sort
1619 echo
1621 cat <<\_ASBOX
1622 ## ----------------- ##
1623 ## Output variables. ##
1624 ## ----------------- ##
1625 _ASBOX
1626 echo
1627 for ac_var in $ac_subst_vars
1629 eval ac_val=\$$ac_var
1630 case $ac_val in
1631 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1632 esac
1633 echo "$ac_var='\''$ac_val'\''"
1634 done | sort
1635 echo
1637 if test -n "$ac_subst_files"; then
1638 cat <<\_ASBOX
1639 ## ------------------- ##
1640 ## File substitutions. ##
1641 ## ------------------- ##
1642 _ASBOX
1643 echo
1644 for ac_var in $ac_subst_files
1646 eval ac_val=\$$ac_var
1647 case $ac_val in
1648 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1649 esac
1650 echo "$ac_var='\''$ac_val'\''"
1651 done | sort
1652 echo
1655 if test -s confdefs.h; then
1656 cat <<\_ASBOX
1657 ## ----------- ##
1658 ## confdefs.h. ##
1659 ## ----------- ##
1660 _ASBOX
1661 echo
1662 cat confdefs.h
1663 echo
1665 test "$ac_signal" != 0 &&
1666 echo "$as_me: caught signal $ac_signal"
1667 echo "$as_me: exit $exit_status"
1668 } >&5
1669 rm -f core *.core core.conftest.* &&
1670 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1671 exit $exit_status
1673 for ac_signal in 1 2 13 15; do
1674 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1675 done
1676 ac_signal=0
1678 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1679 rm -f -r conftest* confdefs.h
1681 # Predefined preprocessor variables.
1683 cat >>confdefs.h <<_ACEOF
1684 #define PACKAGE_NAME "$PACKAGE_NAME"
1685 _ACEOF
1688 cat >>confdefs.h <<_ACEOF
1689 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1690 _ACEOF
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1695 _ACEOF
1698 cat >>confdefs.h <<_ACEOF
1699 #define PACKAGE_STRING "$PACKAGE_STRING"
1700 _ACEOF
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1705 _ACEOF
1708 # Let the site file select an alternate cache file if it wants to.
1709 # Prefer explicitly selected file to automatically selected ones.
1710 if test -n "$CONFIG_SITE"; then
1711 set x "$CONFIG_SITE"
1712 elif test "x$prefix" != xNONE; then
1713 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1714 else
1715 set x "$ac_default_prefix/share/config.site" \
1716 "$ac_default_prefix/etc/config.site"
1718 shift
1719 for ac_site_file
1721 if test -r "$ac_site_file"; then
1722 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1723 echo "$as_me: loading site script $ac_site_file" >&6;}
1724 sed 's/^/| /' "$ac_site_file" >&5
1725 . "$ac_site_file"
1727 done
1729 if test -r "$cache_file"; then
1730 # Some versions of bash will fail to source /dev/null (special
1731 # files actually), so we avoid doing that.
1732 if test -f "$cache_file"; then
1733 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1734 echo "$as_me: loading cache $cache_file" >&6;}
1735 case $cache_file in
1736 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1737 *) . "./$cache_file";;
1738 esac
1740 else
1741 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1742 echo "$as_me: creating cache $cache_file" >&6;}
1743 >$cache_file
1746 # Check that the precious variables saved in the cache have kept the same
1747 # value.
1748 ac_cache_corrupted=false
1749 for ac_var in $ac_precious_vars; do
1750 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1751 eval ac_new_set=\$ac_env_${ac_var}_set
1752 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1753 eval ac_new_val=\$ac_env_${ac_var}_value
1754 case $ac_old_set,$ac_new_set in
1755 set,)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,set)
1760 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1761 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1762 ac_cache_corrupted=: ;;
1763 ,);;
1765 if test "x$ac_old_val" != "x$ac_new_val"; then
1766 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1767 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1768 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1769 echo "$as_me: former value: $ac_old_val" >&2;}
1770 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1771 echo "$as_me: current value: $ac_new_val" >&2;}
1772 ac_cache_corrupted=:
1773 fi;;
1774 esac
1775 # Pass precious variables to config.status.
1776 if test "$ac_new_set" = set; then
1777 case $ac_new_val in
1778 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 *) ac_arg=$ac_var=$ac_new_val ;;
1780 esac
1781 case " $ac_configure_args " in
1782 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1783 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1784 esac
1786 done
1787 if $ac_cache_corrupted; then
1788 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1789 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1790 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1791 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1792 { (exit 1); exit 1; }; }
1819 ac_ext=c
1820 ac_cpp='$CPP $CPPFLAGS'
1821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1827 ac_config_headers="$ac_config_headers include/config.h"
1829 ac_aux_dir=
1830 for ac_dir in tools "$srcdir"/tools; do
1831 if test -f "$ac_dir/install-sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install-sh -c"
1834 break
1835 elif test -f "$ac_dir/install.sh"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/install.sh -c"
1838 break
1839 elif test -f "$ac_dir/shtool"; then
1840 ac_aux_dir=$ac_dir
1841 ac_install_sh="$ac_aux_dir/shtool install -c"
1842 break
1844 done
1845 if test -z "$ac_aux_dir"; then
1846 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1847 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1848 { (exit 1); exit 1; }; }
1851 # These three variables are undocumented and unsupported,
1852 # and are intended to be withdrawn in a future Autoconf release.
1853 # They can cause serious problems if a builder's source tree is in a directory
1854 # whose full name contains unusual characters.
1855 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1856 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1857 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1862 # Check whether --enable-win16 was given.
1863 if test "${enable_win16+set}" = set; then
1864 enableval=$enable_win16;
1867 # Check whether --enable-win64 was given.
1868 if test "${enable_win64+set}" = set; then
1869 enableval=$enable_win64;
1874 # Check whether --with-opengl was given.
1875 if test "${with_opengl+set}" = set; then
1876 withval=$with_opengl;
1880 # Check whether --with-wine-tools was given.
1881 if test "${with_wine_tools+set}" = set; then
1882 withval=$with_wine_tools;
1886 # Make sure we can run config.sub.
1887 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1888 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1889 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1890 { (exit 1); exit 1; }; }
1892 { echo "$as_me:$LINENO: checking build system type" >&5
1893 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1894 if test "${ac_cv_build+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 else
1897 ac_build_alias=$build_alias
1898 test "x$ac_build_alias" = x &&
1899 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1900 test "x$ac_build_alias" = x &&
1901 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1902 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1903 { (exit 1); exit 1; }; }
1904 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1905 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1906 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1907 { (exit 1); exit 1; }; }
1910 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1911 echo "${ECHO_T}$ac_cv_build" >&6; }
1912 case $ac_cv_build in
1913 *-*-*) ;;
1914 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1915 echo "$as_me: error: invalid value of canonical build" >&2;}
1916 { (exit 1); exit 1; }; };;
1917 esac
1918 build=$ac_cv_build
1919 ac_save_IFS=$IFS; IFS='-'
1920 set x $ac_cv_build
1921 shift
1922 build_cpu=$1
1923 build_vendor=$2
1924 shift; shift
1925 # Remember, the first character of IFS is used to create $*,
1926 # except with old shells:
1927 build_os=$*
1928 IFS=$ac_save_IFS
1929 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1932 { echo "$as_me:$LINENO: checking host system type" >&5
1933 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1934 if test "${ac_cv_host+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1936 else
1937 if test "x$host_alias" = x; then
1938 ac_cv_host=$ac_cv_build
1939 else
1940 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1941 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1942 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1943 { (exit 1); exit 1; }; }
1947 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1948 echo "${ECHO_T}$ac_cv_host" >&6; }
1949 case $ac_cv_host in
1950 *-*-*) ;;
1951 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1952 echo "$as_me: error: invalid value of canonical host" >&2;}
1953 { (exit 1); exit 1; }; };;
1954 esac
1955 host=$ac_cv_host
1956 ac_save_IFS=$IFS; IFS='-'
1957 set x $ac_cv_host
1958 shift
1959 host_cpu=$1
1960 host_vendor=$2
1961 shift; shift
1962 # Remember, the first character of IFS is used to create $*,
1963 # except with old shells:
1964 host_os=$*
1965 IFS=$ac_save_IFS
1966 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1969 case $host in
1970 x86_64*linux*)
1971 if test "x$enable_win64" != "xyes"
1972 then
1973 test -n "$CC" || CC="gcc -m32"
1974 test -n "$LD" || LD="ld -m elf_i386"
1975 test -n "$AS" || AS="as --32"
1976 host_cpu="i386"
1979 esac
1981 case $host_cpu in
1982 *i[3456789]86*)
1983 if test "x$enable_win16" != "xno"
1984 then
1985 enable_win16="yes"
1988 esac
1990 WIN16_FILES="\$(WIN16_FILES)"
1992 WIN16_INSTALL="\$(WIN16_INSTALL)"
1994 if test "x$enable_win16" != "xyes"
1995 then
1996 WIN16_FILES=""
1997 WIN16_INSTALL=""
2000 case "$srcdir" in
2001 .) ;;
2002 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2003 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2004 You need to run 'make distclean' in the source tree first." >&5
2005 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2006 You need to run 'make distclean' in the source tree first." >&2;}
2007 { (exit 1); exit 1; }; }
2008 fi ;;
2009 esac
2012 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2014 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2015 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 else
2018 cat >conftest.make <<\_ACEOF
2019 SHELL = /bin/sh
2020 all:
2021 @echo '@@@%%%=$(MAKE)=@@@%%%'
2022 _ACEOF
2023 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2024 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2025 *@@@%%%=?*=@@@%%%*)
2026 eval ac_cv_prog_make_${ac_make}_set=yes;;
2028 eval ac_cv_prog_make_${ac_make}_set=no;;
2029 esac
2030 rm -f conftest.make
2032 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2033 { echo "$as_me:$LINENO: result: yes" >&5
2034 echo "${ECHO_T}yes" >&6; }
2035 SET_MAKE=
2036 else
2037 { echo "$as_me:$LINENO: result: no" >&5
2038 echo "${ECHO_T}no" >&6; }
2039 SET_MAKE="MAKE=${MAKE-make}"
2042 ac_ext=c
2043 ac_cpp='$CPP $CPPFLAGS'
2044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2047 if test -n "$ac_tool_prefix"; then
2048 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2049 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2052 if test "${ac_cv_prog_CC+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 else
2055 if test -n "$CC"; then
2056 ac_cv_prog_CC="$CC" # Let the user override the test.
2057 else
2058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2059 for as_dir in $PATH
2061 IFS=$as_save_IFS
2062 test -z "$as_dir" && as_dir=.
2063 for ac_exec_ext in '' $ac_executable_extensions; do
2064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2065 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2067 break 2
2069 done
2070 done
2071 IFS=$as_save_IFS
2075 CC=$ac_cv_prog_CC
2076 if test -n "$CC"; then
2077 { echo "$as_me:$LINENO: result: $CC" >&5
2078 echo "${ECHO_T}$CC" >&6; }
2079 else
2080 { echo "$as_me:$LINENO: result: no" >&5
2081 echo "${ECHO_T}no" >&6; }
2086 if test -z "$ac_cv_prog_CC"; then
2087 ac_ct_CC=$CC
2088 # Extract the first word of "gcc", so it can be a program name with args.
2089 set dummy gcc; ac_word=$2
2090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2092 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2093 echo $ECHO_N "(cached) $ECHO_C" >&6
2094 else
2095 if test -n "$ac_ct_CC"; then
2096 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2097 else
2098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2099 for as_dir in $PATH
2101 IFS=$as_save_IFS
2102 test -z "$as_dir" && as_dir=.
2103 for ac_exec_ext in '' $ac_executable_extensions; do
2104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2105 ac_cv_prog_ac_ct_CC="gcc"
2106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2107 break 2
2109 done
2110 done
2111 IFS=$as_save_IFS
2115 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2116 if test -n "$ac_ct_CC"; then
2117 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2118 echo "${ECHO_T}$ac_ct_CC" >&6; }
2119 else
2120 { echo "$as_me:$LINENO: result: no" >&5
2121 echo "${ECHO_T}no" >&6; }
2124 if test "x$ac_ct_CC" = x; then
2125 CC=""
2126 else
2127 case $cross_compiling:$ac_tool_warned in
2128 yes:)
2129 { echo "$as_me:$LINENO: 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." >&5
2132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2133 whose name does not start with the host triplet. If you think this
2134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2135 ac_tool_warned=yes ;;
2136 esac
2137 CC=$ac_ct_CC
2139 else
2140 CC="$ac_cv_prog_CC"
2143 if test -z "$CC"; then
2144 if test -n "$ac_tool_prefix"; then
2145 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2146 set dummy ${ac_tool_prefix}cc; ac_word=$2
2147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2149 if test "${ac_cv_prog_CC+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 else
2152 if test -n "$CC"; then
2153 ac_cv_prog_CC="$CC" # Let the user override the test.
2154 else
2155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156 for as_dir in $PATH
2158 IFS=$as_save_IFS
2159 test -z "$as_dir" && as_dir=.
2160 for ac_exec_ext in '' $ac_executable_extensions; do
2161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2162 ac_cv_prog_CC="${ac_tool_prefix}cc"
2163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2164 break 2
2166 done
2167 done
2168 IFS=$as_save_IFS
2172 CC=$ac_cv_prog_CC
2173 if test -n "$CC"; then
2174 { echo "$as_me:$LINENO: result: $CC" >&5
2175 echo "${ECHO_T}$CC" >&6; }
2176 else
2177 { echo "$as_me:$LINENO: result: no" >&5
2178 echo "${ECHO_T}no" >&6; }
2184 if test -z "$CC"; then
2185 # Extract the first word of "cc", so it can be a program name with args.
2186 set dummy cc; ac_word=$2
2187 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2188 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2189 if test "${ac_cv_prog_CC+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 else
2192 if test -n "$CC"; then
2193 ac_cv_prog_CC="$CC" # Let the user override the test.
2194 else
2195 ac_prog_rejected=no
2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 for as_dir in $PATH
2199 IFS=$as_save_IFS
2200 test -z "$as_dir" && as_dir=.
2201 for ac_exec_ext in '' $ac_executable_extensions; do
2202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2203 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2204 ac_prog_rejected=yes
2205 continue
2207 ac_cv_prog_CC="cc"
2208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2209 break 2
2211 done
2212 done
2213 IFS=$as_save_IFS
2215 if test $ac_prog_rejected = yes; then
2216 # We found a bogon in the path, so make sure we never use it.
2217 set dummy $ac_cv_prog_CC
2218 shift
2219 if test $# != 0; then
2220 # We chose a different compiler from the bogus one.
2221 # However, it has the same basename, so the bogon will be chosen
2222 # first if we set CC to just the basename; use the full file name.
2223 shift
2224 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2229 CC=$ac_cv_prog_CC
2230 if test -n "$CC"; then
2231 { echo "$as_me:$LINENO: result: $CC" >&5
2232 echo "${ECHO_T}$CC" >&6; }
2233 else
2234 { echo "$as_me:$LINENO: result: no" >&5
2235 echo "${ECHO_T}no" >&6; }
2240 if test -z "$CC"; then
2241 if test -n "$ac_tool_prefix"; then
2242 for ac_prog in cl.exe
2244 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2245 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2248 if test "${ac_cv_prog_CC+set}" = set; then
2249 echo $ECHO_N "(cached) $ECHO_C" >&6
2250 else
2251 if test -n "$CC"; then
2252 ac_cv_prog_CC="$CC" # Let the user override the test.
2253 else
2254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2255 for as_dir in $PATH
2257 IFS=$as_save_IFS
2258 test -z "$as_dir" && as_dir=.
2259 for ac_exec_ext in '' $ac_executable_extensions; do
2260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2261 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2263 break 2
2265 done
2266 done
2267 IFS=$as_save_IFS
2271 CC=$ac_cv_prog_CC
2272 if test -n "$CC"; then
2273 { echo "$as_me:$LINENO: result: $CC" >&5
2274 echo "${ECHO_T}$CC" >&6; }
2275 else
2276 { echo "$as_me:$LINENO: result: no" >&5
2277 echo "${ECHO_T}no" >&6; }
2281 test -n "$CC" && break
2282 done
2284 if test -z "$CC"; then
2285 ac_ct_CC=$CC
2286 for ac_prog in cl.exe
2288 # Extract the first word of "$ac_prog", so it can be a program name with args.
2289 set dummy $ac_prog; ac_word=$2
2290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2292 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2294 else
2295 if test -n "$ac_ct_CC"; then
2296 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2297 else
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2299 for as_dir in $PATH
2301 IFS=$as_save_IFS
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2305 ac_cv_prog_ac_ct_CC="$ac_prog"
2306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2307 break 2
2309 done
2310 done
2311 IFS=$as_save_IFS
2315 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2316 if test -n "$ac_ct_CC"; then
2317 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2318 echo "${ECHO_T}$ac_ct_CC" >&6; }
2319 else
2320 { echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6; }
2325 test -n "$ac_ct_CC" && break
2326 done
2328 if test "x$ac_ct_CC" = x; then
2329 CC=""
2330 else
2331 case $cross_compiling:$ac_tool_warned in
2332 yes:)
2333 { echo "$as_me:$LINENO: 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." >&5
2336 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2337 whose name does not start with the host triplet. If you think this
2338 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2339 ac_tool_warned=yes ;;
2340 esac
2341 CC=$ac_ct_CC
2348 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2349 See \`config.log' for more details." >&5
2350 echo "$as_me: error: no acceptable C compiler found in \$PATH
2351 See \`config.log' for more details." >&2;}
2352 { (exit 1); exit 1; }; }
2354 # Provide some information about the compiler.
2355 echo "$as_me:$LINENO: checking for C compiler version" >&5
2356 ac_compiler=`set X $ac_compile; echo $2`
2357 { (ac_try="$ac_compiler --version >&5"
2358 case "(($ac_try" in
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2361 esac
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler --version >&5") 2>&5
2364 ac_status=$?
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2367 { (ac_try="$ac_compiler -v >&5"
2368 case "(($ac_try" in
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2371 esac
2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373 (eval "$ac_compiler -v >&5") 2>&5
2374 ac_status=$?
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2377 { (ac_try="$ac_compiler -V >&5"
2378 case "(($ac_try" in
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2381 esac
2382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2383 (eval "$ac_compiler -V >&5") 2>&5
2384 ac_status=$?
2385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2386 (exit $ac_status); }
2388 cat >conftest.$ac_ext <<_ACEOF
2389 /* confdefs.h. */
2390 _ACEOF
2391 cat confdefs.h >>conftest.$ac_ext
2392 cat >>conftest.$ac_ext <<_ACEOF
2393 /* end confdefs.h. */
2396 main ()
2400 return 0;
2402 _ACEOF
2403 ac_clean_files_save=$ac_clean_files
2404 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2405 # Try to create an executable without -o first, disregard a.out.
2406 # It will help us diagnose broken compilers, and finding out an intuition
2407 # of exeext.
2408 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2409 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2410 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2412 # List of possible output files, starting from the most likely.
2413 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2414 # only as a last resort. b.out is created by i960 compilers.
2415 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2417 # The IRIX 6 linker writes into existing files which may not be
2418 # executable, retaining their permissions. Remove them first so a
2419 # subsequent execution test works.
2420 ac_rmfiles=
2421 for ac_file in $ac_files
2423 case $ac_file in
2424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2425 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2426 esac
2427 done
2428 rm -f $ac_rmfiles
2430 if { (ac_try="$ac_link_default"
2431 case "(($ac_try" in
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2434 esac
2435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2436 (eval "$ac_link_default") 2>&5
2437 ac_status=$?
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; then
2440 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2441 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2442 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2443 # so that the user can short-circuit this test for compilers unknown to
2444 # Autoconf.
2445 for ac_file in $ac_files ''
2447 test -f "$ac_file" || continue
2448 case $ac_file in
2449 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2451 [ab].out )
2452 # We found the default executable, but exeext='' is most
2453 # certainly right.
2454 break;;
2455 *.* )
2456 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2457 then :; else
2458 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2460 # We set ac_cv_exeext here because the later test for it is not
2461 # safe: cross compilers may not add the suffix if given an `-o'
2462 # argument, so we may need to know it at that point already.
2463 # Even if this section looks crufty: it has the advantage of
2464 # actually working.
2465 break;;
2467 break;;
2468 esac
2469 done
2470 test "$ac_cv_exeext" = no && ac_cv_exeext=
2472 else
2473 ac_file=''
2476 { echo "$as_me:$LINENO: result: $ac_file" >&5
2477 echo "${ECHO_T}$ac_file" >&6; }
2478 if test -z "$ac_file"; then
2479 echo "$as_me: failed program was:" >&5
2480 sed 's/^/| /' conftest.$ac_ext >&5
2482 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2483 See \`config.log' for more details." >&5
2484 echo "$as_me: error: C compiler cannot create executables
2485 See \`config.log' for more details." >&2;}
2486 { (exit 77); exit 77; }; }
2489 ac_exeext=$ac_cv_exeext
2491 # Check that the compiler produces executables we can run. If not, either
2492 # the compiler is broken, or we cross compile.
2493 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2494 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2495 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2496 # If not cross compiling, check that we can run a simple program.
2497 if test "$cross_compiling" != yes; then
2498 if { ac_try='./$ac_file'
2499 { (case "(($ac_try" in
2500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2501 *) ac_try_echo=$ac_try;;
2502 esac
2503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2504 (eval "$ac_try") 2>&5
2505 ac_status=$?
2506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2507 (exit $ac_status); }; }; then
2508 cross_compiling=no
2509 else
2510 if test "$cross_compiling" = maybe; then
2511 cross_compiling=yes
2512 else
2513 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2514 If you meant to cross compile, use \`--host'.
2515 See \`config.log' for more details." >&5
2516 echo "$as_me: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&2;}
2519 { (exit 1); exit 1; }; }
2523 { echo "$as_me:$LINENO: result: yes" >&5
2524 echo "${ECHO_T}yes" >&6; }
2526 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2527 ac_clean_files=$ac_clean_files_save
2528 # Check that the compiler produces executables we can run. If not, either
2529 # the compiler is broken, or we cross compile.
2530 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2531 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2532 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2533 echo "${ECHO_T}$cross_compiling" >&6; }
2535 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2536 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2537 if { (ac_try="$ac_link"
2538 case "(($ac_try" in
2539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2540 *) ac_try_echo=$ac_try;;
2541 esac
2542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2543 (eval "$ac_link") 2>&5
2544 ac_status=$?
2545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2546 (exit $ac_status); }; then
2547 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2548 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2549 # work properly (i.e., refer to `conftest.exe'), while it won't with
2550 # `rm'.
2551 for ac_file in conftest.exe conftest conftest.*; do
2552 test -f "$ac_file" || continue
2553 case $ac_file in
2554 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2555 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2556 break;;
2557 * ) break;;
2558 esac
2559 done
2560 else
2561 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2562 See \`config.log' for more details." >&5
2563 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2564 See \`config.log' for more details." >&2;}
2565 { (exit 1); exit 1; }; }
2568 rm -f conftest$ac_cv_exeext
2569 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2570 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2572 rm -f conftest.$ac_ext
2573 EXEEXT=$ac_cv_exeext
2574 ac_exeext=$EXEEXT
2575 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2576 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2577 if test "${ac_cv_objext+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2579 else
2580 cat >conftest.$ac_ext <<_ACEOF
2581 /* confdefs.h. */
2582 _ACEOF
2583 cat confdefs.h >>conftest.$ac_ext
2584 cat >>conftest.$ac_ext <<_ACEOF
2585 /* end confdefs.h. */
2588 main ()
2592 return 0;
2594 _ACEOF
2595 rm -f conftest.o conftest.obj
2596 if { (ac_try="$ac_compile"
2597 case "(($ac_try" in
2598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2599 *) ac_try_echo=$ac_try;;
2600 esac
2601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2602 (eval "$ac_compile") 2>&5
2603 ac_status=$?
2604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2605 (exit $ac_status); }; then
2606 for ac_file in conftest.o conftest.obj conftest.*; do
2607 test -f "$ac_file" || continue;
2608 case $ac_file in
2609 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2610 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2611 break;;
2612 esac
2613 done
2614 else
2615 echo "$as_me: failed program was:" >&5
2616 sed 's/^/| /' conftest.$ac_ext >&5
2618 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2619 See \`config.log' for more details." >&5
2620 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2621 See \`config.log' for more details." >&2;}
2622 { (exit 1); exit 1; }; }
2625 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2627 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2628 echo "${ECHO_T}$ac_cv_objext" >&6; }
2629 OBJEXT=$ac_cv_objext
2630 ac_objext=$OBJEXT
2631 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2632 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2633 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636 cat >conftest.$ac_ext <<_ACEOF
2637 /* confdefs.h. */
2638 _ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2644 main ()
2646 #ifndef __GNUC__
2647 choke me
2648 #endif
2651 return 0;
2653 _ACEOF
2654 rm -f conftest.$ac_objext
2655 if { (ac_try="$ac_compile"
2656 case "(($ac_try" in
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2659 esac
2660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2661 (eval "$ac_compile") 2>conftest.er1
2662 ac_status=$?
2663 grep -v '^ *+' conftest.er1 >conftest.err
2664 rm -f conftest.er1
2665 cat conftest.err >&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); } && {
2668 test -z "$ac_c_werror_flag" ||
2669 test ! -s conftest.err
2670 } && test -s conftest.$ac_objext; then
2671 ac_compiler_gnu=yes
2672 else
2673 echo "$as_me: failed program was:" >&5
2674 sed 's/^/| /' conftest.$ac_ext >&5
2676 ac_compiler_gnu=no
2679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2680 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2683 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2684 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2685 GCC=`test $ac_compiler_gnu = yes && echo yes`
2686 ac_test_CFLAGS=${CFLAGS+set}
2687 ac_save_CFLAGS=$CFLAGS
2688 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2689 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2690 if test "${ac_cv_prog_cc_g+set}" = set; then
2691 echo $ECHO_N "(cached) $ECHO_C" >&6
2692 else
2693 ac_save_c_werror_flag=$ac_c_werror_flag
2694 ac_c_werror_flag=yes
2695 ac_cv_prog_cc_g=no
2696 CFLAGS="-g"
2697 cat >conftest.$ac_ext <<_ACEOF
2698 /* confdefs.h. */
2699 _ACEOF
2700 cat confdefs.h >>conftest.$ac_ext
2701 cat >>conftest.$ac_ext <<_ACEOF
2702 /* end confdefs.h. */
2705 main ()
2709 return 0;
2711 _ACEOF
2712 rm -f conftest.$ac_objext
2713 if { (ac_try="$ac_compile"
2714 case "(($ac_try" in
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2717 esac
2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2719 (eval "$ac_compile") 2>conftest.er1
2720 ac_status=$?
2721 grep -v '^ *+' conftest.er1 >conftest.err
2722 rm -f conftest.er1
2723 cat conftest.err >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } && {
2726 test -z "$ac_c_werror_flag" ||
2727 test ! -s conftest.err
2728 } && test -s conftest.$ac_objext; then
2729 ac_cv_prog_cc_g=yes
2730 else
2731 echo "$as_me: failed program was:" >&5
2732 sed 's/^/| /' conftest.$ac_ext >&5
2734 CFLAGS=""
2735 cat >conftest.$ac_ext <<_ACEOF
2736 /* confdefs.h. */
2737 _ACEOF
2738 cat confdefs.h >>conftest.$ac_ext
2739 cat >>conftest.$ac_ext <<_ACEOF
2740 /* end confdefs.h. */
2743 main ()
2747 return 0;
2749 _ACEOF
2750 rm -f conftest.$ac_objext
2751 if { (ac_try="$ac_compile"
2752 case "(($ac_try" in
2753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2754 *) ac_try_echo=$ac_try;;
2755 esac
2756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2757 (eval "$ac_compile") 2>conftest.er1
2758 ac_status=$?
2759 grep -v '^ *+' conftest.er1 >conftest.err
2760 rm -f conftest.er1
2761 cat conftest.err >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); } && {
2764 test -z "$ac_c_werror_flag" ||
2765 test ! -s conftest.err
2766 } && test -s conftest.$ac_objext; then
2768 else
2769 echo "$as_me: failed program was:" >&5
2770 sed 's/^/| /' conftest.$ac_ext >&5
2772 ac_c_werror_flag=$ac_save_c_werror_flag
2773 CFLAGS="-g"
2774 cat >conftest.$ac_ext <<_ACEOF
2775 /* confdefs.h. */
2776 _ACEOF
2777 cat confdefs.h >>conftest.$ac_ext
2778 cat >>conftest.$ac_ext <<_ACEOF
2779 /* end confdefs.h. */
2782 main ()
2786 return 0;
2788 _ACEOF
2789 rm -f conftest.$ac_objext
2790 if { (ac_try="$ac_compile"
2791 case "(($ac_try" in
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2794 esac
2795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2796 (eval "$ac_compile") 2>conftest.er1
2797 ac_status=$?
2798 grep -v '^ *+' conftest.er1 >conftest.err
2799 rm -f conftest.er1
2800 cat conftest.err >&5
2801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2802 (exit $ac_status); } && {
2803 test -z "$ac_c_werror_flag" ||
2804 test ! -s conftest.err
2805 } && test -s conftest.$ac_objext; then
2806 ac_cv_prog_cc_g=yes
2807 else
2808 echo "$as_me: failed program was:" >&5
2809 sed 's/^/| /' conftest.$ac_ext >&5
2814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2821 ac_c_werror_flag=$ac_save_c_werror_flag
2823 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2824 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2825 if test "$ac_test_CFLAGS" = set; then
2826 CFLAGS=$ac_save_CFLAGS
2827 elif test $ac_cv_prog_cc_g = yes; then
2828 if test "$GCC" = yes; then
2829 CFLAGS="-g -O2"
2830 else
2831 CFLAGS="-g"
2833 else
2834 if test "$GCC" = yes; then
2835 CFLAGS="-O2"
2836 else
2837 CFLAGS=
2840 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2841 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2842 if test "${ac_cv_prog_cc_c89+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 else
2845 ac_cv_prog_cc_c89=no
2846 ac_save_CC=$CC
2847 cat >conftest.$ac_ext <<_ACEOF
2848 /* confdefs.h. */
2849 _ACEOF
2850 cat confdefs.h >>conftest.$ac_ext
2851 cat >>conftest.$ac_ext <<_ACEOF
2852 /* end confdefs.h. */
2853 #include <stdarg.h>
2854 #include <stdio.h>
2855 #include <sys/types.h>
2856 #include <sys/stat.h>
2857 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2858 struct buf { int x; };
2859 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2860 static char *e (p, i)
2861 char **p;
2862 int i;
2864 return p[i];
2866 static char *f (char * (*g) (char **, int), char **p, ...)
2868 char *s;
2869 va_list v;
2870 va_start (v,p);
2871 s = g (p, va_arg (v,int));
2872 va_end (v);
2873 return s;
2876 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2877 function prototypes and stuff, but not '\xHH' hex character constants.
2878 These don't provoke an error unfortunately, instead are silently treated
2879 as 'x'. The following induces an error, until -std is added to get
2880 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2881 array size at least. It's necessary to write '\x00'==0 to get something
2882 that's true only with -std. */
2883 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2885 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2886 inside strings and character constants. */
2887 #define FOO(x) 'x'
2888 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2890 int test (int i, double x);
2891 struct s1 {int (*f) (int a);};
2892 struct s2 {int (*f) (double a);};
2893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2894 int argc;
2895 char **argv;
2897 main ()
2899 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2901 return 0;
2903 _ACEOF
2904 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2905 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2907 CC="$ac_save_CC $ac_arg"
2908 rm -f conftest.$ac_objext
2909 if { (ac_try="$ac_compile"
2910 case "(($ac_try" in
2911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2912 *) ac_try_echo=$ac_try;;
2913 esac
2914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2915 (eval "$ac_compile") 2>conftest.er1
2916 ac_status=$?
2917 grep -v '^ *+' conftest.er1 >conftest.err
2918 rm -f conftest.er1
2919 cat conftest.err >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); } && {
2922 test -z "$ac_c_werror_flag" ||
2923 test ! -s conftest.err
2924 } && test -s conftest.$ac_objext; then
2925 ac_cv_prog_cc_c89=$ac_arg
2926 else
2927 echo "$as_me: failed program was:" >&5
2928 sed 's/^/| /' conftest.$ac_ext >&5
2933 rm -f core conftest.err conftest.$ac_objext
2934 test "x$ac_cv_prog_cc_c89" != "xno" && break
2935 done
2936 rm -f conftest.$ac_ext
2937 CC=$ac_save_CC
2940 # AC_CACHE_VAL
2941 case "x$ac_cv_prog_cc_c89" in
2943 { echo "$as_me:$LINENO: result: none needed" >&5
2944 echo "${ECHO_T}none needed" >&6; } ;;
2945 xno)
2946 { echo "$as_me:$LINENO: result: unsupported" >&5
2947 echo "${ECHO_T}unsupported" >&6; } ;;
2949 CC="$CC $ac_cv_prog_cc_c89"
2950 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2951 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2952 esac
2955 ac_ext=c
2956 ac_cpp='$CPP $CPPFLAGS'
2957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2961 ac_ext=cpp
2962 ac_cpp='$CXXCPP $CPPFLAGS'
2963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2966 if test -z "$CXX"; then
2967 if test -n "$CCC"; then
2968 CXX=$CCC
2969 else
2970 if test -n "$ac_tool_prefix"; then
2971 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2973 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2974 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2975 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2977 if test "${ac_cv_prog_CXX+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2979 else
2980 if test -n "$CXX"; then
2981 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2982 else
2983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2984 for as_dir in $PATH
2986 IFS=$as_save_IFS
2987 test -z "$as_dir" && as_dir=.
2988 for ac_exec_ext in '' $ac_executable_extensions; do
2989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2990 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2992 break 2
2994 done
2995 done
2996 IFS=$as_save_IFS
3000 CXX=$ac_cv_prog_CXX
3001 if test -n "$CXX"; then
3002 { echo "$as_me:$LINENO: result: $CXX" >&5
3003 echo "${ECHO_T}$CXX" >&6; }
3004 else
3005 { echo "$as_me:$LINENO: result: no" >&5
3006 echo "${ECHO_T}no" >&6; }
3010 test -n "$CXX" && break
3011 done
3013 if test -z "$CXX"; then
3014 ac_ct_CXX=$CXX
3015 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy $ac_prog; ac_word=$2
3019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3021 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 else
3024 if test -n "$ac_ct_CXX"; then
3025 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3026 else
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3028 for as_dir in $PATH
3030 IFS=$as_save_IFS
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3034 ac_cv_prog_ac_ct_CXX="$ac_prog"
3035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3036 break 2
3038 done
3039 done
3040 IFS=$as_save_IFS
3044 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3045 if test -n "$ac_ct_CXX"; then
3046 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3047 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3048 else
3049 { echo "$as_me:$LINENO: result: no" >&5
3050 echo "${ECHO_T}no" >&6; }
3054 test -n "$ac_ct_CXX" && break
3055 done
3057 if test "x$ac_ct_CXX" = x; then
3058 CXX="g++"
3059 else
3060 case $cross_compiling:$ac_tool_warned in
3061 yes:)
3062 { echo "$as_me:$LINENO: 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." >&5
3065 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3066 whose name does not start with the host triplet. If you think this
3067 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3068 ac_tool_warned=yes ;;
3069 esac
3070 CXX=$ac_ct_CXX
3076 # Provide some information about the compiler.
3077 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3078 ac_compiler=`set X $ac_compile; echo $2`
3079 { (ac_try="$ac_compiler --version >&5"
3080 case "(($ac_try" in
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3083 esac
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_compiler --version >&5") 2>&5
3086 ac_status=$?
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }
3089 { (ac_try="$ac_compiler -v >&5"
3090 case "(($ac_try" in
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3093 esac
3094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3095 (eval "$ac_compiler -v >&5") 2>&5
3096 ac_status=$?
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }
3099 { (ac_try="$ac_compiler -V >&5"
3100 case "(($ac_try" in
3101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3102 *) ac_try_echo=$ac_try;;
3103 esac
3104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3105 (eval "$ac_compiler -V >&5") 2>&5
3106 ac_status=$?
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }
3110 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3111 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3112 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3113 echo $ECHO_N "(cached) $ECHO_C" >&6
3114 else
3115 cat >conftest.$ac_ext <<_ACEOF
3116 /* confdefs.h. */
3117 _ACEOF
3118 cat confdefs.h >>conftest.$ac_ext
3119 cat >>conftest.$ac_ext <<_ACEOF
3120 /* end confdefs.h. */
3123 main ()
3125 #ifndef __GNUC__
3126 choke me
3127 #endif
3130 return 0;
3132 _ACEOF
3133 rm -f conftest.$ac_objext
3134 if { (ac_try="$ac_compile"
3135 case "(($ac_try" in
3136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3137 *) ac_try_echo=$ac_try;;
3138 esac
3139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3140 (eval "$ac_compile") 2>conftest.er1
3141 ac_status=$?
3142 grep -v '^ *+' conftest.er1 >conftest.err
3143 rm -f conftest.er1
3144 cat conftest.err >&5
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); } && {
3147 test -z "$ac_cxx_werror_flag" ||
3148 test ! -s conftest.err
3149 } && test -s conftest.$ac_objext; then
3150 ac_compiler_gnu=yes
3151 else
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.$ac_ext >&5
3155 ac_compiler_gnu=no
3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3159 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3162 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3163 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3164 GXX=`test $ac_compiler_gnu = yes && echo yes`
3165 ac_test_CXXFLAGS=${CXXFLAGS+set}
3166 ac_save_CXXFLAGS=$CXXFLAGS
3167 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3168 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3169 if test "${ac_cv_prog_cxx_g+set}" = set; then
3170 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 else
3172 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3173 ac_cxx_werror_flag=yes
3174 ac_cv_prog_cxx_g=no
3175 CXXFLAGS="-g"
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (ac_try="$ac_compile"
3193 case "(($ac_try" in
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3196 esac
3197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_compile") 2>conftest.er1
3199 ac_status=$?
3200 grep -v '^ *+' conftest.er1 >conftest.err
3201 rm -f conftest.er1
3202 cat conftest.err >&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); } && {
3205 test -z "$ac_cxx_werror_flag" ||
3206 test ! -s conftest.err
3207 } && test -s conftest.$ac_objext; then
3208 ac_cv_prog_cxx_g=yes
3209 else
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3213 CXXFLAGS=""
3214 cat >conftest.$ac_ext <<_ACEOF
3215 /* confdefs.h. */
3216 _ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3222 main ()
3226 return 0;
3228 _ACEOF
3229 rm -f conftest.$ac_objext
3230 if { (ac_try="$ac_compile"
3231 case "(($ac_try" in
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3234 esac
3235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3236 (eval "$ac_compile") 2>conftest.er1
3237 ac_status=$?
3238 grep -v '^ *+' conftest.er1 >conftest.err
3239 rm -f conftest.er1
3240 cat conftest.err >&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } && {
3243 test -z "$ac_cxx_werror_flag" ||
3244 test ! -s conftest.err
3245 } && test -s conftest.$ac_objext; then
3247 else
3248 echo "$as_me: failed program was:" >&5
3249 sed 's/^/| /' conftest.$ac_ext >&5
3251 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3252 CXXFLAGS="-g"
3253 cat >conftest.$ac_ext <<_ACEOF
3254 /* confdefs.h. */
3255 _ACEOF
3256 cat confdefs.h >>conftest.$ac_ext
3257 cat >>conftest.$ac_ext <<_ACEOF
3258 /* end confdefs.h. */
3261 main ()
3265 return 0;
3267 _ACEOF
3268 rm -f conftest.$ac_objext
3269 if { (ac_try="$ac_compile"
3270 case "(($ac_try" in
3271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3272 *) ac_try_echo=$ac_try;;
3273 esac
3274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3275 (eval "$ac_compile") 2>conftest.er1
3276 ac_status=$?
3277 grep -v '^ *+' conftest.er1 >conftest.err
3278 rm -f conftest.er1
3279 cat conftest.err >&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } && {
3282 test -z "$ac_cxx_werror_flag" ||
3283 test ! -s conftest.err
3284 } && test -s conftest.$ac_objext; then
3285 ac_cv_prog_cxx_g=yes
3286 else
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3302 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3303 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3304 if test "$ac_test_CXXFLAGS" = set; then
3305 CXXFLAGS=$ac_save_CXXFLAGS
3306 elif test $ac_cv_prog_cxx_g = yes; then
3307 if test "$GXX" = yes; then
3308 CXXFLAGS="-g -O2"
3309 else
3310 CXXFLAGS="-g"
3312 else
3313 if test "$GXX" = yes; then
3314 CXXFLAGS="-O2"
3315 else
3316 CXXFLAGS=
3319 ac_ext=c
3320 ac_cpp='$CPP $CPPFLAGS'
3321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3325 if test -n "$ac_tool_prefix"; then
3326 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3327 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3330 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 else
3333 if test -n "$CPPBIN"; then
3334 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3335 else
3336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3337 for as_dir in $PATH
3339 IFS=$as_save_IFS
3340 test -z "$as_dir" && as_dir=.
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3343 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3345 break 2
3347 done
3348 done
3349 IFS=$as_save_IFS
3353 CPPBIN=$ac_cv_prog_CPPBIN
3354 if test -n "$CPPBIN"; then
3355 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3356 echo "${ECHO_T}$CPPBIN" >&6; }
3357 else
3358 { echo "$as_me:$LINENO: result: no" >&5
3359 echo "${ECHO_T}no" >&6; }
3364 if test -z "$ac_cv_prog_CPPBIN"; then
3365 ac_ct_CPPBIN=$CPPBIN
3366 # Extract the first word of "cpp", so it can be a program name with args.
3367 set dummy cpp; ac_word=$2
3368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3370 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 else
3373 if test -n "$ac_ct_CPPBIN"; then
3374 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3375 else
3376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3377 for as_dir in $PATH
3379 IFS=$as_save_IFS
3380 test -z "$as_dir" && as_dir=.
3381 for ac_exec_ext in '' $ac_executable_extensions; do
3382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3383 ac_cv_prog_ac_ct_CPPBIN="cpp"
3384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3385 break 2
3387 done
3388 done
3389 IFS=$as_save_IFS
3393 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3394 if test -n "$ac_ct_CPPBIN"; then
3395 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3396 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3397 else
3398 { echo "$as_me:$LINENO: result: no" >&5
3399 echo "${ECHO_T}no" >&6; }
3402 if test "x$ac_ct_CPPBIN" = x; then
3403 CPPBIN="cpp"
3404 else
3405 case $cross_compiling:$ac_tool_warned in
3406 yes:)
3407 { echo "$as_me:$LINENO: 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." >&5
3410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3411 whose name does not start with the host triplet. If you think this
3412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3413 ac_tool_warned=yes ;;
3414 esac
3415 CPPBIN=$ac_ct_CPPBIN
3417 else
3418 CPPBIN="$ac_cv_prog_CPPBIN"
3422 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3423 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3424 if test "${wine_cv_toolsdir+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 else
3427 if test -z "$with_wine_tools"; then
3428 if test "$cross_compiling" = "yes"; then
3429 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3430 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3431 { (exit 1); exit 1; }; }
3432 else
3433 wine_cv_toolsdir="\$(TOPOBJDIR)"
3435 elif test -d "$with_wine_tools/tools/winebuild"; then
3436 case $with_wine_tools in
3437 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3438 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3439 esac
3440 else
3441 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3442 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3443 { (exit 1); exit 1; }; }
3446 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3447 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3448 TOOLSDIR=$wine_cv_toolsdir
3452 ac_ext=c
3453 ac_cpp='$CPP $CPPFLAGS'
3454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3458 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3459 # On Suns, sometimes $CPP names a directory.
3460 if test -n "$CPP" && test -d "$CPP"; then
3461 CPP=
3463 if test -z "$CPP"; then
3464 if test "${ac_cv_prog_CPP+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3466 else
3467 # Double quotes because CPP needs to be expanded
3468 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3470 ac_preproc_ok=false
3471 for ac_c_preproc_warn_flag in '' yes
3473 # Use a header file that comes with gcc, so configuring glibc
3474 # with a fresh cross-compiler works.
3475 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3476 # <limits.h> exists even on freestanding compilers.
3477 # On the NeXT, cc -E runs the code through the compiler's parser,
3478 # not just through cpp. "Syntax error" is here to catch this case.
3479 cat >conftest.$ac_ext <<_ACEOF
3480 /* confdefs.h. */
3481 _ACEOF
3482 cat confdefs.h >>conftest.$ac_ext
3483 cat >>conftest.$ac_ext <<_ACEOF
3484 /* end confdefs.h. */
3485 #ifdef __STDC__
3486 # include <limits.h>
3487 #else
3488 # include <assert.h>
3489 #endif
3490 Syntax error
3491 _ACEOF
3492 if { (ac_try="$ac_cpp conftest.$ac_ext"
3493 case "(($ac_try" in
3494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3495 *) ac_try_echo=$ac_try;;
3496 esac
3497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3499 ac_status=$?
3500 grep -v '^ *+' conftest.er1 >conftest.err
3501 rm -f conftest.er1
3502 cat conftest.err >&5
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); } >/dev/null && {
3505 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3506 test ! -s conftest.err
3507 }; then
3509 else
3510 echo "$as_me: failed program was:" >&5
3511 sed 's/^/| /' conftest.$ac_ext >&5
3513 # Broken: fails on valid input.
3514 continue
3517 rm -f conftest.err conftest.$ac_ext
3519 # OK, works on sane cases. Now check whether nonexistent headers
3520 # can be detected and how.
3521 cat >conftest.$ac_ext <<_ACEOF
3522 /* confdefs.h. */
3523 _ACEOF
3524 cat confdefs.h >>conftest.$ac_ext
3525 cat >>conftest.$ac_ext <<_ACEOF
3526 /* end confdefs.h. */
3527 #include <ac_nonexistent.h>
3528 _ACEOF
3529 if { (ac_try="$ac_cpp conftest.$ac_ext"
3530 case "(($ac_try" in
3531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3532 *) ac_try_echo=$ac_try;;
3533 esac
3534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3535 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3536 ac_status=$?
3537 grep -v '^ *+' conftest.er1 >conftest.err
3538 rm -f conftest.er1
3539 cat conftest.err >&5
3540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3541 (exit $ac_status); } >/dev/null && {
3542 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3543 test ! -s conftest.err
3544 }; then
3545 # Broken: success on invalid input.
3546 continue
3547 else
3548 echo "$as_me: failed program was:" >&5
3549 sed 's/^/| /' conftest.$ac_ext >&5
3551 # Passes both tests.
3552 ac_preproc_ok=:
3553 break
3556 rm -f conftest.err conftest.$ac_ext
3558 done
3559 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3560 rm -f conftest.err conftest.$ac_ext
3561 if $ac_preproc_ok; then
3562 break
3565 done
3566 ac_cv_prog_CPP=$CPP
3569 CPP=$ac_cv_prog_CPP
3570 else
3571 ac_cv_prog_CPP=$CPP
3573 { echo "$as_me:$LINENO: result: $CPP" >&5
3574 echo "${ECHO_T}$CPP" >&6; }
3575 ac_preproc_ok=false
3576 for ac_c_preproc_warn_flag in '' yes
3578 # Use a header file that comes with gcc, so configuring glibc
3579 # with a fresh cross-compiler works.
3580 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3581 # <limits.h> exists even on freestanding compilers.
3582 # On the NeXT, cc -E runs the code through the compiler's parser,
3583 # not just through cpp. "Syntax error" is here to catch this case.
3584 cat >conftest.$ac_ext <<_ACEOF
3585 /* confdefs.h. */
3586 _ACEOF
3587 cat confdefs.h >>conftest.$ac_ext
3588 cat >>conftest.$ac_ext <<_ACEOF
3589 /* end confdefs.h. */
3590 #ifdef __STDC__
3591 # include <limits.h>
3592 #else
3593 # include <assert.h>
3594 #endif
3595 Syntax error
3596 _ACEOF
3597 if { (ac_try="$ac_cpp conftest.$ac_ext"
3598 case "(($ac_try" in
3599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3600 *) ac_try_echo=$ac_try;;
3601 esac
3602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3604 ac_status=$?
3605 grep -v '^ *+' conftest.er1 >conftest.err
3606 rm -f conftest.er1
3607 cat conftest.err >&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } >/dev/null && {
3610 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3611 test ! -s conftest.err
3612 }; then
3614 else
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 # Broken: fails on valid input.
3619 continue
3622 rm -f conftest.err conftest.$ac_ext
3624 # OK, works on sane cases. Now check whether nonexistent headers
3625 # can be detected and how.
3626 cat >conftest.$ac_ext <<_ACEOF
3627 /* confdefs.h. */
3628 _ACEOF
3629 cat confdefs.h >>conftest.$ac_ext
3630 cat >>conftest.$ac_ext <<_ACEOF
3631 /* end confdefs.h. */
3632 #include <ac_nonexistent.h>
3633 _ACEOF
3634 if { (ac_try="$ac_cpp conftest.$ac_ext"
3635 case "(($ac_try" in
3636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3637 *) ac_try_echo=$ac_try;;
3638 esac
3639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3640 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3641 ac_status=$?
3642 grep -v '^ *+' conftest.er1 >conftest.err
3643 rm -f conftest.er1
3644 cat conftest.err >&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); } >/dev/null && {
3647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3648 test ! -s conftest.err
3649 }; then
3650 # Broken: success on invalid input.
3651 continue
3652 else
3653 echo "$as_me: failed program was:" >&5
3654 sed 's/^/| /' conftest.$ac_ext >&5
3656 # Passes both tests.
3657 ac_preproc_ok=:
3658 break
3661 rm -f conftest.err conftest.$ac_ext
3663 done
3664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3665 rm -f conftest.err conftest.$ac_ext
3666 if $ac_preproc_ok; then
3668 else
3669 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3670 See \`config.log' for more details." >&5
3671 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3672 See \`config.log' for more details." >&2;}
3673 { (exit 1); exit 1; }; }
3676 ac_ext=c
3677 ac_cpp='$CPP $CPPFLAGS'
3678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 { echo "$as_me:$LINENO: checking for X" >&5
3684 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3687 # Check whether --with-x was given.
3688 if test "${with_x+set}" = set; then
3689 withval=$with_x;
3692 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3693 if test "x$with_x" = xno; then
3694 # The user explicitly disabled X.
3695 have_x=disabled
3696 else
3697 case $x_includes,$x_libraries in #(
3698 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3699 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3700 { (exit 1); exit 1; }; };; #(
3701 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3703 else
3704 # One or both of the vars are not set, and there is no cached value.
3705 ac_x_includes=no ac_x_libraries=no
3706 rm -f -r conftest.dir
3707 if mkdir conftest.dir; then
3708 cd conftest.dir
3709 cat >Imakefile <<'_ACEOF'
3710 incroot:
3711 @echo incroot='${INCROOT}'
3712 usrlibdir:
3713 @echo usrlibdir='${USRLIBDIR}'
3714 libdir:
3715 @echo libdir='${LIBDIR}'
3716 _ACEOF
3717 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3718 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3719 for ac_var in incroot usrlibdir libdir; do
3720 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3721 done
3722 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3723 for ac_extension in a so sl; do
3724 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3725 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3726 ac_im_usrlibdir=$ac_im_libdir; break
3728 done
3729 # Screen out bogus values from the imake configuration. They are
3730 # bogus both because they are the default anyway, and because
3731 # using them would break gcc on systems where it needs fixed includes.
3732 case $ac_im_incroot in
3733 /usr/include) ac_x_includes= ;;
3734 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3735 esac
3736 case $ac_im_usrlibdir in
3737 /usr/lib | /lib) ;;
3738 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3739 esac
3741 cd ..
3742 rm -f -r conftest.dir
3745 # Standard set of common directories for X headers.
3746 # Check X11 before X11Rn because it is often a symlink to the current release.
3747 ac_x_header_dirs='
3748 /usr/X11/include
3749 /usr/X11R6/include
3750 /usr/X11R5/include
3751 /usr/X11R4/include
3753 /usr/include/X11
3754 /usr/include/X11R6
3755 /usr/include/X11R5
3756 /usr/include/X11R4
3758 /usr/local/X11/include
3759 /usr/local/X11R6/include
3760 /usr/local/X11R5/include
3761 /usr/local/X11R4/include
3763 /usr/local/include/X11
3764 /usr/local/include/X11R6
3765 /usr/local/include/X11R5
3766 /usr/local/include/X11R4
3768 /usr/X386/include
3769 /usr/x386/include
3770 /usr/XFree86/include/X11
3772 /usr/include
3773 /usr/local/include
3774 /usr/unsupported/include
3775 /usr/athena/include
3776 /usr/local/x11r5/include
3777 /usr/lpp/Xamples/include
3779 /usr/openwin/include
3780 /usr/openwin/share/include'
3782 if test "$ac_x_includes" = no; then
3783 # Guess where to find include files, by looking for Xlib.h.
3784 # First, try using that file with no special directory specified.
3785 cat >conftest.$ac_ext <<_ACEOF
3786 /* confdefs.h. */
3787 _ACEOF
3788 cat confdefs.h >>conftest.$ac_ext
3789 cat >>conftest.$ac_ext <<_ACEOF
3790 /* end confdefs.h. */
3791 #include <X11/Xlib.h>
3792 _ACEOF
3793 if { (ac_try="$ac_cpp conftest.$ac_ext"
3794 case "(($ac_try" in
3795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3796 *) ac_try_echo=$ac_try;;
3797 esac
3798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3800 ac_status=$?
3801 grep -v '^ *+' conftest.er1 >conftest.err
3802 rm -f conftest.er1
3803 cat conftest.err >&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } >/dev/null && {
3806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3807 test ! -s conftest.err
3808 }; then
3809 # We can compile using X headers with no special include directory.
3810 ac_x_includes=
3811 else
3812 echo "$as_me: failed program was:" >&5
3813 sed 's/^/| /' conftest.$ac_ext >&5
3815 for ac_dir in $ac_x_header_dirs; do
3816 if test -r "$ac_dir/X11/Xlib.h"; then
3817 ac_x_includes=$ac_dir
3818 break
3820 done
3823 rm -f conftest.err conftest.$ac_ext
3824 fi # $ac_x_includes = no
3826 if test "$ac_x_libraries" = no; then
3827 # Check for the libraries.
3828 # See if we find them without any special options.
3829 # Don't add to $LIBS permanently.
3830 ac_save_LIBS=$LIBS
3831 LIBS="-lX11 $LIBS"
3832 cat >conftest.$ac_ext <<_ACEOF
3833 /* confdefs.h. */
3834 _ACEOF
3835 cat confdefs.h >>conftest.$ac_ext
3836 cat >>conftest.$ac_ext <<_ACEOF
3837 /* end confdefs.h. */
3838 #include <X11/Xlib.h>
3840 main ()
3842 XrmInitialize ()
3844 return 0;
3846 _ACEOF
3847 rm -f conftest.$ac_objext conftest$ac_exeext
3848 if { (ac_try="$ac_link"
3849 case "(($ac_try" in
3850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3851 *) ac_try_echo=$ac_try;;
3852 esac
3853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3854 (eval "$ac_link") 2>conftest.er1
3855 ac_status=$?
3856 grep -v '^ *+' conftest.er1 >conftest.err
3857 rm -f conftest.er1
3858 cat conftest.err >&5
3859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3860 (exit $ac_status); } && {
3861 test -z "$ac_c_werror_flag" ||
3862 test ! -s conftest.err
3863 } && test -s conftest$ac_exeext &&
3864 $as_test_x conftest$ac_exeext; then
3865 LIBS=$ac_save_LIBS
3866 # We can link X programs with no special library path.
3867 ac_x_libraries=
3868 else
3869 echo "$as_me: failed program was:" >&5
3870 sed 's/^/| /' conftest.$ac_ext >&5
3872 LIBS=$ac_save_LIBS
3873 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3875 # Don't even attempt the hair of trying to link an X program!
3876 for ac_extension in a so sl; do
3877 if test -r "$ac_dir/libX11.$ac_extension"; then
3878 ac_x_libraries=$ac_dir
3879 break 2
3881 done
3882 done
3885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3886 conftest$ac_exeext conftest.$ac_ext
3887 fi # $ac_x_libraries = no
3889 case $ac_x_includes,$ac_x_libraries in #(
3890 no,* | *,no | *\'*)
3891 # Didn't find X, or a directory has "'" in its name.
3892 ac_cv_have_x="have_x=no";; #(
3894 # Record where we found X for the cache.
3895 ac_cv_have_x="have_x=yes\
3896 ac_x_includes='$ac_x_includes'\
3897 ac_x_libraries='$ac_x_libraries'"
3898 esac
3900 ;; #(
3901 *) have_x=yes;;
3902 esac
3903 eval "$ac_cv_have_x"
3904 fi # $with_x != no
3906 if test "$have_x" != yes; then
3907 { echo "$as_me:$LINENO: result: $have_x" >&5
3908 echo "${ECHO_T}$have_x" >&6; }
3909 no_x=yes
3910 else
3911 # If each of the values was on the command line, it overrides each guess.
3912 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3913 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3914 # Update the cache value to reflect the command line values.
3915 ac_cv_have_x="have_x=yes\
3916 ac_x_includes='$x_includes'\
3917 ac_x_libraries='$x_libraries'"
3918 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3919 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3922 if test "$no_x" = yes; then
3923 # Not all programs may use this symbol, but it does not hurt to define it.
3925 cat >>confdefs.h <<\_ACEOF
3926 #define X_DISPLAY_MISSING 1
3927 _ACEOF
3929 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3930 else
3931 if test -n "$x_includes"; then
3932 X_CFLAGS="$X_CFLAGS -I$x_includes"
3935 # It would also be nice to do this for all -L options, not just this one.
3936 if test -n "$x_libraries"; then
3937 X_LIBS="$X_LIBS -L$x_libraries"
3938 # For Solaris; some versions of Sun CC require a space after -R and
3939 # others require no space. Words are not sufficient . . . .
3940 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3941 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3942 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3943 ac_xsave_c_werror_flag=$ac_c_werror_flag
3944 ac_c_werror_flag=yes
3945 cat >conftest.$ac_ext <<_ACEOF
3946 /* confdefs.h. */
3947 _ACEOF
3948 cat confdefs.h >>conftest.$ac_ext
3949 cat >>conftest.$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3953 main ()
3957 return 0;
3959 _ACEOF
3960 rm -f conftest.$ac_objext conftest$ac_exeext
3961 if { (ac_try="$ac_link"
3962 case "(($ac_try" in
3963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3964 *) ac_try_echo=$ac_try;;
3965 esac
3966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3967 (eval "$ac_link") 2>conftest.er1
3968 ac_status=$?
3969 grep -v '^ *+' conftest.er1 >conftest.err
3970 rm -f conftest.er1
3971 cat conftest.err >&5
3972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3973 (exit $ac_status); } && {
3974 test -z "$ac_c_werror_flag" ||
3975 test ! -s conftest.err
3976 } && test -s conftest$ac_exeext &&
3977 $as_test_x conftest$ac_exeext; then
3978 { echo "$as_me:$LINENO: result: no" >&5
3979 echo "${ECHO_T}no" >&6; }
3980 X_LIBS="$X_LIBS -R$x_libraries"
3981 else
3982 echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3985 LIBS="$ac_xsave_LIBS -R $x_libraries"
3986 cat >conftest.$ac_ext <<_ACEOF
3987 /* confdefs.h. */
3988 _ACEOF
3989 cat confdefs.h >>conftest.$ac_ext
3990 cat >>conftest.$ac_ext <<_ACEOF
3991 /* end confdefs.h. */
3994 main ()
3998 return 0;
4000 _ACEOF
4001 rm -f conftest.$ac_objext conftest$ac_exeext
4002 if { (ac_try="$ac_link"
4003 case "(($ac_try" in
4004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4005 *) ac_try_echo=$ac_try;;
4006 esac
4007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4008 (eval "$ac_link") 2>conftest.er1
4009 ac_status=$?
4010 grep -v '^ *+' conftest.er1 >conftest.err
4011 rm -f conftest.er1
4012 cat conftest.err >&5
4013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4014 (exit $ac_status); } && {
4015 test -z "$ac_c_werror_flag" ||
4016 test ! -s conftest.err
4017 } && test -s conftest$ac_exeext &&
4018 $as_test_x conftest$ac_exeext; then
4019 { echo "$as_me:$LINENO: result: yes" >&5
4020 echo "${ECHO_T}yes" >&6; }
4021 X_LIBS="$X_LIBS -R $x_libraries"
4022 else
4023 echo "$as_me: failed program was:" >&5
4024 sed 's/^/| /' conftest.$ac_ext >&5
4026 { echo "$as_me:$LINENO: result: neither works" >&5
4027 echo "${ECHO_T}neither works" >&6; }
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4034 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4035 conftest$ac_exeext conftest.$ac_ext
4036 ac_c_werror_flag=$ac_xsave_c_werror_flag
4037 LIBS=$ac_xsave_LIBS
4040 # Check for system-dependent libraries X programs must link with.
4041 # Do this before checking for the system-independent R6 libraries
4042 # (-lICE), since we may need -lsocket or whatever for X linking.
4044 if test "$ISC" = yes; then
4045 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4046 else
4047 # Martyn Johnson says this is needed for Ultrix, if the X
4048 # libraries were built with DECnet support. And Karl Berry says
4049 # the Alpha needs dnet_stub (dnet does not exist).
4050 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4051 cat >conftest.$ac_ext <<_ACEOF
4052 /* confdefs.h. */
4053 _ACEOF
4054 cat confdefs.h >>conftest.$ac_ext
4055 cat >>conftest.$ac_ext <<_ACEOF
4056 /* end confdefs.h. */
4058 /* Override any GCC internal prototype to avoid an error.
4059 Use char because int might match the return type of a GCC
4060 builtin and then its argument prototype would still apply. */
4061 #ifdef __cplusplus
4062 extern "C"
4063 #endif
4064 char XOpenDisplay ();
4066 main ()
4068 return XOpenDisplay ();
4070 return 0;
4072 _ACEOF
4073 rm -f conftest.$ac_objext conftest$ac_exeext
4074 if { (ac_try="$ac_link"
4075 case "(($ac_try" in
4076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4077 *) ac_try_echo=$ac_try;;
4078 esac
4079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4080 (eval "$ac_link") 2>conftest.er1
4081 ac_status=$?
4082 grep -v '^ *+' conftest.er1 >conftest.err
4083 rm -f conftest.er1
4084 cat conftest.err >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } && {
4087 test -z "$ac_c_werror_flag" ||
4088 test ! -s conftest.err
4089 } && test -s conftest$ac_exeext &&
4090 $as_test_x conftest$ac_exeext; then
4092 else
4093 echo "$as_me: failed program was:" >&5
4094 sed 's/^/| /' conftest.$ac_ext >&5
4096 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4097 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4098 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 else
4101 ac_check_lib_save_LIBS=$LIBS
4102 LIBS="-ldnet $LIBS"
4103 cat >conftest.$ac_ext <<_ACEOF
4104 /* confdefs.h. */
4105 _ACEOF
4106 cat confdefs.h >>conftest.$ac_ext
4107 cat >>conftest.$ac_ext <<_ACEOF
4108 /* end confdefs.h. */
4110 /* Override any GCC internal prototype to avoid an error.
4111 Use char because int might match the return type of a GCC
4112 builtin and then its argument prototype would still apply. */
4113 #ifdef __cplusplus
4114 extern "C"
4115 #endif
4116 char dnet_ntoa ();
4118 main ()
4120 return dnet_ntoa ();
4122 return 0;
4124 _ACEOF
4125 rm -f conftest.$ac_objext conftest$ac_exeext
4126 if { (ac_try="$ac_link"
4127 case "(($ac_try" in
4128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4129 *) ac_try_echo=$ac_try;;
4130 esac
4131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4132 (eval "$ac_link") 2>conftest.er1
4133 ac_status=$?
4134 grep -v '^ *+' conftest.er1 >conftest.err
4135 rm -f conftest.er1
4136 cat conftest.err >&5
4137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4138 (exit $ac_status); } && {
4139 test -z "$ac_c_werror_flag" ||
4140 test ! -s conftest.err
4141 } && test -s conftest$ac_exeext &&
4142 $as_test_x conftest$ac_exeext; then
4143 ac_cv_lib_dnet_dnet_ntoa=yes
4144 else
4145 echo "$as_me: failed program was:" >&5
4146 sed 's/^/| /' conftest.$ac_ext >&5
4148 ac_cv_lib_dnet_dnet_ntoa=no
4151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4152 conftest$ac_exeext conftest.$ac_ext
4153 LIBS=$ac_check_lib_save_LIBS
4155 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4156 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4157 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4158 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4161 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4162 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4163 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4164 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4165 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 else
4167 ac_check_lib_save_LIBS=$LIBS
4168 LIBS="-ldnet_stub $LIBS"
4169 cat >conftest.$ac_ext <<_ACEOF
4170 /* confdefs.h. */
4171 _ACEOF
4172 cat confdefs.h >>conftest.$ac_ext
4173 cat >>conftest.$ac_ext <<_ACEOF
4174 /* end confdefs.h. */
4176 /* Override any GCC internal prototype to avoid an error.
4177 Use char because int might match the return type of a GCC
4178 builtin and then its argument prototype would still apply. */
4179 #ifdef __cplusplus
4180 extern "C"
4181 #endif
4182 char dnet_ntoa ();
4184 main ()
4186 return dnet_ntoa ();
4188 return 0;
4190 _ACEOF
4191 rm -f conftest.$ac_objext conftest$ac_exeext
4192 if { (ac_try="$ac_link"
4193 case "(($ac_try" in
4194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4195 *) ac_try_echo=$ac_try;;
4196 esac
4197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4198 (eval "$ac_link") 2>conftest.er1
4199 ac_status=$?
4200 grep -v '^ *+' conftest.er1 >conftest.err
4201 rm -f conftest.er1
4202 cat conftest.err >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); } && {
4205 test -z "$ac_c_werror_flag" ||
4206 test ! -s conftest.err
4207 } && test -s conftest$ac_exeext &&
4208 $as_test_x conftest$ac_exeext; then
4209 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4210 else
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.$ac_ext >&5
4214 ac_cv_lib_dnet_stub_dnet_ntoa=no
4217 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4218 conftest$ac_exeext conftest.$ac_ext
4219 LIBS=$ac_check_lib_save_LIBS
4221 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4222 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4223 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4224 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4231 conftest$ac_exeext conftest.$ac_ext
4232 LIBS="$ac_xsave_LIBS"
4234 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4235 # to get the SysV transport functions.
4236 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4237 # needs -lnsl.
4238 # The nsl library prevents programs from opening the X display
4239 # on Irix 5.2, according to T.E. Dickey.
4240 # The functions gethostbyname, getservbyname, and inet_addr are
4241 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4242 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4243 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4244 if test "${ac_cv_func_gethostbyname+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4246 else
4247 cat >conftest.$ac_ext <<_ACEOF
4248 /* confdefs.h. */
4249 _ACEOF
4250 cat confdefs.h >>conftest.$ac_ext
4251 cat >>conftest.$ac_ext <<_ACEOF
4252 /* end confdefs.h. */
4253 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4255 #define gethostbyname innocuous_gethostbyname
4257 /* System header to define __stub macros and hopefully few prototypes,
4258 which can conflict with char gethostbyname (); below.
4259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4260 <limits.h> exists even on freestanding compilers. */
4262 #ifdef __STDC__
4263 # include <limits.h>
4264 #else
4265 # include <assert.h>
4266 #endif
4268 #undef gethostbyname
4270 /* Override any GCC internal prototype to avoid an error.
4271 Use char because int might match the return type of a GCC
4272 builtin and then its argument prototype would still apply. */
4273 #ifdef __cplusplus
4274 extern "C"
4275 #endif
4276 char gethostbyname ();
4277 /* The GNU C library defines this for functions which it implements
4278 to always fail with ENOSYS. Some functions are actually named
4279 something starting with __ and the normal name is an alias. */
4280 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4281 choke me
4282 #endif
4285 main ()
4287 return gethostbyname ();
4289 return 0;
4291 _ACEOF
4292 rm -f conftest.$ac_objext conftest$ac_exeext
4293 if { (ac_try="$ac_link"
4294 case "(($ac_try" in
4295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4296 *) ac_try_echo=$ac_try;;
4297 esac
4298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4299 (eval "$ac_link") 2>conftest.er1
4300 ac_status=$?
4301 grep -v '^ *+' conftest.er1 >conftest.err
4302 rm -f conftest.er1
4303 cat conftest.err >&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); } && {
4306 test -z "$ac_c_werror_flag" ||
4307 test ! -s conftest.err
4308 } && test -s conftest$ac_exeext &&
4309 $as_test_x conftest$ac_exeext; then
4310 ac_cv_func_gethostbyname=yes
4311 else
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.$ac_ext >&5
4315 ac_cv_func_gethostbyname=no
4318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4319 conftest$ac_exeext conftest.$ac_ext
4321 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4322 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4324 if test $ac_cv_func_gethostbyname = no; then
4325 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4326 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4327 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4328 echo $ECHO_N "(cached) $ECHO_C" >&6
4329 else
4330 ac_check_lib_save_LIBS=$LIBS
4331 LIBS="-lnsl $LIBS"
4332 cat >conftest.$ac_ext <<_ACEOF
4333 /* confdefs.h. */
4334 _ACEOF
4335 cat confdefs.h >>conftest.$ac_ext
4336 cat >>conftest.$ac_ext <<_ACEOF
4337 /* end confdefs.h. */
4339 /* Override any GCC internal prototype to avoid an error.
4340 Use char because int might match the return type of a GCC
4341 builtin and then its argument prototype would still apply. */
4342 #ifdef __cplusplus
4343 extern "C"
4344 #endif
4345 char gethostbyname ();
4347 main ()
4349 return gethostbyname ();
4351 return 0;
4353 _ACEOF
4354 rm -f conftest.$ac_objext conftest$ac_exeext
4355 if { (ac_try="$ac_link"
4356 case "(($ac_try" in
4357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4359 esac
4360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361 (eval "$ac_link") 2>conftest.er1
4362 ac_status=$?
4363 grep -v '^ *+' conftest.er1 >conftest.err
4364 rm -f conftest.er1
4365 cat conftest.err >&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); } && {
4368 test -z "$ac_c_werror_flag" ||
4369 test ! -s conftest.err
4370 } && test -s conftest$ac_exeext &&
4371 $as_test_x conftest$ac_exeext; then
4372 ac_cv_lib_nsl_gethostbyname=yes
4373 else
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.$ac_ext >&5
4377 ac_cv_lib_nsl_gethostbyname=no
4380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4381 conftest$ac_exeext conftest.$ac_ext
4382 LIBS=$ac_check_lib_save_LIBS
4384 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4385 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4386 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4387 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4390 if test $ac_cv_lib_nsl_gethostbyname = no; then
4391 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4392 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4393 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4394 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 else
4396 ac_check_lib_save_LIBS=$LIBS
4397 LIBS="-lbsd $LIBS"
4398 cat >conftest.$ac_ext <<_ACEOF
4399 /* confdefs.h. */
4400 _ACEOF
4401 cat confdefs.h >>conftest.$ac_ext
4402 cat >>conftest.$ac_ext <<_ACEOF
4403 /* end confdefs.h. */
4405 /* Override any GCC internal prototype to avoid an error.
4406 Use char because int might match the return type of a GCC
4407 builtin and then its argument prototype would still apply. */
4408 #ifdef __cplusplus
4409 extern "C"
4410 #endif
4411 char gethostbyname ();
4413 main ()
4415 return gethostbyname ();
4417 return 0;
4419 _ACEOF
4420 rm -f conftest.$ac_objext conftest$ac_exeext
4421 if { (ac_try="$ac_link"
4422 case "(($ac_try" in
4423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4424 *) ac_try_echo=$ac_try;;
4425 esac
4426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4427 (eval "$ac_link") 2>conftest.er1
4428 ac_status=$?
4429 grep -v '^ *+' conftest.er1 >conftest.err
4430 rm -f conftest.er1
4431 cat conftest.err >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } && {
4434 test -z "$ac_c_werror_flag" ||
4435 test ! -s conftest.err
4436 } && test -s conftest$ac_exeext &&
4437 $as_test_x conftest$ac_exeext; then
4438 ac_cv_lib_bsd_gethostbyname=yes
4439 else
4440 echo "$as_me: failed program was:" >&5
4441 sed 's/^/| /' conftest.$ac_ext >&5
4443 ac_cv_lib_bsd_gethostbyname=no
4446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4447 conftest$ac_exeext conftest.$ac_ext
4448 LIBS=$ac_check_lib_save_LIBS
4450 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4451 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4452 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4453 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4459 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4460 # socket/setsockopt and other routines are undefined under SCO ODT
4461 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4462 # on later versions), says Simon Leinen: it contains gethostby*
4463 # variants that don't use the name server (or something). -lsocket
4464 # must be given before -lnsl if both are needed. We assume that
4465 # if connect needs -lnsl, so does gethostbyname.
4466 { echo "$as_me:$LINENO: checking for connect" >&5
4467 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4468 if test "${ac_cv_func_connect+set}" = set; then
4469 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 else
4471 cat >conftest.$ac_ext <<_ACEOF
4472 /* confdefs.h. */
4473 _ACEOF
4474 cat confdefs.h >>conftest.$ac_ext
4475 cat >>conftest.$ac_ext <<_ACEOF
4476 /* end confdefs.h. */
4477 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4479 #define connect innocuous_connect
4481 /* System header to define __stub macros and hopefully few prototypes,
4482 which can conflict with char connect (); below.
4483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4484 <limits.h> exists even on freestanding compilers. */
4486 #ifdef __STDC__
4487 # include <limits.h>
4488 #else
4489 # include <assert.h>
4490 #endif
4492 #undef connect
4494 /* Override any GCC internal prototype to avoid an error.
4495 Use char because int might match the return type of a GCC
4496 builtin and then its argument prototype would still apply. */
4497 #ifdef __cplusplus
4498 extern "C"
4499 #endif
4500 char connect ();
4501 /* The GNU C library defines this for functions which it implements
4502 to always fail with ENOSYS. Some functions are actually named
4503 something starting with __ and the normal name is an alias. */
4504 #if defined __stub_connect || defined __stub___connect
4505 choke me
4506 #endif
4509 main ()
4511 return connect ();
4513 return 0;
4515 _ACEOF
4516 rm -f conftest.$ac_objext conftest$ac_exeext
4517 if { (ac_try="$ac_link"
4518 case "(($ac_try" in
4519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4520 *) ac_try_echo=$ac_try;;
4521 esac
4522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4523 (eval "$ac_link") 2>conftest.er1
4524 ac_status=$?
4525 grep -v '^ *+' conftest.er1 >conftest.err
4526 rm -f conftest.er1
4527 cat conftest.err >&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); } && {
4530 test -z "$ac_c_werror_flag" ||
4531 test ! -s conftest.err
4532 } && test -s conftest$ac_exeext &&
4533 $as_test_x conftest$ac_exeext; then
4534 ac_cv_func_connect=yes
4535 else
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4539 ac_cv_func_connect=no
4542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4543 conftest$ac_exeext conftest.$ac_ext
4545 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4546 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4548 if test $ac_cv_func_connect = no; then
4549 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4550 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4551 if test "${ac_cv_lib_socket_connect+set}" = set; then
4552 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 else
4554 ac_check_lib_save_LIBS=$LIBS
4555 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4556 cat >conftest.$ac_ext <<_ACEOF
4557 /* confdefs.h. */
4558 _ACEOF
4559 cat confdefs.h >>conftest.$ac_ext
4560 cat >>conftest.$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4563 /* Override any GCC internal prototype to avoid an error.
4564 Use char because int might match the return type of a GCC
4565 builtin and then its argument prototype would still apply. */
4566 #ifdef __cplusplus
4567 extern "C"
4568 #endif
4569 char connect ();
4571 main ()
4573 return connect ();
4575 return 0;
4577 _ACEOF
4578 rm -f conftest.$ac_objext conftest$ac_exeext
4579 if { (ac_try="$ac_link"
4580 case "(($ac_try" in
4581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4582 *) ac_try_echo=$ac_try;;
4583 esac
4584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4585 (eval "$ac_link") 2>conftest.er1
4586 ac_status=$?
4587 grep -v '^ *+' conftest.er1 >conftest.err
4588 rm -f conftest.er1
4589 cat conftest.err >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } && {
4592 test -z "$ac_c_werror_flag" ||
4593 test ! -s conftest.err
4594 } && test -s conftest$ac_exeext &&
4595 $as_test_x conftest$ac_exeext; then
4596 ac_cv_lib_socket_connect=yes
4597 else
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.$ac_ext >&5
4601 ac_cv_lib_socket_connect=no
4604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4605 conftest$ac_exeext conftest.$ac_ext
4606 LIBS=$ac_check_lib_save_LIBS
4608 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4609 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4610 if test $ac_cv_lib_socket_connect = yes; then
4611 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4616 # Guillermo Gomez says -lposix is necessary on A/UX.
4617 { echo "$as_me:$LINENO: checking for remove" >&5
4618 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4619 if test "${ac_cv_func_remove+set}" = set; then
4620 echo $ECHO_N "(cached) $ECHO_C" >&6
4621 else
4622 cat >conftest.$ac_ext <<_ACEOF
4623 /* confdefs.h. */
4624 _ACEOF
4625 cat confdefs.h >>conftest.$ac_ext
4626 cat >>conftest.$ac_ext <<_ACEOF
4627 /* end confdefs.h. */
4628 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4630 #define remove innocuous_remove
4632 /* System header to define __stub macros and hopefully few prototypes,
4633 which can conflict with char remove (); below.
4634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4635 <limits.h> exists even on freestanding compilers. */
4637 #ifdef __STDC__
4638 # include <limits.h>
4639 #else
4640 # include <assert.h>
4641 #endif
4643 #undef remove
4645 /* Override any GCC internal prototype to avoid an error.
4646 Use char because int might match the return type of a GCC
4647 builtin and then its argument prototype would still apply. */
4648 #ifdef __cplusplus
4649 extern "C"
4650 #endif
4651 char remove ();
4652 /* The GNU C library defines this for functions which it implements
4653 to always fail with ENOSYS. Some functions are actually named
4654 something starting with __ and the normal name is an alias. */
4655 #if defined __stub_remove || defined __stub___remove
4656 choke me
4657 #endif
4660 main ()
4662 return remove ();
4664 return 0;
4666 _ACEOF
4667 rm -f conftest.$ac_objext conftest$ac_exeext
4668 if { (ac_try="$ac_link"
4669 case "(($ac_try" in
4670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4671 *) ac_try_echo=$ac_try;;
4672 esac
4673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4674 (eval "$ac_link") 2>conftest.er1
4675 ac_status=$?
4676 grep -v '^ *+' conftest.er1 >conftest.err
4677 rm -f conftest.er1
4678 cat conftest.err >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } && {
4681 test -z "$ac_c_werror_flag" ||
4682 test ! -s conftest.err
4683 } && test -s conftest$ac_exeext &&
4684 $as_test_x conftest$ac_exeext; then
4685 ac_cv_func_remove=yes
4686 else
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.$ac_ext >&5
4690 ac_cv_func_remove=no
4693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4694 conftest$ac_exeext conftest.$ac_ext
4696 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4697 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4699 if test $ac_cv_func_remove = no; then
4700 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4701 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4702 if test "${ac_cv_lib_posix_remove+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4704 else
4705 ac_check_lib_save_LIBS=$LIBS
4706 LIBS="-lposix $LIBS"
4707 cat >conftest.$ac_ext <<_ACEOF
4708 /* confdefs.h. */
4709 _ACEOF
4710 cat confdefs.h >>conftest.$ac_ext
4711 cat >>conftest.$ac_ext <<_ACEOF
4712 /* end confdefs.h. */
4714 /* Override any GCC internal prototype to avoid an error.
4715 Use char because int might match the return type of a GCC
4716 builtin and then its argument prototype would still apply. */
4717 #ifdef __cplusplus
4718 extern "C"
4719 #endif
4720 char remove ();
4722 main ()
4724 return remove ();
4726 return 0;
4728 _ACEOF
4729 rm -f conftest.$ac_objext conftest$ac_exeext
4730 if { (ac_try="$ac_link"
4731 case "(($ac_try" in
4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4733 *) ac_try_echo=$ac_try;;
4734 esac
4735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4736 (eval "$ac_link") 2>conftest.er1
4737 ac_status=$?
4738 grep -v '^ *+' conftest.er1 >conftest.err
4739 rm -f conftest.er1
4740 cat conftest.err >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } && {
4743 test -z "$ac_c_werror_flag" ||
4744 test ! -s conftest.err
4745 } && test -s conftest$ac_exeext &&
4746 $as_test_x conftest$ac_exeext; then
4747 ac_cv_lib_posix_remove=yes
4748 else
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4752 ac_cv_lib_posix_remove=no
4755 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4756 conftest$ac_exeext conftest.$ac_ext
4757 LIBS=$ac_check_lib_save_LIBS
4759 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4760 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4761 if test $ac_cv_lib_posix_remove = yes; then
4762 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4767 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4768 { echo "$as_me:$LINENO: checking for shmat" >&5
4769 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4770 if test "${ac_cv_func_shmat+set}" = set; then
4771 echo $ECHO_N "(cached) $ECHO_C" >&6
4772 else
4773 cat >conftest.$ac_ext <<_ACEOF
4774 /* confdefs.h. */
4775 _ACEOF
4776 cat confdefs.h >>conftest.$ac_ext
4777 cat >>conftest.$ac_ext <<_ACEOF
4778 /* end confdefs.h. */
4779 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4781 #define shmat innocuous_shmat
4783 /* System header to define __stub macros and hopefully few prototypes,
4784 which can conflict with char shmat (); below.
4785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4786 <limits.h> exists even on freestanding compilers. */
4788 #ifdef __STDC__
4789 # include <limits.h>
4790 #else
4791 # include <assert.h>
4792 #endif
4794 #undef shmat
4796 /* Override any GCC internal prototype to avoid an error.
4797 Use char because int might match the return type of a GCC
4798 builtin and then its argument prototype would still apply. */
4799 #ifdef __cplusplus
4800 extern "C"
4801 #endif
4802 char shmat ();
4803 /* The GNU C library defines this for functions which it implements
4804 to always fail with ENOSYS. Some functions are actually named
4805 something starting with __ and the normal name is an alias. */
4806 #if defined __stub_shmat || defined __stub___shmat
4807 choke me
4808 #endif
4811 main ()
4813 return shmat ();
4815 return 0;
4817 _ACEOF
4818 rm -f conftest.$ac_objext conftest$ac_exeext
4819 if { (ac_try="$ac_link"
4820 case "(($ac_try" in
4821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4822 *) ac_try_echo=$ac_try;;
4823 esac
4824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4825 (eval "$ac_link") 2>conftest.er1
4826 ac_status=$?
4827 grep -v '^ *+' conftest.er1 >conftest.err
4828 rm -f conftest.er1
4829 cat conftest.err >&5
4830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4831 (exit $ac_status); } && {
4832 test -z "$ac_c_werror_flag" ||
4833 test ! -s conftest.err
4834 } && test -s conftest$ac_exeext &&
4835 $as_test_x conftest$ac_exeext; then
4836 ac_cv_func_shmat=yes
4837 else
4838 echo "$as_me: failed program was:" >&5
4839 sed 's/^/| /' conftest.$ac_ext >&5
4841 ac_cv_func_shmat=no
4844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4845 conftest$ac_exeext conftest.$ac_ext
4847 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4848 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4850 if test $ac_cv_func_shmat = no; then
4851 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4852 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4853 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4854 echo $ECHO_N "(cached) $ECHO_C" >&6
4855 else
4856 ac_check_lib_save_LIBS=$LIBS
4857 LIBS="-lipc $LIBS"
4858 cat >conftest.$ac_ext <<_ACEOF
4859 /* confdefs.h. */
4860 _ACEOF
4861 cat confdefs.h >>conftest.$ac_ext
4862 cat >>conftest.$ac_ext <<_ACEOF
4863 /* end confdefs.h. */
4865 /* Override any GCC internal prototype to avoid an error.
4866 Use char because int might match the return type of a GCC
4867 builtin and then its argument prototype would still apply. */
4868 #ifdef __cplusplus
4869 extern "C"
4870 #endif
4871 char shmat ();
4873 main ()
4875 return shmat ();
4877 return 0;
4879 _ACEOF
4880 rm -f conftest.$ac_objext conftest$ac_exeext
4881 if { (ac_try="$ac_link"
4882 case "(($ac_try" in
4883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4884 *) ac_try_echo=$ac_try;;
4885 esac
4886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4887 (eval "$ac_link") 2>conftest.er1
4888 ac_status=$?
4889 grep -v '^ *+' conftest.er1 >conftest.err
4890 rm -f conftest.er1
4891 cat conftest.err >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); } && {
4894 test -z "$ac_c_werror_flag" ||
4895 test ! -s conftest.err
4896 } && test -s conftest$ac_exeext &&
4897 $as_test_x conftest$ac_exeext; then
4898 ac_cv_lib_ipc_shmat=yes
4899 else
4900 echo "$as_me: failed program was:" >&5
4901 sed 's/^/| /' conftest.$ac_ext >&5
4903 ac_cv_lib_ipc_shmat=no
4906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4907 conftest$ac_exeext conftest.$ac_ext
4908 LIBS=$ac_check_lib_save_LIBS
4910 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4911 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4912 if test $ac_cv_lib_ipc_shmat = yes; then
4913 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4919 # Check for libraries that X11R6 Xt/Xaw programs need.
4920 ac_save_LDFLAGS=$LDFLAGS
4921 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4922 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4923 # check for ICE first), but we must link in the order -lSM -lICE or
4924 # we get undefined symbols. So assume we have SM if we have ICE.
4925 # These have to be linked with before -lX11, unlike the other
4926 # libraries we check for below, so use a different variable.
4927 # John Interrante, Karl Berry
4928 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4929 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4930 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4931 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 else
4933 ac_check_lib_save_LIBS=$LIBS
4934 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4935 cat >conftest.$ac_ext <<_ACEOF
4936 /* confdefs.h. */
4937 _ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4942 /* Override any GCC internal prototype to avoid an error.
4943 Use char because int might match the return type of a GCC
4944 builtin and then its argument prototype would still apply. */
4945 #ifdef __cplusplus
4946 extern "C"
4947 #endif
4948 char IceConnectionNumber ();
4950 main ()
4952 return IceConnectionNumber ();
4954 return 0;
4956 _ACEOF
4957 rm -f conftest.$ac_objext conftest$ac_exeext
4958 if { (ac_try="$ac_link"
4959 case "(($ac_try" in
4960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4961 *) ac_try_echo=$ac_try;;
4962 esac
4963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4964 (eval "$ac_link") 2>conftest.er1
4965 ac_status=$?
4966 grep -v '^ *+' conftest.er1 >conftest.err
4967 rm -f conftest.er1
4968 cat conftest.err >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); } && {
4971 test -z "$ac_c_werror_flag" ||
4972 test ! -s conftest.err
4973 } && test -s conftest$ac_exeext &&
4974 $as_test_x conftest$ac_exeext; then
4975 ac_cv_lib_ICE_IceConnectionNumber=yes
4976 else
4977 echo "$as_me: failed program was:" >&5
4978 sed 's/^/| /' conftest.$ac_ext >&5
4980 ac_cv_lib_ICE_IceConnectionNumber=no
4983 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4984 conftest$ac_exeext conftest.$ac_ext
4985 LIBS=$ac_check_lib_save_LIBS
4987 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4988 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4989 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4990 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4993 LDFLAGS=$ac_save_LDFLAGS
4998 for ac_prog in flex
5000 # Extract the first word of "$ac_prog", so it can be a program name with args.
5001 set dummy $ac_prog; ac_word=$2
5002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5004 if test "${ac_cv_prog_FLEX+set}" = set; then
5005 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 else
5007 if test -n "$FLEX"; then
5008 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5009 else
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5011 for as_dir in $PATH
5013 IFS=$as_save_IFS
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5017 ac_cv_prog_FLEX="$ac_prog"
5018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5019 break 2
5021 done
5022 done
5023 IFS=$as_save_IFS
5027 FLEX=$ac_cv_prog_FLEX
5028 if test -n "$FLEX"; then
5029 { echo "$as_me:$LINENO: result: $FLEX" >&5
5030 echo "${ECHO_T}$FLEX" >&6; }
5031 else
5032 { echo "$as_me:$LINENO: result: no" >&5
5033 echo "${ECHO_T}no" >&6; }
5037 test -n "$FLEX" && break
5038 done
5039 test -n "$FLEX" || FLEX="none"
5041 if test "$FLEX" = "none"
5042 then
5043 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5044 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5045 { (exit 1); exit 1; }; }
5048 for ac_prog in bison
5050 # Extract the first word of "$ac_prog", so it can be a program name with args.
5051 set dummy $ac_prog; ac_word=$2
5052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5054 if test "${ac_cv_prog_BISON+set}" = set; then
5055 echo $ECHO_N "(cached) $ECHO_C" >&6
5056 else
5057 if test -n "$BISON"; then
5058 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5059 else
5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5061 for as_dir in $PATH
5063 IFS=$as_save_IFS
5064 test -z "$as_dir" && as_dir=.
5065 for ac_exec_ext in '' $ac_executable_extensions; do
5066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5067 ac_cv_prog_BISON="$ac_prog"
5068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 break 2
5071 done
5072 done
5073 IFS=$as_save_IFS
5077 BISON=$ac_cv_prog_BISON
5078 if test -n "$BISON"; then
5079 { echo "$as_me:$LINENO: result: $BISON" >&5
5080 echo "${ECHO_T}$BISON" >&6; }
5081 else
5082 { echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6; }
5087 test -n "$BISON" && break
5088 done
5089 test -n "$BISON" || BISON="none"
5091 if test "$BISON" = "none"
5092 then
5093 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5094 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5095 { (exit 1); exit 1; }; }
5098 if test -n "$ac_tool_prefix"; then
5099 for ac_prog in gas as
5101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5102 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5105 if test "${ac_cv_prog_AS+set}" = set; then
5106 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 else
5108 if test -n "$AS"; then
5109 ac_cv_prog_AS="$AS" # Let the user override the test.
5110 else
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 for as_dir in $PATH
5114 IFS=$as_save_IFS
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5118 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 break 2
5122 done
5123 done
5124 IFS=$as_save_IFS
5128 AS=$ac_cv_prog_AS
5129 if test -n "$AS"; then
5130 { echo "$as_me:$LINENO: result: $AS" >&5
5131 echo "${ECHO_T}$AS" >&6; }
5132 else
5133 { echo "$as_me:$LINENO: result: no" >&5
5134 echo "${ECHO_T}no" >&6; }
5138 test -n "$AS" && break
5139 done
5141 if test -z "$AS"; then
5142 ac_ct_AS=$AS
5143 for ac_prog in gas as
5145 # Extract the first word of "$ac_prog", so it can be a program name with args.
5146 set dummy $ac_prog; ac_word=$2
5147 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5149 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 else
5152 if test -n "$ac_ct_AS"; then
5153 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AS="$ac_prog"
5163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5173 if test -n "$ac_ct_AS"; then
5174 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5175 echo "${ECHO_T}$ac_ct_AS" >&6; }
5176 else
5177 { echo "$as_me:$LINENO: result: no" >&5
5178 echo "${ECHO_T}no" >&6; }
5182 test -n "$ac_ct_AS" && break
5183 done
5185 if test "x$ac_ct_AS" = x; then
5186 AS="as"
5187 else
5188 case $cross_compiling:$ac_tool_warned in
5189 yes:)
5190 { echo "$as_me:$LINENO: 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." >&5
5193 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5194 whose name does not start with the host triplet. If you think this
5195 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198 AS=$ac_ct_AS
5202 if test -n "$ac_tool_prefix"; then
5203 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5204 set dummy ${ac_tool_prefix}ld; ac_word=$2
5205 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5207 if test "${ac_cv_prog_LD+set}" = set; then
5208 echo $ECHO_N "(cached) $ECHO_C" >&6
5209 else
5210 if test -n "$LD"; then
5211 ac_cv_prog_LD="$LD" # Let the user override the test.
5212 else
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 for as_dir in $PATH
5216 IFS=$as_save_IFS
5217 test -z "$as_dir" && as_dir=.
5218 for ac_exec_ext in '' $ac_executable_extensions; do
5219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5220 ac_cv_prog_LD="${ac_tool_prefix}ld"
5221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5222 break 2
5224 done
5225 done
5226 IFS=$as_save_IFS
5230 LD=$ac_cv_prog_LD
5231 if test -n "$LD"; then
5232 { echo "$as_me:$LINENO: result: $LD" >&5
5233 echo "${ECHO_T}$LD" >&6; }
5234 else
5235 { echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6; }
5241 if test -z "$ac_cv_prog_LD"; then
5242 ac_ct_LD=$LD
5243 # Extract the first word of "ld", so it can be a program name with args.
5244 set dummy ld; ac_word=$2
5245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5247 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5248 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 else
5250 if test -n "$ac_ct_LD"; then
5251 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5252 else
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5254 for as_dir in $PATH
5256 IFS=$as_save_IFS
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5260 ac_cv_prog_ac_ct_LD="ld"
5261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5262 break 2
5264 done
5265 done
5266 IFS=$as_save_IFS
5270 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5271 if test -n "$ac_ct_LD"; then
5272 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5273 echo "${ECHO_T}$ac_ct_LD" >&6; }
5274 else
5275 { echo "$as_me:$LINENO: result: no" >&5
5276 echo "${ECHO_T}no" >&6; }
5279 if test "x$ac_ct_LD" = x; then
5280 LD="ld"
5281 else
5282 case $cross_compiling:$ac_tool_warned in
5283 yes:)
5284 { echo "$as_me:$LINENO: 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." >&5
5287 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5288 whose name does not start with the host triplet. If you think this
5289 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5290 ac_tool_warned=yes ;;
5291 esac
5292 LD=$ac_ct_LD
5294 else
5295 LD="$ac_cv_prog_LD"
5298 if test -n "$ac_tool_prefix"; then
5299 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5300 set dummy ${ac_tool_prefix}ar; ac_word=$2
5301 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5303 if test "${ac_cv_prog_AR+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5305 else
5306 if test -n "$AR"; then
5307 ac_cv_prog_AR="$AR" # Let the user override the test.
5308 else
5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 for as_dir in $PATH
5312 IFS=$as_save_IFS
5313 test -z "$as_dir" && as_dir=.
5314 for ac_exec_ext in '' $ac_executable_extensions; do
5315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5316 ac_cv_prog_AR="${ac_tool_prefix}ar"
5317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 break 2
5320 done
5321 done
5322 IFS=$as_save_IFS
5326 AR=$ac_cv_prog_AR
5327 if test -n "$AR"; then
5328 { echo "$as_me:$LINENO: result: $AR" >&5
5329 echo "${ECHO_T}$AR" >&6; }
5330 else
5331 { echo "$as_me:$LINENO: result: no" >&5
5332 echo "${ECHO_T}no" >&6; }
5337 if test -z "$ac_cv_prog_AR"; then
5338 ac_ct_AR=$AR
5339 # Extract the first word of "ar", so it can be a program name with args.
5340 set dummy ar; ac_word=$2
5341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5343 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 else
5346 if test -n "$ac_ct_AR"; then
5347 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356 ac_cv_prog_ac_ct_AR="ar"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5362 IFS=$as_save_IFS
5366 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5367 if test -n "$ac_ct_AR"; then
5368 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5369 echo "${ECHO_T}$ac_ct_AR" >&6; }
5370 else
5371 { echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6; }
5375 if test "x$ac_ct_AR" = x; then
5376 AR="ar"
5377 else
5378 case $cross_compiling:$ac_tool_warned in
5379 yes:)
5380 { echo "$as_me:$LINENO: 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." >&5
5383 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5384 whose name does not start with the host triplet. If you think this
5385 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5386 ac_tool_warned=yes ;;
5387 esac
5388 AR=$ac_ct_AR
5390 else
5391 AR="$ac_cv_prog_AR"
5394 if test -n "$ac_tool_prefix"; then
5395 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5396 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5399 if test "${ac_cv_prog_RANLIB+set}" = set; then
5400 echo $ECHO_N "(cached) $ECHO_C" >&6
5401 else
5402 if test -n "$RANLIB"; then
5403 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5404 else
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5412 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 break 2
5416 done
5417 done
5418 IFS=$as_save_IFS
5422 RANLIB=$ac_cv_prog_RANLIB
5423 if test -n "$RANLIB"; then
5424 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5425 echo "${ECHO_T}$RANLIB" >&6; }
5426 else
5427 { echo "$as_me:$LINENO: result: no" >&5
5428 echo "${ECHO_T}no" >&6; }
5433 if test -z "$ac_cv_prog_RANLIB"; then
5434 ac_ct_RANLIB=$RANLIB
5435 # Extract the first word of "ranlib", so it can be a program name with args.
5436 set dummy ranlib; ac_word=$2
5437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5439 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 else
5442 if test -n "$ac_ct_RANLIB"; then
5443 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5444 else
5445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 for as_dir in $PATH
5448 IFS=$as_save_IFS
5449 test -z "$as_dir" && as_dir=.
5450 for ac_exec_ext in '' $ac_executable_extensions; do
5451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5452 ac_cv_prog_ac_ct_RANLIB="ranlib"
5453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5454 break 2
5456 done
5457 done
5458 IFS=$as_save_IFS
5462 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5463 if test -n "$ac_ct_RANLIB"; then
5464 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5465 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5466 else
5467 { echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6; }
5471 if test "x$ac_ct_RANLIB" = x; then
5472 RANLIB=":"
5473 else
5474 case $cross_compiling:$ac_tool_warned in
5475 yes:)
5476 { echo "$as_me:$LINENO: 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." >&5
5479 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5480 whose name does not start with the host triplet. If you think this
5481 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5482 ac_tool_warned=yes ;;
5483 esac
5484 RANLIB=$ac_ct_RANLIB
5486 else
5487 RANLIB="$ac_cv_prog_RANLIB"
5490 if test -n "$ac_tool_prefix"; then
5491 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5492 set dummy ${ac_tool_prefix}strip; ac_word=$2
5493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5495 if test "${ac_cv_prog_STRIP+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5497 else
5498 if test -n "$STRIP"; then
5499 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5500 else
5501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 for as_dir in $PATH
5504 IFS=$as_save_IFS
5505 test -z "$as_dir" && as_dir=.
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5508 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5510 break 2
5512 done
5513 done
5514 IFS=$as_save_IFS
5518 STRIP=$ac_cv_prog_STRIP
5519 if test -n "$STRIP"; then
5520 { echo "$as_me:$LINENO: result: $STRIP" >&5
5521 echo "${ECHO_T}$STRIP" >&6; }
5522 else
5523 { echo "$as_me:$LINENO: result: no" >&5
5524 echo "${ECHO_T}no" >&6; }
5529 if test -z "$ac_cv_prog_STRIP"; then
5530 ac_ct_STRIP=$STRIP
5531 # Extract the first word of "strip", so it can be a program name with args.
5532 set dummy strip; ac_word=$2
5533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5535 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5537 else
5538 if test -n "$ac_ct_STRIP"; then
5539 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5540 else
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 for as_dir in $PATH
5544 IFS=$as_save_IFS
5545 test -z "$as_dir" && as_dir=.
5546 for ac_exec_ext in '' $ac_executable_extensions; do
5547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5548 ac_cv_prog_ac_ct_STRIP="strip"
5549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5550 break 2
5552 done
5553 done
5554 IFS=$as_save_IFS
5558 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5559 if test -n "$ac_ct_STRIP"; then
5560 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5561 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5562 else
5563 { echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6; }
5567 if test "x$ac_ct_STRIP" = x; then
5568 STRIP="strip"
5569 else
5570 case $cross_compiling:$ac_tool_warned in
5571 yes:)
5572 { echo "$as_me:$LINENO: 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." >&5
5575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5576 whose name does not start with the host triplet. If you think this
5577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5578 ac_tool_warned=yes ;;
5579 esac
5580 STRIP=$ac_ct_STRIP
5582 else
5583 STRIP="$ac_cv_prog_STRIP"
5586 if test -n "$ac_tool_prefix"; then
5587 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5588 set dummy ${ac_tool_prefix}windres; ac_word=$2
5589 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5590 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5591 if test "${ac_cv_prog_WINDRES+set}" = set; then
5592 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 else
5594 if test -n "$WINDRES"; then
5595 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5596 else
5597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5598 for as_dir in $PATH
5600 IFS=$as_save_IFS
5601 test -z "$as_dir" && as_dir=.
5602 for ac_exec_ext in '' $ac_executable_extensions; do
5603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5604 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5606 break 2
5608 done
5609 done
5610 IFS=$as_save_IFS
5614 WINDRES=$ac_cv_prog_WINDRES
5615 if test -n "$WINDRES"; then
5616 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5617 echo "${ECHO_T}$WINDRES" >&6; }
5618 else
5619 { echo "$as_me:$LINENO: result: no" >&5
5620 echo "${ECHO_T}no" >&6; }
5625 if test -z "$ac_cv_prog_WINDRES"; then
5626 ac_ct_WINDRES=$WINDRES
5627 # Extract the first word of "windres", so it can be a program name with args.
5628 set dummy windres; ac_word=$2
5629 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5630 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5631 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5632 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 else
5634 if test -n "$ac_ct_WINDRES"; then
5635 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5636 else
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 for as_dir in $PATH
5640 IFS=$as_save_IFS
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5644 ac_cv_prog_ac_ct_WINDRES="windres"
5645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 break 2
5648 done
5649 done
5650 IFS=$as_save_IFS
5654 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5655 if test -n "$ac_ct_WINDRES"; then
5656 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5657 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5658 else
5659 { echo "$as_me:$LINENO: result: no" >&5
5660 echo "${ECHO_T}no" >&6; }
5663 if test "x$ac_ct_WINDRES" = x; then
5664 WINDRES="false"
5665 else
5666 case $cross_compiling:$ac_tool_warned in
5667 yes:)
5668 { echo "$as_me:$LINENO: 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." >&5
5671 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5672 whose name does not start with the host triplet. If you think this
5673 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5674 ac_tool_warned=yes ;;
5675 esac
5676 WINDRES=$ac_ct_WINDRES
5678 else
5679 WINDRES="$ac_cv_prog_WINDRES"
5682 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5683 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5684 LN_S=$as_ln_s
5685 if test "$LN_S" = "ln -s"; then
5686 { echo "$as_me:$LINENO: result: yes" >&5
5687 echo "${ECHO_T}yes" >&6; }
5688 else
5689 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5690 echo "${ECHO_T}no, using $LN_S" >&6; }
5693 { echo "$as_me:$LINENO: checking whether ln works" >&5
5694 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5695 rm -f conf$$ conf$$.file
5696 echo >conf$$.file
5697 if ln conf$$.file conf$$ 2>/dev/null; then
5698 LN=ln
5700 { echo "$as_me:$LINENO: result: yes" >&5
5701 echo "${ECHO_T}yes" >&6; }
5702 else
5703 LN="cp -p"
5705 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5706 echo "${ECHO_T}no, using $LN" >&6; }
5708 rm -f conf$$ conf$$.file
5709 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5710 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5711 if test "${ac_cv_path_GREP+set}" = set; then
5712 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 else
5714 # Extract the first word of "grep ggrep" to use in msg output
5715 if test -z "$GREP"; then
5716 set dummy grep ggrep; ac_prog_name=$2
5717 if test "${ac_cv_path_GREP+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5719 else
5720 ac_path_GREP_found=false
5721 # Loop through the user's path and test for each of PROGNAME-LIST
5722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5723 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5725 IFS=$as_save_IFS
5726 test -z "$as_dir" && as_dir=.
5727 for ac_prog in grep ggrep; do
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5730 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5731 # Check for GNU ac_path_GREP and select it if it is found.
5732 # Check for GNU $ac_path_GREP
5733 case `"$ac_path_GREP" --version 2>&1` in
5734 *GNU*)
5735 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5737 ac_count=0
5738 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5739 while :
5741 cat "conftest.in" "conftest.in" >"conftest.tmp"
5742 mv "conftest.tmp" "conftest.in"
5743 cp "conftest.in" "conftest.nl"
5744 echo 'GREP' >> "conftest.nl"
5745 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5746 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5747 ac_count=`expr $ac_count + 1`
5748 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5749 # Best one so far, save it but keep looking for a better one
5750 ac_cv_path_GREP="$ac_path_GREP"
5751 ac_path_GREP_max=$ac_count
5753 # 10*(2^10) chars as input seems more than enough
5754 test $ac_count -gt 10 && break
5755 done
5756 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5757 esac
5760 $ac_path_GREP_found && break 3
5761 done
5762 done
5764 done
5765 IFS=$as_save_IFS
5770 GREP="$ac_cv_path_GREP"
5771 if test -z "$GREP"; then
5772 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5773 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5774 { (exit 1); exit 1; }; }
5777 else
5778 ac_cv_path_GREP=$GREP
5783 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5784 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5785 GREP="$ac_cv_path_GREP"
5788 { echo "$as_me:$LINENO: checking for egrep" >&5
5789 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5790 if test "${ac_cv_path_EGREP+set}" = set; then
5791 echo $ECHO_N "(cached) $ECHO_C" >&6
5792 else
5793 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5794 then ac_cv_path_EGREP="$GREP -E"
5795 else
5796 # Extract the first word of "egrep" to use in msg output
5797 if test -z "$EGREP"; then
5798 set dummy egrep; ac_prog_name=$2
5799 if test "${ac_cv_path_EGREP+set}" = set; then
5800 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 else
5802 ac_path_EGREP_found=false
5803 # Loop through the user's path and test for each of PROGNAME-LIST
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_prog in egrep; do
5810 for ac_exec_ext in '' $ac_executable_extensions; do
5811 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5812 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5813 # Check for GNU ac_path_EGREP and select it if it is found.
5814 # Check for GNU $ac_path_EGREP
5815 case `"$ac_path_EGREP" --version 2>&1` in
5816 *GNU*)
5817 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5819 ac_count=0
5820 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5821 while :
5823 cat "conftest.in" "conftest.in" >"conftest.tmp"
5824 mv "conftest.tmp" "conftest.in"
5825 cp "conftest.in" "conftest.nl"
5826 echo 'EGREP' >> "conftest.nl"
5827 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5828 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5829 ac_count=`expr $ac_count + 1`
5830 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5831 # Best one so far, save it but keep looking for a better one
5832 ac_cv_path_EGREP="$ac_path_EGREP"
5833 ac_path_EGREP_max=$ac_count
5835 # 10*(2^10) chars as input seems more than enough
5836 test $ac_count -gt 10 && break
5837 done
5838 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5839 esac
5842 $ac_path_EGREP_found && break 3
5843 done
5844 done
5846 done
5847 IFS=$as_save_IFS
5852 EGREP="$ac_cv_path_EGREP"
5853 if test -z "$EGREP"; then
5854 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5855 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5856 { (exit 1); exit 1; }; }
5859 else
5860 ac_cv_path_EGREP=$EGREP
5866 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5867 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5868 EGREP="$ac_cv_path_EGREP"
5871 # Extract the first word of "ldconfig", so it can be a program name with args.
5872 set dummy ldconfig; ac_word=$2
5873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5875 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5876 echo $ECHO_N "(cached) $ECHO_C" >&6
5877 else
5878 case $LDCONFIG in
5879 [\\/]* | ?:[\\/]*)
5880 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5884 for as_dir in /sbin /usr/sbin $PATH
5886 IFS=$as_save_IFS
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5890 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 break 2
5894 done
5895 done
5896 IFS=$as_save_IFS
5898 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5900 esac
5902 LDCONFIG=$ac_cv_path_LDCONFIG
5903 if test -n "$LDCONFIG"; then
5904 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5905 echo "${ECHO_T}$LDCONFIG" >&6; }
5906 else
5907 { echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6; }
5912 # Find a good install program. We prefer a C program (faster),
5913 # so one script is as good as another. But avoid the broken or
5914 # incompatible versions:
5915 # SysV /etc/install, /usr/sbin/install
5916 # SunOS /usr/etc/install
5917 # IRIX /sbin/install
5918 # AIX /bin/install
5919 # AmigaOS /C/install, which installs bootblocks on floppy discs
5920 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5921 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5922 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5923 # OS/2's system install, which has a completely different semantic
5924 # ./install, which can be erroneously created by make from ./install.sh.
5925 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5926 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5927 if test -z "$INSTALL"; then
5928 if test "${ac_cv_path_install+set}" = set; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5930 else
5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5932 for as_dir in $PATH
5934 IFS=$as_save_IFS
5935 test -z "$as_dir" && as_dir=.
5936 # Account for people who put trailing slashes in PATH elements.
5937 case $as_dir/ in
5938 ./ | .// | /cC/* | \
5939 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5940 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5941 /usr/ucb/* ) ;;
5943 # OSF1 and SCO ODT 3.0 have their own names for install.
5944 # Don't use installbsd from OSF since it installs stuff as root
5945 # by default.
5946 for ac_prog in ginstall scoinst install; do
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5949 if test $ac_prog = install &&
5950 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5951 # AIX install. It has an incompatible calling convention.
5953 elif test $ac_prog = install &&
5954 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5955 # program-specific install script used by HP pwplus--don't use.
5957 else
5958 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5959 break 3
5962 done
5963 done
5965 esac
5966 done
5967 IFS=$as_save_IFS
5971 if test "${ac_cv_path_install+set}" = set; then
5972 INSTALL=$ac_cv_path_install
5973 else
5974 # As a last resort, use the slow shell script. Don't cache a
5975 # value for INSTALL within a source directory, because that will
5976 # break other packages using the cache if that directory is
5977 # removed, or if the value is a relative name.
5978 INSTALL=$ac_install_sh
5981 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5982 echo "${ECHO_T}$INSTALL" >&6; }
5984 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5985 # It thinks the first close brace ends the variable substitution.
5986 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5988 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5990 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5992 case "$INSTALL" in
5993 [\\/$]* | ?:[\\/]* ) ;;
5994 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5995 esac
5997 for ac_prog in lclint lint
5999 # Extract the first word of "$ac_prog", so it can be a program name with args.
6000 set dummy $ac_prog; ac_word=$2
6001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6003 if test "${ac_cv_prog_LINT+set}" = set; then
6004 echo $ECHO_N "(cached) $ECHO_C" >&6
6005 else
6006 if test -n "$LINT"; then
6007 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6008 else
6009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6010 for as_dir in $PATH
6012 IFS=$as_save_IFS
6013 test -z "$as_dir" && as_dir=.
6014 for ac_exec_ext in '' $ac_executable_extensions; do
6015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6016 ac_cv_prog_LINT="$ac_prog"
6017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6018 break 2
6020 done
6021 done
6022 IFS=$as_save_IFS
6026 LINT=$ac_cv_prog_LINT
6027 if test -n "$LINT"; then
6028 { echo "$as_me:$LINENO: result: $LINT" >&5
6029 echo "${ECHO_T}$LINT" >&6; }
6030 else
6031 { echo "$as_me:$LINENO: result: no" >&5
6032 echo "${ECHO_T}no" >&6; }
6036 test -n "$LINT" && break
6037 done
6039 if test "$LINT" = "lint"
6040 then
6041 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6046 for ac_prog in fontforge
6048 # Extract the first word of "$ac_prog", so it can be a program name with args.
6049 set dummy $ac_prog; ac_word=$2
6050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6052 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6054 else
6055 if test -n "$FONTFORGE"; then
6056 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6057 else
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in $PATH
6061 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_FONTFORGE="$ac_prog"
6066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 break 2
6069 done
6070 done
6071 IFS=$as_save_IFS
6075 FONTFORGE=$ac_cv_prog_FONTFORGE
6076 if test -n "$FONTFORGE"; then
6077 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6078 echo "${ECHO_T}$FONTFORGE" >&6; }
6079 else
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6085 test -n "$FONTFORGE" && break
6086 done
6087 test -n "$FONTFORGE" || FONTFORGE="false"
6089 for ac_prog in pkg-config
6091 # Extract the first word of "$ac_prog", so it can be a program name with args.
6092 set dummy $ac_prog; ac_word=$2
6093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6095 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6096 echo $ECHO_N "(cached) $ECHO_C" >&6
6097 else
6098 if test -n "$PKG_CONFIG"; then
6099 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6104 IFS=$as_save_IFS
6105 test -z "$as_dir" && as_dir=.
6106 for ac_exec_ext in '' $ac_executable_extensions; do
6107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6108 ac_cv_prog_PKG_CONFIG="$ac_prog"
6109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6110 break 2
6112 done
6113 done
6114 IFS=$as_save_IFS
6118 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6119 if test -n "$PKG_CONFIG"; then
6120 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6121 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6122 else
6123 { echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6; }
6128 test -n "$PKG_CONFIG" && break
6129 done
6130 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6133 case $host_cpu in
6134 *i[3456789]86*)
6135 # Extract the first word of "prelink", so it can be a program name with args.
6136 set dummy prelink; ac_word=$2
6137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6139 if test "${ac_cv_path_PRELINK+set}" = set; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6141 else
6142 case $PRELINK in
6143 [\\/]* | ?:[\\/]*)
6144 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in /sbin /usr/sbin $PATH
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6158 done
6159 done
6160 IFS=$as_save_IFS
6162 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6164 esac
6166 PRELINK=$ac_cv_path_PRELINK
6167 if test -n "$PRELINK"; then
6168 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6169 echo "${ECHO_T}$PRELINK" >&6; }
6170 else
6171 { echo "$as_me:$LINENO: result: no" >&5
6172 echo "${ECHO_T}no" >&6; }
6177 esac
6181 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6182 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6183 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6184 echo $ECHO_N "(cached) $ECHO_C" >&6
6185 else
6186 ac_check_lib_save_LIBS=$LIBS
6187 LIBS="-li386 $LIBS"
6188 cat >conftest.$ac_ext <<_ACEOF
6189 /* confdefs.h. */
6190 _ACEOF
6191 cat confdefs.h >>conftest.$ac_ext
6192 cat >>conftest.$ac_ext <<_ACEOF
6193 /* end confdefs.h. */
6195 /* Override any GCC internal prototype to avoid an error.
6196 Use char because int might match the return type of a GCC
6197 builtin and then its argument prototype would still apply. */
6198 #ifdef __cplusplus
6199 extern "C"
6200 #endif
6201 char i386_set_ldt ();
6203 main ()
6205 return i386_set_ldt ();
6207 return 0;
6209 _ACEOF
6210 rm -f conftest.$ac_objext conftest$ac_exeext
6211 if { (ac_try="$ac_link"
6212 case "(($ac_try" in
6213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6214 *) ac_try_echo=$ac_try;;
6215 esac
6216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6217 (eval "$ac_link") 2>conftest.er1
6218 ac_status=$?
6219 grep -v '^ *+' conftest.er1 >conftest.err
6220 rm -f conftest.er1
6221 cat conftest.err >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); } && {
6224 test -z "$ac_c_werror_flag" ||
6225 test ! -s conftest.err
6226 } && test -s conftest$ac_exeext &&
6227 $as_test_x conftest$ac_exeext; then
6228 ac_cv_lib_i386_i386_set_ldt=yes
6229 else
6230 echo "$as_me: failed program was:" >&5
6231 sed 's/^/| /' conftest.$ac_ext >&5
6233 ac_cv_lib_i386_i386_set_ldt=no
6236 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6237 conftest$ac_exeext conftest.$ac_ext
6238 LIBS=$ac_check_lib_save_LIBS
6240 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6241 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6242 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6243 cat >>confdefs.h <<_ACEOF
6244 #define HAVE_LIBI386 1
6245 _ACEOF
6247 LIBS="-li386 $LIBS"
6252 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6253 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6254 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6255 echo $ECHO_N "(cached) $ECHO_C" >&6
6256 else
6257 ac_check_lib_save_LIBS=$LIBS
6258 LIBS="-lossaudio $LIBS"
6259 cat >conftest.$ac_ext <<_ACEOF
6260 /* confdefs.h. */
6261 _ACEOF
6262 cat confdefs.h >>conftest.$ac_ext
6263 cat >>conftest.$ac_ext <<_ACEOF
6264 /* end confdefs.h. */
6266 /* Override any GCC internal prototype to avoid an error.
6267 Use char because int might match the return type of a GCC
6268 builtin and then its argument prototype would still apply. */
6269 #ifdef __cplusplus
6270 extern "C"
6271 #endif
6272 char _oss_ioctl ();
6274 main ()
6276 return _oss_ioctl ();
6278 return 0;
6280 _ACEOF
6281 rm -f conftest.$ac_objext conftest$ac_exeext
6282 if { (ac_try="$ac_link"
6283 case "(($ac_try" in
6284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6285 *) ac_try_echo=$ac_try;;
6286 esac
6287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6288 (eval "$ac_link") 2>conftest.er1
6289 ac_status=$?
6290 grep -v '^ *+' conftest.er1 >conftest.err
6291 rm -f conftest.er1
6292 cat conftest.err >&5
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); } && {
6295 test -z "$ac_c_werror_flag" ||
6296 test ! -s conftest.err
6297 } && test -s conftest$ac_exeext &&
6298 $as_test_x conftest$ac_exeext; then
6299 ac_cv_lib_ossaudio__oss_ioctl=yes
6300 else
6301 echo "$as_me: failed program was:" >&5
6302 sed 's/^/| /' conftest.$ac_ext >&5
6304 ac_cv_lib_ossaudio__oss_ioctl=no
6307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6308 conftest$ac_exeext conftest.$ac_ext
6309 LIBS=$ac_check_lib_save_LIBS
6311 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6312 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6313 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6314 cat >>confdefs.h <<_ACEOF
6315 #define HAVE_LIBOSSAUDIO 1
6316 _ACEOF
6318 LIBS="-lossaudio $LIBS"
6323 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6324 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6325 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6326 echo $ECHO_N "(cached) $ECHO_C" >&6
6327 else
6328 ac_check_lib_save_LIBS=$LIBS
6329 LIBS="-lxpg4 $LIBS"
6330 cat >conftest.$ac_ext <<_ACEOF
6331 /* confdefs.h. */
6332 _ACEOF
6333 cat confdefs.h >>conftest.$ac_ext
6334 cat >>conftest.$ac_ext <<_ACEOF
6335 /* end confdefs.h. */
6337 /* Override any GCC internal prototype to avoid an error.
6338 Use char because int might match the return type of a GCC
6339 builtin and then its argument prototype would still apply. */
6340 #ifdef __cplusplus
6341 extern "C"
6342 #endif
6343 char _xpg4_setrunelocale ();
6345 main ()
6347 return _xpg4_setrunelocale ();
6349 return 0;
6351 _ACEOF
6352 rm -f conftest.$ac_objext conftest$ac_exeext
6353 if { (ac_try="$ac_link"
6354 case "(($ac_try" in
6355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6356 *) ac_try_echo=$ac_try;;
6357 esac
6358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6359 (eval "$ac_link") 2>conftest.er1
6360 ac_status=$?
6361 grep -v '^ *+' conftest.er1 >conftest.err
6362 rm -f conftest.er1
6363 cat conftest.err >&5
6364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } && {
6366 test -z "$ac_c_werror_flag" ||
6367 test ! -s conftest.err
6368 } && test -s conftest$ac_exeext &&
6369 $as_test_x conftest$ac_exeext; then
6370 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6371 else
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5
6375 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6378 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6379 conftest$ac_exeext conftest.$ac_ext
6380 LIBS=$ac_check_lib_save_LIBS
6382 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6383 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6384 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6385 cat >>confdefs.h <<_ACEOF
6386 #define HAVE_LIBXPG4 1
6387 _ACEOF
6389 LIBS="-lxpg4 $LIBS"
6393 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6394 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6395 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6396 echo $ECHO_N "(cached) $ECHO_C" >&6
6397 else
6398 ac_check_lib_save_LIBS=$LIBS
6399 LIBS="-lpthread $LIBS"
6400 cat >conftest.$ac_ext <<_ACEOF
6401 /* confdefs.h. */
6402 _ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6407 /* Override any GCC internal prototype to avoid an error.
6408 Use char because int might match the return type of a GCC
6409 builtin and then its argument prototype would still apply. */
6410 #ifdef __cplusplus
6411 extern "C"
6412 #endif
6413 char pthread_create ();
6415 main ()
6417 return pthread_create ();
6419 return 0;
6421 _ACEOF
6422 rm -f conftest.$ac_objext conftest$ac_exeext
6423 if { (ac_try="$ac_link"
6424 case "(($ac_try" in
6425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6426 *) ac_try_echo=$ac_try;;
6427 esac
6428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6429 (eval "$ac_link") 2>conftest.er1
6430 ac_status=$?
6431 grep -v '^ *+' conftest.er1 >conftest.err
6432 rm -f conftest.er1
6433 cat conftest.err >&5
6434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6435 (exit $ac_status); } && {
6436 test -z "$ac_c_werror_flag" ||
6437 test ! -s conftest.err
6438 } && test -s conftest$ac_exeext &&
6439 $as_test_x conftest$ac_exeext; then
6440 ac_cv_lib_pthread_pthread_create=yes
6441 else
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.$ac_ext >&5
6445 ac_cv_lib_pthread_pthread_create=no
6448 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6449 conftest$ac_exeext conftest.$ac_ext
6450 LIBS=$ac_check_lib_save_LIBS
6452 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6453 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6454 if test $ac_cv_lib_pthread_pthread_create = yes; then
6455 LIBPTHREAD="-lpthread"
6460 XLIB=""
6462 XFILES=""
6464 OPENGLFILES=""
6466 GLU32FILES=""
6468 OPENGL_LIBS=""
6470 QUARTZFILES=""
6474 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6475 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6476 if test "${ac_cv_header_stdc+set}" = set; then
6477 echo $ECHO_N "(cached) $ECHO_C" >&6
6478 else
6479 cat >conftest.$ac_ext <<_ACEOF
6480 /* confdefs.h. */
6481 _ACEOF
6482 cat confdefs.h >>conftest.$ac_ext
6483 cat >>conftest.$ac_ext <<_ACEOF
6484 /* end confdefs.h. */
6485 #include <stdlib.h>
6486 #include <stdarg.h>
6487 #include <string.h>
6488 #include <float.h>
6491 main ()
6495 return 0;
6497 _ACEOF
6498 rm -f conftest.$ac_objext
6499 if { (ac_try="$ac_compile"
6500 case "(($ac_try" in
6501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6502 *) ac_try_echo=$ac_try;;
6503 esac
6504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6505 (eval "$ac_compile") 2>conftest.er1
6506 ac_status=$?
6507 grep -v '^ *+' conftest.er1 >conftest.err
6508 rm -f conftest.er1
6509 cat conftest.err >&5
6510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6511 (exit $ac_status); } && {
6512 test -z "$ac_c_werror_flag" ||
6513 test ! -s conftest.err
6514 } && test -s conftest.$ac_objext; then
6515 ac_cv_header_stdc=yes
6516 else
6517 echo "$as_me: failed program was:" >&5
6518 sed 's/^/| /' conftest.$ac_ext >&5
6520 ac_cv_header_stdc=no
6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6525 if test $ac_cv_header_stdc = yes; then
6526 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6527 cat >conftest.$ac_ext <<_ACEOF
6528 /* confdefs.h. */
6529 _ACEOF
6530 cat confdefs.h >>conftest.$ac_ext
6531 cat >>conftest.$ac_ext <<_ACEOF
6532 /* end confdefs.h. */
6533 #include <string.h>
6535 _ACEOF
6536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6537 $EGREP "memchr" >/dev/null 2>&1; then
6539 else
6540 ac_cv_header_stdc=no
6542 rm -f conftest*
6546 if test $ac_cv_header_stdc = yes; then
6547 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6548 cat >conftest.$ac_ext <<_ACEOF
6549 /* confdefs.h. */
6550 _ACEOF
6551 cat confdefs.h >>conftest.$ac_ext
6552 cat >>conftest.$ac_ext <<_ACEOF
6553 /* end confdefs.h. */
6554 #include <stdlib.h>
6556 _ACEOF
6557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6558 $EGREP "free" >/dev/null 2>&1; then
6560 else
6561 ac_cv_header_stdc=no
6563 rm -f conftest*
6567 if test $ac_cv_header_stdc = yes; then
6568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6569 if test "$cross_compiling" = yes; then
6571 else
6572 cat >conftest.$ac_ext <<_ACEOF
6573 /* confdefs.h. */
6574 _ACEOF
6575 cat confdefs.h >>conftest.$ac_ext
6576 cat >>conftest.$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6578 #include <ctype.h>
6579 #include <stdlib.h>
6580 #if ((' ' & 0x0FF) == 0x020)
6581 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6582 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6583 #else
6584 # define ISLOWER(c) \
6585 (('a' <= (c) && (c) <= 'i') \
6586 || ('j' <= (c) && (c) <= 'r') \
6587 || ('s' <= (c) && (c) <= 'z'))
6588 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6589 #endif
6591 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6593 main ()
6595 int i;
6596 for (i = 0; i < 256; i++)
6597 if (XOR (islower (i), ISLOWER (i))
6598 || toupper (i) != TOUPPER (i))
6599 return 2;
6600 return 0;
6602 _ACEOF
6603 rm -f conftest$ac_exeext
6604 if { (ac_try="$ac_link"
6605 case "(($ac_try" in
6606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6607 *) ac_try_echo=$ac_try;;
6608 esac
6609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6610 (eval "$ac_link") 2>&5
6611 ac_status=$?
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6614 { (case "(($ac_try" in
6615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6616 *) ac_try_echo=$ac_try;;
6617 esac
6618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6619 (eval "$ac_try") 2>&5
6620 ac_status=$?
6621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6622 (exit $ac_status); }; }; then
6624 else
6625 echo "$as_me: program exited with status $ac_status" >&5
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ( exit $ac_status )
6630 ac_cv_header_stdc=no
6632 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6638 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6639 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6640 if test $ac_cv_header_stdc = yes; then
6642 cat >>confdefs.h <<\_ACEOF
6643 #define STDC_HEADERS 1
6644 _ACEOF
6648 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6658 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6659 inttypes.h stdint.h unistd.h
6661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6662 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6664 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6666 else
6667 cat >conftest.$ac_ext <<_ACEOF
6668 /* confdefs.h. */
6669 _ACEOF
6670 cat confdefs.h >>conftest.$ac_ext
6671 cat >>conftest.$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6673 $ac_includes_default
6675 #include <$ac_header>
6676 _ACEOF
6677 rm -f conftest.$ac_objext
6678 if { (ac_try="$ac_compile"
6679 case "(($ac_try" in
6680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6681 *) ac_try_echo=$ac_try;;
6682 esac
6683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6684 (eval "$ac_compile") 2>conftest.er1
6685 ac_status=$?
6686 grep -v '^ *+' conftest.er1 >conftest.err
6687 rm -f conftest.er1
6688 cat conftest.err >&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } && {
6691 test -z "$ac_c_werror_flag" ||
6692 test ! -s conftest.err
6693 } && test -s conftest.$ac_objext; then
6694 eval "$as_ac_Header=yes"
6695 else
6696 echo "$as_me: failed program was:" >&5
6697 sed 's/^/| /' conftest.$ac_ext >&5
6699 eval "$as_ac_Header=no"
6702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6704 ac_res=`eval echo '${'$as_ac_Header'}'`
6705 { echo "$as_me:$LINENO: result: $ac_res" >&5
6706 echo "${ECHO_T}$ac_res" >&6; }
6707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6708 cat >>confdefs.h <<_ACEOF
6709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6710 _ACEOF
6714 done
6826 for ac_header in \
6827 AudioUnit/AudioUnit.h \
6828 Carbon/Carbon.h \
6829 CoreAudio/CoreAudio.h \
6830 DiskArbitration/DiskArbitration.h \
6831 IOKit/IOKitLib.h \
6832 alsa/asoundlib.h \
6833 arpa/inet.h \
6834 arpa/nameser.h \
6835 asm/types.h \
6836 capi20.h \
6837 cups/cups.h \
6838 curses.h \
6839 direct.h \
6840 dlfcn.h \
6841 elf.h \
6842 float.h \
6843 fontconfig/fontconfig.h \
6844 getopt.h \
6845 ieeefp.h \
6846 io.h \
6847 jack/jack.h \
6848 jpeglib.h \
6849 lber.h \
6850 lcms.h \
6851 lcms/lcms.h \
6852 ldap.h \
6853 libaudioio.h \
6854 link.h \
6855 linux/cdrom.h \
6856 linux/compiler.h \
6857 linux/hdreg.h \
6858 linux/input.h \
6859 linux/ioctl.h \
6860 linux/joystick.h \
6861 linux/major.h \
6862 linux/param.h \
6863 linux/serial.h \
6864 linux/ucdrom.h \
6865 mach/mach.h \
6866 mach/machine.h \
6867 machine/cpu.h \
6868 machine/limits.h \
6869 machine/soundcard.h \
6870 mntent.h \
6871 ncurses.h \
6872 netdb.h \
6873 netinet/in.h \
6874 netinet/in_systm.h \
6875 netinet/tcp.h \
6876 netinet/tcp_fsm.h \
6877 openssl/err.h \
6878 openssl/ssl.h \
6879 poll.h \
6880 process.h \
6881 pthread.h \
6882 pwd.h \
6883 regex.h \
6884 sched.h \
6885 scsi/scsi.h \
6886 scsi/scsi_ioctl.h \
6887 scsi/sg.h \
6888 soundcard.h \
6889 stdint.h \
6890 strings.h \
6891 sys/asoundlib.h \
6892 sys/cdio.h \
6893 sys/elf32.h \
6894 sys/epoll.h \
6895 sys/errno.h \
6896 sys/event.h \
6897 sys/exec_elf.h \
6898 sys/filio.h \
6899 sys/ioctl.h \
6900 sys/ipc.h \
6901 sys/limits.h \
6902 sys/link.h \
6903 sys/lwp.h \
6904 sys/mman.h \
6905 sys/modem.h \
6906 sys/msg.h \
6907 sys/mtio.h \
6908 sys/param.h \
6909 sys/poll.h \
6910 sys/prctl.h \
6911 sys/ptrace.h \
6912 sys/reg.h \
6913 sys/resource.h \
6914 sys/scsiio.h \
6915 sys/shm.h \
6916 sys/signal.h \
6917 sys/socket.h \
6918 sys/sockio.h \
6919 sys/soundcard.h \
6920 sys/statvfs.h \
6921 sys/strtio.h \
6922 sys/syscall.h \
6923 sys/sysctl.h \
6924 sys/time.h \
6925 sys/times.h \
6926 sys/uio.h \
6927 sys/un.h \
6928 sys/vm86.h \
6929 sys/wait.h \
6930 syscall.h \
6931 termios.h \
6932 unicode/ubidi.h \
6933 unistd.h \
6934 utime.h \
6935 valgrind/memcheck.h
6938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6943 echo $ECHO_N "(cached) $ECHO_C" >&6
6945 ac_res=`eval echo '${'$as_ac_Header'}'`
6946 { echo "$as_me:$LINENO: result: $ac_res" >&5
6947 echo "${ECHO_T}$ac_res" >&6; }
6948 else
6949 # Is the header compilable?
6950 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6952 cat >conftest.$ac_ext <<_ACEOF
6953 /* confdefs.h. */
6954 _ACEOF
6955 cat confdefs.h >>conftest.$ac_ext
6956 cat >>conftest.$ac_ext <<_ACEOF
6957 /* end confdefs.h. */
6958 $ac_includes_default
6959 #include <$ac_header>
6960 _ACEOF
6961 rm -f conftest.$ac_objext
6962 if { (ac_try="$ac_compile"
6963 case "(($ac_try" in
6964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6965 *) ac_try_echo=$ac_try;;
6966 esac
6967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6968 (eval "$ac_compile") 2>conftest.er1
6969 ac_status=$?
6970 grep -v '^ *+' conftest.er1 >conftest.err
6971 rm -f conftest.er1
6972 cat conftest.err >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } && {
6975 test -z "$ac_c_werror_flag" ||
6976 test ! -s conftest.err
6977 } && test -s conftest.$ac_objext; then
6978 ac_header_compiler=yes
6979 else
6980 echo "$as_me: failed program was:" >&5
6981 sed 's/^/| /' conftest.$ac_ext >&5
6983 ac_header_compiler=no
6986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6988 echo "${ECHO_T}$ac_header_compiler" >&6; }
6990 # Is the header present?
6991 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6993 cat >conftest.$ac_ext <<_ACEOF
6994 /* confdefs.h. */
6995 _ACEOF
6996 cat confdefs.h >>conftest.$ac_ext
6997 cat >>conftest.$ac_ext <<_ACEOF
6998 /* end confdefs.h. */
6999 #include <$ac_header>
7000 _ACEOF
7001 if { (ac_try="$ac_cpp conftest.$ac_ext"
7002 case "(($ac_try" in
7003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7004 *) ac_try_echo=$ac_try;;
7005 esac
7006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7008 ac_status=$?
7009 grep -v '^ *+' conftest.er1 >conftest.err
7010 rm -f conftest.er1
7011 cat conftest.err >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); } >/dev/null && {
7014 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7015 test ! -s conftest.err
7016 }; then
7017 ac_header_preproc=yes
7018 else
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7022 ac_header_preproc=no
7025 rm -f conftest.err conftest.$ac_ext
7026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7027 echo "${ECHO_T}$ac_header_preproc" >&6; }
7029 # So? What about this header?
7030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7031 yes:no: )
7032 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7033 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7035 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7036 ac_header_preproc=yes
7038 no:yes:* )
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7040 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7042 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7044 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7046 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7048 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7049 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7050 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7051 ( cat <<\_ASBOX
7052 ## ------------------------------------ ##
7053 ## Report this to wine-devel@winehq.org ##
7054 ## ------------------------------------ ##
7055 _ASBOX
7056 ) | sed "s/^/$as_me: WARNING: /" >&2
7058 esac
7059 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7061 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7062 echo $ECHO_N "(cached) $ECHO_C" >&6
7063 else
7064 eval "$as_ac_Header=\$ac_header_preproc"
7066 ac_res=`eval echo '${'$as_ac_Header'}'`
7067 { echo "$as_me:$LINENO: result: $ac_res" >&5
7068 echo "${ECHO_T}$ac_res" >&6; }
7071 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7072 cat >>confdefs.h <<_ACEOF
7073 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7074 _ACEOF
7078 done
7080 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7081 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7082 if test "${ac_cv_header_stat_broken+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7084 else
7085 cat >conftest.$ac_ext <<_ACEOF
7086 /* confdefs.h. */
7087 _ACEOF
7088 cat confdefs.h >>conftest.$ac_ext
7089 cat >>conftest.$ac_ext <<_ACEOF
7090 /* end confdefs.h. */
7091 #include <sys/types.h>
7092 #include <sys/stat.h>
7094 #if defined S_ISBLK && defined S_IFDIR
7095 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7096 #endif
7098 #if defined S_ISBLK && defined S_IFCHR
7099 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7100 #endif
7102 #if defined S_ISLNK && defined S_IFREG
7103 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7104 #endif
7106 #if defined S_ISSOCK && defined S_IFREG
7107 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7108 #endif
7110 _ACEOF
7111 rm -f conftest.$ac_objext
7112 if { (ac_try="$ac_compile"
7113 case "(($ac_try" in
7114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7115 *) ac_try_echo=$ac_try;;
7116 esac
7117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7118 (eval "$ac_compile") 2>conftest.er1
7119 ac_status=$?
7120 grep -v '^ *+' conftest.er1 >conftest.err
7121 rm -f conftest.er1
7122 cat conftest.err >&5
7123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7124 (exit $ac_status); } && {
7125 test -z "$ac_c_werror_flag" ||
7126 test ! -s conftest.err
7127 } && test -s conftest.$ac_objext; then
7128 ac_cv_header_stat_broken=no
7129 else
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 ac_cv_header_stat_broken=yes
7136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7138 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7139 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7140 if test $ac_cv_header_stat_broken = yes; then
7142 cat >>confdefs.h <<\_ACEOF
7143 #define STAT_MACROS_BROKEN 1
7144 _ACEOF
7154 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7156 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7157 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7158 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7159 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7160 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 else
7162 cat >conftest.$ac_ext <<_ACEOF
7163 /* confdefs.h. */
7164 _ACEOF
7165 cat confdefs.h >>conftest.$ac_ext
7166 cat >>conftest.$ac_ext <<_ACEOF
7167 /* end confdefs.h. */
7168 #include <sys/types.h>
7169 #if HAVE_SYS_PARAM_H
7170 # include <sys/param.h>
7171 #endif
7173 #include <$ac_header>
7174 _ACEOF
7175 rm -f conftest.$ac_objext
7176 if { (ac_try="$ac_compile"
7177 case "(($ac_try" in
7178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7180 esac
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_compile") 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } && {
7189 test -z "$ac_c_werror_flag" ||
7190 test ! -s conftest.err
7191 } && test -s conftest.$ac_objext; then
7192 eval "$as_ac_Header=yes"
7193 else
7194 echo "$as_me: failed program was:" >&5
7195 sed 's/^/| /' conftest.$ac_ext >&5
7197 eval "$as_ac_Header=no"
7200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7202 ac_res=`eval echo '${'$as_ac_Header'}'`
7203 { echo "$as_me:$LINENO: result: $ac_res" >&5
7204 echo "${ECHO_T}$ac_res" >&6; }
7205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7206 cat >>confdefs.h <<_ACEOF
7207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7208 _ACEOF
7212 done
7221 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
7223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7228 else
7229 cat >conftest.$ac_ext <<_ACEOF
7230 /* confdefs.h. */
7231 _ACEOF
7232 cat confdefs.h >>conftest.$ac_ext
7233 cat >>conftest.$ac_ext <<_ACEOF
7234 /* end confdefs.h. */
7235 #include <sys/types.h>
7236 #if HAVE_SYS_SOCKET_H
7237 # include <sys/socket.h>
7238 #endif
7240 #include <$ac_header>
7241 _ACEOF
7242 rm -f conftest.$ac_objext
7243 if { (ac_try="$ac_compile"
7244 case "(($ac_try" in
7245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7246 *) ac_try_echo=$ac_try;;
7247 esac
7248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7249 (eval "$ac_compile") 2>conftest.er1
7250 ac_status=$?
7251 grep -v '^ *+' conftest.er1 >conftest.err
7252 rm -f conftest.er1
7253 cat conftest.err >&5
7254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7255 (exit $ac_status); } && {
7256 test -z "$ac_c_werror_flag" ||
7257 test ! -s conftest.err
7258 } && test -s conftest.$ac_objext; then
7259 eval "$as_ac_Header=yes"
7260 else
7261 echo "$as_me: failed program was:" >&5
7262 sed 's/^/| /' conftest.$ac_ext >&5
7264 eval "$as_ac_Header=no"
7267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7269 ac_res=`eval echo '${'$as_ac_Header'}'`
7270 { echo "$as_me:$LINENO: result: $ac_res" >&5
7271 echo "${ECHO_T}$ac_res" >&6; }
7272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7273 cat >>confdefs.h <<_ACEOF
7274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7275 _ACEOF
7279 done
7283 for ac_header in linux/ipx.h
7285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7286 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7287 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7288 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7289 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 else
7291 cat >conftest.$ac_ext <<_ACEOF
7292 /* confdefs.h. */
7293 _ACEOF
7294 cat confdefs.h >>conftest.$ac_ext
7295 cat >>conftest.$ac_ext <<_ACEOF
7296 /* end confdefs.h. */
7297 #include <sys/types.h>
7298 #ifdef HAVE_ASM_TYPES_H
7299 # include <asm/types.h>
7300 #endif
7301 #if HAVE_SYS_SOCKET_H
7302 # include <sys/socket.h>
7303 #endif
7305 #include <$ac_header>
7306 _ACEOF
7307 rm -f conftest.$ac_objext
7308 if { (ac_try="$ac_compile"
7309 case "(($ac_try" in
7310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7311 *) ac_try_echo=$ac_try;;
7312 esac
7313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7314 (eval "$ac_compile") 2>conftest.er1
7315 ac_status=$?
7316 grep -v '^ *+' conftest.er1 >conftest.err
7317 rm -f conftest.er1
7318 cat conftest.err >&5
7319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320 (exit $ac_status); } && {
7321 test -z "$ac_c_werror_flag" ||
7322 test ! -s conftest.err
7323 } && test -s conftest.$ac_objext; then
7324 eval "$as_ac_Header=yes"
7325 else
7326 echo "$as_me: failed program was:" >&5
7327 sed 's/^/| /' conftest.$ac_ext >&5
7329 eval "$as_ac_Header=no"
7332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7334 ac_res=`eval echo '${'$as_ac_Header'}'`
7335 { echo "$as_me:$LINENO: result: $ac_res" >&5
7336 echo "${ECHO_T}$ac_res" >&6; }
7337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7338 cat >>confdefs.h <<_ACEOF
7339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7340 _ACEOF
7344 done
7348 for ac_header in resolv.h
7350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7354 echo $ECHO_N "(cached) $ECHO_C" >&6
7355 else
7356 cat >conftest.$ac_ext <<_ACEOF
7357 /* confdefs.h. */
7358 _ACEOF
7359 cat confdefs.h >>conftest.$ac_ext
7360 cat >>conftest.$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 #include <sys/types.h>
7363 #if HAVE_SYS_SOCKET_H
7364 # include <sys/socket.h>
7365 #endif
7366 #if HAVE_NETINET_IN_H
7367 # include <netinet/in.h>
7368 #endif
7369 #if HAVE_ARPA_NAMESER_H
7370 # include <arpa/nameser.h>
7371 #endif
7373 #include <$ac_header>
7374 _ACEOF
7375 rm -f conftest.$ac_objext
7376 if { (ac_try="$ac_compile"
7377 case "(($ac_try" in
7378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7379 *) ac_try_echo=$ac_try;;
7380 esac
7381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7382 (eval "$ac_compile") 2>conftest.er1
7383 ac_status=$?
7384 grep -v '^ *+' conftest.er1 >conftest.err
7385 rm -f conftest.er1
7386 cat conftest.err >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); } && {
7389 test -z "$ac_c_werror_flag" ||
7390 test ! -s conftest.err
7391 } && test -s conftest.$ac_objext; then
7392 eval "$as_ac_Header=yes"
7393 else
7394 echo "$as_me: failed program was:" >&5
7395 sed 's/^/| /' conftest.$ac_ext >&5
7397 eval "$as_ac_Header=no"
7400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7402 ac_res=`eval echo '${'$as_ac_Header'}'`
7403 { echo "$as_me:$LINENO: result: $ac_res" >&5
7404 echo "${ECHO_T}$ac_res" >&6; }
7405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7406 cat >>confdefs.h <<_ACEOF
7407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7408 _ACEOF
7412 done
7416 for ac_header in ucontext.h
7418 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7421 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7422 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 else
7424 cat >conftest.$ac_ext <<_ACEOF
7425 /* confdefs.h. */
7426 _ACEOF
7427 cat confdefs.h >>conftest.$ac_ext
7428 cat >>conftest.$ac_ext <<_ACEOF
7429 /* end confdefs.h. */
7430 #include <signal.h>
7432 #include <$ac_header>
7433 _ACEOF
7434 rm -f conftest.$ac_objext
7435 if { (ac_try="$ac_compile"
7436 case "(($ac_try" in
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7439 esac
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_compile") 2>conftest.er1
7442 ac_status=$?
7443 grep -v '^ *+' conftest.er1 >conftest.err
7444 rm -f conftest.er1
7445 cat conftest.err >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } && {
7448 test -z "$ac_c_werror_flag" ||
7449 test ! -s conftest.err
7450 } && test -s conftest.$ac_objext; then
7451 eval "$as_ac_Header=yes"
7452 else
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.$ac_ext >&5
7456 eval "$as_ac_Header=no"
7459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7461 ac_res=`eval echo '${'$as_ac_Header'}'`
7462 { echo "$as_me:$LINENO: result: $ac_res" >&5
7463 echo "${ECHO_T}$ac_res" >&6; }
7464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7465 cat >>confdefs.h <<_ACEOF
7466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7467 _ACEOF
7471 done
7475 for ac_header in pthread_np.h
7477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 else
7483 cat >conftest.$ac_ext <<_ACEOF
7484 /* confdefs.h. */
7485 _ACEOF
7486 cat confdefs.h >>conftest.$ac_ext
7487 cat >>conftest.$ac_ext <<_ACEOF
7488 /* end confdefs.h. */
7489 #ifdef HAVE_PTHREAD_H
7490 #include <pthread.h>
7491 #endif
7493 #include <$ac_header>
7494 _ACEOF
7495 rm -f conftest.$ac_objext
7496 if { (ac_try="$ac_compile"
7497 case "(($ac_try" in
7498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7499 *) ac_try_echo=$ac_try;;
7500 esac
7501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7502 (eval "$ac_compile") 2>conftest.er1
7503 ac_status=$?
7504 grep -v '^ *+' conftest.er1 >conftest.err
7505 rm -f conftest.er1
7506 cat conftest.err >&5
7507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7508 (exit $ac_status); } && {
7509 test -z "$ac_c_werror_flag" ||
7510 test ! -s conftest.err
7511 } && test -s conftest.$ac_objext; then
7512 eval "$as_ac_Header=yes"
7513 else
7514 echo "$as_me: failed program was:" >&5
7515 sed 's/^/| /' conftest.$ac_ext >&5
7517 eval "$as_ac_Header=no"
7520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7522 ac_res=`eval echo '${'$as_ac_Header'}'`
7523 { echo "$as_me:$LINENO: result: $ac_res" >&5
7524 echo "${ECHO_T}$ac_res" >&6; }
7525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7526 cat >>confdefs.h <<_ACEOF
7527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7528 _ACEOF
7532 done
7536 for ac_header in linux/videodev.h
7538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7542 echo $ECHO_N "(cached) $ECHO_C" >&6
7543 else
7544 cat >conftest.$ac_ext <<_ACEOF
7545 /* confdefs.h. */
7546 _ACEOF
7547 cat confdefs.h >>conftest.$ac_ext
7548 cat >>conftest.$ac_ext <<_ACEOF
7549 /* end confdefs.h. */
7550 #ifdef HAVE_SYS_TIME_H
7551 #include <sys/time.h>
7552 #endif
7553 #include <sys/types.h>
7554 #ifdef HAVE_ASM_TYPES_H
7555 #include <asm/types.h>
7556 #endif
7558 #include <$ac_header>
7559 _ACEOF
7560 rm -f conftest.$ac_objext
7561 if { (ac_try="$ac_compile"
7562 case "(($ac_try" in
7563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7564 *) ac_try_echo=$ac_try;;
7565 esac
7566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7567 (eval "$ac_compile") 2>conftest.er1
7568 ac_status=$?
7569 grep -v '^ *+' conftest.er1 >conftest.err
7570 rm -f conftest.er1
7571 cat conftest.err >&5
7572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7573 (exit $ac_status); } && {
7574 test -z "$ac_c_werror_flag" ||
7575 test ! -s conftest.err
7576 } && test -s conftest.$ac_objext; then
7577 eval "$as_ac_Header=yes"
7578 else
7579 echo "$as_me: failed program was:" >&5
7580 sed 's/^/| /' conftest.$ac_ext >&5
7582 eval "$as_ac_Header=no"
7585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7587 ac_res=`eval echo '${'$as_ac_Header'}'`
7588 { echo "$as_me:$LINENO: result: $ac_res" >&5
7589 echo "${ECHO_T}$ac_res" >&6; }
7590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7591 cat >>confdefs.h <<_ACEOF
7592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7593 _ACEOF
7597 done
7601 for ac_header in linux/capi.h
7603 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7604 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7606 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7607 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 else
7609 cat >conftest.$ac_ext <<_ACEOF
7610 /* confdefs.h. */
7611 _ACEOF
7612 cat confdefs.h >>conftest.$ac_ext
7613 cat >>conftest.$ac_ext <<_ACEOF
7614 /* end confdefs.h. */
7615 #define __user
7617 #include <$ac_header>
7618 _ACEOF
7619 rm -f conftest.$ac_objext
7620 if { (ac_try="$ac_compile"
7621 case "(($ac_try" in
7622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7623 *) ac_try_echo=$ac_try;;
7624 esac
7625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7626 (eval "$ac_compile") 2>conftest.er1
7627 ac_status=$?
7628 grep -v '^ *+' conftest.er1 >conftest.err
7629 rm -f conftest.er1
7630 cat conftest.err >&5
7631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7632 (exit $ac_status); } && {
7633 test -z "$ac_c_werror_flag" ||
7634 test ! -s conftest.err
7635 } && test -s conftest.$ac_objext; then
7636 eval "$as_ac_Header=yes"
7637 else
7638 echo "$as_me: failed program was:" >&5
7639 sed 's/^/| /' conftest.$ac_ext >&5
7641 eval "$as_ac_Header=no"
7644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7646 ac_res=`eval echo '${'$as_ac_Header'}'`
7647 { echo "$as_me:$LINENO: result: $ac_res" >&5
7648 echo "${ECHO_T}$ac_res" >&6; }
7649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7650 cat >>confdefs.h <<_ACEOF
7651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7652 _ACEOF
7656 done
7660 if test "$have_x" = "yes"
7661 then
7662 XLIB="-lXext -lX11"
7663 ac_save_CPPFLAGS="$CPPFLAGS"
7664 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7676 for ac_header in X11/Xlib.h \
7677 X11/XKBlib.h \
7678 X11/Xutil.h \
7679 X11/extensions/shape.h \
7680 X11/extensions/XInput.h \
7681 X11/extensions/XShm.h \
7682 X11/extensions/Xinerama.h \
7683 X11/extensions/Xrandr.h \
7684 X11/extensions/Xrender.h \
7685 X11/extensions/xf86vmode.h
7687 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7688 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7689 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7690 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6
7692 else
7693 cat >conftest.$ac_ext <<_ACEOF
7694 /* confdefs.h. */
7695 _ACEOF
7696 cat confdefs.h >>conftest.$ac_ext
7697 cat >>conftest.$ac_ext <<_ACEOF
7698 /* end confdefs.h. */
7699 #ifdef HAVE_X11_XLIB_H
7700 # include <X11/Xlib.h>
7701 #endif
7702 #ifdef HAVE_X11_XUTIL_H
7703 # include <X11/Xutil.h>
7704 #endif
7706 #include <$ac_header>
7707 _ACEOF
7708 rm -f conftest.$ac_objext
7709 if { (ac_try="$ac_compile"
7710 case "(($ac_try" in
7711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7712 *) ac_try_echo=$ac_try;;
7713 esac
7714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7715 (eval "$ac_compile") 2>conftest.er1
7716 ac_status=$?
7717 grep -v '^ *+' conftest.er1 >conftest.err
7718 rm -f conftest.er1
7719 cat conftest.err >&5
7720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); } && {
7722 test -z "$ac_c_werror_flag" ||
7723 test ! -s conftest.err
7724 } && test -s conftest.$ac_objext; then
7725 eval "$as_ac_Header=yes"
7726 else
7727 echo "$as_me: failed program was:" >&5
7728 sed 's/^/| /' conftest.$ac_ext >&5
7730 eval "$as_ac_Header=no"
7733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7735 ac_res=`eval echo '${'$as_ac_Header'}'`
7736 { echo "$as_me:$LINENO: result: $ac_res" >&5
7737 echo "${ECHO_T}$ac_res" >&6; }
7738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7739 cat >>confdefs.h <<_ACEOF
7740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7741 _ACEOF
7745 done
7748 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7749 then
7750 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7751 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7752 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7753 echo $ECHO_N "(cached) $ECHO_C" >&6
7754 else
7755 ac_check_lib_save_LIBS=$LIBS
7756 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7757 cat >conftest.$ac_ext <<_ACEOF
7758 /* confdefs.h. */
7759 _ACEOF
7760 cat confdefs.h >>conftest.$ac_ext
7761 cat >>conftest.$ac_ext <<_ACEOF
7762 /* end confdefs.h. */
7764 /* Override any GCC internal prototype to avoid an error.
7765 Use char because int might match the return type of a GCC
7766 builtin and then its argument prototype would still apply. */
7767 #ifdef __cplusplus
7768 extern "C"
7769 #endif
7770 char XkbQueryExtension ();
7772 main ()
7774 return XkbQueryExtension ();
7776 return 0;
7778 _ACEOF
7779 rm -f conftest.$ac_objext conftest$ac_exeext
7780 if { (ac_try="$ac_link"
7781 case "(($ac_try" in
7782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7783 *) ac_try_echo=$ac_try;;
7784 esac
7785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7786 (eval "$ac_link") 2>conftest.er1
7787 ac_status=$?
7788 grep -v '^ *+' conftest.er1 >conftest.err
7789 rm -f conftest.er1
7790 cat conftest.err >&5
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); } && {
7793 test -z "$ac_c_werror_flag" ||
7794 test ! -s conftest.err
7795 } && test -s conftest$ac_exeext &&
7796 $as_test_x conftest$ac_exeext; then
7797 ac_cv_lib_X11_XkbQueryExtension=yes
7798 else
7799 echo "$as_me: failed program was:" >&5
7800 sed 's/^/| /' conftest.$ac_ext >&5
7802 ac_cv_lib_X11_XkbQueryExtension=no
7805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7806 conftest$ac_exeext conftest.$ac_ext
7807 LIBS=$ac_check_lib_save_LIBS
7809 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7810 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7811 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7813 cat >>confdefs.h <<\_ACEOF
7814 #define HAVE_XKB 1
7815 _ACEOF
7821 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7822 then
7823 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7824 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7825 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7826 echo $ECHO_N "(cached) $ECHO_C" >&6
7827 else
7828 ac_check_lib_save_LIBS=$LIBS
7829 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7830 cat >conftest.$ac_ext <<_ACEOF
7831 /* confdefs.h. */
7832 _ACEOF
7833 cat confdefs.h >>conftest.$ac_ext
7834 cat >>conftest.$ac_ext <<_ACEOF
7835 /* end confdefs.h. */
7837 /* Override any GCC internal prototype to avoid an error.
7838 Use char because int might match the return type of a GCC
7839 builtin and then its argument prototype would still apply. */
7840 #ifdef __cplusplus
7841 extern "C"
7842 #endif
7843 char XShmQueryExtension ();
7845 main ()
7847 return XShmQueryExtension ();
7849 return 0;
7851 _ACEOF
7852 rm -f conftest.$ac_objext conftest$ac_exeext
7853 if { (ac_try="$ac_link"
7854 case "(($ac_try" in
7855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7856 *) ac_try_echo=$ac_try;;
7857 esac
7858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7859 (eval "$ac_link") 2>conftest.er1
7860 ac_status=$?
7861 grep -v '^ *+' conftest.er1 >conftest.err
7862 rm -f conftest.er1
7863 cat conftest.err >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); } && {
7866 test -z "$ac_c_werror_flag" ||
7867 test ! -s conftest.err
7868 } && test -s conftest$ac_exeext &&
7869 $as_test_x conftest$ac_exeext; then
7870 ac_cv_lib_Xext_XShmQueryExtension=yes
7871 else
7872 echo "$as_me: failed program was:" >&5
7873 sed 's/^/| /' conftest.$ac_ext >&5
7875 ac_cv_lib_Xext_XShmQueryExtension=no
7878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7879 conftest$ac_exeext conftest.$ac_ext
7880 LIBS=$ac_check_lib_save_LIBS
7882 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7883 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7884 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7886 cat >>confdefs.h <<\_ACEOF
7887 #define HAVE_LIBXXSHM 1
7888 _ACEOF
7894 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7895 then
7896 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7897 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7898 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7899 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 else
7901 ac_check_lib_save_LIBS=$LIBS
7902 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7903 cat >conftest.$ac_ext <<_ACEOF
7904 /* confdefs.h. */
7905 _ACEOF
7906 cat confdefs.h >>conftest.$ac_ext
7907 cat >>conftest.$ac_ext <<_ACEOF
7908 /* end confdefs.h. */
7910 /* Override any GCC internal prototype to avoid an error.
7911 Use char because int might match the return type of a GCC
7912 builtin and then its argument prototype would still apply. */
7913 #ifdef __cplusplus
7914 extern "C"
7915 #endif
7916 char XShapeQueryExtension ();
7918 main ()
7920 return XShapeQueryExtension ();
7922 return 0;
7924 _ACEOF
7925 rm -f conftest.$ac_objext conftest$ac_exeext
7926 if { (ac_try="$ac_link"
7927 case "(($ac_try" in
7928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7929 *) ac_try_echo=$ac_try;;
7930 esac
7931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7932 (eval "$ac_link") 2>conftest.er1
7933 ac_status=$?
7934 grep -v '^ *+' conftest.er1 >conftest.err
7935 rm -f conftest.er1
7936 cat conftest.err >&5
7937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7938 (exit $ac_status); } && {
7939 test -z "$ac_c_werror_flag" ||
7940 test ! -s conftest.err
7941 } && test -s conftest$ac_exeext &&
7942 $as_test_x conftest$ac_exeext; then
7943 ac_cv_lib_Xext_XShapeQueryExtension=yes
7944 else
7945 echo "$as_me: failed program was:" >&5
7946 sed 's/^/| /' conftest.$ac_ext >&5
7948 ac_cv_lib_Xext_XShapeQueryExtension=no
7951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7952 conftest$ac_exeext conftest.$ac_ext
7953 LIBS=$ac_check_lib_save_LIBS
7955 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7956 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7957 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7959 cat >>confdefs.h <<\_ACEOF
7960 #define HAVE_LIBXSHAPE 1
7961 _ACEOF
7967 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7968 then
7969 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7970 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7971 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7973 else
7974 ac_check_lib_save_LIBS=$LIBS
7975 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7976 cat >conftest.$ac_ext <<_ACEOF
7977 /* confdefs.h. */
7978 _ACEOF
7979 cat confdefs.h >>conftest.$ac_ext
7980 cat >>conftest.$ac_ext <<_ACEOF
7981 /* end confdefs.h. */
7983 /* Override any GCC internal prototype to avoid an error.
7984 Use char because int might match the return type of a GCC
7985 builtin and then its argument prototype would still apply. */
7986 #ifdef __cplusplus
7987 extern "C"
7988 #endif
7989 char XF86VidModeQueryExtension ();
7991 main ()
7993 return XF86VidModeQueryExtension ();
7995 return 0;
7997 _ACEOF
7998 rm -f conftest.$ac_objext conftest$ac_exeext
7999 if { (ac_try="$ac_link"
8000 case "(($ac_try" in
8001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8002 *) ac_try_echo=$ac_try;;
8003 esac
8004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8005 (eval "$ac_link") 2>conftest.er1
8006 ac_status=$?
8007 grep -v '^ *+' conftest.er1 >conftest.err
8008 rm -f conftest.er1
8009 cat conftest.err >&5
8010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8011 (exit $ac_status); } && {
8012 test -z "$ac_c_werror_flag" ||
8013 test ! -s conftest.err
8014 } && test -s conftest$ac_exeext &&
8015 $as_test_x conftest$ac_exeext; then
8016 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8017 else
8018 echo "$as_me: failed program was:" >&5
8019 sed 's/^/| /' conftest.$ac_ext >&5
8021 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8025 conftest$ac_exeext conftest.$ac_ext
8026 LIBS=$ac_check_lib_save_LIBS
8028 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8029 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8030 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8032 cat >>confdefs.h <<\_ACEOF
8033 #define HAVE_LIBXXF86VM 1
8034 _ACEOF
8036 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8042 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8043 then
8044 cat >conftest.$ac_ext <<_ACEOF
8045 /* confdefs.h. */
8046 _ACEOF
8047 cat confdefs.h >>conftest.$ac_ext
8048 cat >>conftest.$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #include <X11/Xlib.h>
8051 #include <X11/extensions/Xrandr.h>
8053 main ()
8055 static typeof(XRRSetScreenConfigAndRate) * func;
8057 return 0;
8059 _ACEOF
8060 rm -f conftest.$ac_objext
8061 if { (ac_try="$ac_compile"
8062 case "(($ac_try" in
8063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8064 *) ac_try_echo=$ac_try;;
8065 esac
8066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8067 (eval "$ac_compile") 2>conftest.er1
8068 ac_status=$?
8069 grep -v '^ *+' conftest.er1 >conftest.err
8070 rm -f conftest.er1
8071 cat conftest.err >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); } && {
8074 test -z "$ac_c_werror_flag" ||
8075 test ! -s conftest.err
8076 } && test -s conftest.$ac_objext; then
8078 cat >>confdefs.h <<\_ACEOF
8079 #define HAVE_LIBXRANDR 1
8080 _ACEOF
8082 else
8083 echo "$as_me: failed program was:" >&5
8084 sed 's/^/| /' conftest.$ac_ext >&5
8089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8092 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8093 then
8094 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8095 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8096 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8097 echo $ECHO_N "(cached) $ECHO_C" >&6
8098 else
8099 ac_check_lib_save_LIBS=$LIBS
8100 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8101 cat >conftest.$ac_ext <<_ACEOF
8102 /* confdefs.h. */
8103 _ACEOF
8104 cat confdefs.h >>conftest.$ac_ext
8105 cat >>conftest.$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8108 /* Override any GCC internal prototype to avoid an error.
8109 Use char because int might match the return type of a GCC
8110 builtin and then its argument prototype would still apply. */
8111 #ifdef __cplusplus
8112 extern "C"
8113 #endif
8114 char XRenderSetPictureTransform ();
8116 main ()
8118 return XRenderSetPictureTransform ();
8120 return 0;
8122 _ACEOF
8123 rm -f conftest.$ac_objext conftest$ac_exeext
8124 if { (ac_try="$ac_link"
8125 case "(($ac_try" in
8126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8127 *) ac_try_echo=$ac_try;;
8128 esac
8129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8130 (eval "$ac_link") 2>conftest.er1
8131 ac_status=$?
8132 grep -v '^ *+' conftest.er1 >conftest.err
8133 rm -f conftest.er1
8134 cat conftest.err >&5
8135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8136 (exit $ac_status); } && {
8137 test -z "$ac_c_werror_flag" ||
8138 test ! -s conftest.err
8139 } && test -s conftest$ac_exeext &&
8140 $as_test_x conftest$ac_exeext; then
8141 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8142 else
8143 echo "$as_me: failed program was:" >&5
8144 sed 's/^/| /' conftest.$ac_ext >&5
8146 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8149 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8150 conftest$ac_exeext conftest.$ac_ext
8151 LIBS=$ac_check_lib_save_LIBS
8153 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8154 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8155 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8157 cat >>confdefs.h <<\_ACEOF
8158 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8159 _ACEOF
8165 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8166 then
8167 cat >conftest.$ac_ext <<_ACEOF
8168 /* confdefs.h. */
8169 _ACEOF
8170 cat confdefs.h >>conftest.$ac_ext
8171 cat >>conftest.$ac_ext <<_ACEOF
8172 /* end confdefs.h. */
8173 #include <X11/Xlib.h>
8174 #include <X11/extensions/Xinerama.h>
8176 main ()
8178 static typeof(XineramaQueryScreens) * func;
8180 return 0;
8182 _ACEOF
8183 rm -f conftest.$ac_objext
8184 if { (ac_try="$ac_compile"
8185 case "(($ac_try" in
8186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8187 *) ac_try_echo=$ac_try;;
8188 esac
8189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8190 (eval "$ac_compile") 2>conftest.er1
8191 ac_status=$?
8192 grep -v '^ *+' conftest.er1 >conftest.err
8193 rm -f conftest.er1
8194 cat conftest.err >&5
8195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8196 (exit $ac_status); } && {
8197 test -z "$ac_c_werror_flag" ||
8198 test ! -s conftest.err
8199 } && test -s conftest.$ac_objext; then
8201 cat >>confdefs.h <<\_ACEOF
8202 #define HAVE_LIBXINERAMA 1
8203 _ACEOF
8205 else
8206 echo "$as_me: failed program was:" >&5
8207 sed 's/^/| /' conftest.$ac_ext >&5
8212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8216 if test "x$with_opengl" != "xno"
8217 then
8222 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8225 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8226 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 else
8230 cat >conftest.$ac_ext <<_ACEOF
8231 /* confdefs.h. */
8232 _ACEOF
8233 cat confdefs.h >>conftest.$ac_ext
8234 cat >>conftest.$ac_ext <<_ACEOF
8235 /* end confdefs.h. */
8236 #ifdef HAVE_GL_GLX_H
8237 # include <GL/glx.h>
8238 #endif
8240 #include <$ac_header>
8241 _ACEOF
8242 rm -f conftest.$ac_objext
8243 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
8259 eval "$as_ac_Header=yes"
8260 else
8261 echo "$as_me: failed program was:" >&5
8262 sed 's/^/| /' conftest.$ac_ext >&5
8264 eval "$as_ac_Header=no"
8267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8269 ac_res=`eval echo '${'$as_ac_Header'}'`
8270 { echo "$as_me:$LINENO: result: $ac_res" >&5
8271 echo "${ECHO_T}$ac_res" >&6; }
8272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8273 cat >>confdefs.h <<_ACEOF
8274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8275 _ACEOF
8279 done
8281 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8282 then
8283 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8284 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8285 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8286 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 else
8288 cat >conftest.$ac_ext <<_ACEOF
8289 /* confdefs.h. */
8290 _ACEOF
8291 cat confdefs.h >>conftest.$ac_ext
8292 cat >>conftest.$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8294 #include <GL/gl.h>
8296 main ()
8298 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8300 return 0;
8302 _ACEOF
8303 rm -f conftest.$ac_objext
8304 if { (ac_try="$ac_compile"
8305 case "(($ac_try" in
8306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8307 *) ac_try_echo=$ac_try;;
8308 esac
8309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8310 (eval "$ac_compile") 2>conftest.er1
8311 ac_status=$?
8312 grep -v '^ *+' conftest.er1 >conftest.err
8313 rm -f conftest.er1
8314 cat conftest.err >&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } && {
8317 test -z "$ac_c_werror_flag" ||
8318 test ! -s conftest.err
8319 } && test -s conftest.$ac_objext; then
8320 wine_cv_opengl_header_version_OK="yes"
8321 else
8322 echo "$as_me: failed program was:" >&5
8323 sed 's/^/| /' conftest.$ac_ext >&5
8325 wine_cv_opengl_header_version_OK="no"
8329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8332 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8333 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8335 if test "$wine_cv_opengl_header_version_OK" = "yes"
8336 then
8337 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8338 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8339 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 else
8342 ac_check_lib_save_LIBS=$LIBS
8343 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8344 cat >conftest.$ac_ext <<_ACEOF
8345 /* confdefs.h. */
8346 _ACEOF
8347 cat confdefs.h >>conftest.$ac_ext
8348 cat >>conftest.$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8351 /* Override any GCC internal prototype to avoid an error.
8352 Use char because int might match the return type of a GCC
8353 builtin and then its argument prototype would still apply. */
8354 #ifdef __cplusplus
8355 extern "C"
8356 #endif
8357 char glXCreateContext ();
8359 main ()
8361 return glXCreateContext ();
8363 return 0;
8365 _ACEOF
8366 rm -f conftest.$ac_objext conftest$ac_exeext
8367 if { (ac_try="$ac_link"
8368 case "(($ac_try" in
8369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8370 *) ac_try_echo=$ac_try;;
8371 esac
8372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8373 (eval "$ac_link") 2>conftest.er1
8374 ac_status=$?
8375 grep -v '^ *+' conftest.er1 >conftest.err
8376 rm -f conftest.er1
8377 cat conftest.err >&5
8378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8379 (exit $ac_status); } && {
8380 test -z "$ac_c_werror_flag" ||
8381 test ! -s conftest.err
8382 } && test -s conftest$ac_exeext &&
8383 $as_test_x conftest$ac_exeext; then
8384 ac_cv_lib_GL_glXCreateContext=yes
8385 else
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.$ac_ext >&5
8389 ac_cv_lib_GL_glXCreateContext=no
8392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8393 conftest$ac_exeext conftest.$ac_ext
8394 LIBS=$ac_check_lib_save_LIBS
8396 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8397 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8398 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8399 OPENGL_LIBS="-lGL"
8400 OPENGLFILES='$(OPENGLFILES)'
8402 cat >>confdefs.h <<\_ACEOF
8403 #define HAVE_OPENGL 1
8404 _ACEOF
8410 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8411 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8412 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8413 echo $ECHO_N "(cached) $ECHO_C" >&6
8414 else
8415 ac_check_lib_save_LIBS=$LIBS
8416 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8417 $LIBS"
8418 cat >conftest.$ac_ext <<_ACEOF
8419 /* confdefs.h. */
8420 _ACEOF
8421 cat confdefs.h >>conftest.$ac_ext
8422 cat >>conftest.$ac_ext <<_ACEOF
8423 /* end confdefs.h. */
8425 /* Override any GCC internal prototype to avoid an error.
8426 Use char because int might match the return type of a GCC
8427 builtin and then its argument prototype would still apply. */
8428 #ifdef __cplusplus
8429 extern "C"
8430 #endif
8431 char gluLookAt ();
8433 main ()
8435 return gluLookAt ();
8437 return 0;
8439 _ACEOF
8440 rm -f conftest.$ac_objext conftest$ac_exeext
8441 if { (ac_try="$ac_link"
8442 case "(($ac_try" in
8443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8444 *) ac_try_echo=$ac_try;;
8445 esac
8446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8447 (eval "$ac_link") 2>conftest.er1
8448 ac_status=$?
8449 grep -v '^ *+' conftest.er1 >conftest.err
8450 rm -f conftest.er1
8451 cat conftest.err >&5
8452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8453 (exit $ac_status); } && {
8454 test -z "$ac_c_werror_flag" ||
8455 test ! -s conftest.err
8456 } && test -s conftest$ac_exeext &&
8457 $as_test_x conftest$ac_exeext; then
8458 ac_cv_lib_GLU_gluLookAt=yes
8459 else
8460 echo "$as_me: failed program was:" >&5
8461 sed 's/^/| /' conftest.$ac_ext >&5
8463 ac_cv_lib_GLU_gluLookAt=no
8466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8467 conftest$ac_exeext conftest.$ac_ext
8468 LIBS=$ac_check_lib_save_LIBS
8470 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8471 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8472 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8473 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8474 GLU32FILES='$(GLU32FILES)'
8479 else
8480 wine_cv_opengl_headers_found="no"
8483 NASLIBS=""
8486 for ac_header in audio/audiolib.h
8488 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8490 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8492 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 ac_res=`eval echo '${'$as_ac_Header'}'`
8496 { echo "$as_me:$LINENO: result: $ac_res" >&5
8497 echo "${ECHO_T}$ac_res" >&6; }
8498 else
8499 # Is the header compilable?
8500 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8501 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8502 cat >conftest.$ac_ext <<_ACEOF
8503 /* confdefs.h. */
8504 _ACEOF
8505 cat confdefs.h >>conftest.$ac_ext
8506 cat >>conftest.$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8508 $ac_includes_default
8509 #include <$ac_header>
8510 _ACEOF
8511 rm -f conftest.$ac_objext
8512 if { (ac_try="$ac_compile"
8513 case "(($ac_try" in
8514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8515 *) ac_try_echo=$ac_try;;
8516 esac
8517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8518 (eval "$ac_compile") 2>conftest.er1
8519 ac_status=$?
8520 grep -v '^ *+' conftest.er1 >conftest.err
8521 rm -f conftest.er1
8522 cat conftest.err >&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } && {
8525 test -z "$ac_c_werror_flag" ||
8526 test ! -s conftest.err
8527 } && test -s conftest.$ac_objext; then
8528 ac_header_compiler=yes
8529 else
8530 echo "$as_me: failed program was:" >&5
8531 sed 's/^/| /' conftest.$ac_ext >&5
8533 ac_header_compiler=no
8536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8537 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8538 echo "${ECHO_T}$ac_header_compiler" >&6; }
8540 # Is the header present?
8541 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8543 cat >conftest.$ac_ext <<_ACEOF
8544 /* confdefs.h. */
8545 _ACEOF
8546 cat confdefs.h >>conftest.$ac_ext
8547 cat >>conftest.$ac_ext <<_ACEOF
8548 /* end confdefs.h. */
8549 #include <$ac_header>
8550 _ACEOF
8551 if { (ac_try="$ac_cpp conftest.$ac_ext"
8552 case "(($ac_try" in
8553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8554 *) ac_try_echo=$ac_try;;
8555 esac
8556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8558 ac_status=$?
8559 grep -v '^ *+' conftest.er1 >conftest.err
8560 rm -f conftest.er1
8561 cat conftest.err >&5
8562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8563 (exit $ac_status); } >/dev/null && {
8564 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8565 test ! -s conftest.err
8566 }; then
8567 ac_header_preproc=yes
8568 else
8569 echo "$as_me: failed program was:" >&5
8570 sed 's/^/| /' conftest.$ac_ext >&5
8572 ac_header_preproc=no
8575 rm -f conftest.err conftest.$ac_ext
8576 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8577 echo "${ECHO_T}$ac_header_preproc" >&6; }
8579 # So? What about this header?
8580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8581 yes:no: )
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8586 ac_header_preproc=yes
8588 no:yes:* )
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8601 ( cat <<\_ASBOX
8602 ## ------------------------------------ ##
8603 ## Report this to wine-devel@winehq.org ##
8604 ## ------------------------------------ ##
8605 _ASBOX
8606 ) | sed "s/^/$as_me: WARNING: /" >&2
8608 esac
8609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8612 echo $ECHO_N "(cached) $ECHO_C" >&6
8613 else
8614 eval "$as_ac_Header=\$ac_header_preproc"
8616 ac_res=`eval echo '${'$as_ac_Header'}'`
8617 { echo "$as_me:$LINENO: result: $ac_res" >&5
8618 echo "${ECHO_T}$ac_res" >&6; }
8621 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8622 cat >>confdefs.h <<_ACEOF
8623 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8624 _ACEOF
8626 for ac_header in audio/soundlib.h
8628 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8629 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8631 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8632 echo $ECHO_N "(cached) $ECHO_C" >&6
8633 else
8634 cat >conftest.$ac_ext <<_ACEOF
8635 /* confdefs.h. */
8636 _ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8640 #include <audio/audiolib.h>
8642 #include <$ac_header>
8643 _ACEOF
8644 rm -f conftest.$ac_objext
8645 if { (ac_try="$ac_compile"
8646 case "(($ac_try" in
8647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8648 *) ac_try_echo=$ac_try;;
8649 esac
8650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8651 (eval "$ac_compile") 2>conftest.er1
8652 ac_status=$?
8653 grep -v '^ *+' conftest.er1 >conftest.err
8654 rm -f conftest.er1
8655 cat conftest.err >&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); } && {
8658 test -z "$ac_c_werror_flag" ||
8659 test ! -s conftest.err
8660 } && test -s conftest.$ac_objext; then
8661 eval "$as_ac_Header=yes"
8662 else
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.$ac_ext >&5
8666 eval "$as_ac_Header=no"
8669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8671 ac_res=`eval echo '${'$as_ac_Header'}'`
8672 { echo "$as_me:$LINENO: result: $ac_res" >&5
8673 echo "${ECHO_T}$ac_res" >&6; }
8674 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8675 cat >>confdefs.h <<_ACEOF
8676 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8677 _ACEOF
8681 done
8683 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8684 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8685 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8686 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 else
8688 ac_check_lib_save_LIBS=$LIBS
8689 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8690 cat >conftest.$ac_ext <<_ACEOF
8691 /* confdefs.h. */
8692 _ACEOF
8693 cat confdefs.h >>conftest.$ac_ext
8694 cat >>conftest.$ac_ext <<_ACEOF
8695 /* end confdefs.h. */
8697 /* Override any GCC internal prototype to avoid an error.
8698 Use char because int might match the return type of a GCC
8699 builtin and then its argument prototype would still apply. */
8700 #ifdef __cplusplus
8701 extern "C"
8702 #endif
8703 char AuCreateFlow ();
8705 main ()
8707 return AuCreateFlow ();
8709 return 0;
8711 _ACEOF
8712 rm -f conftest.$ac_objext conftest$ac_exeext
8713 if { (ac_try="$ac_link"
8714 case "(($ac_try" in
8715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8716 *) ac_try_echo=$ac_try;;
8717 esac
8718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8719 (eval "$ac_link") 2>conftest.er1
8720 ac_status=$?
8721 grep -v '^ *+' conftest.er1 >conftest.err
8722 rm -f conftest.er1
8723 cat conftest.err >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); } && {
8726 test -z "$ac_c_werror_flag" ||
8727 test ! -s conftest.err
8728 } && test -s conftest$ac_exeext &&
8729 $as_test_x conftest$ac_exeext; then
8730 ac_cv_lib_audio_AuCreateFlow=yes
8731 else
8732 echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.$ac_ext >&5
8735 ac_cv_lib_audio_AuCreateFlow=no
8738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8739 conftest$ac_exeext conftest.$ac_ext
8740 LIBS=$ac_check_lib_save_LIBS
8742 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8743 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8744 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8746 cat >>confdefs.h <<\_ACEOF
8747 #define HAVE_NAS 1
8748 _ACEOF
8750 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8755 done
8758 CPPFLAGS="$ac_save_CPPFLAGS"
8759 XFILES='$(XFILES)'
8760 else
8761 XLIB=""
8762 X_CFLAGS=""
8763 X_LIBS=""
8767 XML2LIBS=""
8769 XML2INCL=""
8771 XSLTLIBS=""
8773 XSLTINCL=""
8775 if test "$PKG_CONFIG" != "false"
8776 then
8777 ac_save_CPPFLAGS="$CPPFLAGS"
8778 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8779 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8780 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8782 for ac_header in libxml/parser.h
8784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 ac_res=`eval echo '${'$as_ac_Header'}'`
8792 { echo "$as_me:$LINENO: result: $ac_res" >&5
8793 echo "${ECHO_T}$ac_res" >&6; }
8794 else
8795 # Is the header compilable?
8796 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8798 cat >conftest.$ac_ext <<_ACEOF
8799 /* confdefs.h. */
8800 _ACEOF
8801 cat confdefs.h >>conftest.$ac_ext
8802 cat >>conftest.$ac_ext <<_ACEOF
8803 /* end confdefs.h. */
8804 $ac_includes_default
8805 #include <$ac_header>
8806 _ACEOF
8807 rm -f conftest.$ac_objext
8808 if { (ac_try="$ac_compile"
8809 case "(($ac_try" in
8810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8811 *) ac_try_echo=$ac_try;;
8812 esac
8813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8814 (eval "$ac_compile") 2>conftest.er1
8815 ac_status=$?
8816 grep -v '^ *+' conftest.er1 >conftest.err
8817 rm -f conftest.er1
8818 cat conftest.err >&5
8819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8820 (exit $ac_status); } && {
8821 test -z "$ac_c_werror_flag" ||
8822 test ! -s conftest.err
8823 } && test -s conftest.$ac_objext; then
8824 ac_header_compiler=yes
8825 else
8826 echo "$as_me: failed program was:" >&5
8827 sed 's/^/| /' conftest.$ac_ext >&5
8829 ac_header_compiler=no
8832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8833 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8834 echo "${ECHO_T}$ac_header_compiler" >&6; }
8836 # Is the header present?
8837 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8838 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8839 cat >conftest.$ac_ext <<_ACEOF
8840 /* confdefs.h. */
8841 _ACEOF
8842 cat confdefs.h >>conftest.$ac_ext
8843 cat >>conftest.$ac_ext <<_ACEOF
8844 /* end confdefs.h. */
8845 #include <$ac_header>
8846 _ACEOF
8847 if { (ac_try="$ac_cpp conftest.$ac_ext"
8848 case "(($ac_try" in
8849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8850 *) ac_try_echo=$ac_try;;
8851 esac
8852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8853 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8854 ac_status=$?
8855 grep -v '^ *+' conftest.er1 >conftest.err
8856 rm -f conftest.er1
8857 cat conftest.err >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); } >/dev/null && {
8860 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8861 test ! -s conftest.err
8862 }; then
8863 ac_header_preproc=yes
8864 else
8865 echo "$as_me: failed program was:" >&5
8866 sed 's/^/| /' conftest.$ac_ext >&5
8868 ac_header_preproc=no
8871 rm -f conftest.err conftest.$ac_ext
8872 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8873 echo "${ECHO_T}$ac_header_preproc" >&6; }
8875 # So? What about this header?
8876 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8877 yes:no: )
8878 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8879 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8881 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8882 ac_header_preproc=yes
8884 no:yes:* )
8885 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8886 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8887 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8888 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8889 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8890 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8891 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8892 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8893 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8894 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8896 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8897 ( cat <<\_ASBOX
8898 ## ------------------------------------ ##
8899 ## Report this to wine-devel@winehq.org ##
8900 ## ------------------------------------ ##
8901 _ASBOX
8902 ) | sed "s/^/$as_me: WARNING: /" >&2
8904 esac
8905 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8907 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8908 echo $ECHO_N "(cached) $ECHO_C" >&6
8909 else
8910 eval "$as_ac_Header=\$ac_header_preproc"
8912 ac_res=`eval echo '${'$as_ac_Header'}'`
8913 { echo "$as_me:$LINENO: result: $ac_res" >&5
8914 echo "${ECHO_T}$ac_res" >&6; }
8917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8918 cat >>confdefs.h <<_ACEOF
8919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8920 _ACEOF
8921 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8922 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8923 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8924 echo $ECHO_N "(cached) $ECHO_C" >&6
8925 else
8926 ac_check_lib_save_LIBS=$LIBS
8927 LIBS="-lxml2 $ac_xml_libs $LIBS"
8928 cat >conftest.$ac_ext <<_ACEOF
8929 /* confdefs.h. */
8930 _ACEOF
8931 cat confdefs.h >>conftest.$ac_ext
8932 cat >>conftest.$ac_ext <<_ACEOF
8933 /* end confdefs.h. */
8935 /* Override any GCC internal prototype to avoid an error.
8936 Use char because int might match the return type of a GCC
8937 builtin and then its argument prototype would still apply. */
8938 #ifdef __cplusplus
8939 extern "C"
8940 #endif
8941 char xmlParseMemory ();
8943 main ()
8945 return xmlParseMemory ();
8947 return 0;
8949 _ACEOF
8950 rm -f conftest.$ac_objext conftest$ac_exeext
8951 if { (ac_try="$ac_link"
8952 case "(($ac_try" in
8953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8954 *) ac_try_echo=$ac_try;;
8955 esac
8956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8957 (eval "$ac_link") 2>conftest.er1
8958 ac_status=$?
8959 grep -v '^ *+' conftest.er1 >conftest.err
8960 rm -f conftest.er1
8961 cat conftest.err >&5
8962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8963 (exit $ac_status); } && {
8964 test -z "$ac_c_werror_flag" ||
8965 test ! -s conftest.err
8966 } && test -s conftest$ac_exeext &&
8967 $as_test_x conftest$ac_exeext; then
8968 ac_cv_lib_xml2_xmlParseMemory=yes
8969 else
8970 echo "$as_me: failed program was:" >&5
8971 sed 's/^/| /' conftest.$ac_ext >&5
8973 ac_cv_lib_xml2_xmlParseMemory=no
8976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8977 conftest$ac_exeext conftest.$ac_ext
8978 LIBS=$ac_check_lib_save_LIBS
8980 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8981 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8982 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
8984 cat >>confdefs.h <<\_ACEOF
8985 #define HAVE_LIBXML2 1
8986 _ACEOF
8988 XML2LIBS="$ac_xml_libs"
8989 XML2INCL="$ac_xml_cflags"
8992 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
8993 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
8994 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
8995 echo $ECHO_N "(cached) $ECHO_C" >&6
8996 else
8997 ac_check_lib_save_LIBS=$LIBS
8998 LIBS="-lxml2 $ac_xml_libs $LIBS"
8999 cat >conftest.$ac_ext <<_ACEOF
9000 /* confdefs.h. */
9001 _ACEOF
9002 cat confdefs.h >>conftest.$ac_ext
9003 cat >>conftest.$ac_ext <<_ACEOF
9004 /* end confdefs.h. */
9006 /* Override any GCC internal prototype to avoid an error.
9007 Use char because int might match the return type of a GCC
9008 builtin and then its argument prototype would still apply. */
9009 #ifdef __cplusplus
9010 extern "C"
9011 #endif
9012 char xmlReadMemory ();
9014 main ()
9016 return xmlReadMemory ();
9018 return 0;
9020 _ACEOF
9021 rm -f conftest.$ac_objext conftest$ac_exeext
9022 if { (ac_try="$ac_link"
9023 case "(($ac_try" in
9024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9025 *) ac_try_echo=$ac_try;;
9026 esac
9027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9028 (eval "$ac_link") 2>conftest.er1
9029 ac_status=$?
9030 grep -v '^ *+' conftest.er1 >conftest.err
9031 rm -f conftest.er1
9032 cat conftest.err >&5
9033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9034 (exit $ac_status); } && {
9035 test -z "$ac_c_werror_flag" ||
9036 test ! -s conftest.err
9037 } && test -s conftest$ac_exeext &&
9038 $as_test_x conftest$ac_exeext; then
9039 ac_cv_lib_xml2_xmlReadMemory=yes
9040 else
9041 echo "$as_me: failed program was:" >&5
9042 sed 's/^/| /' conftest.$ac_ext >&5
9044 ac_cv_lib_xml2_xmlReadMemory=no
9047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9048 conftest$ac_exeext conftest.$ac_ext
9049 LIBS=$ac_check_lib_save_LIBS
9051 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9052 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9053 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9055 cat >>confdefs.h <<\_ACEOF
9056 #define HAVE_XMLREADMEMORY 1
9057 _ACEOF
9061 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9062 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9063 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9064 echo $ECHO_N "(cached) $ECHO_C" >&6
9065 else
9066 ac_check_lib_save_LIBS=$LIBS
9067 LIBS="-lxml2 $ac_xml_libs $LIBS"
9068 cat >conftest.$ac_ext <<_ACEOF
9069 /* confdefs.h. */
9070 _ACEOF
9071 cat confdefs.h >>conftest.$ac_ext
9072 cat >>conftest.$ac_ext <<_ACEOF
9073 /* end confdefs.h. */
9075 /* Override any GCC internal prototype to avoid an error.
9076 Use char because int might match the return type of a GCC
9077 builtin and then its argument prototype would still apply. */
9078 #ifdef __cplusplus
9079 extern "C"
9080 #endif
9081 char xmlNewDocPI ();
9083 main ()
9085 return xmlNewDocPI ();
9087 return 0;
9089 _ACEOF
9090 rm -f conftest.$ac_objext conftest$ac_exeext
9091 if { (ac_try="$ac_link"
9092 case "(($ac_try" in
9093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9094 *) ac_try_echo=$ac_try;;
9095 esac
9096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9097 (eval "$ac_link") 2>conftest.er1
9098 ac_status=$?
9099 grep -v '^ *+' conftest.er1 >conftest.err
9100 rm -f conftest.er1
9101 cat conftest.err >&5
9102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9103 (exit $ac_status); } && {
9104 test -z "$ac_c_werror_flag" ||
9105 test ! -s conftest.err
9106 } && test -s conftest$ac_exeext &&
9107 $as_test_x conftest$ac_exeext; then
9108 ac_cv_lib_xml2_xmlNewDocPI=yes
9109 else
9110 echo "$as_me: failed program was:" >&5
9111 sed 's/^/| /' conftest.$ac_ext >&5
9113 ac_cv_lib_xml2_xmlNewDocPI=no
9116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9117 conftest$ac_exeext conftest.$ac_ext
9118 LIBS=$ac_check_lib_save_LIBS
9120 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9121 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9122 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9124 cat >>confdefs.h <<\_ACEOF
9125 #define HAVE_XMLNEWDOCPI 1
9126 _ACEOF
9133 done
9135 CPPFLAGS="$ac_save_CPPFLAGS"
9136 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9137 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9138 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9141 for ac_header in libxslt/pattern.h libxslt/transform.h
9143 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9144 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9147 echo $ECHO_N "(cached) $ECHO_C" >&6
9148 else
9149 cat >conftest.$ac_ext <<_ACEOF
9150 /* confdefs.h. */
9151 _ACEOF
9152 cat confdefs.h >>conftest.$ac_ext
9153 cat >>conftest.$ac_ext <<_ACEOF
9154 /* end confdefs.h. */
9155 #ifdef HAVE_LIBXSLT_PATTERN_H
9156 # include <libxslt/pattern.h>
9157 #endif
9159 #include <$ac_header>
9160 _ACEOF
9161 rm -f conftest.$ac_objext
9162 if { (ac_try="$ac_compile"
9163 case "(($ac_try" in
9164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9165 *) ac_try_echo=$ac_try;;
9166 esac
9167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9168 (eval "$ac_compile") 2>conftest.er1
9169 ac_status=$?
9170 grep -v '^ *+' conftest.er1 >conftest.err
9171 rm -f conftest.er1
9172 cat conftest.err >&5
9173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9174 (exit $ac_status); } && {
9175 test -z "$ac_c_werror_flag" ||
9176 test ! -s conftest.err
9177 } && test -s conftest.$ac_objext; then
9178 eval "$as_ac_Header=yes"
9179 else
9180 echo "$as_me: failed program was:" >&5
9181 sed 's/^/| /' conftest.$ac_ext >&5
9183 eval "$as_ac_Header=no"
9186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9188 ac_res=`eval echo '${'$as_ac_Header'}'`
9189 { echo "$as_me:$LINENO: result: $ac_res" >&5
9190 echo "${ECHO_T}$ac_res" >&6; }
9191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9192 cat >>confdefs.h <<_ACEOF
9193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9194 _ACEOF
9195 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9196 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9197 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 else
9200 ac_check_lib_save_LIBS=$LIBS
9201 LIBS="-lxslt $ac_xslt_libs $LIBS"
9202 cat >conftest.$ac_ext <<_ACEOF
9203 /* confdefs.h. */
9204 _ACEOF
9205 cat confdefs.h >>conftest.$ac_ext
9206 cat >>conftest.$ac_ext <<_ACEOF
9207 /* end confdefs.h. */
9209 /* Override any GCC internal prototype to avoid an error.
9210 Use char because int might match the return type of a GCC
9211 builtin and then its argument prototype would still apply. */
9212 #ifdef __cplusplus
9213 extern "C"
9214 #endif
9215 char xsltCompilePattern ();
9217 main ()
9219 return xsltCompilePattern ();
9221 return 0;
9223 _ACEOF
9224 rm -f conftest.$ac_objext conftest$ac_exeext
9225 if { (ac_try="$ac_link"
9226 case "(($ac_try" in
9227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9228 *) ac_try_echo=$ac_try;;
9229 esac
9230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9231 (eval "$ac_link") 2>conftest.er1
9232 ac_status=$?
9233 grep -v '^ *+' conftest.er1 >conftest.err
9234 rm -f conftest.er1
9235 cat conftest.err >&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); } && {
9238 test -z "$ac_c_werror_flag" ||
9239 test ! -s conftest.err
9240 } && test -s conftest$ac_exeext &&
9241 $as_test_x conftest$ac_exeext; then
9242 ac_cv_lib_xslt_xsltCompilePattern=yes
9243 else
9244 echo "$as_me: failed program was:" >&5
9245 sed 's/^/| /' conftest.$ac_ext >&5
9247 ac_cv_lib_xslt_xsltCompilePattern=no
9250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9251 conftest$ac_exeext conftest.$ac_ext
9252 LIBS=$ac_check_lib_save_LIBS
9254 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9255 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9256 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9258 cat >>confdefs.h <<\_ACEOF
9259 #define HAVE_LIBXSLT 1
9260 _ACEOF
9262 XSLTLIBS="$ac_xslt_libs"
9263 XSLTINCL="$ac_xslt_cflags"
9269 done
9271 CPPFLAGS="$ac_save_CPPFLAGS"
9274 HALINCL=""
9276 if test "$PKG_CONFIG" != "false"
9277 then
9278 ac_save_CPPFLAGS="$CPPFLAGS"
9279 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9280 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9281 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9284 for ac_header in dbus/dbus.h hal/libhal.h
9286 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9288 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9290 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9291 echo $ECHO_N "(cached) $ECHO_C" >&6
9293 ac_res=`eval echo '${'$as_ac_Header'}'`
9294 { echo "$as_me:$LINENO: result: $ac_res" >&5
9295 echo "${ECHO_T}$ac_res" >&6; }
9296 else
9297 # Is the header compilable?
9298 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9299 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9300 cat >conftest.$ac_ext <<_ACEOF
9301 /* confdefs.h. */
9302 _ACEOF
9303 cat confdefs.h >>conftest.$ac_ext
9304 cat >>conftest.$ac_ext <<_ACEOF
9305 /* end confdefs.h. */
9306 $ac_includes_default
9307 #include <$ac_header>
9308 _ACEOF
9309 rm -f conftest.$ac_objext
9310 if { (ac_try="$ac_compile"
9311 case "(($ac_try" in
9312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9313 *) ac_try_echo=$ac_try;;
9314 esac
9315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9316 (eval "$ac_compile") 2>conftest.er1
9317 ac_status=$?
9318 grep -v '^ *+' conftest.er1 >conftest.err
9319 rm -f conftest.er1
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } && {
9323 test -z "$ac_c_werror_flag" ||
9324 test ! -s conftest.err
9325 } && test -s conftest.$ac_objext; then
9326 ac_header_compiler=yes
9327 else
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 ac_header_compiler=no
9334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9335 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9336 echo "${ECHO_T}$ac_header_compiler" >&6; }
9338 # Is the header present?
9339 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9340 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9341 cat >conftest.$ac_ext <<_ACEOF
9342 /* confdefs.h. */
9343 _ACEOF
9344 cat confdefs.h >>conftest.$ac_ext
9345 cat >>conftest.$ac_ext <<_ACEOF
9346 /* end confdefs.h. */
9347 #include <$ac_header>
9348 _ACEOF
9349 if { (ac_try="$ac_cpp conftest.$ac_ext"
9350 case "(($ac_try" in
9351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9352 *) ac_try_echo=$ac_try;;
9353 esac
9354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9355 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9356 ac_status=$?
9357 grep -v '^ *+' conftest.er1 >conftest.err
9358 rm -f conftest.er1
9359 cat conftest.err >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); } >/dev/null && {
9362 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9363 test ! -s conftest.err
9364 }; then
9365 ac_header_preproc=yes
9366 else
9367 echo "$as_me: failed program was:" >&5
9368 sed 's/^/| /' conftest.$ac_ext >&5
9370 ac_header_preproc=no
9373 rm -f conftest.err conftest.$ac_ext
9374 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9375 echo "${ECHO_T}$ac_header_preproc" >&6; }
9377 # So? What about this header?
9378 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9379 yes:no: )
9380 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9381 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9383 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9384 ac_header_preproc=yes
9386 no:yes:* )
9387 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9388 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9389 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9390 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9391 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9392 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9393 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9394 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9395 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9396 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9397 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9398 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9399 ( cat <<\_ASBOX
9400 ## ------------------------------------ ##
9401 ## Report this to wine-devel@winehq.org ##
9402 ## ------------------------------------ ##
9403 _ASBOX
9404 ) | sed "s/^/$as_me: WARNING: /" >&2
9406 esac
9407 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9409 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9410 echo $ECHO_N "(cached) $ECHO_C" >&6
9411 else
9412 eval "$as_ac_Header=\$ac_header_preproc"
9414 ac_res=`eval echo '${'$as_ac_Header'}'`
9415 { echo "$as_me:$LINENO: result: $ac_res" >&5
9416 echo "${ECHO_T}$ac_res" >&6; }
9419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9420 cat >>confdefs.h <<_ACEOF
9421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9422 _ACEOF
9426 done
9428 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9429 then
9430 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9431 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9432 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9433 echo $ECHO_N "(cached) $ECHO_C" >&6
9434 else
9435 ac_check_lib_save_LIBS=$LIBS
9436 LIBS="-lhal $LIBS"
9437 cat >conftest.$ac_ext <<_ACEOF
9438 /* confdefs.h. */
9439 _ACEOF
9440 cat confdefs.h >>conftest.$ac_ext
9441 cat >>conftest.$ac_ext <<_ACEOF
9442 /* end confdefs.h. */
9444 /* Override any GCC internal prototype to avoid an error.
9445 Use char because int might match the return type of a GCC
9446 builtin and then its argument prototype would still apply. */
9447 #ifdef __cplusplus
9448 extern "C"
9449 #endif
9450 char libhal_ctx_new ();
9452 main ()
9454 return libhal_ctx_new ();
9456 return 0;
9458 _ACEOF
9459 rm -f conftest.$ac_objext conftest$ac_exeext
9460 if { (ac_try="$ac_link"
9461 case "(($ac_try" in
9462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9463 *) ac_try_echo=$ac_try;;
9464 esac
9465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9466 (eval "$ac_link") 2>conftest.er1
9467 ac_status=$?
9468 grep -v '^ *+' conftest.er1 >conftest.err
9469 rm -f conftest.er1
9470 cat conftest.err >&5
9471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9472 (exit $ac_status); } && {
9473 test -z "$ac_c_werror_flag" ||
9474 test ! -s conftest.err
9475 } && test -s conftest$ac_exeext &&
9476 $as_test_x conftest$ac_exeext; then
9477 ac_cv_lib_hal_libhal_ctx_new=yes
9478 else
9479 echo "$as_me: failed program was:" >&5
9480 sed 's/^/| /' conftest.$ac_ext >&5
9482 ac_cv_lib_hal_libhal_ctx_new=no
9485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9486 conftest$ac_exeext conftest.$ac_ext
9487 LIBS=$ac_check_lib_save_LIBS
9489 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9490 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9491 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9492 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9493 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9494 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9495 echo $ECHO_N "(cached) $ECHO_C" >&6
9496 else
9497 ac_check_lib_save_LIBS=$LIBS
9498 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9499 cat >conftest.$ac_ext <<_ACEOF
9500 /* confdefs.h. */
9501 _ACEOF
9502 cat confdefs.h >>conftest.$ac_ext
9503 cat >>conftest.$ac_ext <<_ACEOF
9504 /* end confdefs.h. */
9506 /* Override any GCC internal prototype to avoid an error.
9507 Use char because int might match the return type of a GCC
9508 builtin and then its argument prototype would still apply. */
9509 #ifdef __cplusplus
9510 extern "C"
9511 #endif
9512 char dbus_connection_close ();
9514 main ()
9516 return dbus_connection_close ();
9518 return 0;
9520 _ACEOF
9521 rm -f conftest.$ac_objext conftest$ac_exeext
9522 if { (ac_try="$ac_link"
9523 case "(($ac_try" in
9524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9525 *) ac_try_echo=$ac_try;;
9526 esac
9527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9528 (eval "$ac_link") 2>conftest.er1
9529 ac_status=$?
9530 grep -v '^ *+' conftest.er1 >conftest.err
9531 rm -f conftest.er1
9532 cat conftest.err >&5
9533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9534 (exit $ac_status); } && {
9535 test -z "$ac_c_werror_flag" ||
9536 test ! -s conftest.err
9537 } && test -s conftest$ac_exeext &&
9538 $as_test_x conftest$ac_exeext; then
9539 ac_cv_lib_dbus_1_dbus_connection_close=yes
9540 else
9541 echo "$as_me: failed program was:" >&5
9542 sed 's/^/| /' conftest.$ac_ext >&5
9544 ac_cv_lib_dbus_1_dbus_connection_close=no
9547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9548 conftest$ac_exeext conftest.$ac_ext
9549 LIBS=$ac_check_lib_save_LIBS
9551 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9552 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9553 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9555 cat >>confdefs.h <<\_ACEOF
9556 #define HAVE_LIBHAL 1
9557 _ACEOF
9559 HALINCL="$ac_hal_cflags"
9565 CPPFLAGS="$ac_save_CPPFLAGS"
9568 CURSESLIBS=""
9569 if test "$ac_cv_header_ncurses_h" = "yes"
9570 then
9571 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9572 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9573 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9574 echo $ECHO_N "(cached) $ECHO_C" >&6
9575 else
9576 ac_check_lib_save_LIBS=$LIBS
9577 LIBS="-lncurses $LIBS"
9578 cat >conftest.$ac_ext <<_ACEOF
9579 /* confdefs.h. */
9580 _ACEOF
9581 cat confdefs.h >>conftest.$ac_ext
9582 cat >>conftest.$ac_ext <<_ACEOF
9583 /* end confdefs.h. */
9585 /* Override any GCC internal prototype to avoid an error.
9586 Use char because int might match the return type of a GCC
9587 builtin and then its argument prototype would still apply. */
9588 #ifdef __cplusplus
9589 extern "C"
9590 #endif
9591 char waddch ();
9593 main ()
9595 return waddch ();
9597 return 0;
9599 _ACEOF
9600 rm -f conftest.$ac_objext conftest$ac_exeext
9601 if { (ac_try="$ac_link"
9602 case "(($ac_try" in
9603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9604 *) ac_try_echo=$ac_try;;
9605 esac
9606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9607 (eval "$ac_link") 2>conftest.er1
9608 ac_status=$?
9609 grep -v '^ *+' conftest.er1 >conftest.err
9610 rm -f conftest.er1
9611 cat conftest.err >&5
9612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9613 (exit $ac_status); } && {
9614 test -z "$ac_c_werror_flag" ||
9615 test ! -s conftest.err
9616 } && test -s conftest$ac_exeext &&
9617 $as_test_x conftest$ac_exeext; then
9618 ac_cv_lib_ncurses_waddch=yes
9619 else
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.$ac_ext >&5
9623 ac_cv_lib_ncurses_waddch=no
9626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9627 conftest$ac_exeext conftest.$ac_ext
9628 LIBS=$ac_check_lib_save_LIBS
9630 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9631 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9632 if test $ac_cv_lib_ncurses_waddch = yes; then
9633 CURSESLIBS="-lncurses"
9636 elif test "$ac_cv_header_curses_h" = "yes"
9637 then
9638 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9639 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9640 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9641 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 else
9643 ac_check_lib_save_LIBS=$LIBS
9644 LIBS="-lcurses $LIBS"
9645 cat >conftest.$ac_ext <<_ACEOF
9646 /* confdefs.h. */
9647 _ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9655 #ifdef __cplusplus
9656 extern "C"
9657 #endif
9658 char waddch ();
9660 main ()
9662 return waddch ();
9664 return 0;
9666 _ACEOF
9667 rm -f conftest.$ac_objext conftest$ac_exeext
9668 if { (ac_try="$ac_link"
9669 case "(($ac_try" in
9670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9671 *) ac_try_echo=$ac_try;;
9672 esac
9673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9674 (eval "$ac_link") 2>conftest.er1
9675 ac_status=$?
9676 grep -v '^ *+' conftest.er1 >conftest.err
9677 rm -f conftest.er1
9678 cat conftest.err >&5
9679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9680 (exit $ac_status); } && {
9681 test -z "$ac_c_werror_flag" ||
9682 test ! -s conftest.err
9683 } && test -s conftest$ac_exeext &&
9684 $as_test_x conftest$ac_exeext; then
9685 ac_cv_lib_curses_waddch=yes
9686 else
9687 echo "$as_me: failed program was:" >&5
9688 sed 's/^/| /' conftest.$ac_ext >&5
9690 ac_cv_lib_curses_waddch=no
9693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9694 conftest$ac_exeext conftest.$ac_ext
9695 LIBS=$ac_check_lib_save_LIBS
9697 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9698 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9699 if test $ac_cv_lib_curses_waddch = yes; then
9700 CURSESLIBS="-lcurses"
9704 ac_save_LIBS="$LIBS"
9705 LIBS="$LIBS $CURSESLIBS"
9707 for ac_func in mousemask
9709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9710 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9713 echo $ECHO_N "(cached) $ECHO_C" >&6
9714 else
9715 cat >conftest.$ac_ext <<_ACEOF
9716 /* confdefs.h. */
9717 _ACEOF
9718 cat confdefs.h >>conftest.$ac_ext
9719 cat >>conftest.$ac_ext <<_ACEOF
9720 /* end confdefs.h. */
9721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9723 #define $ac_func innocuous_$ac_func
9725 /* System header to define __stub macros and hopefully few prototypes,
9726 which can conflict with char $ac_func (); below.
9727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9728 <limits.h> exists even on freestanding compilers. */
9730 #ifdef __STDC__
9731 # include <limits.h>
9732 #else
9733 # include <assert.h>
9734 #endif
9736 #undef $ac_func
9738 /* Override any GCC internal prototype to avoid an error.
9739 Use char because int might match the return type of a GCC
9740 builtin and then its argument prototype would still apply. */
9741 #ifdef __cplusplus
9742 extern "C"
9743 #endif
9744 char $ac_func ();
9745 /* The GNU C library defines this for functions which it implements
9746 to always fail with ENOSYS. Some functions are actually named
9747 something starting with __ and the normal name is an alias. */
9748 #if defined __stub_$ac_func || defined __stub___$ac_func
9749 choke me
9750 #endif
9753 main ()
9755 return $ac_func ();
9757 return 0;
9759 _ACEOF
9760 rm -f conftest.$ac_objext conftest$ac_exeext
9761 if { (ac_try="$ac_link"
9762 case "(($ac_try" in
9763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9764 *) ac_try_echo=$ac_try;;
9765 esac
9766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9767 (eval "$ac_link") 2>conftest.er1
9768 ac_status=$?
9769 grep -v '^ *+' conftest.er1 >conftest.err
9770 rm -f conftest.er1
9771 cat conftest.err >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); } && {
9774 test -z "$ac_c_werror_flag" ||
9775 test ! -s conftest.err
9776 } && test -s conftest$ac_exeext &&
9777 $as_test_x conftest$ac_exeext; then
9778 eval "$as_ac_var=yes"
9779 else
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.$ac_ext >&5
9783 eval "$as_ac_var=no"
9786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9787 conftest$ac_exeext conftest.$ac_ext
9789 ac_res=`eval echo '${'$as_ac_var'}'`
9790 { echo "$as_me:$LINENO: result: $ac_res" >&5
9791 echo "${ECHO_T}$ac_res" >&6; }
9792 if test `eval echo '${'$as_ac_var'}'` = yes; then
9793 cat >>confdefs.h <<_ACEOF
9794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9795 _ACEOF
9798 done
9800 LIBS="$ac_save_LIBS"
9802 # Extract the first word of "sane-config", so it can be a program name with args.
9803 set dummy sane-config; ac_word=$2
9804 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9806 if test "${ac_cv_prog_sane_devel+set}" = set; then
9807 echo $ECHO_N "(cached) $ECHO_C" >&6
9808 else
9809 if test -n "$sane_devel"; then
9810 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9811 else
9812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9813 for as_dir in $PATH
9815 IFS=$as_save_IFS
9816 test -z "$as_dir" && as_dir=.
9817 for ac_exec_ext in '' $ac_executable_extensions; do
9818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9819 ac_cv_prog_sane_devel="sane-config"
9820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9821 break 2
9823 done
9824 done
9825 IFS=$as_save_IFS
9827 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9830 sane_devel=$ac_cv_prog_sane_devel
9831 if test -n "$sane_devel"; then
9832 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9833 echo "${ECHO_T}$sane_devel" >&6; }
9834 else
9835 { echo "$as_me:$LINENO: result: no" >&5
9836 echo "${ECHO_T}no" >&6; }
9840 SANELIBS=""
9842 SANEINCL=""
9844 if test "$sane_devel" != "no"
9845 then
9846 SANELIBS="`$sane_devel --libs`"
9847 SANEINCL="`$sane_devel --cflags`"
9848 ac_save_CPPFLAGS="$CPPFLAGS"
9849 ac_save_LIBS="$LIBS"
9850 CPPFLAGS="$CPPFLAGS $SANEINCL"
9851 LIBS="$LIBS $SANELIBS"
9852 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9853 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9854 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9855 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9856 echo $ECHO_N "(cached) $ECHO_C" >&6
9858 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9859 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9860 else
9861 # Is the header compilable?
9862 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9863 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9864 cat >conftest.$ac_ext <<_ACEOF
9865 /* confdefs.h. */
9866 _ACEOF
9867 cat confdefs.h >>conftest.$ac_ext
9868 cat >>conftest.$ac_ext <<_ACEOF
9869 /* end confdefs.h. */
9870 $ac_includes_default
9871 #include <sane/sane.h>
9872 _ACEOF
9873 rm -f conftest.$ac_objext
9874 if { (ac_try="$ac_compile"
9875 case "(($ac_try" in
9876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9877 *) ac_try_echo=$ac_try;;
9878 esac
9879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9880 (eval "$ac_compile") 2>conftest.er1
9881 ac_status=$?
9882 grep -v '^ *+' conftest.er1 >conftest.err
9883 rm -f conftest.er1
9884 cat conftest.err >&5
9885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9886 (exit $ac_status); } && {
9887 test -z "$ac_c_werror_flag" ||
9888 test ! -s conftest.err
9889 } && test -s conftest.$ac_objext; then
9890 ac_header_compiler=yes
9891 else
9892 echo "$as_me: failed program was:" >&5
9893 sed 's/^/| /' conftest.$ac_ext >&5
9895 ac_header_compiler=no
9898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9899 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9900 echo "${ECHO_T}$ac_header_compiler" >&6; }
9902 # Is the header present?
9903 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9904 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9905 cat >conftest.$ac_ext <<_ACEOF
9906 /* confdefs.h. */
9907 _ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h. */
9911 #include <sane/sane.h>
9912 _ACEOF
9913 if { (ac_try="$ac_cpp conftest.$ac_ext"
9914 case "(($ac_try" in
9915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9916 *) ac_try_echo=$ac_try;;
9917 esac
9918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9920 ac_status=$?
9921 grep -v '^ *+' conftest.er1 >conftest.err
9922 rm -f conftest.er1
9923 cat conftest.err >&5
9924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9925 (exit $ac_status); } >/dev/null && {
9926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9927 test ! -s conftest.err
9928 }; then
9929 ac_header_preproc=yes
9930 else
9931 echo "$as_me: failed program was:" >&5
9932 sed 's/^/| /' conftest.$ac_ext >&5
9934 ac_header_preproc=no
9937 rm -f conftest.err conftest.$ac_ext
9938 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9939 echo "${ECHO_T}$ac_header_preproc" >&6; }
9941 # So? What about this header?
9942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9943 yes:no: )
9944 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9945 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9946 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9947 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9948 ac_header_preproc=yes
9950 no:yes:* )
9951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9952 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9954 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9956 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9957 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9958 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9959 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9960 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9961 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9962 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9963 ( cat <<\_ASBOX
9964 ## ------------------------------------ ##
9965 ## Report this to wine-devel@winehq.org ##
9966 ## ------------------------------------ ##
9967 _ASBOX
9968 ) | sed "s/^/$as_me: WARNING: /" >&2
9970 esac
9971 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9972 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9973 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9974 echo $ECHO_N "(cached) $ECHO_C" >&6
9975 else
9976 ac_cv_header_sane_sane_h=$ac_header_preproc
9978 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9979 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9982 if test $ac_cv_header_sane_sane_h = yes; then
9983 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9984 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
9985 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9986 echo $ECHO_N "(cached) $ECHO_C" >&6
9987 else
9988 ac_check_lib_save_LIBS=$LIBS
9989 LIBS="-lsane $LIBS"
9990 cat >conftest.$ac_ext <<_ACEOF
9991 /* confdefs.h. */
9992 _ACEOF
9993 cat confdefs.h >>conftest.$ac_ext
9994 cat >>conftest.$ac_ext <<_ACEOF
9995 /* end confdefs.h. */
9997 /* Override any GCC internal prototype to avoid an error.
9998 Use char because int might match the return type of a GCC
9999 builtin and then its argument prototype would still apply. */
10000 #ifdef __cplusplus
10001 extern "C"
10002 #endif
10003 char sane_open ();
10005 main ()
10007 return sane_open ();
10009 return 0;
10011 _ACEOF
10012 rm -f conftest.$ac_objext conftest$ac_exeext
10013 if { (ac_try="$ac_link"
10014 case "(($ac_try" in
10015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10016 *) ac_try_echo=$ac_try;;
10017 esac
10018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10019 (eval "$ac_link") 2>conftest.er1
10020 ac_status=$?
10021 grep -v '^ *+' conftest.er1 >conftest.err
10022 rm -f conftest.er1
10023 cat conftest.err >&5
10024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10025 (exit $ac_status); } && {
10026 test -z "$ac_c_werror_flag" ||
10027 test ! -s conftest.err
10028 } && test -s conftest$ac_exeext &&
10029 $as_test_x conftest$ac_exeext; then
10030 ac_cv_lib_sane_sane_open=yes
10031 else
10032 echo "$as_me: failed program was:" >&5
10033 sed 's/^/| /' conftest.$ac_ext >&5
10035 ac_cv_lib_sane_sane_open=no
10038 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10039 conftest$ac_exeext conftest.$ac_ext
10040 LIBS=$ac_check_lib_save_LIBS
10042 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10043 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10044 if test $ac_cv_lib_sane_sane_open = yes; then
10046 cat >>confdefs.h <<\_ACEOF
10047 #define HAVE_SANE 1
10048 _ACEOF
10050 else
10051 SANELIBS=""
10052 SANEINCL=""
10055 else
10056 SANELIBS=""
10057 SANEINCL=""
10061 LIBS="$ac_save_LIBS"
10062 CPPFLAGS="$ac_save_CPPFLAGS"
10065 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10066 set dummy gphoto2-config; ac_word=$2
10067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10069 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10071 else
10072 if test -n "$gphoto2_devel"; then
10073 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10074 else
10075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10076 for as_dir in $PATH
10078 IFS=$as_save_IFS
10079 test -z "$as_dir" && as_dir=.
10080 for ac_exec_ext in '' $ac_executable_extensions; do
10081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10082 ac_cv_prog_gphoto2_devel="gphoto2-config"
10083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10084 break 2
10086 done
10087 done
10088 IFS=$as_save_IFS
10090 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10093 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10094 if test -n "$gphoto2_devel"; then
10095 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10096 echo "${ECHO_T}$gphoto2_devel" >&6; }
10097 else
10098 { echo "$as_me:$LINENO: result: no" >&5
10099 echo "${ECHO_T}no" >&6; }
10103 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10104 set dummy gphoto2-port-config; ac_word=$2
10105 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10107 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10108 echo $ECHO_N "(cached) $ECHO_C" >&6
10109 else
10110 if test -n "$gphoto2port_devel"; then
10111 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10112 else
10113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10114 for as_dir in $PATH
10116 IFS=$as_save_IFS
10117 test -z "$as_dir" && as_dir=.
10118 for ac_exec_ext in '' $ac_executable_extensions; do
10119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10120 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10122 break 2
10124 done
10125 done
10126 IFS=$as_save_IFS
10128 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10131 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10132 if test -n "$gphoto2port_devel"; then
10133 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10134 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10135 else
10136 { echo "$as_me:$LINENO: result: no" >&5
10137 echo "${ECHO_T}no" >&6; }
10141 GPHOTO2LIBS=""
10143 GPHOTO2INCL=""
10145 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10146 then
10147 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10148 GPHOTO2LIBS=""
10149 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10151 case "$i" in
10152 -L/usr/lib|-L/usr/lib64) ;;
10153 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10154 esac
10155 done
10156 ac_save_CPPFLAGS="$CPPFLAGS"
10157 ac_save_LIBS="$LIBS"
10158 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10159 LIBS="$LIBS $GPHOTO2LIBS"
10160 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10161 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10162 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10163 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10164 echo $ECHO_N "(cached) $ECHO_C" >&6
10166 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10167 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10168 else
10169 # Is the header compilable?
10170 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10171 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10172 cat >conftest.$ac_ext <<_ACEOF
10173 /* confdefs.h. */
10174 _ACEOF
10175 cat confdefs.h >>conftest.$ac_ext
10176 cat >>conftest.$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10178 $ac_includes_default
10179 #include <gphoto2-camera.h>
10180 _ACEOF
10181 rm -f conftest.$ac_objext
10182 if { (ac_try="$ac_compile"
10183 case "(($ac_try" in
10184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10185 *) ac_try_echo=$ac_try;;
10186 esac
10187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10188 (eval "$ac_compile") 2>conftest.er1
10189 ac_status=$?
10190 grep -v '^ *+' conftest.er1 >conftest.err
10191 rm -f conftest.er1
10192 cat conftest.err >&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } && {
10195 test -z "$ac_c_werror_flag" ||
10196 test ! -s conftest.err
10197 } && test -s conftest.$ac_objext; then
10198 ac_header_compiler=yes
10199 else
10200 echo "$as_me: failed program was:" >&5
10201 sed 's/^/| /' conftest.$ac_ext >&5
10203 ac_header_compiler=no
10206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10207 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10208 echo "${ECHO_T}$ac_header_compiler" >&6; }
10210 # Is the header present?
10211 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10212 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10213 cat >conftest.$ac_ext <<_ACEOF
10214 /* confdefs.h. */
10215 _ACEOF
10216 cat confdefs.h >>conftest.$ac_ext
10217 cat >>conftest.$ac_ext <<_ACEOF
10218 /* end confdefs.h. */
10219 #include <gphoto2-camera.h>
10220 _ACEOF
10221 if { (ac_try="$ac_cpp conftest.$ac_ext"
10222 case "(($ac_try" in
10223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10224 *) ac_try_echo=$ac_try;;
10225 esac
10226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10227 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10228 ac_status=$?
10229 grep -v '^ *+' conftest.er1 >conftest.err
10230 rm -f conftest.er1
10231 cat conftest.err >&5
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); } >/dev/null && {
10234 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10235 test ! -s conftest.err
10236 }; then
10237 ac_header_preproc=yes
10238 else
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10242 ac_header_preproc=no
10245 rm -f conftest.err conftest.$ac_ext
10246 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10247 echo "${ECHO_T}$ac_header_preproc" >&6; }
10249 # So? What about this header?
10250 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10251 yes:no: )
10252 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10253 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10255 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10256 ac_header_preproc=yes
10258 no:yes:* )
10259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10260 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10262 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10263 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10264 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10265 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10266 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10267 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10268 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10269 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10270 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10271 ( cat <<\_ASBOX
10272 ## ------------------------------------ ##
10273 ## Report this to wine-devel@winehq.org ##
10274 ## ------------------------------------ ##
10275 _ASBOX
10276 ) | sed "s/^/$as_me: WARNING: /" >&2
10278 esac
10279 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10280 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10281 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10282 echo $ECHO_N "(cached) $ECHO_C" >&6
10283 else
10284 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10286 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10287 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10290 if test $ac_cv_header_gphoto2_camera_h = yes; then
10291 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10292 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10293 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10295 else
10296 ac_check_lib_save_LIBS=$LIBS
10297 LIBS="-lgphoto2 $LIBS"
10298 cat >conftest.$ac_ext <<_ACEOF
10299 /* confdefs.h. */
10300 _ACEOF
10301 cat confdefs.h >>conftest.$ac_ext
10302 cat >>conftest.$ac_ext <<_ACEOF
10303 /* end confdefs.h. */
10305 /* Override any GCC internal prototype to avoid an error.
10306 Use char because int might match the return type of a GCC
10307 builtin and then its argument prototype would still apply. */
10308 #ifdef __cplusplus
10309 extern "C"
10310 #endif
10311 char gp_camera_new ();
10313 main ()
10315 return gp_camera_new ();
10317 return 0;
10319 _ACEOF
10320 rm -f conftest.$ac_objext conftest$ac_exeext
10321 if { (ac_try="$ac_link"
10322 case "(($ac_try" in
10323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10324 *) ac_try_echo=$ac_try;;
10325 esac
10326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10327 (eval "$ac_link") 2>conftest.er1
10328 ac_status=$?
10329 grep -v '^ *+' conftest.er1 >conftest.err
10330 rm -f conftest.er1
10331 cat conftest.err >&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); } && {
10334 test -z "$ac_c_werror_flag" ||
10335 test ! -s conftest.err
10336 } && test -s conftest$ac_exeext &&
10337 $as_test_x conftest$ac_exeext; then
10338 ac_cv_lib_gphoto2_gp_camera_new=yes
10339 else
10340 echo "$as_me: failed program was:" >&5
10341 sed 's/^/| /' conftest.$ac_ext >&5
10343 ac_cv_lib_gphoto2_gp_camera_new=no
10346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10347 conftest$ac_exeext conftest.$ac_ext
10348 LIBS=$ac_check_lib_save_LIBS
10350 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10351 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10352 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10354 cat >>confdefs.h <<\_ACEOF
10355 #define HAVE_GPHOTO2 1
10356 _ACEOF
10358 else
10359 GPHOTO2LIBS=""
10360 GPHOTO2INCL=""
10363 else
10364 GPHOTO2LIBS=""
10365 GPHOTO2INCL=""
10369 LIBS="$ac_save_LIBS"
10370 CPPFLAGS="$ac_save_CPPFLAGS"
10373 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10374 then
10375 saved_libs="$LIBS"
10376 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10378 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10379 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10380 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10381 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10382 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10383 cat >conftest.$ac_ext <<_ACEOF
10384 /* confdefs.h. */
10385 _ACEOF
10386 cat confdefs.h >>conftest.$ac_ext
10387 cat >>conftest.$ac_ext <<_ACEOF
10388 /* end confdefs.h. */
10389 #include <unicode/ubidi.h>
10391 main ()
10393 ubidi_open()
10395 return 0;
10397 _ACEOF
10398 rm -f conftest.$ac_objext conftest$ac_exeext
10399 if { (ac_try="$ac_link"
10400 case "(($ac_try" in
10401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10402 *) ac_try_echo=$ac_try;;
10403 esac
10404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10405 (eval "$ac_link") 2>conftest.er1
10406 ac_status=$?
10407 grep -v '^ *+' conftest.er1 >conftest.err
10408 rm -f conftest.er1
10409 cat conftest.err >&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } && {
10412 test -z "$ac_c_werror_flag" ||
10413 test ! -s conftest.err
10414 } && test -s conftest$ac_exeext &&
10415 $as_test_x conftest$ac_exeext; then
10417 cat >>confdefs.h <<\_ACEOF
10418 #define HAVE_ICU 1
10419 _ACEOF
10421 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10423 { echo "$as_me:$LINENO: result: yes" >&5
10424 echo "${ECHO_T}yes" >&6; }
10425 else
10426 echo "$as_me: failed program was:" >&5
10427 sed 's/^/| /' conftest.$ac_ext >&5
10429 { echo "$as_me:$LINENO: result: no" >&5
10430 echo "${ECHO_T}no" >&6; }
10433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10434 conftest$ac_exeext conftest.$ac_ext
10435 done
10436 LIBS="$saved_libs"
10439 RESOLVLIBS=""
10441 if test "$ac_cv_header_resolv_h" = "yes"
10442 then
10443 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10444 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10445 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10446 echo $ECHO_N "(cached) $ECHO_C" >&6
10447 else
10448 ac_check_lib_save_LIBS=$LIBS
10449 LIBS="-lresolv $LIBS"
10450 cat >conftest.$ac_ext <<_ACEOF
10451 /* confdefs.h. */
10452 _ACEOF
10453 cat confdefs.h >>conftest.$ac_ext
10454 cat >>conftest.$ac_ext <<_ACEOF
10455 /* end confdefs.h. */
10457 /* Override any GCC internal prototype to avoid an error.
10458 Use char because int might match the return type of a GCC
10459 builtin and then its argument prototype would still apply. */
10460 #ifdef __cplusplus
10461 extern "C"
10462 #endif
10463 char res_query ();
10465 main ()
10467 return res_query ();
10469 return 0;
10471 _ACEOF
10472 rm -f conftest.$ac_objext conftest$ac_exeext
10473 if { (ac_try="$ac_link"
10474 case "(($ac_try" in
10475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10476 *) ac_try_echo=$ac_try;;
10477 esac
10478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10479 (eval "$ac_link") 2>conftest.er1
10480 ac_status=$?
10481 grep -v '^ *+' conftest.er1 >conftest.err
10482 rm -f conftest.er1
10483 cat conftest.err >&5
10484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10485 (exit $ac_status); } && {
10486 test -z "$ac_c_werror_flag" ||
10487 test ! -s conftest.err
10488 } && test -s conftest$ac_exeext &&
10489 $as_test_x conftest$ac_exeext; then
10490 ac_cv_lib_resolv_res_query=yes
10491 else
10492 echo "$as_me: failed program was:" >&5
10493 sed 's/^/| /' conftest.$ac_ext >&5
10495 ac_cv_lib_resolv_res_query=no
10498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10499 conftest$ac_exeext conftest.$ac_ext
10500 LIBS=$ac_check_lib_save_LIBS
10502 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10503 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10504 if test $ac_cv_lib_resolv_res_query = yes; then
10506 cat >>confdefs.h <<\_ACEOF
10507 #define HAVE_RESOLV 1
10508 _ACEOF
10510 RESOLVLIBS="-lresolv"
10515 LCMSLIBS=""
10517 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10518 then
10519 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10520 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10521 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10522 echo $ECHO_N "(cached) $ECHO_C" >&6
10523 else
10524 ac_check_lib_save_LIBS=$LIBS
10525 LIBS="-llcms $LIBS"
10526 cat >conftest.$ac_ext <<_ACEOF
10527 /* confdefs.h. */
10528 _ACEOF
10529 cat confdefs.h >>conftest.$ac_ext
10530 cat >>conftest.$ac_ext <<_ACEOF
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10536 #ifdef __cplusplus
10537 extern "C"
10538 #endif
10539 char cmsOpenProfileFromFile ();
10541 main ()
10543 return cmsOpenProfileFromFile ();
10545 return 0;
10547 _ACEOF
10548 rm -f conftest.$ac_objext conftest$ac_exeext
10549 if { (ac_try="$ac_link"
10550 case "(($ac_try" in
10551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10552 *) ac_try_echo=$ac_try;;
10553 esac
10554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10555 (eval "$ac_link") 2>conftest.er1
10556 ac_status=$?
10557 grep -v '^ *+' conftest.er1 >conftest.err
10558 rm -f conftest.er1
10559 cat conftest.err >&5
10560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10561 (exit $ac_status); } && {
10562 test -z "$ac_c_werror_flag" ||
10563 test ! -s conftest.err
10564 } && test -s conftest$ac_exeext &&
10565 $as_test_x conftest$ac_exeext; then
10566 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10567 else
10568 echo "$as_me: failed program was:" >&5
10569 sed 's/^/| /' conftest.$ac_ext >&5
10571 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10574 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10575 conftest$ac_exeext conftest.$ac_ext
10576 LIBS=$ac_check_lib_save_LIBS
10578 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10579 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10580 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10582 cat >>confdefs.h <<\_ACEOF
10583 #define HAVE_LCMS 1
10584 _ACEOF
10586 LCMSLIBS="-llcms"
10591 LDAPLIBS=""
10593 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10594 then
10595 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10596 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10597 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10598 echo $ECHO_N "(cached) $ECHO_C" >&6
10599 else
10600 ac_check_lib_save_LIBS=$LIBS
10601 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10602 cat >conftest.$ac_ext <<_ACEOF
10603 /* confdefs.h. */
10604 _ACEOF
10605 cat confdefs.h >>conftest.$ac_ext
10606 cat >>conftest.$ac_ext <<_ACEOF
10607 /* end confdefs.h. */
10609 /* Override any GCC internal prototype to avoid an error.
10610 Use char because int might match the return type of a GCC
10611 builtin and then its argument prototype would still apply. */
10612 #ifdef __cplusplus
10613 extern "C"
10614 #endif
10615 char ldap_initialize ();
10617 main ()
10619 return ldap_initialize ();
10621 return 0;
10623 _ACEOF
10624 rm -f conftest.$ac_objext conftest$ac_exeext
10625 if { (ac_try="$ac_link"
10626 case "(($ac_try" in
10627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10628 *) ac_try_echo=$ac_try;;
10629 esac
10630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10631 (eval "$ac_link") 2>conftest.er1
10632 ac_status=$?
10633 grep -v '^ *+' conftest.er1 >conftest.err
10634 rm -f conftest.er1
10635 cat conftest.err >&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } && {
10638 test -z "$ac_c_werror_flag" ||
10639 test ! -s conftest.err
10640 } && test -s conftest$ac_exeext &&
10641 $as_test_x conftest$ac_exeext; then
10642 ac_cv_lib_ldap_r_ldap_initialize=yes
10643 else
10644 echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.$ac_ext >&5
10647 ac_cv_lib_ldap_r_ldap_initialize=no
10650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10651 conftest$ac_exeext conftest.$ac_ext
10652 LIBS=$ac_check_lib_save_LIBS
10654 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10655 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10656 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10657 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10658 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10659 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10660 echo $ECHO_N "(cached) $ECHO_C" >&6
10661 else
10662 ac_check_lib_save_LIBS=$LIBS
10663 LIBS="-llber $LIBPTHREAD $LIBS"
10664 cat >conftest.$ac_ext <<_ACEOF
10665 /* confdefs.h. */
10666 _ACEOF
10667 cat confdefs.h >>conftest.$ac_ext
10668 cat >>conftest.$ac_ext <<_ACEOF
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10674 #ifdef __cplusplus
10675 extern "C"
10676 #endif
10677 char ber_init ();
10679 main ()
10681 return ber_init ();
10683 return 0;
10685 _ACEOF
10686 rm -f conftest.$ac_objext conftest$ac_exeext
10687 if { (ac_try="$ac_link"
10688 case "(($ac_try" in
10689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10690 *) ac_try_echo=$ac_try;;
10691 esac
10692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10693 (eval "$ac_link") 2>conftest.er1
10694 ac_status=$?
10695 grep -v '^ *+' conftest.er1 >conftest.err
10696 rm -f conftest.er1
10697 cat conftest.err >&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } && {
10700 test -z "$ac_c_werror_flag" ||
10701 test ! -s conftest.err
10702 } && test -s conftest$ac_exeext &&
10703 $as_test_x conftest$ac_exeext; then
10704 ac_cv_lib_lber_ber_init=yes
10705 else
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.$ac_ext >&5
10709 ac_cv_lib_lber_ber_init=no
10712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LIBS=$ac_check_lib_save_LIBS
10716 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10717 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10718 if test $ac_cv_lib_lber_ber_init = yes; then
10720 cat >>confdefs.h <<\_ACEOF
10721 #define HAVE_LDAP 1
10722 _ACEOF
10724 LDAPLIBS="-lldap_r -llber"
10729 ac_wine_check_funcs_save_LIBS="$LIBS"
10730 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10735 for ac_func in \
10736 ldap_count_references \
10737 ldap_first_reference \
10738 ldap_next_reference \
10739 ldap_parse_reference
10741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10742 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10744 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6
10746 else
10747 cat >conftest.$ac_ext <<_ACEOF
10748 /* confdefs.h. */
10749 _ACEOF
10750 cat confdefs.h >>conftest.$ac_ext
10751 cat >>conftest.$ac_ext <<_ACEOF
10752 /* end confdefs.h. */
10753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10755 #define $ac_func innocuous_$ac_func
10757 /* System header to define __stub macros and hopefully few prototypes,
10758 which can conflict with char $ac_func (); below.
10759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10760 <limits.h> exists even on freestanding compilers. */
10762 #ifdef __STDC__
10763 # include <limits.h>
10764 #else
10765 # include <assert.h>
10766 #endif
10768 #undef $ac_func
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10773 #ifdef __cplusplus
10774 extern "C"
10775 #endif
10776 char $ac_func ();
10777 /* The GNU C library defines this for functions which it implements
10778 to always fail with ENOSYS. Some functions are actually named
10779 something starting with __ and the normal name is an alias. */
10780 #if defined __stub_$ac_func || defined __stub___$ac_func
10781 choke me
10782 #endif
10785 main ()
10787 return $ac_func ();
10789 return 0;
10791 _ACEOF
10792 rm -f conftest.$ac_objext conftest$ac_exeext
10793 if { (ac_try="$ac_link"
10794 case "(($ac_try" in
10795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10796 *) ac_try_echo=$ac_try;;
10797 esac
10798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10799 (eval "$ac_link") 2>conftest.er1
10800 ac_status=$?
10801 grep -v '^ *+' conftest.er1 >conftest.err
10802 rm -f conftest.er1
10803 cat conftest.err >&5
10804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10805 (exit $ac_status); } && {
10806 test -z "$ac_c_werror_flag" ||
10807 test ! -s conftest.err
10808 } && test -s conftest$ac_exeext &&
10809 $as_test_x conftest$ac_exeext; then
10810 eval "$as_ac_var=yes"
10811 else
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10815 eval "$as_ac_var=no"
10818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10819 conftest$ac_exeext conftest.$ac_ext
10821 ac_res=`eval echo '${'$as_ac_var'}'`
10822 { echo "$as_me:$LINENO: result: $ac_res" >&5
10823 echo "${ECHO_T}$ac_res" >&6; }
10824 if test `eval echo '${'$as_ac_var'}'` = yes; then
10825 cat >>confdefs.h <<_ACEOF
10826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10827 _ACEOF
10830 done
10832 LIBS="$ac_wine_check_funcs_save_LIBS"
10835 FREETYPELIBS=""
10837 FREETYPEINCL=""
10839 # Extract the first word of "freetype-config", so it can be a program name with args.
10840 set dummy freetype-config; ac_word=$2
10841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10843 if test "${ac_cv_prog_ft_devel+set}" = set; then
10844 echo $ECHO_N "(cached) $ECHO_C" >&6
10845 else
10846 if test -n "$ft_devel"; then
10847 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10848 else
10849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10850 for as_dir in $PATH
10852 IFS=$as_save_IFS
10853 test -z "$as_dir" && as_dir=.
10854 for ac_exec_ext in '' $ac_executable_extensions; do
10855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10856 ac_cv_prog_ft_devel="freetype-config"
10857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10858 break 2
10860 done
10861 done
10862 IFS=$as_save_IFS
10864 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10867 ft_devel=$ac_cv_prog_ft_devel
10868 if test -n "$ft_devel"; then
10869 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10870 echo "${ECHO_T}$ft_devel" >&6; }
10871 else
10872 { echo "$as_me:$LINENO: result: no" >&5
10873 echo "${ECHO_T}no" >&6; }
10877 if test "$ft_devel" = "no"
10878 then
10879 # Extract the first word of "freetype2-config", so it can be a program name with args.
10880 set dummy freetype2-config; ac_word=$2
10881 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10883 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10884 echo $ECHO_N "(cached) $ECHO_C" >&6
10885 else
10886 if test -n "$ft_devel2"; then
10887 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10888 else
10889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10890 for as_dir in $PATH
10892 IFS=$as_save_IFS
10893 test -z "$as_dir" && as_dir=.
10894 for ac_exec_ext in '' $ac_executable_extensions; do
10895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10896 ac_cv_prog_ft_devel2="freetype2-config"
10897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10898 break 2
10900 done
10901 done
10902 IFS=$as_save_IFS
10904 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10907 ft_devel2=$ac_cv_prog_ft_devel2
10908 if test -n "$ft_devel2"; then
10909 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10910 echo "${ECHO_T}$ft_devel2" >&6; }
10911 else
10912 { echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6; }
10917 if test "$ft_devel2" = "freetype2-config"
10918 then
10919 ft_devel=$ft_devel2
10923 if test "$ft_devel" = "no"
10924 then
10925 wine_cv_msg_freetype=yes
10926 else
10927 FREETYPELIBS=`$ft_devel --libs`
10928 FREETYPEINCL=`$ft_devel --cflags`
10929 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10930 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10931 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10932 echo $ECHO_N "(cached) $ECHO_C" >&6
10933 else
10934 ac_check_lib_save_LIBS=$LIBS
10935 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10936 cat >conftest.$ac_ext <<_ACEOF
10937 /* confdefs.h. */
10938 _ACEOF
10939 cat confdefs.h >>conftest.$ac_ext
10940 cat >>conftest.$ac_ext <<_ACEOF
10941 /* end confdefs.h. */
10943 /* Override any GCC internal prototype to avoid an error.
10944 Use char because int might match the return type of a GCC
10945 builtin and then its argument prototype would still apply. */
10946 #ifdef __cplusplus
10947 extern "C"
10948 #endif
10949 char FT_Init_FreeType ();
10951 main ()
10953 return FT_Init_FreeType ();
10955 return 0;
10957 _ACEOF
10958 rm -f conftest.$ac_objext conftest$ac_exeext
10959 if { (ac_try="$ac_link"
10960 case "(($ac_try" in
10961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10962 *) ac_try_echo=$ac_try;;
10963 esac
10964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10965 (eval "$ac_link") 2>conftest.er1
10966 ac_status=$?
10967 grep -v '^ *+' conftest.er1 >conftest.err
10968 rm -f conftest.er1
10969 cat conftest.err >&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } && {
10972 test -z "$ac_c_werror_flag" ||
10973 test ! -s conftest.err
10974 } && test -s conftest$ac_exeext &&
10975 $as_test_x conftest$ac_exeext; then
10976 ac_cv_lib_freetype_FT_Init_FreeType=yes
10977 else
10978 echo "$as_me: failed program was:" >&5
10979 sed 's/^/| /' conftest.$ac_ext >&5
10981 ac_cv_lib_freetype_FT_Init_FreeType=no
10984 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10985 conftest$ac_exeext conftest.$ac_ext
10986 LIBS=$ac_check_lib_save_LIBS
10988 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10989 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10990 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10991 ft_lib=yes
10992 else
10993 ft_lib=no
10996 if test "$ft_lib" = "no"
10997 then
10998 wine_cv_msg_freetype=yes
10999 FREETYPELIBS=""
11000 FREETYPEINCL=""
11001 else
11002 ac_save_CPPFLAGS="$CPPFLAGS"
11003 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11015 for ac_header in ft2build.h \
11016 freetype/freetype.h \
11017 freetype/ftglyph.h \
11018 freetype/tttables.h \
11019 freetype/ftnames.h \
11020 freetype/ftsnames.h \
11021 freetype/ttnameid.h \
11022 freetype/ftoutln.h \
11023 freetype/ftwinfnt.h \
11024 freetype/ftmodapi.h \
11025 freetype/internal/sfnt.h
11027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11028 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11030 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11031 echo $ECHO_N "(cached) $ECHO_C" >&6
11032 else
11033 cat >conftest.$ac_ext <<_ACEOF
11034 /* confdefs.h. */
11035 _ACEOF
11036 cat confdefs.h >>conftest.$ac_ext
11037 cat >>conftest.$ac_ext <<_ACEOF
11038 /* end confdefs.h. */
11039 #if HAVE_FT2BUILD_H
11040 #include <ft2build.h>
11041 #endif
11043 #include <$ac_header>
11044 _ACEOF
11045 rm -f conftest.$ac_objext
11046 if { (ac_try="$ac_compile"
11047 case "(($ac_try" in
11048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11049 *) ac_try_echo=$ac_try;;
11050 esac
11051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11052 (eval "$ac_compile") 2>conftest.er1
11053 ac_status=$?
11054 grep -v '^ *+' conftest.er1 >conftest.err
11055 rm -f conftest.er1
11056 cat conftest.err >&5
11057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11058 (exit $ac_status); } && {
11059 test -z "$ac_c_werror_flag" ||
11060 test ! -s conftest.err
11061 } && test -s conftest.$ac_objext; then
11062 eval "$as_ac_Header=yes"
11063 else
11064 echo "$as_me: failed program was:" >&5
11065 sed 's/^/| /' conftest.$ac_ext >&5
11067 eval "$as_ac_Header=no"
11070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11072 ac_res=`eval echo '${'$as_ac_Header'}'`
11073 { echo "$as_me:$LINENO: result: $ac_res" >&5
11074 echo "${ECHO_T}$ac_res" >&6; }
11075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11076 cat >>confdefs.h <<_ACEOF
11077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11078 _ACEOF
11082 done
11084 cat >conftest.$ac_ext <<_ACEOF
11085 /* confdefs.h. */
11086 _ACEOF
11087 cat confdefs.h >>conftest.$ac_ext
11088 cat >>conftest.$ac_ext <<_ACEOF
11089 /* end confdefs.h. */
11090 #include <ft2build.h>
11091 #include <freetype/fttrigon.h>
11092 _ACEOF
11093 if { (ac_try="$ac_cpp conftest.$ac_ext"
11094 case "(($ac_try" in
11095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11096 *) ac_try_echo=$ac_try;;
11097 esac
11098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11100 ac_status=$?
11101 grep -v '^ *+' conftest.er1 >conftest.err
11102 rm -f conftest.er1
11103 cat conftest.err >&5
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); } >/dev/null && {
11106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11107 test ! -s conftest.err
11108 }; then
11110 cat >>confdefs.h <<\_ACEOF
11111 #define HAVE_FREETYPE_FTTRIGON_H 1
11112 _ACEOF
11114 wine_cv_fttrigon=yes
11115 else
11116 echo "$as_me: failed program was:" >&5
11117 sed 's/^/| /' conftest.$ac_ext >&5
11119 wine_cv_fttrigon=no
11122 rm -f conftest.err conftest.$ac_ext
11123 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11124 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11125 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11126 echo $ECHO_N "(cached) $ECHO_C" >&6
11127 else
11128 cat >conftest.$ac_ext <<_ACEOF
11129 /* confdefs.h. */
11130 _ACEOF
11131 cat confdefs.h >>conftest.$ac_ext
11132 cat >>conftest.$ac_ext <<_ACEOF
11133 /* end confdefs.h. */
11134 #include <freetype/ftmodapi.h>
11136 typedef FT_TrueTypeEngineType ac__type_new_;
11138 main ()
11140 if ((ac__type_new_ *) 0)
11141 return 0;
11142 if (sizeof (ac__type_new_))
11143 return 0;
11145 return 0;
11147 _ACEOF
11148 rm -f conftest.$ac_objext
11149 if { (ac_try="$ac_compile"
11150 case "(($ac_try" in
11151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11152 *) ac_try_echo=$ac_try;;
11153 esac
11154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11155 (eval "$ac_compile") 2>conftest.er1
11156 ac_status=$?
11157 grep -v '^ *+' conftest.er1 >conftest.err
11158 rm -f conftest.er1
11159 cat conftest.err >&5
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); } && {
11162 test -z "$ac_c_werror_flag" ||
11163 test ! -s conftest.err
11164 } && test -s conftest.$ac_objext; then
11165 ac_cv_type_FT_TrueTypeEngineType=yes
11166 else
11167 echo "$as_me: failed program was:" >&5
11168 sed 's/^/| /' conftest.$ac_ext >&5
11170 ac_cv_type_FT_TrueTypeEngineType=no
11173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11175 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11176 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11177 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11179 cat >>confdefs.h <<_ACEOF
11180 #define HAVE_FT_TRUETYPEENGINETYPE 1
11181 _ACEOF
11186 ac_save_CFLAGS="$CFLAGS"
11187 CFLAGS="$CFLAGS $FREETYPELIBS"
11189 for ac_func in FT_Load_Sfnt_Table
11191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11195 echo $ECHO_N "(cached) $ECHO_C" >&6
11196 else
11197 cat >conftest.$ac_ext <<_ACEOF
11198 /* confdefs.h. */
11199 _ACEOF
11200 cat confdefs.h >>conftest.$ac_ext
11201 cat >>conftest.$ac_ext <<_ACEOF
11202 /* end confdefs.h. */
11203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11205 #define $ac_func innocuous_$ac_func
11207 /* System header to define __stub macros and hopefully few prototypes,
11208 which can conflict with char $ac_func (); below.
11209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11210 <limits.h> exists even on freestanding compilers. */
11212 #ifdef __STDC__
11213 # include <limits.h>
11214 #else
11215 # include <assert.h>
11216 #endif
11218 #undef $ac_func
11220 /* Override any GCC internal prototype to avoid an error.
11221 Use char because int might match the return type of a GCC
11222 builtin and then its argument prototype would still apply. */
11223 #ifdef __cplusplus
11224 extern "C"
11225 #endif
11226 char $ac_func ();
11227 /* The GNU C library defines this for functions which it implements
11228 to always fail with ENOSYS. Some functions are actually named
11229 something starting with __ and the normal name is an alias. */
11230 #if defined __stub_$ac_func || defined __stub___$ac_func
11231 choke me
11232 #endif
11235 main ()
11237 return $ac_func ();
11239 return 0;
11241 _ACEOF
11242 rm -f conftest.$ac_objext conftest$ac_exeext
11243 if { (ac_try="$ac_link"
11244 case "(($ac_try" in
11245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11246 *) ac_try_echo=$ac_try;;
11247 esac
11248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11249 (eval "$ac_link") 2>conftest.er1
11250 ac_status=$?
11251 grep -v '^ *+' conftest.er1 >conftest.err
11252 rm -f conftest.er1
11253 cat conftest.err >&5
11254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11255 (exit $ac_status); } && {
11256 test -z "$ac_c_werror_flag" ||
11257 test ! -s conftest.err
11258 } && test -s conftest$ac_exeext &&
11259 $as_test_x conftest$ac_exeext; then
11260 eval "$as_ac_var=yes"
11261 else
11262 echo "$as_me: failed program was:" >&5
11263 sed 's/^/| /' conftest.$ac_ext >&5
11265 eval "$as_ac_var=no"
11268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11269 conftest$ac_exeext conftest.$ac_ext
11271 ac_res=`eval echo '${'$as_ac_var'}'`
11272 { echo "$as_me:$LINENO: result: $ac_res" >&5
11273 echo "${ECHO_T}$ac_res" >&6; }
11274 if test `eval echo '${'$as_ac_var'}'` = yes; then
11275 cat >>confdefs.h <<_ACEOF
11276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11277 _ACEOF
11280 done
11282 CFLAGS="$ac_save_CFLAGS"
11283 CPPFLAGS="$ac_save_CPPFLAGS"
11284 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11285 then
11287 cat >>confdefs.h <<\_ACEOF
11288 #define HAVE_FREETYPE 1
11289 _ACEOF
11291 wine_cv_msg_freetype=no
11292 else
11293 FREETYPELIBS=""
11294 FREETYPEINCL=""
11295 wine_cv_msg_freetype=yes
11300 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11301 then
11302 FONTSSUBDIRS="fonts"
11306 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11307 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11308 if test "${ac_cv_c_ppdev+set}" = set; then
11309 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 else
11311 cat >conftest.$ac_ext <<_ACEOF
11312 /* confdefs.h. */
11313 _ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 #include <linux/ppdev.h>
11319 main ()
11321 ioctl (1,PPCLAIM,0)
11323 return 0;
11325 _ACEOF
11326 rm -f conftest.$ac_objext
11327 if { (ac_try="$ac_compile"
11328 case "(($ac_try" in
11329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11330 *) ac_try_echo=$ac_try;;
11331 esac
11332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11333 (eval "$ac_compile") 2>conftest.er1
11334 ac_status=$?
11335 grep -v '^ *+' conftest.er1 >conftest.err
11336 rm -f conftest.er1
11337 cat conftest.err >&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); } && {
11340 test -z "$ac_c_werror_flag" ||
11341 test ! -s conftest.err
11342 } && test -s conftest.$ac_objext; then
11343 ac_cv_c_ppdev="yes"
11344 else
11345 echo "$as_me: failed program was:" >&5
11346 sed 's/^/| /' conftest.$ac_ext >&5
11348 ac_cv_c_ppdev="no"
11351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11354 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11355 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11356 if test "$ac_cv_c_ppdev" = "yes"
11357 then
11359 cat >>confdefs.h <<\_ACEOF
11360 #define HAVE_PPDEV 1
11361 _ACEOF
11365 { echo "$as_me:$LINENO: checking for va_copy" >&5
11366 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11367 if test "${ac_cv_c_va_copy+set}" = set; then
11368 echo $ECHO_N "(cached) $ECHO_C" >&6
11369 else
11370 cat >conftest.$ac_ext <<_ACEOF
11371 /* confdefs.h. */
11372 _ACEOF
11373 cat confdefs.h >>conftest.$ac_ext
11374 cat >>conftest.$ac_ext <<_ACEOF
11375 /* end confdefs.h. */
11376 #include <stdarg.h>
11378 main ()
11380 va_list ap1, ap2;
11381 va_copy(ap1,ap2);
11384 return 0;
11386 _ACEOF
11387 rm -f conftest.$ac_objext conftest$ac_exeext
11388 if { (ac_try="$ac_link"
11389 case "(($ac_try" in
11390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11391 *) ac_try_echo=$ac_try;;
11392 esac
11393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11394 (eval "$ac_link") 2>conftest.er1
11395 ac_status=$?
11396 grep -v '^ *+' conftest.er1 >conftest.err
11397 rm -f conftest.er1
11398 cat conftest.err >&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); } && {
11401 test -z "$ac_c_werror_flag" ||
11402 test ! -s conftest.err
11403 } && test -s conftest$ac_exeext &&
11404 $as_test_x conftest$ac_exeext; then
11405 ac_cv_c_va_copy="yes"
11406 else
11407 echo "$as_me: failed program was:" >&5
11408 sed 's/^/| /' conftest.$ac_ext >&5
11410 ac_cv_c_va_copy="no"
11413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11414 conftest$ac_exeext conftest.$ac_ext
11417 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11418 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11419 if test "$ac_cv_c_va_copy" = "yes"
11420 then
11422 cat >>confdefs.h <<\_ACEOF
11423 #define HAVE_VA_COPY 1
11424 _ACEOF
11427 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11428 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11429 if test "${ac_cv_c___va_copy+set}" = set; then
11430 echo $ECHO_N "(cached) $ECHO_C" >&6
11431 else
11432 cat >conftest.$ac_ext <<_ACEOF
11433 /* confdefs.h. */
11434 _ACEOF
11435 cat confdefs.h >>conftest.$ac_ext
11436 cat >>conftest.$ac_ext <<_ACEOF
11437 /* end confdefs.h. */
11438 #include <stdarg.h>
11440 main ()
11442 va_list ap1, ap2;
11443 __va_copy(ap1,ap2);
11446 return 0;
11448 _ACEOF
11449 rm -f conftest.$ac_objext conftest$ac_exeext
11450 if { (ac_try="$ac_link"
11451 case "(($ac_try" in
11452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11453 *) ac_try_echo=$ac_try;;
11454 esac
11455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11456 (eval "$ac_link") 2>conftest.er1
11457 ac_status=$?
11458 grep -v '^ *+' conftest.er1 >conftest.err
11459 rm -f conftest.er1
11460 cat conftest.err >&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } && {
11463 test -z "$ac_c_werror_flag" ||
11464 test ! -s conftest.err
11465 } && test -s conftest$ac_exeext &&
11466 $as_test_x conftest$ac_exeext; then
11467 ac_cv_c___va_copy="yes"
11468 else
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.$ac_ext >&5
11472 ac_cv_c___va_copy="no"
11475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11476 conftest$ac_exeext conftest.$ac_ext
11479 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11480 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11481 if test "$ac_cv_c___va_copy" = "yes"
11482 then
11484 cat >>confdefs.h <<\_ACEOF
11485 #define HAVE___VA_COPY 1
11486 _ACEOF
11490 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11491 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11492 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11493 echo $ECHO_N "(cached) $ECHO_C" >&6
11494 else
11495 cat >conftest.$ac_ext <<_ACEOF
11496 /* confdefs.h. */
11497 _ACEOF
11498 cat confdefs.h >>conftest.$ac_ext
11499 cat >>conftest.$ac_ext <<_ACEOF
11500 /* end confdefs.h. */
11501 #include <setjmp.h>
11503 main ()
11505 sigjmp_buf buf;
11506 sigsetjmp( buf, 1 );
11507 siglongjmp( buf, 1 );
11509 return 0;
11511 _ACEOF
11512 rm -f conftest.$ac_objext conftest$ac_exeext
11513 if { (ac_try="$ac_link"
11514 case "(($ac_try" in
11515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11516 *) ac_try_echo=$ac_try;;
11517 esac
11518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11519 (eval "$ac_link") 2>conftest.er1
11520 ac_status=$?
11521 grep -v '^ *+' conftest.er1 >conftest.err
11522 rm -f conftest.er1
11523 cat conftest.err >&5
11524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11525 (exit $ac_status); } && {
11526 test -z "$ac_c_werror_flag" ||
11527 test ! -s conftest.err
11528 } && test -s conftest$ac_exeext &&
11529 $as_test_x conftest$ac_exeext; then
11530 ac_cv_c_sigsetjmp="yes"
11531 else
11532 echo "$as_me: failed program was:" >&5
11533 sed 's/^/| /' conftest.$ac_ext >&5
11535 ac_cv_c_sigsetjmp="no"
11538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11539 conftest$ac_exeext conftest.$ac_ext
11542 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11543 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11544 if test "$ac_cv_c_sigsetjmp" = "yes"
11545 then
11547 cat >>confdefs.h <<\_ACEOF
11548 #define HAVE_SIGSETJMP 1
11549 _ACEOF
11553 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11554 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11555 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 else
11558 cat >conftest.$ac_ext <<_ACEOF
11559 /* confdefs.h. */
11560 _ACEOF
11561 cat confdefs.h >>conftest.$ac_ext
11562 cat >>conftest.$ac_ext <<_ACEOF
11563 /* end confdefs.h. */
11564 #define _GNU_SOURCE
11565 #include <pthread.h>
11567 typedef pthread_rwlock_t ac__type_new_;
11569 main ()
11571 if ((ac__type_new_ *) 0)
11572 return 0;
11573 if (sizeof (ac__type_new_))
11574 return 0;
11576 return 0;
11578 _ACEOF
11579 rm -f conftest.$ac_objext
11580 if { (ac_try="$ac_compile"
11581 case "(($ac_try" in
11582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11583 *) ac_try_echo=$ac_try;;
11584 esac
11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 (eval "$ac_compile") 2>conftest.er1
11587 ac_status=$?
11588 grep -v '^ *+' conftest.er1 >conftest.err
11589 rm -f conftest.er1
11590 cat conftest.err >&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); } && {
11593 test -z "$ac_c_werror_flag" ||
11594 test ! -s conftest.err
11595 } && test -s conftest.$ac_objext; then
11596 ac_cv_type_pthread_rwlock_t=yes
11597 else
11598 echo "$as_me: failed program was:" >&5
11599 sed 's/^/| /' conftest.$ac_ext >&5
11601 ac_cv_type_pthread_rwlock_t=no
11604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11606 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11607 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11608 if test $ac_cv_type_pthread_rwlock_t = yes; then
11610 cat >>confdefs.h <<_ACEOF
11611 #define HAVE_PTHREAD_RWLOCK_T 1
11612 _ACEOF
11616 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11617 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11618 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11619 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 else
11621 cat >conftest.$ac_ext <<_ACEOF
11622 /* confdefs.h. */
11623 _ACEOF
11624 cat confdefs.h >>conftest.$ac_ext
11625 cat >>conftest.$ac_ext <<_ACEOF
11626 /* end confdefs.h. */
11627 #define _GNU_SOURCE
11628 #include <pthread.h>
11630 typedef pthread_rwlockattr_t ac__type_new_;
11632 main ()
11634 if ((ac__type_new_ *) 0)
11635 return 0;
11636 if (sizeof (ac__type_new_))
11637 return 0;
11639 return 0;
11641 _ACEOF
11642 rm -f conftest.$ac_objext
11643 if { (ac_try="$ac_compile"
11644 case "(($ac_try" in
11645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11646 *) ac_try_echo=$ac_try;;
11647 esac
11648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11649 (eval "$ac_compile") 2>conftest.er1
11650 ac_status=$?
11651 grep -v '^ *+' conftest.er1 >conftest.err
11652 rm -f conftest.er1
11653 cat conftest.err >&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); } && {
11656 test -z "$ac_c_werror_flag" ||
11657 test ! -s conftest.err
11658 } && test -s conftest.$ac_objext; then
11659 ac_cv_type_pthread_rwlockattr_t=yes
11660 else
11661 echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.$ac_ext >&5
11664 ac_cv_type_pthread_rwlockattr_t=no
11667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11669 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11670 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11671 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11673 cat >>confdefs.h <<_ACEOF
11674 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11675 _ACEOF
11681 ac_wine_check_funcs_save_LIBS="$LIBS"
11682 LIBS="$LIBS $LIBPTHREAD"
11687 for ac_func in \
11688 pthread_attr_get_np \
11689 pthread_getattr_np \
11690 pthread_get_stackaddr_np \
11691 pthread_get_stacksize_np
11693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11698 else
11699 cat >conftest.$ac_ext <<_ACEOF
11700 /* confdefs.h. */
11701 _ACEOF
11702 cat confdefs.h >>conftest.$ac_ext
11703 cat >>conftest.$ac_ext <<_ACEOF
11704 /* end confdefs.h. */
11705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11707 #define $ac_func innocuous_$ac_func
11709 /* System header to define __stub macros and hopefully few prototypes,
11710 which can conflict with char $ac_func (); below.
11711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11712 <limits.h> exists even on freestanding compilers. */
11714 #ifdef __STDC__
11715 # include <limits.h>
11716 #else
11717 # include <assert.h>
11718 #endif
11720 #undef $ac_func
11722 /* Override any GCC internal prototype to avoid an error.
11723 Use char because int might match the return type of a GCC
11724 builtin and then its argument prototype would still apply. */
11725 #ifdef __cplusplus
11726 extern "C"
11727 #endif
11728 char $ac_func ();
11729 /* The GNU C library defines this for functions which it implements
11730 to always fail with ENOSYS. Some functions are actually named
11731 something starting with __ and the normal name is an alias. */
11732 #if defined __stub_$ac_func || defined __stub___$ac_func
11733 choke me
11734 #endif
11737 main ()
11739 return $ac_func ();
11741 return 0;
11743 _ACEOF
11744 rm -f conftest.$ac_objext conftest$ac_exeext
11745 if { (ac_try="$ac_link"
11746 case "(($ac_try" in
11747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11748 *) ac_try_echo=$ac_try;;
11749 esac
11750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11751 (eval "$ac_link") 2>conftest.er1
11752 ac_status=$?
11753 grep -v '^ *+' conftest.er1 >conftest.err
11754 rm -f conftest.er1
11755 cat conftest.err >&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); } && {
11758 test -z "$ac_c_werror_flag" ||
11759 test ! -s conftest.err
11760 } && test -s conftest$ac_exeext &&
11761 $as_test_x conftest$ac_exeext; then
11762 eval "$as_ac_var=yes"
11763 else
11764 echo "$as_me: failed program was:" >&5
11765 sed 's/^/| /' conftest.$ac_ext >&5
11767 eval "$as_ac_var=no"
11770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11771 conftest$ac_exeext conftest.$ac_ext
11773 ac_res=`eval echo '${'$as_ac_var'}'`
11774 { echo "$as_me:$LINENO: result: $ac_res" >&5
11775 echo "${ECHO_T}$ac_res" >&6; }
11776 if test `eval echo '${'$as_ac_var'}'` = yes; then
11777 cat >>confdefs.h <<_ACEOF
11778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11779 _ACEOF
11782 done
11784 LIBS="$ac_wine_check_funcs_save_LIBS"
11786 # Extract the first word of "artsc-config", so it can be a program name with args.
11787 set dummy artsc-config; ac_word=$2
11788 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11790 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11791 echo $ECHO_N "(cached) $ECHO_C" >&6
11792 else
11793 case $ARTSCCONFIG in
11794 [\\/]* | ?:[\\/]*)
11795 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11799 for as_dir in $PATH
11801 IFS=$as_save_IFS
11802 test -z "$as_dir" && as_dir=.
11803 for ac_exec_ext in '' $ac_executable_extensions; do
11804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11805 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11806 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11807 break 2
11809 done
11810 done
11811 IFS=$as_save_IFS
11814 esac
11816 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11817 if test -n "$ARTSCCONFIG"; then
11818 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11819 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
11820 else
11821 { echo "$as_me:$LINENO: result: no" >&5
11822 echo "${ECHO_T}no" >&6; }
11826 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11827 then
11828 ARTSC_CFLAGS=""
11829 for i in `$ARTSCCONFIG --cflags`
11831 case "$i" in
11832 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11833 esac
11834 done
11835 ARTSC_LIBS=""
11836 for i in `$ARTSCCONFIG --libs`
11838 case "$i" in
11839 -L/usr/lib|-L/usr/lib64) ;;
11840 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11841 esac
11842 done
11843 save_CFLAGS="$CFLAGS"
11844 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11845 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11846 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
11847 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11848 echo $ECHO_N "(cached) $ECHO_C" >&6
11849 else
11850 ac_check_lib_save_LIBS=$LIBS
11851 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11852 cat >conftest.$ac_ext <<_ACEOF
11853 /* confdefs.h. */
11854 _ACEOF
11855 cat confdefs.h >>conftest.$ac_ext
11856 cat >>conftest.$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11859 /* Override any GCC internal prototype to avoid an error.
11860 Use char because int might match the return type of a GCC
11861 builtin and then its argument prototype would still apply. */
11862 #ifdef __cplusplus
11863 extern "C"
11864 #endif
11865 char arts_init ();
11867 main ()
11869 return arts_init ();
11871 return 0;
11873 _ACEOF
11874 rm -f conftest.$ac_objext conftest$ac_exeext
11875 if { (ac_try="$ac_link"
11876 case "(($ac_try" in
11877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11878 *) ac_try_echo=$ac_try;;
11879 esac
11880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11881 (eval "$ac_link") 2>conftest.er1
11882 ac_status=$?
11883 grep -v '^ *+' conftest.er1 >conftest.err
11884 rm -f conftest.er1
11885 cat conftest.err >&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } && {
11888 test -z "$ac_c_werror_flag" ||
11889 test ! -s conftest.err
11890 } && test -s conftest$ac_exeext &&
11891 $as_test_x conftest$ac_exeext; then
11892 ac_cv_lib_artsc_arts_init=yes
11893 else
11894 echo "$as_me: failed program was:" >&5
11895 sed 's/^/| /' conftest.$ac_ext >&5
11897 ac_cv_lib_artsc_arts_init=no
11900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_lib_save_LIBS
11904 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11905 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
11906 if test $ac_cv_lib_artsc_arts_init = yes; then
11907 cat >conftest.$ac_ext <<_ACEOF
11908 /* confdefs.h. */
11909 _ACEOF
11910 cat confdefs.h >>conftest.$ac_ext
11911 cat >>conftest.$ac_ext <<_ACEOF
11912 /* end confdefs.h. */
11913 #include <artsc.h>
11915 main ()
11917 arts_stream_t stream;
11919 return 0;
11921 _ACEOF
11922 rm -f conftest.$ac_objext
11923 if { (ac_try="$ac_compile"
11924 case "(($ac_try" in
11925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11926 *) ac_try_echo=$ac_try;;
11927 esac
11928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11929 (eval "$ac_compile") 2>conftest.er1
11930 ac_status=$?
11931 grep -v '^ *+' conftest.er1 >conftest.err
11932 rm -f conftest.er1
11933 cat conftest.err >&5
11934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11935 (exit $ac_status); } && {
11936 test -z "$ac_c_werror_flag" ||
11937 test ! -s conftest.err
11938 } && test -s conftest.$ac_objext; then
11939 ARTSLIBS=$ARTSC_LIBS
11941 ARTSINCL=$ARTSC_CFLAGS
11944 cat >>confdefs.h <<\_ACEOF
11945 #define HAVE_ARTS 1
11946 _ACEOF
11948 else
11949 echo "$as_me: failed program was:" >&5
11950 sed 's/^/| /' conftest.$ac_ext >&5
11955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11958 CFLAGS="$save_CFLAGS"
11961 # Extract the first word of "esd-config", so it can be a program name with args.
11962 set dummy esd-config; ac_word=$2
11963 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11965 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11966 echo $ECHO_N "(cached) $ECHO_C" >&6
11967 else
11968 case $ESDCONFIG in
11969 [\\/]* | ?:[\\/]*)
11970 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11974 for as_dir in $PATH
11976 IFS=$as_save_IFS
11977 test -z "$as_dir" && as_dir=.
11978 for ac_exec_ext in '' $ac_executable_extensions; do
11979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11980 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11982 break 2
11984 done
11985 done
11986 IFS=$as_save_IFS
11989 esac
11991 ESDCONFIG=$ac_cv_path_ESDCONFIG
11992 if test -n "$ESDCONFIG"; then
11993 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11994 echo "${ECHO_T}$ESDCONFIG" >&6; }
11995 else
11996 { echo "$as_me:$LINENO: result: no" >&5
11997 echo "${ECHO_T}no" >&6; }
12001 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12002 then
12003 ESD_CFLAGS=""
12004 for i in `$ESDCONFIG --cflags`
12006 case "$i" in
12007 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12008 esac
12009 done
12010 ESD_LIBS=`$ESDCONFIG --libs`
12011 save_CFLAGS="$CFLAGS"
12012 CFLAGS="$CFLAGS $ESD_CFLAGS"
12013 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12014 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12015 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018 ac_check_lib_save_LIBS=$LIBS
12019 LIBS="-lesd $LIBS"
12020 cat >conftest.$ac_ext <<_ACEOF
12021 /* confdefs.h. */
12022 _ACEOF
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
12025 /* end confdefs.h. */
12027 /* Override any GCC internal prototype to avoid an error.
12028 Use char because int might match the return type of a GCC
12029 builtin and then its argument prototype would still apply. */
12030 #ifdef __cplusplus
12031 extern "C"
12032 #endif
12033 char esd_open_sound ();
12035 main ()
12037 return esd_open_sound ();
12039 return 0;
12041 _ACEOF
12042 rm -f conftest.$ac_objext conftest$ac_exeext
12043 if { (ac_try="$ac_link"
12044 case "(($ac_try" in
12045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12046 *) ac_try_echo=$ac_try;;
12047 esac
12048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12049 (eval "$ac_link") 2>conftest.er1
12050 ac_status=$?
12051 grep -v '^ *+' conftest.er1 >conftest.err
12052 rm -f conftest.er1
12053 cat conftest.err >&5
12054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12055 (exit $ac_status); } && {
12056 test -z "$ac_c_werror_flag" ||
12057 test ! -s conftest.err
12058 } && test -s conftest$ac_exeext &&
12059 $as_test_x conftest$ac_exeext; then
12060 ac_cv_lib_esd_esd_open_sound=yes
12061 else
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 ac_cv_lib_esd_esd_open_sound=no
12068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12069 conftest$ac_exeext conftest.$ac_ext
12070 LIBS=$ac_check_lib_save_LIBS
12072 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12073 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12074 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12075 ESDLIBS=$ESD_LIBS
12077 ESDINCL=$ESD_CFLAGS
12080 cat >>confdefs.h <<\_ACEOF
12081 #define HAVE_ESD 1
12082 _ACEOF
12086 CFLAGS="$save_CFLAGS"
12089 ALSALIBS=""
12091 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12092 then
12093 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12094 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12095 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else
12098 ac_check_lib_save_LIBS=$LIBS
12099 LIBS="-lasound $LIBS"
12100 cat >conftest.$ac_ext <<_ACEOF
12101 /* confdefs.h. */
12102 _ACEOF
12103 cat confdefs.h >>conftest.$ac_ext
12104 cat >>conftest.$ac_ext <<_ACEOF
12105 /* end confdefs.h. */
12107 /* Override any GCC internal prototype to avoid an error.
12108 Use char because int might match the return type of a GCC
12109 builtin and then its argument prototype would still apply. */
12110 #ifdef __cplusplus
12111 extern "C"
12112 #endif
12113 char snd_pcm_hw_params_get_access ();
12115 main ()
12117 return snd_pcm_hw_params_get_access ();
12119 return 0;
12121 _ACEOF
12122 rm -f conftest.$ac_objext conftest$ac_exeext
12123 if { (ac_try="$ac_link"
12124 case "(($ac_try" in
12125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12126 *) ac_try_echo=$ac_try;;
12127 esac
12128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12129 (eval "$ac_link") 2>conftest.er1
12130 ac_status=$?
12131 grep -v '^ *+' conftest.er1 >conftest.err
12132 rm -f conftest.er1
12133 cat conftest.err >&5
12134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135 (exit $ac_status); } && {
12136 test -z "$ac_c_werror_flag" ||
12137 test ! -s conftest.err
12138 } && test -s conftest$ac_exeext &&
12139 $as_test_x conftest$ac_exeext; then
12140 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12141 else
12142 echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.$ac_ext >&5
12145 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_lib_save_LIBS
12152 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12153 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12154 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12155 cat >conftest.$ac_ext <<_ACEOF
12156 /* confdefs.h. */
12157 _ACEOF
12158 cat confdefs.h >>conftest.$ac_ext
12159 cat >>conftest.$ac_ext <<_ACEOF
12160 /* end confdefs.h. */
12161 #ifdef HAVE_ALSA_ASOUNDLIB_H
12162 #include <alsa/asoundlib.h>
12163 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12164 #include <sys/asoundlib.h>
12165 #endif
12167 main ()
12169 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12171 return 0;
12173 _ACEOF
12174 rm -f conftest.$ac_objext
12175 if { (ac_try="$ac_compile"
12176 case "(($ac_try" in
12177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12178 *) ac_try_echo=$ac_try;;
12179 esac
12180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12181 (eval "$ac_compile") 2>conftest.er1
12182 ac_status=$?
12183 grep -v '^ *+' conftest.er1 >conftest.err
12184 rm -f conftest.er1
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && {
12188 test -z "$ac_c_werror_flag" ||
12189 test ! -s conftest.err
12190 } && test -s conftest.$ac_objext; then
12192 cat >>confdefs.h <<\_ACEOF
12193 #define HAVE_ALSA 1
12194 _ACEOF
12196 ALSALIBS="-lasound"
12197 else
12198 echo "$as_me: failed program was:" >&5
12199 sed 's/^/| /' conftest.$ac_ext >&5
12204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12210 AUDIOIOLIBS=""
12212 if test "$ac_cv_header_libaudioio_h" = "yes"
12213 then
12214 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12215 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12216 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12218 else
12219 ac_check_lib_save_LIBS=$LIBS
12220 LIBS="-laudioio $LIBS"
12221 cat >conftest.$ac_ext <<_ACEOF
12222 /* confdefs.h. */
12223 _ACEOF
12224 cat confdefs.h >>conftest.$ac_ext
12225 cat >>conftest.$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 #ifdef __cplusplus
12232 extern "C"
12233 #endif
12234 char AudioIOGetVersion ();
12236 main ()
12238 return AudioIOGetVersion ();
12240 return 0;
12242 _ACEOF
12243 rm -f conftest.$ac_objext conftest$ac_exeext
12244 if { (ac_try="$ac_link"
12245 case "(($ac_try" in
12246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12247 *) ac_try_echo=$ac_try;;
12248 esac
12249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12250 (eval "$ac_link") 2>conftest.er1
12251 ac_status=$?
12252 grep -v '^ *+' conftest.er1 >conftest.err
12253 rm -f conftest.er1
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } && {
12257 test -z "$ac_c_werror_flag" ||
12258 test ! -s conftest.err
12259 } && test -s conftest$ac_exeext &&
12260 $as_test_x conftest$ac_exeext; then
12261 ac_cv_lib_audioio_AudioIOGetVersion=yes
12262 else
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.$ac_ext >&5
12266 ac_cv_lib_audioio_AudioIOGetVersion=no
12269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12274 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12275 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12276 AUDIOIOLIBS="-laudioio"
12278 cat >>confdefs.h <<\_ACEOF
12279 #define HAVE_LIBAUDIOIO 1
12280 _ACEOF
12287 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12288 then
12289 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12290 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12291 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12292 echo $ECHO_N "(cached) $ECHO_C" >&6
12293 else
12294 ac_check_lib_save_LIBS=$LIBS
12295 LIBS="-lcapi20 $LIBS"
12296 cat >conftest.$ac_ext <<_ACEOF
12297 /* confdefs.h. */
12298 _ACEOF
12299 cat confdefs.h >>conftest.$ac_ext
12300 cat >>conftest.$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12303 /* Override any GCC internal prototype to avoid an error.
12304 Use char because int might match the return type of a GCC
12305 builtin and then its argument prototype would still apply. */
12306 #ifdef __cplusplus
12307 extern "C"
12308 #endif
12309 char capi20_register ();
12311 main ()
12313 return capi20_register ();
12315 return 0;
12317 _ACEOF
12318 rm -f conftest.$ac_objext conftest$ac_exeext
12319 if { (ac_try="$ac_link"
12320 case "(($ac_try" in
12321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12322 *) ac_try_echo=$ac_try;;
12323 esac
12324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12325 (eval "$ac_link") 2>conftest.er1
12326 ac_status=$?
12327 grep -v '^ *+' conftest.er1 >conftest.err
12328 rm -f conftest.er1
12329 cat conftest.err >&5
12330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12331 (exit $ac_status); } && {
12332 test -z "$ac_c_werror_flag" ||
12333 test ! -s conftest.err
12334 } && test -s conftest$ac_exeext &&
12335 $as_test_x conftest$ac_exeext; then
12336 ac_cv_lib_capi20_capi20_register=yes
12337 else
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.$ac_ext >&5
12341 ac_cv_lib_capi20_capi20_register=no
12344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12345 conftest$ac_exeext conftest.$ac_ext
12346 LIBS=$ac_check_lib_save_LIBS
12348 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12349 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12350 if test $ac_cv_lib_capi20_capi20_register = yes; then
12352 cat >>confdefs.h <<\_ACEOF
12353 #define HAVE_CAPI4LINUX 1
12354 _ACEOF
12361 EXTRACFLAGS=""
12363 if test "x${GCC}" = "xyes"
12364 then
12365 EXTRACFLAGS="-Wall -pipe"
12367 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12368 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12369 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12370 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 else
12372 if test "$cross_compiling" = yes; then
12373 ac_cv_c_gcc_strength_bug="yes"
12374 else
12375 cat >conftest.$ac_ext <<_ACEOF
12376 /* confdefs.h. */
12377 _ACEOF
12378 cat confdefs.h >>conftest.$ac_ext
12379 cat >>conftest.$ac_ext <<_ACEOF
12380 /* end confdefs.h. */
12382 int L[4] = {0,1,2,3};
12383 int main(void) {
12384 static int Array[3];
12385 unsigned int B = 3;
12386 int i;
12387 for(i=0; i<B; i++) Array[i] = i - 3;
12388 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12389 L[i] = 4;
12391 exit( Array[1] != -2 || L[2] != 3);
12393 _ACEOF
12394 rm -f conftest$ac_exeext
12395 if { (ac_try="$ac_link"
12396 case "(($ac_try" in
12397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12398 *) ac_try_echo=$ac_try;;
12399 esac
12400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12401 (eval "$ac_link") 2>&5
12402 ac_status=$?
12403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12404 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12405 { (case "(($ac_try" in
12406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12407 *) ac_try_echo=$ac_try;;
12408 esac
12409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12410 (eval "$ac_try") 2>&5
12411 ac_status=$?
12412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12413 (exit $ac_status); }; }; then
12414 ac_cv_c_gcc_strength_bug="no"
12415 else
12416 echo "$as_me: program exited with status $ac_status" >&5
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.$ac_ext >&5
12420 ( exit $ac_status )
12421 ac_cv_c_gcc_strength_bug="yes"
12423 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12428 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12429 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12430 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12431 then
12432 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12436 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12437 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12438 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12439 echo $ECHO_N "(cached) $ECHO_C" >&6
12440 else
12441 ac_wine_try_cflags_saved=$CFLAGS
12442 CFLAGS="$CFLAGS -fshort-wchar"
12443 cat >conftest.$ac_ext <<_ACEOF
12444 /* confdefs.h. */
12445 _ACEOF
12446 cat confdefs.h >>conftest.$ac_ext
12447 cat >>conftest.$ac_ext <<_ACEOF
12448 /* end confdefs.h. */
12451 main ()
12455 return 0;
12457 _ACEOF
12458 rm -f conftest.$ac_objext conftest$ac_exeext
12459 if { (ac_try="$ac_link"
12460 case "(($ac_try" in
12461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12462 *) ac_try_echo=$ac_try;;
12463 esac
12464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12465 (eval "$ac_link") 2>conftest.er1
12466 ac_status=$?
12467 grep -v '^ *+' conftest.er1 >conftest.err
12468 rm -f conftest.er1
12469 cat conftest.err >&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } && {
12472 test -z "$ac_c_werror_flag" ||
12473 test ! -s conftest.err
12474 } && test -s conftest$ac_exeext &&
12475 $as_test_x conftest$ac_exeext; then
12476 ac_cv_cflags__fshort_wchar=yes
12477 else
12478 echo "$as_me: failed program was:" >&5
12479 sed 's/^/| /' conftest.$ac_ext >&5
12481 ac_cv_cflags__fshort_wchar=no
12484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12485 conftest$ac_exeext conftest.$ac_ext
12486 CFLAGS=$ac_wine_try_cflags_saved
12488 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12489 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12490 if test $ac_cv_cflags__fshort_wchar = yes; then
12492 cat >>confdefs.h <<\_ACEOF
12493 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12494 _ACEOF
12498 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12499 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12500 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12501 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 else
12503 ac_wine_try_cflags_saved=$CFLAGS
12504 CFLAGS="$CFLAGS -fno-strict-aliasing"
12505 cat >conftest.$ac_ext <<_ACEOF
12506 /* confdefs.h. */
12507 _ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12513 main ()
12517 return 0;
12519 _ACEOF
12520 rm -f conftest.$ac_objext conftest$ac_exeext
12521 if { (ac_try="$ac_link"
12522 case "(($ac_try" in
12523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12524 *) ac_try_echo=$ac_try;;
12525 esac
12526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12527 (eval "$ac_link") 2>conftest.er1
12528 ac_status=$?
12529 grep -v '^ *+' conftest.er1 >conftest.err
12530 rm -f conftest.er1
12531 cat conftest.err >&5
12532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533 (exit $ac_status); } && {
12534 test -z "$ac_c_werror_flag" ||
12535 test ! -s conftest.err
12536 } && test -s conftest$ac_exeext &&
12537 $as_test_x conftest$ac_exeext; then
12538 ac_cv_cflags__fno_strict_aliasing=yes
12539 else
12540 echo "$as_me: failed program was:" >&5
12541 sed 's/^/| /' conftest.$ac_ext >&5
12543 ac_cv_cflags__fno_strict_aliasing=no
12546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12547 conftest$ac_exeext conftest.$ac_ext
12548 CFLAGS=$ac_wine_try_cflags_saved
12550 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12551 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12552 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12553 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12556 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12557 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12558 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12559 echo $ECHO_N "(cached) $ECHO_C" >&6
12560 else
12561 ac_wine_try_cflags_saved=$CFLAGS
12562 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12563 cat >conftest.$ac_ext <<_ACEOF
12564 /* confdefs.h. */
12565 _ACEOF
12566 cat confdefs.h >>conftest.$ac_ext
12567 cat >>conftest.$ac_ext <<_ACEOF
12568 /* end confdefs.h. */
12571 main ()
12575 return 0;
12577 _ACEOF
12578 rm -f conftest.$ac_objext conftest$ac_exeext
12579 if { (ac_try="$ac_link"
12580 case "(($ac_try" in
12581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12582 *) ac_try_echo=$ac_try;;
12583 esac
12584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12585 (eval "$ac_link") 2>conftest.er1
12586 ac_status=$?
12587 grep -v '^ *+' conftest.er1 >conftest.err
12588 rm -f conftest.er1
12589 cat conftest.err >&5
12590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12591 (exit $ac_status); } && {
12592 test -z "$ac_c_werror_flag" ||
12593 test ! -s conftest.err
12594 } && test -s conftest$ac_exeext &&
12595 $as_test_x conftest$ac_exeext; then
12596 ac_cv_cflags__Wdeclaration_after_statement=yes
12597 else
12598 echo "$as_me: failed program was:" >&5
12599 sed 's/^/| /' conftest.$ac_ext >&5
12601 ac_cv_cflags__Wdeclaration_after_statement=no
12604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12605 conftest$ac_exeext conftest.$ac_ext
12606 CFLAGS=$ac_wine_try_cflags_saved
12608 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12609 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12610 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12611 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12614 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12615 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12616 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12617 echo $ECHO_N "(cached) $ECHO_C" >&6
12618 else
12619 ac_wine_try_cflags_saved=$CFLAGS
12620 CFLAGS="$CFLAGS -Wwrite-strings"
12621 cat >conftest.$ac_ext <<_ACEOF
12622 /* confdefs.h. */
12623 _ACEOF
12624 cat confdefs.h >>conftest.$ac_ext
12625 cat >>conftest.$ac_ext <<_ACEOF
12626 /* end confdefs.h. */
12629 main ()
12633 return 0;
12635 _ACEOF
12636 rm -f conftest.$ac_objext conftest$ac_exeext
12637 if { (ac_try="$ac_link"
12638 case "(($ac_try" in
12639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12640 *) ac_try_echo=$ac_try;;
12641 esac
12642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12643 (eval "$ac_link") 2>conftest.er1
12644 ac_status=$?
12645 grep -v '^ *+' conftest.er1 >conftest.err
12646 rm -f conftest.er1
12647 cat conftest.err >&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } && {
12650 test -z "$ac_c_werror_flag" ||
12651 test ! -s conftest.err
12652 } && test -s conftest$ac_exeext &&
12653 $as_test_x conftest$ac_exeext; then
12654 ac_cv_cflags__Wwrite_strings=yes
12655 else
12656 echo "$as_me: failed program was:" >&5
12657 sed 's/^/| /' conftest.$ac_ext >&5
12659 ac_cv_cflags__Wwrite_strings=no
12662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12663 conftest$ac_exeext conftest.$ac_ext
12664 CFLAGS=$ac_wine_try_cflags_saved
12666 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12667 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12668 if test $ac_cv_cflags__Wwrite_strings = yes; then
12669 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12673 saved_CFLAGS="$CFLAGS"
12674 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12675 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12676 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12677 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12678 echo $ECHO_N "(cached) $ECHO_C" >&6
12679 else
12680 cat >conftest.$ac_ext <<_ACEOF
12681 /* confdefs.h. */
12682 _ACEOF
12683 cat confdefs.h >>conftest.$ac_ext
12684 cat >>conftest.$ac_ext <<_ACEOF
12685 /* end confdefs.h. */
12686 #include <string.h>
12688 main ()
12692 return 0;
12694 _ACEOF
12695 rm -f conftest.$ac_objext
12696 if { (ac_try="$ac_compile"
12697 case "(($ac_try" in
12698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12699 *) ac_try_echo=$ac_try;;
12700 esac
12701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12702 (eval "$ac_compile") 2>conftest.er1
12703 ac_status=$?
12704 grep -v '^ *+' conftest.er1 >conftest.err
12705 rm -f conftest.er1
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } && {
12709 test -z "$ac_c_werror_flag" ||
12710 test ! -s conftest.err
12711 } && test -s conftest.$ac_objext; then
12712 ac_cv_c_string_h_warnings=no
12713 else
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.$ac_ext >&5
12717 ac_cv_c_string_h_warnings=yes
12720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12722 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12723 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12724 CFLAGS="$saved_CFLAGS"
12725 if test "$ac_cv_c_string_h_warnings" = "no"
12726 then
12727 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12730 BUILTINFLAG=""
12732 saved_CFLAGS="$CFLAGS"
12733 CFLAGS="$CFLAGS -Werror"
12734 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12735 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12736 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12737 echo $ECHO_N "(cached) $ECHO_C" >&6
12738 else
12739 cat >conftest.$ac_ext <<_ACEOF
12740 /* confdefs.h. */
12741 _ACEOF
12742 cat confdefs.h >>conftest.$ac_ext
12743 cat >>conftest.$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12747 main ()
12749 int iswlower(unsigned short);
12751 return 0;
12753 _ACEOF
12754 rm -f conftest.$ac_objext
12755 if { (ac_try="$ac_compile"
12756 case "(($ac_try" in
12757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12758 *) ac_try_echo=$ac_try;;
12759 esac
12760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12761 (eval "$ac_compile") 2>conftest.er1
12762 ac_status=$?
12763 grep -v '^ *+' conftest.er1 >conftest.err
12764 rm -f conftest.er1
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } && {
12768 test -z "$ac_c_werror_flag" ||
12769 test ! -s conftest.err
12770 } && test -s conftest.$ac_objext; then
12771 ac_cv_c_builtin_wchar_ctype=no
12772 else
12773 echo "$as_me: failed program was:" >&5
12774 sed 's/^/| /' conftest.$ac_ext >&5
12776 ac_cv_c_builtin_wchar_ctype=yes
12779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12781 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12782 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12783 CFLAGS="$saved_CFLAGS"
12784 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12785 then
12786 BUILTINFLAG="-fno-builtin"
12791 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12792 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12793 if test "${ac_cv_asm_func_def+set}" = set; then
12794 echo $ECHO_N "(cached) $ECHO_C" >&6
12795 else
12796 cat >conftest.$ac_ext <<_ACEOF
12797 /* confdefs.h. */
12798 _ACEOF
12799 cat confdefs.h >>conftest.$ac_ext
12800 cat >>conftest.$ac_ext <<_ACEOF
12801 /* end confdefs.h. */
12802 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
12805 main ()
12809 return 0;
12811 _ACEOF
12812 rm -f conftest.$ac_objext conftest$ac_exeext
12813 if { (ac_try="$ac_link"
12814 case "(($ac_try" in
12815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12816 *) ac_try_echo=$ac_try;;
12817 esac
12818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12819 (eval "$ac_link") 2>conftest.er1
12820 ac_status=$?
12821 grep -v '^ *+' conftest.er1 >conftest.err
12822 rm -f conftest.er1
12823 cat conftest.err >&5
12824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12825 (exit $ac_status); } && {
12826 test -z "$ac_c_werror_flag" ||
12827 test ! -s conftest.err
12828 } && test -s conftest$ac_exeext &&
12829 $as_test_x conftest$ac_exeext; then
12830 ac_cv_asm_func_def=".def"
12831 else
12832 echo "$as_me: failed program was:" >&5
12833 sed 's/^/| /' conftest.$ac_ext >&5
12835 cat >conftest.$ac_ext <<_ACEOF
12836 /* confdefs.h. */
12837 _ACEOF
12838 cat confdefs.h >>conftest.$ac_ext
12839 cat >>conftest.$ac_ext <<_ACEOF
12840 /* end confdefs.h. */
12841 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12844 main ()
12848 return 0;
12850 _ACEOF
12851 rm -f conftest.$ac_objext conftest$ac_exeext
12852 if { (ac_try="$ac_link"
12853 case "(($ac_try" in
12854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12855 *) ac_try_echo=$ac_try;;
12856 esac
12857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12858 (eval "$ac_link") 2>conftest.er1
12859 ac_status=$?
12860 grep -v '^ *+' conftest.er1 >conftest.err
12861 rm -f conftest.er1
12862 cat conftest.err >&5
12863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12864 (exit $ac_status); } && {
12865 test -z "$ac_c_werror_flag" ||
12866 test ! -s conftest.err
12867 } && test -s conftest$ac_exeext &&
12868 $as_test_x conftest$ac_exeext; then
12869 ac_cv_asm_func_def=".type @function"
12870 else
12871 echo "$as_me: failed program was:" >&5
12872 sed 's/^/| /' conftest.$ac_ext >&5
12874 cat >conftest.$ac_ext <<_ACEOF
12875 /* confdefs.h. */
12876 _ACEOF
12877 cat confdefs.h >>conftest.$ac_ext
12878 cat >>conftest.$ac_ext <<_ACEOF
12879 /* end confdefs.h. */
12880 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12883 main ()
12887 return 0;
12889 _ACEOF
12890 rm -f conftest.$ac_objext conftest$ac_exeext
12891 if { (ac_try="$ac_link"
12892 case "(($ac_try" in
12893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12894 *) ac_try_echo=$ac_try;;
12895 esac
12896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12897 (eval "$ac_link") 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } && {
12904 test -z "$ac_c_werror_flag" ||
12905 test ! -s conftest.err
12906 } && test -s conftest$ac_exeext &&
12907 $as_test_x conftest$ac_exeext; then
12908 ac_cv_asm_func_def=".type 2"
12909 else
12910 echo "$as_me: failed program was:" >&5
12911 sed 's/^/| /' conftest.$ac_ext >&5
12913 ac_cv_asm_func_def="unknown"
12916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12917 conftest$ac_exeext conftest.$ac_ext
12920 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12921 conftest$ac_exeext conftest.$ac_ext
12924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12925 conftest$ac_exeext conftest.$ac_ext
12927 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12928 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12932 case "$ac_cv_asm_func_def" in
12933 ".def")
12934 cat >>confdefs.h <<\_ACEOF
12935 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12936 _ACEOF
12938 ".type @function")
12939 cat >>confdefs.h <<\_ACEOF
12940 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12941 _ACEOF
12943 ".type 2")
12944 cat >>confdefs.h <<\_ACEOF
12945 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12946 _ACEOF
12949 cat >>confdefs.h <<\_ACEOF
12950 #define __ASM_FUNC(name) ""
12951 _ACEOF
12953 esac
12956 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12957 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12958 if test "${ac_cv_c_extern_prefix+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12960 else
12961 cat >conftest.$ac_ext <<_ACEOF
12962 /* confdefs.h. */
12963 _ACEOF
12964 cat confdefs.h >>conftest.$ac_ext
12965 cat >>conftest.$ac_ext <<_ACEOF
12966 /* end confdefs.h. */
12967 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12968 extern int ac_test;
12970 main ()
12972 if (ac_test) return 1
12974 return 0;
12976 _ACEOF
12977 rm -f conftest.$ac_objext conftest$ac_exeext
12978 if { (ac_try="$ac_link"
12979 case "(($ac_try" in
12980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12981 *) ac_try_echo=$ac_try;;
12982 esac
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_link") 2>conftest.er1
12985 ac_status=$?
12986 grep -v '^ *+' conftest.er1 >conftest.err
12987 rm -f conftest.er1
12988 cat conftest.err >&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); } && {
12991 test -z "$ac_c_werror_flag" ||
12992 test ! -s conftest.err
12993 } && test -s conftest$ac_exeext &&
12994 $as_test_x conftest$ac_exeext; then
12995 ac_cv_c_extern_prefix="yes"
12996 else
12997 echo "$as_me: failed program was:" >&5
12998 sed 's/^/| /' conftest.$ac_ext >&5
13000 ac_cv_c_extern_prefix="no"
13003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13004 conftest$ac_exeext conftest.$ac_ext
13006 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13007 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13011 if test "$ac_cv_c_extern_prefix" = "yes"
13012 then
13013 cat >>confdefs.h <<\_ACEOF
13014 #define __ASM_NAME(name) "_" name
13015 _ACEOF
13017 else
13018 cat >>confdefs.h <<\_ACEOF
13019 #define __ASM_NAME(name) name
13020 _ACEOF
13025 DLLEXT=""
13027 DLLFLAGS="-D_REENTRANT"
13029 LDSHARED=""
13031 LDDLLFLAGS=""
13033 LIBEXT="so"
13035 IMPLIBEXT="def"
13037 LIBWINE_LDFLAGS=""
13040 case $host_os in
13041 cygwin*|mingw32*)
13042 if test -n "$ac_tool_prefix"; then
13043 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13044 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13045 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13047 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13048 echo $ECHO_N "(cached) $ECHO_C" >&6
13049 else
13050 if test -n "$DLLTOOL"; then
13051 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13052 else
13053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13054 for as_dir in $PATH
13056 IFS=$as_save_IFS
13057 test -z "$as_dir" && as_dir=.
13058 for ac_exec_ext in '' $ac_executable_extensions; do
13059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13060 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13062 break 2
13064 done
13065 done
13066 IFS=$as_save_IFS
13070 DLLTOOL=$ac_cv_prog_DLLTOOL
13071 if test -n "$DLLTOOL"; then
13072 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13073 echo "${ECHO_T}$DLLTOOL" >&6; }
13074 else
13075 { echo "$as_me:$LINENO: result: no" >&5
13076 echo "${ECHO_T}no" >&6; }
13081 if test -z "$ac_cv_prog_DLLTOOL"; then
13082 ac_ct_DLLTOOL=$DLLTOOL
13083 # Extract the first word of "dlltool", so it can be a program name with args.
13084 set dummy dlltool; ac_word=$2
13085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13087 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13088 echo $ECHO_N "(cached) $ECHO_C" >&6
13089 else
13090 if test -n "$ac_ct_DLLTOOL"; then
13091 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13092 else
13093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13094 for as_dir in $PATH
13096 IFS=$as_save_IFS
13097 test -z "$as_dir" && as_dir=.
13098 for ac_exec_ext in '' $ac_executable_extensions; do
13099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13100 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13102 break 2
13104 done
13105 done
13106 IFS=$as_save_IFS
13110 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13111 if test -n "$ac_ct_DLLTOOL"; then
13112 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13113 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13114 else
13115 { echo "$as_me:$LINENO: result: no" >&5
13116 echo "${ECHO_T}no" >&6; }
13119 if test "x$ac_ct_DLLTOOL" = x; then
13120 DLLTOOL="false"
13121 else
13122 case $cross_compiling:$ac_tool_warned in
13123 yes:)
13124 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13125 whose name does not start with the host triplet. If you think this
13126 configuration is useful to you, please write to autoconf@gnu.org." >&5
13127 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13128 whose name does not start with the host triplet. If you think this
13129 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13130 ac_tool_warned=yes ;;
13131 esac
13132 DLLTOOL=$ac_ct_DLLTOOL
13134 else
13135 DLLTOOL="$ac_cv_prog_DLLTOOL"
13138 if test -n "$ac_tool_prefix"; then
13139 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13140 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13141 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13143 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13144 echo $ECHO_N "(cached) $ECHO_C" >&6
13145 else
13146 if test -n "$DLLWRAP"; then
13147 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13148 else
13149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13150 for as_dir in $PATH
13152 IFS=$as_save_IFS
13153 test -z "$as_dir" && as_dir=.
13154 for ac_exec_ext in '' $ac_executable_extensions; do
13155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13156 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13158 break 2
13160 done
13161 done
13162 IFS=$as_save_IFS
13166 DLLWRAP=$ac_cv_prog_DLLWRAP
13167 if test -n "$DLLWRAP"; then
13168 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13169 echo "${ECHO_T}$DLLWRAP" >&6; }
13170 else
13171 { echo "$as_me:$LINENO: result: no" >&5
13172 echo "${ECHO_T}no" >&6; }
13177 if test -z "$ac_cv_prog_DLLWRAP"; then
13178 ac_ct_DLLWRAP=$DLLWRAP
13179 # Extract the first word of "dllwrap", so it can be a program name with args.
13180 set dummy dllwrap; 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_prog_ac_ct_DLLWRAP+set}" = set; then
13184 echo $ECHO_N "(cached) $ECHO_C" >&6
13185 else
13186 if test -n "$ac_ct_DLLWRAP"; then
13187 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13188 else
13189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13190 for as_dir in $PATH
13192 IFS=$as_save_IFS
13193 test -z "$as_dir" && as_dir=.
13194 for ac_exec_ext in '' $ac_executable_extensions; do
13195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13196 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13198 break 2
13200 done
13201 done
13202 IFS=$as_save_IFS
13206 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13207 if test -n "$ac_ct_DLLWRAP"; then
13208 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13209 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13210 else
13211 { echo "$as_me:$LINENO: result: no" >&5
13212 echo "${ECHO_T}no" >&6; }
13215 if test "x$ac_ct_DLLWRAP" = x; then
13216 DLLWRAP="false"
13217 else
13218 case $cross_compiling:$ac_tool_warned in
13219 yes:)
13220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13221 whose name does not start with the host triplet. If you think this
13222 configuration is useful to you, please write to autoconf@gnu.org." >&5
13223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13224 whose name does not start with the host triplet. If you think this
13225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13226 ac_tool_warned=yes ;;
13227 esac
13228 DLLWRAP=$ac_ct_DLLWRAP
13230 else
13231 DLLWRAP="$ac_cv_prog_DLLWRAP"
13234 if test -n "$ac_tool_prefix"; then
13235 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13236 set dummy ${ac_tool_prefix}ar; ac_word=$2
13237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13239 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 else
13242 if test -n "$MINGWAR"; then
13243 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13244 else
13245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13246 for as_dir in $PATH
13248 IFS=$as_save_IFS
13249 test -z "$as_dir" && as_dir=.
13250 for ac_exec_ext in '' $ac_executable_extensions; do
13251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13252 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13254 break 2
13256 done
13257 done
13258 IFS=$as_save_IFS
13262 MINGWAR=$ac_cv_prog_MINGWAR
13263 if test -n "$MINGWAR"; then
13264 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13265 echo "${ECHO_T}$MINGWAR" >&6; }
13266 else
13267 { echo "$as_me:$LINENO: result: no" >&5
13268 echo "${ECHO_T}no" >&6; }
13273 if test -z "$ac_cv_prog_MINGWAR"; then
13274 ac_ct_MINGWAR=$MINGWAR
13275 # Extract the first word of "ar", so it can be a program name with args.
13276 set dummy ar; ac_word=$2
13277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13279 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 else
13282 if test -n "$ac_ct_MINGWAR"; then
13283 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13284 else
13285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13286 for as_dir in $PATH
13288 IFS=$as_save_IFS
13289 test -z "$as_dir" && as_dir=.
13290 for ac_exec_ext in '' $ac_executable_extensions; do
13291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13292 ac_cv_prog_ac_ct_MINGWAR="ar"
13293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13294 break 2
13296 done
13297 done
13298 IFS=$as_save_IFS
13302 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13303 if test -n "$ac_ct_MINGWAR"; then
13304 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13305 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13306 else
13307 { echo "$as_me:$LINENO: result: no" >&5
13308 echo "${ECHO_T}no" >&6; }
13311 if test "x$ac_ct_MINGWAR" = x; then
13312 MINGWAR="false"
13313 else
13314 case $cross_compiling:$ac_tool_warned in
13315 yes:)
13316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13317 whose name does not start with the host triplet. If you think this
13318 configuration is useful to you, please write to autoconf@gnu.org." >&5
13319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13320 whose name does not start with the host triplet. If you think this
13321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13322 ac_tool_warned=yes ;;
13323 esac
13324 MINGWAR=$ac_ct_MINGWAR
13326 else
13327 MINGWAR="$ac_cv_prog_MINGWAR"
13330 if test "$DLLWRAP" = "false"; then
13331 LIBEXT="a"
13332 else
13333 LIBEXT="dll"
13335 IMPLIBEXT="a"
13336 WIN16_FILES=""
13337 WIN16_INSTALL=""
13339 darwin*|macosx*)
13340 DLLEXT=".so"
13341 LIBEXT="dylib"
13342 DLLFLAGS="$DLLFLAGS -fPIC"
13343 LDDLLFLAGS="-bundle -multiply_defined suppress"
13344 LIBWINE_LDFLAGS="-multiply_defined suppress"
13345 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13346 STRIP="$STRIP -u -r"
13347 COREFOUNDATIONLIB="-framework CoreFoundation"
13349 IOKITLIB="-framework IOKit -framework CoreFoundation"
13351 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13353 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13354 then
13355 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13358 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13359 then
13360 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13363 case $host_cpu in
13364 *powerpc*)
13365 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13366 esac
13367 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13368 then
13369 CARBONLIB="-framework Carbon"
13371 QUARTZFILES='$(QUARTZFILES)'
13375 DLLFLAGS="$DLLFLAGS -fPIC"
13376 DLLEXT=".so"
13377 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13378 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13379 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13380 echo $ECHO_N "(cached) $ECHO_C" >&6
13381 else
13382 ac_wine_try_cflags_saved=$CFLAGS
13383 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13384 cat >conftest.$ac_ext <<_ACEOF
13385 void myfunc() {}
13386 _ACEOF
13387 rm -f conftest.$ac_objext conftest$ac_exeext
13388 if { (ac_try="$ac_link"
13389 case "(($ac_try" in
13390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13391 *) ac_try_echo=$ac_try;;
13392 esac
13393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13394 (eval "$ac_link") 2>conftest.er1
13395 ac_status=$?
13396 grep -v '^ *+' conftest.er1 >conftest.err
13397 rm -f conftest.er1
13398 cat conftest.err >&5
13399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13400 (exit $ac_status); } && {
13401 test -z "$ac_c_werror_flag" ||
13402 test ! -s conftest.err
13403 } && test -s conftest$ac_exeext &&
13404 $as_test_x conftest$ac_exeext; then
13405 ac_cv_c_dll_gnuelf="yes"
13406 else
13407 echo "$as_me: failed program was:" >&5
13408 sed 's/^/| /' conftest.$ac_ext >&5
13410 ac_cv_c_dll_gnuelf="no"
13413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13414 conftest$ac_exeext conftest.$ac_ext
13415 CFLAGS=$ac_wine_try_cflags_saved
13417 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13418 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13419 if test "$ac_cv_c_dll_gnuelf" = "yes"
13420 then
13421 LDSHARED="\$(CC) -shared"
13422 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13423 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13424 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13425 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13426 echo $ECHO_N "(cached) $ECHO_C" >&6
13427 else
13428 ac_wine_try_cflags_saved=$CFLAGS
13429 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13430 cat >conftest.$ac_ext <<_ACEOF
13431 /* confdefs.h. */
13432 _ACEOF
13433 cat confdefs.h >>conftest.$ac_ext
13434 cat >>conftest.$ac_ext <<_ACEOF
13435 /* end confdefs.h. */
13438 main ()
13442 return 0;
13444 _ACEOF
13445 rm -f conftest.$ac_objext conftest$ac_exeext
13446 if { (ac_try="$ac_link"
13447 case "(($ac_try" in
13448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13449 *) ac_try_echo=$ac_try;;
13450 esac
13451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13452 (eval "$ac_link") 2>conftest.er1
13453 ac_status=$?
13454 grep -v '^ *+' conftest.er1 >conftest.err
13455 rm -f conftest.er1
13456 cat conftest.err >&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } && {
13459 test -z "$ac_c_werror_flag" ||
13460 test ! -s conftest.err
13461 } && test -s conftest$ac_exeext &&
13462 $as_test_x conftest$ac_exeext; then
13463 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13464 else
13465 echo "$as_me: failed program was:" >&5
13466 sed 's/^/| /' conftest.$ac_ext >&5
13468 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13472 conftest$ac_exeext conftest.$ac_ext
13473 CFLAGS=$ac_wine_try_cflags_saved
13475 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13476 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13477 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13478 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13479 else
13480 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13481 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13482 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13483 echo $ECHO_N "(cached) $ECHO_C" >&6
13484 else
13485 ac_wine_try_cflags_saved=$CFLAGS
13486 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13487 cat >conftest.$ac_ext <<_ACEOF
13488 /* confdefs.h. */
13489 _ACEOF
13490 cat confdefs.h >>conftest.$ac_ext
13491 cat >>conftest.$ac_ext <<_ACEOF
13492 /* end confdefs.h. */
13495 main ()
13499 return 0;
13501 _ACEOF
13502 rm -f conftest.$ac_objext conftest$ac_exeext
13503 if { (ac_try="$ac_link"
13504 case "(($ac_try" in
13505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13506 *) ac_try_echo=$ac_try;;
13507 esac
13508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13509 (eval "$ac_link") 2>conftest.er1
13510 ac_status=$?
13511 grep -v '^ *+' conftest.er1 >conftest.err
13512 rm -f conftest.er1
13513 cat conftest.err >&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } && {
13516 test -z "$ac_c_werror_flag" ||
13517 test ! -s conftest.err
13518 } && test -s conftest$ac_exeext &&
13519 $as_test_x conftest$ac_exeext; then
13520 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13521 else
13522 echo "$as_me: failed program was:" >&5
13523 sed 's/^/| /' conftest.$ac_ext >&5
13525 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13528 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13529 conftest$ac_exeext conftest.$ac_ext
13530 CFLAGS=$ac_wine_try_cflags_saved
13532 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13533 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13534 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13535 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13541 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13542 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13543 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13544 echo $ECHO_N "(cached) $ECHO_C" >&6
13545 else
13546 ac_wine_try_cflags_saved=$CFLAGS
13547 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13548 cat >conftest.$ac_ext <<_ACEOF
13549 /* confdefs.h. */
13550 _ACEOF
13551 cat confdefs.h >>conftest.$ac_ext
13552 cat >>conftest.$ac_ext <<_ACEOF
13553 /* end confdefs.h. */
13556 main ()
13560 return 0;
13562 _ACEOF
13563 rm -f conftest.$ac_objext conftest$ac_exeext
13564 if { (ac_try="$ac_link"
13565 case "(($ac_try" in
13566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13567 *) ac_try_echo=$ac_try;;
13568 esac
13569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13570 (eval "$ac_link") 2>conftest.er1
13571 ac_status=$?
13572 grep -v '^ *+' conftest.er1 >conftest.err
13573 rm -f conftest.er1
13574 cat conftest.err >&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } && {
13577 test -z "$ac_c_werror_flag" ||
13578 test ! -s conftest.err
13579 } && test -s conftest$ac_exeext &&
13580 $as_test_x conftest$ac_exeext; then
13581 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13582 else
13583 echo "$as_me: failed program was:" >&5
13584 sed 's/^/| /' conftest.$ac_ext >&5
13586 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13590 conftest$ac_exeext conftest.$ac_ext
13591 CFLAGS=$ac_wine_try_cflags_saved
13593 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13594 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13595 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13596 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13600 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13601 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13602 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13604 else
13605 ac_wine_try_cflags_saved=$CFLAGS
13606 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13607 cat >conftest.$ac_ext <<_ACEOF
13608 /* confdefs.h. */
13609 _ACEOF
13610 cat confdefs.h >>conftest.$ac_ext
13611 cat >>conftest.$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13615 main ()
13619 return 0;
13621 _ACEOF
13622 rm -f conftest.$ac_objext conftest$ac_exeext
13623 if { (ac_try="$ac_link"
13624 case "(($ac_try" in
13625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13626 *) ac_try_echo=$ac_try;;
13627 esac
13628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13629 (eval "$ac_link") 2>conftest.er1
13630 ac_status=$?
13631 grep -v '^ *+' conftest.er1 >conftest.err
13632 rm -f conftest.er1
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } && {
13636 test -z "$ac_c_werror_flag" ||
13637 test ! -s conftest.err
13638 } && test -s conftest$ac_exeext &&
13639 $as_test_x conftest$ac_exeext; then
13640 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13641 else
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13645 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13649 conftest$ac_exeext conftest.$ac_ext
13650 CFLAGS=$ac_wine_try_cflags_saved
13652 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13653 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13654 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13655 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13659 echo '{ global: *; };' >conftest.map
13660 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13661 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13662 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13663 echo $ECHO_N "(cached) $ECHO_C" >&6
13664 else
13665 ac_wine_try_cflags_saved=$CFLAGS
13666 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13667 cat >conftest.$ac_ext <<_ACEOF
13668 /* confdefs.h. */
13669 _ACEOF
13670 cat confdefs.h >>conftest.$ac_ext
13671 cat >>conftest.$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13675 main ()
13679 return 0;
13681 _ACEOF
13682 rm -f conftest.$ac_objext conftest$ac_exeext
13683 if { (ac_try="$ac_link"
13684 case "(($ac_try" in
13685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13686 *) ac_try_echo=$ac_try;;
13687 esac
13688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13689 (eval "$ac_link") 2>conftest.er1
13690 ac_status=$?
13691 grep -v '^ *+' conftest.er1 >conftest.err
13692 rm -f conftest.er1
13693 cat conftest.err >&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } && {
13696 test -z "$ac_c_werror_flag" ||
13697 test ! -s conftest.err
13698 } && test -s conftest$ac_exeext &&
13699 $as_test_x conftest$ac_exeext; then
13700 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13701 else
13702 echo "$as_me: failed program was:" >&5
13703 sed 's/^/| /' conftest.$ac_ext >&5
13705 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13709 conftest$ac_exeext conftest.$ac_ext
13710 CFLAGS=$ac_wine_try_cflags_saved
13712 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13713 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13714 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13715 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13718 rm -f conftest.map
13720 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13721 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13722 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 else
13725 ac_wine_try_cflags_saved=$CFLAGS
13726 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13727 cat >conftest.$ac_ext <<_ACEOF
13728 /* confdefs.h. */
13729 _ACEOF
13730 cat confdefs.h >>conftest.$ac_ext
13731 cat >>conftest.$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13735 main ()
13739 return 0;
13741 _ACEOF
13742 rm -f conftest.$ac_objext conftest$ac_exeext
13743 if { (ac_try="$ac_link"
13744 case "(($ac_try" in
13745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13746 *) ac_try_echo=$ac_try;;
13747 esac
13748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13749 (eval "$ac_link") 2>conftest.er1
13750 ac_status=$?
13751 grep -v '^ *+' conftest.er1 >conftest.err
13752 rm -f conftest.er1
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } && {
13756 test -z "$ac_c_werror_flag" ||
13757 test ! -s conftest.err
13758 } && test -s conftest$ac_exeext &&
13759 $as_test_x conftest$ac_exeext; then
13760 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13761 else
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13765 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13769 conftest$ac_exeext conftest.$ac_ext
13770 CFLAGS=$ac_wine_try_cflags_saved
13772 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13773 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13774 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13775 LDEXECFLAGS="-Wl,--export-dynamic"
13780 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13781 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13782 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13783 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13784 echo $ECHO_N "(cached) $ECHO_C" >&6
13785 else
13786 ac_wine_try_cflags_saved=$CFLAGS
13787 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13788 cat >conftest.$ac_ext <<_ACEOF
13789 /* confdefs.h. */
13790 _ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13796 main ()
13800 return 0;
13802 _ACEOF
13803 rm -f conftest.$ac_objext conftest$ac_exeext
13804 if { (ac_try="$ac_link"
13805 case "(($ac_try" in
13806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13807 *) ac_try_echo=$ac_try;;
13808 esac
13809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13810 (eval "$ac_link") 2>conftest.er1
13811 ac_status=$?
13812 grep -v '^ *+' conftest.er1 >conftest.err
13813 rm -f conftest.er1
13814 cat conftest.err >&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); } && {
13817 test -z "$ac_c_werror_flag" ||
13818 test ! -s conftest.err
13819 } && test -s conftest$ac_exeext &&
13820 $as_test_x conftest$ac_exeext; then
13821 eval "$as_ac_var=yes"
13822 else
13823 echo "$as_me: failed program was:" >&5
13824 sed 's/^/| /' conftest.$ac_ext >&5
13826 eval "$as_ac_var=no"
13829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13830 conftest$ac_exeext conftest.$ac_ext
13831 CFLAGS=$ac_wine_try_cflags_saved
13833 ac_res=`eval echo '${'$as_ac_var'}'`
13834 { echo "$as_me:$LINENO: result: $ac_res" >&5
13835 echo "${ECHO_T}$ac_res" >&6; }
13836 if test `eval echo '${'$as_ac_var'}'` = yes; then
13837 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13841 case $host_cpu in
13842 *i[3456789]86* | x86_64)
13843 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13844 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13845 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13846 echo $ECHO_N "(cached) $ECHO_C" >&6
13847 else
13848 ac_wine_try_cflags_saved=$CFLAGS
13849 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13850 cat >conftest.$ac_ext <<_ACEOF
13851 /* confdefs.h. */
13852 _ACEOF
13853 cat confdefs.h >>conftest.$ac_ext
13854 cat >>conftest.$ac_ext <<_ACEOF
13855 /* end confdefs.h. */
13858 main ()
13862 return 0;
13864 _ACEOF
13865 rm -f conftest.$ac_objext conftest$ac_exeext
13866 if { (ac_try="$ac_link"
13867 case "(($ac_try" in
13868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13869 *) ac_try_echo=$ac_try;;
13870 esac
13871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13872 (eval "$ac_link") 2>conftest.er1
13873 ac_status=$?
13874 grep -v '^ *+' conftest.er1 >conftest.err
13875 rm -f conftest.er1
13876 cat conftest.err >&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } && {
13879 test -z "$ac_c_werror_flag" ||
13880 test ! -s conftest.err
13881 } && test -s conftest$ac_exeext &&
13882 $as_test_x conftest$ac_exeext; then
13883 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13884 else
13885 echo "$as_me: failed program was:" >&5
13886 sed 's/^/| /' conftest.$ac_ext >&5
13888 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13892 conftest$ac_exeext conftest.$ac_ext
13893 CFLAGS=$ac_wine_try_cflags_saved
13895 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13896 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13897 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13898 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13902 esac
13904 else
13905 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13906 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13907 if test "${ac_cv_c_dll_unixware+set}" = set; then
13908 echo $ECHO_N "(cached) $ECHO_C" >&6
13909 else
13910 ac_wine_try_cflags_saved=$CFLAGS
13911 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13912 cat >conftest.$ac_ext <<_ACEOF
13913 void myfunc() {}
13914 _ACEOF
13915 rm -f conftest.$ac_objext conftest$ac_exeext
13916 if { (ac_try="$ac_link"
13917 case "(($ac_try" in
13918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13919 *) ac_try_echo=$ac_try;;
13920 esac
13921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13922 (eval "$ac_link") 2>conftest.er1
13923 ac_status=$?
13924 grep -v '^ *+' conftest.er1 >conftest.err
13925 rm -f conftest.er1
13926 cat conftest.err >&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } && {
13929 test -z "$ac_c_werror_flag" ||
13930 test ! -s conftest.err
13931 } && test -s conftest$ac_exeext &&
13932 $as_test_x conftest$ac_exeext; then
13933 ac_cv_c_dll_unixware="yes"
13934 else
13935 echo "$as_me: failed program was:" >&5
13936 sed 's/^/| /' conftest.$ac_ext >&5
13938 ac_cv_c_dll_unixware="no"
13941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13942 conftest$ac_exeext conftest.$ac_ext
13943 CFLAGS=$ac_wine_try_cflags_saved
13945 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13946 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13947 if test "$ac_cv_c_dll_unixware" = "yes"
13948 then
13949 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13950 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13952 else
13953 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13954 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13955 if test "${ac_cv_c_dll_hpux+set}" = set; then
13956 echo $ECHO_N "(cached) $ECHO_C" >&6
13957 else
13958 ac_wine_try_cflags_saved=$CFLAGS
13959 CFLAGS="$CFLAGS -shared"
13960 cat >conftest.$ac_ext <<_ACEOF
13961 void myfunc() {}
13962 _ACEOF
13963 rm -f conftest.$ac_objext conftest$ac_exeext
13964 if { (ac_try="$ac_link"
13965 case "(($ac_try" in
13966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13967 *) ac_try_echo=$ac_try;;
13968 esac
13969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13970 (eval "$ac_link") 2>conftest.er1
13971 ac_status=$?
13972 grep -v '^ *+' conftest.er1 >conftest.err
13973 rm -f conftest.er1
13974 cat conftest.err >&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } && {
13977 test -z "$ac_c_werror_flag" ||
13978 test ! -s conftest.err
13979 } && test -s conftest$ac_exeext &&
13980 $as_test_x conftest$ac_exeext; then
13981 ac_cv_c_dll_hpux="yes"
13982 else
13983 echo "$as_me: failed program was:" >&5
13984 sed 's/^/| /' conftest.$ac_ext >&5
13986 ac_cv_c_dll_hpux="no"
13989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13990 conftest$ac_exeext conftest.$ac_ext
13991 CFLAGS=$ac_wine_try_cflags_saved
13993 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13994 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13995 if test "$ac_cv_c_dll_hpux" = "yes"
13996 then
13997 LIBEXT="sl"
13998 DLLEXT=".sl"
13999 LDDLLFLAGS="-shared -fPIC"
14000 LDSHARED="\$(CC) -shared"
14005 CROSSTEST=""
14007 if test "$cross_compiling" = "no"
14008 then
14009 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14011 # Extract the first word of "$ac_prog", so it can be a program name with args.
14012 set dummy $ac_prog; ac_word=$2
14013 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14015 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14016 echo $ECHO_N "(cached) $ECHO_C" >&6
14017 else
14018 if test -n "$CROSSCC"; then
14019 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14020 else
14021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14022 for as_dir in $PATH
14024 IFS=$as_save_IFS
14025 test -z "$as_dir" && as_dir=.
14026 for ac_exec_ext in '' $ac_executable_extensions; do
14027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14028 ac_cv_prog_CROSSCC="$ac_prog"
14029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14030 break 2
14032 done
14033 done
14034 IFS=$as_save_IFS
14038 CROSSCC=$ac_cv_prog_CROSSCC
14039 if test -n "$CROSSCC"; then
14040 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14041 echo "${ECHO_T}$CROSSCC" >&6; }
14042 else
14043 { echo "$as_me:$LINENO: result: no" >&5
14044 echo "${ECHO_T}no" >&6; }
14048 test -n "$CROSSCC" && break
14049 done
14050 test -n "$CROSSCC" || CROSSCC="false"
14052 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14054 # Extract the first word of "$ac_prog", so it can be a program name with args.
14055 set dummy $ac_prog; ac_word=$2
14056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14058 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14060 else
14061 if test -n "$DLLTOOL"; then
14062 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14063 else
14064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14065 for as_dir in $PATH
14067 IFS=$as_save_IFS
14068 test -z "$as_dir" && as_dir=.
14069 for ac_exec_ext in '' $ac_executable_extensions; do
14070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14071 ac_cv_prog_DLLTOOL="$ac_prog"
14072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14073 break 2
14075 done
14076 done
14077 IFS=$as_save_IFS
14081 DLLTOOL=$ac_cv_prog_DLLTOOL
14082 if test -n "$DLLTOOL"; then
14083 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14084 echo "${ECHO_T}$DLLTOOL" >&6; }
14085 else
14086 { echo "$as_me:$LINENO: result: no" >&5
14087 echo "${ECHO_T}no" >&6; }
14091 test -n "$DLLTOOL" && break
14092 done
14093 test -n "$DLLTOOL" || DLLTOOL="false"
14095 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14097 # Extract the first word of "$ac_prog", so it can be a program name with args.
14098 set dummy $ac_prog; ac_word=$2
14099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14101 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14102 echo $ECHO_N "(cached) $ECHO_C" >&6
14103 else
14104 if test -n "$CROSSWINDRES"; then
14105 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14106 else
14107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14108 for as_dir in $PATH
14110 IFS=$as_save_IFS
14111 test -z "$as_dir" && as_dir=.
14112 for ac_exec_ext in '' $ac_executable_extensions; do
14113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14114 ac_cv_prog_CROSSWINDRES="$ac_prog"
14115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14116 break 2
14118 done
14119 done
14120 IFS=$as_save_IFS
14124 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14125 if test -n "$CROSSWINDRES"; then
14126 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14127 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14128 else
14129 { echo "$as_me:$LINENO: result: no" >&5
14130 echo "${ECHO_T}no" >&6; }
14134 test -n "$CROSSWINDRES" && break
14135 done
14136 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14138 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14140 # Extract the first word of "$ac_prog", so it can be a program name with args.
14141 set dummy $ac_prog; ac_word=$2
14142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14144 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14145 echo $ECHO_N "(cached) $ECHO_C" >&6
14146 else
14147 if test -n "$MINGWAR"; then
14148 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14149 else
14150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14151 for as_dir in $PATH
14153 IFS=$as_save_IFS
14154 test -z "$as_dir" && as_dir=.
14155 for ac_exec_ext in '' $ac_executable_extensions; do
14156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14157 ac_cv_prog_MINGWAR="$ac_prog"
14158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14159 break 2
14161 done
14162 done
14163 IFS=$as_save_IFS
14167 MINGWAR=$ac_cv_prog_MINGWAR
14168 if test -n "$MINGWAR"; then
14169 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14170 echo "${ECHO_T}$MINGWAR" >&6; }
14171 else
14172 { echo "$as_me:$LINENO: result: no" >&5
14173 echo "${ECHO_T}no" >&6; }
14177 test -n "$MINGWAR" && break
14178 done
14179 test -n "$MINGWAR" || MINGWAR="false"
14181 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14184 esac
14186 if test "$LIBEXT" = "a"; then
14187 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14188 It is currently not possible to build Wine without shared library
14189 (.so) support to allow transparent switch between .so and .dll files.
14190 If you are using Linux, you will need a newer binutils.
14191 " >&5
14192 echo "$as_me: error: could not find a way to build shared libraries.
14193 It is currently not possible to build Wine without shared library
14194 (.so) support to allow transparent switch between .so and .dll files.
14195 If you are using Linux, you will need a newer binutils.
14196 " >&2;}
14197 { (exit 1); exit 1; }; }
14200 case $build_os in
14201 cygwin*|mingw32*)
14202 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14204 darwin*|macosx*)
14205 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14208 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14210 esac
14212 case $host_os in
14213 mingw32*)
14214 CRTLIBS="-lmsvcrt"
14216 SOCKETLIBS="-lws2_32"
14219 esac
14221 MAIN_BINARY="wine-pthread"
14222 case $host_cpu in
14223 *i[3456789]86*)
14224 case $host_os in
14225 linux* | k*bsd*-gnu)
14226 MAIN_BINARY="wine-glibc"
14228 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14230 esac
14232 esac
14235 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14236 then
14237 # Extract the first word of "ldd", so it can be a program name with args.
14238 set dummy ldd; ac_word=$2
14239 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14241 if test "${ac_cv_path_LDD+set}" = set; then
14242 echo $ECHO_N "(cached) $ECHO_C" >&6
14243 else
14244 case $LDD in
14245 [\\/]* | ?:[\\/]*)
14246 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14250 as_dummy="/sbin:/usr/sbin:$PATH"
14251 for as_dir in $as_dummy
14253 IFS=$as_save_IFS
14254 test -z "$as_dir" && as_dir=.
14255 for ac_exec_ext in '' $ac_executable_extensions; do
14256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14257 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14259 break 2
14261 done
14262 done
14263 IFS=$as_save_IFS
14265 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14267 esac
14269 LDD=$ac_cv_path_LDD
14270 if test -n "$LDD"; then
14271 { echo "$as_me:$LINENO: result: $LDD" >&5
14272 echo "${ECHO_T}$LDD" >&6; }
14273 else
14274 { echo "$as_me:$LINENO: result: no" >&5
14275 echo "${ECHO_T}no" >&6; }
14279 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14280 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14281 if test "${ac_cv_lib_soname_X11+set}" = set; then
14282 echo $ECHO_N "(cached) $ECHO_C" >&6
14283 else
14284 ac_get_soname_save_LIBS=$LIBS
14285 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14286 cat >conftest.$ac_ext <<_ACEOF
14287 /* confdefs.h. */
14288 _ACEOF
14289 cat confdefs.h >>conftest.$ac_ext
14290 cat >>conftest.$ac_ext <<_ACEOF
14291 /* end confdefs.h. */
14293 /* Override any GCC internal prototype to avoid an error.
14294 Use char because int might match the return type of a GCC
14295 builtin and then its argument prototype would still apply. */
14296 #ifdef __cplusplus
14297 extern "C"
14298 #endif
14299 char XCreateWindow ();
14301 main ()
14303 return XCreateWindow ();
14305 return 0;
14307 _ACEOF
14308 rm -f conftest.$ac_objext conftest$ac_exeext
14309 if { (ac_try="$ac_link"
14310 case "(($ac_try" in
14311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14312 *) ac_try_echo=$ac_try;;
14313 esac
14314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14315 (eval "$ac_link") 2>conftest.er1
14316 ac_status=$?
14317 grep -v '^ *+' conftest.er1 >conftest.err
14318 rm -f conftest.er1
14319 cat conftest.err >&5
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); } && {
14322 test -z "$ac_c_werror_flag" ||
14323 test ! -s conftest.err
14324 } && test -s conftest$ac_exeext &&
14325 $as_test_x conftest$ac_exeext; then
14326 case "$LIBEXT" in
14327 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'` ;;
14328 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14329 esac
14330 if test "x$ac_cv_lib_soname_X11" = "x"
14331 then
14332 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14334 else
14335 echo "$as_me: failed program was:" >&5
14336 sed 's/^/| /' conftest.$ac_ext >&5
14338 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14342 conftest$ac_exeext conftest.$ac_ext
14343 LIBS=$ac_get_soname_save_LIBS
14345 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14346 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14347 if test "${ac_cv_lib_soname_X11+set}" = set; then
14349 cat >>confdefs.h <<_ACEOF
14350 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14351 _ACEOF
14355 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14356 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14357 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14358 echo $ECHO_N "(cached) $ECHO_C" >&6
14359 else
14360 ac_get_soname_save_LIBS=$LIBS
14361 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
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. */
14369 /* Override any GCC internal prototype to avoid an error.
14370 Use char because int might match the return type of a GCC
14371 builtin and then its argument prototype would still apply. */
14372 #ifdef __cplusplus
14373 extern "C"
14374 #endif
14375 char XextCreateExtension ();
14377 main ()
14379 return XextCreateExtension ();
14381 return 0;
14383 _ACEOF
14384 rm -f conftest.$ac_objext conftest$ac_exeext
14385 if { (ac_try="$ac_link"
14386 case "(($ac_try" in
14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14389 esac
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_link") 2>conftest.er1
14392 ac_status=$?
14393 grep -v '^ *+' conftest.er1 >conftest.err
14394 rm -f conftest.er1
14395 cat conftest.err >&5
14396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14397 (exit $ac_status); } && {
14398 test -z "$ac_c_werror_flag" ||
14399 test ! -s conftest.err
14400 } && test -s conftest$ac_exeext &&
14401 $as_test_x conftest$ac_exeext; then
14402 case "$LIBEXT" in
14403 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'` ;;
14404 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14405 esac
14406 if test "x$ac_cv_lib_soname_Xext" = "x"
14407 then
14408 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14410 else
14411 echo "$as_me: failed program was:" >&5
14412 sed 's/^/| /' conftest.$ac_ext >&5
14414 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14417 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14418 conftest$ac_exeext conftest.$ac_ext
14419 LIBS=$ac_get_soname_save_LIBS
14421 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14422 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14423 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14425 cat >>confdefs.h <<_ACEOF
14426 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14427 _ACEOF
14431 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14432 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14433 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14434 echo $ECHO_N "(cached) $ECHO_C" >&6
14435 else
14436 ac_get_soname_save_LIBS=$LIBS
14437 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14438 cat >conftest.$ac_ext <<_ACEOF
14439 /* confdefs.h. */
14440 _ACEOF
14441 cat confdefs.h >>conftest.$ac_ext
14442 cat >>conftest.$ac_ext <<_ACEOF
14443 /* end confdefs.h. */
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply. */
14448 #ifdef __cplusplus
14449 extern "C"
14450 #endif
14451 char XOpenDevice ();
14453 main ()
14455 return XOpenDevice ();
14457 return 0;
14459 _ACEOF
14460 rm -f conftest.$ac_objext conftest$ac_exeext
14461 if { (ac_try="$ac_link"
14462 case "(($ac_try" in
14463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14464 *) ac_try_echo=$ac_try;;
14465 esac
14466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14467 (eval "$ac_link") 2>conftest.er1
14468 ac_status=$?
14469 grep -v '^ *+' conftest.er1 >conftest.err
14470 rm -f conftest.er1
14471 cat conftest.err >&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } && {
14474 test -z "$ac_c_werror_flag" ||
14475 test ! -s conftest.err
14476 } && test -s conftest$ac_exeext &&
14477 $as_test_x conftest$ac_exeext; then
14478 case "$LIBEXT" in
14479 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'` ;;
14480 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14481 esac
14482 if test "x$ac_cv_lib_soname_Xi" = "x"
14483 then
14484 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14486 else
14487 echo "$as_me: failed program was:" >&5
14488 sed 's/^/| /' conftest.$ac_ext >&5
14490 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14494 conftest$ac_exeext conftest.$ac_ext
14495 LIBS=$ac_get_soname_save_LIBS
14497 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14498 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14499 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14501 cat >>confdefs.h <<_ACEOF
14502 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14503 _ACEOF
14507 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14508 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14509 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14510 echo $ECHO_N "(cached) $ECHO_C" >&6
14511 else
14512 ac_get_soname_save_LIBS=$LIBS
14513 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14514 cat >conftest.$ac_ext <<_ACEOF
14515 /* confdefs.h. */
14516 _ACEOF
14517 cat confdefs.h >>conftest.$ac_ext
14518 cat >>conftest.$ac_ext <<_ACEOF
14519 /* end confdefs.h. */
14521 /* Override any GCC internal prototype to avoid an error.
14522 Use char because int might match the return type of a GCC
14523 builtin and then its argument prototype would still apply. */
14524 #ifdef __cplusplus
14525 extern "C"
14526 #endif
14527 char XineramaQueryScreens ();
14529 main ()
14531 return XineramaQueryScreens ();
14533 return 0;
14535 _ACEOF
14536 rm -f conftest.$ac_objext conftest$ac_exeext
14537 if { (ac_try="$ac_link"
14538 case "(($ac_try" in
14539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14540 *) ac_try_echo=$ac_try;;
14541 esac
14542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14543 (eval "$ac_link") 2>conftest.er1
14544 ac_status=$?
14545 grep -v '^ *+' conftest.er1 >conftest.err
14546 rm -f conftest.er1
14547 cat conftest.err >&5
14548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14549 (exit $ac_status); } && {
14550 test -z "$ac_c_werror_flag" ||
14551 test ! -s conftest.err
14552 } && test -s conftest$ac_exeext &&
14553 $as_test_x conftest$ac_exeext; then
14554 case "$LIBEXT" in
14555 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'` ;;
14556 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14557 esac
14558 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14559 then
14560 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14562 else
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14570 conftest$ac_exeext conftest.$ac_ext
14571 LIBS=$ac_get_soname_save_LIBS
14573 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14574 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14575 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14577 cat >>confdefs.h <<_ACEOF
14578 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14579 _ACEOF
14583 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14584 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14585 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14586 echo $ECHO_N "(cached) $ECHO_C" >&6
14587 else
14588 ac_get_soname_save_LIBS=$LIBS
14589 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14590 cat >conftest.$ac_ext <<_ACEOF
14591 /* confdefs.h. */
14592 _ACEOF
14593 cat confdefs.h >>conftest.$ac_ext
14594 cat >>conftest.$ac_ext <<_ACEOF
14595 /* end confdefs.h. */
14597 /* Override any GCC internal prototype to avoid an error.
14598 Use char because int might match the return type of a GCC
14599 builtin and then its argument prototype would still apply. */
14600 #ifdef __cplusplus
14601 extern "C"
14602 #endif
14603 char XRenderQueryExtension ();
14605 main ()
14607 return XRenderQueryExtension ();
14609 return 0;
14611 _ACEOF
14612 rm -f conftest.$ac_objext conftest$ac_exeext
14613 if { (ac_try="$ac_link"
14614 case "(($ac_try" in
14615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14616 *) ac_try_echo=$ac_try;;
14617 esac
14618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14619 (eval "$ac_link") 2>conftest.er1
14620 ac_status=$?
14621 grep -v '^ *+' conftest.er1 >conftest.err
14622 rm -f conftest.er1
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } && {
14626 test -z "$ac_c_werror_flag" ||
14627 test ! -s conftest.err
14628 } && test -s conftest$ac_exeext &&
14629 $as_test_x conftest$ac_exeext; then
14630 case "$LIBEXT" in
14631 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'` ;;
14632 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14633 esac
14634 if test "x$ac_cv_lib_soname_Xrender" = "x"
14635 then
14636 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14638 else
14639 echo "$as_me: failed program was:" >&5
14640 sed 's/^/| /' conftest.$ac_ext >&5
14642 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14646 conftest$ac_exeext conftest.$ac_ext
14647 LIBS=$ac_get_soname_save_LIBS
14649 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14650 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14651 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14653 cat >>confdefs.h <<_ACEOF
14654 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14655 _ACEOF
14659 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14660 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14661 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14662 echo $ECHO_N "(cached) $ECHO_C" >&6
14663 else
14664 ac_get_soname_save_LIBS=$LIBS
14665 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14666 cat >conftest.$ac_ext <<_ACEOF
14667 /* confdefs.h. */
14668 _ACEOF
14669 cat confdefs.h >>conftest.$ac_ext
14670 cat >>conftest.$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14673 /* Override any GCC internal prototype to avoid an error.
14674 Use char because int might match the return type of a GCC
14675 builtin and then its argument prototype would still apply. */
14676 #ifdef __cplusplus
14677 extern "C"
14678 #endif
14679 char XRRQueryExtension ();
14681 main ()
14683 return XRRQueryExtension ();
14685 return 0;
14687 _ACEOF
14688 rm -f conftest.$ac_objext conftest$ac_exeext
14689 if { (ac_try="$ac_link"
14690 case "(($ac_try" in
14691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14692 *) ac_try_echo=$ac_try;;
14693 esac
14694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14695 (eval "$ac_link") 2>conftest.er1
14696 ac_status=$?
14697 grep -v '^ *+' conftest.er1 >conftest.err
14698 rm -f conftest.er1
14699 cat conftest.err >&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); } && {
14702 test -z "$ac_c_werror_flag" ||
14703 test ! -s conftest.err
14704 } && test -s conftest$ac_exeext &&
14705 $as_test_x conftest$ac_exeext; then
14706 case "$LIBEXT" in
14707 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'` ;;
14708 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14709 esac
14710 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14711 then
14712 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14714 else
14715 echo "$as_me: failed program was:" >&5
14716 sed 's/^/| /' conftest.$ac_ext >&5
14718 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14722 conftest$ac_exeext conftest.$ac_ext
14723 LIBS=$ac_get_soname_save_LIBS
14725 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14726 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14727 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14729 cat >>confdefs.h <<_ACEOF
14730 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14731 _ACEOF
14735 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14736 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14737 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14738 echo $ECHO_N "(cached) $ECHO_C" >&6
14739 else
14740 ac_get_soname_save_LIBS=$LIBS
14741 LIBS="-lfreetype $X_LIBS $LIBS"
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14749 /* Override any GCC internal prototype to avoid an error.
14750 Use char because int might match the return type of a GCC
14751 builtin and then its argument prototype would still apply. */
14752 #ifdef __cplusplus
14753 extern "C"
14754 #endif
14755 char FT_Init_FreeType ();
14757 main ()
14759 return FT_Init_FreeType ();
14761 return 0;
14763 _ACEOF
14764 rm -f conftest.$ac_objext conftest$ac_exeext
14765 if { (ac_try="$ac_link"
14766 case "(($ac_try" in
14767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14768 *) ac_try_echo=$ac_try;;
14769 esac
14770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14771 (eval "$ac_link") 2>conftest.er1
14772 ac_status=$?
14773 grep -v '^ *+' conftest.er1 >conftest.err
14774 rm -f conftest.er1
14775 cat conftest.err >&5
14776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14777 (exit $ac_status); } && {
14778 test -z "$ac_c_werror_flag" ||
14779 test ! -s conftest.err
14780 } && test -s conftest$ac_exeext &&
14781 $as_test_x conftest$ac_exeext; then
14782 case "$LIBEXT" in
14783 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'` ;;
14784 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14785 esac
14786 if test "x$ac_cv_lib_soname_freetype" = "x"
14787 then
14788 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14790 else
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.$ac_ext >&5
14794 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14798 conftest$ac_exeext conftest.$ac_ext
14799 LIBS=$ac_get_soname_save_LIBS
14801 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14802 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14803 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14805 cat >>confdefs.h <<_ACEOF
14806 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14807 _ACEOF
14811 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14812 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14813 if test "${ac_cv_lib_soname_GL+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14815 else
14816 ac_get_soname_save_LIBS=$LIBS
14817 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14818 cat >conftest.$ac_ext <<_ACEOF
14819 /* confdefs.h. */
14820 _ACEOF
14821 cat confdefs.h >>conftest.$ac_ext
14822 cat >>conftest.$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14825 /* Override any GCC internal prototype to avoid an error.
14826 Use char because int might match the return type of a GCC
14827 builtin and then its argument prototype would still apply. */
14828 #ifdef __cplusplus
14829 extern "C"
14830 #endif
14831 char glXQueryExtension ();
14833 main ()
14835 return glXQueryExtension ();
14837 return 0;
14839 _ACEOF
14840 rm -f conftest.$ac_objext conftest$ac_exeext
14841 if { (ac_try="$ac_link"
14842 case "(($ac_try" in
14843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14844 *) ac_try_echo=$ac_try;;
14845 esac
14846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14847 (eval "$ac_link") 2>conftest.er1
14848 ac_status=$?
14849 grep -v '^ *+' conftest.er1 >conftest.err
14850 rm -f conftest.er1
14851 cat conftest.err >&5
14852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14853 (exit $ac_status); } && {
14854 test -z "$ac_c_werror_flag" ||
14855 test ! -s conftest.err
14856 } && test -s conftest$ac_exeext &&
14857 $as_test_x conftest$ac_exeext; then
14858 case "$LIBEXT" in
14859 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'` ;;
14860 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14861 esac
14862 if test "x$ac_cv_lib_soname_GL" = "x"
14863 then
14864 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14866 else
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14870 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14873 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_get_soname_save_LIBS
14877 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14878 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14879 if test "${ac_cv_lib_soname_GL+set}" = set; then
14881 cat >>confdefs.h <<_ACEOF
14882 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14883 _ACEOF
14887 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14888 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14889 if test "${ac_cv_lib_soname_hal+set}" = set; then
14890 echo $ECHO_N "(cached) $ECHO_C" >&6
14891 else
14892 ac_get_soname_save_LIBS=$LIBS
14893 LIBS="-lhal $LIBS"
14894 cat >conftest.$ac_ext <<_ACEOF
14895 /* confdefs.h. */
14896 _ACEOF
14897 cat confdefs.h >>conftest.$ac_ext
14898 cat >>conftest.$ac_ext <<_ACEOF
14899 /* end confdefs.h. */
14901 /* Override any GCC internal prototype to avoid an error.
14902 Use char because int might match the return type of a GCC
14903 builtin and then its argument prototype would still apply. */
14904 #ifdef __cplusplus
14905 extern "C"
14906 #endif
14907 char libhal_ctx_new ();
14909 main ()
14911 return libhal_ctx_new ();
14913 return 0;
14915 _ACEOF
14916 rm -f conftest.$ac_objext conftest$ac_exeext
14917 if { (ac_try="$ac_link"
14918 case "(($ac_try" in
14919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14920 *) ac_try_echo=$ac_try;;
14921 esac
14922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14923 (eval "$ac_link") 2>conftest.er1
14924 ac_status=$?
14925 grep -v '^ *+' conftest.er1 >conftest.err
14926 rm -f conftest.er1
14927 cat conftest.err >&5
14928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14929 (exit $ac_status); } && {
14930 test -z "$ac_c_werror_flag" ||
14931 test ! -s conftest.err
14932 } && test -s conftest$ac_exeext &&
14933 $as_test_x conftest$ac_exeext; then
14934 case "$LIBEXT" in
14935 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'` ;;
14936 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14937 esac
14938 if test "x$ac_cv_lib_soname_hal" = "x"
14939 then
14940 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14942 else
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14946 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14950 conftest$ac_exeext conftest.$ac_ext
14951 LIBS=$ac_get_soname_save_LIBS
14953 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14954 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14955 if test "${ac_cv_lib_soname_hal+set}" = set; then
14957 cat >>confdefs.h <<_ACEOF
14958 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14959 _ACEOF
14963 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14964 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14965 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14966 echo $ECHO_N "(cached) $ECHO_C" >&6
14967 else
14968 ac_get_soname_save_LIBS=$LIBS
14969 LIBS="-ltxc_dxtn $LIBS"
14970 cat >conftest.$ac_ext <<_ACEOF
14971 /* confdefs.h. */
14972 _ACEOF
14973 cat confdefs.h >>conftest.$ac_ext
14974 cat >>conftest.$ac_ext <<_ACEOF
14975 /* end confdefs.h. */
14977 /* Override any GCC internal prototype to avoid an error.
14978 Use char because int might match the return type of a GCC
14979 builtin and then its argument prototype would still apply. */
14980 #ifdef __cplusplus
14981 extern "C"
14982 #endif
14983 char fetch_2d_texel_rgba_dxt1 ();
14985 main ()
14987 return fetch_2d_texel_rgba_dxt1 ();
14989 return 0;
14991 _ACEOF
14992 rm -f conftest.$ac_objext conftest$ac_exeext
14993 if { (ac_try="$ac_link"
14994 case "(($ac_try" in
14995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14996 *) ac_try_echo=$ac_try;;
14997 esac
14998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999 (eval "$ac_link") 2>conftest.er1
15000 ac_status=$?
15001 grep -v '^ *+' conftest.er1 >conftest.err
15002 rm -f conftest.er1
15003 cat conftest.err >&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); } && {
15006 test -z "$ac_c_werror_flag" ||
15007 test ! -s conftest.err
15008 } && test -s conftest$ac_exeext &&
15009 $as_test_x conftest$ac_exeext; then
15010 case "$LIBEXT" in
15011 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'` ;;
15012 so) ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15013 esac
15014 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15015 then
15016 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15018 else
15019 echo "$as_me: failed program was:" >&5
15020 sed 's/^/| /' conftest.$ac_ext >&5
15022 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15026 conftest$ac_exeext conftest.$ac_ext
15027 LIBS=$ac_get_soname_save_LIBS
15029 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15030 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15031 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15033 cat >>confdefs.h <<_ACEOF
15034 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15035 _ACEOF
15039 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15040 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15041 if test "${ac_cv_lib_soname_cups+set}" = set; then
15042 echo $ECHO_N "(cached) $ECHO_C" >&6
15043 else
15044 ac_get_soname_save_LIBS=$LIBS
15045 LIBS="-lcups $LIBS"
15046 cat >conftest.$ac_ext <<_ACEOF
15047 /* confdefs.h. */
15048 _ACEOF
15049 cat confdefs.h >>conftest.$ac_ext
15050 cat >>conftest.$ac_ext <<_ACEOF
15051 /* end confdefs.h. */
15053 /* Override any GCC internal prototype to avoid an error.
15054 Use char because int might match the return type of a GCC
15055 builtin and then its argument prototype would still apply. */
15056 #ifdef __cplusplus
15057 extern "C"
15058 #endif
15059 char cupsGetDefault ();
15061 main ()
15063 return cupsGetDefault ();
15065 return 0;
15067 _ACEOF
15068 rm -f conftest.$ac_objext conftest$ac_exeext
15069 if { (ac_try="$ac_link"
15070 case "(($ac_try" in
15071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15072 *) ac_try_echo=$ac_try;;
15073 esac
15074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15075 (eval "$ac_link") 2>conftest.er1
15076 ac_status=$?
15077 grep -v '^ *+' conftest.er1 >conftest.err
15078 rm -f conftest.er1
15079 cat conftest.err >&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } && {
15082 test -z "$ac_c_werror_flag" ||
15083 test ! -s conftest.err
15084 } && test -s conftest$ac_exeext &&
15085 $as_test_x conftest$ac_exeext; then
15086 case "$LIBEXT" in
15087 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'` ;;
15088 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15089 esac
15090 if test "x$ac_cv_lib_soname_cups" = "x"
15091 then
15092 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15094 else
15095 echo "$as_me: failed program was:" >&5
15096 sed 's/^/| /' conftest.$ac_ext >&5
15098 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15102 conftest$ac_exeext conftest.$ac_ext
15103 LIBS=$ac_get_soname_save_LIBS
15105 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15106 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15107 if test "${ac_cv_lib_soname_cups+set}" = set; then
15109 cat >>confdefs.h <<_ACEOF
15110 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15111 _ACEOF
15115 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15116 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15117 if test "${ac_cv_lib_soname_jack+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 else
15120 ac_get_soname_save_LIBS=$LIBS
15121 LIBS="-ljack $LIBS"
15122 cat >conftest.$ac_ext <<_ACEOF
15123 /* confdefs.h. */
15124 _ACEOF
15125 cat confdefs.h >>conftest.$ac_ext
15126 cat >>conftest.$ac_ext <<_ACEOF
15127 /* end confdefs.h. */
15129 /* Override any GCC internal prototype to avoid an error.
15130 Use char because int might match the return type of a GCC
15131 builtin and then its argument prototype would still apply. */
15132 #ifdef __cplusplus
15133 extern "C"
15134 #endif
15135 char jack_client_new ();
15137 main ()
15139 return jack_client_new ();
15141 return 0;
15143 _ACEOF
15144 rm -f conftest.$ac_objext conftest$ac_exeext
15145 if { (ac_try="$ac_link"
15146 case "(($ac_try" in
15147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15148 *) ac_try_echo=$ac_try;;
15149 esac
15150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15151 (eval "$ac_link") 2>conftest.er1
15152 ac_status=$?
15153 grep -v '^ *+' conftest.er1 >conftest.err
15154 rm -f conftest.er1
15155 cat conftest.err >&5
15156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15157 (exit $ac_status); } && {
15158 test -z "$ac_c_werror_flag" ||
15159 test ! -s conftest.err
15160 } && test -s conftest$ac_exeext &&
15161 $as_test_x conftest$ac_exeext; then
15162 case "$LIBEXT" in
15163 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'` ;;
15164 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15165 esac
15166 if test "x$ac_cv_lib_soname_jack" = "x"
15167 then
15168 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15170 else
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.$ac_ext >&5
15174 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15177 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15178 conftest$ac_exeext conftest.$ac_ext
15179 LIBS=$ac_get_soname_save_LIBS
15181 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15182 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15183 if test "${ac_cv_lib_soname_jack+set}" = set; then
15185 cat >>confdefs.h <<_ACEOF
15186 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15187 _ACEOF
15191 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15192 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15193 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 else
15196 ac_get_soname_save_LIBS=$LIBS
15197 LIBS="-lfontconfig $LIBS"
15198 cat >conftest.$ac_ext <<_ACEOF
15199 /* confdefs.h. */
15200 _ACEOF
15201 cat confdefs.h >>conftest.$ac_ext
15202 cat >>conftest.$ac_ext <<_ACEOF
15203 /* end confdefs.h. */
15205 /* Override any GCC internal prototype to avoid an error.
15206 Use char because int might match the return type of a GCC
15207 builtin and then its argument prototype would still apply. */
15208 #ifdef __cplusplus
15209 extern "C"
15210 #endif
15211 char FcInit ();
15213 main ()
15215 return FcInit ();
15217 return 0;
15219 _ACEOF
15220 rm -f conftest.$ac_objext conftest$ac_exeext
15221 if { (ac_try="$ac_link"
15222 case "(($ac_try" in
15223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15224 *) ac_try_echo=$ac_try;;
15225 esac
15226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15227 (eval "$ac_link") 2>conftest.er1
15228 ac_status=$?
15229 grep -v '^ *+' conftest.er1 >conftest.err
15230 rm -f conftest.er1
15231 cat conftest.err >&5
15232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15233 (exit $ac_status); } && {
15234 test -z "$ac_c_werror_flag" ||
15235 test ! -s conftest.err
15236 } && test -s conftest$ac_exeext &&
15237 $as_test_x conftest$ac_exeext; then
15238 case "$LIBEXT" in
15239 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'` ;;
15240 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15241 esac
15242 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15243 then
15244 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15246 else
15247 echo "$as_me: failed program was:" >&5
15248 sed 's/^/| /' conftest.$ac_ext >&5
15250 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15253 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15254 conftest$ac_exeext conftest.$ac_ext
15255 LIBS=$ac_get_soname_save_LIBS
15257 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15258 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15259 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15261 cat >>confdefs.h <<_ACEOF
15262 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15263 _ACEOF
15267 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15268 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15269 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 else
15272 ac_get_soname_save_LIBS=$LIBS
15273 LIBS="-lssl $LIBS"
15274 cat >conftest.$ac_ext <<_ACEOF
15275 /* confdefs.h. */
15276 _ACEOF
15277 cat confdefs.h >>conftest.$ac_ext
15278 cat >>conftest.$ac_ext <<_ACEOF
15279 /* end confdefs.h. */
15281 /* Override any GCC internal prototype to avoid an error.
15282 Use char because int might match the return type of a GCC
15283 builtin and then its argument prototype would still apply. */
15284 #ifdef __cplusplus
15285 extern "C"
15286 #endif
15287 char SSL_library_init ();
15289 main ()
15291 return SSL_library_init ();
15293 return 0;
15295 _ACEOF
15296 rm -f conftest.$ac_objext conftest$ac_exeext
15297 if { (ac_try="$ac_link"
15298 case "(($ac_try" in
15299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15300 *) ac_try_echo=$ac_try;;
15301 esac
15302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15303 (eval "$ac_link") 2>conftest.er1
15304 ac_status=$?
15305 grep -v '^ *+' conftest.er1 >conftest.err
15306 rm -f conftest.er1
15307 cat conftest.err >&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } && {
15310 test -z "$ac_c_werror_flag" ||
15311 test ! -s conftest.err
15312 } && test -s conftest$ac_exeext &&
15313 $as_test_x conftest$ac_exeext; then
15314 case "$LIBEXT" in
15315 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'` ;;
15316 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15317 esac
15318 if test "x$ac_cv_lib_soname_ssl" = "x"
15319 then
15320 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15322 else
15323 echo "$as_me: failed program was:" >&5
15324 sed 's/^/| /' conftest.$ac_ext >&5
15326 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15330 conftest$ac_exeext conftest.$ac_ext
15331 LIBS=$ac_get_soname_save_LIBS
15333 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15334 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15335 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15337 cat >>confdefs.h <<_ACEOF
15338 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15339 _ACEOF
15343 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15344 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15345 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15348 ac_get_soname_save_LIBS=$LIBS
15349 LIBS="-lcrypto $LIBS"
15350 cat >conftest.$ac_ext <<_ACEOF
15351 /* confdefs.h. */
15352 _ACEOF
15353 cat confdefs.h >>conftest.$ac_ext
15354 cat >>conftest.$ac_ext <<_ACEOF
15355 /* end confdefs.h. */
15357 /* Override any GCC internal prototype to avoid an error.
15358 Use char because int might match the return type of a GCC
15359 builtin and then its argument prototype would still apply. */
15360 #ifdef __cplusplus
15361 extern "C"
15362 #endif
15363 char BIO_new_socket ();
15365 main ()
15367 return BIO_new_socket ();
15369 return 0;
15371 _ACEOF
15372 rm -f conftest.$ac_objext conftest$ac_exeext
15373 if { (ac_try="$ac_link"
15374 case "(($ac_try" in
15375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15376 *) ac_try_echo=$ac_try;;
15377 esac
15378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15379 (eval "$ac_link") 2>conftest.er1
15380 ac_status=$?
15381 grep -v '^ *+' conftest.er1 >conftest.err
15382 rm -f conftest.er1
15383 cat conftest.err >&5
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); } && {
15386 test -z "$ac_c_werror_flag" ||
15387 test ! -s conftest.err
15388 } && test -s conftest$ac_exeext &&
15389 $as_test_x conftest$ac_exeext; then
15390 case "$LIBEXT" in
15391 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'` ;;
15392 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15393 esac
15394 if test "x$ac_cv_lib_soname_crypto" = "x"
15395 then
15396 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15398 else
15399 echo "$as_me: failed program was:" >&5
15400 sed 's/^/| /' conftest.$ac_ext >&5
15402 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15406 conftest$ac_exeext conftest.$ac_ext
15407 LIBS=$ac_get_soname_save_LIBS
15409 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15410 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15411 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15413 cat >>confdefs.h <<_ACEOF
15414 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15415 _ACEOF
15419 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15420 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15421 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15422 echo $ECHO_N "(cached) $ECHO_C" >&6
15423 else
15424 ac_get_soname_save_LIBS=$LIBS
15425 LIBS="-lncurses $LIBS"
15426 cat >conftest.$ac_ext <<_ACEOF
15427 /* confdefs.h. */
15428 _ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15433 /* Override any GCC internal prototype to avoid an error.
15434 Use char because int might match the return type of a GCC
15435 builtin and then its argument prototype would still apply. */
15436 #ifdef __cplusplus
15437 extern "C"
15438 #endif
15439 char waddch ();
15441 main ()
15443 return waddch ();
15445 return 0;
15447 _ACEOF
15448 rm -f conftest.$ac_objext conftest$ac_exeext
15449 if { (ac_try="$ac_link"
15450 case "(($ac_try" in
15451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15452 *) ac_try_echo=$ac_try;;
15453 esac
15454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15455 (eval "$ac_link") 2>conftest.er1
15456 ac_status=$?
15457 grep -v '^ *+' conftest.er1 >conftest.err
15458 rm -f conftest.er1
15459 cat conftest.err >&5
15460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15461 (exit $ac_status); } && {
15462 test -z "$ac_c_werror_flag" ||
15463 test ! -s conftest.err
15464 } && test -s conftest$ac_exeext &&
15465 $as_test_x conftest$ac_exeext; then
15466 case "$LIBEXT" in
15467 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'` ;;
15468 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15469 esac
15470 if test "x$ac_cv_lib_soname_ncurses" = "x"
15471 then
15472 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15474 else
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15478 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15482 conftest$ac_exeext conftest.$ac_ext
15483 LIBS=$ac_get_soname_save_LIBS
15485 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15486 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15487 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15489 cat >>confdefs.h <<_ACEOF
15490 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15491 _ACEOF
15495 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15496 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15497 if test "${ac_cv_lib_soname_curses+set}" = set; then
15498 echo $ECHO_N "(cached) $ECHO_C" >&6
15499 else
15500 ac_get_soname_save_LIBS=$LIBS
15501 LIBS="-lcurses $LIBS"
15502 cat >conftest.$ac_ext <<_ACEOF
15503 /* confdefs.h. */
15504 _ACEOF
15505 cat confdefs.h >>conftest.$ac_ext
15506 cat >>conftest.$ac_ext <<_ACEOF
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15512 #ifdef __cplusplus
15513 extern "C"
15514 #endif
15515 char waddch ();
15517 main ()
15519 return waddch ();
15521 return 0;
15523 _ACEOF
15524 rm -f conftest.$ac_objext conftest$ac_exeext
15525 if { (ac_try="$ac_link"
15526 case "(($ac_try" in
15527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15528 *) ac_try_echo=$ac_try;;
15529 esac
15530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15531 (eval "$ac_link") 2>conftest.er1
15532 ac_status=$?
15533 grep -v '^ *+' conftest.er1 >conftest.err
15534 rm -f conftest.er1
15535 cat conftest.err >&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); } && {
15538 test -z "$ac_c_werror_flag" ||
15539 test ! -s conftest.err
15540 } && test -s conftest$ac_exeext &&
15541 $as_test_x conftest$ac_exeext; then
15542 case "$LIBEXT" in
15543 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'` ;;
15544 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15545 esac
15546 if test "x$ac_cv_lib_soname_curses" = "x"
15547 then
15548 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15550 else
15551 echo "$as_me: failed program was:" >&5
15552 sed 's/^/| /' conftest.$ac_ext >&5
15554 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15558 conftest$ac_exeext conftest.$ac_ext
15559 LIBS=$ac_get_soname_save_LIBS
15561 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15562 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15563 if test "${ac_cv_lib_soname_curses+set}" = set; then
15565 cat >>confdefs.h <<_ACEOF
15566 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15567 _ACEOF
15571 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15572 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15573 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15574 echo $ECHO_N "(cached) $ECHO_C" >&6
15575 else
15576 ac_get_soname_save_LIBS=$LIBS
15577 LIBS="-ljpeg $LIBS"
15578 cat >conftest.$ac_ext <<_ACEOF
15579 /* confdefs.h. */
15580 _ACEOF
15581 cat confdefs.h >>conftest.$ac_ext
15582 cat >>conftest.$ac_ext <<_ACEOF
15583 /* end confdefs.h. */
15585 /* Override any GCC internal prototype to avoid an error.
15586 Use char because int might match the return type of a GCC
15587 builtin and then its argument prototype would still apply. */
15588 #ifdef __cplusplus
15589 extern "C"
15590 #endif
15591 char jpeg_start_decompress ();
15593 main ()
15595 return jpeg_start_decompress ();
15597 return 0;
15599 _ACEOF
15600 rm -f conftest.$ac_objext conftest$ac_exeext
15601 if { (ac_try="$ac_link"
15602 case "(($ac_try" in
15603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15604 *) ac_try_echo=$ac_try;;
15605 esac
15606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15607 (eval "$ac_link") 2>conftest.er1
15608 ac_status=$?
15609 grep -v '^ *+' conftest.er1 >conftest.err
15610 rm -f conftest.er1
15611 cat conftest.err >&5
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); } && {
15614 test -z "$ac_c_werror_flag" ||
15615 test ! -s conftest.err
15616 } && test -s conftest$ac_exeext &&
15617 $as_test_x conftest$ac_exeext; then
15618 case "$LIBEXT" in
15619 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'` ;;
15620 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15621 esac
15622 if test "x$ac_cv_lib_soname_jpeg" = "x"
15623 then
15624 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15626 else
15627 echo "$as_me: failed program was:" >&5
15628 sed 's/^/| /' conftest.$ac_ext >&5
15630 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15634 conftest$ac_exeext conftest.$ac_ext
15635 LIBS=$ac_get_soname_save_LIBS
15637 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15638 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15639 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15641 cat >>confdefs.h <<_ACEOF
15642 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15643 _ACEOF
15647 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15648 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15649 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15650 echo $ECHO_N "(cached) $ECHO_C" >&6
15651 else
15652 ac_get_soname_save_LIBS=$LIBS
15653 LIBS="-lcapi20 $LIBS"
15654 cat >conftest.$ac_ext <<_ACEOF
15655 /* confdefs.h. */
15656 _ACEOF
15657 cat confdefs.h >>conftest.$ac_ext
15658 cat >>conftest.$ac_ext <<_ACEOF
15659 /* end confdefs.h. */
15661 /* Override any GCC internal prototype to avoid an error.
15662 Use char because int might match the return type of a GCC
15663 builtin and then its argument prototype would still apply. */
15664 #ifdef __cplusplus
15665 extern "C"
15666 #endif
15667 char capi20_isinstalled ();
15669 main ()
15671 return capi20_isinstalled ();
15673 return 0;
15675 _ACEOF
15676 rm -f conftest.$ac_objext conftest$ac_exeext
15677 if { (ac_try="$ac_link"
15678 case "(($ac_try" in
15679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15680 *) ac_try_echo=$ac_try;;
15681 esac
15682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15683 (eval "$ac_link") 2>conftest.er1
15684 ac_status=$?
15685 grep -v '^ *+' conftest.er1 >conftest.err
15686 rm -f conftest.er1
15687 cat conftest.err >&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } && {
15690 test -z "$ac_c_werror_flag" ||
15691 test ! -s conftest.err
15692 } && test -s conftest$ac_exeext &&
15693 $as_test_x conftest$ac_exeext; then
15694 case "$LIBEXT" in
15695 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'` ;;
15696 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15697 esac
15698 if test "x$ac_cv_lib_soname_capi20" = "x"
15699 then
15700 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15702 else
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.$ac_ext >&5
15706 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15710 conftest$ac_exeext conftest.$ac_ext
15711 LIBS=$ac_get_soname_save_LIBS
15713 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15714 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15715 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15717 cat >>confdefs.h <<_ACEOF
15718 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15719 _ACEOF
15798 for ac_func in \
15799 _pclose \
15800 _popen \
15801 _snprintf \
15802 _spawnvp \
15803 _stricmp \
15804 _strnicmp \
15805 _vsnprintf \
15806 asctime_r \
15807 chsize \
15808 clone \
15809 connect \
15810 dlopen \
15811 epoll_create \
15812 ffs \
15813 finite \
15814 fork \
15815 fpclass \
15816 fstatfs \
15817 fstatvfs \
15818 ftruncate \
15819 futimes \
15820 futimesat \
15821 getaddrinfo \
15822 getdirentries \
15823 gethostbyname \
15824 getnameinfo \
15825 getnetbyname \
15826 getopt_long \
15827 getpagesize \
15828 getprotobyname \
15829 getprotobynumber \
15830 getpwuid \
15831 getservbyport \
15832 gettid \
15833 gettimeofday \
15834 getuid \
15835 inet_aton \
15836 inet_network \
15837 kqueue \
15838 lstat \
15839 memmove \
15840 mmap \
15841 pclose \
15842 poll \
15843 popen \
15844 prctl \
15845 pread \
15846 pwrite \
15847 readlink \
15848 rfork \
15849 sched_yield \
15850 select \
15851 sendmsg \
15852 setrlimit \
15853 settimeofday \
15854 sigaltstack \
15855 sigprocmask \
15856 snprintf \
15857 spawnvp \
15858 statfs \
15859 statvfs \
15860 strcasecmp \
15861 strerror \
15862 strncasecmp \
15863 strtold \
15864 tcgetattr \
15865 timegm \
15866 usleep \
15867 vsnprintf \
15868 wait4 \
15869 waitpid \
15872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15873 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15875 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15876 echo $ECHO_N "(cached) $ECHO_C" >&6
15877 else
15878 cat >conftest.$ac_ext <<_ACEOF
15879 /* confdefs.h. */
15880 _ACEOF
15881 cat confdefs.h >>conftest.$ac_ext
15882 cat >>conftest.$ac_ext <<_ACEOF
15883 /* end confdefs.h. */
15884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15886 #define $ac_func innocuous_$ac_func
15888 /* System header to define __stub macros and hopefully few prototypes,
15889 which can conflict with char $ac_func (); below.
15890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15891 <limits.h> exists even on freestanding compilers. */
15893 #ifdef __STDC__
15894 # include <limits.h>
15895 #else
15896 # include <assert.h>
15897 #endif
15899 #undef $ac_func
15901 /* Override any GCC internal prototype to avoid an error.
15902 Use char because int might match the return type of a GCC
15903 builtin and then its argument prototype would still apply. */
15904 #ifdef __cplusplus
15905 extern "C"
15906 #endif
15907 char $ac_func ();
15908 /* The GNU C library defines this for functions which it implements
15909 to always fail with ENOSYS. Some functions are actually named
15910 something starting with __ and the normal name is an alias. */
15911 #if defined __stub_$ac_func || defined __stub___$ac_func
15912 choke me
15913 #endif
15916 main ()
15918 return $ac_func ();
15920 return 0;
15922 _ACEOF
15923 rm -f conftest.$ac_objext conftest$ac_exeext
15924 if { (ac_try="$ac_link"
15925 case "(($ac_try" in
15926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15927 *) ac_try_echo=$ac_try;;
15928 esac
15929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15930 (eval "$ac_link") 2>conftest.er1
15931 ac_status=$?
15932 grep -v '^ *+' conftest.er1 >conftest.err
15933 rm -f conftest.er1
15934 cat conftest.err >&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); } && {
15937 test -z "$ac_c_werror_flag" ||
15938 test ! -s conftest.err
15939 } && test -s conftest$ac_exeext &&
15940 $as_test_x conftest$ac_exeext; then
15941 eval "$as_ac_var=yes"
15942 else
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15946 eval "$as_ac_var=no"
15949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15950 conftest$ac_exeext conftest.$ac_ext
15952 ac_res=`eval echo '${'$as_ac_var'}'`
15953 { echo "$as_me:$LINENO: result: $ac_res" >&5
15954 echo "${ECHO_T}$ac_res" >&6; }
15955 if test `eval echo '${'$as_ac_var'}'` = yes; then
15956 cat >>confdefs.h <<_ACEOF
15957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15958 _ACEOF
15961 done
15964 if test "$ac_cv_func_dlopen" = no
15965 then
15966 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15967 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15968 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15971 ac_check_lib_save_LIBS=$LIBS
15972 LIBS="-ldl $LIBS"
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15980 /* Override any GCC internal prototype to avoid an error.
15981 Use char because int might match the return type of a GCC
15982 builtin and then its argument prototype would still apply. */
15983 #ifdef __cplusplus
15984 extern "C"
15985 #endif
15986 char dlopen ();
15988 main ()
15990 return dlopen ();
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 ac_cv_lib_dl_dlopen=yes
16014 else
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.$ac_ext >&5
16018 ac_cv_lib_dl_dlopen=no
16021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16022 conftest$ac_exeext conftest.$ac_ext
16023 LIBS=$ac_check_lib_save_LIBS
16025 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16026 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16027 if test $ac_cv_lib_dl_dlopen = yes; then
16028 cat >>confdefs.h <<\_ACEOF
16029 #define HAVE_DLOPEN 1
16030 _ACEOF
16031 LIBDL="-ldl"
16036 ac_wine_check_funcs_save_LIBS="$LIBS"
16037 LIBS="$LIBS $LIBDL"
16039 for ac_func in dladdr
16041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16044 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16045 echo $ECHO_N "(cached) $ECHO_C" >&6
16046 else
16047 cat >conftest.$ac_ext <<_ACEOF
16048 /* confdefs.h. */
16049 _ACEOF
16050 cat confdefs.h >>conftest.$ac_ext
16051 cat >>conftest.$ac_ext <<_ACEOF
16052 /* end confdefs.h. */
16053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16055 #define $ac_func innocuous_$ac_func
16057 /* System header to define __stub macros and hopefully few prototypes,
16058 which can conflict with char $ac_func (); below.
16059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16060 <limits.h> exists even on freestanding compilers. */
16062 #ifdef __STDC__
16063 # include <limits.h>
16064 #else
16065 # include <assert.h>
16066 #endif
16068 #undef $ac_func
16070 /* Override any GCC internal prototype to avoid an error.
16071 Use char because int might match the return type of a GCC
16072 builtin and then its argument prototype would still apply. */
16073 #ifdef __cplusplus
16074 extern "C"
16075 #endif
16076 char $ac_func ();
16077 /* The GNU C library defines this for functions which it implements
16078 to always fail with ENOSYS. Some functions are actually named
16079 something starting with __ and the normal name is an alias. */
16080 #if defined __stub_$ac_func || defined __stub___$ac_func
16081 choke me
16082 #endif
16085 main ()
16087 return $ac_func ();
16089 return 0;
16091 _ACEOF
16092 rm -f conftest.$ac_objext conftest$ac_exeext
16093 if { (ac_try="$ac_link"
16094 case "(($ac_try" in
16095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16096 *) ac_try_echo=$ac_try;;
16097 esac
16098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16099 (eval "$ac_link") 2>conftest.er1
16100 ac_status=$?
16101 grep -v '^ *+' conftest.er1 >conftest.err
16102 rm -f conftest.er1
16103 cat conftest.err >&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } && {
16106 test -z "$ac_c_werror_flag" ||
16107 test ! -s conftest.err
16108 } && test -s conftest$ac_exeext &&
16109 $as_test_x conftest$ac_exeext; then
16110 eval "$as_ac_var=yes"
16111 else
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16115 eval "$as_ac_var=no"
16118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16119 conftest$ac_exeext conftest.$ac_ext
16121 ac_res=`eval echo '${'$as_ac_var'}'`
16122 { echo "$as_me:$LINENO: result: $ac_res" >&5
16123 echo "${ECHO_T}$ac_res" >&6; }
16124 if test `eval echo '${'$as_ac_var'}'` = yes; then
16125 cat >>confdefs.h <<_ACEOF
16126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16127 _ACEOF
16130 done
16132 LIBS="$ac_wine_check_funcs_save_LIBS"
16134 if test "$ac_cv_func_poll" = no
16135 then
16136 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16137 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16138 if test "${ac_cv_lib_poll_poll+set}" = set; then
16139 echo $ECHO_N "(cached) $ECHO_C" >&6
16140 else
16141 ac_check_lib_save_LIBS=$LIBS
16142 LIBS="-lpoll $LIBS"
16143 cat >conftest.$ac_ext <<_ACEOF
16144 /* confdefs.h. */
16145 _ACEOF
16146 cat confdefs.h >>conftest.$ac_ext
16147 cat >>conftest.$ac_ext <<_ACEOF
16148 /* end confdefs.h. */
16150 /* Override any GCC internal prototype to avoid an error.
16151 Use char because int might match the return type of a GCC
16152 builtin and then its argument prototype would still apply. */
16153 #ifdef __cplusplus
16154 extern "C"
16155 #endif
16156 char poll ();
16158 main ()
16160 return poll ();
16162 return 0;
16164 _ACEOF
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (ac_try="$ac_link"
16167 case "(($ac_try" in
16168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16169 *) ac_try_echo=$ac_try;;
16170 esac
16171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16172 (eval "$ac_link") 2>conftest.er1
16173 ac_status=$?
16174 grep -v '^ *+' conftest.er1 >conftest.err
16175 rm -f conftest.er1
16176 cat conftest.err >&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); } && {
16179 test -z "$ac_c_werror_flag" ||
16180 test ! -s conftest.err
16181 } && test -s conftest$ac_exeext &&
16182 $as_test_x conftest$ac_exeext; then
16183 ac_cv_lib_poll_poll=yes
16184 else
16185 echo "$as_me: failed program was:" >&5
16186 sed 's/^/| /' conftest.$ac_ext >&5
16188 ac_cv_lib_poll_poll=no
16191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16192 conftest$ac_exeext conftest.$ac_ext
16193 LIBS=$ac_check_lib_save_LIBS
16195 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16196 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16197 if test $ac_cv_lib_poll_poll = yes; then
16198 cat >>confdefs.h <<\_ACEOF
16199 #define HAVE_POLL 1
16200 _ACEOF
16201 LIBPOLL="-lpoll"
16207 if test "$ac_cv_func_gethostbyname" = no
16208 then
16210 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16211 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16212 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16213 echo $ECHO_N "(cached) $ECHO_C" >&6
16214 else
16215 ac_check_lib_save_LIBS=$LIBS
16216 LIBS="-lnsl $LIBS"
16217 cat >conftest.$ac_ext <<_ACEOF
16218 /* confdefs.h. */
16219 _ACEOF
16220 cat confdefs.h >>conftest.$ac_ext
16221 cat >>conftest.$ac_ext <<_ACEOF
16222 /* end confdefs.h. */
16224 /* Override any GCC internal prototype to avoid an error.
16225 Use char because int might match the return type of a GCC
16226 builtin and then its argument prototype would still apply. */
16227 #ifdef __cplusplus
16228 extern "C"
16229 #endif
16230 char gethostbyname ();
16232 main ()
16234 return gethostbyname ();
16236 return 0;
16238 _ACEOF
16239 rm -f conftest.$ac_objext conftest$ac_exeext
16240 if { (ac_try="$ac_link"
16241 case "(($ac_try" in
16242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16243 *) ac_try_echo=$ac_try;;
16244 esac
16245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16246 (eval "$ac_link") 2>conftest.er1
16247 ac_status=$?
16248 grep -v '^ *+' conftest.er1 >conftest.err
16249 rm -f conftest.er1
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } && {
16253 test -z "$ac_c_werror_flag" ||
16254 test ! -s conftest.err
16255 } && test -s conftest$ac_exeext &&
16256 $as_test_x conftest$ac_exeext; then
16257 ac_cv_lib_nsl_gethostbyname=yes
16258 else
16259 echo "$as_me: failed program was:" >&5
16260 sed 's/^/| /' conftest.$ac_ext >&5
16262 ac_cv_lib_nsl_gethostbyname=no
16265 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16266 conftest$ac_exeext conftest.$ac_ext
16267 LIBS=$ac_check_lib_save_LIBS
16269 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16270 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16271 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16272 cat >>confdefs.h <<_ACEOF
16273 #define HAVE_LIBNSL 1
16274 _ACEOF
16276 LIBS="-lnsl $LIBS"
16282 if test "$ac_cv_func_connect" = no
16283 then
16285 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16286 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16287 if test "${ac_cv_lib_socket_connect+set}" = set; then
16288 echo $ECHO_N "(cached) $ECHO_C" >&6
16289 else
16290 ac_check_lib_save_LIBS=$LIBS
16291 LIBS="-lsocket $LIBS"
16292 cat >conftest.$ac_ext <<_ACEOF
16293 /* confdefs.h. */
16294 _ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16299 /* Override any GCC internal prototype to avoid an error.
16300 Use char because int might match the return type of a GCC
16301 builtin and then its argument prototype would still apply. */
16302 #ifdef __cplusplus
16303 extern "C"
16304 #endif
16305 char connect ();
16307 main ()
16309 return connect ();
16311 return 0;
16313 _ACEOF
16314 rm -f conftest.$ac_objext conftest$ac_exeext
16315 if { (ac_try="$ac_link"
16316 case "(($ac_try" in
16317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16318 *) ac_try_echo=$ac_try;;
16319 esac
16320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16321 (eval "$ac_link") 2>conftest.er1
16322 ac_status=$?
16323 grep -v '^ *+' conftest.er1 >conftest.err
16324 rm -f conftest.er1
16325 cat conftest.err >&5
16326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16327 (exit $ac_status); } && {
16328 test -z "$ac_c_werror_flag" ||
16329 test ! -s conftest.err
16330 } && test -s conftest$ac_exeext &&
16331 $as_test_x conftest$ac_exeext; then
16332 ac_cv_lib_socket_connect=yes
16333 else
16334 echo "$as_me: failed program was:" >&5
16335 sed 's/^/| /' conftest.$ac_ext >&5
16337 ac_cv_lib_socket_connect=no
16340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16341 conftest$ac_exeext conftest.$ac_ext
16342 LIBS=$ac_check_lib_save_LIBS
16344 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16345 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16346 if test $ac_cv_lib_socket_connect = yes; then
16347 cat >>confdefs.h <<_ACEOF
16348 #define HAVE_LIBSOCKET 1
16349 _ACEOF
16351 LIBS="-lsocket $LIBS"
16357 if test "$ac_cv_func_inet_aton" = no
16358 then
16360 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16361 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16362 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16363 echo $ECHO_N "(cached) $ECHO_C" >&6
16364 else
16365 ac_check_lib_save_LIBS=$LIBS
16366 LIBS="-lresolv $LIBS"
16367 cat >conftest.$ac_ext <<_ACEOF
16368 /* confdefs.h. */
16369 _ACEOF
16370 cat confdefs.h >>conftest.$ac_ext
16371 cat >>conftest.$ac_ext <<_ACEOF
16372 /* end confdefs.h. */
16374 /* Override any GCC internal prototype to avoid an error.
16375 Use char because int might match the return type of a GCC
16376 builtin and then its argument prototype would still apply. */
16377 #ifdef __cplusplus
16378 extern "C"
16379 #endif
16380 char inet_aton ();
16382 main ()
16384 return inet_aton ();
16386 return 0;
16388 _ACEOF
16389 rm -f conftest.$ac_objext conftest$ac_exeext
16390 if { (ac_try="$ac_link"
16391 case "(($ac_try" in
16392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16393 *) ac_try_echo=$ac_try;;
16394 esac
16395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16396 (eval "$ac_link") 2>conftest.er1
16397 ac_status=$?
16398 grep -v '^ *+' conftest.er1 >conftest.err
16399 rm -f conftest.er1
16400 cat conftest.err >&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); } && {
16403 test -z "$ac_c_werror_flag" ||
16404 test ! -s conftest.err
16405 } && test -s conftest$ac_exeext &&
16406 $as_test_x conftest$ac_exeext; then
16407 ac_cv_lib_resolv_inet_aton=yes
16408 else
16409 echo "$as_me: failed program was:" >&5
16410 sed 's/^/| /' conftest.$ac_ext >&5
16412 ac_cv_lib_resolv_inet_aton=no
16415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16416 conftest$ac_exeext conftest.$ac_ext
16417 LIBS=$ac_check_lib_save_LIBS
16419 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16420 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16421 if test $ac_cv_lib_resolv_inet_aton = yes; then
16422 cat >>confdefs.h <<_ACEOF
16423 #define HAVE_LIBRESOLV 1
16424 _ACEOF
16426 LIBS="-lresolv $LIBS"
16433 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16434 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16435 if test "${ac_cv_c_const+set}" = set; then
16436 echo $ECHO_N "(cached) $ECHO_C" >&6
16437 else
16438 cat >conftest.$ac_ext <<_ACEOF
16439 /* confdefs.h. */
16440 _ACEOF
16441 cat confdefs.h >>conftest.$ac_ext
16442 cat >>conftest.$ac_ext <<_ACEOF
16443 /* end confdefs.h. */
16446 main ()
16448 /* FIXME: Include the comments suggested by Paul. */
16449 #ifndef __cplusplus
16450 /* Ultrix mips cc rejects this. */
16451 typedef int charset[2];
16452 const charset cs;
16453 /* SunOS 4.1.1 cc rejects this. */
16454 char const *const *pcpcc;
16455 char **ppc;
16456 /* NEC SVR4.0.2 mips cc rejects this. */
16457 struct point {int x, y;};
16458 static struct point const zero = {0,0};
16459 /* AIX XL C 1.02.0.0 rejects this.
16460 It does not let you subtract one const X* pointer from another in
16461 an arm of an if-expression whose if-part is not a constant
16462 expression */
16463 const char *g = "string";
16464 pcpcc = &g + (g ? g-g : 0);
16465 /* HPUX 7.0 cc rejects these. */
16466 ++pcpcc;
16467 ppc = (char**) pcpcc;
16468 pcpcc = (char const *const *) ppc;
16469 { /* SCO 3.2v4 cc rejects this. */
16470 char *t;
16471 char const *s = 0 ? (char *) 0 : (char const *) 0;
16473 *t++ = 0;
16474 if (s) return 0;
16476 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16477 int x[] = {25, 17};
16478 const int *foo = &x[0];
16479 ++foo;
16481 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16482 typedef const int *iptr;
16483 iptr p = 0;
16484 ++p;
16486 { /* AIX XL C 1.02.0.0 rejects this saying
16487 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16488 struct s { int j; const int *ap[3]; };
16489 struct s *b; b->j = 5;
16491 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16492 const int foo = 10;
16493 if (!foo) return 0;
16495 return !cs[0] && !zero.x;
16496 #endif
16499 return 0;
16501 _ACEOF
16502 rm -f conftest.$ac_objext
16503 if { (ac_try="$ac_compile"
16504 case "(($ac_try" in
16505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16506 *) ac_try_echo=$ac_try;;
16507 esac
16508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16509 (eval "$ac_compile") 2>conftest.er1
16510 ac_status=$?
16511 grep -v '^ *+' conftest.er1 >conftest.err
16512 rm -f conftest.er1
16513 cat conftest.err >&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } && {
16516 test -z "$ac_c_werror_flag" ||
16517 test ! -s conftest.err
16518 } && test -s conftest.$ac_objext; then
16519 ac_cv_c_const=yes
16520 else
16521 echo "$as_me: failed program was:" >&5
16522 sed 's/^/| /' conftest.$ac_ext >&5
16524 ac_cv_c_const=no
16527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16529 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16530 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16531 if test $ac_cv_c_const = no; then
16533 cat >>confdefs.h <<\_ACEOF
16534 #define const
16535 _ACEOF
16539 { echo "$as_me:$LINENO: checking for inline" >&5
16540 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16541 if test "${ac_cv_c_inline+set}" = set; then
16542 echo $ECHO_N "(cached) $ECHO_C" >&6
16543 else
16544 ac_cv_c_inline=no
16545 for ac_kw in inline __inline__ __inline; do
16546 cat >conftest.$ac_ext <<_ACEOF
16547 /* confdefs.h. */
16548 _ACEOF
16549 cat confdefs.h >>conftest.$ac_ext
16550 cat >>conftest.$ac_ext <<_ACEOF
16551 /* end confdefs.h. */
16552 #ifndef __cplusplus
16553 typedef int foo_t;
16554 static $ac_kw foo_t static_foo () {return 0; }
16555 $ac_kw foo_t foo () {return 0; }
16556 #endif
16558 _ACEOF
16559 rm -f conftest.$ac_objext
16560 if { (ac_try="$ac_compile"
16561 case "(($ac_try" in
16562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16563 *) ac_try_echo=$ac_try;;
16564 esac
16565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16566 (eval "$ac_compile") 2>conftest.er1
16567 ac_status=$?
16568 grep -v '^ *+' conftest.er1 >conftest.err
16569 rm -f conftest.er1
16570 cat conftest.err >&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); } && {
16573 test -z "$ac_c_werror_flag" ||
16574 test ! -s conftest.err
16575 } && test -s conftest.$ac_objext; then
16576 ac_cv_c_inline=$ac_kw
16577 else
16578 echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.$ac_ext >&5
16584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16585 test "$ac_cv_c_inline" != no && break
16586 done
16589 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16590 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16593 case $ac_cv_c_inline in
16594 inline | yes) ;;
16596 case $ac_cv_c_inline in
16597 no) ac_val=;;
16598 *) ac_val=$ac_cv_c_inline;;
16599 esac
16600 cat >>confdefs.h <<_ACEOF
16601 #ifndef __cplusplus
16602 #define inline $ac_val
16603 #endif
16604 _ACEOF
16606 esac
16608 { echo "$as_me:$LINENO: checking for mode_t" >&5
16609 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16610 if test "${ac_cv_type_mode_t+set}" = set; then
16611 echo $ECHO_N "(cached) $ECHO_C" >&6
16612 else
16613 cat >conftest.$ac_ext <<_ACEOF
16614 /* confdefs.h. */
16615 _ACEOF
16616 cat confdefs.h >>conftest.$ac_ext
16617 cat >>conftest.$ac_ext <<_ACEOF
16618 /* end confdefs.h. */
16619 $ac_includes_default
16620 typedef mode_t ac__type_new_;
16622 main ()
16624 if ((ac__type_new_ *) 0)
16625 return 0;
16626 if (sizeof (ac__type_new_))
16627 return 0;
16629 return 0;
16631 _ACEOF
16632 rm -f conftest.$ac_objext
16633 if { (ac_try="$ac_compile"
16634 case "(($ac_try" in
16635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16636 *) ac_try_echo=$ac_try;;
16637 esac
16638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16639 (eval "$ac_compile") 2>conftest.er1
16640 ac_status=$?
16641 grep -v '^ *+' conftest.er1 >conftest.err
16642 rm -f conftest.er1
16643 cat conftest.err >&5
16644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16645 (exit $ac_status); } && {
16646 test -z "$ac_c_werror_flag" ||
16647 test ! -s conftest.err
16648 } && test -s conftest.$ac_objext; then
16649 ac_cv_type_mode_t=yes
16650 else
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 ac_cv_type_mode_t=no
16657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16660 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16661 if test $ac_cv_type_mode_t = yes; then
16663 cat >>confdefs.h <<_ACEOF
16664 #define HAVE_MODE_T 1
16665 _ACEOF
16669 { echo "$as_me:$LINENO: checking for off_t" >&5
16670 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16671 if test "${ac_cv_type_off_t+set}" = set; then
16672 echo $ECHO_N "(cached) $ECHO_C" >&6
16673 else
16674 cat >conftest.$ac_ext <<_ACEOF
16675 /* confdefs.h. */
16676 _ACEOF
16677 cat confdefs.h >>conftest.$ac_ext
16678 cat >>conftest.$ac_ext <<_ACEOF
16679 /* end confdefs.h. */
16680 $ac_includes_default
16681 typedef off_t ac__type_new_;
16683 main ()
16685 if ((ac__type_new_ *) 0)
16686 return 0;
16687 if (sizeof (ac__type_new_))
16688 return 0;
16690 return 0;
16692 _ACEOF
16693 rm -f conftest.$ac_objext
16694 if { (ac_try="$ac_compile"
16695 case "(($ac_try" in
16696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16697 *) ac_try_echo=$ac_try;;
16698 esac
16699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16700 (eval "$ac_compile") 2>conftest.er1
16701 ac_status=$?
16702 grep -v '^ *+' conftest.er1 >conftest.err
16703 rm -f conftest.er1
16704 cat conftest.err >&5
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); } && {
16707 test -z "$ac_c_werror_flag" ||
16708 test ! -s conftest.err
16709 } && test -s conftest.$ac_objext; then
16710 ac_cv_type_off_t=yes
16711 else
16712 echo "$as_me: failed program was:" >&5
16713 sed 's/^/| /' conftest.$ac_ext >&5
16715 ac_cv_type_off_t=no
16718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16720 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16721 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16722 if test $ac_cv_type_off_t = yes; then
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_OFF_T 1
16726 _ACEOF
16730 { echo "$as_me:$LINENO: checking for pid_t" >&5
16731 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16732 if test "${ac_cv_type_pid_t+set}" = set; then
16733 echo $ECHO_N "(cached) $ECHO_C" >&6
16734 else
16735 cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h. */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16742 typedef pid_t ac__type_new_;
16744 main ()
16746 if ((ac__type_new_ *) 0)
16747 return 0;
16748 if (sizeof (ac__type_new_))
16749 return 0;
16751 return 0;
16753 _ACEOF
16754 rm -f conftest.$ac_objext
16755 if { (ac_try="$ac_compile"
16756 case "(($ac_try" in
16757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16758 *) ac_try_echo=$ac_try;;
16759 esac
16760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16761 (eval "$ac_compile") 2>conftest.er1
16762 ac_status=$?
16763 grep -v '^ *+' conftest.er1 >conftest.err
16764 rm -f conftest.er1
16765 cat conftest.err >&5
16766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16767 (exit $ac_status); } && {
16768 test -z "$ac_c_werror_flag" ||
16769 test ! -s conftest.err
16770 } && test -s conftest.$ac_objext; then
16771 ac_cv_type_pid_t=yes
16772 else
16773 echo "$as_me: failed program was:" >&5
16774 sed 's/^/| /' conftest.$ac_ext >&5
16776 ac_cv_type_pid_t=no
16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16781 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16782 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16783 if test $ac_cv_type_pid_t = yes; then
16785 cat >>confdefs.h <<_ACEOF
16786 #define HAVE_PID_T 1
16787 _ACEOF
16791 { echo "$as_me:$LINENO: checking for size_t" >&5
16792 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16793 if test "${ac_cv_type_size_t+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 else
16796 cat >conftest.$ac_ext <<_ACEOF
16797 /* confdefs.h. */
16798 _ACEOF
16799 cat confdefs.h >>conftest.$ac_ext
16800 cat >>conftest.$ac_ext <<_ACEOF
16801 /* end confdefs.h. */
16802 $ac_includes_default
16803 typedef size_t ac__type_new_;
16805 main ()
16807 if ((ac__type_new_ *) 0)
16808 return 0;
16809 if (sizeof (ac__type_new_))
16810 return 0;
16812 return 0;
16814 _ACEOF
16815 rm -f conftest.$ac_objext
16816 if { (ac_try="$ac_compile"
16817 case "(($ac_try" in
16818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16819 *) ac_try_echo=$ac_try;;
16820 esac
16821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16822 (eval "$ac_compile") 2>conftest.er1
16823 ac_status=$?
16824 grep -v '^ *+' conftest.er1 >conftest.err
16825 rm -f conftest.er1
16826 cat conftest.err >&5
16827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16828 (exit $ac_status); } && {
16829 test -z "$ac_c_werror_flag" ||
16830 test ! -s conftest.err
16831 } && test -s conftest.$ac_objext; then
16832 ac_cv_type_size_t=yes
16833 else
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16837 ac_cv_type_size_t=no
16840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16843 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16844 if test $ac_cv_type_size_t = yes; then
16846 cat >>confdefs.h <<_ACEOF
16847 #define HAVE_SIZE_T 1
16848 _ACEOF
16852 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16853 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16854 if test "${ac_cv_type_ssize_t+set}" = set; then
16855 echo $ECHO_N "(cached) $ECHO_C" >&6
16856 else
16857 cat >conftest.$ac_ext <<_ACEOF
16858 /* confdefs.h. */
16859 _ACEOF
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863 $ac_includes_default
16864 typedef ssize_t ac__type_new_;
16866 main ()
16868 if ((ac__type_new_ *) 0)
16869 return 0;
16870 if (sizeof (ac__type_new_))
16871 return 0;
16873 return 0;
16875 _ACEOF
16876 rm -f conftest.$ac_objext
16877 if { (ac_try="$ac_compile"
16878 case "(($ac_try" in
16879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16880 *) ac_try_echo=$ac_try;;
16881 esac
16882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16883 (eval "$ac_compile") 2>conftest.er1
16884 ac_status=$?
16885 grep -v '^ *+' conftest.er1 >conftest.err
16886 rm -f conftest.er1
16887 cat conftest.err >&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } && {
16890 test -z "$ac_c_werror_flag" ||
16891 test ! -s conftest.err
16892 } && test -s conftest.$ac_objext; then
16893 ac_cv_type_ssize_t=yes
16894 else
16895 echo "$as_me: failed program was:" >&5
16896 sed 's/^/| /' conftest.$ac_ext >&5
16898 ac_cv_type_ssize_t=no
16901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16903 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16904 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16905 if test $ac_cv_type_ssize_t = yes; then
16907 cat >>confdefs.h <<_ACEOF
16908 #define HAVE_SSIZE_T 1
16909 _ACEOF
16913 { echo "$as_me:$LINENO: checking for long long" >&5
16914 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16915 if test "${ac_cv_type_long_long+set}" = set; then
16916 echo $ECHO_N "(cached) $ECHO_C" >&6
16917 else
16918 cat >conftest.$ac_ext <<_ACEOF
16919 /* confdefs.h. */
16920 _ACEOF
16921 cat confdefs.h >>conftest.$ac_ext
16922 cat >>conftest.$ac_ext <<_ACEOF
16923 /* end confdefs.h. */
16924 $ac_includes_default
16925 typedef long long ac__type_new_;
16927 main ()
16929 if ((ac__type_new_ *) 0)
16930 return 0;
16931 if (sizeof (ac__type_new_))
16932 return 0;
16934 return 0;
16936 _ACEOF
16937 rm -f conftest.$ac_objext
16938 if { (ac_try="$ac_compile"
16939 case "(($ac_try" in
16940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16941 *) ac_try_echo=$ac_try;;
16942 esac
16943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16944 (eval "$ac_compile") 2>conftest.er1
16945 ac_status=$?
16946 grep -v '^ *+' conftest.er1 >conftest.err
16947 rm -f conftest.er1
16948 cat conftest.err >&5
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); } && {
16951 test -z "$ac_c_werror_flag" ||
16952 test ! -s conftest.err
16953 } && test -s conftest.$ac_objext; then
16954 ac_cv_type_long_long=yes
16955 else
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.$ac_ext >&5
16959 ac_cv_type_long_long=no
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16964 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16965 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16966 if test $ac_cv_type_long_long = yes; then
16968 cat >>confdefs.h <<_ACEOF
16969 #define HAVE_LONG_LONG 1
16970 _ACEOF
16974 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16975 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16976 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16977 echo $ECHO_N "(cached) $ECHO_C" >&6
16978 else
16979 cat >conftest.$ac_ext <<_ACEOF
16980 /* confdefs.h. */
16981 _ACEOF
16982 cat confdefs.h >>conftest.$ac_ext
16983 cat >>conftest.$ac_ext <<_ACEOF
16984 /* end confdefs.h. */
16985 $ac_includes_default
16986 typedef fsblkcnt_t ac__type_new_;
16988 main ()
16990 if ((ac__type_new_ *) 0)
16991 return 0;
16992 if (sizeof (ac__type_new_))
16993 return 0;
16995 return 0;
16997 _ACEOF
16998 rm -f conftest.$ac_objext
16999 if { (ac_try="$ac_compile"
17000 case "(($ac_try" in
17001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17002 *) ac_try_echo=$ac_try;;
17003 esac
17004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17005 (eval "$ac_compile") 2>conftest.er1
17006 ac_status=$?
17007 grep -v '^ *+' conftest.er1 >conftest.err
17008 rm -f conftest.er1
17009 cat conftest.err >&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } && {
17012 test -z "$ac_c_werror_flag" ||
17013 test ! -s conftest.err
17014 } && test -s conftest.$ac_objext; then
17015 ac_cv_type_fsblkcnt_t=yes
17016 else
17017 echo "$as_me: failed program was:" >&5
17018 sed 's/^/| /' conftest.$ac_ext >&5
17020 ac_cv_type_fsblkcnt_t=no
17023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17025 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17026 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17027 if test $ac_cv_type_fsblkcnt_t = yes; then
17029 cat >>confdefs.h <<_ACEOF
17030 #define HAVE_FSBLKCNT_T 1
17031 _ACEOF
17035 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17036 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17037 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17038 echo $ECHO_N "(cached) $ECHO_C" >&6
17039 else
17040 cat >conftest.$ac_ext <<_ACEOF
17041 /* confdefs.h. */
17042 _ACEOF
17043 cat confdefs.h >>conftest.$ac_ext
17044 cat >>conftest.$ac_ext <<_ACEOF
17045 /* end confdefs.h. */
17046 $ac_includes_default
17047 typedef fsfilcnt_t ac__type_new_;
17049 main ()
17051 if ((ac__type_new_ *) 0)
17052 return 0;
17053 if (sizeof (ac__type_new_))
17054 return 0;
17056 return 0;
17058 _ACEOF
17059 rm -f conftest.$ac_objext
17060 if { (ac_try="$ac_compile"
17061 case "(($ac_try" in
17062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17063 *) ac_try_echo=$ac_try;;
17064 esac
17065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17066 (eval "$ac_compile") 2>conftest.er1
17067 ac_status=$?
17068 grep -v '^ *+' conftest.er1 >conftest.err
17069 rm -f conftest.er1
17070 cat conftest.err >&5
17071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17072 (exit $ac_status); } && {
17073 test -z "$ac_c_werror_flag" ||
17074 test ! -s conftest.err
17075 } && test -s conftest.$ac_objext; then
17076 ac_cv_type_fsfilcnt_t=yes
17077 else
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17081 ac_cv_type_fsfilcnt_t=no
17084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17086 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17087 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17088 if test $ac_cv_type_fsfilcnt_t = yes; then
17090 cat >>confdefs.h <<_ACEOF
17091 #define HAVE_FSFILCNT_T 1
17092 _ACEOF
17097 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17098 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17099 if test "${ac_cv_type_sigset_t+set}" = set; then
17100 echo $ECHO_N "(cached) $ECHO_C" >&6
17101 else
17102 cat >conftest.$ac_ext <<_ACEOF
17103 /* confdefs.h. */
17104 _ACEOF
17105 cat confdefs.h >>conftest.$ac_ext
17106 cat >>conftest.$ac_ext <<_ACEOF
17107 /* end confdefs.h. */
17108 #include <signal.h>
17110 typedef sigset_t ac__type_new_;
17112 main ()
17114 if ((ac__type_new_ *) 0)
17115 return 0;
17116 if (sizeof (ac__type_new_))
17117 return 0;
17119 return 0;
17121 _ACEOF
17122 rm -f conftest.$ac_objext
17123 if { (ac_try="$ac_compile"
17124 case "(($ac_try" in
17125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17126 *) ac_try_echo=$ac_try;;
17127 esac
17128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17129 (eval "$ac_compile") 2>conftest.er1
17130 ac_status=$?
17131 grep -v '^ *+' conftest.er1 >conftest.err
17132 rm -f conftest.er1
17133 cat conftest.err >&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } && {
17136 test -z "$ac_c_werror_flag" ||
17137 test ! -s conftest.err
17138 } && test -s conftest.$ac_objext; then
17139 ac_cv_type_sigset_t=yes
17140 else
17141 echo "$as_me: failed program was:" >&5
17142 sed 's/^/| /' conftest.$ac_ext >&5
17144 ac_cv_type_sigset_t=no
17147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17149 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17150 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17151 if test $ac_cv_type_sigset_t = yes; then
17153 cat >>confdefs.h <<_ACEOF
17154 #define HAVE_SIGSET_T 1
17155 _ACEOF
17160 { echo "$as_me:$LINENO: checking for request_sense" >&5
17161 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17162 if test "${ac_cv_type_request_sense+set}" = set; then
17163 echo $ECHO_N "(cached) $ECHO_C" >&6
17164 else
17165 cat >conftest.$ac_ext <<_ACEOF
17166 /* confdefs.h. */
17167 _ACEOF
17168 cat confdefs.h >>conftest.$ac_ext
17169 cat >>conftest.$ac_ext <<_ACEOF
17170 /* end confdefs.h. */
17171 #include <linux/cdrom.h>
17173 typedef request_sense ac__type_new_;
17175 main ()
17177 if ((ac__type_new_ *) 0)
17178 return 0;
17179 if (sizeof (ac__type_new_))
17180 return 0;
17182 return 0;
17184 _ACEOF
17185 rm -f conftest.$ac_objext
17186 if { (ac_try="$ac_compile"
17187 case "(($ac_try" in
17188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17189 *) ac_try_echo=$ac_try;;
17190 esac
17191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17192 (eval "$ac_compile") 2>conftest.er1
17193 ac_status=$?
17194 grep -v '^ *+' conftest.er1 >conftest.err
17195 rm -f conftest.er1
17196 cat conftest.err >&5
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); } && {
17199 test -z "$ac_c_werror_flag" ||
17200 test ! -s conftest.err
17201 } && test -s conftest.$ac_objext; then
17202 ac_cv_type_request_sense=yes
17203 else
17204 echo "$as_me: failed program was:" >&5
17205 sed 's/^/| /' conftest.$ac_ext >&5
17207 ac_cv_type_request_sense=no
17210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17212 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17213 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17214 if test $ac_cv_type_request_sense = yes; then
17216 cat >>confdefs.h <<_ACEOF
17217 #define HAVE_REQUEST_SENSE 1
17218 _ACEOF
17224 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17225 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17226 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17227 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 else
17229 cat >conftest.$ac_ext <<_ACEOF
17230 /* confdefs.h. */
17231 _ACEOF
17232 cat confdefs.h >>conftest.$ac_ext
17233 cat >>conftest.$ac_ext <<_ACEOF
17234 /* end confdefs.h. */
17235 #ifdef HAVE_LINUX_INPUT_H
17236 #include <linux/input.h>
17237 #endif
17240 main ()
17242 static struct ff_effect ac_aggr;
17243 if (ac_aggr.direction)
17244 return 0;
17246 return 0;
17248 _ACEOF
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17253 *) ac_try_echo=$ac_try;;
17254 esac
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17257 ac_status=$?
17258 grep -v '^ *+' conftest.er1 >conftest.err
17259 rm -f conftest.er1
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_c_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.$ac_objext; then
17266 ac_cv_member_struct_ff_effect_direction=yes
17267 else
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h. */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 #ifdef HAVE_LINUX_INPUT_H
17278 #include <linux/input.h>
17279 #endif
17282 main ()
17284 static struct ff_effect ac_aggr;
17285 if (sizeof ac_aggr.direction)
17286 return 0;
17288 return 0;
17290 _ACEOF
17291 rm -f conftest.$ac_objext
17292 if { (ac_try="$ac_compile"
17293 case "(($ac_try" in
17294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17295 *) ac_try_echo=$ac_try;;
17296 esac
17297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17298 (eval "$ac_compile") 2>conftest.er1
17299 ac_status=$?
17300 grep -v '^ *+' conftest.er1 >conftest.err
17301 rm -f conftest.er1
17302 cat conftest.err >&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); } && {
17305 test -z "$ac_c_werror_flag" ||
17306 test ! -s conftest.err
17307 } && test -s conftest.$ac_objext; then
17308 ac_cv_member_struct_ff_effect_direction=yes
17309 else
17310 echo "$as_me: failed program was:" >&5
17311 sed 's/^/| /' conftest.$ac_ext >&5
17313 ac_cv_member_struct_ff_effect_direction=no
17316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17321 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17322 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17323 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17325 cat >>confdefs.h <<_ACEOF
17326 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17327 _ACEOF
17333 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17334 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17335 if test "${wine_cv_have_sigaddset+set}" = set; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17337 else
17338 cat >conftest.$ac_ext <<_ACEOF
17339 /* confdefs.h. */
17340 _ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 #include <signal.h>
17346 main ()
17348 sigset_t set; sigaddset(&set,SIGTERM);
17350 return 0;
17352 _ACEOF
17353 rm -f conftest.$ac_objext conftest$ac_exeext
17354 if { (ac_try="$ac_link"
17355 case "(($ac_try" in
17356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17357 *) ac_try_echo=$ac_try;;
17358 esac
17359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17360 (eval "$ac_link") 2>conftest.er1
17361 ac_status=$?
17362 grep -v '^ *+' conftest.er1 >conftest.err
17363 rm -f conftest.er1
17364 cat conftest.err >&5
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); } && {
17367 test -z "$ac_c_werror_flag" ||
17368 test ! -s conftest.err
17369 } && test -s conftest$ac_exeext &&
17370 $as_test_x conftest$ac_exeext; then
17371 wine_cv_have_sigaddset=yes
17372 else
17373 echo "$as_me: failed program was:" >&5
17374 sed 's/^/| /' conftest.$ac_ext >&5
17376 wine_cv_have_sigaddset=no
17379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17380 conftest$ac_exeext conftest.$ac_ext
17382 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17383 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17384 if test "$wine_cv_have_sigaddset" = "yes"
17385 then
17387 cat >>confdefs.h <<\_ACEOF
17388 #define HAVE_SIGADDSET 1
17389 _ACEOF
17394 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17395 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17396 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 else
17399 cat >conftest.$ac_ext <<_ACEOF
17400 /* confdefs.h. */
17401 _ACEOF
17402 cat confdefs.h >>conftest.$ac_ext
17403 cat >>conftest.$ac_ext <<_ACEOF
17404 /* end confdefs.h. */
17406 #include <netdb.h>
17409 main ()
17412 char *name=NULL;
17413 struct hostent he;
17414 struct hostent *result;
17415 char *buf=NULL;
17416 int bufsize=0;
17417 int res,errnr;
17418 char *addr=NULL;
17419 int addrlen=0;
17420 int addrtype=0;
17421 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17422 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17425 return 0;
17427 _ACEOF
17428 rm -f conftest.$ac_objext conftest$ac_exeext
17429 if { (ac_try="$ac_link"
17430 case "(($ac_try" in
17431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17432 *) ac_try_echo=$ac_try;;
17433 esac
17434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17435 (eval "$ac_link") 2>conftest.er1
17436 ac_status=$?
17437 grep -v '^ *+' conftest.er1 >conftest.err
17438 rm -f conftest.er1
17439 cat conftest.err >&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); } && {
17442 test -z "$ac_c_werror_flag" ||
17443 test ! -s conftest.err
17444 } && test -s conftest$ac_exeext &&
17445 $as_test_x conftest$ac_exeext; then
17446 wine_cv_linux_gethostbyname_r_6=yes
17447 else
17448 echo "$as_me: failed program was:" >&5
17449 sed 's/^/| /' conftest.$ac_ext >&5
17451 wine_cv_linux_gethostbyname_r_6=no
17455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17456 conftest$ac_exeext conftest.$ac_ext
17459 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17460 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17461 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17462 then
17464 cat >>confdefs.h <<\_ACEOF
17465 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17466 _ACEOF
17470 if test "$ac_cv_header_linux_joystick_h" = "yes"
17471 then
17472 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17473 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17474 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17475 echo $ECHO_N "(cached) $ECHO_C" >&6
17476 else
17477 cat >conftest.$ac_ext <<_ACEOF
17478 /* confdefs.h. */
17479 _ACEOF
17480 cat confdefs.h >>conftest.$ac_ext
17481 cat >>conftest.$ac_ext <<_ACEOF
17482 /* end confdefs.h. */
17484 #include <sys/ioctl.h>
17485 #include <linux/joystick.h>
17487 struct js_event blub;
17488 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17489 #error "no 2.2 header"
17490 #endif
17493 main ()
17495 /*empty*/
17497 return 0;
17499 _ACEOF
17500 rm -f conftest.$ac_objext
17501 if { (ac_try="$ac_compile"
17502 case "(($ac_try" in
17503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17504 *) ac_try_echo=$ac_try;;
17505 esac
17506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17507 (eval "$ac_compile") 2>conftest.er1
17508 ac_status=$?
17509 grep -v '^ *+' conftest.er1 >conftest.err
17510 rm -f conftest.er1
17511 cat conftest.err >&5
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); } && {
17514 test -z "$ac_c_werror_flag" ||
17515 test ! -s conftest.err
17516 } && test -s conftest.$ac_objext; then
17517 wine_cv_linux_joystick_22_api=yes
17518 else
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17522 wine_cv_linux_joystick_22_api=no
17525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17529 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17530 if test "$wine_cv_linux_joystick_22_api" = "yes"
17531 then
17533 cat >>confdefs.h <<\_ACEOF
17534 #define HAVE_LINUX_22_JOYSTICK_API 1
17535 _ACEOF
17541 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17542 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17543 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17544 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 else
17546 cat >conftest.$ac_ext <<_ACEOF
17547 /* confdefs.h. */
17548 _ACEOF
17549 cat confdefs.h >>conftest.$ac_ext
17550 cat >>conftest.$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17552 #include <sys/types.h>
17553 #ifdef HAVE_SYS_PARAM_H
17554 # include <sys/param.h>
17555 #endif
17556 #ifdef HAVE_SYS_MOUNT_H
17557 # include <sys/mount.h>
17558 #endif
17559 #ifdef HAVE_SYS_VFS_H
17560 # include <sys/vfs.h>
17561 #endif
17562 #ifdef HAVE_SYS_STATFS_H
17563 # include <sys/statfs.h>
17564 #endif
17567 main ()
17569 static struct statfs ac_aggr;
17570 if (ac_aggr.f_bfree)
17571 return 0;
17573 return 0;
17575 _ACEOF
17576 rm -f conftest.$ac_objext
17577 if { (ac_try="$ac_compile"
17578 case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17581 esac
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_compile") 2>conftest.er1
17584 ac_status=$?
17585 grep -v '^ *+' conftest.er1 >conftest.err
17586 rm -f conftest.er1
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_c_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest.$ac_objext; then
17593 ac_cv_member_struct_statfs_f_bfree=yes
17594 else
17595 echo "$as_me: failed program was:" >&5
17596 sed 's/^/| /' conftest.$ac_ext >&5
17598 cat >conftest.$ac_ext <<_ACEOF
17599 /* confdefs.h. */
17600 _ACEOF
17601 cat confdefs.h >>conftest.$ac_ext
17602 cat >>conftest.$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17604 #include <sys/types.h>
17605 #ifdef HAVE_SYS_PARAM_H
17606 # include <sys/param.h>
17607 #endif
17608 #ifdef HAVE_SYS_MOUNT_H
17609 # include <sys/mount.h>
17610 #endif
17611 #ifdef HAVE_SYS_VFS_H
17612 # include <sys/vfs.h>
17613 #endif
17614 #ifdef HAVE_SYS_STATFS_H
17615 # include <sys/statfs.h>
17616 #endif
17619 main ()
17621 static struct statfs ac_aggr;
17622 if (sizeof ac_aggr.f_bfree)
17623 return 0;
17625 return 0;
17627 _ACEOF
17628 rm -f conftest.$ac_objext
17629 if { (ac_try="$ac_compile"
17630 case "(($ac_try" in
17631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17632 *) ac_try_echo=$ac_try;;
17633 esac
17634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17635 (eval "$ac_compile") 2>conftest.er1
17636 ac_status=$?
17637 grep -v '^ *+' conftest.er1 >conftest.err
17638 rm -f conftest.er1
17639 cat conftest.err >&5
17640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17641 (exit $ac_status); } && {
17642 test -z "$ac_c_werror_flag" ||
17643 test ! -s conftest.err
17644 } && test -s conftest.$ac_objext; then
17645 ac_cv_member_struct_statfs_f_bfree=yes
17646 else
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.$ac_ext >&5
17650 ac_cv_member_struct_statfs_f_bfree=no
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17658 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17659 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17660 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17662 cat >>confdefs.h <<_ACEOF
17663 #define HAVE_STRUCT_STATFS_F_BFREE 1
17664 _ACEOF
17668 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17669 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17670 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17671 echo $ECHO_N "(cached) $ECHO_C" >&6
17672 else
17673 cat >conftest.$ac_ext <<_ACEOF
17674 /* confdefs.h. */
17675 _ACEOF
17676 cat confdefs.h >>conftest.$ac_ext
17677 cat >>conftest.$ac_ext <<_ACEOF
17678 /* end confdefs.h. */
17679 #include <sys/types.h>
17680 #ifdef HAVE_SYS_PARAM_H
17681 # include <sys/param.h>
17682 #endif
17683 #ifdef HAVE_SYS_MOUNT_H
17684 # include <sys/mount.h>
17685 #endif
17686 #ifdef HAVE_SYS_VFS_H
17687 # include <sys/vfs.h>
17688 #endif
17689 #ifdef HAVE_SYS_STATFS_H
17690 # include <sys/statfs.h>
17691 #endif
17694 main ()
17696 static struct statfs ac_aggr;
17697 if (ac_aggr.f_bavail)
17698 return 0;
17700 return 0;
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (ac_try="$ac_compile"
17705 case "(($ac_try" in
17706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17708 esac
17709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17710 (eval "$ac_compile") 2>conftest.er1
17711 ac_status=$?
17712 grep -v '^ *+' conftest.er1 >conftest.err
17713 rm -f conftest.er1
17714 cat conftest.err >&5
17715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17716 (exit $ac_status); } && {
17717 test -z "$ac_c_werror_flag" ||
17718 test ! -s conftest.err
17719 } && test -s conftest.$ac_objext; then
17720 ac_cv_member_struct_statfs_f_bavail=yes
17721 else
17722 echo "$as_me: failed program was:" >&5
17723 sed 's/^/| /' conftest.$ac_ext >&5
17725 cat >conftest.$ac_ext <<_ACEOF
17726 /* confdefs.h. */
17727 _ACEOF
17728 cat confdefs.h >>conftest.$ac_ext
17729 cat >>conftest.$ac_ext <<_ACEOF
17730 /* end confdefs.h. */
17731 #include <sys/types.h>
17732 #ifdef HAVE_SYS_PARAM_H
17733 # include <sys/param.h>
17734 #endif
17735 #ifdef HAVE_SYS_MOUNT_H
17736 # include <sys/mount.h>
17737 #endif
17738 #ifdef HAVE_SYS_VFS_H
17739 # include <sys/vfs.h>
17740 #endif
17741 #ifdef HAVE_SYS_STATFS_H
17742 # include <sys/statfs.h>
17743 #endif
17746 main ()
17748 static struct statfs ac_aggr;
17749 if (sizeof ac_aggr.f_bavail)
17750 return 0;
17752 return 0;
17754 _ACEOF
17755 rm -f conftest.$ac_objext
17756 if { (ac_try="$ac_compile"
17757 case "(($ac_try" in
17758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17759 *) ac_try_echo=$ac_try;;
17760 esac
17761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17762 (eval "$ac_compile") 2>conftest.er1
17763 ac_status=$?
17764 grep -v '^ *+' conftest.er1 >conftest.err
17765 rm -f conftest.er1
17766 cat conftest.err >&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); } && {
17769 test -z "$ac_c_werror_flag" ||
17770 test ! -s conftest.err
17771 } && test -s conftest.$ac_objext; then
17772 ac_cv_member_struct_statfs_f_bavail=yes
17773 else
17774 echo "$as_me: failed program was:" >&5
17775 sed 's/^/| /' conftest.$ac_ext >&5
17777 ac_cv_member_struct_statfs_f_bavail=no
17780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17785 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17786 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17787 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17789 cat >>confdefs.h <<_ACEOF
17790 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17791 _ACEOF
17795 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17796 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17797 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17799 else
17800 cat >conftest.$ac_ext <<_ACEOF
17801 /* confdefs.h. */
17802 _ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 #include <sys/types.h>
17807 #ifdef HAVE_SYS_PARAM_H
17808 # include <sys/param.h>
17809 #endif
17810 #ifdef HAVE_SYS_MOUNT_H
17811 # include <sys/mount.h>
17812 #endif
17813 #ifdef HAVE_SYS_VFS_H
17814 # include <sys/vfs.h>
17815 #endif
17816 #ifdef HAVE_SYS_STATFS_H
17817 # include <sys/statfs.h>
17818 #endif
17821 main ()
17823 static struct statfs ac_aggr;
17824 if (ac_aggr.f_frsize)
17825 return 0;
17827 return 0;
17829 _ACEOF
17830 rm -f conftest.$ac_objext
17831 if { (ac_try="$ac_compile"
17832 case "(($ac_try" in
17833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17834 *) ac_try_echo=$ac_try;;
17835 esac
17836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17837 (eval "$ac_compile") 2>conftest.er1
17838 ac_status=$?
17839 grep -v '^ *+' conftest.er1 >conftest.err
17840 rm -f conftest.er1
17841 cat conftest.err >&5
17842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17843 (exit $ac_status); } && {
17844 test -z "$ac_c_werror_flag" ||
17845 test ! -s conftest.err
17846 } && test -s conftest.$ac_objext; then
17847 ac_cv_member_struct_statfs_f_frsize=yes
17848 else
17849 echo "$as_me: failed program was:" >&5
17850 sed 's/^/| /' conftest.$ac_ext >&5
17852 cat >conftest.$ac_ext <<_ACEOF
17853 /* confdefs.h. */
17854 _ACEOF
17855 cat confdefs.h >>conftest.$ac_ext
17856 cat >>conftest.$ac_ext <<_ACEOF
17857 /* end confdefs.h. */
17858 #include <sys/types.h>
17859 #ifdef HAVE_SYS_PARAM_H
17860 # include <sys/param.h>
17861 #endif
17862 #ifdef HAVE_SYS_MOUNT_H
17863 # include <sys/mount.h>
17864 #endif
17865 #ifdef HAVE_SYS_VFS_H
17866 # include <sys/vfs.h>
17867 #endif
17868 #ifdef HAVE_SYS_STATFS_H
17869 # include <sys/statfs.h>
17870 #endif
17873 main ()
17875 static struct statfs ac_aggr;
17876 if (sizeof ac_aggr.f_frsize)
17877 return 0;
17879 return 0;
17881 _ACEOF
17882 rm -f conftest.$ac_objext
17883 if { (ac_try="$ac_compile"
17884 case "(($ac_try" in
17885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17886 *) ac_try_echo=$ac_try;;
17887 esac
17888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17889 (eval "$ac_compile") 2>conftest.er1
17890 ac_status=$?
17891 grep -v '^ *+' conftest.er1 >conftest.err
17892 rm -f conftest.er1
17893 cat conftest.err >&5
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); } && {
17896 test -z "$ac_c_werror_flag" ||
17897 test ! -s conftest.err
17898 } && test -s conftest.$ac_objext; then
17899 ac_cv_member_struct_statfs_f_frsize=yes
17900 else
17901 echo "$as_me: failed program was:" >&5
17902 sed 's/^/| /' conftest.$ac_ext >&5
17904 ac_cv_member_struct_statfs_f_frsize=no
17907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17912 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17913 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17914 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17916 cat >>confdefs.h <<_ACEOF
17917 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17918 _ACEOF
17922 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17923 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17924 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17926 else
17927 cat >conftest.$ac_ext <<_ACEOF
17928 /* confdefs.h. */
17929 _ACEOF
17930 cat confdefs.h >>conftest.$ac_ext
17931 cat >>conftest.$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17933 #include <sys/types.h>
17934 #ifdef HAVE_SYS_PARAM_H
17935 # include <sys/param.h>
17936 #endif
17937 #ifdef HAVE_SYS_MOUNT_H
17938 # include <sys/mount.h>
17939 #endif
17940 #ifdef HAVE_SYS_VFS_H
17941 # include <sys/vfs.h>
17942 #endif
17943 #ifdef HAVE_SYS_STATFS_H
17944 # include <sys/statfs.h>
17945 #endif
17948 main ()
17950 static struct statfs ac_aggr;
17951 if (ac_aggr.f_ffree)
17952 return 0;
17954 return 0;
17956 _ACEOF
17957 rm -f conftest.$ac_objext
17958 if { (ac_try="$ac_compile"
17959 case "(($ac_try" in
17960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17961 *) ac_try_echo=$ac_try;;
17962 esac
17963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17964 (eval "$ac_compile") 2>conftest.er1
17965 ac_status=$?
17966 grep -v '^ *+' conftest.er1 >conftest.err
17967 rm -f conftest.er1
17968 cat conftest.err >&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); } && {
17971 test -z "$ac_c_werror_flag" ||
17972 test ! -s conftest.err
17973 } && test -s conftest.$ac_objext; then
17974 ac_cv_member_struct_statfs_f_ffree=yes
17975 else
17976 echo "$as_me: failed program was:" >&5
17977 sed 's/^/| /' conftest.$ac_ext >&5
17979 cat >conftest.$ac_ext <<_ACEOF
17980 /* confdefs.h. */
17981 _ACEOF
17982 cat confdefs.h >>conftest.$ac_ext
17983 cat >>conftest.$ac_ext <<_ACEOF
17984 /* end confdefs.h. */
17985 #include <sys/types.h>
17986 #ifdef HAVE_SYS_PARAM_H
17987 # include <sys/param.h>
17988 #endif
17989 #ifdef HAVE_SYS_MOUNT_H
17990 # include <sys/mount.h>
17991 #endif
17992 #ifdef HAVE_SYS_VFS_H
17993 # include <sys/vfs.h>
17994 #endif
17995 #ifdef HAVE_SYS_STATFS_H
17996 # include <sys/statfs.h>
17997 #endif
18000 main ()
18002 static struct statfs ac_aggr;
18003 if (sizeof ac_aggr.f_ffree)
18004 return 0;
18006 return 0;
18008 _ACEOF
18009 rm -f conftest.$ac_objext
18010 if { (ac_try="$ac_compile"
18011 case "(($ac_try" in
18012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18013 *) ac_try_echo=$ac_try;;
18014 esac
18015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18016 (eval "$ac_compile") 2>conftest.er1
18017 ac_status=$?
18018 grep -v '^ *+' conftest.er1 >conftest.err
18019 rm -f conftest.er1
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } && {
18023 test -z "$ac_c_werror_flag" ||
18024 test ! -s conftest.err
18025 } && test -s conftest.$ac_objext; then
18026 ac_cv_member_struct_statfs_f_ffree=yes
18027 else
18028 echo "$as_me: failed program was:" >&5
18029 sed 's/^/| /' conftest.$ac_ext >&5
18031 ac_cv_member_struct_statfs_f_ffree=no
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18039 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18040 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18041 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18043 cat >>confdefs.h <<_ACEOF
18044 #define HAVE_STRUCT_STATFS_F_FFREE 1
18045 _ACEOF
18049 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18050 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18051 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18052 echo $ECHO_N "(cached) $ECHO_C" >&6
18053 else
18054 cat >conftest.$ac_ext <<_ACEOF
18055 /* confdefs.h. */
18056 _ACEOF
18057 cat confdefs.h >>conftest.$ac_ext
18058 cat >>conftest.$ac_ext <<_ACEOF
18059 /* end confdefs.h. */
18060 #include <sys/types.h>
18061 #ifdef HAVE_SYS_PARAM_H
18062 # include <sys/param.h>
18063 #endif
18064 #ifdef HAVE_SYS_MOUNT_H
18065 # include <sys/mount.h>
18066 #endif
18067 #ifdef HAVE_SYS_VFS_H
18068 # include <sys/vfs.h>
18069 #endif
18070 #ifdef HAVE_SYS_STATFS_H
18071 # include <sys/statfs.h>
18072 #endif
18075 main ()
18077 static struct statfs ac_aggr;
18078 if (ac_aggr.f_favail)
18079 return 0;
18081 return 0;
18083 _ACEOF
18084 rm -f conftest.$ac_objext
18085 if { (ac_try="$ac_compile"
18086 case "(($ac_try" in
18087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18088 *) ac_try_echo=$ac_try;;
18089 esac
18090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18091 (eval "$ac_compile") 2>conftest.er1
18092 ac_status=$?
18093 grep -v '^ *+' conftest.er1 >conftest.err
18094 rm -f conftest.er1
18095 cat conftest.err >&5
18096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18097 (exit $ac_status); } && {
18098 test -z "$ac_c_werror_flag" ||
18099 test ! -s conftest.err
18100 } && test -s conftest.$ac_objext; then
18101 ac_cv_member_struct_statfs_f_favail=yes
18102 else
18103 echo "$as_me: failed program was:" >&5
18104 sed 's/^/| /' conftest.$ac_ext >&5
18106 cat >conftest.$ac_ext <<_ACEOF
18107 /* confdefs.h. */
18108 _ACEOF
18109 cat confdefs.h >>conftest.$ac_ext
18110 cat >>conftest.$ac_ext <<_ACEOF
18111 /* end confdefs.h. */
18112 #include <sys/types.h>
18113 #ifdef HAVE_SYS_PARAM_H
18114 # include <sys/param.h>
18115 #endif
18116 #ifdef HAVE_SYS_MOUNT_H
18117 # include <sys/mount.h>
18118 #endif
18119 #ifdef HAVE_SYS_VFS_H
18120 # include <sys/vfs.h>
18121 #endif
18122 #ifdef HAVE_SYS_STATFS_H
18123 # include <sys/statfs.h>
18124 #endif
18127 main ()
18129 static struct statfs ac_aggr;
18130 if (sizeof ac_aggr.f_favail)
18131 return 0;
18133 return 0;
18135 _ACEOF
18136 rm -f conftest.$ac_objext
18137 if { (ac_try="$ac_compile"
18138 case "(($ac_try" in
18139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18140 *) ac_try_echo=$ac_try;;
18141 esac
18142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18143 (eval "$ac_compile") 2>conftest.er1
18144 ac_status=$?
18145 grep -v '^ *+' conftest.er1 >conftest.err
18146 rm -f conftest.er1
18147 cat conftest.err >&5
18148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18149 (exit $ac_status); } && {
18150 test -z "$ac_c_werror_flag" ||
18151 test ! -s conftest.err
18152 } && test -s conftest.$ac_objext; then
18153 ac_cv_member_struct_statfs_f_favail=yes
18154 else
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18158 ac_cv_member_struct_statfs_f_favail=no
18161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18166 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18167 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18168 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18170 cat >>confdefs.h <<_ACEOF
18171 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18172 _ACEOF
18176 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18177 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18178 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18179 echo $ECHO_N "(cached) $ECHO_C" >&6
18180 else
18181 cat >conftest.$ac_ext <<_ACEOF
18182 /* confdefs.h. */
18183 _ACEOF
18184 cat confdefs.h >>conftest.$ac_ext
18185 cat >>conftest.$ac_ext <<_ACEOF
18186 /* end confdefs.h. */
18187 #include <sys/types.h>
18188 #ifdef HAVE_SYS_PARAM_H
18189 # include <sys/param.h>
18190 #endif
18191 #ifdef HAVE_SYS_MOUNT_H
18192 # include <sys/mount.h>
18193 #endif
18194 #ifdef HAVE_SYS_VFS_H
18195 # include <sys/vfs.h>
18196 #endif
18197 #ifdef HAVE_SYS_STATFS_H
18198 # include <sys/statfs.h>
18199 #endif
18202 main ()
18204 static struct statfs ac_aggr;
18205 if (ac_aggr.f_namelen)
18206 return 0;
18208 return 0;
18210 _ACEOF
18211 rm -f conftest.$ac_objext
18212 if { (ac_try="$ac_compile"
18213 case "(($ac_try" in
18214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18215 *) ac_try_echo=$ac_try;;
18216 esac
18217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18218 (eval "$ac_compile") 2>conftest.er1
18219 ac_status=$?
18220 grep -v '^ *+' conftest.er1 >conftest.err
18221 rm -f conftest.er1
18222 cat conftest.err >&5
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); } && {
18225 test -z "$ac_c_werror_flag" ||
18226 test ! -s conftest.err
18227 } && test -s conftest.$ac_objext; then
18228 ac_cv_member_struct_statfs_f_namelen=yes
18229 else
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18233 cat >conftest.$ac_ext <<_ACEOF
18234 /* confdefs.h. */
18235 _ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 #include <sys/types.h>
18240 #ifdef HAVE_SYS_PARAM_H
18241 # include <sys/param.h>
18242 #endif
18243 #ifdef HAVE_SYS_MOUNT_H
18244 # include <sys/mount.h>
18245 #endif
18246 #ifdef HAVE_SYS_VFS_H
18247 # include <sys/vfs.h>
18248 #endif
18249 #ifdef HAVE_SYS_STATFS_H
18250 # include <sys/statfs.h>
18251 #endif
18254 main ()
18256 static struct statfs ac_aggr;
18257 if (sizeof ac_aggr.f_namelen)
18258 return 0;
18260 return 0;
18262 _ACEOF
18263 rm -f conftest.$ac_objext
18264 if { (ac_try="$ac_compile"
18265 case "(($ac_try" in
18266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18267 *) ac_try_echo=$ac_try;;
18268 esac
18269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18270 (eval "$ac_compile") 2>conftest.er1
18271 ac_status=$?
18272 grep -v '^ *+' conftest.er1 >conftest.err
18273 rm -f conftest.er1
18274 cat conftest.err >&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); } && {
18277 test -z "$ac_c_werror_flag" ||
18278 test ! -s conftest.err
18279 } && test -s conftest.$ac_objext; then
18280 ac_cv_member_struct_statfs_f_namelen=yes
18281 else
18282 echo "$as_me: failed program was:" >&5
18283 sed 's/^/| /' conftest.$ac_ext >&5
18285 ac_cv_member_struct_statfs_f_namelen=no
18288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18293 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18294 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18295 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18297 cat >>confdefs.h <<_ACEOF
18298 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18299 _ACEOF
18305 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18306 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18307 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18308 echo $ECHO_N "(cached) $ECHO_C" >&6
18309 else
18310 cat >conftest.$ac_ext <<_ACEOF
18311 /* confdefs.h. */
18312 _ACEOF
18313 cat confdefs.h >>conftest.$ac_ext
18314 cat >>conftest.$ac_ext <<_ACEOF
18315 /* end confdefs.h. */
18316 #ifdef HAVE_SYS_STATVFS_H
18317 #include <sys/statvfs.h>
18318 #endif
18321 main ()
18323 static struct statvfs ac_aggr;
18324 if (ac_aggr.f_blocks)
18325 return 0;
18327 return 0;
18329 _ACEOF
18330 rm -f conftest.$ac_objext
18331 if { (ac_try="$ac_compile"
18332 case "(($ac_try" in
18333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18334 *) ac_try_echo=$ac_try;;
18335 esac
18336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18337 (eval "$ac_compile") 2>conftest.er1
18338 ac_status=$?
18339 grep -v '^ *+' conftest.er1 >conftest.err
18340 rm -f conftest.er1
18341 cat conftest.err >&5
18342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18343 (exit $ac_status); } && {
18344 test -z "$ac_c_werror_flag" ||
18345 test ! -s conftest.err
18346 } && test -s conftest.$ac_objext; then
18347 ac_cv_member_struct_statvfs_f_blocks=yes
18348 else
18349 echo "$as_me: failed program was:" >&5
18350 sed 's/^/| /' conftest.$ac_ext >&5
18352 cat >conftest.$ac_ext <<_ACEOF
18353 /* confdefs.h. */
18354 _ACEOF
18355 cat confdefs.h >>conftest.$ac_ext
18356 cat >>conftest.$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 #ifdef HAVE_SYS_STATVFS_H
18359 #include <sys/statvfs.h>
18360 #endif
18363 main ()
18365 static struct statvfs ac_aggr;
18366 if (sizeof ac_aggr.f_blocks)
18367 return 0;
18369 return 0;
18371 _ACEOF
18372 rm -f conftest.$ac_objext
18373 if { (ac_try="$ac_compile"
18374 case "(($ac_try" in
18375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18376 *) ac_try_echo=$ac_try;;
18377 esac
18378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18379 (eval "$ac_compile") 2>conftest.er1
18380 ac_status=$?
18381 grep -v '^ *+' conftest.er1 >conftest.err
18382 rm -f conftest.er1
18383 cat conftest.err >&5
18384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18385 (exit $ac_status); } && {
18386 test -z "$ac_c_werror_flag" ||
18387 test ! -s conftest.err
18388 } && test -s conftest.$ac_objext; then
18389 ac_cv_member_struct_statvfs_f_blocks=yes
18390 else
18391 echo "$as_me: failed program was:" >&5
18392 sed 's/^/| /' conftest.$ac_ext >&5
18394 ac_cv_member_struct_statvfs_f_blocks=no
18397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18402 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18403 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18404 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18406 cat >>confdefs.h <<_ACEOF
18407 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18408 _ACEOF
18414 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18415 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18416 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18417 echo $ECHO_N "(cached) $ECHO_C" >&6
18418 else
18419 cat >conftest.$ac_ext <<_ACEOF
18420 /* confdefs.h. */
18421 _ACEOF
18422 cat confdefs.h >>conftest.$ac_ext
18423 cat >>conftest.$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 #include <sys/types.h>
18426 #ifdef HAVE_SYS_SOCKET_H
18427 # include <sys/socket.h>
18428 #endif
18429 #ifdef HAVE_SYS_UN_H
18430 # include <sys/un.h>
18431 #endif
18434 main ()
18436 static struct msghdr ac_aggr;
18437 if (ac_aggr.msg_accrights)
18438 return 0;
18440 return 0;
18442 _ACEOF
18443 rm -f conftest.$ac_objext
18444 if { (ac_try="$ac_compile"
18445 case "(($ac_try" in
18446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18447 *) ac_try_echo=$ac_try;;
18448 esac
18449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18450 (eval "$ac_compile") 2>conftest.er1
18451 ac_status=$?
18452 grep -v '^ *+' conftest.er1 >conftest.err
18453 rm -f conftest.er1
18454 cat conftest.err >&5
18455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18456 (exit $ac_status); } && {
18457 test -z "$ac_c_werror_flag" ||
18458 test ! -s conftest.err
18459 } && test -s conftest.$ac_objext; then
18460 ac_cv_member_struct_msghdr_msg_accrights=yes
18461 else
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18465 cat >conftest.$ac_ext <<_ACEOF
18466 /* confdefs.h. */
18467 _ACEOF
18468 cat confdefs.h >>conftest.$ac_ext
18469 cat >>conftest.$ac_ext <<_ACEOF
18470 /* end confdefs.h. */
18471 #include <sys/types.h>
18472 #ifdef HAVE_SYS_SOCKET_H
18473 # include <sys/socket.h>
18474 #endif
18475 #ifdef HAVE_SYS_UN_H
18476 # include <sys/un.h>
18477 #endif
18480 main ()
18482 static struct msghdr ac_aggr;
18483 if (sizeof ac_aggr.msg_accrights)
18484 return 0;
18486 return 0;
18488 _ACEOF
18489 rm -f conftest.$ac_objext
18490 if { (ac_try="$ac_compile"
18491 case "(($ac_try" in
18492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18493 *) ac_try_echo=$ac_try;;
18494 esac
18495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18496 (eval "$ac_compile") 2>conftest.er1
18497 ac_status=$?
18498 grep -v '^ *+' conftest.er1 >conftest.err
18499 rm -f conftest.er1
18500 cat conftest.err >&5
18501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18502 (exit $ac_status); } && {
18503 test -z "$ac_c_werror_flag" ||
18504 test ! -s conftest.err
18505 } && test -s conftest.$ac_objext; then
18506 ac_cv_member_struct_msghdr_msg_accrights=yes
18507 else
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18511 ac_cv_member_struct_msghdr_msg_accrights=no
18514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18519 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18520 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18521 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18523 cat >>confdefs.h <<_ACEOF
18524 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18525 _ACEOF
18529 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18530 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18531 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18532 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 else
18534 cat >conftest.$ac_ext <<_ACEOF
18535 /* confdefs.h. */
18536 _ACEOF
18537 cat confdefs.h >>conftest.$ac_ext
18538 cat >>conftest.$ac_ext <<_ACEOF
18539 /* end confdefs.h. */
18540 #include <sys/types.h>
18541 #ifdef HAVE_SYS_SOCKET_H
18542 # include <sys/socket.h>
18543 #endif
18544 #ifdef HAVE_SYS_UN_H
18545 # include <sys/un.h>
18546 #endif
18549 main ()
18551 static struct sockaddr ac_aggr;
18552 if (ac_aggr.sa_len)
18553 return 0;
18555 return 0;
18557 _ACEOF
18558 rm -f conftest.$ac_objext
18559 if { (ac_try="$ac_compile"
18560 case "(($ac_try" in
18561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18562 *) ac_try_echo=$ac_try;;
18563 esac
18564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18565 (eval "$ac_compile") 2>conftest.er1
18566 ac_status=$?
18567 grep -v '^ *+' conftest.er1 >conftest.err
18568 rm -f conftest.er1
18569 cat conftest.err >&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); } && {
18572 test -z "$ac_c_werror_flag" ||
18573 test ! -s conftest.err
18574 } && test -s conftest.$ac_objext; then
18575 ac_cv_member_struct_sockaddr_sa_len=yes
18576 else
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.$ac_ext >&5
18580 cat >conftest.$ac_ext <<_ACEOF
18581 /* confdefs.h. */
18582 _ACEOF
18583 cat confdefs.h >>conftest.$ac_ext
18584 cat >>conftest.$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18586 #include <sys/types.h>
18587 #ifdef HAVE_SYS_SOCKET_H
18588 # include <sys/socket.h>
18589 #endif
18590 #ifdef HAVE_SYS_UN_H
18591 # include <sys/un.h>
18592 #endif
18595 main ()
18597 static struct sockaddr ac_aggr;
18598 if (sizeof ac_aggr.sa_len)
18599 return 0;
18601 return 0;
18603 _ACEOF
18604 rm -f conftest.$ac_objext
18605 if { (ac_try="$ac_compile"
18606 case "(($ac_try" in
18607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18608 *) ac_try_echo=$ac_try;;
18609 esac
18610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18611 (eval "$ac_compile") 2>conftest.er1
18612 ac_status=$?
18613 grep -v '^ *+' conftest.er1 >conftest.err
18614 rm -f conftest.er1
18615 cat conftest.err >&5
18616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18617 (exit $ac_status); } && {
18618 test -z "$ac_c_werror_flag" ||
18619 test ! -s conftest.err
18620 } && test -s conftest.$ac_objext; then
18621 ac_cv_member_struct_sockaddr_sa_len=yes
18622 else
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18626 ac_cv_member_struct_sockaddr_sa_len=no
18629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18634 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18635 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18636 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18638 cat >>confdefs.h <<_ACEOF
18639 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18640 _ACEOF
18644 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18645 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18646 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18648 else
18649 cat >conftest.$ac_ext <<_ACEOF
18650 /* confdefs.h. */
18651 _ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 #include <sys/types.h>
18656 #ifdef HAVE_SYS_SOCKET_H
18657 # include <sys/socket.h>
18658 #endif
18659 #ifdef HAVE_SYS_UN_H
18660 # include <sys/un.h>
18661 #endif
18664 main ()
18666 static struct sockaddr_un ac_aggr;
18667 if (ac_aggr.sun_len)
18668 return 0;
18670 return 0;
18672 _ACEOF
18673 rm -f conftest.$ac_objext
18674 if { (ac_try="$ac_compile"
18675 case "(($ac_try" in
18676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18677 *) ac_try_echo=$ac_try;;
18678 esac
18679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18680 (eval "$ac_compile") 2>conftest.er1
18681 ac_status=$?
18682 grep -v '^ *+' conftest.er1 >conftest.err
18683 rm -f conftest.er1
18684 cat conftest.err >&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); } && {
18687 test -z "$ac_c_werror_flag" ||
18688 test ! -s conftest.err
18689 } && test -s conftest.$ac_objext; then
18690 ac_cv_member_struct_sockaddr_un_sun_len=yes
18691 else
18692 echo "$as_me: failed program was:" >&5
18693 sed 's/^/| /' conftest.$ac_ext >&5
18695 cat >conftest.$ac_ext <<_ACEOF
18696 /* confdefs.h. */
18697 _ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701 #include <sys/types.h>
18702 #ifdef HAVE_SYS_SOCKET_H
18703 # include <sys/socket.h>
18704 #endif
18705 #ifdef HAVE_SYS_UN_H
18706 # include <sys/un.h>
18707 #endif
18710 main ()
18712 static struct sockaddr_un ac_aggr;
18713 if (sizeof ac_aggr.sun_len)
18714 return 0;
18716 return 0;
18718 _ACEOF
18719 rm -f conftest.$ac_objext
18720 if { (ac_try="$ac_compile"
18721 case "(($ac_try" in
18722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18723 *) ac_try_echo=$ac_try;;
18724 esac
18725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18726 (eval "$ac_compile") 2>conftest.er1
18727 ac_status=$?
18728 grep -v '^ *+' conftest.er1 >conftest.err
18729 rm -f conftest.er1
18730 cat conftest.err >&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } && {
18733 test -z "$ac_c_werror_flag" ||
18734 test ! -s conftest.err
18735 } && test -s conftest.$ac_objext; then
18736 ac_cv_member_struct_sockaddr_un_sun_len=yes
18737 else
18738 echo "$as_me: failed program was:" >&5
18739 sed 's/^/| /' conftest.$ac_ext >&5
18741 ac_cv_member_struct_sockaddr_un_sun_len=no
18744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18749 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18750 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18751 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18753 cat >>confdefs.h <<_ACEOF
18754 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18755 _ACEOF
18761 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18762 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18763 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18764 echo $ECHO_N "(cached) $ECHO_C" >&6
18765 else
18766 cat >conftest.$ac_ext <<_ACEOF
18767 /* confdefs.h. */
18768 _ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 #include <sys/types.h>
18773 #ifdef HAVE_SCSI_SG_H
18774 #include <scsi/sg.h>
18775 #endif
18778 main ()
18780 static scsireq_t ac_aggr;
18781 if (ac_aggr.cmd)
18782 return 0;
18784 return 0;
18786 _ACEOF
18787 rm -f conftest.$ac_objext
18788 if { (ac_try="$ac_compile"
18789 case "(($ac_try" in
18790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18791 *) ac_try_echo=$ac_try;;
18792 esac
18793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18794 (eval "$ac_compile") 2>conftest.er1
18795 ac_status=$?
18796 grep -v '^ *+' conftest.er1 >conftest.err
18797 rm -f conftest.er1
18798 cat conftest.err >&5
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); } && {
18801 test -z "$ac_c_werror_flag" ||
18802 test ! -s conftest.err
18803 } && test -s conftest.$ac_objext; then
18804 ac_cv_member_scsireq_t_cmd=yes
18805 else
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18809 cat >conftest.$ac_ext <<_ACEOF
18810 /* confdefs.h. */
18811 _ACEOF
18812 cat confdefs.h >>conftest.$ac_ext
18813 cat >>conftest.$ac_ext <<_ACEOF
18814 /* end confdefs.h. */
18815 #include <sys/types.h>
18816 #ifdef HAVE_SCSI_SG_H
18817 #include <scsi/sg.h>
18818 #endif
18821 main ()
18823 static scsireq_t ac_aggr;
18824 if (sizeof ac_aggr.cmd)
18825 return 0;
18827 return 0;
18829 _ACEOF
18830 rm -f conftest.$ac_objext
18831 if { (ac_try="$ac_compile"
18832 case "(($ac_try" in
18833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18834 *) ac_try_echo=$ac_try;;
18835 esac
18836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18837 (eval "$ac_compile") 2>conftest.er1
18838 ac_status=$?
18839 grep -v '^ *+' conftest.er1 >conftest.err
18840 rm -f conftest.er1
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } && {
18844 test -z "$ac_c_werror_flag" ||
18845 test ! -s conftest.err
18846 } && test -s conftest.$ac_objext; then
18847 ac_cv_member_scsireq_t_cmd=yes
18848 else
18849 echo "$as_me: failed program was:" >&5
18850 sed 's/^/| /' conftest.$ac_ext >&5
18852 ac_cv_member_scsireq_t_cmd=no
18855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18860 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18861 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18862 if test $ac_cv_member_scsireq_t_cmd = yes; then
18864 cat >>confdefs.h <<_ACEOF
18865 #define HAVE_SCSIREQ_T_CMD 1
18866 _ACEOF
18870 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18871 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18872 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18873 echo $ECHO_N "(cached) $ECHO_C" >&6
18874 else
18875 cat >conftest.$ac_ext <<_ACEOF
18876 /* confdefs.h. */
18877 _ACEOF
18878 cat confdefs.h >>conftest.$ac_ext
18879 cat >>conftest.$ac_ext <<_ACEOF
18880 /* end confdefs.h. */
18881 #include <sys/types.h>
18882 #ifdef HAVE_SCSI_SG_H
18883 #include <scsi/sg.h>
18884 #endif
18887 main ()
18889 static sg_io_hdr_t ac_aggr;
18890 if (ac_aggr.interface_id)
18891 return 0;
18893 return 0;
18895 _ACEOF
18896 rm -f conftest.$ac_objext
18897 if { (ac_try="$ac_compile"
18898 case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18901 esac
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_compile") 2>conftest.er1
18904 ac_status=$?
18905 grep -v '^ *+' conftest.er1 >conftest.err
18906 rm -f conftest.er1
18907 cat conftest.err >&5
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); } && {
18910 test -z "$ac_c_werror_flag" ||
18911 test ! -s conftest.err
18912 } && test -s conftest.$ac_objext; then
18913 ac_cv_member_sg_io_hdr_t_interface_id=yes
18914 else
18915 echo "$as_me: failed program was:" >&5
18916 sed 's/^/| /' conftest.$ac_ext >&5
18918 cat >conftest.$ac_ext <<_ACEOF
18919 /* confdefs.h. */
18920 _ACEOF
18921 cat confdefs.h >>conftest.$ac_ext
18922 cat >>conftest.$ac_ext <<_ACEOF
18923 /* end confdefs.h. */
18924 #include <sys/types.h>
18925 #ifdef HAVE_SCSI_SG_H
18926 #include <scsi/sg.h>
18927 #endif
18930 main ()
18932 static sg_io_hdr_t ac_aggr;
18933 if (sizeof ac_aggr.interface_id)
18934 return 0;
18936 return 0;
18938 _ACEOF
18939 rm -f conftest.$ac_objext
18940 if { (ac_try="$ac_compile"
18941 case "(($ac_try" in
18942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18944 esac
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_compile") 2>conftest.er1
18947 ac_status=$?
18948 grep -v '^ *+' conftest.er1 >conftest.err
18949 rm -f conftest.er1
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } && {
18953 test -z "$ac_c_werror_flag" ||
18954 test ! -s conftest.err
18955 } && test -s conftest.$ac_objext; then
18956 ac_cv_member_sg_io_hdr_t_interface_id=yes
18957 else
18958 echo "$as_me: failed program was:" >&5
18959 sed 's/^/| /' conftest.$ac_ext >&5
18961 ac_cv_member_sg_io_hdr_t_interface_id=no
18964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18969 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18970 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18971 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18975 _ACEOF
18981 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18982 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18983 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18984 echo $ECHO_N "(cached) $ECHO_C" >&6
18985 else
18986 cat >conftest.$ac_ext <<_ACEOF
18987 /* confdefs.h. */
18988 _ACEOF
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18992 #include <signal.h>
18995 main ()
18997 static siginfo_t ac_aggr;
18998 if (ac_aggr.si_fd)
18999 return 0;
19001 return 0;
19003 _ACEOF
19004 rm -f conftest.$ac_objext
19005 if { (ac_try="$ac_compile"
19006 case "(($ac_try" in
19007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19008 *) ac_try_echo=$ac_try;;
19009 esac
19010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19011 (eval "$ac_compile") 2>conftest.er1
19012 ac_status=$?
19013 grep -v '^ *+' conftest.er1 >conftest.err
19014 rm -f conftest.er1
19015 cat conftest.err >&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } && {
19018 test -z "$ac_c_werror_flag" ||
19019 test ! -s conftest.err
19020 } && test -s conftest.$ac_objext; then
19021 ac_cv_member_siginfo_t_si_fd=yes
19022 else
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
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 (sizeof 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 ac_cv_member_siginfo_t_si_fd=no
19069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19074 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19075 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19076 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19078 cat >>confdefs.h <<_ACEOF
19079 #define HAVE_SIGINFO_T_SI_FD 1
19080 _ACEOF
19086 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19087 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19088 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19089 echo $ECHO_N "(cached) $ECHO_C" >&6
19090 else
19091 cat >conftest.$ac_ext <<_ACEOF
19092 /* confdefs.h. */
19093 _ACEOF
19094 cat confdefs.h >>conftest.$ac_ext
19095 cat >>conftest.$ac_ext <<_ACEOF
19096 /* end confdefs.h. */
19097 #include <sys/types.h>
19098 #ifdef HAVE_SYS_MTIO_H
19099 #include <sys/mtio.h>
19100 #endif
19103 main ()
19105 static struct mtget ac_aggr;
19106 if (ac_aggr.mt_blksiz)
19107 return 0;
19109 return 0;
19111 _ACEOF
19112 rm -f conftest.$ac_objext
19113 if { (ac_try="$ac_compile"
19114 case "(($ac_try" in
19115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19116 *) ac_try_echo=$ac_try;;
19117 esac
19118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19119 (eval "$ac_compile") 2>conftest.er1
19120 ac_status=$?
19121 grep -v '^ *+' conftest.er1 >conftest.err
19122 rm -f conftest.er1
19123 cat conftest.err >&5
19124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125 (exit $ac_status); } && {
19126 test -z "$ac_c_werror_flag" ||
19127 test ! -s conftest.err
19128 } && test -s conftest.$ac_objext; then
19129 ac_cv_member_struct_mtget_mt_blksiz=yes
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 #include <sys/types.h>
19141 #ifdef HAVE_SYS_MTIO_H
19142 #include <sys/mtio.h>
19143 #endif
19146 main ()
19148 static struct mtget ac_aggr;
19149 if (sizeof ac_aggr.mt_blksiz)
19150 return 0;
19152 return 0;
19154 _ACEOF
19155 rm -f conftest.$ac_objext
19156 if { (ac_try="$ac_compile"
19157 case "(($ac_try" in
19158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19159 *) ac_try_echo=$ac_try;;
19160 esac
19161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19162 (eval "$ac_compile") 2>conftest.er1
19163 ac_status=$?
19164 grep -v '^ *+' conftest.er1 >conftest.err
19165 rm -f conftest.er1
19166 cat conftest.err >&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); } && {
19169 test -z "$ac_c_werror_flag" ||
19170 test ! -s conftest.err
19171 } && test -s conftest.$ac_objext; then
19172 ac_cv_member_struct_mtget_mt_blksiz=yes
19173 else
19174 echo "$as_me: failed program was:" >&5
19175 sed 's/^/| /' conftest.$ac_ext >&5
19177 ac_cv_member_struct_mtget_mt_blksiz=no
19180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19186 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19187 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19191 _ACEOF
19195 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19196 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19197 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19198 echo $ECHO_N "(cached) $ECHO_C" >&6
19199 else
19200 cat >conftest.$ac_ext <<_ACEOF
19201 /* confdefs.h. */
19202 _ACEOF
19203 cat confdefs.h >>conftest.$ac_ext
19204 cat >>conftest.$ac_ext <<_ACEOF
19205 /* end confdefs.h. */
19206 #include <sys/types.h>
19207 #ifdef HAVE_SYS_MTIO_H
19208 #include <sys/mtio.h>
19209 #endif
19212 main ()
19214 static struct mtget ac_aggr;
19215 if (ac_aggr.mt_gstat)
19216 return 0;
19218 return 0;
19220 _ACEOF
19221 rm -f conftest.$ac_objext
19222 if { (ac_try="$ac_compile"
19223 case "(($ac_try" in
19224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19225 *) ac_try_echo=$ac_try;;
19226 esac
19227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19228 (eval "$ac_compile") 2>conftest.er1
19229 ac_status=$?
19230 grep -v '^ *+' conftest.er1 >conftest.err
19231 rm -f conftest.er1
19232 cat conftest.err >&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } && {
19235 test -z "$ac_c_werror_flag" ||
19236 test ! -s conftest.err
19237 } && test -s conftest.$ac_objext; then
19238 ac_cv_member_struct_mtget_mt_gstat=yes
19239 else
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19243 cat >conftest.$ac_ext <<_ACEOF
19244 /* confdefs.h. */
19245 _ACEOF
19246 cat confdefs.h >>conftest.$ac_ext
19247 cat >>conftest.$ac_ext <<_ACEOF
19248 /* end confdefs.h. */
19249 #include <sys/types.h>
19250 #ifdef HAVE_SYS_MTIO_H
19251 #include <sys/mtio.h>
19252 #endif
19255 main ()
19257 static struct mtget ac_aggr;
19258 if (sizeof ac_aggr.mt_gstat)
19259 return 0;
19261 return 0;
19263 _ACEOF
19264 rm -f conftest.$ac_objext
19265 if { (ac_try="$ac_compile"
19266 case "(($ac_try" in
19267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19268 *) ac_try_echo=$ac_try;;
19269 esac
19270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19271 (eval "$ac_compile") 2>conftest.er1
19272 ac_status=$?
19273 grep -v '^ *+' conftest.er1 >conftest.err
19274 rm -f conftest.er1
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } && {
19278 test -z "$ac_c_werror_flag" ||
19279 test ! -s conftest.err
19280 } && test -s conftest.$ac_objext; then
19281 ac_cv_member_struct_mtget_mt_gstat=yes
19282 else
19283 echo "$as_me: failed program was:" >&5
19284 sed 's/^/| /' conftest.$ac_ext >&5
19286 ac_cv_member_struct_mtget_mt_gstat=no
19289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19294 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19295 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19296 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19298 cat >>confdefs.h <<_ACEOF
19299 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19300 _ACEOF
19304 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19305 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19306 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19307 echo $ECHO_N "(cached) $ECHO_C" >&6
19308 else
19309 cat >conftest.$ac_ext <<_ACEOF
19310 /* confdefs.h. */
19311 _ACEOF
19312 cat confdefs.h >>conftest.$ac_ext
19313 cat >>conftest.$ac_ext <<_ACEOF
19314 /* end confdefs.h. */
19315 #include <sys/types.h>
19316 #ifdef HAVE_SYS_MTIO_H
19317 #include <sys/mtio.h>
19318 #endif
19321 main ()
19323 static struct mtget ac_aggr;
19324 if (ac_aggr.mt_blkno)
19325 return 0;
19327 return 0;
19329 _ACEOF
19330 rm -f conftest.$ac_objext
19331 if { (ac_try="$ac_compile"
19332 case "(($ac_try" in
19333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19334 *) ac_try_echo=$ac_try;;
19335 esac
19336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19337 (eval "$ac_compile") 2>conftest.er1
19338 ac_status=$?
19339 grep -v '^ *+' conftest.er1 >conftest.err
19340 rm -f conftest.er1
19341 cat conftest.err >&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); } && {
19344 test -z "$ac_c_werror_flag" ||
19345 test ! -s conftest.err
19346 } && test -s conftest.$ac_objext; then
19347 ac_cv_member_struct_mtget_mt_blkno=yes
19348 else
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 cat >conftest.$ac_ext <<_ACEOF
19353 /* confdefs.h. */
19354 _ACEOF
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 #include <sys/types.h>
19359 #ifdef HAVE_SYS_MTIO_H
19360 #include <sys/mtio.h>
19361 #endif
19364 main ()
19366 static struct mtget ac_aggr;
19367 if (sizeof ac_aggr.mt_blkno)
19368 return 0;
19370 return 0;
19372 _ACEOF
19373 rm -f conftest.$ac_objext
19374 if { (ac_try="$ac_compile"
19375 case "(($ac_try" in
19376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19377 *) ac_try_echo=$ac_try;;
19378 esac
19379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19380 (eval "$ac_compile") 2>conftest.er1
19381 ac_status=$?
19382 grep -v '^ *+' conftest.er1 >conftest.err
19383 rm -f conftest.er1
19384 cat conftest.err >&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } && {
19387 test -z "$ac_c_werror_flag" ||
19388 test ! -s conftest.err
19389 } && test -s conftest.$ac_objext; then
19390 ac_cv_member_struct_mtget_mt_blkno=yes
19391 else
19392 echo "$as_me: failed program was:" >&5
19393 sed 's/^/| /' conftest.$ac_ext >&5
19395 ac_cv_member_struct_mtget_mt_blkno=no
19398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19403 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19404 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19405 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19407 cat >>confdefs.h <<_ACEOF
19408 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19409 _ACEOF
19415 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19416 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19417 if test "${ac_cv_member_struct_option_name+set}" = set; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19419 else
19420 cat >conftest.$ac_ext <<_ACEOF
19421 /* confdefs.h. */
19422 _ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #ifdef HAVE_GETOPT_H
19427 #include <getopt.h>
19428 #endif
19431 main ()
19433 static struct option ac_aggr;
19434 if (ac_aggr.name)
19435 return 0;
19437 return 0;
19439 _ACEOF
19440 rm -f conftest.$ac_objext
19441 if { (ac_try="$ac_compile"
19442 case "(($ac_try" in
19443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19444 *) ac_try_echo=$ac_try;;
19445 esac
19446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19447 (eval "$ac_compile") 2>conftest.er1
19448 ac_status=$?
19449 grep -v '^ *+' conftest.er1 >conftest.err
19450 rm -f conftest.er1
19451 cat conftest.err >&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } && {
19454 test -z "$ac_c_werror_flag" ||
19455 test ! -s conftest.err
19456 } && test -s conftest.$ac_objext; then
19457 ac_cv_member_struct_option_name=yes
19458 else
19459 echo "$as_me: failed program was:" >&5
19460 sed 's/^/| /' conftest.$ac_ext >&5
19462 cat >conftest.$ac_ext <<_ACEOF
19463 /* confdefs.h. */
19464 _ACEOF
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #ifdef HAVE_GETOPT_H
19469 #include <getopt.h>
19470 #endif
19473 main ()
19475 static struct option ac_aggr;
19476 if (sizeof ac_aggr.name)
19477 return 0;
19479 return 0;
19481 _ACEOF
19482 rm -f conftest.$ac_objext
19483 if { (ac_try="$ac_compile"
19484 case "(($ac_try" in
19485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19486 *) ac_try_echo=$ac_try;;
19487 esac
19488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19489 (eval "$ac_compile") 2>conftest.er1
19490 ac_status=$?
19491 grep -v '^ *+' conftest.er1 >conftest.err
19492 rm -f conftest.er1
19493 cat conftest.err >&5
19494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19495 (exit $ac_status); } && {
19496 test -z "$ac_c_werror_flag" ||
19497 test ! -s conftest.err
19498 } && test -s conftest.$ac_objext; then
19499 ac_cv_member_struct_option_name=yes
19500 else
19501 echo "$as_me: failed program was:" >&5
19502 sed 's/^/| /' conftest.$ac_ext >&5
19504 ac_cv_member_struct_option_name=no
19507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19512 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19513 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19514 if test $ac_cv_member_struct_option_name = yes; then
19516 cat >>confdefs.h <<_ACEOF
19517 #define HAVE_STRUCT_OPTION_NAME 1
19518 _ACEOF
19524 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19525 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19526 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19527 echo $ECHO_N "(cached) $ECHO_C" >&6
19528 else
19529 cat >conftest.$ac_ext <<_ACEOF
19530 /* confdefs.h. */
19531 _ACEOF
19532 cat confdefs.h >>conftest.$ac_ext
19533 cat >>conftest.$ac_ext <<_ACEOF
19534 /* end confdefs.h. */
19535 $ac_includes_default
19537 main ()
19539 static struct stat ac_aggr;
19540 if (ac_aggr.st_blocks)
19541 return 0;
19543 return 0;
19545 _ACEOF
19546 rm -f conftest.$ac_objext
19547 if { (ac_try="$ac_compile"
19548 case "(($ac_try" in
19549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19550 *) ac_try_echo=$ac_try;;
19551 esac
19552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19553 (eval "$ac_compile") 2>conftest.er1
19554 ac_status=$?
19555 grep -v '^ *+' conftest.er1 >conftest.err
19556 rm -f conftest.er1
19557 cat conftest.err >&5
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); } && {
19560 test -z "$ac_c_werror_flag" ||
19561 test ! -s conftest.err
19562 } && test -s conftest.$ac_objext; then
19563 ac_cv_member_struct_stat_st_blocks=yes
19564 else
19565 echo "$as_me: failed program was:" >&5
19566 sed 's/^/| /' conftest.$ac_ext >&5
19568 cat >conftest.$ac_ext <<_ACEOF
19569 /* confdefs.h. */
19570 _ACEOF
19571 cat confdefs.h >>conftest.$ac_ext
19572 cat >>conftest.$ac_ext <<_ACEOF
19573 /* end confdefs.h. */
19574 $ac_includes_default
19576 main ()
19578 static struct stat ac_aggr;
19579 if (sizeof ac_aggr.st_blocks)
19580 return 0;
19582 return 0;
19584 _ACEOF
19585 rm -f conftest.$ac_objext
19586 if { (ac_try="$ac_compile"
19587 case "(($ac_try" in
19588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19589 *) ac_try_echo=$ac_try;;
19590 esac
19591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19592 (eval "$ac_compile") 2>conftest.er1
19593 ac_status=$?
19594 grep -v '^ *+' conftest.er1 >conftest.err
19595 rm -f conftest.er1
19596 cat conftest.err >&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } && {
19599 test -z "$ac_c_werror_flag" ||
19600 test ! -s conftest.err
19601 } && test -s conftest.$ac_objext; then
19602 ac_cv_member_struct_stat_st_blocks=yes
19603 else
19604 echo "$as_me: failed program was:" >&5
19605 sed 's/^/| /' conftest.$ac_ext >&5
19607 ac_cv_member_struct_stat_st_blocks=no
19610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19615 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19616 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19617 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19619 cat >>confdefs.h <<_ACEOF
19620 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19621 _ACEOF
19627 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19628 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19629 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19630 echo $ECHO_N "(cached) $ECHO_C" >&6
19631 else
19632 cat >conftest.$ac_ext <<_ACEOF
19633 /* confdefs.h. */
19634 _ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19638 #ifdef HAVE_SYS_TYPES_H
19639 #include <sys/types.h>
19640 #endif
19641 #ifdef HAVE_NETINET_IN_H
19642 #include <netinet/in.h>
19643 #endif
19646 main ()
19648 static struct sockaddr_in6 ac_aggr;
19649 if (ac_aggr.sin6_scope_id)
19650 return 0;
19652 return 0;
19654 _ACEOF
19655 rm -f conftest.$ac_objext
19656 if { (ac_try="$ac_compile"
19657 case "(($ac_try" in
19658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19659 *) ac_try_echo=$ac_try;;
19660 esac
19661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19662 (eval "$ac_compile") 2>conftest.er1
19663 ac_status=$?
19664 grep -v '^ *+' conftest.er1 >conftest.err
19665 rm -f conftest.er1
19666 cat conftest.err >&5
19667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19668 (exit $ac_status); } && {
19669 test -z "$ac_c_werror_flag" ||
19670 test ! -s conftest.err
19671 } && test -s conftest.$ac_objext; then
19672 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19673 else
19674 echo "$as_me: failed program was:" >&5
19675 sed 's/^/| /' conftest.$ac_ext >&5
19677 cat >conftest.$ac_ext <<_ACEOF
19678 /* confdefs.h. */
19679 _ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 #ifdef HAVE_SYS_TYPES_H
19684 #include <sys/types.h>
19685 #endif
19686 #ifdef HAVE_NETINET_IN_H
19687 #include <netinet/in.h>
19688 #endif
19691 main ()
19693 static struct sockaddr_in6 ac_aggr;
19694 if (sizeof ac_aggr.sin6_scope_id)
19695 return 0;
19697 return 0;
19699 _ACEOF
19700 rm -f conftest.$ac_objext
19701 if { (ac_try="$ac_compile"
19702 case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19705 esac
19706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_compile") 2>conftest.er1
19708 ac_status=$?
19709 grep -v '^ *+' conftest.er1 >conftest.err
19710 rm -f conftest.er1
19711 cat conftest.err >&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } && {
19714 test -z "$ac_c_werror_flag" ||
19715 test ! -s conftest.err
19716 } && test -s conftest.$ac_objext; then
19717 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19718 else
19719 echo "$as_me: failed program was:" >&5
19720 sed 's/^/| /' conftest.$ac_ext >&5
19722 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19730 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19731 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19732 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19734 cat >>confdefs.h <<_ACEOF
19735 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19736 _ACEOF
19742 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19743 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19744 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19745 echo $ECHO_N "(cached) $ECHO_C" >&6
19746 else
19747 cat >conftest.$ac_ext <<_ACEOF
19748 /* confdefs.h. */
19749 _ACEOF
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 #ifdef HAVE_SYS_TYPES_H
19754 #include <sys/types.h>
19755 #endif
19756 #ifdef HAVE_NETINET_IN_H
19757 # include <netinet/in.h>
19758 #endif
19759 #ifdef HAVE_ARPA_NAMESER_H
19760 # include <arpa/nameser.h>
19761 #endif
19764 main ()
19766 static ns_msg ac_aggr;
19767 if (ac_aggr._msg_ptr)
19768 return 0;
19770 return 0;
19772 _ACEOF
19773 rm -f conftest.$ac_objext
19774 if { (ac_try="$ac_compile"
19775 case "(($ac_try" in
19776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19777 *) ac_try_echo=$ac_try;;
19778 esac
19779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19780 (eval "$ac_compile") 2>conftest.er1
19781 ac_status=$?
19782 grep -v '^ *+' conftest.er1 >conftest.err
19783 rm -f conftest.er1
19784 cat conftest.err >&5
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); } && {
19787 test -z "$ac_c_werror_flag" ||
19788 test ! -s conftest.err
19789 } && test -s conftest.$ac_objext; then
19790 ac_cv_member_ns_msg__msg_ptr=yes
19791 else
19792 echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19795 cat >conftest.$ac_ext <<_ACEOF
19796 /* confdefs.h. */
19797 _ACEOF
19798 cat confdefs.h >>conftest.$ac_ext
19799 cat >>conftest.$ac_ext <<_ACEOF
19800 /* end confdefs.h. */
19801 #ifdef HAVE_SYS_TYPES_H
19802 #include <sys/types.h>
19803 #endif
19804 #ifdef HAVE_NETINET_IN_H
19805 # include <netinet/in.h>
19806 #endif
19807 #ifdef HAVE_ARPA_NAMESER_H
19808 # include <arpa/nameser.h>
19809 #endif
19812 main ()
19814 static ns_msg ac_aggr;
19815 if (sizeof ac_aggr._msg_ptr)
19816 return 0;
19818 return 0;
19820 _ACEOF
19821 rm -f conftest.$ac_objext
19822 if { (ac_try="$ac_compile"
19823 case "(($ac_try" in
19824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19825 *) ac_try_echo=$ac_try;;
19826 esac
19827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19828 (eval "$ac_compile") 2>conftest.er1
19829 ac_status=$?
19830 grep -v '^ *+' conftest.er1 >conftest.err
19831 rm -f conftest.er1
19832 cat conftest.err >&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); } && {
19835 test -z "$ac_c_werror_flag" ||
19836 test ! -s conftest.err
19837 } && test -s conftest.$ac_objext; then
19838 ac_cv_member_ns_msg__msg_ptr=yes
19839 else
19840 echo "$as_me: failed program was:" >&5
19841 sed 's/^/| /' conftest.$ac_ext >&5
19843 ac_cv_member_ns_msg__msg_ptr=no
19846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19851 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19852 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19853 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19855 cat >>confdefs.h <<_ACEOF
19856 #define HAVE_NS_MSG__MSG_PTR 1
19857 _ACEOF
19863 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19864 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19865 if test "${ac_cv_have_timezone+set}" = set; then
19866 echo $ECHO_N "(cached) $ECHO_C" >&6
19867 else
19868 cat >conftest.$ac_ext <<_ACEOF
19869 /* confdefs.h. */
19870 _ACEOF
19871 cat confdefs.h >>conftest.$ac_ext
19872 cat >>conftest.$ac_ext <<_ACEOF
19873 /* end confdefs.h. */
19874 #include <time.h>
19876 main ()
19878 timezone = 1
19880 return 0;
19882 _ACEOF
19883 rm -f conftest.$ac_objext conftest$ac_exeext
19884 if { (ac_try="$ac_link"
19885 case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19888 esac
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_link") 2>conftest.er1
19891 ac_status=$?
19892 grep -v '^ *+' conftest.er1 >conftest.err
19893 rm -f conftest.er1
19894 cat conftest.err >&5
19895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19896 (exit $ac_status); } && {
19897 test -z "$ac_c_werror_flag" ||
19898 test ! -s conftest.err
19899 } && test -s conftest$ac_exeext &&
19900 $as_test_x conftest$ac_exeext; then
19901 ac_cv_have_timezone="yes"
19902 else
19903 echo "$as_me: failed program was:" >&5
19904 sed 's/^/| /' conftest.$ac_ext >&5
19906 ac_cv_have_timezone="no"
19909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19910 conftest$ac_exeext conftest.$ac_ext
19912 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19913 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19914 if test "$ac_cv_have_timezone" = "yes"
19915 then
19917 cat >>confdefs.h <<\_ACEOF
19918 #define HAVE_TIMEZONE 1
19919 _ACEOF
19922 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19923 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19924 if test "${ac_cv_have_daylight+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19926 else
19927 cat >conftest.$ac_ext <<_ACEOF
19928 /* confdefs.h. */
19929 _ACEOF
19930 cat confdefs.h >>conftest.$ac_ext
19931 cat >>conftest.$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19933 #include <time.h>
19935 main ()
19937 daylight = 1
19939 return 0;
19941 _ACEOF
19942 rm -f conftest.$ac_objext conftest$ac_exeext
19943 if { (ac_try="$ac_link"
19944 case "(($ac_try" in
19945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19946 *) ac_try_echo=$ac_try;;
19947 esac
19948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19949 (eval "$ac_link") 2>conftest.er1
19950 ac_status=$?
19951 grep -v '^ *+' conftest.er1 >conftest.err
19952 rm -f conftest.er1
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } && {
19956 test -z "$ac_c_werror_flag" ||
19957 test ! -s conftest.err
19958 } && test -s conftest$ac_exeext &&
19959 $as_test_x conftest$ac_exeext; then
19960 ac_cv_have_daylight="yes"
19961 else
19962 echo "$as_me: failed program was:" >&5
19963 sed 's/^/| /' conftest.$ac_ext >&5
19965 ac_cv_have_daylight="no"
19968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19969 conftest$ac_exeext conftest.$ac_ext
19971 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19972 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19973 if test "$ac_cv_have_daylight" = "yes"
19974 then
19976 cat >>confdefs.h <<\_ACEOF
19977 #define HAVE_DAYLIGHT 1
19978 _ACEOF
19983 case $host_cpu in
19984 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19985 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19986 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19987 echo $ECHO_N "(cached) $ECHO_C" >&6
19988 else
19989 cat >conftest.$ac_ext <<_ACEOF
19990 /* confdefs.h. */
19991 _ACEOF
19992 cat confdefs.h >>conftest.$ac_ext
19993 cat >>conftest.$ac_ext <<_ACEOF
19994 /* end confdefs.h. */
19995 #ifndef __i386__
19997 #endif
19998 _ACEOF
19999 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20000 $EGREP "yes" >/dev/null 2>&1; then
20001 ac_cv_cpp_def___i386__=yes
20002 else
20003 ac_cv_cpp_def___i386__=no
20005 rm -f conftest*
20008 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20009 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20010 if test $ac_cv_cpp_def___i386__ = yes; then
20011 CFLAGS="$CFLAGS -D__i386__"
20012 LINTFLAGS="$LINTFLAGS -D__i386__"
20015 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20016 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20017 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20018 echo $ECHO_N "(cached) $ECHO_C" >&6
20019 else
20020 cat >conftest.$ac_ext <<_ACEOF
20021 /* confdefs.h. */
20022 _ACEOF
20023 cat confdefs.h >>conftest.$ac_ext
20024 cat >>conftest.$ac_ext <<_ACEOF
20025 /* end confdefs.h. */
20026 #ifndef __x86_64__
20028 #endif
20029 _ACEOF
20030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20031 $EGREP "yes" >/dev/null 2>&1; then
20032 ac_cv_cpp_def___x86_64__=yes
20033 else
20034 ac_cv_cpp_def___x86_64__=no
20036 rm -f conftest*
20039 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20040 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20041 if test $ac_cv_cpp_def___x86_64__ = yes; then
20042 CFLAGS="$CFLAGS -D__x86_64__"
20043 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20046 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20047 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20048 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20049 echo $ECHO_N "(cached) $ECHO_C" >&6
20050 else
20051 cat >conftest.$ac_ext <<_ACEOF
20052 /* confdefs.h. */
20053 _ACEOF
20054 cat confdefs.h >>conftest.$ac_ext
20055 cat >>conftest.$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20057 #ifndef __ALPHA__
20059 #endif
20060 _ACEOF
20061 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20062 $EGREP "yes" >/dev/null 2>&1; then
20063 ac_cv_cpp_def___ALPHA__=yes
20064 else
20065 ac_cv_cpp_def___ALPHA__=no
20067 rm -f conftest*
20070 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20071 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20072 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20073 CFLAGS="$CFLAGS -D__ALPHA__"
20074 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20077 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20078 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20079 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20080 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 else
20082 cat >conftest.$ac_ext <<_ACEOF
20083 /* confdefs.h. */
20084 _ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 #ifndef __sparc__
20090 #endif
20091 _ACEOF
20092 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20093 $EGREP "yes" >/dev/null 2>&1; then
20094 ac_cv_cpp_def___sparc__=yes
20095 else
20096 ac_cv_cpp_def___sparc__=no
20098 rm -f conftest*
20101 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20102 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20103 if test $ac_cv_cpp_def___sparc__ = yes; then
20104 CFLAGS="$CFLAGS -D__sparc__"
20105 LINTFLAGS="$LINTFLAGS -D__sparc__"
20108 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20109 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20110 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20111 echo $ECHO_N "(cached) $ECHO_C" >&6
20112 else
20113 cat >conftest.$ac_ext <<_ACEOF
20114 /* confdefs.h. */
20115 _ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 #ifndef __powerpc__
20121 #endif
20122 _ACEOF
20123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20124 $EGREP "yes" >/dev/null 2>&1; then
20125 ac_cv_cpp_def___powerpc__=yes
20126 else
20127 ac_cv_cpp_def___powerpc__=no
20129 rm -f conftest*
20132 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20133 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20134 if test $ac_cv_cpp_def___powerpc__ = yes; then
20135 CFLAGS="$CFLAGS -D__powerpc__"
20136 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20139 esac
20141 case $host_vendor in
20142 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20143 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20144 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20145 echo $ECHO_N "(cached) $ECHO_C" >&6
20146 else
20147 cat >conftest.$ac_ext <<_ACEOF
20148 /* confdefs.h. */
20149 _ACEOF
20150 cat confdefs.h >>conftest.$ac_ext
20151 cat >>conftest.$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20153 #ifndef __sun__
20155 #endif
20156 _ACEOF
20157 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20158 $EGREP "yes" >/dev/null 2>&1; then
20159 ac_cv_cpp_def___sun__=yes
20160 else
20161 ac_cv_cpp_def___sun__=no
20163 rm -f conftest*
20166 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20167 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20168 if test $ac_cv_cpp_def___sun__ = yes; then
20169 CFLAGS="$CFLAGS -D__sun__"
20170 LINTFLAGS="$LINTFLAGS -D__sun__"
20173 esac
20176 DEPENDENCIES="### Dependencies:
20178 .INIT: Makefile
20179 .BEGIN: Makefile
20180 Makefile: dummy
20181 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20183 \$(OBJS): \$(IDL_GEN_HEADERS)
20184 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20185 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20186 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20192 ac_config_commands="$ac_config_commands include/stamp-h"
20195 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20197 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20199 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20201 ac_config_commands="$ac_config_commands dlls/user32/resources"
20203 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20205 ac_config_commands="$ac_config_commands include/wine"
20208 MAKE_RULES=Make.rules
20211 MAKE_DLL_RULES=dlls/Makedll.rules
20214 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20217 MAKE_TEST_RULES=dlls/Maketest.rules
20220 MAKE_PROG_RULES=programs/Makeprog.rules
20223 ac_config_files="$ac_config_files Make.rules"
20225 ac_config_files="$ac_config_files dlls/Makedll.rules"
20227 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20229 ac_config_files="$ac_config_files dlls/Maketest.rules"
20231 ac_config_files="$ac_config_files programs/Makeprog.rules"
20233 ac_config_files="$ac_config_files Makefile"
20235 ac_config_files="$ac_config_files dlls/Makefile"
20237 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20239 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20241 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20243 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20245 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20247 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20249 ac_config_files="$ac_config_files dlls/atl/Makefile"
20251 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20253 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20255 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20257 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20259 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20261 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20263 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20265 ac_config_files="$ac_config_files dlls/cards/Makefile"
20267 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20269 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20271 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20273 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20275 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20277 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20279 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20281 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20283 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20285 ac_config_files="$ac_config_files dlls/credui/Makefile"
20287 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20289 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20291 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20293 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20295 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20297 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20299 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20301 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20303 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20305 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20307 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20309 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20311 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20313 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20315 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20317 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20319 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20321 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20323 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20325 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20327 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20329 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20331 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20333 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20335 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20337 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20339 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20341 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20343 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20345 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20347 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20349 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20351 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20353 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20355 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20357 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20359 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20361 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20363 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20365 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20367 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20369 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20371 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20373 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20375 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20377 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20379 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20381 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20383 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20385 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20387 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20389 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20391 ac_config_files="$ac_config_files dlls/hid/Makefile"
20393 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20395 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20397 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20399 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20401 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20403 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20405 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20407 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20409 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20411 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20413 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20415 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20417 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20419 ac_config_files="$ac_config_files dlls/itss/Makefile"
20421 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20423 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20425 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20427 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20429 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20431 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20433 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20435 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20437 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20439 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20441 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20443 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20445 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20447 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20449 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20451 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20453 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20455 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20457 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20459 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20461 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20463 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20465 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20467 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20469 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20471 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20473 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20475 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20477 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20479 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20481 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20483 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20485 ac_config_files="$ac_config_files dlls/msi/Makefile"
20487 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20489 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20491 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20493 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20495 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20497 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20499 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20501 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20503 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20505 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20507 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20509 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20511 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20513 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20515 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20517 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20519 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20521 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20523 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20525 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20527 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20529 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20531 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20533 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20535 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20537 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20539 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20543 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20545 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20547 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20549 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20551 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20553 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20555 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20557 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20559 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20561 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20563 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20565 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20567 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20569 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20571 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20573 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20575 ac_config_files="$ac_config_files dlls/query/Makefile"
20577 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20579 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20581 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20583 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20585 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20587 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20589 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20591 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20593 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20597 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20599 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20601 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20603 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20605 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20607 ac_config_files="$ac_config_files dlls/security/Makefile"
20609 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20611 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20613 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20615 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20617 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20621 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20623 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20625 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20627 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20629 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20631 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20633 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20635 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20637 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20639 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20641 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20645 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20647 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20649 ac_config_files="$ac_config_files dlls/sti/Makefile"
20651 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20653 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20655 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20657 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20659 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20661 ac_config_files="$ac_config_files dlls/url/Makefile"
20663 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20665 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20667 ac_config_files="$ac_config_files dlls/user32/Makefile"
20669 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20671 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20673 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20675 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20677 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20679 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20681 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20685 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20687 ac_config_files="$ac_config_files dlls/version/Makefile"
20689 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20691 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20693 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20695 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20697 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20699 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20701 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20703 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20705 ac_config_files="$ac_config_files dlls/winearts.drv/Makefile"
20707 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20709 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20711 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20713 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20715 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20717 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20719 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20721 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20723 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20725 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20727 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20729 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20731 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20733 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20735 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20737 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20739 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20741 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20743 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20747 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20749 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20751 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20753 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20755 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20757 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20759 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20761 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20763 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20765 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20767 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20769 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20771 ac_config_files="$ac_config_files documentation/Makefile"
20773 ac_config_files="$ac_config_files fonts/Makefile"
20775 ac_config_files="$ac_config_files include/Makefile"
20777 ac_config_files="$ac_config_files libs/Makefile"
20779 ac_config_files="$ac_config_files libs/port/Makefile"
20781 ac_config_files="$ac_config_files libs/wine/Makefile"
20783 ac_config_files="$ac_config_files libs/wpp/Makefile"
20785 ac_config_files="$ac_config_files loader/Makefile"
20787 ac_config_files="$ac_config_files programs/Makefile"
20789 ac_config_files="$ac_config_files programs/clock/Makefile"
20791 ac_config_files="$ac_config_files programs/cmd/Makefile"
20793 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20795 ac_config_files="$ac_config_files programs/control/Makefile"
20797 ac_config_files="$ac_config_files programs/eject/Makefile"
20799 ac_config_files="$ac_config_files programs/expand/Makefile"
20801 ac_config_files="$ac_config_files programs/explorer/Makefile"
20803 ac_config_files="$ac_config_files programs/hh/Makefile"
20805 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20807 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20809 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20811 ac_config_files="$ac_config_files programs/notepad/Makefile"
20813 ac_config_files="$ac_config_files programs/oleview/Makefile"
20815 ac_config_files="$ac_config_files programs/progman/Makefile"
20817 ac_config_files="$ac_config_files programs/regedit/Makefile"
20819 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20821 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20823 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20825 ac_config_files="$ac_config_files programs/start/Makefile"
20827 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20829 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20831 ac_config_files="$ac_config_files programs/view/Makefile"
20833 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20835 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20837 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20839 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20841 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20843 ac_config_files="$ac_config_files programs/winefile/Makefile"
20845 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20847 ac_config_files="$ac_config_files programs/winemine/Makefile"
20849 ac_config_files="$ac_config_files programs/winepath/Makefile"
20851 ac_config_files="$ac_config_files programs/winetest/Makefile"
20853 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20855 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20857 ac_config_files="$ac_config_files programs/winver/Makefile"
20859 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20861 ac_config_files="$ac_config_files server/Makefile"
20863 ac_config_files="$ac_config_files tools/Makefile"
20865 ac_config_files="$ac_config_files tools/widl/Makefile"
20867 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20869 ac_config_files="$ac_config_files tools/winedump/Makefile"
20871 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20873 ac_config_files="$ac_config_files tools/wmc/Makefile"
20875 ac_config_files="$ac_config_files tools/wrc/Makefile"
20878 cat >confcache <<\_ACEOF
20879 # This file is a shell script that caches the results of configure
20880 # tests run on this system so they can be shared between configure
20881 # scripts and configure runs, see configure's option --config-cache.
20882 # It is not useful on other systems. If it contains results you don't
20883 # want to keep, you may remove or edit it.
20885 # config.status only pays attention to the cache file if you give it
20886 # the --recheck option to rerun configure.
20888 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20889 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20890 # following values.
20892 _ACEOF
20894 # The following way of writing the cache mishandles newlines in values,
20895 # but we know of no workaround that is simple, portable, and efficient.
20896 # So, we kill variables containing newlines.
20897 # Ultrix sh set writes to stderr and can't be redirected directly,
20898 # and sets the high bit in the cache file unless we assign to the vars.
20900 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20901 eval ac_val=\$$ac_var
20902 case $ac_val in #(
20903 *${as_nl}*)
20904 case $ac_var in #(
20905 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20906 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20907 esac
20908 case $ac_var in #(
20909 _ | IFS | as_nl) ;; #(
20910 *) $as_unset $ac_var ;;
20911 esac ;;
20912 esac
20913 done
20915 (set) 2>&1 |
20916 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20917 *${as_nl}ac_space=\ *)
20918 # `set' does not quote correctly, so add quotes (double-quote
20919 # substitution turns \\\\ into \\, and sed turns \\ into \).
20920 sed -n \
20921 "s/'/'\\\\''/g;
20922 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20923 ;; #(
20925 # `set' quotes correctly as required by POSIX, so do not add quotes.
20926 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20928 esac |
20929 sort
20931 sed '
20932 /^ac_cv_env_/b end
20933 t clear
20934 :clear
20935 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20936 t end
20937 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20938 :end' >>confcache
20939 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20940 if test -w "$cache_file"; then
20941 test "x$cache_file" != "x/dev/null" &&
20942 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20943 echo "$as_me: updating cache $cache_file" >&6;}
20944 cat confcache >$cache_file
20945 else
20946 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20947 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20950 rm -f confcache
20952 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20953 # Let make expand exec_prefix.
20954 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20956 DEFS=-DHAVE_CONFIG_H
20958 ac_libobjs=
20959 ac_ltlibobjs=
20960 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20961 # 1. Remove the extension, and $U if already installed.
20962 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20963 ac_i=`echo "$ac_i" | sed "$ac_script"`
20964 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20965 # will be set to the directory where LIBOBJS objects are built.
20966 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20967 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20968 done
20969 LIBOBJS=$ac_libobjs
20971 LTLIBOBJS=$ac_ltlibobjs
20975 : ${CONFIG_STATUS=./config.status}
20976 ac_clean_files_save=$ac_clean_files
20977 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20978 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20979 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20980 cat >$CONFIG_STATUS <<_ACEOF
20981 #! $SHELL
20982 # Generated by $as_me.
20983 # Run this file to recreate the current configuration.
20984 # Compiler output produced by configure, useful for debugging
20985 # configure, is in config.log if it exists.
20987 debug=false
20988 ac_cs_recheck=false
20989 ac_cs_silent=false
20990 SHELL=\${CONFIG_SHELL-$SHELL}
20991 _ACEOF
20993 cat >>$CONFIG_STATUS <<\_ACEOF
20994 ## --------------------- ##
20995 ## M4sh Initialization. ##
20996 ## --------------------- ##
20998 # Be more Bourne compatible
20999 DUALCASE=1; export DUALCASE # for MKS sh
21000 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21001 emulate sh
21002 NULLCMD=:
21003 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21004 # is contrary to our usage. Disable this feature.
21005 alias -g '${1+"$@"}'='"$@"'
21006 setopt NO_GLOB_SUBST
21007 else
21008 case `(set -o) 2>/dev/null` in
21009 *posix*) set -o posix ;;
21010 esac
21017 # PATH needs CR
21018 # Avoid depending upon Character Ranges.
21019 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21020 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21021 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21022 as_cr_digits='0123456789'
21023 as_cr_alnum=$as_cr_Letters$as_cr_digits
21025 # The user is always right.
21026 if test "${PATH_SEPARATOR+set}" != set; then
21027 echo "#! /bin/sh" >conf$$.sh
21028 echo "exit 0" >>conf$$.sh
21029 chmod +x conf$$.sh
21030 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21031 PATH_SEPARATOR=';'
21032 else
21033 PATH_SEPARATOR=:
21035 rm -f conf$$.sh
21038 # Support unset when possible.
21039 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21040 as_unset=unset
21041 else
21042 as_unset=false
21046 # IFS
21047 # We need space, tab and new line, in precisely that order. Quoting is
21048 # there to prevent editors from complaining about space-tab.
21049 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21050 # splitting by setting IFS to empty value.)
21051 as_nl='
21053 IFS=" "" $as_nl"
21055 # Find who we are. Look in the path if we contain no directory separator.
21056 case $0 in
21057 *[\\/]* ) as_myself=$0 ;;
21058 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21059 for as_dir in $PATH
21061 IFS=$as_save_IFS
21062 test -z "$as_dir" && as_dir=.
21063 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21064 done
21065 IFS=$as_save_IFS
21068 esac
21069 # We did not find ourselves, most probably we were run as `sh COMMAND'
21070 # in which case we are not to be found in the path.
21071 if test "x$as_myself" = x; then
21072 as_myself=$0
21074 if test ! -f "$as_myself"; then
21075 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21076 { (exit 1); exit 1; }
21079 # Work around bugs in pre-3.0 UWIN ksh.
21080 for as_var in ENV MAIL MAILPATH
21081 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21082 done
21083 PS1='$ '
21084 PS2='> '
21085 PS4='+ '
21087 # NLS nuisances.
21088 for as_var in \
21089 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21090 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21091 LC_TELEPHONE LC_TIME
21093 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21094 eval $as_var=C; export $as_var
21095 else
21096 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21098 done
21100 # Required to use basename.
21101 if expr a : '\(a\)' >/dev/null 2>&1 &&
21102 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21103 as_expr=expr
21104 else
21105 as_expr=false
21108 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21109 as_basename=basename
21110 else
21111 as_basename=false
21115 # Name of the executable.
21116 as_me=`$as_basename -- "$0" ||
21117 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21118 X"$0" : 'X\(//\)$' \| \
21119 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21120 echo X/"$0" |
21121 sed '/^.*\/\([^/][^/]*\)\/*$/{
21122 s//\1/
21125 /^X\/\(\/\/\)$/{
21126 s//\1/
21129 /^X\/\(\/\).*/{
21130 s//\1/
21133 s/.*/./; q'`
21135 # CDPATH.
21136 $as_unset CDPATH
21140 as_lineno_1=$LINENO
21141 as_lineno_2=$LINENO
21142 test "x$as_lineno_1" != "x$as_lineno_2" &&
21143 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21145 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21146 # uniformly replaced by the line number. The first 'sed' inserts a
21147 # line-number line after each line using $LINENO; the second 'sed'
21148 # does the real work. The second script uses 'N' to pair each
21149 # line-number line with the line containing $LINENO, and appends
21150 # trailing '-' during substitution so that $LINENO is not a special
21151 # case at line end.
21152 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21153 # scripts with optimization help from Paolo Bonzini. Blame Lee
21154 # E. McMahon (1931-1989) for sed's syntax. :-)
21155 sed -n '
21157 /[$]LINENO/=
21158 ' <$as_myself |
21159 sed '
21160 s/[$]LINENO.*/&-/
21161 t lineno
21163 :lineno
21165 :loop
21166 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21167 t loop
21168 s/-\n.*//
21169 ' >$as_me.lineno &&
21170 chmod +x "$as_me.lineno" ||
21171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21172 { (exit 1); exit 1; }; }
21174 # Don't try to exec as it changes $[0], causing all sort of problems
21175 # (the dirname of $[0] is not the place where we might find the
21176 # original and so on. Autoconf is especially sensitive to this).
21177 . "./$as_me.lineno"
21178 # Exit status is that of the last command.
21179 exit
21183 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21184 as_dirname=dirname
21185 else
21186 as_dirname=false
21189 ECHO_C= ECHO_N= ECHO_T=
21190 case `echo -n x` in
21191 -n*)
21192 case `echo 'x\c'` in
21193 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21194 *) ECHO_C='\c';;
21195 esac;;
21197 ECHO_N='-n';;
21198 esac
21200 if expr a : '\(a\)' >/dev/null 2>&1 &&
21201 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21202 as_expr=expr
21203 else
21204 as_expr=false
21207 rm -f conf$$ conf$$.exe conf$$.file
21208 if test -d conf$$.dir; then
21209 rm -f conf$$.dir/conf$$.file
21210 else
21211 rm -f conf$$.dir
21212 mkdir conf$$.dir
21214 echo >conf$$.file
21215 if ln -s conf$$.file conf$$ 2>/dev/null; then
21216 as_ln_s='ln -s'
21217 # ... but there are two gotchas:
21218 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21219 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21220 # In both cases, we have to default to `cp -p'.
21221 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21222 as_ln_s='cp -p'
21223 elif ln conf$$.file conf$$ 2>/dev/null; then
21224 as_ln_s=ln
21225 else
21226 as_ln_s='cp -p'
21228 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21229 rmdir conf$$.dir 2>/dev/null
21231 if mkdir -p . 2>/dev/null; then
21232 as_mkdir_p=:
21233 else
21234 test -d ./-p && rmdir ./-p
21235 as_mkdir_p=false
21238 if test -x / >/dev/null 2>&1; then
21239 as_test_x='test -x'
21240 else
21241 if ls -dL / >/dev/null 2>&1; then
21242 as_ls_L_option=L
21243 else
21244 as_ls_L_option=
21246 as_test_x='
21247 eval sh -c '\''
21248 if test -d "$1"; then
21249 test -d "$1/.";
21250 else
21251 case $1 in
21252 -*)set "./$1";;
21253 esac;
21254 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21255 ???[sx]*):;;*)false;;esac;fi
21256 '\'' sh
21259 as_executable_p=$as_test_x
21261 # Sed expression to map a string onto a valid CPP name.
21262 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21264 # Sed expression to map a string onto a valid variable name.
21265 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21268 exec 6>&1
21270 # Save the log message, to keep $[0] and so on meaningful, and to
21271 # report actual input values of CONFIG_FILES etc. instead of their
21272 # values after options handling.
21273 ac_log="
21274 This file was extended by Wine $as_me 0.9.32, which was
21275 generated by GNU Autoconf 2.61. Invocation command line was
21277 CONFIG_FILES = $CONFIG_FILES
21278 CONFIG_HEADERS = $CONFIG_HEADERS
21279 CONFIG_LINKS = $CONFIG_LINKS
21280 CONFIG_COMMANDS = $CONFIG_COMMANDS
21281 $ $0 $@
21283 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21286 _ACEOF
21288 cat >>$CONFIG_STATUS <<_ACEOF
21289 # Files that config.status was made for.
21290 config_files="$ac_config_files"
21291 config_headers="$ac_config_headers"
21292 config_commands="$ac_config_commands"
21294 _ACEOF
21296 cat >>$CONFIG_STATUS <<\_ACEOF
21297 ac_cs_usage="\
21298 \`$as_me' instantiates files from templates according to the
21299 current configuration.
21301 Usage: $0 [OPTIONS] [FILE]...
21303 -h, --help print this help, then exit
21304 -V, --version print version number and configuration settings, then exit
21305 -q, --quiet do not print progress messages
21306 -d, --debug don't remove temporary files
21307 --recheck update $as_me by reconfiguring in the same conditions
21308 --file=FILE[:TEMPLATE]
21309 instantiate the configuration file FILE
21310 --header=FILE[:TEMPLATE]
21311 instantiate the configuration header FILE
21313 Configuration files:
21314 $config_files
21316 Configuration headers:
21317 $config_headers
21319 Configuration commands:
21320 $config_commands
21322 Report bugs to <bug-autoconf@gnu.org>."
21324 _ACEOF
21325 cat >>$CONFIG_STATUS <<_ACEOF
21326 ac_cs_version="\\
21327 Wine config.status 0.9.32
21328 configured by $0, generated by GNU Autoconf 2.61,
21329 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21331 Copyright (C) 2006 Free Software Foundation, Inc.
21332 This config.status script is free software; the Free Software Foundation
21333 gives unlimited permission to copy, distribute and modify it."
21335 ac_pwd='$ac_pwd'
21336 srcdir='$srcdir'
21337 INSTALL='$INSTALL'
21338 _ACEOF
21340 cat >>$CONFIG_STATUS <<\_ACEOF
21341 # If no file are specified by the user, then we need to provide default
21342 # value. By we need to know if files were specified by the user.
21343 ac_need_defaults=:
21344 while test $# != 0
21346 case $1 in
21347 --*=*)
21348 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21349 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21350 ac_shift=:
21353 ac_option=$1
21354 ac_optarg=$2
21355 ac_shift=shift
21357 esac
21359 case $ac_option in
21360 # Handling of the options.
21361 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21362 ac_cs_recheck=: ;;
21363 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21364 echo "$ac_cs_version"; exit ;;
21365 --debug | --debu | --deb | --de | --d | -d )
21366 debug=: ;;
21367 --file | --fil | --fi | --f )
21368 $ac_shift
21369 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21370 ac_need_defaults=false;;
21371 --header | --heade | --head | --hea )
21372 $ac_shift
21373 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21374 ac_need_defaults=false;;
21375 --he | --h)
21376 # Conflict between --help and --header
21377 { echo "$as_me: error: ambiguous option: $1
21378 Try \`$0 --help' for more information." >&2
21379 { (exit 1); exit 1; }; };;
21380 --help | --hel | -h )
21381 echo "$ac_cs_usage"; exit ;;
21382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21383 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21384 ac_cs_silent=: ;;
21386 # This is an error.
21387 -*) { echo "$as_me: error: unrecognized option: $1
21388 Try \`$0 --help' for more information." >&2
21389 { (exit 1); exit 1; }; } ;;
21391 *) ac_config_targets="$ac_config_targets $1"
21392 ac_need_defaults=false ;;
21394 esac
21395 shift
21396 done
21398 ac_configure_extra_args=
21400 if $ac_cs_silent; then
21401 exec 6>/dev/null
21402 ac_configure_extra_args="$ac_configure_extra_args --silent"
21405 _ACEOF
21406 cat >>$CONFIG_STATUS <<_ACEOF
21407 if \$ac_cs_recheck; then
21408 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21409 CONFIG_SHELL=$SHELL
21410 export CONFIG_SHELL
21411 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21414 _ACEOF
21415 cat >>$CONFIG_STATUS <<\_ACEOF
21416 exec 5>>config.log
21418 echo
21419 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21420 ## Running $as_me. ##
21421 _ASBOX
21422 echo "$ac_log"
21423 } >&5
21425 _ACEOF
21426 cat >>$CONFIG_STATUS <<_ACEOF
21427 _ACEOF
21429 cat >>$CONFIG_STATUS <<\_ACEOF
21431 # Handling of arguments.
21432 for ac_config_target in $ac_config_targets
21434 case $ac_config_target in
21435 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21436 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21437 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21438 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21439 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21440 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21441 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21442 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21443 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21444 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21445 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21446 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21447 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21448 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21449 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21450 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21451 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21452 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21453 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21454 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21455 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21456 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21457 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21458 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21459 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21460 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21461 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21462 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21463 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21464 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21465 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21466 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21467 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21468 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21469 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21470 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21471 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21472 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21473 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21474 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21475 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21476 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21477 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21478 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21479 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21480 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21481 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21482 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21483 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21484 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21485 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21486 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21487 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21488 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21489 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21490 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21491 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21492 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21493 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21494 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21495 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21496 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21497 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21498 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21499 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21500 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21501 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21502 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21503 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21504 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21505 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21506 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21507 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21508 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21509 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21510 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21511 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21512 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21513 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21514 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21515 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21516 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21517 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21518 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21519 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21520 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21521 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21522 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21523 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21524 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21525 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21526 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21527 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21528 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21529 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21530 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21531 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21532 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21533 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21534 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21535 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21536 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21537 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21538 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21539 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21540 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21541 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21542 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21543 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21544 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21545 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21546 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21547 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21548 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21549 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21550 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21551 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21552 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21553 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21554 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21555 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21556 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21557 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21558 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21559 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21560 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21561 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21562 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21563 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21564 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21565 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21566 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21567 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21568 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21569 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21570 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21571 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21572 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21573 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21574 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21575 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21576 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21577 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21578 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21579 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21580 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21581 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21582 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21583 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21584 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21585 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21586 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21587 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21588 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21589 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21590 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21591 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21592 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21593 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21594 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21595 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21596 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21597 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21598 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21599 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21600 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21601 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21602 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21603 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21604 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21605 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21606 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21607 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21608 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21609 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21610 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21611 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21612 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21613 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21614 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21615 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21616 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21617 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21618 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21619 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21620 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21621 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21622 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21623 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21624 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21625 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21626 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21627 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21628 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21629 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21630 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21631 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21632 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21633 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21634 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21635 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21636 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21637 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21638 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21639 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21640 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21641 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21642 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21643 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21644 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21645 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21646 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21647 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21648 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21649 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21650 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21651 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21652 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21653 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21654 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21655 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21656 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21657 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21658 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21659 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21660 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21661 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21662 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21663 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21664 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21665 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21666 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21667 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21668 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21669 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21670 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21671 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21672 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21673 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21674 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21675 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21676 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21677 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21678 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21679 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21680 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21681 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21682 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21683 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21684 "dlls/winearts.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21685 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21686 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21687 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21688 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21689 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21690 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21691 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21692 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21693 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21694 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21695 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21696 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21697 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21698 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21699 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21700 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21701 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21702 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21703 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21704 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21705 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21706 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21707 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21708 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21709 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21710 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21711 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21712 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21713 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21714 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21715 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21716 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21717 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21718 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21719 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21720 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21721 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21722 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21723 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21724 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21725 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21726 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21727 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21728 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21729 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21730 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21731 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21732 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21733 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21734 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21735 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21736 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21737 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21738 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21739 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21740 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21741 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21742 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21743 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21744 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21745 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21746 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21747 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21748 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21749 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21750 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21751 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21752 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21753 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21754 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21755 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21756 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21757 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21758 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21759 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21760 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21761 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21762 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21763 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21764 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21765 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21766 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21767 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21768 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21769 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21771 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21772 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21773 { (exit 1); exit 1; }; };;
21774 esac
21775 done
21778 # If the user did not use the arguments to specify the items to instantiate,
21779 # then the envvar interface is used. Set only those that are not.
21780 # We use the long form for the default assignment because of an extremely
21781 # bizarre bug on SunOS 4.1.3.
21782 if $ac_need_defaults; then
21783 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21784 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21785 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21788 # Have a temporary directory for convenience. Make it in the build tree
21789 # simply because there is no reason against having it here, and in addition,
21790 # creating and moving files from /tmp can sometimes cause problems.
21791 # Hook for its removal unless debugging.
21792 # Note that there is a small window in which the directory will not be cleaned:
21793 # after its creation but before its name has been assigned to `$tmp'.
21794 $debug ||
21796 tmp=
21797 trap 'exit_status=$?
21798 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21800 trap '{ (exit 1); exit 1; }' 1 2 13 15
21802 # Create a (secure) tmp directory for tmp files.
21805 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21806 test -n "$tmp" && test -d "$tmp"
21807 } ||
21809 tmp=./conf$$-$RANDOM
21810 (umask 077 && mkdir "$tmp")
21811 } ||
21813 echo "$me: cannot create a temporary directory in ." >&2
21814 { (exit 1); exit 1; }
21818 # Set up the sed scripts for CONFIG_FILES section.
21821 # No need to generate the scripts if there are no CONFIG_FILES.
21822 # This happens for instance when ./config.status config.h
21823 if test -n "$CONFIG_FILES"; then
21825 _ACEOF
21827 # Create sed commands to just substitute file output variables.
21829 # Remaining file output variables are in a fragment that also has non-file
21830 # output varibles.
21834 ac_delim='%!_!# '
21835 for ac_last_try in false false false false false :; do
21836 cat >conf$$subs.sed <<_ACEOF
21837 SHELL!$SHELL$ac_delim
21838 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21839 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21840 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21841 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21842 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21843 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21844 exec_prefix!$exec_prefix$ac_delim
21845 prefix!$prefix$ac_delim
21846 program_transform_name!$program_transform_name$ac_delim
21847 bindir!$bindir$ac_delim
21848 sbindir!$sbindir$ac_delim
21849 libexecdir!$libexecdir$ac_delim
21850 datarootdir!$datarootdir$ac_delim
21851 datadir!$datadir$ac_delim
21852 sysconfdir!$sysconfdir$ac_delim
21853 sharedstatedir!$sharedstatedir$ac_delim
21854 localstatedir!$localstatedir$ac_delim
21855 includedir!$includedir$ac_delim
21856 oldincludedir!$oldincludedir$ac_delim
21857 docdir!$docdir$ac_delim
21858 infodir!$infodir$ac_delim
21859 htmldir!$htmldir$ac_delim
21860 dvidir!$dvidir$ac_delim
21861 pdfdir!$pdfdir$ac_delim
21862 psdir!$psdir$ac_delim
21863 libdir!$libdir$ac_delim
21864 localedir!$localedir$ac_delim
21865 mandir!$mandir$ac_delim
21866 DEFS!$DEFS$ac_delim
21867 ECHO_C!$ECHO_C$ac_delim
21868 ECHO_N!$ECHO_N$ac_delim
21869 ECHO_T!$ECHO_T$ac_delim
21870 LIBS!$LIBS$ac_delim
21871 build_alias!$build_alias$ac_delim
21872 host_alias!$host_alias$ac_delim
21873 target_alias!$target_alias$ac_delim
21874 build!$build$ac_delim
21875 build_cpu!$build_cpu$ac_delim
21876 build_vendor!$build_vendor$ac_delim
21877 build_os!$build_os$ac_delim
21878 host!$host$ac_delim
21879 host_cpu!$host_cpu$ac_delim
21880 host_vendor!$host_vendor$ac_delim
21881 host_os!$host_os$ac_delim
21882 WIN16_FILES!$WIN16_FILES$ac_delim
21883 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21884 SET_MAKE!$SET_MAKE$ac_delim
21885 CC!$CC$ac_delim
21886 CFLAGS!$CFLAGS$ac_delim
21887 LDFLAGS!$LDFLAGS$ac_delim
21888 CPPFLAGS!$CPPFLAGS$ac_delim
21889 ac_ct_CC!$ac_ct_CC$ac_delim
21890 EXEEXT!$EXEEXT$ac_delim
21891 OBJEXT!$OBJEXT$ac_delim
21892 CXX!$CXX$ac_delim
21893 CXXFLAGS!$CXXFLAGS$ac_delim
21894 ac_ct_CXX!$ac_ct_CXX$ac_delim
21895 CPPBIN!$CPPBIN$ac_delim
21896 TOOLSDIR!$TOOLSDIR$ac_delim
21897 XMKMF!$XMKMF$ac_delim
21898 CPP!$CPP$ac_delim
21899 X_CFLAGS!$X_CFLAGS$ac_delim
21900 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21901 X_LIBS!$X_LIBS$ac_delim
21902 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21903 FLEX!$FLEX$ac_delim
21904 BISON!$BISON$ac_delim
21905 AS!$AS$ac_delim
21906 ac_ct_AS!$ac_ct_AS$ac_delim
21907 LD!$LD$ac_delim
21908 AR!$AR$ac_delim
21909 RANLIB!$RANLIB$ac_delim
21910 STRIP!$STRIP$ac_delim
21911 WINDRES!$WINDRES$ac_delim
21912 LN_S!$LN_S$ac_delim
21913 LN!$LN$ac_delim
21914 GREP!$GREP$ac_delim
21915 EGREP!$EGREP$ac_delim
21916 LDCONFIG!$LDCONFIG$ac_delim
21917 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21918 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21919 _ACEOF
21921 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21922 break
21923 elif $ac_last_try; then
21924 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21925 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21926 { (exit 1); exit 1; }; }
21927 else
21928 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21930 done
21932 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21933 if test -n "$ac_eof"; then
21934 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21935 ac_eof=`expr $ac_eof + 1`
21938 cat >>$CONFIG_STATUS <<_ACEOF
21939 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21941 /^[ ]*@MAKE_RULES@[ ]*$/{
21942 r $MAKE_RULES
21945 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21946 r $MAKE_DLL_RULES
21949 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21950 r $MAKE_IMPLIB_RULES
21953 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21954 r $MAKE_TEST_RULES
21957 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21958 r $MAKE_PROG_RULES
21961 _ACEOF
21962 sed '
21963 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21964 s/^/s,@/; s/!/@,|#_!!_#|/
21967 s/'"$ac_delim"'$/,g/; t
21968 s/$/\\/; p
21969 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21970 ' >>$CONFIG_STATUS <conf$$subs.sed
21971 rm -f conf$$subs.sed
21972 cat >>$CONFIG_STATUS <<_ACEOF
21973 CEOF$ac_eof
21974 _ACEOF
21977 ac_delim='%!_!# '
21978 for ac_last_try in false false false false false :; do
21979 cat >conf$$subs.sed <<_ACEOF
21980 INSTALL_DATA!$INSTALL_DATA$ac_delim
21981 LINT!$LINT$ac_delim
21982 LINTFLAGS!$LINTFLAGS$ac_delim
21983 FONTFORGE!$FONTFORGE$ac_delim
21984 PKG_CONFIG!$PKG_CONFIG$ac_delim
21985 PRELINK!$PRELINK$ac_delim
21986 LIBPTHREAD!$LIBPTHREAD$ac_delim
21987 XLIB!$XLIB$ac_delim
21988 XFILES!$XFILES$ac_delim
21989 OPENGLFILES!$OPENGLFILES$ac_delim
21990 GLU32FILES!$GLU32FILES$ac_delim
21991 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21992 QUARTZFILES!$QUARTZFILES$ac_delim
21993 NASLIBS!$NASLIBS$ac_delim
21994 XML2LIBS!$XML2LIBS$ac_delim
21995 XML2INCL!$XML2INCL$ac_delim
21996 XSLTLIBS!$XSLTLIBS$ac_delim
21997 XSLTINCL!$XSLTINCL$ac_delim
21998 HALINCL!$HALINCL$ac_delim
21999 sane_devel!$sane_devel$ac_delim
22000 SANELIBS!$SANELIBS$ac_delim
22001 SANEINCL!$SANEINCL$ac_delim
22002 gphoto2_devel!$gphoto2_devel$ac_delim
22003 gphoto2port_devel!$gphoto2port_devel$ac_delim
22004 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22005 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22006 ICULIBS!$ICULIBS$ac_delim
22007 RESOLVLIBS!$RESOLVLIBS$ac_delim
22008 LCMSLIBS!$LCMSLIBS$ac_delim
22009 LDAPLIBS!$LDAPLIBS$ac_delim
22010 FREETYPELIBS!$FREETYPELIBS$ac_delim
22011 FREETYPEINCL!$FREETYPEINCL$ac_delim
22012 ft_devel!$ft_devel$ac_delim
22013 ft_devel2!$ft_devel2$ac_delim
22014 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22015 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22016 ARTSLIBS!$ARTSLIBS$ac_delim
22017 ARTSINCL!$ARTSINCL$ac_delim
22018 ESDCONFIG!$ESDCONFIG$ac_delim
22019 ESDLIBS!$ESDLIBS$ac_delim
22020 ESDINCL!$ESDINCL$ac_delim
22021 ALSALIBS!$ALSALIBS$ac_delim
22022 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22023 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22024 BUILTINFLAG!$BUILTINFLAG$ac_delim
22025 DLLEXT!$DLLEXT$ac_delim
22026 DLLFLAGS!$DLLFLAGS$ac_delim
22027 LDSHARED!$LDSHARED$ac_delim
22028 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22029 LIBEXT!$LIBEXT$ac_delim
22030 IMPLIBEXT!$IMPLIBEXT$ac_delim
22031 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22032 DLLTOOL!$DLLTOOL$ac_delim
22033 DLLWRAP!$DLLWRAP$ac_delim
22034 MINGWAR!$MINGWAR$ac_delim
22035 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22036 IOKITLIB!$IOKITLIB$ac_delim
22037 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22038 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22039 COREAUDIO!$COREAUDIO$ac_delim
22040 CARBONLIB!$CARBONLIB$ac_delim
22041 CROSSTEST!$CROSSTEST$ac_delim
22042 CROSSCC!$CROSSCC$ac_delim
22043 CROSSWINDRES!$CROSSWINDRES$ac_delim
22044 LDPATH!$LDPATH$ac_delim
22045 CRTLIBS!$CRTLIBS$ac_delim
22046 SOCKETLIBS!$SOCKETLIBS$ac_delim
22047 MAIN_BINARY!$MAIN_BINARY$ac_delim
22048 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22049 LDD!$LDD$ac_delim
22050 LIBDL!$LIBDL$ac_delim
22051 LIBPOLL!$LIBPOLL$ac_delim
22052 DEPENDENCIES!$DEPENDENCIES$ac_delim
22053 LIBOBJS!$LIBOBJS$ac_delim
22054 LTLIBOBJS!$LTLIBOBJS$ac_delim
22055 _ACEOF
22057 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 75; then
22058 break
22059 elif $ac_last_try; then
22060 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22061 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22062 { (exit 1); exit 1; }; }
22063 else
22064 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22066 done
22068 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22069 if test -n "$ac_eof"; then
22070 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22071 ac_eof=`expr $ac_eof + 1`
22074 cat >>$CONFIG_STATUS <<_ACEOF
22075 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22076 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22077 _ACEOF
22078 sed '
22079 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22080 s/^/s,@/; s/!/@,|#_!!_#|/
22083 s/'"$ac_delim"'$/,g/; t
22084 s/$/\\/; p
22085 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22086 ' >>$CONFIG_STATUS <conf$$subs.sed
22087 rm -f conf$$subs.sed
22088 cat >>$CONFIG_STATUS <<_ACEOF
22089 :end
22090 s/|#_!!_#|//g
22091 CEOF$ac_eof
22092 _ACEOF
22095 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22096 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22097 # trailing colons and then remove the whole line if VPATH becomes empty
22098 # (actually we leave an empty line to preserve line numbers).
22099 if test "x$srcdir" = x.; then
22100 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22101 s/:*\$(srcdir):*/:/
22102 s/:*\${srcdir}:*/:/
22103 s/:*@srcdir@:*/:/
22104 s/^\([^=]*=[ ]*\):*/\1/
22105 s/:*$//
22106 s/^[^=]*=[ ]*$//
22110 cat >>$CONFIG_STATUS <<\_ACEOF
22111 fi # test -n "$CONFIG_FILES"
22114 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22116 case $ac_tag in
22117 :[FHLC]) ac_mode=$ac_tag; continue;;
22118 esac
22119 case $ac_mode$ac_tag in
22120 :[FHL]*:*);;
22121 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22122 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22123 { (exit 1); exit 1; }; };;
22124 :[FH]-) ac_tag=-:-;;
22125 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22126 esac
22127 ac_save_IFS=$IFS
22128 IFS=:
22129 set x $ac_tag
22130 IFS=$ac_save_IFS
22131 shift
22132 ac_file=$1
22133 shift
22135 case $ac_mode in
22136 :L) ac_source=$1;;
22137 :[FH])
22138 ac_file_inputs=
22139 for ac_f
22141 case $ac_f in
22142 -) ac_f="$tmp/stdin";;
22143 *) # Look for the file first in the build tree, then in the source tree
22144 # (if the path is not absolute). The absolute path cannot be DOS-style,
22145 # because $ac_f cannot contain `:'.
22146 test -f "$ac_f" ||
22147 case $ac_f in
22148 [\\/$]*) false;;
22149 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22150 esac ||
22151 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22152 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22153 { (exit 1); exit 1; }; };;
22154 esac
22155 ac_file_inputs="$ac_file_inputs $ac_f"
22156 done
22158 # Let's still pretend it is `configure' which instantiates (i.e., don't
22159 # use $as_me), people would be surprised to read:
22160 # /* config.h. Generated by config.status. */
22161 configure_input="Generated from "`IFS=:
22162 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22163 if test x"$ac_file" != x-; then
22164 configure_input="$ac_file. $configure_input"
22165 { echo "$as_me:$LINENO: creating $ac_file" >&5
22166 echo "$as_me: creating $ac_file" >&6;}
22169 case $ac_tag in
22170 *:-:* | *:-) cat >"$tmp/stdin";;
22171 esac
22173 esac
22175 ac_dir=`$as_dirname -- "$ac_file" ||
22176 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22177 X"$ac_file" : 'X\(//\)[^/]' \| \
22178 X"$ac_file" : 'X\(//\)$' \| \
22179 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22180 echo X"$ac_file" |
22181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22182 s//\1/
22185 /^X\(\/\/\)[^/].*/{
22186 s//\1/
22189 /^X\(\/\/\)$/{
22190 s//\1/
22193 /^X\(\/\).*/{
22194 s//\1/
22197 s/.*/./; q'`
22198 { as_dir="$ac_dir"
22199 case $as_dir in #(
22200 -*) as_dir=./$as_dir;;
22201 esac
22202 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22203 as_dirs=
22204 while :; do
22205 case $as_dir in #(
22206 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22207 *) as_qdir=$as_dir;;
22208 esac
22209 as_dirs="'$as_qdir' $as_dirs"
22210 as_dir=`$as_dirname -- "$as_dir" ||
22211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22212 X"$as_dir" : 'X\(//\)[^/]' \| \
22213 X"$as_dir" : 'X\(//\)$' \| \
22214 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22215 echo X"$as_dir" |
22216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22217 s//\1/
22220 /^X\(\/\/\)[^/].*/{
22221 s//\1/
22224 /^X\(\/\/\)$/{
22225 s//\1/
22228 /^X\(\/\).*/{
22229 s//\1/
22232 s/.*/./; q'`
22233 test -d "$as_dir" && break
22234 done
22235 test -z "$as_dirs" || eval "mkdir $as_dirs"
22236 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22237 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22238 { (exit 1); exit 1; }; }; }
22239 ac_builddir=.
22241 case "$ac_dir" in
22242 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22244 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22245 # A ".." for each directory in $ac_dir_suffix.
22246 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22247 case $ac_top_builddir_sub in
22248 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22249 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22250 esac ;;
22251 esac
22252 ac_abs_top_builddir=$ac_pwd
22253 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22254 # for backward compatibility:
22255 ac_top_builddir=$ac_top_build_prefix
22257 case $srcdir in
22258 .) # We are building in place.
22259 ac_srcdir=.
22260 ac_top_srcdir=$ac_top_builddir_sub
22261 ac_abs_top_srcdir=$ac_pwd ;;
22262 [\\/]* | ?:[\\/]* ) # Absolute name.
22263 ac_srcdir=$srcdir$ac_dir_suffix;
22264 ac_top_srcdir=$srcdir
22265 ac_abs_top_srcdir=$srcdir ;;
22266 *) # Relative name.
22267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22268 ac_top_srcdir=$ac_top_build_prefix$srcdir
22269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22270 esac
22271 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22274 case $ac_mode in
22277 # CONFIG_FILE
22280 case $INSTALL in
22281 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22282 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22283 esac
22284 _ACEOF
22286 cat >>$CONFIG_STATUS <<\_ACEOF
22287 # If the template does not know about datarootdir, expand it.
22288 # FIXME: This hack should be removed a few years after 2.60.
22289 ac_datarootdir_hack=; ac_datarootdir_seen=
22291 case `sed -n '/datarootdir/ {
22295 /@datadir@/p
22296 /@docdir@/p
22297 /@infodir@/p
22298 /@localedir@/p
22299 /@mandir@/p
22300 ' $ac_file_inputs` in
22301 *datarootdir*) ac_datarootdir_seen=yes;;
22302 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22303 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22304 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22305 _ACEOF
22306 cat >>$CONFIG_STATUS <<_ACEOF
22307 ac_datarootdir_hack='
22308 s&@datadir@&$datadir&g
22309 s&@docdir@&$docdir&g
22310 s&@infodir@&$infodir&g
22311 s&@localedir@&$localedir&g
22312 s&@mandir@&$mandir&g
22313 s&\\\${datarootdir}&$datarootdir&g' ;;
22314 esac
22315 _ACEOF
22317 # Neutralize VPATH when `$srcdir' = `.'.
22318 # Shell code in configure.ac might set extrasub.
22319 # FIXME: do we really want to maintain this feature?
22320 cat >>$CONFIG_STATUS <<_ACEOF
22321 sed "$ac_vpsub
22322 $extrasub
22323 _ACEOF
22324 cat >>$CONFIG_STATUS <<\_ACEOF
22326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22327 s&@configure_input@&$configure_input&;t t
22328 s&@top_builddir@&$ac_top_builddir_sub&;t t
22329 s&@srcdir@&$ac_srcdir&;t t
22330 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22331 s&@top_srcdir@&$ac_top_srcdir&;t t
22332 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22333 s&@builddir@&$ac_builddir&;t t
22334 s&@abs_builddir@&$ac_abs_builddir&;t t
22335 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22336 s&@INSTALL@&$ac_INSTALL&;t t
22337 $ac_datarootdir_hack
22338 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22340 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22341 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22343 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22344 which seems to be undefined. Please make sure it is defined." >&5
22345 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22346 which seems to be undefined. Please make sure it is defined." >&2;}
22348 rm -f "$tmp/stdin"
22349 case $ac_file in
22350 -) cat "$tmp/out"; rm -f "$tmp/out";;
22351 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22352 esac
22356 # CONFIG_HEADER
22358 _ACEOF
22360 # Transform confdefs.h into a sed script `conftest.defines', that
22361 # substitutes the proper values into config.h.in to produce config.h.
22362 rm -f conftest.defines conftest.tail
22363 # First, append a space to every undef/define line, to ease matching.
22364 echo 's/$/ /' >conftest.defines
22365 # Then, protect against being on the right side of a sed subst, or in
22366 # an unquoted here document, in config.status. If some macros were
22367 # called several times there might be several #defines for the same
22368 # symbol, which is useless. But do not sort them, since the last
22369 # AC_DEFINE must be honored.
22370 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22371 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22372 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22373 # PARAMS is the parameter list in the macro definition--in most cases, it's
22374 # just an empty string.
22375 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22376 ac_dB='\\)[ (].*,\\1define\\2'
22377 ac_dC=' '
22378 ac_dD=' ,'
22380 uniq confdefs.h |
22381 sed -n '
22382 t rset
22383 :rset
22384 s/^[ ]*#[ ]*define[ ][ ]*//
22385 t ok
22388 s/[\\&,]/\\&/g
22389 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22390 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22391 ' >>conftest.defines
22393 # Remove the space that was appended to ease matching.
22394 # Then replace #undef with comments. This is necessary, for
22395 # example, in the case of _POSIX_SOURCE, which is predefined and required
22396 # on some systems where configure will not decide to define it.
22397 # (The regexp can be short, since the line contains either #define or #undef.)
22398 echo 's/ $//
22399 s,^[ #]*u.*,/* & */,' >>conftest.defines
22401 # Break up conftest.defines:
22402 ac_max_sed_lines=50
22404 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22405 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22406 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22407 # et cetera.
22408 ac_in='$ac_file_inputs'
22409 ac_out='"$tmp/out1"'
22410 ac_nxt='"$tmp/out2"'
22412 while :
22414 # Write a here document:
22415 cat >>$CONFIG_STATUS <<_ACEOF
22416 # First, check the format of the line:
22417 cat >"\$tmp/defines.sed" <<\\CEOF
22418 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22419 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22421 :def
22422 _ACEOF
22423 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22424 echo 'CEOF
22425 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22426 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22427 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22428 grep . conftest.tail >/dev/null || break
22429 rm -f conftest.defines
22430 mv conftest.tail conftest.defines
22431 done
22432 rm -f conftest.defines conftest.tail
22434 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22435 cat >>$CONFIG_STATUS <<\_ACEOF
22436 if test x"$ac_file" != x-; then
22437 echo "/* $configure_input */" >"$tmp/config.h"
22438 cat "$ac_result" >>"$tmp/config.h"
22439 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22440 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22441 echo "$as_me: $ac_file is unchanged" >&6;}
22442 else
22443 rm -f $ac_file
22444 mv "$tmp/config.h" $ac_file
22446 else
22447 echo "/* $configure_input */"
22448 cat "$ac_result"
22450 rm -f "$tmp/out12"
22453 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22454 echo "$as_me: executing $ac_file commands" >&6;}
22456 esac
22459 case $ac_file$ac_mode in
22460 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22461 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22462 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22463 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22464 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22465 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22466 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22467 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22468 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22469 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22470 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22471 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22472 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22474 esac
22475 done # for ac_tag
22478 { (exit 0); exit 0; }
22479 _ACEOF
22480 chmod +x $CONFIG_STATUS
22481 ac_clean_files=$ac_clean_files_save
22484 # configure is writing to config.log, and then calls config.status.
22485 # config.status does its own redirection, appending to config.log.
22486 # Unfortunately, on DOS this fails, as config.log is still kept open
22487 # by configure, so config.status won't be able to write to it; its
22488 # output is simply discarded. So we exec the FD to /dev/null,
22489 # effectively closing config.log, so it can be properly (re)opened and
22490 # appended to by config.status. When coming back to configure, we
22491 # need to make the FD available again.
22492 if test "$no_create" != yes; then
22493 ac_cs_success=:
22494 ac_config_status_args=
22495 test "$silent" = yes &&
22496 ac_config_status_args="$ac_config_status_args --quiet"
22497 exec 5>/dev/null
22498 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22499 exec 5>>config.log
22500 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22501 # would make configure fail if this is the last instruction.
22502 $ac_cs_success || { (exit 1); exit 1; }
22507 if test "$no_create" = "yes"
22508 then
22509 exit 0
22512 if test "$verbose" = "yes"
22513 then
22514 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22515 then
22516 echo >&2
22517 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22518 echo "$as_me: libcapi20 development files not found." >&6;}
22519 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22520 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22523 if test "$ac_cv_header_cups_cups_h" != "yes"
22524 then
22525 echo >&2
22526 { echo "$as_me:$LINENO: libcups development files not found." >&5
22527 echo "$as_me: libcups development files not found." >&6;}
22528 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22529 echo "$as_me: Wine will be built without CUPS support." >&6;}
22533 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22534 then
22535 echo >&2
22536 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22537 echo "$as_me: libgphoto2 development files not found." >&6;}
22538 if test "$ac_cv_header_sane_sane_h" = "yes"
22539 then
22540 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22541 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22542 else
22543 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22544 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22548 if test "$ac_cv_header_hal_libhal_h" != "yes"
22549 then
22550 echo >&2
22551 { echo "$as_me:$LINENO: libhal development files not found." >&5
22552 echo "$as_me: libhal development files not found." >&6;}
22553 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22554 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22557 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22558 then
22559 echo >&2
22560 { echo "$as_me:$LINENO: libicu development files not found." >&5
22561 echo "$as_me: libicu development files not found." >&6;}
22562 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22563 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22566 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22567 then
22568 echo >&2
22569 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22570 echo "$as_me: liblcms development files not found." >&6;}
22571 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22572 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22575 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22576 then
22577 echo >&2
22578 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22579 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22580 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22581 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22584 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22585 then
22586 echo >&2
22587 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22588 echo "$as_me: lib(n)curses development files not found." >&6;}
22589 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22590 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22593 if test "$ac_cv_header_sane_sane_h" != "yes"
22594 then
22595 echo >&2
22596 { echo "$as_me:$LINENO: libsane development files not found." >&5
22597 echo "$as_me: libsane development files not found." >&6;}
22598 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22599 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22602 if test "$have_x" = "yes"
22603 then
22604 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22605 then
22606 echo >&2
22607 { echo "$as_me:$LINENO: libxext development files not found." >&5
22608 echo "$as_me: libxext development files not found." >&6;}
22609 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22610 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22613 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22614 then
22615 echo >&2
22616 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22617 echo "$as_me: libXrandr development files not found." >&6;}
22618 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22619 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22622 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22623 then
22624 echo >&2
22625 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22626 echo "$as_me: libXrender development files not found." >&6;}
22627 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22628 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22631 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22632 then
22633 echo >&2
22634 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22635 echo "$as_me: libXxf86vm development files not found." >&6;}
22636 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22637 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22641 if test "$ac_cv_header_libxml_parser_h" != "yes"
22642 then
22643 echo >&2
22644 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22645 echo "$as_me: libxml2 development files not found." >&6;}
22646 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22647 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22650 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22651 then
22652 echo >&2
22653 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22654 echo "$as_me: libxslt development files not found." >&6;}
22655 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22656 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22661 if test "$have_x" = "no"
22662 then
22663 echo >&2
22664 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22665 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22666 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22667 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22668 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22669 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22671 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22674 if test -z "$OPENGLFILES"
22675 then
22676 echo >&2
22677 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22678 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22680 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22681 if test "$wine_cv_opengl_headers_found" = "no"
22682 then
22683 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22684 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22686 if test "$wine_cv_opengl_header_version_OK" = "no"
22687 then
22688 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22689 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22690 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22691 then
22692 if test -f /usr/X11R6/lib/libGL.a
22693 then
22694 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22695 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22696 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22697 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22698 else
22699 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22700 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22705 if test "$wine_cv_msg_freetype" = "yes"
22706 then
22707 echo >&2
22708 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22709 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22710 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22711 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22712 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22713 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22714 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22715 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22718 if test -z "$FONTSSUBDIRS"
22719 then
22720 echo >&2
22721 if test "$FONTFORGE" = "false"
22722 then
22723 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22724 echo "$as_me: WARNING: FontForge is missing." >&2;}
22725 else
22726 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22727 echo "$as_me: WARNING: FreeType is missing." >&2;}
22729 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22730 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22733 if test -z "$ALSALIBS" -a \
22734 -z "$ARTSC_LIBS" -a \
22735 -z "$AUDIOIOLIBS" -a \
22736 -z "$NASLIBS" -a \
22737 -z "$ESD_LIBS" -a \
22738 -z "$ac_cv_lib_soname_jack" -a \
22739 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22740 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22741 "$ac_cv_header_soundcard_h" != "yes"
22742 then
22743 echo >&2
22744 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22745 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22746 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22747 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22748 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22749 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22752 echo
22753 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22754 echo