cmd: In function WCMD_goto() changed strcmp() to lstrcmpi().
[wine.git] / configure
blob5402304ee8a3f79ca5efaec0946017b6e4136af7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.29.
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.29'
578 PACKAGE_STRING='Wine 0.9.29'
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
685 LEX_OUTPUT_ROOT
686 LEXLIB
687 XLEX
688 BISON
690 ac_ct_AS
693 RANLIB
694 STRIP
695 WINDRES
696 LN_S
698 GREP
699 EGREP
700 LDCONFIG
701 INSTALL_PROGRAM
702 INSTALL_SCRIPT
703 INSTALL_DATA
704 LINT
705 LINTFLAGS
706 FONTFORGE
707 PKG_CONFIG
708 PRELINK
709 LIBPTHREAD
710 XLIB
711 XFILES
712 OPENGLFILES
713 GLU32FILES
714 OPENGL_LIBS
715 QUARTZFILES
716 NASLIBS
717 XML2LIBS
718 XML2INCL
719 XSLTLIBS
720 XSLTINCL
721 HALINCL
722 sane_devel
723 SANELIBS
724 SANEINCL
725 gphoto2_devel
726 gphoto2port_devel
727 GPHOTO2LIBS
728 GPHOTO2INCL
729 ICULIBS
730 RESOLVLIBS
731 LCMSLIBS
732 LDAPLIBS
733 FREETYPELIBS
734 FREETYPEINCL
735 ft_devel
736 ft_devel2
737 FONTSSUBDIRS
738 ARTSCCONFIG
739 ARTSLIBS
740 ARTSINCL
741 ESDCONFIG
742 ESDLIBS
743 ESDINCL
744 ALSALIBS
745 AUDIOIOLIBS
746 EXTRACFLAGS
747 BUILTINFLAG
748 DLLEXT
749 DLLFLAGS
750 LDSHARED
751 LDDLLFLAGS
752 LIBEXT
753 IMPLIBEXT
754 LIBWINE_LDFLAGS
755 DLLTOOL
756 DLLWRAP
757 MINGWAR
758 COREFOUNDATIONLIB
759 IOKITLIB
760 LDEXECFLAGS
761 DISKARBITRATIONLIB
762 COREAUDIO
763 CARBONLIB
764 CROSSTEST
765 CROSSCC
766 CROSSWINDRES
767 LDPATH
768 CRTLIBS
769 SOCKETLIBS
770 MAIN_BINARY
771 EXTRA_BINARIES
773 LIBDL
774 LIBPOLL
775 DEPENDENCIES
776 LIBOBJS
777 LTLIBOBJS'
778 ac_subst_files='MAKE_RULES
779 MAKE_DLL_RULES
780 MAKE_IMPLIB_RULES
781 MAKE_TEST_RULES
782 MAKE_PROG_RULES'
783 ac_precious_vars='build_alias
784 host_alias
785 target_alias
787 CFLAGS
788 LDFLAGS
789 LIBS
790 CPPFLAGS
792 CXXFLAGS
794 XMKMF
795 CPP'
798 # Initialize some variables set by options.
799 ac_init_help=
800 ac_init_version=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
803 cache_file=/dev/null
804 exec_prefix=NONE
805 no_create=
806 no_recursion=
807 prefix=NONE
808 program_prefix=NONE
809 program_suffix=NONE
810 program_transform_name=s,x,x,
811 silent=
812 site=
813 srcdir=
814 verbose=
815 x_includes=NONE
816 x_libraries=NONE
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
836 htmldir='${docdir}'
837 dvidir='${docdir}'
838 pdfdir='${docdir}'
839 psdir='${docdir}'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
844 ac_prev=
845 ac_dashdash=
846 for ac_option
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
851 ac_prev=
852 continue
855 case $ac_option in
856 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
857 *) ac_optarg=yes ;;
858 esac
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
864 ac_dashdash=yes ;;
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
867 ac_prev=bindir ;;
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
869 bindir=$ac_optarg ;;
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
883 --config-cache | -C)
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
887 ac_prev=datadir ;;
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_$ac_feature=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
908 ac_prev=docdir ;;
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
910 docdir=$ac_optarg ;;
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
913 ac_prev=dvidir ;;
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
915 dvidir=$ac_optarg ;;
917 -enable-* | --enable-*)
918 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_$ac_feature=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
937 with_gas=yes ;;
939 -help | --help | --hel | --he | -h)
940 ac_init_help=long ;;
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
952 ac_prev=htmldir ;;
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
954 | --ht=*)
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
965 ac_prev=infodir ;;
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
970 ac_prev=libdir ;;
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
972 libdir=$ac_optarg ;;
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
982 ac_prev=localedir ;;
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
994 ac_prev=mandir ;;
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
996 mandir=$ac_optarg ;;
998 -nfp | --nfp | --nf)
999 # Obsolete; use --without-fp.
1000 with_fp=no ;;
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1004 no_create=yes ;;
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1008 no_recursion=yes ;;
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1020 ac_prev=prefix ;;
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1056 ac_prev=pdfdir ;;
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1061 ac_prev=psdir ;;
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1063 psdir=$ac_optarg ;;
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1067 silent=yes ;;
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1070 ac_prev=sbindir ;;
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1072 | --sbi=* | --sb=*)
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1078 | --sha | --sh)
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1083 | --sha=* | --sh=*)
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1087 ac_prev=site ;;
1088 -site=* | --site=* | --sit=*)
1089 site=$ac_optarg ;;
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1092 ac_prev=srcdir ;;
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1109 verbose=yes ;;
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1114 -with-* | --with-*)
1115 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_$ac_package=\$ac_optarg ;;
1123 -without-* | --without-*)
1124 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_$ac_package=no ;;
1132 --x)
1133 # Obsolete; use --with-x.
1134 with_x=yes ;;
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1155 *=*)
1156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1172 esac
1173 done
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val=\$$ac_var
1188 case $ac_val in
1189 [\\/$]* | ?:[\\/]* ) continue;;
1190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1191 esac
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1194 done
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1199 build=$build_alias
1200 host=$host_alias
1201 target=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x; then
1205 if test "x$build_alias" = x; then
1206 cross_compiling=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1210 cross_compiling=yes
1214 ac_tool_prefix=
1215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1217 test "$silent" = yes && exec 6>/dev/null
1220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di=`ls -di .` &&
1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1239 echo X"$0" |
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 s//\1/
1244 /^X\(\/\/\)[^/].*/{
1245 s//\1/
1248 /^X\(\/\/\)$/{
1249 s//\1/
1252 /^X\(\/\).*/{
1253 s//\1/
1256 s/.*/./; q'`
1257 srcdir=$ac_confdir
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1259 srcdir=..
1261 else
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1270 ac_abs_confdir=`(
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1273 pwd)`
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1276 srcdir=.
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1281 case $srcdir in
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1283 esac
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1289 done
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1297 cat <<_ACEOF
1298 \`configure' configures Wine 0.9.29 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1307 Configuration:
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1322 [PREFIX]
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1351 _ACEOF
1353 cat <<\_ACEOF
1355 X features:
1356 --x-includes=DIR X include files are in DIR
1357 --x-libraries=DIR X library files are in DIR
1359 System types:
1360 --build=BUILD configure for building on BUILD [guessed]
1361 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1362 _ACEOF
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of Wine 0.9.29:";;
1368 esac
1369 cat <<\_ACEOF
1371 Optional Features:
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1376 binaries)
1378 Optional Packages:
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-opengl do not use OpenGL
1382 --with-wine-tools=<dir> use Wine tools from directory <dir>
1383 --with-x use the X Window System
1385 Some influential environment variables:
1386 CC C compiler command
1387 CFLAGS C compiler flags
1388 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1389 nonstandard directory <lib dir>
1390 LIBS libraries to pass to the linker, e.g. -l<library>
1391 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1392 you have headers in a nonstandard directory <include dir>
1393 CXX C++ compiler command
1394 CXXFLAGS C++ compiler flags
1395 XMKMF Path to xmkmf, Makefile generator for X Window System
1396 CPP C preprocessor
1398 Use these variables to override the choices made by `configure' or to help
1399 it to find libraries and programs with nonstandard names/locations.
1401 Report bugs to <wine-devel@winehq.org>.
1402 _ACEOF
1403 ac_status=$?
1406 if test "$ac_init_help" = "recursive"; then
1407 # If there are subdirs, report their specific --help.
1408 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1409 test -d "$ac_dir" || continue
1410 ac_builddir=.
1412 case "$ac_dir" in
1413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1416 # A ".." for each directory in $ac_dir_suffix.
1417 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1418 case $ac_top_builddir_sub in
1419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1421 esac ;;
1422 esac
1423 ac_abs_top_builddir=$ac_pwd
1424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1425 # for backward compatibility:
1426 ac_top_builddir=$ac_top_build_prefix
1428 case $srcdir in
1429 .) # We are building in place.
1430 ac_srcdir=.
1431 ac_top_srcdir=$ac_top_builddir_sub
1432 ac_abs_top_srcdir=$ac_pwd ;;
1433 [\\/]* | ?:[\\/]* ) # Absolute name.
1434 ac_srcdir=$srcdir$ac_dir_suffix;
1435 ac_top_srcdir=$srcdir
1436 ac_abs_top_srcdir=$srcdir ;;
1437 *) # Relative name.
1438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1439 ac_top_srcdir=$ac_top_build_prefix$srcdir
1440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1441 esac
1442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1444 cd "$ac_dir" || { ac_status=$?; continue; }
1445 # Check for guested configure.
1446 if test -f "$ac_srcdir/configure.gnu"; then
1447 echo &&
1448 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1449 elif test -f "$ac_srcdir/configure"; then
1450 echo &&
1451 $SHELL "$ac_srcdir/configure" --help=recursive
1452 else
1453 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1454 fi || ac_status=$?
1455 cd "$ac_pwd" || { ac_status=$?; break; }
1456 done
1459 test -n "$ac_init_help" && exit $ac_status
1460 if $ac_init_version; then
1461 cat <<\_ACEOF
1462 Wine configure 0.9.29
1463 generated by GNU Autoconf 2.61
1465 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1466 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1467 This configure script is free software; the Free Software Foundation
1468 gives unlimited permission to copy, distribute and modify it.
1469 _ACEOF
1470 exit
1472 cat >config.log <<_ACEOF
1473 This file contains any messages produced by compilers while
1474 running configure, to aid debugging if configure makes a mistake.
1476 It was created by Wine $as_me 0.9.29, which was
1477 generated by GNU Autoconf 2.61. Invocation command line was
1479 $ $0 $@
1481 _ACEOF
1482 exec 5>>config.log
1484 cat <<_ASUNAME
1485 ## --------- ##
1486 ## Platform. ##
1487 ## --------- ##
1489 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1490 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1491 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1492 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1493 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1495 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1496 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1498 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1499 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1500 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1501 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1502 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1503 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1504 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1506 _ASUNAME
1508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1509 for as_dir in $PATH
1511 IFS=$as_save_IFS
1512 test -z "$as_dir" && as_dir=.
1513 echo "PATH: $as_dir"
1514 done
1515 IFS=$as_save_IFS
1517 } >&5
1519 cat >&5 <<_ACEOF
1522 ## ----------- ##
1523 ## Core tests. ##
1524 ## ----------- ##
1526 _ACEOF
1529 # Keep a trace of the command line.
1530 # Strip out --no-create and --no-recursion so they do not pile up.
1531 # Strip out --silent because we don't want to record it for future runs.
1532 # Also quote any args containing shell meta-characters.
1533 # Make two passes to allow for proper duplicate-argument suppression.
1534 ac_configure_args=
1535 ac_configure_args0=
1536 ac_configure_args1=
1537 ac_must_keep_next=false
1538 for ac_pass in 1 2
1540 for ac_arg
1542 case $ac_arg in
1543 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1545 | -silent | --silent | --silen | --sile | --sil)
1546 continue ;;
1547 *\'*)
1548 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1549 esac
1550 case $ac_pass in
1551 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1553 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1554 if test $ac_must_keep_next = true; then
1555 ac_must_keep_next=false # Got value, back to normal.
1556 else
1557 case $ac_arg in
1558 *=* | --config-cache | -C | -disable-* | --disable-* \
1559 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1560 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1561 | -with-* | --with-* | -without-* | --without-* | --x)
1562 case "$ac_configure_args0 " in
1563 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1564 esac
1566 -* ) ac_must_keep_next=true ;;
1567 esac
1569 ac_configure_args="$ac_configure_args '$ac_arg'"
1571 esac
1572 done
1573 done
1574 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1575 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1577 # When interrupted or exit'd, cleanup temporary files, and complete
1578 # config.log. We remove comments because anyway the quotes in there
1579 # would cause problems or look ugly.
1580 # WARNING: Use '\'' to represent an apostrophe within the trap.
1581 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1582 trap 'exit_status=$?
1583 # Save into config.log some information that might help in debugging.
1585 echo
1587 cat <<\_ASBOX
1588 ## ---------------- ##
1589 ## Cache variables. ##
1590 ## ---------------- ##
1591 _ASBOX
1592 echo
1593 # The following way of writing the cache mishandles newlines in values,
1595 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1596 eval ac_val=\$$ac_var
1597 case $ac_val in #(
1598 *${as_nl}*)
1599 case $ac_var in #(
1600 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1601 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1602 esac
1603 case $ac_var in #(
1604 _ | IFS | as_nl) ;; #(
1605 *) $as_unset $ac_var ;;
1606 esac ;;
1607 esac
1608 done
1609 (set) 2>&1 |
1610 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1611 *${as_nl}ac_space=\ *)
1612 sed -n \
1613 "s/'\''/'\''\\\\'\'''\''/g;
1614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1615 ;; #(
1617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1619 esac |
1620 sort
1622 echo
1624 cat <<\_ASBOX
1625 ## ----------------- ##
1626 ## Output variables. ##
1627 ## ----------------- ##
1628 _ASBOX
1629 echo
1630 for ac_var in $ac_subst_vars
1632 eval ac_val=\$$ac_var
1633 case $ac_val in
1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1635 esac
1636 echo "$ac_var='\''$ac_val'\''"
1637 done | sort
1638 echo
1640 if test -n "$ac_subst_files"; then
1641 cat <<\_ASBOX
1642 ## ------------------- ##
1643 ## File substitutions. ##
1644 ## ------------------- ##
1645 _ASBOX
1646 echo
1647 for ac_var in $ac_subst_files
1649 eval ac_val=\$$ac_var
1650 case $ac_val in
1651 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1652 esac
1653 echo "$ac_var='\''$ac_val'\''"
1654 done | sort
1655 echo
1658 if test -s confdefs.h; then
1659 cat <<\_ASBOX
1660 ## ----------- ##
1661 ## confdefs.h. ##
1662 ## ----------- ##
1663 _ASBOX
1664 echo
1665 cat confdefs.h
1666 echo
1668 test "$ac_signal" != 0 &&
1669 echo "$as_me: caught signal $ac_signal"
1670 echo "$as_me: exit $exit_status"
1671 } >&5
1672 rm -f core *.core core.conftest.* &&
1673 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1674 exit $exit_status
1676 for ac_signal in 1 2 13 15; do
1677 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1678 done
1679 ac_signal=0
1681 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1682 rm -f -r conftest* confdefs.h
1684 # Predefined preprocessor variables.
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_NAME "$PACKAGE_NAME"
1688 _ACEOF
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1693 _ACEOF
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1698 _ACEOF
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_STRING "$PACKAGE_STRING"
1703 _ACEOF
1706 cat >>confdefs.h <<_ACEOF
1707 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1708 _ACEOF
1711 # Let the site file select an alternate cache file if it wants to.
1712 # Prefer explicitly selected file to automatically selected ones.
1713 if test -n "$CONFIG_SITE"; then
1714 set x "$CONFIG_SITE"
1715 elif test "x$prefix" != xNONE; then
1716 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1717 else
1718 set x "$ac_default_prefix/share/config.site" \
1719 "$ac_default_prefix/etc/config.site"
1721 shift
1722 for ac_site_file
1724 if test -r "$ac_site_file"; then
1725 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1726 echo "$as_me: loading site script $ac_site_file" >&6;}
1727 sed 's/^/| /' "$ac_site_file" >&5
1728 . "$ac_site_file"
1730 done
1732 if test -r "$cache_file"; then
1733 # Some versions of bash will fail to source /dev/null (special
1734 # files actually), so we avoid doing that.
1735 if test -f "$cache_file"; then
1736 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1737 echo "$as_me: loading cache $cache_file" >&6;}
1738 case $cache_file in
1739 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1740 *) . "./$cache_file";;
1741 esac
1743 else
1744 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1745 echo "$as_me: creating cache $cache_file" >&6;}
1746 >$cache_file
1749 # Check that the precious variables saved in the cache have kept the same
1750 # value.
1751 ac_cache_corrupted=false
1752 for ac_var in $ac_precious_vars; do
1753 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1754 eval ac_new_set=\$ac_env_${ac_var}_set
1755 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1756 eval ac_new_val=\$ac_env_${ac_var}_value
1757 case $ac_old_set,$ac_new_set in
1758 set,)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,set)
1763 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1764 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1765 ac_cache_corrupted=: ;;
1766 ,);;
1768 if test "x$ac_old_val" != "x$ac_new_val"; then
1769 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1770 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1771 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1772 echo "$as_me: former value: $ac_old_val" >&2;}
1773 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1774 echo "$as_me: current value: $ac_new_val" >&2;}
1775 ac_cache_corrupted=:
1776 fi;;
1777 esac
1778 # Pass precious variables to config.status.
1779 if test "$ac_new_set" = set; then
1780 case $ac_new_val in
1781 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1782 *) ac_arg=$ac_var=$ac_new_val ;;
1783 esac
1784 case " $ac_configure_args " in
1785 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1786 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1787 esac
1789 done
1790 if $ac_cache_corrupted; then
1791 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1792 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1793 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1794 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1795 { (exit 1); exit 1; }; }
1822 ac_ext=c
1823 ac_cpp='$CPP $CPPFLAGS'
1824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1830 ac_config_headers="$ac_config_headers include/config.h"
1832 ac_aux_dir=
1833 for ac_dir in tools "$srcdir"/tools; do
1834 if 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/install.sh"; then
1839 ac_aux_dir=$ac_dir
1840 ac_install_sh="$ac_aux_dir/install.sh -c"
1841 break
1842 elif test -f "$ac_dir/shtool"; then
1843 ac_aux_dir=$ac_dir
1844 ac_install_sh="$ac_aux_dir/shtool install -c"
1845 break
1847 done
1848 if test -z "$ac_aux_dir"; then
1849 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1850 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1851 { (exit 1); exit 1; }; }
1854 # These three variables are undocumented and unsupported,
1855 # and are intended to be withdrawn in a future Autoconf release.
1856 # They can cause serious problems if a builder's source tree is in a directory
1857 # whose full name contains unusual characters.
1858 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1859 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1860 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1865 # Check whether --enable-win16 was given.
1866 if test "${enable_win16+set}" = set; then
1867 enableval=$enable_win16;
1870 # Check whether --enable-win64 was given.
1871 if test "${enable_win64+set}" = set; then
1872 enableval=$enable_win64;
1877 # Check whether --with-opengl was given.
1878 if test "${with_opengl+set}" = set; then
1879 withval=$with_opengl;
1883 # Check whether --with-wine-tools was given.
1884 if test "${with_wine_tools+set}" = set; then
1885 withval=$with_wine_tools;
1889 # Make sure we can run config.sub.
1890 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1891 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1892 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1893 { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: checking build system type" >&5
1896 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1897 if test "${ac_cv_build+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1899 else
1900 ac_build_alias=$build_alias
1901 test "x$ac_build_alias" = x &&
1902 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1903 test "x$ac_build_alias" = x &&
1904 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1905 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1906 { (exit 1); exit 1; }; }
1907 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1908 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1909 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1910 { (exit 1); exit 1; }; }
1913 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1914 echo "${ECHO_T}$ac_cv_build" >&6; }
1915 case $ac_cv_build in
1916 *-*-*) ;;
1917 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1918 echo "$as_me: error: invalid value of canonical build" >&2;}
1919 { (exit 1); exit 1; }; };;
1920 esac
1921 build=$ac_cv_build
1922 ac_save_IFS=$IFS; IFS='-'
1923 set x $ac_cv_build
1924 shift
1925 build_cpu=$1
1926 build_vendor=$2
1927 shift; shift
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1930 build_os=$*
1931 IFS=$ac_save_IFS
1932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1935 { echo "$as_me:$LINENO: checking host system type" >&5
1936 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1937 if test "${ac_cv_host+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 else
1940 if test "x$host_alias" = x; then
1941 ac_cv_host=$ac_cv_build
1942 else
1943 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1946 { (exit 1); exit 1; }; }
1950 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1951 echo "${ECHO_T}$ac_cv_host" >&6; }
1952 case $ac_cv_host in
1953 *-*-*) ;;
1954 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1955 echo "$as_me: error: invalid value of canonical host" >&2;}
1956 { (exit 1); exit 1; }; };;
1957 esac
1958 host=$ac_cv_host
1959 ac_save_IFS=$IFS; IFS='-'
1960 set x $ac_cv_host
1961 shift
1962 host_cpu=$1
1963 host_vendor=$2
1964 shift; shift
1965 # Remember, the first character of IFS is used to create $*,
1966 # except with old shells:
1967 host_os=$*
1968 IFS=$ac_save_IFS
1969 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1972 case $host in
1973 x86_64*linux*)
1974 if test "x$enable_win64" != "xyes"
1975 then
1976 test -n "$CC" || CC="gcc -m32"
1977 test -n "$LD" || LD="ld -m elf_i386"
1978 test -n "$AS" || AS="as --32"
1979 host_cpu="i386"
1982 esac
1984 case $host_cpu in
1985 *i[3456789]86*)
1986 if test "x$enable_win16" != "xno"
1987 then
1988 enable_win16="yes"
1991 esac
1993 WIN16_FILES="\$(WIN16_FILES)"
1995 WIN16_INSTALL="\$(WIN16_INSTALL)"
1997 if test "x$enable_win16" != "xyes"
1998 then
1999 WIN16_FILES=""
2000 WIN16_INSTALL=""
2003 case "$srcdir" in
2004 .) ;;
2005 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2006 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2007 You need to run 'make distclean' in the source tree first." >&5
2008 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2009 You need to run 'make distclean' in the source tree first." >&2;}
2010 { (exit 1); exit 1; }; }
2011 fi ;;
2012 esac
2015 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2016 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2017 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2018 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 else
2021 cat >conftest.make <<\_ACEOF
2022 SHELL = /bin/sh
2023 all:
2024 @echo '@@@%%%=$(MAKE)=@@@%%%'
2025 _ACEOF
2026 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2027 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2028 *@@@%%%=?*=@@@%%%*)
2029 eval ac_cv_prog_make_${ac_make}_set=yes;;
2031 eval ac_cv_prog_make_${ac_make}_set=no;;
2032 esac
2033 rm -f conftest.make
2035 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2036 { echo "$as_me:$LINENO: result: yes" >&5
2037 echo "${ECHO_T}yes" >&6; }
2038 SET_MAKE=
2039 else
2040 { echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6; }
2042 SET_MAKE="MAKE=${MAKE-make}"
2045 ac_ext=c
2046 ac_cpp='$CPP $CPPFLAGS'
2047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2050 if test -n "$ac_tool_prefix"; then
2051 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2052 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2055 if test "${ac_cv_prog_CC+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2057 else
2058 if test -n "$CC"; then
2059 ac_cv_prog_CC="$CC" # Let the user override the test.
2060 else
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2062 for as_dir in $PATH
2064 IFS=$as_save_IFS
2065 test -z "$as_dir" && as_dir=.
2066 for ac_exec_ext in '' $ac_executable_extensions; do
2067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2068 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2070 break 2
2072 done
2073 done
2074 IFS=$as_save_IFS
2078 CC=$ac_cv_prog_CC
2079 if test -n "$CC"; then
2080 { echo "$as_me:$LINENO: result: $CC" >&5
2081 echo "${ECHO_T}$CC" >&6; }
2082 else
2083 { echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6; }
2089 if test -z "$ac_cv_prog_CC"; then
2090 ac_ct_CC=$CC
2091 # Extract the first word of "gcc", so it can be a program name with args.
2092 set dummy gcc; ac_word=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2097 else
2098 if test -n "$ac_ct_CC"; then
2099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_ac_ct_CC="gcc"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 break 2
2112 done
2113 done
2114 IFS=$as_save_IFS
2118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2119 if test -n "$ac_ct_CC"; then
2120 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2121 echo "${ECHO_T}$ac_ct_CC" >&6; }
2122 else
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2127 if test "x$ac_ct_CC" = x; then
2128 CC=""
2129 else
2130 case $cross_compiling:$ac_tool_warned in
2131 yes:)
2132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2133 whose name does not start with the host triplet. If you think this
2134 configuration is useful to you, please write to autoconf@gnu.org." >&5
2135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2136 whose name does not start with the host triplet. If you think this
2137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2138 ac_tool_warned=yes ;;
2139 esac
2140 CC=$ac_ct_CC
2142 else
2143 CC="$ac_cv_prog_CC"
2146 if test -z "$CC"; then
2147 if test -n "$ac_tool_prefix"; then
2148 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2149 set dummy ${ac_tool_prefix}cc; ac_word=$2
2150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2152 if test "${ac_cv_prog_CC+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2154 else
2155 if test -n "$CC"; then
2156 ac_cv_prog_CC="$CC" # Let the user override the test.
2157 else
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2159 for as_dir in $PATH
2161 IFS=$as_save_IFS
2162 test -z "$as_dir" && as_dir=.
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165 ac_cv_prog_CC="${ac_tool_prefix}cc"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2167 break 2
2169 done
2170 done
2171 IFS=$as_save_IFS
2175 CC=$ac_cv_prog_CC
2176 if test -n "$CC"; then
2177 { echo "$as_me:$LINENO: result: $CC" >&5
2178 echo "${ECHO_T}$CC" >&6; }
2179 else
2180 { echo "$as_me:$LINENO: result: no" >&5
2181 echo "${ECHO_T}no" >&6; }
2187 if test -z "$CC"; then
2188 # Extract the first word of "cc", so it can be a program name with args.
2189 set dummy cc; ac_word=$2
2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2192 if test "${ac_cv_prog_CC+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 else
2195 if test -n "$CC"; then
2196 ac_cv_prog_CC="$CC" # Let the user override the test.
2197 else
2198 ac_prog_rejected=no
2199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200 for as_dir in $PATH
2202 IFS=$as_save_IFS
2203 test -z "$as_dir" && as_dir=.
2204 for ac_exec_ext in '' $ac_executable_extensions; do
2205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2207 ac_prog_rejected=yes
2208 continue
2210 ac_cv_prog_CC="cc"
2211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2212 break 2
2214 done
2215 done
2216 IFS=$as_save_IFS
2218 if test $ac_prog_rejected = yes; then
2219 # We found a bogon in the path, so make sure we never use it.
2220 set dummy $ac_cv_prog_CC
2221 shift
2222 if test $# != 0; then
2223 # We chose a different compiler from the bogus one.
2224 # However, it has the same basename, so the bogon will be chosen
2225 # first if we set CC to just the basename; use the full file name.
2226 shift
2227 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2232 CC=$ac_cv_prog_CC
2233 if test -n "$CC"; then
2234 { echo "$as_me:$LINENO: result: $CC" >&5
2235 echo "${ECHO_T}$CC" >&6; }
2236 else
2237 { echo "$as_me:$LINENO: result: no" >&5
2238 echo "${ECHO_T}no" >&6; }
2243 if test -z "$CC"; then
2244 if test -n "$ac_tool_prefix"; then
2245 for ac_prog in cl.exe
2247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2251 if test "${ac_cv_prog_CC+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2253 else
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC="$CC" # Let the user override the test.
2256 else
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2258 for as_dir in $PATH
2260 IFS=$as_save_IFS
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2266 break 2
2268 done
2269 done
2270 IFS=$as_save_IFS
2274 CC=$ac_cv_prog_CC
2275 if test -n "$CC"; then
2276 { echo "$as_me:$LINENO: result: $CC" >&5
2277 echo "${ECHO_T}$CC" >&6; }
2278 else
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2284 test -n "$CC" && break
2285 done
2287 if test -z "$CC"; then
2288 ac_ct_CC=$CC
2289 for ac_prog in cl.exe
2291 # Extract the first word of "$ac_prog", so it can be a program name with args.
2292 set dummy $ac_prog; ac_word=$2
2293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2295 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 else
2298 if test -n "$ac_ct_CC"; then
2299 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2300 else
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 for as_dir in $PATH
2304 IFS=$as_save_IFS
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_prog_ac_ct_CC="$ac_prog"
2309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2310 break 2
2312 done
2313 done
2314 IFS=$as_save_IFS
2318 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2319 if test -n "$ac_ct_CC"; then
2320 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2321 echo "${ECHO_T}$ac_ct_CC" >&6; }
2322 else
2323 { echo "$as_me:$LINENO: result: no" >&5
2324 echo "${ECHO_T}no" >&6; }
2328 test -n "$ac_ct_CC" && break
2329 done
2331 if test "x$ac_ct_CC" = x; then
2332 CC=""
2333 else
2334 case $cross_compiling:$ac_tool_warned in
2335 yes:)
2336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2337 whose name does not start with the host triplet. If you think this
2338 configuration is useful to you, please write to autoconf@gnu.org." >&5
2339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2340 whose name does not start with the host triplet. If you think this
2341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2342 ac_tool_warned=yes ;;
2343 esac
2344 CC=$ac_ct_CC
2351 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2352 See \`config.log' for more details." >&5
2353 echo "$as_me: error: no acceptable C compiler found in \$PATH
2354 See \`config.log' for more details." >&2;}
2355 { (exit 1); exit 1; }; }
2357 # Provide some information about the compiler.
2358 echo "$as_me:$LINENO: checking for C compiler version" >&5
2359 ac_compiler=`set X $ac_compile; echo $2`
2360 { (ac_try="$ac_compiler --version >&5"
2361 case "(($ac_try" in
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2364 esac
2365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2366 (eval "$ac_compiler --version >&5") 2>&5
2367 ac_status=$?
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2370 { (ac_try="$ac_compiler -v >&5"
2371 case "(($ac_try" in
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2374 esac
2375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2376 (eval "$ac_compiler -v >&5") 2>&5
2377 ac_status=$?
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }
2380 { (ac_try="$ac_compiler -V >&5"
2381 case "(($ac_try" in
2382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383 *) ac_try_echo=$ac_try;;
2384 esac
2385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2386 (eval "$ac_compiler -V >&5") 2>&5
2387 ac_status=$?
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }
2391 cat >conftest.$ac_ext <<_ACEOF
2392 /* confdefs.h. */
2393 _ACEOF
2394 cat confdefs.h >>conftest.$ac_ext
2395 cat >>conftest.$ac_ext <<_ACEOF
2396 /* end confdefs.h. */
2399 main ()
2403 return 0;
2405 _ACEOF
2406 ac_clean_files_save=$ac_clean_files
2407 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2408 # Try to create an executable without -o first, disregard a.out.
2409 # It will help us diagnose broken compilers, and finding out an intuition
2410 # of exeext.
2411 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2412 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2413 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2415 # List of possible output files, starting from the most likely.
2416 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2417 # only as a last resort. b.out is created by i960 compilers.
2418 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2420 # The IRIX 6 linker writes into existing files which may not be
2421 # executable, retaining their permissions. Remove them first so a
2422 # subsequent execution test works.
2423 ac_rmfiles=
2424 for ac_file in $ac_files
2426 case $ac_file in
2427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2428 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2429 esac
2430 done
2431 rm -f $ac_rmfiles
2433 if { (ac_try="$ac_link_default"
2434 case "(($ac_try" in
2435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2436 *) ac_try_echo=$ac_try;;
2437 esac
2438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2439 (eval "$ac_link_default") 2>&5
2440 ac_status=$?
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; then
2443 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2444 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2445 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2446 # so that the user can short-circuit this test for compilers unknown to
2447 # Autoconf.
2448 for ac_file in $ac_files ''
2450 test -f "$ac_file" || continue
2451 case $ac_file in
2452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2454 [ab].out )
2455 # We found the default executable, but exeext='' is most
2456 # certainly right.
2457 break;;
2458 *.* )
2459 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2460 then :; else
2461 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2463 # We set ac_cv_exeext here because the later test for it is not
2464 # safe: cross compilers may not add the suffix if given an `-o'
2465 # argument, so we may need to know it at that point already.
2466 # Even if this section looks crufty: it has the advantage of
2467 # actually working.
2468 break;;
2470 break;;
2471 esac
2472 done
2473 test "$ac_cv_exeext" = no && ac_cv_exeext=
2475 else
2476 ac_file=''
2479 { echo "$as_me:$LINENO: result: $ac_file" >&5
2480 echo "${ECHO_T}$ac_file" >&6; }
2481 if test -z "$ac_file"; then
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2485 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2486 See \`config.log' for more details." >&5
2487 echo "$as_me: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&2;}
2489 { (exit 77); exit 77; }; }
2492 ac_exeext=$ac_cv_exeext
2494 # Check that the compiler produces executables we can run. If not, either
2495 # the compiler is broken, or we cross compile.
2496 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2497 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2498 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2499 # If not cross compiling, check that we can run a simple program.
2500 if test "$cross_compiling" != yes; then
2501 if { ac_try='./$ac_file'
2502 { (case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2505 esac
2506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2507 (eval "$ac_try") 2>&5
2508 ac_status=$?
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2511 cross_compiling=no
2512 else
2513 if test "$cross_compiling" = maybe; then
2514 cross_compiling=yes
2515 else
2516 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2526 { echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6; }
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check that the compiler produces executables we can run. If not, either
2532 # the compiler is broken, or we cross compile.
2533 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2535 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6; }
2538 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2540 if { (ac_try="$ac_link"
2541 case "(($ac_try" in
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2544 esac
2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2546 (eval "$ac_link") 2>&5
2547 ac_status=$?
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; then
2550 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2551 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2552 # work properly (i.e., refer to `conftest.exe'), while it won't with
2553 # `rm'.
2554 for ac_file in conftest.exe conftest conftest.*; do
2555 test -f "$ac_file" || continue
2556 case $ac_file in
2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2558 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2559 break;;
2560 * ) break;;
2561 esac
2562 done
2563 else
2564 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2565 See \`config.log' for more details." >&5
2566 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2567 See \`config.log' for more details." >&2;}
2568 { (exit 1); exit 1; }; }
2571 rm -f conftest$ac_cv_exeext
2572 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2573 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2575 rm -f conftest.$ac_ext
2576 EXEEXT=$ac_cv_exeext
2577 ac_exeext=$EXEEXT
2578 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2579 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2580 if test "${ac_cv_objext+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2582 else
2583 cat >conftest.$ac_ext <<_ACEOF
2584 /* confdefs.h. */
2585 _ACEOF
2586 cat confdefs.h >>conftest.$ac_ext
2587 cat >>conftest.$ac_ext <<_ACEOF
2588 /* end confdefs.h. */
2591 main ()
2595 return 0;
2597 _ACEOF
2598 rm -f conftest.o conftest.obj
2599 if { (ac_try="$ac_compile"
2600 case "(($ac_try" in
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2603 esac
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compile") 2>&5
2606 ac_status=$?
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; then
2609 for ac_file in conftest.o conftest.obj conftest.*; do
2610 test -f "$ac_file" || continue;
2611 case $ac_file in
2612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2613 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2614 break;;
2615 esac
2616 done
2617 else
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2621 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2622 See \`config.log' for more details." >&5
2623 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2624 See \`config.log' for more details." >&2;}
2625 { (exit 1); exit 1; }; }
2628 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2630 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2631 echo "${ECHO_T}$ac_cv_objext" >&6; }
2632 OBJEXT=$ac_cv_objext
2633 ac_objext=$OBJEXT
2634 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2635 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2636 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 else
2639 cat >conftest.$ac_ext <<_ACEOF
2640 /* confdefs.h. */
2641 _ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2647 main ()
2649 #ifndef __GNUC__
2650 choke me
2651 #endif
2654 return 0;
2656 _ACEOF
2657 rm -f conftest.$ac_objext
2658 if { (ac_try="$ac_compile"
2659 case "(($ac_try" in
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2662 esac
2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2664 (eval "$ac_compile") 2>conftest.er1
2665 ac_status=$?
2666 grep -v '^ *+' conftest.er1 >conftest.err
2667 rm -f conftest.er1
2668 cat conftest.err >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); } && {
2671 test -z "$ac_c_werror_flag" ||
2672 test ! -s conftest.err
2673 } && test -s conftest.$ac_objext; then
2674 ac_compiler_gnu=yes
2675 else
2676 echo "$as_me: failed program was:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2679 ac_compiler_gnu=no
2682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2686 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2687 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2688 GCC=`test $ac_compiler_gnu = yes && echo yes`
2689 ac_test_CFLAGS=${CFLAGS+set}
2690 ac_save_CFLAGS=$CFLAGS
2691 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2692 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2693 if test "${ac_cv_prog_cc_g+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 else
2696 ac_save_c_werror_flag=$ac_c_werror_flag
2697 ac_c_werror_flag=yes
2698 ac_cv_prog_cc_g=no
2699 CFLAGS="-g"
2700 cat >conftest.$ac_ext <<_ACEOF
2701 /* confdefs.h. */
2702 _ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2708 main ()
2712 return 0;
2714 _ACEOF
2715 rm -f conftest.$ac_objext
2716 if { (ac_try="$ac_compile"
2717 case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2720 esac
2721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_compile") 2>conftest.er1
2723 ac_status=$?
2724 grep -v '^ *+' conftest.er1 >conftest.err
2725 rm -f conftest.er1
2726 cat conftest.err >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } && {
2729 test -z "$ac_c_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest.$ac_objext; then
2732 ac_cv_prog_cc_g=yes
2733 else
2734 echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2737 CFLAGS=""
2738 cat >conftest.$ac_ext <<_ACEOF
2739 /* confdefs.h. */
2740 _ACEOF
2741 cat confdefs.h >>conftest.$ac_ext
2742 cat >>conftest.$ac_ext <<_ACEOF
2743 /* end confdefs.h. */
2746 main ()
2750 return 0;
2752 _ACEOF
2753 rm -f conftest.$ac_objext
2754 if { (ac_try="$ac_compile"
2755 case "(($ac_try" in
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2758 esac
2759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2760 (eval "$ac_compile") 2>conftest.er1
2761 ac_status=$?
2762 grep -v '^ *+' conftest.er1 >conftest.err
2763 rm -f conftest.er1
2764 cat conftest.err >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); } && {
2767 test -z "$ac_c_werror_flag" ||
2768 test ! -s conftest.err
2769 } && test -s conftest.$ac_objext; then
2771 else
2772 echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.$ac_ext >&5
2775 ac_c_werror_flag=$ac_save_c_werror_flag
2776 CFLAGS="-g"
2777 cat >conftest.$ac_ext <<_ACEOF
2778 /* confdefs.h. */
2779 _ACEOF
2780 cat confdefs.h >>conftest.$ac_ext
2781 cat >>conftest.$ac_ext <<_ACEOF
2782 /* end confdefs.h. */
2785 main ()
2789 return 0;
2791 _ACEOF
2792 rm -f conftest.$ac_objext
2793 if { (ac_try="$ac_compile"
2794 case "(($ac_try" in
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2797 esac
2798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2799 (eval "$ac_compile") 2>conftest.er1
2800 ac_status=$?
2801 grep -v '^ *+' conftest.er1 >conftest.err
2802 rm -f conftest.er1
2803 cat conftest.err >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); } && {
2806 test -z "$ac_c_werror_flag" ||
2807 test ! -s conftest.err
2808 } && test -s conftest.$ac_objext; then
2809 ac_cv_prog_cc_g=yes
2810 else
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 ac_c_werror_flag=$ac_save_c_werror_flag
2826 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2827 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2828 if test "$ac_test_CFLAGS" = set; then
2829 CFLAGS=$ac_save_CFLAGS
2830 elif test $ac_cv_prog_cc_g = yes; then
2831 if test "$GCC" = yes; then
2832 CFLAGS="-g -O2"
2833 else
2834 CFLAGS="-g"
2836 else
2837 if test "$GCC" = yes; then
2838 CFLAGS="-O2"
2839 else
2840 CFLAGS=
2843 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2844 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2845 if test "${ac_cv_prog_cc_c89+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 else
2848 ac_cv_prog_cc_c89=no
2849 ac_save_CC=$CC
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2856 #include <stdarg.h>
2857 #include <stdio.h>
2858 #include <sys/types.h>
2859 #include <sys/stat.h>
2860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2861 struct buf { int x; };
2862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2863 static char *e (p, i)
2864 char **p;
2865 int i;
2867 return p[i];
2869 static char *f (char * (*g) (char **, int), char **p, ...)
2871 char *s;
2872 va_list v;
2873 va_start (v,p);
2874 s = g (p, va_arg (v,int));
2875 va_end (v);
2876 return s;
2879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2880 function prototypes and stuff, but not '\xHH' hex character constants.
2881 These don't provoke an error unfortunately, instead are silently treated
2882 as 'x'. The following induces an error, until -std is added to get
2883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2884 array size at least. It's necessary to write '\x00'==0 to get something
2885 that's true only with -std. */
2886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2888 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2889 inside strings and character constants. */
2890 #define FOO(x) 'x'
2891 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2893 int test (int i, double x);
2894 struct s1 {int (*f) (int a);};
2895 struct s2 {int (*f) (double a);};
2896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2897 int argc;
2898 char **argv;
2900 main ()
2902 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2904 return 0;
2906 _ACEOF
2907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2910 CC="$ac_save_CC $ac_arg"
2911 rm -f conftest.$ac_objext
2912 if { (ac_try="$ac_compile"
2913 case "(($ac_try" in
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2916 esac
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_compile") 2>conftest.er1
2919 ac_status=$?
2920 grep -v '^ *+' conftest.er1 >conftest.err
2921 rm -f conftest.er1
2922 cat conftest.err >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); } && {
2925 test -z "$ac_c_werror_flag" ||
2926 test ! -s conftest.err
2927 } && test -s conftest.$ac_objext; then
2928 ac_cv_prog_cc_c89=$ac_arg
2929 else
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2936 rm -f core conftest.err conftest.$ac_objext
2937 test "x$ac_cv_prog_cc_c89" != "xno" && break
2938 done
2939 rm -f conftest.$ac_ext
2940 CC=$ac_save_CC
2943 # AC_CACHE_VAL
2944 case "x$ac_cv_prog_cc_c89" in
2946 { echo "$as_me:$LINENO: result: none needed" >&5
2947 echo "${ECHO_T}none needed" >&6; } ;;
2948 xno)
2949 { echo "$as_me:$LINENO: result: unsupported" >&5
2950 echo "${ECHO_T}unsupported" >&6; } ;;
2952 CC="$CC $ac_cv_prog_cc_c89"
2953 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2954 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2955 esac
2958 ac_ext=c
2959 ac_cpp='$CPP $CPPFLAGS'
2960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2964 ac_ext=cpp
2965 ac_cpp='$CXXCPP $CPPFLAGS'
2966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2969 if test -z "$CXX"; then
2970 if test -n "$CCC"; then
2971 CXX=$CCC
2972 else
2973 if test -n "$ac_tool_prefix"; then
2974 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2980 if test "${ac_cv_prog_CXX+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2982 else
2983 if test -n "$CXX"; then
2984 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2985 else
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2987 for as_dir in $PATH
2989 IFS=$as_save_IFS
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2993 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 break 2
2997 done
2998 done
2999 IFS=$as_save_IFS
3003 CXX=$ac_cv_prog_CXX
3004 if test -n "$CXX"; then
3005 { echo "$as_me:$LINENO: result: $CXX" >&5
3006 echo "${ECHO_T}$CXX" >&6; }
3007 else
3008 { echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6; }
3013 test -n "$CXX" && break
3014 done
3016 if test -z "$CXX"; then
3017 ac_ct_CXX=$CXX
3018 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3020 # Extract the first word of "$ac_prog", so it can be a program name with args.
3021 set dummy $ac_prog; ac_word=$2
3022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3024 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 else
3027 if test -n "$ac_ct_CXX"; then
3028 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3029 else
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 for as_dir in $PATH
3033 IFS=$as_save_IFS
3034 test -z "$as_dir" && as_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037 ac_cv_prog_ac_ct_CXX="$ac_prog"
3038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 break 2
3041 done
3042 done
3043 IFS=$as_save_IFS
3047 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3048 if test -n "$ac_ct_CXX"; then
3049 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3050 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3051 else
3052 { echo "$as_me:$LINENO: result: no" >&5
3053 echo "${ECHO_T}no" >&6; }
3057 test -n "$ac_ct_CXX" && break
3058 done
3060 if test "x$ac_ct_CXX" = x; then
3061 CXX="g++"
3062 else
3063 case $cross_compiling:$ac_tool_warned in
3064 yes:)
3065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3066 whose name does not start with the host triplet. If you think this
3067 configuration is useful to you, please write to autoconf@gnu.org." >&5
3068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3069 whose name does not start with the host triplet. If you think this
3070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3071 ac_tool_warned=yes ;;
3072 esac
3073 CXX=$ac_ct_CXX
3079 # Provide some information about the compiler.
3080 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3081 ac_compiler=`set X $ac_compile; echo $2`
3082 { (ac_try="$ac_compiler --version >&5"
3083 case "(($ac_try" in
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3086 esac
3087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3088 (eval "$ac_compiler --version >&5") 2>&5
3089 ac_status=$?
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }
3092 { (ac_try="$ac_compiler -v >&5"
3093 case "(($ac_try" in
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;;
3096 esac
3097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3098 (eval "$ac_compiler -v >&5") 2>&5
3099 ac_status=$?
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }
3102 { (ac_try="$ac_compiler -V >&5"
3103 case "(($ac_try" in
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3106 esac
3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_compiler -V >&5") 2>&5
3109 ac_status=$?
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); }
3113 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3114 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3117 else
3118 cat >conftest.$ac_ext <<_ACEOF
3119 /* confdefs.h. */
3120 _ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3126 main ()
3128 #ifndef __GNUC__
3129 choke me
3130 #endif
3133 return 0;
3135 _ACEOF
3136 rm -f conftest.$ac_objext
3137 if { (ac_try="$ac_compile"
3138 case "(($ac_try" in
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3141 esac
3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_compile") 2>conftest.er1
3144 ac_status=$?
3145 grep -v '^ *+' conftest.er1 >conftest.err
3146 rm -f conftest.er1
3147 cat conftest.err >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } && {
3150 test -z "$ac_cxx_werror_flag" ||
3151 test ! -s conftest.err
3152 } && test -s conftest.$ac_objext; then
3153 ac_compiler_gnu=yes
3154 else
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3158 ac_compiler_gnu=no
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3171 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3172 if test "${ac_cv_prog_cxx_g+set}" = set; then
3173 echo $ECHO_N "(cached) $ECHO_C" >&6
3174 else
3175 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3176 ac_cxx_werror_flag=yes
3177 ac_cv_prog_cxx_g=no
3178 CXXFLAGS="-g"
3179 cat >conftest.$ac_ext <<_ACEOF
3180 /* confdefs.h. */
3181 _ACEOF
3182 cat confdefs.h >>conftest.$ac_ext
3183 cat >>conftest.$ac_ext <<_ACEOF
3184 /* end confdefs.h. */
3187 main ()
3191 return 0;
3193 _ACEOF
3194 rm -f conftest.$ac_objext
3195 if { (ac_try="$ac_compile"
3196 case "(($ac_try" in
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3199 esac
3200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_compile") 2>conftest.er1
3202 ac_status=$?
3203 grep -v '^ *+' conftest.er1 >conftest.err
3204 rm -f conftest.er1
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } && {
3208 test -z "$ac_cxx_werror_flag" ||
3209 test ! -s conftest.err
3210 } && test -s conftest.$ac_objext; then
3211 ac_cv_prog_cxx_g=yes
3212 else
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.$ac_ext >&5
3216 CXXFLAGS=""
3217 cat >conftest.$ac_ext <<_ACEOF
3218 /* confdefs.h. */
3219 _ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3225 main ()
3229 return 0;
3231 _ACEOF
3232 rm -f conftest.$ac_objext
3233 if { (ac_try="$ac_compile"
3234 case "(($ac_try" in
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3237 esac
3238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3239 (eval "$ac_compile") 2>conftest.er1
3240 ac_status=$?
3241 grep -v '^ *+' conftest.er1 >conftest.err
3242 rm -f conftest.er1
3243 cat conftest.err >&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); } && {
3246 test -z "$ac_cxx_werror_flag" ||
3247 test ! -s conftest.err
3248 } && test -s conftest.$ac_objext; then
3250 else
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3255 CXXFLAGS="-g"
3256 cat >conftest.$ac_ext <<_ACEOF
3257 /* confdefs.h. */
3258 _ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3264 main ()
3268 return 0;
3270 _ACEOF
3271 rm -f conftest.$ac_objext
3272 if { (ac_try="$ac_compile"
3273 case "(($ac_try" in
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3276 esac
3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3278 (eval "$ac_compile") 2>conftest.er1
3279 ac_status=$?
3280 grep -v '^ *+' conftest.er1 >conftest.err
3281 rm -f conftest.er1
3282 cat conftest.err >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } && {
3285 test -z "$ac_cxx_werror_flag" ||
3286 test ! -s conftest.err
3287 } && test -s conftest.$ac_objext; then
3288 ac_cv_prog_cxx_g=yes
3289 else
3290 echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.$ac_ext >&5
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3305 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3306 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3307 if test "$ac_test_CXXFLAGS" = set; then
3308 CXXFLAGS=$ac_save_CXXFLAGS
3309 elif test $ac_cv_prog_cxx_g = yes; then
3310 if test "$GXX" = yes; then
3311 CXXFLAGS="-g -O2"
3312 else
3313 CXXFLAGS="-g"
3315 else
3316 if test "$GXX" = yes; then
3317 CXXFLAGS="-O2"
3318 else
3319 CXXFLAGS=
3322 ac_ext=c
3323 ac_cpp='$CPP $CPPFLAGS'
3324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328 if test -n "$ac_tool_prefix"; then
3329 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3330 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3333 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3335 else
3336 if test -n "$CPPBIN"; then
3337 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3338 else
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3340 for as_dir in $PATH
3342 IFS=$as_save_IFS
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 break 2
3350 done
3351 done
3352 IFS=$as_save_IFS
3356 CPPBIN=$ac_cv_prog_CPPBIN
3357 if test -n "$CPPBIN"; then
3358 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3359 echo "${ECHO_T}$CPPBIN" >&6; }
3360 else
3361 { echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6; }
3367 if test -z "$ac_cv_prog_CPPBIN"; then
3368 ac_ct_CPPBIN=$CPPBIN
3369 # Extract the first word of "cpp", so it can be a program name with args.
3370 set dummy cpp; ac_word=$2
3371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3373 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 else
3376 if test -n "$ac_ct_CPPBIN"; then
3377 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3378 else
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3380 for as_dir in $PATH
3382 IFS=$as_save_IFS
3383 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386 ac_cv_prog_ac_ct_CPPBIN="cpp"
3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 break 2
3390 done
3391 done
3392 IFS=$as_save_IFS
3396 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3397 if test -n "$ac_ct_CPPBIN"; then
3398 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3399 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3400 else
3401 { echo "$as_me:$LINENO: result: no" >&5
3402 echo "${ECHO_T}no" >&6; }
3405 if test "x$ac_ct_CPPBIN" = x; then
3406 CPPBIN="cpp"
3407 else
3408 case $cross_compiling:$ac_tool_warned in
3409 yes:)
3410 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3411 whose name does not start with the host triplet. If you think this
3412 configuration is useful to you, please write to autoconf@gnu.org." >&5
3413 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3414 whose name does not start with the host triplet. If you think this
3415 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3416 ac_tool_warned=yes ;;
3417 esac
3418 CPPBIN=$ac_ct_CPPBIN
3420 else
3421 CPPBIN="$ac_cv_prog_CPPBIN"
3425 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3426 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3427 if test "${wine_cv_toolsdir+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3429 else
3430 if test -z "$with_wine_tools"; then
3431 if test "$cross_compiling" = "yes"; then
3432 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3433 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3434 { (exit 1); exit 1; }; }
3435 else
3436 wine_cv_toolsdir="\$(TOPOBJDIR)"
3438 elif test -d "$with_wine_tools/tools/winebuild"; then
3439 case $with_wine_tools in
3440 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3441 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3442 esac
3443 else
3444 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3445 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3446 { (exit 1); exit 1; }; }
3449 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3450 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3451 TOOLSDIR=$wine_cv_toolsdir
3455 ac_ext=c
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3461 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3462 # On Suns, sometimes $CPP names a directory.
3463 if test -n "$CPP" && test -d "$CPP"; then
3464 CPP=
3466 if test -z "$CPP"; then
3467 if test "${ac_cv_prog_CPP+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 else
3470 # Double quotes because CPP needs to be expanded
3471 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3473 ac_preproc_ok=false
3474 for ac_c_preproc_warn_flag in '' yes
3476 # Use a header file that comes with gcc, so configuring glibc
3477 # with a fresh cross-compiler works.
3478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3479 # <limits.h> exists even on freestanding compilers.
3480 # On the NeXT, cc -E runs the code through the compiler's parser,
3481 # not just through cpp. "Syntax error" is here to catch this case.
3482 cat >conftest.$ac_ext <<_ACEOF
3483 /* confdefs.h. */
3484 _ACEOF
3485 cat confdefs.h >>conftest.$ac_ext
3486 cat >>conftest.$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3488 #ifdef __STDC__
3489 # include <limits.h>
3490 #else
3491 # include <assert.h>
3492 #endif
3493 Syntax error
3494 _ACEOF
3495 if { (ac_try="$ac_cpp conftest.$ac_ext"
3496 case "(($ac_try" in
3497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498 *) ac_try_echo=$ac_try;;
3499 esac
3500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3502 ac_status=$?
3503 grep -v '^ *+' conftest.er1 >conftest.err
3504 rm -f conftest.er1
3505 cat conftest.err >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } >/dev/null && {
3508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3509 test ! -s conftest.err
3510 }; then
3512 else
3513 echo "$as_me: failed program was:" >&5
3514 sed 's/^/| /' conftest.$ac_ext >&5
3516 # Broken: fails on valid input.
3517 continue
3520 rm -f conftest.err conftest.$ac_ext
3522 # OK, works on sane cases. Now check whether nonexistent headers
3523 # can be detected and how.
3524 cat >conftest.$ac_ext <<_ACEOF
3525 /* confdefs.h. */
3526 _ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3530 #include <ac_nonexistent.h>
3531 _ACEOF
3532 if { (ac_try="$ac_cpp conftest.$ac_ext"
3533 case "(($ac_try" in
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3536 esac
3537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3539 ac_status=$?
3540 grep -v '^ *+' conftest.er1 >conftest.err
3541 rm -f conftest.er1
3542 cat conftest.err >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } >/dev/null && {
3545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3546 test ! -s conftest.err
3547 }; then
3548 # Broken: success on invalid input.
3549 continue
3550 else
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3554 # Passes both tests.
3555 ac_preproc_ok=:
3556 break
3559 rm -f conftest.err conftest.$ac_ext
3561 done
3562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3563 rm -f conftest.err conftest.$ac_ext
3564 if $ac_preproc_ok; then
3565 break
3568 done
3569 ac_cv_prog_CPP=$CPP
3572 CPP=$ac_cv_prog_CPP
3573 else
3574 ac_cv_prog_CPP=$CPP
3576 { echo "$as_me:$LINENO: result: $CPP" >&5
3577 echo "${ECHO_T}$CPP" >&6; }
3578 ac_preproc_ok=false
3579 for ac_c_preproc_warn_flag in '' yes
3581 # Use a header file that comes with gcc, so configuring glibc
3582 # with a fresh cross-compiler works.
3583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3584 # <limits.h> exists even on freestanding compilers.
3585 # On the NeXT, cc -E runs the code through the compiler's parser,
3586 # not just through cpp. "Syntax error" is here to catch this case.
3587 cat >conftest.$ac_ext <<_ACEOF
3588 /* confdefs.h. */
3589 _ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3593 #ifdef __STDC__
3594 # include <limits.h>
3595 #else
3596 # include <assert.h>
3597 #endif
3598 Syntax error
3599 _ACEOF
3600 if { (ac_try="$ac_cpp conftest.$ac_ext"
3601 case "(($ac_try" in
3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3604 esac
3605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3607 ac_status=$?
3608 grep -v '^ *+' conftest.er1 >conftest.err
3609 rm -f conftest.er1
3610 cat conftest.err >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } >/dev/null && {
3613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3615 }; then
3617 else
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3621 # Broken: fails on valid input.
3622 continue
3625 rm -f conftest.err conftest.$ac_ext
3627 # OK, works on sane cases. Now check whether nonexistent headers
3628 # can be detected and how.
3629 cat >conftest.$ac_ext <<_ACEOF
3630 /* confdefs.h. */
3631 _ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3635 #include <ac_nonexistent.h>
3636 _ACEOF
3637 if { (ac_try="$ac_cpp conftest.$ac_ext"
3638 case "(($ac_try" in
3639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3641 esac
3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3644 ac_status=$?
3645 grep -v '^ *+' conftest.er1 >conftest.err
3646 rm -f conftest.er1
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } >/dev/null && {
3650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3651 test ! -s conftest.err
3652 }; then
3653 # Broken: success on invalid input.
3654 continue
3655 else
3656 echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.$ac_ext >&5
3659 # Passes both tests.
3660 ac_preproc_ok=:
3661 break
3664 rm -f conftest.err conftest.$ac_ext
3666 done
3667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3668 rm -f conftest.err conftest.$ac_ext
3669 if $ac_preproc_ok; then
3671 else
3672 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3673 See \`config.log' for more details." >&5
3674 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3675 See \`config.log' for more details." >&2;}
3676 { (exit 1); exit 1; }; }
3679 ac_ext=c
3680 ac_cpp='$CPP $CPPFLAGS'
3681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3686 { echo "$as_me:$LINENO: checking for X" >&5
3687 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3690 # Check whether --with-x was given.
3691 if test "${with_x+set}" = set; then
3692 withval=$with_x;
3695 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3696 if test "x$with_x" = xno; then
3697 # The user explicitly disabled X.
3698 have_x=disabled
3699 else
3700 case $x_includes,$x_libraries in #(
3701 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3702 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3703 { (exit 1); exit 1; }; };; #(
3704 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3706 else
3707 # One or both of the vars are not set, and there is no cached value.
3708 ac_x_includes=no ac_x_libraries=no
3709 rm -f -r conftest.dir
3710 if mkdir conftest.dir; then
3711 cd conftest.dir
3712 cat >Imakefile <<'_ACEOF'
3713 incroot:
3714 @echo incroot='${INCROOT}'
3715 usrlibdir:
3716 @echo usrlibdir='${USRLIBDIR}'
3717 libdir:
3718 @echo libdir='${LIBDIR}'
3719 _ACEOF
3720 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3722 for ac_var in incroot usrlibdir libdir; do
3723 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3724 done
3725 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3726 for ac_extension in a so sl; do
3727 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3728 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3729 ac_im_usrlibdir=$ac_im_libdir; break
3731 done
3732 # Screen out bogus values from the imake configuration. They are
3733 # bogus both because they are the default anyway, and because
3734 # using them would break gcc on systems where it needs fixed includes.
3735 case $ac_im_incroot in
3736 /usr/include) ac_x_includes= ;;
3737 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3738 esac
3739 case $ac_im_usrlibdir in
3740 /usr/lib | /lib) ;;
3741 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3742 esac
3744 cd ..
3745 rm -f -r conftest.dir
3748 # Standard set of common directories for X headers.
3749 # Check X11 before X11Rn because it is often a symlink to the current release.
3750 ac_x_header_dirs='
3751 /usr/X11/include
3752 /usr/X11R6/include
3753 /usr/X11R5/include
3754 /usr/X11R4/include
3756 /usr/include/X11
3757 /usr/include/X11R6
3758 /usr/include/X11R5
3759 /usr/include/X11R4
3761 /usr/local/X11/include
3762 /usr/local/X11R6/include
3763 /usr/local/X11R5/include
3764 /usr/local/X11R4/include
3766 /usr/local/include/X11
3767 /usr/local/include/X11R6
3768 /usr/local/include/X11R5
3769 /usr/local/include/X11R4
3771 /usr/X386/include
3772 /usr/x386/include
3773 /usr/XFree86/include/X11
3775 /usr/include
3776 /usr/local/include
3777 /usr/unsupported/include
3778 /usr/athena/include
3779 /usr/local/x11r5/include
3780 /usr/lpp/Xamples/include
3782 /usr/openwin/include
3783 /usr/openwin/share/include'
3785 if test "$ac_x_includes" = no; then
3786 # Guess where to find include files, by looking for Xlib.h.
3787 # First, try using that file with no special directory specified.
3788 cat >conftest.$ac_ext <<_ACEOF
3789 /* confdefs.h. */
3790 _ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3794 #include <X11/Xlib.h>
3795 _ACEOF
3796 if { (ac_try="$ac_cpp conftest.$ac_ext"
3797 case "(($ac_try" in
3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3800 esac
3801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3802 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3803 ac_status=$?
3804 grep -v '^ *+' conftest.er1 >conftest.err
3805 rm -f conftest.er1
3806 cat conftest.err >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } >/dev/null && {
3809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3810 test ! -s conftest.err
3811 }; then
3812 # We can compile using X headers with no special include directory.
3813 ac_x_includes=
3814 else
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 for ac_dir in $ac_x_header_dirs; do
3819 if test -r "$ac_dir/X11/Xlib.h"; then
3820 ac_x_includes=$ac_dir
3821 break
3823 done
3826 rm -f conftest.err conftest.$ac_ext
3827 fi # $ac_x_includes = no
3829 if test "$ac_x_libraries" = no; then
3830 # Check for the libraries.
3831 # See if we find them without any special options.
3832 # Don't add to $LIBS permanently.
3833 ac_save_LIBS=$LIBS
3834 LIBS="-lX11 $LIBS"
3835 cat >conftest.$ac_ext <<_ACEOF
3836 /* confdefs.h. */
3837 _ACEOF
3838 cat confdefs.h >>conftest.$ac_ext
3839 cat >>conftest.$ac_ext <<_ACEOF
3840 /* end confdefs.h. */
3841 #include <X11/Xlib.h>
3843 main ()
3845 XrmInitialize ()
3847 return 0;
3849 _ACEOF
3850 rm -f conftest.$ac_objext conftest$ac_exeext
3851 if { (ac_try="$ac_link"
3852 case "(($ac_try" in
3853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3854 *) ac_try_echo=$ac_try;;
3855 esac
3856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3857 (eval "$ac_link") 2>conftest.er1
3858 ac_status=$?
3859 grep -v '^ *+' conftest.er1 >conftest.err
3860 rm -f conftest.er1
3861 cat conftest.err >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } && {
3864 test -z "$ac_c_werror_flag" ||
3865 test ! -s conftest.err
3866 } && test -s conftest$ac_exeext &&
3867 $as_test_x conftest$ac_exeext; then
3868 LIBS=$ac_save_LIBS
3869 # We can link X programs with no special library path.
3870 ac_x_libraries=
3871 else
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3875 LIBS=$ac_save_LIBS
3876 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3878 # Don't even attempt the hair of trying to link an X program!
3879 for ac_extension in a so sl; do
3880 if test -r "$ac_dir/libX11.$ac_extension"; then
3881 ac_x_libraries=$ac_dir
3882 break 2
3884 done
3885 done
3888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3889 conftest$ac_exeext conftest.$ac_ext
3890 fi # $ac_x_libraries = no
3892 case $ac_x_includes,$ac_x_libraries in #(
3893 no,* | *,no | *\'*)
3894 # Didn't find X, or a directory has "'" in its name.
3895 ac_cv_have_x="have_x=no";; #(
3897 # Record where we found X for the cache.
3898 ac_cv_have_x="have_x=yes\
3899 ac_x_includes='$ac_x_includes'\
3900 ac_x_libraries='$ac_x_libraries'"
3901 esac
3903 ;; #(
3904 *) have_x=yes;;
3905 esac
3906 eval "$ac_cv_have_x"
3907 fi # $with_x != no
3909 if test "$have_x" != yes; then
3910 { echo "$as_me:$LINENO: result: $have_x" >&5
3911 echo "${ECHO_T}$have_x" >&6; }
3912 no_x=yes
3913 else
3914 # If each of the values was on the command line, it overrides each guess.
3915 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3916 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3917 # Update the cache value to reflect the command line values.
3918 ac_cv_have_x="have_x=yes\
3919 ac_x_includes='$x_includes'\
3920 ac_x_libraries='$x_libraries'"
3921 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3922 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3925 if test "$no_x" = yes; then
3926 # Not all programs may use this symbol, but it does not hurt to define it.
3928 cat >>confdefs.h <<\_ACEOF
3929 #define X_DISPLAY_MISSING 1
3930 _ACEOF
3932 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3933 else
3934 if test -n "$x_includes"; then
3935 X_CFLAGS="$X_CFLAGS -I$x_includes"
3938 # It would also be nice to do this for all -L options, not just this one.
3939 if test -n "$x_libraries"; then
3940 X_LIBS="$X_LIBS -L$x_libraries"
3941 # For Solaris; some versions of Sun CC require a space after -R and
3942 # others require no space. Words are not sufficient . . . .
3943 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3945 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3946 ac_xsave_c_werror_flag=$ac_c_werror_flag
3947 ac_c_werror_flag=yes
3948 cat >conftest.$ac_ext <<_ACEOF
3949 /* confdefs.h. */
3950 _ACEOF
3951 cat confdefs.h >>conftest.$ac_ext
3952 cat >>conftest.$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3956 main ()
3960 return 0;
3962 _ACEOF
3963 rm -f conftest.$ac_objext conftest$ac_exeext
3964 if { (ac_try="$ac_link"
3965 case "(($ac_try" in
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3968 esac
3969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3970 (eval "$ac_link") 2>conftest.er1
3971 ac_status=$?
3972 grep -v '^ *+' conftest.er1 >conftest.err
3973 rm -f conftest.er1
3974 cat conftest.err >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } && {
3977 test -z "$ac_c_werror_flag" ||
3978 test ! -s conftest.err
3979 } && test -s conftest$ac_exeext &&
3980 $as_test_x conftest$ac_exeext; then
3981 { echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6; }
3983 X_LIBS="$X_LIBS -R$x_libraries"
3984 else
3985 echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5
3988 LIBS="$ac_xsave_LIBS -R $x_libraries"
3989 cat >conftest.$ac_ext <<_ACEOF
3990 /* confdefs.h. */
3991 _ACEOF
3992 cat confdefs.h >>conftest.$ac_ext
3993 cat >>conftest.$ac_ext <<_ACEOF
3994 /* end confdefs.h. */
3997 main ()
4001 return 0;
4003 _ACEOF
4004 rm -f conftest.$ac_objext conftest$ac_exeext
4005 if { (ac_try="$ac_link"
4006 case "(($ac_try" in
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4009 esac
4010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4011 (eval "$ac_link") 2>conftest.er1
4012 ac_status=$?
4013 grep -v '^ *+' conftest.er1 >conftest.err
4014 rm -f conftest.er1
4015 cat conftest.err >&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } && {
4018 test -z "$ac_c_werror_flag" ||
4019 test ! -s conftest.err
4020 } && test -s conftest$ac_exeext &&
4021 $as_test_x conftest$ac_exeext; then
4022 { echo "$as_me:$LINENO: result: yes" >&5
4023 echo "${ECHO_T}yes" >&6; }
4024 X_LIBS="$X_LIBS -R $x_libraries"
4025 else
4026 echo "$as_me: failed program was:" >&5
4027 sed 's/^/| /' conftest.$ac_ext >&5
4029 { echo "$as_me:$LINENO: result: neither works" >&5
4030 echo "${ECHO_T}neither works" >&6; }
4033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034 conftest$ac_exeext conftest.$ac_ext
4037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4038 conftest$ac_exeext conftest.$ac_ext
4039 ac_c_werror_flag=$ac_xsave_c_werror_flag
4040 LIBS=$ac_xsave_LIBS
4043 # Check for system-dependent libraries X programs must link with.
4044 # Do this before checking for the system-independent R6 libraries
4045 # (-lICE), since we may need -lsocket or whatever for X linking.
4047 if test "$ISC" = yes; then
4048 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4049 else
4050 # Martyn Johnson says this is needed for Ultrix, if the X
4051 # libraries were built with DECnet support. And Karl Berry says
4052 # the Alpha needs dnet_stub (dnet does not exist).
4053 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4054 cat >conftest.$ac_ext <<_ACEOF
4055 /* confdefs.h. */
4056 _ACEOF
4057 cat confdefs.h >>conftest.$ac_ext
4058 cat >>conftest.$ac_ext <<_ACEOF
4059 /* end confdefs.h. */
4061 /* Override any GCC internal prototype to avoid an error.
4062 Use char because int might match the return type of a GCC
4063 builtin and then its argument prototype would still apply. */
4064 #ifdef __cplusplus
4065 extern "C"
4066 #endif
4067 char XOpenDisplay ();
4069 main ()
4071 return XOpenDisplay ();
4073 return 0;
4075 _ACEOF
4076 rm -f conftest.$ac_objext conftest$ac_exeext
4077 if { (ac_try="$ac_link"
4078 case "(($ac_try" in
4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4081 esac
4082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4083 (eval "$ac_link") 2>conftest.er1
4084 ac_status=$?
4085 grep -v '^ *+' conftest.er1 >conftest.err
4086 rm -f conftest.er1
4087 cat conftest.err >&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } && {
4090 test -z "$ac_c_werror_flag" ||
4091 test ! -s conftest.err
4092 } && test -s conftest$ac_exeext &&
4093 $as_test_x conftest$ac_exeext; then
4095 else
4096 echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.$ac_ext >&5
4099 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4100 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4101 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 else
4104 ac_check_lib_save_LIBS=$LIBS
4105 LIBS="-ldnet $LIBS"
4106 cat >conftest.$ac_ext <<_ACEOF
4107 /* confdefs.h. */
4108 _ACEOF
4109 cat confdefs.h >>conftest.$ac_ext
4110 cat >>conftest.$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4113 /* Override any GCC internal prototype to avoid an error.
4114 Use char because int might match the return type of a GCC
4115 builtin and then its argument prototype would still apply. */
4116 #ifdef __cplusplus
4117 extern "C"
4118 #endif
4119 char dnet_ntoa ();
4121 main ()
4123 return dnet_ntoa ();
4125 return 0;
4127 _ACEOF
4128 rm -f conftest.$ac_objext conftest$ac_exeext
4129 if { (ac_try="$ac_link"
4130 case "(($ac_try" in
4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132 *) ac_try_echo=$ac_try;;
4133 esac
4134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4135 (eval "$ac_link") 2>conftest.er1
4136 ac_status=$?
4137 grep -v '^ *+' conftest.er1 >conftest.err
4138 rm -f conftest.er1
4139 cat conftest.err >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } && {
4142 test -z "$ac_c_werror_flag" ||
4143 test ! -s conftest.err
4144 } && test -s conftest$ac_exeext &&
4145 $as_test_x conftest$ac_exeext; then
4146 ac_cv_lib_dnet_dnet_ntoa=yes
4147 else
4148 echo "$as_me: failed program was:" >&5
4149 sed 's/^/| /' conftest.$ac_ext >&5
4151 ac_cv_lib_dnet_dnet_ntoa=no
4154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4155 conftest$ac_exeext conftest.$ac_ext
4156 LIBS=$ac_check_lib_save_LIBS
4158 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4159 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4160 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4161 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4164 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4165 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4166 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4167 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4169 else
4170 ac_check_lib_save_LIBS=$LIBS
4171 LIBS="-ldnet_stub $LIBS"
4172 cat >conftest.$ac_ext <<_ACEOF
4173 /* confdefs.h. */
4174 _ACEOF
4175 cat confdefs.h >>conftest.$ac_ext
4176 cat >>conftest.$ac_ext <<_ACEOF
4177 /* end confdefs.h. */
4179 /* Override any GCC internal prototype to avoid an error.
4180 Use char because int might match the return type of a GCC
4181 builtin and then its argument prototype would still apply. */
4182 #ifdef __cplusplus
4183 extern "C"
4184 #endif
4185 char dnet_ntoa ();
4187 main ()
4189 return dnet_ntoa ();
4191 return 0;
4193 _ACEOF
4194 rm -f conftest.$ac_objext conftest$ac_exeext
4195 if { (ac_try="$ac_link"
4196 case "(($ac_try" in
4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4199 esac
4200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4201 (eval "$ac_link") 2>conftest.er1
4202 ac_status=$?
4203 grep -v '^ *+' conftest.er1 >conftest.err
4204 rm -f conftest.er1
4205 cat conftest.err >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } && {
4208 test -z "$ac_c_werror_flag" ||
4209 test ! -s conftest.err
4210 } && test -s conftest$ac_exeext &&
4211 $as_test_x conftest$ac_exeext; then
4212 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4213 else
4214 echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.$ac_ext >&5
4217 ac_cv_lib_dnet_stub_dnet_ntoa=no
4220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4221 conftest$ac_exeext conftest.$ac_ext
4222 LIBS=$ac_check_lib_save_LIBS
4224 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4225 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4226 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4227 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4234 conftest$ac_exeext conftest.$ac_ext
4235 LIBS="$ac_xsave_LIBS"
4237 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4238 # to get the SysV transport functions.
4239 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4240 # needs -lnsl.
4241 # The nsl library prevents programs from opening the X display
4242 # on Irix 5.2, according to T.E. Dickey.
4243 # The functions gethostbyname, getservbyname, and inet_addr are
4244 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4245 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4246 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4247 if test "${ac_cv_func_gethostbyname+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4249 else
4250 cat >conftest.$ac_ext <<_ACEOF
4251 /* confdefs.h. */
4252 _ACEOF
4253 cat confdefs.h >>conftest.$ac_ext
4254 cat >>conftest.$ac_ext <<_ACEOF
4255 /* end confdefs.h. */
4256 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4258 #define gethostbyname innocuous_gethostbyname
4260 /* System header to define __stub macros and hopefully few prototypes,
4261 which can conflict with char gethostbyname (); below.
4262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4263 <limits.h> exists even on freestanding compilers. */
4265 #ifdef __STDC__
4266 # include <limits.h>
4267 #else
4268 # include <assert.h>
4269 #endif
4271 #undef gethostbyname
4273 /* Override any GCC internal prototype to avoid an error.
4274 Use char because int might match the return type of a GCC
4275 builtin and then its argument prototype would still apply. */
4276 #ifdef __cplusplus
4277 extern "C"
4278 #endif
4279 char gethostbyname ();
4280 /* The GNU C library defines this for functions which it implements
4281 to always fail with ENOSYS. Some functions are actually named
4282 something starting with __ and the normal name is an alias. */
4283 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4284 choke me
4285 #endif
4288 main ()
4290 return gethostbyname ();
4292 return 0;
4294 _ACEOF
4295 rm -f conftest.$ac_objext conftest$ac_exeext
4296 if { (ac_try="$ac_link"
4297 case "(($ac_try" in
4298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4300 esac
4301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4302 (eval "$ac_link") 2>conftest.er1
4303 ac_status=$?
4304 grep -v '^ *+' conftest.er1 >conftest.err
4305 rm -f conftest.er1
4306 cat conftest.err >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } && {
4309 test -z "$ac_c_werror_flag" ||
4310 test ! -s conftest.err
4311 } && test -s conftest$ac_exeext &&
4312 $as_test_x conftest$ac_exeext; then
4313 ac_cv_func_gethostbyname=yes
4314 else
4315 echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4318 ac_cv_func_gethostbyname=no
4321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4322 conftest$ac_exeext conftest.$ac_ext
4324 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4325 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4327 if test $ac_cv_func_gethostbyname = no; then
4328 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4329 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4330 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4332 else
4333 ac_check_lib_save_LIBS=$LIBS
4334 LIBS="-lnsl $LIBS"
4335 cat >conftest.$ac_ext <<_ACEOF
4336 /* confdefs.h. */
4337 _ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4342 /* Override any GCC internal prototype to avoid an error.
4343 Use char because int might match the return type of a GCC
4344 builtin and then its argument prototype would still apply. */
4345 #ifdef __cplusplus
4346 extern "C"
4347 #endif
4348 char gethostbyname ();
4350 main ()
4352 return gethostbyname ();
4354 return 0;
4356 _ACEOF
4357 rm -f conftest.$ac_objext conftest$ac_exeext
4358 if { (ac_try="$ac_link"
4359 case "(($ac_try" in
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4362 esac
4363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4364 (eval "$ac_link") 2>conftest.er1
4365 ac_status=$?
4366 grep -v '^ *+' conftest.er1 >conftest.err
4367 rm -f conftest.er1
4368 cat conftest.err >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } && {
4371 test -z "$ac_c_werror_flag" ||
4372 test ! -s conftest.err
4373 } && test -s conftest$ac_exeext &&
4374 $as_test_x conftest$ac_exeext; then
4375 ac_cv_lib_nsl_gethostbyname=yes
4376 else
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.$ac_ext >&5
4380 ac_cv_lib_nsl_gethostbyname=no
4383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4384 conftest$ac_exeext conftest.$ac_ext
4385 LIBS=$ac_check_lib_save_LIBS
4387 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4388 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4389 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4390 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4393 if test $ac_cv_lib_nsl_gethostbyname = no; then
4394 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4395 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4396 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 else
4399 ac_check_lib_save_LIBS=$LIBS
4400 LIBS="-lbsd $LIBS"
4401 cat >conftest.$ac_ext <<_ACEOF
4402 /* confdefs.h. */
4403 _ACEOF
4404 cat confdefs.h >>conftest.$ac_ext
4405 cat >>conftest.$ac_ext <<_ACEOF
4406 /* end confdefs.h. */
4408 /* Override any GCC internal prototype to avoid an error.
4409 Use char because int might match the return type of a GCC
4410 builtin and then its argument prototype would still apply. */
4411 #ifdef __cplusplus
4412 extern "C"
4413 #endif
4414 char gethostbyname ();
4416 main ()
4418 return gethostbyname ();
4420 return 0;
4422 _ACEOF
4423 rm -f conftest.$ac_objext conftest$ac_exeext
4424 if { (ac_try="$ac_link"
4425 case "(($ac_try" in
4426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4427 *) ac_try_echo=$ac_try;;
4428 esac
4429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4430 (eval "$ac_link") 2>conftest.er1
4431 ac_status=$?
4432 grep -v '^ *+' conftest.er1 >conftest.err
4433 rm -f conftest.er1
4434 cat conftest.err >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } && {
4437 test -z "$ac_c_werror_flag" ||
4438 test ! -s conftest.err
4439 } && test -s conftest$ac_exeext &&
4440 $as_test_x conftest$ac_exeext; then
4441 ac_cv_lib_bsd_gethostbyname=yes
4442 else
4443 echo "$as_me: failed program was:" >&5
4444 sed 's/^/| /' conftest.$ac_ext >&5
4446 ac_cv_lib_bsd_gethostbyname=no
4449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4450 conftest$ac_exeext conftest.$ac_ext
4451 LIBS=$ac_check_lib_save_LIBS
4453 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4454 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4455 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4456 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4462 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4463 # socket/setsockopt and other routines are undefined under SCO ODT
4464 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4465 # on later versions), says Simon Leinen: it contains gethostby*
4466 # variants that don't use the name server (or something). -lsocket
4467 # must be given before -lnsl if both are needed. We assume that
4468 # if connect needs -lnsl, so does gethostbyname.
4469 { echo "$as_me:$LINENO: checking for connect" >&5
4470 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4471 if test "${ac_cv_func_connect+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4473 else
4474 cat >conftest.$ac_ext <<_ACEOF
4475 /* confdefs.h. */
4476 _ACEOF
4477 cat confdefs.h >>conftest.$ac_ext
4478 cat >>conftest.$ac_ext <<_ACEOF
4479 /* end confdefs.h. */
4480 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4482 #define connect innocuous_connect
4484 /* System header to define __stub macros and hopefully few prototypes,
4485 which can conflict with char connect (); below.
4486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4487 <limits.h> exists even on freestanding compilers. */
4489 #ifdef __STDC__
4490 # include <limits.h>
4491 #else
4492 # include <assert.h>
4493 #endif
4495 #undef connect
4497 /* Override any GCC internal prototype to avoid an error.
4498 Use char because int might match the return type of a GCC
4499 builtin and then its argument prototype would still apply. */
4500 #ifdef __cplusplus
4501 extern "C"
4502 #endif
4503 char connect ();
4504 /* The GNU C library defines this for functions which it implements
4505 to always fail with ENOSYS. Some functions are actually named
4506 something starting with __ and the normal name is an alias. */
4507 #if defined __stub_connect || defined __stub___connect
4508 choke me
4509 #endif
4512 main ()
4514 return connect ();
4516 return 0;
4518 _ACEOF
4519 rm -f conftest.$ac_objext conftest$ac_exeext
4520 if { (ac_try="$ac_link"
4521 case "(($ac_try" in
4522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4524 esac
4525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4526 (eval "$ac_link") 2>conftest.er1
4527 ac_status=$?
4528 grep -v '^ *+' conftest.er1 >conftest.err
4529 rm -f conftest.er1
4530 cat conftest.err >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); } && {
4533 test -z "$ac_c_werror_flag" ||
4534 test ! -s conftest.err
4535 } && test -s conftest$ac_exeext &&
4536 $as_test_x conftest$ac_exeext; then
4537 ac_cv_func_connect=yes
4538 else
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4542 ac_cv_func_connect=no
4545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4546 conftest$ac_exeext conftest.$ac_ext
4548 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4549 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4551 if test $ac_cv_func_connect = no; then
4552 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4553 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4554 if test "${ac_cv_lib_socket_connect+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4556 else
4557 ac_check_lib_save_LIBS=$LIBS
4558 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4559 cat >conftest.$ac_ext <<_ACEOF
4560 /* confdefs.h. */
4561 _ACEOF
4562 cat confdefs.h >>conftest.$ac_ext
4563 cat >>conftest.$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4566 /* Override any GCC internal prototype to avoid an error.
4567 Use char because int might match the return type of a GCC
4568 builtin and then its argument prototype would still apply. */
4569 #ifdef __cplusplus
4570 extern "C"
4571 #endif
4572 char connect ();
4574 main ()
4576 return connect ();
4578 return 0;
4580 _ACEOF
4581 rm -f conftest.$ac_objext conftest$ac_exeext
4582 if { (ac_try="$ac_link"
4583 case "(($ac_try" in
4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4586 esac
4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_link") 2>conftest.er1
4589 ac_status=$?
4590 grep -v '^ *+' conftest.er1 >conftest.err
4591 rm -f conftest.er1
4592 cat conftest.err >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } && {
4595 test -z "$ac_c_werror_flag" ||
4596 test ! -s conftest.err
4597 } && test -s conftest$ac_exeext &&
4598 $as_test_x conftest$ac_exeext; then
4599 ac_cv_lib_socket_connect=yes
4600 else
4601 echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4604 ac_cv_lib_socket_connect=no
4607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4608 conftest$ac_exeext conftest.$ac_ext
4609 LIBS=$ac_check_lib_save_LIBS
4611 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4612 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4613 if test $ac_cv_lib_socket_connect = yes; then
4614 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4619 # Guillermo Gomez says -lposix is necessary on A/UX.
4620 { echo "$as_me:$LINENO: checking for remove" >&5
4621 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4622 if test "${ac_cv_func_remove+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 else
4625 cat >conftest.$ac_ext <<_ACEOF
4626 /* confdefs.h. */
4627 _ACEOF
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4631 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4633 #define remove innocuous_remove
4635 /* System header to define __stub macros and hopefully few prototypes,
4636 which can conflict with char remove (); below.
4637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 <limits.h> exists even on freestanding compilers. */
4640 #ifdef __STDC__
4641 # include <limits.h>
4642 #else
4643 # include <assert.h>
4644 #endif
4646 #undef remove
4648 /* Override any GCC internal prototype to avoid an error.
4649 Use char because int might match the return type of a GCC
4650 builtin and then its argument prototype would still apply. */
4651 #ifdef __cplusplus
4652 extern "C"
4653 #endif
4654 char remove ();
4655 /* The GNU C library defines this for functions which it implements
4656 to always fail with ENOSYS. Some functions are actually named
4657 something starting with __ and the normal name is an alias. */
4658 #if defined __stub_remove || defined __stub___remove
4659 choke me
4660 #endif
4663 main ()
4665 return remove ();
4667 return 0;
4669 _ACEOF
4670 rm -f conftest.$ac_objext conftest$ac_exeext
4671 if { (ac_try="$ac_link"
4672 case "(($ac_try" in
4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4675 esac
4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677 (eval "$ac_link") 2>conftest.er1
4678 ac_status=$?
4679 grep -v '^ *+' conftest.er1 >conftest.err
4680 rm -f conftest.er1
4681 cat conftest.err >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && {
4684 test -z "$ac_c_werror_flag" ||
4685 test ! -s conftest.err
4686 } && test -s conftest$ac_exeext &&
4687 $as_test_x conftest$ac_exeext; then
4688 ac_cv_func_remove=yes
4689 else
4690 echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4693 ac_cv_func_remove=no
4696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4697 conftest$ac_exeext conftest.$ac_ext
4699 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4700 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4702 if test $ac_cv_func_remove = no; then
4703 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4704 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4705 if test "${ac_cv_lib_posix_remove+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4707 else
4708 ac_check_lib_save_LIBS=$LIBS
4709 LIBS="-lposix $LIBS"
4710 cat >conftest.$ac_ext <<_ACEOF
4711 /* confdefs.h. */
4712 _ACEOF
4713 cat confdefs.h >>conftest.$ac_ext
4714 cat >>conftest.$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4717 /* Override any GCC internal prototype to avoid an error.
4718 Use char because int might match the return type of a GCC
4719 builtin and then its argument prototype would still apply. */
4720 #ifdef __cplusplus
4721 extern "C"
4722 #endif
4723 char remove ();
4725 main ()
4727 return remove ();
4729 return 0;
4731 _ACEOF
4732 rm -f conftest.$ac_objext conftest$ac_exeext
4733 if { (ac_try="$ac_link"
4734 case "(($ac_try" in
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4737 esac
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_link") 2>conftest.er1
4740 ac_status=$?
4741 grep -v '^ *+' conftest.er1 >conftest.err
4742 rm -f conftest.er1
4743 cat conftest.err >&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } && {
4746 test -z "$ac_c_werror_flag" ||
4747 test ! -s conftest.err
4748 } && test -s conftest$ac_exeext &&
4749 $as_test_x conftest$ac_exeext; then
4750 ac_cv_lib_posix_remove=yes
4751 else
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.$ac_ext >&5
4755 ac_cv_lib_posix_remove=no
4758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4759 conftest$ac_exeext conftest.$ac_ext
4760 LIBS=$ac_check_lib_save_LIBS
4762 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4763 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4764 if test $ac_cv_lib_posix_remove = yes; then
4765 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4770 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4771 { echo "$as_me:$LINENO: checking for shmat" >&5
4772 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4773 if test "${ac_cv_func_shmat+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 else
4776 cat >conftest.$ac_ext <<_ACEOF
4777 /* confdefs.h. */
4778 _ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4782 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4784 #define shmat innocuous_shmat
4786 /* System header to define __stub macros and hopefully few prototypes,
4787 which can conflict with char shmat (); below.
4788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4789 <limits.h> exists even on freestanding compilers. */
4791 #ifdef __STDC__
4792 # include <limits.h>
4793 #else
4794 # include <assert.h>
4795 #endif
4797 #undef shmat
4799 /* Override any GCC internal prototype to avoid an error.
4800 Use char because int might match the return type of a GCC
4801 builtin and then its argument prototype would still apply. */
4802 #ifdef __cplusplus
4803 extern "C"
4804 #endif
4805 char shmat ();
4806 /* The GNU C library defines this for functions which it implements
4807 to always fail with ENOSYS. Some functions are actually named
4808 something starting with __ and the normal name is an alias. */
4809 #if defined __stub_shmat || defined __stub___shmat
4810 choke me
4811 #endif
4814 main ()
4816 return shmat ();
4818 return 0;
4820 _ACEOF
4821 rm -f conftest.$ac_objext conftest$ac_exeext
4822 if { (ac_try="$ac_link"
4823 case "(($ac_try" in
4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4826 esac
4827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4828 (eval "$ac_link") 2>conftest.er1
4829 ac_status=$?
4830 grep -v '^ *+' conftest.er1 >conftest.err
4831 rm -f conftest.er1
4832 cat conftest.err >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } && {
4835 test -z "$ac_c_werror_flag" ||
4836 test ! -s conftest.err
4837 } && test -s conftest$ac_exeext &&
4838 $as_test_x conftest$ac_exeext; then
4839 ac_cv_func_shmat=yes
4840 else
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.$ac_ext >&5
4844 ac_cv_func_shmat=no
4847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4848 conftest$ac_exeext conftest.$ac_ext
4850 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4851 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4853 if test $ac_cv_func_shmat = no; then
4854 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4855 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4856 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 else
4859 ac_check_lib_save_LIBS=$LIBS
4860 LIBS="-lipc $LIBS"
4861 cat >conftest.$ac_ext <<_ACEOF
4862 /* confdefs.h. */
4863 _ACEOF
4864 cat confdefs.h >>conftest.$ac_ext
4865 cat >>conftest.$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4868 /* Override any GCC internal prototype to avoid an error.
4869 Use char because int might match the return type of a GCC
4870 builtin and then its argument prototype would still apply. */
4871 #ifdef __cplusplus
4872 extern "C"
4873 #endif
4874 char shmat ();
4876 main ()
4878 return shmat ();
4880 return 0;
4882 _ACEOF
4883 rm -f conftest.$ac_objext conftest$ac_exeext
4884 if { (ac_try="$ac_link"
4885 case "(($ac_try" in
4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4887 *) ac_try_echo=$ac_try;;
4888 esac
4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890 (eval "$ac_link") 2>conftest.er1
4891 ac_status=$?
4892 grep -v '^ *+' conftest.er1 >conftest.err
4893 rm -f conftest.er1
4894 cat conftest.err >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } && {
4897 test -z "$ac_c_werror_flag" ||
4898 test ! -s conftest.err
4899 } && test -s conftest$ac_exeext &&
4900 $as_test_x conftest$ac_exeext; then
4901 ac_cv_lib_ipc_shmat=yes
4902 else
4903 echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4906 ac_cv_lib_ipc_shmat=no
4909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4910 conftest$ac_exeext conftest.$ac_ext
4911 LIBS=$ac_check_lib_save_LIBS
4913 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4914 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4915 if test $ac_cv_lib_ipc_shmat = yes; then
4916 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4922 # Check for libraries that X11R6 Xt/Xaw programs need.
4923 ac_save_LDFLAGS=$LDFLAGS
4924 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4925 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4926 # check for ICE first), but we must link in the order -lSM -lICE or
4927 # we get undefined symbols. So assume we have SM if we have ICE.
4928 # These have to be linked with before -lX11, unlike the other
4929 # libraries we check for below, so use a different variable.
4930 # John Interrante, Karl Berry
4931 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4932 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4933 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936 ac_check_lib_save_LIBS=$LIBS
4937 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4938 cat >conftest.$ac_ext <<_ACEOF
4939 /* confdefs.h. */
4940 _ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4945 /* Override any GCC internal prototype to avoid an error.
4946 Use char because int might match the return type of a GCC
4947 builtin and then its argument prototype would still apply. */
4948 #ifdef __cplusplus
4949 extern "C"
4950 #endif
4951 char IceConnectionNumber ();
4953 main ()
4955 return IceConnectionNumber ();
4957 return 0;
4959 _ACEOF
4960 rm -f conftest.$ac_objext conftest$ac_exeext
4961 if { (ac_try="$ac_link"
4962 case "(($ac_try" in
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4965 esac
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_link") 2>conftest.er1
4968 ac_status=$?
4969 grep -v '^ *+' conftest.er1 >conftest.err
4970 rm -f conftest.er1
4971 cat conftest.err >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } && {
4974 test -z "$ac_c_werror_flag" ||
4975 test ! -s conftest.err
4976 } && test -s conftest$ac_exeext &&
4977 $as_test_x conftest$ac_exeext; then
4978 ac_cv_lib_ICE_IceConnectionNumber=yes
4979 else
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 ac_cv_lib_ICE_IceConnectionNumber=no
4986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4987 conftest$ac_exeext conftest.$ac_ext
4988 LIBS=$ac_check_lib_save_LIBS
4990 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4991 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4992 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4993 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4996 LDFLAGS=$ac_save_LDFLAGS
5000 for ac_prog in flex lex
5002 # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy $ac_prog; ac_word=$2
5004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5006 if test "${ac_cv_prog_LEX+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5008 else
5009 if test -n "$LEX"; then
5010 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5011 else
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5013 for as_dir in $PATH
5015 IFS=$as_save_IFS
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_LEX="$ac_prog"
5020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 break 2
5023 done
5024 done
5025 IFS=$as_save_IFS
5029 LEX=$ac_cv_prog_LEX
5030 if test -n "$LEX"; then
5031 { echo "$as_me:$LINENO: result: $LEX" >&5
5032 echo "${ECHO_T}$LEX" >&6; }
5033 else
5034 { echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6; }
5039 test -n "$LEX" && break
5040 done
5041 test -n "$LEX" || LEX=":"
5043 if test "x$LEX" != "x:"; then
5044 cat >conftest.l <<_ACEOF
5046 a { ECHO; }
5047 b { REJECT; }
5048 c { yymore (); }
5049 d { yyless (1); }
5050 e { yyless (input () != 0); }
5051 f { unput (yytext[0]); }
5052 . { BEGIN INITIAL; }
5054 #ifdef YYTEXT_POINTER
5055 extern char *yytext;
5056 #endif
5058 main (void)
5060 return ! yylex () + ! yywrap ();
5062 _ACEOF
5063 { (ac_try="$LEX conftest.l"
5064 case "(($ac_try" in
5065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066 *) ac_try_echo=$ac_try;;
5067 esac
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$LEX conftest.l") 2>&5
5070 ac_status=$?
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); }
5073 { echo "$as_me:$LINENO: checking lex output file root" >&5
5074 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5075 if test "${ac_cv_prog_lex_root+set}" = set; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5077 else
5079 if test -f lex.yy.c; then
5080 ac_cv_prog_lex_root=lex.yy
5081 elif test -f lexyy.c; then
5082 ac_cv_prog_lex_root=lexyy
5083 else
5084 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5085 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5086 { (exit 1); exit 1; }; }
5089 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5090 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5091 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5093 if test -z "${LEXLIB+set}"; then
5094 { echo "$as_me:$LINENO: checking lex library" >&5
5095 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5096 if test "${ac_cv_lib_lex+set}" = set; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 else
5100 ac_save_LIBS=$LIBS
5101 ac_cv_lib_lex='none needed'
5102 for ac_lib in '' -lfl -ll; do
5103 LIBS="$ac_lib $ac_save_LIBS"
5104 cat >conftest.$ac_ext <<_ACEOF
5105 `cat $LEX_OUTPUT_ROOT.c`
5106 _ACEOF
5107 rm -f conftest.$ac_objext conftest$ac_exeext
5108 if { (ac_try="$ac_link"
5109 case "(($ac_try" in
5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5111 *) ac_try_echo=$ac_try;;
5112 esac
5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5114 (eval "$ac_link") 2>conftest.er1
5115 ac_status=$?
5116 grep -v '^ *+' conftest.er1 >conftest.err
5117 rm -f conftest.er1
5118 cat conftest.err >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } && {
5121 test -z "$ac_c_werror_flag" ||
5122 test ! -s conftest.err
5123 } && test -s conftest$ac_exeext &&
5124 $as_test_x conftest$ac_exeext; then
5125 ac_cv_lib_lex=$ac_lib
5126 else
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5134 conftest$ac_exeext conftest.$ac_ext
5135 test "$ac_cv_lib_lex" != 'none needed' && break
5136 done
5137 LIBS=$ac_save_LIBS
5140 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5141 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5142 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5146 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5147 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5148 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 else
5151 # POSIX says lex can declare yytext either as a pointer or an array; the
5152 # default is implementation-dependent. Figure out which it is, since
5153 # not all implementations provide the %pointer and %array declarations.
5154 ac_cv_prog_lex_yytext_pointer=no
5155 ac_save_LIBS=$LIBS
5156 LIBS="$LEXLIB $ac_save_LIBS"
5157 cat >conftest.$ac_ext <<_ACEOF
5158 #define YYTEXT_POINTER 1
5159 `cat $LEX_OUTPUT_ROOT.c`
5160 _ACEOF
5161 rm -f conftest.$ac_objext conftest$ac_exeext
5162 if { (ac_try="$ac_link"
5163 case "(($ac_try" in
5164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5165 *) ac_try_echo=$ac_try;;
5166 esac
5167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5168 (eval "$ac_link") 2>conftest.er1
5169 ac_status=$?
5170 grep -v '^ *+' conftest.er1 >conftest.err
5171 rm -f conftest.er1
5172 cat conftest.err >&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } && {
5175 test -z "$ac_c_werror_flag" ||
5176 test ! -s conftest.err
5177 } && test -s conftest$ac_exeext &&
5178 $as_test_x conftest$ac_exeext; then
5179 ac_cv_prog_lex_yytext_pointer=yes
5180 else
5181 echo "$as_me: failed program was:" >&5
5182 sed 's/^/| /' conftest.$ac_ext >&5
5187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5188 conftest$ac_exeext conftest.$ac_ext
5189 LIBS=$ac_save_LIBS
5192 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5193 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5194 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5196 cat >>confdefs.h <<\_ACEOF
5197 #define YYTEXT_POINTER 1
5198 _ACEOF
5201 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5205 for ac_prog in $LEX flex lex
5207 # Extract the first word of "$ac_prog", so it can be a program name with args.
5208 set dummy $ac_prog; ac_word=$2
5209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5211 if test "${ac_cv_prog_XLEX+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 else
5214 if test -n "$XLEX"; then
5215 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5220 IFS=$as_save_IFS
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5224 ac_cv_prog_XLEX="$ac_prog"
5225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 break 2
5228 done
5229 done
5230 IFS=$as_save_IFS
5234 XLEX=$ac_cv_prog_XLEX
5235 if test -n "$XLEX"; then
5236 { echo "$as_me:$LINENO: result: $XLEX" >&5
5237 echo "${ECHO_T}$XLEX" >&6; }
5238 else
5239 { echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6; }
5244 test -n "$XLEX" && break
5245 done
5246 test -n "$XLEX" || XLEX="none"
5248 if test "$XLEX" = "none"
5249 then
5250 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5251 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5252 { (exit 1); exit 1; }; }
5255 for ac_prog in bison
5257 # Extract the first word of "$ac_prog", so it can be a program name with args.
5258 set dummy $ac_prog; ac_word=$2
5259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5261 if test "${ac_cv_prog_BISON+set}" = set; then
5262 echo $ECHO_N "(cached) $ECHO_C" >&6
5263 else
5264 if test -n "$BISON"; then
5265 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5266 else
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 for as_dir in $PATH
5270 IFS=$as_save_IFS
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5274 ac_cv_prog_BISON="$ac_prog"
5275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 break 2
5278 done
5279 done
5280 IFS=$as_save_IFS
5284 BISON=$ac_cv_prog_BISON
5285 if test -n "$BISON"; then
5286 { echo "$as_me:$LINENO: result: $BISON" >&5
5287 echo "${ECHO_T}$BISON" >&6; }
5288 else
5289 { echo "$as_me:$LINENO: result: no" >&5
5290 echo "${ECHO_T}no" >&6; }
5294 test -n "$BISON" && break
5295 done
5296 test -n "$BISON" || BISON="none"
5298 if test "$BISON" = "none"
5299 then
5300 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5301 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5302 { (exit 1); exit 1; }; }
5305 if test -n "$ac_tool_prefix"; then
5306 for ac_prog in gas as
5308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5312 if test "${ac_cv_prog_AS+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5314 else
5315 if test -n "$AS"; then
5316 ac_cv_prog_AS="$AS" # Let the user override the test.
5317 else
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5319 for as_dir in $PATH
5321 IFS=$as_save_IFS
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5327 break 2
5329 done
5330 done
5331 IFS=$as_save_IFS
5335 AS=$ac_cv_prog_AS
5336 if test -n "$AS"; then
5337 { echo "$as_me:$LINENO: result: $AS" >&5
5338 echo "${ECHO_T}$AS" >&6; }
5339 else
5340 { echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6; }
5345 test -n "$AS" && break
5346 done
5348 if test -z "$AS"; then
5349 ac_ct_AS=$AS
5350 for ac_prog in gas as
5352 # Extract the first word of "$ac_prog", so it can be a program name with args.
5353 set dummy $ac_prog; ac_word=$2
5354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5356 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5357 echo $ECHO_N "(cached) $ECHO_C" >&6
5358 else
5359 if test -n "$ac_ct_AS"; then
5360 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5361 else
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5363 for as_dir in $PATH
5365 IFS=$as_save_IFS
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_ac_ct_AS="$ac_prog"
5370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5371 break 2
5373 done
5374 done
5375 IFS=$as_save_IFS
5379 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5380 if test -n "$ac_ct_AS"; then
5381 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5382 echo "${ECHO_T}$ac_ct_AS" >&6; }
5383 else
5384 { echo "$as_me:$LINENO: result: no" >&5
5385 echo "${ECHO_T}no" >&6; }
5389 test -n "$ac_ct_AS" && break
5390 done
5392 if test "x$ac_ct_AS" = x; then
5393 AS="as"
5394 else
5395 case $cross_compiling:$ac_tool_warned in
5396 yes:)
5397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5398 whose name does not start with the host triplet. If you think this
5399 configuration is useful to you, please write to autoconf@gnu.org." >&5
5400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5403 ac_tool_warned=yes ;;
5404 esac
5405 AS=$ac_ct_AS
5409 if test -n "$ac_tool_prefix"; then
5410 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5411 set dummy ${ac_tool_prefix}ld; ac_word=$2
5412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5414 if test "${ac_cv_prog_LD+set}" = set; then
5415 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 else
5417 if test -n "$LD"; then
5418 ac_cv_prog_LD="$LD" # Let the user override the test.
5419 else
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 for as_dir in $PATH
5423 IFS=$as_save_IFS
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5427 ac_cv_prog_LD="${ac_tool_prefix}ld"
5428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 break 2
5431 done
5432 done
5433 IFS=$as_save_IFS
5437 LD=$ac_cv_prog_LD
5438 if test -n "$LD"; then
5439 { echo "$as_me:$LINENO: result: $LD" >&5
5440 echo "${ECHO_T}$LD" >&6; }
5441 else
5442 { echo "$as_me:$LINENO: result: no" >&5
5443 echo "${ECHO_T}no" >&6; }
5448 if test -z "$ac_cv_prog_LD"; then
5449 ac_ct_LD=$LD
5450 # Extract the first word of "ld", so it can be a program name with args.
5451 set dummy ld; ac_word=$2
5452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5454 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5456 else
5457 if test -n "$ac_ct_LD"; then
5458 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5459 else
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5461 for as_dir in $PATH
5463 IFS=$as_save_IFS
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5467 ac_cv_prog_ac_ct_LD="ld"
5468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5469 break 2
5471 done
5472 done
5473 IFS=$as_save_IFS
5477 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5478 if test -n "$ac_ct_LD"; then
5479 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5480 echo "${ECHO_T}$ac_ct_LD" >&6; }
5481 else
5482 { echo "$as_me:$LINENO: result: no" >&5
5483 echo "${ECHO_T}no" >&6; }
5486 if test "x$ac_ct_LD" = x; then
5487 LD="ld"
5488 else
5489 case $cross_compiling:$ac_tool_warned in
5490 yes:)
5491 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5492 whose name does not start with the host triplet. If you think this
5493 configuration is useful to you, please write to autoconf@gnu.org." >&5
5494 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5497 ac_tool_warned=yes ;;
5498 esac
5499 LD=$ac_ct_LD
5501 else
5502 LD="$ac_cv_prog_LD"
5505 if test -n "$ac_tool_prefix"; then
5506 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5507 set dummy ${ac_tool_prefix}ar; ac_word=$2
5508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5510 if test "${ac_cv_prog_AR+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5512 else
5513 if test -n "$AR"; then
5514 ac_cv_prog_AR="$AR" # Let the user override the test.
5515 else
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5517 for as_dir in $PATH
5519 IFS=$as_save_IFS
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523 ac_cv_prog_AR="${ac_tool_prefix}ar"
5524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5525 break 2
5527 done
5528 done
5529 IFS=$as_save_IFS
5533 AR=$ac_cv_prog_AR
5534 if test -n "$AR"; then
5535 { echo "$as_me:$LINENO: result: $AR" >&5
5536 echo "${ECHO_T}$AR" >&6; }
5537 else
5538 { echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6; }
5544 if test -z "$ac_cv_prog_AR"; then
5545 ac_ct_AR=$AR
5546 # Extract the first word of "ar", so it can be a program name with args.
5547 set dummy ar; ac_word=$2
5548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5550 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5552 else
5553 if test -n "$ac_ct_AR"; then
5554 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5555 else
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5557 for as_dir in $PATH
5559 IFS=$as_save_IFS
5560 test -z "$as_dir" && as_dir=.
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5563 ac_cv_prog_ac_ct_AR="ar"
5564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5565 break 2
5567 done
5568 done
5569 IFS=$as_save_IFS
5573 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5574 if test -n "$ac_ct_AR"; then
5575 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5576 echo "${ECHO_T}$ac_ct_AR" >&6; }
5577 else
5578 { echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6; }
5582 if test "x$ac_ct_AR" = x; then
5583 AR="ar"
5584 else
5585 case $cross_compiling:$ac_tool_warned in
5586 yes:)
5587 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5588 whose name does not start with the host triplet. If you think this
5589 configuration is useful to you, please write to autoconf@gnu.org." >&5
5590 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5593 ac_tool_warned=yes ;;
5594 esac
5595 AR=$ac_ct_AR
5597 else
5598 AR="$ac_cv_prog_AR"
5601 if test -n "$ac_tool_prefix"; then
5602 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5603 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5606 if test "${ac_cv_prog_RANLIB+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 else
5609 if test -n "$RANLIB"; then
5610 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5611 else
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5613 for as_dir in $PATH
5615 IFS=$as_save_IFS
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5619 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5621 break 2
5623 done
5624 done
5625 IFS=$as_save_IFS
5629 RANLIB=$ac_cv_prog_RANLIB
5630 if test -n "$RANLIB"; then
5631 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5632 echo "${ECHO_T}$RANLIB" >&6; }
5633 else
5634 { echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6; }
5640 if test -z "$ac_cv_prog_RANLIB"; then
5641 ac_ct_RANLIB=$RANLIB
5642 # Extract the first word of "ranlib", so it can be a program name with args.
5643 set dummy ranlib; ac_word=$2
5644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5646 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 else
5649 if test -n "$ac_ct_RANLIB"; then
5650 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5651 else
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 for as_dir in $PATH
5655 IFS=$as_save_IFS
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5659 ac_cv_prog_ac_ct_RANLIB="ranlib"
5660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5661 break 2
5663 done
5664 done
5665 IFS=$as_save_IFS
5669 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5670 if test -n "$ac_ct_RANLIB"; then
5671 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5672 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5673 else
5674 { echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6; }
5678 if test "x$ac_ct_RANLIB" = x; then
5679 RANLIB=":"
5680 else
5681 case $cross_compiling:$ac_tool_warned in
5682 yes:)
5683 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5684 whose name does not start with the host triplet. If you think this
5685 configuration is useful to you, please write to autoconf@gnu.org." >&5
5686 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5689 ac_tool_warned=yes ;;
5690 esac
5691 RANLIB=$ac_ct_RANLIB
5693 else
5694 RANLIB="$ac_cv_prog_RANLIB"
5697 if test -n "$ac_tool_prefix"; then
5698 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5699 set dummy ${ac_tool_prefix}strip; ac_word=$2
5700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5702 if test "${ac_cv_prog_STRIP+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5704 else
5705 if test -n "$STRIP"; then
5706 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5707 else
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5709 for as_dir in $PATH
5711 IFS=$as_save_IFS
5712 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5715 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5717 break 2
5719 done
5720 done
5721 IFS=$as_save_IFS
5725 STRIP=$ac_cv_prog_STRIP
5726 if test -n "$STRIP"; then
5727 { echo "$as_me:$LINENO: result: $STRIP" >&5
5728 echo "${ECHO_T}$STRIP" >&6; }
5729 else
5730 { echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6; }
5736 if test -z "$ac_cv_prog_STRIP"; then
5737 ac_ct_STRIP=$STRIP
5738 # Extract the first word of "strip", so it can be a program name with args.
5739 set dummy strip; ac_word=$2
5740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5742 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5744 else
5745 if test -n "$ac_ct_STRIP"; then
5746 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5747 else
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5749 for as_dir in $PATH
5751 IFS=$as_save_IFS
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5755 ac_cv_prog_ac_ct_STRIP="strip"
5756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5757 break 2
5759 done
5760 done
5761 IFS=$as_save_IFS
5765 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5766 if test -n "$ac_ct_STRIP"; then
5767 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5768 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5769 else
5770 { echo "$as_me:$LINENO: result: no" >&5
5771 echo "${ECHO_T}no" >&6; }
5774 if test "x$ac_ct_STRIP" = x; then
5775 STRIP="strip"
5776 else
5777 case $cross_compiling:$ac_tool_warned in
5778 yes:)
5779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5780 whose name does not start with the host triplet. If you think this
5781 configuration is useful to you, please write to autoconf@gnu.org." >&5
5782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5783 whose name does not start with the host triplet. If you think this
5784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5785 ac_tool_warned=yes ;;
5786 esac
5787 STRIP=$ac_ct_STRIP
5789 else
5790 STRIP="$ac_cv_prog_STRIP"
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}windres; ac_word=$2
5796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5798 if test "${ac_cv_prog_WINDRES+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 else
5801 if test -n "$WINDRES"; then
5802 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5815 done
5816 done
5817 IFS=$as_save_IFS
5821 WINDRES=$ac_cv_prog_WINDRES
5822 if test -n "$WINDRES"; then
5823 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5824 echo "${ECHO_T}$WINDRES" >&6; }
5825 else
5826 { echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6; }
5832 if test -z "$ac_cv_prog_WINDRES"; then
5833 ac_ct_WINDRES=$WINDRES
5834 # Extract the first word of "windres", so it can be a program name with args.
5835 set dummy windres; ac_word=$2
5836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5838 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 else
5841 if test -n "$ac_ct_WINDRES"; then
5842 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5843 else
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 for as_dir in $PATH
5847 IFS=$as_save_IFS
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5851 ac_cv_prog_ac_ct_WINDRES="windres"
5852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5853 break 2
5855 done
5856 done
5857 IFS=$as_save_IFS
5861 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5862 if test -n "$ac_ct_WINDRES"; then
5863 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5864 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5865 else
5866 { echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6; }
5870 if test "x$ac_ct_WINDRES" = x; then
5871 WINDRES="false"
5872 else
5873 case $cross_compiling:$ac_tool_warned in
5874 yes:)
5875 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5876 whose name does not start with the host triplet. If you think this
5877 configuration is useful to you, please write to autoconf@gnu.org." >&5
5878 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5879 whose name does not start with the host triplet. If you think this
5880 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5881 ac_tool_warned=yes ;;
5882 esac
5883 WINDRES=$ac_ct_WINDRES
5885 else
5886 WINDRES="$ac_cv_prog_WINDRES"
5889 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5890 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5891 LN_S=$as_ln_s
5892 if test "$LN_S" = "ln -s"; then
5893 { echo "$as_me:$LINENO: result: yes" >&5
5894 echo "${ECHO_T}yes" >&6; }
5895 else
5896 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5897 echo "${ECHO_T}no, using $LN_S" >&6; }
5900 { echo "$as_me:$LINENO: checking whether ln works" >&5
5901 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5902 rm -f conf$$ conf$$.file
5903 echo >conf$$.file
5904 if ln conf$$.file conf$$ 2>/dev/null; then
5905 LN=ln
5907 { echo "$as_me:$LINENO: result: yes" >&5
5908 echo "${ECHO_T}yes" >&6; }
5909 else
5910 LN="cp -p"
5912 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5913 echo "${ECHO_T}no, using $LN" >&6; }
5915 rm -f conf$$ conf$$.file
5916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5918 if test "${ac_cv_path_GREP+set}" = set; then
5919 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 else
5921 # Extract the first word of "grep ggrep" to use in msg output
5922 if test -z "$GREP"; then
5923 set dummy grep ggrep; ac_prog_name=$2
5924 if test "${ac_cv_path_GREP+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 ac_path_GREP_found=false
5928 # Loop through the user's path and test for each of PROGNAME-LIST
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5932 IFS=$as_save_IFS
5933 test -z "$as_dir" && as_dir=.
5934 for ac_prog in grep ggrep; do
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5938 # Check for GNU ac_path_GREP and select it if it is found.
5939 # Check for GNU $ac_path_GREP
5940 case `"$ac_path_GREP" --version 2>&1` in
5941 *GNU*)
5942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5944 ac_count=0
5945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5946 while :
5948 cat "conftest.in" "conftest.in" >"conftest.tmp"
5949 mv "conftest.tmp" "conftest.in"
5950 cp "conftest.in" "conftest.nl"
5951 echo 'GREP' >> "conftest.nl"
5952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5954 ac_count=`expr $ac_count + 1`
5955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5956 # Best one so far, save it but keep looking for a better one
5957 ac_cv_path_GREP="$ac_path_GREP"
5958 ac_path_GREP_max=$ac_count
5960 # 10*(2^10) chars as input seems more than enough
5961 test $ac_count -gt 10 && break
5962 done
5963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5964 esac
5967 $ac_path_GREP_found && break 3
5968 done
5969 done
5971 done
5972 IFS=$as_save_IFS
5977 GREP="$ac_cv_path_GREP"
5978 if test -z "$GREP"; then
5979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5981 { (exit 1); exit 1; }; }
5984 else
5985 ac_cv_path_GREP=$GREP
5990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5992 GREP="$ac_cv_path_GREP"
5995 { echo "$as_me:$LINENO: checking for egrep" >&5
5996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5997 if test "${ac_cv_path_EGREP+set}" = set; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
5999 else
6000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6001 then ac_cv_path_EGREP="$GREP -E"
6002 else
6003 # Extract the first word of "egrep" to use in msg output
6004 if test -z "$EGREP"; then
6005 set dummy egrep; ac_prog_name=$2
6006 if test "${ac_cv_path_EGREP+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6008 else
6009 ac_path_EGREP_found=false
6010 # Loop through the user's path and test for each of PROGNAME-LIST
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6014 IFS=$as_save_IFS
6015 test -z "$as_dir" && as_dir=.
6016 for ac_prog in egrep; do
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6020 # Check for GNU ac_path_EGREP and select it if it is found.
6021 # Check for GNU $ac_path_EGREP
6022 case `"$ac_path_EGREP" --version 2>&1` in
6023 *GNU*)
6024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6026 ac_count=0
6027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6028 while :
6030 cat "conftest.in" "conftest.in" >"conftest.tmp"
6031 mv "conftest.tmp" "conftest.in"
6032 cp "conftest.in" "conftest.nl"
6033 echo 'EGREP' >> "conftest.nl"
6034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6036 ac_count=`expr $ac_count + 1`
6037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6038 # Best one so far, save it but keep looking for a better one
6039 ac_cv_path_EGREP="$ac_path_EGREP"
6040 ac_path_EGREP_max=$ac_count
6042 # 10*(2^10) chars as input seems more than enough
6043 test $ac_count -gt 10 && break
6044 done
6045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6046 esac
6049 $ac_path_EGREP_found && break 3
6050 done
6051 done
6053 done
6054 IFS=$as_save_IFS
6059 EGREP="$ac_cv_path_EGREP"
6060 if test -z "$EGREP"; then
6061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6063 { (exit 1); exit 1; }; }
6066 else
6067 ac_cv_path_EGREP=$EGREP
6073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6075 EGREP="$ac_cv_path_EGREP"
6078 # Extract the first word of "ldconfig", so it can be a program name with args.
6079 set dummy ldconfig; ac_word=$2
6080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6082 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085 case $LDCONFIG in
6086 [\\/]* | ?:[\\/]*)
6087 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in /sbin /usr/sbin $PATH
6093 IFS=$as_save_IFS
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6097 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6099 break 2
6101 done
6102 done
6103 IFS=$as_save_IFS
6105 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6107 esac
6109 LDCONFIG=$ac_cv_path_LDCONFIG
6110 if test -n "$LDCONFIG"; then
6111 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6112 echo "${ECHO_T}$LDCONFIG" >&6; }
6113 else
6114 { echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6; }
6119 # Find a good install program. We prefer a C program (faster),
6120 # so one script is as good as another. But avoid the broken or
6121 # incompatible versions:
6122 # SysV /etc/install, /usr/sbin/install
6123 # SunOS /usr/etc/install
6124 # IRIX /sbin/install
6125 # AIX /bin/install
6126 # AmigaOS /C/install, which installs bootblocks on floppy discs
6127 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6128 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6129 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6130 # OS/2's system install, which has a completely different semantic
6131 # ./install, which can be erroneously created by make from ./install.sh.
6132 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6133 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6134 if test -z "$INSTALL"; then
6135 if test "${ac_cv_path_install+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 # Account for people who put trailing slashes in PATH elements.
6144 case $as_dir/ in
6145 ./ | .// | /cC/* | \
6146 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6147 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6148 /usr/ucb/* ) ;;
6150 # OSF1 and SCO ODT 3.0 have their own names for install.
6151 # Don't use installbsd from OSF since it installs stuff as root
6152 # by default.
6153 for ac_prog in ginstall scoinst install; do
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6156 if test $ac_prog = install &&
6157 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6158 # AIX install. It has an incompatible calling convention.
6160 elif test $ac_prog = install &&
6161 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6162 # program-specific install script used by HP pwplus--don't use.
6164 else
6165 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6166 break 3
6169 done
6170 done
6172 esac
6173 done
6174 IFS=$as_save_IFS
6178 if test "${ac_cv_path_install+set}" = set; then
6179 INSTALL=$ac_cv_path_install
6180 else
6181 # As a last resort, use the slow shell script. Don't cache a
6182 # value for INSTALL within a source directory, because that will
6183 # break other packages using the cache if that directory is
6184 # removed, or if the value is a relative name.
6185 INSTALL=$ac_install_sh
6188 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6189 echo "${ECHO_T}$INSTALL" >&6; }
6191 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6192 # It thinks the first close brace ends the variable substitution.
6193 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6195 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6197 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6199 case "$INSTALL" in
6200 [\\/$]* | ?:[\\/]* ) ;;
6201 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6202 esac
6204 for ac_prog in lclint lint
6206 # Extract the first word of "$ac_prog", so it can be a program name with args.
6207 set dummy $ac_prog; ac_word=$2
6208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6210 if test "${ac_cv_prog_LINT+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6212 else
6213 if test -n "$LINT"; then
6214 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6215 else
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6217 for as_dir in $PATH
6219 IFS=$as_save_IFS
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6223 ac_cv_prog_LINT="$ac_prog"
6224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6225 break 2
6227 done
6228 done
6229 IFS=$as_save_IFS
6233 LINT=$ac_cv_prog_LINT
6234 if test -n "$LINT"; then
6235 { echo "$as_me:$LINENO: result: $LINT" >&5
6236 echo "${ECHO_T}$LINT" >&6; }
6237 else
6238 { echo "$as_me:$LINENO: result: no" >&5
6239 echo "${ECHO_T}no" >&6; }
6243 test -n "$LINT" && break
6244 done
6246 if test "$LINT" = "lint"
6247 then
6248 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6253 for ac_prog in fontforge
6255 # Extract the first word of "$ac_prog", so it can be a program name with args.
6256 set dummy $ac_prog; ac_word=$2
6257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6259 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 else
6262 if test -n "$FONTFORGE"; then
6263 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6264 else
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6266 for as_dir in $PATH
6268 IFS=$as_save_IFS
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272 ac_cv_prog_FONTFORGE="$ac_prog"
6273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6274 break 2
6276 done
6277 done
6278 IFS=$as_save_IFS
6282 FONTFORGE=$ac_cv_prog_FONTFORGE
6283 if test -n "$FONTFORGE"; then
6284 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6285 echo "${ECHO_T}$FONTFORGE" >&6; }
6286 else
6287 { echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6; }
6292 test -n "$FONTFORGE" && break
6293 done
6294 test -n "$FONTFORGE" || FONTFORGE="false"
6296 for ac_prog in pkg-config
6298 # Extract the first word of "$ac_prog", so it can be a program name with args.
6299 set dummy $ac_prog; ac_word=$2
6300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6302 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6304 else
6305 if test -n "$PKG_CONFIG"; then
6306 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6307 else
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6309 for as_dir in $PATH
6311 IFS=$as_save_IFS
6312 test -z "$as_dir" && as_dir=.
6313 for ac_exec_ext in '' $ac_executable_extensions; do
6314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315 ac_cv_prog_PKG_CONFIG="$ac_prog"
6316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6317 break 2
6319 done
6320 done
6321 IFS=$as_save_IFS
6325 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6326 if test -n "$PKG_CONFIG"; then
6327 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6328 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6329 else
6330 { echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6; }
6335 test -n "$PKG_CONFIG" && break
6336 done
6337 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6340 case $host_cpu in
6341 *i[3456789]86*)
6342 # Extract the first word of "prelink", so it can be a program name with args.
6343 set dummy prelink; ac_word=$2
6344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6346 if test "${ac_cv_path_PRELINK+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 else
6349 case $PRELINK in
6350 [\\/]* | ?:[\\/]*)
6351 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 for as_dir in /sbin /usr/sbin $PATH
6357 IFS=$as_save_IFS
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6361 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6363 break 2
6365 done
6366 done
6367 IFS=$as_save_IFS
6369 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6371 esac
6373 PRELINK=$ac_cv_path_PRELINK
6374 if test -n "$PRELINK"; then
6375 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6376 echo "${ECHO_T}$PRELINK" >&6; }
6377 else
6378 { echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6; }
6384 esac
6388 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6389 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6390 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6392 else
6393 ac_check_lib_save_LIBS=$LIBS
6394 LIBS="-li386 $LIBS"
6395 cat >conftest.$ac_ext <<_ACEOF
6396 /* confdefs.h. */
6397 _ACEOF
6398 cat confdefs.h >>conftest.$ac_ext
6399 cat >>conftest.$ac_ext <<_ACEOF
6400 /* end confdefs.h. */
6402 /* Override any GCC internal prototype to avoid an error.
6403 Use char because int might match the return type of a GCC
6404 builtin and then its argument prototype would still apply. */
6405 #ifdef __cplusplus
6406 extern "C"
6407 #endif
6408 char i386_set_ldt ();
6410 main ()
6412 return i386_set_ldt ();
6414 return 0;
6416 _ACEOF
6417 rm -f conftest.$ac_objext conftest$ac_exeext
6418 if { (ac_try="$ac_link"
6419 case "(($ac_try" in
6420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6421 *) ac_try_echo=$ac_try;;
6422 esac
6423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6424 (eval "$ac_link") 2>conftest.er1
6425 ac_status=$?
6426 grep -v '^ *+' conftest.er1 >conftest.err
6427 rm -f conftest.er1
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } && {
6431 test -z "$ac_c_werror_flag" ||
6432 test ! -s conftest.err
6433 } && test -s conftest$ac_exeext &&
6434 $as_test_x conftest$ac_exeext; then
6435 ac_cv_lib_i386_i386_set_ldt=yes
6436 else
6437 echo "$as_me: failed program was:" >&5
6438 sed 's/^/| /' conftest.$ac_ext >&5
6440 ac_cv_lib_i386_i386_set_ldt=no
6443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6444 conftest$ac_exeext conftest.$ac_ext
6445 LIBS=$ac_check_lib_save_LIBS
6447 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6448 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6449 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6450 cat >>confdefs.h <<_ACEOF
6451 #define HAVE_LIBI386 1
6452 _ACEOF
6454 LIBS="-li386 $LIBS"
6459 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6460 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6461 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 else
6464 ac_check_lib_save_LIBS=$LIBS
6465 LIBS="-lossaudio $LIBS"
6466 cat >conftest.$ac_ext <<_ACEOF
6467 /* confdefs.h. */
6468 _ACEOF
6469 cat confdefs.h >>conftest.$ac_ext
6470 cat >>conftest.$ac_ext <<_ACEOF
6471 /* end confdefs.h. */
6473 /* Override any GCC internal prototype to avoid an error.
6474 Use char because int might match the return type of a GCC
6475 builtin and then its argument prototype would still apply. */
6476 #ifdef __cplusplus
6477 extern "C"
6478 #endif
6479 char _oss_ioctl ();
6481 main ()
6483 return _oss_ioctl ();
6485 return 0;
6487 _ACEOF
6488 rm -f conftest.$ac_objext conftest$ac_exeext
6489 if { (ac_try="$ac_link"
6490 case "(($ac_try" in
6491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6492 *) ac_try_echo=$ac_try;;
6493 esac
6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6495 (eval "$ac_link") 2>conftest.er1
6496 ac_status=$?
6497 grep -v '^ *+' conftest.er1 >conftest.err
6498 rm -f conftest.er1
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && {
6502 test -z "$ac_c_werror_flag" ||
6503 test ! -s conftest.err
6504 } && test -s conftest$ac_exeext &&
6505 $as_test_x conftest$ac_exeext; then
6506 ac_cv_lib_ossaudio__oss_ioctl=yes
6507 else
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6511 ac_cv_lib_ossaudio__oss_ioctl=no
6514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6515 conftest$ac_exeext conftest.$ac_ext
6516 LIBS=$ac_check_lib_save_LIBS
6518 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6519 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6520 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6521 cat >>confdefs.h <<_ACEOF
6522 #define HAVE_LIBOSSAUDIO 1
6523 _ACEOF
6525 LIBS="-lossaudio $LIBS"
6530 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6531 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6532 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6533 echo $ECHO_N "(cached) $ECHO_C" >&6
6534 else
6535 ac_check_lib_save_LIBS=$LIBS
6536 LIBS="-lxpg4 $LIBS"
6537 cat >conftest.$ac_ext <<_ACEOF
6538 /* confdefs.h. */
6539 _ACEOF
6540 cat confdefs.h >>conftest.$ac_ext
6541 cat >>conftest.$ac_ext <<_ACEOF
6542 /* end confdefs.h. */
6544 /* Override any GCC internal prototype to avoid an error.
6545 Use char because int might match the return type of a GCC
6546 builtin and then its argument prototype would still apply. */
6547 #ifdef __cplusplus
6548 extern "C"
6549 #endif
6550 char _xpg4_setrunelocale ();
6552 main ()
6554 return _xpg4_setrunelocale ();
6556 return 0;
6558 _ACEOF
6559 rm -f conftest.$ac_objext conftest$ac_exeext
6560 if { (ac_try="$ac_link"
6561 case "(($ac_try" in
6562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6563 *) ac_try_echo=$ac_try;;
6564 esac
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_link") 2>conftest.er1
6567 ac_status=$?
6568 grep -v '^ *+' conftest.er1 >conftest.err
6569 rm -f conftest.er1
6570 cat conftest.err >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } && {
6573 test -z "$ac_c_werror_flag" ||
6574 test ! -s conftest.err
6575 } && test -s conftest$ac_exeext &&
6576 $as_test_x conftest$ac_exeext; then
6577 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6578 else
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.$ac_ext >&5
6582 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6586 conftest$ac_exeext conftest.$ac_ext
6587 LIBS=$ac_check_lib_save_LIBS
6589 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6590 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6591 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6592 cat >>confdefs.h <<_ACEOF
6593 #define HAVE_LIBXPG4 1
6594 _ACEOF
6596 LIBS="-lxpg4 $LIBS"
6600 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6601 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6602 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6603 echo $ECHO_N "(cached) $ECHO_C" >&6
6604 else
6605 ac_check_lib_save_LIBS=$LIBS
6606 LIBS="-lpthread $LIBS"
6607 cat >conftest.$ac_ext <<_ACEOF
6608 /* confdefs.h. */
6609 _ACEOF
6610 cat confdefs.h >>conftest.$ac_ext
6611 cat >>conftest.$ac_ext <<_ACEOF
6612 /* end confdefs.h. */
6614 /* Override any GCC internal prototype to avoid an error.
6615 Use char because int might match the return type of a GCC
6616 builtin and then its argument prototype would still apply. */
6617 #ifdef __cplusplus
6618 extern "C"
6619 #endif
6620 char pthread_create ();
6622 main ()
6624 return pthread_create ();
6626 return 0;
6628 _ACEOF
6629 rm -f conftest.$ac_objext conftest$ac_exeext
6630 if { (ac_try="$ac_link"
6631 case "(($ac_try" in
6632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6633 *) ac_try_echo=$ac_try;;
6634 esac
6635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6636 (eval "$ac_link") 2>conftest.er1
6637 ac_status=$?
6638 grep -v '^ *+' conftest.er1 >conftest.err
6639 rm -f conftest.er1
6640 cat conftest.err >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } && {
6643 test -z "$ac_c_werror_flag" ||
6644 test ! -s conftest.err
6645 } && test -s conftest$ac_exeext &&
6646 $as_test_x conftest$ac_exeext; then
6647 ac_cv_lib_pthread_pthread_create=yes
6648 else
6649 echo "$as_me: failed program was:" >&5
6650 sed 's/^/| /' conftest.$ac_ext >&5
6652 ac_cv_lib_pthread_pthread_create=no
6655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6656 conftest$ac_exeext conftest.$ac_ext
6657 LIBS=$ac_check_lib_save_LIBS
6659 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6660 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6661 if test $ac_cv_lib_pthread_pthread_create = yes; then
6662 LIBPTHREAD="-lpthread"
6667 XLIB=""
6669 XFILES=""
6671 OPENGLFILES=""
6673 GLU32FILES=""
6675 OPENGL_LIBS=""
6677 QUARTZFILES=""
6681 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6682 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6683 if test "${ac_cv_header_stdc+set}" = set; then
6684 echo $ECHO_N "(cached) $ECHO_C" >&6
6685 else
6686 cat >conftest.$ac_ext <<_ACEOF
6687 /* confdefs.h. */
6688 _ACEOF
6689 cat confdefs.h >>conftest.$ac_ext
6690 cat >>conftest.$ac_ext <<_ACEOF
6691 /* end confdefs.h. */
6692 #include <stdlib.h>
6693 #include <stdarg.h>
6694 #include <string.h>
6695 #include <float.h>
6698 main ()
6702 return 0;
6704 _ACEOF
6705 rm -f conftest.$ac_objext
6706 if { (ac_try="$ac_compile"
6707 case "(($ac_try" in
6708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6709 *) ac_try_echo=$ac_try;;
6710 esac
6711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6712 (eval "$ac_compile") 2>conftest.er1
6713 ac_status=$?
6714 grep -v '^ *+' conftest.er1 >conftest.err
6715 rm -f conftest.er1
6716 cat conftest.err >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); } && {
6719 test -z "$ac_c_werror_flag" ||
6720 test ! -s conftest.err
6721 } && test -s conftest.$ac_objext; then
6722 ac_cv_header_stdc=yes
6723 else
6724 echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6727 ac_cv_header_stdc=no
6730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6732 if test $ac_cv_header_stdc = yes; then
6733 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6734 cat >conftest.$ac_ext <<_ACEOF
6735 /* confdefs.h. */
6736 _ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6740 #include <string.h>
6742 _ACEOF
6743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6744 $EGREP "memchr" >/dev/null 2>&1; then
6746 else
6747 ac_cv_header_stdc=no
6749 rm -f conftest*
6753 if test $ac_cv_header_stdc = yes; then
6754 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6755 cat >conftest.$ac_ext <<_ACEOF
6756 /* confdefs.h. */
6757 _ACEOF
6758 cat confdefs.h >>conftest.$ac_ext
6759 cat >>conftest.$ac_ext <<_ACEOF
6760 /* end confdefs.h. */
6761 #include <stdlib.h>
6763 _ACEOF
6764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6765 $EGREP "free" >/dev/null 2>&1; then
6767 else
6768 ac_cv_header_stdc=no
6770 rm -f conftest*
6774 if test $ac_cv_header_stdc = yes; then
6775 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6776 if test "$cross_compiling" = yes; then
6778 else
6779 cat >conftest.$ac_ext <<_ACEOF
6780 /* confdefs.h. */
6781 _ACEOF
6782 cat confdefs.h >>conftest.$ac_ext
6783 cat >>conftest.$ac_ext <<_ACEOF
6784 /* end confdefs.h. */
6785 #include <ctype.h>
6786 #include <stdlib.h>
6787 #if ((' ' & 0x0FF) == 0x020)
6788 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6789 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6790 #else
6791 # define ISLOWER(c) \
6792 (('a' <= (c) && (c) <= 'i') \
6793 || ('j' <= (c) && (c) <= 'r') \
6794 || ('s' <= (c) && (c) <= 'z'))
6795 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6796 #endif
6798 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6800 main ()
6802 int i;
6803 for (i = 0; i < 256; i++)
6804 if (XOR (islower (i), ISLOWER (i))
6805 || toupper (i) != TOUPPER (i))
6806 return 2;
6807 return 0;
6809 _ACEOF
6810 rm -f conftest$ac_exeext
6811 if { (ac_try="$ac_link"
6812 case "(($ac_try" in
6813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6814 *) ac_try_echo=$ac_try;;
6815 esac
6816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6817 (eval "$ac_link") 2>&5
6818 ac_status=$?
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6821 { (case "(($ac_try" in
6822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6823 *) ac_try_echo=$ac_try;;
6824 esac
6825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6826 (eval "$ac_try") 2>&5
6827 ac_status=$?
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; }; then
6831 else
6832 echo "$as_me: program exited with status $ac_status" >&5
6833 echo "$as_me: failed program was:" >&5
6834 sed 's/^/| /' conftest.$ac_ext >&5
6836 ( exit $ac_status )
6837 ac_cv_header_stdc=no
6839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6845 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6846 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6847 if test $ac_cv_header_stdc = yes; then
6849 cat >>confdefs.h <<\_ACEOF
6850 #define STDC_HEADERS 1
6851 _ACEOF
6855 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6865 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6866 inttypes.h stdint.h unistd.h
6868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6873 else
6874 cat >conftest.$ac_ext <<_ACEOF
6875 /* confdefs.h. */
6876 _ACEOF
6877 cat confdefs.h >>conftest.$ac_ext
6878 cat >>conftest.$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6880 $ac_includes_default
6882 #include <$ac_header>
6883 _ACEOF
6884 rm -f conftest.$ac_objext
6885 if { (ac_try="$ac_compile"
6886 case "(($ac_try" in
6887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888 *) ac_try_echo=$ac_try;;
6889 esac
6890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891 (eval "$ac_compile") 2>conftest.er1
6892 ac_status=$?
6893 grep -v '^ *+' conftest.er1 >conftest.err
6894 rm -f conftest.er1
6895 cat conftest.err >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } && {
6898 test -z "$ac_c_werror_flag" ||
6899 test ! -s conftest.err
6900 } && test -s conftest.$ac_objext; then
6901 eval "$as_ac_Header=yes"
6902 else
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.$ac_ext >&5
6906 eval "$as_ac_Header=no"
6909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 ac_res=`eval echo '${'$as_ac_Header'}'`
6912 { echo "$as_me:$LINENO: result: $ac_res" >&5
6913 echo "${ECHO_T}$ac_res" >&6; }
6914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6915 cat >>confdefs.h <<_ACEOF
6916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6917 _ACEOF
6921 done
7033 for ac_header in \
7034 AudioUnit/AudioUnit.h \
7035 Carbon/Carbon.h \
7036 CoreAudio/CoreAudio.h \
7037 DiskArbitration/DiskArbitration.h \
7038 IOKit/IOKitLib.h \
7039 alsa/asoundlib.h \
7040 arpa/inet.h \
7041 arpa/nameser.h \
7042 asm/types.h \
7043 capi20.h \
7044 cups/cups.h \
7045 curses.h \
7046 direct.h \
7047 dlfcn.h \
7048 elf.h \
7049 float.h \
7050 fontconfig/fontconfig.h \
7051 getopt.h \
7052 ieeefp.h \
7053 io.h \
7054 jack/jack.h \
7055 jpeglib.h \
7056 lber.h \
7057 lcms.h \
7058 lcms/lcms.h \
7059 ldap.h \
7060 libaudioio.h \
7061 link.h \
7062 linux/cdrom.h \
7063 linux/compiler.h \
7064 linux/hdreg.h \
7065 linux/input.h \
7066 linux/ioctl.h \
7067 linux/joystick.h \
7068 linux/major.h \
7069 linux/param.h \
7070 linux/serial.h \
7071 linux/ucdrom.h \
7072 mach/mach.h \
7073 mach/machine.h \
7074 machine/cpu.h \
7075 machine/limits.h \
7076 machine/soundcard.h \
7077 mntent.h \
7078 ncurses.h \
7079 netdb.h \
7080 netinet/in.h \
7081 netinet/in_systm.h \
7082 netinet/tcp.h \
7083 netinet/tcp_fsm.h \
7084 openssl/err.h \
7085 openssl/ssl.h \
7086 poll.h \
7087 process.h \
7088 pthread.h \
7089 pwd.h \
7090 regex.h \
7091 sched.h \
7092 scsi/scsi.h \
7093 scsi/scsi_ioctl.h \
7094 scsi/sg.h \
7095 soundcard.h \
7096 stdint.h \
7097 strings.h \
7098 sys/asoundlib.h \
7099 sys/cdio.h \
7100 sys/elf32.h \
7101 sys/epoll.h \
7102 sys/errno.h \
7103 sys/event.h \
7104 sys/exec_elf.h \
7105 sys/filio.h \
7106 sys/ioctl.h \
7107 sys/ipc.h \
7108 sys/limits.h \
7109 sys/link.h \
7110 sys/lwp.h \
7111 sys/mman.h \
7112 sys/modem.h \
7113 sys/msg.h \
7114 sys/mtio.h \
7115 sys/param.h \
7116 sys/poll.h \
7117 sys/prctl.h \
7118 sys/ptrace.h \
7119 sys/reg.h \
7120 sys/resource.h \
7121 sys/scsiio.h \
7122 sys/shm.h \
7123 sys/signal.h \
7124 sys/socket.h \
7125 sys/sockio.h \
7126 sys/soundcard.h \
7127 sys/statvfs.h \
7128 sys/strtio.h \
7129 sys/syscall.h \
7130 sys/sysctl.h \
7131 sys/time.h \
7132 sys/times.h \
7133 sys/uio.h \
7134 sys/un.h \
7135 sys/vm86.h \
7136 sys/wait.h \
7137 syscall.h \
7138 termios.h \
7139 unicode/ubidi.h \
7140 unistd.h \
7141 utime.h \
7142 valgrind/memcheck.h
7145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7147 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 ac_res=`eval echo '${'$as_ac_Header'}'`
7153 { echo "$as_me:$LINENO: result: $ac_res" >&5
7154 echo "${ECHO_T}$ac_res" >&6; }
7155 else
7156 # Is the header compilable?
7157 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7159 cat >conftest.$ac_ext <<_ACEOF
7160 /* confdefs.h. */
7161 _ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 $ac_includes_default
7166 #include <$ac_header>
7167 _ACEOF
7168 rm -f conftest.$ac_objext
7169 if { (ac_try="$ac_compile"
7170 case "(($ac_try" in
7171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7172 *) ac_try_echo=$ac_try;;
7173 esac
7174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7175 (eval "$ac_compile") 2>conftest.er1
7176 ac_status=$?
7177 grep -v '^ *+' conftest.er1 >conftest.err
7178 rm -f conftest.er1
7179 cat conftest.err >&5
7180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 (exit $ac_status); } && {
7182 test -z "$ac_c_werror_flag" ||
7183 test ! -s conftest.err
7184 } && test -s conftest.$ac_objext; then
7185 ac_header_compiler=yes
7186 else
7187 echo "$as_me: failed program was:" >&5
7188 sed 's/^/| /' conftest.$ac_ext >&5
7190 ac_header_compiler=no
7193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7194 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7195 echo "${ECHO_T}$ac_header_compiler" >&6; }
7197 # Is the header present?
7198 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7200 cat >conftest.$ac_ext <<_ACEOF
7201 /* confdefs.h. */
7202 _ACEOF
7203 cat confdefs.h >>conftest.$ac_ext
7204 cat >>conftest.$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 #include <$ac_header>
7207 _ACEOF
7208 if { (ac_try="$ac_cpp conftest.$ac_ext"
7209 case "(($ac_try" in
7210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7211 *) ac_try_echo=$ac_try;;
7212 esac
7213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7214 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7215 ac_status=$?
7216 grep -v '^ *+' conftest.er1 >conftest.err
7217 rm -f conftest.er1
7218 cat conftest.err >&5
7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); } >/dev/null && {
7221 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7222 test ! -s conftest.err
7223 }; then
7224 ac_header_preproc=yes
7225 else
7226 echo "$as_me: failed program was:" >&5
7227 sed 's/^/| /' conftest.$ac_ext >&5
7229 ac_header_preproc=no
7232 rm -f conftest.err conftest.$ac_ext
7233 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7234 echo "${ECHO_T}$ac_header_preproc" >&6; }
7236 # So? What about this header?
7237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7238 yes:no: )
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7243 ac_header_preproc=yes
7245 no:yes:* )
7246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7258 ( cat <<\_ASBOX
7259 ## ------------------------------------ ##
7260 ## Report this to wine-devel@winehq.org ##
7261 ## ------------------------------------ ##
7262 _ASBOX
7263 ) | sed "s/^/$as_me: WARNING: /" >&2
7265 esac
7266 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7269 echo $ECHO_N "(cached) $ECHO_C" >&6
7270 else
7271 eval "$as_ac_Header=\$ac_header_preproc"
7273 ac_res=`eval echo '${'$as_ac_Header'}'`
7274 { echo "$as_me:$LINENO: result: $ac_res" >&5
7275 echo "${ECHO_T}$ac_res" >&6; }
7278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7279 cat >>confdefs.h <<_ACEOF
7280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7281 _ACEOF
7285 done
7287 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7288 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7289 if test "${ac_cv_header_stat_broken+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7291 else
7292 cat >conftest.$ac_ext <<_ACEOF
7293 /* confdefs.h. */
7294 _ACEOF
7295 cat confdefs.h >>conftest.$ac_ext
7296 cat >>conftest.$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 #include <sys/types.h>
7299 #include <sys/stat.h>
7301 #if defined S_ISBLK && defined S_IFDIR
7302 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7303 #endif
7305 #if defined S_ISBLK && defined S_IFCHR
7306 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7307 #endif
7309 #if defined S_ISLNK && defined S_IFREG
7310 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7311 #endif
7313 #if defined S_ISSOCK && defined S_IFREG
7314 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7315 #endif
7317 _ACEOF
7318 rm -f conftest.$ac_objext
7319 if { (ac_try="$ac_compile"
7320 case "(($ac_try" in
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7323 esac
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7326 ac_status=$?
7327 grep -v '^ *+' conftest.er1 >conftest.err
7328 rm -f conftest.er1
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && {
7332 test -z "$ac_c_werror_flag" ||
7333 test ! -s conftest.err
7334 } && test -s conftest.$ac_objext; then
7335 ac_cv_header_stat_broken=no
7336 else
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 ac_cv_header_stat_broken=yes
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7346 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7347 if test $ac_cv_header_stat_broken = yes; then
7349 cat >>confdefs.h <<\_ACEOF
7350 #define STAT_MACROS_BROKEN 1
7351 _ACEOF
7361 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7368 else
7369 cat >conftest.$ac_ext <<_ACEOF
7370 /* confdefs.h. */
7371 _ACEOF
7372 cat confdefs.h >>conftest.$ac_ext
7373 cat >>conftest.$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7375 #include <sys/types.h>
7376 #if HAVE_SYS_PARAM_H
7377 # include <sys/param.h>
7378 #endif
7380 #include <$ac_header>
7381 _ACEOF
7382 rm -f conftest.$ac_objext
7383 if { (ac_try="$ac_compile"
7384 case "(($ac_try" in
7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7386 *) ac_try_echo=$ac_try;;
7387 esac
7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7389 (eval "$ac_compile") 2>conftest.er1
7390 ac_status=$?
7391 grep -v '^ *+' conftest.er1 >conftest.err
7392 rm -f conftest.er1
7393 cat conftest.err >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } && {
7396 test -z "$ac_c_werror_flag" ||
7397 test ! -s conftest.err
7398 } && test -s conftest.$ac_objext; then
7399 eval "$as_ac_Header=yes"
7400 else
7401 echo "$as_me: failed program was:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 eval "$as_ac_Header=no"
7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7409 ac_res=`eval echo '${'$as_ac_Header'}'`
7410 { echo "$as_me:$LINENO: result: $ac_res" >&5
7411 echo "${ECHO_T}$ac_res" >&6; }
7412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7413 cat >>confdefs.h <<_ACEOF
7414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7415 _ACEOF
7419 done
7428 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
7430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7435 else
7436 cat >conftest.$ac_ext <<_ACEOF
7437 /* confdefs.h. */
7438 _ACEOF
7439 cat confdefs.h >>conftest.$ac_ext
7440 cat >>conftest.$ac_ext <<_ACEOF
7441 /* end confdefs.h. */
7442 #include <sys/types.h>
7443 #if HAVE_SYS_SOCKET_H
7444 # include <sys/socket.h>
7445 #endif
7447 #include <$ac_header>
7448 _ACEOF
7449 rm -f conftest.$ac_objext
7450 if { (ac_try="$ac_compile"
7451 case "(($ac_try" in
7452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7453 *) ac_try_echo=$ac_try;;
7454 esac
7455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7456 (eval "$ac_compile") 2>conftest.er1
7457 ac_status=$?
7458 grep -v '^ *+' conftest.er1 >conftest.err
7459 rm -f conftest.er1
7460 cat conftest.err >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } && {
7463 test -z "$ac_c_werror_flag" ||
7464 test ! -s conftest.err
7465 } && test -s conftest.$ac_objext; then
7466 eval "$as_ac_Header=yes"
7467 else
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7471 eval "$as_ac_Header=no"
7474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7476 ac_res=`eval echo '${'$as_ac_Header'}'`
7477 { echo "$as_me:$LINENO: result: $ac_res" >&5
7478 echo "${ECHO_T}$ac_res" >&6; }
7479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7480 cat >>confdefs.h <<_ACEOF
7481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7482 _ACEOF
7486 done
7490 for ac_header in linux/ipx.h
7492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7496 echo $ECHO_N "(cached) $ECHO_C" >&6
7497 else
7498 cat >conftest.$ac_ext <<_ACEOF
7499 /* confdefs.h. */
7500 _ACEOF
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7504 #include <sys/types.h>
7505 #ifdef HAVE_ASM_TYPES_H
7506 # include <asm/types.h>
7507 #endif
7508 #if HAVE_SYS_SOCKET_H
7509 # include <sys/socket.h>
7510 #endif
7512 #include <$ac_header>
7513 _ACEOF
7514 rm -f conftest.$ac_objext
7515 if { (ac_try="$ac_compile"
7516 case "(($ac_try" in
7517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7518 *) ac_try_echo=$ac_try;;
7519 esac
7520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7521 (eval "$ac_compile") 2>conftest.er1
7522 ac_status=$?
7523 grep -v '^ *+' conftest.er1 >conftest.err
7524 rm -f conftest.er1
7525 cat conftest.err >&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); } && {
7528 test -z "$ac_c_werror_flag" ||
7529 test ! -s conftest.err
7530 } && test -s conftest.$ac_objext; then
7531 eval "$as_ac_Header=yes"
7532 else
7533 echo "$as_me: failed program was:" >&5
7534 sed 's/^/| /' conftest.$ac_ext >&5
7536 eval "$as_ac_Header=no"
7539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7541 ac_res=`eval echo '${'$as_ac_Header'}'`
7542 { echo "$as_me:$LINENO: result: $ac_res" >&5
7543 echo "${ECHO_T}$ac_res" >&6; }
7544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7545 cat >>confdefs.h <<_ACEOF
7546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7547 _ACEOF
7551 done
7555 for ac_header in resolv.h
7557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7558 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 else
7563 cat >conftest.$ac_ext <<_ACEOF
7564 /* confdefs.h. */
7565 _ACEOF
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h. */
7569 #include <sys/types.h>
7570 #if HAVE_SYS_SOCKET_H
7571 # include <sys/socket.h>
7572 #endif
7573 #if HAVE_NETINET_IN_H
7574 # include <netinet/in.h>
7575 #endif
7576 #if HAVE_ARPA_NAMESER_H
7577 # include <arpa/nameser.h>
7578 #endif
7580 #include <$ac_header>
7581 _ACEOF
7582 rm -f conftest.$ac_objext
7583 if { (ac_try="$ac_compile"
7584 case "(($ac_try" in
7585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7586 *) ac_try_echo=$ac_try;;
7587 esac
7588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7589 (eval "$ac_compile") 2>conftest.er1
7590 ac_status=$?
7591 grep -v '^ *+' conftest.er1 >conftest.err
7592 rm -f conftest.er1
7593 cat conftest.err >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } && {
7596 test -z "$ac_c_werror_flag" ||
7597 test ! -s conftest.err
7598 } && test -s conftest.$ac_objext; then
7599 eval "$as_ac_Header=yes"
7600 else
7601 echo "$as_me: failed program was:" >&5
7602 sed 's/^/| /' conftest.$ac_ext >&5
7604 eval "$as_ac_Header=no"
7607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7609 ac_res=`eval echo '${'$as_ac_Header'}'`
7610 { echo "$as_me:$LINENO: result: $ac_res" >&5
7611 echo "${ECHO_T}$ac_res" >&6; }
7612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7613 cat >>confdefs.h <<_ACEOF
7614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7615 _ACEOF
7619 done
7623 for ac_header in ucontext.h
7625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7630 else
7631 cat >conftest.$ac_ext <<_ACEOF
7632 /* confdefs.h. */
7633 _ACEOF
7634 cat confdefs.h >>conftest.$ac_ext
7635 cat >>conftest.$ac_ext <<_ACEOF
7636 /* end confdefs.h. */
7637 #include <signal.h>
7639 #include <$ac_header>
7640 _ACEOF
7641 rm -f conftest.$ac_objext
7642 if { (ac_try="$ac_compile"
7643 case "(($ac_try" in
7644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7645 *) ac_try_echo=$ac_try;;
7646 esac
7647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7648 (eval "$ac_compile") 2>conftest.er1
7649 ac_status=$?
7650 grep -v '^ *+' conftest.er1 >conftest.err
7651 rm -f conftest.er1
7652 cat conftest.err >&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); } && {
7655 test -z "$ac_c_werror_flag" ||
7656 test ! -s conftest.err
7657 } && test -s conftest.$ac_objext; then
7658 eval "$as_ac_Header=yes"
7659 else
7660 echo "$as_me: failed program was:" >&5
7661 sed 's/^/| /' conftest.$ac_ext >&5
7663 eval "$as_ac_Header=no"
7666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7668 ac_res=`eval echo '${'$as_ac_Header'}'`
7669 { echo "$as_me:$LINENO: result: $ac_res" >&5
7670 echo "${ECHO_T}$ac_res" >&6; }
7671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7672 cat >>confdefs.h <<_ACEOF
7673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7674 _ACEOF
7678 done
7682 for ac_header in pthread_np.h
7684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7688 echo $ECHO_N "(cached) $ECHO_C" >&6
7689 else
7690 cat >conftest.$ac_ext <<_ACEOF
7691 /* confdefs.h. */
7692 _ACEOF
7693 cat confdefs.h >>conftest.$ac_ext
7694 cat >>conftest.$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7696 #ifdef HAVE_PTHREAD_H
7697 #include <pthread.h>
7698 #endif
7700 #include <$ac_header>
7701 _ACEOF
7702 rm -f conftest.$ac_objext
7703 if { (ac_try="$ac_compile"
7704 case "(($ac_try" in
7705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7706 *) ac_try_echo=$ac_try;;
7707 esac
7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7709 (eval "$ac_compile") 2>conftest.er1
7710 ac_status=$?
7711 grep -v '^ *+' conftest.er1 >conftest.err
7712 rm -f conftest.er1
7713 cat conftest.err >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } && {
7716 test -z "$ac_c_werror_flag" ||
7717 test ! -s conftest.err
7718 } && test -s conftest.$ac_objext; then
7719 eval "$as_ac_Header=yes"
7720 else
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.$ac_ext >&5
7724 eval "$as_ac_Header=no"
7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7729 ac_res=`eval echo '${'$as_ac_Header'}'`
7730 { echo "$as_me:$LINENO: result: $ac_res" >&5
7731 echo "${ECHO_T}$ac_res" >&6; }
7732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7733 cat >>confdefs.h <<_ACEOF
7734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7735 _ACEOF
7739 done
7743 for ac_header in linux/videodev.h
7745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7749 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 else
7751 cat >conftest.$ac_ext <<_ACEOF
7752 /* confdefs.h. */
7753 _ACEOF
7754 cat confdefs.h >>conftest.$ac_ext
7755 cat >>conftest.$ac_ext <<_ACEOF
7756 /* end confdefs.h. */
7757 #ifdef HAVE_SYS_TIME_H
7758 #include <sys/time.h>
7759 #endif
7760 #include <sys/types.h>
7761 #ifdef HAVE_ASM_TYPES_H
7762 #include <asm/types.h>
7763 #endif
7765 #include <$ac_header>
7766 _ACEOF
7767 rm -f conftest.$ac_objext
7768 if { (ac_try="$ac_compile"
7769 case "(($ac_try" in
7770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7771 *) ac_try_echo=$ac_try;;
7772 esac
7773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7774 (eval "$ac_compile") 2>conftest.er1
7775 ac_status=$?
7776 grep -v '^ *+' conftest.er1 >conftest.err
7777 rm -f conftest.er1
7778 cat conftest.err >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } && {
7781 test -z "$ac_c_werror_flag" ||
7782 test ! -s conftest.err
7783 } && test -s conftest.$ac_objext; then
7784 eval "$as_ac_Header=yes"
7785 else
7786 echo "$as_me: failed program was:" >&5
7787 sed 's/^/| /' conftest.$ac_ext >&5
7789 eval "$as_ac_Header=no"
7792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7794 ac_res=`eval echo '${'$as_ac_Header'}'`
7795 { echo "$as_me:$LINENO: result: $ac_res" >&5
7796 echo "${ECHO_T}$ac_res" >&6; }
7797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7798 cat >>confdefs.h <<_ACEOF
7799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7800 _ACEOF
7804 done
7808 for ac_header in linux/capi.h
7810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7814 echo $ECHO_N "(cached) $ECHO_C" >&6
7815 else
7816 cat >conftest.$ac_ext <<_ACEOF
7817 /* confdefs.h. */
7818 _ACEOF
7819 cat confdefs.h >>conftest.$ac_ext
7820 cat >>conftest.$ac_ext <<_ACEOF
7821 /* end confdefs.h. */
7822 #define __user
7824 #include <$ac_header>
7825 _ACEOF
7826 rm -f conftest.$ac_objext
7827 if { (ac_try="$ac_compile"
7828 case "(($ac_try" in
7829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7830 *) ac_try_echo=$ac_try;;
7831 esac
7832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7833 (eval "$ac_compile") 2>conftest.er1
7834 ac_status=$?
7835 grep -v '^ *+' conftest.er1 >conftest.err
7836 rm -f conftest.er1
7837 cat conftest.err >&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } && {
7840 test -z "$ac_c_werror_flag" ||
7841 test ! -s conftest.err
7842 } && test -s conftest.$ac_objext; then
7843 eval "$as_ac_Header=yes"
7844 else
7845 echo "$as_me: failed program was:" >&5
7846 sed 's/^/| /' conftest.$ac_ext >&5
7848 eval "$as_ac_Header=no"
7851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7853 ac_res=`eval echo '${'$as_ac_Header'}'`
7854 { echo "$as_me:$LINENO: result: $ac_res" >&5
7855 echo "${ECHO_T}$ac_res" >&6; }
7856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7857 cat >>confdefs.h <<_ACEOF
7858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7859 _ACEOF
7863 done
7867 if test "$have_x" = "yes"
7868 then
7869 XLIB="-lXext -lX11"
7870 ac_save_CPPFLAGS="$CPPFLAGS"
7871 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7883 for ac_header in X11/Xlib.h \
7884 X11/XKBlib.h \
7885 X11/Xutil.h \
7886 X11/extensions/shape.h \
7887 X11/extensions/XInput.h \
7888 X11/extensions/XShm.h \
7889 X11/extensions/Xinerama.h \
7890 X11/extensions/Xrandr.h \
7891 X11/extensions/Xrender.h \
7892 X11/extensions/xf86vmode.h
7894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 else
7900 cat >conftest.$ac_ext <<_ACEOF
7901 /* confdefs.h. */
7902 _ACEOF
7903 cat confdefs.h >>conftest.$ac_ext
7904 cat >>conftest.$ac_ext <<_ACEOF
7905 /* end confdefs.h. */
7906 #ifdef HAVE_X11_XLIB_H
7907 # include <X11/Xlib.h>
7908 #endif
7909 #ifdef HAVE_X11_XUTIL_H
7910 # include <X11/Xutil.h>
7911 #endif
7913 #include <$ac_header>
7914 _ACEOF
7915 rm -f conftest.$ac_objext
7916 if { (ac_try="$ac_compile"
7917 case "(($ac_try" in
7918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7919 *) ac_try_echo=$ac_try;;
7920 esac
7921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7922 (eval "$ac_compile") 2>conftest.er1
7923 ac_status=$?
7924 grep -v '^ *+' conftest.er1 >conftest.err
7925 rm -f conftest.er1
7926 cat conftest.err >&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } && {
7929 test -z "$ac_c_werror_flag" ||
7930 test ! -s conftest.err
7931 } && test -s conftest.$ac_objext; then
7932 eval "$as_ac_Header=yes"
7933 else
7934 echo "$as_me: failed program was:" >&5
7935 sed 's/^/| /' conftest.$ac_ext >&5
7937 eval "$as_ac_Header=no"
7940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7942 ac_res=`eval echo '${'$as_ac_Header'}'`
7943 { echo "$as_me:$LINENO: result: $ac_res" >&5
7944 echo "${ECHO_T}$ac_res" >&6; }
7945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7946 cat >>confdefs.h <<_ACEOF
7947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7948 _ACEOF
7952 done
7955 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7956 then
7957 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7958 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7959 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7961 else
7962 ac_check_lib_save_LIBS=$LIBS
7963 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7964 cat >conftest.$ac_ext <<_ACEOF
7965 /* confdefs.h. */
7966 _ACEOF
7967 cat confdefs.h >>conftest.$ac_ext
7968 cat >>conftest.$ac_ext <<_ACEOF
7969 /* end confdefs.h. */
7971 /* Override any GCC internal prototype to avoid an error.
7972 Use char because int might match the return type of a GCC
7973 builtin and then its argument prototype would still apply. */
7974 #ifdef __cplusplus
7975 extern "C"
7976 #endif
7977 char XkbQueryExtension ();
7979 main ()
7981 return XkbQueryExtension ();
7983 return 0;
7985 _ACEOF
7986 rm -f conftest.$ac_objext conftest$ac_exeext
7987 if { (ac_try="$ac_link"
7988 case "(($ac_try" in
7989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7990 *) ac_try_echo=$ac_try;;
7991 esac
7992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7993 (eval "$ac_link") 2>conftest.er1
7994 ac_status=$?
7995 grep -v '^ *+' conftest.er1 >conftest.err
7996 rm -f conftest.er1
7997 cat conftest.err >&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); } && {
8000 test -z "$ac_c_werror_flag" ||
8001 test ! -s conftest.err
8002 } && test -s conftest$ac_exeext &&
8003 $as_test_x conftest$ac_exeext; then
8004 ac_cv_lib_X11_XkbQueryExtension=yes
8005 else
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.$ac_ext >&5
8009 ac_cv_lib_X11_XkbQueryExtension=no
8012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8013 conftest$ac_exeext conftest.$ac_ext
8014 LIBS=$ac_check_lib_save_LIBS
8016 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8017 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8018 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8020 cat >>confdefs.h <<\_ACEOF
8021 #define HAVE_XKB 1
8022 _ACEOF
8028 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8029 then
8030 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8031 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8032 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8033 echo $ECHO_N "(cached) $ECHO_C" >&6
8034 else
8035 ac_check_lib_save_LIBS=$LIBS
8036 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8037 cat >conftest.$ac_ext <<_ACEOF
8038 /* confdefs.h. */
8039 _ACEOF
8040 cat confdefs.h >>conftest.$ac_ext
8041 cat >>conftest.$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8044 /* Override any GCC internal prototype to avoid an error.
8045 Use char because int might match the return type of a GCC
8046 builtin and then its argument prototype would still apply. */
8047 #ifdef __cplusplus
8048 extern "C"
8049 #endif
8050 char XShmQueryExtension ();
8052 main ()
8054 return XShmQueryExtension ();
8056 return 0;
8058 _ACEOF
8059 rm -f conftest.$ac_objext conftest$ac_exeext
8060 if { (ac_try="$ac_link"
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_link") 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_exeext &&
8076 $as_test_x conftest$ac_exeext; then
8077 ac_cv_lib_Xext_XShmQueryExtension=yes
8078 else
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.$ac_ext >&5
8082 ac_cv_lib_Xext_XShmQueryExtension=no
8085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8086 conftest$ac_exeext conftest.$ac_ext
8087 LIBS=$ac_check_lib_save_LIBS
8089 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8090 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8091 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8093 cat >>confdefs.h <<\_ACEOF
8094 #define HAVE_LIBXXSHM 1
8095 _ACEOF
8101 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8102 then
8103 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8104 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8105 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 else
8108 ac_check_lib_save_LIBS=$LIBS
8109 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8110 cat >conftest.$ac_ext <<_ACEOF
8111 /* confdefs.h. */
8112 _ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8117 /* Override any GCC internal prototype to avoid an error.
8118 Use char because int might match the return type of a GCC
8119 builtin and then its argument prototype would still apply. */
8120 #ifdef __cplusplus
8121 extern "C"
8122 #endif
8123 char XShapeQueryExtension ();
8125 main ()
8127 return XShapeQueryExtension ();
8129 return 0;
8131 _ACEOF
8132 rm -f conftest.$ac_objext conftest$ac_exeext
8133 if { (ac_try="$ac_link"
8134 case "(($ac_try" in
8135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8136 *) ac_try_echo=$ac_try;;
8137 esac
8138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8139 (eval "$ac_link") 2>conftest.er1
8140 ac_status=$?
8141 grep -v '^ *+' conftest.er1 >conftest.err
8142 rm -f conftest.er1
8143 cat conftest.err >&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } && {
8146 test -z "$ac_c_werror_flag" ||
8147 test ! -s conftest.err
8148 } && test -s conftest$ac_exeext &&
8149 $as_test_x conftest$ac_exeext; then
8150 ac_cv_lib_Xext_XShapeQueryExtension=yes
8151 else
8152 echo "$as_me: failed program was:" >&5
8153 sed 's/^/| /' conftest.$ac_ext >&5
8155 ac_cv_lib_Xext_XShapeQueryExtension=no
8158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8159 conftest$ac_exeext conftest.$ac_ext
8160 LIBS=$ac_check_lib_save_LIBS
8162 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8163 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8164 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8166 cat >>confdefs.h <<\_ACEOF
8167 #define HAVE_LIBXSHAPE 1
8168 _ACEOF
8174 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8175 then
8176 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8177 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8178 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8180 else
8181 ac_check_lib_save_LIBS=$LIBS
8182 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8183 cat >conftest.$ac_ext <<_ACEOF
8184 /* confdefs.h. */
8185 _ACEOF
8186 cat confdefs.h >>conftest.$ac_ext
8187 cat >>conftest.$ac_ext <<_ACEOF
8188 /* end confdefs.h. */
8190 /* Override any GCC internal prototype to avoid an error.
8191 Use char because int might match the return type of a GCC
8192 builtin and then its argument prototype would still apply. */
8193 #ifdef __cplusplus
8194 extern "C"
8195 #endif
8196 char XF86VidModeQueryExtension ();
8198 main ()
8200 return XF86VidModeQueryExtension ();
8202 return 0;
8204 _ACEOF
8205 rm -f conftest.$ac_objext conftest$ac_exeext
8206 if { (ac_try="$ac_link"
8207 case "(($ac_try" in
8208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8209 *) ac_try_echo=$ac_try;;
8210 esac
8211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8212 (eval "$ac_link") 2>conftest.er1
8213 ac_status=$?
8214 grep -v '^ *+' conftest.er1 >conftest.err
8215 rm -f conftest.er1
8216 cat conftest.err >&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); } && {
8219 test -z "$ac_c_werror_flag" ||
8220 test ! -s conftest.err
8221 } && test -s conftest$ac_exeext &&
8222 $as_test_x conftest$ac_exeext; then
8223 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8224 else
8225 echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8228 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8232 conftest$ac_exeext conftest.$ac_ext
8233 LIBS=$ac_check_lib_save_LIBS
8235 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8236 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8237 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8239 cat >>confdefs.h <<\_ACEOF
8240 #define HAVE_LIBXXF86VM 1
8241 _ACEOF
8243 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8249 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8250 then
8251 cat >conftest.$ac_ext <<_ACEOF
8252 /* confdefs.h. */
8253 _ACEOF
8254 cat confdefs.h >>conftest.$ac_ext
8255 cat >>conftest.$ac_ext <<_ACEOF
8256 /* end confdefs.h. */
8257 #include <X11/Xlib.h>
8258 #include <X11/extensions/Xrandr.h>
8260 main ()
8262 static typeof(XRRSetScreenConfigAndRate) * func;
8264 return 0;
8266 _ACEOF
8267 rm -f conftest.$ac_objext
8268 if { (ac_try="$ac_compile"
8269 case "(($ac_try" in
8270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8271 *) ac_try_echo=$ac_try;;
8272 esac
8273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8274 (eval "$ac_compile") 2>conftest.er1
8275 ac_status=$?
8276 grep -v '^ *+' conftest.er1 >conftest.err
8277 rm -f conftest.er1
8278 cat conftest.err >&5
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); } && {
8281 test -z "$ac_c_werror_flag" ||
8282 test ! -s conftest.err
8283 } && test -s conftest.$ac_objext; then
8285 cat >>confdefs.h <<\_ACEOF
8286 #define HAVE_LIBXRANDR 1
8287 _ACEOF
8289 else
8290 echo "$as_me: failed program was:" >&5
8291 sed 's/^/| /' conftest.$ac_ext >&5
8296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8299 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8300 then
8301 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8302 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8303 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8304 echo $ECHO_N "(cached) $ECHO_C" >&6
8305 else
8306 ac_check_lib_save_LIBS=$LIBS
8307 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8308 cat >conftest.$ac_ext <<_ACEOF
8309 /* confdefs.h. */
8310 _ACEOF
8311 cat confdefs.h >>conftest.$ac_ext
8312 cat >>conftest.$ac_ext <<_ACEOF
8313 /* end confdefs.h. */
8315 /* Override any GCC internal prototype to avoid an error.
8316 Use char because int might match the return type of a GCC
8317 builtin and then its argument prototype would still apply. */
8318 #ifdef __cplusplus
8319 extern "C"
8320 #endif
8321 char XRenderSetPictureTransform ();
8323 main ()
8325 return XRenderSetPictureTransform ();
8327 return 0;
8329 _ACEOF
8330 rm -f conftest.$ac_objext conftest$ac_exeext
8331 if { (ac_try="$ac_link"
8332 case "(($ac_try" in
8333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8334 *) ac_try_echo=$ac_try;;
8335 esac
8336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8337 (eval "$ac_link") 2>conftest.er1
8338 ac_status=$?
8339 grep -v '^ *+' conftest.er1 >conftest.err
8340 rm -f conftest.er1
8341 cat conftest.err >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); } && {
8344 test -z "$ac_c_werror_flag" ||
8345 test ! -s conftest.err
8346 } && test -s conftest$ac_exeext &&
8347 $as_test_x conftest$ac_exeext; then
8348 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8349 else
8350 echo "$as_me: failed program was:" >&5
8351 sed 's/^/| /' conftest.$ac_ext >&5
8353 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LIBS=$ac_check_lib_save_LIBS
8360 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8361 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8362 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8364 cat >>confdefs.h <<\_ACEOF
8365 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8366 _ACEOF
8372 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8373 then
8374 cat >conftest.$ac_ext <<_ACEOF
8375 /* confdefs.h. */
8376 _ACEOF
8377 cat confdefs.h >>conftest.$ac_ext
8378 cat >>conftest.$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8380 #include <X11/Xlib.h>
8381 #include <X11/extensions/Xinerama.h>
8383 main ()
8385 static typeof(XineramaQueryScreens) * func;
8387 return 0;
8389 _ACEOF
8390 rm -f conftest.$ac_objext
8391 if { (ac_try="$ac_compile"
8392 case "(($ac_try" in
8393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8394 *) ac_try_echo=$ac_try;;
8395 esac
8396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8397 (eval "$ac_compile") 2>conftest.er1
8398 ac_status=$?
8399 grep -v '^ *+' conftest.er1 >conftest.err
8400 rm -f conftest.er1
8401 cat conftest.err >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); } && {
8404 test -z "$ac_c_werror_flag" ||
8405 test ! -s conftest.err
8406 } && test -s conftest.$ac_objext; then
8408 cat >>confdefs.h <<\_ACEOF
8409 #define HAVE_LIBXINERAMA 1
8410 _ACEOF
8412 else
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8423 if test "x$with_opengl" != "xno"
8424 then
8429 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8432 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8435 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 else
8437 cat >conftest.$ac_ext <<_ACEOF
8438 /* confdefs.h. */
8439 _ACEOF
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8443 #ifdef HAVE_GL_GLX_H
8444 # include <GL/glx.h>
8445 #endif
8447 #include <$ac_header>
8448 _ACEOF
8449 rm -f conftest.$ac_objext
8450 if { (ac_try="$ac_compile"
8451 case "(($ac_try" in
8452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8453 *) ac_try_echo=$ac_try;;
8454 esac
8455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8456 (eval "$ac_compile") 2>conftest.er1
8457 ac_status=$?
8458 grep -v '^ *+' conftest.er1 >conftest.err
8459 rm -f conftest.er1
8460 cat conftest.err >&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); } && {
8463 test -z "$ac_c_werror_flag" ||
8464 test ! -s conftest.err
8465 } && test -s conftest.$ac_objext; then
8466 eval "$as_ac_Header=yes"
8467 else
8468 echo "$as_me: failed program was:" >&5
8469 sed 's/^/| /' conftest.$ac_ext >&5
8471 eval "$as_ac_Header=no"
8474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8476 ac_res=`eval echo '${'$as_ac_Header'}'`
8477 { echo "$as_me:$LINENO: result: $ac_res" >&5
8478 echo "${ECHO_T}$ac_res" >&6; }
8479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8480 cat >>confdefs.h <<_ACEOF
8481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8482 _ACEOF
8486 done
8488 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8489 then
8490 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8491 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8492 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 else
8495 cat >conftest.$ac_ext <<_ACEOF
8496 /* confdefs.h. */
8497 _ACEOF
8498 cat confdefs.h >>conftest.$ac_ext
8499 cat >>conftest.$ac_ext <<_ACEOF
8500 /* end confdefs.h. */
8501 #include <GL/gl.h>
8503 main ()
8505 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8507 return 0;
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 wine_cv_opengl_header_version_OK="yes"
8528 else
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.$ac_ext >&5
8532 wine_cv_opengl_header_version_OK="no"
8536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8539 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8540 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8542 if test "$wine_cv_opengl_header_version_OK" = "yes"
8543 then
8544 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8545 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8546 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8547 echo $ECHO_N "(cached) $ECHO_C" >&6
8548 else
8549 ac_check_lib_save_LIBS=$LIBS
8550 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8551 cat >conftest.$ac_ext <<_ACEOF
8552 /* confdefs.h. */
8553 _ACEOF
8554 cat confdefs.h >>conftest.$ac_ext
8555 cat >>conftest.$ac_ext <<_ACEOF
8556 /* end confdefs.h. */
8558 /* Override any GCC internal prototype to avoid an error.
8559 Use char because int might match the return type of a GCC
8560 builtin and then its argument prototype would still apply. */
8561 #ifdef __cplusplus
8562 extern "C"
8563 #endif
8564 char glXCreateContext ();
8566 main ()
8568 return glXCreateContext ();
8570 return 0;
8572 _ACEOF
8573 rm -f conftest.$ac_objext conftest$ac_exeext
8574 if { (ac_try="$ac_link"
8575 case "(($ac_try" in
8576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8577 *) ac_try_echo=$ac_try;;
8578 esac
8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8580 (eval "$ac_link") 2>conftest.er1
8581 ac_status=$?
8582 grep -v '^ *+' conftest.er1 >conftest.err
8583 rm -f conftest.er1
8584 cat conftest.err >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } && {
8587 test -z "$ac_c_werror_flag" ||
8588 test ! -s conftest.err
8589 } && test -s conftest$ac_exeext &&
8590 $as_test_x conftest$ac_exeext; then
8591 ac_cv_lib_GL_glXCreateContext=yes
8592 else
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.$ac_ext >&5
8596 ac_cv_lib_GL_glXCreateContext=no
8599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8600 conftest$ac_exeext conftest.$ac_ext
8601 LIBS=$ac_check_lib_save_LIBS
8603 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8604 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8605 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8606 OPENGL_LIBS="-lGL"
8607 OPENGLFILES='$(OPENGLFILES)'
8609 cat >>confdefs.h <<\_ACEOF
8610 #define HAVE_OPENGL 1
8611 _ACEOF
8617 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8618 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8619 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8620 echo $ECHO_N "(cached) $ECHO_C" >&6
8621 else
8622 ac_check_lib_save_LIBS=$LIBS
8623 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8624 $LIBS"
8625 cat >conftest.$ac_ext <<_ACEOF
8626 /* confdefs.h. */
8627 _ACEOF
8628 cat confdefs.h >>conftest.$ac_ext
8629 cat >>conftest.$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8632 /* Override any GCC internal prototype to avoid an error.
8633 Use char because int might match the return type of a GCC
8634 builtin and then its argument prototype would still apply. */
8635 #ifdef __cplusplus
8636 extern "C"
8637 #endif
8638 char gluLookAt ();
8640 main ()
8642 return gluLookAt ();
8644 return 0;
8646 _ACEOF
8647 rm -f conftest.$ac_objext conftest$ac_exeext
8648 if { (ac_try="$ac_link"
8649 case "(($ac_try" in
8650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8651 *) ac_try_echo=$ac_try;;
8652 esac
8653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8654 (eval "$ac_link") 2>conftest.er1
8655 ac_status=$?
8656 grep -v '^ *+' conftest.er1 >conftest.err
8657 rm -f conftest.er1
8658 cat conftest.err >&5
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); } && {
8661 test -z "$ac_c_werror_flag" ||
8662 test ! -s conftest.err
8663 } && test -s conftest$ac_exeext &&
8664 $as_test_x conftest$ac_exeext; then
8665 ac_cv_lib_GLU_gluLookAt=yes
8666 else
8667 echo "$as_me: failed program was:" >&5
8668 sed 's/^/| /' conftest.$ac_ext >&5
8670 ac_cv_lib_GLU_gluLookAt=no
8673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8674 conftest$ac_exeext conftest.$ac_ext
8675 LIBS=$ac_check_lib_save_LIBS
8677 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8678 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8679 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8680 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8681 GLU32FILES='$(GLU32FILES)'
8686 else
8687 wine_cv_opengl_headers_found="no"
8690 NASLIBS=""
8693 for ac_header in audio/audiolib.h
8695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 ac_res=`eval echo '${'$as_ac_Header'}'`
8703 { echo "$as_me:$LINENO: result: $ac_res" >&5
8704 echo "${ECHO_T}$ac_res" >&6; }
8705 else
8706 # Is the header compilable?
8707 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8709 cat >conftest.$ac_ext <<_ACEOF
8710 /* confdefs.h. */
8711 _ACEOF
8712 cat confdefs.h >>conftest.$ac_ext
8713 cat >>conftest.$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8715 $ac_includes_default
8716 #include <$ac_header>
8717 _ACEOF
8718 rm -f conftest.$ac_objext
8719 if { (ac_try="$ac_compile"
8720 case "(($ac_try" in
8721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8722 *) ac_try_echo=$ac_try;;
8723 esac
8724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8725 (eval "$ac_compile") 2>conftest.er1
8726 ac_status=$?
8727 grep -v '^ *+' conftest.er1 >conftest.err
8728 rm -f conftest.er1
8729 cat conftest.err >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); } && {
8732 test -z "$ac_c_werror_flag" ||
8733 test ! -s conftest.err
8734 } && test -s conftest.$ac_objext; then
8735 ac_header_compiler=yes
8736 else
8737 echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.$ac_ext >&5
8740 ac_header_compiler=no
8743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8744 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8745 echo "${ECHO_T}$ac_header_compiler" >&6; }
8747 # Is the header present?
8748 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8750 cat >conftest.$ac_ext <<_ACEOF
8751 /* confdefs.h. */
8752 _ACEOF
8753 cat confdefs.h >>conftest.$ac_ext
8754 cat >>conftest.$ac_ext <<_ACEOF
8755 /* end confdefs.h. */
8756 #include <$ac_header>
8757 _ACEOF
8758 if { (ac_try="$ac_cpp conftest.$ac_ext"
8759 case "(($ac_try" in
8760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8761 *) ac_try_echo=$ac_try;;
8762 esac
8763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8765 ac_status=$?
8766 grep -v '^ *+' conftest.er1 >conftest.err
8767 rm -f conftest.er1
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); } >/dev/null && {
8771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8772 test ! -s conftest.err
8773 }; then
8774 ac_header_preproc=yes
8775 else
8776 echo "$as_me: failed program was:" >&5
8777 sed 's/^/| /' conftest.$ac_ext >&5
8779 ac_header_preproc=no
8782 rm -f conftest.err conftest.$ac_ext
8783 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8784 echo "${ECHO_T}$ac_header_preproc" >&6; }
8786 # So? What about this header?
8787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8788 yes:no: )
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8793 ac_header_preproc=yes
8795 no:yes:* )
8796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8808 ( cat <<\_ASBOX
8809 ## ------------------------------------ ##
8810 ## Report this to wine-devel@winehq.org ##
8811 ## ------------------------------------ ##
8812 _ASBOX
8813 ) | sed "s/^/$as_me: WARNING: /" >&2
8815 esac
8816 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 else
8821 eval "$as_ac_Header=\$ac_header_preproc"
8823 ac_res=`eval echo '${'$as_ac_Header'}'`
8824 { echo "$as_me:$LINENO: result: $ac_res" >&5
8825 echo "${ECHO_T}$ac_res" >&6; }
8828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8829 cat >>confdefs.h <<_ACEOF
8830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8831 _ACEOF
8833 for ac_header in audio/soundlib.h
8835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8836 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8839 echo $ECHO_N "(cached) $ECHO_C" >&6
8840 else
8841 cat >conftest.$ac_ext <<_ACEOF
8842 /* confdefs.h. */
8843 _ACEOF
8844 cat confdefs.h >>conftest.$ac_ext
8845 cat >>conftest.$ac_ext <<_ACEOF
8846 /* end confdefs.h. */
8847 #include <audio/audiolib.h>
8849 #include <$ac_header>
8850 _ACEOF
8851 rm -f conftest.$ac_objext
8852 if { (ac_try="$ac_compile"
8853 case "(($ac_try" in
8854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8856 esac
8857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_compile") 2>conftest.er1
8859 ac_status=$?
8860 grep -v '^ *+' conftest.er1 >conftest.err
8861 rm -f conftest.er1
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && {
8865 test -z "$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8867 } && test -s conftest.$ac_objext; then
8868 eval "$as_ac_Header=yes"
8869 else
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.$ac_ext >&5
8873 eval "$as_ac_Header=no"
8876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8878 ac_res=`eval echo '${'$as_ac_Header'}'`
8879 { echo "$as_me:$LINENO: result: $ac_res" >&5
8880 echo "${ECHO_T}$ac_res" >&6; }
8881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8882 cat >>confdefs.h <<_ACEOF
8883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8884 _ACEOF
8888 done
8890 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8891 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8892 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8894 else
8895 ac_check_lib_save_LIBS=$LIBS
8896 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8897 cat >conftest.$ac_ext <<_ACEOF
8898 /* confdefs.h. */
8899 _ACEOF
8900 cat confdefs.h >>conftest.$ac_ext
8901 cat >>conftest.$ac_ext <<_ACEOF
8902 /* end confdefs.h. */
8904 /* Override any GCC internal prototype to avoid an error.
8905 Use char because int might match the return type of a GCC
8906 builtin and then its argument prototype would still apply. */
8907 #ifdef __cplusplus
8908 extern "C"
8909 #endif
8910 char AuCreateFlow ();
8912 main ()
8914 return AuCreateFlow ();
8916 return 0;
8918 _ACEOF
8919 rm -f conftest.$ac_objext conftest$ac_exeext
8920 if { (ac_try="$ac_link"
8921 case "(($ac_try" in
8922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8923 *) ac_try_echo=$ac_try;;
8924 esac
8925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8926 (eval "$ac_link") 2>conftest.er1
8927 ac_status=$?
8928 grep -v '^ *+' conftest.er1 >conftest.err
8929 rm -f conftest.er1
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } && {
8933 test -z "$ac_c_werror_flag" ||
8934 test ! -s conftest.err
8935 } && test -s conftest$ac_exeext &&
8936 $as_test_x conftest$ac_exeext; then
8937 ac_cv_lib_audio_AuCreateFlow=yes
8938 else
8939 echo "$as_me: failed program was:" >&5
8940 sed 's/^/| /' conftest.$ac_ext >&5
8942 ac_cv_lib_audio_AuCreateFlow=no
8945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8946 conftest$ac_exeext conftest.$ac_ext
8947 LIBS=$ac_check_lib_save_LIBS
8949 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8950 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8951 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8953 cat >>confdefs.h <<\_ACEOF
8954 #define HAVE_NAS 1
8955 _ACEOF
8957 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8962 done
8965 CPPFLAGS="$ac_save_CPPFLAGS"
8966 XFILES='$(XFILES)'
8967 else
8968 XLIB=""
8969 X_CFLAGS=""
8970 X_LIBS=""
8974 XML2LIBS=""
8976 XML2INCL=""
8978 XSLTLIBS=""
8980 XSLTINCL=""
8982 if test "$PKG_CONFIG" != "false"
8983 then
8984 ac_save_CPPFLAGS="$CPPFLAGS"
8985 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8986 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8987 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8989 for ac_header in libxml/parser.h
8991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8998 ac_res=`eval echo '${'$as_ac_Header'}'`
8999 { echo "$as_me:$LINENO: result: $ac_res" >&5
9000 echo "${ECHO_T}$ac_res" >&6; }
9001 else
9002 # Is the header compilable?
9003 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9005 cat >conftest.$ac_ext <<_ACEOF
9006 /* confdefs.h. */
9007 _ACEOF
9008 cat confdefs.h >>conftest.$ac_ext
9009 cat >>conftest.$ac_ext <<_ACEOF
9010 /* end confdefs.h. */
9011 $ac_includes_default
9012 #include <$ac_header>
9013 _ACEOF
9014 rm -f conftest.$ac_objext
9015 if { (ac_try="$ac_compile"
9016 case "(($ac_try" in
9017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9018 *) ac_try_echo=$ac_try;;
9019 esac
9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9021 (eval "$ac_compile") 2>conftest.er1
9022 ac_status=$?
9023 grep -v '^ *+' conftest.er1 >conftest.err
9024 rm -f conftest.er1
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } && {
9028 test -z "$ac_c_werror_flag" ||
9029 test ! -s conftest.err
9030 } && test -s conftest.$ac_objext; then
9031 ac_header_compiler=yes
9032 else
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_header_compiler=no
9039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9040 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9041 echo "${ECHO_T}$ac_header_compiler" >&6; }
9043 # Is the header present?
9044 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9046 cat >conftest.$ac_ext <<_ACEOF
9047 /* confdefs.h. */
9048 _ACEOF
9049 cat confdefs.h >>conftest.$ac_ext
9050 cat >>conftest.$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9052 #include <$ac_header>
9053 _ACEOF
9054 if { (ac_try="$ac_cpp conftest.$ac_ext"
9055 case "(($ac_try" in
9056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9057 *) ac_try_echo=$ac_try;;
9058 esac
9059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9061 ac_status=$?
9062 grep -v '^ *+' conftest.er1 >conftest.err
9063 rm -f conftest.er1
9064 cat conftest.err >&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } >/dev/null && {
9067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9068 test ! -s conftest.err
9069 }; then
9070 ac_header_preproc=yes
9071 else
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.$ac_ext >&5
9075 ac_header_preproc=no
9078 rm -f conftest.err conftest.$ac_ext
9079 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9080 echo "${ECHO_T}$ac_header_preproc" >&6; }
9082 # So? What about this header?
9083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9084 yes:no: )
9085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9089 ac_header_preproc=yes
9091 no:yes:* )
9092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9104 ( cat <<\_ASBOX
9105 ## ------------------------------------ ##
9106 ## Report this to wine-devel@winehq.org ##
9107 ## ------------------------------------ ##
9108 _ASBOX
9109 ) | sed "s/^/$as_me: WARNING: /" >&2
9111 esac
9112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9116 else
9117 eval "$as_ac_Header=\$ac_header_preproc"
9119 ac_res=`eval echo '${'$as_ac_Header'}'`
9120 { echo "$as_me:$LINENO: result: $ac_res" >&5
9121 echo "${ECHO_T}$ac_res" >&6; }
9124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9125 cat >>confdefs.h <<_ACEOF
9126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9127 _ACEOF
9128 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9129 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9130 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9131 echo $ECHO_N "(cached) $ECHO_C" >&6
9132 else
9133 ac_check_lib_save_LIBS=$LIBS
9134 LIBS="-lxml2 $ac_xml_libs $LIBS"
9135 cat >conftest.$ac_ext <<_ACEOF
9136 /* confdefs.h. */
9137 _ACEOF
9138 cat confdefs.h >>conftest.$ac_ext
9139 cat >>conftest.$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9142 /* Override any GCC internal prototype to avoid an error.
9143 Use char because int might match the return type of a GCC
9144 builtin and then its argument prototype would still apply. */
9145 #ifdef __cplusplus
9146 extern "C"
9147 #endif
9148 char xmlParseMemory ();
9150 main ()
9152 return xmlParseMemory ();
9154 return 0;
9156 _ACEOF
9157 rm -f conftest.$ac_objext conftest$ac_exeext
9158 if { (ac_try="$ac_link"
9159 case "(($ac_try" in
9160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9161 *) ac_try_echo=$ac_try;;
9162 esac
9163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9164 (eval "$ac_link") 2>conftest.er1
9165 ac_status=$?
9166 grep -v '^ *+' conftest.er1 >conftest.err
9167 rm -f conftest.er1
9168 cat conftest.err >&5
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); } && {
9171 test -z "$ac_c_werror_flag" ||
9172 test ! -s conftest.err
9173 } && test -s conftest$ac_exeext &&
9174 $as_test_x conftest$ac_exeext; then
9175 ac_cv_lib_xml2_xmlParseMemory=yes
9176 else
9177 echo "$as_me: failed program was:" >&5
9178 sed 's/^/| /' conftest.$ac_ext >&5
9180 ac_cv_lib_xml2_xmlParseMemory=no
9183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9184 conftest$ac_exeext conftest.$ac_ext
9185 LIBS=$ac_check_lib_save_LIBS
9187 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9188 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9189 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9191 cat >>confdefs.h <<\_ACEOF
9192 #define HAVE_LIBXML2 1
9193 _ACEOF
9195 XML2LIBS="$ac_xml_libs"
9196 XML2INCL="$ac_xml_cflags"
9199 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9200 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9201 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9202 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 else
9204 ac_check_lib_save_LIBS=$LIBS
9205 LIBS="-lxml2 $ac_xml_libs $LIBS"
9206 cat >conftest.$ac_ext <<_ACEOF
9207 /* confdefs.h. */
9208 _ACEOF
9209 cat confdefs.h >>conftest.$ac_ext
9210 cat >>conftest.$ac_ext <<_ACEOF
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9216 #ifdef __cplusplus
9217 extern "C"
9218 #endif
9219 char xmlReadMemory ();
9221 main ()
9223 return xmlReadMemory ();
9225 return 0;
9227 _ACEOF
9228 rm -f conftest.$ac_objext conftest$ac_exeext
9229 if { (ac_try="$ac_link"
9230 case "(($ac_try" in
9231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9232 *) ac_try_echo=$ac_try;;
9233 esac
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235 (eval "$ac_link") 2>conftest.er1
9236 ac_status=$?
9237 grep -v '^ *+' conftest.er1 >conftest.err
9238 rm -f conftest.er1
9239 cat conftest.err >&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } && {
9242 test -z "$ac_c_werror_flag" ||
9243 test ! -s conftest.err
9244 } && test -s conftest$ac_exeext &&
9245 $as_test_x conftest$ac_exeext; then
9246 ac_cv_lib_xml2_xmlReadMemory=yes
9247 else
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.$ac_ext >&5
9251 ac_cv_lib_xml2_xmlReadMemory=no
9254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9255 conftest$ac_exeext conftest.$ac_ext
9256 LIBS=$ac_check_lib_save_LIBS
9258 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9259 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9260 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9262 cat >>confdefs.h <<\_ACEOF
9263 #define HAVE_XMLREADMEMORY 1
9264 _ACEOF
9268 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9269 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9270 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9271 echo $ECHO_N "(cached) $ECHO_C" >&6
9272 else
9273 ac_check_lib_save_LIBS=$LIBS
9274 LIBS="-lxml2 $ac_xml_libs $LIBS"
9275 cat >conftest.$ac_ext <<_ACEOF
9276 /* confdefs.h. */
9277 _ACEOF
9278 cat confdefs.h >>conftest.$ac_ext
9279 cat >>conftest.$ac_ext <<_ACEOF
9280 /* end confdefs.h. */
9282 /* Override any GCC internal prototype to avoid an error.
9283 Use char because int might match the return type of a GCC
9284 builtin and then its argument prototype would still apply. */
9285 #ifdef __cplusplus
9286 extern "C"
9287 #endif
9288 char xmlNewDocPI ();
9290 main ()
9292 return xmlNewDocPI ();
9294 return 0;
9296 _ACEOF
9297 rm -f conftest.$ac_objext conftest$ac_exeext
9298 if { (ac_try="$ac_link"
9299 case "(($ac_try" in
9300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9301 *) ac_try_echo=$ac_try;;
9302 esac
9303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9304 (eval "$ac_link") 2>conftest.er1
9305 ac_status=$?
9306 grep -v '^ *+' conftest.er1 >conftest.err
9307 rm -f conftest.er1
9308 cat conftest.err >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); } && {
9311 test -z "$ac_c_werror_flag" ||
9312 test ! -s conftest.err
9313 } && test -s conftest$ac_exeext &&
9314 $as_test_x conftest$ac_exeext; then
9315 ac_cv_lib_xml2_xmlNewDocPI=yes
9316 else
9317 echo "$as_me: failed program was:" >&5
9318 sed 's/^/| /' conftest.$ac_ext >&5
9320 ac_cv_lib_xml2_xmlNewDocPI=no
9323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9324 conftest$ac_exeext conftest.$ac_ext
9325 LIBS=$ac_check_lib_save_LIBS
9327 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9328 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9329 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9331 cat >>confdefs.h <<\_ACEOF
9332 #define HAVE_XMLNEWDOCPI 1
9333 _ACEOF
9340 done
9342 CPPFLAGS="$ac_save_CPPFLAGS"
9343 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9344 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9345 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9348 for ac_header in libxslt/pattern.h libxslt/transform.h
9350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9354 echo $ECHO_N "(cached) $ECHO_C" >&6
9355 else
9356 cat >conftest.$ac_ext <<_ACEOF
9357 /* confdefs.h. */
9358 _ACEOF
9359 cat confdefs.h >>conftest.$ac_ext
9360 cat >>conftest.$ac_ext <<_ACEOF
9361 /* end confdefs.h. */
9362 #ifdef HAVE_LIBXSLT_PATTERN_H
9363 # include <libxslt/pattern.h>
9364 #endif
9366 #include <$ac_header>
9367 _ACEOF
9368 rm -f conftest.$ac_objext
9369 if { (ac_try="$ac_compile"
9370 case "(($ac_try" in
9371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9372 *) ac_try_echo=$ac_try;;
9373 esac
9374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9375 (eval "$ac_compile") 2>conftest.er1
9376 ac_status=$?
9377 grep -v '^ *+' conftest.er1 >conftest.err
9378 rm -f conftest.er1
9379 cat conftest.err >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); } && {
9382 test -z "$ac_c_werror_flag" ||
9383 test ! -s conftest.err
9384 } && test -s conftest.$ac_objext; then
9385 eval "$as_ac_Header=yes"
9386 else
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.$ac_ext >&5
9390 eval "$as_ac_Header=no"
9393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9395 ac_res=`eval echo '${'$as_ac_Header'}'`
9396 { echo "$as_me:$LINENO: result: $ac_res" >&5
9397 echo "${ECHO_T}$ac_res" >&6; }
9398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9399 cat >>confdefs.h <<_ACEOF
9400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9401 _ACEOF
9402 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9403 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9404 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9406 else
9407 ac_check_lib_save_LIBS=$LIBS
9408 LIBS="-lxslt $ac_xslt_libs $LIBS"
9409 cat >conftest.$ac_ext <<_ACEOF
9410 /* confdefs.h. */
9411 _ACEOF
9412 cat confdefs.h >>conftest.$ac_ext
9413 cat >>conftest.$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9419 #ifdef __cplusplus
9420 extern "C"
9421 #endif
9422 char xsltCompilePattern ();
9424 main ()
9426 return xsltCompilePattern ();
9428 return 0;
9430 _ACEOF
9431 rm -f conftest.$ac_objext conftest$ac_exeext
9432 if { (ac_try="$ac_link"
9433 case "(($ac_try" in
9434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9435 *) ac_try_echo=$ac_try;;
9436 esac
9437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9438 (eval "$ac_link") 2>conftest.er1
9439 ac_status=$?
9440 grep -v '^ *+' conftest.er1 >conftest.err
9441 rm -f conftest.er1
9442 cat conftest.err >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); } && {
9445 test -z "$ac_c_werror_flag" ||
9446 test ! -s conftest.err
9447 } && test -s conftest$ac_exeext &&
9448 $as_test_x conftest$ac_exeext; then
9449 ac_cv_lib_xslt_xsltCompilePattern=yes
9450 else
9451 echo "$as_me: failed program was:" >&5
9452 sed 's/^/| /' conftest.$ac_ext >&5
9454 ac_cv_lib_xslt_xsltCompilePattern=no
9457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9458 conftest$ac_exeext conftest.$ac_ext
9459 LIBS=$ac_check_lib_save_LIBS
9461 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9462 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9463 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9465 cat >>confdefs.h <<\_ACEOF
9466 #define HAVE_LIBXSLT 1
9467 _ACEOF
9469 XSLTLIBS="$ac_xslt_libs"
9470 XSLTINCL="$ac_xslt_cflags"
9476 done
9478 CPPFLAGS="$ac_save_CPPFLAGS"
9481 HALINCL=""
9483 if test "$PKG_CONFIG" != "false"
9484 then
9485 ac_save_CPPFLAGS="$CPPFLAGS"
9486 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9487 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9488 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9491 for ac_header in dbus/dbus.h hal/libhal.h
9493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 ac_res=`eval echo '${'$as_ac_Header'}'`
9501 { echo "$as_me:$LINENO: result: $ac_res" >&5
9502 echo "${ECHO_T}$ac_res" >&6; }
9503 else
9504 # Is the header compilable?
9505 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9507 cat >conftest.$ac_ext <<_ACEOF
9508 /* confdefs.h. */
9509 _ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9513 $ac_includes_default
9514 #include <$ac_header>
9515 _ACEOF
9516 rm -f conftest.$ac_objext
9517 if { (ac_try="$ac_compile"
9518 case "(($ac_try" in
9519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9520 *) ac_try_echo=$ac_try;;
9521 esac
9522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9523 (eval "$ac_compile") 2>conftest.er1
9524 ac_status=$?
9525 grep -v '^ *+' conftest.er1 >conftest.err
9526 rm -f conftest.er1
9527 cat conftest.err >&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); } && {
9530 test -z "$ac_c_werror_flag" ||
9531 test ! -s conftest.err
9532 } && test -s conftest.$ac_objext; then
9533 ac_header_compiler=yes
9534 else
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.$ac_ext >&5
9538 ac_header_compiler=no
9541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9543 echo "${ECHO_T}$ac_header_compiler" >&6; }
9545 # Is the header present?
9546 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9548 cat >conftest.$ac_ext <<_ACEOF
9549 /* confdefs.h. */
9550 _ACEOF
9551 cat confdefs.h >>conftest.$ac_ext
9552 cat >>conftest.$ac_ext <<_ACEOF
9553 /* end confdefs.h. */
9554 #include <$ac_header>
9555 _ACEOF
9556 if { (ac_try="$ac_cpp conftest.$ac_ext"
9557 case "(($ac_try" in
9558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9559 *) ac_try_echo=$ac_try;;
9560 esac
9561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9562 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9563 ac_status=$?
9564 grep -v '^ *+' conftest.er1 >conftest.err
9565 rm -f conftest.er1
9566 cat conftest.err >&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); } >/dev/null && {
9569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9570 test ! -s conftest.err
9571 }; then
9572 ac_header_preproc=yes
9573 else
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.$ac_ext >&5
9577 ac_header_preproc=no
9580 rm -f conftest.err conftest.$ac_ext
9581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9582 echo "${ECHO_T}$ac_header_preproc" >&6; }
9584 # So? What about this header?
9585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9586 yes:no: )
9587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9591 ac_header_preproc=yes
9593 no:yes:* )
9594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9606 ( cat <<\_ASBOX
9607 ## ------------------------------------ ##
9608 ## Report this to wine-devel@winehq.org ##
9609 ## ------------------------------------ ##
9610 _ASBOX
9611 ) | sed "s/^/$as_me: WARNING: /" >&2
9613 esac
9614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 else
9619 eval "$as_ac_Header=\$ac_header_preproc"
9621 ac_res=`eval echo '${'$as_ac_Header'}'`
9622 { echo "$as_me:$LINENO: result: $ac_res" >&5
9623 echo "${ECHO_T}$ac_res" >&6; }
9626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9627 cat >>confdefs.h <<_ACEOF
9628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9629 _ACEOF
9633 done
9635 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9636 then
9637 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9638 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9639 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 else
9642 ac_check_lib_save_LIBS=$LIBS
9643 LIBS="-lhal $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 libhal_ctx_new ();
9659 main ()
9661 return libhal_ctx_new ();
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_hal_libhal_ctx_new=yes
9685 else
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9689 ac_cv_lib_hal_libhal_ctx_new=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_hal_libhal_ctx_new" >&5
9697 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9698 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9699 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9700 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9701 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9702 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 else
9704 ac_check_lib_save_LIBS=$LIBS
9705 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9706 cat >conftest.$ac_ext <<_ACEOF
9707 /* confdefs.h. */
9708 _ACEOF
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9713 /* Override any GCC internal prototype to avoid an error.
9714 Use char because int might match the return type of a GCC
9715 builtin and then its argument prototype would still apply. */
9716 #ifdef __cplusplus
9717 extern "C"
9718 #endif
9719 char dbus_connection_close ();
9721 main ()
9723 return dbus_connection_close ();
9725 return 0;
9727 _ACEOF
9728 rm -f conftest.$ac_objext conftest$ac_exeext
9729 if { (ac_try="$ac_link"
9730 case "(($ac_try" in
9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9732 *) ac_try_echo=$ac_try;;
9733 esac
9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9735 (eval "$ac_link") 2>conftest.er1
9736 ac_status=$?
9737 grep -v '^ *+' conftest.er1 >conftest.err
9738 rm -f conftest.er1
9739 cat conftest.err >&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); } && {
9742 test -z "$ac_c_werror_flag" ||
9743 test ! -s conftest.err
9744 } && test -s conftest$ac_exeext &&
9745 $as_test_x conftest$ac_exeext; then
9746 ac_cv_lib_dbus_1_dbus_connection_close=yes
9747 else
9748 echo "$as_me: failed program was:" >&5
9749 sed 's/^/| /' conftest.$ac_ext >&5
9751 ac_cv_lib_dbus_1_dbus_connection_close=no
9754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9755 conftest$ac_exeext conftest.$ac_ext
9756 LIBS=$ac_check_lib_save_LIBS
9758 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9759 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9760 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9762 cat >>confdefs.h <<\_ACEOF
9763 #define HAVE_LIBHAL 1
9764 _ACEOF
9766 HALINCL="$ac_hal_cflags"
9772 CPPFLAGS="$ac_save_CPPFLAGS"
9775 CURSESLIBS=""
9776 if test "$ac_cv_header_ncurses_h" = "yes"
9777 then
9778 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9779 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9780 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9782 else
9783 ac_check_lib_save_LIBS=$LIBS
9784 LIBS="-lncurses $LIBS"
9785 cat >conftest.$ac_ext <<_ACEOF
9786 /* confdefs.h. */
9787 _ACEOF
9788 cat confdefs.h >>conftest.$ac_ext
9789 cat >>conftest.$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9795 #ifdef __cplusplus
9796 extern "C"
9797 #endif
9798 char waddch ();
9800 main ()
9802 return waddch ();
9804 return 0;
9806 _ACEOF
9807 rm -f conftest.$ac_objext conftest$ac_exeext
9808 if { (ac_try="$ac_link"
9809 case "(($ac_try" in
9810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9811 *) ac_try_echo=$ac_try;;
9812 esac
9813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9814 (eval "$ac_link") 2>conftest.er1
9815 ac_status=$?
9816 grep -v '^ *+' conftest.er1 >conftest.err
9817 rm -f conftest.er1
9818 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } && {
9821 test -z "$ac_c_werror_flag" ||
9822 test ! -s conftest.err
9823 } && test -s conftest$ac_exeext &&
9824 $as_test_x conftest$ac_exeext; then
9825 ac_cv_lib_ncurses_waddch=yes
9826 else
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.$ac_ext >&5
9830 ac_cv_lib_ncurses_waddch=no
9833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9834 conftest$ac_exeext conftest.$ac_ext
9835 LIBS=$ac_check_lib_save_LIBS
9837 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9838 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9839 if test $ac_cv_lib_ncurses_waddch = yes; then
9840 CURSESLIBS="-lncurses"
9843 elif test "$ac_cv_header_curses_h" = "yes"
9844 then
9845 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9846 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9847 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9848 echo $ECHO_N "(cached) $ECHO_C" >&6
9849 else
9850 ac_check_lib_save_LIBS=$LIBS
9851 LIBS="-lcurses $LIBS"
9852 cat >conftest.$ac_ext <<_ACEOF
9853 /* confdefs.h. */
9854 _ACEOF
9855 cat confdefs.h >>conftest.$ac_ext
9856 cat >>conftest.$ac_ext <<_ACEOF
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9862 #ifdef __cplusplus
9863 extern "C"
9864 #endif
9865 char waddch ();
9867 main ()
9869 return waddch ();
9871 return 0;
9873 _ACEOF
9874 rm -f conftest.$ac_objext conftest$ac_exeext
9875 if { (ac_try="$ac_link"
9876 case "(($ac_try" in
9877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9878 *) ac_try_echo=$ac_try;;
9879 esac
9880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9881 (eval "$ac_link") 2>conftest.er1
9882 ac_status=$?
9883 grep -v '^ *+' conftest.er1 >conftest.err
9884 rm -f conftest.er1
9885 cat conftest.err >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); } && {
9888 test -z "$ac_c_werror_flag" ||
9889 test ! -s conftest.err
9890 } && test -s conftest$ac_exeext &&
9891 $as_test_x conftest$ac_exeext; then
9892 ac_cv_lib_curses_waddch=yes
9893 else
9894 echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9897 ac_cv_lib_curses_waddch=no
9900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_lib_save_LIBS
9904 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9905 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9906 if test $ac_cv_lib_curses_waddch = yes; then
9907 CURSESLIBS="-lcurses"
9911 ac_save_LIBS="$LIBS"
9912 LIBS="$LIBS $CURSESLIBS"
9914 for ac_func in mousemask
9916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9917 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9919 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9921 else
9922 cat >conftest.$ac_ext <<_ACEOF
9923 /* confdefs.h. */
9924 _ACEOF
9925 cat confdefs.h >>conftest.$ac_ext
9926 cat >>conftest.$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9930 #define $ac_func innocuous_$ac_func
9932 /* System header to define __stub macros and hopefully few prototypes,
9933 which can conflict with char $ac_func (); below.
9934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9935 <limits.h> exists even on freestanding compilers. */
9937 #ifdef __STDC__
9938 # include <limits.h>
9939 #else
9940 # include <assert.h>
9941 #endif
9943 #undef $ac_func
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9948 #ifdef __cplusplus
9949 extern "C"
9950 #endif
9951 char $ac_func ();
9952 /* The GNU C library defines this for functions which it implements
9953 to always fail with ENOSYS. Some functions are actually named
9954 something starting with __ and the normal name is an alias. */
9955 #if defined __stub_$ac_func || defined __stub___$ac_func
9956 choke me
9957 #endif
9960 main ()
9962 return $ac_func ();
9964 return 0;
9966 _ACEOF
9967 rm -f conftest.$ac_objext conftest$ac_exeext
9968 if { (ac_try="$ac_link"
9969 case "(($ac_try" in
9970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9971 *) ac_try_echo=$ac_try;;
9972 esac
9973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9974 (eval "$ac_link") 2>conftest.er1
9975 ac_status=$?
9976 grep -v '^ *+' conftest.er1 >conftest.err
9977 rm -f conftest.er1
9978 cat conftest.err >&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); } && {
9981 test -z "$ac_c_werror_flag" ||
9982 test ! -s conftest.err
9983 } && test -s conftest$ac_exeext &&
9984 $as_test_x conftest$ac_exeext; then
9985 eval "$as_ac_var=yes"
9986 else
9987 echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.$ac_ext >&5
9990 eval "$as_ac_var=no"
9993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9994 conftest$ac_exeext conftest.$ac_ext
9996 ac_res=`eval echo '${'$as_ac_var'}'`
9997 { echo "$as_me:$LINENO: result: $ac_res" >&5
9998 echo "${ECHO_T}$ac_res" >&6; }
9999 if test `eval echo '${'$as_ac_var'}'` = yes; then
10000 cat >>confdefs.h <<_ACEOF
10001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10002 _ACEOF
10005 done
10007 LIBS="$ac_save_LIBS"
10009 # Extract the first word of "sane-config", so it can be a program name with args.
10010 set dummy sane-config; ac_word=$2
10011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10013 if test "${ac_cv_prog_sane_devel+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10015 else
10016 if test -n "$sane_devel"; then
10017 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10018 else
10019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10020 for as_dir in $PATH
10022 IFS=$as_save_IFS
10023 test -z "$as_dir" && as_dir=.
10024 for ac_exec_ext in '' $ac_executable_extensions; do
10025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10026 ac_cv_prog_sane_devel="sane-config"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10028 break 2
10030 done
10031 done
10032 IFS=$as_save_IFS
10034 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10037 sane_devel=$ac_cv_prog_sane_devel
10038 if test -n "$sane_devel"; then
10039 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10040 echo "${ECHO_T}$sane_devel" >&6; }
10041 else
10042 { echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6; }
10047 SANELIBS=""
10049 SANEINCL=""
10051 if test "$sane_devel" != "no"
10052 then
10053 SANELIBS="`$sane_devel --libs`"
10054 SANEINCL="`$sane_devel --cflags`"
10055 ac_save_CPPFLAGS="$CPPFLAGS"
10056 ac_save_LIBS="$LIBS"
10057 CPPFLAGS="$CPPFLAGS $SANEINCL"
10058 LIBS="$LIBS $SANELIBS"
10059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10060 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10061 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10062 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10063 echo $ECHO_N "(cached) $ECHO_C" >&6
10065 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10066 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10067 else
10068 # Is the header compilable?
10069 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10070 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10071 cat >conftest.$ac_ext <<_ACEOF
10072 /* confdefs.h. */
10073 _ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10077 $ac_includes_default
10078 #include <sane/sane.h>
10079 _ACEOF
10080 rm -f conftest.$ac_objext
10081 if { (ac_try="$ac_compile"
10082 case "(($ac_try" in
10083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10084 *) ac_try_echo=$ac_try;;
10085 esac
10086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10087 (eval "$ac_compile") 2>conftest.er1
10088 ac_status=$?
10089 grep -v '^ *+' conftest.er1 >conftest.err
10090 rm -f conftest.er1
10091 cat conftest.err >&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); } && {
10094 test -z "$ac_c_werror_flag" ||
10095 test ! -s conftest.err
10096 } && test -s conftest.$ac_objext; then
10097 ac_header_compiler=yes
10098 else
10099 echo "$as_me: failed program was:" >&5
10100 sed 's/^/| /' conftest.$ac_ext >&5
10102 ac_header_compiler=no
10105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10107 echo "${ECHO_T}$ac_header_compiler" >&6; }
10109 # Is the header present?
10110 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10111 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10112 cat >conftest.$ac_ext <<_ACEOF
10113 /* confdefs.h. */
10114 _ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 #include <sane/sane.h>
10119 _ACEOF
10120 if { (ac_try="$ac_cpp conftest.$ac_ext"
10121 case "(($ac_try" in
10122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10124 esac
10125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10127 ac_status=$?
10128 grep -v '^ *+' conftest.er1 >conftest.err
10129 rm -f conftest.er1
10130 cat conftest.err >&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } >/dev/null && {
10133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10134 test ! -s conftest.err
10135 }; then
10136 ac_header_preproc=yes
10137 else
10138 echo "$as_me: failed program was:" >&5
10139 sed 's/^/| /' conftest.$ac_ext >&5
10141 ac_header_preproc=no
10144 rm -f conftest.err conftest.$ac_ext
10145 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10146 echo "${ECHO_T}$ac_header_preproc" >&6; }
10148 # So? What about this header?
10149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10150 yes:no: )
10151 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10152 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10153 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10154 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10155 ac_header_preproc=yes
10157 no:yes:* )
10158 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10159 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10161 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10162 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10163 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10164 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10165 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10166 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10167 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10168 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10169 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10170 ( cat <<\_ASBOX
10171 ## ------------------------------------ ##
10172 ## Report this to wine-devel@winehq.org ##
10173 ## ------------------------------------ ##
10174 _ASBOX
10175 ) | sed "s/^/$as_me: WARNING: /" >&2
10177 esac
10178 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10179 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10180 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10182 else
10183 ac_cv_header_sane_sane_h=$ac_header_preproc
10185 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10186 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10189 if test $ac_cv_header_sane_sane_h = yes; then
10190 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10191 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10192 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10194 else
10195 ac_check_lib_save_LIBS=$LIBS
10196 LIBS="-lsane $LIBS"
10197 cat >conftest.$ac_ext <<_ACEOF
10198 /* confdefs.h. */
10199 _ACEOF
10200 cat confdefs.h >>conftest.$ac_ext
10201 cat >>conftest.$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10207 #ifdef __cplusplus
10208 extern "C"
10209 #endif
10210 char sane_open ();
10212 main ()
10214 return sane_open ();
10216 return 0;
10218 _ACEOF
10219 rm -f conftest.$ac_objext conftest$ac_exeext
10220 if { (ac_try="$ac_link"
10221 case "(($ac_try" in
10222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10223 *) ac_try_echo=$ac_try;;
10224 esac
10225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10226 (eval "$ac_link") 2>conftest.er1
10227 ac_status=$?
10228 grep -v '^ *+' conftest.er1 >conftest.err
10229 rm -f conftest.er1
10230 cat conftest.err >&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 (exit $ac_status); } && {
10233 test -z "$ac_c_werror_flag" ||
10234 test ! -s conftest.err
10235 } && test -s conftest$ac_exeext &&
10236 $as_test_x conftest$ac_exeext; then
10237 ac_cv_lib_sane_sane_open=yes
10238 else
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10242 ac_cv_lib_sane_sane_open=no
10245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_lib_save_LIBS
10249 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10250 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10251 if test $ac_cv_lib_sane_sane_open = yes; then
10253 cat >>confdefs.h <<\_ACEOF
10254 #define HAVE_SANE 1
10255 _ACEOF
10257 else
10258 SANELIBS=""
10259 SANEINCL=""
10262 else
10263 SANELIBS=""
10264 SANEINCL=""
10268 LIBS="$ac_save_LIBS"
10269 CPPFLAGS="$ac_save_CPPFLAGS"
10272 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10273 set dummy gphoto2-config; ac_word=$2
10274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10276 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 else
10279 if test -n "$gphoto2_devel"; then
10280 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10281 else
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in $PATH
10285 IFS=$as_save_IFS
10286 test -z "$as_dir" && as_dir=.
10287 for ac_exec_ext in '' $ac_executable_extensions; do
10288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10289 ac_cv_prog_gphoto2_devel="gphoto2-config"
10290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10291 break 2
10293 done
10294 done
10295 IFS=$as_save_IFS
10297 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10300 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10301 if test -n "$gphoto2_devel"; then
10302 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10303 echo "${ECHO_T}$gphoto2_devel" >&6; }
10304 else
10305 { echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6; }
10310 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10311 set dummy gphoto2-port-config; ac_word=$2
10312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10314 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10315 echo $ECHO_N "(cached) $ECHO_C" >&6
10316 else
10317 if test -n "$gphoto2port_devel"; then
10318 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10319 else
10320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10321 for as_dir in $PATH
10323 IFS=$as_save_IFS
10324 test -z "$as_dir" && as_dir=.
10325 for ac_exec_ext in '' $ac_executable_extensions; do
10326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10327 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10329 break 2
10331 done
10332 done
10333 IFS=$as_save_IFS
10335 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10338 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10339 if test -n "$gphoto2port_devel"; then
10340 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10341 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10342 else
10343 { echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6; }
10348 GPHOTO2LIBS=""
10350 GPHOTO2INCL=""
10352 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10353 then
10354 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10355 GPHOTO2LIBS=""
10356 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10358 case "$i" in
10359 -L/usr/lib|-L/usr/lib64) ;;
10360 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10361 esac
10362 done
10363 ac_save_CPPFLAGS="$CPPFLAGS"
10364 ac_save_LIBS="$LIBS"
10365 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10366 LIBS="$LIBS $GPHOTO2LIBS"
10367 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10368 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10369 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10370 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10374 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10375 else
10376 # Is the header compilable?
10377 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10378 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10379 cat >conftest.$ac_ext <<_ACEOF
10380 /* confdefs.h. */
10381 _ACEOF
10382 cat confdefs.h >>conftest.$ac_ext
10383 cat >>conftest.$ac_ext <<_ACEOF
10384 /* end confdefs.h. */
10385 $ac_includes_default
10386 #include <gphoto2-camera.h>
10387 _ACEOF
10388 rm -f conftest.$ac_objext
10389 if { (ac_try="$ac_compile"
10390 case "(($ac_try" in
10391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10392 *) ac_try_echo=$ac_try;;
10393 esac
10394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10395 (eval "$ac_compile") 2>conftest.er1
10396 ac_status=$?
10397 grep -v '^ *+' conftest.er1 >conftest.err
10398 rm -f conftest.er1
10399 cat conftest.err >&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } && {
10402 test -z "$ac_c_werror_flag" ||
10403 test ! -s conftest.err
10404 } && test -s conftest.$ac_objext; then
10405 ac_header_compiler=yes
10406 else
10407 echo "$as_me: failed program was:" >&5
10408 sed 's/^/| /' conftest.$ac_ext >&5
10410 ac_header_compiler=no
10413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10415 echo "${ECHO_T}$ac_header_compiler" >&6; }
10417 # Is the header present?
10418 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10419 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10420 cat >conftest.$ac_ext <<_ACEOF
10421 /* confdefs.h. */
10422 _ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 #include <gphoto2-camera.h>
10427 _ACEOF
10428 if { (ac_try="$ac_cpp conftest.$ac_ext"
10429 case "(($ac_try" in
10430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10431 *) ac_try_echo=$ac_try;;
10432 esac
10433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10435 ac_status=$?
10436 grep -v '^ *+' conftest.er1 >conftest.err
10437 rm -f conftest.er1
10438 cat conftest.err >&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); } >/dev/null && {
10441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10442 test ! -s conftest.err
10443 }; then
10444 ac_header_preproc=yes
10445 else
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10449 ac_header_preproc=no
10452 rm -f conftest.err conftest.$ac_ext
10453 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10454 echo "${ECHO_T}$ac_header_preproc" >&6; }
10456 # So? What about this header?
10457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10458 yes:no: )
10459 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10460 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10461 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10462 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10463 ac_header_preproc=yes
10465 no:yes:* )
10466 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10467 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10468 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10469 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10470 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10471 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10472 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10473 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10474 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10475 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10476 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10477 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10478 ( cat <<\_ASBOX
10479 ## ------------------------------------ ##
10480 ## Report this to wine-devel@winehq.org ##
10481 ## ------------------------------------ ##
10482 _ASBOX
10483 ) | sed "s/^/$as_me: WARNING: /" >&2
10485 esac
10486 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10487 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10488 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10489 echo $ECHO_N "(cached) $ECHO_C" >&6
10490 else
10491 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10493 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10494 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10497 if test $ac_cv_header_gphoto2_camera_h = yes; then
10498 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10499 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10500 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10501 echo $ECHO_N "(cached) $ECHO_C" >&6
10502 else
10503 ac_check_lib_save_LIBS=$LIBS
10504 LIBS="-lgphoto2 $LIBS"
10505 cat >conftest.$ac_ext <<_ACEOF
10506 /* confdefs.h. */
10507 _ACEOF
10508 cat confdefs.h >>conftest.$ac_ext
10509 cat >>conftest.$ac_ext <<_ACEOF
10510 /* end confdefs.h. */
10512 /* Override any GCC internal prototype to avoid an error.
10513 Use char because int might match the return type of a GCC
10514 builtin and then its argument prototype would still apply. */
10515 #ifdef __cplusplus
10516 extern "C"
10517 #endif
10518 char gp_camera_new ();
10520 main ()
10522 return gp_camera_new ();
10524 return 0;
10526 _ACEOF
10527 rm -f conftest.$ac_objext conftest$ac_exeext
10528 if { (ac_try="$ac_link"
10529 case "(($ac_try" in
10530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10531 *) ac_try_echo=$ac_try;;
10532 esac
10533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10534 (eval "$ac_link") 2>conftest.er1
10535 ac_status=$?
10536 grep -v '^ *+' conftest.er1 >conftest.err
10537 rm -f conftest.er1
10538 cat conftest.err >&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } && {
10541 test -z "$ac_c_werror_flag" ||
10542 test ! -s conftest.err
10543 } && test -s conftest$ac_exeext &&
10544 $as_test_x conftest$ac_exeext; then
10545 ac_cv_lib_gphoto2_gp_camera_new=yes
10546 else
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10550 ac_cv_lib_gphoto2_gp_camera_new=no
10553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_lib_save_LIBS
10557 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10558 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10559 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10561 cat >>confdefs.h <<\_ACEOF
10562 #define HAVE_GPHOTO2 1
10563 _ACEOF
10565 else
10566 GPHOTO2LIBS=""
10567 GPHOTO2INCL=""
10570 else
10571 GPHOTO2LIBS=""
10572 GPHOTO2INCL=""
10576 LIBS="$ac_save_LIBS"
10577 CPPFLAGS="$ac_save_CPPFLAGS"
10580 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10581 then
10582 saved_libs="$LIBS"
10583 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10585 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10586 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10587 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10588 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10589 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10590 cat >conftest.$ac_ext <<_ACEOF
10591 /* confdefs.h. */
10592 _ACEOF
10593 cat confdefs.h >>conftest.$ac_ext
10594 cat >>conftest.$ac_ext <<_ACEOF
10595 /* end confdefs.h. */
10596 #include <unicode/ubidi.h>
10598 main ()
10600 ubidi_open()
10602 return 0;
10604 _ACEOF
10605 rm -f conftest.$ac_objext conftest$ac_exeext
10606 if { (ac_try="$ac_link"
10607 case "(($ac_try" in
10608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10609 *) ac_try_echo=$ac_try;;
10610 esac
10611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10612 (eval "$ac_link") 2>conftest.er1
10613 ac_status=$?
10614 grep -v '^ *+' conftest.er1 >conftest.err
10615 rm -f conftest.er1
10616 cat conftest.err >&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } && {
10619 test -z "$ac_c_werror_flag" ||
10620 test ! -s conftest.err
10621 } && test -s conftest$ac_exeext &&
10622 $as_test_x conftest$ac_exeext; then
10624 cat >>confdefs.h <<\_ACEOF
10625 #define HAVE_ICU 1
10626 _ACEOF
10628 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10630 { echo "$as_me:$LINENO: result: yes" >&5
10631 echo "${ECHO_T}yes" >&6; }
10632 else
10633 echo "$as_me: failed program was:" >&5
10634 sed 's/^/| /' conftest.$ac_ext >&5
10636 { echo "$as_me:$LINENO: result: no" >&5
10637 echo "${ECHO_T}no" >&6; }
10640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10641 conftest$ac_exeext conftest.$ac_ext
10642 done
10643 LIBS="$saved_libs"
10646 RESOLVLIBS=""
10648 if test "$ac_cv_header_resolv_h" = "yes"
10649 then
10650 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10651 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10652 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10653 echo $ECHO_N "(cached) $ECHO_C" >&6
10654 else
10655 ac_check_lib_save_LIBS=$LIBS
10656 LIBS="-lresolv $LIBS"
10657 cat >conftest.$ac_ext <<_ACEOF
10658 /* confdefs.h. */
10659 _ACEOF
10660 cat confdefs.h >>conftest.$ac_ext
10661 cat >>conftest.$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10667 #ifdef __cplusplus
10668 extern "C"
10669 #endif
10670 char res_query ();
10672 main ()
10674 return res_query ();
10676 return 0;
10678 _ACEOF
10679 rm -f conftest.$ac_objext conftest$ac_exeext
10680 if { (ac_try="$ac_link"
10681 case "(($ac_try" in
10682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10683 *) ac_try_echo=$ac_try;;
10684 esac
10685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10686 (eval "$ac_link") 2>conftest.er1
10687 ac_status=$?
10688 grep -v '^ *+' conftest.er1 >conftest.err
10689 rm -f conftest.er1
10690 cat conftest.err >&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); } && {
10693 test -z "$ac_c_werror_flag" ||
10694 test ! -s conftest.err
10695 } && test -s conftest$ac_exeext &&
10696 $as_test_x conftest$ac_exeext; then
10697 ac_cv_lib_resolv_res_query=yes
10698 else
10699 echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.$ac_ext >&5
10702 ac_cv_lib_resolv_res_query=no
10705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_lib_save_LIBS
10709 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10710 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10711 if test $ac_cv_lib_resolv_res_query = yes; then
10713 cat >>confdefs.h <<\_ACEOF
10714 #define HAVE_RESOLV 1
10715 _ACEOF
10717 RESOLVLIBS="-lresolv"
10722 LCMSLIBS=""
10724 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10725 then
10726 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10727 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10728 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10730 else
10731 ac_check_lib_save_LIBS=$LIBS
10732 LIBS="-llcms $LIBS"
10733 cat >conftest.$ac_ext <<_ACEOF
10734 /* confdefs.h. */
10735 _ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10743 #ifdef __cplusplus
10744 extern "C"
10745 #endif
10746 char cmsOpenProfileFromFile ();
10748 main ()
10750 return cmsOpenProfileFromFile ();
10752 return 0;
10754 _ACEOF
10755 rm -f conftest.$ac_objext conftest$ac_exeext
10756 if { (ac_try="$ac_link"
10757 case "(($ac_try" in
10758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10759 *) ac_try_echo=$ac_try;;
10760 esac
10761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10762 (eval "$ac_link") 2>conftest.er1
10763 ac_status=$?
10764 grep -v '^ *+' conftest.er1 >conftest.err
10765 rm -f conftest.er1
10766 cat conftest.err >&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); } && {
10769 test -z "$ac_c_werror_flag" ||
10770 test ! -s conftest.err
10771 } && test -s conftest$ac_exeext &&
10772 $as_test_x conftest$ac_exeext; then
10773 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10774 else
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.$ac_ext >&5
10778 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_lib_save_LIBS
10785 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10786 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10787 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10789 cat >>confdefs.h <<\_ACEOF
10790 #define HAVE_LCMS 1
10791 _ACEOF
10793 LCMSLIBS="-llcms"
10798 LDAPLIBS=""
10800 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10801 then
10802 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10803 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10804 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10806 else
10807 ac_check_lib_save_LIBS=$LIBS
10808 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10809 cat >conftest.$ac_ext <<_ACEOF
10810 /* confdefs.h. */
10811 _ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10819 #ifdef __cplusplus
10820 extern "C"
10821 #endif
10822 char ldap_initialize ();
10824 main ()
10826 return ldap_initialize ();
10828 return 0;
10830 _ACEOF
10831 rm -f conftest.$ac_objext conftest$ac_exeext
10832 if { (ac_try="$ac_link"
10833 case "(($ac_try" in
10834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10835 *) ac_try_echo=$ac_try;;
10836 esac
10837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10838 (eval "$ac_link") 2>conftest.er1
10839 ac_status=$?
10840 grep -v '^ *+' conftest.er1 >conftest.err
10841 rm -f conftest.er1
10842 cat conftest.err >&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && {
10845 test -z "$ac_c_werror_flag" ||
10846 test ! -s conftest.err
10847 } && test -s conftest$ac_exeext &&
10848 $as_test_x conftest$ac_exeext; then
10849 ac_cv_lib_ldap_r_ldap_initialize=yes
10850 else
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10854 ac_cv_lib_ldap_r_ldap_initialize=no
10857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_lib_save_LIBS
10861 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10862 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10863 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10864 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10865 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10866 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10868 else
10869 ac_check_lib_save_LIBS=$LIBS
10870 LIBS="-llber $LIBPTHREAD $LIBS"
10871 cat >conftest.$ac_ext <<_ACEOF
10872 /* confdefs.h. */
10873 _ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char ber_init ();
10886 main ()
10888 return ber_init ();
10890 return 0;
10892 _ACEOF
10893 rm -f conftest.$ac_objext conftest$ac_exeext
10894 if { (ac_try="$ac_link"
10895 case "(($ac_try" in
10896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10897 *) ac_try_echo=$ac_try;;
10898 esac
10899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10900 (eval "$ac_link") 2>conftest.er1
10901 ac_status=$?
10902 grep -v '^ *+' conftest.er1 >conftest.err
10903 rm -f conftest.er1
10904 cat conftest.err >&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } && {
10907 test -z "$ac_c_werror_flag" ||
10908 test ! -s conftest.err
10909 } && test -s conftest$ac_exeext &&
10910 $as_test_x conftest$ac_exeext; then
10911 ac_cv_lib_lber_ber_init=yes
10912 else
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10916 ac_cv_lib_lber_ber_init=no
10919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LIBS=$ac_check_lib_save_LIBS
10923 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10924 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10925 if test $ac_cv_lib_lber_ber_init = yes; then
10927 cat >>confdefs.h <<\_ACEOF
10928 #define HAVE_LDAP 1
10929 _ACEOF
10931 LDAPLIBS="-lldap_r -llber"
10936 ac_wine_check_funcs_save_LIBS="$LIBS"
10937 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10942 for ac_func in \
10943 ldap_count_references \
10944 ldap_first_reference \
10945 ldap_next_reference \
10946 ldap_parse_reference
10948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10952 echo $ECHO_N "(cached) $ECHO_C" >&6
10953 else
10954 cat >conftest.$ac_ext <<_ACEOF
10955 /* confdefs.h. */
10956 _ACEOF
10957 cat confdefs.h >>conftest.$ac_ext
10958 cat >>conftest.$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10962 #define $ac_func innocuous_$ac_func
10964 /* System header to define __stub macros and hopefully few prototypes,
10965 which can conflict with char $ac_func (); below.
10966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10967 <limits.h> exists even on freestanding compilers. */
10969 #ifdef __STDC__
10970 # include <limits.h>
10971 #else
10972 # include <assert.h>
10973 #endif
10975 #undef $ac_func
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10980 #ifdef __cplusplus
10981 extern "C"
10982 #endif
10983 char $ac_func ();
10984 /* The GNU C library defines this for functions which it implements
10985 to always fail with ENOSYS. Some functions are actually named
10986 something starting with __ and the normal name is an alias. */
10987 #if defined __stub_$ac_func || defined __stub___$ac_func
10988 choke me
10989 #endif
10992 main ()
10994 return $ac_func ();
10996 return 0;
10998 _ACEOF
10999 rm -f conftest.$ac_objext conftest$ac_exeext
11000 if { (ac_try="$ac_link"
11001 case "(($ac_try" in
11002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11003 *) ac_try_echo=$ac_try;;
11004 esac
11005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11006 (eval "$ac_link") 2>conftest.er1
11007 ac_status=$?
11008 grep -v '^ *+' conftest.er1 >conftest.err
11009 rm -f conftest.er1
11010 cat conftest.err >&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } && {
11013 test -z "$ac_c_werror_flag" ||
11014 test ! -s conftest.err
11015 } && test -s conftest$ac_exeext &&
11016 $as_test_x conftest$ac_exeext; then
11017 eval "$as_ac_var=yes"
11018 else
11019 echo "$as_me: failed program was:" >&5
11020 sed 's/^/| /' conftest.$ac_ext >&5
11022 eval "$as_ac_var=no"
11025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11026 conftest$ac_exeext conftest.$ac_ext
11028 ac_res=`eval echo '${'$as_ac_var'}'`
11029 { echo "$as_me:$LINENO: result: $ac_res" >&5
11030 echo "${ECHO_T}$ac_res" >&6; }
11031 if test `eval echo '${'$as_ac_var'}'` = yes; then
11032 cat >>confdefs.h <<_ACEOF
11033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11034 _ACEOF
11037 done
11039 LIBS="$ac_wine_check_funcs_save_LIBS"
11042 FREETYPELIBS=""
11044 FREETYPEINCL=""
11046 # Extract the first word of "freetype-config", so it can be a program name with args.
11047 set dummy freetype-config; ac_word=$2
11048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11050 if test "${ac_cv_prog_ft_devel+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 else
11053 if test -n "$ft_devel"; then
11054 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
11055 else
11056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11057 for as_dir in $PATH
11059 IFS=$as_save_IFS
11060 test -z "$as_dir" && as_dir=.
11061 for ac_exec_ext in '' $ac_executable_extensions; do
11062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11063 ac_cv_prog_ft_devel="freetype-config"
11064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11065 break 2
11067 done
11068 done
11069 IFS=$as_save_IFS
11071 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
11074 ft_devel=$ac_cv_prog_ft_devel
11075 if test -n "$ft_devel"; then
11076 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11077 echo "${ECHO_T}$ft_devel" >&6; }
11078 else
11079 { echo "$as_me:$LINENO: result: no" >&5
11080 echo "${ECHO_T}no" >&6; }
11084 if test "$ft_devel" = "no"
11085 then
11086 # Extract the first word of "freetype2-config", so it can be a program name with args.
11087 set dummy freetype2-config; ac_word=$2
11088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11090 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11091 echo $ECHO_N "(cached) $ECHO_C" >&6
11092 else
11093 if test -n "$ft_devel2"; then
11094 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
11095 else
11096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11097 for as_dir in $PATH
11099 IFS=$as_save_IFS
11100 test -z "$as_dir" && as_dir=.
11101 for ac_exec_ext in '' $ac_executable_extensions; do
11102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11103 ac_cv_prog_ft_devel2="freetype2-config"
11104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11105 break 2
11107 done
11108 done
11109 IFS=$as_save_IFS
11111 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
11114 ft_devel2=$ac_cv_prog_ft_devel2
11115 if test -n "$ft_devel2"; then
11116 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11117 echo "${ECHO_T}$ft_devel2" >&6; }
11118 else
11119 { echo "$as_me:$LINENO: result: no" >&5
11120 echo "${ECHO_T}no" >&6; }
11124 if test "$ft_devel2" = "freetype2-config"
11125 then
11126 ft_devel=$ft_devel2
11130 if test "$ft_devel" = "no"
11131 then
11132 wine_cv_msg_freetype=yes
11133 else
11134 FREETYPELIBS=`$ft_devel --libs`
11135 FREETYPEINCL=`$ft_devel --cflags`
11136 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11137 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11138 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11140 else
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-lfreetype $FREETYPELIBS $LIBS"
11143 cat >conftest.$ac_ext <<_ACEOF
11144 /* confdefs.h. */
11145 _ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11153 #ifdef __cplusplus
11154 extern "C"
11155 #endif
11156 char FT_Init_FreeType ();
11158 main ()
11160 return FT_Init_FreeType ();
11162 return 0;
11164 _ACEOF
11165 rm -f conftest.$ac_objext conftest$ac_exeext
11166 if { (ac_try="$ac_link"
11167 case "(($ac_try" in
11168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11169 *) ac_try_echo=$ac_try;;
11170 esac
11171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11172 (eval "$ac_link") 2>conftest.er1
11173 ac_status=$?
11174 grep -v '^ *+' conftest.er1 >conftest.err
11175 rm -f conftest.er1
11176 cat conftest.err >&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } && {
11179 test -z "$ac_c_werror_flag" ||
11180 test ! -s conftest.err
11181 } && test -s conftest$ac_exeext &&
11182 $as_test_x conftest$ac_exeext; then
11183 ac_cv_lib_freetype_FT_Init_FreeType=yes
11184 else
11185 echo "$as_me: failed program was:" >&5
11186 sed 's/^/| /' conftest.$ac_ext >&5
11188 ac_cv_lib_freetype_FT_Init_FreeType=no
11191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11196 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11197 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11198 ft_lib=yes
11199 else
11200 ft_lib=no
11203 if test "$ft_lib" = "no"
11204 then
11205 wine_cv_msg_freetype=yes
11206 FREETYPELIBS=""
11207 FREETYPEINCL=""
11208 else
11209 ac_save_CPPFLAGS="$CPPFLAGS"
11210 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11222 for ac_header in ft2build.h \
11223 freetype/freetype.h \
11224 freetype/ftglyph.h \
11225 freetype/tttables.h \
11226 freetype/ftnames.h \
11227 freetype/ftsnames.h \
11228 freetype/ttnameid.h \
11229 freetype/ftoutln.h \
11230 freetype/ftwinfnt.h \
11231 freetype/ftmodapi.h \
11232 freetype/internal/sfnt.h
11234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11239 else
11240 cat >conftest.$ac_ext <<_ACEOF
11241 /* confdefs.h. */
11242 _ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11246 #if HAVE_FT2BUILD_H
11247 #include <ft2build.h>
11248 #endif
11250 #include <$ac_header>
11251 _ACEOF
11252 rm -f conftest.$ac_objext
11253 if { (ac_try="$ac_compile"
11254 case "(($ac_try" in
11255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11256 *) ac_try_echo=$ac_try;;
11257 esac
11258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11259 (eval "$ac_compile") 2>conftest.er1
11260 ac_status=$?
11261 grep -v '^ *+' conftest.er1 >conftest.err
11262 rm -f conftest.er1
11263 cat conftest.err >&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } && {
11266 test -z "$ac_c_werror_flag" ||
11267 test ! -s conftest.err
11268 } && test -s conftest.$ac_objext; then
11269 eval "$as_ac_Header=yes"
11270 else
11271 echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.$ac_ext >&5
11274 eval "$as_ac_Header=no"
11277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11279 ac_res=`eval echo '${'$as_ac_Header'}'`
11280 { echo "$as_me:$LINENO: result: $ac_res" >&5
11281 echo "${ECHO_T}$ac_res" >&6; }
11282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11283 cat >>confdefs.h <<_ACEOF
11284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11285 _ACEOF
11289 done
11291 cat >conftest.$ac_ext <<_ACEOF
11292 /* confdefs.h. */
11293 _ACEOF
11294 cat confdefs.h >>conftest.$ac_ext
11295 cat >>conftest.$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <ft2build.h>
11298 #include <freetype/fttrigon.h>
11299 _ACEOF
11300 if { (ac_try="$ac_cpp conftest.$ac_ext"
11301 case "(($ac_try" in
11302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11303 *) ac_try_echo=$ac_try;;
11304 esac
11305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11307 ac_status=$?
11308 grep -v '^ *+' conftest.er1 >conftest.err
11309 rm -f conftest.er1
11310 cat conftest.err >&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } >/dev/null && {
11313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11314 test ! -s conftest.err
11315 }; then
11317 cat >>confdefs.h <<\_ACEOF
11318 #define HAVE_FREETYPE_FTTRIGON_H 1
11319 _ACEOF
11321 wine_cv_fttrigon=yes
11322 else
11323 echo "$as_me: failed program was:" >&5
11324 sed 's/^/| /' conftest.$ac_ext >&5
11326 wine_cv_fttrigon=no
11329 rm -f conftest.err conftest.$ac_ext
11330 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11331 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11332 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335 cat >conftest.$ac_ext <<_ACEOF
11336 /* confdefs.h. */
11337 _ACEOF
11338 cat confdefs.h >>conftest.$ac_ext
11339 cat >>conftest.$ac_ext <<_ACEOF
11340 /* end confdefs.h. */
11341 #include <freetype/ftmodapi.h>
11343 typedef FT_TrueTypeEngineType ac__type_new_;
11345 main ()
11347 if ((ac__type_new_ *) 0)
11348 return 0;
11349 if (sizeof (ac__type_new_))
11350 return 0;
11352 return 0;
11354 _ACEOF
11355 rm -f conftest.$ac_objext
11356 if { (ac_try="$ac_compile"
11357 case "(($ac_try" in
11358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11359 *) ac_try_echo=$ac_try;;
11360 esac
11361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11362 (eval "$ac_compile") 2>conftest.er1
11363 ac_status=$?
11364 grep -v '^ *+' conftest.er1 >conftest.err
11365 rm -f conftest.er1
11366 cat conftest.err >&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } && {
11369 test -z "$ac_c_werror_flag" ||
11370 test ! -s conftest.err
11371 } && test -s conftest.$ac_objext; then
11372 ac_cv_type_FT_TrueTypeEngineType=yes
11373 else
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.$ac_ext >&5
11377 ac_cv_type_FT_TrueTypeEngineType=no
11380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11382 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11383 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11384 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11386 cat >>confdefs.h <<_ACEOF
11387 #define HAVE_FT_TRUETYPEENGINETYPE 1
11388 _ACEOF
11393 ac_save_CFLAGS="$CFLAGS"
11394 CFLAGS="$CFLAGS $FREETYPELIBS"
11396 for ac_func in FT_Load_Sfnt_Table
11398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11403 else
11404 cat >conftest.$ac_ext <<_ACEOF
11405 /* confdefs.h. */
11406 _ACEOF
11407 cat confdefs.h >>conftest.$ac_ext
11408 cat >>conftest.$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11412 #define $ac_func innocuous_$ac_func
11414 /* System header to define __stub macros and hopefully few prototypes,
11415 which can conflict with char $ac_func (); below.
11416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11417 <limits.h> exists even on freestanding compilers. */
11419 #ifdef __STDC__
11420 # include <limits.h>
11421 #else
11422 # include <assert.h>
11423 #endif
11425 #undef $ac_func
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11430 #ifdef __cplusplus
11431 extern "C"
11432 #endif
11433 char $ac_func ();
11434 /* The GNU C library defines this for functions which it implements
11435 to always fail with ENOSYS. Some functions are actually named
11436 something starting with __ and the normal name is an alias. */
11437 #if defined __stub_$ac_func || defined __stub___$ac_func
11438 choke me
11439 #endif
11442 main ()
11444 return $ac_func ();
11446 return 0;
11448 _ACEOF
11449 rm -f conftest.$ac_objext conftest$ac_exeext
11450 if { (ac_try="$ac_link"
11451 case "(($ac_try" in
11452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11453 *) ac_try_echo=$ac_try;;
11454 esac
11455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11456 (eval "$ac_link") 2>conftest.er1
11457 ac_status=$?
11458 grep -v '^ *+' conftest.er1 >conftest.err
11459 rm -f conftest.er1
11460 cat conftest.err >&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } && {
11463 test -z "$ac_c_werror_flag" ||
11464 test ! -s conftest.err
11465 } && test -s conftest$ac_exeext &&
11466 $as_test_x conftest$ac_exeext; then
11467 eval "$as_ac_var=yes"
11468 else
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.$ac_ext >&5
11472 eval "$as_ac_var=no"
11475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11476 conftest$ac_exeext conftest.$ac_ext
11478 ac_res=`eval echo '${'$as_ac_var'}'`
11479 { echo "$as_me:$LINENO: result: $ac_res" >&5
11480 echo "${ECHO_T}$ac_res" >&6; }
11481 if test `eval echo '${'$as_ac_var'}'` = yes; then
11482 cat >>confdefs.h <<_ACEOF
11483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11484 _ACEOF
11487 done
11489 CFLAGS="$ac_save_CFLAGS"
11490 CPPFLAGS="$ac_save_CPPFLAGS"
11491 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11492 then
11494 cat >>confdefs.h <<\_ACEOF
11495 #define HAVE_FREETYPE 1
11496 _ACEOF
11498 wine_cv_msg_freetype=no
11499 else
11500 FREETYPELIBS=""
11501 FREETYPEINCL=""
11502 wine_cv_msg_freetype=yes
11507 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11508 then
11509 FONTSSUBDIRS="fonts"
11513 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11514 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11515 if test "${ac_cv_c_ppdev+set}" = set; then
11516 echo $ECHO_N "(cached) $ECHO_C" >&6
11517 else
11518 cat >conftest.$ac_ext <<_ACEOF
11519 /* confdefs.h. */
11520 _ACEOF
11521 cat confdefs.h >>conftest.$ac_ext
11522 cat >>conftest.$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11524 #include <linux/ppdev.h>
11526 main ()
11528 ioctl (1,PPCLAIM,0)
11530 return 0;
11532 _ACEOF
11533 rm -f conftest.$ac_objext
11534 if { (ac_try="$ac_compile"
11535 case "(($ac_try" in
11536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11537 *) ac_try_echo=$ac_try;;
11538 esac
11539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11540 (eval "$ac_compile") 2>conftest.er1
11541 ac_status=$?
11542 grep -v '^ *+' conftest.er1 >conftest.err
11543 rm -f conftest.er1
11544 cat conftest.err >&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } && {
11547 test -z "$ac_c_werror_flag" ||
11548 test ! -s conftest.err
11549 } && test -s conftest.$ac_objext; then
11550 ac_cv_c_ppdev="yes"
11551 else
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.$ac_ext >&5
11555 ac_cv_c_ppdev="no"
11558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11561 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11562 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11563 if test "$ac_cv_c_ppdev" = "yes"
11564 then
11566 cat >>confdefs.h <<\_ACEOF
11567 #define HAVE_PPDEV 1
11568 _ACEOF
11572 { echo "$as_me:$LINENO: checking for va_copy" >&5
11573 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11574 if test "${ac_cv_c_va_copy+set}" = set; then
11575 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 else
11577 cat >conftest.$ac_ext <<_ACEOF
11578 /* confdefs.h. */
11579 _ACEOF
11580 cat confdefs.h >>conftest.$ac_ext
11581 cat >>conftest.$ac_ext <<_ACEOF
11582 /* end confdefs.h. */
11583 #include <stdarg.h>
11585 main ()
11587 va_list ap1, ap2;
11588 va_copy(ap1,ap2);
11591 return 0;
11593 _ACEOF
11594 rm -f conftest.$ac_objext conftest$ac_exeext
11595 if { (ac_try="$ac_link"
11596 case "(($ac_try" in
11597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11598 *) ac_try_echo=$ac_try;;
11599 esac
11600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11601 (eval "$ac_link") 2>conftest.er1
11602 ac_status=$?
11603 grep -v '^ *+' conftest.er1 >conftest.err
11604 rm -f conftest.er1
11605 cat conftest.err >&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } && {
11608 test -z "$ac_c_werror_flag" ||
11609 test ! -s conftest.err
11610 } && test -s conftest$ac_exeext &&
11611 $as_test_x conftest$ac_exeext; then
11612 ac_cv_c_va_copy="yes"
11613 else
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 ac_cv_c_va_copy="no"
11620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11621 conftest$ac_exeext conftest.$ac_ext
11624 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11625 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11626 if test "$ac_cv_c_va_copy" = "yes"
11627 then
11629 cat >>confdefs.h <<\_ACEOF
11630 #define HAVE_VA_COPY 1
11631 _ACEOF
11634 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11635 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11636 if test "${ac_cv_c___va_copy+set}" = set; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11638 else
11639 cat >conftest.$ac_ext <<_ACEOF
11640 /* confdefs.h. */
11641 _ACEOF
11642 cat confdefs.h >>conftest.$ac_ext
11643 cat >>conftest.$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11645 #include <stdarg.h>
11647 main ()
11649 va_list ap1, ap2;
11650 __va_copy(ap1,ap2);
11653 return 0;
11655 _ACEOF
11656 rm -f conftest.$ac_objext conftest$ac_exeext
11657 if { (ac_try="$ac_link"
11658 case "(($ac_try" in
11659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11660 *) ac_try_echo=$ac_try;;
11661 esac
11662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11663 (eval "$ac_link") 2>conftest.er1
11664 ac_status=$?
11665 grep -v '^ *+' conftest.er1 >conftest.err
11666 rm -f conftest.er1
11667 cat conftest.err >&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } && {
11670 test -z "$ac_c_werror_flag" ||
11671 test ! -s conftest.err
11672 } && test -s conftest$ac_exeext &&
11673 $as_test_x conftest$ac_exeext; then
11674 ac_cv_c___va_copy="yes"
11675 else
11676 echo "$as_me: failed program was:" >&5
11677 sed 's/^/| /' conftest.$ac_ext >&5
11679 ac_cv_c___va_copy="no"
11682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11683 conftest$ac_exeext conftest.$ac_ext
11686 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11687 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11688 if test "$ac_cv_c___va_copy" = "yes"
11689 then
11691 cat >>confdefs.h <<\_ACEOF
11692 #define HAVE___VA_COPY 1
11693 _ACEOF
11697 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11698 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11699 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11700 echo $ECHO_N "(cached) $ECHO_C" >&6
11701 else
11702 cat >conftest.$ac_ext <<_ACEOF
11703 /* confdefs.h. */
11704 _ACEOF
11705 cat confdefs.h >>conftest.$ac_ext
11706 cat >>conftest.$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11708 #include <setjmp.h>
11710 main ()
11712 sigjmp_buf buf;
11713 sigsetjmp( buf, 1 );
11714 siglongjmp( buf, 1 );
11716 return 0;
11718 _ACEOF
11719 rm -f conftest.$ac_objext conftest$ac_exeext
11720 if { (ac_try="$ac_link"
11721 case "(($ac_try" in
11722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11723 *) ac_try_echo=$ac_try;;
11724 esac
11725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11726 (eval "$ac_link") 2>conftest.er1
11727 ac_status=$?
11728 grep -v '^ *+' conftest.er1 >conftest.err
11729 rm -f conftest.er1
11730 cat conftest.err >&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } && {
11733 test -z "$ac_c_werror_flag" ||
11734 test ! -s conftest.err
11735 } && test -s conftest$ac_exeext &&
11736 $as_test_x conftest$ac_exeext; then
11737 ac_cv_c_sigsetjmp="yes"
11738 else
11739 echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.$ac_ext >&5
11742 ac_cv_c_sigsetjmp="no"
11745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11746 conftest$ac_exeext conftest.$ac_ext
11749 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11750 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11751 if test "$ac_cv_c_sigsetjmp" = "yes"
11752 then
11754 cat >>confdefs.h <<\_ACEOF
11755 #define HAVE_SIGSETJMP 1
11756 _ACEOF
11760 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11761 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11762 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11764 else
11765 cat >conftest.$ac_ext <<_ACEOF
11766 /* confdefs.h. */
11767 _ACEOF
11768 cat confdefs.h >>conftest.$ac_ext
11769 cat >>conftest.$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11771 #define _GNU_SOURCE
11772 #include <pthread.h>
11774 typedef pthread_rwlock_t ac__type_new_;
11776 main ()
11778 if ((ac__type_new_ *) 0)
11779 return 0;
11780 if (sizeof (ac__type_new_))
11781 return 0;
11783 return 0;
11785 _ACEOF
11786 rm -f conftest.$ac_objext
11787 if { (ac_try="$ac_compile"
11788 case "(($ac_try" in
11789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11790 *) ac_try_echo=$ac_try;;
11791 esac
11792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11793 (eval "$ac_compile") 2>conftest.er1
11794 ac_status=$?
11795 grep -v '^ *+' conftest.er1 >conftest.err
11796 rm -f conftest.er1
11797 cat conftest.err >&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } && {
11800 test -z "$ac_c_werror_flag" ||
11801 test ! -s conftest.err
11802 } && test -s conftest.$ac_objext; then
11803 ac_cv_type_pthread_rwlock_t=yes
11804 else
11805 echo "$as_me: failed program was:" >&5
11806 sed 's/^/| /' conftest.$ac_ext >&5
11808 ac_cv_type_pthread_rwlock_t=no
11811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11813 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11814 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11815 if test $ac_cv_type_pthread_rwlock_t = yes; then
11817 cat >>confdefs.h <<_ACEOF
11818 #define HAVE_PTHREAD_RWLOCK_T 1
11819 _ACEOF
11823 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11824 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11825 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11826 echo $ECHO_N "(cached) $ECHO_C" >&6
11827 else
11828 cat >conftest.$ac_ext <<_ACEOF
11829 /* confdefs.h. */
11830 _ACEOF
11831 cat confdefs.h >>conftest.$ac_ext
11832 cat >>conftest.$ac_ext <<_ACEOF
11833 /* end confdefs.h. */
11834 #define _GNU_SOURCE
11835 #include <pthread.h>
11837 typedef pthread_rwlockattr_t ac__type_new_;
11839 main ()
11841 if ((ac__type_new_ *) 0)
11842 return 0;
11843 if (sizeof (ac__type_new_))
11844 return 0;
11846 return 0;
11848 _ACEOF
11849 rm -f conftest.$ac_objext
11850 if { (ac_try="$ac_compile"
11851 case "(($ac_try" in
11852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11853 *) ac_try_echo=$ac_try;;
11854 esac
11855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11856 (eval "$ac_compile") 2>conftest.er1
11857 ac_status=$?
11858 grep -v '^ *+' conftest.er1 >conftest.err
11859 rm -f conftest.er1
11860 cat conftest.err >&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } && {
11863 test -z "$ac_c_werror_flag" ||
11864 test ! -s conftest.err
11865 } && test -s conftest.$ac_objext; then
11866 ac_cv_type_pthread_rwlockattr_t=yes
11867 else
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11871 ac_cv_type_pthread_rwlockattr_t=no
11874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11876 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11877 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11878 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11880 cat >>confdefs.h <<_ACEOF
11881 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11882 _ACEOF
11888 ac_wine_check_funcs_save_LIBS="$LIBS"
11889 LIBS="$LIBS $LIBPTHREAD"
11894 for ac_func in \
11895 pthread_attr_get_np \
11896 pthread_getattr_np \
11897 pthread_get_stackaddr_np \
11898 pthread_get_stacksize_np
11900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11905 else
11906 cat >conftest.$ac_ext <<_ACEOF
11907 /* confdefs.h. */
11908 _ACEOF
11909 cat confdefs.h >>conftest.$ac_ext
11910 cat >>conftest.$ac_ext <<_ACEOF
11911 /* end confdefs.h. */
11912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11914 #define $ac_func innocuous_$ac_func
11916 /* System header to define __stub macros and hopefully few prototypes,
11917 which can conflict with char $ac_func (); below.
11918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11919 <limits.h> exists even on freestanding compilers. */
11921 #ifdef __STDC__
11922 # include <limits.h>
11923 #else
11924 # include <assert.h>
11925 #endif
11927 #undef $ac_func
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11932 #ifdef __cplusplus
11933 extern "C"
11934 #endif
11935 char $ac_func ();
11936 /* The GNU C library defines this for functions which it implements
11937 to always fail with ENOSYS. Some functions are actually named
11938 something starting with __ and the normal name is an alias. */
11939 #if defined __stub_$ac_func || defined __stub___$ac_func
11940 choke me
11941 #endif
11944 main ()
11946 return $ac_func ();
11948 return 0;
11950 _ACEOF
11951 rm -f conftest.$ac_objext conftest$ac_exeext
11952 if { (ac_try="$ac_link"
11953 case "(($ac_try" in
11954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11955 *) ac_try_echo=$ac_try;;
11956 esac
11957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11958 (eval "$ac_link") 2>conftest.er1
11959 ac_status=$?
11960 grep -v '^ *+' conftest.er1 >conftest.err
11961 rm -f conftest.er1
11962 cat conftest.err >&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); } && {
11965 test -z "$ac_c_werror_flag" ||
11966 test ! -s conftest.err
11967 } && test -s conftest$ac_exeext &&
11968 $as_test_x conftest$ac_exeext; then
11969 eval "$as_ac_var=yes"
11970 else
11971 echo "$as_me: failed program was:" >&5
11972 sed 's/^/| /' conftest.$ac_ext >&5
11974 eval "$as_ac_var=no"
11977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11978 conftest$ac_exeext conftest.$ac_ext
11980 ac_res=`eval echo '${'$as_ac_var'}'`
11981 { echo "$as_me:$LINENO: result: $ac_res" >&5
11982 echo "${ECHO_T}$ac_res" >&6; }
11983 if test `eval echo '${'$as_ac_var'}'` = yes; then
11984 cat >>confdefs.h <<_ACEOF
11985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11986 _ACEOF
11989 done
11991 LIBS="$ac_wine_check_funcs_save_LIBS"
11993 # Extract the first word of "artsc-config", so it can be a program name with args.
11994 set dummy artsc-config; ac_word=$2
11995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11997 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 else
12000 case $ARTSCCONFIG in
12001 [\\/]* | ?:[\\/]*)
12002 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12006 for as_dir in $PATH
12008 IFS=$as_save_IFS
12009 test -z "$as_dir" && as_dir=.
12010 for ac_exec_ext in '' $ac_executable_extensions; do
12011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12012 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
12013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12014 break 2
12016 done
12017 done
12018 IFS=$as_save_IFS
12021 esac
12023 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
12024 if test -n "$ARTSCCONFIG"; then
12025 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12026 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12027 else
12028 { echo "$as_me:$LINENO: result: no" >&5
12029 echo "${ECHO_T}no" >&6; }
12033 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
12034 then
12035 ARTSC_CFLAGS=""
12036 for i in `$ARTSCCONFIG --cflags`
12038 case "$i" in
12039 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
12040 esac
12041 done
12042 ARTSC_LIBS=""
12043 for i in `$ARTSCCONFIG --libs`
12045 case "$i" in
12046 -L/usr/lib|-L/usr/lib64) ;;
12047 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
12048 esac
12049 done
12050 save_CFLAGS="$CFLAGS"
12051 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
12052 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12053 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12054 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12056 else
12057 ac_check_lib_save_LIBS=$LIBS
12058 LIBS="-lartsc $ARTSC_LIBS $LIBS"
12059 cat >conftest.$ac_ext <<_ACEOF
12060 /* confdefs.h. */
12061 _ACEOF
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12066 /* Override any GCC internal prototype to avoid an error.
12067 Use char because int might match the return type of a GCC
12068 builtin and then its argument prototype would still apply. */
12069 #ifdef __cplusplus
12070 extern "C"
12071 #endif
12072 char arts_init ();
12074 main ()
12076 return arts_init ();
12078 return 0;
12080 _ACEOF
12081 rm -f conftest.$ac_objext conftest$ac_exeext
12082 if { (ac_try="$ac_link"
12083 case "(($ac_try" in
12084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12085 *) ac_try_echo=$ac_try;;
12086 esac
12087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12088 (eval "$ac_link") 2>conftest.er1
12089 ac_status=$?
12090 grep -v '^ *+' conftest.er1 >conftest.err
12091 rm -f conftest.er1
12092 cat conftest.err >&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); } && {
12095 test -z "$ac_c_werror_flag" ||
12096 test ! -s conftest.err
12097 } && test -s conftest$ac_exeext &&
12098 $as_test_x conftest$ac_exeext; then
12099 ac_cv_lib_artsc_arts_init=yes
12100 else
12101 echo "$as_me: failed program was:" >&5
12102 sed 's/^/| /' conftest.$ac_ext >&5
12104 ac_cv_lib_artsc_arts_init=no
12107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12108 conftest$ac_exeext conftest.$ac_ext
12109 LIBS=$ac_check_lib_save_LIBS
12111 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12112 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12113 if test $ac_cv_lib_artsc_arts_init = yes; then
12114 cat >conftest.$ac_ext <<_ACEOF
12115 /* confdefs.h. */
12116 _ACEOF
12117 cat confdefs.h >>conftest.$ac_ext
12118 cat >>conftest.$ac_ext <<_ACEOF
12119 /* end confdefs.h. */
12120 #include <artsc.h>
12122 main ()
12124 arts_stream_t stream;
12126 return 0;
12128 _ACEOF
12129 rm -f conftest.$ac_objext
12130 if { (ac_try="$ac_compile"
12131 case "(($ac_try" in
12132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12133 *) ac_try_echo=$ac_try;;
12134 esac
12135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12136 (eval "$ac_compile") 2>conftest.er1
12137 ac_status=$?
12138 grep -v '^ *+' conftest.er1 >conftest.err
12139 rm -f conftest.er1
12140 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } && {
12143 test -z "$ac_c_werror_flag" ||
12144 test ! -s conftest.err
12145 } && test -s conftest.$ac_objext; then
12146 ARTSLIBS=$ARTSC_LIBS
12148 ARTSINCL=$ARTSC_CFLAGS
12151 cat >>confdefs.h <<\_ACEOF
12152 #define HAVE_ARTS 1
12153 _ACEOF
12155 else
12156 echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.$ac_ext >&5
12162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12165 CFLAGS="$save_CFLAGS"
12168 # Extract the first word of "esd-config", so it can be a program name with args.
12169 set dummy esd-config; ac_word=$2
12170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12172 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12173 echo $ECHO_N "(cached) $ECHO_C" >&6
12174 else
12175 case $ESDCONFIG in
12176 [\\/]* | ?:[\\/]*)
12177 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
12180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12181 for as_dir in $PATH
12183 IFS=$as_save_IFS
12184 test -z "$as_dir" && as_dir=.
12185 for ac_exec_ext in '' $ac_executable_extensions; do
12186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12187 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
12188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12189 break 2
12191 done
12192 done
12193 IFS=$as_save_IFS
12196 esac
12198 ESDCONFIG=$ac_cv_path_ESDCONFIG
12199 if test -n "$ESDCONFIG"; then
12200 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12201 echo "${ECHO_T}$ESDCONFIG" >&6; }
12202 else
12203 { echo "$as_me:$LINENO: result: no" >&5
12204 echo "${ECHO_T}no" >&6; }
12208 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12209 then
12210 ESD_CFLAGS=""
12211 for i in `$ESDCONFIG --cflags`
12213 case "$i" in
12214 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12215 esac
12216 done
12217 ESD_LIBS=`$ESDCONFIG --libs`
12218 save_CFLAGS="$CFLAGS"
12219 CFLAGS="$CFLAGS $ESD_CFLAGS"
12220 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12221 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12222 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12224 else
12225 ac_check_lib_save_LIBS=$LIBS
12226 LIBS="-lesd $LIBS"
12227 cat >conftest.$ac_ext <<_ACEOF
12228 /* confdefs.h. */
12229 _ACEOF
12230 cat confdefs.h >>conftest.$ac_ext
12231 cat >>conftest.$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12237 #ifdef __cplusplus
12238 extern "C"
12239 #endif
12240 char esd_open_sound ();
12242 main ()
12244 return esd_open_sound ();
12246 return 0;
12248 _ACEOF
12249 rm -f conftest.$ac_objext conftest$ac_exeext
12250 if { (ac_try="$ac_link"
12251 case "(($ac_try" in
12252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12253 *) ac_try_echo=$ac_try;;
12254 esac
12255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12256 (eval "$ac_link") 2>conftest.er1
12257 ac_status=$?
12258 grep -v '^ *+' conftest.er1 >conftest.err
12259 rm -f conftest.er1
12260 cat conftest.err >&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } && {
12263 test -z "$ac_c_werror_flag" ||
12264 test ! -s conftest.err
12265 } && test -s conftest$ac_exeext &&
12266 $as_test_x conftest$ac_exeext; then
12267 ac_cv_lib_esd_esd_open_sound=yes
12268 else
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.$ac_ext >&5
12272 ac_cv_lib_esd_esd_open_sound=no
12275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12276 conftest$ac_exeext conftest.$ac_ext
12277 LIBS=$ac_check_lib_save_LIBS
12279 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12280 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12281 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12282 ESDLIBS=$ESD_LIBS
12284 ESDINCL=$ESD_CFLAGS
12287 cat >>confdefs.h <<\_ACEOF
12288 #define HAVE_ESD 1
12289 _ACEOF
12293 CFLAGS="$save_CFLAGS"
12296 ALSALIBS=""
12298 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12299 then
12300 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12301 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12302 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 else
12305 ac_check_lib_save_LIBS=$LIBS
12306 LIBS="-lasound $LIBS"
12307 cat >conftest.$ac_ext <<_ACEOF
12308 /* confdefs.h. */
12309 _ACEOF
12310 cat confdefs.h >>conftest.$ac_ext
12311 cat >>conftest.$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12317 #ifdef __cplusplus
12318 extern "C"
12319 #endif
12320 char snd_pcm_hw_params_get_access ();
12322 main ()
12324 return snd_pcm_hw_params_get_access ();
12326 return 0;
12328 _ACEOF
12329 rm -f conftest.$ac_objext conftest$ac_exeext
12330 if { (ac_try="$ac_link"
12331 case "(($ac_try" in
12332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12333 *) ac_try_echo=$ac_try;;
12334 esac
12335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12336 (eval "$ac_link") 2>conftest.er1
12337 ac_status=$?
12338 grep -v '^ *+' conftest.er1 >conftest.err
12339 rm -f conftest.er1
12340 cat conftest.err >&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } && {
12343 test -z "$ac_c_werror_flag" ||
12344 test ! -s conftest.err
12345 } && test -s conftest$ac_exeext &&
12346 $as_test_x conftest$ac_exeext; then
12347 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12348 else
12349 echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.$ac_ext >&5
12352 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12356 conftest$ac_exeext conftest.$ac_ext
12357 LIBS=$ac_check_lib_save_LIBS
12359 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12360 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12361 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12362 cat >conftest.$ac_ext <<_ACEOF
12363 /* confdefs.h. */
12364 _ACEOF
12365 cat confdefs.h >>conftest.$ac_ext
12366 cat >>conftest.$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12368 #ifdef HAVE_ALSA_ASOUNDLIB_H
12369 #include <alsa/asoundlib.h>
12370 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12371 #include <sys/asoundlib.h>
12372 #endif
12374 main ()
12376 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12378 return 0;
12380 _ACEOF
12381 rm -f conftest.$ac_objext
12382 if { (ac_try="$ac_compile"
12383 case "(($ac_try" in
12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12385 *) ac_try_echo=$ac_try;;
12386 esac
12387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12388 (eval "$ac_compile") 2>conftest.er1
12389 ac_status=$?
12390 grep -v '^ *+' conftest.er1 >conftest.err
12391 rm -f conftest.er1
12392 cat conftest.err >&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } && {
12395 test -z "$ac_c_werror_flag" ||
12396 test ! -s conftest.err
12397 } && test -s conftest.$ac_objext; then
12399 cat >>confdefs.h <<\_ACEOF
12400 #define HAVE_ALSA 1
12401 _ACEOF
12403 ALSALIBS="-lasound"
12404 else
12405 echo "$as_me: failed program was:" >&5
12406 sed 's/^/| /' conftest.$ac_ext >&5
12411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12417 AUDIOIOLIBS=""
12419 if test "$ac_cv_header_libaudioio_h" = "yes"
12420 then
12421 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12422 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12423 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12425 else
12426 ac_check_lib_save_LIBS=$LIBS
12427 LIBS="-laudioio $LIBS"
12428 cat >conftest.$ac_ext <<_ACEOF
12429 /* confdefs.h. */
12430 _ACEOF
12431 cat confdefs.h >>conftest.$ac_ext
12432 cat >>conftest.$ac_ext <<_ACEOF
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12438 #ifdef __cplusplus
12439 extern "C"
12440 #endif
12441 char AudioIOGetVersion ();
12443 main ()
12445 return AudioIOGetVersion ();
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_lib_audioio_AudioIOGetVersion=yes
12469 else
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 ac_cv_lib_audioio_AudioIOGetVersion=no
12476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12477 conftest$ac_exeext conftest.$ac_ext
12478 LIBS=$ac_check_lib_save_LIBS
12480 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12481 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12482 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12483 AUDIOIOLIBS="-laudioio"
12485 cat >>confdefs.h <<\_ACEOF
12486 #define HAVE_LIBAUDIOIO 1
12487 _ACEOF
12494 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12495 then
12496 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12497 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12498 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12500 else
12501 ac_check_lib_save_LIBS=$LIBS
12502 LIBS="-lcapi20 $LIBS"
12503 cat >conftest.$ac_ext <<_ACEOF
12504 /* confdefs.h. */
12505 _ACEOF
12506 cat confdefs.h >>conftest.$ac_ext
12507 cat >>conftest.$ac_ext <<_ACEOF
12508 /* end confdefs.h. */
12510 /* Override any GCC internal prototype to avoid an error.
12511 Use char because int might match the return type of a GCC
12512 builtin and then its argument prototype would still apply. */
12513 #ifdef __cplusplus
12514 extern "C"
12515 #endif
12516 char capi20_register ();
12518 main ()
12520 return capi20_register ();
12522 return 0;
12524 _ACEOF
12525 rm -f conftest.$ac_objext conftest$ac_exeext
12526 if { (ac_try="$ac_link"
12527 case "(($ac_try" in
12528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12529 *) ac_try_echo=$ac_try;;
12530 esac
12531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12532 (eval "$ac_link") 2>conftest.er1
12533 ac_status=$?
12534 grep -v '^ *+' conftest.er1 >conftest.err
12535 rm -f conftest.er1
12536 cat conftest.err >&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } && {
12539 test -z "$ac_c_werror_flag" ||
12540 test ! -s conftest.err
12541 } && test -s conftest$ac_exeext &&
12542 $as_test_x conftest$ac_exeext; then
12543 ac_cv_lib_capi20_capi20_register=yes
12544 else
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.$ac_ext >&5
12548 ac_cv_lib_capi20_capi20_register=no
12551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12552 conftest$ac_exeext conftest.$ac_ext
12553 LIBS=$ac_check_lib_save_LIBS
12555 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12556 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12557 if test $ac_cv_lib_capi20_capi20_register = yes; then
12559 cat >>confdefs.h <<\_ACEOF
12560 #define HAVE_CAPI4LINUX 1
12561 _ACEOF
12568 EXTRACFLAGS=""
12570 if test "x${GCC}" = "xyes"
12571 then
12572 EXTRACFLAGS="-Wall -pipe"
12574 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12575 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12576 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12577 echo $ECHO_N "(cached) $ECHO_C" >&6
12578 else
12579 if test "$cross_compiling" = yes; then
12580 ac_cv_c_gcc_strength_bug="yes"
12581 else
12582 cat >conftest.$ac_ext <<_ACEOF
12583 /* confdefs.h. */
12584 _ACEOF
12585 cat confdefs.h >>conftest.$ac_ext
12586 cat >>conftest.$ac_ext <<_ACEOF
12587 /* end confdefs.h. */
12589 int L[4] = {0,1,2,3};
12590 int main(void) {
12591 static int Array[3];
12592 unsigned int B = 3;
12593 int i;
12594 for(i=0; i<B; i++) Array[i] = i - 3;
12595 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12596 L[i] = 4;
12598 exit( Array[1] != -2 || L[2] != 3);
12600 _ACEOF
12601 rm -f conftest$ac_exeext
12602 if { (ac_try="$ac_link"
12603 case "(($ac_try" in
12604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12605 *) ac_try_echo=$ac_try;;
12606 esac
12607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12608 (eval "$ac_link") 2>&5
12609 ac_status=$?
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12612 { (case "(($ac_try" in
12613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12614 *) ac_try_echo=$ac_try;;
12615 esac
12616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12617 (eval "$ac_try") 2>&5
12618 ac_status=$?
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_c_gcc_strength_bug="no"
12622 else
12623 echo "$as_me: program exited with status $ac_status" >&5
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 ( exit $ac_status )
12628 ac_cv_c_gcc_strength_bug="yes"
12630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12635 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12636 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12637 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12638 then
12639 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12643 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12644 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12645 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12647 else
12648 ac_wine_try_cflags_saved=$CFLAGS
12649 CFLAGS="$CFLAGS -fshort-wchar"
12650 cat >conftest.$ac_ext <<_ACEOF
12651 /* confdefs.h. */
12652 _ACEOF
12653 cat confdefs.h >>conftest.$ac_ext
12654 cat >>conftest.$ac_ext <<_ACEOF
12655 /* end confdefs.h. */
12658 main ()
12662 return 0;
12664 _ACEOF
12665 rm -f conftest.$ac_objext conftest$ac_exeext
12666 if { (ac_try="$ac_link"
12667 case "(($ac_try" in
12668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12669 *) ac_try_echo=$ac_try;;
12670 esac
12671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12672 (eval "$ac_link") 2>conftest.er1
12673 ac_status=$?
12674 grep -v '^ *+' conftest.er1 >conftest.err
12675 rm -f conftest.er1
12676 cat conftest.err >&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } && {
12679 test -z "$ac_c_werror_flag" ||
12680 test ! -s conftest.err
12681 } && test -s conftest$ac_exeext &&
12682 $as_test_x conftest$ac_exeext; then
12683 ac_cv_cflags__fshort_wchar=yes
12684 else
12685 echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.$ac_ext >&5
12688 ac_cv_cflags__fshort_wchar=no
12691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12692 conftest$ac_exeext conftest.$ac_ext
12693 CFLAGS=$ac_wine_try_cflags_saved
12695 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12696 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12697 if test $ac_cv_cflags__fshort_wchar = yes; then
12699 cat >>confdefs.h <<\_ACEOF
12700 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12701 _ACEOF
12705 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12706 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12707 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12709 else
12710 ac_wine_try_cflags_saved=$CFLAGS
12711 CFLAGS="$CFLAGS -fno-strict-aliasing"
12712 cat >conftest.$ac_ext <<_ACEOF
12713 /* confdefs.h. */
12714 _ACEOF
12715 cat confdefs.h >>conftest.$ac_ext
12716 cat >>conftest.$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12720 main ()
12724 return 0;
12726 _ACEOF
12727 rm -f conftest.$ac_objext conftest$ac_exeext
12728 if { (ac_try="$ac_link"
12729 case "(($ac_try" in
12730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12731 *) ac_try_echo=$ac_try;;
12732 esac
12733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12734 (eval "$ac_link") 2>conftest.er1
12735 ac_status=$?
12736 grep -v '^ *+' conftest.er1 >conftest.err
12737 rm -f conftest.er1
12738 cat conftest.err >&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } && {
12741 test -z "$ac_c_werror_flag" ||
12742 test ! -s conftest.err
12743 } && test -s conftest$ac_exeext &&
12744 $as_test_x conftest$ac_exeext; then
12745 ac_cv_cflags__fno_strict_aliasing=yes
12746 else
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.$ac_ext >&5
12750 ac_cv_cflags__fno_strict_aliasing=no
12753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12754 conftest$ac_exeext conftest.$ac_ext
12755 CFLAGS=$ac_wine_try_cflags_saved
12757 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12758 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12759 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12760 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12763 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12764 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12765 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12767 else
12768 ac_wine_try_cflags_saved=$CFLAGS
12769 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12770 cat >conftest.$ac_ext <<_ACEOF
12771 /* confdefs.h. */
12772 _ACEOF
12773 cat confdefs.h >>conftest.$ac_ext
12774 cat >>conftest.$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12778 main ()
12782 return 0;
12784 _ACEOF
12785 rm -f conftest.$ac_objext conftest$ac_exeext
12786 if { (ac_try="$ac_link"
12787 case "(($ac_try" in
12788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12789 *) ac_try_echo=$ac_try;;
12790 esac
12791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12792 (eval "$ac_link") 2>conftest.er1
12793 ac_status=$?
12794 grep -v '^ *+' conftest.er1 >conftest.err
12795 rm -f conftest.er1
12796 cat conftest.err >&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } && {
12799 test -z "$ac_c_werror_flag" ||
12800 test ! -s conftest.err
12801 } && test -s conftest$ac_exeext &&
12802 $as_test_x conftest$ac_exeext; then
12803 ac_cv_cflags__Wdeclaration_after_statement=yes
12804 else
12805 echo "$as_me: failed program was:" >&5
12806 sed 's/^/| /' conftest.$ac_ext >&5
12808 ac_cv_cflags__Wdeclaration_after_statement=no
12811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12812 conftest$ac_exeext conftest.$ac_ext
12813 CFLAGS=$ac_wine_try_cflags_saved
12815 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12816 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12817 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12818 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12821 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12822 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12823 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12824 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 else
12826 ac_wine_try_cflags_saved=$CFLAGS
12827 CFLAGS="$CFLAGS -Wwrite-strings"
12828 cat >conftest.$ac_ext <<_ACEOF
12829 /* confdefs.h. */
12830 _ACEOF
12831 cat confdefs.h >>conftest.$ac_ext
12832 cat >>conftest.$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
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_cflags__Wwrite_strings=yes
12862 else
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12866 ac_cv_cflags__Wwrite_strings=no
12869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12870 conftest$ac_exeext conftest.$ac_ext
12871 CFLAGS=$ac_wine_try_cflags_saved
12873 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12874 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12875 if test $ac_cv_cflags__Wwrite_strings = yes; then
12876 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12880 saved_CFLAGS="$CFLAGS"
12881 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12882 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12883 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12884 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12885 echo $ECHO_N "(cached) $ECHO_C" >&6
12886 else
12887 cat >conftest.$ac_ext <<_ACEOF
12888 /* confdefs.h. */
12889 _ACEOF
12890 cat confdefs.h >>conftest.$ac_ext
12891 cat >>conftest.$ac_ext <<_ACEOF
12892 /* end confdefs.h. */
12893 #include <string.h>
12895 main ()
12899 return 0;
12901 _ACEOF
12902 rm -f conftest.$ac_objext
12903 if { (ac_try="$ac_compile"
12904 case "(($ac_try" in
12905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12906 *) ac_try_echo=$ac_try;;
12907 esac
12908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12909 (eval "$ac_compile") 2>conftest.er1
12910 ac_status=$?
12911 grep -v '^ *+' conftest.er1 >conftest.err
12912 rm -f conftest.er1
12913 cat conftest.err >&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } && {
12916 test -z "$ac_c_werror_flag" ||
12917 test ! -s conftest.err
12918 } && test -s conftest.$ac_objext; then
12919 ac_cv_c_string_h_warnings=no
12920 else
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5
12924 ac_cv_c_string_h_warnings=yes
12927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12929 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12930 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12931 CFLAGS="$saved_CFLAGS"
12932 if test "$ac_cv_c_string_h_warnings" = "no"
12933 then
12934 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12937 BUILTINFLAG=""
12939 saved_CFLAGS="$CFLAGS"
12940 CFLAGS="$CFLAGS -Werror"
12941 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12942 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12943 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12945 else
12946 cat >conftest.$ac_ext <<_ACEOF
12947 /* confdefs.h. */
12948 _ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12954 main ()
12956 int iswlower(unsigned short);
12958 return 0;
12960 _ACEOF
12961 rm -f conftest.$ac_objext
12962 if { (ac_try="$ac_compile"
12963 case "(($ac_try" in
12964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12965 *) ac_try_echo=$ac_try;;
12966 esac
12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12968 (eval "$ac_compile") 2>conftest.er1
12969 ac_status=$?
12970 grep -v '^ *+' conftest.er1 >conftest.err
12971 rm -f conftest.er1
12972 cat conftest.err >&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } && {
12975 test -z "$ac_c_werror_flag" ||
12976 test ! -s conftest.err
12977 } && test -s conftest.$ac_objext; then
12978 ac_cv_c_builtin_wchar_ctype=no
12979 else
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12983 ac_cv_c_builtin_wchar_ctype=yes
12986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12988 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12989 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12990 CFLAGS="$saved_CFLAGS"
12991 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12992 then
12993 BUILTINFLAG="-fno-builtin"
12998 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12999 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
13000 if test "${ac_cv_asm_func_def+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13002 else
13003 cat >conftest.$ac_ext <<_ACEOF
13004 /* confdefs.h. */
13005 _ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13009 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"); }
13012 main ()
13016 return 0;
13018 _ACEOF
13019 rm -f conftest.$ac_objext conftest$ac_exeext
13020 if { (ac_try="$ac_link"
13021 case "(($ac_try" in
13022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13023 *) ac_try_echo=$ac_try;;
13024 esac
13025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13026 (eval "$ac_link") 2>conftest.er1
13027 ac_status=$?
13028 grep -v '^ *+' conftest.er1 >conftest.err
13029 rm -f conftest.er1
13030 cat conftest.err >&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); } && {
13033 test -z "$ac_c_werror_flag" ||
13034 test ! -s conftest.err
13035 } && test -s conftest$ac_exeext &&
13036 $as_test_x conftest$ac_exeext; then
13037 ac_cv_asm_func_def=".def"
13038 else
13039 echo "$as_me: failed program was:" >&5
13040 sed 's/^/| /' conftest.$ac_ext >&5
13042 cat >conftest.$ac_ext <<_ACEOF
13043 /* confdefs.h. */
13044 _ACEOF
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13048 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13051 main ()
13055 return 0;
13057 _ACEOF
13058 rm -f conftest.$ac_objext conftest$ac_exeext
13059 if { (ac_try="$ac_link"
13060 case "(($ac_try" in
13061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13062 *) ac_try_echo=$ac_try;;
13063 esac
13064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13065 (eval "$ac_link") 2>conftest.er1
13066 ac_status=$?
13067 grep -v '^ *+' conftest.er1 >conftest.err
13068 rm -f conftest.er1
13069 cat conftest.err >&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } && {
13072 test -z "$ac_c_werror_flag" ||
13073 test ! -s conftest.err
13074 } && test -s conftest$ac_exeext &&
13075 $as_test_x conftest$ac_exeext; then
13076 ac_cv_asm_func_def=".type @function"
13077 else
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13081 cat >conftest.$ac_ext <<_ACEOF
13082 /* confdefs.h. */
13083 _ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13090 main ()
13094 return 0;
13096 _ACEOF
13097 rm -f conftest.$ac_objext conftest$ac_exeext
13098 if { (ac_try="$ac_link"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13102 esac
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13105 ac_status=$?
13106 grep -v '^ *+' conftest.er1 >conftest.err
13107 rm -f conftest.er1
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest$ac_exeext &&
13114 $as_test_x conftest$ac_exeext; then
13115 ac_cv_asm_func_def=".type 2"
13116 else
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13120 ac_cv_asm_func_def="unknown"
13123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13124 conftest$ac_exeext conftest.$ac_ext
13127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13128 conftest$ac_exeext conftest.$ac_ext
13131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13132 conftest$ac_exeext conftest.$ac_ext
13134 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13135 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13139 case "$ac_cv_asm_func_def" in
13140 ".def")
13141 cat >>confdefs.h <<\_ACEOF
13142 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13143 _ACEOF
13145 ".type @function")
13146 cat >>confdefs.h <<\_ACEOF
13147 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13148 _ACEOF
13150 ".type 2")
13151 cat >>confdefs.h <<\_ACEOF
13152 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13153 _ACEOF
13156 cat >>confdefs.h <<\_ACEOF
13157 #define __ASM_FUNC(name) ""
13158 _ACEOF
13160 esac
13163 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13164 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13165 if test "${ac_cv_c_extern_prefix+set}" = set; then
13166 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 else
13168 cat >conftest.$ac_ext <<_ACEOF
13169 /* confdefs.h. */
13170 _ACEOF
13171 cat confdefs.h >>conftest.$ac_ext
13172 cat >>conftest.$ac_ext <<_ACEOF
13173 /* end confdefs.h. */
13174 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13175 extern int ac_test;
13177 main ()
13179 if (ac_test) return 1
13181 return 0;
13183 _ACEOF
13184 rm -f conftest.$ac_objext conftest$ac_exeext
13185 if { (ac_try="$ac_link"
13186 case "(($ac_try" in
13187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13188 *) ac_try_echo=$ac_try;;
13189 esac
13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13191 (eval "$ac_link") 2>conftest.er1
13192 ac_status=$?
13193 grep -v '^ *+' conftest.er1 >conftest.err
13194 rm -f conftest.er1
13195 cat conftest.err >&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); } && {
13198 test -z "$ac_c_werror_flag" ||
13199 test ! -s conftest.err
13200 } && test -s conftest$ac_exeext &&
13201 $as_test_x conftest$ac_exeext; then
13202 ac_cv_c_extern_prefix="yes"
13203 else
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.$ac_ext >&5
13207 ac_cv_c_extern_prefix="no"
13210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13211 conftest$ac_exeext conftest.$ac_ext
13213 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13214 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13218 if test "$ac_cv_c_extern_prefix" = "yes"
13219 then
13220 cat >>confdefs.h <<\_ACEOF
13221 #define __ASM_NAME(name) "_" name
13222 _ACEOF
13224 else
13225 cat >>confdefs.h <<\_ACEOF
13226 #define __ASM_NAME(name) name
13227 _ACEOF
13232 DLLEXT=""
13234 DLLFLAGS="-D_REENTRANT"
13236 LDSHARED=""
13238 LDDLLFLAGS=""
13240 LIBEXT="so"
13242 IMPLIBEXT="def"
13244 LIBWINE_LDFLAGS=""
13247 case $host_os in
13248 cygwin*|mingw32*)
13249 if test -n "$ac_tool_prefix"; then
13250 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13251 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13254 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13256 else
13257 if test -n "$DLLTOOL"; then
13258 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13259 else
13260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13261 for as_dir in $PATH
13263 IFS=$as_save_IFS
13264 test -z "$as_dir" && as_dir=.
13265 for ac_exec_ext in '' $ac_executable_extensions; do
13266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13267 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13269 break 2
13271 done
13272 done
13273 IFS=$as_save_IFS
13277 DLLTOOL=$ac_cv_prog_DLLTOOL
13278 if test -n "$DLLTOOL"; then
13279 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13280 echo "${ECHO_T}$DLLTOOL" >&6; }
13281 else
13282 { echo "$as_me:$LINENO: result: no" >&5
13283 echo "${ECHO_T}no" >&6; }
13288 if test -z "$ac_cv_prog_DLLTOOL"; then
13289 ac_ct_DLLTOOL=$DLLTOOL
13290 # Extract the first word of "dlltool", so it can be a program name with args.
13291 set dummy dlltool; ac_word=$2
13292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13294 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13296 else
13297 if test -n "$ac_ct_DLLTOOL"; then
13298 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13299 else
13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13301 for as_dir in $PATH
13303 IFS=$as_save_IFS
13304 test -z "$as_dir" && as_dir=.
13305 for ac_exec_ext in '' $ac_executable_extensions; do
13306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13307 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13309 break 2
13311 done
13312 done
13313 IFS=$as_save_IFS
13317 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13318 if test -n "$ac_ct_DLLTOOL"; then
13319 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13320 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13321 else
13322 { echo "$as_me:$LINENO: result: no" >&5
13323 echo "${ECHO_T}no" >&6; }
13326 if test "x$ac_ct_DLLTOOL" = x; then
13327 DLLTOOL="false"
13328 else
13329 case $cross_compiling:$ac_tool_warned in
13330 yes:)
13331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13332 whose name does not start with the host triplet. If you think this
13333 configuration is useful to you, please write to autoconf@gnu.org." >&5
13334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13335 whose name does not start with the host triplet. If you think this
13336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13337 ac_tool_warned=yes ;;
13338 esac
13339 DLLTOOL=$ac_ct_DLLTOOL
13341 else
13342 DLLTOOL="$ac_cv_prog_DLLTOOL"
13345 if test -n "$ac_tool_prefix"; then
13346 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13347 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13350 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13351 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 else
13353 if test -n "$DLLWRAP"; then
13354 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13355 else
13356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13357 for as_dir in $PATH
13359 IFS=$as_save_IFS
13360 test -z "$as_dir" && as_dir=.
13361 for ac_exec_ext in '' $ac_executable_extensions; do
13362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13363 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13365 break 2
13367 done
13368 done
13369 IFS=$as_save_IFS
13373 DLLWRAP=$ac_cv_prog_DLLWRAP
13374 if test -n "$DLLWRAP"; then
13375 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13376 echo "${ECHO_T}$DLLWRAP" >&6; }
13377 else
13378 { echo "$as_me:$LINENO: result: no" >&5
13379 echo "${ECHO_T}no" >&6; }
13384 if test -z "$ac_cv_prog_DLLWRAP"; then
13385 ac_ct_DLLWRAP=$DLLWRAP
13386 # Extract the first word of "dllwrap", so it can be a program name with args.
13387 set dummy dllwrap; ac_word=$2
13388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13390 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13392 else
13393 if test -n "$ac_ct_DLLWRAP"; then
13394 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13395 else
13396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13397 for as_dir in $PATH
13399 IFS=$as_save_IFS
13400 test -z "$as_dir" && as_dir=.
13401 for ac_exec_ext in '' $ac_executable_extensions; do
13402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13403 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13405 break 2
13407 done
13408 done
13409 IFS=$as_save_IFS
13413 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13414 if test -n "$ac_ct_DLLWRAP"; then
13415 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13416 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13417 else
13418 { echo "$as_me:$LINENO: result: no" >&5
13419 echo "${ECHO_T}no" >&6; }
13422 if test "x$ac_ct_DLLWRAP" = x; then
13423 DLLWRAP="false"
13424 else
13425 case $cross_compiling:$ac_tool_warned in
13426 yes:)
13427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13428 whose name does not start with the host triplet. If you think this
13429 configuration is useful to you, please write to autoconf@gnu.org." >&5
13430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13431 whose name does not start with the host triplet. If you think this
13432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13433 ac_tool_warned=yes ;;
13434 esac
13435 DLLWRAP=$ac_ct_DLLWRAP
13437 else
13438 DLLWRAP="$ac_cv_prog_DLLWRAP"
13441 if test -n "$ac_tool_prefix"; then
13442 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13443 set dummy ${ac_tool_prefix}ar; ac_word=$2
13444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13446 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13447 echo $ECHO_N "(cached) $ECHO_C" >&6
13448 else
13449 if test -n "$MINGWAR"; then
13450 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13451 else
13452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13453 for as_dir in $PATH
13455 IFS=$as_save_IFS
13456 test -z "$as_dir" && as_dir=.
13457 for ac_exec_ext in '' $ac_executable_extensions; do
13458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13459 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13461 break 2
13463 done
13464 done
13465 IFS=$as_save_IFS
13469 MINGWAR=$ac_cv_prog_MINGWAR
13470 if test -n "$MINGWAR"; then
13471 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13472 echo "${ECHO_T}$MINGWAR" >&6; }
13473 else
13474 { echo "$as_me:$LINENO: result: no" >&5
13475 echo "${ECHO_T}no" >&6; }
13480 if test -z "$ac_cv_prog_MINGWAR"; then
13481 ac_ct_MINGWAR=$MINGWAR
13482 # Extract the first word of "ar", so it can be a program name with args.
13483 set dummy ar; ac_word=$2
13484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13486 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13487 echo $ECHO_N "(cached) $ECHO_C" >&6
13488 else
13489 if test -n "$ac_ct_MINGWAR"; then
13490 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13491 else
13492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13493 for as_dir in $PATH
13495 IFS=$as_save_IFS
13496 test -z "$as_dir" && as_dir=.
13497 for ac_exec_ext in '' $ac_executable_extensions; do
13498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13499 ac_cv_prog_ac_ct_MINGWAR="ar"
13500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13501 break 2
13503 done
13504 done
13505 IFS=$as_save_IFS
13509 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13510 if test -n "$ac_ct_MINGWAR"; then
13511 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13512 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13513 else
13514 { echo "$as_me:$LINENO: result: no" >&5
13515 echo "${ECHO_T}no" >&6; }
13518 if test "x$ac_ct_MINGWAR" = x; then
13519 MINGWAR="false"
13520 else
13521 case $cross_compiling:$ac_tool_warned in
13522 yes:)
13523 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13524 whose name does not start with the host triplet. If you think this
13525 configuration is useful to you, please write to autoconf@gnu.org." >&5
13526 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13527 whose name does not start with the host triplet. If you think this
13528 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13529 ac_tool_warned=yes ;;
13530 esac
13531 MINGWAR=$ac_ct_MINGWAR
13533 else
13534 MINGWAR="$ac_cv_prog_MINGWAR"
13537 if test "$DLLWRAP" = "false"; then
13538 LIBEXT="a"
13539 else
13540 LIBEXT="dll"
13542 IMPLIBEXT="a"
13543 WIN16_FILES=""
13544 WIN16_INSTALL=""
13546 darwin*|macosx*)
13547 DLLEXT=".so"
13548 LIBEXT="dylib"
13549 DLLFLAGS="$DLLFLAGS -fPIC"
13550 LDDLLFLAGS="-bundle -multiply_defined suppress"
13551 LIBWINE_LDFLAGS="-multiply_defined suppress"
13552 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13553 STRIP="$STRIP -u -r"
13554 COREFOUNDATIONLIB="-framework CoreFoundation"
13556 IOKITLIB="-framework IOKit -framework CoreFoundation"
13558 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13560 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13561 then
13562 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13565 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13566 then
13567 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13570 case $host_cpu in
13571 *powerpc*)
13572 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13573 esac
13574 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13575 then
13576 CARBONLIB="-framework Carbon"
13578 QUARTZFILES='$(QUARTZFILES)'
13582 DLLFLAGS="$DLLFLAGS -fPIC"
13583 DLLEXT=".so"
13584 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13585 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13586 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13588 else
13589 ac_wine_try_cflags_saved=$CFLAGS
13590 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13591 cat >conftest.$ac_ext <<_ACEOF
13592 void myfunc() {}
13593 _ACEOF
13594 rm -f conftest.$ac_objext conftest$ac_exeext
13595 if { (ac_try="$ac_link"
13596 case "(($ac_try" in
13597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13598 *) ac_try_echo=$ac_try;;
13599 esac
13600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13601 (eval "$ac_link") 2>conftest.er1
13602 ac_status=$?
13603 grep -v '^ *+' conftest.er1 >conftest.err
13604 rm -f conftest.er1
13605 cat conftest.err >&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); } && {
13608 test -z "$ac_c_werror_flag" ||
13609 test ! -s conftest.err
13610 } && test -s conftest$ac_exeext &&
13611 $as_test_x conftest$ac_exeext; then
13612 ac_cv_c_dll_gnuelf="yes"
13613 else
13614 echo "$as_me: failed program was:" >&5
13615 sed 's/^/| /' conftest.$ac_ext >&5
13617 ac_cv_c_dll_gnuelf="no"
13620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13621 conftest$ac_exeext conftest.$ac_ext
13622 CFLAGS=$ac_wine_try_cflags_saved
13624 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13625 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13626 if test "$ac_cv_c_dll_gnuelf" = "yes"
13627 then
13628 LDSHARED="\$(CC) -shared"
13629 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13630 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13631 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13632 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 else
13635 ac_wine_try_cflags_saved=$CFLAGS
13636 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13637 cat >conftest.$ac_ext <<_ACEOF
13638 /* confdefs.h. */
13639 _ACEOF
13640 cat confdefs.h >>conftest.$ac_ext
13641 cat >>conftest.$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13645 main ()
13649 return 0;
13651 _ACEOF
13652 rm -f conftest.$ac_objext conftest$ac_exeext
13653 if { (ac_try="$ac_link"
13654 case "(($ac_try" in
13655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13656 *) ac_try_echo=$ac_try;;
13657 esac
13658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13659 (eval "$ac_link") 2>conftest.er1
13660 ac_status=$?
13661 grep -v '^ *+' conftest.er1 >conftest.err
13662 rm -f conftest.er1
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } && {
13666 test -z "$ac_c_werror_flag" ||
13667 test ! -s conftest.err
13668 } && test -s conftest$ac_exeext &&
13669 $as_test_x conftest$ac_exeext; then
13670 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13671 else
13672 echo "$as_me: failed program was:" >&5
13673 sed 's/^/| /' conftest.$ac_ext >&5
13675 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13679 conftest$ac_exeext conftest.$ac_ext
13680 CFLAGS=$ac_wine_try_cflags_saved
13682 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13683 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13684 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13685 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13686 else
13687 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13688 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13689 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6
13691 else
13692 ac_wine_try_cflags_saved=$CFLAGS
13693 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13694 cat >conftest.$ac_ext <<_ACEOF
13695 /* confdefs.h. */
13696 _ACEOF
13697 cat confdefs.h >>conftest.$ac_ext
13698 cat >>conftest.$ac_ext <<_ACEOF
13699 /* end confdefs.h. */
13702 main ()
13706 return 0;
13708 _ACEOF
13709 rm -f conftest.$ac_objext conftest$ac_exeext
13710 if { (ac_try="$ac_link"
13711 case "(($ac_try" in
13712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13713 *) ac_try_echo=$ac_try;;
13714 esac
13715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13716 (eval "$ac_link") 2>conftest.er1
13717 ac_status=$?
13718 grep -v '^ *+' conftest.er1 >conftest.err
13719 rm -f conftest.er1
13720 cat conftest.err >&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } && {
13723 test -z "$ac_c_werror_flag" ||
13724 test ! -s conftest.err
13725 } && test -s conftest$ac_exeext &&
13726 $as_test_x conftest$ac_exeext; then
13727 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13728 else
13729 echo "$as_me: failed program was:" >&5
13730 sed 's/^/| /' conftest.$ac_ext >&5
13732 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13736 conftest$ac_exeext conftest.$ac_ext
13737 CFLAGS=$ac_wine_try_cflags_saved
13739 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13740 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13741 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13742 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13748 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13749 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13750 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13752 else
13753 ac_wine_try_cflags_saved=$CFLAGS
13754 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13755 cat >conftest.$ac_ext <<_ACEOF
13756 /* confdefs.h. */
13757 _ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13763 main ()
13767 return 0;
13769 _ACEOF
13770 rm -f conftest.$ac_objext conftest$ac_exeext
13771 if { (ac_try="$ac_link"
13772 case "(($ac_try" in
13773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13774 *) ac_try_echo=$ac_try;;
13775 esac
13776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13777 (eval "$ac_link") 2>conftest.er1
13778 ac_status=$?
13779 grep -v '^ *+' conftest.er1 >conftest.err
13780 rm -f conftest.er1
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } && {
13784 test -z "$ac_c_werror_flag" ||
13785 test ! -s conftest.err
13786 } && test -s conftest$ac_exeext &&
13787 $as_test_x conftest$ac_exeext; then
13788 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13789 else
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.$ac_ext >&5
13793 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13797 conftest$ac_exeext conftest.$ac_ext
13798 CFLAGS=$ac_wine_try_cflags_saved
13800 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13801 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13802 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13803 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13807 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13808 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13809 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6
13811 else
13812 ac_wine_try_cflags_saved=$CFLAGS
13813 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13814 cat >conftest.$ac_ext <<_ACEOF
13815 /* confdefs.h. */
13816 _ACEOF
13817 cat confdefs.h >>conftest.$ac_ext
13818 cat >>conftest.$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13822 main ()
13826 return 0;
13828 _ACEOF
13829 rm -f conftest.$ac_objext conftest$ac_exeext
13830 if { (ac_try="$ac_link"
13831 case "(($ac_try" in
13832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13833 *) ac_try_echo=$ac_try;;
13834 esac
13835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13836 (eval "$ac_link") 2>conftest.er1
13837 ac_status=$?
13838 grep -v '^ *+' conftest.er1 >conftest.err
13839 rm -f conftest.er1
13840 cat conftest.err >&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } && {
13843 test -z "$ac_c_werror_flag" ||
13844 test ! -s conftest.err
13845 } && test -s conftest$ac_exeext &&
13846 $as_test_x conftest$ac_exeext; then
13847 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13848 else
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13852 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13856 conftest$ac_exeext conftest.$ac_ext
13857 CFLAGS=$ac_wine_try_cflags_saved
13859 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13860 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13861 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13862 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13866 echo '{ global: *; };' >conftest.map
13867 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13868 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13869 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13870 echo $ECHO_N "(cached) $ECHO_C" >&6
13871 else
13872 ac_wine_try_cflags_saved=$CFLAGS
13873 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13874 cat >conftest.$ac_ext <<_ACEOF
13875 /* confdefs.h. */
13876 _ACEOF
13877 cat confdefs.h >>conftest.$ac_ext
13878 cat >>conftest.$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13882 main ()
13886 return 0;
13888 _ACEOF
13889 rm -f conftest.$ac_objext conftest$ac_exeext
13890 if { (ac_try="$ac_link"
13891 case "(($ac_try" in
13892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13893 *) ac_try_echo=$ac_try;;
13894 esac
13895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13896 (eval "$ac_link") 2>conftest.er1
13897 ac_status=$?
13898 grep -v '^ *+' conftest.er1 >conftest.err
13899 rm -f conftest.er1
13900 cat conftest.err >&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } && {
13903 test -z "$ac_c_werror_flag" ||
13904 test ! -s conftest.err
13905 } && test -s conftest$ac_exeext &&
13906 $as_test_x conftest$ac_exeext; then
13907 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13908 else
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.$ac_ext >&5
13912 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13916 conftest$ac_exeext conftest.$ac_ext
13917 CFLAGS=$ac_wine_try_cflags_saved
13919 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13920 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13921 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13922 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13925 rm -f conftest.map
13927 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13928 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13929 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 else
13932 ac_wine_try_cflags_saved=$CFLAGS
13933 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13934 cat >conftest.$ac_ext <<_ACEOF
13935 /* confdefs.h. */
13936 _ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13942 main ()
13946 return 0;
13948 _ACEOF
13949 rm -f conftest.$ac_objext conftest$ac_exeext
13950 if { (ac_try="$ac_link"
13951 case "(($ac_try" in
13952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13953 *) ac_try_echo=$ac_try;;
13954 esac
13955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13956 (eval "$ac_link") 2>conftest.er1
13957 ac_status=$?
13958 grep -v '^ *+' conftest.er1 >conftest.err
13959 rm -f conftest.er1
13960 cat conftest.err >&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); } && {
13963 test -z "$ac_c_werror_flag" ||
13964 test ! -s conftest.err
13965 } && test -s conftest$ac_exeext &&
13966 $as_test_x conftest$ac_exeext; then
13967 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13968 else
13969 echo "$as_me: failed program was:" >&5
13970 sed 's/^/| /' conftest.$ac_ext >&5
13972 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13976 conftest$ac_exeext conftest.$ac_ext
13977 CFLAGS=$ac_wine_try_cflags_saved
13979 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13980 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13981 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13982 LDEXECFLAGS="-Wl,--export-dynamic"
13987 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13988 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13989 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13992 else
13993 ac_wine_try_cflags_saved=$CFLAGS
13994 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13995 cat >conftest.$ac_ext <<_ACEOF
13996 /* confdefs.h. */
13997 _ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14003 main ()
14007 return 0;
14009 _ACEOF
14010 rm -f conftest.$ac_objext conftest$ac_exeext
14011 if { (ac_try="$ac_link"
14012 case "(($ac_try" in
14013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14014 *) ac_try_echo=$ac_try;;
14015 esac
14016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14017 (eval "$ac_link") 2>conftest.er1
14018 ac_status=$?
14019 grep -v '^ *+' conftest.er1 >conftest.err
14020 rm -f conftest.er1
14021 cat conftest.err >&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } && {
14024 test -z "$ac_c_werror_flag" ||
14025 test ! -s conftest.err
14026 } && test -s conftest$ac_exeext &&
14027 $as_test_x conftest$ac_exeext; then
14028 eval "$as_ac_var=yes"
14029 else
14030 echo "$as_me: failed program was:" >&5
14031 sed 's/^/| /' conftest.$ac_ext >&5
14033 eval "$as_ac_var=no"
14036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14037 conftest$ac_exeext conftest.$ac_ext
14038 CFLAGS=$ac_wine_try_cflags_saved
14040 ac_res=`eval echo '${'$as_ac_var'}'`
14041 { echo "$as_me:$LINENO: result: $ac_res" >&5
14042 echo "${ECHO_T}$ac_res" >&6; }
14043 if test `eval echo '${'$as_ac_var'}'` = yes; then
14044 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
14048 case $host_cpu in
14049 *i[3456789]86* | x86_64)
14050 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
14051 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
14052 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
14053 echo $ECHO_N "(cached) $ECHO_C" >&6
14054 else
14055 ac_wine_try_cflags_saved=$CFLAGS
14056 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
14057 cat >conftest.$ac_ext <<_ACEOF
14058 /* confdefs.h. */
14059 _ACEOF
14060 cat confdefs.h >>conftest.$ac_ext
14061 cat >>conftest.$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14065 main ()
14069 return 0;
14071 _ACEOF
14072 rm -f conftest.$ac_objext conftest$ac_exeext
14073 if { (ac_try="$ac_link"
14074 case "(($ac_try" in
14075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14076 *) ac_try_echo=$ac_try;;
14077 esac
14078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14079 (eval "$ac_link") 2>conftest.er1
14080 ac_status=$?
14081 grep -v '^ *+' conftest.er1 >conftest.err
14082 rm -f conftest.er1
14083 cat conftest.err >&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } && {
14086 test -z "$ac_c_werror_flag" ||
14087 test ! -s conftest.err
14088 } && test -s conftest$ac_exeext &&
14089 $as_test_x conftest$ac_exeext; then
14090 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
14091 else
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.$ac_ext >&5
14095 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
14098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14099 conftest$ac_exeext conftest.$ac_ext
14100 CFLAGS=$ac_wine_try_cflags_saved
14102 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
14103 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
14104 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
14105 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14109 esac
14111 else
14112 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14113 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14114 if test "${ac_cv_c_dll_unixware+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14116 else
14117 ac_wine_try_cflags_saved=$CFLAGS
14118 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14119 cat >conftest.$ac_ext <<_ACEOF
14120 void myfunc() {}
14121 _ACEOF
14122 rm -f conftest.$ac_objext conftest$ac_exeext
14123 if { (ac_try="$ac_link"
14124 case "(($ac_try" in
14125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14126 *) ac_try_echo=$ac_try;;
14127 esac
14128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14129 (eval "$ac_link") 2>conftest.er1
14130 ac_status=$?
14131 grep -v '^ *+' conftest.er1 >conftest.err
14132 rm -f conftest.er1
14133 cat conftest.err >&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } && {
14136 test -z "$ac_c_werror_flag" ||
14137 test ! -s conftest.err
14138 } && test -s conftest$ac_exeext &&
14139 $as_test_x conftest$ac_exeext; then
14140 ac_cv_c_dll_unixware="yes"
14141 else
14142 echo "$as_me: failed program was:" >&5
14143 sed 's/^/| /' conftest.$ac_ext >&5
14145 ac_cv_c_dll_unixware="no"
14148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14149 conftest$ac_exeext conftest.$ac_ext
14150 CFLAGS=$ac_wine_try_cflags_saved
14152 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14153 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
14154 if test "$ac_cv_c_dll_unixware" = "yes"
14155 then
14156 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14157 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14159 else
14160 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14161 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
14162 if test "${ac_cv_c_dll_hpux+set}" = set; then
14163 echo $ECHO_N "(cached) $ECHO_C" >&6
14164 else
14165 ac_wine_try_cflags_saved=$CFLAGS
14166 CFLAGS="$CFLAGS -shared"
14167 cat >conftest.$ac_ext <<_ACEOF
14168 void myfunc() {}
14169 _ACEOF
14170 rm -f conftest.$ac_objext conftest$ac_exeext
14171 if { (ac_try="$ac_link"
14172 case "(($ac_try" in
14173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14174 *) ac_try_echo=$ac_try;;
14175 esac
14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14177 (eval "$ac_link") 2>conftest.er1
14178 ac_status=$?
14179 grep -v '^ *+' conftest.er1 >conftest.err
14180 rm -f conftest.er1
14181 cat conftest.err >&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } && {
14184 test -z "$ac_c_werror_flag" ||
14185 test ! -s conftest.err
14186 } && test -s conftest$ac_exeext &&
14187 $as_test_x conftest$ac_exeext; then
14188 ac_cv_c_dll_hpux="yes"
14189 else
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.$ac_ext >&5
14193 ac_cv_c_dll_hpux="no"
14196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14197 conftest$ac_exeext conftest.$ac_ext
14198 CFLAGS=$ac_wine_try_cflags_saved
14200 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14201 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
14202 if test "$ac_cv_c_dll_hpux" = "yes"
14203 then
14204 LIBEXT="sl"
14205 DLLEXT=".sl"
14206 LDDLLFLAGS="-shared -fPIC"
14207 LDSHARED="\$(CC) -shared"
14212 CROSSTEST=""
14214 if test "$cross_compiling" = "no"
14215 then
14216 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14218 # Extract the first word of "$ac_prog", so it can be a program name with args.
14219 set dummy $ac_prog; ac_word=$2
14220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14222 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14224 else
14225 if test -n "$CROSSCC"; then
14226 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14227 else
14228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14229 for as_dir in $PATH
14231 IFS=$as_save_IFS
14232 test -z "$as_dir" && as_dir=.
14233 for ac_exec_ext in '' $ac_executable_extensions; do
14234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14235 ac_cv_prog_CROSSCC="$ac_prog"
14236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14237 break 2
14239 done
14240 done
14241 IFS=$as_save_IFS
14245 CROSSCC=$ac_cv_prog_CROSSCC
14246 if test -n "$CROSSCC"; then
14247 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14248 echo "${ECHO_T}$CROSSCC" >&6; }
14249 else
14250 { echo "$as_me:$LINENO: result: no" >&5
14251 echo "${ECHO_T}no" >&6; }
14255 test -n "$CROSSCC" && break
14256 done
14257 test -n "$CROSSCC" || CROSSCC="false"
14259 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14261 # Extract the first word of "$ac_prog", so it can be a program name with args.
14262 set dummy $ac_prog; ac_word=$2
14263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14265 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14267 else
14268 if test -n "$DLLTOOL"; then
14269 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14270 else
14271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14272 for as_dir in $PATH
14274 IFS=$as_save_IFS
14275 test -z "$as_dir" && as_dir=.
14276 for ac_exec_ext in '' $ac_executable_extensions; do
14277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14278 ac_cv_prog_DLLTOOL="$ac_prog"
14279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14280 break 2
14282 done
14283 done
14284 IFS=$as_save_IFS
14288 DLLTOOL=$ac_cv_prog_DLLTOOL
14289 if test -n "$DLLTOOL"; then
14290 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14291 echo "${ECHO_T}$DLLTOOL" >&6; }
14292 else
14293 { echo "$as_me:$LINENO: result: no" >&5
14294 echo "${ECHO_T}no" >&6; }
14298 test -n "$DLLTOOL" && break
14299 done
14300 test -n "$DLLTOOL" || DLLTOOL="false"
14302 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14304 # Extract the first word of "$ac_prog", so it can be a program name with args.
14305 set dummy $ac_prog; ac_word=$2
14306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14308 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14309 echo $ECHO_N "(cached) $ECHO_C" >&6
14310 else
14311 if test -n "$CROSSWINDRES"; then
14312 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14313 else
14314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14315 for as_dir in $PATH
14317 IFS=$as_save_IFS
14318 test -z "$as_dir" && as_dir=.
14319 for ac_exec_ext in '' $ac_executable_extensions; do
14320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14321 ac_cv_prog_CROSSWINDRES="$ac_prog"
14322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14323 break 2
14325 done
14326 done
14327 IFS=$as_save_IFS
14331 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14332 if test -n "$CROSSWINDRES"; then
14333 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14334 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14335 else
14336 { echo "$as_me:$LINENO: result: no" >&5
14337 echo "${ECHO_T}no" >&6; }
14341 test -n "$CROSSWINDRES" && break
14342 done
14343 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14345 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14347 # Extract the first word of "$ac_prog", so it can be a program name with args.
14348 set dummy $ac_prog; ac_word=$2
14349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14351 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14353 else
14354 if test -n "$MINGWAR"; then
14355 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14356 else
14357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14358 for as_dir in $PATH
14360 IFS=$as_save_IFS
14361 test -z "$as_dir" && as_dir=.
14362 for ac_exec_ext in '' $ac_executable_extensions; do
14363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14364 ac_cv_prog_MINGWAR="$ac_prog"
14365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14366 break 2
14368 done
14369 done
14370 IFS=$as_save_IFS
14374 MINGWAR=$ac_cv_prog_MINGWAR
14375 if test -n "$MINGWAR"; then
14376 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14377 echo "${ECHO_T}$MINGWAR" >&6; }
14378 else
14379 { echo "$as_me:$LINENO: result: no" >&5
14380 echo "${ECHO_T}no" >&6; }
14384 test -n "$MINGWAR" && break
14385 done
14386 test -n "$MINGWAR" || MINGWAR="false"
14388 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14391 esac
14393 if test "$LIBEXT" = "a"; then
14394 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14395 It is currently not possible to build Wine without shared library
14396 (.so) support to allow transparent switch between .so and .dll files.
14397 If you are using Linux, you will need a newer binutils.
14398 " >&5
14399 echo "$as_me: error: could not find a way to build shared libraries.
14400 It is currently not possible to build Wine without shared library
14401 (.so) support to allow transparent switch between .so and .dll files.
14402 If you are using Linux, you will need a newer binutils.
14403 " >&2;}
14404 { (exit 1); exit 1; }; }
14407 case $build_os in
14408 cygwin*|mingw32*)
14409 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14411 darwin*|macosx*)
14412 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14415 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14417 esac
14419 case $host_os in
14420 mingw32*)
14421 CRTLIBS="-lmsvcrt"
14423 SOCKETLIBS="-lws2_32"
14426 esac
14428 MAIN_BINARY="wine-pthread"
14429 case $host_cpu in
14430 *i[3456789]86*)
14431 case $host_os in
14432 linux* | k*bsd*-gnu)
14433 MAIN_BINARY="wine-glibc"
14435 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14437 esac
14439 esac
14442 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14443 then
14444 # Extract the first word of "ldd", so it can be a program name with args.
14445 set dummy ldd; ac_word=$2
14446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14448 if test "${ac_cv_path_LDD+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14450 else
14451 case $LDD in
14452 [\\/]* | ?:[\\/]*)
14453 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14457 as_dummy="/sbin:/usr/sbin:$PATH"
14458 for as_dir in $as_dummy
14460 IFS=$as_save_IFS
14461 test -z "$as_dir" && as_dir=.
14462 for ac_exec_ext in '' $ac_executable_extensions; do
14463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14464 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14466 break 2
14468 done
14469 done
14470 IFS=$as_save_IFS
14472 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14474 esac
14476 LDD=$ac_cv_path_LDD
14477 if test -n "$LDD"; then
14478 { echo "$as_me:$LINENO: result: $LDD" >&5
14479 echo "${ECHO_T}$LDD" >&6; }
14480 else
14481 { echo "$as_me:$LINENO: result: no" >&5
14482 echo "${ECHO_T}no" >&6; }
14486 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14487 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14488 if test "${ac_cv_lib_soname_X11+set}" = set; then
14489 echo $ECHO_N "(cached) $ECHO_C" >&6
14490 else
14491 ac_get_soname_save_LIBS=$LIBS
14492 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14493 cat >conftest.$ac_ext <<_ACEOF
14494 /* confdefs.h. */
14495 _ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14500 /* Override any GCC internal prototype to avoid an error.
14501 Use char because int might match the return type of a GCC
14502 builtin and then its argument prototype would still apply. */
14503 #ifdef __cplusplus
14504 extern "C"
14505 #endif
14506 char XCreateWindow ();
14508 main ()
14510 return XCreateWindow ();
14512 return 0;
14514 _ACEOF
14515 rm -f conftest.$ac_objext conftest$ac_exeext
14516 if { (ac_try="$ac_link"
14517 case "(($ac_try" in
14518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14519 *) ac_try_echo=$ac_try;;
14520 esac
14521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14522 (eval "$ac_link") 2>conftest.er1
14523 ac_status=$?
14524 grep -v '^ *+' conftest.er1 >conftest.err
14525 rm -f conftest.er1
14526 cat conftest.err >&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); } && {
14529 test -z "$ac_c_werror_flag" ||
14530 test ! -s conftest.err
14531 } && test -s conftest$ac_exeext &&
14532 $as_test_x conftest$ac_exeext; then
14533 case "$LIBEXT" in
14534 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'` ;;
14535 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14536 esac
14537 if test "x$ac_cv_lib_soname_X11" = "x"
14538 then
14539 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14541 else
14542 echo "$as_me: failed program was:" >&5
14543 sed 's/^/| /' conftest.$ac_ext >&5
14545 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14549 conftest$ac_exeext conftest.$ac_ext
14550 LIBS=$ac_get_soname_save_LIBS
14552 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14553 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14554 if test "${ac_cv_lib_soname_X11+set}" = set; then
14556 cat >>confdefs.h <<_ACEOF
14557 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14558 _ACEOF
14562 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14563 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14564 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14566 else
14567 ac_get_soname_save_LIBS=$LIBS
14568 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14569 cat >conftest.$ac_ext <<_ACEOF
14570 /* confdefs.h. */
14571 _ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14576 /* Override any GCC internal prototype to avoid an error.
14577 Use char because int might match the return type of a GCC
14578 builtin and then its argument prototype would still apply. */
14579 #ifdef __cplusplus
14580 extern "C"
14581 #endif
14582 char XextCreateExtension ();
14584 main ()
14586 return XextCreateExtension ();
14588 return 0;
14590 _ACEOF
14591 rm -f conftest.$ac_objext conftest$ac_exeext
14592 if { (ac_try="$ac_link"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14596 esac
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_link") 2>conftest.er1
14599 ac_status=$?
14600 grep -v '^ *+' conftest.er1 >conftest.err
14601 rm -f conftest.er1
14602 cat conftest.err >&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } && {
14605 test -z "$ac_c_werror_flag" ||
14606 test ! -s conftest.err
14607 } && test -s conftest$ac_exeext &&
14608 $as_test_x conftest$ac_exeext; then
14609 case "$LIBEXT" in
14610 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'` ;;
14611 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14612 esac
14613 if test "x$ac_cv_lib_soname_Xext" = "x"
14614 then
14615 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14617 else
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.$ac_ext >&5
14621 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14625 conftest$ac_exeext conftest.$ac_ext
14626 LIBS=$ac_get_soname_save_LIBS
14628 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14629 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14630 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14632 cat >>confdefs.h <<_ACEOF
14633 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14634 _ACEOF
14638 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14639 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14640 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14642 else
14643 ac_get_soname_save_LIBS=$LIBS
14644 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14645 cat >conftest.$ac_ext <<_ACEOF
14646 /* confdefs.h. */
14647 _ACEOF
14648 cat confdefs.h >>conftest.$ac_ext
14649 cat >>conftest.$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14655 #ifdef __cplusplus
14656 extern "C"
14657 #endif
14658 char XOpenDevice ();
14660 main ()
14662 return XOpenDevice ();
14664 return 0;
14666 _ACEOF
14667 rm -f conftest.$ac_objext conftest$ac_exeext
14668 if { (ac_try="$ac_link"
14669 case "(($ac_try" in
14670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14671 *) ac_try_echo=$ac_try;;
14672 esac
14673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14674 (eval "$ac_link") 2>conftest.er1
14675 ac_status=$?
14676 grep -v '^ *+' conftest.er1 >conftest.err
14677 rm -f conftest.er1
14678 cat conftest.err >&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } && {
14681 test -z "$ac_c_werror_flag" ||
14682 test ! -s conftest.err
14683 } && test -s conftest$ac_exeext &&
14684 $as_test_x conftest$ac_exeext; then
14685 case "$LIBEXT" in
14686 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'` ;;
14687 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14688 esac
14689 if test "x$ac_cv_lib_soname_Xi" = "x"
14690 then
14691 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14693 else
14694 echo "$as_me: failed program was:" >&5
14695 sed 's/^/| /' conftest.$ac_ext >&5
14697 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14701 conftest$ac_exeext conftest.$ac_ext
14702 LIBS=$ac_get_soname_save_LIBS
14704 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14705 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14706 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14708 cat >>confdefs.h <<_ACEOF
14709 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14710 _ACEOF
14714 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14715 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14716 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 else
14719 ac_get_soname_save_LIBS=$LIBS
14720 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14721 cat >conftest.$ac_ext <<_ACEOF
14722 /* confdefs.h. */
14723 _ACEOF
14724 cat confdefs.h >>conftest.$ac_ext
14725 cat >>conftest.$ac_ext <<_ACEOF
14726 /* end confdefs.h. */
14728 /* Override any GCC internal prototype to avoid an error.
14729 Use char because int might match the return type of a GCC
14730 builtin and then its argument prototype would still apply. */
14731 #ifdef __cplusplus
14732 extern "C"
14733 #endif
14734 char XineramaQueryScreens ();
14736 main ()
14738 return XineramaQueryScreens ();
14740 return 0;
14742 _ACEOF
14743 rm -f conftest.$ac_objext conftest$ac_exeext
14744 if { (ac_try="$ac_link"
14745 case "(($ac_try" in
14746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14747 *) ac_try_echo=$ac_try;;
14748 esac
14749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14750 (eval "$ac_link") 2>conftest.er1
14751 ac_status=$?
14752 grep -v '^ *+' conftest.er1 >conftest.err
14753 rm -f conftest.er1
14754 cat conftest.err >&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } && {
14757 test -z "$ac_c_werror_flag" ||
14758 test ! -s conftest.err
14759 } && test -s conftest$ac_exeext &&
14760 $as_test_x conftest$ac_exeext; then
14761 case "$LIBEXT" in
14762 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'` ;;
14763 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14764 esac
14765 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14766 then
14767 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14769 else
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.$ac_ext >&5
14773 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14777 conftest$ac_exeext conftest.$ac_ext
14778 LIBS=$ac_get_soname_save_LIBS
14780 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14781 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14782 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14784 cat >>confdefs.h <<_ACEOF
14785 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14786 _ACEOF
14790 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14791 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14792 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14793 echo $ECHO_N "(cached) $ECHO_C" >&6
14794 else
14795 ac_get_soname_save_LIBS=$LIBS
14796 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14797 cat >conftest.$ac_ext <<_ACEOF
14798 /* confdefs.h. */
14799 _ACEOF
14800 cat confdefs.h >>conftest.$ac_ext
14801 cat >>conftest.$ac_ext <<_ACEOF
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14807 #ifdef __cplusplus
14808 extern "C"
14809 #endif
14810 char XRenderQueryExtension ();
14812 main ()
14814 return XRenderQueryExtension ();
14816 return 0;
14818 _ACEOF
14819 rm -f conftest.$ac_objext conftest$ac_exeext
14820 if { (ac_try="$ac_link"
14821 case "(($ac_try" in
14822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14823 *) ac_try_echo=$ac_try;;
14824 esac
14825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14826 (eval "$ac_link") 2>conftest.er1
14827 ac_status=$?
14828 grep -v '^ *+' conftest.er1 >conftest.err
14829 rm -f conftest.er1
14830 cat conftest.err >&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } && {
14833 test -z "$ac_c_werror_flag" ||
14834 test ! -s conftest.err
14835 } && test -s conftest$ac_exeext &&
14836 $as_test_x conftest$ac_exeext; then
14837 case "$LIBEXT" in
14838 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'` ;;
14839 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14840 esac
14841 if test "x$ac_cv_lib_soname_Xrender" = "x"
14842 then
14843 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14845 else
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14849 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14853 conftest$ac_exeext conftest.$ac_ext
14854 LIBS=$ac_get_soname_save_LIBS
14856 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14857 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14858 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14860 cat >>confdefs.h <<_ACEOF
14861 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14862 _ACEOF
14866 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14867 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14868 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14869 echo $ECHO_N "(cached) $ECHO_C" >&6
14870 else
14871 ac_get_soname_save_LIBS=$LIBS
14872 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14873 cat >conftest.$ac_ext <<_ACEOF
14874 /* confdefs.h. */
14875 _ACEOF
14876 cat confdefs.h >>conftest.$ac_ext
14877 cat >>conftest.$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14880 /* Override any GCC internal prototype to avoid an error.
14881 Use char because int might match the return type of a GCC
14882 builtin and then its argument prototype would still apply. */
14883 #ifdef __cplusplus
14884 extern "C"
14885 #endif
14886 char XRRQueryExtension ();
14888 main ()
14890 return XRRQueryExtension ();
14892 return 0;
14894 _ACEOF
14895 rm -f conftest.$ac_objext conftest$ac_exeext
14896 if { (ac_try="$ac_link"
14897 case "(($ac_try" in
14898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14899 *) ac_try_echo=$ac_try;;
14900 esac
14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14902 (eval "$ac_link") 2>conftest.er1
14903 ac_status=$?
14904 grep -v '^ *+' conftest.er1 >conftest.err
14905 rm -f conftest.er1
14906 cat conftest.err >&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } && {
14909 test -z "$ac_c_werror_flag" ||
14910 test ! -s conftest.err
14911 } && test -s conftest$ac_exeext &&
14912 $as_test_x conftest$ac_exeext; then
14913 case "$LIBEXT" in
14914 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'` ;;
14915 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14916 esac
14917 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14918 then
14919 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14921 else
14922 echo "$as_me: failed program was:" >&5
14923 sed 's/^/| /' conftest.$ac_ext >&5
14925 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14929 conftest$ac_exeext conftest.$ac_ext
14930 LIBS=$ac_get_soname_save_LIBS
14932 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14933 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14934 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14936 cat >>confdefs.h <<_ACEOF
14937 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14938 _ACEOF
14942 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14943 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14944 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14946 else
14947 ac_get_soname_save_LIBS=$LIBS
14948 LIBS="-lfreetype $X_LIBS $LIBS"
14949 cat >conftest.$ac_ext <<_ACEOF
14950 /* confdefs.h. */
14951 _ACEOF
14952 cat confdefs.h >>conftest.$ac_ext
14953 cat >>conftest.$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14959 #ifdef __cplusplus
14960 extern "C"
14961 #endif
14962 char FT_Init_FreeType ();
14964 main ()
14966 return FT_Init_FreeType ();
14968 return 0;
14970 _ACEOF
14971 rm -f conftest.$ac_objext conftest$ac_exeext
14972 if { (ac_try="$ac_link"
14973 case "(($ac_try" in
14974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14975 *) ac_try_echo=$ac_try;;
14976 esac
14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14978 (eval "$ac_link") 2>conftest.er1
14979 ac_status=$?
14980 grep -v '^ *+' conftest.er1 >conftest.err
14981 rm -f conftest.er1
14982 cat conftest.err >&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } && {
14985 test -z "$ac_c_werror_flag" ||
14986 test ! -s conftest.err
14987 } && test -s conftest$ac_exeext &&
14988 $as_test_x conftest$ac_exeext; then
14989 case "$LIBEXT" in
14990 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'` ;;
14991 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14992 esac
14993 if test "x$ac_cv_lib_soname_freetype" = "x"
14994 then
14995 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14997 else
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.$ac_ext >&5
15001 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
15004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15005 conftest$ac_exeext conftest.$ac_ext
15006 LIBS=$ac_get_soname_save_LIBS
15008 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15009 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15010 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15012 cat >>confdefs.h <<_ACEOF
15013 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15014 _ACEOF
15018 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
15019 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
15020 if test "${ac_cv_lib_soname_GL+set}" = set; then
15021 echo $ECHO_N "(cached) $ECHO_C" >&6
15022 else
15023 ac_get_soname_save_LIBS=$LIBS
15024 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15025 cat >conftest.$ac_ext <<_ACEOF
15026 /* confdefs.h. */
15027 _ACEOF
15028 cat confdefs.h >>conftest.$ac_ext
15029 cat >>conftest.$ac_ext <<_ACEOF
15030 /* end confdefs.h. */
15032 /* Override any GCC internal prototype to avoid an error.
15033 Use char because int might match the return type of a GCC
15034 builtin and then its argument prototype would still apply. */
15035 #ifdef __cplusplus
15036 extern "C"
15037 #endif
15038 char glXQueryExtension ();
15040 main ()
15042 return glXQueryExtension ();
15044 return 0;
15046 _ACEOF
15047 rm -f conftest.$ac_objext conftest$ac_exeext
15048 if { (ac_try="$ac_link"
15049 case "(($ac_try" in
15050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15051 *) ac_try_echo=$ac_try;;
15052 esac
15053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15054 (eval "$ac_link") 2>conftest.er1
15055 ac_status=$?
15056 grep -v '^ *+' conftest.er1 >conftest.err
15057 rm -f conftest.er1
15058 cat conftest.err >&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } && {
15061 test -z "$ac_c_werror_flag" ||
15062 test ! -s conftest.err
15063 } && test -s conftest$ac_exeext &&
15064 $as_test_x conftest$ac_exeext; then
15065 case "$LIBEXT" in
15066 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'` ;;
15067 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15068 esac
15069 if test "x$ac_cv_lib_soname_GL" = "x"
15070 then
15071 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15073 else
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15077 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_get_soname_save_LIBS
15084 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15085 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
15086 if test "${ac_cv_lib_soname_GL+set}" = set; then
15088 cat >>confdefs.h <<_ACEOF
15089 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15090 _ACEOF
15094 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
15095 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
15096 if test "${ac_cv_lib_soname_hal+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15098 else
15099 ac_get_soname_save_LIBS=$LIBS
15100 LIBS="-lhal $LIBS"
15101 cat >conftest.$ac_ext <<_ACEOF
15102 /* confdefs.h. */
15103 _ACEOF
15104 cat confdefs.h >>conftest.$ac_ext
15105 cat >>conftest.$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15108 /* Override any GCC internal prototype to avoid an error.
15109 Use char because int might match the return type of a GCC
15110 builtin and then its argument prototype would still apply. */
15111 #ifdef __cplusplus
15112 extern "C"
15113 #endif
15114 char libhal_ctx_new ();
15116 main ()
15118 return libhal_ctx_new ();
15120 return 0;
15122 _ACEOF
15123 rm -f conftest.$ac_objext conftest$ac_exeext
15124 if { (ac_try="$ac_link"
15125 case "(($ac_try" in
15126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15127 *) ac_try_echo=$ac_try;;
15128 esac
15129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15130 (eval "$ac_link") 2>conftest.er1
15131 ac_status=$?
15132 grep -v '^ *+' conftest.er1 >conftest.err
15133 rm -f conftest.er1
15134 cat conftest.err >&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } && {
15137 test -z "$ac_c_werror_flag" ||
15138 test ! -s conftest.err
15139 } && test -s conftest$ac_exeext &&
15140 $as_test_x conftest$ac_exeext; then
15141 case "$LIBEXT" in
15142 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'` ;;
15143 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15144 esac
15145 if test "x$ac_cv_lib_soname_hal" = "x"
15146 then
15147 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15149 else
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15153 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15157 conftest$ac_exeext conftest.$ac_ext
15158 LIBS=$ac_get_soname_save_LIBS
15160 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15161 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
15162 if test "${ac_cv_lib_soname_hal+set}" = set; then
15164 cat >>confdefs.h <<_ACEOF
15165 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15166 _ACEOF
15170 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15171 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
15172 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 else
15175 ac_get_soname_save_LIBS=$LIBS
15176 LIBS="-ltxc_dxtn $LIBS"
15177 cat >conftest.$ac_ext <<_ACEOF
15178 /* confdefs.h. */
15179 _ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 cat >>conftest.$ac_ext <<_ACEOF
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15187 #ifdef __cplusplus
15188 extern "C"
15189 #endif
15190 char fetch_2d_texel_rgba_dxt1 ();
15192 main ()
15194 return fetch_2d_texel_rgba_dxt1 ();
15196 return 0;
15198 _ACEOF
15199 rm -f conftest.$ac_objext conftest$ac_exeext
15200 if { (ac_try="$ac_link"
15201 case "(($ac_try" in
15202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15203 *) ac_try_echo=$ac_try;;
15204 esac
15205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15206 (eval "$ac_link") 2>conftest.er1
15207 ac_status=$?
15208 grep -v '^ *+' conftest.er1 >conftest.err
15209 rm -f conftest.er1
15210 cat conftest.err >&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } && {
15213 test -z "$ac_c_werror_flag" ||
15214 test ! -s conftest.err
15215 } && test -s conftest$ac_exeext &&
15216 $as_test_x conftest$ac_exeext; then
15217 case "$LIBEXT" in
15218 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'` ;;
15219 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'` ;;
15220 esac
15221 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15222 then
15223 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15225 else
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.$ac_ext >&5
15229 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15233 conftest$ac_exeext conftest.$ac_ext
15234 LIBS=$ac_get_soname_save_LIBS
15236 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15237 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15238 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15240 cat >>confdefs.h <<_ACEOF
15241 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15242 _ACEOF
15246 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15247 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15248 if test "${ac_cv_lib_soname_cups+set}" = set; then
15249 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 else
15251 ac_get_soname_save_LIBS=$LIBS
15252 LIBS="-lcups $LIBS"
15253 cat >conftest.$ac_ext <<_ACEOF
15254 /* confdefs.h. */
15255 _ACEOF
15256 cat confdefs.h >>conftest.$ac_ext
15257 cat >>conftest.$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15260 /* Override any GCC internal prototype to avoid an error.
15261 Use char because int might match the return type of a GCC
15262 builtin and then its argument prototype would still apply. */
15263 #ifdef __cplusplus
15264 extern "C"
15265 #endif
15266 char cupsGetDefault ();
15268 main ()
15270 return cupsGetDefault ();
15272 return 0;
15274 _ACEOF
15275 rm -f conftest.$ac_objext conftest$ac_exeext
15276 if { (ac_try="$ac_link"
15277 case "(($ac_try" in
15278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15279 *) ac_try_echo=$ac_try;;
15280 esac
15281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15282 (eval "$ac_link") 2>conftest.er1
15283 ac_status=$?
15284 grep -v '^ *+' conftest.er1 >conftest.err
15285 rm -f conftest.er1
15286 cat conftest.err >&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } && {
15289 test -z "$ac_c_werror_flag" ||
15290 test ! -s conftest.err
15291 } && test -s conftest$ac_exeext &&
15292 $as_test_x conftest$ac_exeext; then
15293 case "$LIBEXT" in
15294 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'` ;;
15295 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15296 esac
15297 if test "x$ac_cv_lib_soname_cups" = "x"
15298 then
15299 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15301 else
15302 echo "$as_me: failed program was:" >&5
15303 sed 's/^/| /' conftest.$ac_ext >&5
15305 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15309 conftest$ac_exeext conftest.$ac_ext
15310 LIBS=$ac_get_soname_save_LIBS
15312 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15313 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15314 if test "${ac_cv_lib_soname_cups+set}" = set; then
15316 cat >>confdefs.h <<_ACEOF
15317 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15318 _ACEOF
15322 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15323 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15324 if test "${ac_cv_lib_soname_jack+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 else
15327 ac_get_soname_save_LIBS=$LIBS
15328 LIBS="-ljack $LIBS"
15329 cat >conftest.$ac_ext <<_ACEOF
15330 /* confdefs.h. */
15331 _ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15339 #ifdef __cplusplus
15340 extern "C"
15341 #endif
15342 char jack_client_new ();
15344 main ()
15346 return jack_client_new ();
15348 return 0;
15350 _ACEOF
15351 rm -f conftest.$ac_objext conftest$ac_exeext
15352 if { (ac_try="$ac_link"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_link") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest$ac_exeext &&
15368 $as_test_x conftest$ac_exeext; then
15369 case "$LIBEXT" in
15370 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'` ;;
15371 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15372 esac
15373 if test "x$ac_cv_lib_soname_jack" = "x"
15374 then
15375 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15377 else
15378 echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15381 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15385 conftest$ac_exeext conftest.$ac_ext
15386 LIBS=$ac_get_soname_save_LIBS
15388 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15389 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15390 if test "${ac_cv_lib_soname_jack+set}" = set; then
15392 cat >>confdefs.h <<_ACEOF
15393 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15394 _ACEOF
15398 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15399 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15400 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 ac_get_soname_save_LIBS=$LIBS
15404 LIBS="-lfontconfig $LIBS"
15405 cat >conftest.$ac_ext <<_ACEOF
15406 /* confdefs.h. */
15407 _ACEOF
15408 cat confdefs.h >>conftest.$ac_ext
15409 cat >>conftest.$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15415 #ifdef __cplusplus
15416 extern "C"
15417 #endif
15418 char FcInit ();
15420 main ()
15422 return FcInit ();
15424 return 0;
15426 _ACEOF
15427 rm -f conftest.$ac_objext conftest$ac_exeext
15428 if { (ac_try="$ac_link"
15429 case "(($ac_try" in
15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15432 esac
15433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_link") 2>conftest.er1
15435 ac_status=$?
15436 grep -v '^ *+' conftest.er1 >conftest.err
15437 rm -f conftest.er1
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } && {
15441 test -z "$ac_c_werror_flag" ||
15442 test ! -s conftest.err
15443 } && test -s conftest$ac_exeext &&
15444 $as_test_x conftest$ac_exeext; then
15445 case "$LIBEXT" in
15446 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'` ;;
15447 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15448 esac
15449 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15450 then
15451 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15453 else
15454 echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.$ac_ext >&5
15457 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15461 conftest$ac_exeext conftest.$ac_ext
15462 LIBS=$ac_get_soname_save_LIBS
15464 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15465 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15466 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15468 cat >>confdefs.h <<_ACEOF
15469 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15470 _ACEOF
15474 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15475 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15476 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15477 echo $ECHO_N "(cached) $ECHO_C" >&6
15478 else
15479 ac_get_soname_save_LIBS=$LIBS
15480 LIBS="-lssl $LIBS"
15481 cat >conftest.$ac_ext <<_ACEOF
15482 /* confdefs.h. */
15483 _ACEOF
15484 cat confdefs.h >>conftest.$ac_ext
15485 cat >>conftest.$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15488 /* Override any GCC internal prototype to avoid an error.
15489 Use char because int might match the return type of a GCC
15490 builtin and then its argument prototype would still apply. */
15491 #ifdef __cplusplus
15492 extern "C"
15493 #endif
15494 char SSL_library_init ();
15496 main ()
15498 return SSL_library_init ();
15500 return 0;
15502 _ACEOF
15503 rm -f conftest.$ac_objext conftest$ac_exeext
15504 if { (ac_try="$ac_link"
15505 case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15508 esac
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_link") 2>conftest.er1
15511 ac_status=$?
15512 grep -v '^ *+' conftest.er1 >conftest.err
15513 rm -f conftest.er1
15514 cat conftest.err >&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } && {
15517 test -z "$ac_c_werror_flag" ||
15518 test ! -s conftest.err
15519 } && test -s conftest$ac_exeext &&
15520 $as_test_x conftest$ac_exeext; then
15521 case "$LIBEXT" in
15522 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'` ;;
15523 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15524 esac
15525 if test "x$ac_cv_lib_soname_ssl" = "x"
15526 then
15527 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15529 else
15530 echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.$ac_ext >&5
15533 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15537 conftest$ac_exeext conftest.$ac_ext
15538 LIBS=$ac_get_soname_save_LIBS
15540 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15541 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15542 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15544 cat >>confdefs.h <<_ACEOF
15545 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15546 _ACEOF
15550 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15551 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15552 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15555 ac_get_soname_save_LIBS=$LIBS
15556 LIBS="-lcrypto $LIBS"
15557 cat >conftest.$ac_ext <<_ACEOF
15558 /* confdefs.h. */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15564 /* Override any GCC internal prototype to avoid an error.
15565 Use char because int might match the return type of a GCC
15566 builtin and then its argument prototype would still apply. */
15567 #ifdef __cplusplus
15568 extern "C"
15569 #endif
15570 char BIO_new_socket ();
15572 main ()
15574 return BIO_new_socket ();
15576 return 0;
15578 _ACEOF
15579 rm -f conftest.$ac_objext conftest$ac_exeext
15580 if { (ac_try="$ac_link"
15581 case "(($ac_try" in
15582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15583 *) ac_try_echo=$ac_try;;
15584 esac
15585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15586 (eval "$ac_link") 2>conftest.er1
15587 ac_status=$?
15588 grep -v '^ *+' conftest.er1 >conftest.err
15589 rm -f conftest.er1
15590 cat conftest.err >&5
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); } && {
15593 test -z "$ac_c_werror_flag" ||
15594 test ! -s conftest.err
15595 } && test -s conftest$ac_exeext &&
15596 $as_test_x conftest$ac_exeext; then
15597 case "$LIBEXT" in
15598 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'` ;;
15599 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15600 esac
15601 if test "x$ac_cv_lib_soname_crypto" = "x"
15602 then
15603 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15605 else
15606 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.$ac_ext >&5
15609 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15613 conftest$ac_exeext conftest.$ac_ext
15614 LIBS=$ac_get_soname_save_LIBS
15616 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15617 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15618 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15620 cat >>confdefs.h <<_ACEOF
15621 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15622 _ACEOF
15626 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15627 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15628 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15630 else
15631 ac_get_soname_save_LIBS=$LIBS
15632 LIBS="-lncurses $LIBS"
15633 cat >conftest.$ac_ext <<_ACEOF
15634 /* confdefs.h. */
15635 _ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15640 /* Override any GCC internal prototype to avoid an error.
15641 Use char because int might match the return type of a GCC
15642 builtin and then its argument prototype would still apply. */
15643 #ifdef __cplusplus
15644 extern "C"
15645 #endif
15646 char waddch ();
15648 main ()
15650 return waddch ();
15652 return 0;
15654 _ACEOF
15655 rm -f conftest.$ac_objext conftest$ac_exeext
15656 if { (ac_try="$ac_link"
15657 case "(($ac_try" in
15658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15659 *) ac_try_echo=$ac_try;;
15660 esac
15661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15662 (eval "$ac_link") 2>conftest.er1
15663 ac_status=$?
15664 grep -v '^ *+' conftest.er1 >conftest.err
15665 rm -f conftest.er1
15666 cat conftest.err >&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } && {
15669 test -z "$ac_c_werror_flag" ||
15670 test ! -s conftest.err
15671 } && test -s conftest$ac_exeext &&
15672 $as_test_x conftest$ac_exeext; then
15673 case "$LIBEXT" in
15674 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'` ;;
15675 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15676 esac
15677 if test "x$ac_cv_lib_soname_ncurses" = "x"
15678 then
15679 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15681 else
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15685 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15689 conftest$ac_exeext conftest.$ac_ext
15690 LIBS=$ac_get_soname_save_LIBS
15692 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15693 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15694 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15696 cat >>confdefs.h <<_ACEOF
15697 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15698 _ACEOF
15702 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15703 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15704 if test "${ac_cv_lib_soname_curses+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15706 else
15707 ac_get_soname_save_LIBS=$LIBS
15708 LIBS="-lcurses $LIBS"
15709 cat >conftest.$ac_ext <<_ACEOF
15710 /* confdefs.h. */
15711 _ACEOF
15712 cat confdefs.h >>conftest.$ac_ext
15713 cat >>conftest.$ac_ext <<_ACEOF
15714 /* end confdefs.h. */
15716 /* Override any GCC internal prototype to avoid an error.
15717 Use char because int might match the return type of a GCC
15718 builtin and then its argument prototype would still apply. */
15719 #ifdef __cplusplus
15720 extern "C"
15721 #endif
15722 char waddch ();
15724 main ()
15726 return waddch ();
15728 return 0;
15730 _ACEOF
15731 rm -f conftest.$ac_objext conftest$ac_exeext
15732 if { (ac_try="$ac_link"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15736 esac
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_link") 2>conftest.er1
15739 ac_status=$?
15740 grep -v '^ *+' conftest.er1 >conftest.err
15741 rm -f conftest.er1
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest$ac_exeext &&
15748 $as_test_x conftest$ac_exeext; then
15749 case "$LIBEXT" in
15750 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'` ;;
15751 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15752 esac
15753 if test "x$ac_cv_lib_soname_curses" = "x"
15754 then
15755 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15757 else
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.$ac_ext >&5
15761 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15765 conftest$ac_exeext conftest.$ac_ext
15766 LIBS=$ac_get_soname_save_LIBS
15768 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15769 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15770 if test "${ac_cv_lib_soname_curses+set}" = set; then
15772 cat >>confdefs.h <<_ACEOF
15773 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15774 _ACEOF
15778 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15779 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15780 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15782 else
15783 ac_get_soname_save_LIBS=$LIBS
15784 LIBS="-ljpeg $LIBS"
15785 cat >conftest.$ac_ext <<_ACEOF
15786 /* confdefs.h. */
15787 _ACEOF
15788 cat confdefs.h >>conftest.$ac_ext
15789 cat >>conftest.$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15792 /* Override any GCC internal prototype to avoid an error.
15793 Use char because int might match the return type of a GCC
15794 builtin and then its argument prototype would still apply. */
15795 #ifdef __cplusplus
15796 extern "C"
15797 #endif
15798 char jpeg_start_decompress ();
15800 main ()
15802 return jpeg_start_decompress ();
15804 return 0;
15806 _ACEOF
15807 rm -f conftest.$ac_objext conftest$ac_exeext
15808 if { (ac_try="$ac_link"
15809 case "(($ac_try" in
15810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15811 *) ac_try_echo=$ac_try;;
15812 esac
15813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15814 (eval "$ac_link") 2>conftest.er1
15815 ac_status=$?
15816 grep -v '^ *+' conftest.er1 >conftest.err
15817 rm -f conftest.er1
15818 cat conftest.err >&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } && {
15821 test -z "$ac_c_werror_flag" ||
15822 test ! -s conftest.err
15823 } && test -s conftest$ac_exeext &&
15824 $as_test_x conftest$ac_exeext; then
15825 case "$LIBEXT" in
15826 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'` ;;
15827 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15828 esac
15829 if test "x$ac_cv_lib_soname_jpeg" = "x"
15830 then
15831 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15833 else
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15837 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15841 conftest$ac_exeext conftest.$ac_ext
15842 LIBS=$ac_get_soname_save_LIBS
15844 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15845 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15846 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15848 cat >>confdefs.h <<_ACEOF
15849 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15850 _ACEOF
15854 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15855 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15856 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15858 else
15859 ac_get_soname_save_LIBS=$LIBS
15860 LIBS="-lcapi20 $LIBS"
15861 cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h. */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15868 /* Override any GCC internal prototype to avoid an error.
15869 Use char because int might match the return type of a GCC
15870 builtin and then its argument prototype would still apply. */
15871 #ifdef __cplusplus
15872 extern "C"
15873 #endif
15874 char capi20_isinstalled ();
15876 main ()
15878 return capi20_isinstalled ();
15880 return 0;
15882 _ACEOF
15883 rm -f conftest.$ac_objext conftest$ac_exeext
15884 if { (ac_try="$ac_link"
15885 case "(($ac_try" in
15886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15887 *) ac_try_echo=$ac_try;;
15888 esac
15889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15890 (eval "$ac_link") 2>conftest.er1
15891 ac_status=$?
15892 grep -v '^ *+' conftest.er1 >conftest.err
15893 rm -f conftest.er1
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } && {
15897 test -z "$ac_c_werror_flag" ||
15898 test ! -s conftest.err
15899 } && test -s conftest$ac_exeext &&
15900 $as_test_x conftest$ac_exeext; then
15901 case "$LIBEXT" in
15902 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'` ;;
15903 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15904 esac
15905 if test "x$ac_cv_lib_soname_capi20" = "x"
15906 then
15907 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15909 else
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15913 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15917 conftest$ac_exeext conftest.$ac_ext
15918 LIBS=$ac_get_soname_save_LIBS
15920 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15921 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15922 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15924 cat >>confdefs.h <<_ACEOF
15925 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15926 _ACEOF
16005 for ac_func in \
16006 _pclose \
16007 _popen \
16008 _snprintf \
16009 _spawnvp \
16010 _stricmp \
16011 _strnicmp \
16012 _vsnprintf \
16013 asctime_r \
16014 chsize \
16015 clone \
16016 connect \
16017 dlopen \
16018 epoll_create \
16019 ffs \
16020 finite \
16021 fork \
16022 fpclass \
16023 fstatfs \
16024 fstatvfs \
16025 ftruncate \
16026 futimes \
16027 futimesat \
16028 getaddrinfo \
16029 getdirentries \
16030 gethostbyname \
16031 getnameinfo \
16032 getnetbyname \
16033 getopt_long \
16034 getpagesize \
16035 getprotobyname \
16036 getprotobynumber \
16037 getpwuid \
16038 getservbyport \
16039 gettid \
16040 gettimeofday \
16041 getuid \
16042 inet_aton \
16043 inet_network \
16044 kqueue \
16045 lstat \
16046 memmove \
16047 mmap \
16048 pclose \
16049 poll \
16050 popen \
16051 prctl \
16052 pread \
16053 pwrite \
16054 readlink \
16055 rfork \
16056 sched_yield \
16057 select \
16058 sendmsg \
16059 setrlimit \
16060 settimeofday \
16061 sigaltstack \
16062 sigprocmask \
16063 snprintf \
16064 spawnvp \
16065 statfs \
16066 statvfs \
16067 strcasecmp \
16068 strerror \
16069 strncasecmp \
16070 strtold \
16071 tcgetattr \
16072 timegm \
16073 usleep \
16074 vsnprintf \
16075 wait4 \
16076 waitpid \
16079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16084 else
16085 cat >conftest.$ac_ext <<_ACEOF
16086 /* confdefs.h. */
16087 _ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16093 #define $ac_func innocuous_$ac_func
16095 /* System header to define __stub macros and hopefully few prototypes,
16096 which can conflict with char $ac_func (); below.
16097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16098 <limits.h> exists even on freestanding compilers. */
16100 #ifdef __STDC__
16101 # include <limits.h>
16102 #else
16103 # include <assert.h>
16104 #endif
16106 #undef $ac_func
16108 /* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16111 #ifdef __cplusplus
16112 extern "C"
16113 #endif
16114 char $ac_func ();
16115 /* The GNU C library defines this for functions which it implements
16116 to always fail with ENOSYS. Some functions are actually named
16117 something starting with __ and the normal name is an alias. */
16118 #if defined __stub_$ac_func || defined __stub___$ac_func
16119 choke me
16120 #endif
16123 main ()
16125 return $ac_func ();
16127 return 0;
16129 _ACEOF
16130 rm -f conftest.$ac_objext conftest$ac_exeext
16131 if { (ac_try="$ac_link"
16132 case "(($ac_try" in
16133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16134 *) ac_try_echo=$ac_try;;
16135 esac
16136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16137 (eval "$ac_link") 2>conftest.er1
16138 ac_status=$?
16139 grep -v '^ *+' conftest.er1 >conftest.err
16140 rm -f conftest.er1
16141 cat conftest.err >&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } && {
16144 test -z "$ac_c_werror_flag" ||
16145 test ! -s conftest.err
16146 } && test -s conftest$ac_exeext &&
16147 $as_test_x conftest$ac_exeext; then
16148 eval "$as_ac_var=yes"
16149 else
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16153 eval "$as_ac_var=no"
16156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16157 conftest$ac_exeext conftest.$ac_ext
16159 ac_res=`eval echo '${'$as_ac_var'}'`
16160 { echo "$as_me:$LINENO: result: $ac_res" >&5
16161 echo "${ECHO_T}$ac_res" >&6; }
16162 if test `eval echo '${'$as_ac_var'}'` = yes; then
16163 cat >>confdefs.h <<_ACEOF
16164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16165 _ACEOF
16168 done
16171 if test "$ac_cv_func_dlopen" = no
16172 then
16173 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16174 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16175 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 else
16178 ac_check_lib_save_LIBS=$LIBS
16179 LIBS="-ldl $LIBS"
16180 cat >conftest.$ac_ext <<_ACEOF
16181 /* confdefs.h. */
16182 _ACEOF
16183 cat confdefs.h >>conftest.$ac_ext
16184 cat >>conftest.$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16187 /* Override any GCC internal prototype to avoid an error.
16188 Use char because int might match the return type of a GCC
16189 builtin and then its argument prototype would still apply. */
16190 #ifdef __cplusplus
16191 extern "C"
16192 #endif
16193 char dlopen ();
16195 main ()
16197 return dlopen ();
16199 return 0;
16201 _ACEOF
16202 rm -f conftest.$ac_objext conftest$ac_exeext
16203 if { (ac_try="$ac_link"
16204 case "(($ac_try" in
16205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16206 *) ac_try_echo=$ac_try;;
16207 esac
16208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16209 (eval "$ac_link") 2>conftest.er1
16210 ac_status=$?
16211 grep -v '^ *+' conftest.er1 >conftest.err
16212 rm -f conftest.er1
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } && {
16216 test -z "$ac_c_werror_flag" ||
16217 test ! -s conftest.err
16218 } && test -s conftest$ac_exeext &&
16219 $as_test_x conftest$ac_exeext; then
16220 ac_cv_lib_dl_dlopen=yes
16221 else
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.$ac_ext >&5
16225 ac_cv_lib_dl_dlopen=no
16228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16229 conftest$ac_exeext conftest.$ac_ext
16230 LIBS=$ac_check_lib_save_LIBS
16232 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16233 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16234 if test $ac_cv_lib_dl_dlopen = yes; then
16235 cat >>confdefs.h <<\_ACEOF
16236 #define HAVE_DLOPEN 1
16237 _ACEOF
16238 LIBDL="-ldl"
16243 ac_wine_check_funcs_save_LIBS="$LIBS"
16244 LIBS="$LIBS $LIBDL"
16246 for ac_func in dladdr
16248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16249 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16251 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16253 else
16254 cat >conftest.$ac_ext <<_ACEOF
16255 /* confdefs.h. */
16256 _ACEOF
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16262 #define $ac_func innocuous_$ac_func
16264 /* System header to define __stub macros and hopefully few prototypes,
16265 which can conflict with char $ac_func (); below.
16266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16267 <limits.h> exists even on freestanding compilers. */
16269 #ifdef __STDC__
16270 # include <limits.h>
16271 #else
16272 # include <assert.h>
16273 #endif
16275 #undef $ac_func
16277 /* Override any GCC internal prototype to avoid an error.
16278 Use char because int might match the return type of a GCC
16279 builtin and then its argument prototype would still apply. */
16280 #ifdef __cplusplus
16281 extern "C"
16282 #endif
16283 char $ac_func ();
16284 /* The GNU C library defines this for functions which it implements
16285 to always fail with ENOSYS. Some functions are actually named
16286 something starting with __ and the normal name is an alias. */
16287 #if defined __stub_$ac_func || defined __stub___$ac_func
16288 choke me
16289 #endif
16292 main ()
16294 return $ac_func ();
16296 return 0;
16298 _ACEOF
16299 rm -f conftest.$ac_objext conftest$ac_exeext
16300 if { (ac_try="$ac_link"
16301 case "(($ac_try" in
16302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16303 *) ac_try_echo=$ac_try;;
16304 esac
16305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16306 (eval "$ac_link") 2>conftest.er1
16307 ac_status=$?
16308 grep -v '^ *+' conftest.er1 >conftest.err
16309 rm -f conftest.er1
16310 cat conftest.err >&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } && {
16313 test -z "$ac_c_werror_flag" ||
16314 test ! -s conftest.err
16315 } && test -s conftest$ac_exeext &&
16316 $as_test_x conftest$ac_exeext; then
16317 eval "$as_ac_var=yes"
16318 else
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.$ac_ext >&5
16322 eval "$as_ac_var=no"
16325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16326 conftest$ac_exeext conftest.$ac_ext
16328 ac_res=`eval echo '${'$as_ac_var'}'`
16329 { echo "$as_me:$LINENO: result: $ac_res" >&5
16330 echo "${ECHO_T}$ac_res" >&6; }
16331 if test `eval echo '${'$as_ac_var'}'` = yes; then
16332 cat >>confdefs.h <<_ACEOF
16333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16334 _ACEOF
16337 done
16339 LIBS="$ac_wine_check_funcs_save_LIBS"
16341 if test "$ac_cv_func_poll" = no
16342 then
16343 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16344 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16345 if test "${ac_cv_lib_poll_poll+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16347 else
16348 ac_check_lib_save_LIBS=$LIBS
16349 LIBS="-lpoll $LIBS"
16350 cat >conftest.$ac_ext <<_ACEOF
16351 /* confdefs.h. */
16352 _ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16357 /* Override any GCC internal prototype to avoid an error.
16358 Use char because int might match the return type of a GCC
16359 builtin and then its argument prototype would still apply. */
16360 #ifdef __cplusplus
16361 extern "C"
16362 #endif
16363 char poll ();
16365 main ()
16367 return poll ();
16369 return 0;
16371 _ACEOF
16372 rm -f conftest.$ac_objext conftest$ac_exeext
16373 if { (ac_try="$ac_link"
16374 case "(($ac_try" in
16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16377 esac
16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16379 (eval "$ac_link") 2>conftest.er1
16380 ac_status=$?
16381 grep -v '^ *+' conftest.er1 >conftest.err
16382 rm -f conftest.er1
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } && {
16386 test -z "$ac_c_werror_flag" ||
16387 test ! -s conftest.err
16388 } && test -s conftest$ac_exeext &&
16389 $as_test_x conftest$ac_exeext; then
16390 ac_cv_lib_poll_poll=yes
16391 else
16392 echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.$ac_ext >&5
16395 ac_cv_lib_poll_poll=no
16398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16399 conftest$ac_exeext conftest.$ac_ext
16400 LIBS=$ac_check_lib_save_LIBS
16402 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16403 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16404 if test $ac_cv_lib_poll_poll = yes; then
16405 cat >>confdefs.h <<\_ACEOF
16406 #define HAVE_POLL 1
16407 _ACEOF
16408 LIBPOLL="-lpoll"
16414 if test "$ac_cv_func_gethostbyname" = no
16415 then
16417 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16418 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16419 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16420 echo $ECHO_N "(cached) $ECHO_C" >&6
16421 else
16422 ac_check_lib_save_LIBS=$LIBS
16423 LIBS="-lnsl $LIBS"
16424 cat >conftest.$ac_ext <<_ACEOF
16425 /* confdefs.h. */
16426 _ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16431 /* Override any GCC internal prototype to avoid an error.
16432 Use char because int might match the return type of a GCC
16433 builtin and then its argument prototype would still apply. */
16434 #ifdef __cplusplus
16435 extern "C"
16436 #endif
16437 char gethostbyname ();
16439 main ()
16441 return gethostbyname ();
16443 return 0;
16445 _ACEOF
16446 rm -f conftest.$ac_objext conftest$ac_exeext
16447 if { (ac_try="$ac_link"
16448 case "(($ac_try" in
16449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16450 *) ac_try_echo=$ac_try;;
16451 esac
16452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16453 (eval "$ac_link") 2>conftest.er1
16454 ac_status=$?
16455 grep -v '^ *+' conftest.er1 >conftest.err
16456 rm -f conftest.er1
16457 cat conftest.err >&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } && {
16460 test -z "$ac_c_werror_flag" ||
16461 test ! -s conftest.err
16462 } && test -s conftest$ac_exeext &&
16463 $as_test_x conftest$ac_exeext; then
16464 ac_cv_lib_nsl_gethostbyname=yes
16465 else
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16469 ac_cv_lib_nsl_gethostbyname=no
16472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16473 conftest$ac_exeext conftest.$ac_ext
16474 LIBS=$ac_check_lib_save_LIBS
16476 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16477 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16478 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_LIBNSL 1
16481 _ACEOF
16483 LIBS="-lnsl $LIBS"
16489 if test "$ac_cv_func_connect" = no
16490 then
16492 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16493 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16494 if test "${ac_cv_lib_socket_connect+set}" = set; then
16495 echo $ECHO_N "(cached) $ECHO_C" >&6
16496 else
16497 ac_check_lib_save_LIBS=$LIBS
16498 LIBS="-lsocket $LIBS"
16499 cat >conftest.$ac_ext <<_ACEOF
16500 /* confdefs.h. */
16501 _ACEOF
16502 cat confdefs.h >>conftest.$ac_ext
16503 cat >>conftest.$ac_ext <<_ACEOF
16504 /* end confdefs.h. */
16506 /* Override any GCC internal prototype to avoid an error.
16507 Use char because int might match the return type of a GCC
16508 builtin and then its argument prototype would still apply. */
16509 #ifdef __cplusplus
16510 extern "C"
16511 #endif
16512 char connect ();
16514 main ()
16516 return connect ();
16518 return 0;
16520 _ACEOF
16521 rm -f conftest.$ac_objext conftest$ac_exeext
16522 if { (ac_try="$ac_link"
16523 case "(($ac_try" in
16524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16525 *) ac_try_echo=$ac_try;;
16526 esac
16527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16528 (eval "$ac_link") 2>conftest.er1
16529 ac_status=$?
16530 grep -v '^ *+' conftest.er1 >conftest.err
16531 rm -f conftest.er1
16532 cat conftest.err >&5
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); } && {
16535 test -z "$ac_c_werror_flag" ||
16536 test ! -s conftest.err
16537 } && test -s conftest$ac_exeext &&
16538 $as_test_x conftest$ac_exeext; then
16539 ac_cv_lib_socket_connect=yes
16540 else
16541 echo "$as_me: failed program was:" >&5
16542 sed 's/^/| /' conftest.$ac_ext >&5
16544 ac_cv_lib_socket_connect=no
16547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16548 conftest$ac_exeext conftest.$ac_ext
16549 LIBS=$ac_check_lib_save_LIBS
16551 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16552 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16553 if test $ac_cv_lib_socket_connect = yes; then
16554 cat >>confdefs.h <<_ACEOF
16555 #define HAVE_LIBSOCKET 1
16556 _ACEOF
16558 LIBS="-lsocket $LIBS"
16564 if test "$ac_cv_func_inet_aton" = no
16565 then
16567 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16568 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16569 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lresolv $LIBS"
16574 cat >conftest.$ac_ext <<_ACEOF
16575 /* confdefs.h. */
16576 _ACEOF
16577 cat confdefs.h >>conftest.$ac_ext
16578 cat >>conftest.$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16581 /* Override any GCC internal prototype to avoid an error.
16582 Use char because int might match the return type of a GCC
16583 builtin and then its argument prototype would still apply. */
16584 #ifdef __cplusplus
16585 extern "C"
16586 #endif
16587 char inet_aton ();
16589 main ()
16591 return inet_aton ();
16593 return 0;
16595 _ACEOF
16596 rm -f conftest.$ac_objext conftest$ac_exeext
16597 if { (ac_try="$ac_link"
16598 case "(($ac_try" in
16599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16600 *) ac_try_echo=$ac_try;;
16601 esac
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16603 (eval "$ac_link") 2>conftest.er1
16604 ac_status=$?
16605 grep -v '^ *+' conftest.er1 >conftest.err
16606 rm -f conftest.er1
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } && {
16610 test -z "$ac_c_werror_flag" ||
16611 test ! -s conftest.err
16612 } && test -s conftest$ac_exeext &&
16613 $as_test_x conftest$ac_exeext; then
16614 ac_cv_lib_resolv_inet_aton=yes
16615 else
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.$ac_ext >&5
16619 ac_cv_lib_resolv_inet_aton=no
16622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16623 conftest$ac_exeext conftest.$ac_ext
16624 LIBS=$ac_check_lib_save_LIBS
16626 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16627 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16628 if test $ac_cv_lib_resolv_inet_aton = yes; then
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_LIBRESOLV 1
16631 _ACEOF
16633 LIBS="-lresolv $LIBS"
16640 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16641 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16642 if test "${ac_cv_c_const+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16644 else
16645 cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h. */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16653 main ()
16655 /* FIXME: Include the comments suggested by Paul. */
16656 #ifndef __cplusplus
16657 /* Ultrix mips cc rejects this. */
16658 typedef int charset[2];
16659 const charset cs;
16660 /* SunOS 4.1.1 cc rejects this. */
16661 char const *const *pcpcc;
16662 char **ppc;
16663 /* NEC SVR4.0.2 mips cc rejects this. */
16664 struct point {int x, y;};
16665 static struct point const zero = {0,0};
16666 /* AIX XL C 1.02.0.0 rejects this.
16667 It does not let you subtract one const X* pointer from another in
16668 an arm of an if-expression whose if-part is not a constant
16669 expression */
16670 const char *g = "string";
16671 pcpcc = &g + (g ? g-g : 0);
16672 /* HPUX 7.0 cc rejects these. */
16673 ++pcpcc;
16674 ppc = (char**) pcpcc;
16675 pcpcc = (char const *const *) ppc;
16676 { /* SCO 3.2v4 cc rejects this. */
16677 char *t;
16678 char const *s = 0 ? (char *) 0 : (char const *) 0;
16680 *t++ = 0;
16681 if (s) return 0;
16683 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16684 int x[] = {25, 17};
16685 const int *foo = &x[0];
16686 ++foo;
16688 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16689 typedef const int *iptr;
16690 iptr p = 0;
16691 ++p;
16693 { /* AIX XL C 1.02.0.0 rejects this saying
16694 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16695 struct s { int j; const int *ap[3]; };
16696 struct s *b; b->j = 5;
16698 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16699 const int foo = 10;
16700 if (!foo) return 0;
16702 return !cs[0] && !zero.x;
16703 #endif
16706 return 0;
16708 _ACEOF
16709 rm -f conftest.$ac_objext
16710 if { (ac_try="$ac_compile"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16713 *) ac_try_echo=$ac_try;;
16714 esac
16715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16717 ac_status=$?
16718 grep -v '^ *+' conftest.er1 >conftest.err
16719 rm -f conftest.er1
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_c_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.$ac_objext; then
16726 ac_cv_c_const=yes
16727 else
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16731 ac_cv_c_const=no
16734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16736 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16737 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16738 if test $ac_cv_c_const = no; then
16740 cat >>confdefs.h <<\_ACEOF
16741 #define const
16742 _ACEOF
16746 { echo "$as_me:$LINENO: checking for inline" >&5
16747 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16748 if test "${ac_cv_c_inline+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16750 else
16751 ac_cv_c_inline=no
16752 for ac_kw in inline __inline__ __inline; do
16753 cat >conftest.$ac_ext <<_ACEOF
16754 /* confdefs.h. */
16755 _ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 #ifndef __cplusplus
16760 typedef int foo_t;
16761 static $ac_kw foo_t static_foo () {return 0; }
16762 $ac_kw foo_t foo () {return 0; }
16763 #endif
16765 _ACEOF
16766 rm -f conftest.$ac_objext
16767 if { (ac_try="$ac_compile"
16768 case "(($ac_try" in
16769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16771 esac
16772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_compile") 2>conftest.er1
16774 ac_status=$?
16775 grep -v '^ *+' conftest.er1 >conftest.err
16776 rm -f conftest.er1
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } && {
16780 test -z "$ac_c_werror_flag" ||
16781 test ! -s conftest.err
16782 } && test -s conftest.$ac_objext; then
16783 ac_cv_c_inline=$ac_kw
16784 else
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.$ac_ext >&5
16791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16792 test "$ac_cv_c_inline" != no && break
16793 done
16796 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16797 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16800 case $ac_cv_c_inline in
16801 inline | yes) ;;
16803 case $ac_cv_c_inline in
16804 no) ac_val=;;
16805 *) ac_val=$ac_cv_c_inline;;
16806 esac
16807 cat >>confdefs.h <<_ACEOF
16808 #ifndef __cplusplus
16809 #define inline $ac_val
16810 #endif
16811 _ACEOF
16813 esac
16815 { echo "$as_me:$LINENO: checking for mode_t" >&5
16816 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16817 if test "${ac_cv_type_mode_t+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16819 else
16820 cat >conftest.$ac_ext <<_ACEOF
16821 /* confdefs.h. */
16822 _ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16827 typedef mode_t ac__type_new_;
16829 main ()
16831 if ((ac__type_new_ *) 0)
16832 return 0;
16833 if (sizeof (ac__type_new_))
16834 return 0;
16836 return 0;
16838 _ACEOF
16839 rm -f conftest.$ac_objext
16840 if { (ac_try="$ac_compile"
16841 case "(($ac_try" in
16842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16843 *) ac_try_echo=$ac_try;;
16844 esac
16845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16846 (eval "$ac_compile") 2>conftest.er1
16847 ac_status=$?
16848 grep -v '^ *+' conftest.er1 >conftest.err
16849 rm -f conftest.er1
16850 cat conftest.err >&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } && {
16853 test -z "$ac_c_werror_flag" ||
16854 test ! -s conftest.err
16855 } && test -s conftest.$ac_objext; then
16856 ac_cv_type_mode_t=yes
16857 else
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.$ac_ext >&5
16861 ac_cv_type_mode_t=no
16864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16866 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16867 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16868 if test $ac_cv_type_mode_t = yes; then
16870 cat >>confdefs.h <<_ACEOF
16871 #define HAVE_MODE_T 1
16872 _ACEOF
16876 { echo "$as_me:$LINENO: checking for off_t" >&5
16877 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16878 if test "${ac_cv_type_off_t+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16880 else
16881 cat >conftest.$ac_ext <<_ACEOF
16882 /* confdefs.h. */
16883 _ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 $ac_includes_default
16888 typedef off_t ac__type_new_;
16890 main ()
16892 if ((ac__type_new_ *) 0)
16893 return 0;
16894 if (sizeof (ac__type_new_))
16895 return 0;
16897 return 0;
16899 _ACEOF
16900 rm -f conftest.$ac_objext
16901 if { (ac_try="$ac_compile"
16902 case "(($ac_try" in
16903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16904 *) ac_try_echo=$ac_try;;
16905 esac
16906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16907 (eval "$ac_compile") 2>conftest.er1
16908 ac_status=$?
16909 grep -v '^ *+' conftest.er1 >conftest.err
16910 rm -f conftest.er1
16911 cat conftest.err >&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } && {
16914 test -z "$ac_c_werror_flag" ||
16915 test ! -s conftest.err
16916 } && test -s conftest.$ac_objext; then
16917 ac_cv_type_off_t=yes
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16922 ac_cv_type_off_t=no
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16927 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16928 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16929 if test $ac_cv_type_off_t = yes; then
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_OFF_T 1
16933 _ACEOF
16937 { echo "$as_me:$LINENO: checking for pid_t" >&5
16938 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16939 if test "${ac_cv_type_pid_t+set}" = set; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 else
16942 cat >conftest.$ac_ext <<_ACEOF
16943 /* confdefs.h. */
16944 _ACEOF
16945 cat confdefs.h >>conftest.$ac_ext
16946 cat >>conftest.$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 $ac_includes_default
16949 typedef pid_t ac__type_new_;
16951 main ()
16953 if ((ac__type_new_ *) 0)
16954 return 0;
16955 if (sizeof (ac__type_new_))
16956 return 0;
16958 return 0;
16960 _ACEOF
16961 rm -f conftest.$ac_objext
16962 if { (ac_try="$ac_compile"
16963 case "(($ac_try" in
16964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16965 *) ac_try_echo=$ac_try;;
16966 esac
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_compile") 2>conftest.er1
16969 ac_status=$?
16970 grep -v '^ *+' conftest.er1 >conftest.err
16971 rm -f conftest.er1
16972 cat conftest.err >&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } && {
16975 test -z "$ac_c_werror_flag" ||
16976 test ! -s conftest.err
16977 } && test -s conftest.$ac_objext; then
16978 ac_cv_type_pid_t=yes
16979 else
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.$ac_ext >&5
16983 ac_cv_type_pid_t=no
16986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16989 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16990 if test $ac_cv_type_pid_t = yes; then
16992 cat >>confdefs.h <<_ACEOF
16993 #define HAVE_PID_T 1
16994 _ACEOF
16998 { echo "$as_me:$LINENO: checking for size_t" >&5
16999 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17000 if test "${ac_cv_type_size_t+set}" = set; then
17001 echo $ECHO_N "(cached) $ECHO_C" >&6
17002 else
17003 cat >conftest.$ac_ext <<_ACEOF
17004 /* confdefs.h. */
17005 _ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 $ac_includes_default
17010 typedef size_t ac__type_new_;
17012 main ()
17014 if ((ac__type_new_ *) 0)
17015 return 0;
17016 if (sizeof (ac__type_new_))
17017 return 0;
17019 return 0;
17021 _ACEOF
17022 rm -f conftest.$ac_objext
17023 if { (ac_try="$ac_compile"
17024 case "(($ac_try" in
17025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17026 *) ac_try_echo=$ac_try;;
17027 esac
17028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17029 (eval "$ac_compile") 2>conftest.er1
17030 ac_status=$?
17031 grep -v '^ *+' conftest.er1 >conftest.err
17032 rm -f conftest.er1
17033 cat conftest.err >&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); } && {
17036 test -z "$ac_c_werror_flag" ||
17037 test ! -s conftest.err
17038 } && test -s conftest.$ac_objext; then
17039 ac_cv_type_size_t=yes
17040 else
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.$ac_ext >&5
17044 ac_cv_type_size_t=no
17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17050 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17051 if test $ac_cv_type_size_t = yes; then
17053 cat >>confdefs.h <<_ACEOF
17054 #define HAVE_SIZE_T 1
17055 _ACEOF
17059 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17060 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17061 if test "${ac_cv_type_ssize_t+set}" = set; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17063 else
17064 cat >conftest.$ac_ext <<_ACEOF
17065 /* confdefs.h. */
17066 _ACEOF
17067 cat confdefs.h >>conftest.$ac_ext
17068 cat >>conftest.$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070 $ac_includes_default
17071 typedef ssize_t ac__type_new_;
17073 main ()
17075 if ((ac__type_new_ *) 0)
17076 return 0;
17077 if (sizeof (ac__type_new_))
17078 return 0;
17080 return 0;
17082 _ACEOF
17083 rm -f conftest.$ac_objext
17084 if { (ac_try="$ac_compile"
17085 case "(($ac_try" in
17086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17087 *) ac_try_echo=$ac_try;;
17088 esac
17089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17090 (eval "$ac_compile") 2>conftest.er1
17091 ac_status=$?
17092 grep -v '^ *+' conftest.er1 >conftest.err
17093 rm -f conftest.er1
17094 cat conftest.err >&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); } && {
17097 test -z "$ac_c_werror_flag" ||
17098 test ! -s conftest.err
17099 } && test -s conftest.$ac_objext; then
17100 ac_cv_type_ssize_t=yes
17101 else
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 ac_cv_type_ssize_t=no
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17111 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17112 if test $ac_cv_type_ssize_t = yes; then
17114 cat >>confdefs.h <<_ACEOF
17115 #define HAVE_SSIZE_T 1
17116 _ACEOF
17120 { echo "$as_me:$LINENO: checking for long long" >&5
17121 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17122 if test "${ac_cv_type_long_long+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17124 else
17125 cat >conftest.$ac_ext <<_ACEOF
17126 /* confdefs.h. */
17127 _ACEOF
17128 cat confdefs.h >>conftest.$ac_ext
17129 cat >>conftest.$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131 $ac_includes_default
17132 typedef long long ac__type_new_;
17134 main ()
17136 if ((ac__type_new_ *) 0)
17137 return 0;
17138 if (sizeof (ac__type_new_))
17139 return 0;
17141 return 0;
17143 _ACEOF
17144 rm -f conftest.$ac_objext
17145 if { (ac_try="$ac_compile"
17146 case "(($ac_try" in
17147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17148 *) ac_try_echo=$ac_try;;
17149 esac
17150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151 (eval "$ac_compile") 2>conftest.er1
17152 ac_status=$?
17153 grep -v '^ *+' conftest.er1 >conftest.err
17154 rm -f conftest.er1
17155 cat conftest.err >&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && {
17158 test -z "$ac_c_werror_flag" ||
17159 test ! -s conftest.err
17160 } && test -s conftest.$ac_objext; then
17161 ac_cv_type_long_long=yes
17162 else
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17166 ac_cv_type_long_long=no
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17172 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17173 if test $ac_cv_type_long_long = yes; then
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_LONG_LONG 1
17177 _ACEOF
17181 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17182 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17183 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 else
17186 cat >conftest.$ac_ext <<_ACEOF
17187 /* confdefs.h. */
17188 _ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17193 typedef fsblkcnt_t ac__type_new_;
17195 main ()
17197 if ((ac__type_new_ *) 0)
17198 return 0;
17199 if (sizeof (ac__type_new_))
17200 return 0;
17202 return 0;
17204 _ACEOF
17205 rm -f conftest.$ac_objext
17206 if { (ac_try="$ac_compile"
17207 case "(($ac_try" in
17208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17209 *) ac_try_echo=$ac_try;;
17210 esac
17211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17212 (eval "$ac_compile") 2>conftest.er1
17213 ac_status=$?
17214 grep -v '^ *+' conftest.er1 >conftest.err
17215 rm -f conftest.er1
17216 cat conftest.err >&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } && {
17219 test -z "$ac_c_werror_flag" ||
17220 test ! -s conftest.err
17221 } && test -s conftest.$ac_objext; then
17222 ac_cv_type_fsblkcnt_t=yes
17223 else
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17227 ac_cv_type_fsblkcnt_t=no
17230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17232 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17233 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17234 if test $ac_cv_type_fsblkcnt_t = yes; then
17236 cat >>confdefs.h <<_ACEOF
17237 #define HAVE_FSBLKCNT_T 1
17238 _ACEOF
17242 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17243 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17244 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17245 echo $ECHO_N "(cached) $ECHO_C" >&6
17246 else
17247 cat >conftest.$ac_ext <<_ACEOF
17248 /* confdefs.h. */
17249 _ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 $ac_includes_default
17254 typedef fsfilcnt_t ac__type_new_;
17256 main ()
17258 if ((ac__type_new_ *) 0)
17259 return 0;
17260 if (sizeof (ac__type_new_))
17261 return 0;
17263 return 0;
17265 _ACEOF
17266 rm -f conftest.$ac_objext
17267 if { (ac_try="$ac_compile"
17268 case "(($ac_try" in
17269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17270 *) ac_try_echo=$ac_try;;
17271 esac
17272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17273 (eval "$ac_compile") 2>conftest.er1
17274 ac_status=$?
17275 grep -v '^ *+' conftest.er1 >conftest.err
17276 rm -f conftest.er1
17277 cat conftest.err >&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } && {
17280 test -z "$ac_c_werror_flag" ||
17281 test ! -s conftest.err
17282 } && test -s conftest.$ac_objext; then
17283 ac_cv_type_fsfilcnt_t=yes
17284 else
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.$ac_ext >&5
17288 ac_cv_type_fsfilcnt_t=no
17291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17293 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17294 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17295 if test $ac_cv_type_fsfilcnt_t = yes; then
17297 cat >>confdefs.h <<_ACEOF
17298 #define HAVE_FSFILCNT_T 1
17299 _ACEOF
17304 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17305 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17306 if test "${ac_cv_type_sigset_t+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 else
17309 cat >conftest.$ac_ext <<_ACEOF
17310 /* confdefs.h. */
17311 _ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 #include <signal.h>
17317 typedef sigset_t ac__type_new_;
17319 main ()
17321 if ((ac__type_new_ *) 0)
17322 return 0;
17323 if (sizeof (ac__type_new_))
17324 return 0;
17326 return 0;
17328 _ACEOF
17329 rm -f conftest.$ac_objext
17330 if { (ac_try="$ac_compile"
17331 case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17334 esac
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_compile") 2>conftest.er1
17337 ac_status=$?
17338 grep -v '^ *+' conftest.er1 >conftest.err
17339 rm -f conftest.er1
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_c_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest.$ac_objext; then
17346 ac_cv_type_sigset_t=yes
17347 else
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17351 ac_cv_type_sigset_t=no
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17357 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17358 if test $ac_cv_type_sigset_t = yes; then
17360 cat >>confdefs.h <<_ACEOF
17361 #define HAVE_SIGSET_T 1
17362 _ACEOF
17367 { echo "$as_me:$LINENO: checking for request_sense" >&5
17368 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17369 if test "${ac_cv_type_request_sense+set}" = set; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 else
17372 cat >conftest.$ac_ext <<_ACEOF
17373 /* confdefs.h. */
17374 _ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h. */
17378 #include <linux/cdrom.h>
17380 typedef request_sense ac__type_new_;
17382 main ()
17384 if ((ac__type_new_ *) 0)
17385 return 0;
17386 if (sizeof (ac__type_new_))
17387 return 0;
17389 return 0;
17391 _ACEOF
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17397 esac
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17400 ac_status=$?
17401 grep -v '^ *+' conftest.er1 >conftest.err
17402 rm -f conftest.er1
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_c_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 ac_cv_type_request_sense=yes
17410 else
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 ac_cv_type_request_sense=no
17417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17420 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17421 if test $ac_cv_type_request_sense = yes; then
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_REQUEST_SENSE 1
17425 _ACEOF
17431 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17432 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17433 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17434 echo $ECHO_N "(cached) $ECHO_C" >&6
17435 else
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 #ifdef HAVE_LINUX_INPUT_H
17443 #include <linux/input.h>
17444 #endif
17447 main ()
17449 static struct ff_effect ac_aggr;
17450 if (ac_aggr.direction)
17451 return 0;
17453 return 0;
17455 _ACEOF
17456 rm -f conftest.$ac_objext
17457 if { (ac_try="$ac_compile"
17458 case "(($ac_try" in
17459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17460 *) ac_try_echo=$ac_try;;
17461 esac
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_compile") 2>conftest.er1
17464 ac_status=$?
17465 grep -v '^ *+' conftest.er1 >conftest.err
17466 rm -f conftest.er1
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } && {
17470 test -z "$ac_c_werror_flag" ||
17471 test ! -s conftest.err
17472 } && test -s conftest.$ac_objext; then
17473 ac_cv_member_struct_ff_effect_direction=yes
17474 else
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17478 cat >conftest.$ac_ext <<_ACEOF
17479 /* confdefs.h. */
17480 _ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 #ifdef HAVE_LINUX_INPUT_H
17485 #include <linux/input.h>
17486 #endif
17489 main ()
17491 static struct ff_effect ac_aggr;
17492 if (sizeof ac_aggr.direction)
17493 return 0;
17495 return 0;
17497 _ACEOF
17498 rm -f conftest.$ac_objext
17499 if { (ac_try="$ac_compile"
17500 case "(($ac_try" in
17501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17502 *) ac_try_echo=$ac_try;;
17503 esac
17504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17505 (eval "$ac_compile") 2>conftest.er1
17506 ac_status=$?
17507 grep -v '^ *+' conftest.er1 >conftest.err
17508 rm -f conftest.er1
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } && {
17512 test -z "$ac_c_werror_flag" ||
17513 test ! -s conftest.err
17514 } && test -s conftest.$ac_objext; then
17515 ac_cv_member_struct_ff_effect_direction=yes
17516 else
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17520 ac_cv_member_struct_ff_effect_direction=no
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17529 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17530 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17532 cat >>confdefs.h <<_ACEOF
17533 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17534 _ACEOF
17540 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17541 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17542 if test "${wine_cv_have_sigaddset+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. */
17551 #include <signal.h>
17553 main ()
17555 sigset_t set; sigaddset(&set,SIGTERM);
17557 return 0;
17559 _ACEOF
17560 rm -f conftest.$ac_objext conftest$ac_exeext
17561 if { (ac_try="$ac_link"
17562 case "(($ac_try" in
17563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17564 *) ac_try_echo=$ac_try;;
17565 esac
17566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17567 (eval "$ac_link") 2>conftest.er1
17568 ac_status=$?
17569 grep -v '^ *+' conftest.er1 >conftest.err
17570 rm -f conftest.er1
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } && {
17574 test -z "$ac_c_werror_flag" ||
17575 test ! -s conftest.err
17576 } && test -s conftest$ac_exeext &&
17577 $as_test_x conftest$ac_exeext; then
17578 wine_cv_have_sigaddset=yes
17579 else
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17583 wine_cv_have_sigaddset=no
17586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17587 conftest$ac_exeext conftest.$ac_ext
17589 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17590 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17591 if test "$wine_cv_have_sigaddset" = "yes"
17592 then
17594 cat >>confdefs.h <<\_ACEOF
17595 #define HAVE_SIGADDSET 1
17596 _ACEOF
17601 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17602 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17603 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17605 else
17606 cat >conftest.$ac_ext <<_ACEOF
17607 /* confdefs.h. */
17608 _ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17613 #include <netdb.h>
17616 main ()
17619 char *name=NULL;
17620 struct hostent he;
17621 struct hostent *result;
17622 char *buf=NULL;
17623 int bufsize=0;
17624 int res,errnr;
17625 char *addr=NULL;
17626 int addrlen=0;
17627 int addrtype=0;
17628 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17629 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17632 return 0;
17634 _ACEOF
17635 rm -f conftest.$ac_objext conftest$ac_exeext
17636 if { (ac_try="$ac_link"
17637 case "(($ac_try" in
17638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17639 *) ac_try_echo=$ac_try;;
17640 esac
17641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17642 (eval "$ac_link") 2>conftest.er1
17643 ac_status=$?
17644 grep -v '^ *+' conftest.er1 >conftest.err
17645 rm -f conftest.er1
17646 cat conftest.err >&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } && {
17649 test -z "$ac_c_werror_flag" ||
17650 test ! -s conftest.err
17651 } && test -s conftest$ac_exeext &&
17652 $as_test_x conftest$ac_exeext; then
17653 wine_cv_linux_gethostbyname_r_6=yes
17654 else
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17658 wine_cv_linux_gethostbyname_r_6=no
17662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17663 conftest$ac_exeext conftest.$ac_ext
17666 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17667 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17668 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17669 then
17671 cat >>confdefs.h <<\_ACEOF
17672 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17673 _ACEOF
17677 if test "$ac_cv_header_linux_joystick_h" = "yes"
17678 then
17679 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17680 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17681 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 else
17684 cat >conftest.$ac_ext <<_ACEOF
17685 /* confdefs.h. */
17686 _ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17691 #include <sys/ioctl.h>
17692 #include <linux/joystick.h>
17694 struct js_event blub;
17695 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17696 #error "no 2.2 header"
17697 #endif
17700 main ()
17702 /*empty*/
17704 return 0;
17706 _ACEOF
17707 rm -f conftest.$ac_objext
17708 if { (ac_try="$ac_compile"
17709 case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17712 esac
17713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_compile") 2>conftest.er1
17715 ac_status=$?
17716 grep -v '^ *+' conftest.er1 >conftest.err
17717 rm -f conftest.er1
17718 cat conftest.err >&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } && {
17721 test -z "$ac_c_werror_flag" ||
17722 test ! -s conftest.err
17723 } && test -s conftest.$ac_objext; then
17724 wine_cv_linux_joystick_22_api=yes
17725 else
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17729 wine_cv_linux_joystick_22_api=no
17732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17736 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17737 if test "$wine_cv_linux_joystick_22_api" = "yes"
17738 then
17740 cat >>confdefs.h <<\_ACEOF
17741 #define HAVE_LINUX_22_JOYSTICK_API 1
17742 _ACEOF
17748 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17749 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17750 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17752 else
17753 cat >conftest.$ac_ext <<_ACEOF
17754 /* confdefs.h. */
17755 _ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759 #include <sys/types.h>
17760 #ifdef HAVE_SYS_PARAM_H
17761 # include <sys/param.h>
17762 #endif
17763 #ifdef HAVE_SYS_MOUNT_H
17764 # include <sys/mount.h>
17765 #endif
17766 #ifdef HAVE_SYS_VFS_H
17767 # include <sys/vfs.h>
17768 #endif
17769 #ifdef HAVE_SYS_STATFS_H
17770 # include <sys/statfs.h>
17771 #endif
17774 main ()
17776 static struct statfs ac_aggr;
17777 if (ac_aggr.f_bfree)
17778 return 0;
17780 return 0;
17782 _ACEOF
17783 rm -f conftest.$ac_objext
17784 if { (ac_try="$ac_compile"
17785 case "(($ac_try" in
17786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17787 *) ac_try_echo=$ac_try;;
17788 esac
17789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17790 (eval "$ac_compile") 2>conftest.er1
17791 ac_status=$?
17792 grep -v '^ *+' conftest.er1 >conftest.err
17793 rm -f conftest.er1
17794 cat conftest.err >&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); } && {
17797 test -z "$ac_c_werror_flag" ||
17798 test ! -s conftest.err
17799 } && test -s conftest.$ac_objext; then
17800 ac_cv_member_struct_statfs_f_bfree=yes
17801 else
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17805 cat >conftest.$ac_ext <<_ACEOF
17806 /* confdefs.h. */
17807 _ACEOF
17808 cat confdefs.h >>conftest.$ac_ext
17809 cat >>conftest.$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17811 #include <sys/types.h>
17812 #ifdef HAVE_SYS_PARAM_H
17813 # include <sys/param.h>
17814 #endif
17815 #ifdef HAVE_SYS_MOUNT_H
17816 # include <sys/mount.h>
17817 #endif
17818 #ifdef HAVE_SYS_VFS_H
17819 # include <sys/vfs.h>
17820 #endif
17821 #ifdef HAVE_SYS_STATFS_H
17822 # include <sys/statfs.h>
17823 #endif
17826 main ()
17828 static struct statfs ac_aggr;
17829 if (sizeof ac_aggr.f_bfree)
17830 return 0;
17832 return 0;
17834 _ACEOF
17835 rm -f conftest.$ac_objext
17836 if { (ac_try="$ac_compile"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17840 esac
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_compile") 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest.$ac_objext; then
17852 ac_cv_member_struct_statfs_f_bfree=yes
17853 else
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17857 ac_cv_member_struct_statfs_f_bfree=no
17860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17865 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17866 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17867 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17869 cat >>confdefs.h <<_ACEOF
17870 #define HAVE_STRUCT_STATFS_F_BFREE 1
17871 _ACEOF
17875 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17876 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17877 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17879 else
17880 cat >conftest.$ac_ext <<_ACEOF
17881 /* confdefs.h. */
17882 _ACEOF
17883 cat confdefs.h >>conftest.$ac_ext
17884 cat >>conftest.$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886 #include <sys/types.h>
17887 #ifdef HAVE_SYS_PARAM_H
17888 # include <sys/param.h>
17889 #endif
17890 #ifdef HAVE_SYS_MOUNT_H
17891 # include <sys/mount.h>
17892 #endif
17893 #ifdef HAVE_SYS_VFS_H
17894 # include <sys/vfs.h>
17895 #endif
17896 #ifdef HAVE_SYS_STATFS_H
17897 # include <sys/statfs.h>
17898 #endif
17901 main ()
17903 static struct statfs ac_aggr;
17904 if (ac_aggr.f_bavail)
17905 return 0;
17907 return 0;
17909 _ACEOF
17910 rm -f conftest.$ac_objext
17911 if { (ac_try="$ac_compile"
17912 case "(($ac_try" in
17913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17914 *) ac_try_echo=$ac_try;;
17915 esac
17916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 (eval "$ac_compile") 2>conftest.er1
17918 ac_status=$?
17919 grep -v '^ *+' conftest.er1 >conftest.err
17920 rm -f conftest.er1
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } && {
17924 test -z "$ac_c_werror_flag" ||
17925 test ! -s conftest.err
17926 } && test -s conftest.$ac_objext; then
17927 ac_cv_member_struct_statfs_f_bavail=yes
17928 else
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.$ac_ext >&5
17932 cat >conftest.$ac_ext <<_ACEOF
17933 /* confdefs.h. */
17934 _ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938 #include <sys/types.h>
17939 #ifdef HAVE_SYS_PARAM_H
17940 # include <sys/param.h>
17941 #endif
17942 #ifdef HAVE_SYS_MOUNT_H
17943 # include <sys/mount.h>
17944 #endif
17945 #ifdef HAVE_SYS_VFS_H
17946 # include <sys/vfs.h>
17947 #endif
17948 #ifdef HAVE_SYS_STATFS_H
17949 # include <sys/statfs.h>
17950 #endif
17953 main ()
17955 static struct statfs ac_aggr;
17956 if (sizeof ac_aggr.f_bavail)
17957 return 0;
17959 return 0;
17961 _ACEOF
17962 rm -f conftest.$ac_objext
17963 if { (ac_try="$ac_compile"
17964 case "(($ac_try" in
17965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17966 *) ac_try_echo=$ac_try;;
17967 esac
17968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17969 (eval "$ac_compile") 2>conftest.er1
17970 ac_status=$?
17971 grep -v '^ *+' conftest.er1 >conftest.err
17972 rm -f conftest.er1
17973 cat conftest.err >&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } && {
17976 test -z "$ac_c_werror_flag" ||
17977 test ! -s conftest.err
17978 } && test -s conftest.$ac_objext; then
17979 ac_cv_member_struct_statfs_f_bavail=yes
17980 else
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.$ac_ext >&5
17984 ac_cv_member_struct_statfs_f_bavail=no
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17992 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17993 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17994 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17996 cat >>confdefs.h <<_ACEOF
17997 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17998 _ACEOF
18002 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18003 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18004 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18005 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 else
18007 cat >conftest.$ac_ext <<_ACEOF
18008 /* confdefs.h. */
18009 _ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 #include <sys/types.h>
18014 #ifdef HAVE_SYS_PARAM_H
18015 # include <sys/param.h>
18016 #endif
18017 #ifdef HAVE_SYS_MOUNT_H
18018 # include <sys/mount.h>
18019 #endif
18020 #ifdef HAVE_SYS_VFS_H
18021 # include <sys/vfs.h>
18022 #endif
18023 #ifdef HAVE_SYS_STATFS_H
18024 # include <sys/statfs.h>
18025 #endif
18028 main ()
18030 static struct statfs ac_aggr;
18031 if (ac_aggr.f_frsize)
18032 return 0;
18034 return 0;
18036 _ACEOF
18037 rm -f conftest.$ac_objext
18038 if { (ac_try="$ac_compile"
18039 case "(($ac_try" in
18040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18041 *) ac_try_echo=$ac_try;;
18042 esac
18043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18044 (eval "$ac_compile") 2>conftest.er1
18045 ac_status=$?
18046 grep -v '^ *+' conftest.er1 >conftest.err
18047 rm -f conftest.er1
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && {
18051 test -z "$ac_c_werror_flag" ||
18052 test ! -s conftest.err
18053 } && test -s conftest.$ac_objext; then
18054 ac_cv_member_struct_statfs_f_frsize=yes
18055 else
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18059 cat >conftest.$ac_ext <<_ACEOF
18060 /* confdefs.h. */
18061 _ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065 #include <sys/types.h>
18066 #ifdef HAVE_SYS_PARAM_H
18067 # include <sys/param.h>
18068 #endif
18069 #ifdef HAVE_SYS_MOUNT_H
18070 # include <sys/mount.h>
18071 #endif
18072 #ifdef HAVE_SYS_VFS_H
18073 # include <sys/vfs.h>
18074 #endif
18075 #ifdef HAVE_SYS_STATFS_H
18076 # include <sys/statfs.h>
18077 #endif
18080 main ()
18082 static struct statfs ac_aggr;
18083 if (sizeof ac_aggr.f_frsize)
18084 return 0;
18086 return 0;
18088 _ACEOF
18089 rm -f conftest.$ac_objext
18090 if { (ac_try="$ac_compile"
18091 case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18094 esac
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compile") 2>conftest.er1
18097 ac_status=$?
18098 grep -v '^ *+' conftest.er1 >conftest.err
18099 rm -f conftest.er1
18100 cat conftest.err >&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); } && {
18103 test -z "$ac_c_werror_flag" ||
18104 test ! -s conftest.err
18105 } && test -s conftest.$ac_objext; then
18106 ac_cv_member_struct_statfs_f_frsize=yes
18107 else
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.$ac_ext >&5
18111 ac_cv_member_struct_statfs_f_frsize=no
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18120 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18121 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18123 cat >>confdefs.h <<_ACEOF
18124 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18125 _ACEOF
18129 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18130 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18131 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18133 else
18134 cat >conftest.$ac_ext <<_ACEOF
18135 /* confdefs.h. */
18136 _ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 #include <sys/types.h>
18141 #ifdef HAVE_SYS_PARAM_H
18142 # include <sys/param.h>
18143 #endif
18144 #ifdef HAVE_SYS_MOUNT_H
18145 # include <sys/mount.h>
18146 #endif
18147 #ifdef HAVE_SYS_VFS_H
18148 # include <sys/vfs.h>
18149 #endif
18150 #ifdef HAVE_SYS_STATFS_H
18151 # include <sys/statfs.h>
18152 #endif
18155 main ()
18157 static struct statfs ac_aggr;
18158 if (ac_aggr.f_ffree)
18159 return 0;
18161 return 0;
18163 _ACEOF
18164 rm -f conftest.$ac_objext
18165 if { (ac_try="$ac_compile"
18166 case "(($ac_try" in
18167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18168 *) ac_try_echo=$ac_try;;
18169 esac
18170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18171 (eval "$ac_compile") 2>conftest.er1
18172 ac_status=$?
18173 grep -v '^ *+' conftest.er1 >conftest.err
18174 rm -f conftest.er1
18175 cat conftest.err >&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } && {
18178 test -z "$ac_c_werror_flag" ||
18179 test ! -s conftest.err
18180 } && test -s conftest.$ac_objext; then
18181 ac_cv_member_struct_statfs_f_ffree=yes
18182 else
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.$ac_ext >&5
18186 cat >conftest.$ac_ext <<_ACEOF
18187 /* confdefs.h. */
18188 _ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 #include <sys/types.h>
18193 #ifdef HAVE_SYS_PARAM_H
18194 # include <sys/param.h>
18195 #endif
18196 #ifdef HAVE_SYS_MOUNT_H
18197 # include <sys/mount.h>
18198 #endif
18199 #ifdef HAVE_SYS_VFS_H
18200 # include <sys/vfs.h>
18201 #endif
18202 #ifdef HAVE_SYS_STATFS_H
18203 # include <sys/statfs.h>
18204 #endif
18207 main ()
18209 static struct statfs ac_aggr;
18210 if (sizeof ac_aggr.f_ffree)
18211 return 0;
18213 return 0;
18215 _ACEOF
18216 rm -f conftest.$ac_objext
18217 if { (ac_try="$ac_compile"
18218 case "(($ac_try" in
18219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18220 *) ac_try_echo=$ac_try;;
18221 esac
18222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18223 (eval "$ac_compile") 2>conftest.er1
18224 ac_status=$?
18225 grep -v '^ *+' conftest.er1 >conftest.err
18226 rm -f conftest.er1
18227 cat conftest.err >&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } && {
18230 test -z "$ac_c_werror_flag" ||
18231 test ! -s conftest.err
18232 } && test -s conftest.$ac_objext; then
18233 ac_cv_member_struct_statfs_f_ffree=yes
18234 else
18235 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.$ac_ext >&5
18238 ac_cv_member_struct_statfs_f_ffree=no
18241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18247 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18248 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18250 cat >>confdefs.h <<_ACEOF
18251 #define HAVE_STRUCT_STATFS_F_FFREE 1
18252 _ACEOF
18256 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18257 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18258 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18259 echo $ECHO_N "(cached) $ECHO_C" >&6
18260 else
18261 cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h. */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 #include <sys/types.h>
18268 #ifdef HAVE_SYS_PARAM_H
18269 # include <sys/param.h>
18270 #endif
18271 #ifdef HAVE_SYS_MOUNT_H
18272 # include <sys/mount.h>
18273 #endif
18274 #ifdef HAVE_SYS_VFS_H
18275 # include <sys/vfs.h>
18276 #endif
18277 #ifdef HAVE_SYS_STATFS_H
18278 # include <sys/statfs.h>
18279 #endif
18282 main ()
18284 static struct statfs ac_aggr;
18285 if (ac_aggr.f_favail)
18286 return 0;
18288 return 0;
18290 _ACEOF
18291 rm -f conftest.$ac_objext
18292 if { (ac_try="$ac_compile"
18293 case "(($ac_try" in
18294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18295 *) ac_try_echo=$ac_try;;
18296 esac
18297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 (eval "$ac_compile") 2>conftest.er1
18299 ac_status=$?
18300 grep -v '^ *+' conftest.er1 >conftest.err
18301 rm -f conftest.er1
18302 cat conftest.err >&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err
18307 } && test -s conftest.$ac_objext; then
18308 ac_cv_member_struct_statfs_f_favail=yes
18309 else
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5
18313 cat >conftest.$ac_ext <<_ACEOF
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <sys/types.h>
18320 #ifdef HAVE_SYS_PARAM_H
18321 # include <sys/param.h>
18322 #endif
18323 #ifdef HAVE_SYS_MOUNT_H
18324 # include <sys/mount.h>
18325 #endif
18326 #ifdef HAVE_SYS_VFS_H
18327 # include <sys/vfs.h>
18328 #endif
18329 #ifdef HAVE_SYS_STATFS_H
18330 # include <sys/statfs.h>
18331 #endif
18334 main ()
18336 static struct statfs ac_aggr;
18337 if (sizeof ac_aggr.f_favail)
18338 return 0;
18340 return 0;
18342 _ACEOF
18343 rm -f conftest.$ac_objext
18344 if { (ac_try="$ac_compile"
18345 case "(($ac_try" in
18346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18347 *) ac_try_echo=$ac_try;;
18348 esac
18349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18350 (eval "$ac_compile") 2>conftest.er1
18351 ac_status=$?
18352 grep -v '^ *+' conftest.er1 >conftest.err
18353 rm -f conftest.er1
18354 cat conftest.err >&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } && {
18357 test -z "$ac_c_werror_flag" ||
18358 test ! -s conftest.err
18359 } && test -s conftest.$ac_objext; then
18360 ac_cv_member_struct_statfs_f_favail=yes
18361 else
18362 echo "$as_me: failed program was:" >&5
18363 sed 's/^/| /' conftest.$ac_ext >&5
18365 ac_cv_member_struct_statfs_f_favail=no
18368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18374 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18375 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18377 cat >>confdefs.h <<_ACEOF
18378 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18379 _ACEOF
18383 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18384 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18385 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18386 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 else
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h. */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 #include <sys/types.h>
18395 #ifdef HAVE_SYS_PARAM_H
18396 # include <sys/param.h>
18397 #endif
18398 #ifdef HAVE_SYS_MOUNT_H
18399 # include <sys/mount.h>
18400 #endif
18401 #ifdef HAVE_SYS_VFS_H
18402 # include <sys/vfs.h>
18403 #endif
18404 #ifdef HAVE_SYS_STATFS_H
18405 # include <sys/statfs.h>
18406 #endif
18409 main ()
18411 static struct statfs ac_aggr;
18412 if (ac_aggr.f_namelen)
18413 return 0;
18415 return 0;
18417 _ACEOF
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18423 esac
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18426 ac_status=$?
18427 grep -v '^ *+' conftest.er1 >conftest.err
18428 rm -f conftest.er1
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_member_struct_statfs_f_namelen=yes
18436 else
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18440 cat >conftest.$ac_ext <<_ACEOF
18441 /* confdefs.h. */
18442 _ACEOF
18443 cat confdefs.h >>conftest.$ac_ext
18444 cat >>conftest.$ac_ext <<_ACEOF
18445 /* end confdefs.h. */
18446 #include <sys/types.h>
18447 #ifdef HAVE_SYS_PARAM_H
18448 # include <sys/param.h>
18449 #endif
18450 #ifdef HAVE_SYS_MOUNT_H
18451 # include <sys/mount.h>
18452 #endif
18453 #ifdef HAVE_SYS_VFS_H
18454 # include <sys/vfs.h>
18455 #endif
18456 #ifdef HAVE_SYS_STATFS_H
18457 # include <sys/statfs.h>
18458 #endif
18461 main ()
18463 static struct statfs ac_aggr;
18464 if (sizeof ac_aggr.f_namelen)
18465 return 0;
18467 return 0;
18469 _ACEOF
18470 rm -f conftest.$ac_objext
18471 if { (ac_try="$ac_compile"
18472 case "(($ac_try" in
18473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18474 *) ac_try_echo=$ac_try;;
18475 esac
18476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18477 (eval "$ac_compile") 2>conftest.er1
18478 ac_status=$?
18479 grep -v '^ *+' conftest.er1 >conftest.err
18480 rm -f conftest.er1
18481 cat conftest.err >&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); } && {
18484 test -z "$ac_c_werror_flag" ||
18485 test ! -s conftest.err
18486 } && test -s conftest.$ac_objext; then
18487 ac_cv_member_struct_statfs_f_namelen=yes
18488 else
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18492 ac_cv_member_struct_statfs_f_namelen=no
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18500 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18501 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18502 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18504 cat >>confdefs.h <<_ACEOF
18505 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18506 _ACEOF
18512 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18513 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18514 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18516 else
18517 cat >conftest.$ac_ext <<_ACEOF
18518 /* confdefs.h. */
18519 _ACEOF
18520 cat confdefs.h >>conftest.$ac_ext
18521 cat >>conftest.$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18523 #ifdef HAVE_SYS_STATVFS_H
18524 #include <sys/statvfs.h>
18525 #endif
18528 main ()
18530 static struct statvfs ac_aggr;
18531 if (ac_aggr.f_blocks)
18532 return 0;
18534 return 0;
18536 _ACEOF
18537 rm -f conftest.$ac_objext
18538 if { (ac_try="$ac_compile"
18539 case "(($ac_try" in
18540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18541 *) ac_try_echo=$ac_try;;
18542 esac
18543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18544 (eval "$ac_compile") 2>conftest.er1
18545 ac_status=$?
18546 grep -v '^ *+' conftest.er1 >conftest.err
18547 rm -f conftest.er1
18548 cat conftest.err >&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); } && {
18551 test -z "$ac_c_werror_flag" ||
18552 test ! -s conftest.err
18553 } && test -s conftest.$ac_objext; then
18554 ac_cv_member_struct_statvfs_f_blocks=yes
18555 else
18556 echo "$as_me: failed program was:" >&5
18557 sed 's/^/| /' conftest.$ac_ext >&5
18559 cat >conftest.$ac_ext <<_ACEOF
18560 /* confdefs.h. */
18561 _ACEOF
18562 cat confdefs.h >>conftest.$ac_ext
18563 cat >>conftest.$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 #ifdef HAVE_SYS_STATVFS_H
18566 #include <sys/statvfs.h>
18567 #endif
18570 main ()
18572 static struct statvfs ac_aggr;
18573 if (sizeof ac_aggr.f_blocks)
18574 return 0;
18576 return 0;
18578 _ACEOF
18579 rm -f conftest.$ac_objext
18580 if { (ac_try="$ac_compile"
18581 case "(($ac_try" in
18582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18584 esac
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_compile") 2>conftest.er1
18587 ac_status=$?
18588 grep -v '^ *+' conftest.er1 >conftest.err
18589 rm -f conftest.er1
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } && {
18593 test -z "$ac_c_werror_flag" ||
18594 test ! -s conftest.err
18595 } && test -s conftest.$ac_objext; then
18596 ac_cv_member_struct_statvfs_f_blocks=yes
18597 else
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.$ac_ext >&5
18601 ac_cv_member_struct_statvfs_f_blocks=no
18604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18609 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18610 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18611 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18613 cat >>confdefs.h <<_ACEOF
18614 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18615 _ACEOF
18621 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18622 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18623 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18625 else
18626 cat >conftest.$ac_ext <<_ACEOF
18627 /* confdefs.h. */
18628 _ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #include <sys/types.h>
18633 #ifdef HAVE_SYS_SOCKET_H
18634 # include <sys/socket.h>
18635 #endif
18636 #ifdef HAVE_SYS_UN_H
18637 # include <sys/un.h>
18638 #endif
18641 main ()
18643 static struct msghdr ac_aggr;
18644 if (ac_aggr.msg_accrights)
18645 return 0;
18647 return 0;
18649 _ACEOF
18650 rm -f conftest.$ac_objext
18651 if { (ac_try="$ac_compile"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18655 esac
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_compile") 2>conftest.er1
18658 ac_status=$?
18659 grep -v '^ *+' conftest.er1 >conftest.err
18660 rm -f conftest.er1
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest.$ac_objext; then
18667 ac_cv_member_struct_msghdr_msg_accrights=yes
18668 else
18669 echo "$as_me: failed program was:" >&5
18670 sed 's/^/| /' conftest.$ac_ext >&5
18672 cat >conftest.$ac_ext <<_ACEOF
18673 /* confdefs.h. */
18674 _ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 #include <sys/types.h>
18679 #ifdef HAVE_SYS_SOCKET_H
18680 # include <sys/socket.h>
18681 #endif
18682 #ifdef HAVE_SYS_UN_H
18683 # include <sys/un.h>
18684 #endif
18687 main ()
18689 static struct msghdr ac_aggr;
18690 if (sizeof ac_aggr.msg_accrights)
18691 return 0;
18693 return 0;
18695 _ACEOF
18696 rm -f conftest.$ac_objext
18697 if { (ac_try="$ac_compile"
18698 case "(($ac_try" in
18699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18700 *) ac_try_echo=$ac_try;;
18701 esac
18702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_compile") 2>conftest.er1
18704 ac_status=$?
18705 grep -v '^ *+' conftest.er1 >conftest.err
18706 rm -f conftest.er1
18707 cat conftest.err >&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); } && {
18710 test -z "$ac_c_werror_flag" ||
18711 test ! -s conftest.err
18712 } && test -s conftest.$ac_objext; then
18713 ac_cv_member_struct_msghdr_msg_accrights=yes
18714 else
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.$ac_ext >&5
18718 ac_cv_member_struct_msghdr_msg_accrights=no
18721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18726 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18727 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18728 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18732 _ACEOF
18736 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18737 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18738 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18740 else
18741 cat >conftest.$ac_ext <<_ACEOF
18742 /* confdefs.h. */
18743 _ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <sys/types.h>
18748 #ifdef HAVE_SYS_SOCKET_H
18749 # include <sys/socket.h>
18750 #endif
18751 #ifdef HAVE_SYS_UN_H
18752 # include <sys/un.h>
18753 #endif
18756 main ()
18758 static struct sockaddr ac_aggr;
18759 if (ac_aggr.sa_len)
18760 return 0;
18762 return 0;
18764 _ACEOF
18765 rm -f conftest.$ac_objext
18766 if { (ac_try="$ac_compile"
18767 case "(($ac_try" in
18768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18769 *) ac_try_echo=$ac_try;;
18770 esac
18771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_compile") 2>conftest.er1
18773 ac_status=$?
18774 grep -v '^ *+' conftest.er1 >conftest.err
18775 rm -f conftest.er1
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && {
18779 test -z "$ac_c_werror_flag" ||
18780 test ! -s conftest.err
18781 } && test -s conftest.$ac_objext; then
18782 ac_cv_member_struct_sockaddr_sa_len=yes
18783 else
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.$ac_ext >&5
18787 cat >conftest.$ac_ext <<_ACEOF
18788 /* confdefs.h. */
18789 _ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h. */
18793 #include <sys/types.h>
18794 #ifdef HAVE_SYS_SOCKET_H
18795 # include <sys/socket.h>
18796 #endif
18797 #ifdef HAVE_SYS_UN_H
18798 # include <sys/un.h>
18799 #endif
18802 main ()
18804 static struct sockaddr ac_aggr;
18805 if (sizeof ac_aggr.sa_len)
18806 return 0;
18808 return 0;
18810 _ACEOF
18811 rm -f conftest.$ac_objext
18812 if { (ac_try="$ac_compile"
18813 case "(($ac_try" in
18814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18815 *) ac_try_echo=$ac_try;;
18816 esac
18817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18818 (eval "$ac_compile") 2>conftest.er1
18819 ac_status=$?
18820 grep -v '^ *+' conftest.er1 >conftest.err
18821 rm -f conftest.er1
18822 cat conftest.err >&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } && {
18825 test -z "$ac_c_werror_flag" ||
18826 test ! -s conftest.err
18827 } && test -s conftest.$ac_objext; then
18828 ac_cv_member_struct_sockaddr_sa_len=yes
18829 else
18830 echo "$as_me: failed program was:" >&5
18831 sed 's/^/| /' conftest.$ac_ext >&5
18833 ac_cv_member_struct_sockaddr_sa_len=no
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18842 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18843 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18845 cat >>confdefs.h <<_ACEOF
18846 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18847 _ACEOF
18851 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18852 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18853 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18855 else
18856 cat >conftest.$ac_ext <<_ACEOF
18857 /* confdefs.h. */
18858 _ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 #include <sys/types.h>
18863 #ifdef HAVE_SYS_SOCKET_H
18864 # include <sys/socket.h>
18865 #endif
18866 #ifdef HAVE_SYS_UN_H
18867 # include <sys/un.h>
18868 #endif
18871 main ()
18873 static struct sockaddr_un ac_aggr;
18874 if (ac_aggr.sun_len)
18875 return 0;
18877 return 0;
18879 _ACEOF
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18884 *) ac_try_echo=$ac_try;;
18885 esac
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18888 ac_status=$?
18889 grep -v '^ *+' conftest.er1 >conftest.err
18890 rm -f conftest.er1
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.$ac_objext; then
18897 ac_cv_member_struct_sockaddr_un_sun_len=yes
18898 else
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18902 cat >conftest.$ac_ext <<_ACEOF
18903 /* confdefs.h. */
18904 _ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 #include <sys/types.h>
18909 #ifdef HAVE_SYS_SOCKET_H
18910 # include <sys/socket.h>
18911 #endif
18912 #ifdef HAVE_SYS_UN_H
18913 # include <sys/un.h>
18914 #endif
18917 main ()
18919 static struct sockaddr_un ac_aggr;
18920 if (sizeof ac_aggr.sun_len)
18921 return 0;
18923 return 0;
18925 _ACEOF
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18931 esac
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18934 ac_status=$?
18935 grep -v '^ *+' conftest.er1 >conftest.err
18936 rm -f conftest.er1
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 ac_cv_member_struct_sockaddr_un_sun_len=yes
18944 else
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18948 ac_cv_member_struct_sockaddr_un_sun_len=no
18951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18956 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18957 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18958 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18960 cat >>confdefs.h <<_ACEOF
18961 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18962 _ACEOF
18968 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18969 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18970 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18972 else
18973 cat >conftest.$ac_ext <<_ACEOF
18974 /* confdefs.h. */
18975 _ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <sys/types.h>
18980 #ifdef HAVE_SCSI_SG_H
18981 #include <scsi/sg.h>
18982 #endif
18985 main ()
18987 static scsireq_t ac_aggr;
18988 if (ac_aggr.cmd)
18989 return 0;
18991 return 0;
18993 _ACEOF
18994 rm -f conftest.$ac_objext
18995 if { (ac_try="$ac_compile"
18996 case "(($ac_try" in
18997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18998 *) ac_try_echo=$ac_try;;
18999 esac
19000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19001 (eval "$ac_compile") 2>conftest.er1
19002 ac_status=$?
19003 grep -v '^ *+' conftest.er1 >conftest.err
19004 rm -f conftest.er1
19005 cat conftest.err >&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); } && {
19008 test -z "$ac_c_werror_flag" ||
19009 test ! -s conftest.err
19010 } && test -s conftest.$ac_objext; then
19011 ac_cv_member_scsireq_t_cmd=yes
19012 else
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.$ac_ext >&5
19016 cat >conftest.$ac_ext <<_ACEOF
19017 /* confdefs.h. */
19018 _ACEOF
19019 cat confdefs.h >>conftest.$ac_ext
19020 cat >>conftest.$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19022 #include <sys/types.h>
19023 #ifdef HAVE_SCSI_SG_H
19024 #include <scsi/sg.h>
19025 #endif
19028 main ()
19030 static scsireq_t ac_aggr;
19031 if (sizeof ac_aggr.cmd)
19032 return 0;
19034 return 0;
19036 _ACEOF
19037 rm -f conftest.$ac_objext
19038 if { (ac_try="$ac_compile"
19039 case "(($ac_try" in
19040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 *) ac_try_echo=$ac_try;;
19042 esac
19043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19044 (eval "$ac_compile") 2>conftest.er1
19045 ac_status=$?
19046 grep -v '^ *+' conftest.er1 >conftest.err
19047 rm -f conftest.er1
19048 cat conftest.err >&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } && {
19051 test -z "$ac_c_werror_flag" ||
19052 test ! -s conftest.err
19053 } && test -s conftest.$ac_objext; then
19054 ac_cv_member_scsireq_t_cmd=yes
19055 else
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19059 ac_cv_member_scsireq_t_cmd=no
19062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19067 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19068 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19069 if test $ac_cv_member_scsireq_t_cmd = yes; then
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_SCSIREQ_T_CMD 1
19073 _ACEOF
19077 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19078 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19079 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 else
19082 cat >conftest.$ac_ext <<_ACEOF
19083 /* confdefs.h. */
19084 _ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <sys/types.h>
19089 #ifdef HAVE_SCSI_SG_H
19090 #include <scsi/sg.h>
19091 #endif
19094 main ()
19096 static sg_io_hdr_t ac_aggr;
19097 if (ac_aggr.interface_id)
19098 return 0;
19100 return 0;
19102 _ACEOF
19103 rm -f conftest.$ac_objext
19104 if { (ac_try="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19108 esac
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19111 ac_status=$?
19112 grep -v '^ *+' conftest.er1 >conftest.err
19113 rm -f conftest.er1
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 ac_cv_member_sg_io_hdr_t_interface_id=yes
19121 else
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19125 cat >conftest.$ac_ext <<_ACEOF
19126 /* confdefs.h. */
19127 _ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 #include <sys/types.h>
19132 #ifdef HAVE_SCSI_SG_H
19133 #include <scsi/sg.h>
19134 #endif
19137 main ()
19139 static sg_io_hdr_t ac_aggr;
19140 if (sizeof ac_aggr.interface_id)
19141 return 0;
19143 return 0;
19145 _ACEOF
19146 rm -f conftest.$ac_objext
19147 if { (ac_try="$ac_compile"
19148 case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19151 esac
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compile") 2>conftest.er1
19154 ac_status=$?
19155 grep -v '^ *+' conftest.er1 >conftest.err
19156 rm -f conftest.er1
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } && {
19160 test -z "$ac_c_werror_flag" ||
19161 test ! -s conftest.err
19162 } && test -s conftest.$ac_objext; then
19163 ac_cv_member_sg_io_hdr_t_interface_id=yes
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19168 ac_cv_member_sg_io_hdr_t_interface_id=no
19171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19176 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19177 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19178 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19182 _ACEOF
19188 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19189 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19190 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19191 echo $ECHO_N "(cached) $ECHO_C" >&6
19192 else
19193 cat >conftest.$ac_ext <<_ACEOF
19194 /* confdefs.h. */
19195 _ACEOF
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19199 #include <signal.h>
19202 main ()
19204 static siginfo_t ac_aggr;
19205 if (ac_aggr.si_fd)
19206 return 0;
19208 return 0;
19210 _ACEOF
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19216 esac
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19219 ac_status=$?
19220 grep -v '^ *+' conftest.er1 >conftest.err
19221 rm -f conftest.er1
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.$ac_objext; then
19228 ac_cv_member_siginfo_t_si_fd=yes
19229 else
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 #include <signal.h>
19242 main ()
19244 static siginfo_t ac_aggr;
19245 if (sizeof ac_aggr.si_fd)
19246 return 0;
19248 return 0;
19250 _ACEOF
19251 rm -f conftest.$ac_objext
19252 if { (ac_try="$ac_compile"
19253 case "(($ac_try" in
19254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19255 *) ac_try_echo=$ac_try;;
19256 esac
19257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19258 (eval "$ac_compile") 2>conftest.er1
19259 ac_status=$?
19260 grep -v '^ *+' conftest.er1 >conftest.err
19261 rm -f conftest.er1
19262 cat conftest.err >&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && {
19265 test -z "$ac_c_werror_flag" ||
19266 test ! -s conftest.err
19267 } && test -s conftest.$ac_objext; then
19268 ac_cv_member_siginfo_t_si_fd=yes
19269 else
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19273 ac_cv_member_siginfo_t_si_fd=no
19276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19282 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19283 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19285 cat >>confdefs.h <<_ACEOF
19286 #define HAVE_SIGINFO_T_SI_FD 1
19287 _ACEOF
19293 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19294 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19295 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 else
19298 cat >conftest.$ac_ext <<_ACEOF
19299 /* confdefs.h. */
19300 _ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 #include <sys/types.h>
19305 #ifdef HAVE_SYS_MTIO_H
19306 #include <sys/mtio.h>
19307 #endif
19310 main ()
19312 static struct mtget ac_aggr;
19313 if (ac_aggr.mt_blksiz)
19314 return 0;
19316 return 0;
19318 _ACEOF
19319 rm -f conftest.$ac_objext
19320 if { (ac_try="$ac_compile"
19321 case "(($ac_try" in
19322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19323 *) ac_try_echo=$ac_try;;
19324 esac
19325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19326 (eval "$ac_compile") 2>conftest.er1
19327 ac_status=$?
19328 grep -v '^ *+' conftest.er1 >conftest.err
19329 rm -f conftest.er1
19330 cat conftest.err >&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } && {
19333 test -z "$ac_c_werror_flag" ||
19334 test ! -s conftest.err
19335 } && test -s conftest.$ac_objext; then
19336 ac_cv_member_struct_mtget_mt_blksiz=yes
19337 else
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5
19341 cat >conftest.$ac_ext <<_ACEOF
19342 /* confdefs.h. */
19343 _ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 #include <sys/types.h>
19348 #ifdef HAVE_SYS_MTIO_H
19349 #include <sys/mtio.h>
19350 #endif
19353 main ()
19355 static struct mtget ac_aggr;
19356 if (sizeof ac_aggr.mt_blksiz)
19357 return 0;
19359 return 0;
19361 _ACEOF
19362 rm -f conftest.$ac_objext
19363 if { (ac_try="$ac_compile"
19364 case "(($ac_try" in
19365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19366 *) ac_try_echo=$ac_try;;
19367 esac
19368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19369 (eval "$ac_compile") 2>conftest.er1
19370 ac_status=$?
19371 grep -v '^ *+' conftest.er1 >conftest.err
19372 rm -f conftest.er1
19373 cat conftest.err >&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } && {
19376 test -z "$ac_c_werror_flag" ||
19377 test ! -s conftest.err
19378 } && test -s conftest.$ac_objext; then
19379 ac_cv_member_struct_mtget_mt_blksiz=yes
19380 else
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19384 ac_cv_member_struct_mtget_mt_blksiz=no
19387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19392 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19393 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19394 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19398 _ACEOF
19402 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19403 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19404 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19406 else
19407 cat >conftest.$ac_ext <<_ACEOF
19408 /* confdefs.h. */
19409 _ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 #include <sys/types.h>
19414 #ifdef HAVE_SYS_MTIO_H
19415 #include <sys/mtio.h>
19416 #endif
19419 main ()
19421 static struct mtget ac_aggr;
19422 if (ac_aggr.mt_gstat)
19423 return 0;
19425 return 0;
19427 _ACEOF
19428 rm -f conftest.$ac_objext
19429 if { (ac_try="$ac_compile"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19433 esac
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_compile") 2>conftest.er1
19436 ac_status=$?
19437 grep -v '^ *+' conftest.er1 >conftest.err
19438 rm -f conftest.er1
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } && {
19442 test -z "$ac_c_werror_flag" ||
19443 test ! -s conftest.err
19444 } && test -s conftest.$ac_objext; then
19445 ac_cv_member_struct_mtget_mt_gstat=yes
19446 else
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19450 cat >conftest.$ac_ext <<_ACEOF
19451 /* confdefs.h. */
19452 _ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 #include <sys/types.h>
19457 #ifdef HAVE_SYS_MTIO_H
19458 #include <sys/mtio.h>
19459 #endif
19462 main ()
19464 static struct mtget ac_aggr;
19465 if (sizeof ac_aggr.mt_gstat)
19466 return 0;
19468 return 0;
19470 _ACEOF
19471 rm -f conftest.$ac_objext
19472 if { (ac_try="$ac_compile"
19473 case "(($ac_try" in
19474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19475 *) ac_try_echo=$ac_try;;
19476 esac
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_compile") 2>conftest.er1
19479 ac_status=$?
19480 grep -v '^ *+' conftest.er1 >conftest.err
19481 rm -f conftest.er1
19482 cat conftest.err >&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && {
19485 test -z "$ac_c_werror_flag" ||
19486 test ! -s conftest.err
19487 } && test -s conftest.$ac_objext; then
19488 ac_cv_member_struct_mtget_mt_gstat=yes
19489 else
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19493 ac_cv_member_struct_mtget_mt_gstat=no
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19502 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19503 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19505 cat >>confdefs.h <<_ACEOF
19506 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19507 _ACEOF
19511 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19512 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19513 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 else
19516 cat >conftest.$ac_ext <<_ACEOF
19517 /* confdefs.h. */
19518 _ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #include <sys/types.h>
19523 #ifdef HAVE_SYS_MTIO_H
19524 #include <sys/mtio.h>
19525 #endif
19528 main ()
19530 static struct mtget ac_aggr;
19531 if (ac_aggr.mt_blkno)
19532 return 0;
19534 return 0;
19536 _ACEOF
19537 rm -f conftest.$ac_objext
19538 if { (ac_try="$ac_compile"
19539 case "(($ac_try" in
19540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19541 *) ac_try_echo=$ac_try;;
19542 esac
19543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19544 (eval "$ac_compile") 2>conftest.er1
19545 ac_status=$?
19546 grep -v '^ *+' conftest.er1 >conftest.err
19547 rm -f conftest.er1
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } && {
19551 test -z "$ac_c_werror_flag" ||
19552 test ! -s conftest.err
19553 } && test -s conftest.$ac_objext; then
19554 ac_cv_member_struct_mtget_mt_blkno=yes
19555 else
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19559 cat >conftest.$ac_ext <<_ACEOF
19560 /* confdefs.h. */
19561 _ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 #include <sys/types.h>
19566 #ifdef HAVE_SYS_MTIO_H
19567 #include <sys/mtio.h>
19568 #endif
19571 main ()
19573 static struct mtget ac_aggr;
19574 if (sizeof ac_aggr.mt_blkno)
19575 return 0;
19577 return 0;
19579 _ACEOF
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19585 esac
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19588 ac_status=$?
19589 grep -v '^ *+' conftest.er1 >conftest.err
19590 rm -f conftest.er1
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_c_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.$ac_objext; then
19597 ac_cv_member_struct_mtget_mt_blkno=yes
19598 else
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19602 ac_cv_member_struct_mtget_mt_blkno=no
19605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19610 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19611 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19612 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19614 cat >>confdefs.h <<_ACEOF
19615 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19616 _ACEOF
19622 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19623 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19624 if test "${ac_cv_member_struct_option_name+set}" = set; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19626 else
19627 cat >conftest.$ac_ext <<_ACEOF
19628 /* confdefs.h. */
19629 _ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #ifdef HAVE_GETOPT_H
19634 #include <getopt.h>
19635 #endif
19638 main ()
19640 static struct option ac_aggr;
19641 if (ac_aggr.name)
19642 return 0;
19644 return 0;
19646 _ACEOF
19647 rm -f conftest.$ac_objext
19648 if { (ac_try="$ac_compile"
19649 case "(($ac_try" in
19650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19651 *) ac_try_echo=$ac_try;;
19652 esac
19653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654 (eval "$ac_compile") 2>conftest.er1
19655 ac_status=$?
19656 grep -v '^ *+' conftest.er1 >conftest.err
19657 rm -f conftest.er1
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } && {
19661 test -z "$ac_c_werror_flag" ||
19662 test ! -s conftest.err
19663 } && test -s conftest.$ac_objext; then
19664 ac_cv_member_struct_option_name=yes
19665 else
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 #ifdef HAVE_GETOPT_H
19676 #include <getopt.h>
19677 #endif
19680 main ()
19682 static struct option ac_aggr;
19683 if (sizeof ac_aggr.name)
19684 return 0;
19686 return 0;
19688 _ACEOF
19689 rm -f conftest.$ac_objext
19690 if { (ac_try="$ac_compile"
19691 case "(($ac_try" in
19692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19694 esac
19695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19696 (eval "$ac_compile") 2>conftest.er1
19697 ac_status=$?
19698 grep -v '^ *+' conftest.er1 >conftest.err
19699 rm -f conftest.er1
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } && {
19703 test -z "$ac_c_werror_flag" ||
19704 test ! -s conftest.err
19705 } && test -s conftest.$ac_objext; then
19706 ac_cv_member_struct_option_name=yes
19707 else
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.$ac_ext >&5
19711 ac_cv_member_struct_option_name=no
19714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19720 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19721 if test $ac_cv_member_struct_option_name = yes; then
19723 cat >>confdefs.h <<_ACEOF
19724 #define HAVE_STRUCT_OPTION_NAME 1
19725 _ACEOF
19731 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19732 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19733 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19735 else
19736 cat >conftest.$ac_ext <<_ACEOF
19737 /* confdefs.h. */
19738 _ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 $ac_includes_default
19744 main ()
19746 static struct stat ac_aggr;
19747 if (ac_aggr.st_blocks)
19748 return 0;
19750 return 0;
19752 _ACEOF
19753 rm -f conftest.$ac_objext
19754 if { (ac_try="$ac_compile"
19755 case "(($ac_try" in
19756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19757 *) ac_try_echo=$ac_try;;
19758 esac
19759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19760 (eval "$ac_compile") 2>conftest.er1
19761 ac_status=$?
19762 grep -v '^ *+' conftest.er1 >conftest.err
19763 rm -f conftest.er1
19764 cat conftest.err >&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } && {
19767 test -z "$ac_c_werror_flag" ||
19768 test ! -s conftest.err
19769 } && test -s conftest.$ac_objext; then
19770 ac_cv_member_struct_stat_st_blocks=yes
19771 else
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19775 cat >conftest.$ac_ext <<_ACEOF
19776 /* confdefs.h. */
19777 _ACEOF
19778 cat confdefs.h >>conftest.$ac_ext
19779 cat >>conftest.$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781 $ac_includes_default
19783 main ()
19785 static struct stat ac_aggr;
19786 if (sizeof ac_aggr.st_blocks)
19787 return 0;
19789 return 0;
19791 _ACEOF
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19797 esac
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19800 ac_status=$?
19801 grep -v '^ *+' conftest.er1 >conftest.err
19802 rm -f conftest.er1
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } && {
19806 test -z "$ac_c_werror_flag" ||
19807 test ! -s conftest.err
19808 } && test -s conftest.$ac_objext; then
19809 ac_cv_member_struct_stat_st_blocks=yes
19810 else
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 ac_cv_member_struct_stat_st_blocks=no
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19823 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19824 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19826 cat >>confdefs.h <<_ACEOF
19827 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19828 _ACEOF
19834 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19835 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19836 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19838 else
19839 cat >conftest.$ac_ext <<_ACEOF
19840 /* confdefs.h. */
19841 _ACEOF
19842 cat confdefs.h >>conftest.$ac_ext
19843 cat >>conftest.$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19845 #ifdef HAVE_SYS_TYPES_H
19846 #include <sys/types.h>
19847 #endif
19848 #ifdef HAVE_NETINET_IN_H
19849 #include <netinet/in.h>
19850 #endif
19853 main ()
19855 static struct sockaddr_in6 ac_aggr;
19856 if (ac_aggr.sin6_scope_id)
19857 return 0;
19859 return 0;
19861 _ACEOF
19862 rm -f conftest.$ac_objext
19863 if { (ac_try="$ac_compile"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19866 *) ac_try_echo=$ac_try;;
19867 esac
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_compile") 2>conftest.er1
19870 ac_status=$?
19871 grep -v '^ *+' conftest.er1 >conftest.err
19872 rm -f conftest.er1
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } && {
19876 test -z "$ac_c_werror_flag" ||
19877 test ! -s conftest.err
19878 } && test -s conftest.$ac_objext; then
19879 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 cat >conftest.$ac_ext <<_ACEOF
19885 /* confdefs.h. */
19886 _ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 #ifdef HAVE_SYS_TYPES_H
19891 #include <sys/types.h>
19892 #endif
19893 #ifdef HAVE_NETINET_IN_H
19894 #include <netinet/in.h>
19895 #endif
19898 main ()
19900 static struct sockaddr_in6 ac_aggr;
19901 if (sizeof ac_aggr.sin6_scope_id)
19902 return 0;
19904 return 0;
19906 _ACEOF
19907 rm -f conftest.$ac_objext
19908 if { (ac_try="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19912 esac
19913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19915 ac_status=$?
19916 grep -v '^ *+' conftest.er1 >conftest.err
19917 rm -f conftest.er1
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.$ac_objext; then
19924 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19925 else
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19929 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19937 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19938 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19939 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19941 cat >>confdefs.h <<_ACEOF
19942 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19943 _ACEOF
19949 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19950 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19951 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 else
19954 cat >conftest.$ac_ext <<_ACEOF
19955 /* confdefs.h. */
19956 _ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 #ifdef HAVE_SYS_TYPES_H
19961 #include <sys/types.h>
19962 #endif
19963 #ifdef HAVE_NETINET_IN_H
19964 # include <netinet/in.h>
19965 #endif
19966 #ifdef HAVE_ARPA_NAMESER_H
19967 # include <arpa/nameser.h>
19968 #endif
19971 main ()
19973 static ns_msg ac_aggr;
19974 if (ac_aggr._msg_ptr)
19975 return 0;
19977 return 0;
19979 _ACEOF
19980 rm -f conftest.$ac_objext
19981 if { (ac_try="$ac_compile"
19982 case "(($ac_try" in
19983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19984 *) ac_try_echo=$ac_try;;
19985 esac
19986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19987 (eval "$ac_compile") 2>conftest.er1
19988 ac_status=$?
19989 grep -v '^ *+' conftest.er1 >conftest.err
19990 rm -f conftest.er1
19991 cat conftest.err >&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } && {
19994 test -z "$ac_c_werror_flag" ||
19995 test ! -s conftest.err
19996 } && test -s conftest.$ac_objext; then
19997 ac_cv_member_ns_msg__msg_ptr=yes
19998 else
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20002 cat >conftest.$ac_ext <<_ACEOF
20003 /* confdefs.h. */
20004 _ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 #ifdef HAVE_SYS_TYPES_H
20009 #include <sys/types.h>
20010 #endif
20011 #ifdef HAVE_NETINET_IN_H
20012 # include <netinet/in.h>
20013 #endif
20014 #ifdef HAVE_ARPA_NAMESER_H
20015 # include <arpa/nameser.h>
20016 #endif
20019 main ()
20021 static ns_msg ac_aggr;
20022 if (sizeof ac_aggr._msg_ptr)
20023 return 0;
20025 return 0;
20027 _ACEOF
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20033 esac
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20036 ac_status=$?
20037 grep -v '^ *+' conftest.er1 >conftest.err
20038 rm -f conftest.er1
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_cv_member_ns_msg__msg_ptr=yes
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20050 ac_cv_member_ns_msg__msg_ptr=no
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20058 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20059 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20060 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20062 cat >>confdefs.h <<_ACEOF
20063 #define HAVE_NS_MSG__MSG_PTR 1
20064 _ACEOF
20070 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20071 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20072 if test "${ac_cv_have_timezone+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 else
20075 cat >conftest.$ac_ext <<_ACEOF
20076 /* confdefs.h. */
20077 _ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20081 #include <time.h>
20083 main ()
20085 timezone = 1
20087 return 0;
20089 _ACEOF
20090 rm -f conftest.$ac_objext conftest$ac_exeext
20091 if { (ac_try="$ac_link"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20094 *) ac_try_echo=$ac_try;;
20095 esac
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_link") 2>conftest.er1
20098 ac_status=$?
20099 grep -v '^ *+' conftest.er1 >conftest.err
20100 rm -f conftest.er1
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest$ac_exeext &&
20107 $as_test_x conftest$ac_exeext; then
20108 ac_cv_have_timezone="yes"
20109 else
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20113 ac_cv_have_timezone="no"
20116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20117 conftest$ac_exeext conftest.$ac_ext
20119 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20120 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20121 if test "$ac_cv_have_timezone" = "yes"
20122 then
20124 cat >>confdefs.h <<\_ACEOF
20125 #define HAVE_TIMEZONE 1
20126 _ACEOF
20129 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20130 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20131 if test "${ac_cv_have_daylight+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 else
20134 cat >conftest.$ac_ext <<_ACEOF
20135 /* confdefs.h. */
20136 _ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20140 #include <time.h>
20142 main ()
20144 daylight = 1
20146 return 0;
20148 _ACEOF
20149 rm -f conftest.$ac_objext conftest$ac_exeext
20150 if { (ac_try="$ac_link"
20151 case "(($ac_try" in
20152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20154 esac
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_link") 2>conftest.er1
20157 ac_status=$?
20158 grep -v '^ *+' conftest.er1 >conftest.err
20159 rm -f conftest.er1
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest$ac_exeext &&
20166 $as_test_x conftest$ac_exeext; then
20167 ac_cv_have_daylight="yes"
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20172 ac_cv_have_daylight="no"
20175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20176 conftest$ac_exeext conftest.$ac_ext
20178 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20179 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20180 if test "$ac_cv_have_daylight" = "yes"
20181 then
20183 cat >>confdefs.h <<\_ACEOF
20184 #define HAVE_DAYLIGHT 1
20185 _ACEOF
20190 case $host_cpu in
20191 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20192 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20193 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196 cat >conftest.$ac_ext <<_ACEOF
20197 /* confdefs.h. */
20198 _ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 #ifndef __i386__
20204 #endif
20205 _ACEOF
20206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20207 $EGREP "yes" >/dev/null 2>&1; then
20208 ac_cv_cpp_def___i386__=yes
20209 else
20210 ac_cv_cpp_def___i386__=no
20212 rm -f conftest*
20215 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20216 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20217 if test $ac_cv_cpp_def___i386__ = yes; then
20218 CFLAGS="$CFLAGS -D__i386__"
20219 LINTFLAGS="$LINTFLAGS -D__i386__"
20222 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20223 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20224 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20226 else
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 #ifndef __x86_64__
20235 #endif
20236 _ACEOF
20237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20238 $EGREP "yes" >/dev/null 2>&1; then
20239 ac_cv_cpp_def___x86_64__=yes
20240 else
20241 ac_cv_cpp_def___x86_64__=no
20243 rm -f conftest*
20246 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20247 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20248 if test $ac_cv_cpp_def___x86_64__ = yes; then
20249 CFLAGS="$CFLAGS -D__x86_64__"
20250 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20253 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20254 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20255 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20257 else
20258 cat >conftest.$ac_ext <<_ACEOF
20259 /* confdefs.h. */
20260 _ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20264 #ifndef __ALPHA__
20266 #endif
20267 _ACEOF
20268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20269 $EGREP "yes" >/dev/null 2>&1; then
20270 ac_cv_cpp_def___ALPHA__=yes
20271 else
20272 ac_cv_cpp_def___ALPHA__=no
20274 rm -f conftest*
20277 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20278 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20279 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20280 CFLAGS="$CFLAGS -D__ALPHA__"
20281 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20284 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20285 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20286 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20288 else
20289 cat >conftest.$ac_ext <<_ACEOF
20290 /* confdefs.h. */
20291 _ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20295 #ifndef __sparc__
20297 #endif
20298 _ACEOF
20299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20300 $EGREP "yes" >/dev/null 2>&1; then
20301 ac_cv_cpp_def___sparc__=yes
20302 else
20303 ac_cv_cpp_def___sparc__=no
20305 rm -f conftest*
20308 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20309 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20310 if test $ac_cv_cpp_def___sparc__ = yes; then
20311 CFLAGS="$CFLAGS -D__sparc__"
20312 LINTFLAGS="$LINTFLAGS -D__sparc__"
20315 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20316 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20317 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20318 echo $ECHO_N "(cached) $ECHO_C" >&6
20319 else
20320 cat >conftest.$ac_ext <<_ACEOF
20321 /* confdefs.h. */
20322 _ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 #ifndef __powerpc__
20328 #endif
20329 _ACEOF
20330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20331 $EGREP "yes" >/dev/null 2>&1; then
20332 ac_cv_cpp_def___powerpc__=yes
20333 else
20334 ac_cv_cpp_def___powerpc__=no
20336 rm -f conftest*
20339 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20340 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20341 if test $ac_cv_cpp_def___powerpc__ = yes; then
20342 CFLAGS="$CFLAGS -D__powerpc__"
20343 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20346 esac
20348 case $host_vendor in
20349 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20350 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20351 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20352 echo $ECHO_N "(cached) $ECHO_C" >&6
20353 else
20354 cat >conftest.$ac_ext <<_ACEOF
20355 /* confdefs.h. */
20356 _ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20360 #ifndef __sun__
20362 #endif
20363 _ACEOF
20364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20365 $EGREP "yes" >/dev/null 2>&1; then
20366 ac_cv_cpp_def___sun__=yes
20367 else
20368 ac_cv_cpp_def___sun__=no
20370 rm -f conftest*
20373 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20374 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20375 if test $ac_cv_cpp_def___sun__ = yes; then
20376 CFLAGS="$CFLAGS -D__sun__"
20377 LINTFLAGS="$LINTFLAGS -D__sun__"
20380 esac
20383 DEPENDENCIES="### Dependencies:
20385 .INIT: Makefile
20386 .BEGIN: Makefile
20387 Makefile: dummy
20388 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20390 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
20391 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20392 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20393 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20399 ac_config_commands="$ac_config_commands include/stamp-h"
20402 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20404 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20406 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20408 ac_config_commands="$ac_config_commands dlls/user32/resources"
20410 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20412 ac_config_commands="$ac_config_commands include/wine"
20415 MAKE_RULES=Make.rules
20418 MAKE_DLL_RULES=dlls/Makedll.rules
20421 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20424 MAKE_TEST_RULES=dlls/Maketest.rules
20427 MAKE_PROG_RULES=programs/Makeprog.rules
20430 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/credui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/ddrawex/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/itss/tests/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/odbccp32/tests/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/sfc_os/Makefile dlls/shdoclc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/snmpapi/tests/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user32/Makefile dlls/user32/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winealsa.drv/Makefile dlls/winearts.drv/Makefile dlls/wineaudioio.drv/Makefile dlls/winecoreaudio.drv/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineesd.drv/Makefile dlls/winejack.drv/Makefile dlls/winejoystick.drv/Makefile dlls/winemp3.acm/Makefile dlls/winenas.drv/Makefile dlls/wineoss.drv/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/tests/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20433 cat >confcache <<\_ACEOF
20434 # This file is a shell script that caches the results of configure
20435 # tests run on this system so they can be shared between configure
20436 # scripts and configure runs, see configure's option --config-cache.
20437 # It is not useful on other systems. If it contains results you don't
20438 # want to keep, you may remove or edit it.
20440 # config.status only pays attention to the cache file if you give it
20441 # the --recheck option to rerun configure.
20443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20445 # following values.
20447 _ACEOF
20449 # The following way of writing the cache mishandles newlines in values,
20450 # but we know of no workaround that is simple, portable, and efficient.
20451 # So, we kill variables containing newlines.
20452 # Ultrix sh set writes to stderr and can't be redirected directly,
20453 # and sets the high bit in the cache file unless we assign to the vars.
20455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20456 eval ac_val=\$$ac_var
20457 case $ac_val in #(
20458 *${as_nl}*)
20459 case $ac_var in #(
20460 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20461 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20462 esac
20463 case $ac_var in #(
20464 _ | IFS | as_nl) ;; #(
20465 *) $as_unset $ac_var ;;
20466 esac ;;
20467 esac
20468 done
20470 (set) 2>&1 |
20471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20472 *${as_nl}ac_space=\ *)
20473 # `set' does not quote correctly, so add quotes (double-quote
20474 # substitution turns \\\\ into \\, and sed turns \\ into \).
20475 sed -n \
20476 "s/'/'\\\\''/g;
20477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20478 ;; #(
20480 # `set' quotes correctly as required by POSIX, so do not add quotes.
20481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20483 esac |
20484 sort
20486 sed '
20487 /^ac_cv_env_/b end
20488 t clear
20489 :clear
20490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20491 t end
20492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20493 :end' >>confcache
20494 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20495 if test -w "$cache_file"; then
20496 test "x$cache_file" != "x/dev/null" &&
20497 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20498 echo "$as_me: updating cache $cache_file" >&6;}
20499 cat confcache >$cache_file
20500 else
20501 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20502 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20505 rm -f confcache
20507 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20508 # Let make expand exec_prefix.
20509 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20511 DEFS=-DHAVE_CONFIG_H
20513 ac_libobjs=
20514 ac_ltlibobjs=
20515 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20516 # 1. Remove the extension, and $U if already installed.
20517 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20518 ac_i=`echo "$ac_i" | sed "$ac_script"`
20519 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20520 # will be set to the directory where LIBOBJS objects are built.
20521 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20522 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20523 done
20524 LIBOBJS=$ac_libobjs
20526 LTLIBOBJS=$ac_ltlibobjs
20530 : ${CONFIG_STATUS=./config.status}
20531 ac_clean_files_save=$ac_clean_files
20532 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20533 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20534 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20535 cat >$CONFIG_STATUS <<_ACEOF
20536 #! $SHELL
20537 # Generated by $as_me.
20538 # Run this file to recreate the current configuration.
20539 # Compiler output produced by configure, useful for debugging
20540 # configure, is in config.log if it exists.
20542 debug=false
20543 ac_cs_recheck=false
20544 ac_cs_silent=false
20545 SHELL=\${CONFIG_SHELL-$SHELL}
20546 _ACEOF
20548 cat >>$CONFIG_STATUS <<\_ACEOF
20549 ## --------------------- ##
20550 ## M4sh Initialization. ##
20551 ## --------------------- ##
20553 # Be more Bourne compatible
20554 DUALCASE=1; export DUALCASE # for MKS sh
20555 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20556 emulate sh
20557 NULLCMD=:
20558 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20559 # is contrary to our usage. Disable this feature.
20560 alias -g '${1+"$@"}'='"$@"'
20561 setopt NO_GLOB_SUBST
20562 else
20563 case `(set -o) 2>/dev/null` in
20564 *posix*) set -o posix ;;
20565 esac
20572 # PATH needs CR
20573 # Avoid depending upon Character Ranges.
20574 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20575 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20576 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20577 as_cr_digits='0123456789'
20578 as_cr_alnum=$as_cr_Letters$as_cr_digits
20580 # The user is always right.
20581 if test "${PATH_SEPARATOR+set}" != set; then
20582 echo "#! /bin/sh" >conf$$.sh
20583 echo "exit 0" >>conf$$.sh
20584 chmod +x conf$$.sh
20585 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20586 PATH_SEPARATOR=';'
20587 else
20588 PATH_SEPARATOR=:
20590 rm -f conf$$.sh
20593 # Support unset when possible.
20594 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20595 as_unset=unset
20596 else
20597 as_unset=false
20601 # IFS
20602 # We need space, tab and new line, in precisely that order. Quoting is
20603 # there to prevent editors from complaining about space-tab.
20604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20605 # splitting by setting IFS to empty value.)
20606 as_nl='
20608 IFS=" "" $as_nl"
20610 # Find who we are. Look in the path if we contain no directory separator.
20611 case $0 in
20612 *[\\/]* ) as_myself=$0 ;;
20613 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20614 for as_dir in $PATH
20616 IFS=$as_save_IFS
20617 test -z "$as_dir" && as_dir=.
20618 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20619 done
20620 IFS=$as_save_IFS
20623 esac
20624 # We did not find ourselves, most probably we were run as `sh COMMAND'
20625 # in which case we are not to be found in the path.
20626 if test "x$as_myself" = x; then
20627 as_myself=$0
20629 if test ! -f "$as_myself"; then
20630 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20631 { (exit 1); exit 1; }
20634 # Work around bugs in pre-3.0 UWIN ksh.
20635 for as_var in ENV MAIL MAILPATH
20636 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20637 done
20638 PS1='$ '
20639 PS2='> '
20640 PS4='+ '
20642 # NLS nuisances.
20643 for as_var in \
20644 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20645 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20646 LC_TELEPHONE LC_TIME
20648 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20649 eval $as_var=C; export $as_var
20650 else
20651 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20653 done
20655 # Required to use basename.
20656 if expr a : '\(a\)' >/dev/null 2>&1 &&
20657 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20658 as_expr=expr
20659 else
20660 as_expr=false
20663 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20664 as_basename=basename
20665 else
20666 as_basename=false
20670 # Name of the executable.
20671 as_me=`$as_basename -- "$0" ||
20672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20673 X"$0" : 'X\(//\)$' \| \
20674 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20675 echo X/"$0" |
20676 sed '/^.*\/\([^/][^/]*\)\/*$/{
20677 s//\1/
20680 /^X\/\(\/\/\)$/{
20681 s//\1/
20684 /^X\/\(\/\).*/{
20685 s//\1/
20688 s/.*/./; q'`
20690 # CDPATH.
20691 $as_unset CDPATH
20695 as_lineno_1=$LINENO
20696 as_lineno_2=$LINENO
20697 test "x$as_lineno_1" != "x$as_lineno_2" &&
20698 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20700 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20701 # uniformly replaced by the line number. The first 'sed' inserts a
20702 # line-number line after each line using $LINENO; the second 'sed'
20703 # does the real work. The second script uses 'N' to pair each
20704 # line-number line with the line containing $LINENO, and appends
20705 # trailing '-' during substitution so that $LINENO is not a special
20706 # case at line end.
20707 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20708 # scripts with optimization help from Paolo Bonzini. Blame Lee
20709 # E. McMahon (1931-1989) for sed's syntax. :-)
20710 sed -n '
20712 /[$]LINENO/=
20713 ' <$as_myself |
20714 sed '
20715 s/[$]LINENO.*/&-/
20716 t lineno
20718 :lineno
20720 :loop
20721 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20722 t loop
20723 s/-\n.*//
20724 ' >$as_me.lineno &&
20725 chmod +x "$as_me.lineno" ||
20726 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20727 { (exit 1); exit 1; }; }
20729 # Don't try to exec as it changes $[0], causing all sort of problems
20730 # (the dirname of $[0] is not the place where we might find the
20731 # original and so on. Autoconf is especially sensitive to this).
20732 . "./$as_me.lineno"
20733 # Exit status is that of the last command.
20734 exit
20738 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20739 as_dirname=dirname
20740 else
20741 as_dirname=false
20744 ECHO_C= ECHO_N= ECHO_T=
20745 case `echo -n x` in
20746 -n*)
20747 case `echo 'x\c'` in
20748 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20749 *) ECHO_C='\c';;
20750 esac;;
20752 ECHO_N='-n';;
20753 esac
20755 if expr a : '\(a\)' >/dev/null 2>&1 &&
20756 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20757 as_expr=expr
20758 else
20759 as_expr=false
20762 rm -f conf$$ conf$$.exe conf$$.file
20763 if test -d conf$$.dir; then
20764 rm -f conf$$.dir/conf$$.file
20765 else
20766 rm -f conf$$.dir
20767 mkdir conf$$.dir
20769 echo >conf$$.file
20770 if ln -s conf$$.file conf$$ 2>/dev/null; then
20771 as_ln_s='ln -s'
20772 # ... but there are two gotchas:
20773 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20774 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20775 # In both cases, we have to default to `cp -p'.
20776 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20777 as_ln_s='cp -p'
20778 elif ln conf$$.file conf$$ 2>/dev/null; then
20779 as_ln_s=ln
20780 else
20781 as_ln_s='cp -p'
20783 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20784 rmdir conf$$.dir 2>/dev/null
20786 if mkdir -p . 2>/dev/null; then
20787 as_mkdir_p=:
20788 else
20789 test -d ./-p && rmdir ./-p
20790 as_mkdir_p=false
20793 if test -x / >/dev/null 2>&1; then
20794 as_test_x='test -x'
20795 else
20796 if ls -dL / >/dev/null 2>&1; then
20797 as_ls_L_option=L
20798 else
20799 as_ls_L_option=
20801 as_test_x='
20802 eval sh -c '\''
20803 if test -d "$1"; then
20804 test -d "$1/.";
20805 else
20806 case $1 in
20807 -*)set "./$1";;
20808 esac;
20809 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20810 ???[sx]*):;;*)false;;esac;fi
20811 '\'' sh
20814 as_executable_p=$as_test_x
20816 # Sed expression to map a string onto a valid CPP name.
20817 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20819 # Sed expression to map a string onto a valid variable name.
20820 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20823 exec 6>&1
20825 # Save the log message, to keep $[0] and so on meaningful, and to
20826 # report actual input values of CONFIG_FILES etc. instead of their
20827 # values after options handling.
20828 ac_log="
20829 This file was extended by Wine $as_me 0.9.29, which was
20830 generated by GNU Autoconf 2.61. Invocation command line was
20832 CONFIG_FILES = $CONFIG_FILES
20833 CONFIG_HEADERS = $CONFIG_HEADERS
20834 CONFIG_LINKS = $CONFIG_LINKS
20835 CONFIG_COMMANDS = $CONFIG_COMMANDS
20836 $ $0 $@
20838 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20841 _ACEOF
20843 cat >>$CONFIG_STATUS <<_ACEOF
20844 # Files that config.status was made for.
20845 config_files="$ac_config_files"
20846 config_headers="$ac_config_headers"
20847 config_commands="$ac_config_commands"
20849 _ACEOF
20851 cat >>$CONFIG_STATUS <<\_ACEOF
20852 ac_cs_usage="\
20853 \`$as_me' instantiates files from templates according to the
20854 current configuration.
20856 Usage: $0 [OPTIONS] [FILE]...
20858 -h, --help print this help, then exit
20859 -V, --version print version number and configuration settings, then exit
20860 -q, --quiet do not print progress messages
20861 -d, --debug don't remove temporary files
20862 --recheck update $as_me by reconfiguring in the same conditions
20863 --file=FILE[:TEMPLATE]
20864 instantiate the configuration file FILE
20865 --header=FILE[:TEMPLATE]
20866 instantiate the configuration header FILE
20868 Configuration files:
20869 $config_files
20871 Configuration headers:
20872 $config_headers
20874 Configuration commands:
20875 $config_commands
20877 Report bugs to <bug-autoconf@gnu.org>."
20879 _ACEOF
20880 cat >>$CONFIG_STATUS <<_ACEOF
20881 ac_cs_version="\\
20882 Wine config.status 0.9.29
20883 configured by $0, generated by GNU Autoconf 2.61,
20884 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20886 Copyright (C) 2006 Free Software Foundation, Inc.
20887 This config.status script is free software; the Free Software Foundation
20888 gives unlimited permission to copy, distribute and modify it."
20890 ac_pwd='$ac_pwd'
20891 srcdir='$srcdir'
20892 INSTALL='$INSTALL'
20893 _ACEOF
20895 cat >>$CONFIG_STATUS <<\_ACEOF
20896 # If no file are specified by the user, then we need to provide default
20897 # value. By we need to know if files were specified by the user.
20898 ac_need_defaults=:
20899 while test $# != 0
20901 case $1 in
20902 --*=*)
20903 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20904 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20905 ac_shift=:
20908 ac_option=$1
20909 ac_optarg=$2
20910 ac_shift=shift
20912 esac
20914 case $ac_option in
20915 # Handling of the options.
20916 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20917 ac_cs_recheck=: ;;
20918 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20919 echo "$ac_cs_version"; exit ;;
20920 --debug | --debu | --deb | --de | --d | -d )
20921 debug=: ;;
20922 --file | --fil | --fi | --f )
20923 $ac_shift
20924 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20925 ac_need_defaults=false;;
20926 --header | --heade | --head | --hea )
20927 $ac_shift
20928 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20929 ac_need_defaults=false;;
20930 --he | --h)
20931 # Conflict between --help and --header
20932 { echo "$as_me: error: ambiguous option: $1
20933 Try \`$0 --help' for more information." >&2
20934 { (exit 1); exit 1; }; };;
20935 --help | --hel | -h )
20936 echo "$ac_cs_usage"; exit ;;
20937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20938 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20939 ac_cs_silent=: ;;
20941 # This is an error.
20942 -*) { echo "$as_me: error: unrecognized option: $1
20943 Try \`$0 --help' for more information." >&2
20944 { (exit 1); exit 1; }; } ;;
20946 *) ac_config_targets="$ac_config_targets $1"
20947 ac_need_defaults=false ;;
20949 esac
20950 shift
20951 done
20953 ac_configure_extra_args=
20955 if $ac_cs_silent; then
20956 exec 6>/dev/null
20957 ac_configure_extra_args="$ac_configure_extra_args --silent"
20960 _ACEOF
20961 cat >>$CONFIG_STATUS <<_ACEOF
20962 if \$ac_cs_recheck; then
20963 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20964 CONFIG_SHELL=$SHELL
20965 export CONFIG_SHELL
20966 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20969 _ACEOF
20970 cat >>$CONFIG_STATUS <<\_ACEOF
20971 exec 5>>config.log
20973 echo
20974 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20975 ## Running $as_me. ##
20976 _ASBOX
20977 echo "$ac_log"
20978 } >&5
20980 _ACEOF
20981 cat >>$CONFIG_STATUS <<_ACEOF
20982 _ACEOF
20984 cat >>$CONFIG_STATUS <<\_ACEOF
20986 # Handling of arguments.
20987 for ac_config_target in $ac_config_targets
20989 case $ac_config_target in
20990 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20991 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20992 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
20993 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
20994 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
20995 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
20996 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
20997 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20998 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20999 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21000 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21001 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21002 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21003 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21004 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21005 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21006 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21007 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21008 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21009 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21010 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21011 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21012 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21013 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21014 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21015 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21016 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21017 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21018 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21019 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21020 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21021 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21022 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21023 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21024 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21025 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21026 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21027 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21028 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21029 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21030 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21031 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21032 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21033 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21034 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21035 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21036 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21037 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21038 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21039 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21040 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21041 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21042 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21043 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21044 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21045 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21046 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21047 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21048 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21049 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21050 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21051 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21052 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21053 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21054 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21055 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21056 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21057 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21058 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21059 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21060 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21061 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21062 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21063 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21064 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21065 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21066 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21067 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21068 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21069 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21070 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21071 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21072 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21073 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21074 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21075 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21076 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21077 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21078 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21079 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21080 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21081 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21082 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21083 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21084 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21085 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21086 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21087 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21088 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21089 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21090 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21091 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21092 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21093 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21094 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21095 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21096 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21097 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21098 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21099 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21100 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21101 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21102 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21103 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21104 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21105 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21106 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21107 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21108 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21109 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21110 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21111 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21112 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21113 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21114 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21115 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21116 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21117 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21118 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21119 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21120 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21121 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21122 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21123 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21124 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21125 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21126 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21127 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21128 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21129 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21130 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21131 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21132 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21133 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21134 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21135 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21136 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21137 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21138 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21139 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21140 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21141 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21142 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21143 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21144 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21145 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21146 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21147 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21148 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21149 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21150 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21151 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21152 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21153 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21154 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21155 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21156 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21157 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21158 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21159 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21160 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21161 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21162 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21163 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21164 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21165 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21166 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21167 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21168 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21169 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21170 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21171 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21172 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21173 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21174 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21175 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21176 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21177 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21178 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21179 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21180 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21181 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21182 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21183 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21184 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21185 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21186 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21187 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21188 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21189 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21190 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21191 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21192 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21193 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21194 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21195 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21196 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21197 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21198 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21199 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21200 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21201 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21202 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21203 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21204 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21205 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21206 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21207 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21208 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21209 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21210 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21211 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21212 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21213 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21214 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21215 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21216 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21217 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21218 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21219 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21220 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21221 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21222 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21223 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21224 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21225 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21226 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21227 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21228 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21229 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21230 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21231 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21232 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21233 "dlls/winearts.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21234 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21235 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21236 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21237 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21238 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21239 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21240 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21241 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21242 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21243 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21244 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21245 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21246 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21247 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21248 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21249 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21250 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21251 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21252 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21253 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21254 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21255 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21256 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21257 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21258 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21259 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21260 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21261 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21262 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21263 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21264 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21265 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21266 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21267 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21268 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21269 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21270 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21271 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21272 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21273 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21274 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21275 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21276 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21277 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21278 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21279 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21280 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21281 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21282 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21283 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21284 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21285 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21286 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21287 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21288 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21289 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21290 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21291 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21292 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21293 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21294 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21295 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21296 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21297 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21298 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21299 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21300 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21301 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21302 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21303 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21304 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21305 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21306 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21307 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21308 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21309 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21310 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21311 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21312 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21313 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21314 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21315 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21316 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21317 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21319 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21320 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21321 { (exit 1); exit 1; }; };;
21322 esac
21323 done
21326 # If the user did not use the arguments to specify the items to instantiate,
21327 # then the envvar interface is used. Set only those that are not.
21328 # We use the long form for the default assignment because of an extremely
21329 # bizarre bug on SunOS 4.1.3.
21330 if $ac_need_defaults; then
21331 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21332 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21333 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21336 # Have a temporary directory for convenience. Make it in the build tree
21337 # simply because there is no reason against having it here, and in addition,
21338 # creating and moving files from /tmp can sometimes cause problems.
21339 # Hook for its removal unless debugging.
21340 # Note that there is a small window in which the directory will not be cleaned:
21341 # after its creation but before its name has been assigned to `$tmp'.
21342 $debug ||
21344 tmp=
21345 trap 'exit_status=$?
21346 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21348 trap '{ (exit 1); exit 1; }' 1 2 13 15
21350 # Create a (secure) tmp directory for tmp files.
21353 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21354 test -n "$tmp" && test -d "$tmp"
21355 } ||
21357 tmp=./conf$$-$RANDOM
21358 (umask 077 && mkdir "$tmp")
21359 } ||
21361 echo "$me: cannot create a temporary directory in ." >&2
21362 { (exit 1); exit 1; }
21366 # Set up the sed scripts for CONFIG_FILES section.
21369 # No need to generate the scripts if there are no CONFIG_FILES.
21370 # This happens for instance when ./config.status config.h
21371 if test -n "$CONFIG_FILES"; then
21373 _ACEOF
21375 # Create sed commands to just substitute file output variables.
21377 # Remaining file output variables are in a fragment that also has non-file
21378 # output varibles.
21382 ac_delim='%!_!# '
21383 for ac_last_try in false false false false false :; do
21384 cat >conf$$subs.sed <<_ACEOF
21385 SHELL!$SHELL$ac_delim
21386 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21387 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21388 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21389 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21390 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21391 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21392 exec_prefix!$exec_prefix$ac_delim
21393 prefix!$prefix$ac_delim
21394 program_transform_name!$program_transform_name$ac_delim
21395 bindir!$bindir$ac_delim
21396 sbindir!$sbindir$ac_delim
21397 libexecdir!$libexecdir$ac_delim
21398 datarootdir!$datarootdir$ac_delim
21399 datadir!$datadir$ac_delim
21400 sysconfdir!$sysconfdir$ac_delim
21401 sharedstatedir!$sharedstatedir$ac_delim
21402 localstatedir!$localstatedir$ac_delim
21403 includedir!$includedir$ac_delim
21404 oldincludedir!$oldincludedir$ac_delim
21405 docdir!$docdir$ac_delim
21406 infodir!$infodir$ac_delim
21407 htmldir!$htmldir$ac_delim
21408 dvidir!$dvidir$ac_delim
21409 pdfdir!$pdfdir$ac_delim
21410 psdir!$psdir$ac_delim
21411 libdir!$libdir$ac_delim
21412 localedir!$localedir$ac_delim
21413 mandir!$mandir$ac_delim
21414 DEFS!$DEFS$ac_delim
21415 ECHO_C!$ECHO_C$ac_delim
21416 ECHO_N!$ECHO_N$ac_delim
21417 ECHO_T!$ECHO_T$ac_delim
21418 LIBS!$LIBS$ac_delim
21419 build_alias!$build_alias$ac_delim
21420 host_alias!$host_alias$ac_delim
21421 target_alias!$target_alias$ac_delim
21422 build!$build$ac_delim
21423 build_cpu!$build_cpu$ac_delim
21424 build_vendor!$build_vendor$ac_delim
21425 build_os!$build_os$ac_delim
21426 host!$host$ac_delim
21427 host_cpu!$host_cpu$ac_delim
21428 host_vendor!$host_vendor$ac_delim
21429 host_os!$host_os$ac_delim
21430 WIN16_FILES!$WIN16_FILES$ac_delim
21431 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21432 SET_MAKE!$SET_MAKE$ac_delim
21433 CC!$CC$ac_delim
21434 CFLAGS!$CFLAGS$ac_delim
21435 LDFLAGS!$LDFLAGS$ac_delim
21436 CPPFLAGS!$CPPFLAGS$ac_delim
21437 ac_ct_CC!$ac_ct_CC$ac_delim
21438 EXEEXT!$EXEEXT$ac_delim
21439 OBJEXT!$OBJEXT$ac_delim
21440 CXX!$CXX$ac_delim
21441 CXXFLAGS!$CXXFLAGS$ac_delim
21442 ac_ct_CXX!$ac_ct_CXX$ac_delim
21443 CPPBIN!$CPPBIN$ac_delim
21444 TOOLSDIR!$TOOLSDIR$ac_delim
21445 XMKMF!$XMKMF$ac_delim
21446 CPP!$CPP$ac_delim
21447 X_CFLAGS!$X_CFLAGS$ac_delim
21448 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21449 X_LIBS!$X_LIBS$ac_delim
21450 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21451 LEX!$LEX$ac_delim
21452 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21453 LEXLIB!$LEXLIB$ac_delim
21454 XLEX!$XLEX$ac_delim
21455 BISON!$BISON$ac_delim
21456 AS!$AS$ac_delim
21457 ac_ct_AS!$ac_ct_AS$ac_delim
21458 LD!$LD$ac_delim
21459 AR!$AR$ac_delim
21460 RANLIB!$RANLIB$ac_delim
21461 STRIP!$STRIP$ac_delim
21462 WINDRES!$WINDRES$ac_delim
21463 LN_S!$LN_S$ac_delim
21464 LN!$LN$ac_delim
21465 GREP!$GREP$ac_delim
21466 EGREP!$EGREP$ac_delim
21467 _ACEOF
21469 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21470 break
21471 elif $ac_last_try; then
21472 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21473 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21474 { (exit 1); exit 1; }; }
21475 else
21476 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21478 done
21480 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21481 if test -n "$ac_eof"; then
21482 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21483 ac_eof=`expr $ac_eof + 1`
21486 cat >>$CONFIG_STATUS <<_ACEOF
21487 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21489 /^[ ]*@MAKE_RULES@[ ]*$/{
21490 r $MAKE_RULES
21493 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21494 r $MAKE_DLL_RULES
21497 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21498 r $MAKE_IMPLIB_RULES
21501 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21502 r $MAKE_TEST_RULES
21505 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21506 r $MAKE_PROG_RULES
21509 _ACEOF
21510 sed '
21511 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21512 s/^/s,@/; s/!/@,|#_!!_#|/
21515 s/'"$ac_delim"'$/,g/; t
21516 s/$/\\/; p
21517 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21518 ' >>$CONFIG_STATUS <conf$$subs.sed
21519 rm -f conf$$subs.sed
21520 cat >>$CONFIG_STATUS <<_ACEOF
21521 CEOF$ac_eof
21522 _ACEOF
21525 ac_delim='%!_!# '
21526 for ac_last_try in false false false false false :; do
21527 cat >conf$$subs.sed <<_ACEOF
21528 LDCONFIG!$LDCONFIG$ac_delim
21529 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21530 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21531 INSTALL_DATA!$INSTALL_DATA$ac_delim
21532 LINT!$LINT$ac_delim
21533 LINTFLAGS!$LINTFLAGS$ac_delim
21534 FONTFORGE!$FONTFORGE$ac_delim
21535 PKG_CONFIG!$PKG_CONFIG$ac_delim
21536 PRELINK!$PRELINK$ac_delim
21537 LIBPTHREAD!$LIBPTHREAD$ac_delim
21538 XLIB!$XLIB$ac_delim
21539 XFILES!$XFILES$ac_delim
21540 OPENGLFILES!$OPENGLFILES$ac_delim
21541 GLU32FILES!$GLU32FILES$ac_delim
21542 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21543 QUARTZFILES!$QUARTZFILES$ac_delim
21544 NASLIBS!$NASLIBS$ac_delim
21545 XML2LIBS!$XML2LIBS$ac_delim
21546 XML2INCL!$XML2INCL$ac_delim
21547 XSLTLIBS!$XSLTLIBS$ac_delim
21548 XSLTINCL!$XSLTINCL$ac_delim
21549 HALINCL!$HALINCL$ac_delim
21550 sane_devel!$sane_devel$ac_delim
21551 SANELIBS!$SANELIBS$ac_delim
21552 SANEINCL!$SANEINCL$ac_delim
21553 gphoto2_devel!$gphoto2_devel$ac_delim
21554 gphoto2port_devel!$gphoto2port_devel$ac_delim
21555 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21556 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21557 ICULIBS!$ICULIBS$ac_delim
21558 RESOLVLIBS!$RESOLVLIBS$ac_delim
21559 LCMSLIBS!$LCMSLIBS$ac_delim
21560 LDAPLIBS!$LDAPLIBS$ac_delim
21561 FREETYPELIBS!$FREETYPELIBS$ac_delim
21562 FREETYPEINCL!$FREETYPEINCL$ac_delim
21563 ft_devel!$ft_devel$ac_delim
21564 ft_devel2!$ft_devel2$ac_delim
21565 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21566 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
21567 ARTSLIBS!$ARTSLIBS$ac_delim
21568 ARTSINCL!$ARTSINCL$ac_delim
21569 ESDCONFIG!$ESDCONFIG$ac_delim
21570 ESDLIBS!$ESDLIBS$ac_delim
21571 ESDINCL!$ESDINCL$ac_delim
21572 ALSALIBS!$ALSALIBS$ac_delim
21573 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21574 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21575 BUILTINFLAG!$BUILTINFLAG$ac_delim
21576 DLLEXT!$DLLEXT$ac_delim
21577 DLLFLAGS!$DLLFLAGS$ac_delim
21578 LDSHARED!$LDSHARED$ac_delim
21579 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21580 LIBEXT!$LIBEXT$ac_delim
21581 IMPLIBEXT!$IMPLIBEXT$ac_delim
21582 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
21583 DLLTOOL!$DLLTOOL$ac_delim
21584 DLLWRAP!$DLLWRAP$ac_delim
21585 MINGWAR!$MINGWAR$ac_delim
21586 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21587 IOKITLIB!$IOKITLIB$ac_delim
21588 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21589 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21590 COREAUDIO!$COREAUDIO$ac_delim
21591 CARBONLIB!$CARBONLIB$ac_delim
21592 CROSSTEST!$CROSSTEST$ac_delim
21593 CROSSCC!$CROSSCC$ac_delim
21594 CROSSWINDRES!$CROSSWINDRES$ac_delim
21595 LDPATH!$LDPATH$ac_delim
21596 CRTLIBS!$CRTLIBS$ac_delim
21597 SOCKETLIBS!$SOCKETLIBS$ac_delim
21598 MAIN_BINARY!$MAIN_BINARY$ac_delim
21599 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
21600 LDD!$LDD$ac_delim
21601 LIBDL!$LIBDL$ac_delim
21602 LIBPOLL!$LIBPOLL$ac_delim
21603 DEPENDENCIES!$DEPENDENCIES$ac_delim
21604 LIBOBJS!$LIBOBJS$ac_delim
21605 LTLIBOBJS!$LTLIBOBJS$ac_delim
21606 _ACEOF
21608 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
21609 break
21610 elif $ac_last_try; then
21611 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21612 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21613 { (exit 1); exit 1; }; }
21614 else
21615 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21617 done
21619 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21620 if test -n "$ac_eof"; then
21621 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21622 ac_eof=`expr $ac_eof + 1`
21625 cat >>$CONFIG_STATUS <<_ACEOF
21626 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21628 _ACEOF
21629 sed '
21630 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21631 s/^/s,@/; s/!/@,|#_!!_#|/
21634 s/'"$ac_delim"'$/,g/; t
21635 s/$/\\/; p
21636 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21637 ' >>$CONFIG_STATUS <conf$$subs.sed
21638 rm -f conf$$subs.sed
21639 cat >>$CONFIG_STATUS <<_ACEOF
21640 :end
21641 s/|#_!!_#|//g
21642 CEOF$ac_eof
21643 _ACEOF
21646 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21647 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21648 # trailing colons and then remove the whole line if VPATH becomes empty
21649 # (actually we leave an empty line to preserve line numbers).
21650 if test "x$srcdir" = x.; then
21651 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21652 s/:*\$(srcdir):*/:/
21653 s/:*\${srcdir}:*/:/
21654 s/:*@srcdir@:*/:/
21655 s/^\([^=]*=[ ]*\):*/\1/
21656 s/:*$//
21657 s/^[^=]*=[ ]*$//
21661 cat >>$CONFIG_STATUS <<\_ACEOF
21662 fi # test -n "$CONFIG_FILES"
21665 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
21667 case $ac_tag in
21668 :[FHLC]) ac_mode=$ac_tag; continue;;
21669 esac
21670 case $ac_mode$ac_tag in
21671 :[FHL]*:*);;
21672 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21673 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21674 { (exit 1); exit 1; }; };;
21675 :[FH]-) ac_tag=-:-;;
21676 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21677 esac
21678 ac_save_IFS=$IFS
21679 IFS=:
21680 set x $ac_tag
21681 IFS=$ac_save_IFS
21682 shift
21683 ac_file=$1
21684 shift
21686 case $ac_mode in
21687 :L) ac_source=$1;;
21688 :[FH])
21689 ac_file_inputs=
21690 for ac_f
21692 case $ac_f in
21693 -) ac_f="$tmp/stdin";;
21694 *) # Look for the file first in the build tree, then in the source tree
21695 # (if the path is not absolute). The absolute path cannot be DOS-style,
21696 # because $ac_f cannot contain `:'.
21697 test -f "$ac_f" ||
21698 case $ac_f in
21699 [\\/$]*) false;;
21700 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21701 esac ||
21702 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21703 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21704 { (exit 1); exit 1; }; };;
21705 esac
21706 ac_file_inputs="$ac_file_inputs $ac_f"
21707 done
21709 # Let's still pretend it is `configure' which instantiates (i.e., don't
21710 # use $as_me), people would be surprised to read:
21711 # /* config.h. Generated by config.status. */
21712 configure_input="Generated from "`IFS=:
21713 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21714 if test x"$ac_file" != x-; then
21715 configure_input="$ac_file. $configure_input"
21716 { echo "$as_me:$LINENO: creating $ac_file" >&5
21717 echo "$as_me: creating $ac_file" >&6;}
21720 case $ac_tag in
21721 *:-:* | *:-) cat >"$tmp/stdin";;
21722 esac
21724 esac
21726 ac_dir=`$as_dirname -- "$ac_file" ||
21727 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21728 X"$ac_file" : 'X\(//\)[^/]' \| \
21729 X"$ac_file" : 'X\(//\)$' \| \
21730 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21731 echo X"$ac_file" |
21732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21733 s//\1/
21736 /^X\(\/\/\)[^/].*/{
21737 s//\1/
21740 /^X\(\/\/\)$/{
21741 s//\1/
21744 /^X\(\/\).*/{
21745 s//\1/
21748 s/.*/./; q'`
21749 { as_dir="$ac_dir"
21750 case $as_dir in #(
21751 -*) as_dir=./$as_dir;;
21752 esac
21753 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21754 as_dirs=
21755 while :; do
21756 case $as_dir in #(
21757 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21758 *) as_qdir=$as_dir;;
21759 esac
21760 as_dirs="'$as_qdir' $as_dirs"
21761 as_dir=`$as_dirname -- "$as_dir" ||
21762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21763 X"$as_dir" : 'X\(//\)[^/]' \| \
21764 X"$as_dir" : 'X\(//\)$' \| \
21765 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21766 echo X"$as_dir" |
21767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21768 s//\1/
21771 /^X\(\/\/\)[^/].*/{
21772 s//\1/
21775 /^X\(\/\/\)$/{
21776 s//\1/
21779 /^X\(\/\).*/{
21780 s//\1/
21783 s/.*/./; q'`
21784 test -d "$as_dir" && break
21785 done
21786 test -z "$as_dirs" || eval "mkdir $as_dirs"
21787 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21788 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21789 { (exit 1); exit 1; }; }; }
21790 ac_builddir=.
21792 case "$ac_dir" in
21793 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21795 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21796 # A ".." for each directory in $ac_dir_suffix.
21797 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21798 case $ac_top_builddir_sub in
21799 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21800 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21801 esac ;;
21802 esac
21803 ac_abs_top_builddir=$ac_pwd
21804 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21805 # for backward compatibility:
21806 ac_top_builddir=$ac_top_build_prefix
21808 case $srcdir in
21809 .) # We are building in place.
21810 ac_srcdir=.
21811 ac_top_srcdir=$ac_top_builddir_sub
21812 ac_abs_top_srcdir=$ac_pwd ;;
21813 [\\/]* | ?:[\\/]* ) # Absolute name.
21814 ac_srcdir=$srcdir$ac_dir_suffix;
21815 ac_top_srcdir=$srcdir
21816 ac_abs_top_srcdir=$srcdir ;;
21817 *) # Relative name.
21818 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21819 ac_top_srcdir=$ac_top_build_prefix$srcdir
21820 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21821 esac
21822 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21825 case $ac_mode in
21828 # CONFIG_FILE
21831 case $INSTALL in
21832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21833 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21834 esac
21835 _ACEOF
21837 cat >>$CONFIG_STATUS <<\_ACEOF
21838 # If the template does not know about datarootdir, expand it.
21839 # FIXME: This hack should be removed a few years after 2.60.
21840 ac_datarootdir_hack=; ac_datarootdir_seen=
21842 case `sed -n '/datarootdir/ {
21846 /@datadir@/p
21847 /@docdir@/p
21848 /@infodir@/p
21849 /@localedir@/p
21850 /@mandir@/p
21851 ' $ac_file_inputs` in
21852 *datarootdir*) ac_datarootdir_seen=yes;;
21853 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21854 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21855 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21856 _ACEOF
21857 cat >>$CONFIG_STATUS <<_ACEOF
21858 ac_datarootdir_hack='
21859 s&@datadir@&$datadir&g
21860 s&@docdir@&$docdir&g
21861 s&@infodir@&$infodir&g
21862 s&@localedir@&$localedir&g
21863 s&@mandir@&$mandir&g
21864 s&\\\${datarootdir}&$datarootdir&g' ;;
21865 esac
21866 _ACEOF
21868 # Neutralize VPATH when `$srcdir' = `.'.
21869 # Shell code in configure.ac might set extrasub.
21870 # FIXME: do we really want to maintain this feature?
21871 cat >>$CONFIG_STATUS <<_ACEOF
21872 sed "$ac_vpsub
21873 $extrasub
21874 _ACEOF
21875 cat >>$CONFIG_STATUS <<\_ACEOF
21877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21878 s&@configure_input@&$configure_input&;t t
21879 s&@top_builddir@&$ac_top_builddir_sub&;t t
21880 s&@srcdir@&$ac_srcdir&;t t
21881 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21882 s&@top_srcdir@&$ac_top_srcdir&;t t
21883 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21884 s&@builddir@&$ac_builddir&;t t
21885 s&@abs_builddir@&$ac_abs_builddir&;t t
21886 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21887 s&@INSTALL@&$ac_INSTALL&;t t
21888 $ac_datarootdir_hack
21889 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
21891 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21892 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21893 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21894 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21895 which seems to be undefined. Please make sure it is defined." >&5
21896 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21897 which seems to be undefined. Please make sure it is defined." >&2;}
21899 rm -f "$tmp/stdin"
21900 case $ac_file in
21901 -) cat "$tmp/out"; rm -f "$tmp/out";;
21902 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21903 esac
21907 # CONFIG_HEADER
21909 _ACEOF
21911 # Transform confdefs.h into a sed script `conftest.defines', that
21912 # substitutes the proper values into config.h.in to produce config.h.
21913 rm -f conftest.defines conftest.tail
21914 # First, append a space to every undef/define line, to ease matching.
21915 echo 's/$/ /' >conftest.defines
21916 # Then, protect against being on the right side of a sed subst, or in
21917 # an unquoted here document, in config.status. If some macros were
21918 # called several times there might be several #defines for the same
21919 # symbol, which is useless. But do not sort them, since the last
21920 # AC_DEFINE must be honored.
21921 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21922 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21923 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21924 # PARAMS is the parameter list in the macro definition--in most cases, it's
21925 # just an empty string.
21926 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21927 ac_dB='\\)[ (].*,\\1define\\2'
21928 ac_dC=' '
21929 ac_dD=' ,'
21931 uniq confdefs.h |
21932 sed -n '
21933 t rset
21934 :rset
21935 s/^[ ]*#[ ]*define[ ][ ]*//
21936 t ok
21939 s/[\\&,]/\\&/g
21940 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21941 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21942 ' >>conftest.defines
21944 # Remove the space that was appended to ease matching.
21945 # Then replace #undef with comments. This is necessary, for
21946 # example, in the case of _POSIX_SOURCE, which is predefined and required
21947 # on some systems where configure will not decide to define it.
21948 # (The regexp can be short, since the line contains either #define or #undef.)
21949 echo 's/ $//
21950 s,^[ #]*u.*,/* & */,' >>conftest.defines
21952 # Break up conftest.defines:
21953 ac_max_sed_lines=50
21955 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21956 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21957 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21958 # et cetera.
21959 ac_in='$ac_file_inputs'
21960 ac_out='"$tmp/out1"'
21961 ac_nxt='"$tmp/out2"'
21963 while :
21965 # Write a here document:
21966 cat >>$CONFIG_STATUS <<_ACEOF
21967 # First, check the format of the line:
21968 cat >"\$tmp/defines.sed" <<\\CEOF
21969 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21970 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21972 :def
21973 _ACEOF
21974 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21975 echo 'CEOF
21976 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21977 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
21978 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
21979 grep . conftest.tail >/dev/null || break
21980 rm -f conftest.defines
21981 mv conftest.tail conftest.defines
21982 done
21983 rm -f conftest.defines conftest.tail
21985 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21986 cat >>$CONFIG_STATUS <<\_ACEOF
21987 if test x"$ac_file" != x-; then
21988 echo "/* $configure_input */" >"$tmp/config.h"
21989 cat "$ac_result" >>"$tmp/config.h"
21990 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21991 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21992 echo "$as_me: $ac_file is unchanged" >&6;}
21993 else
21994 rm -f $ac_file
21995 mv "$tmp/config.h" $ac_file
21997 else
21998 echo "/* $configure_input */"
21999 cat "$ac_result"
22001 rm -f "$tmp/out12"
22004 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22005 echo "$as_me: executing $ac_file commands" >&6;}
22007 esac
22010 case $ac_file$ac_mode in
22011 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22012 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22013 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22014 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22015 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22016 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22017 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22018 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22019 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22020 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22021 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22022 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22023 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22025 esac
22026 done # for ac_tag
22029 { (exit 0); exit 0; }
22030 _ACEOF
22031 chmod +x $CONFIG_STATUS
22032 ac_clean_files=$ac_clean_files_save
22035 # configure is writing to config.log, and then calls config.status.
22036 # config.status does its own redirection, appending to config.log.
22037 # Unfortunately, on DOS this fails, as config.log is still kept open
22038 # by configure, so config.status won't be able to write to it; its
22039 # output is simply discarded. So we exec the FD to /dev/null,
22040 # effectively closing config.log, so it can be properly (re)opened and
22041 # appended to by config.status. When coming back to configure, we
22042 # need to make the FD available again.
22043 if test "$no_create" != yes; then
22044 ac_cs_success=:
22045 ac_config_status_args=
22046 test "$silent" = yes &&
22047 ac_config_status_args="$ac_config_status_args --quiet"
22048 exec 5>/dev/null
22049 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22050 exec 5>>config.log
22051 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22052 # would make configure fail if this is the last instruction.
22053 $ac_cs_success || { (exit 1); exit 1; }
22058 if test "$no_create" = "yes"
22059 then
22060 exit 0
22063 if test "$verbose" = "yes"
22064 then
22065 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22066 then
22067 echo >&2
22068 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22069 echo "$as_me: libcapi20 development files not found." >&6;}
22070 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22071 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22074 if test "$ac_cv_header_cups_cups_h" != "yes"
22075 then
22076 echo >&2
22077 { echo "$as_me:$LINENO: libcups development files not found." >&5
22078 echo "$as_me: libcups development files not found." >&6;}
22079 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22080 echo "$as_me: Wine will be built without CUPS support." >&6;}
22084 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22085 then
22086 echo >&2
22087 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22088 echo "$as_me: libgphoto2 development files not found." >&6;}
22089 if test "$ac_cv_header_sane_sane_h" = "yes"
22090 then
22091 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22092 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22093 else
22094 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22095 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22099 if test "$ac_cv_header_hal_libhal_h" != "yes"
22100 then
22101 echo >&2
22102 { echo "$as_me:$LINENO: libhal development files not found." >&5
22103 echo "$as_me: libhal development files not found." >&6;}
22104 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22105 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22108 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22109 then
22110 echo >&2
22111 { echo "$as_me:$LINENO: libicu development files not found." >&5
22112 echo "$as_me: libicu development files not found." >&6;}
22113 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22114 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22117 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22118 then
22119 echo >&2
22120 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22121 echo "$as_me: liblcms development files not found." >&6;}
22122 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22123 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22126 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22127 then
22128 echo >&2
22129 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22130 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22131 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22132 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22135 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22136 then
22137 echo >&2
22138 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22139 echo "$as_me: lib(n)curses development files not found." >&6;}
22140 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22141 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22144 if test "$ac_cv_header_sane_sane_h" != "yes"
22145 then
22146 echo >&2
22147 { echo "$as_me:$LINENO: libsane development files not found." >&5
22148 echo "$as_me: libsane development files not found." >&6;}
22149 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22150 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22153 if test "$have_x" = "yes"
22154 then
22155 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22156 then
22157 echo >&2
22158 { echo "$as_me:$LINENO: libxext development files not found." >&5
22159 echo "$as_me: libxext development files not found." >&6;}
22160 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22161 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22164 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22165 then
22166 echo >&2
22167 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22168 echo "$as_me: libXrandr development files not found." >&6;}
22169 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22170 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22173 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22174 then
22175 echo >&2
22176 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22177 echo "$as_me: libXrender development files not found." >&6;}
22178 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22179 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22182 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22183 then
22184 echo >&2
22185 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22186 echo "$as_me: libXxf86vm development files not found." >&6;}
22187 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22188 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22192 if test "$ac_cv_header_libxml_parser_h" != "yes"
22193 then
22194 echo >&2
22195 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22196 echo "$as_me: libxml2 development files not found." >&6;}
22197 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22198 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22201 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22202 then
22203 echo >&2
22204 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22205 echo "$as_me: libxslt development files not found." >&6;}
22206 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22207 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22212 if test "$have_x" = "no"
22213 then
22214 echo >&2
22215 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22216 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22217 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22218 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22219 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22220 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22221 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22222 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22225 if test -z "$OPENGLFILES"
22226 then
22227 echo >&2
22228 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22229 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22230 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22231 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22232 if test "$wine_cv_opengl_headers_found" = "no"
22233 then
22234 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22235 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22237 if test "$wine_cv_opengl_header_version_OK" = "no"
22238 then
22239 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22240 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22241 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22242 then
22243 if test -f /usr/X11R6/lib/libGL.a
22244 then
22245 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22246 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22247 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22248 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22249 else
22250 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22251 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22256 if test "$wine_cv_msg_freetype" = "yes"
22257 then
22258 echo >&2
22259 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22260 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22261 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22262 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22263 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22264 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22265 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22266 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22269 if test -z "$FONTSSUBDIRS"
22270 then
22271 echo >&2
22272 if test "$FONTFORGE" = "false"
22273 then
22274 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22275 echo "$as_me: WARNING: FontForge is missing." >&2;}
22276 else
22277 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22278 echo "$as_me: WARNING: FreeType is missing." >&2;}
22280 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22281 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22284 if test -z "$ALSALIBS" -a \
22285 -z "$ARTSC_LIBS" -a \
22286 -z "$AUDIOIOLIBS" -a \
22287 -z "$NASLIBS" -a \
22288 -z "$ESD_LIBS" -a \
22289 -z "$ac_cv_lib_soname_jack" -a \
22290 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22291 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22292 "$ac_cv_header_soundcard_h" != "yes"
22293 then
22294 echo >&2
22295 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22296 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22297 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22298 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22299 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22300 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22303 echo
22304 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22305 echo