comctl32: Set label width after editting.
[wine/wine64.git] / configure
blob17705e03f8cfb990d1bf15d01d78181ca9b574fc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.33.
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.33'
578 PACKAGE_STRING='Wine 0.9.33'
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 SANEINCL
721 gphoto2_devel
722 gphoto2port_devel
723 GPHOTO2LIBS
724 GPHOTO2INCL
725 ICULIBS
726 RESOLVLIBS
727 LCMSLIBS
728 LDAPLIBS
729 FREETYPELIBS
730 FREETYPEINCL
731 ft_devel
732 ft_devel2
733 FONTSSUBDIRS
734 ARTSCCONFIG
735 ARTSLIBS
736 ARTSINCL
737 ESDCONFIG
738 ESDLIBS
739 ESDINCL
740 ALSALIBS
741 AUDIOIOLIBS
742 EXTRACFLAGS
743 BUILTINFLAG
744 DLLEXT
745 DLLFLAGS
746 LDSHARED
747 LDDLLFLAGS
748 LIBEXT
749 IMPLIBEXT
750 LIBWINE_LDFLAGS
751 DLLTOOL
752 DLLWRAP
753 MINGWAR
754 COREFOUNDATIONLIB
755 IOKITLIB
756 LDEXECFLAGS
757 DISKARBITRATIONLIB
758 COREAUDIO
759 CARBONLIB
760 CROSSTEST
761 CROSSCC
762 CROSSWINDRES
763 LDPATH
764 CRTLIBS
765 SOCKETLIBS
766 MAIN_BINARY
767 EXTRA_BINARIES
769 LIBDL
770 LIBPOLL
771 DEPENDENCIES
772 LIBOBJS
773 LTLIBOBJS'
774 ac_subst_files='MAKE_RULES
775 MAKE_DLL_RULES
776 MAKE_IMPLIB_RULES
777 MAKE_TEST_RULES
778 MAKE_PROG_RULES'
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
788 CXXFLAGS
790 XMKMF
791 CPP'
794 # Initialize some variables set by options.
795 ac_init_help=
796 ac_init_version=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *) ac_optarg=yes ;;
854 esac
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
860 ac_dashdash=yes ;;
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 ac_prev=bindir ;;
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 bindir=$ac_optarg ;;
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
879 --config-cache | -C)
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
883 ac_prev=datadir ;;
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_$ac_feature=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
913 -enable-* | --enable-*)
914 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
933 with_gas=yes ;;
935 -help | --help | --hel | --he | -h)
936 ac_init_help=long ;;
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 ac_prev=htmldir ;;
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 | --ht=*)
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 ac_prev=infodir ;;
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
966 ac_prev=libdir ;;
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 libdir=$ac_optarg ;;
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
978 ac_prev=localedir ;;
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 ac_prev=mandir ;;
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 mandir=$ac_optarg ;;
994 -nfp | --nfp | --nf)
995 # Obsolete; use --without-fp.
996 with_fp=no ;;
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1000 no_create=yes ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 no_recursion=yes ;;
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 ac_prev=prefix ;;
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 ac_prev=pdfdir ;;
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1057 ac_prev=psdir ;;
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 psdir=$ac_optarg ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 silent=yes ;;
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 ac_prev=sbindir ;;
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 | --sbi=* | --sb=*)
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1074 | --sha | --sh)
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 | --sha=* | --sh=*)
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1083 ac_prev=site ;;
1084 -site=* | --site=* | --sit=*)
1085 site=$ac_optarg ;;
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 ac_prev=srcdir ;;
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 verbose=yes ;;
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1110 -with-* | --with-*)
1111 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_$ac_package=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=no ;;
1128 --x)
1129 # Obsolete; use --with-x.
1130 with_x=yes ;;
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1151 *=*)
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 esac
1169 done
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 case $ac_val in
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 esac
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1190 done
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1195 build=$build_alias
1196 host=$host_alias
1197 target=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1206 cross_compiling=yes
1210 ac_tool_prefix=
1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1213 test "$silent" = yes && exec 6>/dev/null
1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di=`ls -di .` &&
1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 echo X"$0" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 s//\1/
1240 /^X\(\/\/\)[^/].*/{
1241 s//\1/
1244 /^X\(\/\/\)$/{
1245 s//\1/
1248 /^X\(\/\).*/{
1249 s//\1/
1252 s/.*/./; q'`
1253 srcdir=$ac_confdir
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 srcdir=..
1257 else
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 ac_abs_confdir=`(
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1269 pwd)`
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 srcdir=.
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1277 case $srcdir in
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 esac
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 done
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1293 cat <<_ACEOF
1294 \`configure' configures Wine 0.9.33 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1303 Configuration:
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 [PREFIX]
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1347 _ACEOF
1349 cat <<\_ACEOF
1351 X features:
1352 --x-includes=DIR X include files are in DIR
1353 --x-libraries=DIR X library files are in DIR
1355 System types:
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1358 _ACEOF
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of Wine 0.9.33:";;
1364 esac
1365 cat <<\_ACEOF
1367 Optional Features:
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1372 binaries)
1374 Optional Packages:
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 CPP C preprocessor
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <wine-devel@winehq.org>.
1398 _ACEOF
1399 ac_status=$?
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1406 ac_builddir=.
1408 case "$ac_dir" in
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 esac ;;
1418 esac
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1424 case $srcdir in
1425 .) # We are building in place.
1426 ac_srcdir=.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1433 *) # Relative name.
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 esac
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1448 else
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 fi || ac_status=$?
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1452 done
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1457 cat <<\_ACEOF
1458 Wine configure 0.9.33
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.33, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1475 $ $0 $@
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1513 } >&5
1515 cat >&5 <<_ACEOF
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1522 _ACEOF
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1536 for ac_arg
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 esac
1568 done
1569 done
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1581 echo
1583 cat <<\_ASBOX
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1587 _ASBOX
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1602 esac ;;
1603 esac
1604 done
1605 (set) 2>&1 |
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1608 sed -n \
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 ;; #(
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 esac |
1616 sort
1618 echo
1620 cat <<\_ASBOX
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1624 _ASBOX
1625 echo
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1636 if test -n "$ac_subst_files"; then
1637 cat <<\_ASBOX
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1641 _ASBOX
1642 echo
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1654 if test -s confdefs.h; then
1655 cat <<\_ASBOX
1656 ## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##
1659 _ASBOX
1660 echo
1661 cat confdefs.h
1662 echo
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1667 } >&5
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 exit $exit_status
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 done
1675 ac_signal=0
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 _ACEOF
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 _ACEOF
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1713 else
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1717 shift
1718 for ac_site_file
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1724 . "$ac_site_file"
1726 done
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1734 case $cache_file in
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1737 esac
1739 else
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1742 >$cache_file
1745 # Check that the precious variables saved in the cache have kept the same
1746 # value.
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1754 set,)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,set)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,);;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1772 fi;;
1773 esac
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1776 case $ac_new_val in
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1779 esac
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 esac
1785 done
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 ac_config_headers="$ac_config_headers include/config.h"
1828 ac_aux_dir=
1829 for ac_dir in tools "$srcdir"/tools; do
1830 if test -f "$ac_dir/install-sh"; then
1831 ac_aux_dir=$ac_dir
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1833 break
1834 elif test -f "$ac_dir/install.sh"; then
1835 ac_aux_dir=$ac_dir
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1837 break
1838 elif test -f "$ac_dir/shtool"; then
1839 ac_aux_dir=$ac_dir
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1841 break
1843 done
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval=$with_wine_tools;
1885 # Make sure we can run config.sub.
1886 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1887 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1888 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1889 { (exit 1); exit 1; }; }
1891 { echo "$as_me:$LINENO: checking build system type" >&5
1892 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1893 if test "${ac_cv_build+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 ac_build_alias=$build_alias
1897 test "x$ac_build_alias" = x &&
1898 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1899 test "x$ac_build_alias" = x &&
1900 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1901 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1902 { (exit 1); exit 1; }; }
1903 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1904 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1905 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1906 { (exit 1); exit 1; }; }
1909 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1910 echo "${ECHO_T}$ac_cv_build" >&6; }
1911 case $ac_cv_build in
1912 *-*-*) ;;
1913 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1914 echo "$as_me: error: invalid value of canonical build" >&2;}
1915 { (exit 1); exit 1; }; };;
1916 esac
1917 build=$ac_cv_build
1918 ac_save_IFS=$IFS; IFS='-'
1919 set x $ac_cv_build
1920 shift
1921 build_cpu=$1
1922 build_vendor=$2
1923 shift; shift
1924 # Remember, the first character of IFS is used to create $*,
1925 # except with old shells:
1926 build_os=$*
1927 IFS=$ac_save_IFS
1928 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1931 { echo "$as_me:$LINENO: checking host system type" >&5
1932 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1933 if test "${ac_cv_host+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 else
1936 if test "x$host_alias" = x; then
1937 ac_cv_host=$ac_cv_build
1938 else
1939 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1940 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1941 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1942 { (exit 1); exit 1; }; }
1946 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1947 echo "${ECHO_T}$ac_cv_host" >&6; }
1948 case $ac_cv_host in
1949 *-*-*) ;;
1950 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1951 echo "$as_me: error: invalid value of canonical host" >&2;}
1952 { (exit 1); exit 1; }; };;
1953 esac
1954 host=$ac_cv_host
1955 ac_save_IFS=$IFS; IFS='-'
1956 set x $ac_cv_host
1957 shift
1958 host_cpu=$1
1959 host_vendor=$2
1960 shift; shift
1961 # Remember, the first character of IFS is used to create $*,
1962 # except with old shells:
1963 host_os=$*
1964 IFS=$ac_save_IFS
1965 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1968 case $host in
1969 x86_64*linux*)
1970 if test "x$enable_win64" != "xyes"
1971 then
1972 test -n "$CC" || CC="gcc -m32"
1973 test -n "$LD" || LD="ld -m elf_i386"
1974 test -n "$AS" || AS="as --32"
1975 host_cpu="i386"
1978 esac
1980 case $host_cpu in
1981 *i[3456789]86*)
1982 if test "x$enable_win16" != "xno"
1983 then
1984 enable_win16="yes"
1987 esac
1989 WIN16_FILES="\$(WIN16_FILES)"
1991 WIN16_INSTALL="\$(WIN16_INSTALL)"
1993 if test "x$enable_win16" != "xyes"
1994 then
1995 WIN16_FILES=""
1996 WIN16_INSTALL=""
1999 case "$srcdir" in
2000 .) ;;
2001 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2002 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&5
2004 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2005 You need to run 'make distclean' in the source tree first." >&2;}
2006 { (exit 1); exit 1; }; }
2007 fi ;;
2008 esac
2011 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2013 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2014 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 else
2017 cat >conftest.make <<\_ACEOF
2018 SHELL = /bin/sh
2019 all:
2020 @echo '@@@%%%=$(MAKE)=@@@%%%'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2024 *@@@%%%=?*=@@@%%%*)
2025 eval ac_cv_prog_make_${ac_make}_set=yes;;
2027 eval ac_cv_prog_make_${ac_make}_set=no;;
2028 esac
2029 rm -f conftest.make
2031 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2032 { echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6; }
2034 SET_MAKE=
2035 else
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2038 SET_MAKE="MAKE=${MAKE-make}"
2041 ac_ext=c
2042 ac_cpp='$CPP $CPPFLAGS'
2043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2046 if test -n "$ac_tool_prefix"; then
2047 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2048 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2051 if test "${ac_cv_prog_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 else
2054 if test -n "$CC"; then
2055 ac_cv_prog_CC="$CC" # Let the user override the test.
2056 else
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2064 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 break 2
2068 done
2069 done
2070 IFS=$as_save_IFS
2074 CC=$ac_cv_prog_CC
2075 if test -n "$CC"; then
2076 { echo "$as_me:$LINENO: result: $CC" >&5
2077 echo "${ECHO_T}$CC" >&6; }
2078 else
2079 { echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6; }
2085 if test -z "$ac_cv_prog_CC"; then
2086 ac_ct_CC=$CC
2087 # Extract the first word of "gcc", so it can be a program name with args.
2088 set dummy gcc; ac_word=$2
2089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 else
2094 if test -n "$ac_ct_CC"; then
2095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2096 else
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 for as_dir in $PATH
2100 IFS=$as_save_IFS
2101 test -z "$as_dir" && as_dir=.
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2104 ac_cv_prog_ac_ct_CC="gcc"
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 break 2
2108 done
2109 done
2110 IFS=$as_save_IFS
2114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2115 if test -n "$ac_ct_CC"; then
2116 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2117 echo "${ECHO_T}$ac_ct_CC" >&6; }
2118 else
2119 { echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6; }
2123 if test "x$ac_ct_CC" = x; then
2124 CC=""
2125 else
2126 case $cross_compiling:$ac_tool_warned in
2127 yes:)
2128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&5
2131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2132 whose name does not start with the host triplet. If you think this
2133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2134 ac_tool_warned=yes ;;
2135 esac
2136 CC=$ac_ct_CC
2138 else
2139 CC="$ac_cv_prog_CC"
2142 if test -z "$CC"; then
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2145 set dummy ${ac_tool_prefix}cc; ac_word=$2
2146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2148 if test "${ac_cv_prog_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 else
2151 if test -n "$CC"; then
2152 ac_cv_prog_CC="$CC" # Let the user override the test.
2153 else
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 for as_dir in $PATH
2157 IFS=$as_save_IFS
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161 ac_cv_prog_CC="${ac_tool_prefix}cc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 break 2
2165 done
2166 done
2167 IFS=$as_save_IFS
2171 CC=$ac_cv_prog_CC
2172 if test -n "$CC"; then
2173 { echo "$as_me:$LINENO: result: $CC" >&5
2174 echo "${ECHO_T}$CC" >&6; }
2175 else
2176 { echo "$as_me:$LINENO: result: no" >&5
2177 echo "${ECHO_T}no" >&6; }
2183 if test -z "$CC"; then
2184 # Extract the first word of "cc", so it can be a program name with args.
2185 set dummy cc; ac_word=$2
2186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188 if test "${ac_cv_prog_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 else
2191 if test -n "$CC"; then
2192 ac_cv_prog_CC="$CC" # Let the user override the test.
2193 else
2194 ac_prog_rejected=no
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 for as_dir in $PATH
2198 IFS=$as_save_IFS
2199 test -z "$as_dir" && as_dir=.
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2203 ac_prog_rejected=yes
2204 continue
2206 ac_cv_prog_CC="cc"
2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 break 2
2210 done
2211 done
2212 IFS=$as_save_IFS
2214 if test $ac_prog_rejected = yes; then
2215 # We found a bogon in the path, so make sure we never use it.
2216 set dummy $ac_cv_prog_CC
2217 shift
2218 if test $# != 0; then
2219 # We chose a different compiler from the bogus one.
2220 # However, it has the same basename, so the bogon will be chosen
2221 # first if we set CC to just the basename; use the full file name.
2222 shift
2223 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2228 CC=$ac_cv_prog_CC
2229 if test -n "$CC"; then
2230 { echo "$as_me:$LINENO: result: $CC" >&5
2231 echo "${ECHO_T}$CC" >&6; }
2232 else
2233 { echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6; }
2239 if test -z "$CC"; then
2240 if test -n "$ac_tool_prefix"; then
2241 for ac_prog in cl.exe
2243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2247 if test "${ac_cv_prog_CC+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 else
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC="$CC" # Let the user override the test.
2252 else
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH
2256 IFS=$as_save_IFS
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 break 2
2264 done
2265 done
2266 IFS=$as_save_IFS
2270 CC=$ac_cv_prog_CC
2271 if test -n "$CC"; then
2272 { echo "$as_me:$LINENO: result: $CC" >&5
2273 echo "${ECHO_T}$CC" >&6; }
2274 else
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2280 test -n "$CC" && break
2281 done
2283 if test -z "$CC"; then
2284 ac_ct_CC=$CC
2285 for ac_prog in cl.exe
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy $ac_prog; ac_word=$2
2289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 else
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2296 else
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 for as_dir in $PATH
2300 IFS=$as_save_IFS
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_ac_ct_CC="$ac_prog"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 break 2
2308 done
2309 done
2310 IFS=$as_save_IFS
2314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2317 echo "${ECHO_T}$ac_ct_CC" >&6; }
2318 else
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2324 test -n "$ac_ct_CC" && break
2325 done
2327 if test "x$ac_ct_CC" = x; then
2328 CC=""
2329 else
2330 case $cross_compiling:$ac_tool_warned in
2331 yes:)
2332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&5
2335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2336 whose name does not start with the host triplet. If you think this
2337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2338 ac_tool_warned=yes ;;
2339 esac
2340 CC=$ac_ct_CC
2347 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: no acceptable C compiler found in \$PATH
2350 See \`config.log' for more details." >&2;}
2351 { (exit 1); exit 1; }; }
2353 # Provide some information about the compiler.
2354 echo "$as_me:$LINENO: checking for C compiler version" >&5
2355 ac_compiler=`set X $ac_compile; echo $2`
2356 { (ac_try="$ac_compiler --version >&5"
2357 case "(($ac_try" in
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2360 esac
2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2362 (eval "$ac_compiler --version >&5") 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2366 { (ac_try="$ac_compiler -v >&5"
2367 case "(($ac_try" in
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2370 esac
2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2372 (eval "$ac_compiler -v >&5") 2>&5
2373 ac_status=$?
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }
2376 { (ac_try="$ac_compiler -V >&5"
2377 case "(($ac_try" in
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2380 esac
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compiler -V >&5") 2>&5
2383 ac_status=$?
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2387 cat >conftest.$ac_ext <<_ACEOF
2388 /* confdefs.h. */
2389 _ACEOF
2390 cat confdefs.h >>conftest.$ac_ext
2391 cat >>conftest.$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2395 main ()
2399 return 0;
2401 _ACEOF
2402 ac_clean_files_save=$ac_clean_files
2403 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2404 # Try to create an executable without -o first, disregard a.out.
2405 # It will help us diagnose broken compilers, and finding out an intuition
2406 # of exeext.
2407 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2408 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2409 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2411 # List of possible output files, starting from the most likely.
2412 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2413 # only as a last resort. b.out is created by i960 compilers.
2414 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2416 # The IRIX 6 linker writes into existing files which may not be
2417 # executable, retaining their permissions. Remove them first so a
2418 # subsequent execution test works.
2419 ac_rmfiles=
2420 for ac_file in $ac_files
2422 case $ac_file in
2423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2424 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2425 esac
2426 done
2427 rm -f $ac_rmfiles
2429 if { (ac_try="$ac_link_default"
2430 case "(($ac_try" in
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2433 esac
2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2435 (eval "$ac_link_default") 2>&5
2436 ac_status=$?
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; then
2439 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2440 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2441 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2442 # so that the user can short-circuit this test for compilers unknown to
2443 # Autoconf.
2444 for ac_file in $ac_files ''
2446 test -f "$ac_file" || continue
2447 case $ac_file in
2448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2450 [ab].out )
2451 # We found the default executable, but exeext='' is most
2452 # certainly right.
2453 break;;
2454 *.* )
2455 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2456 then :; else
2457 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2459 # We set ac_cv_exeext here because the later test for it is not
2460 # safe: cross compilers may not add the suffix if given an `-o'
2461 # argument, so we may need to know it at that point already.
2462 # Even if this section looks crufty: it has the advantage of
2463 # actually working.
2464 break;;
2466 break;;
2467 esac
2468 done
2469 test "$ac_cv_exeext" = no && ac_cv_exeext=
2471 else
2472 ac_file=''
2475 { echo "$as_me:$LINENO: result: $ac_file" >&5
2476 echo "${ECHO_T}$ac_file" >&6; }
2477 if test -z "$ac_file"; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.$ac_ext >&5
2481 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&5
2483 echo "$as_me: error: C compiler cannot create executables
2484 See \`config.log' for more details." >&2;}
2485 { (exit 77); exit 77; }; }
2488 ac_exeext=$ac_cv_exeext
2490 # Check that the compiler produces executables we can run. If not, either
2491 # the compiler is broken, or we cross compile.
2492 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2493 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2494 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2495 # If not cross compiling, check that we can run a simple program.
2496 if test "$cross_compiling" != yes; then
2497 if { ac_try='./$ac_file'
2498 { (case "(($ac_try" in
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2501 esac
2502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503 (eval "$ac_try") 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2507 cross_compiling=no
2508 else
2509 if test "$cross_compiling" = maybe; then
2510 cross_compiling=yes
2511 else
2512 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: cannot run C compiled programs.
2516 If you meant to cross compile, use \`--host'.
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2522 { echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6; }
2525 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2526 ac_clean_files=$ac_clean_files_save
2527 # Check that the compiler produces executables we can run. If not, either
2528 # the compiler is broken, or we cross compile.
2529 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2530 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2531 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2532 echo "${ECHO_T}$cross_compiling" >&6; }
2534 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2535 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2536 if { (ac_try="$ac_link"
2537 case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540 esac
2541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2542 (eval "$ac_link") 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2547 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2548 # work properly (i.e., refer to `conftest.exe'), while it won't with
2549 # `rm'.
2550 for ac_file in conftest.exe conftest conftest.*; do
2551 test -f "$ac_file" || continue
2552 case $ac_file in
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2554 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2555 break;;
2556 * ) break;;
2557 esac
2558 done
2559 else
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest$ac_cv_exeext
2568 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2574 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2575 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2576 if test "${ac_cv_objext+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 else
2579 cat >conftest.$ac_ext <<_ACEOF
2580 /* confdefs.h. */
2581 _ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2587 main ()
2591 return 0;
2593 _ACEOF
2594 rm -f conftest.o conftest.obj
2595 if { (ac_try="$ac_compile"
2596 case "(($ac_try" in
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2599 esac
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compile") 2>&5
2602 ac_status=$?
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; then
2605 for ac_file in conftest.o conftest.obj conftest.*; do
2606 test -f "$ac_file" || continue;
2607 case $ac_file in
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2610 break;;
2611 esac
2612 done
2613 else
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&5
2619 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2620 See \`config.log' for more details." >&2;}
2621 { (exit 1); exit 1; }; }
2624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2626 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2627 echo "${ECHO_T}$ac_cv_objext" >&6; }
2628 OBJEXT=$ac_cv_objext
2629 ac_objext=$OBJEXT
2630 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2631 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2632 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 else
2635 cat >conftest.$ac_ext <<_ACEOF
2636 /* confdefs.h. */
2637 _ACEOF
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2643 main ()
2645 #ifndef __GNUC__
2646 choke me
2647 #endif
2650 return 0;
2652 _ACEOF
2653 rm -f conftest.$ac_objext
2654 if { (ac_try="$ac_compile"
2655 case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2658 esac
2659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_compile") 2>conftest.er1
2661 ac_status=$?
2662 grep -v '^ *+' conftest.er1 >conftest.err
2663 rm -f conftest.er1
2664 cat conftest.err >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); } && {
2667 test -z "$ac_c_werror_flag" ||
2668 test ! -s conftest.err
2669 } && test -s conftest.$ac_objext; then
2670 ac_compiler_gnu=yes
2671 else
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2675 ac_compiler_gnu=no
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 ac_save_c_werror_flag=$ac_c_werror_flag
2693 ac_c_werror_flag=yes
2694 ac_cv_prog_cc_g=no
2695 CFLAGS="-g"
2696 cat >conftest.$ac_ext <<_ACEOF
2697 /* confdefs.h. */
2698 _ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2704 main ()
2708 return 0;
2710 _ACEOF
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2719 ac_status=$?
2720 grep -v '^ *+' conftest.er1 >conftest.err
2721 rm -f conftest.er1
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then
2728 ac_cv_prog_cc_g=yes
2729 else
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 CFLAGS=""
2734 cat >conftest.$ac_ext <<_ACEOF
2735 /* confdefs.h. */
2736 _ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 main ()
2746 return 0;
2748 _ACEOF
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2751 case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2757 ac_status=$?
2758 grep -v '^ *+' conftest.er1 >conftest.err
2759 rm -f conftest.er1
2760 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } && {
2763 test -z "$ac_c_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.$ac_objext; then
2767 else
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 ac_c_werror_flag=$ac_save_c_werror_flag
2772 CFLAGS="-g"
2773 cat >conftest.$ac_ext <<_ACEOF
2774 /* confdefs.h. */
2775 _ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2781 main ()
2785 return 0;
2787 _ACEOF
2788 rm -f conftest.$ac_objext
2789 if { (ac_try="$ac_compile"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compile") 2>conftest.er1
2796 ac_status=$?
2797 grep -v '^ *+' conftest.er1 >conftest.err
2798 rm -f conftest.er1
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.$ac_objext; then
2805 ac_cv_prog_cc_g=yes
2806 else
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 ac_c_werror_flag=$ac_save_c_werror_flag
2822 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2824 if test "$ac_test_CFLAGS" = set; then
2825 CFLAGS=$ac_save_CFLAGS
2826 elif test $ac_cv_prog_cc_g = yes; then
2827 if test "$GCC" = yes; then
2828 CFLAGS="-g -O2"
2829 else
2830 CFLAGS="-g"
2832 else
2833 if test "$GCC" = yes; then
2834 CFLAGS="-O2"
2835 else
2836 CFLAGS=
2839 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2840 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2841 if test "${ac_cv_prog_cc_c89+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 else
2844 ac_cv_prog_cc_c89=no
2845 ac_save_CC=$CC
2846 cat >conftest.$ac_ext <<_ACEOF
2847 /* confdefs.h. */
2848 _ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2852 #include <stdarg.h>
2853 #include <stdio.h>
2854 #include <sys/types.h>
2855 #include <sys/stat.h>
2856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2857 struct buf { int x; };
2858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2859 static char *e (p, i)
2860 char **p;
2861 int i;
2863 return p[i];
2865 static char *f (char * (*g) (char **, int), char **p, ...)
2867 char *s;
2868 va_list v;
2869 va_start (v,p);
2870 s = g (p, va_arg (v,int));
2871 va_end (v);
2872 return s;
2875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2876 function prototypes and stuff, but not '\xHH' hex character constants.
2877 These don't provoke an error unfortunately, instead are silently treated
2878 as 'x'. The following induces an error, until -std is added to get
2879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2880 array size at least. It's necessary to write '\x00'==0 to get something
2881 that's true only with -std. */
2882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2885 inside strings and character constants. */
2886 #define FOO(x) 'x'
2887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2889 int test (int i, double x);
2890 struct s1 {int (*f) (int a);};
2891 struct s2 {int (*f) (double a);};
2892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2893 int argc;
2894 char **argv;
2896 main ()
2898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2900 return 0;
2902 _ACEOF
2903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2906 CC="$ac_save_CC $ac_arg"
2907 rm -f conftest.$ac_objext
2908 if { (ac_try="$ac_compile"
2909 case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_compile") 2>conftest.er1
2915 ac_status=$?
2916 grep -v '^ *+' conftest.er1 >conftest.err
2917 rm -f conftest.er1
2918 cat conftest.err >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } && {
2921 test -z "$ac_c_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.$ac_objext; then
2924 ac_cv_prog_cc_c89=$ac_arg
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2932 rm -f core conftest.err conftest.$ac_objext
2933 test "x$ac_cv_prog_cc_c89" != "xno" && break
2934 done
2935 rm -f conftest.$ac_ext
2936 CC=$ac_save_CC
2939 # AC_CACHE_VAL
2940 case "x$ac_cv_prog_cc_c89" in
2942 { echo "$as_me:$LINENO: result: none needed" >&5
2943 echo "${ECHO_T}none needed" >&6; } ;;
2944 xno)
2945 { echo "$as_me:$LINENO: result: unsupported" >&5
2946 echo "${ECHO_T}unsupported" >&6; } ;;
2948 CC="$CC $ac_cv_prog_cc_c89"
2949 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2950 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2951 esac
2954 ac_ext=c
2955 ac_cpp='$CPP $CPPFLAGS'
2956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960 ac_ext=cpp
2961 ac_cpp='$CXXCPP $CPPFLAGS'
2962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2965 if test -z "$CXX"; then
2966 if test -n "$CCC"; then
2967 CXX=$CCC
2968 else
2969 if test -n "$ac_tool_prefix"; then
2970 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2976 if test "${ac_cv_prog_CXX+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 else
2979 if test -n "$CXX"; then
2980 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2981 else
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 for as_dir in $PATH
2985 IFS=$as_save_IFS
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 break 2
2993 done
2994 done
2995 IFS=$as_save_IFS
2999 CXX=$ac_cv_prog_CXX
3000 if test -n "$CXX"; then
3001 { echo "$as_me:$LINENO: result: $CXX" >&5
3002 echo "${ECHO_T}$CXX" >&6; }
3003 else
3004 { echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6; }
3009 test -n "$CXX" && break
3010 done
3012 if test -z "$CXX"; then
3013 ac_ct_CXX=$CXX
3014 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3016 # Extract the first word of "$ac_prog", so it can be a program name with args.
3017 set dummy $ac_prog; ac_word=$2
3018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3020 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 else
3023 if test -n "$ac_ct_CXX"; then
3024 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3025 else
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 for as_dir in $PATH
3029 IFS=$as_save_IFS
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 ac_cv_prog_ac_ct_CXX="$ac_prog"
3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 break 2
3037 done
3038 done
3039 IFS=$as_save_IFS
3043 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3044 if test -n "$ac_ct_CXX"; then
3045 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3046 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3047 else
3048 { echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6; }
3053 test -n "$ac_ct_CXX" && break
3054 done
3056 if test "x$ac_ct_CXX" = x; then
3057 CXX="g++"
3058 else
3059 case $cross_compiling:$ac_tool_warned in
3060 yes:)
3061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&5
3064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3065 whose name does not start with the host triplet. If you think this
3066 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3067 ac_tool_warned=yes ;;
3068 esac
3069 CXX=$ac_ct_CXX
3075 # Provide some information about the compiler.
3076 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3077 ac_compiler=`set X $ac_compile; echo $2`
3078 { (ac_try="$ac_compiler --version >&5"
3079 case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082 esac
3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compiler --version >&5") 2>&5
3085 ac_status=$?
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }
3088 { (ac_try="$ac_compiler -v >&5"
3089 case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092 esac
3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compiler -v >&5") 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (ac_try="$ac_compiler -V >&5"
3099 case "(($ac_try" in
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3102 esac
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compiler -V >&5") 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 main ()
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3129 return 0;
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3134 case "(($ac_try" in
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3137 esac
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3140 ac_status=$?
3141 grep -v '^ *+' conftest.er1 >conftest.err
3142 rm -f conftest.er1
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_cxx_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3149 ac_compiler_gnu=yes
3150 else
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 ac_compiler_gnu=no
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3161 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3163 GXX=`test $ac_compiler_gnu = yes && echo yes`
3164 ac_test_CXXFLAGS=${CXXFLAGS+set}
3165 ac_save_CXXFLAGS=$CXXFLAGS
3166 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3167 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3168 if test "${ac_cv_prog_cxx_g+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 else
3171 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3172 ac_cxx_werror_flag=yes
3173 ac_cv_prog_cxx_g=no
3174 CXXFLAGS="-g"
3175 cat >conftest.$ac_ext <<_ACEOF
3176 /* confdefs.h. */
3177 _ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3183 main ()
3187 return 0;
3189 _ACEOF
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3192 case "(($ac_try" in
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3195 esac
3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3198 ac_status=$?
3199 grep -v '^ *+' conftest.er1 >conftest.err
3200 rm -f conftest.er1
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_cxx_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3207 ac_cv_prog_cxx_g=yes
3208 else
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 CXXFLAGS=""
3213 cat >conftest.$ac_ext <<_ACEOF
3214 /* confdefs.h. */
3215 _ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3221 main ()
3225 return 0;
3227 _ACEOF
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3230 case "(($ac_try" in
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3233 esac
3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_compile") 2>conftest.er1
3236 ac_status=$?
3237 grep -v '^ *+' conftest.er1 >conftest.err
3238 rm -f conftest.er1
3239 cat conftest.err >&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } && {
3242 test -z "$ac_cxx_werror_flag" ||
3243 test ! -s conftest.err
3244 } && test -s conftest.$ac_objext; then
3246 else
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3251 CXXFLAGS="-g"
3252 cat >conftest.$ac_ext <<_ACEOF
3253 /* confdefs.h. */
3254 _ACEOF
3255 cat confdefs.h >>conftest.$ac_ext
3256 cat >>conftest.$ac_ext <<_ACEOF
3257 /* end confdefs.h. */
3260 main ()
3264 return 0;
3266 _ACEOF
3267 rm -f conftest.$ac_objext
3268 if { (ac_try="$ac_compile"
3269 case "(($ac_try" in
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3272 esac
3273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3274 (eval "$ac_compile") 2>conftest.er1
3275 ac_status=$?
3276 grep -v '^ *+' conftest.er1 >conftest.err
3277 rm -f conftest.er1
3278 cat conftest.err >&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } && {
3281 test -z "$ac_cxx_werror_flag" ||
3282 test ! -s conftest.err
3283 } && test -s conftest.$ac_objext; then
3284 ac_cv_prog_cxx_g=yes
3285 else
3286 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3301 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3302 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3303 if test "$ac_test_CXXFLAGS" = set; then
3304 CXXFLAGS=$ac_save_CXXFLAGS
3305 elif test $ac_cv_prog_cxx_g = yes; then
3306 if test "$GXX" = yes; then
3307 CXXFLAGS="-g -O2"
3308 else
3309 CXXFLAGS="-g"
3311 else
3312 if test "$GXX" = yes; then
3313 CXXFLAGS="-O2"
3314 else
3315 CXXFLAGS=
3318 ac_ext=c
3319 ac_cpp='$CPP $CPPFLAGS'
3320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3326 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3329 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 else
3332 if test -n "$CPPBIN"; then
3333 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3334 else
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336 for as_dir in $PATH
3338 IFS=$as_save_IFS
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 break 2
3346 done
3347 done
3348 IFS=$as_save_IFS
3352 CPPBIN=$ac_cv_prog_CPPBIN
3353 if test -n "$CPPBIN"; then
3354 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3355 echo "${ECHO_T}$CPPBIN" >&6; }
3356 else
3357 { echo "$as_me:$LINENO: result: no" >&5
3358 echo "${ECHO_T}no" >&6; }
3363 if test -z "$ac_cv_prog_CPPBIN"; then
3364 ac_ct_CPPBIN=$CPPBIN
3365 # Extract the first word of "cpp", so it can be a program name with args.
3366 set dummy cpp; ac_word=$2
3367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3369 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3371 else
3372 if test -n "$ac_ct_CPPBIN"; then
3373 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3374 else
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376 for as_dir in $PATH
3378 IFS=$as_save_IFS
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382 ac_cv_prog_ac_ct_CPPBIN="cpp"
3383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 break 2
3386 done
3387 done
3388 IFS=$as_save_IFS
3392 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3393 if test -n "$ac_ct_CPPBIN"; then
3394 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3395 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3396 else
3397 { echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6; }
3401 if test "x$ac_ct_CPPBIN" = x; then
3402 CPPBIN="cpp"
3403 else
3404 case $cross_compiling:$ac_tool_warned in
3405 yes:)
3406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&5
3409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3410 whose name does not start with the host triplet. If you think this
3411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3412 ac_tool_warned=yes ;;
3413 esac
3414 CPPBIN=$ac_ct_CPPBIN
3416 else
3417 CPPBIN="$ac_cv_prog_CPPBIN"
3421 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3422 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3423 if test "${wine_cv_toolsdir+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 else
3426 if test -z "$with_wine_tools"; then
3427 if test "$cross_compiling" = "yes"; then
3428 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3429 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3430 { (exit 1); exit 1; }; }
3431 else
3432 wine_cv_toolsdir="\$(TOPOBJDIR)"
3434 elif test -d "$with_wine_tools/tools/winebuild"; then
3435 case $with_wine_tools in
3436 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3437 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3438 esac
3439 else
3440 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3441 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3442 { (exit 1); exit 1; }; }
3445 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3446 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3447 TOOLSDIR=$wine_cv_toolsdir
3451 ac_ext=c
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3456 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3457 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3458 # On Suns, sometimes $CPP names a directory.
3459 if test -n "$CPP" && test -d "$CPP"; then
3460 CPP=
3462 if test -z "$CPP"; then
3463 if test "${ac_cv_prog_CPP+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 else
3466 # Double quotes because CPP needs to be expanded
3467 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3469 ac_preproc_ok=false
3470 for ac_c_preproc_warn_flag in '' yes
3472 # Use a header file that comes with gcc, so configuring glibc
3473 # with a fresh cross-compiler works.
3474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3475 # <limits.h> exists even on freestanding compilers.
3476 # On the NeXT, cc -E runs the code through the compiler's parser,
3477 # not just through cpp. "Syntax error" is here to catch this case.
3478 cat >conftest.$ac_ext <<_ACEOF
3479 /* confdefs.h. */
3480 _ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3484 #ifdef __STDC__
3485 # include <limits.h>
3486 #else
3487 # include <assert.h>
3488 #endif
3489 Syntax error
3490 _ACEOF
3491 if { (ac_try="$ac_cpp conftest.$ac_ext"
3492 case "(($ac_try" in
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3495 esac
3496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3498 ac_status=$?
3499 grep -v '^ *+' conftest.er1 >conftest.err
3500 rm -f conftest.er1
3501 cat conftest.err >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } >/dev/null && {
3504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3505 test ! -s conftest.err
3506 }; then
3508 else
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 # Broken: fails on valid input.
3513 continue
3516 rm -f conftest.err conftest.$ac_ext
3518 # OK, works on sane cases. Now check whether nonexistent headers
3519 # can be detected and how.
3520 cat >conftest.$ac_ext <<_ACEOF
3521 /* confdefs.h. */
3522 _ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3526 #include <ac_nonexistent.h>
3527 _ACEOF
3528 if { (ac_try="$ac_cpp conftest.$ac_ext"
3529 case "(($ac_try" in
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3532 esac
3533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3535 ac_status=$?
3536 grep -v '^ *+' conftest.er1 >conftest.err
3537 rm -f conftest.er1
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } >/dev/null && {
3541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3542 test ! -s conftest.err
3543 }; then
3544 # Broken: success on invalid input.
3545 continue
3546 else
3547 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 # Passes both tests.
3551 ac_preproc_ok=:
3552 break
3555 rm -f conftest.err conftest.$ac_ext
3557 done
3558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3559 rm -f conftest.err conftest.$ac_ext
3560 if $ac_preproc_ok; then
3561 break
3564 done
3565 ac_cv_prog_CPP=$CPP
3568 CPP=$ac_cv_prog_CPP
3569 else
3570 ac_cv_prog_CPP=$CPP
3572 { echo "$as_me:$LINENO: result: $CPP" >&5
3573 echo "${ECHO_T}$CPP" >&6; }
3574 ac_preproc_ok=false
3575 for ac_c_preproc_warn_flag in '' yes
3577 # Use a header file that comes with gcc, so configuring glibc
3578 # with a fresh cross-compiler works.
3579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3580 # <limits.h> exists even on freestanding compilers.
3581 # On the NeXT, cc -E runs the code through the compiler's parser,
3582 # not just through cpp. "Syntax error" is here to catch this case.
3583 cat >conftest.$ac_ext <<_ACEOF
3584 /* confdefs.h. */
3585 _ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3589 #ifdef __STDC__
3590 # include <limits.h>
3591 #else
3592 # include <assert.h>
3593 #endif
3594 Syntax error
3595 _ACEOF
3596 if { (ac_try="$ac_cpp conftest.$ac_ext"
3597 case "(($ac_try" in
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3600 esac
3601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3603 ac_status=$?
3604 grep -v '^ *+' conftest.er1 >conftest.err
3605 rm -f conftest.er1
3606 cat conftest.err >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } >/dev/null && {
3609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3610 test ! -s conftest.err
3611 }; then
3613 else
3614 echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3617 # Broken: fails on valid input.
3618 continue
3621 rm -f conftest.err conftest.$ac_ext
3623 # OK, works on sane cases. Now check whether nonexistent headers
3624 # can be detected and how.
3625 cat >conftest.$ac_ext <<_ACEOF
3626 /* confdefs.h. */
3627 _ACEOF
3628 cat confdefs.h >>conftest.$ac_ext
3629 cat >>conftest.$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3631 #include <ac_nonexistent.h>
3632 _ACEOF
3633 if { (ac_try="$ac_cpp conftest.$ac_ext"
3634 case "(($ac_try" in
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3637 esac
3638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3640 ac_status=$?
3641 grep -v '^ *+' conftest.er1 >conftest.err
3642 rm -f conftest.er1
3643 cat conftest.err >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } >/dev/null && {
3646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3647 test ! -s conftest.err
3648 }; then
3649 # Broken: success on invalid input.
3650 continue
3651 else
3652 echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Passes both tests.
3656 ac_preproc_ok=:
3657 break
3660 rm -f conftest.err conftest.$ac_ext
3662 done
3663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3664 rm -f conftest.err conftest.$ac_ext
3665 if $ac_preproc_ok; then
3667 else
3668 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&5
3670 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3671 See \`config.log' for more details." >&2;}
3672 { (exit 1); exit 1; }; }
3675 ac_ext=c
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 { echo "$as_me:$LINENO: checking for X" >&5
3683 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3686 # Check whether --with-x was given.
3687 if test "${with_x+set}" = set; then
3688 withval=$with_x;
3691 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3692 if test "x$with_x" = xno; then
3693 # The user explicitly disabled X.
3694 have_x=disabled
3695 else
3696 case $x_includes,$x_libraries in #(
3697 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3698 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3699 { (exit 1); exit 1; }; };; #(
3700 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 else
3703 # One or both of the vars are not set, and there is no cached value.
3704 ac_x_includes=no ac_x_libraries=no
3705 rm -f -r conftest.dir
3706 if mkdir conftest.dir; then
3707 cd conftest.dir
3708 cat >Imakefile <<'_ACEOF'
3709 incroot:
3710 @echo incroot='${INCROOT}'
3711 usrlibdir:
3712 @echo usrlibdir='${USRLIBDIR}'
3713 libdir:
3714 @echo libdir='${LIBDIR}'
3715 _ACEOF
3716 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3718 for ac_var in incroot usrlibdir libdir; do
3719 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3720 done
3721 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3722 for ac_extension in a so sl; do
3723 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3724 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3725 ac_im_usrlibdir=$ac_im_libdir; break
3727 done
3728 # Screen out bogus values from the imake configuration. They are
3729 # bogus both because they are the default anyway, and because
3730 # using them would break gcc on systems where it needs fixed includes.
3731 case $ac_im_incroot in
3732 /usr/include) ac_x_includes= ;;
3733 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3734 esac
3735 case $ac_im_usrlibdir in
3736 /usr/lib | /lib) ;;
3737 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3738 esac
3740 cd ..
3741 rm -f -r conftest.dir
3744 # Standard set of common directories for X headers.
3745 # Check X11 before X11Rn because it is often a symlink to the current release.
3746 ac_x_header_dirs='
3747 /usr/X11/include
3748 /usr/X11R6/include
3749 /usr/X11R5/include
3750 /usr/X11R4/include
3752 /usr/include/X11
3753 /usr/include/X11R6
3754 /usr/include/X11R5
3755 /usr/include/X11R4
3757 /usr/local/X11/include
3758 /usr/local/X11R6/include
3759 /usr/local/X11R5/include
3760 /usr/local/X11R4/include
3762 /usr/local/include/X11
3763 /usr/local/include/X11R6
3764 /usr/local/include/X11R5
3765 /usr/local/include/X11R4
3767 /usr/X386/include
3768 /usr/x386/include
3769 /usr/XFree86/include/X11
3771 /usr/include
3772 /usr/local/include
3773 /usr/unsupported/include
3774 /usr/athena/include
3775 /usr/local/x11r5/include
3776 /usr/lpp/Xamples/include
3778 /usr/openwin/include
3779 /usr/openwin/share/include'
3781 if test "$ac_x_includes" = no; then
3782 # Guess where to find include files, by looking for Xlib.h.
3783 # First, try using that file with no special directory specified.
3784 cat >conftest.$ac_ext <<_ACEOF
3785 /* confdefs.h. */
3786 _ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 #include <X11/Xlib.h>
3791 _ACEOF
3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3796 esac
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 ac_status=$?
3800 grep -v '^ *+' conftest.er1 >conftest.err
3801 rm -f conftest.er1
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3807 }; then
3808 # We can compile using X headers with no special include directory.
3809 ac_x_includes=
3810 else
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3814 for ac_dir in $ac_x_header_dirs; do
3815 if test -r "$ac_dir/X11/Xlib.h"; then
3816 ac_x_includes=$ac_dir
3817 break
3819 done
3822 rm -f conftest.err conftest.$ac_ext
3823 fi # $ac_x_includes = no
3825 if test "$ac_x_libraries" = no; then
3826 # Check for the libraries.
3827 # See if we find them without any special options.
3828 # Don't add to $LIBS permanently.
3829 ac_save_LIBS=$LIBS
3830 LIBS="-lX11 $LIBS"
3831 cat >conftest.$ac_ext <<_ACEOF
3832 /* confdefs.h. */
3833 _ACEOF
3834 cat confdefs.h >>conftest.$ac_ext
3835 cat >>conftest.$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3837 #include <X11/Xlib.h>
3839 main ()
3841 XrmInitialize ()
3843 return 0;
3845 _ACEOF
3846 rm -f conftest.$ac_objext conftest$ac_exeext
3847 if { (ac_try="$ac_link"
3848 case "(($ac_try" in
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3851 esac
3852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853 (eval "$ac_link") 2>conftest.er1
3854 ac_status=$?
3855 grep -v '^ *+' conftest.er1 >conftest.err
3856 rm -f conftest.er1
3857 cat conftest.err >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } && {
3860 test -z "$ac_c_werror_flag" ||
3861 test ! -s conftest.err
3862 } && test -s conftest$ac_exeext &&
3863 $as_test_x conftest$ac_exeext; then
3864 LIBS=$ac_save_LIBS
3865 # We can link X programs with no special library path.
3866 ac_x_libraries=
3867 else
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3871 LIBS=$ac_save_LIBS
3872 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3874 # Don't even attempt the hair of trying to link an X program!
3875 for ac_extension in a so sl; do
3876 if test -r "$ac_dir/libX11.$ac_extension"; then
3877 ac_x_libraries=$ac_dir
3878 break 2
3880 done
3881 done
3884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3885 conftest$ac_exeext conftest.$ac_ext
3886 fi # $ac_x_libraries = no
3888 case $ac_x_includes,$ac_x_libraries in #(
3889 no,* | *,no | *\'*)
3890 # Didn't find X, or a directory has "'" in its name.
3891 ac_cv_have_x="have_x=no";; #(
3893 # Record where we found X for the cache.
3894 ac_cv_have_x="have_x=yes\
3895 ac_x_includes='$ac_x_includes'\
3896 ac_x_libraries='$ac_x_libraries'"
3897 esac
3899 ;; #(
3900 *) have_x=yes;;
3901 esac
3902 eval "$ac_cv_have_x"
3903 fi # $with_x != no
3905 if test "$have_x" != yes; then
3906 { echo "$as_me:$LINENO: result: $have_x" >&5
3907 echo "${ECHO_T}$have_x" >&6; }
3908 no_x=yes
3909 else
3910 # If each of the values was on the command line, it overrides each guess.
3911 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3912 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3913 # Update the cache value to reflect the command line values.
3914 ac_cv_have_x="have_x=yes\
3915 ac_x_includes='$x_includes'\
3916 ac_x_libraries='$x_libraries'"
3917 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3918 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3921 if test "$no_x" = yes; then
3922 # Not all programs may use this symbol, but it does not hurt to define it.
3924 cat >>confdefs.h <<\_ACEOF
3925 #define X_DISPLAY_MISSING 1
3926 _ACEOF
3928 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3929 else
3930 if test -n "$x_includes"; then
3931 X_CFLAGS="$X_CFLAGS -I$x_includes"
3934 # It would also be nice to do this for all -L options, not just this one.
3935 if test -n "$x_libraries"; then
3936 X_LIBS="$X_LIBS -L$x_libraries"
3937 # For Solaris; some versions of Sun CC require a space after -R and
3938 # others require no space. Words are not sufficient . . . .
3939 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3940 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3941 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3942 ac_xsave_c_werror_flag=$ac_c_werror_flag
3943 ac_c_werror_flag=yes
3944 cat >conftest.$ac_ext <<_ACEOF
3945 /* confdefs.h. */
3946 _ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3952 main ()
3956 return 0;
3958 _ACEOF
3959 rm -f conftest.$ac_objext conftest$ac_exeext
3960 if { (ac_try="$ac_link"
3961 case "(($ac_try" in
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3964 esac
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_link") 2>conftest.er1
3967 ac_status=$?
3968 grep -v '^ *+' conftest.er1 >conftest.err
3969 rm -f conftest.er1
3970 cat conftest.err >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && {
3973 test -z "$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3975 } && test -s conftest$ac_exeext &&
3976 $as_test_x conftest$ac_exeext; then
3977 { echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6; }
3979 X_LIBS="$X_LIBS -R$x_libraries"
3980 else
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 LIBS="$ac_xsave_LIBS -R $x_libraries"
3985 cat >conftest.$ac_ext <<_ACEOF
3986 /* confdefs.h. */
3987 _ACEOF
3988 cat confdefs.h >>conftest.$ac_ext
3989 cat >>conftest.$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
3993 main ()
3997 return 0;
3999 _ACEOF
4000 rm -f conftest.$ac_objext conftest$ac_exeext
4001 if { (ac_try="$ac_link"
4002 case "(($ac_try" in
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4005 esac
4006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007 (eval "$ac_link") 2>conftest.er1
4008 ac_status=$?
4009 grep -v '^ *+' conftest.er1 >conftest.err
4010 rm -f conftest.er1
4011 cat conftest.err >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && {
4014 test -z "$ac_c_werror_flag" ||
4015 test ! -s conftest.err
4016 } && test -s conftest$ac_exeext &&
4017 $as_test_x conftest$ac_exeext; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 X_LIBS="$X_LIBS -R $x_libraries"
4021 else
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 { echo "$as_me:$LINENO: result: neither works" >&5
4026 echo "${ECHO_T}neither works" >&6; }
4029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4030 conftest$ac_exeext conftest.$ac_ext
4033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034 conftest$ac_exeext conftest.$ac_ext
4035 ac_c_werror_flag=$ac_xsave_c_werror_flag
4036 LIBS=$ac_xsave_LIBS
4039 # Check for system-dependent libraries X programs must link with.
4040 # Do this before checking for the system-independent R6 libraries
4041 # (-lICE), since we may need -lsocket or whatever for X linking.
4043 if test "$ISC" = yes; then
4044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4045 else
4046 # Martyn Johnson says this is needed for Ultrix, if the X
4047 # libraries were built with DECnet support. And Karl Berry says
4048 # the Alpha needs dnet_stub (dnet does not exist).
4049 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4050 cat >conftest.$ac_ext <<_ACEOF
4051 /* confdefs.h. */
4052 _ACEOF
4053 cat confdefs.h >>conftest.$ac_ext
4054 cat >>conftest.$ac_ext <<_ACEOF
4055 /* end confdefs.h. */
4057 /* Override any GCC internal prototype to avoid an error.
4058 Use char because int might match the return type of a GCC
4059 builtin and then its argument prototype would still apply. */
4060 #ifdef __cplusplus
4061 extern "C"
4062 #endif
4063 char XOpenDisplay ();
4065 main ()
4067 return XOpenDisplay ();
4069 return 0;
4071 _ACEOF
4072 rm -f conftest.$ac_objext conftest$ac_exeext
4073 if { (ac_try="$ac_link"
4074 case "(($ac_try" in
4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4077 esac
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_link") 2>conftest.er1
4080 ac_status=$?
4081 grep -v '^ *+' conftest.er1 >conftest.err
4082 rm -f conftest.er1
4083 cat conftest.err >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } && {
4086 test -z "$ac_c_werror_flag" ||
4087 test ! -s conftest.err
4088 } && test -s conftest$ac_exeext &&
4089 $as_test_x conftest$ac_exeext; then
4091 else
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4096 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4097 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 else
4100 ac_check_lib_save_LIBS=$LIBS
4101 LIBS="-ldnet $LIBS"
4102 cat >conftest.$ac_ext <<_ACEOF
4103 /* confdefs.h. */
4104 _ACEOF
4105 cat confdefs.h >>conftest.$ac_ext
4106 cat >>conftest.$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4109 /* Override any GCC internal prototype to avoid an error.
4110 Use char because int might match the return type of a GCC
4111 builtin and then its argument prototype would still apply. */
4112 #ifdef __cplusplus
4113 extern "C"
4114 #endif
4115 char dnet_ntoa ();
4117 main ()
4119 return dnet_ntoa ();
4121 return 0;
4123 _ACEOF
4124 rm -f conftest.$ac_objext conftest$ac_exeext
4125 if { (ac_try="$ac_link"
4126 case "(($ac_try" in
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4129 esac
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_link") 2>conftest.er1
4132 ac_status=$?
4133 grep -v '^ *+' conftest.er1 >conftest.err
4134 rm -f conftest.er1
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest$ac_exeext &&
4141 $as_test_x conftest$ac_exeext; then
4142 ac_cv_lib_dnet_dnet_ntoa=yes
4143 else
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 ac_cv_lib_dnet_dnet_ntoa=no
4150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4151 conftest$ac_exeext conftest.$ac_ext
4152 LIBS=$ac_check_lib_save_LIBS
4154 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4155 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4156 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4157 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4160 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4161 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4162 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4163 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 else
4166 ac_check_lib_save_LIBS=$LIBS
4167 LIBS="-ldnet_stub $LIBS"
4168 cat >conftest.$ac_ext <<_ACEOF
4169 /* confdefs.h. */
4170 _ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4175 /* Override any GCC internal prototype to avoid an error.
4176 Use char because int might match the return type of a GCC
4177 builtin and then its argument prototype would still apply. */
4178 #ifdef __cplusplus
4179 extern "C"
4180 #endif
4181 char dnet_ntoa ();
4183 main ()
4185 return dnet_ntoa ();
4187 return 0;
4189 _ACEOF
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4192 case "(($ac_try" in
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4195 esac
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4198 ac_status=$?
4199 grep -v '^ *+' conftest.er1 >conftest.err
4200 rm -f conftest.er1
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest$ac_exeext &&
4207 $as_test_x conftest$ac_exeext; then
4208 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4209 else
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.$ac_ext >&5
4213 ac_cv_lib_dnet_stub_dnet_ntoa=no
4216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4217 conftest$ac_exeext conftest.$ac_ext
4218 LIBS=$ac_check_lib_save_LIBS
4220 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4221 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4222 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4223 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4230 conftest$ac_exeext conftest.$ac_ext
4231 LIBS="$ac_xsave_LIBS"
4233 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4234 # to get the SysV transport functions.
4235 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4236 # needs -lnsl.
4237 # The nsl library prevents programs from opening the X display
4238 # on Irix 5.2, according to T.E. Dickey.
4239 # The functions gethostbyname, getservbyname, and inet_addr are
4240 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4241 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4242 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4243 if test "${ac_cv_func_gethostbyname+set}" = set; then
4244 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 else
4246 cat >conftest.$ac_ext <<_ACEOF
4247 /* confdefs.h. */
4248 _ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4252 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4254 #define gethostbyname innocuous_gethostbyname
4256 /* System header to define __stub macros and hopefully few prototypes,
4257 which can conflict with char gethostbyname (); below.
4258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4259 <limits.h> exists even on freestanding compilers. */
4261 #ifdef __STDC__
4262 # include <limits.h>
4263 #else
4264 # include <assert.h>
4265 #endif
4267 #undef gethostbyname
4269 /* Override any GCC internal prototype to avoid an error.
4270 Use char because int might match the return type of a GCC
4271 builtin and then its argument prototype would still apply. */
4272 #ifdef __cplusplus
4273 extern "C"
4274 #endif
4275 char gethostbyname ();
4276 /* The GNU C library defines this for functions which it implements
4277 to always fail with ENOSYS. Some functions are actually named
4278 something starting with __ and the normal name is an alias. */
4279 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4280 choke me
4281 #endif
4284 main ()
4286 return gethostbyname ();
4288 return 0;
4290 _ACEOF
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4293 case "(($ac_try" in
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4296 esac
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4299 ac_status=$?
4300 grep -v '^ *+' conftest.er1 >conftest.err
4301 rm -f conftest.er1
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } && {
4305 test -z "$ac_c_werror_flag" ||
4306 test ! -s conftest.err
4307 } && test -s conftest$ac_exeext &&
4308 $as_test_x conftest$ac_exeext; then
4309 ac_cv_func_gethostbyname=yes
4310 else
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4314 ac_cv_func_gethostbyname=no
4317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4318 conftest$ac_exeext conftest.$ac_ext
4320 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4321 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4323 if test $ac_cv_func_gethostbyname = no; then
4324 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4325 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 else
4329 ac_check_lib_save_LIBS=$LIBS
4330 LIBS="-lnsl $LIBS"
4331 cat >conftest.$ac_ext <<_ACEOF
4332 /* confdefs.h. */
4333 _ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4341 #ifdef __cplusplus
4342 extern "C"
4343 #endif
4344 char gethostbyname ();
4346 main ()
4348 return gethostbyname ();
4350 return 0;
4352 _ACEOF
4353 rm -f conftest.$ac_objext conftest$ac_exeext
4354 if { (ac_try="$ac_link"
4355 case "(($ac_try" in
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4358 esac
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_link") 2>conftest.er1
4361 ac_status=$?
4362 grep -v '^ *+' conftest.er1 >conftest.err
4363 rm -f conftest.er1
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } && {
4367 test -z "$ac_c_werror_flag" ||
4368 test ! -s conftest.err
4369 } && test -s conftest$ac_exeext &&
4370 $as_test_x conftest$ac_exeext; then
4371 ac_cv_lib_nsl_gethostbyname=yes
4372 else
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.$ac_ext >&5
4376 ac_cv_lib_nsl_gethostbyname=no
4379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4380 conftest$ac_exeext conftest.$ac_ext
4381 LIBS=$ac_check_lib_save_LIBS
4383 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4384 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4385 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4389 if test $ac_cv_lib_nsl_gethostbyname = no; then
4390 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4391 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4392 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 else
4395 ac_check_lib_save_LIBS=$LIBS
4396 LIBS="-lbsd $LIBS"
4397 cat >conftest.$ac_ext <<_ACEOF
4398 /* confdefs.h. */
4399 _ACEOF
4400 cat confdefs.h >>conftest.$ac_ext
4401 cat >>conftest.$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4404 /* Override any GCC internal prototype to avoid an error.
4405 Use char because int might match the return type of a GCC
4406 builtin and then its argument prototype would still apply. */
4407 #ifdef __cplusplus
4408 extern "C"
4409 #endif
4410 char gethostbyname ();
4412 main ()
4414 return gethostbyname ();
4416 return 0;
4418 _ACEOF
4419 rm -f conftest.$ac_objext conftest$ac_exeext
4420 if { (ac_try="$ac_link"
4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4426 (eval "$ac_link") 2>conftest.er1
4427 ac_status=$?
4428 grep -v '^ *+' conftest.er1 >conftest.err
4429 rm -f conftest.er1
4430 cat conftest.err >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } && {
4433 test -z "$ac_c_werror_flag" ||
4434 test ! -s conftest.err
4435 } && test -s conftest$ac_exeext &&
4436 $as_test_x conftest$ac_exeext; then
4437 ac_cv_lib_bsd_gethostbyname=yes
4438 else
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 ac_cv_lib_bsd_gethostbyname=no
4445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4446 conftest$ac_exeext conftest.$ac_ext
4447 LIBS=$ac_check_lib_save_LIBS
4449 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4450 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4451 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4458 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4459 # socket/setsockopt and other routines are undefined under SCO ODT
4460 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4461 # on later versions), says Simon Leinen: it contains gethostby*
4462 # variants that don't use the name server (or something). -lsocket
4463 # must be given before -lnsl if both are needed. We assume that
4464 # if connect needs -lnsl, so does gethostbyname.
4465 { echo "$as_me:$LINENO: checking for connect" >&5
4466 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_connect+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 else
4470 cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h. */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define connect innocuous_connect
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char connect (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4485 #ifdef __STDC__
4486 # include <limits.h>
4487 #else
4488 # include <assert.h>
4489 #endif
4491 #undef connect
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4496 #ifdef __cplusplus
4497 extern "C"
4498 #endif
4499 char connect ();
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_connect || defined __stub___connect
4504 choke me
4505 #endif
4508 main ()
4510 return connect ();
4512 return 0;
4514 _ACEOF
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4517 case "(($ac_try" in
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4520 esac
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4523 ac_status=$?
4524 grep -v '^ *+' conftest.er1 >conftest.err
4525 rm -f conftest.er1
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest$ac_exeext &&
4532 $as_test_x conftest$ac_exeext; then
4533 ac_cv_func_connect=yes
4534 else
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_cv_func_connect=no
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4545 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4547 if test $ac_cv_func_connect = no; then
4548 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4549 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_socket_connect+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 else
4553 ac_check_lib_save_LIBS=$LIBS
4554 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4555 cat >conftest.$ac_ext <<_ACEOF
4556 /* confdefs.h. */
4557 _ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4565 #ifdef __cplusplus
4566 extern "C"
4567 #endif
4568 char connect ();
4570 main ()
4572 return connect ();
4574 return 0;
4576 _ACEOF
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4579 case "(($ac_try" in
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4582 esac
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4585 ac_status=$?
4586 grep -v '^ *+' conftest.er1 >conftest.err
4587 rm -f conftest.er1
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_socket_connect=yes
4596 else
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_socket_connect=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4608 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4609 if test $ac_cv_lib_socket_connect = yes; then
4610 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4615 # Guillermo Gomez says -lposix is necessary on A/UX.
4616 { echo "$as_me:$LINENO: checking for remove" >&5
4617 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4618 if test "${ac_cv_func_remove+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 else
4621 cat >conftest.$ac_ext <<_ACEOF
4622 /* confdefs.h. */
4623 _ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4629 #define remove innocuous_remove
4631 /* System header to define __stub macros and hopefully few prototypes,
4632 which can conflict with char remove (); below.
4633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4634 <limits.h> exists even on freestanding compilers. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4642 #undef remove
4644 /* Override any GCC internal prototype to avoid an error.
4645 Use char because int might match the return type of a GCC
4646 builtin and then its argument prototype would still apply. */
4647 #ifdef __cplusplus
4648 extern "C"
4649 #endif
4650 char remove ();
4651 /* The GNU C library defines this for functions which it implements
4652 to always fail with ENOSYS. Some functions are actually named
4653 something starting with __ and the normal name is an alias. */
4654 #if defined __stub_remove || defined __stub___remove
4655 choke me
4656 #endif
4659 main ()
4661 return remove ();
4663 return 0;
4665 _ACEOF
4666 rm -f conftest.$ac_objext conftest$ac_exeext
4667 if { (ac_try="$ac_link"
4668 case "(($ac_try" in
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670 *) ac_try_echo=$ac_try;;
4671 esac
4672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4673 (eval "$ac_link") 2>conftest.er1
4674 ac_status=$?
4675 grep -v '^ *+' conftest.er1 >conftest.err
4676 rm -f conftest.er1
4677 cat conftest.err >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } && {
4680 test -z "$ac_c_werror_flag" ||
4681 test ! -s conftest.err
4682 } && test -s conftest$ac_exeext &&
4683 $as_test_x conftest$ac_exeext; then
4684 ac_cv_func_remove=yes
4685 else
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_cv_func_remove=no
4692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4693 conftest$ac_exeext conftest.$ac_ext
4695 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4696 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4698 if test $ac_cv_func_remove = no; then
4699 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4700 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4701 if test "${ac_cv_lib_posix_remove+set}" = set; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 else
4704 ac_check_lib_save_LIBS=$LIBS
4705 LIBS="-lposix $LIBS"
4706 cat >conftest.$ac_ext <<_ACEOF
4707 /* confdefs.h. */
4708 _ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4713 /* Override any GCC internal prototype to avoid an error.
4714 Use char because int might match the return type of a GCC
4715 builtin and then its argument prototype would still apply. */
4716 #ifdef __cplusplus
4717 extern "C"
4718 #endif
4719 char remove ();
4721 main ()
4723 return remove ();
4725 return 0;
4727 _ACEOF
4728 rm -f conftest.$ac_objext conftest$ac_exeext
4729 if { (ac_try="$ac_link"
4730 case "(($ac_try" in
4731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4732 *) ac_try_echo=$ac_try;;
4733 esac
4734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4735 (eval "$ac_link") 2>conftest.er1
4736 ac_status=$?
4737 grep -v '^ *+' conftest.er1 >conftest.err
4738 rm -f conftest.er1
4739 cat conftest.err >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } && {
4742 test -z "$ac_c_werror_flag" ||
4743 test ! -s conftest.err
4744 } && test -s conftest$ac_exeext &&
4745 $as_test_x conftest$ac_exeext; then
4746 ac_cv_lib_posix_remove=yes
4747 else
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_posix_remove=no
4754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4759 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4760 if test $ac_cv_lib_posix_remove = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4766 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4767 { echo "$as_me:$LINENO: checking for shmat" >&5
4768 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4769 if test "${ac_cv_func_shmat+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 else
4772 cat >conftest.$ac_ext <<_ACEOF
4773 /* confdefs.h. */
4774 _ACEOF
4775 cat confdefs.h >>conftest.$ac_ext
4776 cat >>conftest.$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4780 #define shmat innocuous_shmat
4782 /* System header to define __stub macros and hopefully few prototypes,
4783 which can conflict with char shmat (); below.
4784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4785 <limits.h> exists even on freestanding compilers. */
4787 #ifdef __STDC__
4788 # include <limits.h>
4789 #else
4790 # include <assert.h>
4791 #endif
4793 #undef shmat
4795 /* Override any GCC internal prototype to avoid an error.
4796 Use char because int might match the return type of a GCC
4797 builtin and then its argument prototype would still apply. */
4798 #ifdef __cplusplus
4799 extern "C"
4800 #endif
4801 char shmat ();
4802 /* The GNU C library defines this for functions which it implements
4803 to always fail with ENOSYS. Some functions are actually named
4804 something starting with __ and the normal name is an alias. */
4805 #if defined __stub_shmat || defined __stub___shmat
4806 choke me
4807 #endif
4810 main ()
4812 return shmat ();
4814 return 0;
4816 _ACEOF
4817 rm -f conftest.$ac_objext conftest$ac_exeext
4818 if { (ac_try="$ac_link"
4819 case "(($ac_try" in
4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4821 *) ac_try_echo=$ac_try;;
4822 esac
4823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4824 (eval "$ac_link") 2>conftest.er1
4825 ac_status=$?
4826 grep -v '^ *+' conftest.er1 >conftest.err
4827 rm -f conftest.er1
4828 cat conftest.err >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); } && {
4831 test -z "$ac_c_werror_flag" ||
4832 test ! -s conftest.err
4833 } && test -s conftest$ac_exeext &&
4834 $as_test_x conftest$ac_exeext; then
4835 ac_cv_func_shmat=yes
4836 else
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4840 ac_cv_func_shmat=no
4843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4844 conftest$ac_exeext conftest.$ac_ext
4846 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4847 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4849 if test $ac_cv_func_shmat = no; then
4850 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4851 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4852 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 else
4855 ac_check_lib_save_LIBS=$LIBS
4856 LIBS="-lipc $LIBS"
4857 cat >conftest.$ac_ext <<_ACEOF
4858 /* confdefs.h. */
4859 _ACEOF
4860 cat confdefs.h >>conftest.$ac_ext
4861 cat >>conftest.$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4864 /* Override any GCC internal prototype to avoid an error.
4865 Use char because int might match the return type of a GCC
4866 builtin and then its argument prototype would still apply. */
4867 #ifdef __cplusplus
4868 extern "C"
4869 #endif
4870 char shmat ();
4872 main ()
4874 return shmat ();
4876 return 0;
4878 _ACEOF
4879 rm -f conftest.$ac_objext conftest$ac_exeext
4880 if { (ac_try="$ac_link"
4881 case "(($ac_try" in
4882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883 *) ac_try_echo=$ac_try;;
4884 esac
4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886 (eval "$ac_link") 2>conftest.er1
4887 ac_status=$?
4888 grep -v '^ *+' conftest.er1 >conftest.err
4889 rm -f conftest.er1
4890 cat conftest.err >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } && {
4893 test -z "$ac_c_werror_flag" ||
4894 test ! -s conftest.err
4895 } && test -s conftest$ac_exeext &&
4896 $as_test_x conftest$ac_exeext; then
4897 ac_cv_lib_ipc_shmat=yes
4898 else
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.$ac_ext >&5
4902 ac_cv_lib_ipc_shmat=no
4905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4906 conftest$ac_exeext conftest.$ac_ext
4907 LIBS=$ac_check_lib_save_LIBS
4909 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4910 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4911 if test $ac_cv_lib_ipc_shmat = yes; then
4912 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4918 # Check for libraries that X11R6 Xt/Xaw programs need.
4919 ac_save_LDFLAGS=$LDFLAGS
4920 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4921 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4922 # check for ICE first), but we must link in the order -lSM -lICE or
4923 # we get undefined symbols. So assume we have SM if we have ICE.
4924 # These have to be linked with before -lX11, unlike the other
4925 # libraries we check for below, so use a different variable.
4926 # John Interrante, Karl Berry
4927 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4928 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4929 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 else
4932 ac_check_lib_save_LIBS=$LIBS
4933 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4934 cat >conftest.$ac_ext <<_ACEOF
4935 /* confdefs.h. */
4936 _ACEOF
4937 cat confdefs.h >>conftest.$ac_ext
4938 cat >>conftest.$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4941 /* Override any GCC internal prototype to avoid an error.
4942 Use char because int might match the return type of a GCC
4943 builtin and then its argument prototype would still apply. */
4944 #ifdef __cplusplus
4945 extern "C"
4946 #endif
4947 char IceConnectionNumber ();
4949 main ()
4951 return IceConnectionNumber ();
4953 return 0;
4955 _ACEOF
4956 rm -f conftest.$ac_objext conftest$ac_exeext
4957 if { (ac_try="$ac_link"
4958 case "(($ac_try" in
4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4961 esac
4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_link") 2>conftest.er1
4964 ac_status=$?
4965 grep -v '^ *+' conftest.er1 >conftest.err
4966 rm -f conftest.er1
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest$ac_exeext &&
4973 $as_test_x conftest$ac_exeext; then
4974 ac_cv_lib_ICE_IceConnectionNumber=yes
4975 else
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4979 ac_cv_lib_ICE_IceConnectionNumber=no
4982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4983 conftest$ac_exeext conftest.$ac_ext
4984 LIBS=$ac_check_lib_save_LIBS
4986 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4987 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4988 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4989 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4992 LDFLAGS=$ac_save_LDFLAGS
4997 for ac_prog in flex
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy $ac_prog; ac_word=$2
5001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5003 if test "${ac_cv_prog_FLEX+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 else
5006 if test -n "$FLEX"; then
5007 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5008 else
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 for as_dir in $PATH
5012 IFS=$as_save_IFS
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_FLEX="$ac_prog"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 break 2
5020 done
5021 done
5022 IFS=$as_save_IFS
5026 FLEX=$ac_cv_prog_FLEX
5027 if test -n "$FLEX"; then
5028 { echo "$as_me:$LINENO: result: $FLEX" >&5
5029 echo "${ECHO_T}$FLEX" >&6; }
5030 else
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5036 test -n "$FLEX" && break
5037 done
5038 test -n "$FLEX" || FLEX="none"
5040 if test "$FLEX" = "none"
5041 then
5042 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5043 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5044 { (exit 1); exit 1; }; }
5047 for ac_prog in bison
5049 # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy $ac_prog; ac_word=$2
5051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5053 if test "${ac_cv_prog_BISON+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 else
5056 if test -n "$BISON"; then
5057 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5062 IFS=$as_save_IFS
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_BISON="$ac_prog"
5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 break 2
5070 done
5071 done
5072 IFS=$as_save_IFS
5076 BISON=$ac_cv_prog_BISON
5077 if test -n "$BISON"; then
5078 { echo "$as_me:$LINENO: result: $BISON" >&5
5079 echo "${ECHO_T}$BISON" >&6; }
5080 else
5081 { echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6; }
5086 test -n "$BISON" && break
5087 done
5088 test -n "$BISON" || BISON="none"
5090 if test "$BISON" = "none"
5091 then
5092 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5093 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5094 { (exit 1); exit 1; }; }
5097 if test -n "$ac_tool_prefix"; then
5098 for ac_prog in gas as
5100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5104 if test "${ac_cv_prog_AS+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 else
5107 if test -n "$AS"; then
5108 ac_cv_prog_AS="$AS" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5113 IFS=$as_save_IFS
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 break 2
5121 done
5122 done
5123 IFS=$as_save_IFS
5127 AS=$ac_cv_prog_AS
5128 if test -n "$AS"; then
5129 { echo "$as_me:$LINENO: result: $AS" >&5
5130 echo "${ECHO_T}$AS" >&6; }
5131 else
5132 { echo "$as_me:$LINENO: result: no" >&5
5133 echo "${ECHO_T}no" >&6; }
5137 test -n "$AS" && break
5138 done
5140 if test -z "$AS"; then
5141 ac_ct_AS=$AS
5142 for ac_prog in gas as
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy $ac_prog; ac_word=$2
5146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5148 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 else
5151 if test -n "$ac_ct_AS"; then
5152 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_AS="$ac_prog"
5162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5172 if test -n "$ac_ct_AS"; then
5173 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5174 echo "${ECHO_T}$ac_ct_AS" >&6; }
5175 else
5176 { echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6; }
5181 test -n "$ac_ct_AS" && break
5182 done
5184 if test "x$ac_ct_AS" = x; then
5185 AS="as"
5186 else
5187 case $cross_compiling:$ac_tool_warned in
5188 yes:)
5189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&5
5192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5193 whose name does not start with the host triplet. If you think this
5194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5195 ac_tool_warned=yes ;;
5196 esac
5197 AS=$ac_ct_AS
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}ld; ac_word=$2
5204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5206 if test "${ac_cv_prog_LD+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 else
5209 if test -n "$LD"; then
5210 ac_cv_prog_LD="$LD" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5215 IFS=$as_save_IFS
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_LD="${ac_tool_prefix}ld"
5220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 break 2
5223 done
5224 done
5225 IFS=$as_save_IFS
5229 LD=$ac_cv_prog_LD
5230 if test -n "$LD"; then
5231 { echo "$as_me:$LINENO: result: $LD" >&5
5232 echo "${ECHO_T}$LD" >&6; }
5233 else
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5240 if test -z "$ac_cv_prog_LD"; then
5241 ac_ct_LD=$LD
5242 # Extract the first word of "ld", so it can be a program name with args.
5243 set dummy ld; ac_word=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 else
5249 if test -n "$ac_ct_LD"; then
5250 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5255 IFS=$as_save_IFS
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_ac_ct_LD="ld"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 break 2
5263 done
5264 done
5265 IFS=$as_save_IFS
5269 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5270 if test -n "$ac_ct_LD"; then
5271 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5272 echo "${ECHO_T}$ac_ct_LD" >&6; }
5273 else
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5278 if test "x$ac_ct_LD" = x; then
5279 LD="ld"
5280 else
5281 case $cross_compiling:$ac_tool_warned in
5282 yes:)
5283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&5
5286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5287 whose name does not start with the host triplet. If you think this
5288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5289 ac_tool_warned=yes ;;
5290 esac
5291 LD=$ac_ct_LD
5293 else
5294 LD="$ac_cv_prog_LD"
5297 if test -n "$ac_tool_prefix"; then
5298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5299 set dummy ${ac_tool_prefix}ar; ac_word=$2
5300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5302 if test "${ac_cv_prog_AR+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 else
5305 if test -n "$AR"; then
5306 ac_cv_prog_AR="$AR" # Let the user override the test.
5307 else
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5315 ac_cv_prog_AR="${ac_tool_prefix}ar"
5316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 break 2
5319 done
5320 done
5321 IFS=$as_save_IFS
5325 AR=$ac_cv_prog_AR
5326 if test -n "$AR"; then
5327 { echo "$as_me:$LINENO: result: $AR" >&5
5328 echo "${ECHO_T}$AR" >&6; }
5329 else
5330 { echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6; }
5336 if test -z "$ac_cv_prog_AR"; then
5337 ac_ct_AR=$AR
5338 # Extract the first word of "ar", so it can be a program name with args.
5339 set dummy ar; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 else
5345 if test -n "$ac_ct_AR"; then
5346 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5351 IFS=$as_save_IFS
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_ac_ct_AR="ar"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 break 2
5359 done
5360 done
5361 IFS=$as_save_IFS
5365 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5366 if test -n "$ac_ct_AR"; then
5367 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5368 echo "${ECHO_T}$ac_ct_AR" >&6; }
5369 else
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5374 if test "x$ac_ct_AR" = x; then
5375 AR="ar"
5376 else
5377 case $cross_compiling:$ac_tool_warned in
5378 yes:)
5379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&5
5382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5383 whose name does not start with the host triplet. If you think this
5384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5385 ac_tool_warned=yes ;;
5386 esac
5387 AR=$ac_ct_AR
5389 else
5390 AR="$ac_cv_prog_AR"
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5395 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5398 if test "${ac_cv_prog_RANLIB+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 else
5401 if test -n "$RANLIB"; then
5402 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5403 else
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH
5407 IFS=$as_save_IFS
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 break 2
5415 done
5416 done
5417 IFS=$as_save_IFS
5421 RANLIB=$ac_cv_prog_RANLIB
5422 if test -n "$RANLIB"; then
5423 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5424 echo "${ECHO_T}$RANLIB" >&6; }
5425 else
5426 { echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6; }
5432 if test -z "$ac_cv_prog_RANLIB"; then
5433 ac_ct_RANLIB=$RANLIB
5434 # Extract the first word of "ranlib", so it can be a program name with args.
5435 set dummy ranlib; ac_word=$2
5436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 if test -n "$ac_ct_RANLIB"; then
5442 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5443 else
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 for as_dir in $PATH
5447 IFS=$as_save_IFS
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_ac_ct_RANLIB="ranlib"
5452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 break 2
5455 done
5456 done
5457 IFS=$as_save_IFS
5461 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5462 if test -n "$ac_ct_RANLIB"; then
5463 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5464 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5465 else
5466 { echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6; }
5470 if test "x$ac_ct_RANLIB" = x; then
5471 RANLIB=":"
5472 else
5473 case $cross_compiling:$ac_tool_warned in
5474 yes:)
5475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&5
5478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5479 whose name does not start with the host triplet. If you think this
5480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5481 ac_tool_warned=yes ;;
5482 esac
5483 RANLIB=$ac_ct_RANLIB
5485 else
5486 RANLIB="$ac_cv_prog_RANLIB"
5489 if test -n "$ac_tool_prefix"; then
5490 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5491 set dummy ${ac_tool_prefix}strip; ac_word=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_STRIP+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 else
5497 if test -n "$STRIP"; then
5498 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5499 else
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH
5503 IFS=$as_save_IFS
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 break 2
5511 done
5512 done
5513 IFS=$as_save_IFS
5517 STRIP=$ac_cv_prog_STRIP
5518 if test -n "$STRIP"; then
5519 { echo "$as_me:$LINENO: result: $STRIP" >&5
5520 echo "${ECHO_T}$STRIP" >&6; }
5521 else
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5528 if test -z "$ac_cv_prog_STRIP"; then
5529 ac_ct_STRIP=$STRIP
5530 # Extract the first word of "strip", so it can be a program name with args.
5531 set dummy strip; ac_word=$2
5532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5534 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 else
5537 if test -n "$ac_ct_STRIP"; then
5538 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5539 else
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH
5543 IFS=$as_save_IFS
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_ac_ct_STRIP="strip"
5548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 break 2
5551 done
5552 done
5553 IFS=$as_save_IFS
5557 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5558 if test -n "$ac_ct_STRIP"; then
5559 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5560 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5561 else
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5566 if test "x$ac_ct_STRIP" = x; then
5567 STRIP="strip"
5568 else
5569 case $cross_compiling:$ac_tool_warned in
5570 yes:)
5571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&5
5574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5575 whose name does not start with the host triplet. If you think this
5576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5577 ac_tool_warned=yes ;;
5578 esac
5579 STRIP=$ac_ct_STRIP
5581 else
5582 STRIP="$ac_cv_prog_STRIP"
5585 if test -n "$ac_tool_prefix"; then
5586 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5587 set dummy ${ac_tool_prefix}windres; ac_word=$2
5588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5590 if test "${ac_cv_prog_WINDRES+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5592 else
5593 if test -n "$WINDRES"; then
5594 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5595 else
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 for as_dir in $PATH
5599 IFS=$as_save_IFS
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 break 2
5607 done
5608 done
5609 IFS=$as_save_IFS
5613 WINDRES=$ac_cv_prog_WINDRES
5614 if test -n "$WINDRES"; then
5615 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5616 echo "${ECHO_T}$WINDRES" >&6; }
5617 else
5618 { echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6; }
5624 if test -z "$ac_cv_prog_WINDRES"; then
5625 ac_ct_WINDRES=$WINDRES
5626 # Extract the first word of "windres", so it can be a program name with args.
5627 set dummy windres; ac_word=$2
5628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 else
5633 if test -n "$ac_ct_WINDRES"; then
5634 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5635 else
5636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 for as_dir in $PATH
5639 IFS=$as_save_IFS
5640 test -z "$as_dir" && as_dir=.
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_ac_ct_WINDRES="windres"
5644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 break 2
5647 done
5648 done
5649 IFS=$as_save_IFS
5653 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5654 if test -n "$ac_ct_WINDRES"; then
5655 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5656 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5657 else
5658 { echo "$as_me:$LINENO: result: no" >&5
5659 echo "${ECHO_T}no" >&6; }
5662 if test "x$ac_ct_WINDRES" = x; then
5663 WINDRES="false"
5664 else
5665 case $cross_compiling:$ac_tool_warned in
5666 yes:)
5667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&5
5670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5671 whose name does not start with the host triplet. If you think this
5672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5673 ac_tool_warned=yes ;;
5674 esac
5675 WINDRES=$ac_ct_WINDRES
5677 else
5678 WINDRES="$ac_cv_prog_WINDRES"
5681 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5682 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5683 LN_S=$as_ln_s
5684 if test "$LN_S" = "ln -s"; then
5685 { echo "$as_me:$LINENO: result: yes" >&5
5686 echo "${ECHO_T}yes" >&6; }
5687 else
5688 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5689 echo "${ECHO_T}no, using $LN_S" >&6; }
5692 { echo "$as_me:$LINENO: checking whether ln works" >&5
5693 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5694 rm -f conf$$ conf$$.file
5695 echo >conf$$.file
5696 if ln conf$$.file conf$$ 2>/dev/null; then
5697 LN=ln
5699 { echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6; }
5701 else
5702 LN="cp -p"
5704 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5705 echo "${ECHO_T}no, using $LN" >&6; }
5707 rm -f conf$$ conf$$.file
5708 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5709 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5710 if test "${ac_cv_path_GREP+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 else
5713 # Extract the first word of "grep ggrep" to use in msg output
5714 if test -z "$GREP"; then
5715 set dummy grep ggrep; ac_prog_name=$2
5716 if test "${ac_cv_path_GREP+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 else
5719 ac_path_GREP_found=false
5720 # Loop through the user's path and test for each of PROGNAME-LIST
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_prog in grep ggrep; do
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5729 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5730 # Check for GNU ac_path_GREP and select it if it is found.
5731 # Check for GNU $ac_path_GREP
5732 case `"$ac_path_GREP" --version 2>&1` in
5733 *GNU*)
5734 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5736 ac_count=0
5737 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5738 while :
5740 cat "conftest.in" "conftest.in" >"conftest.tmp"
5741 mv "conftest.tmp" "conftest.in"
5742 cp "conftest.in" "conftest.nl"
5743 echo 'GREP' >> "conftest.nl"
5744 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5746 ac_count=`expr $ac_count + 1`
5747 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5748 # Best one so far, save it but keep looking for a better one
5749 ac_cv_path_GREP="$ac_path_GREP"
5750 ac_path_GREP_max=$ac_count
5752 # 10*(2^10) chars as input seems more than enough
5753 test $ac_count -gt 10 && break
5754 done
5755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5756 esac
5759 $ac_path_GREP_found && break 3
5760 done
5761 done
5763 done
5764 IFS=$as_save_IFS
5769 GREP="$ac_cv_path_GREP"
5770 if test -z "$GREP"; then
5771 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5772 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5773 { (exit 1); exit 1; }; }
5776 else
5777 ac_cv_path_GREP=$GREP
5782 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5783 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5784 GREP="$ac_cv_path_GREP"
5787 { echo "$as_me:$LINENO: checking for egrep" >&5
5788 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5789 if test "${ac_cv_path_EGREP+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 else
5792 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5793 then ac_cv_path_EGREP="$GREP -E"
5794 else
5795 # Extract the first word of "egrep" to use in msg output
5796 if test -z "$EGREP"; then
5797 set dummy egrep; ac_prog_name=$2
5798 if test "${ac_cv_path_EGREP+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 else
5801 ac_path_EGREP_found=false
5802 # Loop through the user's path and test for each of PROGNAME-LIST
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5806 IFS=$as_save_IFS
5807 test -z "$as_dir" && as_dir=.
5808 for ac_prog in egrep; do
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5812 # Check for GNU ac_path_EGREP and select it if it is found.
5813 # Check for GNU $ac_path_EGREP
5814 case `"$ac_path_EGREP" --version 2>&1` in
5815 *GNU*)
5816 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5818 ac_count=0
5819 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5820 while :
5822 cat "conftest.in" "conftest.in" >"conftest.tmp"
5823 mv "conftest.tmp" "conftest.in"
5824 cp "conftest.in" "conftest.nl"
5825 echo 'EGREP' >> "conftest.nl"
5826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5828 ac_count=`expr $ac_count + 1`
5829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5830 # Best one so far, save it but keep looking for a better one
5831 ac_cv_path_EGREP="$ac_path_EGREP"
5832 ac_path_EGREP_max=$ac_count
5834 # 10*(2^10) chars as input seems more than enough
5835 test $ac_count -gt 10 && break
5836 done
5837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5838 esac
5841 $ac_path_EGREP_found && break 3
5842 done
5843 done
5845 done
5846 IFS=$as_save_IFS
5851 EGREP="$ac_cv_path_EGREP"
5852 if test -z "$EGREP"; then
5853 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5855 { (exit 1); exit 1; }; }
5858 else
5859 ac_cv_path_EGREP=$EGREP
5865 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5866 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5867 EGREP="$ac_cv_path_EGREP"
5870 # Extract the first word of "ldconfig", so it can be a program name with args.
5871 set dummy ldconfig; ac_word=$2
5872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5874 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 else
5877 case $LDCONFIG in
5878 [\\/]* | ?:[\\/]*)
5879 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in /sbin /usr/sbin $PATH
5885 IFS=$as_save_IFS
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 break 2
5893 done
5894 done
5895 IFS=$as_save_IFS
5897 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5899 esac
5901 LDCONFIG=$ac_cv_path_LDCONFIG
5902 if test -n "$LDCONFIG"; then
5903 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5904 echo "${ECHO_T}$LDCONFIG" >&6; }
5905 else
5906 { echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6; }
5911 # Find a good install program. We prefer a C program (faster),
5912 # so one script is as good as another. But avoid the broken or
5913 # incompatible versions:
5914 # SysV /etc/install, /usr/sbin/install
5915 # SunOS /usr/etc/install
5916 # IRIX /sbin/install
5917 # AIX /bin/install
5918 # AmigaOS /C/install, which installs bootblocks on floppy discs
5919 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5920 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5921 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5922 # OS/2's system install, which has a completely different semantic
5923 # ./install, which can be erroneously created by make from ./install.sh.
5924 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5925 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5926 if test -z "$INSTALL"; then
5927 if test "${ac_cv_path_install+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5933 IFS=$as_save_IFS
5934 test -z "$as_dir" && as_dir=.
5935 # Account for people who put trailing slashes in PATH elements.
5936 case $as_dir/ in
5937 ./ | .// | /cC/* | \
5938 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5939 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5940 /usr/ucb/* ) ;;
5942 # OSF1 and SCO ODT 3.0 have their own names for install.
5943 # Don't use installbsd from OSF since it installs stuff as root
5944 # by default.
5945 for ac_prog in ginstall scoinst install; do
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5948 if test $ac_prog = install &&
5949 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5950 # AIX install. It has an incompatible calling convention.
5952 elif test $ac_prog = install &&
5953 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5954 # program-specific install script used by HP pwplus--don't use.
5956 else
5957 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5958 break 3
5961 done
5962 done
5964 esac
5965 done
5966 IFS=$as_save_IFS
5970 if test "${ac_cv_path_install+set}" = set; then
5971 INSTALL=$ac_cv_path_install
5972 else
5973 # As a last resort, use the slow shell script. Don't cache a
5974 # value for INSTALL within a source directory, because that will
5975 # break other packages using the cache if that directory is
5976 # removed, or if the value is a relative name.
5977 INSTALL=$ac_install_sh
5980 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5981 echo "${ECHO_T}$INSTALL" >&6; }
5983 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5984 # It thinks the first close brace ends the variable substitution.
5985 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5987 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5989 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5991 case "$INSTALL" in
5992 [\\/$]* | ?:[\\/]* ) ;;
5993 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5994 esac
5996 for ac_prog in lclint lint
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6002 if test "${ac_cv_prog_LINT+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 else
6005 if test -n "$LINT"; then
6006 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015 ac_cv_prog_LINT="$ac_prog"
6016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 LINT=$ac_cv_prog_LINT
6026 if test -n "$LINT"; then
6027 { echo "$as_me:$LINENO: result: $LINT" >&5
6028 echo "${ECHO_T}$LINT" >&6; }
6029 else
6030 { echo "$as_me:$LINENO: result: no" >&5
6031 echo "${ECHO_T}no" >&6; }
6035 test -n "$LINT" && break
6036 done
6038 if test "$LINT" = "lint"
6039 then
6040 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6045 for ac_prog in fontforge
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6051 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 else
6054 if test -n "$FONTFORGE"; then
6055 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_FONTFORGE="$ac_prog"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 FONTFORGE=$ac_cv_prog_FONTFORGE
6075 if test -n "$FONTFORGE"; then
6076 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6077 echo "${ECHO_T}$FONTFORGE" >&6; }
6078 else
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
6084 test -n "$FONTFORGE" && break
6085 done
6086 test -n "$FONTFORGE" || FONTFORGE="false"
6088 for ac_prog in pkg-config
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy $ac_prog; ac_word=$2
6092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6094 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 else
6097 if test -n "$PKG_CONFIG"; then
6098 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6103 IFS=$as_save_IFS
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_PKG_CONFIG="$ac_prog"
6108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 break 2
6111 done
6112 done
6113 IFS=$as_save_IFS
6117 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6118 if test -n "$PKG_CONFIG"; then
6119 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6120 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6121 else
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6127 test -n "$PKG_CONFIG" && break
6128 done
6129 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6132 case $host_cpu in
6133 *i[3456789]86*)
6134 # Extract the first word of "prelink", so it can be a program name with args.
6135 set dummy prelink; ac_word=$2
6136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6138 if test "${ac_cv_path_PRELINK+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 else
6141 case $PRELINK in
6142 [\\/]* | ?:[\\/]*)
6143 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in /sbin /usr/sbin $PATH
6149 IFS=$as_save_IFS
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 break 2
6157 done
6158 done
6159 IFS=$as_save_IFS
6161 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6163 esac
6165 PRELINK=$ac_cv_path_PRELINK
6166 if test -n "$PRELINK"; then
6167 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6168 echo "${ECHO_T}$PRELINK" >&6; }
6169 else
6170 { echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6; }
6176 esac
6180 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6181 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6182 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6183 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 else
6185 ac_check_lib_save_LIBS=$LIBS
6186 LIBS="-li386 $LIBS"
6187 cat >conftest.$ac_ext <<_ACEOF
6188 /* confdefs.h. */
6189 _ACEOF
6190 cat confdefs.h >>conftest.$ac_ext
6191 cat >>conftest.$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6194 /* Override any GCC internal prototype to avoid an error.
6195 Use char because int might match the return type of a GCC
6196 builtin and then its argument prototype would still apply. */
6197 #ifdef __cplusplus
6198 extern "C"
6199 #endif
6200 char i386_set_ldt ();
6202 main ()
6204 return i386_set_ldt ();
6206 return 0;
6208 _ACEOF
6209 rm -f conftest.$ac_objext conftest$ac_exeext
6210 if { (ac_try="$ac_link"
6211 case "(($ac_try" in
6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6213 *) ac_try_echo=$ac_try;;
6214 esac
6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6216 (eval "$ac_link") 2>conftest.er1
6217 ac_status=$?
6218 grep -v '^ *+' conftest.er1 >conftest.err
6219 rm -f conftest.er1
6220 cat conftest.err >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } && {
6223 test -z "$ac_c_werror_flag" ||
6224 test ! -s conftest.err
6225 } && test -s conftest$ac_exeext &&
6226 $as_test_x conftest$ac_exeext; then
6227 ac_cv_lib_i386_i386_set_ldt=yes
6228 else
6229 echo "$as_me: failed program was:" >&5
6230 sed 's/^/| /' conftest.$ac_ext >&5
6232 ac_cv_lib_i386_i386_set_ldt=no
6235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6236 conftest$ac_exeext conftest.$ac_ext
6237 LIBS=$ac_check_lib_save_LIBS
6239 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6240 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6241 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_LIBI386 1
6244 _ACEOF
6246 LIBS="-li386 $LIBS"
6251 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6252 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6253 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 else
6256 ac_check_lib_save_LIBS=$LIBS
6257 LIBS="-lossaudio $LIBS"
6258 cat >conftest.$ac_ext <<_ACEOF
6259 /* confdefs.h. */
6260 _ACEOF
6261 cat confdefs.h >>conftest.$ac_ext
6262 cat >>conftest.$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6265 /* Override any GCC internal prototype to avoid an error.
6266 Use char because int might match the return type of a GCC
6267 builtin and then its argument prototype would still apply. */
6268 #ifdef __cplusplus
6269 extern "C"
6270 #endif
6271 char _oss_ioctl ();
6273 main ()
6275 return _oss_ioctl ();
6277 return 0;
6279 _ACEOF
6280 rm -f conftest.$ac_objext conftest$ac_exeext
6281 if { (ac_try="$ac_link"
6282 case "(($ac_try" in
6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284 *) ac_try_echo=$ac_try;;
6285 esac
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287 (eval "$ac_link") 2>conftest.er1
6288 ac_status=$?
6289 grep -v '^ *+' conftest.er1 >conftest.err
6290 rm -f conftest.er1
6291 cat conftest.err >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest$ac_exeext &&
6297 $as_test_x conftest$ac_exeext; then
6298 ac_cv_lib_ossaudio__oss_ioctl=yes
6299 else
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6303 ac_cv_lib_ossaudio__oss_ioctl=no
6306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6307 conftest$ac_exeext conftest.$ac_ext
6308 LIBS=$ac_check_lib_save_LIBS
6310 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6311 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6312 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6313 cat >>confdefs.h <<_ACEOF
6314 #define HAVE_LIBOSSAUDIO 1
6315 _ACEOF
6317 LIBS="-lossaudio $LIBS"
6322 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6323 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6324 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 else
6327 ac_check_lib_save_LIBS=$LIBS
6328 LIBS="-lxpg4 $LIBS"
6329 cat >conftest.$ac_ext <<_ACEOF
6330 /* confdefs.h. */
6331 _ACEOF
6332 cat confdefs.h >>conftest.$ac_ext
6333 cat >>conftest.$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6336 /* Override any GCC internal prototype to avoid an error.
6337 Use char because int might match the return type of a GCC
6338 builtin and then its argument prototype would still apply. */
6339 #ifdef __cplusplus
6340 extern "C"
6341 #endif
6342 char _xpg4_setrunelocale ();
6344 main ()
6346 return _xpg4_setrunelocale ();
6348 return 0;
6350 _ACEOF
6351 rm -f conftest.$ac_objext conftest$ac_exeext
6352 if { (ac_try="$ac_link"
6353 case "(($ac_try" in
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;;
6356 esac
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6358 (eval "$ac_link") 2>conftest.er1
6359 ac_status=$?
6360 grep -v '^ *+' conftest.er1 >conftest.err
6361 rm -f conftest.er1
6362 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && {
6365 test -z "$ac_c_werror_flag" ||
6366 test ! -s conftest.err
6367 } && test -s conftest$ac_exeext &&
6368 $as_test_x conftest$ac_exeext; then
6369 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6370 else
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6374 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6378 conftest$ac_exeext conftest.$ac_ext
6379 LIBS=$ac_check_lib_save_LIBS
6381 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6382 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6383 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6384 cat >>confdefs.h <<_ACEOF
6385 #define HAVE_LIBXPG4 1
6386 _ACEOF
6388 LIBS="-lxpg4 $LIBS"
6392 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6393 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6394 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6396 else
6397 ac_check_lib_save_LIBS=$LIBS
6398 LIBS="-lpthread $LIBS"
6399 cat >conftest.$ac_ext <<_ACEOF
6400 /* confdefs.h. */
6401 _ACEOF
6402 cat confdefs.h >>conftest.$ac_ext
6403 cat >>conftest.$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6406 /* Override any GCC internal prototype to avoid an error.
6407 Use char because int might match the return type of a GCC
6408 builtin and then its argument prototype would still apply. */
6409 #ifdef __cplusplus
6410 extern "C"
6411 #endif
6412 char pthread_create ();
6414 main ()
6416 return pthread_create ();
6418 return 0;
6420 _ACEOF
6421 rm -f conftest.$ac_objext conftest$ac_exeext
6422 if { (ac_try="$ac_link"
6423 case "(($ac_try" in
6424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6425 *) ac_try_echo=$ac_try;;
6426 esac
6427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6428 (eval "$ac_link") 2>conftest.er1
6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && {
6435 test -z "$ac_c_werror_flag" ||
6436 test ! -s conftest.err
6437 } && test -s conftest$ac_exeext &&
6438 $as_test_x conftest$ac_exeext; then
6439 ac_cv_lib_pthread_pthread_create=yes
6440 else
6441 echo "$as_me: failed program was:" >&5
6442 sed 's/^/| /' conftest.$ac_ext >&5
6444 ac_cv_lib_pthread_pthread_create=no
6447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6448 conftest$ac_exeext conftest.$ac_ext
6449 LIBS=$ac_check_lib_save_LIBS
6451 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6452 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6453 if test $ac_cv_lib_pthread_pthread_create = yes; then
6454 LIBPTHREAD="-lpthread"
6459 XLIB=""
6461 XFILES=""
6463 OPENGLFILES=""
6465 GLU32FILES=""
6467 OPENGL_LIBS=""
6469 QUARTZFILES=""
6473 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6475 if test "${ac_cv_header_stdc+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6477 else
6478 cat >conftest.$ac_ext <<_ACEOF
6479 /* confdefs.h. */
6480 _ACEOF
6481 cat confdefs.h >>conftest.$ac_ext
6482 cat >>conftest.$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6484 #include <stdlib.h>
6485 #include <stdarg.h>
6486 #include <string.h>
6487 #include <float.h>
6490 main ()
6494 return 0;
6496 _ACEOF
6497 rm -f conftest.$ac_objext
6498 if { (ac_try="$ac_compile"
6499 case "(($ac_try" in
6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6502 esac
6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6504 (eval "$ac_compile") 2>conftest.er1
6505 ac_status=$?
6506 grep -v '^ *+' conftest.er1 >conftest.err
6507 rm -f conftest.er1
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && {
6511 test -z "$ac_c_werror_flag" ||
6512 test ! -s conftest.err
6513 } && test -s conftest.$ac_objext; then
6514 ac_cv_header_stdc=yes
6515 else
6516 echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.$ac_ext >&5
6519 ac_cv_header_stdc=no
6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 if test $ac_cv_header_stdc = yes; then
6525 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6526 cat >conftest.$ac_ext <<_ACEOF
6527 /* confdefs.h. */
6528 _ACEOF
6529 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6532 #include <string.h>
6534 _ACEOF
6535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6536 $EGREP "memchr" >/dev/null 2>&1; then
6538 else
6539 ac_cv_header_stdc=no
6541 rm -f conftest*
6545 if test $ac_cv_header_stdc = yes; then
6546 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6547 cat >conftest.$ac_ext <<_ACEOF
6548 /* confdefs.h. */
6549 _ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 #include <stdlib.h>
6555 _ACEOF
6556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6557 $EGREP "free" >/dev/null 2>&1; then
6559 else
6560 ac_cv_header_stdc=no
6562 rm -f conftest*
6566 if test $ac_cv_header_stdc = yes; then
6567 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6568 if test "$cross_compiling" = yes; then
6570 else
6571 cat >conftest.$ac_ext <<_ACEOF
6572 /* confdefs.h. */
6573 _ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6577 #include <ctype.h>
6578 #include <stdlib.h>
6579 #if ((' ' & 0x0FF) == 0x020)
6580 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6581 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6582 #else
6583 # define ISLOWER(c) \
6584 (('a' <= (c) && (c) <= 'i') \
6585 || ('j' <= (c) && (c) <= 'r') \
6586 || ('s' <= (c) && (c) <= 'z'))
6587 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6588 #endif
6590 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6592 main ()
6594 int i;
6595 for (i = 0; i < 256; i++)
6596 if (XOR (islower (i), ISLOWER (i))
6597 || toupper (i) != TOUPPER (i))
6598 return 2;
6599 return 0;
6601 _ACEOF
6602 rm -f conftest$ac_exeext
6603 if { (ac_try="$ac_link"
6604 case "(($ac_try" in
6605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6606 *) ac_try_echo=$ac_try;;
6607 esac
6608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6609 (eval "$ac_link") 2>&5
6610 ac_status=$?
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6613 { (case "(($ac_try" in
6614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6615 *) ac_try_echo=$ac_try;;
6616 esac
6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6618 (eval "$ac_try") 2>&5
6619 ac_status=$?
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); }; }; then
6623 else
6624 echo "$as_me: program exited with status $ac_status" >&5
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6628 ( exit $ac_status )
6629 ac_cv_header_stdc=no
6631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6637 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6638 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6639 if test $ac_cv_header_stdc = yes; then
6641 cat >>confdefs.h <<\_ACEOF
6642 #define STDC_HEADERS 1
6643 _ACEOF
6647 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6657 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6658 inttypes.h stdint.h unistd.h
6660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 else
6666 cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h. */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 $ac_includes_default
6674 #include <$ac_header>
6675 _ACEOF
6676 rm -f conftest.$ac_objext
6677 if { (ac_try="$ac_compile"
6678 case "(($ac_try" in
6679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680 *) ac_try_echo=$ac_try;;
6681 esac
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_compile") 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest.$ac_objext; then
6693 eval "$as_ac_Header=yes"
6694 else
6695 echo "$as_me: failed program was:" >&5
6696 sed 's/^/| /' conftest.$ac_ext >&5
6698 eval "$as_ac_Header=no"
6701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6703 ac_res=`eval echo '${'$as_ac_Header'}'`
6704 { echo "$as_me:$LINENO: result: $ac_res" >&5
6705 echo "${ECHO_T}$ac_res" >&6; }
6706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6707 cat >>confdefs.h <<_ACEOF
6708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6709 _ACEOF
6713 done
6825 for ac_header in \
6826 AudioUnit/AudioUnit.h \
6827 Carbon/Carbon.h \
6828 CoreAudio/CoreAudio.h \
6829 DiskArbitration/DiskArbitration.h \
6830 IOKit/IOKitLib.h \
6831 alsa/asoundlib.h \
6832 arpa/inet.h \
6833 arpa/nameser.h \
6834 asm/types.h \
6835 capi20.h \
6836 cups/cups.h \
6837 curses.h \
6838 direct.h \
6839 dlfcn.h \
6840 elf.h \
6841 float.h \
6842 fontconfig/fontconfig.h \
6843 getopt.h \
6844 ieeefp.h \
6845 io.h \
6846 jack/jack.h \
6847 jpeglib.h \
6848 lber.h \
6849 lcms.h \
6850 lcms/lcms.h \
6851 ldap.h \
6852 libaudioio.h \
6853 link.h \
6854 linux/cdrom.h \
6855 linux/compiler.h \
6856 linux/hdreg.h \
6857 linux/input.h \
6858 linux/ioctl.h \
6859 linux/joystick.h \
6860 linux/major.h \
6861 linux/param.h \
6862 linux/serial.h \
6863 linux/ucdrom.h \
6864 mach/mach.h \
6865 mach/machine.h \
6866 machine/cpu.h \
6867 machine/limits.h \
6868 machine/soundcard.h \
6869 mntent.h \
6870 ncurses.h \
6871 netdb.h \
6872 netinet/in.h \
6873 netinet/in_systm.h \
6874 netinet/tcp.h \
6875 netinet/tcp_fsm.h \
6876 openssl/err.h \
6877 openssl/ssl.h \
6878 poll.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 regex.h \
6883 sched.h \
6884 scsi/scsi.h \
6885 scsi/scsi_ioctl.h \
6886 scsi/sg.h \
6887 soundcard.h \
6888 stdint.h \
6889 strings.h \
6890 sys/asoundlib.h \
6891 sys/cdio.h \
6892 sys/elf32.h \
6893 sys/epoll.h \
6894 sys/errno.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/ioctl.h \
6899 sys/ipc.h \
6900 sys/limits.h \
6901 sys/link.h \
6902 sys/lwp.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/ptrace.h \
6911 sys/reg.h \
6912 sys/resource.h \
6913 sys/scsiio.h \
6914 sys/shm.h \
6915 sys/signal.h \
6916 sys/socket.h \
6917 sys/sockio.h \
6918 sys/soundcard.h \
6919 sys/statvfs.h \
6920 sys/strtio.h \
6921 sys/syscall.h \
6922 sys/sysctl.h \
6923 sys/time.h \
6924 sys/times.h \
6925 sys/uio.h \
6926 sys/un.h \
6927 sys/vm86.h \
6928 sys/wait.h \
6929 syscall.h \
6930 termios.h \
6931 unicode/ubidi.h \
6932 unistd.h \
6933 utime.h \
6934 valgrind/memcheck.h
6937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_res=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6947 else
6948 # Is the header compilable?
6949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6951 cat >conftest.$ac_ext <<_ACEOF
6952 /* confdefs.h. */
6953 _ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 #include <$ac_header>
6959 _ACEOF
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6962 case "(($ac_try" in
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6965 esac
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.$ac_objext; then
6977 ac_header_compiler=yes
6978 else
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 ac_header_compiler=no
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6987 echo "${ECHO_T}$ac_header_compiler" >&6; }
6989 # Is the header present?
6990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6992 cat >conftest.$ac_ext <<_ACEOF
6993 /* confdefs.h. */
6994 _ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <$ac_header>
6999 _ACEOF
7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
7001 case "(($ac_try" in
7002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7003 *) ac_try_echo=$ac_try;;
7004 esac
7005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7007 ac_status=$?
7008 grep -v '^ *+' conftest.er1 >conftest.err
7009 rm -f conftest.er1
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } >/dev/null && {
7013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7015 }; then
7016 ac_header_preproc=yes
7017 else
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_header_preproc=no
7024 rm -f conftest.err conftest.$ac_ext
7025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026 echo "${ECHO_T}$ac_header_preproc" >&6; }
7028 # So? What about this header?
7029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7030 yes:no: )
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035 ac_header_preproc=yes
7037 no:yes:* )
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7050 ( cat <<\_ASBOX
7051 ## ------------------------------------ ##
7052 ## Report this to wine-devel@winehq.org ##
7053 ## ------------------------------------ ##
7054 _ASBOX
7055 ) | sed "s/^/$as_me: WARNING: /" >&2
7057 esac
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7062 else
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h <<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7073 _ACEOF
7077 done
7079 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7080 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7081 if test "${ac_cv_header_stat_broken+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 else
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <sys/stat.h>
7093 #if defined S_ISBLK && defined S_IFDIR
7094 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7095 #endif
7097 #if defined S_ISBLK && defined S_IFCHR
7098 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7099 #endif
7101 #if defined S_ISLNK && defined S_IFREG
7102 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7103 #endif
7105 #if defined S_ISSOCK && defined S_IFREG
7106 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7107 #endif
7109 _ACEOF
7110 rm -f conftest.$ac_objext
7111 if { (ac_try="$ac_compile"
7112 case "(($ac_try" in
7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7115 esac
7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
7118 ac_status=$?
7119 grep -v '^ *+' conftest.er1 >conftest.err
7120 rm -f conftest.er1
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && {
7124 test -z "$ac_c_werror_flag" ||
7125 test ! -s conftest.err
7126 } && test -s conftest.$ac_objext; then
7127 ac_cv_header_stat_broken=no
7128 else
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7132 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7138 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 cat >>confdefs.h <<\_ACEOF
7142 #define STAT_MACROS_BROKEN 1
7143 _ACEOF
7153 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 else
7161 cat >conftest.$ac_ext <<_ACEOF
7162 /* confdefs.h. */
7163 _ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_PARAM_H
7169 # include <sys/param.h>
7170 #endif
7172 #include <$ac_header>
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7176 case "(($ac_try" in
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7179 esac
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7182 ac_status=$?
7183 grep -v '^ *+' conftest.er1 >conftest.err
7184 rm -f conftest.er1
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.$ac_objext; then
7191 eval "$as_ac_Header=yes"
7192 else
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h <<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7207 _ACEOF
7211 done
7220 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h. */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7239 #include <$ac_header>
7240 _ACEOF
7241 rm -f conftest.$ac_objext
7242 if { (ac_try="$ac_compile"
7243 case "(($ac_try" in
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7246 esac
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7249 ac_status=$?
7250 grep -v '^ *+' conftest.er1 >conftest.err
7251 rm -f conftest.er1
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7259 else
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval echo '${'$as_ac_Header'}'`
7269 { echo "$as_me:$LINENO: result: $ac_res" >&5
7270 echo "${ECHO_T}$ac_res" >&6; }
7271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7272 cat >>confdefs.h <<_ACEOF
7273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 _ACEOF
7278 done
7282 for ac_header in linux/ipx.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 else
7290 cat >conftest.$ac_ext <<_ACEOF
7291 /* confdefs.h. */
7292 _ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 # include <asm/types.h>
7299 #endif
7300 #if HAVE_SYS_SOCKET_H
7301 # include <sys/socket.h>
7302 #endif
7304 #include <$ac_header>
7305 _ACEOF
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7308 case "(($ac_try" in
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7311 esac
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7314 ac_status=$?
7315 grep -v '^ *+' conftest.er1 >conftest.err
7316 rm -f conftest.er1
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest.$ac_objext; then
7323 eval "$as_ac_Header=yes"
7324 else
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 eval "$as_ac_Header=no"
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7337 cat >>confdefs.h <<_ACEOF
7338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 _ACEOF
7343 done
7347 for ac_header in resolv.h
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 else
7355 cat >conftest.$ac_ext <<_ACEOF
7356 /* confdefs.h. */
7357 _ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7364 #endif
7365 #if HAVE_NETINET_IN_H
7366 # include <netinet/in.h>
7367 #endif
7368 #if HAVE_ARPA_NAMESER_H
7369 # include <arpa/nameser.h>
7370 #endif
7372 #include <$ac_header>
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7376 case "(($ac_try" in
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7379 esac
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7382 ac_status=$?
7383 grep -v '^ *+' conftest.er1 >conftest.err
7384 rm -f conftest.er1
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 eval "$as_ac_Header=yes"
7392 else
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 eval "$as_ac_Header=no"
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 ac_res=`eval echo '${'$as_ac_Header'}'`
7402 { echo "$as_me:$LINENO: result: $ac_res" >&5
7403 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7407 _ACEOF
7411 done
7415 for ac_header in ucontext.h
7417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 else
7423 cat >conftest.$ac_ext <<_ACEOF
7424 /* confdefs.h. */
7425 _ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429 #include <signal.h>
7431 #include <$ac_header>
7432 _ACEOF
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7435 case "(($ac_try" in
7436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7438 esac
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7441 ac_status=$?
7442 grep -v '^ *+' conftest.er1 >conftest.err
7443 rm -f conftest.er1
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 eval "$as_ac_Header=yes"
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 eval "$as_ac_Header=no"
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7460 ac_res=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7464 cat >>confdefs.h <<_ACEOF
7465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7466 _ACEOF
7470 done
7474 for ac_header in pthread_np.h
7476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else
7482 cat >conftest.$ac_ext <<_ACEOF
7483 /* confdefs.h. */
7484 _ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 #ifdef HAVE_PTHREAD_H
7489 #include <pthread.h>
7490 #endif
7492 #include <$ac_header>
7493 _ACEOF
7494 rm -f conftest.$ac_objext
7495 if { (ac_try="$ac_compile"
7496 case "(($ac_try" in
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7499 esac
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compile") 2>conftest.er1
7502 ac_status=$?
7503 grep -v '^ *+' conftest.er1 >conftest.err
7504 rm -f conftest.er1
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then
7511 eval "$as_ac_Header=yes"
7512 else
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 eval "$as_ac_Header=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 ac_res=`eval echo '${'$as_ac_Header'}'`
7522 { echo "$as_me:$LINENO: result: $ac_res" >&5
7523 echo "${ECHO_T}$ac_res" >&6; }
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7527 _ACEOF
7531 done
7535 for ac_header in linux/videodev.h
7537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 else
7543 cat >conftest.$ac_ext <<_ACEOF
7544 /* confdefs.h. */
7545 _ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 #ifdef HAVE_SYS_TIME_H
7550 #include <sys/time.h>
7551 #endif
7552 #include <sys/types.h>
7553 #ifdef HAVE_ASM_TYPES_H
7554 #include <asm/types.h>
7555 #endif
7557 #include <$ac_header>
7558 _ACEOF
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7561 case "(($ac_try" in
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7564 esac
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7567 ac_status=$?
7568 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 eval "$as_ac_Header=yes"
7577 else
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 eval "$as_ac_Header=no"
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 ac_res=`eval echo '${'$as_ac_Header'}'`
7587 { echo "$as_me:$LINENO: result: $ac_res" >&5
7588 echo "${ECHO_T}$ac_res" >&6; }
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h <<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7592 _ACEOF
7596 done
7600 for ac_header in linux/capi.h
7602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 else
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h. */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 #define __user
7616 #include <$ac_header>
7617 _ACEOF
7618 rm -f conftest.$ac_objext
7619 if { (ac_try="$ac_compile"
7620 case "(($ac_try" in
7621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7623 esac
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7626 ac_status=$?
7627 grep -v '^ *+' conftest.er1 >conftest.err
7628 rm -f conftest.er1
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7636 else
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 _ACEOF
7655 done
7659 if test "$have_x" = "yes"
7660 then
7661 XLIB="-lXext -lX11"
7662 ac_save_CPPFLAGS="$CPPFLAGS"
7663 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7675 for ac_header in X11/Xlib.h \
7676 X11/XKBlib.h \
7677 X11/Xutil.h \
7678 X11/extensions/shape.h \
7679 X11/extensions/XInput.h \
7680 X11/extensions/XShm.h \
7681 X11/extensions/Xinerama.h \
7682 X11/extensions/Xrandr.h \
7683 X11/extensions/Xrender.h \
7684 X11/extensions/xf86vmode.h
7686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 else
7692 cat >conftest.$ac_ext <<_ACEOF
7693 /* confdefs.h. */
7694 _ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7698 #ifdef HAVE_X11_XLIB_H
7699 # include <X11/Xlib.h>
7700 #endif
7701 #ifdef HAVE_X11_XUTIL_H
7702 # include <X11/Xutil.h>
7703 #endif
7705 #include <$ac_header>
7706 _ACEOF
7707 rm -f conftest.$ac_objext
7708 if { (ac_try="$ac_compile"
7709 case "(($ac_try" in
7710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7711 *) ac_try_echo=$ac_try;;
7712 esac
7713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7714 (eval "$ac_compile") 2>conftest.er1
7715 ac_status=$?
7716 grep -v '^ *+' conftest.er1 >conftest.err
7717 rm -f conftest.er1
7718 cat conftest.err >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } && {
7721 test -z "$ac_c_werror_flag" ||
7722 test ! -s conftest.err
7723 } && test -s conftest.$ac_objext; then
7724 eval "$as_ac_Header=yes"
7725 else
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.$ac_ext >&5
7729 eval "$as_ac_Header=no"
7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734 ac_res=`eval echo '${'$as_ac_Header'}'`
7735 { echo "$as_me:$LINENO: result: $ac_res" >&5
7736 echo "${ECHO_T}$ac_res" >&6; }
7737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7738 cat >>confdefs.h <<_ACEOF
7739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 _ACEOF
7744 done
7747 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7748 then
7749 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7750 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7751 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7752 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 else
7754 ac_check_lib_save_LIBS=$LIBS
7755 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7756 cat >conftest.$ac_ext <<_ACEOF
7757 /* confdefs.h. */
7758 _ACEOF
7759 cat confdefs.h >>conftest.$ac_ext
7760 cat >>conftest.$ac_ext <<_ACEOF
7761 /* end confdefs.h. */
7763 /* Override any GCC internal prototype to avoid an error.
7764 Use char because int might match the return type of a GCC
7765 builtin and then its argument prototype would still apply. */
7766 #ifdef __cplusplus
7767 extern "C"
7768 #endif
7769 char XkbQueryExtension ();
7771 main ()
7773 return XkbQueryExtension ();
7775 return 0;
7777 _ACEOF
7778 rm -f conftest.$ac_objext conftest$ac_exeext
7779 if { (ac_try="$ac_link"
7780 case "(($ac_try" in
7781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7782 *) ac_try_echo=$ac_try;;
7783 esac
7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7785 (eval "$ac_link") 2>conftest.er1
7786 ac_status=$?
7787 grep -v '^ *+' conftest.er1 >conftest.err
7788 rm -f conftest.er1
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } && {
7792 test -z "$ac_c_werror_flag" ||
7793 test ! -s conftest.err
7794 } && test -s conftest$ac_exeext &&
7795 $as_test_x conftest$ac_exeext; then
7796 ac_cv_lib_X11_XkbQueryExtension=yes
7797 else
7798 echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.$ac_ext >&5
7801 ac_cv_lib_X11_XkbQueryExtension=no
7804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7805 conftest$ac_exeext conftest.$ac_ext
7806 LIBS=$ac_check_lib_save_LIBS
7808 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7809 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7810 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7812 cat >>confdefs.h <<\_ACEOF
7813 #define HAVE_XKB 1
7814 _ACEOF
7820 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7821 then
7822 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7823 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7824 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 else
7827 ac_check_lib_save_LIBS=$LIBS
7828 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.$ac_ext <<_ACEOF
7830 /* confdefs.h. */
7831 _ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any GCC internal prototype to avoid an error.
7837 Use char because int might match the return type of a GCC
7838 builtin and then its argument prototype would still apply. */
7839 #ifdef __cplusplus
7840 extern "C"
7841 #endif
7842 char XShmQueryExtension ();
7844 main ()
7846 return XShmQueryExtension ();
7848 return 0;
7850 _ACEOF
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (ac_try="$ac_link"
7853 case "(($ac_try" in
7854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7855 *) ac_try_echo=$ac_try;;
7856 esac
7857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7858 (eval "$ac_link") 2>conftest.er1
7859 ac_status=$?
7860 grep -v '^ *+' conftest.er1 >conftest.err
7861 rm -f conftest.er1
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } && {
7865 test -z "$ac_c_werror_flag" ||
7866 test ! -s conftest.err
7867 } && test -s conftest$ac_exeext &&
7868 $as_test_x conftest$ac_exeext; then
7869 ac_cv_lib_Xext_XShmQueryExtension=yes
7870 else
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7874 ac_cv_lib_Xext_XShmQueryExtension=no
7877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7878 conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7881 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7882 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7883 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7885 cat >>confdefs.h <<\_ACEOF
7886 #define HAVE_LIBXXSHM 1
7887 _ACEOF
7893 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7894 then
7895 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7896 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7897 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 else
7900 ac_check_lib_save_LIBS=$LIBS
7901 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7902 cat >conftest.$ac_ext <<_ACEOF
7903 /* confdefs.h. */
7904 _ACEOF
7905 cat confdefs.h >>conftest.$ac_ext
7906 cat >>conftest.$ac_ext <<_ACEOF
7907 /* end confdefs.h. */
7909 /* Override any GCC internal prototype to avoid an error.
7910 Use char because int might match the return type of a GCC
7911 builtin and then its argument prototype would still apply. */
7912 #ifdef __cplusplus
7913 extern "C"
7914 #endif
7915 char XShapeQueryExtension ();
7917 main ()
7919 return XShapeQueryExtension ();
7921 return 0;
7923 _ACEOF
7924 rm -f conftest.$ac_objext conftest$ac_exeext
7925 if { (ac_try="$ac_link"
7926 case "(($ac_try" in
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7929 esac
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_link") 2>conftest.er1
7932 ac_status=$?
7933 grep -v '^ *+' conftest.er1 >conftest.err
7934 rm -f conftest.er1
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest$ac_exeext &&
7941 $as_test_x conftest$ac_exeext; then
7942 ac_cv_lib_Xext_XShapeQueryExtension=yes
7943 else
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7947 ac_cv_lib_Xext_XShapeQueryExtension=no
7950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7951 conftest$ac_exeext conftest.$ac_ext
7952 LIBS=$ac_check_lib_save_LIBS
7954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7958 cat >>confdefs.h <<\_ACEOF
7959 #define HAVE_LIBXSHAPE 1
7960 _ACEOF
7966 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7967 then
7968 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 else
7973 ac_check_lib_save_LIBS=$LIBS
7974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7975 cat >conftest.$ac_ext <<_ACEOF
7976 /* confdefs.h. */
7977 _ACEOF
7978 cat confdefs.h >>conftest.$ac_ext
7979 cat >>conftest.$ac_ext <<_ACEOF
7980 /* end confdefs.h. */
7982 /* Override any GCC internal prototype to avoid an error.
7983 Use char because int might match the return type of a GCC
7984 builtin and then its argument prototype would still apply. */
7985 #ifdef __cplusplus
7986 extern "C"
7987 #endif
7988 char XF86VidModeQueryExtension ();
7990 main ()
7992 return XF86VidModeQueryExtension ();
7994 return 0;
7996 _ACEOF
7997 rm -f conftest.$ac_objext conftest$ac_exeext
7998 if { (ac_try="$ac_link"
7999 case "(($ac_try" in
8000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8001 *) ac_try_echo=$ac_try;;
8002 esac
8003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8004 (eval "$ac_link") 2>conftest.er1
8005 ac_status=$?
8006 grep -v '^ *+' conftest.er1 >conftest.err
8007 rm -f conftest.er1
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } && {
8011 test -z "$ac_c_werror_flag" ||
8012 test ! -s conftest.err
8013 } && test -s conftest$ac_exeext &&
8014 $as_test_x conftest$ac_exeext; then
8015 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8016 else
8017 echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.$ac_ext >&5
8020 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8024 conftest$ac_exeext conftest.$ac_ext
8025 LIBS=$ac_check_lib_save_LIBS
8027 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8028 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8029 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8031 cat >>confdefs.h <<\_ACEOF
8032 #define HAVE_LIBXXF86VM 1
8033 _ACEOF
8035 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8041 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8042 then
8043 cat >conftest.$ac_ext <<_ACEOF
8044 /* confdefs.h. */
8045 _ACEOF
8046 cat confdefs.h >>conftest.$ac_ext
8047 cat >>conftest.$ac_ext <<_ACEOF
8048 /* end confdefs.h. */
8049 #include <X11/Xlib.h>
8050 #include <X11/extensions/Xrandr.h>
8052 main ()
8054 static typeof(XRRSetScreenConfigAndRate) * func;
8056 return 0;
8058 _ACEOF
8059 rm -f conftest.$ac_objext
8060 if { (ac_try="$ac_compile"
8061 case "(($ac_try" in
8062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8064 esac
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_compile") 2>conftest.er1
8067 ac_status=$?
8068 grep -v '^ *+' conftest.er1 >conftest.err
8069 rm -f conftest.er1
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } && {
8073 test -z "$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8075 } && test -s conftest.$ac_objext; then
8077 cat >>confdefs.h <<\_ACEOF
8078 #define HAVE_LIBXRANDR 1
8079 _ACEOF
8081 else
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8091 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8092 then
8093 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8094 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8095 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 else
8098 ac_check_lib_save_LIBS=$LIBS
8099 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8100 cat >conftest.$ac_ext <<_ACEOF
8101 /* confdefs.h. */
8102 _ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8110 #ifdef __cplusplus
8111 extern "C"
8112 #endif
8113 char XRenderSetPictureTransform ();
8115 main ()
8117 return XRenderSetPictureTransform ();
8119 return 0;
8121 _ACEOF
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (ac_try="$ac_link"
8124 case "(($ac_try" in
8125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8126 *) ac_try_echo=$ac_try;;
8127 esac
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_link") 2>conftest.er1
8130 ac_status=$?
8131 grep -v '^ *+' conftest.er1 >conftest.err
8132 rm -f conftest.er1
8133 cat conftest.err >&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } && {
8136 test -z "$ac_c_werror_flag" ||
8137 test ! -s conftest.err
8138 } && test -s conftest$ac_exeext &&
8139 $as_test_x conftest$ac_exeext; then
8140 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8141 else
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8145 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8149 conftest$ac_exeext conftest.$ac_ext
8150 LIBS=$ac_check_lib_save_LIBS
8152 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8153 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8154 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8156 cat >>confdefs.h <<\_ACEOF
8157 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8158 _ACEOF
8164 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8165 then
8166 cat >conftest.$ac_ext <<_ACEOF
8167 /* confdefs.h. */
8168 _ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8172 #include <X11/Xlib.h>
8173 #include <X11/extensions/Xinerama.h>
8175 main ()
8177 static typeof(XineramaQueryScreens) * func;
8179 return 0;
8181 _ACEOF
8182 rm -f conftest.$ac_objext
8183 if { (ac_try="$ac_compile"
8184 case "(($ac_try" in
8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8187 esac
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_compile") 2>conftest.er1
8190 ac_status=$?
8191 grep -v '^ *+' conftest.er1 >conftest.err
8192 rm -f conftest.er1
8193 cat conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } && {
8196 test -z "$ac_c_werror_flag" ||
8197 test ! -s conftest.err
8198 } && test -s conftest.$ac_objext; then
8200 cat >>confdefs.h <<\_ACEOF
8201 #define HAVE_LIBXINERAMA 1
8202 _ACEOF
8204 else
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215 if test "x$with_opengl" != "xno"
8216 then
8221 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 else
8229 cat >conftest.$ac_ext <<_ACEOF
8230 /* confdefs.h. */
8231 _ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8235 #ifdef HAVE_GL_GLX_H
8236 # include <GL/glx.h>
8237 #endif
8239 #include <$ac_header>
8240 _ACEOF
8241 rm -f conftest.$ac_objext
8242 if { (ac_try="$ac_compile"
8243 case "(($ac_try" in
8244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8245 *) ac_try_echo=$ac_try;;
8246 esac
8247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8248 (eval "$ac_compile") 2>conftest.er1
8249 ac_status=$?
8250 grep -v '^ *+' conftest.er1 >conftest.err
8251 rm -f conftest.er1
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && {
8255 test -z "$ac_c_werror_flag" ||
8256 test ! -s conftest.err
8257 } && test -s conftest.$ac_objext; then
8258 eval "$as_ac_Header=yes"
8259 else
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 eval "$as_ac_Header=no"
8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8268 ac_res=`eval echo '${'$as_ac_Header'}'`
8269 { echo "$as_me:$LINENO: result: $ac_res" >&5
8270 echo "${ECHO_T}$ac_res" >&6; }
8271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8272 cat >>confdefs.h <<_ACEOF
8273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8274 _ACEOF
8278 done
8280 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8281 then
8282 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8283 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8284 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 else
8287 cat >conftest.$ac_ext <<_ACEOF
8288 /* confdefs.h. */
8289 _ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8293 #include <GL/gl.h>
8295 main ()
8297 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8299 return 0;
8301 _ACEOF
8302 rm -f conftest.$ac_objext
8303 if { (ac_try="$ac_compile"
8304 case "(($ac_try" in
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8307 esac
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_compile") 2>conftest.er1
8310 ac_status=$?
8311 grep -v '^ *+' conftest.er1 >conftest.err
8312 rm -f conftest.er1
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest.$ac_objext; then
8319 wine_cv_opengl_header_version_OK="yes"
8320 else
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 wine_cv_opengl_header_version_OK="no"
8328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8331 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8332 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8334 if test "$wine_cv_opengl_header_version_OK" = "yes"
8335 then
8336 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8337 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8338 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8340 else
8341 ac_check_lib_save_LIBS=$LIBS
8342 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8343 cat >conftest.$ac_ext <<_ACEOF
8344 /* confdefs.h. */
8345 _ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8350 /* Override any GCC internal prototype to avoid an error.
8351 Use char because int might match the return type of a GCC
8352 builtin and then its argument prototype would still apply. */
8353 #ifdef __cplusplus
8354 extern "C"
8355 #endif
8356 char glXCreateContext ();
8358 main ()
8360 return glXCreateContext ();
8362 return 0;
8364 _ACEOF
8365 rm -f conftest.$ac_objext conftest$ac_exeext
8366 if { (ac_try="$ac_link"
8367 case "(($ac_try" in
8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8370 esac
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_link") 2>conftest.er1
8373 ac_status=$?
8374 grep -v '^ *+' conftest.er1 >conftest.err
8375 rm -f conftest.er1
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } && {
8379 test -z "$ac_c_werror_flag" ||
8380 test ! -s conftest.err
8381 } && test -s conftest$ac_exeext &&
8382 $as_test_x conftest$ac_exeext; then
8383 ac_cv_lib_GL_glXCreateContext=yes
8384 else
8385 echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.$ac_ext >&5
8388 ac_cv_lib_GL_glXCreateContext=no
8391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8392 conftest$ac_exeext conftest.$ac_ext
8393 LIBS=$ac_check_lib_save_LIBS
8395 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8396 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8397 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8398 OPENGL_LIBS="-lGL"
8399 OPENGLFILES='$(OPENGLFILES)'
8401 cat >>confdefs.h <<\_ACEOF
8402 #define HAVE_OPENGL 1
8403 _ACEOF
8409 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8410 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8411 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 else
8414 ac_check_lib_save_LIBS=$LIBS
8415 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8416 $LIBS"
8417 cat >conftest.$ac_ext <<_ACEOF
8418 /* confdefs.h. */
8419 _ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8424 /* Override any GCC internal prototype to avoid an error.
8425 Use char because int might match the return type of a GCC
8426 builtin and then its argument prototype would still apply. */
8427 #ifdef __cplusplus
8428 extern "C"
8429 #endif
8430 char gluLookAt ();
8432 main ()
8434 return gluLookAt ();
8436 return 0;
8438 _ACEOF
8439 rm -f conftest.$ac_objext conftest$ac_exeext
8440 if { (ac_try="$ac_link"
8441 case "(($ac_try" in
8442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8444 esac
8445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8446 (eval "$ac_link") 2>conftest.er1
8447 ac_status=$?
8448 grep -v '^ *+' conftest.er1 >conftest.err
8449 rm -f conftest.er1
8450 cat conftest.err >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } && {
8453 test -z "$ac_c_werror_flag" ||
8454 test ! -s conftest.err
8455 } && test -s conftest$ac_exeext &&
8456 $as_test_x conftest$ac_exeext; then
8457 ac_cv_lib_GLU_gluLookAt=yes
8458 else
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.$ac_ext >&5
8462 ac_cv_lib_GLU_gluLookAt=no
8465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8466 conftest$ac_exeext conftest.$ac_ext
8467 LIBS=$ac_check_lib_save_LIBS
8469 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8470 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8471 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8472 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8473 GLU32FILES='$(GLU32FILES)'
8478 else
8479 wine_cv_opengl_headers_found="no"
8482 NASLIBS=""
8485 for ac_header in audio/audiolib.h
8487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 ac_res=`eval echo '${'$as_ac_Header'}'`
8495 { echo "$as_me:$LINENO: result: $ac_res" >&5
8496 echo "${ECHO_T}$ac_res" >&6; }
8497 else
8498 # Is the header compilable?
8499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8501 cat >conftest.$ac_ext <<_ACEOF
8502 /* confdefs.h. */
8503 _ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8507 $ac_includes_default
8508 #include <$ac_header>
8509 _ACEOF
8510 rm -f conftest.$ac_objext
8511 if { (ac_try="$ac_compile"
8512 case "(($ac_try" in
8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;;
8515 esac
8516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8517 (eval "$ac_compile") 2>conftest.er1
8518 ac_status=$?
8519 grep -v '^ *+' conftest.er1 >conftest.err
8520 rm -f conftest.er1
8521 cat conftest.err >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest.$ac_objext; then
8527 ac_header_compiler=yes
8528 else
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.$ac_ext >&5
8532 ac_header_compiler=no
8535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8537 echo "${ECHO_T}$ac_header_compiler" >&6; }
8539 # Is the header present?
8540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8542 cat >conftest.$ac_ext <<_ACEOF
8543 /* confdefs.h. */
8544 _ACEOF
8545 cat confdefs.h >>conftest.$ac_ext
8546 cat >>conftest.$ac_ext <<_ACEOF
8547 /* end confdefs.h. */
8548 #include <$ac_header>
8549 _ACEOF
8550 if { (ac_try="$ac_cpp conftest.$ac_ext"
8551 case "(($ac_try" in
8552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8554 esac
8555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8557 ac_status=$?
8558 grep -v '^ *+' conftest.er1 >conftest.err
8559 rm -f conftest.er1
8560 cat conftest.err >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } >/dev/null && {
8563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8564 test ! -s conftest.err
8565 }; then
8566 ac_header_preproc=yes
8567 else
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.$ac_ext >&5
8571 ac_header_preproc=no
8574 rm -f conftest.err conftest.$ac_ext
8575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8576 echo "${ECHO_T}$ac_header_preproc" >&6; }
8578 # So? What about this header?
8579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8580 yes:no: )
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8585 ac_header_preproc=yes
8587 no:yes:* )
8588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8600 ( cat <<\_ASBOX
8601 ## ------------------------------------ ##
8602 ## Report this to wine-devel@winehq.org ##
8603 ## ------------------------------------ ##
8604 _ASBOX
8605 ) | sed "s/^/$as_me: WARNING: /" >&2
8607 esac
8608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8611 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 else
8613 eval "$as_ac_Header=\$ac_header_preproc"
8615 ac_res=`eval echo '${'$as_ac_Header'}'`
8616 { echo "$as_me:$LINENO: result: $ac_res" >&5
8617 echo "${ECHO_T}$ac_res" >&6; }
8620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8621 cat >>confdefs.h <<_ACEOF
8622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8623 _ACEOF
8625 for ac_header in audio/soundlib.h
8627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 else
8633 cat >conftest.$ac_ext <<_ACEOF
8634 /* confdefs.h. */
8635 _ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8639 #include <audio/audiolib.h>
8641 #include <$ac_header>
8642 _ACEOF
8643 rm -f conftest.$ac_objext
8644 if { (ac_try="$ac_compile"
8645 case "(($ac_try" in
8646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8647 *) ac_try_echo=$ac_try;;
8648 esac
8649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8650 (eval "$ac_compile") 2>conftest.er1
8651 ac_status=$?
8652 grep -v '^ *+' conftest.er1 >conftest.err
8653 rm -f conftest.er1
8654 cat conftest.err >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } && {
8657 test -z "$ac_c_werror_flag" ||
8658 test ! -s conftest.err
8659 } && test -s conftest.$ac_objext; then
8660 eval "$as_ac_Header=yes"
8661 else
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.$ac_ext >&5
8665 eval "$as_ac_Header=no"
8668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8670 ac_res=`eval echo '${'$as_ac_Header'}'`
8671 { echo "$as_me:$LINENO: result: $ac_res" >&5
8672 echo "${ECHO_T}$ac_res" >&6; }
8673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8674 cat >>confdefs.h <<_ACEOF
8675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8676 _ACEOF
8680 done
8682 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8683 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8684 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 else
8687 ac_check_lib_save_LIBS=$LIBS
8688 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8689 cat >conftest.$ac_ext <<_ACEOF
8690 /* confdefs.h. */
8691 _ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8696 /* Override any GCC internal prototype to avoid an error.
8697 Use char because int might match the return type of a GCC
8698 builtin and then its argument prototype would still apply. */
8699 #ifdef __cplusplus
8700 extern "C"
8701 #endif
8702 char AuCreateFlow ();
8704 main ()
8706 return AuCreateFlow ();
8708 return 0;
8710 _ACEOF
8711 rm -f conftest.$ac_objext conftest$ac_exeext
8712 if { (ac_try="$ac_link"
8713 case "(($ac_try" in
8714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8715 *) ac_try_echo=$ac_try;;
8716 esac
8717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8718 (eval "$ac_link") 2>conftest.er1
8719 ac_status=$?
8720 grep -v '^ *+' conftest.er1 >conftest.err
8721 rm -f conftest.er1
8722 cat conftest.err >&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); } && {
8725 test -z "$ac_c_werror_flag" ||
8726 test ! -s conftest.err
8727 } && test -s conftest$ac_exeext &&
8728 $as_test_x conftest$ac_exeext; then
8729 ac_cv_lib_audio_AuCreateFlow=yes
8730 else
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 ac_cv_lib_audio_AuCreateFlow=no
8737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8738 conftest$ac_exeext conftest.$ac_ext
8739 LIBS=$ac_check_lib_save_LIBS
8741 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8742 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8743 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8745 cat >>confdefs.h <<\_ACEOF
8746 #define HAVE_NAS 1
8747 _ACEOF
8749 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8750 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8751 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8752 echo $ECHO_N "(cached) $ECHO_C" >&6
8753 else
8754 ac_check_lib_save_LIBS=$LIBS
8755 LIBS="-lXau $X_LIBS $LIBS"
8756 cat >conftest.$ac_ext <<_ACEOF
8757 /* confdefs.h. */
8758 _ACEOF
8759 cat confdefs.h >>conftest.$ac_ext
8760 cat >>conftest.$ac_ext <<_ACEOF
8761 /* end confdefs.h. */
8763 /* Override any GCC internal prototype to avoid an error.
8764 Use char because int might match the return type of a GCC
8765 builtin and then its argument prototype would still apply. */
8766 #ifdef __cplusplus
8767 extern "C"
8768 #endif
8769 char XauGetBestAuthByAddr ();
8771 main ()
8773 return XauGetBestAuthByAddr ();
8775 return 0;
8777 _ACEOF
8778 rm -f conftest.$ac_objext conftest$ac_exeext
8779 if { (ac_try="$ac_link"
8780 case "(($ac_try" in
8781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8782 *) ac_try_echo=$ac_try;;
8783 esac
8784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8785 (eval "$ac_link") 2>conftest.er1
8786 ac_status=$?
8787 grep -v '^ *+' conftest.er1 >conftest.err
8788 rm -f conftest.er1
8789 cat conftest.err >&5
8790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8791 (exit $ac_status); } && {
8792 test -z "$ac_c_werror_flag" ||
8793 test ! -s conftest.err
8794 } && test -s conftest$ac_exeext &&
8795 $as_test_x conftest$ac_exeext; then
8796 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8797 else
8798 echo "$as_me: failed program was:" >&5
8799 sed 's/^/| /' conftest.$ac_ext >&5
8801 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8805 conftest$ac_exeext conftest.$ac_ext
8806 LIBS=$ac_check_lib_save_LIBS
8808 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8809 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8810 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8811 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8812 else
8813 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8821 done
8824 CPPFLAGS="$ac_save_CPPFLAGS"
8825 XFILES='$(XFILES)'
8826 else
8827 XLIB=""
8828 X_CFLAGS=""
8829 X_LIBS=""
8833 XML2LIBS=""
8835 XML2INCL=""
8837 XSLTLIBS=""
8839 XSLTINCL=""
8841 if test "$PKG_CONFIG" != "false"
8842 then
8843 ac_save_CPPFLAGS="$CPPFLAGS"
8844 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8845 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8846 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8848 for ac_header in libxml/parser.h
8850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8851 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8852 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8855 echo $ECHO_N "(cached) $ECHO_C" >&6
8857 ac_res=`eval echo '${'$as_ac_Header'}'`
8858 { echo "$as_me:$LINENO: result: $ac_res" >&5
8859 echo "${ECHO_T}$ac_res" >&6; }
8860 else
8861 # Is the header compilable?
8862 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8863 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8864 cat >conftest.$ac_ext <<_ACEOF
8865 /* confdefs.h. */
8866 _ACEOF
8867 cat confdefs.h >>conftest.$ac_ext
8868 cat >>conftest.$ac_ext <<_ACEOF
8869 /* end confdefs.h. */
8870 $ac_includes_default
8871 #include <$ac_header>
8872 _ACEOF
8873 rm -f conftest.$ac_objext
8874 if { (ac_try="$ac_compile"
8875 case "(($ac_try" in
8876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8877 *) ac_try_echo=$ac_try;;
8878 esac
8879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8880 (eval "$ac_compile") 2>conftest.er1
8881 ac_status=$?
8882 grep -v '^ *+' conftest.er1 >conftest.err
8883 rm -f conftest.er1
8884 cat conftest.err >&5
8885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8886 (exit $ac_status); } && {
8887 test -z "$ac_c_werror_flag" ||
8888 test ! -s conftest.err
8889 } && test -s conftest.$ac_objext; then
8890 ac_header_compiler=yes
8891 else
8892 echo "$as_me: failed program was:" >&5
8893 sed 's/^/| /' conftest.$ac_ext >&5
8895 ac_header_compiler=no
8898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8899 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8900 echo "${ECHO_T}$ac_header_compiler" >&6; }
8902 # Is the header present?
8903 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8904 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8905 cat >conftest.$ac_ext <<_ACEOF
8906 /* confdefs.h. */
8907 _ACEOF
8908 cat confdefs.h >>conftest.$ac_ext
8909 cat >>conftest.$ac_ext <<_ACEOF
8910 /* end confdefs.h. */
8911 #include <$ac_header>
8912 _ACEOF
8913 if { (ac_try="$ac_cpp conftest.$ac_ext"
8914 case "(($ac_try" in
8915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8916 *) ac_try_echo=$ac_try;;
8917 esac
8918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8920 ac_status=$?
8921 grep -v '^ *+' conftest.er1 >conftest.err
8922 rm -f conftest.er1
8923 cat conftest.err >&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); } >/dev/null && {
8926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8927 test ! -s conftest.err
8928 }; then
8929 ac_header_preproc=yes
8930 else
8931 echo "$as_me: failed program was:" >&5
8932 sed 's/^/| /' conftest.$ac_ext >&5
8934 ac_header_preproc=no
8937 rm -f conftest.err conftest.$ac_ext
8938 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8939 echo "${ECHO_T}$ac_header_preproc" >&6; }
8941 # So? What about this header?
8942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8943 yes:no: )
8944 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8945 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8947 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8948 ac_header_preproc=yes
8950 no:yes:* )
8951 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8952 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8953 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8954 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8955 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8956 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8957 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8958 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8959 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8960 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8961 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8962 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8963 ( cat <<\_ASBOX
8964 ## ------------------------------------ ##
8965 ## Report this to wine-devel@winehq.org ##
8966 ## ------------------------------------ ##
8967 _ASBOX
8968 ) | sed "s/^/$as_me: WARNING: /" >&2
8970 esac
8971 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8972 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8974 echo $ECHO_N "(cached) $ECHO_C" >&6
8975 else
8976 eval "$as_ac_Header=\$ac_header_preproc"
8978 ac_res=`eval echo '${'$as_ac_Header'}'`
8979 { echo "$as_me:$LINENO: result: $ac_res" >&5
8980 echo "${ECHO_T}$ac_res" >&6; }
8983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8984 cat >>confdefs.h <<_ACEOF
8985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8986 _ACEOF
8987 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8988 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8989 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 else
8992 ac_check_lib_save_LIBS=$LIBS
8993 LIBS="-lxml2 $ac_xml_libs $LIBS"
8994 cat >conftest.$ac_ext <<_ACEOF
8995 /* confdefs.h. */
8996 _ACEOF
8997 cat confdefs.h >>conftest.$ac_ext
8998 cat >>conftest.$ac_ext <<_ACEOF
8999 /* end confdefs.h. */
9001 /* Override any GCC internal prototype to avoid an error.
9002 Use char because int might match the return type of a GCC
9003 builtin and then its argument prototype would still apply. */
9004 #ifdef __cplusplus
9005 extern "C"
9006 #endif
9007 char xmlParseMemory ();
9009 main ()
9011 return xmlParseMemory ();
9013 return 0;
9015 _ACEOF
9016 rm -f conftest.$ac_objext conftest$ac_exeext
9017 if { (ac_try="$ac_link"
9018 case "(($ac_try" in
9019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9020 *) ac_try_echo=$ac_try;;
9021 esac
9022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9023 (eval "$ac_link") 2>conftest.er1
9024 ac_status=$?
9025 grep -v '^ *+' conftest.er1 >conftest.err
9026 rm -f conftest.er1
9027 cat conftest.err >&5
9028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9029 (exit $ac_status); } && {
9030 test -z "$ac_c_werror_flag" ||
9031 test ! -s conftest.err
9032 } && test -s conftest$ac_exeext &&
9033 $as_test_x conftest$ac_exeext; then
9034 ac_cv_lib_xml2_xmlParseMemory=yes
9035 else
9036 echo "$as_me: failed program was:" >&5
9037 sed 's/^/| /' conftest.$ac_ext >&5
9039 ac_cv_lib_xml2_xmlParseMemory=no
9042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9043 conftest$ac_exeext conftest.$ac_ext
9044 LIBS=$ac_check_lib_save_LIBS
9046 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9047 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9048 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9050 cat >>confdefs.h <<\_ACEOF
9051 #define HAVE_LIBXML2 1
9052 _ACEOF
9054 XML2LIBS="$ac_xml_libs"
9055 XML2INCL="$ac_xml_cflags"
9058 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9059 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9060 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9061 echo $ECHO_N "(cached) $ECHO_C" >&6
9062 else
9063 ac_check_lib_save_LIBS=$LIBS
9064 LIBS="-lxml2 $ac_xml_libs $LIBS"
9065 cat >conftest.$ac_ext <<_ACEOF
9066 /* confdefs.h. */
9067 _ACEOF
9068 cat confdefs.h >>conftest.$ac_ext
9069 cat >>conftest.$ac_ext <<_ACEOF
9070 /* end confdefs.h. */
9072 /* Override any GCC internal prototype to avoid an error.
9073 Use char because int might match the return type of a GCC
9074 builtin and then its argument prototype would still apply. */
9075 #ifdef __cplusplus
9076 extern "C"
9077 #endif
9078 char xmlReadMemory ();
9080 main ()
9082 return xmlReadMemory ();
9084 return 0;
9086 _ACEOF
9087 rm -f conftest.$ac_objext conftest$ac_exeext
9088 if { (ac_try="$ac_link"
9089 case "(($ac_try" in
9090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9091 *) ac_try_echo=$ac_try;;
9092 esac
9093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9094 (eval "$ac_link") 2>conftest.er1
9095 ac_status=$?
9096 grep -v '^ *+' conftest.er1 >conftest.err
9097 rm -f conftest.er1
9098 cat conftest.err >&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); } && {
9101 test -z "$ac_c_werror_flag" ||
9102 test ! -s conftest.err
9103 } && test -s conftest$ac_exeext &&
9104 $as_test_x conftest$ac_exeext; then
9105 ac_cv_lib_xml2_xmlReadMemory=yes
9106 else
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.$ac_ext >&5
9110 ac_cv_lib_xml2_xmlReadMemory=no
9113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9114 conftest$ac_exeext conftest.$ac_ext
9115 LIBS=$ac_check_lib_save_LIBS
9117 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9118 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9119 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9121 cat >>confdefs.h <<\_ACEOF
9122 #define HAVE_XMLREADMEMORY 1
9123 _ACEOF
9127 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9128 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9129 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9130 echo $ECHO_N "(cached) $ECHO_C" >&6
9131 else
9132 ac_check_lib_save_LIBS=$LIBS
9133 LIBS="-lxml2 $ac_xml_libs $LIBS"
9134 cat >conftest.$ac_ext <<_ACEOF
9135 /* confdefs.h. */
9136 _ACEOF
9137 cat confdefs.h >>conftest.$ac_ext
9138 cat >>conftest.$ac_ext <<_ACEOF
9139 /* end confdefs.h. */
9141 /* Override any GCC internal prototype to avoid an error.
9142 Use char because int might match the return type of a GCC
9143 builtin and then its argument prototype would still apply. */
9144 #ifdef __cplusplus
9145 extern "C"
9146 #endif
9147 char xmlNewDocPI ();
9149 main ()
9151 return xmlNewDocPI ();
9153 return 0;
9155 _ACEOF
9156 rm -f conftest.$ac_objext conftest$ac_exeext
9157 if { (ac_try="$ac_link"
9158 case "(($ac_try" in
9159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9160 *) ac_try_echo=$ac_try;;
9161 esac
9162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9163 (eval "$ac_link") 2>conftest.er1
9164 ac_status=$?
9165 grep -v '^ *+' conftest.er1 >conftest.err
9166 rm -f conftest.er1
9167 cat conftest.err >&5
9168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9169 (exit $ac_status); } && {
9170 test -z "$ac_c_werror_flag" ||
9171 test ! -s conftest.err
9172 } && test -s conftest$ac_exeext &&
9173 $as_test_x conftest$ac_exeext; then
9174 ac_cv_lib_xml2_xmlNewDocPI=yes
9175 else
9176 echo "$as_me: failed program was:" >&5
9177 sed 's/^/| /' conftest.$ac_ext >&5
9179 ac_cv_lib_xml2_xmlNewDocPI=no
9182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9183 conftest$ac_exeext conftest.$ac_ext
9184 LIBS=$ac_check_lib_save_LIBS
9186 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9187 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9188 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9190 cat >>confdefs.h <<\_ACEOF
9191 #define HAVE_XMLNEWDOCPI 1
9192 _ACEOF
9199 done
9201 CPPFLAGS="$ac_save_CPPFLAGS"
9202 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9203 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9204 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9207 for ac_header in libxslt/pattern.h libxslt/transform.h
9209 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9210 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9212 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9213 echo $ECHO_N "(cached) $ECHO_C" >&6
9214 else
9215 cat >conftest.$ac_ext <<_ACEOF
9216 /* confdefs.h. */
9217 _ACEOF
9218 cat confdefs.h >>conftest.$ac_ext
9219 cat >>conftest.$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9221 #ifdef HAVE_LIBXSLT_PATTERN_H
9222 # include <libxslt/pattern.h>
9223 #endif
9225 #include <$ac_header>
9226 _ACEOF
9227 rm -f conftest.$ac_objext
9228 if { (ac_try="$ac_compile"
9229 case "(($ac_try" in
9230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9231 *) ac_try_echo=$ac_try;;
9232 esac
9233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9234 (eval "$ac_compile") 2>conftest.er1
9235 ac_status=$?
9236 grep -v '^ *+' conftest.er1 >conftest.err
9237 rm -f conftest.er1
9238 cat conftest.err >&5
9239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9240 (exit $ac_status); } && {
9241 test -z "$ac_c_werror_flag" ||
9242 test ! -s conftest.err
9243 } && test -s conftest.$ac_objext; then
9244 eval "$as_ac_Header=yes"
9245 else
9246 echo "$as_me: failed program was:" >&5
9247 sed 's/^/| /' conftest.$ac_ext >&5
9249 eval "$as_ac_Header=no"
9252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9254 ac_res=`eval echo '${'$as_ac_Header'}'`
9255 { echo "$as_me:$LINENO: result: $ac_res" >&5
9256 echo "${ECHO_T}$ac_res" >&6; }
9257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9258 cat >>confdefs.h <<_ACEOF
9259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9260 _ACEOF
9261 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9262 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9263 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9264 echo $ECHO_N "(cached) $ECHO_C" >&6
9265 else
9266 ac_check_lib_save_LIBS=$LIBS
9267 LIBS="-lxslt $ac_xslt_libs $LIBS"
9268 cat >conftest.$ac_ext <<_ACEOF
9269 /* confdefs.h. */
9270 _ACEOF
9271 cat confdefs.h >>conftest.$ac_ext
9272 cat >>conftest.$ac_ext <<_ACEOF
9273 /* end confdefs.h. */
9275 /* Override any GCC internal prototype to avoid an error.
9276 Use char because int might match the return type of a GCC
9277 builtin and then its argument prototype would still apply. */
9278 #ifdef __cplusplus
9279 extern "C"
9280 #endif
9281 char xsltCompilePattern ();
9283 main ()
9285 return xsltCompilePattern ();
9287 return 0;
9289 _ACEOF
9290 rm -f conftest.$ac_objext conftest$ac_exeext
9291 if { (ac_try="$ac_link"
9292 case "(($ac_try" in
9293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9294 *) ac_try_echo=$ac_try;;
9295 esac
9296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9297 (eval "$ac_link") 2>conftest.er1
9298 ac_status=$?
9299 grep -v '^ *+' conftest.er1 >conftest.err
9300 rm -f conftest.er1
9301 cat conftest.err >&5
9302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9303 (exit $ac_status); } && {
9304 test -z "$ac_c_werror_flag" ||
9305 test ! -s conftest.err
9306 } && test -s conftest$ac_exeext &&
9307 $as_test_x conftest$ac_exeext; then
9308 ac_cv_lib_xslt_xsltCompilePattern=yes
9309 else
9310 echo "$as_me: failed program was:" >&5
9311 sed 's/^/| /' conftest.$ac_ext >&5
9313 ac_cv_lib_xslt_xsltCompilePattern=no
9316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9317 conftest$ac_exeext conftest.$ac_ext
9318 LIBS=$ac_check_lib_save_LIBS
9320 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9321 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9322 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9324 cat >>confdefs.h <<\_ACEOF
9325 #define HAVE_LIBXSLT 1
9326 _ACEOF
9328 XSLTLIBS="$ac_xslt_libs"
9329 XSLTINCL="$ac_xslt_cflags"
9335 done
9337 CPPFLAGS="$ac_save_CPPFLAGS"
9340 HALINCL=""
9342 if test "$PKG_CONFIG" != "false"
9343 then
9344 ac_save_CPPFLAGS="$CPPFLAGS"
9345 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9346 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9347 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9350 for ac_header in dbus/dbus.h hal/libhal.h
9352 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9354 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9356 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9359 ac_res=`eval echo '${'$as_ac_Header'}'`
9360 { echo "$as_me:$LINENO: result: $ac_res" >&5
9361 echo "${ECHO_T}$ac_res" >&6; }
9362 else
9363 # Is the header compilable?
9364 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9365 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9366 cat >conftest.$ac_ext <<_ACEOF
9367 /* confdefs.h. */
9368 _ACEOF
9369 cat confdefs.h >>conftest.$ac_ext
9370 cat >>conftest.$ac_ext <<_ACEOF
9371 /* end confdefs.h. */
9372 $ac_includes_default
9373 #include <$ac_header>
9374 _ACEOF
9375 rm -f conftest.$ac_objext
9376 if { (ac_try="$ac_compile"
9377 case "(($ac_try" in
9378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9379 *) ac_try_echo=$ac_try;;
9380 esac
9381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9382 (eval "$ac_compile") 2>conftest.er1
9383 ac_status=$?
9384 grep -v '^ *+' conftest.er1 >conftest.err
9385 rm -f conftest.er1
9386 cat conftest.err >&5
9387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9388 (exit $ac_status); } && {
9389 test -z "$ac_c_werror_flag" ||
9390 test ! -s conftest.err
9391 } && test -s conftest.$ac_objext; then
9392 ac_header_compiler=yes
9393 else
9394 echo "$as_me: failed program was:" >&5
9395 sed 's/^/| /' conftest.$ac_ext >&5
9397 ac_header_compiler=no
9400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9401 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9402 echo "${ECHO_T}$ac_header_compiler" >&6; }
9404 # Is the header present?
9405 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9406 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9407 cat >conftest.$ac_ext <<_ACEOF
9408 /* confdefs.h. */
9409 _ACEOF
9410 cat confdefs.h >>conftest.$ac_ext
9411 cat >>conftest.$ac_ext <<_ACEOF
9412 /* end confdefs.h. */
9413 #include <$ac_header>
9414 _ACEOF
9415 if { (ac_try="$ac_cpp conftest.$ac_ext"
9416 case "(($ac_try" in
9417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9418 *) ac_try_echo=$ac_try;;
9419 esac
9420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9421 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9422 ac_status=$?
9423 grep -v '^ *+' conftest.er1 >conftest.err
9424 rm -f conftest.er1
9425 cat conftest.err >&5
9426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9427 (exit $ac_status); } >/dev/null && {
9428 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9429 test ! -s conftest.err
9430 }; then
9431 ac_header_preproc=yes
9432 else
9433 echo "$as_me: failed program was:" >&5
9434 sed 's/^/| /' conftest.$ac_ext >&5
9436 ac_header_preproc=no
9439 rm -f conftest.err conftest.$ac_ext
9440 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9441 echo "${ECHO_T}$ac_header_preproc" >&6; }
9443 # So? What about this header?
9444 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9445 yes:no: )
9446 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9447 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9448 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9449 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9450 ac_header_preproc=yes
9452 no:yes:* )
9453 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9454 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9455 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9456 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9457 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9458 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9459 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9460 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9461 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9462 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9463 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9464 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9465 ( cat <<\_ASBOX
9466 ## ------------------------------------ ##
9467 ## Report this to wine-devel@winehq.org ##
9468 ## ------------------------------------ ##
9469 _ASBOX
9470 ) | sed "s/^/$as_me: WARNING: /" >&2
9472 esac
9473 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9475 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9476 echo $ECHO_N "(cached) $ECHO_C" >&6
9477 else
9478 eval "$as_ac_Header=\$ac_header_preproc"
9480 ac_res=`eval echo '${'$as_ac_Header'}'`
9481 { echo "$as_me:$LINENO: result: $ac_res" >&5
9482 echo "${ECHO_T}$ac_res" >&6; }
9485 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9486 cat >>confdefs.h <<_ACEOF
9487 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9488 _ACEOF
9492 done
9494 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9495 then
9496 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9497 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9498 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 else
9501 ac_check_lib_save_LIBS=$LIBS
9502 LIBS="-lhal $LIBS"
9503 cat >conftest.$ac_ext <<_ACEOF
9504 /* confdefs.h. */
9505 _ACEOF
9506 cat confdefs.h >>conftest.$ac_ext
9507 cat >>conftest.$ac_ext <<_ACEOF
9508 /* end confdefs.h. */
9510 /* Override any GCC internal prototype to avoid an error.
9511 Use char because int might match the return type of a GCC
9512 builtin and then its argument prototype would still apply. */
9513 #ifdef __cplusplus
9514 extern "C"
9515 #endif
9516 char libhal_ctx_new ();
9518 main ()
9520 return libhal_ctx_new ();
9522 return 0;
9524 _ACEOF
9525 rm -f conftest.$ac_objext conftest$ac_exeext
9526 if { (ac_try="$ac_link"
9527 case "(($ac_try" in
9528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9529 *) ac_try_echo=$ac_try;;
9530 esac
9531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9532 (eval "$ac_link") 2>conftest.er1
9533 ac_status=$?
9534 grep -v '^ *+' conftest.er1 >conftest.err
9535 rm -f conftest.er1
9536 cat conftest.err >&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } && {
9539 test -z "$ac_c_werror_flag" ||
9540 test ! -s conftest.err
9541 } && test -s conftest$ac_exeext &&
9542 $as_test_x conftest$ac_exeext; then
9543 ac_cv_lib_hal_libhal_ctx_new=yes
9544 else
9545 echo "$as_me: failed program was:" >&5
9546 sed 's/^/| /' conftest.$ac_ext >&5
9548 ac_cv_lib_hal_libhal_ctx_new=no
9551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9552 conftest$ac_exeext conftest.$ac_ext
9553 LIBS=$ac_check_lib_save_LIBS
9555 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9556 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9557 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9558 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9559 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9560 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9561 echo $ECHO_N "(cached) $ECHO_C" >&6
9562 else
9563 ac_check_lib_save_LIBS=$LIBS
9564 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9565 cat >conftest.$ac_ext <<_ACEOF
9566 /* confdefs.h. */
9567 _ACEOF
9568 cat confdefs.h >>conftest.$ac_ext
9569 cat >>conftest.$ac_ext <<_ACEOF
9570 /* end confdefs.h. */
9572 /* Override any GCC internal prototype to avoid an error.
9573 Use char because int might match the return type of a GCC
9574 builtin and then its argument prototype would still apply. */
9575 #ifdef __cplusplus
9576 extern "C"
9577 #endif
9578 char dbus_connection_close ();
9580 main ()
9582 return dbus_connection_close ();
9584 return 0;
9586 _ACEOF
9587 rm -f conftest.$ac_objext conftest$ac_exeext
9588 if { (ac_try="$ac_link"
9589 case "(($ac_try" in
9590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9591 *) ac_try_echo=$ac_try;;
9592 esac
9593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9594 (eval "$ac_link") 2>conftest.er1
9595 ac_status=$?
9596 grep -v '^ *+' conftest.er1 >conftest.err
9597 rm -f conftest.er1
9598 cat conftest.err >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); } && {
9601 test -z "$ac_c_werror_flag" ||
9602 test ! -s conftest.err
9603 } && test -s conftest$ac_exeext &&
9604 $as_test_x conftest$ac_exeext; then
9605 ac_cv_lib_dbus_1_dbus_connection_close=yes
9606 else
9607 echo "$as_me: failed program was:" >&5
9608 sed 's/^/| /' conftest.$ac_ext >&5
9610 ac_cv_lib_dbus_1_dbus_connection_close=no
9613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9614 conftest$ac_exeext conftest.$ac_ext
9615 LIBS=$ac_check_lib_save_LIBS
9617 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9618 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9619 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9621 cat >>confdefs.h <<\_ACEOF
9622 #define HAVE_LIBHAL 1
9623 _ACEOF
9625 HALINCL="$ac_hal_cflags"
9631 CPPFLAGS="$ac_save_CPPFLAGS"
9634 CURSESLIBS=""
9635 if test "$ac_cv_header_ncurses_h" = "yes"
9636 then
9637 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9638 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9639 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 else
9642 ac_check_lib_save_LIBS=$LIBS
9643 LIBS="-lncurses $LIBS"
9644 cat >conftest.$ac_ext <<_ACEOF
9645 /* confdefs.h. */
9646 _ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9654 #ifdef __cplusplus
9655 extern "C"
9656 #endif
9657 char waddch ();
9659 main ()
9661 return waddch ();
9663 return 0;
9665 _ACEOF
9666 rm -f conftest.$ac_objext conftest$ac_exeext
9667 if { (ac_try="$ac_link"
9668 case "(($ac_try" in
9669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9670 *) ac_try_echo=$ac_try;;
9671 esac
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_link") 2>conftest.er1
9674 ac_status=$?
9675 grep -v '^ *+' conftest.er1 >conftest.err
9676 rm -f conftest.er1
9677 cat conftest.err >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } && {
9680 test -z "$ac_c_werror_flag" ||
9681 test ! -s conftest.err
9682 } && test -s conftest$ac_exeext &&
9683 $as_test_x conftest$ac_exeext; then
9684 ac_cv_lib_ncurses_waddch=yes
9685 else
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9689 ac_cv_lib_ncurses_waddch=no
9692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LIBS=$ac_check_lib_save_LIBS
9696 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9697 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9698 if test $ac_cv_lib_ncurses_waddch = yes; then
9699 CURSESLIBS="-lncurses"
9702 elif test "$ac_cv_header_curses_h" = "yes"
9703 then
9704 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9705 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9706 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9707 echo $ECHO_N "(cached) $ECHO_C" >&6
9708 else
9709 ac_check_lib_save_LIBS=$LIBS
9710 LIBS="-lcurses $LIBS"
9711 cat >conftest.$ac_ext <<_ACEOF
9712 /* confdefs.h. */
9713 _ACEOF
9714 cat confdefs.h >>conftest.$ac_ext
9715 cat >>conftest.$ac_ext <<_ACEOF
9716 /* end confdefs.h. */
9718 /* Override any GCC internal prototype to avoid an error.
9719 Use char because int might match the return type of a GCC
9720 builtin and then its argument prototype would still apply. */
9721 #ifdef __cplusplus
9722 extern "C"
9723 #endif
9724 char waddch ();
9726 main ()
9728 return waddch ();
9730 return 0;
9732 _ACEOF
9733 rm -f conftest.$ac_objext conftest$ac_exeext
9734 if { (ac_try="$ac_link"
9735 case "(($ac_try" in
9736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9737 *) ac_try_echo=$ac_try;;
9738 esac
9739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9740 (eval "$ac_link") 2>conftest.er1
9741 ac_status=$?
9742 grep -v '^ *+' conftest.er1 >conftest.err
9743 rm -f conftest.er1
9744 cat conftest.err >&5
9745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9746 (exit $ac_status); } && {
9747 test -z "$ac_c_werror_flag" ||
9748 test ! -s conftest.err
9749 } && test -s conftest$ac_exeext &&
9750 $as_test_x conftest$ac_exeext; then
9751 ac_cv_lib_curses_waddch=yes
9752 else
9753 echo "$as_me: failed program was:" >&5
9754 sed 's/^/| /' conftest.$ac_ext >&5
9756 ac_cv_lib_curses_waddch=no
9759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9760 conftest$ac_exeext conftest.$ac_ext
9761 LIBS=$ac_check_lib_save_LIBS
9763 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9764 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9765 if test $ac_cv_lib_curses_waddch = yes; then
9766 CURSESLIBS="-lcurses"
9770 ac_save_LIBS="$LIBS"
9771 LIBS="$LIBS $CURSESLIBS"
9773 for ac_func in mousemask
9775 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9776 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9777 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9778 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9780 else
9781 cat >conftest.$ac_ext <<_ACEOF
9782 /* confdefs.h. */
9783 _ACEOF
9784 cat confdefs.h >>conftest.$ac_ext
9785 cat >>conftest.$ac_ext <<_ACEOF
9786 /* end confdefs.h. */
9787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9789 #define $ac_func innocuous_$ac_func
9791 /* System header to define __stub macros and hopefully few prototypes,
9792 which can conflict with char $ac_func (); below.
9793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9794 <limits.h> exists even on freestanding compilers. */
9796 #ifdef __STDC__
9797 # include <limits.h>
9798 #else
9799 # include <assert.h>
9800 #endif
9802 #undef $ac_func
9804 /* Override any GCC internal prototype to avoid an error.
9805 Use char because int might match the return type of a GCC
9806 builtin and then its argument prototype would still apply. */
9807 #ifdef __cplusplus
9808 extern "C"
9809 #endif
9810 char $ac_func ();
9811 /* The GNU C library defines this for functions which it implements
9812 to always fail with ENOSYS. Some functions are actually named
9813 something starting with __ and the normal name is an alias. */
9814 #if defined __stub_$ac_func || defined __stub___$ac_func
9815 choke me
9816 #endif
9819 main ()
9821 return $ac_func ();
9823 return 0;
9825 _ACEOF
9826 rm -f conftest.$ac_objext conftest$ac_exeext
9827 if { (ac_try="$ac_link"
9828 case "(($ac_try" in
9829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9830 *) ac_try_echo=$ac_try;;
9831 esac
9832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9833 (eval "$ac_link") 2>conftest.er1
9834 ac_status=$?
9835 grep -v '^ *+' conftest.er1 >conftest.err
9836 rm -f conftest.er1
9837 cat conftest.err >&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } && {
9840 test -z "$ac_c_werror_flag" ||
9841 test ! -s conftest.err
9842 } && test -s conftest$ac_exeext &&
9843 $as_test_x conftest$ac_exeext; then
9844 eval "$as_ac_var=yes"
9845 else
9846 echo "$as_me: failed program was:" >&5
9847 sed 's/^/| /' conftest.$ac_ext >&5
9849 eval "$as_ac_var=no"
9852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9853 conftest$ac_exeext conftest.$ac_ext
9855 ac_res=`eval echo '${'$as_ac_var'}'`
9856 { echo "$as_me:$LINENO: result: $ac_res" >&5
9857 echo "${ECHO_T}$ac_res" >&6; }
9858 if test `eval echo '${'$as_ac_var'}'` = yes; then
9859 cat >>confdefs.h <<_ACEOF
9860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9861 _ACEOF
9864 done
9866 LIBS="$ac_save_LIBS"
9868 # Extract the first word of "sane-config", so it can be a program name with args.
9869 set dummy sane-config; ac_word=$2
9870 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9872 if test "${ac_cv_prog_sane_devel+set}" = set; then
9873 echo $ECHO_N "(cached) $ECHO_C" >&6
9874 else
9875 if test -n "$sane_devel"; then
9876 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9877 else
9878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9879 for as_dir in $PATH
9881 IFS=$as_save_IFS
9882 test -z "$as_dir" && as_dir=.
9883 for ac_exec_ext in '' $ac_executable_extensions; do
9884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9885 ac_cv_prog_sane_devel="sane-config"
9886 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9887 break 2
9889 done
9890 done
9891 IFS=$as_save_IFS
9893 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9896 sane_devel=$ac_cv_prog_sane_devel
9897 if test -n "$sane_devel"; then
9898 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9899 echo "${ECHO_T}$sane_devel" >&6; }
9900 else
9901 { echo "$as_me:$LINENO: result: no" >&5
9902 echo "${ECHO_T}no" >&6; }
9906 SANEINCL=""
9908 if test "$sane_devel" != "no"
9909 then
9910 SANEINCL="`$sane_devel --cflags`"
9911 ac_save_CPPFLAGS="$CPPFLAGS"
9912 CPPFLAGS="$CPPFLAGS $SANEINCL"
9913 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9914 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9915 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9916 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9917 echo $ECHO_N "(cached) $ECHO_C" >&6
9919 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9920 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9921 else
9922 # Is the header compilable?
9923 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9924 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9925 cat >conftest.$ac_ext <<_ACEOF
9926 /* confdefs.h. */
9927 _ACEOF
9928 cat confdefs.h >>conftest.$ac_ext
9929 cat >>conftest.$ac_ext <<_ACEOF
9930 /* end confdefs.h. */
9931 $ac_includes_default
9932 #include <sane/sane.h>
9933 _ACEOF
9934 rm -f conftest.$ac_objext
9935 if { (ac_try="$ac_compile"
9936 case "(($ac_try" in
9937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9938 *) ac_try_echo=$ac_try;;
9939 esac
9940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9941 (eval "$ac_compile") 2>conftest.er1
9942 ac_status=$?
9943 grep -v '^ *+' conftest.er1 >conftest.err
9944 rm -f conftest.er1
9945 cat conftest.err >&5
9946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9947 (exit $ac_status); } && {
9948 test -z "$ac_c_werror_flag" ||
9949 test ! -s conftest.err
9950 } && test -s conftest.$ac_objext; then
9951 ac_header_compiler=yes
9952 else
9953 echo "$as_me: failed program was:" >&5
9954 sed 's/^/| /' conftest.$ac_ext >&5
9956 ac_header_compiler=no
9959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9960 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9961 echo "${ECHO_T}$ac_header_compiler" >&6; }
9963 # Is the header present?
9964 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9965 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9966 cat >conftest.$ac_ext <<_ACEOF
9967 /* confdefs.h. */
9968 _ACEOF
9969 cat confdefs.h >>conftest.$ac_ext
9970 cat >>conftest.$ac_ext <<_ACEOF
9971 /* end confdefs.h. */
9972 #include <sane/sane.h>
9973 _ACEOF
9974 if { (ac_try="$ac_cpp conftest.$ac_ext"
9975 case "(($ac_try" in
9976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9977 *) ac_try_echo=$ac_try;;
9978 esac
9979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9980 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9981 ac_status=$?
9982 grep -v '^ *+' conftest.er1 >conftest.err
9983 rm -f conftest.er1
9984 cat conftest.err >&5
9985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9986 (exit $ac_status); } >/dev/null && {
9987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9988 test ! -s conftest.err
9989 }; then
9990 ac_header_preproc=yes
9991 else
9992 echo "$as_me: failed program was:" >&5
9993 sed 's/^/| /' conftest.$ac_ext >&5
9995 ac_header_preproc=no
9998 rm -f conftest.err conftest.$ac_ext
9999 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10000 echo "${ECHO_T}$ac_header_preproc" >&6; }
10002 # So? What about this header?
10003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10004 yes:no: )
10005 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10006 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10007 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10008 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10009 ac_header_preproc=yes
10011 no:yes:* )
10012 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10013 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10014 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10015 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10016 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10017 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10018 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10019 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10020 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10021 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10022 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10023 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10024 ( cat <<\_ASBOX
10025 ## ------------------------------------ ##
10026 ## Report this to wine-devel@winehq.org ##
10027 ## ------------------------------------ ##
10028 _ASBOX
10029 ) | sed "s/^/$as_me: WARNING: /" >&2
10031 esac
10032 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10033 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10034 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10035 echo $ECHO_N "(cached) $ECHO_C" >&6
10036 else
10037 ac_cv_header_sane_sane_h=$ac_header_preproc
10039 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10040 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10043 if test $ac_cv_header_sane_sane_h = yes; then
10045 cat >>confdefs.h <<\_ACEOF
10046 #define HAVE_SANE 1
10047 _ACEOF
10049 else
10050 SANEINCL=""
10054 CPPFLAGS="$ac_save_CPPFLAGS"
10057 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10058 set dummy gphoto2-config; ac_word=$2
10059 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10061 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10062 echo $ECHO_N "(cached) $ECHO_C" >&6
10063 else
10064 if test -n "$gphoto2_devel"; then
10065 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10066 else
10067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10068 for as_dir in $PATH
10070 IFS=$as_save_IFS
10071 test -z "$as_dir" && as_dir=.
10072 for ac_exec_ext in '' $ac_executable_extensions; do
10073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10074 ac_cv_prog_gphoto2_devel="gphoto2-config"
10075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10076 break 2
10078 done
10079 done
10080 IFS=$as_save_IFS
10082 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10085 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10086 if test -n "$gphoto2_devel"; then
10087 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10088 echo "${ECHO_T}$gphoto2_devel" >&6; }
10089 else
10090 { echo "$as_me:$LINENO: result: no" >&5
10091 echo "${ECHO_T}no" >&6; }
10095 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10096 set dummy gphoto2-port-config; ac_word=$2
10097 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10098 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10099 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10100 echo $ECHO_N "(cached) $ECHO_C" >&6
10101 else
10102 if test -n "$gphoto2port_devel"; then
10103 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10104 else
10105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10106 for as_dir in $PATH
10108 IFS=$as_save_IFS
10109 test -z "$as_dir" && as_dir=.
10110 for ac_exec_ext in '' $ac_executable_extensions; do
10111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10112 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10114 break 2
10116 done
10117 done
10118 IFS=$as_save_IFS
10120 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10123 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10124 if test -n "$gphoto2port_devel"; then
10125 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10126 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10127 else
10128 { echo "$as_me:$LINENO: result: no" >&5
10129 echo "${ECHO_T}no" >&6; }
10133 GPHOTO2LIBS=""
10135 GPHOTO2INCL=""
10137 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10138 then
10139 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10140 GPHOTO2LIBS=""
10141 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10143 case "$i" in
10144 -L/usr/lib|-L/usr/lib64) ;;
10145 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10146 esac
10147 done
10148 ac_save_CPPFLAGS="$CPPFLAGS"
10149 ac_save_LIBS="$LIBS"
10150 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10151 LIBS="$LIBS $GPHOTO2LIBS"
10152 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10153 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10154 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10155 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10156 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10159 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10160 else
10161 # Is the header compilable?
10162 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10163 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10164 cat >conftest.$ac_ext <<_ACEOF
10165 /* confdefs.h. */
10166 _ACEOF
10167 cat confdefs.h >>conftest.$ac_ext
10168 cat >>conftest.$ac_ext <<_ACEOF
10169 /* end confdefs.h. */
10170 $ac_includes_default
10171 #include <gphoto2-camera.h>
10172 _ACEOF
10173 rm -f conftest.$ac_objext
10174 if { (ac_try="$ac_compile"
10175 case "(($ac_try" in
10176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10177 *) ac_try_echo=$ac_try;;
10178 esac
10179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10180 (eval "$ac_compile") 2>conftest.er1
10181 ac_status=$?
10182 grep -v '^ *+' conftest.er1 >conftest.err
10183 rm -f conftest.er1
10184 cat conftest.err >&5
10185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10186 (exit $ac_status); } && {
10187 test -z "$ac_c_werror_flag" ||
10188 test ! -s conftest.err
10189 } && test -s conftest.$ac_objext; then
10190 ac_header_compiler=yes
10191 else
10192 echo "$as_me: failed program was:" >&5
10193 sed 's/^/| /' conftest.$ac_ext >&5
10195 ac_header_compiler=no
10198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10199 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10200 echo "${ECHO_T}$ac_header_compiler" >&6; }
10202 # Is the header present?
10203 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10204 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10205 cat >conftest.$ac_ext <<_ACEOF
10206 /* confdefs.h. */
10207 _ACEOF
10208 cat confdefs.h >>conftest.$ac_ext
10209 cat >>conftest.$ac_ext <<_ACEOF
10210 /* end confdefs.h. */
10211 #include <gphoto2-camera.h>
10212 _ACEOF
10213 if { (ac_try="$ac_cpp conftest.$ac_ext"
10214 case "(($ac_try" in
10215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10216 *) ac_try_echo=$ac_try;;
10217 esac
10218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10219 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10220 ac_status=$?
10221 grep -v '^ *+' conftest.er1 >conftest.err
10222 rm -f conftest.er1
10223 cat conftest.err >&5
10224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10225 (exit $ac_status); } >/dev/null && {
10226 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10227 test ! -s conftest.err
10228 }; then
10229 ac_header_preproc=yes
10230 else
10231 echo "$as_me: failed program was:" >&5
10232 sed 's/^/| /' conftest.$ac_ext >&5
10234 ac_header_preproc=no
10237 rm -f conftest.err conftest.$ac_ext
10238 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10239 echo "${ECHO_T}$ac_header_preproc" >&6; }
10241 # So? What about this header?
10242 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10243 yes:no: )
10244 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10245 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10246 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10247 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10248 ac_header_preproc=yes
10250 no:yes:* )
10251 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10252 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10253 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10254 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10255 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10256 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10257 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10258 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10259 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10260 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10262 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10263 ( cat <<\_ASBOX
10264 ## ------------------------------------ ##
10265 ## Report this to wine-devel@winehq.org ##
10266 ## ------------------------------------ ##
10267 _ASBOX
10268 ) | sed "s/^/$as_me: WARNING: /" >&2
10270 esac
10271 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10272 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10273 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10274 echo $ECHO_N "(cached) $ECHO_C" >&6
10275 else
10276 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10278 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10279 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10282 if test $ac_cv_header_gphoto2_camera_h = yes; then
10283 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10284 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10285 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10286 echo $ECHO_N "(cached) $ECHO_C" >&6
10287 else
10288 ac_check_lib_save_LIBS=$LIBS
10289 LIBS="-lgphoto2 $LIBS"
10290 cat >conftest.$ac_ext <<_ACEOF
10291 /* confdefs.h. */
10292 _ACEOF
10293 cat confdefs.h >>conftest.$ac_ext
10294 cat >>conftest.$ac_ext <<_ACEOF
10295 /* end confdefs.h. */
10297 /* Override any GCC internal prototype to avoid an error.
10298 Use char because int might match the return type of a GCC
10299 builtin and then its argument prototype would still apply. */
10300 #ifdef __cplusplus
10301 extern "C"
10302 #endif
10303 char gp_camera_new ();
10305 main ()
10307 return gp_camera_new ();
10309 return 0;
10311 _ACEOF
10312 rm -f conftest.$ac_objext conftest$ac_exeext
10313 if { (ac_try="$ac_link"
10314 case "(($ac_try" in
10315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10316 *) ac_try_echo=$ac_try;;
10317 esac
10318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10319 (eval "$ac_link") 2>conftest.er1
10320 ac_status=$?
10321 grep -v '^ *+' conftest.er1 >conftest.err
10322 rm -f conftest.er1
10323 cat conftest.err >&5
10324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10325 (exit $ac_status); } && {
10326 test -z "$ac_c_werror_flag" ||
10327 test ! -s conftest.err
10328 } && test -s conftest$ac_exeext &&
10329 $as_test_x conftest$ac_exeext; then
10330 ac_cv_lib_gphoto2_gp_camera_new=yes
10331 else
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_cv_lib_gphoto2_gp_camera_new=no
10338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10339 conftest$ac_exeext conftest.$ac_ext
10340 LIBS=$ac_check_lib_save_LIBS
10342 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10343 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10344 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10346 cat >>confdefs.h <<\_ACEOF
10347 #define HAVE_GPHOTO2 1
10348 _ACEOF
10350 else
10351 GPHOTO2LIBS=""
10352 GPHOTO2INCL=""
10355 else
10356 GPHOTO2LIBS=""
10357 GPHOTO2INCL=""
10361 LIBS="$ac_save_LIBS"
10362 CPPFLAGS="$ac_save_CPPFLAGS"
10365 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10366 then
10367 saved_libs="$LIBS"
10368 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10370 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10371 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10372 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10373 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10374 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10375 cat >conftest.$ac_ext <<_ACEOF
10376 /* confdefs.h. */
10377 _ACEOF
10378 cat confdefs.h >>conftest.$ac_ext
10379 cat >>conftest.$ac_ext <<_ACEOF
10380 /* end confdefs.h. */
10381 #include <unicode/ubidi.h>
10383 main ()
10385 ubidi_open()
10387 return 0;
10389 _ACEOF
10390 rm -f conftest.$ac_objext conftest$ac_exeext
10391 if { (ac_try="$ac_link"
10392 case "(($ac_try" in
10393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10394 *) ac_try_echo=$ac_try;;
10395 esac
10396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10397 (eval "$ac_link") 2>conftest.er1
10398 ac_status=$?
10399 grep -v '^ *+' conftest.er1 >conftest.err
10400 rm -f conftest.er1
10401 cat conftest.err >&5
10402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10403 (exit $ac_status); } && {
10404 test -z "$ac_c_werror_flag" ||
10405 test ! -s conftest.err
10406 } && test -s conftest$ac_exeext &&
10407 $as_test_x conftest$ac_exeext; then
10409 cat >>confdefs.h <<\_ACEOF
10410 #define HAVE_ICU 1
10411 _ACEOF
10413 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10415 { echo "$as_me:$LINENO: result: yes" >&5
10416 echo "${ECHO_T}yes" >&6; }
10417 else
10418 echo "$as_me: failed program was:" >&5
10419 sed 's/^/| /' conftest.$ac_ext >&5
10421 { echo "$as_me:$LINENO: result: no" >&5
10422 echo "${ECHO_T}no" >&6; }
10425 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10426 conftest$ac_exeext conftest.$ac_ext
10427 done
10428 LIBS="$saved_libs"
10431 RESOLVLIBS=""
10433 if test "$ac_cv_header_resolv_h" = "yes"
10434 then
10435 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10436 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10437 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10438 echo $ECHO_N "(cached) $ECHO_C" >&6
10439 else
10440 ac_check_lib_save_LIBS=$LIBS
10441 LIBS="-lresolv $LIBS"
10442 cat >conftest.$ac_ext <<_ACEOF
10443 /* confdefs.h. */
10444 _ACEOF
10445 cat confdefs.h >>conftest.$ac_ext
10446 cat >>conftest.$ac_ext <<_ACEOF
10447 /* end confdefs.h. */
10449 /* Override any GCC internal prototype to avoid an error.
10450 Use char because int might match the return type of a GCC
10451 builtin and then its argument prototype would still apply. */
10452 #ifdef __cplusplus
10453 extern "C"
10454 #endif
10455 char res_query ();
10457 main ()
10459 return res_query ();
10461 return 0;
10463 _ACEOF
10464 rm -f conftest.$ac_objext conftest$ac_exeext
10465 if { (ac_try="$ac_link"
10466 case "(($ac_try" in
10467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10468 *) ac_try_echo=$ac_try;;
10469 esac
10470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10471 (eval "$ac_link") 2>conftest.er1
10472 ac_status=$?
10473 grep -v '^ *+' conftest.er1 >conftest.err
10474 rm -f conftest.er1
10475 cat conftest.err >&5
10476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477 (exit $ac_status); } && {
10478 test -z "$ac_c_werror_flag" ||
10479 test ! -s conftest.err
10480 } && test -s conftest$ac_exeext &&
10481 $as_test_x conftest$ac_exeext; then
10482 ac_cv_lib_resolv_res_query=yes
10483 else
10484 echo "$as_me: failed program was:" >&5
10485 sed 's/^/| /' conftest.$ac_ext >&5
10487 ac_cv_lib_resolv_res_query=no
10490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10491 conftest$ac_exeext conftest.$ac_ext
10492 LIBS=$ac_check_lib_save_LIBS
10494 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10495 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10496 if test $ac_cv_lib_resolv_res_query = yes; then
10498 cat >>confdefs.h <<\_ACEOF
10499 #define HAVE_RESOLV 1
10500 _ACEOF
10502 RESOLVLIBS="-lresolv"
10507 LCMSLIBS=""
10509 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10510 then
10511 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10512 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10513 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10514 echo $ECHO_N "(cached) $ECHO_C" >&6
10515 else
10516 ac_check_lib_save_LIBS=$LIBS
10517 LIBS="-llcms $LIBS"
10518 cat >conftest.$ac_ext <<_ACEOF
10519 /* confdefs.h. */
10520 _ACEOF
10521 cat confdefs.h >>conftest.$ac_ext
10522 cat >>conftest.$ac_ext <<_ACEOF
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10528 #ifdef __cplusplus
10529 extern "C"
10530 #endif
10531 char cmsOpenProfileFromFile ();
10533 main ()
10535 return cmsOpenProfileFromFile ();
10537 return 0;
10539 _ACEOF
10540 rm -f conftest.$ac_objext conftest$ac_exeext
10541 if { (ac_try="$ac_link"
10542 case "(($ac_try" in
10543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10544 *) ac_try_echo=$ac_try;;
10545 esac
10546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10547 (eval "$ac_link") 2>conftest.er1
10548 ac_status=$?
10549 grep -v '^ *+' conftest.er1 >conftest.err
10550 rm -f conftest.er1
10551 cat conftest.err >&5
10552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10553 (exit $ac_status); } && {
10554 test -z "$ac_c_werror_flag" ||
10555 test ! -s conftest.err
10556 } && test -s conftest$ac_exeext &&
10557 $as_test_x conftest$ac_exeext; then
10558 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10559 else
10560 echo "$as_me: failed program was:" >&5
10561 sed 's/^/| /' conftest.$ac_ext >&5
10563 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10567 conftest$ac_exeext conftest.$ac_ext
10568 LIBS=$ac_check_lib_save_LIBS
10570 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10571 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10572 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10574 cat >>confdefs.h <<\_ACEOF
10575 #define HAVE_LCMS 1
10576 _ACEOF
10578 LCMSLIBS="-llcms"
10583 LDAPLIBS=""
10585 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10586 then
10587 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10588 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10589 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10590 echo $ECHO_N "(cached) $ECHO_C" >&6
10591 else
10592 ac_check_lib_save_LIBS=$LIBS
10593 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10594 cat >conftest.$ac_ext <<_ACEOF
10595 /* confdefs.h. */
10596 _ACEOF
10597 cat confdefs.h >>conftest.$ac_ext
10598 cat >>conftest.$ac_ext <<_ACEOF
10599 /* end confdefs.h. */
10601 /* Override any GCC internal prototype to avoid an error.
10602 Use char because int might match the return type of a GCC
10603 builtin and then its argument prototype would still apply. */
10604 #ifdef __cplusplus
10605 extern "C"
10606 #endif
10607 char ldap_initialize ();
10609 main ()
10611 return ldap_initialize ();
10613 return 0;
10615 _ACEOF
10616 rm -f conftest.$ac_objext conftest$ac_exeext
10617 if { (ac_try="$ac_link"
10618 case "(($ac_try" in
10619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10620 *) ac_try_echo=$ac_try;;
10621 esac
10622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10623 (eval "$ac_link") 2>conftest.er1
10624 ac_status=$?
10625 grep -v '^ *+' conftest.er1 >conftest.err
10626 rm -f conftest.er1
10627 cat conftest.err >&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } && {
10630 test -z "$ac_c_werror_flag" ||
10631 test ! -s conftest.err
10632 } && test -s conftest$ac_exeext &&
10633 $as_test_x conftest$ac_exeext; then
10634 ac_cv_lib_ldap_r_ldap_initialize=yes
10635 else
10636 echo "$as_me: failed program was:" >&5
10637 sed 's/^/| /' conftest.$ac_ext >&5
10639 ac_cv_lib_ldap_r_ldap_initialize=no
10642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10643 conftest$ac_exeext conftest.$ac_ext
10644 LIBS=$ac_check_lib_save_LIBS
10646 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10647 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10648 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10649 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10650 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10651 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10652 echo $ECHO_N "(cached) $ECHO_C" >&6
10653 else
10654 ac_check_lib_save_LIBS=$LIBS
10655 LIBS="-llber $LIBPTHREAD $LIBS"
10656 cat >conftest.$ac_ext <<_ACEOF
10657 /* confdefs.h. */
10658 _ACEOF
10659 cat confdefs.h >>conftest.$ac_ext
10660 cat >>conftest.$ac_ext <<_ACEOF
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10666 #ifdef __cplusplus
10667 extern "C"
10668 #endif
10669 char ber_init ();
10671 main ()
10673 return ber_init ();
10675 return 0;
10677 _ACEOF
10678 rm -f conftest.$ac_objext conftest$ac_exeext
10679 if { (ac_try="$ac_link"
10680 case "(($ac_try" in
10681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10682 *) ac_try_echo=$ac_try;;
10683 esac
10684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10685 (eval "$ac_link") 2>conftest.er1
10686 ac_status=$?
10687 grep -v '^ *+' conftest.er1 >conftest.err
10688 rm -f conftest.er1
10689 cat conftest.err >&5
10690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10691 (exit $ac_status); } && {
10692 test -z "$ac_c_werror_flag" ||
10693 test ! -s conftest.err
10694 } && test -s conftest$ac_exeext &&
10695 $as_test_x conftest$ac_exeext; then
10696 ac_cv_lib_lber_ber_init=yes
10697 else
10698 echo "$as_me: failed program was:" >&5
10699 sed 's/^/| /' conftest.$ac_ext >&5
10701 ac_cv_lib_lber_ber_init=no
10704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10705 conftest$ac_exeext conftest.$ac_ext
10706 LIBS=$ac_check_lib_save_LIBS
10708 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10709 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10710 if test $ac_cv_lib_lber_ber_init = yes; then
10712 cat >>confdefs.h <<\_ACEOF
10713 #define HAVE_LDAP 1
10714 _ACEOF
10716 LDAPLIBS="-lldap_r -llber"
10721 ac_wine_check_funcs_save_LIBS="$LIBS"
10722 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10727 for ac_func in \
10728 ldap_count_references \
10729 ldap_first_reference \
10730 ldap_next_reference \
10731 ldap_parse_reference
10733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10734 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10736 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10737 echo $ECHO_N "(cached) $ECHO_C" >&6
10738 else
10739 cat >conftest.$ac_ext <<_ACEOF
10740 /* confdefs.h. */
10741 _ACEOF
10742 cat confdefs.h >>conftest.$ac_ext
10743 cat >>conftest.$ac_ext <<_ACEOF
10744 /* end confdefs.h. */
10745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10747 #define $ac_func innocuous_$ac_func
10749 /* System header to define __stub macros and hopefully few prototypes,
10750 which can conflict with char $ac_func (); below.
10751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10752 <limits.h> exists even on freestanding compilers. */
10754 #ifdef __STDC__
10755 # include <limits.h>
10756 #else
10757 # include <assert.h>
10758 #endif
10760 #undef $ac_func
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10765 #ifdef __cplusplus
10766 extern "C"
10767 #endif
10768 char $ac_func ();
10769 /* The GNU C library defines this for functions which it implements
10770 to always fail with ENOSYS. Some functions are actually named
10771 something starting with __ and the normal name is an alias. */
10772 #if defined __stub_$ac_func || defined __stub___$ac_func
10773 choke me
10774 #endif
10777 main ()
10779 return $ac_func ();
10781 return 0;
10783 _ACEOF
10784 rm -f conftest.$ac_objext conftest$ac_exeext
10785 if { (ac_try="$ac_link"
10786 case "(($ac_try" in
10787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10788 *) ac_try_echo=$ac_try;;
10789 esac
10790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10791 (eval "$ac_link") 2>conftest.er1
10792 ac_status=$?
10793 grep -v '^ *+' conftest.er1 >conftest.err
10794 rm -f conftest.er1
10795 cat conftest.err >&5
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); } && {
10798 test -z "$ac_c_werror_flag" ||
10799 test ! -s conftest.err
10800 } && test -s conftest$ac_exeext &&
10801 $as_test_x conftest$ac_exeext; then
10802 eval "$as_ac_var=yes"
10803 else
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.$ac_ext >&5
10807 eval "$as_ac_var=no"
10810 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10811 conftest$ac_exeext conftest.$ac_ext
10813 ac_res=`eval echo '${'$as_ac_var'}'`
10814 { echo "$as_me:$LINENO: result: $ac_res" >&5
10815 echo "${ECHO_T}$ac_res" >&6; }
10816 if test `eval echo '${'$as_ac_var'}'` = yes; then
10817 cat >>confdefs.h <<_ACEOF
10818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10819 _ACEOF
10822 done
10824 LIBS="$ac_wine_check_funcs_save_LIBS"
10827 FREETYPELIBS=""
10829 FREETYPEINCL=""
10831 # Extract the first word of "freetype-config", so it can be a program name with args.
10832 set dummy freetype-config; ac_word=$2
10833 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10835 if test "${ac_cv_prog_ft_devel+set}" = set; then
10836 echo $ECHO_N "(cached) $ECHO_C" >&6
10837 else
10838 if test -n "$ft_devel"; then
10839 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10840 else
10841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10842 for as_dir in $PATH
10844 IFS=$as_save_IFS
10845 test -z "$as_dir" && as_dir=.
10846 for ac_exec_ext in '' $ac_executable_extensions; do
10847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10848 ac_cv_prog_ft_devel="freetype-config"
10849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10850 break 2
10852 done
10853 done
10854 IFS=$as_save_IFS
10856 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10859 ft_devel=$ac_cv_prog_ft_devel
10860 if test -n "$ft_devel"; then
10861 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10862 echo "${ECHO_T}$ft_devel" >&6; }
10863 else
10864 { echo "$as_me:$LINENO: result: no" >&5
10865 echo "${ECHO_T}no" >&6; }
10869 if test "$ft_devel" = "no"
10870 then
10871 # Extract the first word of "freetype2-config", so it can be a program name with args.
10872 set dummy freetype2-config; ac_word=$2
10873 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10875 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10876 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 else
10878 if test -n "$ft_devel2"; then
10879 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10880 else
10881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10882 for as_dir in $PATH
10884 IFS=$as_save_IFS
10885 test -z "$as_dir" && as_dir=.
10886 for ac_exec_ext in '' $ac_executable_extensions; do
10887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10888 ac_cv_prog_ft_devel2="freetype2-config"
10889 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10890 break 2
10892 done
10893 done
10894 IFS=$as_save_IFS
10896 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10899 ft_devel2=$ac_cv_prog_ft_devel2
10900 if test -n "$ft_devel2"; then
10901 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10902 echo "${ECHO_T}$ft_devel2" >&6; }
10903 else
10904 { echo "$as_me:$LINENO: result: no" >&5
10905 echo "${ECHO_T}no" >&6; }
10909 if test "$ft_devel2" = "freetype2-config"
10910 then
10911 ft_devel=$ft_devel2
10915 if test "$ft_devel" = "no"
10916 then
10917 wine_cv_msg_freetype=yes
10918 else
10919 FREETYPELIBS=`$ft_devel --libs`
10920 FREETYPEINCL=`$ft_devel --cflags`
10921 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10922 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10923 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10924 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 else
10926 ac_check_lib_save_LIBS=$LIBS
10927 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10928 cat >conftest.$ac_ext <<_ACEOF
10929 /* confdefs.h. */
10930 _ACEOF
10931 cat confdefs.h >>conftest.$ac_ext
10932 cat >>conftest.$ac_ext <<_ACEOF
10933 /* end confdefs.h. */
10935 /* Override any GCC internal prototype to avoid an error.
10936 Use char because int might match the return type of a GCC
10937 builtin and then its argument prototype would still apply. */
10938 #ifdef __cplusplus
10939 extern "C"
10940 #endif
10941 char FT_Init_FreeType ();
10943 main ()
10945 return FT_Init_FreeType ();
10947 return 0;
10949 _ACEOF
10950 rm -f conftest.$ac_objext conftest$ac_exeext
10951 if { (ac_try="$ac_link"
10952 case "(($ac_try" in
10953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10954 *) ac_try_echo=$ac_try;;
10955 esac
10956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10957 (eval "$ac_link") 2>conftest.er1
10958 ac_status=$?
10959 grep -v '^ *+' conftest.er1 >conftest.err
10960 rm -f conftest.er1
10961 cat conftest.err >&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); } && {
10964 test -z "$ac_c_werror_flag" ||
10965 test ! -s conftest.err
10966 } && test -s conftest$ac_exeext &&
10967 $as_test_x conftest$ac_exeext; then
10968 ac_cv_lib_freetype_FT_Init_FreeType=yes
10969 else
10970 echo "$as_me: failed program was:" >&5
10971 sed 's/^/| /' conftest.$ac_ext >&5
10973 ac_cv_lib_freetype_FT_Init_FreeType=no
10976 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10977 conftest$ac_exeext conftest.$ac_ext
10978 LIBS=$ac_check_lib_save_LIBS
10980 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10981 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10982 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10983 ft_lib=yes
10984 else
10985 ft_lib=no
10988 if test "$ft_lib" = "no"
10989 then
10990 wine_cv_msg_freetype=yes
10991 FREETYPELIBS=""
10992 FREETYPEINCL=""
10993 else
10994 ac_save_CPPFLAGS="$CPPFLAGS"
10995 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11007 for ac_header in ft2build.h \
11008 freetype/freetype.h \
11009 freetype/ftglyph.h \
11010 freetype/tttables.h \
11011 freetype/ftnames.h \
11012 freetype/ftsnames.h \
11013 freetype/ttnameid.h \
11014 freetype/ftoutln.h \
11015 freetype/ftwinfnt.h \
11016 freetype/ftmodapi.h \
11017 freetype/internal/sfnt.h
11019 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11020 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11022 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11023 echo $ECHO_N "(cached) $ECHO_C" >&6
11024 else
11025 cat >conftest.$ac_ext <<_ACEOF
11026 /* confdefs.h. */
11027 _ACEOF
11028 cat confdefs.h >>conftest.$ac_ext
11029 cat >>conftest.$ac_ext <<_ACEOF
11030 /* end confdefs.h. */
11031 #if HAVE_FT2BUILD_H
11032 #include <ft2build.h>
11033 #endif
11035 #include <$ac_header>
11036 _ACEOF
11037 rm -f conftest.$ac_objext
11038 if { (ac_try="$ac_compile"
11039 case "(($ac_try" in
11040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11041 *) ac_try_echo=$ac_try;;
11042 esac
11043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11044 (eval "$ac_compile") 2>conftest.er1
11045 ac_status=$?
11046 grep -v '^ *+' conftest.er1 >conftest.err
11047 rm -f conftest.er1
11048 cat conftest.err >&5
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); } && {
11051 test -z "$ac_c_werror_flag" ||
11052 test ! -s conftest.err
11053 } && test -s conftest.$ac_objext; then
11054 eval "$as_ac_Header=yes"
11055 else
11056 echo "$as_me: failed program was:" >&5
11057 sed 's/^/| /' conftest.$ac_ext >&5
11059 eval "$as_ac_Header=no"
11062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11064 ac_res=`eval echo '${'$as_ac_Header'}'`
11065 { echo "$as_me:$LINENO: result: $ac_res" >&5
11066 echo "${ECHO_T}$ac_res" >&6; }
11067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11068 cat >>confdefs.h <<_ACEOF
11069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11070 _ACEOF
11074 done
11076 cat >conftest.$ac_ext <<_ACEOF
11077 /* confdefs.h. */
11078 _ACEOF
11079 cat confdefs.h >>conftest.$ac_ext
11080 cat >>conftest.$ac_ext <<_ACEOF
11081 /* end confdefs.h. */
11082 #include <ft2build.h>
11083 #include <freetype/fttrigon.h>
11084 _ACEOF
11085 if { (ac_try="$ac_cpp conftest.$ac_ext"
11086 case "(($ac_try" in
11087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11088 *) ac_try_echo=$ac_try;;
11089 esac
11090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11091 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11092 ac_status=$?
11093 grep -v '^ *+' conftest.er1 >conftest.err
11094 rm -f conftest.er1
11095 cat conftest.err >&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); } >/dev/null && {
11098 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11099 test ! -s conftest.err
11100 }; then
11102 cat >>confdefs.h <<\_ACEOF
11103 #define HAVE_FREETYPE_FTTRIGON_H 1
11104 _ACEOF
11106 wine_cv_fttrigon=yes
11107 else
11108 echo "$as_me: failed program was:" >&5
11109 sed 's/^/| /' conftest.$ac_ext >&5
11111 wine_cv_fttrigon=no
11114 rm -f conftest.err conftest.$ac_ext
11115 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11116 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11117 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11119 else
11120 cat >conftest.$ac_ext <<_ACEOF
11121 /* confdefs.h. */
11122 _ACEOF
11123 cat confdefs.h >>conftest.$ac_ext
11124 cat >>conftest.$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11126 #include <freetype/ftmodapi.h>
11128 typedef FT_TrueTypeEngineType ac__type_new_;
11130 main ()
11132 if ((ac__type_new_ *) 0)
11133 return 0;
11134 if (sizeof (ac__type_new_))
11135 return 0;
11137 return 0;
11139 _ACEOF
11140 rm -f conftest.$ac_objext
11141 if { (ac_try="$ac_compile"
11142 case "(($ac_try" in
11143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11145 esac
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_compile") 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } && {
11154 test -z "$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 } && test -s conftest.$ac_objext; then
11157 ac_cv_type_FT_TrueTypeEngineType=yes
11158 else
11159 echo "$as_me: failed program was:" >&5
11160 sed 's/^/| /' conftest.$ac_ext >&5
11162 ac_cv_type_FT_TrueTypeEngineType=no
11165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11167 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11168 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11169 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11171 cat >>confdefs.h <<_ACEOF
11172 #define HAVE_FT_TRUETYPEENGINETYPE 1
11173 _ACEOF
11178 ac_save_CFLAGS="$CFLAGS"
11179 CFLAGS="$CFLAGS $FREETYPELIBS"
11181 for ac_func in FT_Load_Sfnt_Table
11183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11184 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11186 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11187 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 else
11189 cat >conftest.$ac_ext <<_ACEOF
11190 /* confdefs.h. */
11191 _ACEOF
11192 cat confdefs.h >>conftest.$ac_ext
11193 cat >>conftest.$ac_ext <<_ACEOF
11194 /* end confdefs.h. */
11195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11197 #define $ac_func innocuous_$ac_func
11199 /* System header to define __stub macros and hopefully few prototypes,
11200 which can conflict with char $ac_func (); below.
11201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11202 <limits.h> exists even on freestanding compilers. */
11204 #ifdef __STDC__
11205 # include <limits.h>
11206 #else
11207 # include <assert.h>
11208 #endif
11210 #undef $ac_func
11212 /* Override any GCC internal prototype to avoid an error.
11213 Use char because int might match the return type of a GCC
11214 builtin and then its argument prototype would still apply. */
11215 #ifdef __cplusplus
11216 extern "C"
11217 #endif
11218 char $ac_func ();
11219 /* The GNU C library defines this for functions which it implements
11220 to always fail with ENOSYS. Some functions are actually named
11221 something starting with __ and the normal name is an alias. */
11222 #if defined __stub_$ac_func || defined __stub___$ac_func
11223 choke me
11224 #endif
11227 main ()
11229 return $ac_func ();
11231 return 0;
11233 _ACEOF
11234 rm -f conftest.$ac_objext conftest$ac_exeext
11235 if { (ac_try="$ac_link"
11236 case "(($ac_try" in
11237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11238 *) ac_try_echo=$ac_try;;
11239 esac
11240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11241 (eval "$ac_link") 2>conftest.er1
11242 ac_status=$?
11243 grep -v '^ *+' conftest.er1 >conftest.err
11244 rm -f conftest.er1
11245 cat conftest.err >&5
11246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11247 (exit $ac_status); } && {
11248 test -z "$ac_c_werror_flag" ||
11249 test ! -s conftest.err
11250 } && test -s conftest$ac_exeext &&
11251 $as_test_x conftest$ac_exeext; then
11252 eval "$as_ac_var=yes"
11253 else
11254 echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11257 eval "$as_ac_var=no"
11260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11261 conftest$ac_exeext conftest.$ac_ext
11263 ac_res=`eval echo '${'$as_ac_var'}'`
11264 { echo "$as_me:$LINENO: result: $ac_res" >&5
11265 echo "${ECHO_T}$ac_res" >&6; }
11266 if test `eval echo '${'$as_ac_var'}'` = yes; then
11267 cat >>confdefs.h <<_ACEOF
11268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11269 _ACEOF
11272 done
11274 CFLAGS="$ac_save_CFLAGS"
11275 CPPFLAGS="$ac_save_CPPFLAGS"
11276 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11277 then
11279 cat >>confdefs.h <<\_ACEOF
11280 #define HAVE_FREETYPE 1
11281 _ACEOF
11283 wine_cv_msg_freetype=no
11284 else
11285 FREETYPELIBS=""
11286 FREETYPEINCL=""
11287 wine_cv_msg_freetype=yes
11292 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11293 then
11294 FONTSSUBDIRS="fonts"
11298 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11299 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11300 if test "${ac_cv_c_ppdev+set}" = set; then
11301 echo $ECHO_N "(cached) $ECHO_C" >&6
11302 else
11303 cat >conftest.$ac_ext <<_ACEOF
11304 /* confdefs.h. */
11305 _ACEOF
11306 cat confdefs.h >>conftest.$ac_ext
11307 cat >>conftest.$ac_ext <<_ACEOF
11308 /* end confdefs.h. */
11309 #include <linux/ppdev.h>
11311 main ()
11313 ioctl (1,PPCLAIM,0)
11315 return 0;
11317 _ACEOF
11318 rm -f conftest.$ac_objext
11319 if { (ac_try="$ac_compile"
11320 case "(($ac_try" in
11321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11322 *) ac_try_echo=$ac_try;;
11323 esac
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_compile") 2>conftest.er1
11326 ac_status=$?
11327 grep -v '^ *+' conftest.er1 >conftest.err
11328 rm -f conftest.er1
11329 cat conftest.err >&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } && {
11332 test -z "$ac_c_werror_flag" ||
11333 test ! -s conftest.err
11334 } && test -s conftest.$ac_objext; then
11335 ac_cv_c_ppdev="yes"
11336 else
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.$ac_ext >&5
11340 ac_cv_c_ppdev="no"
11343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11346 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11347 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11348 if test "$ac_cv_c_ppdev" = "yes"
11349 then
11351 cat >>confdefs.h <<\_ACEOF
11352 #define HAVE_PPDEV 1
11353 _ACEOF
11357 { echo "$as_me:$LINENO: checking for va_copy" >&5
11358 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11359 if test "${ac_cv_c_va_copy+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11361 else
11362 cat >conftest.$ac_ext <<_ACEOF
11363 /* confdefs.h. */
11364 _ACEOF
11365 cat confdefs.h >>conftest.$ac_ext
11366 cat >>conftest.$ac_ext <<_ACEOF
11367 /* end confdefs.h. */
11368 #include <stdarg.h>
11370 main ()
11372 va_list ap1, ap2;
11373 va_copy(ap1,ap2);
11376 return 0;
11378 _ACEOF
11379 rm -f conftest.$ac_objext conftest$ac_exeext
11380 if { (ac_try="$ac_link"
11381 case "(($ac_try" in
11382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11383 *) ac_try_echo=$ac_try;;
11384 esac
11385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11386 (eval "$ac_link") 2>conftest.er1
11387 ac_status=$?
11388 grep -v '^ *+' conftest.er1 >conftest.err
11389 rm -f conftest.er1
11390 cat conftest.err >&5
11391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11392 (exit $ac_status); } && {
11393 test -z "$ac_c_werror_flag" ||
11394 test ! -s conftest.err
11395 } && test -s conftest$ac_exeext &&
11396 $as_test_x conftest$ac_exeext; then
11397 ac_cv_c_va_copy="yes"
11398 else
11399 echo "$as_me: failed program was:" >&5
11400 sed 's/^/| /' conftest.$ac_ext >&5
11402 ac_cv_c_va_copy="no"
11405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11406 conftest$ac_exeext conftest.$ac_ext
11409 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11410 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11411 if test "$ac_cv_c_va_copy" = "yes"
11412 then
11414 cat >>confdefs.h <<\_ACEOF
11415 #define HAVE_VA_COPY 1
11416 _ACEOF
11419 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11420 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11421 if test "${ac_cv_c___va_copy+set}" = set; then
11422 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 else
11424 cat >conftest.$ac_ext <<_ACEOF
11425 /* confdefs.h. */
11426 _ACEOF
11427 cat confdefs.h >>conftest.$ac_ext
11428 cat >>conftest.$ac_ext <<_ACEOF
11429 /* end confdefs.h. */
11430 #include <stdarg.h>
11432 main ()
11434 va_list ap1, ap2;
11435 __va_copy(ap1,ap2);
11438 return 0;
11440 _ACEOF
11441 rm -f conftest.$ac_objext conftest$ac_exeext
11442 if { (ac_try="$ac_link"
11443 case "(($ac_try" in
11444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11445 *) ac_try_echo=$ac_try;;
11446 esac
11447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11448 (eval "$ac_link") 2>conftest.er1
11449 ac_status=$?
11450 grep -v '^ *+' conftest.er1 >conftest.err
11451 rm -f conftest.er1
11452 cat conftest.err >&5
11453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11454 (exit $ac_status); } && {
11455 test -z "$ac_c_werror_flag" ||
11456 test ! -s conftest.err
11457 } && test -s conftest$ac_exeext &&
11458 $as_test_x conftest$ac_exeext; then
11459 ac_cv_c___va_copy="yes"
11460 else
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11464 ac_cv_c___va_copy="no"
11467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11468 conftest$ac_exeext conftest.$ac_ext
11471 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11472 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11473 if test "$ac_cv_c___va_copy" = "yes"
11474 then
11476 cat >>confdefs.h <<\_ACEOF
11477 #define HAVE___VA_COPY 1
11478 _ACEOF
11482 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11483 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11484 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11485 echo $ECHO_N "(cached) $ECHO_C" >&6
11486 else
11487 cat >conftest.$ac_ext <<_ACEOF
11488 /* confdefs.h. */
11489 _ACEOF
11490 cat confdefs.h >>conftest.$ac_ext
11491 cat >>conftest.$ac_ext <<_ACEOF
11492 /* end confdefs.h. */
11493 #include <setjmp.h>
11495 main ()
11497 sigjmp_buf buf;
11498 sigsetjmp( buf, 1 );
11499 siglongjmp( buf, 1 );
11501 return 0;
11503 _ACEOF
11504 rm -f conftest.$ac_objext conftest$ac_exeext
11505 if { (ac_try="$ac_link"
11506 case "(($ac_try" in
11507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11508 *) ac_try_echo=$ac_try;;
11509 esac
11510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11511 (eval "$ac_link") 2>conftest.er1
11512 ac_status=$?
11513 grep -v '^ *+' conftest.er1 >conftest.err
11514 rm -f conftest.er1
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } && {
11518 test -z "$ac_c_werror_flag" ||
11519 test ! -s conftest.err
11520 } && test -s conftest$ac_exeext &&
11521 $as_test_x conftest$ac_exeext; then
11522 ac_cv_c_sigsetjmp="yes"
11523 else
11524 echo "$as_me: failed program was:" >&5
11525 sed 's/^/| /' conftest.$ac_ext >&5
11527 ac_cv_c_sigsetjmp="no"
11530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11531 conftest$ac_exeext conftest.$ac_ext
11534 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11535 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11536 if test "$ac_cv_c_sigsetjmp" = "yes"
11537 then
11539 cat >>confdefs.h <<\_ACEOF
11540 #define HAVE_SIGSETJMP 1
11541 _ACEOF
11545 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11546 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11547 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11548 echo $ECHO_N "(cached) $ECHO_C" >&6
11549 else
11550 cat >conftest.$ac_ext <<_ACEOF
11551 /* confdefs.h. */
11552 _ACEOF
11553 cat confdefs.h >>conftest.$ac_ext
11554 cat >>conftest.$ac_ext <<_ACEOF
11555 /* end confdefs.h. */
11556 #define _GNU_SOURCE
11557 #include <pthread.h>
11559 typedef pthread_rwlock_t ac__type_new_;
11561 main ()
11563 if ((ac__type_new_ *) 0)
11564 return 0;
11565 if (sizeof (ac__type_new_))
11566 return 0;
11568 return 0;
11570 _ACEOF
11571 rm -f conftest.$ac_objext
11572 if { (ac_try="$ac_compile"
11573 case "(($ac_try" in
11574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11575 *) ac_try_echo=$ac_try;;
11576 esac
11577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11578 (eval "$ac_compile") 2>conftest.er1
11579 ac_status=$?
11580 grep -v '^ *+' conftest.er1 >conftest.err
11581 rm -f conftest.er1
11582 cat conftest.err >&5
11583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11584 (exit $ac_status); } && {
11585 test -z "$ac_c_werror_flag" ||
11586 test ! -s conftest.err
11587 } && test -s conftest.$ac_objext; then
11588 ac_cv_type_pthread_rwlock_t=yes
11589 else
11590 echo "$as_me: failed program was:" >&5
11591 sed 's/^/| /' conftest.$ac_ext >&5
11593 ac_cv_type_pthread_rwlock_t=no
11596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11598 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11599 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11600 if test $ac_cv_type_pthread_rwlock_t = yes; then
11602 cat >>confdefs.h <<_ACEOF
11603 #define HAVE_PTHREAD_RWLOCK_T 1
11604 _ACEOF
11608 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11609 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11610 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11611 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 else
11613 cat >conftest.$ac_ext <<_ACEOF
11614 /* confdefs.h. */
11615 _ACEOF
11616 cat confdefs.h >>conftest.$ac_ext
11617 cat >>conftest.$ac_ext <<_ACEOF
11618 /* end confdefs.h. */
11619 #define _GNU_SOURCE
11620 #include <pthread.h>
11622 typedef pthread_rwlockattr_t ac__type_new_;
11624 main ()
11626 if ((ac__type_new_ *) 0)
11627 return 0;
11628 if (sizeof (ac__type_new_))
11629 return 0;
11631 return 0;
11633 _ACEOF
11634 rm -f conftest.$ac_objext
11635 if { (ac_try="$ac_compile"
11636 case "(($ac_try" in
11637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11638 *) ac_try_echo=$ac_try;;
11639 esac
11640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11641 (eval "$ac_compile") 2>conftest.er1
11642 ac_status=$?
11643 grep -v '^ *+' conftest.er1 >conftest.err
11644 rm -f conftest.er1
11645 cat conftest.err >&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } && {
11648 test -z "$ac_c_werror_flag" ||
11649 test ! -s conftest.err
11650 } && test -s conftest.$ac_objext; then
11651 ac_cv_type_pthread_rwlockattr_t=yes
11652 else
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11656 ac_cv_type_pthread_rwlockattr_t=no
11659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11661 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11662 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11663 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11665 cat >>confdefs.h <<_ACEOF
11666 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11667 _ACEOF
11673 ac_wine_check_funcs_save_LIBS="$LIBS"
11674 LIBS="$LIBS $LIBPTHREAD"
11679 for ac_func in \
11680 pthread_attr_get_np \
11681 pthread_getattr_np \
11682 pthread_get_stackaddr_np \
11683 pthread_get_stacksize_np
11685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11686 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11688 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11689 echo $ECHO_N "(cached) $ECHO_C" >&6
11690 else
11691 cat >conftest.$ac_ext <<_ACEOF
11692 /* confdefs.h. */
11693 _ACEOF
11694 cat confdefs.h >>conftest.$ac_ext
11695 cat >>conftest.$ac_ext <<_ACEOF
11696 /* end confdefs.h. */
11697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11699 #define $ac_func innocuous_$ac_func
11701 /* System header to define __stub macros and hopefully few prototypes,
11702 which can conflict with char $ac_func (); below.
11703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11704 <limits.h> exists even on freestanding compilers. */
11706 #ifdef __STDC__
11707 # include <limits.h>
11708 #else
11709 # include <assert.h>
11710 #endif
11712 #undef $ac_func
11714 /* Override any GCC internal prototype to avoid an error.
11715 Use char because int might match the return type of a GCC
11716 builtin and then its argument prototype would still apply. */
11717 #ifdef __cplusplus
11718 extern "C"
11719 #endif
11720 char $ac_func ();
11721 /* The GNU C library defines this for functions which it implements
11722 to always fail with ENOSYS. Some functions are actually named
11723 something starting with __ and the normal name is an alias. */
11724 #if defined __stub_$ac_func || defined __stub___$ac_func
11725 choke me
11726 #endif
11729 main ()
11731 return $ac_func ();
11733 return 0;
11735 _ACEOF
11736 rm -f conftest.$ac_objext conftest$ac_exeext
11737 if { (ac_try="$ac_link"
11738 case "(($ac_try" in
11739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11740 *) ac_try_echo=$ac_try;;
11741 esac
11742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11743 (eval "$ac_link") 2>conftest.er1
11744 ac_status=$?
11745 grep -v '^ *+' conftest.er1 >conftest.err
11746 rm -f conftest.er1
11747 cat conftest.err >&5
11748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11749 (exit $ac_status); } && {
11750 test -z "$ac_c_werror_flag" ||
11751 test ! -s conftest.err
11752 } && test -s conftest$ac_exeext &&
11753 $as_test_x conftest$ac_exeext; then
11754 eval "$as_ac_var=yes"
11755 else
11756 echo "$as_me: failed program was:" >&5
11757 sed 's/^/| /' conftest.$ac_ext >&5
11759 eval "$as_ac_var=no"
11762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11763 conftest$ac_exeext conftest.$ac_ext
11765 ac_res=`eval echo '${'$as_ac_var'}'`
11766 { echo "$as_me:$LINENO: result: $ac_res" >&5
11767 echo "${ECHO_T}$ac_res" >&6; }
11768 if test `eval echo '${'$as_ac_var'}'` = yes; then
11769 cat >>confdefs.h <<_ACEOF
11770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11771 _ACEOF
11774 done
11776 LIBS="$ac_wine_check_funcs_save_LIBS"
11778 # Extract the first word of "artsc-config", so it can be a program name with args.
11779 set dummy artsc-config; ac_word=$2
11780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11782 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11783 echo $ECHO_N "(cached) $ECHO_C" >&6
11784 else
11785 case $ARTSCCONFIG in
11786 [\\/]* | ?:[\\/]*)
11787 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11791 for as_dir in $PATH
11793 IFS=$as_save_IFS
11794 test -z "$as_dir" && as_dir=.
11795 for ac_exec_ext in '' $ac_executable_extensions; do
11796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11797 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11799 break 2
11801 done
11802 done
11803 IFS=$as_save_IFS
11806 esac
11808 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11809 if test -n "$ARTSCCONFIG"; then
11810 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11811 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
11812 else
11813 { echo "$as_me:$LINENO: result: no" >&5
11814 echo "${ECHO_T}no" >&6; }
11818 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11819 then
11820 ARTSC_CFLAGS=""
11821 for i in `$ARTSCCONFIG --cflags`
11823 case "$i" in
11824 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11825 esac
11826 done
11827 ARTSC_LIBS=""
11828 for i in `$ARTSCCONFIG --libs`
11830 case "$i" in
11831 -L/usr/lib|-L/usr/lib64) ;;
11832 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11833 esac
11834 done
11835 save_CFLAGS="$CFLAGS"
11836 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11837 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11838 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
11839 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 else
11842 ac_check_lib_save_LIBS=$LIBS
11843 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11844 cat >conftest.$ac_ext <<_ACEOF
11845 /* confdefs.h. */
11846 _ACEOF
11847 cat confdefs.h >>conftest.$ac_ext
11848 cat >>conftest.$ac_ext <<_ACEOF
11849 /* end confdefs.h. */
11851 /* Override any GCC internal prototype to avoid an error.
11852 Use char because int might match the return type of a GCC
11853 builtin and then its argument prototype would still apply. */
11854 #ifdef __cplusplus
11855 extern "C"
11856 #endif
11857 char arts_init ();
11859 main ()
11861 return arts_init ();
11863 return 0;
11865 _ACEOF
11866 rm -f conftest.$ac_objext conftest$ac_exeext
11867 if { (ac_try="$ac_link"
11868 case "(($ac_try" in
11869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11870 *) ac_try_echo=$ac_try;;
11871 esac
11872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11873 (eval "$ac_link") 2>conftest.er1
11874 ac_status=$?
11875 grep -v '^ *+' conftest.er1 >conftest.err
11876 rm -f conftest.er1
11877 cat conftest.err >&5
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); } && {
11880 test -z "$ac_c_werror_flag" ||
11881 test ! -s conftest.err
11882 } && test -s conftest$ac_exeext &&
11883 $as_test_x conftest$ac_exeext; then
11884 ac_cv_lib_artsc_arts_init=yes
11885 else
11886 echo "$as_me: failed program was:" >&5
11887 sed 's/^/| /' conftest.$ac_ext >&5
11889 ac_cv_lib_artsc_arts_init=no
11892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11893 conftest$ac_exeext conftest.$ac_ext
11894 LIBS=$ac_check_lib_save_LIBS
11896 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11897 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
11898 if test $ac_cv_lib_artsc_arts_init = yes; then
11899 cat >conftest.$ac_ext <<_ACEOF
11900 /* confdefs.h. */
11901 _ACEOF
11902 cat confdefs.h >>conftest.$ac_ext
11903 cat >>conftest.$ac_ext <<_ACEOF
11904 /* end confdefs.h. */
11905 #include <artsc.h>
11907 main ()
11909 arts_stream_t stream;
11911 return 0;
11913 _ACEOF
11914 rm -f conftest.$ac_objext
11915 if { (ac_try="$ac_compile"
11916 case "(($ac_try" in
11917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11918 *) ac_try_echo=$ac_try;;
11919 esac
11920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11921 (eval "$ac_compile") 2>conftest.er1
11922 ac_status=$?
11923 grep -v '^ *+' conftest.er1 >conftest.err
11924 rm -f conftest.er1
11925 cat conftest.err >&5
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); } && {
11928 test -z "$ac_c_werror_flag" ||
11929 test ! -s conftest.err
11930 } && test -s conftest.$ac_objext; then
11931 ARTSLIBS=$ARTSC_LIBS
11933 ARTSINCL=$ARTSC_CFLAGS
11936 cat >>confdefs.h <<\_ACEOF
11937 #define HAVE_ARTS 1
11938 _ACEOF
11940 else
11941 echo "$as_me: failed program was:" >&5
11942 sed 's/^/| /' conftest.$ac_ext >&5
11947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11950 CFLAGS="$save_CFLAGS"
11953 # Extract the first word of "esd-config", so it can be a program name with args.
11954 set dummy esd-config; ac_word=$2
11955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11957 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11958 echo $ECHO_N "(cached) $ECHO_C" >&6
11959 else
11960 case $ESDCONFIG in
11961 [\\/]* | ?:[\\/]*)
11962 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11966 for as_dir in $PATH
11968 IFS=$as_save_IFS
11969 test -z "$as_dir" && as_dir=.
11970 for ac_exec_ext in '' $ac_executable_extensions; do
11971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11972 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11974 break 2
11976 done
11977 done
11978 IFS=$as_save_IFS
11981 esac
11983 ESDCONFIG=$ac_cv_path_ESDCONFIG
11984 if test -n "$ESDCONFIG"; then
11985 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11986 echo "${ECHO_T}$ESDCONFIG" >&6; }
11987 else
11988 { echo "$as_me:$LINENO: result: no" >&5
11989 echo "${ECHO_T}no" >&6; }
11993 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11994 then
11995 ESD_CFLAGS=""
11996 for i in `$ESDCONFIG --cflags`
11998 case "$i" in
11999 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12000 esac
12001 done
12002 ESD_LIBS=`$ESDCONFIG --libs`
12003 save_CFLAGS="$CFLAGS"
12004 CFLAGS="$CFLAGS $ESD_CFLAGS"
12005 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12006 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12007 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12008 echo $ECHO_N "(cached) $ECHO_C" >&6
12009 else
12010 ac_check_lib_save_LIBS=$LIBS
12011 LIBS="-lesd $LIBS"
12012 cat >conftest.$ac_ext <<_ACEOF
12013 /* confdefs.h. */
12014 _ACEOF
12015 cat confdefs.h >>conftest.$ac_ext
12016 cat >>conftest.$ac_ext <<_ACEOF
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12022 #ifdef __cplusplus
12023 extern "C"
12024 #endif
12025 char esd_open_sound ();
12027 main ()
12029 return esd_open_sound ();
12031 return 0;
12033 _ACEOF
12034 rm -f conftest.$ac_objext conftest$ac_exeext
12035 if { (ac_try="$ac_link"
12036 case "(($ac_try" in
12037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12038 *) ac_try_echo=$ac_try;;
12039 esac
12040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12041 (eval "$ac_link") 2>conftest.er1
12042 ac_status=$?
12043 grep -v '^ *+' conftest.er1 >conftest.err
12044 rm -f conftest.er1
12045 cat conftest.err >&5
12046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12047 (exit $ac_status); } && {
12048 test -z "$ac_c_werror_flag" ||
12049 test ! -s conftest.err
12050 } && test -s conftest$ac_exeext &&
12051 $as_test_x conftest$ac_exeext; then
12052 ac_cv_lib_esd_esd_open_sound=yes
12053 else
12054 echo "$as_me: failed program was:" >&5
12055 sed 's/^/| /' conftest.$ac_ext >&5
12057 ac_cv_lib_esd_esd_open_sound=no
12060 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12061 conftest$ac_exeext conftest.$ac_ext
12062 LIBS=$ac_check_lib_save_LIBS
12064 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12065 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12066 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12067 ESDLIBS=$ESD_LIBS
12069 ESDINCL=$ESD_CFLAGS
12072 cat >>confdefs.h <<\_ACEOF
12073 #define HAVE_ESD 1
12074 _ACEOF
12078 CFLAGS="$save_CFLAGS"
12081 ALSALIBS=""
12083 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12084 then
12085 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12086 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12087 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12088 echo $ECHO_N "(cached) $ECHO_C" >&6
12089 else
12090 ac_check_lib_save_LIBS=$LIBS
12091 LIBS="-lasound $LIBS"
12092 cat >conftest.$ac_ext <<_ACEOF
12093 /* confdefs.h. */
12094 _ACEOF
12095 cat confdefs.h >>conftest.$ac_ext
12096 cat >>conftest.$ac_ext <<_ACEOF
12097 /* end confdefs.h. */
12099 /* Override any GCC internal prototype to avoid an error.
12100 Use char because int might match the return type of a GCC
12101 builtin and then its argument prototype would still apply. */
12102 #ifdef __cplusplus
12103 extern "C"
12104 #endif
12105 char snd_pcm_hw_params_get_access ();
12107 main ()
12109 return snd_pcm_hw_params_get_access ();
12111 return 0;
12113 _ACEOF
12114 rm -f conftest.$ac_objext conftest$ac_exeext
12115 if { (ac_try="$ac_link"
12116 case "(($ac_try" in
12117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12118 *) ac_try_echo=$ac_try;;
12119 esac
12120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12121 (eval "$ac_link") 2>conftest.er1
12122 ac_status=$?
12123 grep -v '^ *+' conftest.er1 >conftest.err
12124 rm -f conftest.er1
12125 cat conftest.err >&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } && {
12128 test -z "$ac_c_werror_flag" ||
12129 test ! -s conftest.err
12130 } && test -s conftest$ac_exeext &&
12131 $as_test_x conftest$ac_exeext; then
12132 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12133 else
12134 echo "$as_me: failed program was:" >&5
12135 sed 's/^/| /' conftest.$ac_ext >&5
12137 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12141 conftest$ac_exeext conftest.$ac_ext
12142 LIBS=$ac_check_lib_save_LIBS
12144 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12145 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12146 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12147 cat >conftest.$ac_ext <<_ACEOF
12148 /* confdefs.h. */
12149 _ACEOF
12150 cat confdefs.h >>conftest.$ac_ext
12151 cat >>conftest.$ac_ext <<_ACEOF
12152 /* end confdefs.h. */
12153 #ifdef HAVE_ALSA_ASOUNDLIB_H
12154 #include <alsa/asoundlib.h>
12155 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12156 #include <sys/asoundlib.h>
12157 #endif
12159 main ()
12161 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12163 return 0;
12165 _ACEOF
12166 rm -f conftest.$ac_objext
12167 if { (ac_try="$ac_compile"
12168 case "(($ac_try" in
12169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12170 *) ac_try_echo=$ac_try;;
12171 esac
12172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12173 (eval "$ac_compile") 2>conftest.er1
12174 ac_status=$?
12175 grep -v '^ *+' conftest.er1 >conftest.err
12176 rm -f conftest.er1
12177 cat conftest.err >&5
12178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12179 (exit $ac_status); } && {
12180 test -z "$ac_c_werror_flag" ||
12181 test ! -s conftest.err
12182 } && test -s conftest.$ac_objext; then
12184 cat >>confdefs.h <<\_ACEOF
12185 #define HAVE_ALSA 1
12186 _ACEOF
12188 ALSALIBS="-lasound"
12189 else
12190 echo "$as_me: failed program was:" >&5
12191 sed 's/^/| /' conftest.$ac_ext >&5
12196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12202 AUDIOIOLIBS=""
12204 if test "$ac_cv_header_libaudioio_h" = "yes"
12205 then
12206 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12207 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12208 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 else
12211 ac_check_lib_save_LIBS=$LIBS
12212 LIBS="-laudioio $LIBS"
12213 cat >conftest.$ac_ext <<_ACEOF
12214 /* confdefs.h. */
12215 _ACEOF
12216 cat confdefs.h >>conftest.$ac_ext
12217 cat >>conftest.$ac_ext <<_ACEOF
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char AudioIOGetVersion ();
12228 main ()
12230 return AudioIOGetVersion ();
12232 return 0;
12234 _ACEOF
12235 rm -f conftest.$ac_objext conftest$ac_exeext
12236 if { (ac_try="$ac_link"
12237 case "(($ac_try" in
12238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12239 *) ac_try_echo=$ac_try;;
12240 esac
12241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12242 (eval "$ac_link") 2>conftest.er1
12243 ac_status=$?
12244 grep -v '^ *+' conftest.er1 >conftest.err
12245 rm -f conftest.er1
12246 cat conftest.err >&5
12247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12248 (exit $ac_status); } && {
12249 test -z "$ac_c_werror_flag" ||
12250 test ! -s conftest.err
12251 } && test -s conftest$ac_exeext &&
12252 $as_test_x conftest$ac_exeext; then
12253 ac_cv_lib_audioio_AudioIOGetVersion=yes
12254 else
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.$ac_ext >&5
12258 ac_cv_lib_audioio_AudioIOGetVersion=no
12261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_lib_save_LIBS
12265 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12266 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12267 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12268 AUDIOIOLIBS="-laudioio"
12270 cat >>confdefs.h <<\_ACEOF
12271 #define HAVE_LIBAUDIOIO 1
12272 _ACEOF
12279 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12280 then
12281 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12282 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12283 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12284 echo $ECHO_N "(cached) $ECHO_C" >&6
12285 else
12286 ac_check_lib_save_LIBS=$LIBS
12287 LIBS="-lcapi20 $LIBS"
12288 cat >conftest.$ac_ext <<_ACEOF
12289 /* confdefs.h. */
12290 _ACEOF
12291 cat confdefs.h >>conftest.$ac_ext
12292 cat >>conftest.$ac_ext <<_ACEOF
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12298 #ifdef __cplusplus
12299 extern "C"
12300 #endif
12301 char capi20_register ();
12303 main ()
12305 return capi20_register ();
12307 return 0;
12309 _ACEOF
12310 rm -f conftest.$ac_objext conftest$ac_exeext
12311 if { (ac_try="$ac_link"
12312 case "(($ac_try" in
12313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12314 *) ac_try_echo=$ac_try;;
12315 esac
12316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12317 (eval "$ac_link") 2>conftest.er1
12318 ac_status=$?
12319 grep -v '^ *+' conftest.er1 >conftest.err
12320 rm -f conftest.er1
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } && {
12324 test -z "$ac_c_werror_flag" ||
12325 test ! -s conftest.err
12326 } && test -s conftest$ac_exeext &&
12327 $as_test_x conftest$ac_exeext; then
12328 ac_cv_lib_capi20_capi20_register=yes
12329 else
12330 echo "$as_me: failed program was:" >&5
12331 sed 's/^/| /' conftest.$ac_ext >&5
12333 ac_cv_lib_capi20_capi20_register=no
12336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12337 conftest$ac_exeext conftest.$ac_ext
12338 LIBS=$ac_check_lib_save_LIBS
12340 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12341 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12342 if test $ac_cv_lib_capi20_capi20_register = yes; then
12344 cat >>confdefs.h <<\_ACEOF
12345 #define HAVE_CAPI4LINUX 1
12346 _ACEOF
12353 EXTRACFLAGS=""
12355 if test "x${GCC}" = "xyes"
12356 then
12357 EXTRACFLAGS="-Wall -pipe"
12359 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12360 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12361 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12362 echo $ECHO_N "(cached) $ECHO_C" >&6
12363 else
12364 if test "$cross_compiling" = yes; then
12365 ac_cv_c_gcc_strength_bug="yes"
12366 else
12367 cat >conftest.$ac_ext <<_ACEOF
12368 /* confdefs.h. */
12369 _ACEOF
12370 cat confdefs.h >>conftest.$ac_ext
12371 cat >>conftest.$ac_ext <<_ACEOF
12372 /* end confdefs.h. */
12374 int L[4] = {0,1,2,3};
12375 int main(void) {
12376 static int Array[3];
12377 unsigned int B = 3;
12378 int i;
12379 for(i=0; i<B; i++) Array[i] = i - 3;
12380 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12381 L[i] = 4;
12383 exit( Array[1] != -2 || L[2] != 3);
12385 _ACEOF
12386 rm -f conftest$ac_exeext
12387 if { (ac_try="$ac_link"
12388 case "(($ac_try" in
12389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12390 *) ac_try_echo=$ac_try;;
12391 esac
12392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12393 (eval "$ac_link") 2>&5
12394 ac_status=$?
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12397 { (case "(($ac_try" in
12398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12399 *) ac_try_echo=$ac_try;;
12400 esac
12401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12402 (eval "$ac_try") 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 ac_cv_c_gcc_strength_bug="no"
12407 else
12408 echo "$as_me: program exited with status $ac_status" >&5
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.$ac_ext >&5
12412 ( exit $ac_status )
12413 ac_cv_c_gcc_strength_bug="yes"
12415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12420 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12421 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12422 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12423 then
12424 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12428 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12429 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12430 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12431 echo $ECHO_N "(cached) $ECHO_C" >&6
12432 else
12433 ac_wine_try_cflags_saved=$CFLAGS
12434 CFLAGS="$CFLAGS -fshort-wchar"
12435 cat >conftest.$ac_ext <<_ACEOF
12436 /* confdefs.h. */
12437 _ACEOF
12438 cat confdefs.h >>conftest.$ac_ext
12439 cat >>conftest.$ac_ext <<_ACEOF
12440 /* end confdefs.h. */
12443 main ()
12447 return 0;
12449 _ACEOF
12450 rm -f conftest.$ac_objext conftest$ac_exeext
12451 if { (ac_try="$ac_link"
12452 case "(($ac_try" in
12453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12454 *) ac_try_echo=$ac_try;;
12455 esac
12456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12457 (eval "$ac_link") 2>conftest.er1
12458 ac_status=$?
12459 grep -v '^ *+' conftest.er1 >conftest.err
12460 rm -f conftest.er1
12461 cat conftest.err >&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); } && {
12464 test -z "$ac_c_werror_flag" ||
12465 test ! -s conftest.err
12466 } && test -s conftest$ac_exeext &&
12467 $as_test_x conftest$ac_exeext; then
12468 ac_cv_cflags__fshort_wchar=yes
12469 else
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 ac_cv_cflags__fshort_wchar=no
12476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12477 conftest$ac_exeext conftest.$ac_ext
12478 CFLAGS=$ac_wine_try_cflags_saved
12480 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12481 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12482 if test $ac_cv_cflags__fshort_wchar = yes; then
12484 cat >>confdefs.h <<\_ACEOF
12485 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12486 _ACEOF
12490 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12491 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12492 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12493 echo $ECHO_N "(cached) $ECHO_C" >&6
12494 else
12495 ac_wine_try_cflags_saved=$CFLAGS
12496 CFLAGS="$CFLAGS -fno-strict-aliasing"
12497 cat >conftest.$ac_ext <<_ACEOF
12498 /* confdefs.h. */
12499 _ACEOF
12500 cat confdefs.h >>conftest.$ac_ext
12501 cat >>conftest.$ac_ext <<_ACEOF
12502 /* end confdefs.h. */
12505 main ()
12509 return 0;
12511 _ACEOF
12512 rm -f conftest.$ac_objext conftest$ac_exeext
12513 if { (ac_try="$ac_link"
12514 case "(($ac_try" in
12515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12516 *) ac_try_echo=$ac_try;;
12517 esac
12518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12519 (eval "$ac_link") 2>conftest.er1
12520 ac_status=$?
12521 grep -v '^ *+' conftest.er1 >conftest.err
12522 rm -f conftest.er1
12523 cat conftest.err >&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } && {
12526 test -z "$ac_c_werror_flag" ||
12527 test ! -s conftest.err
12528 } && test -s conftest$ac_exeext &&
12529 $as_test_x conftest$ac_exeext; then
12530 ac_cv_cflags__fno_strict_aliasing=yes
12531 else
12532 echo "$as_me: failed program was:" >&5
12533 sed 's/^/| /' conftest.$ac_ext >&5
12535 ac_cv_cflags__fno_strict_aliasing=no
12538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12539 conftest$ac_exeext conftest.$ac_ext
12540 CFLAGS=$ac_wine_try_cflags_saved
12542 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12543 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12544 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12545 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12548 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12549 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12550 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12551 echo $ECHO_N "(cached) $ECHO_C" >&6
12552 else
12553 ac_wine_try_cflags_saved=$CFLAGS
12554 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12555 cat >conftest.$ac_ext <<_ACEOF
12556 /* confdefs.h. */
12557 _ACEOF
12558 cat confdefs.h >>conftest.$ac_ext
12559 cat >>conftest.$ac_ext <<_ACEOF
12560 /* end confdefs.h. */
12563 main ()
12567 return 0;
12569 _ACEOF
12570 rm -f conftest.$ac_objext conftest$ac_exeext
12571 if { (ac_try="$ac_link"
12572 case "(($ac_try" in
12573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12574 *) ac_try_echo=$ac_try;;
12575 esac
12576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12577 (eval "$ac_link") 2>conftest.er1
12578 ac_status=$?
12579 grep -v '^ *+' conftest.er1 >conftest.err
12580 rm -f conftest.er1
12581 cat conftest.err >&5
12582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12583 (exit $ac_status); } && {
12584 test -z "$ac_c_werror_flag" ||
12585 test ! -s conftest.err
12586 } && test -s conftest$ac_exeext &&
12587 $as_test_x conftest$ac_exeext; then
12588 ac_cv_cflags__Wdeclaration_after_statement=yes
12589 else
12590 echo "$as_me: failed program was:" >&5
12591 sed 's/^/| /' conftest.$ac_ext >&5
12593 ac_cv_cflags__Wdeclaration_after_statement=no
12596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12597 conftest$ac_exeext conftest.$ac_ext
12598 CFLAGS=$ac_wine_try_cflags_saved
12600 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12601 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12602 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12603 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12606 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12607 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12608 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12609 echo $ECHO_N "(cached) $ECHO_C" >&6
12610 else
12611 ac_wine_try_cflags_saved=$CFLAGS
12612 CFLAGS="$CFLAGS -Wwrite-strings"
12613 cat >conftest.$ac_ext <<_ACEOF
12614 /* confdefs.h. */
12615 _ACEOF
12616 cat confdefs.h >>conftest.$ac_ext
12617 cat >>conftest.$ac_ext <<_ACEOF
12618 /* end confdefs.h. */
12621 main ()
12625 return 0;
12627 _ACEOF
12628 rm -f conftest.$ac_objext conftest$ac_exeext
12629 if { (ac_try="$ac_link"
12630 case "(($ac_try" in
12631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12632 *) ac_try_echo=$ac_try;;
12633 esac
12634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12635 (eval "$ac_link") 2>conftest.er1
12636 ac_status=$?
12637 grep -v '^ *+' conftest.er1 >conftest.err
12638 rm -f conftest.er1
12639 cat conftest.err >&5
12640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12641 (exit $ac_status); } && {
12642 test -z "$ac_c_werror_flag" ||
12643 test ! -s conftest.err
12644 } && test -s conftest$ac_exeext &&
12645 $as_test_x conftest$ac_exeext; then
12646 ac_cv_cflags__Wwrite_strings=yes
12647 else
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.$ac_ext >&5
12651 ac_cv_cflags__Wwrite_strings=no
12654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12655 conftest$ac_exeext conftest.$ac_ext
12656 CFLAGS=$ac_wine_try_cflags_saved
12658 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12659 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12660 if test $ac_cv_cflags__Wwrite_strings = yes; then
12661 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12665 saved_CFLAGS="$CFLAGS"
12666 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12667 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12668 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12669 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 else
12672 cat >conftest.$ac_ext <<_ACEOF
12673 /* confdefs.h. */
12674 _ACEOF
12675 cat confdefs.h >>conftest.$ac_ext
12676 cat >>conftest.$ac_ext <<_ACEOF
12677 /* end confdefs.h. */
12678 #include <string.h>
12680 main ()
12684 return 0;
12686 _ACEOF
12687 rm -f conftest.$ac_objext
12688 if { (ac_try="$ac_compile"
12689 case "(($ac_try" in
12690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12691 *) ac_try_echo=$ac_try;;
12692 esac
12693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12694 (eval "$ac_compile") 2>conftest.er1
12695 ac_status=$?
12696 grep -v '^ *+' conftest.er1 >conftest.err
12697 rm -f conftest.er1
12698 cat conftest.err >&5
12699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12700 (exit $ac_status); } && {
12701 test -z "$ac_c_werror_flag" ||
12702 test ! -s conftest.err
12703 } && test -s conftest.$ac_objext; then
12704 ac_cv_c_string_h_warnings=no
12705 else
12706 echo "$as_me: failed program was:" >&5
12707 sed 's/^/| /' conftest.$ac_ext >&5
12709 ac_cv_c_string_h_warnings=yes
12712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12714 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12715 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12716 CFLAGS="$saved_CFLAGS"
12717 if test "$ac_cv_c_string_h_warnings" = "no"
12718 then
12719 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12722 BUILTINFLAG=""
12724 saved_CFLAGS="$CFLAGS"
12725 CFLAGS="$CFLAGS -Werror"
12726 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12727 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12728 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12729 echo $ECHO_N "(cached) $ECHO_C" >&6
12730 else
12731 cat >conftest.$ac_ext <<_ACEOF
12732 /* confdefs.h. */
12733 _ACEOF
12734 cat confdefs.h >>conftest.$ac_ext
12735 cat >>conftest.$ac_ext <<_ACEOF
12736 /* end confdefs.h. */
12739 main ()
12741 int iswlower(unsigned short);
12743 return 0;
12745 _ACEOF
12746 rm -f conftest.$ac_objext
12747 if { (ac_try="$ac_compile"
12748 case "(($ac_try" in
12749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12750 *) ac_try_echo=$ac_try;;
12751 esac
12752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12753 (eval "$ac_compile") 2>conftest.er1
12754 ac_status=$?
12755 grep -v '^ *+' conftest.er1 >conftest.err
12756 rm -f conftest.er1
12757 cat conftest.err >&5
12758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12759 (exit $ac_status); } && {
12760 test -z "$ac_c_werror_flag" ||
12761 test ! -s conftest.err
12762 } && test -s conftest.$ac_objext; then
12763 ac_cv_c_builtin_wchar_ctype=no
12764 else
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12768 ac_cv_c_builtin_wchar_ctype=yes
12771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12773 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12774 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12775 CFLAGS="$saved_CFLAGS"
12776 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12777 then
12778 BUILTINFLAG="-fno-builtin"
12783 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12784 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12785 if test "${ac_cv_asm_func_def+set}" = set; then
12786 echo $ECHO_N "(cached) $ECHO_C" >&6
12787 else
12788 cat >conftest.$ac_ext <<_ACEOF
12789 /* confdefs.h. */
12790 _ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12794 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"); }
12797 main ()
12801 return 0;
12803 _ACEOF
12804 rm -f conftest.$ac_objext conftest$ac_exeext
12805 if { (ac_try="$ac_link"
12806 case "(($ac_try" in
12807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12808 *) ac_try_echo=$ac_try;;
12809 esac
12810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12811 (eval "$ac_link") 2>conftest.er1
12812 ac_status=$?
12813 grep -v '^ *+' conftest.er1 >conftest.err
12814 rm -f conftest.er1
12815 cat conftest.err >&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); } && {
12818 test -z "$ac_c_werror_flag" ||
12819 test ! -s conftest.err
12820 } && test -s conftest$ac_exeext &&
12821 $as_test_x conftest$ac_exeext; then
12822 ac_cv_asm_func_def=".def"
12823 else
12824 echo "$as_me: failed program was:" >&5
12825 sed 's/^/| /' conftest.$ac_ext >&5
12827 cat >conftest.$ac_ext <<_ACEOF
12828 /* confdefs.h. */
12829 _ACEOF
12830 cat confdefs.h >>conftest.$ac_ext
12831 cat >>conftest.$ac_ext <<_ACEOF
12832 /* end confdefs.h. */
12833 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12836 main ()
12840 return 0;
12842 _ACEOF
12843 rm -f conftest.$ac_objext conftest$ac_exeext
12844 if { (ac_try="$ac_link"
12845 case "(($ac_try" in
12846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12847 *) ac_try_echo=$ac_try;;
12848 esac
12849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12850 (eval "$ac_link") 2>conftest.er1
12851 ac_status=$?
12852 grep -v '^ *+' conftest.er1 >conftest.err
12853 rm -f conftest.er1
12854 cat conftest.err >&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } && {
12857 test -z "$ac_c_werror_flag" ||
12858 test ! -s conftest.err
12859 } && test -s conftest$ac_exeext &&
12860 $as_test_x conftest$ac_exeext; then
12861 ac_cv_asm_func_def=".type @function"
12862 else
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12866 cat >conftest.$ac_ext <<_ACEOF
12867 /* confdefs.h. */
12868 _ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h. */
12872 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12875 main ()
12879 return 0;
12881 _ACEOF
12882 rm -f conftest.$ac_objext conftest$ac_exeext
12883 if { (ac_try="$ac_link"
12884 case "(($ac_try" in
12885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12887 esac
12888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12889 (eval "$ac_link") 2>conftest.er1
12890 ac_status=$?
12891 grep -v '^ *+' conftest.er1 >conftest.err
12892 rm -f conftest.er1
12893 cat conftest.err >&5
12894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12895 (exit $ac_status); } && {
12896 test -z "$ac_c_werror_flag" ||
12897 test ! -s conftest.err
12898 } && test -s conftest$ac_exeext &&
12899 $as_test_x conftest$ac_exeext; then
12900 ac_cv_asm_func_def=".type 2"
12901 else
12902 echo "$as_me: failed program was:" >&5
12903 sed 's/^/| /' conftest.$ac_ext >&5
12905 ac_cv_asm_func_def="unknown"
12908 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12909 conftest$ac_exeext conftest.$ac_ext
12912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12913 conftest$ac_exeext conftest.$ac_ext
12916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12917 conftest$ac_exeext conftest.$ac_ext
12919 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12920 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12924 case "$ac_cv_asm_func_def" in
12925 ".def")
12926 cat >>confdefs.h <<\_ACEOF
12927 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12928 _ACEOF
12930 ".type @function")
12931 cat >>confdefs.h <<\_ACEOF
12932 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12933 _ACEOF
12935 ".type 2")
12936 cat >>confdefs.h <<\_ACEOF
12937 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12938 _ACEOF
12941 cat >>confdefs.h <<\_ACEOF
12942 #define __ASM_FUNC(name) ""
12943 _ACEOF
12945 esac
12948 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12949 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12950 if test "${ac_cv_c_extern_prefix+set}" = set; then
12951 echo $ECHO_N "(cached) $ECHO_C" >&6
12952 else
12953 cat >conftest.$ac_ext <<_ACEOF
12954 /* confdefs.h. */
12955 _ACEOF
12956 cat confdefs.h >>conftest.$ac_ext
12957 cat >>conftest.$ac_ext <<_ACEOF
12958 /* end confdefs.h. */
12959 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12960 extern int ac_test;
12962 main ()
12964 if (ac_test) return 1
12966 return 0;
12968 _ACEOF
12969 rm -f conftest.$ac_objext conftest$ac_exeext
12970 if { (ac_try="$ac_link"
12971 case "(($ac_try" in
12972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12973 *) ac_try_echo=$ac_try;;
12974 esac
12975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12976 (eval "$ac_link") 2>conftest.er1
12977 ac_status=$?
12978 grep -v '^ *+' conftest.er1 >conftest.err
12979 rm -f conftest.er1
12980 cat conftest.err >&5
12981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12982 (exit $ac_status); } && {
12983 test -z "$ac_c_werror_flag" ||
12984 test ! -s conftest.err
12985 } && test -s conftest$ac_exeext &&
12986 $as_test_x conftest$ac_exeext; then
12987 ac_cv_c_extern_prefix="yes"
12988 else
12989 echo "$as_me: failed program was:" >&5
12990 sed 's/^/| /' conftest.$ac_ext >&5
12992 ac_cv_c_extern_prefix="no"
12995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12996 conftest$ac_exeext conftest.$ac_ext
12998 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12999 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13003 if test "$ac_cv_c_extern_prefix" = "yes"
13004 then
13005 cat >>confdefs.h <<\_ACEOF
13006 #define __ASM_NAME(name) "_" name
13007 _ACEOF
13009 else
13010 cat >>confdefs.h <<\_ACEOF
13011 #define __ASM_NAME(name) name
13012 _ACEOF
13017 DLLEXT=""
13019 DLLFLAGS="-D_REENTRANT"
13021 LDSHARED=""
13023 LDDLLFLAGS=""
13025 LIBEXT="so"
13027 IMPLIBEXT="def"
13029 LIBWINE_LDFLAGS=""
13032 case $host_os in
13033 cygwin*|mingw32*)
13034 if test -n "$ac_tool_prefix"; then
13035 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13036 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13037 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13038 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13039 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13040 echo $ECHO_N "(cached) $ECHO_C" >&6
13041 else
13042 if test -n "$DLLTOOL"; then
13043 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13044 else
13045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13046 for as_dir in $PATH
13048 IFS=$as_save_IFS
13049 test -z "$as_dir" && as_dir=.
13050 for ac_exec_ext in '' $ac_executable_extensions; do
13051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13052 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13053 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13054 break 2
13056 done
13057 done
13058 IFS=$as_save_IFS
13062 DLLTOOL=$ac_cv_prog_DLLTOOL
13063 if test -n "$DLLTOOL"; then
13064 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13065 echo "${ECHO_T}$DLLTOOL" >&6; }
13066 else
13067 { echo "$as_me:$LINENO: result: no" >&5
13068 echo "${ECHO_T}no" >&6; }
13073 if test -z "$ac_cv_prog_DLLTOOL"; then
13074 ac_ct_DLLTOOL=$DLLTOOL
13075 # Extract the first word of "dlltool", so it can be a program name with args.
13076 set dummy dlltool; ac_word=$2
13077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13079 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 else
13082 if test -n "$ac_ct_DLLTOOL"; then
13083 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13084 else
13085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13086 for as_dir in $PATH
13088 IFS=$as_save_IFS
13089 test -z "$as_dir" && as_dir=.
13090 for ac_exec_ext in '' $ac_executable_extensions; do
13091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13092 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13094 break 2
13096 done
13097 done
13098 IFS=$as_save_IFS
13102 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13103 if test -n "$ac_ct_DLLTOOL"; then
13104 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13105 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13106 else
13107 { echo "$as_me:$LINENO: result: no" >&5
13108 echo "${ECHO_T}no" >&6; }
13111 if test "x$ac_ct_DLLTOOL" = x; then
13112 DLLTOOL="false"
13113 else
13114 case $cross_compiling:$ac_tool_warned in
13115 yes:)
13116 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13117 whose name does not start with the host triplet. If you think this
13118 configuration is useful to you, please write to autoconf@gnu.org." >&5
13119 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13120 whose name does not start with the host triplet. If you think this
13121 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13122 ac_tool_warned=yes ;;
13123 esac
13124 DLLTOOL=$ac_ct_DLLTOOL
13126 else
13127 DLLTOOL="$ac_cv_prog_DLLTOOL"
13130 if test -n "$ac_tool_prefix"; then
13131 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13132 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13135 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13136 echo $ECHO_N "(cached) $ECHO_C" >&6
13137 else
13138 if test -n "$DLLWRAP"; then
13139 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13140 else
13141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13142 for as_dir in $PATH
13144 IFS=$as_save_IFS
13145 test -z "$as_dir" && as_dir=.
13146 for ac_exec_ext in '' $ac_executable_extensions; do
13147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13148 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13150 break 2
13152 done
13153 done
13154 IFS=$as_save_IFS
13158 DLLWRAP=$ac_cv_prog_DLLWRAP
13159 if test -n "$DLLWRAP"; then
13160 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13161 echo "${ECHO_T}$DLLWRAP" >&6; }
13162 else
13163 { echo "$as_me:$LINENO: result: no" >&5
13164 echo "${ECHO_T}no" >&6; }
13169 if test -z "$ac_cv_prog_DLLWRAP"; then
13170 ac_ct_DLLWRAP=$DLLWRAP
13171 # Extract the first word of "dllwrap", so it can be a program name with args.
13172 set dummy dllwrap; ac_word=$2
13173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13175 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13176 echo $ECHO_N "(cached) $ECHO_C" >&6
13177 else
13178 if test -n "$ac_ct_DLLWRAP"; then
13179 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13180 else
13181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13182 for as_dir in $PATH
13184 IFS=$as_save_IFS
13185 test -z "$as_dir" && as_dir=.
13186 for ac_exec_ext in '' $ac_executable_extensions; do
13187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13188 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13190 break 2
13192 done
13193 done
13194 IFS=$as_save_IFS
13198 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13199 if test -n "$ac_ct_DLLWRAP"; then
13200 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13201 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13202 else
13203 { echo "$as_me:$LINENO: result: no" >&5
13204 echo "${ECHO_T}no" >&6; }
13207 if test "x$ac_ct_DLLWRAP" = x; then
13208 DLLWRAP="false"
13209 else
13210 case $cross_compiling:$ac_tool_warned in
13211 yes:)
13212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13213 whose name does not start with the host triplet. If you think this
13214 configuration is useful to you, please write to autoconf@gnu.org." >&5
13215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13216 whose name does not start with the host triplet. If you think this
13217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13218 ac_tool_warned=yes ;;
13219 esac
13220 DLLWRAP=$ac_ct_DLLWRAP
13222 else
13223 DLLWRAP="$ac_cv_prog_DLLWRAP"
13226 if test -n "$ac_tool_prefix"; then
13227 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13228 set dummy ${ac_tool_prefix}ar; ac_word=$2
13229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13231 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13232 echo $ECHO_N "(cached) $ECHO_C" >&6
13233 else
13234 if test -n "$MINGWAR"; then
13235 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13236 else
13237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13238 for as_dir in $PATH
13240 IFS=$as_save_IFS
13241 test -z "$as_dir" && as_dir=.
13242 for ac_exec_ext in '' $ac_executable_extensions; do
13243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13244 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13245 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13246 break 2
13248 done
13249 done
13250 IFS=$as_save_IFS
13254 MINGWAR=$ac_cv_prog_MINGWAR
13255 if test -n "$MINGWAR"; then
13256 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13257 echo "${ECHO_T}$MINGWAR" >&6; }
13258 else
13259 { echo "$as_me:$LINENO: result: no" >&5
13260 echo "${ECHO_T}no" >&6; }
13265 if test -z "$ac_cv_prog_MINGWAR"; then
13266 ac_ct_MINGWAR=$MINGWAR
13267 # Extract the first word of "ar", so it can be a program name with args.
13268 set dummy ar; ac_word=$2
13269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13271 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13272 echo $ECHO_N "(cached) $ECHO_C" >&6
13273 else
13274 if test -n "$ac_ct_MINGWAR"; then
13275 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13276 else
13277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13278 for as_dir in $PATH
13280 IFS=$as_save_IFS
13281 test -z "$as_dir" && as_dir=.
13282 for ac_exec_ext in '' $ac_executable_extensions; do
13283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13284 ac_cv_prog_ac_ct_MINGWAR="ar"
13285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13286 break 2
13288 done
13289 done
13290 IFS=$as_save_IFS
13294 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13295 if test -n "$ac_ct_MINGWAR"; then
13296 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13297 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13298 else
13299 { echo "$as_me:$LINENO: result: no" >&5
13300 echo "${ECHO_T}no" >&6; }
13303 if test "x$ac_ct_MINGWAR" = x; then
13304 MINGWAR="false"
13305 else
13306 case $cross_compiling:$ac_tool_warned in
13307 yes:)
13308 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13309 whose name does not start with the host triplet. If you think this
13310 configuration is useful to you, please write to autoconf@gnu.org." >&5
13311 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13312 whose name does not start with the host triplet. If you think this
13313 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13314 ac_tool_warned=yes ;;
13315 esac
13316 MINGWAR=$ac_ct_MINGWAR
13318 else
13319 MINGWAR="$ac_cv_prog_MINGWAR"
13322 if test "$DLLWRAP" = "false"; then
13323 LIBEXT="a"
13324 else
13325 LIBEXT="dll"
13327 IMPLIBEXT="a"
13328 WIN16_FILES=""
13329 WIN16_INSTALL=""
13331 darwin*|macosx*)
13332 DLLEXT=".so"
13333 LIBEXT="dylib"
13334 DLLFLAGS="$DLLFLAGS -fPIC"
13335 LDDLLFLAGS="-bundle -multiply_defined suppress"
13336 LIBWINE_LDFLAGS="-multiply_defined suppress"
13337 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13338 STRIP="$STRIP -u -r"
13339 COREFOUNDATIONLIB="-framework CoreFoundation"
13341 IOKITLIB="-framework IOKit -framework CoreFoundation"
13343 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13345 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13346 then
13347 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13350 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13351 then
13352 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13355 case $host_cpu in
13356 *powerpc*)
13357 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13358 esac
13359 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13360 then
13361 CARBONLIB="-framework Carbon"
13363 QUARTZFILES='$(QUARTZFILES)'
13367 DLLFLAGS="$DLLFLAGS -fPIC"
13368 DLLEXT=".so"
13369 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13370 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13371 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 else
13374 ac_wine_try_cflags_saved=$CFLAGS
13375 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13376 cat >conftest.$ac_ext <<_ACEOF
13377 void myfunc() {}
13378 _ACEOF
13379 rm -f conftest.$ac_objext conftest$ac_exeext
13380 if { (ac_try="$ac_link"
13381 case "(($ac_try" in
13382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13383 *) ac_try_echo=$ac_try;;
13384 esac
13385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13386 (eval "$ac_link") 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } && {
13393 test -z "$ac_c_werror_flag" ||
13394 test ! -s conftest.err
13395 } && test -s conftest$ac_exeext &&
13396 $as_test_x conftest$ac_exeext; then
13397 ac_cv_c_dll_gnuelf="yes"
13398 else
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.$ac_ext >&5
13402 ac_cv_c_dll_gnuelf="no"
13405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13406 conftest$ac_exeext conftest.$ac_ext
13407 CFLAGS=$ac_wine_try_cflags_saved
13409 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13410 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13411 if test "$ac_cv_c_dll_gnuelf" = "yes"
13412 then
13413 LDSHARED="\$(CC) -shared"
13414 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13415 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13416 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13417 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13418 echo $ECHO_N "(cached) $ECHO_C" >&6
13419 else
13420 ac_wine_try_cflags_saved=$CFLAGS
13421 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13422 cat >conftest.$ac_ext <<_ACEOF
13423 /* confdefs.h. */
13424 _ACEOF
13425 cat confdefs.h >>conftest.$ac_ext
13426 cat >>conftest.$ac_ext <<_ACEOF
13427 /* end confdefs.h. */
13430 main ()
13434 return 0;
13436 _ACEOF
13437 rm -f conftest.$ac_objext conftest$ac_exeext
13438 if { (ac_try="$ac_link"
13439 case "(($ac_try" in
13440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13441 *) ac_try_echo=$ac_try;;
13442 esac
13443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13444 (eval "$ac_link") 2>conftest.er1
13445 ac_status=$?
13446 grep -v '^ *+' conftest.er1 >conftest.err
13447 rm -f conftest.er1
13448 cat conftest.err >&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } && {
13451 test -z "$ac_c_werror_flag" ||
13452 test ! -s conftest.err
13453 } && test -s conftest$ac_exeext &&
13454 $as_test_x conftest$ac_exeext; then
13455 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13456 else
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.$ac_ext >&5
13460 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13464 conftest$ac_exeext conftest.$ac_ext
13465 CFLAGS=$ac_wine_try_cflags_saved
13467 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13468 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13469 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13470 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13471 else
13472 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13473 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13474 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13475 echo $ECHO_N "(cached) $ECHO_C" >&6
13476 else
13477 ac_wine_try_cflags_saved=$CFLAGS
13478 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13479 cat >conftest.$ac_ext <<_ACEOF
13480 /* confdefs.h. */
13481 _ACEOF
13482 cat confdefs.h >>conftest.$ac_ext
13483 cat >>conftest.$ac_ext <<_ACEOF
13484 /* end confdefs.h. */
13487 main ()
13491 return 0;
13493 _ACEOF
13494 rm -f conftest.$ac_objext conftest$ac_exeext
13495 if { (ac_try="$ac_link"
13496 case "(($ac_try" in
13497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13499 esac
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_link") 2>conftest.er1
13502 ac_status=$?
13503 grep -v '^ *+' conftest.er1 >conftest.err
13504 rm -f conftest.er1
13505 cat conftest.err >&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); } && {
13508 test -z "$ac_c_werror_flag" ||
13509 test ! -s conftest.err
13510 } && test -s conftest$ac_exeext &&
13511 $as_test_x conftest$ac_exeext; then
13512 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13513 else
13514 echo "$as_me: failed program was:" >&5
13515 sed 's/^/| /' conftest.$ac_ext >&5
13517 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13521 conftest$ac_exeext conftest.$ac_ext
13522 CFLAGS=$ac_wine_try_cflags_saved
13524 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13525 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13526 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13527 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13533 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13534 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13535 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13536 echo $ECHO_N "(cached) $ECHO_C" >&6
13537 else
13538 ac_wine_try_cflags_saved=$CFLAGS
13539 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13540 cat >conftest.$ac_ext <<_ACEOF
13541 /* confdefs.h. */
13542 _ACEOF
13543 cat confdefs.h >>conftest.$ac_ext
13544 cat >>conftest.$ac_ext <<_ACEOF
13545 /* end confdefs.h. */
13548 main ()
13552 return 0;
13554 _ACEOF
13555 rm -f conftest.$ac_objext conftest$ac_exeext
13556 if { (ac_try="$ac_link"
13557 case "(($ac_try" in
13558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13559 *) ac_try_echo=$ac_try;;
13560 esac
13561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13562 (eval "$ac_link") 2>conftest.er1
13563 ac_status=$?
13564 grep -v '^ *+' conftest.er1 >conftest.err
13565 rm -f conftest.er1
13566 cat conftest.err >&5
13567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13568 (exit $ac_status); } && {
13569 test -z "$ac_c_werror_flag" ||
13570 test ! -s conftest.err
13571 } && test -s conftest$ac_exeext &&
13572 $as_test_x conftest$ac_exeext; then
13573 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13574 else
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.$ac_ext >&5
13578 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13581 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13582 conftest$ac_exeext conftest.$ac_ext
13583 CFLAGS=$ac_wine_try_cflags_saved
13585 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13586 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13587 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13588 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13592 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13593 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13594 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13595 echo $ECHO_N "(cached) $ECHO_C" >&6
13596 else
13597 ac_wine_try_cflags_saved=$CFLAGS
13598 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13599 cat >conftest.$ac_ext <<_ACEOF
13600 /* confdefs.h. */
13601 _ACEOF
13602 cat confdefs.h >>conftest.$ac_ext
13603 cat >>conftest.$ac_ext <<_ACEOF
13604 /* end confdefs.h. */
13607 main ()
13611 return 0;
13613 _ACEOF
13614 rm -f conftest.$ac_objext conftest$ac_exeext
13615 if { (ac_try="$ac_link"
13616 case "(($ac_try" in
13617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13618 *) ac_try_echo=$ac_try;;
13619 esac
13620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13621 (eval "$ac_link") 2>conftest.er1
13622 ac_status=$?
13623 grep -v '^ *+' conftest.er1 >conftest.err
13624 rm -f conftest.er1
13625 cat conftest.err >&5
13626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13627 (exit $ac_status); } && {
13628 test -z "$ac_c_werror_flag" ||
13629 test ! -s conftest.err
13630 } && test -s conftest$ac_exeext &&
13631 $as_test_x conftest$ac_exeext; then
13632 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13633 else
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13637 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13641 conftest$ac_exeext conftest.$ac_ext
13642 CFLAGS=$ac_wine_try_cflags_saved
13644 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13645 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13646 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13647 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13651 echo '{ global: *; };' >conftest.map
13652 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13653 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13654 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13655 echo $ECHO_N "(cached) $ECHO_C" >&6
13656 else
13657 ac_wine_try_cflags_saved=$CFLAGS
13658 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13659 cat >conftest.$ac_ext <<_ACEOF
13660 /* confdefs.h. */
13661 _ACEOF
13662 cat confdefs.h >>conftest.$ac_ext
13663 cat >>conftest.$ac_ext <<_ACEOF
13664 /* end confdefs.h. */
13667 main ()
13671 return 0;
13673 _ACEOF
13674 rm -f conftest.$ac_objext conftest$ac_exeext
13675 if { (ac_try="$ac_link"
13676 case "(($ac_try" in
13677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13678 *) ac_try_echo=$ac_try;;
13679 esac
13680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13681 (eval "$ac_link") 2>conftest.er1
13682 ac_status=$?
13683 grep -v '^ *+' conftest.er1 >conftest.err
13684 rm -f conftest.er1
13685 cat conftest.err >&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); } && {
13688 test -z "$ac_c_werror_flag" ||
13689 test ! -s conftest.err
13690 } && test -s conftest$ac_exeext &&
13691 $as_test_x conftest$ac_exeext; then
13692 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13693 else
13694 echo "$as_me: failed program was:" >&5
13695 sed 's/^/| /' conftest.$ac_ext >&5
13697 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13701 conftest$ac_exeext conftest.$ac_ext
13702 CFLAGS=$ac_wine_try_cflags_saved
13704 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13705 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13706 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13707 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13710 rm -f conftest.map
13712 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13713 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13714 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13715 echo $ECHO_N "(cached) $ECHO_C" >&6
13716 else
13717 ac_wine_try_cflags_saved=$CFLAGS
13718 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13719 cat >conftest.$ac_ext <<_ACEOF
13720 /* confdefs.h. */
13721 _ACEOF
13722 cat confdefs.h >>conftest.$ac_ext
13723 cat >>conftest.$ac_ext <<_ACEOF
13724 /* end confdefs.h. */
13727 main ()
13731 return 0;
13733 _ACEOF
13734 rm -f conftest.$ac_objext conftest$ac_exeext
13735 if { (ac_try="$ac_link"
13736 case "(($ac_try" in
13737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13738 *) ac_try_echo=$ac_try;;
13739 esac
13740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13741 (eval "$ac_link") 2>conftest.er1
13742 ac_status=$?
13743 grep -v '^ *+' conftest.er1 >conftest.err
13744 rm -f conftest.er1
13745 cat conftest.err >&5
13746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13747 (exit $ac_status); } && {
13748 test -z "$ac_c_werror_flag" ||
13749 test ! -s conftest.err
13750 } && test -s conftest$ac_exeext &&
13751 $as_test_x conftest$ac_exeext; then
13752 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13753 else
13754 echo "$as_me: failed program was:" >&5
13755 sed 's/^/| /' conftest.$ac_ext >&5
13757 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13761 conftest$ac_exeext conftest.$ac_ext
13762 CFLAGS=$ac_wine_try_cflags_saved
13764 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13765 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13766 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13767 LDEXECFLAGS="-Wl,--export-dynamic"
13772 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13773 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13774 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13776 echo $ECHO_N "(cached) $ECHO_C" >&6
13777 else
13778 ac_wine_try_cflags_saved=$CFLAGS
13779 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13780 cat >conftest.$ac_ext <<_ACEOF
13781 /* confdefs.h. */
13782 _ACEOF
13783 cat confdefs.h >>conftest.$ac_ext
13784 cat >>conftest.$ac_ext <<_ACEOF
13785 /* end confdefs.h. */
13788 main ()
13792 return 0;
13794 _ACEOF
13795 rm -f conftest.$ac_objext conftest$ac_exeext
13796 if { (ac_try="$ac_link"
13797 case "(($ac_try" in
13798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13799 *) ac_try_echo=$ac_try;;
13800 esac
13801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13802 (eval "$ac_link") 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } && {
13809 test -z "$ac_c_werror_flag" ||
13810 test ! -s conftest.err
13811 } && test -s conftest$ac_exeext &&
13812 $as_test_x conftest$ac_exeext; then
13813 eval "$as_ac_var=yes"
13814 else
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.$ac_ext >&5
13818 eval "$as_ac_var=no"
13821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13822 conftest$ac_exeext conftest.$ac_ext
13823 CFLAGS=$ac_wine_try_cflags_saved
13825 ac_res=`eval echo '${'$as_ac_var'}'`
13826 { echo "$as_me:$LINENO: result: $ac_res" >&5
13827 echo "${ECHO_T}$ac_res" >&6; }
13828 if test `eval echo '${'$as_ac_var'}'` = yes; then
13829 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13833 case $host_cpu in
13834 *i[3456789]86* | x86_64)
13835 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13836 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13837 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13838 echo $ECHO_N "(cached) $ECHO_C" >&6
13839 else
13840 ac_wine_try_cflags_saved=$CFLAGS
13841 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13850 main ()
13854 return 0;
13856 _ACEOF
13857 rm -f conftest.$ac_objext conftest$ac_exeext
13858 if { (ac_try="$ac_link"
13859 case "(($ac_try" in
13860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13861 *) ac_try_echo=$ac_try;;
13862 esac
13863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13864 (eval "$ac_link") 2>conftest.er1
13865 ac_status=$?
13866 grep -v '^ *+' conftest.er1 >conftest.err
13867 rm -f conftest.er1
13868 cat conftest.err >&5
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); } && {
13871 test -z "$ac_c_werror_flag" ||
13872 test ! -s conftest.err
13873 } && test -s conftest$ac_exeext &&
13874 $as_test_x conftest$ac_exeext; then
13875 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13876 else
13877 echo "$as_me: failed program was:" >&5
13878 sed 's/^/| /' conftest.$ac_ext >&5
13880 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13884 conftest$ac_exeext conftest.$ac_ext
13885 CFLAGS=$ac_wine_try_cflags_saved
13887 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13888 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13889 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13890 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13894 esac
13896 else
13897 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13898 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13899 if test "${ac_cv_c_dll_unixware+set}" = set; then
13900 echo $ECHO_N "(cached) $ECHO_C" >&6
13901 else
13902 ac_wine_try_cflags_saved=$CFLAGS
13903 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13904 cat >conftest.$ac_ext <<_ACEOF
13905 void myfunc() {}
13906 _ACEOF
13907 rm -f conftest.$ac_objext conftest$ac_exeext
13908 if { (ac_try="$ac_link"
13909 case "(($ac_try" in
13910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13911 *) ac_try_echo=$ac_try;;
13912 esac
13913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13914 (eval "$ac_link") 2>conftest.er1
13915 ac_status=$?
13916 grep -v '^ *+' conftest.er1 >conftest.err
13917 rm -f conftest.er1
13918 cat conftest.err >&5
13919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13920 (exit $ac_status); } && {
13921 test -z "$ac_c_werror_flag" ||
13922 test ! -s conftest.err
13923 } && test -s conftest$ac_exeext &&
13924 $as_test_x conftest$ac_exeext; then
13925 ac_cv_c_dll_unixware="yes"
13926 else
13927 echo "$as_me: failed program was:" >&5
13928 sed 's/^/| /' conftest.$ac_ext >&5
13930 ac_cv_c_dll_unixware="no"
13933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13934 conftest$ac_exeext conftest.$ac_ext
13935 CFLAGS=$ac_wine_try_cflags_saved
13937 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13938 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13939 if test "$ac_cv_c_dll_unixware" = "yes"
13940 then
13941 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13942 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13944 else
13945 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13946 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13947 if test "${ac_cv_c_dll_hpux+set}" = set; then
13948 echo $ECHO_N "(cached) $ECHO_C" >&6
13949 else
13950 ac_wine_try_cflags_saved=$CFLAGS
13951 CFLAGS="$CFLAGS -shared"
13952 cat >conftest.$ac_ext <<_ACEOF
13953 void myfunc() {}
13954 _ACEOF
13955 rm -f conftest.$ac_objext conftest$ac_exeext
13956 if { (ac_try="$ac_link"
13957 case "(($ac_try" in
13958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13959 *) ac_try_echo=$ac_try;;
13960 esac
13961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13962 (eval "$ac_link") 2>conftest.er1
13963 ac_status=$?
13964 grep -v '^ *+' conftest.er1 >conftest.err
13965 rm -f conftest.er1
13966 cat conftest.err >&5
13967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13968 (exit $ac_status); } && {
13969 test -z "$ac_c_werror_flag" ||
13970 test ! -s conftest.err
13971 } && test -s conftest$ac_exeext &&
13972 $as_test_x conftest$ac_exeext; then
13973 ac_cv_c_dll_hpux="yes"
13974 else
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13978 ac_cv_c_dll_hpux="no"
13981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13982 conftest$ac_exeext conftest.$ac_ext
13983 CFLAGS=$ac_wine_try_cflags_saved
13985 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13986 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13987 if test "$ac_cv_c_dll_hpux" = "yes"
13988 then
13989 LIBEXT="sl"
13990 DLLEXT=".sl"
13991 LDDLLFLAGS="-shared -fPIC"
13992 LDSHARED="\$(CC) -shared"
13997 CROSSTEST=""
13999 if test "$cross_compiling" = "no"
14000 then
14001 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14003 # Extract the first word of "$ac_prog", so it can be a program name with args.
14004 set dummy $ac_prog; ac_word=$2
14005 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14007 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14009 else
14010 if test -n "$CROSSCC"; then
14011 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14012 else
14013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14014 for as_dir in $PATH
14016 IFS=$as_save_IFS
14017 test -z "$as_dir" && as_dir=.
14018 for ac_exec_ext in '' $ac_executable_extensions; do
14019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14020 ac_cv_prog_CROSSCC="$ac_prog"
14021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14022 break 2
14024 done
14025 done
14026 IFS=$as_save_IFS
14030 CROSSCC=$ac_cv_prog_CROSSCC
14031 if test -n "$CROSSCC"; then
14032 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14033 echo "${ECHO_T}$CROSSCC" >&6; }
14034 else
14035 { echo "$as_me:$LINENO: result: no" >&5
14036 echo "${ECHO_T}no" >&6; }
14040 test -n "$CROSSCC" && break
14041 done
14042 test -n "$CROSSCC" || CROSSCC="false"
14044 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14046 # Extract the first word of "$ac_prog", so it can be a program name with args.
14047 set dummy $ac_prog; ac_word=$2
14048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14050 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14051 echo $ECHO_N "(cached) $ECHO_C" >&6
14052 else
14053 if test -n "$DLLTOOL"; then
14054 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14055 else
14056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14057 for as_dir in $PATH
14059 IFS=$as_save_IFS
14060 test -z "$as_dir" && as_dir=.
14061 for ac_exec_ext in '' $ac_executable_extensions; do
14062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14063 ac_cv_prog_DLLTOOL="$ac_prog"
14064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14065 break 2
14067 done
14068 done
14069 IFS=$as_save_IFS
14073 DLLTOOL=$ac_cv_prog_DLLTOOL
14074 if test -n "$DLLTOOL"; then
14075 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14076 echo "${ECHO_T}$DLLTOOL" >&6; }
14077 else
14078 { echo "$as_me:$LINENO: result: no" >&5
14079 echo "${ECHO_T}no" >&6; }
14083 test -n "$DLLTOOL" && break
14084 done
14085 test -n "$DLLTOOL" || DLLTOOL="false"
14087 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14089 # Extract the first word of "$ac_prog", so it can be a program name with args.
14090 set dummy $ac_prog; ac_word=$2
14091 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14093 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14094 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 else
14096 if test -n "$CROSSWINDRES"; then
14097 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14098 else
14099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14100 for as_dir in $PATH
14102 IFS=$as_save_IFS
14103 test -z "$as_dir" && as_dir=.
14104 for ac_exec_ext in '' $ac_executable_extensions; do
14105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14106 ac_cv_prog_CROSSWINDRES="$ac_prog"
14107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14108 break 2
14110 done
14111 done
14112 IFS=$as_save_IFS
14116 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14117 if test -n "$CROSSWINDRES"; then
14118 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14119 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14120 else
14121 { echo "$as_me:$LINENO: result: no" >&5
14122 echo "${ECHO_T}no" >&6; }
14126 test -n "$CROSSWINDRES" && break
14127 done
14128 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14130 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14132 # Extract the first word of "$ac_prog", so it can be a program name with args.
14133 set dummy $ac_prog; ac_word=$2
14134 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14136 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14137 echo $ECHO_N "(cached) $ECHO_C" >&6
14138 else
14139 if test -n "$MINGWAR"; then
14140 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14141 else
14142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14143 for as_dir in $PATH
14145 IFS=$as_save_IFS
14146 test -z "$as_dir" && as_dir=.
14147 for ac_exec_ext in '' $ac_executable_extensions; do
14148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14149 ac_cv_prog_MINGWAR="$ac_prog"
14150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14151 break 2
14153 done
14154 done
14155 IFS=$as_save_IFS
14159 MINGWAR=$ac_cv_prog_MINGWAR
14160 if test -n "$MINGWAR"; then
14161 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14162 echo "${ECHO_T}$MINGWAR" >&6; }
14163 else
14164 { echo "$as_me:$LINENO: result: no" >&5
14165 echo "${ECHO_T}no" >&6; }
14169 test -n "$MINGWAR" && break
14170 done
14171 test -n "$MINGWAR" || MINGWAR="false"
14173 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14176 esac
14178 if test "$LIBEXT" = "a"; then
14179 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14180 It is currently not possible to build Wine without shared library
14181 (.so) support to allow transparent switch between .so and .dll files.
14182 If you are using Linux, you will need a newer binutils.
14183 " >&5
14184 echo "$as_me: error: could not find a way to build shared libraries.
14185 It is currently not possible to build Wine without shared library
14186 (.so) support to allow transparent switch between .so and .dll files.
14187 If you are using Linux, you will need a newer binutils.
14188 " >&2;}
14189 { (exit 1); exit 1; }; }
14192 case $build_os in
14193 cygwin*|mingw32*)
14194 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14196 darwin*|macosx*)
14197 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14200 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14202 esac
14204 case $host_os in
14205 mingw32*)
14206 CRTLIBS="-lmsvcrt"
14208 SOCKETLIBS="-lws2_32"
14211 esac
14213 MAIN_BINARY="wine-pthread"
14214 case $host_cpu in
14215 *i[3456789]86*)
14216 case $host_os in
14217 linux* | k*bsd*-gnu)
14218 MAIN_BINARY="wine-glibc"
14220 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14222 esac
14224 esac
14227 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14228 then
14229 # Extract the first word of "ldd", so it can be a program name with args.
14230 set dummy ldd; ac_word=$2
14231 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14233 if test "${ac_cv_path_LDD+set}" = set; then
14234 echo $ECHO_N "(cached) $ECHO_C" >&6
14235 else
14236 case $LDD in
14237 [\\/]* | ?:[\\/]*)
14238 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14242 as_dummy="/sbin:/usr/sbin:$PATH"
14243 for as_dir in $as_dummy
14245 IFS=$as_save_IFS
14246 test -z "$as_dir" && as_dir=.
14247 for ac_exec_ext in '' $ac_executable_extensions; do
14248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14249 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14251 break 2
14253 done
14254 done
14255 IFS=$as_save_IFS
14257 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14259 esac
14261 LDD=$ac_cv_path_LDD
14262 if test -n "$LDD"; then
14263 { echo "$as_me:$LINENO: result: $LDD" >&5
14264 echo "${ECHO_T}$LDD" >&6; }
14265 else
14266 { echo "$as_me:$LINENO: result: no" >&5
14267 echo "${ECHO_T}no" >&6; }
14271 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14272 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14273 if test "${ac_cv_lib_soname_X11+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 else
14276 ac_get_soname_save_LIBS=$LIBS
14277 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14278 cat >conftest.$ac_ext <<_ACEOF
14279 /* confdefs.h. */
14280 _ACEOF
14281 cat confdefs.h >>conftest.$ac_ext
14282 cat >>conftest.$ac_ext <<_ACEOF
14283 /* end confdefs.h. */
14285 /* Override any GCC internal prototype to avoid an error.
14286 Use char because int might match the return type of a GCC
14287 builtin and then its argument prototype would still apply. */
14288 #ifdef __cplusplus
14289 extern "C"
14290 #endif
14291 char XCreateWindow ();
14293 main ()
14295 return XCreateWindow ();
14297 return 0;
14299 _ACEOF
14300 rm -f conftest.$ac_objext conftest$ac_exeext
14301 if { (ac_try="$ac_link"
14302 case "(($ac_try" in
14303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14304 *) ac_try_echo=$ac_try;;
14305 esac
14306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14307 (eval "$ac_link") 2>conftest.er1
14308 ac_status=$?
14309 grep -v '^ *+' conftest.er1 >conftest.err
14310 rm -f conftest.er1
14311 cat conftest.err >&5
14312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14313 (exit $ac_status); } && {
14314 test -z "$ac_c_werror_flag" ||
14315 test ! -s conftest.err
14316 } && test -s conftest$ac_exeext &&
14317 $as_test_x conftest$ac_exeext; then
14318 case "$LIBEXT" in
14319 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'` ;;
14320 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14321 esac
14322 if test "x$ac_cv_lib_soname_X11" = "x"
14323 then
14324 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14326 else
14327 echo "$as_me: failed program was:" >&5
14328 sed 's/^/| /' conftest.$ac_ext >&5
14330 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14334 conftest$ac_exeext conftest.$ac_ext
14335 LIBS=$ac_get_soname_save_LIBS
14337 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14338 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14339 if test "${ac_cv_lib_soname_X11+set}" = set; then
14341 cat >>confdefs.h <<_ACEOF
14342 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14343 _ACEOF
14347 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14348 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14349 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14350 echo $ECHO_N "(cached) $ECHO_C" >&6
14351 else
14352 ac_get_soname_save_LIBS=$LIBS
14353 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14354 cat >conftest.$ac_ext <<_ACEOF
14355 /* confdefs.h. */
14356 _ACEOF
14357 cat confdefs.h >>conftest.$ac_ext
14358 cat >>conftest.$ac_ext <<_ACEOF
14359 /* end confdefs.h. */
14361 /* Override any GCC internal prototype to avoid an error.
14362 Use char because int might match the return type of a GCC
14363 builtin and then its argument prototype would still apply. */
14364 #ifdef __cplusplus
14365 extern "C"
14366 #endif
14367 char XextCreateExtension ();
14369 main ()
14371 return XextCreateExtension ();
14373 return 0;
14375 _ACEOF
14376 rm -f conftest.$ac_objext conftest$ac_exeext
14377 if { (ac_try="$ac_link"
14378 case "(($ac_try" in
14379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14380 *) ac_try_echo=$ac_try;;
14381 esac
14382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14383 (eval "$ac_link") 2>conftest.er1
14384 ac_status=$?
14385 grep -v '^ *+' conftest.er1 >conftest.err
14386 rm -f conftest.er1
14387 cat conftest.err >&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } && {
14390 test -z "$ac_c_werror_flag" ||
14391 test ! -s conftest.err
14392 } && test -s conftest$ac_exeext &&
14393 $as_test_x conftest$ac_exeext; then
14394 case "$LIBEXT" in
14395 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'` ;;
14396 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14397 esac
14398 if test "x$ac_cv_lib_soname_Xext" = "x"
14399 then
14400 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14402 else
14403 echo "$as_me: failed program was:" >&5
14404 sed 's/^/| /' conftest.$ac_ext >&5
14406 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14410 conftest$ac_exeext conftest.$ac_ext
14411 LIBS=$ac_get_soname_save_LIBS
14413 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14414 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14415 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14417 cat >>confdefs.h <<_ACEOF
14418 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14419 _ACEOF
14423 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14424 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14425 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14426 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 else
14428 ac_get_soname_save_LIBS=$LIBS
14429 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14430 cat >conftest.$ac_ext <<_ACEOF
14431 /* confdefs.h. */
14432 _ACEOF
14433 cat confdefs.h >>conftest.$ac_ext
14434 cat >>conftest.$ac_ext <<_ACEOF
14435 /* end confdefs.h. */
14437 /* Override any GCC internal prototype to avoid an error.
14438 Use char because int might match the return type of a GCC
14439 builtin and then its argument prototype would still apply. */
14440 #ifdef __cplusplus
14441 extern "C"
14442 #endif
14443 char XOpenDevice ();
14445 main ()
14447 return XOpenDevice ();
14449 return 0;
14451 _ACEOF
14452 rm -f conftest.$ac_objext conftest$ac_exeext
14453 if { (ac_try="$ac_link"
14454 case "(($ac_try" in
14455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14456 *) ac_try_echo=$ac_try;;
14457 esac
14458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14459 (eval "$ac_link") 2>conftest.er1
14460 ac_status=$?
14461 grep -v '^ *+' conftest.er1 >conftest.err
14462 rm -f conftest.er1
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } && {
14466 test -z "$ac_c_werror_flag" ||
14467 test ! -s conftest.err
14468 } && test -s conftest$ac_exeext &&
14469 $as_test_x conftest$ac_exeext; then
14470 case "$LIBEXT" in
14471 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'` ;;
14472 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14473 esac
14474 if test "x$ac_cv_lib_soname_Xi" = "x"
14475 then
14476 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14478 else
14479 echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.$ac_ext >&5
14482 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14486 conftest$ac_exeext conftest.$ac_ext
14487 LIBS=$ac_get_soname_save_LIBS
14489 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14490 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14491 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14493 cat >>confdefs.h <<_ACEOF
14494 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14495 _ACEOF
14499 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14500 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14501 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14502 echo $ECHO_N "(cached) $ECHO_C" >&6
14503 else
14504 ac_get_soname_save_LIBS=$LIBS
14505 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14506 cat >conftest.$ac_ext <<_ACEOF
14507 /* confdefs.h. */
14508 _ACEOF
14509 cat confdefs.h >>conftest.$ac_ext
14510 cat >>conftest.$ac_ext <<_ACEOF
14511 /* end confdefs.h. */
14513 /* Override any GCC internal prototype to avoid an error.
14514 Use char because int might match the return type of a GCC
14515 builtin and then its argument prototype would still apply. */
14516 #ifdef __cplusplus
14517 extern "C"
14518 #endif
14519 char XineramaQueryScreens ();
14521 main ()
14523 return XineramaQueryScreens ();
14525 return 0;
14527 _ACEOF
14528 rm -f conftest.$ac_objext conftest$ac_exeext
14529 if { (ac_try="$ac_link"
14530 case "(($ac_try" in
14531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14532 *) ac_try_echo=$ac_try;;
14533 esac
14534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14535 (eval "$ac_link") 2>conftest.er1
14536 ac_status=$?
14537 grep -v '^ *+' conftest.er1 >conftest.err
14538 rm -f conftest.er1
14539 cat conftest.err >&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); } && {
14542 test -z "$ac_c_werror_flag" ||
14543 test ! -s conftest.err
14544 } && test -s conftest$ac_exeext &&
14545 $as_test_x conftest$ac_exeext; then
14546 case "$LIBEXT" in
14547 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'` ;;
14548 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14549 esac
14550 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14551 then
14552 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14554 else
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14558 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14562 conftest$ac_exeext conftest.$ac_ext
14563 LIBS=$ac_get_soname_save_LIBS
14565 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14566 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14567 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14569 cat >>confdefs.h <<_ACEOF
14570 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14571 _ACEOF
14575 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14576 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14577 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14578 echo $ECHO_N "(cached) $ECHO_C" >&6
14579 else
14580 ac_get_soname_save_LIBS=$LIBS
14581 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14582 cat >conftest.$ac_ext <<_ACEOF
14583 /* confdefs.h. */
14584 _ACEOF
14585 cat confdefs.h >>conftest.$ac_ext
14586 cat >>conftest.$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14589 /* Override any GCC internal prototype to avoid an error.
14590 Use char because int might match the return type of a GCC
14591 builtin and then its argument prototype would still apply. */
14592 #ifdef __cplusplus
14593 extern "C"
14594 #endif
14595 char XRenderQueryExtension ();
14597 main ()
14599 return XRenderQueryExtension ();
14601 return 0;
14603 _ACEOF
14604 rm -f conftest.$ac_objext conftest$ac_exeext
14605 if { (ac_try="$ac_link"
14606 case "(($ac_try" in
14607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14608 *) ac_try_echo=$ac_try;;
14609 esac
14610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14611 (eval "$ac_link") 2>conftest.er1
14612 ac_status=$?
14613 grep -v '^ *+' conftest.er1 >conftest.err
14614 rm -f conftest.er1
14615 cat conftest.err >&5
14616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14617 (exit $ac_status); } && {
14618 test -z "$ac_c_werror_flag" ||
14619 test ! -s conftest.err
14620 } && test -s conftest$ac_exeext &&
14621 $as_test_x conftest$ac_exeext; then
14622 case "$LIBEXT" in
14623 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'` ;;
14624 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14625 esac
14626 if test "x$ac_cv_lib_soname_Xrender" = "x"
14627 then
14628 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14630 else
14631 echo "$as_me: failed program was:" >&5
14632 sed 's/^/| /' conftest.$ac_ext >&5
14634 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14638 conftest$ac_exeext conftest.$ac_ext
14639 LIBS=$ac_get_soname_save_LIBS
14641 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14642 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14643 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14645 cat >>confdefs.h <<_ACEOF
14646 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14647 _ACEOF
14651 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14652 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14653 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14654 echo $ECHO_N "(cached) $ECHO_C" >&6
14655 else
14656 ac_get_soname_save_LIBS=$LIBS
14657 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14658 cat >conftest.$ac_ext <<_ACEOF
14659 /* confdefs.h. */
14660 _ACEOF
14661 cat confdefs.h >>conftest.$ac_ext
14662 cat >>conftest.$ac_ext <<_ACEOF
14663 /* end confdefs.h. */
14665 /* Override any GCC internal prototype to avoid an error.
14666 Use char because int might match the return type of a GCC
14667 builtin and then its argument prototype would still apply. */
14668 #ifdef __cplusplus
14669 extern "C"
14670 #endif
14671 char XRRQueryExtension ();
14673 main ()
14675 return XRRQueryExtension ();
14677 return 0;
14679 _ACEOF
14680 rm -f conftest.$ac_objext conftest$ac_exeext
14681 if { (ac_try="$ac_link"
14682 case "(($ac_try" in
14683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14684 *) ac_try_echo=$ac_try;;
14685 esac
14686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14687 (eval "$ac_link") 2>conftest.er1
14688 ac_status=$?
14689 grep -v '^ *+' conftest.er1 >conftest.err
14690 rm -f conftest.er1
14691 cat conftest.err >&5
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); } && {
14694 test -z "$ac_c_werror_flag" ||
14695 test ! -s conftest.err
14696 } && test -s conftest$ac_exeext &&
14697 $as_test_x conftest$ac_exeext; then
14698 case "$LIBEXT" in
14699 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'` ;;
14700 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14701 esac
14702 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14703 then
14704 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14706 else
14707 echo "$as_me: failed program was:" >&5
14708 sed 's/^/| /' conftest.$ac_ext >&5
14710 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14713 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14714 conftest$ac_exeext conftest.$ac_ext
14715 LIBS=$ac_get_soname_save_LIBS
14717 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14718 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14719 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14721 cat >>confdefs.h <<_ACEOF
14722 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14723 _ACEOF
14727 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14728 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14729 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 else
14732 ac_get_soname_save_LIBS=$LIBS
14733 LIBS="-lfreetype $X_LIBS $LIBS"
14734 cat >conftest.$ac_ext <<_ACEOF
14735 /* confdefs.h. */
14736 _ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14741 /* Override any GCC internal prototype to avoid an error.
14742 Use char because int might match the return type of a GCC
14743 builtin and then its argument prototype would still apply. */
14744 #ifdef __cplusplus
14745 extern "C"
14746 #endif
14747 char FT_Init_FreeType ();
14749 main ()
14751 return FT_Init_FreeType ();
14753 return 0;
14755 _ACEOF
14756 rm -f conftest.$ac_objext conftest$ac_exeext
14757 if { (ac_try="$ac_link"
14758 case "(($ac_try" in
14759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14760 *) ac_try_echo=$ac_try;;
14761 esac
14762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14763 (eval "$ac_link") 2>conftest.er1
14764 ac_status=$?
14765 grep -v '^ *+' conftest.er1 >conftest.err
14766 rm -f conftest.er1
14767 cat conftest.err >&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } && {
14770 test -z "$ac_c_werror_flag" ||
14771 test ! -s conftest.err
14772 } && test -s conftest$ac_exeext &&
14773 $as_test_x conftest$ac_exeext; then
14774 case "$LIBEXT" in
14775 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'` ;;
14776 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14777 esac
14778 if test "x$ac_cv_lib_soname_freetype" = "x"
14779 then
14780 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14782 else
14783 echo "$as_me: failed program was:" >&5
14784 sed 's/^/| /' conftest.$ac_ext >&5
14786 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14790 conftest$ac_exeext conftest.$ac_ext
14791 LIBS=$ac_get_soname_save_LIBS
14793 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14794 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14795 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14797 cat >>confdefs.h <<_ACEOF
14798 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14799 _ACEOF
14803 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14804 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14805 if test "${ac_cv_lib_soname_GL+set}" = set; then
14806 echo $ECHO_N "(cached) $ECHO_C" >&6
14807 else
14808 ac_get_soname_save_LIBS=$LIBS
14809 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14810 cat >conftest.$ac_ext <<_ACEOF
14811 /* confdefs.h. */
14812 _ACEOF
14813 cat confdefs.h >>conftest.$ac_ext
14814 cat >>conftest.$ac_ext <<_ACEOF
14815 /* end confdefs.h. */
14817 /* Override any GCC internal prototype to avoid an error.
14818 Use char because int might match the return type of a GCC
14819 builtin and then its argument prototype would still apply. */
14820 #ifdef __cplusplus
14821 extern "C"
14822 #endif
14823 char glXQueryExtension ();
14825 main ()
14827 return glXQueryExtension ();
14829 return 0;
14831 _ACEOF
14832 rm -f conftest.$ac_objext conftest$ac_exeext
14833 if { (ac_try="$ac_link"
14834 case "(($ac_try" in
14835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14836 *) ac_try_echo=$ac_try;;
14837 esac
14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14839 (eval "$ac_link") 2>conftest.er1
14840 ac_status=$?
14841 grep -v '^ *+' conftest.er1 >conftest.err
14842 rm -f conftest.er1
14843 cat conftest.err >&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); } && {
14846 test -z "$ac_c_werror_flag" ||
14847 test ! -s conftest.err
14848 } && test -s conftest$ac_exeext &&
14849 $as_test_x conftest$ac_exeext; then
14850 case "$LIBEXT" in
14851 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'` ;;
14852 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14853 esac
14854 if test "x$ac_cv_lib_soname_GL" = "x"
14855 then
14856 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14858 else
14859 echo "$as_me: failed program was:" >&5
14860 sed 's/^/| /' conftest.$ac_ext >&5
14862 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14866 conftest$ac_exeext conftest.$ac_ext
14867 LIBS=$ac_get_soname_save_LIBS
14869 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14870 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14871 if test "${ac_cv_lib_soname_GL+set}" = set; then
14873 cat >>confdefs.h <<_ACEOF
14874 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14875 _ACEOF
14879 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14880 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14881 if test "${ac_cv_lib_soname_hal+set}" = set; then
14882 echo $ECHO_N "(cached) $ECHO_C" >&6
14883 else
14884 ac_get_soname_save_LIBS=$LIBS
14885 LIBS="-lhal $LIBS"
14886 cat >conftest.$ac_ext <<_ACEOF
14887 /* confdefs.h. */
14888 _ACEOF
14889 cat confdefs.h >>conftest.$ac_ext
14890 cat >>conftest.$ac_ext <<_ACEOF
14891 /* end confdefs.h. */
14893 /* Override any GCC internal prototype to avoid an error.
14894 Use char because int might match the return type of a GCC
14895 builtin and then its argument prototype would still apply. */
14896 #ifdef __cplusplus
14897 extern "C"
14898 #endif
14899 char libhal_ctx_new ();
14901 main ()
14903 return libhal_ctx_new ();
14905 return 0;
14907 _ACEOF
14908 rm -f conftest.$ac_objext conftest$ac_exeext
14909 if { (ac_try="$ac_link"
14910 case "(($ac_try" in
14911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14912 *) ac_try_echo=$ac_try;;
14913 esac
14914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14915 (eval "$ac_link") 2>conftest.er1
14916 ac_status=$?
14917 grep -v '^ *+' conftest.er1 >conftest.err
14918 rm -f conftest.er1
14919 cat conftest.err >&5
14920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14921 (exit $ac_status); } && {
14922 test -z "$ac_c_werror_flag" ||
14923 test ! -s conftest.err
14924 } && test -s conftest$ac_exeext &&
14925 $as_test_x conftest$ac_exeext; then
14926 case "$LIBEXT" in
14927 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'` ;;
14928 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14929 esac
14930 if test "x$ac_cv_lib_soname_hal" = "x"
14931 then
14932 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14934 else
14935 echo "$as_me: failed program was:" >&5
14936 sed 's/^/| /' conftest.$ac_ext >&5
14938 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14942 conftest$ac_exeext conftest.$ac_ext
14943 LIBS=$ac_get_soname_save_LIBS
14945 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14946 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14947 if test "${ac_cv_lib_soname_hal+set}" = set; then
14949 cat >>confdefs.h <<_ACEOF
14950 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14951 _ACEOF
14955 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14956 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14957 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14958 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 else
14960 ac_get_soname_save_LIBS=$LIBS
14961 LIBS="-ltxc_dxtn $LIBS"
14962 cat >conftest.$ac_ext <<_ACEOF
14963 /* confdefs.h. */
14964 _ACEOF
14965 cat confdefs.h >>conftest.$ac_ext
14966 cat >>conftest.$ac_ext <<_ACEOF
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14972 #ifdef __cplusplus
14973 extern "C"
14974 #endif
14975 char fetch_2d_texel_rgba_dxt1 ();
14977 main ()
14979 return fetch_2d_texel_rgba_dxt1 ();
14981 return 0;
14983 _ACEOF
14984 rm -f conftest.$ac_objext conftest$ac_exeext
14985 if { (ac_try="$ac_link"
14986 case "(($ac_try" in
14987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14988 *) ac_try_echo=$ac_try;;
14989 esac
14990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14991 (eval "$ac_link") 2>conftest.er1
14992 ac_status=$?
14993 grep -v '^ *+' conftest.er1 >conftest.err
14994 rm -f conftest.er1
14995 cat conftest.err >&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } && {
14998 test -z "$ac_c_werror_flag" ||
14999 test ! -s conftest.err
15000 } && test -s conftest$ac_exeext &&
15001 $as_test_x conftest$ac_exeext; then
15002 case "$LIBEXT" in
15003 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'` ;;
15004 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'` ;;
15005 esac
15006 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15007 then
15008 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15010 else
15011 echo "$as_me: failed program was:" >&5
15012 sed 's/^/| /' conftest.$ac_ext >&5
15014 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15018 conftest$ac_exeext conftest.$ac_ext
15019 LIBS=$ac_get_soname_save_LIBS
15021 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15022 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15023 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15025 cat >>confdefs.h <<_ACEOF
15026 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15027 _ACEOF
15031 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15032 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15033 if test "${ac_cv_lib_soname_cups+set}" = set; then
15034 echo $ECHO_N "(cached) $ECHO_C" >&6
15035 else
15036 ac_get_soname_save_LIBS=$LIBS
15037 LIBS="-lcups $LIBS"
15038 cat >conftest.$ac_ext <<_ACEOF
15039 /* confdefs.h. */
15040 _ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15048 #ifdef __cplusplus
15049 extern "C"
15050 #endif
15051 char cupsGetDefault ();
15053 main ()
15055 return cupsGetDefault ();
15057 return 0;
15059 _ACEOF
15060 rm -f conftest.$ac_objext conftest$ac_exeext
15061 if { (ac_try="$ac_link"
15062 case "(($ac_try" in
15063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15064 *) ac_try_echo=$ac_try;;
15065 esac
15066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15067 (eval "$ac_link") 2>conftest.er1
15068 ac_status=$?
15069 grep -v '^ *+' conftest.er1 >conftest.err
15070 rm -f conftest.er1
15071 cat conftest.err >&5
15072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15073 (exit $ac_status); } && {
15074 test -z "$ac_c_werror_flag" ||
15075 test ! -s conftest.err
15076 } && test -s conftest$ac_exeext &&
15077 $as_test_x conftest$ac_exeext; then
15078 case "$LIBEXT" in
15079 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'` ;;
15080 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15081 esac
15082 if test "x$ac_cv_lib_soname_cups" = "x"
15083 then
15084 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15090 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15093 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15094 conftest$ac_exeext conftest.$ac_ext
15095 LIBS=$ac_get_soname_save_LIBS
15097 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15098 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15099 if test "${ac_cv_lib_soname_cups+set}" = set; then
15101 cat >>confdefs.h <<_ACEOF
15102 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15103 _ACEOF
15107 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15108 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15109 if test "${ac_cv_lib_soname_jack+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15111 else
15112 ac_get_soname_save_LIBS=$LIBS
15113 LIBS="-ljack $LIBS"
15114 cat >conftest.$ac_ext <<_ACEOF
15115 /* confdefs.h. */
15116 _ACEOF
15117 cat confdefs.h >>conftest.$ac_ext
15118 cat >>conftest.$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15121 /* Override any GCC internal prototype to avoid an error.
15122 Use char because int might match the return type of a GCC
15123 builtin and then its argument prototype would still apply. */
15124 #ifdef __cplusplus
15125 extern "C"
15126 #endif
15127 char jack_client_new ();
15129 main ()
15131 return jack_client_new ();
15133 return 0;
15135 _ACEOF
15136 rm -f conftest.$ac_objext conftest$ac_exeext
15137 if { (ac_try="$ac_link"
15138 case "(($ac_try" in
15139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15140 *) ac_try_echo=$ac_try;;
15141 esac
15142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15143 (eval "$ac_link") 2>conftest.er1
15144 ac_status=$?
15145 grep -v '^ *+' conftest.er1 >conftest.err
15146 rm -f conftest.er1
15147 cat conftest.err >&5
15148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15149 (exit $ac_status); } && {
15150 test -z "$ac_c_werror_flag" ||
15151 test ! -s conftest.err
15152 } && test -s conftest$ac_exeext &&
15153 $as_test_x conftest$ac_exeext; then
15154 case "$LIBEXT" in
15155 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'` ;;
15156 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15157 esac
15158 if test "x$ac_cv_lib_soname_jack" = "x"
15159 then
15160 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15162 else
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.$ac_ext >&5
15166 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15170 conftest$ac_exeext conftest.$ac_ext
15171 LIBS=$ac_get_soname_save_LIBS
15173 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15174 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15175 if test "${ac_cv_lib_soname_jack+set}" = set; then
15177 cat >>confdefs.h <<_ACEOF
15178 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15179 _ACEOF
15183 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15184 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15185 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15186 echo $ECHO_N "(cached) $ECHO_C" >&6
15187 else
15188 ac_get_soname_save_LIBS=$LIBS
15189 LIBS="-lfontconfig $LIBS"
15190 cat >conftest.$ac_ext <<_ACEOF
15191 /* confdefs.h. */
15192 _ACEOF
15193 cat confdefs.h >>conftest.$ac_ext
15194 cat >>conftest.$ac_ext <<_ACEOF
15195 /* end confdefs.h. */
15197 /* Override any GCC internal prototype to avoid an error.
15198 Use char because int might match the return type of a GCC
15199 builtin and then its argument prototype would still apply. */
15200 #ifdef __cplusplus
15201 extern "C"
15202 #endif
15203 char FcInit ();
15205 main ()
15207 return FcInit ();
15209 return 0;
15211 _ACEOF
15212 rm -f conftest.$ac_objext conftest$ac_exeext
15213 if { (ac_try="$ac_link"
15214 case "(($ac_try" in
15215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15216 *) ac_try_echo=$ac_try;;
15217 esac
15218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15219 (eval "$ac_link") 2>conftest.er1
15220 ac_status=$?
15221 grep -v '^ *+' conftest.er1 >conftest.err
15222 rm -f conftest.er1
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } && {
15226 test -z "$ac_c_werror_flag" ||
15227 test ! -s conftest.err
15228 } && test -s conftest$ac_exeext &&
15229 $as_test_x conftest$ac_exeext; then
15230 case "$LIBEXT" in
15231 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'` ;;
15232 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15233 esac
15234 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15235 then
15236 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15238 else
15239 echo "$as_me: failed program was:" >&5
15240 sed 's/^/| /' conftest.$ac_ext >&5
15242 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15246 conftest$ac_exeext conftest.$ac_ext
15247 LIBS=$ac_get_soname_save_LIBS
15249 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15250 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15251 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15253 cat >>confdefs.h <<_ACEOF
15254 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15255 _ACEOF
15259 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15260 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15261 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15263 else
15264 ac_get_soname_save_LIBS=$LIBS
15265 LIBS="-lssl $LIBS"
15266 cat >conftest.$ac_ext <<_ACEOF
15267 /* confdefs.h. */
15268 _ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15273 /* Override any GCC internal prototype to avoid an error.
15274 Use char because int might match the return type of a GCC
15275 builtin and then its argument prototype would still apply. */
15276 #ifdef __cplusplus
15277 extern "C"
15278 #endif
15279 char SSL_library_init ();
15281 main ()
15283 return SSL_library_init ();
15285 return 0;
15287 _ACEOF
15288 rm -f conftest.$ac_objext conftest$ac_exeext
15289 if { (ac_try="$ac_link"
15290 case "(($ac_try" in
15291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15292 *) ac_try_echo=$ac_try;;
15293 esac
15294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15295 (eval "$ac_link") 2>conftest.er1
15296 ac_status=$?
15297 grep -v '^ *+' conftest.er1 >conftest.err
15298 rm -f conftest.er1
15299 cat conftest.err >&5
15300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15301 (exit $ac_status); } && {
15302 test -z "$ac_c_werror_flag" ||
15303 test ! -s conftest.err
15304 } && test -s conftest$ac_exeext &&
15305 $as_test_x conftest$ac_exeext; then
15306 case "$LIBEXT" in
15307 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'` ;;
15308 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15309 esac
15310 if test "x$ac_cv_lib_soname_ssl" = "x"
15311 then
15312 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15314 else
15315 echo "$as_me: failed program was:" >&5
15316 sed 's/^/| /' conftest.$ac_ext >&5
15318 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15322 conftest$ac_exeext conftest.$ac_ext
15323 LIBS=$ac_get_soname_save_LIBS
15325 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15326 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15327 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15329 cat >>confdefs.h <<_ACEOF
15330 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15331 _ACEOF
15335 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15336 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15337 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 else
15340 ac_get_soname_save_LIBS=$LIBS
15341 LIBS="-lcrypto $LIBS"
15342 cat >conftest.$ac_ext <<_ACEOF
15343 /* confdefs.h. */
15344 _ACEOF
15345 cat confdefs.h >>conftest.$ac_ext
15346 cat >>conftest.$ac_ext <<_ACEOF
15347 /* end confdefs.h. */
15349 /* Override any GCC internal prototype to avoid an error.
15350 Use char because int might match the return type of a GCC
15351 builtin and then its argument prototype would still apply. */
15352 #ifdef __cplusplus
15353 extern "C"
15354 #endif
15355 char BIO_new_socket ();
15357 main ()
15359 return BIO_new_socket ();
15361 return 0;
15363 _ACEOF
15364 rm -f conftest.$ac_objext conftest$ac_exeext
15365 if { (ac_try="$ac_link"
15366 case "(($ac_try" in
15367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15368 *) ac_try_echo=$ac_try;;
15369 esac
15370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15371 (eval "$ac_link") 2>conftest.er1
15372 ac_status=$?
15373 grep -v '^ *+' conftest.er1 >conftest.err
15374 rm -f conftest.er1
15375 cat conftest.err >&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } && {
15378 test -z "$ac_c_werror_flag" ||
15379 test ! -s conftest.err
15380 } && test -s conftest$ac_exeext &&
15381 $as_test_x conftest$ac_exeext; then
15382 case "$LIBEXT" in
15383 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'` ;;
15384 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15385 esac
15386 if test "x$ac_cv_lib_soname_crypto" = "x"
15387 then
15388 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15390 else
15391 echo "$as_me: failed program was:" >&5
15392 sed 's/^/| /' conftest.$ac_ext >&5
15394 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15398 conftest$ac_exeext conftest.$ac_ext
15399 LIBS=$ac_get_soname_save_LIBS
15401 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15402 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15403 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15405 cat >>confdefs.h <<_ACEOF
15406 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15407 _ACEOF
15411 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15412 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15413 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15414 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 else
15416 ac_get_soname_save_LIBS=$LIBS
15417 LIBS="-lncurses $LIBS"
15418 cat >conftest.$ac_ext <<_ACEOF
15419 /* confdefs.h. */
15420 _ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15425 /* Override any GCC internal prototype to avoid an error.
15426 Use char because int might match the return type of a GCC
15427 builtin and then its argument prototype would still apply. */
15428 #ifdef __cplusplus
15429 extern "C"
15430 #endif
15431 char waddch ();
15433 main ()
15435 return waddch ();
15437 return 0;
15439 _ACEOF
15440 rm -f conftest.$ac_objext conftest$ac_exeext
15441 if { (ac_try="$ac_link"
15442 case "(($ac_try" in
15443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15444 *) ac_try_echo=$ac_try;;
15445 esac
15446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15447 (eval "$ac_link") 2>conftest.er1
15448 ac_status=$?
15449 grep -v '^ *+' conftest.er1 >conftest.err
15450 rm -f conftest.er1
15451 cat conftest.err >&5
15452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15453 (exit $ac_status); } && {
15454 test -z "$ac_c_werror_flag" ||
15455 test ! -s conftest.err
15456 } && test -s conftest$ac_exeext &&
15457 $as_test_x conftest$ac_exeext; then
15458 case "$LIBEXT" in
15459 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'` ;;
15460 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15461 esac
15462 if test "x$ac_cv_lib_soname_ncurses" = "x"
15463 then
15464 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15466 else
15467 echo "$as_me: failed program was:" >&5
15468 sed 's/^/| /' conftest.$ac_ext >&5
15470 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15474 conftest$ac_exeext conftest.$ac_ext
15475 LIBS=$ac_get_soname_save_LIBS
15477 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15478 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15479 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15481 cat >>confdefs.h <<_ACEOF
15482 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15483 _ACEOF
15487 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15488 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15489 if test "${ac_cv_lib_soname_curses+set}" = set; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 else
15492 ac_get_soname_save_LIBS=$LIBS
15493 LIBS="-lcurses $LIBS"
15494 cat >conftest.$ac_ext <<_ACEOF
15495 /* confdefs.h. */
15496 _ACEOF
15497 cat confdefs.h >>conftest.$ac_ext
15498 cat >>conftest.$ac_ext <<_ACEOF
15499 /* end confdefs.h. */
15501 /* Override any GCC internal prototype to avoid an error.
15502 Use char because int might match the return type of a GCC
15503 builtin and then its argument prototype would still apply. */
15504 #ifdef __cplusplus
15505 extern "C"
15506 #endif
15507 char waddch ();
15509 main ()
15511 return waddch ();
15513 return 0;
15515 _ACEOF
15516 rm -f conftest.$ac_objext conftest$ac_exeext
15517 if { (ac_try="$ac_link"
15518 case "(($ac_try" in
15519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15520 *) ac_try_echo=$ac_try;;
15521 esac
15522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15523 (eval "$ac_link") 2>conftest.er1
15524 ac_status=$?
15525 grep -v '^ *+' conftest.er1 >conftest.err
15526 rm -f conftest.er1
15527 cat conftest.err >&5
15528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15529 (exit $ac_status); } && {
15530 test -z "$ac_c_werror_flag" ||
15531 test ! -s conftest.err
15532 } && test -s conftest$ac_exeext &&
15533 $as_test_x conftest$ac_exeext; then
15534 case "$LIBEXT" in
15535 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'` ;;
15536 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15537 esac
15538 if test "x$ac_cv_lib_soname_curses" = "x"
15539 then
15540 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15542 else
15543 echo "$as_me: failed program was:" >&5
15544 sed 's/^/| /' conftest.$ac_ext >&5
15546 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15550 conftest$ac_exeext conftest.$ac_ext
15551 LIBS=$ac_get_soname_save_LIBS
15553 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15554 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15555 if test "${ac_cv_lib_soname_curses+set}" = set; then
15557 cat >>confdefs.h <<_ACEOF
15558 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15559 _ACEOF
15563 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15564 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15565 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15566 echo $ECHO_N "(cached) $ECHO_C" >&6
15567 else
15568 ac_get_soname_save_LIBS=$LIBS
15569 LIBS="-ljpeg $LIBS"
15570 cat >conftest.$ac_ext <<_ACEOF
15571 /* confdefs.h. */
15572 _ACEOF
15573 cat confdefs.h >>conftest.$ac_ext
15574 cat >>conftest.$ac_ext <<_ACEOF
15575 /* end confdefs.h. */
15577 /* Override any GCC internal prototype to avoid an error.
15578 Use char because int might match the return type of a GCC
15579 builtin and then its argument prototype would still apply. */
15580 #ifdef __cplusplus
15581 extern "C"
15582 #endif
15583 char jpeg_start_decompress ();
15585 main ()
15587 return jpeg_start_decompress ();
15589 return 0;
15591 _ACEOF
15592 rm -f conftest.$ac_objext conftest$ac_exeext
15593 if { (ac_try="$ac_link"
15594 case "(($ac_try" in
15595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15596 *) ac_try_echo=$ac_try;;
15597 esac
15598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15599 (eval "$ac_link") 2>conftest.er1
15600 ac_status=$?
15601 grep -v '^ *+' conftest.er1 >conftest.err
15602 rm -f conftest.er1
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } && {
15606 test -z "$ac_c_werror_flag" ||
15607 test ! -s conftest.err
15608 } && test -s conftest$ac_exeext &&
15609 $as_test_x conftest$ac_exeext; then
15610 case "$LIBEXT" in
15611 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'` ;;
15612 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15613 esac
15614 if test "x$ac_cv_lib_soname_jpeg" = "x"
15615 then
15616 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15618 else
15619 echo "$as_me: failed program was:" >&5
15620 sed 's/^/| /' conftest.$ac_ext >&5
15622 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15626 conftest$ac_exeext conftest.$ac_ext
15627 LIBS=$ac_get_soname_save_LIBS
15629 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15630 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15631 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15633 cat >>confdefs.h <<_ACEOF
15634 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15635 _ACEOF
15639 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15640 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15641 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15642 echo $ECHO_N "(cached) $ECHO_C" >&6
15643 else
15644 ac_get_soname_save_LIBS=$LIBS
15645 LIBS="-lcapi20 $LIBS"
15646 cat >conftest.$ac_ext <<_ACEOF
15647 /* confdefs.h. */
15648 _ACEOF
15649 cat confdefs.h >>conftest.$ac_ext
15650 cat >>conftest.$ac_ext <<_ACEOF
15651 /* end confdefs.h. */
15653 /* Override any GCC internal prototype to avoid an error.
15654 Use char because int might match the return type of a GCC
15655 builtin and then its argument prototype would still apply. */
15656 #ifdef __cplusplus
15657 extern "C"
15658 #endif
15659 char capi20_isinstalled ();
15661 main ()
15663 return capi20_isinstalled ();
15665 return 0;
15667 _ACEOF
15668 rm -f conftest.$ac_objext conftest$ac_exeext
15669 if { (ac_try="$ac_link"
15670 case "(($ac_try" in
15671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15672 *) ac_try_echo=$ac_try;;
15673 esac
15674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15675 (eval "$ac_link") 2>conftest.er1
15676 ac_status=$?
15677 grep -v '^ *+' conftest.er1 >conftest.err
15678 rm -f conftest.er1
15679 cat conftest.err >&5
15680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15681 (exit $ac_status); } && {
15682 test -z "$ac_c_werror_flag" ||
15683 test ! -s conftest.err
15684 } && test -s conftest$ac_exeext &&
15685 $as_test_x conftest$ac_exeext; then
15686 case "$LIBEXT" in
15687 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'` ;;
15688 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15689 esac
15690 if test "x$ac_cv_lib_soname_capi20" = "x"
15691 then
15692 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15694 else
15695 echo "$as_me: failed program was:" >&5
15696 sed 's/^/| /' conftest.$ac_ext >&5
15698 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15701 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15702 conftest$ac_exeext conftest.$ac_ext
15703 LIBS=$ac_get_soname_save_LIBS
15705 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15706 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15707 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15709 cat >>confdefs.h <<_ACEOF
15710 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15711 _ACEOF
15715 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15716 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15717 if test "${ac_cv_lib_soname_sane+set}" = set; then
15718 echo $ECHO_N "(cached) $ECHO_C" >&6
15719 else
15720 ac_get_soname_save_LIBS=$LIBS
15721 LIBS="-lsane $LIBS"
15722 cat >conftest.$ac_ext <<_ACEOF
15723 /* confdefs.h. */
15724 _ACEOF
15725 cat confdefs.h >>conftest.$ac_ext
15726 cat >>conftest.$ac_ext <<_ACEOF
15727 /* end confdefs.h. */
15729 /* Override any GCC internal prototype to avoid an error.
15730 Use char because int might match the return type of a GCC
15731 builtin and then its argument prototype would still apply. */
15732 #ifdef __cplusplus
15733 extern "C"
15734 #endif
15735 char sane_init ();
15737 main ()
15739 return sane_init ();
15741 return 0;
15743 _ACEOF
15744 rm -f conftest.$ac_objext conftest$ac_exeext
15745 if { (ac_try="$ac_link"
15746 case "(($ac_try" in
15747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15748 *) ac_try_echo=$ac_try;;
15749 esac
15750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15751 (eval "$ac_link") 2>conftest.er1
15752 ac_status=$?
15753 grep -v '^ *+' conftest.er1 >conftest.err
15754 rm -f conftest.er1
15755 cat conftest.err >&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); } && {
15758 test -z "$ac_c_werror_flag" ||
15759 test ! -s conftest.err
15760 } && test -s conftest$ac_exeext &&
15761 $as_test_x conftest$ac_exeext; then
15762 case "$LIBEXT" in
15763 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep libsane\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15764 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15765 esac
15766 if test "x$ac_cv_lib_soname_sane" = "x"
15767 then
15768 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15770 else
15771 echo "$as_me: failed program was:" >&5
15772 sed 's/^/| /' conftest.$ac_ext >&5
15774 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15777 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15778 conftest$ac_exeext conftest.$ac_ext
15779 LIBS=$ac_get_soname_save_LIBS
15781 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15782 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15783 if test "${ac_cv_lib_soname_sane+set}" = set; then
15785 cat >>confdefs.h <<_ACEOF
15786 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15787 _ACEOF
15866 for ac_func in \
15867 _pclose \
15868 _popen \
15869 _snprintf \
15870 _spawnvp \
15871 _stricmp \
15872 _strnicmp \
15873 _vsnprintf \
15874 asctime_r \
15875 chsize \
15876 clone \
15877 connect \
15878 dlopen \
15879 epoll_create \
15880 ffs \
15881 finite \
15882 fork \
15883 fpclass \
15884 fstatfs \
15885 fstatvfs \
15886 ftruncate \
15887 futimes \
15888 futimesat \
15889 getaddrinfo \
15890 getdirentries \
15891 gethostbyname \
15892 getnameinfo \
15893 getnetbyname \
15894 getopt_long \
15895 getpagesize \
15896 getprotobyname \
15897 getprotobynumber \
15898 getpwuid \
15899 getservbyport \
15900 gettid \
15901 gettimeofday \
15902 getuid \
15903 inet_aton \
15904 inet_network \
15905 kqueue \
15906 lstat \
15907 memmove \
15908 mmap \
15909 pclose \
15910 poll \
15911 popen \
15912 prctl \
15913 pread \
15914 pwrite \
15915 readlink \
15916 rfork \
15917 sched_yield \
15918 select \
15919 sendmsg \
15920 setrlimit \
15921 settimeofday \
15922 sigaltstack \
15923 sigprocmask \
15924 snprintf \
15925 spawnvp \
15926 statfs \
15927 statvfs \
15928 strcasecmp \
15929 strerror \
15930 strncasecmp \
15931 strtold \
15932 tcgetattr \
15933 timegm \
15934 usleep \
15935 vsnprintf \
15936 wait4 \
15937 waitpid \
15940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15944 echo $ECHO_N "(cached) $ECHO_C" >&6
15945 else
15946 cat >conftest.$ac_ext <<_ACEOF
15947 /* confdefs.h. */
15948 _ACEOF
15949 cat confdefs.h >>conftest.$ac_ext
15950 cat >>conftest.$ac_ext <<_ACEOF
15951 /* end confdefs.h. */
15952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15954 #define $ac_func innocuous_$ac_func
15956 /* System header to define __stub macros and hopefully few prototypes,
15957 which can conflict with char $ac_func (); below.
15958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15959 <limits.h> exists even on freestanding compilers. */
15961 #ifdef __STDC__
15962 # include <limits.h>
15963 #else
15964 # include <assert.h>
15965 #endif
15967 #undef $ac_func
15969 /* Override any GCC internal prototype to avoid an error.
15970 Use char because int might match the return type of a GCC
15971 builtin and then its argument prototype would still apply. */
15972 #ifdef __cplusplus
15973 extern "C"
15974 #endif
15975 char $ac_func ();
15976 /* The GNU C library defines this for functions which it implements
15977 to always fail with ENOSYS. Some functions are actually named
15978 something starting with __ and the normal name is an alias. */
15979 #if defined __stub_$ac_func || defined __stub___$ac_func
15980 choke me
15981 #endif
15984 main ()
15986 return $ac_func ();
15988 return 0;
15990 _ACEOF
15991 rm -f conftest.$ac_objext conftest$ac_exeext
15992 if { (ac_try="$ac_link"
15993 case "(($ac_try" in
15994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15995 *) ac_try_echo=$ac_try;;
15996 esac
15997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15998 (eval "$ac_link") 2>conftest.er1
15999 ac_status=$?
16000 grep -v '^ *+' conftest.er1 >conftest.err
16001 rm -f conftest.er1
16002 cat conftest.err >&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); } && {
16005 test -z "$ac_c_werror_flag" ||
16006 test ! -s conftest.err
16007 } && test -s conftest$ac_exeext &&
16008 $as_test_x conftest$ac_exeext; then
16009 eval "$as_ac_var=yes"
16010 else
16011 echo "$as_me: failed program was:" >&5
16012 sed 's/^/| /' conftest.$ac_ext >&5
16014 eval "$as_ac_var=no"
16017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16018 conftest$ac_exeext conftest.$ac_ext
16020 ac_res=`eval echo '${'$as_ac_var'}'`
16021 { echo "$as_me:$LINENO: result: $ac_res" >&5
16022 echo "${ECHO_T}$ac_res" >&6; }
16023 if test `eval echo '${'$as_ac_var'}'` = yes; then
16024 cat >>confdefs.h <<_ACEOF
16025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16026 _ACEOF
16029 done
16032 if test "$ac_cv_func_dlopen" = no
16033 then
16034 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16035 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16036 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16037 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 else
16039 ac_check_lib_save_LIBS=$LIBS
16040 LIBS="-ldl $LIBS"
16041 cat >conftest.$ac_ext <<_ACEOF
16042 /* confdefs.h. */
16043 _ACEOF
16044 cat confdefs.h >>conftest.$ac_ext
16045 cat >>conftest.$ac_ext <<_ACEOF
16046 /* end confdefs.h. */
16048 /* Override any GCC internal prototype to avoid an error.
16049 Use char because int might match the return type of a GCC
16050 builtin and then its argument prototype would still apply. */
16051 #ifdef __cplusplus
16052 extern "C"
16053 #endif
16054 char dlopen ();
16056 main ()
16058 return dlopen ();
16060 return 0;
16062 _ACEOF
16063 rm -f conftest.$ac_objext conftest$ac_exeext
16064 if { (ac_try="$ac_link"
16065 case "(($ac_try" in
16066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16067 *) ac_try_echo=$ac_try;;
16068 esac
16069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16070 (eval "$ac_link") 2>conftest.er1
16071 ac_status=$?
16072 grep -v '^ *+' conftest.er1 >conftest.err
16073 rm -f conftest.er1
16074 cat conftest.err >&5
16075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16076 (exit $ac_status); } && {
16077 test -z "$ac_c_werror_flag" ||
16078 test ! -s conftest.err
16079 } && test -s conftest$ac_exeext &&
16080 $as_test_x conftest$ac_exeext; then
16081 ac_cv_lib_dl_dlopen=yes
16082 else
16083 echo "$as_me: failed program was:" >&5
16084 sed 's/^/| /' conftest.$ac_ext >&5
16086 ac_cv_lib_dl_dlopen=no
16089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16090 conftest$ac_exeext conftest.$ac_ext
16091 LIBS=$ac_check_lib_save_LIBS
16093 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16094 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16095 if test $ac_cv_lib_dl_dlopen = yes; then
16096 cat >>confdefs.h <<\_ACEOF
16097 #define HAVE_DLOPEN 1
16098 _ACEOF
16099 LIBDL="-ldl"
16104 ac_wine_check_funcs_save_LIBS="$LIBS"
16105 LIBS="$LIBS $LIBDL"
16107 for ac_func in dladdr
16109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16110 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16112 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16113 echo $ECHO_N "(cached) $ECHO_C" >&6
16114 else
16115 cat >conftest.$ac_ext <<_ACEOF
16116 /* confdefs.h. */
16117 _ACEOF
16118 cat confdefs.h >>conftest.$ac_ext
16119 cat >>conftest.$ac_ext <<_ACEOF
16120 /* end confdefs.h. */
16121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16123 #define $ac_func innocuous_$ac_func
16125 /* System header to define __stub macros and hopefully few prototypes,
16126 which can conflict with char $ac_func (); below.
16127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16128 <limits.h> exists even on freestanding compilers. */
16130 #ifdef __STDC__
16131 # include <limits.h>
16132 #else
16133 # include <assert.h>
16134 #endif
16136 #undef $ac_func
16138 /* Override any GCC internal prototype to avoid an error.
16139 Use char because int might match the return type of a GCC
16140 builtin and then its argument prototype would still apply. */
16141 #ifdef __cplusplus
16142 extern "C"
16143 #endif
16144 char $ac_func ();
16145 /* The GNU C library defines this for functions which it implements
16146 to always fail with ENOSYS. Some functions are actually named
16147 something starting with __ and the normal name is an alias. */
16148 #if defined __stub_$ac_func || defined __stub___$ac_func
16149 choke me
16150 #endif
16153 main ()
16155 return $ac_func ();
16157 return 0;
16159 _ACEOF
16160 rm -f conftest.$ac_objext conftest$ac_exeext
16161 if { (ac_try="$ac_link"
16162 case "(($ac_try" in
16163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16164 *) ac_try_echo=$ac_try;;
16165 esac
16166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16167 (eval "$ac_link") 2>conftest.er1
16168 ac_status=$?
16169 grep -v '^ *+' conftest.er1 >conftest.err
16170 rm -f conftest.er1
16171 cat conftest.err >&5
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); } && {
16174 test -z "$ac_c_werror_flag" ||
16175 test ! -s conftest.err
16176 } && test -s conftest$ac_exeext &&
16177 $as_test_x conftest$ac_exeext; then
16178 eval "$as_ac_var=yes"
16179 else
16180 echo "$as_me: failed program was:" >&5
16181 sed 's/^/| /' conftest.$ac_ext >&5
16183 eval "$as_ac_var=no"
16186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16187 conftest$ac_exeext conftest.$ac_ext
16189 ac_res=`eval echo '${'$as_ac_var'}'`
16190 { echo "$as_me:$LINENO: result: $ac_res" >&5
16191 echo "${ECHO_T}$ac_res" >&6; }
16192 if test `eval echo '${'$as_ac_var'}'` = yes; then
16193 cat >>confdefs.h <<_ACEOF
16194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16195 _ACEOF
16198 done
16200 LIBS="$ac_wine_check_funcs_save_LIBS"
16202 if test "$ac_cv_func_poll" = no
16203 then
16204 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16205 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16206 if test "${ac_cv_lib_poll_poll+set}" = set; then
16207 echo $ECHO_N "(cached) $ECHO_C" >&6
16208 else
16209 ac_check_lib_save_LIBS=$LIBS
16210 LIBS="-lpoll $LIBS"
16211 cat >conftest.$ac_ext <<_ACEOF
16212 /* confdefs.h. */
16213 _ACEOF
16214 cat confdefs.h >>conftest.$ac_ext
16215 cat >>conftest.$ac_ext <<_ACEOF
16216 /* end confdefs.h. */
16218 /* Override any GCC internal prototype to avoid an error.
16219 Use char because int might match the return type of a GCC
16220 builtin and then its argument prototype would still apply. */
16221 #ifdef __cplusplus
16222 extern "C"
16223 #endif
16224 char poll ();
16226 main ()
16228 return poll ();
16230 return 0;
16232 _ACEOF
16233 rm -f conftest.$ac_objext conftest$ac_exeext
16234 if { (ac_try="$ac_link"
16235 case "(($ac_try" in
16236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16237 *) ac_try_echo=$ac_try;;
16238 esac
16239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16240 (eval "$ac_link") 2>conftest.er1
16241 ac_status=$?
16242 grep -v '^ *+' conftest.er1 >conftest.err
16243 rm -f conftest.er1
16244 cat conftest.err >&5
16245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16246 (exit $ac_status); } && {
16247 test -z "$ac_c_werror_flag" ||
16248 test ! -s conftest.err
16249 } && test -s conftest$ac_exeext &&
16250 $as_test_x conftest$ac_exeext; then
16251 ac_cv_lib_poll_poll=yes
16252 else
16253 echo "$as_me: failed program was:" >&5
16254 sed 's/^/| /' conftest.$ac_ext >&5
16256 ac_cv_lib_poll_poll=no
16259 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16260 conftest$ac_exeext conftest.$ac_ext
16261 LIBS=$ac_check_lib_save_LIBS
16263 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16264 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16265 if test $ac_cv_lib_poll_poll = yes; then
16266 cat >>confdefs.h <<\_ACEOF
16267 #define HAVE_POLL 1
16268 _ACEOF
16269 LIBPOLL="-lpoll"
16275 if test "$ac_cv_func_gethostbyname" = no
16276 then
16278 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16279 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16280 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16281 echo $ECHO_N "(cached) $ECHO_C" >&6
16282 else
16283 ac_check_lib_save_LIBS=$LIBS
16284 LIBS="-lnsl $LIBS"
16285 cat >conftest.$ac_ext <<_ACEOF
16286 /* confdefs.h. */
16287 _ACEOF
16288 cat confdefs.h >>conftest.$ac_ext
16289 cat >>conftest.$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16292 /* Override any GCC internal prototype to avoid an error.
16293 Use char because int might match the return type of a GCC
16294 builtin and then its argument prototype would still apply. */
16295 #ifdef __cplusplus
16296 extern "C"
16297 #endif
16298 char gethostbyname ();
16300 main ()
16302 return gethostbyname ();
16304 return 0;
16306 _ACEOF
16307 rm -f conftest.$ac_objext conftest$ac_exeext
16308 if { (ac_try="$ac_link"
16309 case "(($ac_try" in
16310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16311 *) ac_try_echo=$ac_try;;
16312 esac
16313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16314 (eval "$ac_link") 2>conftest.er1
16315 ac_status=$?
16316 grep -v '^ *+' conftest.er1 >conftest.err
16317 rm -f conftest.er1
16318 cat conftest.err >&5
16319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16320 (exit $ac_status); } && {
16321 test -z "$ac_c_werror_flag" ||
16322 test ! -s conftest.err
16323 } && test -s conftest$ac_exeext &&
16324 $as_test_x conftest$ac_exeext; then
16325 ac_cv_lib_nsl_gethostbyname=yes
16326 else
16327 echo "$as_me: failed program was:" >&5
16328 sed 's/^/| /' conftest.$ac_ext >&5
16330 ac_cv_lib_nsl_gethostbyname=no
16333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16334 conftest$ac_exeext conftest.$ac_ext
16335 LIBS=$ac_check_lib_save_LIBS
16337 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16338 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16339 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16340 cat >>confdefs.h <<_ACEOF
16341 #define HAVE_LIBNSL 1
16342 _ACEOF
16344 LIBS="-lnsl $LIBS"
16350 if test "$ac_cv_func_connect" = no
16351 then
16353 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16354 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16355 if test "${ac_cv_lib_socket_connect+set}" = set; then
16356 echo $ECHO_N "(cached) $ECHO_C" >&6
16357 else
16358 ac_check_lib_save_LIBS=$LIBS
16359 LIBS="-lsocket $LIBS"
16360 cat >conftest.$ac_ext <<_ACEOF
16361 /* confdefs.h. */
16362 _ACEOF
16363 cat confdefs.h >>conftest.$ac_ext
16364 cat >>conftest.$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16367 /* Override any GCC internal prototype to avoid an error.
16368 Use char because int might match the return type of a GCC
16369 builtin and then its argument prototype would still apply. */
16370 #ifdef __cplusplus
16371 extern "C"
16372 #endif
16373 char connect ();
16375 main ()
16377 return connect ();
16379 return 0;
16381 _ACEOF
16382 rm -f conftest.$ac_objext conftest$ac_exeext
16383 if { (ac_try="$ac_link"
16384 case "(($ac_try" in
16385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16386 *) ac_try_echo=$ac_try;;
16387 esac
16388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16389 (eval "$ac_link") 2>conftest.er1
16390 ac_status=$?
16391 grep -v '^ *+' conftest.er1 >conftest.err
16392 rm -f conftest.er1
16393 cat conftest.err >&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); } && {
16396 test -z "$ac_c_werror_flag" ||
16397 test ! -s conftest.err
16398 } && test -s conftest$ac_exeext &&
16399 $as_test_x conftest$ac_exeext; then
16400 ac_cv_lib_socket_connect=yes
16401 else
16402 echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16405 ac_cv_lib_socket_connect=no
16408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16409 conftest$ac_exeext conftest.$ac_ext
16410 LIBS=$ac_check_lib_save_LIBS
16412 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16413 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16414 if test $ac_cv_lib_socket_connect = yes; then
16415 cat >>confdefs.h <<_ACEOF
16416 #define HAVE_LIBSOCKET 1
16417 _ACEOF
16419 LIBS="-lsocket $LIBS"
16425 if test "$ac_cv_func_inet_aton" = no
16426 then
16428 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16429 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16430 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16431 echo $ECHO_N "(cached) $ECHO_C" >&6
16432 else
16433 ac_check_lib_save_LIBS=$LIBS
16434 LIBS="-lresolv $LIBS"
16435 cat >conftest.$ac_ext <<_ACEOF
16436 /* confdefs.h. */
16437 _ACEOF
16438 cat confdefs.h >>conftest.$ac_ext
16439 cat >>conftest.$ac_ext <<_ACEOF
16440 /* end confdefs.h. */
16442 /* Override any GCC internal prototype to avoid an error.
16443 Use char because int might match the return type of a GCC
16444 builtin and then its argument prototype would still apply. */
16445 #ifdef __cplusplus
16446 extern "C"
16447 #endif
16448 char inet_aton ();
16450 main ()
16452 return inet_aton ();
16454 return 0;
16456 _ACEOF
16457 rm -f conftest.$ac_objext conftest$ac_exeext
16458 if { (ac_try="$ac_link"
16459 case "(($ac_try" in
16460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16461 *) ac_try_echo=$ac_try;;
16462 esac
16463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16464 (eval "$ac_link") 2>conftest.er1
16465 ac_status=$?
16466 grep -v '^ *+' conftest.er1 >conftest.err
16467 rm -f conftest.er1
16468 cat conftest.err >&5
16469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16470 (exit $ac_status); } && {
16471 test -z "$ac_c_werror_flag" ||
16472 test ! -s conftest.err
16473 } && test -s conftest$ac_exeext &&
16474 $as_test_x conftest$ac_exeext; then
16475 ac_cv_lib_resolv_inet_aton=yes
16476 else
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16480 ac_cv_lib_resolv_inet_aton=no
16483 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16484 conftest$ac_exeext conftest.$ac_ext
16485 LIBS=$ac_check_lib_save_LIBS
16487 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16488 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16489 if test $ac_cv_lib_resolv_inet_aton = yes; then
16490 cat >>confdefs.h <<_ACEOF
16491 #define HAVE_LIBRESOLV 1
16492 _ACEOF
16494 LIBS="-lresolv $LIBS"
16501 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16502 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16503 if test "${ac_cv_c_const+set}" = set; then
16504 echo $ECHO_N "(cached) $ECHO_C" >&6
16505 else
16506 cat >conftest.$ac_ext <<_ACEOF
16507 /* confdefs.h. */
16508 _ACEOF
16509 cat confdefs.h >>conftest.$ac_ext
16510 cat >>conftest.$ac_ext <<_ACEOF
16511 /* end confdefs.h. */
16514 main ()
16516 /* FIXME: Include the comments suggested by Paul. */
16517 #ifndef __cplusplus
16518 /* Ultrix mips cc rejects this. */
16519 typedef int charset[2];
16520 const charset cs;
16521 /* SunOS 4.1.1 cc rejects this. */
16522 char const *const *pcpcc;
16523 char **ppc;
16524 /* NEC SVR4.0.2 mips cc rejects this. */
16525 struct point {int x, y;};
16526 static struct point const zero = {0,0};
16527 /* AIX XL C 1.02.0.0 rejects this.
16528 It does not let you subtract one const X* pointer from another in
16529 an arm of an if-expression whose if-part is not a constant
16530 expression */
16531 const char *g = "string";
16532 pcpcc = &g + (g ? g-g : 0);
16533 /* HPUX 7.0 cc rejects these. */
16534 ++pcpcc;
16535 ppc = (char**) pcpcc;
16536 pcpcc = (char const *const *) ppc;
16537 { /* SCO 3.2v4 cc rejects this. */
16538 char *t;
16539 char const *s = 0 ? (char *) 0 : (char const *) 0;
16541 *t++ = 0;
16542 if (s) return 0;
16544 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16545 int x[] = {25, 17};
16546 const int *foo = &x[0];
16547 ++foo;
16549 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16550 typedef const int *iptr;
16551 iptr p = 0;
16552 ++p;
16554 { /* AIX XL C 1.02.0.0 rejects this saying
16555 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16556 struct s { int j; const int *ap[3]; };
16557 struct s *b; b->j = 5;
16559 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16560 const int foo = 10;
16561 if (!foo) return 0;
16563 return !cs[0] && !zero.x;
16564 #endif
16567 return 0;
16569 _ACEOF
16570 rm -f conftest.$ac_objext
16571 if { (ac_try="$ac_compile"
16572 case "(($ac_try" in
16573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16574 *) ac_try_echo=$ac_try;;
16575 esac
16576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16577 (eval "$ac_compile") 2>conftest.er1
16578 ac_status=$?
16579 grep -v '^ *+' conftest.er1 >conftest.err
16580 rm -f conftest.er1
16581 cat conftest.err >&5
16582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16583 (exit $ac_status); } && {
16584 test -z "$ac_c_werror_flag" ||
16585 test ! -s conftest.err
16586 } && test -s conftest.$ac_objext; then
16587 ac_cv_c_const=yes
16588 else
16589 echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.$ac_ext >&5
16592 ac_cv_c_const=no
16595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16598 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16599 if test $ac_cv_c_const = no; then
16601 cat >>confdefs.h <<\_ACEOF
16602 #define const
16603 _ACEOF
16607 { echo "$as_me:$LINENO: checking for inline" >&5
16608 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16609 if test "${ac_cv_c_inline+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16611 else
16612 ac_cv_c_inline=no
16613 for ac_kw in inline __inline__ __inline; do
16614 cat >conftest.$ac_ext <<_ACEOF
16615 /* confdefs.h. */
16616 _ACEOF
16617 cat confdefs.h >>conftest.$ac_ext
16618 cat >>conftest.$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16620 #ifndef __cplusplus
16621 typedef int foo_t;
16622 static $ac_kw foo_t static_foo () {return 0; }
16623 $ac_kw foo_t foo () {return 0; }
16624 #endif
16626 _ACEOF
16627 rm -f conftest.$ac_objext
16628 if { (ac_try="$ac_compile"
16629 case "(($ac_try" in
16630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16631 *) ac_try_echo=$ac_try;;
16632 esac
16633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16634 (eval "$ac_compile") 2>conftest.er1
16635 ac_status=$?
16636 grep -v '^ *+' conftest.er1 >conftest.err
16637 rm -f conftest.er1
16638 cat conftest.err >&5
16639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16640 (exit $ac_status); } && {
16641 test -z "$ac_c_werror_flag" ||
16642 test ! -s conftest.err
16643 } && test -s conftest.$ac_objext; then
16644 ac_cv_c_inline=$ac_kw
16645 else
16646 echo "$as_me: failed program was:" >&5
16647 sed 's/^/| /' conftest.$ac_ext >&5
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 test "$ac_cv_c_inline" != no && break
16654 done
16657 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16658 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16661 case $ac_cv_c_inline in
16662 inline | yes) ;;
16664 case $ac_cv_c_inline in
16665 no) ac_val=;;
16666 *) ac_val=$ac_cv_c_inline;;
16667 esac
16668 cat >>confdefs.h <<_ACEOF
16669 #ifndef __cplusplus
16670 #define inline $ac_val
16671 #endif
16672 _ACEOF
16674 esac
16676 { echo "$as_me:$LINENO: checking for mode_t" >&5
16677 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16678 if test "${ac_cv_type_mode_t+set}" = set; then
16679 echo $ECHO_N "(cached) $ECHO_C" >&6
16680 else
16681 cat >conftest.$ac_ext <<_ACEOF
16682 /* confdefs.h. */
16683 _ACEOF
16684 cat confdefs.h >>conftest.$ac_ext
16685 cat >>conftest.$ac_ext <<_ACEOF
16686 /* end confdefs.h. */
16687 $ac_includes_default
16688 typedef mode_t ac__type_new_;
16690 main ()
16692 if ((ac__type_new_ *) 0)
16693 return 0;
16694 if (sizeof (ac__type_new_))
16695 return 0;
16697 return 0;
16699 _ACEOF
16700 rm -f conftest.$ac_objext
16701 if { (ac_try="$ac_compile"
16702 case "(($ac_try" in
16703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16704 *) ac_try_echo=$ac_try;;
16705 esac
16706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16707 (eval "$ac_compile") 2>conftest.er1
16708 ac_status=$?
16709 grep -v '^ *+' conftest.er1 >conftest.err
16710 rm -f conftest.er1
16711 cat conftest.err >&5
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); } && {
16714 test -z "$ac_c_werror_flag" ||
16715 test ! -s conftest.err
16716 } && test -s conftest.$ac_objext; then
16717 ac_cv_type_mode_t=yes
16718 else
16719 echo "$as_me: failed program was:" >&5
16720 sed 's/^/| /' conftest.$ac_ext >&5
16722 ac_cv_type_mode_t=no
16725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16727 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16728 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16729 if test $ac_cv_type_mode_t = yes; then
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_MODE_T 1
16733 _ACEOF
16737 { echo "$as_me:$LINENO: checking for off_t" >&5
16738 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16739 if test "${ac_cv_type_off_t+set}" = set; then
16740 echo $ECHO_N "(cached) $ECHO_C" >&6
16741 else
16742 cat >conftest.$ac_ext <<_ACEOF
16743 /* confdefs.h. */
16744 _ACEOF
16745 cat confdefs.h >>conftest.$ac_ext
16746 cat >>conftest.$ac_ext <<_ACEOF
16747 /* end confdefs.h. */
16748 $ac_includes_default
16749 typedef off_t ac__type_new_;
16751 main ()
16753 if ((ac__type_new_ *) 0)
16754 return 0;
16755 if (sizeof (ac__type_new_))
16756 return 0;
16758 return 0;
16760 _ACEOF
16761 rm -f conftest.$ac_objext
16762 if { (ac_try="$ac_compile"
16763 case "(($ac_try" in
16764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16765 *) ac_try_echo=$ac_try;;
16766 esac
16767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16768 (eval "$ac_compile") 2>conftest.er1
16769 ac_status=$?
16770 grep -v '^ *+' conftest.er1 >conftest.err
16771 rm -f conftest.er1
16772 cat conftest.err >&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && {
16775 test -z "$ac_c_werror_flag" ||
16776 test ! -s conftest.err
16777 } && test -s conftest.$ac_objext; then
16778 ac_cv_type_off_t=yes
16779 else
16780 echo "$as_me: failed program was:" >&5
16781 sed 's/^/| /' conftest.$ac_ext >&5
16783 ac_cv_type_off_t=no
16786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16788 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16789 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16790 if test $ac_cv_type_off_t = yes; then
16792 cat >>confdefs.h <<_ACEOF
16793 #define HAVE_OFF_T 1
16794 _ACEOF
16798 { echo "$as_me:$LINENO: checking for pid_t" >&5
16799 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16800 if test "${ac_cv_type_pid_t+set}" = set; then
16801 echo $ECHO_N "(cached) $ECHO_C" >&6
16802 else
16803 cat >conftest.$ac_ext <<_ACEOF
16804 /* confdefs.h. */
16805 _ACEOF
16806 cat confdefs.h >>conftest.$ac_ext
16807 cat >>conftest.$ac_ext <<_ACEOF
16808 /* end confdefs.h. */
16809 $ac_includes_default
16810 typedef pid_t ac__type_new_;
16812 main ()
16814 if ((ac__type_new_ *) 0)
16815 return 0;
16816 if (sizeof (ac__type_new_))
16817 return 0;
16819 return 0;
16821 _ACEOF
16822 rm -f conftest.$ac_objext
16823 if { (ac_try="$ac_compile"
16824 case "(($ac_try" in
16825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16826 *) ac_try_echo=$ac_try;;
16827 esac
16828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16829 (eval "$ac_compile") 2>conftest.er1
16830 ac_status=$?
16831 grep -v '^ *+' conftest.er1 >conftest.err
16832 rm -f conftest.er1
16833 cat conftest.err >&5
16834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16835 (exit $ac_status); } && {
16836 test -z "$ac_c_werror_flag" ||
16837 test ! -s conftest.err
16838 } && test -s conftest.$ac_objext; then
16839 ac_cv_type_pid_t=yes
16840 else
16841 echo "$as_me: failed program was:" >&5
16842 sed 's/^/| /' conftest.$ac_ext >&5
16844 ac_cv_type_pid_t=no
16847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16849 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16850 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16851 if test $ac_cv_type_pid_t = yes; then
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_PID_T 1
16855 _ACEOF
16859 { echo "$as_me:$LINENO: checking for size_t" >&5
16860 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16861 if test "${ac_cv_type_size_t+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 else
16864 cat >conftest.$ac_ext <<_ACEOF
16865 /* confdefs.h. */
16866 _ACEOF
16867 cat confdefs.h >>conftest.$ac_ext
16868 cat >>conftest.$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 $ac_includes_default
16871 typedef size_t ac__type_new_;
16873 main ()
16875 if ((ac__type_new_ *) 0)
16876 return 0;
16877 if (sizeof (ac__type_new_))
16878 return 0;
16880 return 0;
16882 _ACEOF
16883 rm -f conftest.$ac_objext
16884 if { (ac_try="$ac_compile"
16885 case "(($ac_try" in
16886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16887 *) ac_try_echo=$ac_try;;
16888 esac
16889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16890 (eval "$ac_compile") 2>conftest.er1
16891 ac_status=$?
16892 grep -v '^ *+' conftest.er1 >conftest.err
16893 rm -f conftest.er1
16894 cat conftest.err >&5
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); } && {
16897 test -z "$ac_c_werror_flag" ||
16898 test ! -s conftest.err
16899 } && test -s conftest.$ac_objext; then
16900 ac_cv_type_size_t=yes
16901 else
16902 echo "$as_me: failed program was:" >&5
16903 sed 's/^/| /' conftest.$ac_ext >&5
16905 ac_cv_type_size_t=no
16908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16910 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16911 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16912 if test $ac_cv_type_size_t = yes; then
16914 cat >>confdefs.h <<_ACEOF
16915 #define HAVE_SIZE_T 1
16916 _ACEOF
16920 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16921 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16922 if test "${ac_cv_type_ssize_t+set}" = set; then
16923 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 else
16925 cat >conftest.$ac_ext <<_ACEOF
16926 /* confdefs.h. */
16927 _ACEOF
16928 cat confdefs.h >>conftest.$ac_ext
16929 cat >>conftest.$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 $ac_includes_default
16932 typedef ssize_t ac__type_new_;
16934 main ()
16936 if ((ac__type_new_ *) 0)
16937 return 0;
16938 if (sizeof (ac__type_new_))
16939 return 0;
16941 return 0;
16943 _ACEOF
16944 rm -f conftest.$ac_objext
16945 if { (ac_try="$ac_compile"
16946 case "(($ac_try" in
16947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16948 *) ac_try_echo=$ac_try;;
16949 esac
16950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16951 (eval "$ac_compile") 2>conftest.er1
16952 ac_status=$?
16953 grep -v '^ *+' conftest.er1 >conftest.err
16954 rm -f conftest.er1
16955 cat conftest.err >&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); } && {
16958 test -z "$ac_c_werror_flag" ||
16959 test ! -s conftest.err
16960 } && test -s conftest.$ac_objext; then
16961 ac_cv_type_ssize_t=yes
16962 else
16963 echo "$as_me: failed program was:" >&5
16964 sed 's/^/| /' conftest.$ac_ext >&5
16966 ac_cv_type_ssize_t=no
16969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16971 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16972 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16973 if test $ac_cv_type_ssize_t = yes; then
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_SSIZE_T 1
16977 _ACEOF
16981 { echo "$as_me:$LINENO: checking for long long" >&5
16982 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16983 if test "${ac_cv_type_long_long+set}" = set; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 else
16986 cat >conftest.$ac_ext <<_ACEOF
16987 /* confdefs.h. */
16988 _ACEOF
16989 cat confdefs.h >>conftest.$ac_ext
16990 cat >>conftest.$ac_ext <<_ACEOF
16991 /* end confdefs.h. */
16992 $ac_includes_default
16993 typedef long long ac__type_new_;
16995 main ()
16997 if ((ac__type_new_ *) 0)
16998 return 0;
16999 if (sizeof (ac__type_new_))
17000 return 0;
17002 return 0;
17004 _ACEOF
17005 rm -f conftest.$ac_objext
17006 if { (ac_try="$ac_compile"
17007 case "(($ac_try" in
17008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17009 *) ac_try_echo=$ac_try;;
17010 esac
17011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17012 (eval "$ac_compile") 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } && {
17019 test -z "$ac_c_werror_flag" ||
17020 test ! -s conftest.err
17021 } && test -s conftest.$ac_objext; then
17022 ac_cv_type_long_long=yes
17023 else
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17027 ac_cv_type_long_long=no
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17033 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17034 if test $ac_cv_type_long_long = yes; then
17036 cat >>confdefs.h <<_ACEOF
17037 #define HAVE_LONG_LONG 1
17038 _ACEOF
17042 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17043 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17044 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17045 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 else
17047 cat >conftest.$ac_ext <<_ACEOF
17048 /* confdefs.h. */
17049 _ACEOF
17050 cat confdefs.h >>conftest.$ac_ext
17051 cat >>conftest.$ac_ext <<_ACEOF
17052 /* end confdefs.h. */
17053 $ac_includes_default
17054 typedef fsblkcnt_t ac__type_new_;
17056 main ()
17058 if ((ac__type_new_ *) 0)
17059 return 0;
17060 if (sizeof (ac__type_new_))
17061 return 0;
17063 return 0;
17065 _ACEOF
17066 rm -f conftest.$ac_objext
17067 if { (ac_try="$ac_compile"
17068 case "(($ac_try" in
17069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17070 *) ac_try_echo=$ac_try;;
17071 esac
17072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17073 (eval "$ac_compile") 2>conftest.er1
17074 ac_status=$?
17075 grep -v '^ *+' conftest.er1 >conftest.err
17076 rm -f conftest.er1
17077 cat conftest.err >&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); } && {
17080 test -z "$ac_c_werror_flag" ||
17081 test ! -s conftest.err
17082 } && test -s conftest.$ac_objext; then
17083 ac_cv_type_fsblkcnt_t=yes
17084 else
17085 echo "$as_me: failed program was:" >&5
17086 sed 's/^/| /' conftest.$ac_ext >&5
17088 ac_cv_type_fsblkcnt_t=no
17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17094 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17095 if test $ac_cv_type_fsblkcnt_t = yes; then
17097 cat >>confdefs.h <<_ACEOF
17098 #define HAVE_FSBLKCNT_T 1
17099 _ACEOF
17103 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17104 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17105 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17106 echo $ECHO_N "(cached) $ECHO_C" >&6
17107 else
17108 cat >conftest.$ac_ext <<_ACEOF
17109 /* confdefs.h. */
17110 _ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17114 $ac_includes_default
17115 typedef fsfilcnt_t ac__type_new_;
17117 main ()
17119 if ((ac__type_new_ *) 0)
17120 return 0;
17121 if (sizeof (ac__type_new_))
17122 return 0;
17124 return 0;
17126 _ACEOF
17127 rm -f conftest.$ac_objext
17128 if { (ac_try="$ac_compile"
17129 case "(($ac_try" in
17130 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17131 *) ac_try_echo=$ac_try;;
17132 esac
17133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17134 (eval "$ac_compile") 2>conftest.er1
17135 ac_status=$?
17136 grep -v '^ *+' conftest.er1 >conftest.err
17137 rm -f conftest.er1
17138 cat conftest.err >&5
17139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17140 (exit $ac_status); } && {
17141 test -z "$ac_c_werror_flag" ||
17142 test ! -s conftest.err
17143 } && test -s conftest.$ac_objext; then
17144 ac_cv_type_fsfilcnt_t=yes
17145 else
17146 echo "$as_me: failed program was:" >&5
17147 sed 's/^/| /' conftest.$ac_ext >&5
17149 ac_cv_type_fsfilcnt_t=no
17152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17154 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17155 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17156 if test $ac_cv_type_fsfilcnt_t = yes; then
17158 cat >>confdefs.h <<_ACEOF
17159 #define HAVE_FSFILCNT_T 1
17160 _ACEOF
17165 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17166 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17167 if test "${ac_cv_type_sigset_t+set}" = set; then
17168 echo $ECHO_N "(cached) $ECHO_C" >&6
17169 else
17170 cat >conftest.$ac_ext <<_ACEOF
17171 /* confdefs.h. */
17172 _ACEOF
17173 cat confdefs.h >>conftest.$ac_ext
17174 cat >>conftest.$ac_ext <<_ACEOF
17175 /* end confdefs.h. */
17176 #include <signal.h>
17178 typedef sigset_t ac__type_new_;
17180 main ()
17182 if ((ac__type_new_ *) 0)
17183 return 0;
17184 if (sizeof (ac__type_new_))
17185 return 0;
17187 return 0;
17189 _ACEOF
17190 rm -f conftest.$ac_objext
17191 if { (ac_try="$ac_compile"
17192 case "(($ac_try" in
17193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17194 *) ac_try_echo=$ac_try;;
17195 esac
17196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17197 (eval "$ac_compile") 2>conftest.er1
17198 ac_status=$?
17199 grep -v '^ *+' conftest.er1 >conftest.err
17200 rm -f conftest.er1
17201 cat conftest.err >&5
17202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17203 (exit $ac_status); } && {
17204 test -z "$ac_c_werror_flag" ||
17205 test ! -s conftest.err
17206 } && test -s conftest.$ac_objext; then
17207 ac_cv_type_sigset_t=yes
17208 else
17209 echo "$as_me: failed program was:" >&5
17210 sed 's/^/| /' conftest.$ac_ext >&5
17212 ac_cv_type_sigset_t=no
17215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17217 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17218 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17219 if test $ac_cv_type_sigset_t = yes; then
17221 cat >>confdefs.h <<_ACEOF
17222 #define HAVE_SIGSET_T 1
17223 _ACEOF
17228 { echo "$as_me:$LINENO: checking for request_sense" >&5
17229 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17230 if test "${ac_cv_type_request_sense+set}" = set; then
17231 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 else
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h. */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h. */
17239 #include <linux/cdrom.h>
17241 typedef request_sense ac__type_new_;
17243 main ()
17245 if ((ac__type_new_ *) 0)
17246 return 0;
17247 if (sizeof (ac__type_new_))
17248 return 0;
17250 return 0;
17252 _ACEOF
17253 rm -f conftest.$ac_objext
17254 if { (ac_try="$ac_compile"
17255 case "(($ac_try" in
17256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17257 *) ac_try_echo=$ac_try;;
17258 esac
17259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17260 (eval "$ac_compile") 2>conftest.er1
17261 ac_status=$?
17262 grep -v '^ *+' conftest.er1 >conftest.err
17263 rm -f conftest.er1
17264 cat conftest.err >&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); } && {
17267 test -z "$ac_c_werror_flag" ||
17268 test ! -s conftest.err
17269 } && test -s conftest.$ac_objext; then
17270 ac_cv_type_request_sense=yes
17271 else
17272 echo "$as_me: failed program was:" >&5
17273 sed 's/^/| /' conftest.$ac_ext >&5
17275 ac_cv_type_request_sense=no
17278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17281 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17282 if test $ac_cv_type_request_sense = yes; then
17284 cat >>confdefs.h <<_ACEOF
17285 #define HAVE_REQUEST_SENSE 1
17286 _ACEOF
17292 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17293 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17294 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17295 echo $ECHO_N "(cached) $ECHO_C" >&6
17296 else
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303 #ifdef HAVE_LINUX_INPUT_H
17304 #include <linux/input.h>
17305 #endif
17308 main ()
17310 static struct ff_effect ac_aggr;
17311 if (ac_aggr.direction)
17312 return 0;
17314 return 0;
17316 _ACEOF
17317 rm -f conftest.$ac_objext
17318 if { (ac_try="$ac_compile"
17319 case "(($ac_try" in
17320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17321 *) ac_try_echo=$ac_try;;
17322 esac
17323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17324 (eval "$ac_compile") 2>conftest.er1
17325 ac_status=$?
17326 grep -v '^ *+' conftest.er1 >conftest.err
17327 rm -f conftest.er1
17328 cat conftest.err >&5
17329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17330 (exit $ac_status); } && {
17331 test -z "$ac_c_werror_flag" ||
17332 test ! -s conftest.err
17333 } && test -s conftest.$ac_objext; then
17334 ac_cv_member_struct_ff_effect_direction=yes
17335 else
17336 echo "$as_me: failed program was:" >&5
17337 sed 's/^/| /' conftest.$ac_ext >&5
17339 cat >conftest.$ac_ext <<_ACEOF
17340 /* confdefs.h. */
17341 _ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 #ifdef HAVE_LINUX_INPUT_H
17346 #include <linux/input.h>
17347 #endif
17350 main ()
17352 static struct ff_effect ac_aggr;
17353 if (sizeof ac_aggr.direction)
17354 return 0;
17356 return 0;
17358 _ACEOF
17359 rm -f conftest.$ac_objext
17360 if { (ac_try="$ac_compile"
17361 case "(($ac_try" in
17362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17363 *) ac_try_echo=$ac_try;;
17364 esac
17365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17366 (eval "$ac_compile") 2>conftest.er1
17367 ac_status=$?
17368 grep -v '^ *+' conftest.er1 >conftest.err
17369 rm -f conftest.er1
17370 cat conftest.err >&5
17371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17372 (exit $ac_status); } && {
17373 test -z "$ac_c_werror_flag" ||
17374 test ! -s conftest.err
17375 } && test -s conftest.$ac_objext; then
17376 ac_cv_member_struct_ff_effect_direction=yes
17377 else
17378 echo "$as_me: failed program was:" >&5
17379 sed 's/^/| /' conftest.$ac_ext >&5
17381 ac_cv_member_struct_ff_effect_direction=no
17384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17389 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17390 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17391 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17393 cat >>confdefs.h <<_ACEOF
17394 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17395 _ACEOF
17401 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17402 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17403 if test "${wine_cv_have_sigaddset+set}" = set; then
17404 echo $ECHO_N "(cached) $ECHO_C" >&6
17405 else
17406 cat >conftest.$ac_ext <<_ACEOF
17407 /* confdefs.h. */
17408 _ACEOF
17409 cat confdefs.h >>conftest.$ac_ext
17410 cat >>conftest.$ac_ext <<_ACEOF
17411 /* end confdefs.h. */
17412 #include <signal.h>
17414 main ()
17416 sigset_t set; sigaddset(&set,SIGTERM);
17418 return 0;
17420 _ACEOF
17421 rm -f conftest.$ac_objext conftest$ac_exeext
17422 if { (ac_try="$ac_link"
17423 case "(($ac_try" in
17424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17425 *) ac_try_echo=$ac_try;;
17426 esac
17427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17428 (eval "$ac_link") 2>conftest.er1
17429 ac_status=$?
17430 grep -v '^ *+' conftest.er1 >conftest.err
17431 rm -f conftest.er1
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } && {
17435 test -z "$ac_c_werror_flag" ||
17436 test ! -s conftest.err
17437 } && test -s conftest$ac_exeext &&
17438 $as_test_x conftest$ac_exeext; then
17439 wine_cv_have_sigaddset=yes
17440 else
17441 echo "$as_me: failed program was:" >&5
17442 sed 's/^/| /' conftest.$ac_ext >&5
17444 wine_cv_have_sigaddset=no
17447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17448 conftest$ac_exeext conftest.$ac_ext
17450 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17451 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17452 if test "$wine_cv_have_sigaddset" = "yes"
17453 then
17455 cat >>confdefs.h <<\_ACEOF
17456 #define HAVE_SIGADDSET 1
17457 _ACEOF
17462 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17463 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17464 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17465 echo $ECHO_N "(cached) $ECHO_C" >&6
17466 else
17467 cat >conftest.$ac_ext <<_ACEOF
17468 /* confdefs.h. */
17469 _ACEOF
17470 cat confdefs.h >>conftest.$ac_ext
17471 cat >>conftest.$ac_ext <<_ACEOF
17472 /* end confdefs.h. */
17474 #include <netdb.h>
17477 main ()
17480 char *name=NULL;
17481 struct hostent he;
17482 struct hostent *result;
17483 char *buf=NULL;
17484 int bufsize=0;
17485 int res,errnr;
17486 char *addr=NULL;
17487 int addrlen=0;
17488 int addrtype=0;
17489 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17490 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17493 return 0;
17495 _ACEOF
17496 rm -f conftest.$ac_objext conftest$ac_exeext
17497 if { (ac_try="$ac_link"
17498 case "(($ac_try" in
17499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17500 *) ac_try_echo=$ac_try;;
17501 esac
17502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17503 (eval "$ac_link") 2>conftest.er1
17504 ac_status=$?
17505 grep -v '^ *+' conftest.er1 >conftest.err
17506 rm -f conftest.er1
17507 cat conftest.err >&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && {
17510 test -z "$ac_c_werror_flag" ||
17511 test ! -s conftest.err
17512 } && test -s conftest$ac_exeext &&
17513 $as_test_x conftest$ac_exeext; then
17514 wine_cv_linux_gethostbyname_r_6=yes
17515 else
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.$ac_ext >&5
17519 wine_cv_linux_gethostbyname_r_6=no
17523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17524 conftest$ac_exeext conftest.$ac_ext
17527 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17528 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17529 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17530 then
17532 cat >>confdefs.h <<\_ACEOF
17533 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17534 _ACEOF
17538 if test "$ac_cv_header_linux_joystick_h" = "yes"
17539 then
17540 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17541 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17542 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 else
17545 cat >conftest.$ac_ext <<_ACEOF
17546 /* confdefs.h. */
17547 _ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17552 #include <sys/ioctl.h>
17553 #include <linux/joystick.h>
17555 struct js_event blub;
17556 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17557 #error "no 2.2 header"
17558 #endif
17561 main ()
17563 /*empty*/
17565 return 0;
17567 _ACEOF
17568 rm -f conftest.$ac_objext
17569 if { (ac_try="$ac_compile"
17570 case "(($ac_try" in
17571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17572 *) ac_try_echo=$ac_try;;
17573 esac
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_compile") 2>conftest.er1
17576 ac_status=$?
17577 grep -v '^ *+' conftest.er1 >conftest.err
17578 rm -f conftest.er1
17579 cat conftest.err >&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && {
17582 test -z "$ac_c_werror_flag" ||
17583 test ! -s conftest.err
17584 } && test -s conftest.$ac_objext; then
17585 wine_cv_linux_joystick_22_api=yes
17586 else
17587 echo "$as_me: failed program was:" >&5
17588 sed 's/^/| /' conftest.$ac_ext >&5
17590 wine_cv_linux_joystick_22_api=no
17593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17596 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17597 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17598 if test "$wine_cv_linux_joystick_22_api" = "yes"
17599 then
17601 cat >>confdefs.h <<\_ACEOF
17602 #define HAVE_LINUX_22_JOYSTICK_API 1
17603 _ACEOF
17609 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17610 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17611 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17612 echo $ECHO_N "(cached) $ECHO_C" >&6
17613 else
17614 cat >conftest.$ac_ext <<_ACEOF
17615 /* confdefs.h. */
17616 _ACEOF
17617 cat confdefs.h >>conftest.$ac_ext
17618 cat >>conftest.$ac_ext <<_ACEOF
17619 /* end confdefs.h. */
17620 #include <sys/types.h>
17621 #ifdef HAVE_SYS_PARAM_H
17622 # include <sys/param.h>
17623 #endif
17624 #ifdef HAVE_SYS_MOUNT_H
17625 # include <sys/mount.h>
17626 #endif
17627 #ifdef HAVE_SYS_VFS_H
17628 # include <sys/vfs.h>
17629 #endif
17630 #ifdef HAVE_SYS_STATFS_H
17631 # include <sys/statfs.h>
17632 #endif
17635 main ()
17637 static struct statfs ac_aggr;
17638 if (ac_aggr.f_bfree)
17639 return 0;
17641 return 0;
17643 _ACEOF
17644 rm -f conftest.$ac_objext
17645 if { (ac_try="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17649 esac
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && {
17658 test -z "$ac_c_werror_flag" ||
17659 test ! -s conftest.err
17660 } && test -s conftest.$ac_objext; then
17661 ac_cv_member_struct_statfs_f_bfree=yes
17662 else
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 cat >conftest.$ac_ext <<_ACEOF
17667 /* confdefs.h. */
17668 _ACEOF
17669 cat confdefs.h >>conftest.$ac_ext
17670 cat >>conftest.$ac_ext <<_ACEOF
17671 /* end confdefs.h. */
17672 #include <sys/types.h>
17673 #ifdef HAVE_SYS_PARAM_H
17674 # include <sys/param.h>
17675 #endif
17676 #ifdef HAVE_SYS_MOUNT_H
17677 # include <sys/mount.h>
17678 #endif
17679 #ifdef HAVE_SYS_VFS_H
17680 # include <sys/vfs.h>
17681 #endif
17682 #ifdef HAVE_SYS_STATFS_H
17683 # include <sys/statfs.h>
17684 #endif
17687 main ()
17689 static struct statfs ac_aggr;
17690 if (sizeof ac_aggr.f_bfree)
17691 return 0;
17693 return 0;
17695 _ACEOF
17696 rm -f conftest.$ac_objext
17697 if { (ac_try="$ac_compile"
17698 case "(($ac_try" in
17699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17700 *) ac_try_echo=$ac_try;;
17701 esac
17702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17703 (eval "$ac_compile") 2>conftest.er1
17704 ac_status=$?
17705 grep -v '^ *+' conftest.er1 >conftest.err
17706 rm -f conftest.er1
17707 cat conftest.err >&5
17708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17709 (exit $ac_status); } && {
17710 test -z "$ac_c_werror_flag" ||
17711 test ! -s conftest.err
17712 } && test -s conftest.$ac_objext; then
17713 ac_cv_member_struct_statfs_f_bfree=yes
17714 else
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.$ac_ext >&5
17718 ac_cv_member_struct_statfs_f_bfree=no
17721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17726 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17727 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17728 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17730 cat >>confdefs.h <<_ACEOF
17731 #define HAVE_STRUCT_STATFS_F_BFREE 1
17732 _ACEOF
17736 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17737 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17738 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17739 echo $ECHO_N "(cached) $ECHO_C" >&6
17740 else
17741 cat >conftest.$ac_ext <<_ACEOF
17742 /* confdefs.h. */
17743 _ACEOF
17744 cat confdefs.h >>conftest.$ac_ext
17745 cat >>conftest.$ac_ext <<_ACEOF
17746 /* end confdefs.h. */
17747 #include <sys/types.h>
17748 #ifdef HAVE_SYS_PARAM_H
17749 # include <sys/param.h>
17750 #endif
17751 #ifdef HAVE_SYS_MOUNT_H
17752 # include <sys/mount.h>
17753 #endif
17754 #ifdef HAVE_SYS_VFS_H
17755 # include <sys/vfs.h>
17756 #endif
17757 #ifdef HAVE_SYS_STATFS_H
17758 # include <sys/statfs.h>
17759 #endif
17762 main ()
17764 static struct statfs ac_aggr;
17765 if (ac_aggr.f_bavail)
17766 return 0;
17768 return 0;
17770 _ACEOF
17771 rm -f conftest.$ac_objext
17772 if { (ac_try="$ac_compile"
17773 case "(($ac_try" in
17774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17775 *) ac_try_echo=$ac_try;;
17776 esac
17777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17778 (eval "$ac_compile") 2>conftest.er1
17779 ac_status=$?
17780 grep -v '^ *+' conftest.er1 >conftest.err
17781 rm -f conftest.er1
17782 cat conftest.err >&5
17783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17784 (exit $ac_status); } && {
17785 test -z "$ac_c_werror_flag" ||
17786 test ! -s conftest.err
17787 } && test -s conftest.$ac_objext; then
17788 ac_cv_member_struct_statfs_f_bavail=yes
17789 else
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17793 cat >conftest.$ac_ext <<_ACEOF
17794 /* confdefs.h. */
17795 _ACEOF
17796 cat confdefs.h >>conftest.$ac_ext
17797 cat >>conftest.$ac_ext <<_ACEOF
17798 /* end confdefs.h. */
17799 #include <sys/types.h>
17800 #ifdef HAVE_SYS_PARAM_H
17801 # include <sys/param.h>
17802 #endif
17803 #ifdef HAVE_SYS_MOUNT_H
17804 # include <sys/mount.h>
17805 #endif
17806 #ifdef HAVE_SYS_VFS_H
17807 # include <sys/vfs.h>
17808 #endif
17809 #ifdef HAVE_SYS_STATFS_H
17810 # include <sys/statfs.h>
17811 #endif
17814 main ()
17816 static struct statfs ac_aggr;
17817 if (sizeof ac_aggr.f_bavail)
17818 return 0;
17820 return 0;
17822 _ACEOF
17823 rm -f conftest.$ac_objext
17824 if { (ac_try="$ac_compile"
17825 case "(($ac_try" in
17826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17827 *) ac_try_echo=$ac_try;;
17828 esac
17829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17830 (eval "$ac_compile") 2>conftest.er1
17831 ac_status=$?
17832 grep -v '^ *+' conftest.er1 >conftest.err
17833 rm -f conftest.er1
17834 cat conftest.err >&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); } && {
17837 test -z "$ac_c_werror_flag" ||
17838 test ! -s conftest.err
17839 } && test -s conftest.$ac_objext; then
17840 ac_cv_member_struct_statfs_f_bavail=yes
17841 else
17842 echo "$as_me: failed program was:" >&5
17843 sed 's/^/| /' conftest.$ac_ext >&5
17845 ac_cv_member_struct_statfs_f_bavail=no
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17853 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17854 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17855 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17857 cat >>confdefs.h <<_ACEOF
17858 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17859 _ACEOF
17863 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17864 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17865 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17866 echo $ECHO_N "(cached) $ECHO_C" >&6
17867 else
17868 cat >conftest.$ac_ext <<_ACEOF
17869 /* confdefs.h. */
17870 _ACEOF
17871 cat confdefs.h >>conftest.$ac_ext
17872 cat >>conftest.$ac_ext <<_ACEOF
17873 /* end confdefs.h. */
17874 #include <sys/types.h>
17875 #ifdef HAVE_SYS_PARAM_H
17876 # include <sys/param.h>
17877 #endif
17878 #ifdef HAVE_SYS_MOUNT_H
17879 # include <sys/mount.h>
17880 #endif
17881 #ifdef HAVE_SYS_VFS_H
17882 # include <sys/vfs.h>
17883 #endif
17884 #ifdef HAVE_SYS_STATFS_H
17885 # include <sys/statfs.h>
17886 #endif
17889 main ()
17891 static struct statfs ac_aggr;
17892 if (ac_aggr.f_frsize)
17893 return 0;
17895 return 0;
17897 _ACEOF
17898 rm -f conftest.$ac_objext
17899 if { (ac_try="$ac_compile"
17900 case "(($ac_try" in
17901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17902 *) ac_try_echo=$ac_try;;
17903 esac
17904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17905 (eval "$ac_compile") 2>conftest.er1
17906 ac_status=$?
17907 grep -v '^ *+' conftest.er1 >conftest.err
17908 rm -f conftest.er1
17909 cat conftest.err >&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } && {
17912 test -z "$ac_c_werror_flag" ||
17913 test ! -s conftest.err
17914 } && test -s conftest.$ac_objext; then
17915 ac_cv_member_struct_statfs_f_frsize=yes
17916 else
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.$ac_ext >&5
17920 cat >conftest.$ac_ext <<_ACEOF
17921 /* confdefs.h. */
17922 _ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 #include <sys/types.h>
17927 #ifdef HAVE_SYS_PARAM_H
17928 # include <sys/param.h>
17929 #endif
17930 #ifdef HAVE_SYS_MOUNT_H
17931 # include <sys/mount.h>
17932 #endif
17933 #ifdef HAVE_SYS_VFS_H
17934 # include <sys/vfs.h>
17935 #endif
17936 #ifdef HAVE_SYS_STATFS_H
17937 # include <sys/statfs.h>
17938 #endif
17941 main ()
17943 static struct statfs ac_aggr;
17944 if (sizeof ac_aggr.f_frsize)
17945 return 0;
17947 return 0;
17949 _ACEOF
17950 rm -f conftest.$ac_objext
17951 if { (ac_try="$ac_compile"
17952 case "(($ac_try" in
17953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17954 *) ac_try_echo=$ac_try;;
17955 esac
17956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_compile") 2>conftest.er1
17958 ac_status=$?
17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } && {
17964 test -z "$ac_c_werror_flag" ||
17965 test ! -s conftest.err
17966 } && test -s conftest.$ac_objext; then
17967 ac_cv_member_struct_statfs_f_frsize=yes
17968 else
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.$ac_ext >&5
17972 ac_cv_member_struct_statfs_f_frsize=no
17975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17981 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17982 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17984 cat >>confdefs.h <<_ACEOF
17985 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17986 _ACEOF
17990 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17991 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17992 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17993 echo $ECHO_N "(cached) $ECHO_C" >&6
17994 else
17995 cat >conftest.$ac_ext <<_ACEOF
17996 /* confdefs.h. */
17997 _ACEOF
17998 cat confdefs.h >>conftest.$ac_ext
17999 cat >>conftest.$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 #include <sys/types.h>
18002 #ifdef HAVE_SYS_PARAM_H
18003 # include <sys/param.h>
18004 #endif
18005 #ifdef HAVE_SYS_MOUNT_H
18006 # include <sys/mount.h>
18007 #endif
18008 #ifdef HAVE_SYS_VFS_H
18009 # include <sys/vfs.h>
18010 #endif
18011 #ifdef HAVE_SYS_STATFS_H
18012 # include <sys/statfs.h>
18013 #endif
18016 main ()
18018 static struct statfs ac_aggr;
18019 if (ac_aggr.f_ffree)
18020 return 0;
18022 return 0;
18024 _ACEOF
18025 rm -f conftest.$ac_objext
18026 if { (ac_try="$ac_compile"
18027 case "(($ac_try" in
18028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18029 *) ac_try_echo=$ac_try;;
18030 esac
18031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18032 (eval "$ac_compile") 2>conftest.er1
18033 ac_status=$?
18034 grep -v '^ *+' conftest.er1 >conftest.err
18035 rm -f conftest.er1
18036 cat conftest.err >&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } && {
18039 test -z "$ac_c_werror_flag" ||
18040 test ! -s conftest.err
18041 } && test -s conftest.$ac_objext; then
18042 ac_cv_member_struct_statfs_f_ffree=yes
18043 else
18044 echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.$ac_ext >&5
18047 cat >conftest.$ac_ext <<_ACEOF
18048 /* confdefs.h. */
18049 _ACEOF
18050 cat confdefs.h >>conftest.$ac_ext
18051 cat >>conftest.$ac_ext <<_ACEOF
18052 /* end confdefs.h. */
18053 #include <sys/types.h>
18054 #ifdef HAVE_SYS_PARAM_H
18055 # include <sys/param.h>
18056 #endif
18057 #ifdef HAVE_SYS_MOUNT_H
18058 # include <sys/mount.h>
18059 #endif
18060 #ifdef HAVE_SYS_VFS_H
18061 # include <sys/vfs.h>
18062 #endif
18063 #ifdef HAVE_SYS_STATFS_H
18064 # include <sys/statfs.h>
18065 #endif
18068 main ()
18070 static struct statfs ac_aggr;
18071 if (sizeof ac_aggr.f_ffree)
18072 return 0;
18074 return 0;
18076 _ACEOF
18077 rm -f conftest.$ac_objext
18078 if { (ac_try="$ac_compile"
18079 case "(($ac_try" in
18080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18081 *) ac_try_echo=$ac_try;;
18082 esac
18083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18084 (eval "$ac_compile") 2>conftest.er1
18085 ac_status=$?
18086 grep -v '^ *+' conftest.er1 >conftest.err
18087 rm -f conftest.er1
18088 cat conftest.err >&5
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); } && {
18091 test -z "$ac_c_werror_flag" ||
18092 test ! -s conftest.err
18093 } && test -s conftest.$ac_objext; then
18094 ac_cv_member_struct_statfs_f_ffree=yes
18095 else
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18099 ac_cv_member_struct_statfs_f_ffree=no
18102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18108 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18109 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18111 cat >>confdefs.h <<_ACEOF
18112 #define HAVE_STRUCT_STATFS_F_FFREE 1
18113 _ACEOF
18117 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18118 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18119 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18120 echo $ECHO_N "(cached) $ECHO_C" >&6
18121 else
18122 cat >conftest.$ac_ext <<_ACEOF
18123 /* confdefs.h. */
18124 _ACEOF
18125 cat confdefs.h >>conftest.$ac_ext
18126 cat >>conftest.$ac_ext <<_ACEOF
18127 /* end confdefs.h. */
18128 #include <sys/types.h>
18129 #ifdef HAVE_SYS_PARAM_H
18130 # include <sys/param.h>
18131 #endif
18132 #ifdef HAVE_SYS_MOUNT_H
18133 # include <sys/mount.h>
18134 #endif
18135 #ifdef HAVE_SYS_VFS_H
18136 # include <sys/vfs.h>
18137 #endif
18138 #ifdef HAVE_SYS_STATFS_H
18139 # include <sys/statfs.h>
18140 #endif
18143 main ()
18145 static struct statfs ac_aggr;
18146 if (ac_aggr.f_favail)
18147 return 0;
18149 return 0;
18151 _ACEOF
18152 rm -f conftest.$ac_objext
18153 if { (ac_try="$ac_compile"
18154 case "(($ac_try" in
18155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18156 *) ac_try_echo=$ac_try;;
18157 esac
18158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18159 (eval "$ac_compile") 2>conftest.er1
18160 ac_status=$?
18161 grep -v '^ *+' conftest.er1 >conftest.err
18162 rm -f conftest.er1
18163 cat conftest.err >&5
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); } && {
18166 test -z "$ac_c_werror_flag" ||
18167 test ! -s conftest.err
18168 } && test -s conftest.$ac_objext; then
18169 ac_cv_member_struct_statfs_f_favail=yes
18170 else
18171 echo "$as_me: failed program was:" >&5
18172 sed 's/^/| /' conftest.$ac_ext >&5
18174 cat >conftest.$ac_ext <<_ACEOF
18175 /* confdefs.h. */
18176 _ACEOF
18177 cat confdefs.h >>conftest.$ac_ext
18178 cat >>conftest.$ac_ext <<_ACEOF
18179 /* end confdefs.h. */
18180 #include <sys/types.h>
18181 #ifdef HAVE_SYS_PARAM_H
18182 # include <sys/param.h>
18183 #endif
18184 #ifdef HAVE_SYS_MOUNT_H
18185 # include <sys/mount.h>
18186 #endif
18187 #ifdef HAVE_SYS_VFS_H
18188 # include <sys/vfs.h>
18189 #endif
18190 #ifdef HAVE_SYS_STATFS_H
18191 # include <sys/statfs.h>
18192 #endif
18195 main ()
18197 static struct statfs ac_aggr;
18198 if (sizeof ac_aggr.f_favail)
18199 return 0;
18201 return 0;
18203 _ACEOF
18204 rm -f conftest.$ac_objext
18205 if { (ac_try="$ac_compile"
18206 case "(($ac_try" in
18207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18208 *) ac_try_echo=$ac_try;;
18209 esac
18210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18211 (eval "$ac_compile") 2>conftest.er1
18212 ac_status=$?
18213 grep -v '^ *+' conftest.er1 >conftest.err
18214 rm -f conftest.er1
18215 cat conftest.err >&5
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); } && {
18218 test -z "$ac_c_werror_flag" ||
18219 test ! -s conftest.err
18220 } && test -s conftest.$ac_objext; then
18221 ac_cv_member_struct_statfs_f_favail=yes
18222 else
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.$ac_ext >&5
18226 ac_cv_member_struct_statfs_f_favail=no
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18234 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18235 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18236 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18238 cat >>confdefs.h <<_ACEOF
18239 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18240 _ACEOF
18244 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18245 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18246 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18247 echo $ECHO_N "(cached) $ECHO_C" >&6
18248 else
18249 cat >conftest.$ac_ext <<_ACEOF
18250 /* confdefs.h. */
18251 _ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 #include <sys/types.h>
18256 #ifdef HAVE_SYS_PARAM_H
18257 # include <sys/param.h>
18258 #endif
18259 #ifdef HAVE_SYS_MOUNT_H
18260 # include <sys/mount.h>
18261 #endif
18262 #ifdef HAVE_SYS_VFS_H
18263 # include <sys/vfs.h>
18264 #endif
18265 #ifdef HAVE_SYS_STATFS_H
18266 # include <sys/statfs.h>
18267 #endif
18270 main ()
18272 static struct statfs ac_aggr;
18273 if (ac_aggr.f_namelen)
18274 return 0;
18276 return 0;
18278 _ACEOF
18279 rm -f conftest.$ac_objext
18280 if { (ac_try="$ac_compile"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18283 *) ac_try_echo=$ac_try;;
18284 esac
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_compile") 2>conftest.er1
18287 ac_status=$?
18288 grep -v '^ *+' conftest.er1 >conftest.err
18289 rm -f conftest.er1
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest.$ac_objext; then
18296 ac_cv_member_struct_statfs_f_namelen=yes
18297 else
18298 echo "$as_me: failed program was:" >&5
18299 sed 's/^/| /' conftest.$ac_ext >&5
18301 cat >conftest.$ac_ext <<_ACEOF
18302 /* confdefs.h. */
18303 _ACEOF
18304 cat confdefs.h >>conftest.$ac_ext
18305 cat >>conftest.$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18307 #include <sys/types.h>
18308 #ifdef HAVE_SYS_PARAM_H
18309 # include <sys/param.h>
18310 #endif
18311 #ifdef HAVE_SYS_MOUNT_H
18312 # include <sys/mount.h>
18313 #endif
18314 #ifdef HAVE_SYS_VFS_H
18315 # include <sys/vfs.h>
18316 #endif
18317 #ifdef HAVE_SYS_STATFS_H
18318 # include <sys/statfs.h>
18319 #endif
18322 main ()
18324 static struct statfs ac_aggr;
18325 if (sizeof ac_aggr.f_namelen)
18326 return 0;
18328 return 0;
18330 _ACEOF
18331 rm -f conftest.$ac_objext
18332 if { (ac_try="$ac_compile"
18333 case "(($ac_try" in
18334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;;
18336 esac
18337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338 (eval "$ac_compile") 2>conftest.er1
18339 ac_status=$?
18340 grep -v '^ *+' conftest.er1 >conftest.err
18341 rm -f conftest.er1
18342 cat conftest.err >&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } && {
18345 test -z "$ac_c_werror_flag" ||
18346 test ! -s conftest.err
18347 } && test -s conftest.$ac_objext; then
18348 ac_cv_member_struct_statfs_f_namelen=yes
18349 else
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.$ac_ext >&5
18353 ac_cv_member_struct_statfs_f_namelen=no
18356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18361 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18362 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18363 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18365 cat >>confdefs.h <<_ACEOF
18366 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18367 _ACEOF
18373 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18374 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18375 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18376 echo $ECHO_N "(cached) $ECHO_C" >&6
18377 else
18378 cat >conftest.$ac_ext <<_ACEOF
18379 /* confdefs.h. */
18380 _ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384 #ifdef HAVE_SYS_STATVFS_H
18385 #include <sys/statvfs.h>
18386 #endif
18389 main ()
18391 static struct statvfs ac_aggr;
18392 if (ac_aggr.f_blocks)
18393 return 0;
18395 return 0;
18397 _ACEOF
18398 rm -f conftest.$ac_objext
18399 if { (ac_try="$ac_compile"
18400 case "(($ac_try" in
18401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18402 *) ac_try_echo=$ac_try;;
18403 esac
18404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18405 (eval "$ac_compile") 2>conftest.er1
18406 ac_status=$?
18407 grep -v '^ *+' conftest.er1 >conftest.err
18408 rm -f conftest.er1
18409 cat conftest.err >&5
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); } && {
18412 test -z "$ac_c_werror_flag" ||
18413 test ! -s conftest.err
18414 } && test -s conftest.$ac_objext; then
18415 ac_cv_member_struct_statvfs_f_blocks=yes
18416 else
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18420 cat >conftest.$ac_ext <<_ACEOF
18421 /* confdefs.h. */
18422 _ACEOF
18423 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 #ifdef HAVE_SYS_STATVFS_H
18427 #include <sys/statvfs.h>
18428 #endif
18431 main ()
18433 static struct statvfs ac_aggr;
18434 if (sizeof ac_aggr.f_blocks)
18435 return 0;
18437 return 0;
18439 _ACEOF
18440 rm -f conftest.$ac_objext
18441 if { (ac_try="$ac_compile"
18442 case "(($ac_try" in
18443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18444 *) ac_try_echo=$ac_try;;
18445 esac
18446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18447 (eval "$ac_compile") 2>conftest.er1
18448 ac_status=$?
18449 grep -v '^ *+' conftest.er1 >conftest.err
18450 rm -f conftest.er1
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } && {
18454 test -z "$ac_c_werror_flag" ||
18455 test ! -s conftest.err
18456 } && test -s conftest.$ac_objext; then
18457 ac_cv_member_struct_statvfs_f_blocks=yes
18458 else
18459 echo "$as_me: failed program was:" >&5
18460 sed 's/^/| /' conftest.$ac_ext >&5
18462 ac_cv_member_struct_statvfs_f_blocks=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18470 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18471 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18472 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18474 cat >>confdefs.h <<_ACEOF
18475 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18476 _ACEOF
18482 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18483 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18484 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 else
18487 cat >conftest.$ac_ext <<_ACEOF
18488 /* confdefs.h. */
18489 _ACEOF
18490 cat confdefs.h >>conftest.$ac_ext
18491 cat >>conftest.$ac_ext <<_ACEOF
18492 /* end confdefs.h. */
18493 #include <sys/types.h>
18494 #ifdef HAVE_SYS_SOCKET_H
18495 # include <sys/socket.h>
18496 #endif
18497 #ifdef HAVE_SYS_UN_H
18498 # include <sys/un.h>
18499 #endif
18502 main ()
18504 static struct msghdr ac_aggr;
18505 if (ac_aggr.msg_accrights)
18506 return 0;
18508 return 0;
18510 _ACEOF
18511 rm -f conftest.$ac_objext
18512 if { (ac_try="$ac_compile"
18513 case "(($ac_try" in
18514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18515 *) ac_try_echo=$ac_try;;
18516 esac
18517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18518 (eval "$ac_compile") 2>conftest.er1
18519 ac_status=$?
18520 grep -v '^ *+' conftest.er1 >conftest.err
18521 rm -f conftest.er1
18522 cat conftest.err >&5
18523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18524 (exit $ac_status); } && {
18525 test -z "$ac_c_werror_flag" ||
18526 test ! -s conftest.err
18527 } && test -s conftest.$ac_objext; then
18528 ac_cv_member_struct_msghdr_msg_accrights=yes
18529 else
18530 echo "$as_me: failed program was:" >&5
18531 sed 's/^/| /' conftest.$ac_ext >&5
18533 cat >conftest.$ac_ext <<_ACEOF
18534 /* confdefs.h. */
18535 _ACEOF
18536 cat confdefs.h >>conftest.$ac_ext
18537 cat >>conftest.$ac_ext <<_ACEOF
18538 /* end confdefs.h. */
18539 #include <sys/types.h>
18540 #ifdef HAVE_SYS_SOCKET_H
18541 # include <sys/socket.h>
18542 #endif
18543 #ifdef HAVE_SYS_UN_H
18544 # include <sys/un.h>
18545 #endif
18548 main ()
18550 static struct msghdr ac_aggr;
18551 if (sizeof ac_aggr.msg_accrights)
18552 return 0;
18554 return 0;
18556 _ACEOF
18557 rm -f conftest.$ac_objext
18558 if { (ac_try="$ac_compile"
18559 case "(($ac_try" in
18560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18561 *) ac_try_echo=$ac_try;;
18562 esac
18563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18564 (eval "$ac_compile") 2>conftest.er1
18565 ac_status=$?
18566 grep -v '^ *+' conftest.er1 >conftest.err
18567 rm -f conftest.er1
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } && {
18571 test -z "$ac_c_werror_flag" ||
18572 test ! -s conftest.err
18573 } && test -s conftest.$ac_objext; then
18574 ac_cv_member_struct_msghdr_msg_accrights=yes
18575 else
18576 echo "$as_me: failed program was:" >&5
18577 sed 's/^/| /' conftest.$ac_ext >&5
18579 ac_cv_member_struct_msghdr_msg_accrights=no
18582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18588 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18589 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18593 _ACEOF
18597 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18598 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18599 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18600 echo $ECHO_N "(cached) $ECHO_C" >&6
18601 else
18602 cat >conftest.$ac_ext <<_ACEOF
18603 /* confdefs.h. */
18604 _ACEOF
18605 cat confdefs.h >>conftest.$ac_ext
18606 cat >>conftest.$ac_ext <<_ACEOF
18607 /* end confdefs.h. */
18608 #include <sys/types.h>
18609 #ifdef HAVE_SYS_SOCKET_H
18610 # include <sys/socket.h>
18611 #endif
18612 #ifdef HAVE_SYS_UN_H
18613 # include <sys/un.h>
18614 #endif
18617 main ()
18619 static struct sockaddr ac_aggr;
18620 if (ac_aggr.sa_len)
18621 return 0;
18623 return 0;
18625 _ACEOF
18626 rm -f conftest.$ac_objext
18627 if { (ac_try="$ac_compile"
18628 case "(($ac_try" in
18629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18630 *) ac_try_echo=$ac_try;;
18631 esac
18632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18633 (eval "$ac_compile") 2>conftest.er1
18634 ac_status=$?
18635 grep -v '^ *+' conftest.er1 >conftest.err
18636 rm -f conftest.er1
18637 cat conftest.err >&5
18638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18639 (exit $ac_status); } && {
18640 test -z "$ac_c_werror_flag" ||
18641 test ! -s conftest.err
18642 } && test -s conftest.$ac_objext; then
18643 ac_cv_member_struct_sockaddr_sa_len=yes
18644 else
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.$ac_ext >&5
18648 cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h. */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 #include <sys/types.h>
18655 #ifdef HAVE_SYS_SOCKET_H
18656 # include <sys/socket.h>
18657 #endif
18658 #ifdef HAVE_SYS_UN_H
18659 # include <sys/un.h>
18660 #endif
18663 main ()
18665 static struct sockaddr ac_aggr;
18666 if (sizeof ac_aggr.sa_len)
18667 return 0;
18669 return 0;
18671 _ACEOF
18672 rm -f conftest.$ac_objext
18673 if { (ac_try="$ac_compile"
18674 case "(($ac_try" in
18675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18676 *) ac_try_echo=$ac_try;;
18677 esac
18678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18679 (eval "$ac_compile") 2>conftest.er1
18680 ac_status=$?
18681 grep -v '^ *+' conftest.er1 >conftest.err
18682 rm -f conftest.er1
18683 cat conftest.err >&5
18684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18685 (exit $ac_status); } && {
18686 test -z "$ac_c_werror_flag" ||
18687 test ! -s conftest.err
18688 } && test -s conftest.$ac_objext; then
18689 ac_cv_member_struct_sockaddr_sa_len=yes
18690 else
18691 echo "$as_me: failed program was:" >&5
18692 sed 's/^/| /' conftest.$ac_ext >&5
18694 ac_cv_member_struct_sockaddr_sa_len=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18703 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18704 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18706 cat >>confdefs.h <<_ACEOF
18707 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18708 _ACEOF
18712 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18713 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18714 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 cat >conftest.$ac_ext <<_ACEOF
18718 /* confdefs.h. */
18719 _ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 #include <sys/types.h>
18724 #ifdef HAVE_SYS_SOCKET_H
18725 # include <sys/socket.h>
18726 #endif
18727 #ifdef HAVE_SYS_UN_H
18728 # include <sys/un.h>
18729 #endif
18732 main ()
18734 static struct sockaddr_un ac_aggr;
18735 if (ac_aggr.sun_len)
18736 return 0;
18738 return 0;
18740 _ACEOF
18741 rm -f conftest.$ac_objext
18742 if { (ac_try="$ac_compile"
18743 case "(($ac_try" in
18744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18745 *) ac_try_echo=$ac_try;;
18746 esac
18747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18748 (eval "$ac_compile") 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } && {
18755 test -z "$ac_c_werror_flag" ||
18756 test ! -s conftest.err
18757 } && test -s conftest.$ac_objext; then
18758 ac_cv_member_struct_sockaddr_un_sun_len=yes
18759 else
18760 echo "$as_me: failed program was:" >&5
18761 sed 's/^/| /' conftest.$ac_ext >&5
18763 cat >conftest.$ac_ext <<_ACEOF
18764 /* confdefs.h. */
18765 _ACEOF
18766 cat confdefs.h >>conftest.$ac_ext
18767 cat >>conftest.$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 #include <sys/types.h>
18770 #ifdef HAVE_SYS_SOCKET_H
18771 # include <sys/socket.h>
18772 #endif
18773 #ifdef HAVE_SYS_UN_H
18774 # include <sys/un.h>
18775 #endif
18778 main ()
18780 static struct sockaddr_un ac_aggr;
18781 if (sizeof ac_aggr.sun_len)
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_struct_sockaddr_un_sun_len=yes
18805 else
18806 echo "$as_me: failed program was:" >&5
18807 sed 's/^/| /' conftest.$ac_ext >&5
18809 ac_cv_member_struct_sockaddr_un_sun_len=no
18812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18817 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18818 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18819 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18821 cat >>confdefs.h <<_ACEOF
18822 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18823 _ACEOF
18829 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18830 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18831 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18832 echo $ECHO_N "(cached) $ECHO_C" >&6
18833 else
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 #include <sys/types.h>
18841 #ifdef HAVE_SCSI_SG_H
18842 #include <scsi/sg.h>
18843 #endif
18846 main ()
18848 static scsireq_t ac_aggr;
18849 if (ac_aggr.cmd)
18850 return 0;
18852 return 0;
18854 _ACEOF
18855 rm -f conftest.$ac_objext
18856 if { (ac_try="$ac_compile"
18857 case "(($ac_try" in
18858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18859 *) ac_try_echo=$ac_try;;
18860 esac
18861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18862 (eval "$ac_compile") 2>conftest.er1
18863 ac_status=$?
18864 grep -v '^ *+' conftest.er1 >conftest.err
18865 rm -f conftest.er1
18866 cat conftest.err >&5
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); } && {
18869 test -z "$ac_c_werror_flag" ||
18870 test ! -s conftest.err
18871 } && test -s conftest.$ac_objext; then
18872 ac_cv_member_scsireq_t_cmd=yes
18873 else
18874 echo "$as_me: failed program was:" >&5
18875 sed 's/^/| /' conftest.$ac_ext >&5
18877 cat >conftest.$ac_ext <<_ACEOF
18878 /* confdefs.h. */
18879 _ACEOF
18880 cat confdefs.h >>conftest.$ac_ext
18881 cat >>conftest.$ac_ext <<_ACEOF
18882 /* end confdefs.h. */
18883 #include <sys/types.h>
18884 #ifdef HAVE_SCSI_SG_H
18885 #include <scsi/sg.h>
18886 #endif
18889 main ()
18891 static scsireq_t ac_aggr;
18892 if (sizeof ac_aggr.cmd)
18893 return 0;
18895 return 0;
18897 _ACEOF
18898 rm -f conftest.$ac_objext
18899 if { (ac_try="$ac_compile"
18900 case "(($ac_try" in
18901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18902 *) ac_try_echo=$ac_try;;
18903 esac
18904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18905 (eval "$ac_compile") 2>conftest.er1
18906 ac_status=$?
18907 grep -v '^ *+' conftest.er1 >conftest.err
18908 rm -f conftest.er1
18909 cat conftest.err >&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); } && {
18912 test -z "$ac_c_werror_flag" ||
18913 test ! -s conftest.err
18914 } && test -s conftest.$ac_objext; then
18915 ac_cv_member_scsireq_t_cmd=yes
18916 else
18917 echo "$as_me: failed program was:" >&5
18918 sed 's/^/| /' conftest.$ac_ext >&5
18920 ac_cv_member_scsireq_t_cmd=no
18923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18929 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18930 if test $ac_cv_member_scsireq_t_cmd = yes; then
18932 cat >>confdefs.h <<_ACEOF
18933 #define HAVE_SCSIREQ_T_CMD 1
18934 _ACEOF
18938 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18939 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18940 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18942 else
18943 cat >conftest.$ac_ext <<_ACEOF
18944 /* confdefs.h. */
18945 _ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18949 #include <sys/types.h>
18950 #ifdef HAVE_SCSI_SG_H
18951 #include <scsi/sg.h>
18952 #endif
18955 main ()
18957 static sg_io_hdr_t ac_aggr;
18958 if (ac_aggr.interface_id)
18959 return 0;
18961 return 0;
18963 _ACEOF
18964 rm -f conftest.$ac_objext
18965 if { (ac_try="$ac_compile"
18966 case "(($ac_try" in
18967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18968 *) ac_try_echo=$ac_try;;
18969 esac
18970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18971 (eval "$ac_compile") 2>conftest.er1
18972 ac_status=$?
18973 grep -v '^ *+' conftest.er1 >conftest.err
18974 rm -f conftest.er1
18975 cat conftest.err >&5
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); } && {
18978 test -z "$ac_c_werror_flag" ||
18979 test ! -s conftest.err
18980 } && test -s conftest.$ac_objext; then
18981 ac_cv_member_sg_io_hdr_t_interface_id=yes
18982 else
18983 echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.$ac_ext >&5
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 <sys/types.h>
18993 #ifdef HAVE_SCSI_SG_H
18994 #include <scsi/sg.h>
18995 #endif
18998 main ()
19000 static sg_io_hdr_t ac_aggr;
19001 if (sizeof ac_aggr.interface_id)
19002 return 0;
19004 return 0;
19006 _ACEOF
19007 rm -f conftest.$ac_objext
19008 if { (ac_try="$ac_compile"
19009 case "(($ac_try" in
19010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19011 *) ac_try_echo=$ac_try;;
19012 esac
19013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19014 (eval "$ac_compile") 2>conftest.er1
19015 ac_status=$?
19016 grep -v '^ *+' conftest.er1 >conftest.err
19017 rm -f conftest.er1
19018 cat conftest.err >&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); } && {
19021 test -z "$ac_c_werror_flag" ||
19022 test ! -s conftest.err
19023 } && test -s conftest.$ac_objext; then
19024 ac_cv_member_sg_io_hdr_t_interface_id=yes
19025 else
19026 echo "$as_me: failed program was:" >&5
19027 sed 's/^/| /' conftest.$ac_ext >&5
19029 ac_cv_member_sg_io_hdr_t_interface_id=no
19032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19037 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19038 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19039 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19041 cat >>confdefs.h <<_ACEOF
19042 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19043 _ACEOF
19049 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19050 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19051 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19052 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 else
19054 cat >conftest.$ac_ext <<_ACEOF
19055 /* confdefs.h. */
19056 _ACEOF
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 #include <signal.h>
19063 main ()
19065 static siginfo_t ac_aggr;
19066 if (ac_aggr.si_fd)
19067 return 0;
19069 return 0;
19071 _ACEOF
19072 rm -f conftest.$ac_objext
19073 if { (ac_try="$ac_compile"
19074 case "(($ac_try" in
19075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19076 *) ac_try_echo=$ac_try;;
19077 esac
19078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19079 (eval "$ac_compile") 2>conftest.er1
19080 ac_status=$?
19081 grep -v '^ *+' conftest.er1 >conftest.err
19082 rm -f conftest.er1
19083 cat conftest.err >&5
19084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19085 (exit $ac_status); } && {
19086 test -z "$ac_c_werror_flag" ||
19087 test ! -s conftest.err
19088 } && test -s conftest.$ac_objext; then
19089 ac_cv_member_siginfo_t_si_fd=yes
19090 else
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.$ac_ext >&5
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h. */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 #include <signal.h>
19103 main ()
19105 static siginfo_t ac_aggr;
19106 if (sizeof ac_aggr.si_fd)
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_siginfo_t_si_fd=yes
19130 else
19131 echo "$as_me: failed program was:" >&5
19132 sed 's/^/| /' conftest.$ac_ext >&5
19134 ac_cv_member_siginfo_t_si_fd=no
19137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19142 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19143 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19144 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_SIGINFO_T_SI_FD 1
19148 _ACEOF
19154 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19155 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19156 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19157 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 else
19159 cat >conftest.$ac_ext <<_ACEOF
19160 /* confdefs.h. */
19161 _ACEOF
19162 cat confdefs.h >>conftest.$ac_ext
19163 cat >>conftest.$ac_ext <<_ACEOF
19164 /* end confdefs.h. */
19165 #include <sys/types.h>
19166 #ifdef HAVE_SYS_MTIO_H
19167 #include <sys/mtio.h>
19168 #endif
19171 main ()
19173 static struct mtget ac_aggr;
19174 if (ac_aggr.mt_blksiz)
19175 return 0;
19177 return 0;
19179 _ACEOF
19180 rm -f conftest.$ac_objext
19181 if { (ac_try="$ac_compile"
19182 case "(($ac_try" in
19183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19184 *) ac_try_echo=$ac_try;;
19185 esac
19186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19187 (eval "$ac_compile") 2>conftest.er1
19188 ac_status=$?
19189 grep -v '^ *+' conftest.er1 >conftest.err
19190 rm -f conftest.er1
19191 cat conftest.err >&5
19192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19193 (exit $ac_status); } && {
19194 test -z "$ac_c_werror_flag" ||
19195 test ! -s conftest.err
19196 } && test -s conftest.$ac_objext; then
19197 ac_cv_member_struct_mtget_mt_blksiz=yes
19198 else
19199 echo "$as_me: failed program was:" >&5
19200 sed 's/^/| /' conftest.$ac_ext >&5
19202 cat >conftest.$ac_ext <<_ACEOF
19203 /* confdefs.h. */
19204 _ACEOF
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19208 #include <sys/types.h>
19209 #ifdef HAVE_SYS_MTIO_H
19210 #include <sys/mtio.h>
19211 #endif
19214 main ()
19216 static struct mtget ac_aggr;
19217 if (sizeof ac_aggr.mt_blksiz)
19218 return 0;
19220 return 0;
19222 _ACEOF
19223 rm -f conftest.$ac_objext
19224 if { (ac_try="$ac_compile"
19225 case "(($ac_try" in
19226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19227 *) ac_try_echo=$ac_try;;
19228 esac
19229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19230 (eval "$ac_compile") 2>conftest.er1
19231 ac_status=$?
19232 grep -v '^ *+' conftest.er1 >conftest.err
19233 rm -f conftest.er1
19234 cat conftest.err >&5
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); } && {
19237 test -z "$ac_c_werror_flag" ||
19238 test ! -s conftest.err
19239 } && test -s conftest.$ac_objext; then
19240 ac_cv_member_struct_mtget_mt_blksiz=yes
19241 else
19242 echo "$as_me: failed program was:" >&5
19243 sed 's/^/| /' conftest.$ac_ext >&5
19245 ac_cv_member_struct_mtget_mt_blksiz=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19253 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19254 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19255 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19257 cat >>confdefs.h <<_ACEOF
19258 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19259 _ACEOF
19263 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19264 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19265 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19266 echo $ECHO_N "(cached) $ECHO_C" >&6
19267 else
19268 cat >conftest.$ac_ext <<_ACEOF
19269 /* confdefs.h. */
19270 _ACEOF
19271 cat confdefs.h >>conftest.$ac_ext
19272 cat >>conftest.$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19274 #include <sys/types.h>
19275 #ifdef HAVE_SYS_MTIO_H
19276 #include <sys/mtio.h>
19277 #endif
19280 main ()
19282 static struct mtget ac_aggr;
19283 if (ac_aggr.mt_gstat)
19284 return 0;
19286 return 0;
19288 _ACEOF
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19306 ac_cv_member_struct_mtget_mt_gstat=yes
19307 else
19308 echo "$as_me: failed program was:" >&5
19309 sed 's/^/| /' conftest.$ac_ext >&5
19311 cat >conftest.$ac_ext <<_ACEOF
19312 /* confdefs.h. */
19313 _ACEOF
19314 cat confdefs.h >>conftest.$ac_ext
19315 cat >>conftest.$ac_ext <<_ACEOF
19316 /* end confdefs.h. */
19317 #include <sys/types.h>
19318 #ifdef HAVE_SYS_MTIO_H
19319 #include <sys/mtio.h>
19320 #endif
19323 main ()
19325 static struct mtget ac_aggr;
19326 if (sizeof ac_aggr.mt_gstat)
19327 return 0;
19329 return 0;
19331 _ACEOF
19332 rm -f conftest.$ac_objext
19333 if { (ac_try="$ac_compile"
19334 case "(($ac_try" in
19335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19336 *) ac_try_echo=$ac_try;;
19337 esac
19338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19339 (eval "$ac_compile") 2>conftest.er1
19340 ac_status=$?
19341 grep -v '^ *+' conftest.er1 >conftest.err
19342 rm -f conftest.er1
19343 cat conftest.err >&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); } && {
19346 test -z "$ac_c_werror_flag" ||
19347 test ! -s conftest.err
19348 } && test -s conftest.$ac_objext; then
19349 ac_cv_member_struct_mtget_mt_gstat=yes
19350 else
19351 echo "$as_me: failed program was:" >&5
19352 sed 's/^/| /' conftest.$ac_ext >&5
19354 ac_cv_member_struct_mtget_mt_gstat=no
19357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19362 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19363 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19364 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19366 cat >>confdefs.h <<_ACEOF
19367 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19368 _ACEOF
19372 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19373 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19374 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19375 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 else
19377 cat >conftest.$ac_ext <<_ACEOF
19378 /* confdefs.h. */
19379 _ACEOF
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 #include <sys/types.h>
19384 #ifdef HAVE_SYS_MTIO_H
19385 #include <sys/mtio.h>
19386 #endif
19389 main ()
19391 static struct mtget ac_aggr;
19392 if (ac_aggr.mt_blkno)
19393 return 0;
19395 return 0;
19397 _ACEOF
19398 rm -f conftest.$ac_objext
19399 if { (ac_try="$ac_compile"
19400 case "(($ac_try" in
19401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19402 *) ac_try_echo=$ac_try;;
19403 esac
19404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19405 (eval "$ac_compile") 2>conftest.er1
19406 ac_status=$?
19407 grep -v '^ *+' conftest.er1 >conftest.err
19408 rm -f conftest.er1
19409 cat conftest.err >&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); } && {
19412 test -z "$ac_c_werror_flag" ||
19413 test ! -s conftest.err
19414 } && test -s conftest.$ac_objext; then
19415 ac_cv_member_struct_mtget_mt_blkno=yes
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
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 #include <sys/types.h>
19427 #ifdef HAVE_SYS_MTIO_H
19428 #include <sys/mtio.h>
19429 #endif
19432 main ()
19434 static struct mtget ac_aggr;
19435 if (sizeof ac_aggr.mt_blkno)
19436 return 0;
19438 return 0;
19440 _ACEOF
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19446 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 ac_cv_member_struct_mtget_mt_blkno=yes
19459 else
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 ac_cv_member_struct_mtget_mt_blkno=no
19466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19471 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19472 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19473 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19475 cat >>confdefs.h <<_ACEOF
19476 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19477 _ACEOF
19483 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19484 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19485 if test "${ac_cv_member_struct_option_name+set}" = set; then
19486 echo $ECHO_N "(cached) $ECHO_C" >&6
19487 else
19488 cat >conftest.$ac_ext <<_ACEOF
19489 /* confdefs.h. */
19490 _ACEOF
19491 cat confdefs.h >>conftest.$ac_ext
19492 cat >>conftest.$ac_ext <<_ACEOF
19493 /* end confdefs.h. */
19494 #ifdef HAVE_GETOPT_H
19495 #include <getopt.h>
19496 #endif
19499 main ()
19501 static struct option ac_aggr;
19502 if (ac_aggr.name)
19503 return 0;
19505 return 0;
19507 _ACEOF
19508 rm -f conftest.$ac_objext
19509 if { (ac_try="$ac_compile"
19510 case "(($ac_try" in
19511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19512 *) ac_try_echo=$ac_try;;
19513 esac
19514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19515 (eval "$ac_compile") 2>conftest.er1
19516 ac_status=$?
19517 grep -v '^ *+' conftest.er1 >conftest.err
19518 rm -f conftest.er1
19519 cat conftest.err >&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } && {
19522 test -z "$ac_c_werror_flag" ||
19523 test ! -s conftest.err
19524 } && test -s conftest.$ac_objext; then
19525 ac_cv_member_struct_option_name=yes
19526 else
19527 echo "$as_me: failed program was:" >&5
19528 sed 's/^/| /' conftest.$ac_ext >&5
19530 cat >conftest.$ac_ext <<_ACEOF
19531 /* confdefs.h. */
19532 _ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 #ifdef HAVE_GETOPT_H
19537 #include <getopt.h>
19538 #endif
19541 main ()
19543 static struct option ac_aggr;
19544 if (sizeof ac_aggr.name)
19545 return 0;
19547 return 0;
19549 _ACEOF
19550 rm -f conftest.$ac_objext
19551 if { (ac_try="$ac_compile"
19552 case "(($ac_try" in
19553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19554 *) ac_try_echo=$ac_try;;
19555 esac
19556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19557 (eval "$ac_compile") 2>conftest.er1
19558 ac_status=$?
19559 grep -v '^ *+' conftest.er1 >conftest.err
19560 rm -f conftest.er1
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } && {
19564 test -z "$ac_c_werror_flag" ||
19565 test ! -s conftest.err
19566 } && test -s conftest.$ac_objext; then
19567 ac_cv_member_struct_option_name=yes
19568 else
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.$ac_ext >&5
19572 ac_cv_member_struct_option_name=no
19575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19580 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19581 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19582 if test $ac_cv_member_struct_option_name = yes; then
19584 cat >>confdefs.h <<_ACEOF
19585 #define HAVE_STRUCT_OPTION_NAME 1
19586 _ACEOF
19592 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19593 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19594 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19595 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 else
19597 cat >conftest.$ac_ext <<_ACEOF
19598 /* confdefs.h. */
19599 _ACEOF
19600 cat confdefs.h >>conftest.$ac_ext
19601 cat >>conftest.$ac_ext <<_ACEOF
19602 /* end confdefs.h. */
19603 $ac_includes_default
19605 main ()
19607 static struct stat ac_aggr;
19608 if (ac_aggr.st_blocks)
19609 return 0;
19611 return 0;
19613 _ACEOF
19614 rm -f conftest.$ac_objext
19615 if { (ac_try="$ac_compile"
19616 case "(($ac_try" in
19617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19619 esac
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_compile") 2>conftest.er1
19622 ac_status=$?
19623 grep -v '^ *+' conftest.er1 >conftest.err
19624 rm -f conftest.er1
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && {
19628 test -z "$ac_c_werror_flag" ||
19629 test ! -s conftest.err
19630 } && test -s conftest.$ac_objext; then
19631 ac_cv_member_struct_stat_st_blocks=yes
19632 else
19633 echo "$as_me: failed program was:" >&5
19634 sed 's/^/| /' conftest.$ac_ext >&5
19636 cat >conftest.$ac_ext <<_ACEOF
19637 /* confdefs.h. */
19638 _ACEOF
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 $ac_includes_default
19644 main ()
19646 static struct stat ac_aggr;
19647 if (sizeof ac_aggr.st_blocks)
19648 return 0;
19650 return 0;
19652 _ACEOF
19653 rm -f conftest.$ac_objext
19654 if { (ac_try="$ac_compile"
19655 case "(($ac_try" in
19656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19657 *) ac_try_echo=$ac_try;;
19658 esac
19659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19660 (eval "$ac_compile") 2>conftest.er1
19661 ac_status=$?
19662 grep -v '^ *+' conftest.er1 >conftest.err
19663 rm -f conftest.er1
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } && {
19667 test -z "$ac_c_werror_flag" ||
19668 test ! -s conftest.err
19669 } && test -s conftest.$ac_objext; then
19670 ac_cv_member_struct_stat_st_blocks=yes
19671 else
19672 echo "$as_me: failed program was:" >&5
19673 sed 's/^/| /' conftest.$ac_ext >&5
19675 ac_cv_member_struct_stat_st_blocks=no
19678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19683 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19684 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19685 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19687 cat >>confdefs.h <<_ACEOF
19688 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19689 _ACEOF
19695 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19696 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19697 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19698 echo $ECHO_N "(cached) $ECHO_C" >&6
19699 else
19700 cat >conftest.$ac_ext <<_ACEOF
19701 /* confdefs.h. */
19702 _ACEOF
19703 cat confdefs.h >>conftest.$ac_ext
19704 cat >>conftest.$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 #ifdef HAVE_SYS_TYPES_H
19707 #include <sys/types.h>
19708 #endif
19709 #ifdef HAVE_NETINET_IN_H
19710 #include <netinet/in.h>
19711 #endif
19714 main ()
19716 static struct sockaddr_in6 ac_aggr;
19717 if (ac_aggr.sin6_scope_id)
19718 return 0;
19720 return 0;
19722 _ACEOF
19723 rm -f conftest.$ac_objext
19724 if { (ac_try="$ac_compile"
19725 case "(($ac_try" in
19726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19727 *) ac_try_echo=$ac_try;;
19728 esac
19729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19730 (eval "$ac_compile") 2>conftest.er1
19731 ac_status=$?
19732 grep -v '^ *+' conftest.er1 >conftest.err
19733 rm -f conftest.er1
19734 cat conftest.err >&5
19735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19736 (exit $ac_status); } && {
19737 test -z "$ac_c_werror_flag" ||
19738 test ! -s conftest.err
19739 } && test -s conftest.$ac_objext; then
19740 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19741 else
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.$ac_ext >&5
19745 cat >conftest.$ac_ext <<_ACEOF
19746 /* confdefs.h. */
19747 _ACEOF
19748 cat confdefs.h >>conftest.$ac_ext
19749 cat >>conftest.$ac_ext <<_ACEOF
19750 /* end confdefs.h. */
19751 #ifdef HAVE_SYS_TYPES_H
19752 #include <sys/types.h>
19753 #endif
19754 #ifdef HAVE_NETINET_IN_H
19755 #include <netinet/in.h>
19756 #endif
19759 main ()
19761 static struct sockaddr_in6 ac_aggr;
19762 if (sizeof ac_aggr.sin6_scope_id)
19763 return 0;
19765 return 0;
19767 _ACEOF
19768 rm -f conftest.$ac_objext
19769 if { (ac_try="$ac_compile"
19770 case "(($ac_try" in
19771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19772 *) ac_try_echo=$ac_try;;
19773 esac
19774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19775 (eval "$ac_compile") 2>conftest.er1
19776 ac_status=$?
19777 grep -v '^ *+' conftest.er1 >conftest.err
19778 rm -f conftest.er1
19779 cat conftest.err >&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); } && {
19782 test -z "$ac_c_werror_flag" ||
19783 test ! -s conftest.err
19784 } && test -s conftest.$ac_objext; then
19785 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19786 else
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19798 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19799 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19800 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19802 cat >>confdefs.h <<_ACEOF
19803 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19804 _ACEOF
19810 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19811 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19812 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19813 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 else
19815 cat >conftest.$ac_ext <<_ACEOF
19816 /* confdefs.h. */
19817 _ACEOF
19818 cat confdefs.h >>conftest.$ac_ext
19819 cat >>conftest.$ac_ext <<_ACEOF
19820 /* end confdefs.h. */
19821 #ifdef HAVE_SYS_TYPES_H
19822 #include <sys/types.h>
19823 #endif
19824 #ifdef HAVE_NETINET_IN_H
19825 # include <netinet/in.h>
19826 #endif
19827 #ifdef HAVE_ARPA_NAMESER_H
19828 # include <arpa/nameser.h>
19829 #endif
19832 main ()
19834 static ns_msg ac_aggr;
19835 if (ac_aggr._msg_ptr)
19836 return 0;
19838 return 0;
19840 _ACEOF
19841 rm -f conftest.$ac_objext
19842 if { (ac_try="$ac_compile"
19843 case "(($ac_try" in
19844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19845 *) ac_try_echo=$ac_try;;
19846 esac
19847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19848 (eval "$ac_compile") 2>conftest.er1
19849 ac_status=$?
19850 grep -v '^ *+' conftest.er1 >conftest.err
19851 rm -f conftest.er1
19852 cat conftest.err >&5
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && {
19855 test -z "$ac_c_werror_flag" ||
19856 test ! -s conftest.err
19857 } && test -s conftest.$ac_objext; then
19858 ac_cv_member_ns_msg__msg_ptr=yes
19859 else
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19863 cat >conftest.$ac_ext <<_ACEOF
19864 /* confdefs.h. */
19865 _ACEOF
19866 cat confdefs.h >>conftest.$ac_ext
19867 cat >>conftest.$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19869 #ifdef HAVE_SYS_TYPES_H
19870 #include <sys/types.h>
19871 #endif
19872 #ifdef HAVE_NETINET_IN_H
19873 # include <netinet/in.h>
19874 #endif
19875 #ifdef HAVE_ARPA_NAMESER_H
19876 # include <arpa/nameser.h>
19877 #endif
19880 main ()
19882 static ns_msg ac_aggr;
19883 if (sizeof ac_aggr._msg_ptr)
19884 return 0;
19886 return 0;
19888 _ACEOF
19889 rm -f conftest.$ac_objext
19890 if { (ac_try="$ac_compile"
19891 case "(($ac_try" in
19892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19893 *) ac_try_echo=$ac_try;;
19894 esac
19895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19896 (eval "$ac_compile") 2>conftest.er1
19897 ac_status=$?
19898 grep -v '^ *+' conftest.er1 >conftest.err
19899 rm -f conftest.er1
19900 cat conftest.err >&5
19901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19902 (exit $ac_status); } && {
19903 test -z "$ac_c_werror_flag" ||
19904 test ! -s conftest.err
19905 } && test -s conftest.$ac_objext; then
19906 ac_cv_member_ns_msg__msg_ptr=yes
19907 else
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.$ac_ext >&5
19911 ac_cv_member_ns_msg__msg_ptr=no
19914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19919 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19920 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19921 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19923 cat >>confdefs.h <<_ACEOF
19924 #define HAVE_NS_MSG__MSG_PTR 1
19925 _ACEOF
19931 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19932 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19933 if test "${ac_cv_have_timezone+set}" = set; then
19934 echo $ECHO_N "(cached) $ECHO_C" >&6
19935 else
19936 cat >conftest.$ac_ext <<_ACEOF
19937 /* confdefs.h. */
19938 _ACEOF
19939 cat confdefs.h >>conftest.$ac_ext
19940 cat >>conftest.$ac_ext <<_ACEOF
19941 /* end confdefs.h. */
19942 #include <time.h>
19944 main ()
19946 timezone = 1
19948 return 0;
19950 _ACEOF
19951 rm -f conftest.$ac_objext conftest$ac_exeext
19952 if { (ac_try="$ac_link"
19953 case "(($ac_try" in
19954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19955 *) ac_try_echo=$ac_try;;
19956 esac
19957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19958 (eval "$ac_link") 2>conftest.er1
19959 ac_status=$?
19960 grep -v '^ *+' conftest.er1 >conftest.err
19961 rm -f conftest.er1
19962 cat conftest.err >&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); } && {
19965 test -z "$ac_c_werror_flag" ||
19966 test ! -s conftest.err
19967 } && test -s conftest$ac_exeext &&
19968 $as_test_x conftest$ac_exeext; then
19969 ac_cv_have_timezone="yes"
19970 else
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19974 ac_cv_have_timezone="no"
19977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19978 conftest$ac_exeext conftest.$ac_ext
19980 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19981 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19982 if test "$ac_cv_have_timezone" = "yes"
19983 then
19985 cat >>confdefs.h <<\_ACEOF
19986 #define HAVE_TIMEZONE 1
19987 _ACEOF
19990 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19991 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19992 if test "${ac_cv_have_daylight+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19994 else
19995 cat >conftest.$ac_ext <<_ACEOF
19996 /* confdefs.h. */
19997 _ACEOF
19998 cat confdefs.h >>conftest.$ac_ext
19999 cat >>conftest.$ac_ext <<_ACEOF
20000 /* end confdefs.h. */
20001 #include <time.h>
20003 main ()
20005 daylight = 1
20007 return 0;
20009 _ACEOF
20010 rm -f conftest.$ac_objext conftest$ac_exeext
20011 if { (ac_try="$ac_link"
20012 case "(($ac_try" in
20013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20014 *) ac_try_echo=$ac_try;;
20015 esac
20016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20017 (eval "$ac_link") 2>conftest.er1
20018 ac_status=$?
20019 grep -v '^ *+' conftest.er1 >conftest.err
20020 rm -f conftest.er1
20021 cat conftest.err >&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); } && {
20024 test -z "$ac_c_werror_flag" ||
20025 test ! -s conftest.err
20026 } && test -s conftest$ac_exeext &&
20027 $as_test_x conftest$ac_exeext; then
20028 ac_cv_have_daylight="yes"
20029 else
20030 echo "$as_me: failed program was:" >&5
20031 sed 's/^/| /' conftest.$ac_ext >&5
20033 ac_cv_have_daylight="no"
20036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20037 conftest$ac_exeext conftest.$ac_ext
20039 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20040 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20041 if test "$ac_cv_have_daylight" = "yes"
20042 then
20044 cat >>confdefs.h <<\_ACEOF
20045 #define HAVE_DAYLIGHT 1
20046 _ACEOF
20051 case $host_cpu in
20052 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20053 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20054 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20056 else
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 #ifndef __i386__
20065 #endif
20066 _ACEOF
20067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20068 $EGREP "yes" >/dev/null 2>&1; then
20069 ac_cv_cpp_def___i386__=yes
20070 else
20071 ac_cv_cpp_def___i386__=no
20073 rm -f conftest*
20076 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20077 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20078 if test $ac_cv_cpp_def___i386__ = yes; then
20079 CFLAGS="$CFLAGS -D__i386__"
20080 LINTFLAGS="$LINTFLAGS -D__i386__"
20083 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20084 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20085 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20086 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 else
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 #ifndef __x86_64__
20096 #endif
20097 _ACEOF
20098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20099 $EGREP "yes" >/dev/null 2>&1; then
20100 ac_cv_cpp_def___x86_64__=yes
20101 else
20102 ac_cv_cpp_def___x86_64__=no
20104 rm -f conftest*
20107 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20108 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20109 if test $ac_cv_cpp_def___x86_64__ = yes; then
20110 CFLAGS="$CFLAGS -D__x86_64__"
20111 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20114 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20115 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20116 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 else
20119 cat >conftest.$ac_ext <<_ACEOF
20120 /* confdefs.h. */
20121 _ACEOF
20122 cat confdefs.h >>conftest.$ac_ext
20123 cat >>conftest.$ac_ext <<_ACEOF
20124 /* end confdefs.h. */
20125 #ifndef __ALPHA__
20127 #endif
20128 _ACEOF
20129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20130 $EGREP "yes" >/dev/null 2>&1; then
20131 ac_cv_cpp_def___ALPHA__=yes
20132 else
20133 ac_cv_cpp_def___ALPHA__=no
20135 rm -f conftest*
20138 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20139 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20140 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20141 CFLAGS="$CFLAGS -D__ALPHA__"
20142 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20145 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20146 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20147 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20148 echo $ECHO_N "(cached) $ECHO_C" >&6
20149 else
20150 cat >conftest.$ac_ext <<_ACEOF
20151 /* confdefs.h. */
20152 _ACEOF
20153 cat confdefs.h >>conftest.$ac_ext
20154 cat >>conftest.$ac_ext <<_ACEOF
20155 /* end confdefs.h. */
20156 #ifndef __sparc__
20158 #endif
20159 _ACEOF
20160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20161 $EGREP "yes" >/dev/null 2>&1; then
20162 ac_cv_cpp_def___sparc__=yes
20163 else
20164 ac_cv_cpp_def___sparc__=no
20166 rm -f conftest*
20169 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20170 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20171 if test $ac_cv_cpp_def___sparc__ = yes; then
20172 CFLAGS="$CFLAGS -D__sparc__"
20173 LINTFLAGS="$LINTFLAGS -D__sparc__"
20176 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20177 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20178 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20179 echo $ECHO_N "(cached) $ECHO_C" >&6
20180 else
20181 cat >conftest.$ac_ext <<_ACEOF
20182 /* confdefs.h. */
20183 _ACEOF
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 #ifndef __powerpc__
20189 #endif
20190 _ACEOF
20191 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20192 $EGREP "yes" >/dev/null 2>&1; then
20193 ac_cv_cpp_def___powerpc__=yes
20194 else
20195 ac_cv_cpp_def___powerpc__=no
20197 rm -f conftest*
20200 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20201 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20202 if test $ac_cv_cpp_def___powerpc__ = yes; then
20203 CFLAGS="$CFLAGS -D__powerpc__"
20204 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20207 esac
20209 case $host_vendor in
20210 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20211 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20212 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20213 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 else
20215 cat >conftest.$ac_ext <<_ACEOF
20216 /* confdefs.h. */
20217 _ACEOF
20218 cat confdefs.h >>conftest.$ac_ext
20219 cat >>conftest.$ac_ext <<_ACEOF
20220 /* end confdefs.h. */
20221 #ifndef __sun__
20223 #endif
20224 _ACEOF
20225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20226 $EGREP "yes" >/dev/null 2>&1; then
20227 ac_cv_cpp_def___sun__=yes
20228 else
20229 ac_cv_cpp_def___sun__=no
20231 rm -f conftest*
20234 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20235 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20236 if test $ac_cv_cpp_def___sun__ = yes; then
20237 CFLAGS="$CFLAGS -D__sun__"
20238 LINTFLAGS="$LINTFLAGS -D__sun__"
20241 esac
20244 DEPENDENCIES="### Dependencies:
20246 .INIT: Makefile
20247 .BEGIN: Makefile
20248 Makefile: dummy
20249 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20251 \$(OBJS): \$(IDL_GEN_HEADERS)
20252 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20253 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20254 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20260 ac_config_commands="$ac_config_commands include/stamp-h"
20263 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20265 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20267 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20269 ac_config_commands="$ac_config_commands dlls/user32/resources"
20271 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20273 ac_config_commands="$ac_config_commands include/wine"
20276 MAKE_RULES=Make.rules
20279 MAKE_DLL_RULES=dlls/Makedll.rules
20282 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20285 MAKE_TEST_RULES=dlls/Maketest.rules
20288 MAKE_PROG_RULES=programs/Makeprog.rules
20291 ac_config_files="$ac_config_files Make.rules"
20293 ac_config_files="$ac_config_files dlls/Makedll.rules"
20295 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20297 ac_config_files="$ac_config_files dlls/Maketest.rules"
20299 ac_config_files="$ac_config_files programs/Makeprog.rules"
20301 ac_config_files="$ac_config_files Makefile"
20303 ac_config_files="$ac_config_files dlls/Makefile"
20305 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20307 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20309 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20311 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20313 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20315 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20317 ac_config_files="$ac_config_files dlls/atl/Makefile"
20319 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20321 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20323 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20325 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20327 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20329 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20331 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20333 ac_config_files="$ac_config_files dlls/cards/Makefile"
20335 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20337 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20339 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20341 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20343 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20345 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20347 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20349 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20351 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20353 ac_config_files="$ac_config_files dlls/credui/Makefile"
20355 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20357 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20359 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20361 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20363 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20365 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20367 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20369 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20371 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20373 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20375 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20377 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20379 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20381 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20383 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20385 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20387 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20389 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20391 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20393 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20395 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20397 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20399 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20401 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20403 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20405 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20407 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20409 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20411 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20413 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20415 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20417 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20419 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20421 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20423 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20425 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20427 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20431 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20433 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20435 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20437 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20439 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20441 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20443 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20445 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20447 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20449 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20451 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20453 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20455 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20457 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20459 ac_config_files="$ac_config_files dlls/hid/Makefile"
20461 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20463 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20465 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20467 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20469 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20471 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20473 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20475 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20477 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20479 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20481 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20483 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20485 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20487 ac_config_files="$ac_config_files dlls/itss/Makefile"
20489 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20491 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20493 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20495 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20497 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20499 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20501 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20503 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20505 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20507 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20509 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20511 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20513 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20515 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20517 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20519 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20521 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20523 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20525 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20527 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20529 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20531 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20533 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20535 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20537 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20539 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20541 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20543 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20545 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20547 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20549 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20551 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20553 ac_config_files="$ac_config_files dlls/msi/Makefile"
20555 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20557 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20559 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20561 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20563 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20565 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20567 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20569 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20571 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20573 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20575 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20577 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20579 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20581 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20583 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20585 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20587 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20589 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20591 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20593 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20595 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20597 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20599 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20601 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20603 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20605 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20607 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20611 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20613 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20615 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20617 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20619 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20621 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20623 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20625 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20627 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20629 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20631 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20633 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20635 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20637 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20639 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20641 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20643 ac_config_files="$ac_config_files dlls/query/Makefile"
20645 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20647 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20649 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20651 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20653 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20655 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20657 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20659 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20661 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20663 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20665 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20667 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20669 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20671 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20673 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20675 ac_config_files="$ac_config_files dlls/security/Makefile"
20677 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20679 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20681 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20683 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20685 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20689 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20691 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20693 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20695 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20697 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20699 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20701 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20703 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20705 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20707 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20709 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20711 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20713 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20715 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20717 ac_config_files="$ac_config_files dlls/sti/Makefile"
20719 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20721 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20723 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20725 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20727 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20729 ac_config_files="$ac_config_files dlls/url/Makefile"
20731 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20733 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20735 ac_config_files="$ac_config_files dlls/user32/Makefile"
20737 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20739 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20741 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20743 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20747 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20749 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20751 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20753 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20755 ac_config_files="$ac_config_files dlls/version/Makefile"
20757 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20761 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20763 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20765 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20767 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20769 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20771 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20773 ac_config_files="$ac_config_files dlls/winearts.drv/Makefile"
20775 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20777 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20779 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20781 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20783 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20785 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20787 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20789 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20791 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20793 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20795 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20797 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20799 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20801 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20803 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20805 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20807 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20809 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20811 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20813 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20815 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20817 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20819 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20821 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20823 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20825 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20827 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20829 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20831 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20833 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20835 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20837 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20839 ac_config_files="$ac_config_files documentation/Makefile"
20841 ac_config_files="$ac_config_files fonts/Makefile"
20843 ac_config_files="$ac_config_files include/Makefile"
20845 ac_config_files="$ac_config_files libs/Makefile"
20847 ac_config_files="$ac_config_files libs/port/Makefile"
20849 ac_config_files="$ac_config_files libs/wine/Makefile"
20851 ac_config_files="$ac_config_files libs/wpp/Makefile"
20853 ac_config_files="$ac_config_files loader/Makefile"
20855 ac_config_files="$ac_config_files programs/Makefile"
20857 ac_config_files="$ac_config_files programs/clock/Makefile"
20859 ac_config_files="$ac_config_files programs/cmd/Makefile"
20861 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20863 ac_config_files="$ac_config_files programs/control/Makefile"
20865 ac_config_files="$ac_config_files programs/eject/Makefile"
20867 ac_config_files="$ac_config_files programs/expand/Makefile"
20869 ac_config_files="$ac_config_files programs/explorer/Makefile"
20871 ac_config_files="$ac_config_files programs/hh/Makefile"
20873 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20875 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20877 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20879 ac_config_files="$ac_config_files programs/notepad/Makefile"
20881 ac_config_files="$ac_config_files programs/oleview/Makefile"
20883 ac_config_files="$ac_config_files programs/progman/Makefile"
20885 ac_config_files="$ac_config_files programs/regedit/Makefile"
20887 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20889 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20891 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20893 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20895 ac_config_files="$ac_config_files programs/start/Makefile"
20897 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20899 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20901 ac_config_files="$ac_config_files programs/view/Makefile"
20903 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20905 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20907 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20909 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20911 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20913 ac_config_files="$ac_config_files programs/winefile/Makefile"
20915 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20917 ac_config_files="$ac_config_files programs/winemine/Makefile"
20919 ac_config_files="$ac_config_files programs/winepath/Makefile"
20921 ac_config_files="$ac_config_files programs/winetest/Makefile"
20923 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20925 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20927 ac_config_files="$ac_config_files programs/winver/Makefile"
20929 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20931 ac_config_files="$ac_config_files programs/xcopy/Makefile"
20933 ac_config_files="$ac_config_files server/Makefile"
20935 ac_config_files="$ac_config_files tools/Makefile"
20937 ac_config_files="$ac_config_files tools/widl/Makefile"
20939 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20941 ac_config_files="$ac_config_files tools/winedump/Makefile"
20943 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20945 ac_config_files="$ac_config_files tools/wmc/Makefile"
20947 ac_config_files="$ac_config_files tools/wrc/Makefile"
20950 cat >confcache <<\_ACEOF
20951 # This file is a shell script that caches the results of configure
20952 # tests run on this system so they can be shared between configure
20953 # scripts and configure runs, see configure's option --config-cache.
20954 # It is not useful on other systems. If it contains results you don't
20955 # want to keep, you may remove or edit it.
20957 # config.status only pays attention to the cache file if you give it
20958 # the --recheck option to rerun configure.
20960 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20961 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20962 # following values.
20964 _ACEOF
20966 # The following way of writing the cache mishandles newlines in values,
20967 # but we know of no workaround that is simple, portable, and efficient.
20968 # So, we kill variables containing newlines.
20969 # Ultrix sh set writes to stderr and can't be redirected directly,
20970 # and sets the high bit in the cache file unless we assign to the vars.
20972 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20973 eval ac_val=\$$ac_var
20974 case $ac_val in #(
20975 *${as_nl}*)
20976 case $ac_var in #(
20977 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20978 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20979 esac
20980 case $ac_var in #(
20981 _ | IFS | as_nl) ;; #(
20982 *) $as_unset $ac_var ;;
20983 esac ;;
20984 esac
20985 done
20987 (set) 2>&1 |
20988 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20989 *${as_nl}ac_space=\ *)
20990 # `set' does not quote correctly, so add quotes (double-quote
20991 # substitution turns \\\\ into \\, and sed turns \\ into \).
20992 sed -n \
20993 "s/'/'\\\\''/g;
20994 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20995 ;; #(
20997 # `set' quotes correctly as required by POSIX, so do not add quotes.
20998 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21000 esac |
21001 sort
21003 sed '
21004 /^ac_cv_env_/b end
21005 t clear
21006 :clear
21007 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21008 t end
21009 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21010 :end' >>confcache
21011 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21012 if test -w "$cache_file"; then
21013 test "x$cache_file" != "x/dev/null" &&
21014 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21015 echo "$as_me: updating cache $cache_file" >&6;}
21016 cat confcache >$cache_file
21017 else
21018 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21019 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21022 rm -f confcache
21024 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21025 # Let make expand exec_prefix.
21026 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21028 DEFS=-DHAVE_CONFIG_H
21030 ac_libobjs=
21031 ac_ltlibobjs=
21032 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21033 # 1. Remove the extension, and $U if already installed.
21034 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21035 ac_i=`echo "$ac_i" | sed "$ac_script"`
21036 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21037 # will be set to the directory where LIBOBJS objects are built.
21038 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21039 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21040 done
21041 LIBOBJS=$ac_libobjs
21043 LTLIBOBJS=$ac_ltlibobjs
21047 : ${CONFIG_STATUS=./config.status}
21048 ac_clean_files_save=$ac_clean_files
21049 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21050 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21051 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21052 cat >$CONFIG_STATUS <<_ACEOF
21053 #! $SHELL
21054 # Generated by $as_me.
21055 # Run this file to recreate the current configuration.
21056 # Compiler output produced by configure, useful for debugging
21057 # configure, is in config.log if it exists.
21059 debug=false
21060 ac_cs_recheck=false
21061 ac_cs_silent=false
21062 SHELL=\${CONFIG_SHELL-$SHELL}
21063 _ACEOF
21065 cat >>$CONFIG_STATUS <<\_ACEOF
21066 ## --------------------- ##
21067 ## M4sh Initialization. ##
21068 ## --------------------- ##
21070 # Be more Bourne compatible
21071 DUALCASE=1; export DUALCASE # for MKS sh
21072 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21073 emulate sh
21074 NULLCMD=:
21075 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21076 # is contrary to our usage. Disable this feature.
21077 alias -g '${1+"$@"}'='"$@"'
21078 setopt NO_GLOB_SUBST
21079 else
21080 case `(set -o) 2>/dev/null` in
21081 *posix*) set -o posix ;;
21082 esac
21089 # PATH needs CR
21090 # Avoid depending upon Character Ranges.
21091 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21092 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21093 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21094 as_cr_digits='0123456789'
21095 as_cr_alnum=$as_cr_Letters$as_cr_digits
21097 # The user is always right.
21098 if test "${PATH_SEPARATOR+set}" != set; then
21099 echo "#! /bin/sh" >conf$$.sh
21100 echo "exit 0" >>conf$$.sh
21101 chmod +x conf$$.sh
21102 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21103 PATH_SEPARATOR=';'
21104 else
21105 PATH_SEPARATOR=:
21107 rm -f conf$$.sh
21110 # Support unset when possible.
21111 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21112 as_unset=unset
21113 else
21114 as_unset=false
21118 # IFS
21119 # We need space, tab and new line, in precisely that order. Quoting is
21120 # there to prevent editors from complaining about space-tab.
21121 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21122 # splitting by setting IFS to empty value.)
21123 as_nl='
21125 IFS=" "" $as_nl"
21127 # Find who we are. Look in the path if we contain no directory separator.
21128 case $0 in
21129 *[\\/]* ) as_myself=$0 ;;
21130 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21131 for as_dir in $PATH
21133 IFS=$as_save_IFS
21134 test -z "$as_dir" && as_dir=.
21135 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21136 done
21137 IFS=$as_save_IFS
21140 esac
21141 # We did not find ourselves, most probably we were run as `sh COMMAND'
21142 # in which case we are not to be found in the path.
21143 if test "x$as_myself" = x; then
21144 as_myself=$0
21146 if test ! -f "$as_myself"; then
21147 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21148 { (exit 1); exit 1; }
21151 # Work around bugs in pre-3.0 UWIN ksh.
21152 for as_var in ENV MAIL MAILPATH
21153 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21154 done
21155 PS1='$ '
21156 PS2='> '
21157 PS4='+ '
21159 # NLS nuisances.
21160 for as_var in \
21161 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21162 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21163 LC_TELEPHONE LC_TIME
21165 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21166 eval $as_var=C; export $as_var
21167 else
21168 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21170 done
21172 # Required to use basename.
21173 if expr a : '\(a\)' >/dev/null 2>&1 &&
21174 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21175 as_expr=expr
21176 else
21177 as_expr=false
21180 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21181 as_basename=basename
21182 else
21183 as_basename=false
21187 # Name of the executable.
21188 as_me=`$as_basename -- "$0" ||
21189 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21190 X"$0" : 'X\(//\)$' \| \
21191 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21192 echo X/"$0" |
21193 sed '/^.*\/\([^/][^/]*\)\/*$/{
21194 s//\1/
21197 /^X\/\(\/\/\)$/{
21198 s//\1/
21201 /^X\/\(\/\).*/{
21202 s//\1/
21205 s/.*/./; q'`
21207 # CDPATH.
21208 $as_unset CDPATH
21212 as_lineno_1=$LINENO
21213 as_lineno_2=$LINENO
21214 test "x$as_lineno_1" != "x$as_lineno_2" &&
21215 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21217 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21218 # uniformly replaced by the line number. The first 'sed' inserts a
21219 # line-number line after each line using $LINENO; the second 'sed'
21220 # does the real work. The second script uses 'N' to pair each
21221 # line-number line with the line containing $LINENO, and appends
21222 # trailing '-' during substitution so that $LINENO is not a special
21223 # case at line end.
21224 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21225 # scripts with optimization help from Paolo Bonzini. Blame Lee
21226 # E. McMahon (1931-1989) for sed's syntax. :-)
21227 sed -n '
21229 /[$]LINENO/=
21230 ' <$as_myself |
21231 sed '
21232 s/[$]LINENO.*/&-/
21233 t lineno
21235 :lineno
21237 :loop
21238 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21239 t loop
21240 s/-\n.*//
21241 ' >$as_me.lineno &&
21242 chmod +x "$as_me.lineno" ||
21243 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21244 { (exit 1); exit 1; }; }
21246 # Don't try to exec as it changes $[0], causing all sort of problems
21247 # (the dirname of $[0] is not the place where we might find the
21248 # original and so on. Autoconf is especially sensitive to this).
21249 . "./$as_me.lineno"
21250 # Exit status is that of the last command.
21251 exit
21255 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21256 as_dirname=dirname
21257 else
21258 as_dirname=false
21261 ECHO_C= ECHO_N= ECHO_T=
21262 case `echo -n x` in
21263 -n*)
21264 case `echo 'x\c'` in
21265 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21266 *) ECHO_C='\c';;
21267 esac;;
21269 ECHO_N='-n';;
21270 esac
21272 if expr a : '\(a\)' >/dev/null 2>&1 &&
21273 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21274 as_expr=expr
21275 else
21276 as_expr=false
21279 rm -f conf$$ conf$$.exe conf$$.file
21280 if test -d conf$$.dir; then
21281 rm -f conf$$.dir/conf$$.file
21282 else
21283 rm -f conf$$.dir
21284 mkdir conf$$.dir
21286 echo >conf$$.file
21287 if ln -s conf$$.file conf$$ 2>/dev/null; then
21288 as_ln_s='ln -s'
21289 # ... but there are two gotchas:
21290 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21291 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21292 # In both cases, we have to default to `cp -p'.
21293 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21294 as_ln_s='cp -p'
21295 elif ln conf$$.file conf$$ 2>/dev/null; then
21296 as_ln_s=ln
21297 else
21298 as_ln_s='cp -p'
21300 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21301 rmdir conf$$.dir 2>/dev/null
21303 if mkdir -p . 2>/dev/null; then
21304 as_mkdir_p=:
21305 else
21306 test -d ./-p && rmdir ./-p
21307 as_mkdir_p=false
21310 if test -x / >/dev/null 2>&1; then
21311 as_test_x='test -x'
21312 else
21313 if ls -dL / >/dev/null 2>&1; then
21314 as_ls_L_option=L
21315 else
21316 as_ls_L_option=
21318 as_test_x='
21319 eval sh -c '\''
21320 if test -d "$1"; then
21321 test -d "$1/.";
21322 else
21323 case $1 in
21324 -*)set "./$1";;
21325 esac;
21326 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21327 ???[sx]*):;;*)false;;esac;fi
21328 '\'' sh
21331 as_executable_p=$as_test_x
21333 # Sed expression to map a string onto a valid CPP name.
21334 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21336 # Sed expression to map a string onto a valid variable name.
21337 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21340 exec 6>&1
21342 # Save the log message, to keep $[0] and so on meaningful, and to
21343 # report actual input values of CONFIG_FILES etc. instead of their
21344 # values after options handling.
21345 ac_log="
21346 This file was extended by Wine $as_me 0.9.33, which was
21347 generated by GNU Autoconf 2.61. Invocation command line was
21349 CONFIG_FILES = $CONFIG_FILES
21350 CONFIG_HEADERS = $CONFIG_HEADERS
21351 CONFIG_LINKS = $CONFIG_LINKS
21352 CONFIG_COMMANDS = $CONFIG_COMMANDS
21353 $ $0 $@
21355 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21358 _ACEOF
21360 cat >>$CONFIG_STATUS <<_ACEOF
21361 # Files that config.status was made for.
21362 config_files="$ac_config_files"
21363 config_headers="$ac_config_headers"
21364 config_commands="$ac_config_commands"
21366 _ACEOF
21368 cat >>$CONFIG_STATUS <<\_ACEOF
21369 ac_cs_usage="\
21370 \`$as_me' instantiates files from templates according to the
21371 current configuration.
21373 Usage: $0 [OPTIONS] [FILE]...
21375 -h, --help print this help, then exit
21376 -V, --version print version number and configuration settings, then exit
21377 -q, --quiet do not print progress messages
21378 -d, --debug don't remove temporary files
21379 --recheck update $as_me by reconfiguring in the same conditions
21380 --file=FILE[:TEMPLATE]
21381 instantiate the configuration file FILE
21382 --header=FILE[:TEMPLATE]
21383 instantiate the configuration header FILE
21385 Configuration files:
21386 $config_files
21388 Configuration headers:
21389 $config_headers
21391 Configuration commands:
21392 $config_commands
21394 Report bugs to <bug-autoconf@gnu.org>."
21396 _ACEOF
21397 cat >>$CONFIG_STATUS <<_ACEOF
21398 ac_cs_version="\\
21399 Wine config.status 0.9.33
21400 configured by $0, generated by GNU Autoconf 2.61,
21401 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21403 Copyright (C) 2006 Free Software Foundation, Inc.
21404 This config.status script is free software; the Free Software Foundation
21405 gives unlimited permission to copy, distribute and modify it."
21407 ac_pwd='$ac_pwd'
21408 srcdir='$srcdir'
21409 INSTALL='$INSTALL'
21410 _ACEOF
21412 cat >>$CONFIG_STATUS <<\_ACEOF
21413 # If no file are specified by the user, then we need to provide default
21414 # value. By we need to know if files were specified by the user.
21415 ac_need_defaults=:
21416 while test $# != 0
21418 case $1 in
21419 --*=*)
21420 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21421 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21422 ac_shift=:
21425 ac_option=$1
21426 ac_optarg=$2
21427 ac_shift=shift
21429 esac
21431 case $ac_option in
21432 # Handling of the options.
21433 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21434 ac_cs_recheck=: ;;
21435 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21436 echo "$ac_cs_version"; exit ;;
21437 --debug | --debu | --deb | --de | --d | -d )
21438 debug=: ;;
21439 --file | --fil | --fi | --f )
21440 $ac_shift
21441 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21442 ac_need_defaults=false;;
21443 --header | --heade | --head | --hea )
21444 $ac_shift
21445 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21446 ac_need_defaults=false;;
21447 --he | --h)
21448 # Conflict between --help and --header
21449 { echo "$as_me: error: ambiguous option: $1
21450 Try \`$0 --help' for more information." >&2
21451 { (exit 1); exit 1; }; };;
21452 --help | --hel | -h )
21453 echo "$ac_cs_usage"; exit ;;
21454 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21455 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21456 ac_cs_silent=: ;;
21458 # This is an error.
21459 -*) { echo "$as_me: error: unrecognized option: $1
21460 Try \`$0 --help' for more information." >&2
21461 { (exit 1); exit 1; }; } ;;
21463 *) ac_config_targets="$ac_config_targets $1"
21464 ac_need_defaults=false ;;
21466 esac
21467 shift
21468 done
21470 ac_configure_extra_args=
21472 if $ac_cs_silent; then
21473 exec 6>/dev/null
21474 ac_configure_extra_args="$ac_configure_extra_args --silent"
21477 _ACEOF
21478 cat >>$CONFIG_STATUS <<_ACEOF
21479 if \$ac_cs_recheck; then
21480 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21481 CONFIG_SHELL=$SHELL
21482 export CONFIG_SHELL
21483 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21486 _ACEOF
21487 cat >>$CONFIG_STATUS <<\_ACEOF
21488 exec 5>>config.log
21490 echo
21491 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21492 ## Running $as_me. ##
21493 _ASBOX
21494 echo "$ac_log"
21495 } >&5
21497 _ACEOF
21498 cat >>$CONFIG_STATUS <<_ACEOF
21499 _ACEOF
21501 cat >>$CONFIG_STATUS <<\_ACEOF
21503 # Handling of arguments.
21504 for ac_config_target in $ac_config_targets
21506 case $ac_config_target in
21507 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21508 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21509 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21510 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21511 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21512 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21513 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21514 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21515 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21516 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21517 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21518 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21519 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21520 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21521 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21522 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21523 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21524 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21525 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21526 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21527 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21528 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21529 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21530 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21531 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21532 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21533 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21534 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21535 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21536 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21537 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21538 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21539 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21540 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21541 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21542 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21543 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21544 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21545 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21546 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21547 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21548 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21549 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21550 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21551 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21552 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21553 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21554 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21555 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21556 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21557 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21558 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21559 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21560 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21561 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21562 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21563 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21564 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21565 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21566 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21567 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21568 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21569 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21570 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21571 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21572 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21573 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21574 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21575 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21576 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21577 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21578 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21579 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21580 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21581 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21582 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21583 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21584 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21585 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21586 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21587 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21588 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21589 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21590 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21591 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21592 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21593 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21594 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21595 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21596 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21597 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21598 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21599 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21600 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21601 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21602 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21603 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21604 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21605 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21606 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21607 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21608 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21609 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21610 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21611 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21612 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21613 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21614 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21615 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21616 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21617 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21618 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21619 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21620 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21621 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21622 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21623 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21624 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21625 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21626 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21627 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21628 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21629 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21630 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21631 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21632 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21633 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21634 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21635 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21636 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21637 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21638 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21639 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21640 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21641 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21642 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21643 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21644 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21645 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21646 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21647 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21648 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21649 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21650 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21651 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21652 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21653 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21654 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21655 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21656 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21657 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21658 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21659 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21660 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21661 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21662 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21663 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21664 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21665 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21666 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21667 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21668 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21669 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21670 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21671 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21672 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21673 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21674 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21675 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21676 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21677 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21678 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21679 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21680 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21681 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21682 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21683 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21684 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21685 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21686 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21687 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21688 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21689 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21690 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21691 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21692 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21693 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21694 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21695 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21696 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21697 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21698 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21699 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21700 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21701 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21702 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21703 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21704 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21705 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21706 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21707 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21708 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21709 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21710 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21711 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21712 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21713 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21714 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21715 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21716 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21717 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21718 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21719 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21720 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21721 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21722 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21723 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21724 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21725 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21726 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21727 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21728 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21729 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21730 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21731 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21732 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21733 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21734 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21735 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21736 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21737 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21738 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21739 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21740 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21741 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21742 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21743 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21744 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21745 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21746 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21747 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21748 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21749 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21750 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21751 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21752 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21753 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21754 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21755 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21756 "dlls/winearts.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21757 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21758 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21759 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21760 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21761 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21762 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21763 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21764 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21765 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21766 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21767 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21768 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21769 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21770 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21771 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21772 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21773 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21774 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21775 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21776 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21777 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21778 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21779 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21780 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21781 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21782 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21783 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21784 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21785 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21786 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21787 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21788 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21789 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21790 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21791 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21792 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21793 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21794 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21795 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21796 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21797 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21798 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21799 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21800 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21801 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21802 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21803 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21804 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21805 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21806 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21807 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21808 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21809 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21810 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21811 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21812 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21813 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21814 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21815 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21816 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21817 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21818 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21819 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21820 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21821 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21822 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21823 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21824 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21825 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21826 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21827 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21828 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21829 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21830 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21831 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21832 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21833 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21834 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21835 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21836 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21837 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21838 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21839 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21840 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21841 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21842 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21843 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21845 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21846 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21847 { (exit 1); exit 1; }; };;
21848 esac
21849 done
21852 # If the user did not use the arguments to specify the items to instantiate,
21853 # then the envvar interface is used. Set only those that are not.
21854 # We use the long form for the default assignment because of an extremely
21855 # bizarre bug on SunOS 4.1.3.
21856 if $ac_need_defaults; then
21857 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21858 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21859 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21862 # Have a temporary directory for convenience. Make it in the build tree
21863 # simply because there is no reason against having it here, and in addition,
21864 # creating and moving files from /tmp can sometimes cause problems.
21865 # Hook for its removal unless debugging.
21866 # Note that there is a small window in which the directory will not be cleaned:
21867 # after its creation but before its name has been assigned to `$tmp'.
21868 $debug ||
21870 tmp=
21871 trap 'exit_status=$?
21872 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21874 trap '{ (exit 1); exit 1; }' 1 2 13 15
21876 # Create a (secure) tmp directory for tmp files.
21879 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21880 test -n "$tmp" && test -d "$tmp"
21881 } ||
21883 tmp=./conf$$-$RANDOM
21884 (umask 077 && mkdir "$tmp")
21885 } ||
21887 echo "$me: cannot create a temporary directory in ." >&2
21888 { (exit 1); exit 1; }
21892 # Set up the sed scripts for CONFIG_FILES section.
21895 # No need to generate the scripts if there are no CONFIG_FILES.
21896 # This happens for instance when ./config.status config.h
21897 if test -n "$CONFIG_FILES"; then
21899 _ACEOF
21901 # Create sed commands to just substitute file output variables.
21903 # Remaining file output variables are in a fragment that also has non-file
21904 # output varibles.
21908 ac_delim='%!_!# '
21909 for ac_last_try in false false false false false :; do
21910 cat >conf$$subs.sed <<_ACEOF
21911 SHELL!$SHELL$ac_delim
21912 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21913 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21914 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21915 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21916 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21917 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21918 exec_prefix!$exec_prefix$ac_delim
21919 prefix!$prefix$ac_delim
21920 program_transform_name!$program_transform_name$ac_delim
21921 bindir!$bindir$ac_delim
21922 sbindir!$sbindir$ac_delim
21923 libexecdir!$libexecdir$ac_delim
21924 datarootdir!$datarootdir$ac_delim
21925 datadir!$datadir$ac_delim
21926 sysconfdir!$sysconfdir$ac_delim
21927 sharedstatedir!$sharedstatedir$ac_delim
21928 localstatedir!$localstatedir$ac_delim
21929 includedir!$includedir$ac_delim
21930 oldincludedir!$oldincludedir$ac_delim
21931 docdir!$docdir$ac_delim
21932 infodir!$infodir$ac_delim
21933 htmldir!$htmldir$ac_delim
21934 dvidir!$dvidir$ac_delim
21935 pdfdir!$pdfdir$ac_delim
21936 psdir!$psdir$ac_delim
21937 libdir!$libdir$ac_delim
21938 localedir!$localedir$ac_delim
21939 mandir!$mandir$ac_delim
21940 DEFS!$DEFS$ac_delim
21941 ECHO_C!$ECHO_C$ac_delim
21942 ECHO_N!$ECHO_N$ac_delim
21943 ECHO_T!$ECHO_T$ac_delim
21944 LIBS!$LIBS$ac_delim
21945 build_alias!$build_alias$ac_delim
21946 host_alias!$host_alias$ac_delim
21947 target_alias!$target_alias$ac_delim
21948 build!$build$ac_delim
21949 build_cpu!$build_cpu$ac_delim
21950 build_vendor!$build_vendor$ac_delim
21951 build_os!$build_os$ac_delim
21952 host!$host$ac_delim
21953 host_cpu!$host_cpu$ac_delim
21954 host_vendor!$host_vendor$ac_delim
21955 host_os!$host_os$ac_delim
21956 WIN16_FILES!$WIN16_FILES$ac_delim
21957 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21958 SET_MAKE!$SET_MAKE$ac_delim
21959 CC!$CC$ac_delim
21960 CFLAGS!$CFLAGS$ac_delim
21961 LDFLAGS!$LDFLAGS$ac_delim
21962 CPPFLAGS!$CPPFLAGS$ac_delim
21963 ac_ct_CC!$ac_ct_CC$ac_delim
21964 EXEEXT!$EXEEXT$ac_delim
21965 OBJEXT!$OBJEXT$ac_delim
21966 CXX!$CXX$ac_delim
21967 CXXFLAGS!$CXXFLAGS$ac_delim
21968 ac_ct_CXX!$ac_ct_CXX$ac_delim
21969 CPPBIN!$CPPBIN$ac_delim
21970 TOOLSDIR!$TOOLSDIR$ac_delim
21971 XMKMF!$XMKMF$ac_delim
21972 CPP!$CPP$ac_delim
21973 X_CFLAGS!$X_CFLAGS$ac_delim
21974 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21975 X_LIBS!$X_LIBS$ac_delim
21976 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21977 FLEX!$FLEX$ac_delim
21978 BISON!$BISON$ac_delim
21979 AS!$AS$ac_delim
21980 ac_ct_AS!$ac_ct_AS$ac_delim
21981 LD!$LD$ac_delim
21982 AR!$AR$ac_delim
21983 RANLIB!$RANLIB$ac_delim
21984 STRIP!$STRIP$ac_delim
21985 WINDRES!$WINDRES$ac_delim
21986 LN_S!$LN_S$ac_delim
21987 LN!$LN$ac_delim
21988 GREP!$GREP$ac_delim
21989 EGREP!$EGREP$ac_delim
21990 LDCONFIG!$LDCONFIG$ac_delim
21991 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21992 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21993 _ACEOF
21995 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21996 break
21997 elif $ac_last_try; then
21998 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21999 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22000 { (exit 1); exit 1; }; }
22001 else
22002 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22004 done
22006 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22007 if test -n "$ac_eof"; then
22008 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22009 ac_eof=`expr $ac_eof + 1`
22012 cat >>$CONFIG_STATUS <<_ACEOF
22013 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22014 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22015 /^[ ]*@MAKE_RULES@[ ]*$/{
22016 r $MAKE_RULES
22019 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22020 r $MAKE_DLL_RULES
22023 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22024 r $MAKE_IMPLIB_RULES
22027 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22028 r $MAKE_TEST_RULES
22031 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22032 r $MAKE_PROG_RULES
22035 _ACEOF
22036 sed '
22037 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22038 s/^/s,@/; s/!/@,|#_!!_#|/
22041 s/'"$ac_delim"'$/,g/; t
22042 s/$/\\/; p
22043 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22044 ' >>$CONFIG_STATUS <conf$$subs.sed
22045 rm -f conf$$subs.sed
22046 cat >>$CONFIG_STATUS <<_ACEOF
22047 CEOF$ac_eof
22048 _ACEOF
22051 ac_delim='%!_!# '
22052 for ac_last_try in false false false false false :; do
22053 cat >conf$$subs.sed <<_ACEOF
22054 INSTALL_DATA!$INSTALL_DATA$ac_delim
22055 LINT!$LINT$ac_delim
22056 LINTFLAGS!$LINTFLAGS$ac_delim
22057 FONTFORGE!$FONTFORGE$ac_delim
22058 PKG_CONFIG!$PKG_CONFIG$ac_delim
22059 PRELINK!$PRELINK$ac_delim
22060 LIBPTHREAD!$LIBPTHREAD$ac_delim
22061 XLIB!$XLIB$ac_delim
22062 XFILES!$XFILES$ac_delim
22063 OPENGLFILES!$OPENGLFILES$ac_delim
22064 GLU32FILES!$GLU32FILES$ac_delim
22065 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22066 QUARTZFILES!$QUARTZFILES$ac_delim
22067 NASLIBS!$NASLIBS$ac_delim
22068 XML2LIBS!$XML2LIBS$ac_delim
22069 XML2INCL!$XML2INCL$ac_delim
22070 XSLTLIBS!$XSLTLIBS$ac_delim
22071 XSLTINCL!$XSLTINCL$ac_delim
22072 HALINCL!$HALINCL$ac_delim
22073 sane_devel!$sane_devel$ac_delim
22074 SANEINCL!$SANEINCL$ac_delim
22075 gphoto2_devel!$gphoto2_devel$ac_delim
22076 gphoto2port_devel!$gphoto2port_devel$ac_delim
22077 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22078 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22079 ICULIBS!$ICULIBS$ac_delim
22080 RESOLVLIBS!$RESOLVLIBS$ac_delim
22081 LCMSLIBS!$LCMSLIBS$ac_delim
22082 LDAPLIBS!$LDAPLIBS$ac_delim
22083 FREETYPELIBS!$FREETYPELIBS$ac_delim
22084 FREETYPEINCL!$FREETYPEINCL$ac_delim
22085 ft_devel!$ft_devel$ac_delim
22086 ft_devel2!$ft_devel2$ac_delim
22087 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22088 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22089 ARTSLIBS!$ARTSLIBS$ac_delim
22090 ARTSINCL!$ARTSINCL$ac_delim
22091 ESDCONFIG!$ESDCONFIG$ac_delim
22092 ESDLIBS!$ESDLIBS$ac_delim
22093 ESDINCL!$ESDINCL$ac_delim
22094 ALSALIBS!$ALSALIBS$ac_delim
22095 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22096 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22097 BUILTINFLAG!$BUILTINFLAG$ac_delim
22098 DLLEXT!$DLLEXT$ac_delim
22099 DLLFLAGS!$DLLFLAGS$ac_delim
22100 LDSHARED!$LDSHARED$ac_delim
22101 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22102 LIBEXT!$LIBEXT$ac_delim
22103 IMPLIBEXT!$IMPLIBEXT$ac_delim
22104 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22105 DLLTOOL!$DLLTOOL$ac_delim
22106 DLLWRAP!$DLLWRAP$ac_delim
22107 MINGWAR!$MINGWAR$ac_delim
22108 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22109 IOKITLIB!$IOKITLIB$ac_delim
22110 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22111 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22112 COREAUDIO!$COREAUDIO$ac_delim
22113 CARBONLIB!$CARBONLIB$ac_delim
22114 CROSSTEST!$CROSSTEST$ac_delim
22115 CROSSCC!$CROSSCC$ac_delim
22116 CROSSWINDRES!$CROSSWINDRES$ac_delim
22117 LDPATH!$LDPATH$ac_delim
22118 CRTLIBS!$CRTLIBS$ac_delim
22119 SOCKETLIBS!$SOCKETLIBS$ac_delim
22120 MAIN_BINARY!$MAIN_BINARY$ac_delim
22121 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22122 LDD!$LDD$ac_delim
22123 LIBDL!$LIBDL$ac_delim
22124 LIBPOLL!$LIBPOLL$ac_delim
22125 DEPENDENCIES!$DEPENDENCIES$ac_delim
22126 LIBOBJS!$LIBOBJS$ac_delim
22127 LTLIBOBJS!$LTLIBOBJS$ac_delim
22128 _ACEOF
22130 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22131 break
22132 elif $ac_last_try; then
22133 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22134 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22135 { (exit 1); exit 1; }; }
22136 else
22137 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22139 done
22141 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22142 if test -n "$ac_eof"; then
22143 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22144 ac_eof=`expr $ac_eof + 1`
22147 cat >>$CONFIG_STATUS <<_ACEOF
22148 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22150 _ACEOF
22151 sed '
22152 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22153 s/^/s,@/; s/!/@,|#_!!_#|/
22156 s/'"$ac_delim"'$/,g/; t
22157 s/$/\\/; p
22158 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22159 ' >>$CONFIG_STATUS <conf$$subs.sed
22160 rm -f conf$$subs.sed
22161 cat >>$CONFIG_STATUS <<_ACEOF
22162 :end
22163 s/|#_!!_#|//g
22164 CEOF$ac_eof
22165 _ACEOF
22168 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22169 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22170 # trailing colons and then remove the whole line if VPATH becomes empty
22171 # (actually we leave an empty line to preserve line numbers).
22172 if test "x$srcdir" = x.; then
22173 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22174 s/:*\$(srcdir):*/:/
22175 s/:*\${srcdir}:*/:/
22176 s/:*@srcdir@:*/:/
22177 s/^\([^=]*=[ ]*\):*/\1/
22178 s/:*$//
22179 s/^[^=]*=[ ]*$//
22183 cat >>$CONFIG_STATUS <<\_ACEOF
22184 fi # test -n "$CONFIG_FILES"
22187 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22189 case $ac_tag in
22190 :[FHLC]) ac_mode=$ac_tag; continue;;
22191 esac
22192 case $ac_mode$ac_tag in
22193 :[FHL]*:*);;
22194 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22195 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22196 { (exit 1); exit 1; }; };;
22197 :[FH]-) ac_tag=-:-;;
22198 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22199 esac
22200 ac_save_IFS=$IFS
22201 IFS=:
22202 set x $ac_tag
22203 IFS=$ac_save_IFS
22204 shift
22205 ac_file=$1
22206 shift
22208 case $ac_mode in
22209 :L) ac_source=$1;;
22210 :[FH])
22211 ac_file_inputs=
22212 for ac_f
22214 case $ac_f in
22215 -) ac_f="$tmp/stdin";;
22216 *) # Look for the file first in the build tree, then in the source tree
22217 # (if the path is not absolute). The absolute path cannot be DOS-style,
22218 # because $ac_f cannot contain `:'.
22219 test -f "$ac_f" ||
22220 case $ac_f in
22221 [\\/$]*) false;;
22222 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22223 esac ||
22224 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22225 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22226 { (exit 1); exit 1; }; };;
22227 esac
22228 ac_file_inputs="$ac_file_inputs $ac_f"
22229 done
22231 # Let's still pretend it is `configure' which instantiates (i.e., don't
22232 # use $as_me), people would be surprised to read:
22233 # /* config.h. Generated by config.status. */
22234 configure_input="Generated from "`IFS=:
22235 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22236 if test x"$ac_file" != x-; then
22237 configure_input="$ac_file. $configure_input"
22238 { echo "$as_me:$LINENO: creating $ac_file" >&5
22239 echo "$as_me: creating $ac_file" >&6;}
22242 case $ac_tag in
22243 *:-:* | *:-) cat >"$tmp/stdin";;
22244 esac
22246 esac
22248 ac_dir=`$as_dirname -- "$ac_file" ||
22249 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22250 X"$ac_file" : 'X\(//\)[^/]' \| \
22251 X"$ac_file" : 'X\(//\)$' \| \
22252 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22253 echo X"$ac_file" |
22254 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22255 s//\1/
22258 /^X\(\/\/\)[^/].*/{
22259 s//\1/
22262 /^X\(\/\/\)$/{
22263 s//\1/
22266 /^X\(\/\).*/{
22267 s//\1/
22270 s/.*/./; q'`
22271 { as_dir="$ac_dir"
22272 case $as_dir in #(
22273 -*) as_dir=./$as_dir;;
22274 esac
22275 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22276 as_dirs=
22277 while :; do
22278 case $as_dir in #(
22279 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22280 *) as_qdir=$as_dir;;
22281 esac
22282 as_dirs="'$as_qdir' $as_dirs"
22283 as_dir=`$as_dirname -- "$as_dir" ||
22284 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22285 X"$as_dir" : 'X\(//\)[^/]' \| \
22286 X"$as_dir" : 'X\(//\)$' \| \
22287 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22288 echo X"$as_dir" |
22289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22290 s//\1/
22293 /^X\(\/\/\)[^/].*/{
22294 s//\1/
22297 /^X\(\/\/\)$/{
22298 s//\1/
22301 /^X\(\/\).*/{
22302 s//\1/
22305 s/.*/./; q'`
22306 test -d "$as_dir" && break
22307 done
22308 test -z "$as_dirs" || eval "mkdir $as_dirs"
22309 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22310 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22311 { (exit 1); exit 1; }; }; }
22312 ac_builddir=.
22314 case "$ac_dir" in
22315 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22317 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22318 # A ".." for each directory in $ac_dir_suffix.
22319 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22320 case $ac_top_builddir_sub in
22321 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22322 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22323 esac ;;
22324 esac
22325 ac_abs_top_builddir=$ac_pwd
22326 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22327 # for backward compatibility:
22328 ac_top_builddir=$ac_top_build_prefix
22330 case $srcdir in
22331 .) # We are building in place.
22332 ac_srcdir=.
22333 ac_top_srcdir=$ac_top_builddir_sub
22334 ac_abs_top_srcdir=$ac_pwd ;;
22335 [\\/]* | ?:[\\/]* ) # Absolute name.
22336 ac_srcdir=$srcdir$ac_dir_suffix;
22337 ac_top_srcdir=$srcdir
22338 ac_abs_top_srcdir=$srcdir ;;
22339 *) # Relative name.
22340 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22341 ac_top_srcdir=$ac_top_build_prefix$srcdir
22342 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22343 esac
22344 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22347 case $ac_mode in
22350 # CONFIG_FILE
22353 case $INSTALL in
22354 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22355 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22356 esac
22357 _ACEOF
22359 cat >>$CONFIG_STATUS <<\_ACEOF
22360 # If the template does not know about datarootdir, expand it.
22361 # FIXME: This hack should be removed a few years after 2.60.
22362 ac_datarootdir_hack=; ac_datarootdir_seen=
22364 case `sed -n '/datarootdir/ {
22368 /@datadir@/p
22369 /@docdir@/p
22370 /@infodir@/p
22371 /@localedir@/p
22372 /@mandir@/p
22373 ' $ac_file_inputs` in
22374 *datarootdir*) ac_datarootdir_seen=yes;;
22375 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22376 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22377 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22378 _ACEOF
22379 cat >>$CONFIG_STATUS <<_ACEOF
22380 ac_datarootdir_hack='
22381 s&@datadir@&$datadir&g
22382 s&@docdir@&$docdir&g
22383 s&@infodir@&$infodir&g
22384 s&@localedir@&$localedir&g
22385 s&@mandir@&$mandir&g
22386 s&\\\${datarootdir}&$datarootdir&g' ;;
22387 esac
22388 _ACEOF
22390 # Neutralize VPATH when `$srcdir' = `.'.
22391 # Shell code in configure.ac might set extrasub.
22392 # FIXME: do we really want to maintain this feature?
22393 cat >>$CONFIG_STATUS <<_ACEOF
22394 sed "$ac_vpsub
22395 $extrasub
22396 _ACEOF
22397 cat >>$CONFIG_STATUS <<\_ACEOF
22399 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22400 s&@configure_input@&$configure_input&;t t
22401 s&@top_builddir@&$ac_top_builddir_sub&;t t
22402 s&@srcdir@&$ac_srcdir&;t t
22403 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22404 s&@top_srcdir@&$ac_top_srcdir&;t t
22405 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22406 s&@builddir@&$ac_builddir&;t t
22407 s&@abs_builddir@&$ac_abs_builddir&;t t
22408 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22409 s&@INSTALL@&$ac_INSTALL&;t t
22410 $ac_datarootdir_hack
22411 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22413 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22414 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22415 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22416 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22417 which seems to be undefined. Please make sure it is defined." >&5
22418 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22419 which seems to be undefined. Please make sure it is defined." >&2;}
22421 rm -f "$tmp/stdin"
22422 case $ac_file in
22423 -) cat "$tmp/out"; rm -f "$tmp/out";;
22424 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22425 esac
22429 # CONFIG_HEADER
22431 _ACEOF
22433 # Transform confdefs.h into a sed script `conftest.defines', that
22434 # substitutes the proper values into config.h.in to produce config.h.
22435 rm -f conftest.defines conftest.tail
22436 # First, append a space to every undef/define line, to ease matching.
22437 echo 's/$/ /' >conftest.defines
22438 # Then, protect against being on the right side of a sed subst, or in
22439 # an unquoted here document, in config.status. If some macros were
22440 # called several times there might be several #defines for the same
22441 # symbol, which is useless. But do not sort them, since the last
22442 # AC_DEFINE must be honored.
22443 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22444 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22445 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22446 # PARAMS is the parameter list in the macro definition--in most cases, it's
22447 # just an empty string.
22448 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22449 ac_dB='\\)[ (].*,\\1define\\2'
22450 ac_dC=' '
22451 ac_dD=' ,'
22453 uniq confdefs.h |
22454 sed -n '
22455 t rset
22456 :rset
22457 s/^[ ]*#[ ]*define[ ][ ]*//
22458 t ok
22461 s/[\\&,]/\\&/g
22462 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22463 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22464 ' >>conftest.defines
22466 # Remove the space that was appended to ease matching.
22467 # Then replace #undef with comments. This is necessary, for
22468 # example, in the case of _POSIX_SOURCE, which is predefined and required
22469 # on some systems where configure will not decide to define it.
22470 # (The regexp can be short, since the line contains either #define or #undef.)
22471 echo 's/ $//
22472 s,^[ #]*u.*,/* & */,' >>conftest.defines
22474 # Break up conftest.defines:
22475 ac_max_sed_lines=50
22477 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22478 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22479 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22480 # et cetera.
22481 ac_in='$ac_file_inputs'
22482 ac_out='"$tmp/out1"'
22483 ac_nxt='"$tmp/out2"'
22485 while :
22487 # Write a here document:
22488 cat >>$CONFIG_STATUS <<_ACEOF
22489 # First, check the format of the line:
22490 cat >"\$tmp/defines.sed" <<\\CEOF
22491 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22492 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22494 :def
22495 _ACEOF
22496 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22497 echo 'CEOF
22498 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22499 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22500 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22501 grep . conftest.tail >/dev/null || break
22502 rm -f conftest.defines
22503 mv conftest.tail conftest.defines
22504 done
22505 rm -f conftest.defines conftest.tail
22507 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22508 cat >>$CONFIG_STATUS <<\_ACEOF
22509 if test x"$ac_file" != x-; then
22510 echo "/* $configure_input */" >"$tmp/config.h"
22511 cat "$ac_result" >>"$tmp/config.h"
22512 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22513 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22514 echo "$as_me: $ac_file is unchanged" >&6;}
22515 else
22516 rm -f $ac_file
22517 mv "$tmp/config.h" $ac_file
22519 else
22520 echo "/* $configure_input */"
22521 cat "$ac_result"
22523 rm -f "$tmp/out12"
22526 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22527 echo "$as_me: executing $ac_file commands" >&6;}
22529 esac
22532 case $ac_file$ac_mode in
22533 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22534 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22535 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22536 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22537 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22538 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22539 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22540 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22541 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22542 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22543 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22544 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22545 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22547 esac
22548 done # for ac_tag
22551 { (exit 0); exit 0; }
22552 _ACEOF
22553 chmod +x $CONFIG_STATUS
22554 ac_clean_files=$ac_clean_files_save
22557 # configure is writing to config.log, and then calls config.status.
22558 # config.status does its own redirection, appending to config.log.
22559 # Unfortunately, on DOS this fails, as config.log is still kept open
22560 # by configure, so config.status won't be able to write to it; its
22561 # output is simply discarded. So we exec the FD to /dev/null,
22562 # effectively closing config.log, so it can be properly (re)opened and
22563 # appended to by config.status. When coming back to configure, we
22564 # need to make the FD available again.
22565 if test "$no_create" != yes; then
22566 ac_cs_success=:
22567 ac_config_status_args=
22568 test "$silent" = yes &&
22569 ac_config_status_args="$ac_config_status_args --quiet"
22570 exec 5>/dev/null
22571 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22572 exec 5>>config.log
22573 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22574 # would make configure fail if this is the last instruction.
22575 $ac_cs_success || { (exit 1); exit 1; }
22580 if test "$no_create" = "yes"
22581 then
22582 exit 0
22585 if test "$verbose" = "yes"
22586 then
22587 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22588 then
22589 echo >&2
22590 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22591 echo "$as_me: libcapi20 development files not found." >&6;}
22592 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22593 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22596 if test "$ac_cv_header_cups_cups_h" != "yes"
22597 then
22598 echo >&2
22599 { echo "$as_me:$LINENO: libcups development files not found." >&5
22600 echo "$as_me: libcups development files not found." >&6;}
22601 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22602 echo "$as_me: Wine will be built without CUPS support." >&6;}
22606 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22607 then
22608 echo >&2
22609 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22610 echo "$as_me: libgphoto2 development files not found." >&6;}
22611 if test "$ac_cv_header_sane_sane_h" = "yes"
22612 then
22613 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22614 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22615 else
22616 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22617 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22621 if test "$ac_cv_header_hal_libhal_h" != "yes"
22622 then
22623 echo >&2
22624 { echo "$as_me:$LINENO: libhal development files not found." >&5
22625 echo "$as_me: libhal development files not found." >&6;}
22626 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22627 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22630 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22631 then
22632 echo >&2
22633 { echo "$as_me:$LINENO: libicu development files not found." >&5
22634 echo "$as_me: libicu development files not found." >&6;}
22635 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22636 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22639 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22640 then
22641 echo >&2
22642 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22643 echo "$as_me: liblcms development files not found." >&6;}
22644 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22645 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22648 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22649 then
22650 echo >&2
22651 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22652 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22653 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22654 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22657 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22658 then
22659 echo >&2
22660 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22661 echo "$as_me: lib(n)curses development files not found." >&6;}
22662 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22663 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22666 if test "$ac_cv_header_sane_sane_h" != "yes"
22667 then
22668 echo >&2
22669 { echo "$as_me:$LINENO: libsane development files not found." >&5
22670 echo "$as_me: libsane development files not found." >&6;}
22671 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22672 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22675 if test "$have_x" = "yes"
22676 then
22677 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22678 then
22679 echo >&2
22680 { echo "$as_me:$LINENO: libxext development files not found." >&5
22681 echo "$as_me: libxext development files not found." >&6;}
22682 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22683 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22686 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22687 then
22688 echo >&2
22689 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22690 echo "$as_me: libXrandr development files not found." >&6;}
22691 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22692 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22695 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22696 then
22697 echo >&2
22698 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22699 echo "$as_me: libXrender development files not found." >&6;}
22700 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22701 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22704 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22705 then
22706 echo >&2
22707 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22708 echo "$as_me: libXxf86vm development files not found." >&6;}
22709 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22710 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22714 if test "$ac_cv_header_libxml_parser_h" != "yes"
22715 then
22716 echo >&2
22717 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22718 echo "$as_me: libxml2 development files not found." >&6;}
22719 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22720 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22723 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22724 then
22725 echo >&2
22726 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22727 echo "$as_me: libxslt development files not found." >&6;}
22728 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22729 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22734 if test "$have_x" = "no"
22735 then
22736 echo >&2
22737 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22738 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22739 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22740 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22741 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22742 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22743 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22744 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22747 if test -z "$OPENGLFILES"
22748 then
22749 echo >&2
22750 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22751 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22752 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22753 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22754 if test "$wine_cv_opengl_headers_found" = "no"
22755 then
22756 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22757 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22759 if test "$wine_cv_opengl_header_version_OK" = "no"
22760 then
22761 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22762 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22763 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22764 then
22765 if test -f /usr/X11R6/lib/libGL.a
22766 then
22767 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22768 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22769 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22770 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22771 else
22772 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22773 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22778 if test "$wine_cv_msg_freetype" = "yes"
22779 then
22780 echo >&2
22781 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22782 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22783 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22784 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22785 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22786 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22787 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22788 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22791 if test -z "$FONTSSUBDIRS"
22792 then
22793 echo >&2
22794 if test "$FONTFORGE" = "false"
22795 then
22796 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22797 echo "$as_me: WARNING: FontForge is missing." >&2;}
22798 else
22799 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22800 echo "$as_me: WARNING: FreeType is missing." >&2;}
22802 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22803 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22806 if test -z "$ALSALIBS" -a \
22807 -z "$ARTSC_LIBS" -a \
22808 -z "$AUDIOIOLIBS" -a \
22809 -z "$NASLIBS" -a \
22810 -z "$ESD_LIBS" -a \
22811 -z "$ac_cv_lib_soname_jack" -a \
22812 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22813 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22814 "$ac_cv_header_soundcard_h" != "yes"
22815 then
22816 echo >&2
22817 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22818 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22819 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22820 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22821 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22822 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22825 echo
22826 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22827 echo