winecoreaudio: Leave audio unit running, except when waveout device paused.
[wine/dibdrv.git] / configure
blob67791215d854fe6dea38a8bec4d0322a4a2c7dbc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.27.
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.27'
578 PACKAGE_STRING='Wine 0.9.27'
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 COREFOUNDATIONLIB
758 IOKITLIB
759 LDEXECFLAGS
760 DISKARBITRATIONLIB
761 COREAUDIO
762 CROSSTEST
763 CROSSCC
764 CROSSWINDRES
765 LDPATH
766 CRTLIBS
767 SOCKETLIBS
768 MAIN_BINARY
769 EXTRA_BINARIES
771 LIBDL
772 LIBPOLL
773 DEPENDENCIES
774 LIBOBJS
775 LTLIBOBJS'
776 ac_subst_files='MAKE_RULES
777 MAKE_DLL_RULES
778 MAKE_IMPLIB_RULES
779 MAKE_TEST_RULES
780 MAKE_PROG_RULES'
781 ac_precious_vars='build_alias
782 host_alias
783 target_alias
785 CFLAGS
786 LDFLAGS
787 LIBS
788 CPPFLAGS
790 CXXFLAGS
792 XMKMF
793 CPP'
796 # Initialize some variables set by options.
797 ac_init_help=
798 ac_init_version=false
799 # The variables have the same names as the options, with
800 # dashes changed to underlines.
801 cache_file=/dev/null
802 exec_prefix=NONE
803 no_create=
804 no_recursion=
805 prefix=NONE
806 program_prefix=NONE
807 program_suffix=NONE
808 program_transform_name=s,x,x,
809 silent=
810 site=
811 srcdir=
812 verbose=
813 x_includes=NONE
814 x_libraries=NONE
816 # Installation directory options.
817 # These are left unexpanded so users can "make install exec_prefix=/foo"
818 # and all the variables that are supposed to be based on exec_prefix
819 # by default will actually change.
820 # Use braces instead of parens because sh, perl, etc. also accept them.
821 # (The list follows the same order as the GNU Coding Standards.)
822 bindir='${exec_prefix}/bin'
823 sbindir='${exec_prefix}/sbin'
824 libexecdir='${exec_prefix}/libexec'
825 datarootdir='${prefix}/share'
826 datadir='${datarootdir}'
827 sysconfdir='${prefix}/etc'
828 sharedstatedir='${prefix}/com'
829 localstatedir='${prefix}/var'
830 includedir='${prefix}/include'
831 oldincludedir='/usr/include'
832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
833 infodir='${datarootdir}/info'
834 htmldir='${docdir}'
835 dvidir='${docdir}'
836 pdfdir='${docdir}'
837 psdir='${docdir}'
838 libdir='${exec_prefix}/lib'
839 localedir='${datarootdir}/locale'
840 mandir='${datarootdir}/man'
842 ac_prev=
843 ac_dashdash=
844 for ac_option
846 # If the previous option needs an argument, assign it.
847 if test -n "$ac_prev"; then
848 eval $ac_prev=\$ac_option
849 ac_prev=
850 continue
853 case $ac_option in
854 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 *) ac_optarg=yes ;;
856 esac
858 # Accept the important Cygnus configure options, so we can diagnose typos.
860 case $ac_dashdash$ac_option in
862 ac_dashdash=yes ;;
864 -bindir | --bindir | --bindi | --bind | --bin | --bi)
865 ac_prev=bindir ;;
866 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 bindir=$ac_optarg ;;
869 -build | --build | --buil | --bui | --bu)
870 ac_prev=build_alias ;;
871 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
872 build_alias=$ac_optarg ;;
874 -cache-file | --cache-file | --cache-fil | --cache-fi \
875 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
876 ac_prev=cache_file ;;
877 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
878 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
879 cache_file=$ac_optarg ;;
881 --config-cache | -C)
882 cache_file=config.cache ;;
884 -datadir | --datadir | --datadi | --datad)
885 ac_prev=datadir ;;
886 -datadir=* | --datadir=* | --datadi=* | --datad=*)
887 datadir=$ac_optarg ;;
889 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
890 | --dataroo | --dataro | --datar)
891 ac_prev=datarootdir ;;
892 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
893 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
894 datarootdir=$ac_optarg ;;
896 -disable-* | --disable-*)
897 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
898 # Reject names that are not valid shell variable names.
899 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
900 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
901 { (exit 1); exit 1; }; }
902 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
903 eval enable_$ac_feature=no ;;
905 -docdir | --docdir | --docdi | --doc | --do)
906 ac_prev=docdir ;;
907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 docdir=$ac_optarg ;;
910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
911 ac_prev=dvidir ;;
912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 dvidir=$ac_optarg ;;
915 -enable-* | --enable-*)
916 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
917 # Reject names that are not valid shell variable names.
918 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
919 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
920 { (exit 1); exit 1; }; }
921 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
922 eval enable_$ac_feature=\$ac_optarg ;;
924 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
925 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
926 | --exec | --exe | --ex)
927 ac_prev=exec_prefix ;;
928 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
929 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
930 | --exec=* | --exe=* | --ex=*)
931 exec_prefix=$ac_optarg ;;
933 -gas | --gas | --ga | --g)
934 # Obsolete; use --with-gas.
935 with_gas=yes ;;
937 -help | --help | --hel | --he | -h)
938 ac_init_help=long ;;
939 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
940 ac_init_help=recursive ;;
941 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
942 ac_init_help=short ;;
944 -host | --host | --hos | --ho)
945 ac_prev=host_alias ;;
946 -host=* | --host=* | --hos=* | --ho=*)
947 host_alias=$ac_optarg ;;
949 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
950 ac_prev=htmldir ;;
951 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
952 | --ht=*)
953 htmldir=$ac_optarg ;;
955 -includedir | --includedir | --includedi | --included | --include \
956 | --includ | --inclu | --incl | --inc)
957 ac_prev=includedir ;;
958 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
959 | --includ=* | --inclu=* | --incl=* | --inc=*)
960 includedir=$ac_optarg ;;
962 -infodir | --infodir | --infodi | --infod | --info | --inf)
963 ac_prev=infodir ;;
964 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
965 infodir=$ac_optarg ;;
967 -libdir | --libdir | --libdi | --libd)
968 ac_prev=libdir ;;
969 -libdir=* | --libdir=* | --libdi=* | --libd=*)
970 libdir=$ac_optarg ;;
972 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
973 | --libexe | --libex | --libe)
974 ac_prev=libexecdir ;;
975 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
976 | --libexe=* | --libex=* | --libe=*)
977 libexecdir=$ac_optarg ;;
979 -localedir | --localedir | --localedi | --localed | --locale)
980 ac_prev=localedir ;;
981 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
982 localedir=$ac_optarg ;;
984 -localstatedir | --localstatedir | --localstatedi | --localstated \
985 | --localstate | --localstat | --localsta | --localst | --locals)
986 ac_prev=localstatedir ;;
987 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
988 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
989 localstatedir=$ac_optarg ;;
991 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
992 ac_prev=mandir ;;
993 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
994 mandir=$ac_optarg ;;
996 -nfp | --nfp | --nf)
997 # Obsolete; use --without-fp.
998 with_fp=no ;;
1000 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1001 | --no-cr | --no-c | -n)
1002 no_create=yes ;;
1004 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1005 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1006 no_recursion=yes ;;
1008 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1009 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1010 | --oldin | --oldi | --old | --ol | --o)
1011 ac_prev=oldincludedir ;;
1012 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1013 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1014 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1015 oldincludedir=$ac_optarg ;;
1017 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1018 ac_prev=prefix ;;
1019 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1020 prefix=$ac_optarg ;;
1022 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1023 | --program-pre | --program-pr | --program-p)
1024 ac_prev=program_prefix ;;
1025 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1026 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1027 program_prefix=$ac_optarg ;;
1029 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1030 | --program-suf | --program-su | --program-s)
1031 ac_prev=program_suffix ;;
1032 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1033 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1034 program_suffix=$ac_optarg ;;
1036 -program-transform-name | --program-transform-name \
1037 | --program-transform-nam | --program-transform-na \
1038 | --program-transform-n | --program-transform- \
1039 | --program-transform | --program-transfor \
1040 | --program-transfo | --program-transf \
1041 | --program-trans | --program-tran \
1042 | --progr-tra | --program-tr | --program-t)
1043 ac_prev=program_transform_name ;;
1044 -program-transform-name=* | --program-transform-name=* \
1045 | --program-transform-nam=* | --program-transform-na=* \
1046 | --program-transform-n=* | --program-transform-=* \
1047 | --program-transform=* | --program-transfor=* \
1048 | --program-transfo=* | --program-transf=* \
1049 | --program-trans=* | --program-tran=* \
1050 | --progr-tra=* | --program-tr=* | --program-t=*)
1051 program_transform_name=$ac_optarg ;;
1053 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1054 ac_prev=pdfdir ;;
1055 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1056 pdfdir=$ac_optarg ;;
1058 -psdir | --psdir | --psdi | --psd | --ps)
1059 ac_prev=psdir ;;
1060 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1061 psdir=$ac_optarg ;;
1063 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1064 | -silent | --silent | --silen | --sile | --sil)
1065 silent=yes ;;
1067 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1068 ac_prev=sbindir ;;
1069 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1070 | --sbi=* | --sb=*)
1071 sbindir=$ac_optarg ;;
1073 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1074 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1075 | --sharedst | --shareds | --shared | --share | --shar \
1076 | --sha | --sh)
1077 ac_prev=sharedstatedir ;;
1078 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1079 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1080 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1081 | --sha=* | --sh=*)
1082 sharedstatedir=$ac_optarg ;;
1084 -site | --site | --sit)
1085 ac_prev=site ;;
1086 -site=* | --site=* | --sit=*)
1087 site=$ac_optarg ;;
1089 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1090 ac_prev=srcdir ;;
1091 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1092 srcdir=$ac_optarg ;;
1094 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1095 | --syscon | --sysco | --sysc | --sys | --sy)
1096 ac_prev=sysconfdir ;;
1097 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1098 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1099 sysconfdir=$ac_optarg ;;
1101 -target | --target | --targe | --targ | --tar | --ta | --t)
1102 ac_prev=target_alias ;;
1103 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1104 target_alias=$ac_optarg ;;
1106 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1107 verbose=yes ;;
1109 -version | --version | --versio | --versi | --vers | -V)
1110 ac_init_version=: ;;
1112 -with-* | --with-*)
1113 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1114 # Reject names that are not valid shell variable names.
1115 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1116 { echo "$as_me: error: invalid package name: $ac_package" >&2
1117 { (exit 1); exit 1; }; }
1118 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1119 eval with_$ac_package=\$ac_optarg ;;
1121 -without-* | --without-*)
1122 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1125 { echo "$as_me: error: invalid package name: $ac_package" >&2
1126 { (exit 1); exit 1; }; }
1127 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1128 eval with_$ac_package=no ;;
1130 --x)
1131 # Obsolete; use --with-x.
1132 with_x=yes ;;
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) { echo "$as_me: error: unrecognized option: $ac_option
1149 Try \`$0 --help' for more information." >&2
1150 { (exit 1); exit 1; }; }
1153 *=*)
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1157 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1158 { (exit 1); exit 1; }; }
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1170 esac
1171 done
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 { echo "$as_me: error: missing argument to $ac_option" >&2
1176 { (exit 1); exit 1; }; }
1179 # Be sure to have absolute directory names.
1180 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1181 datadir sysconfdir sharedstatedir localstatedir includedir \
1182 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1183 libdir localedir mandir
1185 eval ac_val=\$$ac_var
1186 case $ac_val in
1187 [\\/$]* | ?:[\\/]* ) continue;;
1188 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1189 esac
1190 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1191 { (exit 1); exit 1; }; }
1192 done
1194 # There might be people who depend on the old broken behavior: `$host'
1195 # used to hold the argument of --host etc.
1196 # FIXME: To remove some day.
1197 build=$build_alias
1198 host=$host_alias
1199 target=$target_alias
1201 # FIXME: To remove some day.
1202 if test "x$host_alias" != x; then
1203 if test "x$build_alias" = x; then
1204 cross_compiling=maybe
1205 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1206 If a cross compiler is detected then cross compile mode will be used." >&2
1207 elif test "x$build_alias" != "x$host_alias"; then
1208 cross_compiling=yes
1212 ac_tool_prefix=
1213 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1215 test "$silent" = yes && exec 6>/dev/null
1218 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1219 ac_ls_di=`ls -di .` &&
1220 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1221 { echo "$as_me: error: Working directory cannot be determined" >&2
1222 { (exit 1); exit 1; }; }
1223 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1224 { echo "$as_me: error: pwd does not report name of working directory" >&2
1225 { (exit 1); exit 1; }; }
1228 # Find the source files, if location was not specified.
1229 if test -z "$srcdir"; then
1230 ac_srcdir_defaulted=yes
1231 # Try the directory containing this script, then the parent directory.
1232 ac_confdir=`$as_dirname -- "$0" ||
1233 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1234 X"$0" : 'X\(//\)[^/]' \| \
1235 X"$0" : 'X\(//\)$' \| \
1236 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1237 echo X"$0" |
1238 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1239 s//\1/
1242 /^X\(\/\/\)[^/].*/{
1243 s//\1/
1246 /^X\(\/\/\)$/{
1247 s//\1/
1250 /^X\(\/\).*/{
1251 s//\1/
1254 s/.*/./; q'`
1255 srcdir=$ac_confdir
1256 if test ! -r "$srcdir/$ac_unique_file"; then
1257 srcdir=..
1259 else
1260 ac_srcdir_defaulted=no
1262 if test ! -r "$srcdir/$ac_unique_file"; then
1263 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1264 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1265 { (exit 1); exit 1; }; }
1267 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1268 ac_abs_confdir=`(
1269 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1270 { (exit 1); exit 1; }; }
1271 pwd)`
1272 # When building in place, set srcdir=.
1273 if test "$ac_abs_confdir" = "$ac_pwd"; then
1274 srcdir=.
1276 # Remove unnecessary trailing slashes from srcdir.
1277 # Double slashes in file names in object file debugging info
1278 # mess up M-x gdb in Emacs.
1279 case $srcdir in
1280 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1281 esac
1282 for ac_var in $ac_precious_vars; do
1283 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_env_${ac_var}_value=\$${ac_var}
1285 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1287 done
1290 # Report the --help message.
1292 if test "$ac_init_help" = "long"; then
1293 # Omit some internal or obsolete options to make the list less imposing.
1294 # This message is too long to be a string in the A/UX 3.1 sh.
1295 cat <<_ACEOF
1296 \`configure' configures Wine 0.9.27 to adapt to many kinds of systems.
1298 Usage: $0 [OPTION]... [VAR=VALUE]...
1300 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1301 VAR=VALUE. See below for descriptions of some of the useful variables.
1303 Defaults for the options are specified in brackets.
1305 Configuration:
1306 -h, --help display this help and exit
1307 --help=short display options specific to this package
1308 --help=recursive display the short help of all the included packages
1309 -V, --version display version information and exit
1310 -q, --quiet, --silent do not print \`checking...' messages
1311 --cache-file=FILE cache test results in FILE [disabled]
1312 -C, --config-cache alias for \`--cache-file=config.cache'
1313 -n, --no-create do not create output files
1314 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1316 Installation directories:
1317 --prefix=PREFIX install architecture-independent files in PREFIX
1318 [$ac_default_prefix]
1319 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1320 [PREFIX]
1322 By default, \`make install' will install all the files in
1323 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1324 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1325 for instance \`--prefix=\$HOME'.
1327 For better control, use the options below.
1329 Fine tuning of the installation directories:
1330 --bindir=DIR user executables [EPREFIX/bin]
1331 --sbindir=DIR system admin executables [EPREFIX/sbin]
1332 --libexecdir=DIR program executables [EPREFIX/libexec]
1333 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1334 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1335 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1336 --libdir=DIR object code libraries [EPREFIX/lib]
1337 --includedir=DIR C header files [PREFIX/include]
1338 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1339 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1340 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1341 --infodir=DIR info documentation [DATAROOTDIR/info]
1342 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1343 --mandir=DIR man documentation [DATAROOTDIR/man]
1344 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1345 --htmldir=DIR html documentation [DOCDIR]
1346 --dvidir=DIR dvi documentation [DOCDIR]
1347 --pdfdir=DIR pdf documentation [DOCDIR]
1348 --psdir=DIR ps documentation [DOCDIR]
1349 _ACEOF
1351 cat <<\_ACEOF
1353 X features:
1354 --x-includes=DIR X include files are in DIR
1355 --x-libraries=DIR X library files are in DIR
1357 System types:
1358 --build=BUILD configure for building on BUILD [guessed]
1359 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1360 _ACEOF
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of Wine 0.9.27:";;
1366 esac
1367 cat <<\_ACEOF
1369 Optional Features:
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-win16 do not include Win16 support
1373 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1374 binaries)
1376 Optional Packages:
1377 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1378 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1379 --without-opengl do not use OpenGL
1380 --with-wine-tools=<dir> use Wine tools from directory <dir>
1381 --with-x use the X Window System
1383 Some influential environment variables:
1384 CC C compiler command
1385 CFLAGS C compiler flags
1386 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1387 nonstandard directory <lib dir>
1388 LIBS libraries to pass to the linker, e.g. -l<library>
1389 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1390 you have headers in a nonstandard directory <include dir>
1391 CXX C++ compiler command
1392 CXXFLAGS C++ compiler flags
1393 XMKMF Path to xmkmf, Makefile generator for X Window System
1394 CPP C preprocessor
1396 Use these variables to override the choices made by `configure' or to help
1397 it to find libraries and programs with nonstandard names/locations.
1399 Report bugs to <wine-devel@winehq.org>.
1400 _ACEOF
1401 ac_status=$?
1404 if test "$ac_init_help" = "recursive"; then
1405 # If there are subdirs, report their specific --help.
1406 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1407 test -d "$ac_dir" || continue
1408 ac_builddir=.
1410 case "$ac_dir" in
1411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1414 # A ".." for each directory in $ac_dir_suffix.
1415 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1416 case $ac_top_builddir_sub in
1417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1419 esac ;;
1420 esac
1421 ac_abs_top_builddir=$ac_pwd
1422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1423 # for backward compatibility:
1424 ac_top_builddir=$ac_top_build_prefix
1426 case $srcdir in
1427 .) # We are building in place.
1428 ac_srcdir=.
1429 ac_top_srcdir=$ac_top_builddir_sub
1430 ac_abs_top_srcdir=$ac_pwd ;;
1431 [\\/]* | ?:[\\/]* ) # Absolute name.
1432 ac_srcdir=$srcdir$ac_dir_suffix;
1433 ac_top_srcdir=$srcdir
1434 ac_abs_top_srcdir=$srcdir ;;
1435 *) # Relative name.
1436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1437 ac_top_srcdir=$ac_top_build_prefix$srcdir
1438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1439 esac
1440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1442 cd "$ac_dir" || { ac_status=$?; continue; }
1443 # Check for guested configure.
1444 if test -f "$ac_srcdir/configure.gnu"; then
1445 echo &&
1446 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1447 elif test -f "$ac_srcdir/configure"; then
1448 echo &&
1449 $SHELL "$ac_srcdir/configure" --help=recursive
1450 else
1451 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1452 fi || ac_status=$?
1453 cd "$ac_pwd" || { ac_status=$?; break; }
1454 done
1457 test -n "$ac_init_help" && exit $ac_status
1458 if $ac_init_version; then
1459 cat <<\_ACEOF
1460 Wine configure 0.9.27
1461 generated by GNU Autoconf 2.61
1463 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1464 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1465 This configure script is free software; the Free Software Foundation
1466 gives unlimited permission to copy, distribute and modify it.
1467 _ACEOF
1468 exit
1470 cat >config.log <<_ACEOF
1471 This file contains any messages produced by compilers while
1472 running configure, to aid debugging if configure makes a mistake.
1474 It was created by Wine $as_me 0.9.27, which was
1475 generated by GNU Autoconf 2.61. Invocation command line was
1477 $ $0 $@
1479 _ACEOF
1480 exec 5>>config.log
1482 cat <<_ASUNAME
1483 ## --------- ##
1484 ## Platform. ##
1485 ## --------- ##
1487 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1488 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1489 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1490 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1491 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1493 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1494 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1496 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1497 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1498 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1499 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1500 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1501 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1502 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1504 _ASUNAME
1506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1507 for as_dir in $PATH
1509 IFS=$as_save_IFS
1510 test -z "$as_dir" && as_dir=.
1511 echo "PATH: $as_dir"
1512 done
1513 IFS=$as_save_IFS
1515 } >&5
1517 cat >&5 <<_ACEOF
1520 ## ----------- ##
1521 ## Core tests. ##
1522 ## ----------- ##
1524 _ACEOF
1527 # Keep a trace of the command line.
1528 # Strip out --no-create and --no-recursion so they do not pile up.
1529 # Strip out --silent because we don't want to record it for future runs.
1530 # Also quote any args containing shell meta-characters.
1531 # Make two passes to allow for proper duplicate-argument suppression.
1532 ac_configure_args=
1533 ac_configure_args0=
1534 ac_configure_args1=
1535 ac_must_keep_next=false
1536 for ac_pass in 1 2
1538 for ac_arg
1540 case $ac_arg in
1541 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1542 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1543 | -silent | --silent | --silen | --sile | --sil)
1544 continue ;;
1545 *\'*)
1546 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1547 esac
1548 case $ac_pass in
1549 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1551 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1552 if test $ac_must_keep_next = true; then
1553 ac_must_keep_next=false # Got value, back to normal.
1554 else
1555 case $ac_arg in
1556 *=* | --config-cache | -C | -disable-* | --disable-* \
1557 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1558 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1559 | -with-* | --with-* | -without-* | --without-* | --x)
1560 case "$ac_configure_args0 " in
1561 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1562 esac
1564 -* ) ac_must_keep_next=true ;;
1565 esac
1567 ac_configure_args="$ac_configure_args '$ac_arg'"
1569 esac
1570 done
1571 done
1572 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1573 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1575 # When interrupted or exit'd, cleanup temporary files, and complete
1576 # config.log. We remove comments because anyway the quotes in there
1577 # would cause problems or look ugly.
1578 # WARNING: Use '\'' to represent an apostrophe within the trap.
1579 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1580 trap 'exit_status=$?
1581 # Save into config.log some information that might help in debugging.
1583 echo
1585 cat <<\_ASBOX
1586 ## ---------------- ##
1587 ## Cache variables. ##
1588 ## ---------------- ##
1589 _ASBOX
1590 echo
1591 # The following way of writing the cache mishandles newlines in values,
1593 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1594 eval ac_val=\$$ac_var
1595 case $ac_val in #(
1596 *${as_nl}*)
1597 case $ac_var in #(
1598 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1599 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1600 esac
1601 case $ac_var in #(
1602 _ | IFS | as_nl) ;; #(
1603 *) $as_unset $ac_var ;;
1604 esac ;;
1605 esac
1606 done
1607 (set) 2>&1 |
1608 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1609 *${as_nl}ac_space=\ *)
1610 sed -n \
1611 "s/'\''/'\''\\\\'\'''\''/g;
1612 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1613 ;; #(
1615 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1617 esac |
1618 sort
1620 echo
1622 cat <<\_ASBOX
1623 ## ----------------- ##
1624 ## Output variables. ##
1625 ## ----------------- ##
1626 _ASBOX
1627 echo
1628 for ac_var in $ac_subst_vars
1630 eval ac_val=\$$ac_var
1631 case $ac_val in
1632 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1633 esac
1634 echo "$ac_var='\''$ac_val'\''"
1635 done | sort
1636 echo
1638 if test -n "$ac_subst_files"; then
1639 cat <<\_ASBOX
1640 ## ------------------- ##
1641 ## File substitutions. ##
1642 ## ------------------- ##
1643 _ASBOX
1644 echo
1645 for ac_var in $ac_subst_files
1647 eval ac_val=\$$ac_var
1648 case $ac_val in
1649 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1650 esac
1651 echo "$ac_var='\''$ac_val'\''"
1652 done | sort
1653 echo
1656 if test -s confdefs.h; then
1657 cat <<\_ASBOX
1658 ## ----------- ##
1659 ## confdefs.h. ##
1660 ## ----------- ##
1661 _ASBOX
1662 echo
1663 cat confdefs.h
1664 echo
1666 test "$ac_signal" != 0 &&
1667 echo "$as_me: caught signal $ac_signal"
1668 echo "$as_me: exit $exit_status"
1669 } >&5
1670 rm -f core *.core core.conftest.* &&
1671 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1672 exit $exit_status
1674 for ac_signal in 1 2 13 15; do
1675 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1676 done
1677 ac_signal=0
1679 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1680 rm -f -r conftest* confdefs.h
1682 # Predefined preprocessor variables.
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_NAME "$PACKAGE_NAME"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1691 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1696 _ACEOF
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_STRING "$PACKAGE_STRING"
1701 _ACEOF
1704 cat >>confdefs.h <<_ACEOF
1705 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1706 _ACEOF
1709 # Let the site file select an alternate cache file if it wants to.
1710 # Prefer explicitly selected file to automatically selected ones.
1711 if test -n "$CONFIG_SITE"; then
1712 set x "$CONFIG_SITE"
1713 elif test "x$prefix" != xNONE; then
1714 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1715 else
1716 set x "$ac_default_prefix/share/config.site" \
1717 "$ac_default_prefix/etc/config.site"
1719 shift
1720 for ac_site_file
1722 if test -r "$ac_site_file"; then
1723 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1724 echo "$as_me: loading site script $ac_site_file" >&6;}
1725 sed 's/^/| /' "$ac_site_file" >&5
1726 . "$ac_site_file"
1728 done
1730 if test -r "$cache_file"; then
1731 # Some versions of bash will fail to source /dev/null (special
1732 # files actually), so we avoid doing that.
1733 if test -f "$cache_file"; then
1734 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1735 echo "$as_me: loading cache $cache_file" >&6;}
1736 case $cache_file in
1737 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1738 *) . "./$cache_file";;
1739 esac
1741 else
1742 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1743 echo "$as_me: creating cache $cache_file" >&6;}
1744 >$cache_file
1747 # Check that the precious variables saved in the cache have kept the same
1748 # value.
1749 ac_cache_corrupted=false
1750 for ac_var in $ac_precious_vars; do
1751 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1752 eval ac_new_set=\$ac_env_${ac_var}_set
1753 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1754 eval ac_new_val=\$ac_env_${ac_var}_value
1755 case $ac_old_set,$ac_new_set in
1756 set,)
1757 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1758 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1759 ac_cache_corrupted=: ;;
1760 ,set)
1761 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1762 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1763 ac_cache_corrupted=: ;;
1764 ,);;
1766 if test "x$ac_old_val" != "x$ac_new_val"; then
1767 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1768 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1769 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1770 echo "$as_me: former value: $ac_old_val" >&2;}
1771 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1772 echo "$as_me: current value: $ac_new_val" >&2;}
1773 ac_cache_corrupted=:
1774 fi;;
1775 esac
1776 # Pass precious variables to config.status.
1777 if test "$ac_new_set" = set; then
1778 case $ac_new_val in
1779 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1780 *) ac_arg=$ac_var=$ac_new_val ;;
1781 esac
1782 case " $ac_configure_args " in
1783 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1784 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1785 esac
1787 done
1788 if $ac_cache_corrupted; then
1789 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1790 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1791 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1792 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1793 { (exit 1); exit 1; }; }
1820 ac_ext=c
1821 ac_cpp='$CPP $CPPFLAGS'
1822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1828 ac_config_headers="$ac_config_headers include/config.h"
1830 ac_aux_dir=
1831 for ac_dir in tools "$srcdir"/tools; do
1832 if test -f "$ac_dir/install-sh"; then
1833 ac_aux_dir=$ac_dir
1834 ac_install_sh="$ac_aux_dir/install-sh -c"
1835 break
1836 elif test -f "$ac_dir/install.sh"; then
1837 ac_aux_dir=$ac_dir
1838 ac_install_sh="$ac_aux_dir/install.sh -c"
1839 break
1840 elif test -f "$ac_dir/shtool"; then
1841 ac_aux_dir=$ac_dir
1842 ac_install_sh="$ac_aux_dir/shtool install -c"
1843 break
1845 done
1846 if test -z "$ac_aux_dir"; then
1847 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1848 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1849 { (exit 1); exit 1; }; }
1852 # These three variables are undocumented and unsupported,
1853 # and are intended to be withdrawn in a future Autoconf release.
1854 # They can cause serious problems if a builder's source tree is in a directory
1855 # whose full name contains unusual characters.
1856 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1857 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1858 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1863 # Check whether --enable-win16 was given.
1864 if test "${enable_win16+set}" = set; then
1865 enableval=$enable_win16;
1868 # Check whether --enable-win64 was given.
1869 if test "${enable_win64+set}" = set; then
1870 enableval=$enable_win64;
1875 # Check whether --with-opengl was given.
1876 if test "${with_opengl+set}" = set; then
1877 withval=$with_opengl;
1881 # Check whether --with-wine-tools was given.
1882 if test "${with_wine_tools+set}" = set; then
1883 withval=$with_wine_tools;
1887 # Make sure we can run config.sub.
1888 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1889 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1890 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1891 { (exit 1); exit 1; }; }
1893 { echo "$as_me:$LINENO: checking build system type" >&5
1894 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1895 if test "${ac_cv_build+set}" = set; then
1896 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 else
1898 ac_build_alias=$build_alias
1899 test "x$ac_build_alias" = x &&
1900 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1901 test "x$ac_build_alias" = x &&
1902 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1903 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1904 { (exit 1); exit 1; }; }
1905 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1906 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1907 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1908 { (exit 1); exit 1; }; }
1911 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1912 echo "${ECHO_T}$ac_cv_build" >&6; }
1913 case $ac_cv_build in
1914 *-*-*) ;;
1915 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1916 echo "$as_me: error: invalid value of canonical build" >&2;}
1917 { (exit 1); exit 1; }; };;
1918 esac
1919 build=$ac_cv_build
1920 ac_save_IFS=$IFS; IFS='-'
1921 set x $ac_cv_build
1922 shift
1923 build_cpu=$1
1924 build_vendor=$2
1925 shift; shift
1926 # Remember, the first character of IFS is used to create $*,
1927 # except with old shells:
1928 build_os=$*
1929 IFS=$ac_save_IFS
1930 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1933 { echo "$as_me:$LINENO: checking host system type" >&5
1934 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1935 if test "${ac_cv_host+set}" = set; then
1936 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 else
1938 if test "x$host_alias" = x; then
1939 ac_cv_host=$ac_cv_build
1940 else
1941 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1942 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1943 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1944 { (exit 1); exit 1; }; }
1948 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1949 echo "${ECHO_T}$ac_cv_host" >&6; }
1950 case $ac_cv_host in
1951 *-*-*) ;;
1952 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1953 echo "$as_me: error: invalid value of canonical host" >&2;}
1954 { (exit 1); exit 1; }; };;
1955 esac
1956 host=$ac_cv_host
1957 ac_save_IFS=$IFS; IFS='-'
1958 set x $ac_cv_host
1959 shift
1960 host_cpu=$1
1961 host_vendor=$2
1962 shift; shift
1963 # Remember, the first character of IFS is used to create $*,
1964 # except with old shells:
1965 host_os=$*
1966 IFS=$ac_save_IFS
1967 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1970 case $host in
1971 x86_64*linux*)
1972 if test "x$enable_win64" != "xyes"
1973 then
1974 test -n "$CC" || CC="gcc -m32"
1975 test -n "$LD" || LD="ld -m elf_i386"
1976 test -n "$AS" || AS="as --32"
1977 host_cpu="i386"
1980 esac
1982 case $host_cpu in
1983 *i[3456789]86*)
1984 if test "x$enable_win16" != "xno"
1985 then
1986 enable_win16="yes"
1989 esac
1991 WIN16_FILES="\$(WIN16_FILES)"
1993 WIN16_INSTALL="\$(WIN16_INSTALL)"
1995 if test "x$enable_win16" != "xyes"
1996 then
1997 WIN16_FILES=""
1998 WIN16_INSTALL=""
2002 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2003 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2004 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2005 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2006 echo $ECHO_N "(cached) $ECHO_C" >&6
2007 else
2008 cat >conftest.make <<\_ACEOF
2009 SHELL = /bin/sh
2010 all:
2011 @echo '@@@%%%=$(MAKE)=@@@%%%'
2012 _ACEOF
2013 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2014 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2015 *@@@%%%=?*=@@@%%%*)
2016 eval ac_cv_prog_make_${ac_make}_set=yes;;
2018 eval ac_cv_prog_make_${ac_make}_set=no;;
2019 esac
2020 rm -f conftest.make
2022 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2023 { echo "$as_me:$LINENO: result: yes" >&5
2024 echo "${ECHO_T}yes" >&6; }
2025 SET_MAKE=
2026 else
2027 { echo "$as_me:$LINENO: result: no" >&5
2028 echo "${ECHO_T}no" >&6; }
2029 SET_MAKE="MAKE=${MAKE-make}"
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2059 done
2060 done
2061 IFS=$as_save_IFS
2065 CC=$ac_cv_prog_CC
2066 if test -n "$CC"; then
2067 { echo "$as_me:$LINENO: result: $CC" >&5
2068 echo "${ECHO_T}$CC" >&6; }
2069 else
2070 { echo "$as_me:$LINENO: result: no" >&5
2071 echo "${ECHO_T}no" >&6; }
2076 if test -z "$ac_cv_prog_CC"; then
2077 ac_ct_CC=$CC
2078 # Extract the first word of "gcc", so it can be a program name with args.
2079 set dummy gcc; ac_word=$2
2080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2082 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2083 echo $ECHO_N "(cached) $ECHO_C" >&6
2084 else
2085 if test -n "$ac_ct_CC"; then
2086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2087 else
2088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 for as_dir in $PATH
2091 IFS=$as_save_IFS
2092 test -z "$as_dir" && as_dir=.
2093 for ac_exec_ext in '' $ac_executable_extensions; do
2094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2095 ac_cv_prog_ac_ct_CC="gcc"
2096 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 break 2
2099 done
2100 done
2101 IFS=$as_save_IFS
2105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2106 if test -n "$ac_ct_CC"; then
2107 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2108 echo "${ECHO_T}$ac_ct_CC" >&6; }
2109 else
2110 { echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6; }
2114 if test "x$ac_ct_CC" = x; then
2115 CC=""
2116 else
2117 case $cross_compiling:$ac_tool_warned in
2118 yes:)
2119 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2120 whose name does not start with the host triplet. If you think this
2121 configuration is useful to you, please write to autoconf@gnu.org." >&5
2122 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2123 whose name does not start with the host triplet. If you think this
2124 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2125 ac_tool_warned=yes ;;
2126 esac
2127 CC=$ac_ct_CC
2129 else
2130 CC="$ac_cv_prog_CC"
2133 if test -z "$CC"; then
2134 if test -n "$ac_tool_prefix"; then
2135 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2136 set dummy ${ac_tool_prefix}cc; ac_word=$2
2137 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2139 if test "${ac_cv_prog_CC+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 else
2142 if test -n "$CC"; then
2143 ac_cv_prog_CC="$CC" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2148 IFS=$as_save_IFS
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2152 ac_cv_prog_CC="${ac_tool_prefix}cc"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 break 2
2156 done
2157 done
2158 IFS=$as_save_IFS
2162 CC=$ac_cv_prog_CC
2163 if test -n "$CC"; then
2164 { echo "$as_me:$LINENO: result: $CC" >&5
2165 echo "${ECHO_T}$CC" >&6; }
2166 else
2167 { echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6; }
2174 if test -z "$CC"; then
2175 # Extract the first word of "cc", so it can be a program name with args.
2176 set dummy cc; ac_word=$2
2177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2179 if test "${ac_cv_prog_CC+set}" = set; then
2180 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 else
2182 if test -n "$CC"; then
2183 ac_cv_prog_CC="$CC" # Let the user override the test.
2184 else
2185 ac_prog_rejected=no
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2187 for as_dir in $PATH
2189 IFS=$as_save_IFS
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2193 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2194 ac_prog_rejected=yes
2195 continue
2197 ac_cv_prog_CC="cc"
2198 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 break 2
2201 done
2202 done
2203 IFS=$as_save_IFS
2205 if test $ac_prog_rejected = yes; then
2206 # We found a bogon in the path, so make sure we never use it.
2207 set dummy $ac_cv_prog_CC
2208 shift
2209 if test $# != 0; then
2210 # We chose a different compiler from the bogus one.
2211 # However, it has the same basename, so the bogon will be chosen
2212 # first if we set CC to just the basename; use the full file name.
2213 shift
2214 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2219 CC=$ac_cv_prog_CC
2220 if test -n "$CC"; then
2221 { echo "$as_me:$LINENO: result: $CC" >&5
2222 echo "${ECHO_T}$CC" >&6; }
2223 else
2224 { echo "$as_me:$LINENO: result: no" >&5
2225 echo "${ECHO_T}no" >&6; }
2230 if test -z "$CC"; then
2231 if test -n "$ac_tool_prefix"; then
2232 for ac_prog in cl.exe
2234 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2235 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2236 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2237 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2238 if test "${ac_cv_prog_CC+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2240 else
2241 if test -n "$CC"; then
2242 ac_cv_prog_CC="$CC" # Let the user override the test.
2243 else
2244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2245 for as_dir in $PATH
2247 IFS=$as_save_IFS
2248 test -z "$as_dir" && as_dir=.
2249 for ac_exec_ext in '' $ac_executable_extensions; do
2250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2251 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2252 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 break 2
2255 done
2256 done
2257 IFS=$as_save_IFS
2261 CC=$ac_cv_prog_CC
2262 if test -n "$CC"; then
2263 { echo "$as_me:$LINENO: result: $CC" >&5
2264 echo "${ECHO_T}$CC" >&6; }
2265 else
2266 { echo "$as_me:$LINENO: result: no" >&5
2267 echo "${ECHO_T}no" >&6; }
2271 test -n "$CC" && break
2272 done
2274 if test -z "$CC"; then
2275 ac_ct_CC=$CC
2276 for ac_prog in cl.exe
2278 # Extract the first word of "$ac_prog", so it can be a program name with args.
2279 set dummy $ac_prog; ac_word=$2
2280 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2281 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2282 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2283 echo $ECHO_N "(cached) $ECHO_C" >&6
2284 else
2285 if test -n "$ac_ct_CC"; then
2286 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2287 else
2288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 for as_dir in $PATH
2291 IFS=$as_save_IFS
2292 test -z "$as_dir" && as_dir=.
2293 for ac_exec_ext in '' $ac_executable_extensions; do
2294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2295 ac_cv_prog_ac_ct_CC="$ac_prog"
2296 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2297 break 2
2299 done
2300 done
2301 IFS=$as_save_IFS
2305 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2306 if test -n "$ac_ct_CC"; then
2307 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2308 echo "${ECHO_T}$ac_ct_CC" >&6; }
2309 else
2310 { echo "$as_me:$LINENO: result: no" >&5
2311 echo "${ECHO_T}no" >&6; }
2315 test -n "$ac_ct_CC" && break
2316 done
2318 if test "x$ac_ct_CC" = x; then
2319 CC=""
2320 else
2321 case $cross_compiling:$ac_tool_warned in
2322 yes:)
2323 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2324 whose name does not start with the host triplet. If you think this
2325 configuration is useful to you, please write to autoconf@gnu.org." >&5
2326 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2327 whose name does not start with the host triplet. If you think this
2328 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2329 ac_tool_warned=yes ;;
2330 esac
2331 CC=$ac_ct_CC
2338 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2339 See \`config.log' for more details." >&5
2340 echo "$as_me: error: no acceptable C compiler found in \$PATH
2341 See \`config.log' for more details." >&2;}
2342 { (exit 1); exit 1; }; }
2344 # Provide some information about the compiler.
2345 echo "$as_me:$LINENO: checking for C compiler version" >&5
2346 ac_compiler=`set X $ac_compile; echo $2`
2347 { (ac_try="$ac_compiler --version >&5"
2348 case "(($ac_try" in
2349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2350 *) ac_try_echo=$ac_try;;
2351 esac
2352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2353 (eval "$ac_compiler --version >&5") 2>&5
2354 ac_status=$?
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }
2357 { (ac_try="$ac_compiler -v >&5"
2358 case "(($ac_try" in
2359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2360 *) ac_try_echo=$ac_try;;
2361 esac
2362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2363 (eval "$ac_compiler -v >&5") 2>&5
2364 ac_status=$?
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }
2367 { (ac_try="$ac_compiler -V >&5"
2368 case "(($ac_try" in
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2371 esac
2372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2373 (eval "$ac_compiler -V >&5") 2>&5
2374 ac_status=$?
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }
2378 cat >conftest.$ac_ext <<_ACEOF
2379 /* confdefs.h. */
2380 _ACEOF
2381 cat confdefs.h >>conftest.$ac_ext
2382 cat >>conftest.$ac_ext <<_ACEOF
2383 /* end confdefs.h. */
2386 main ()
2390 return 0;
2392 _ACEOF
2393 ac_clean_files_save=$ac_clean_files
2394 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2395 # Try to create an executable without -o first, disregard a.out.
2396 # It will help us diagnose broken compilers, and finding out an intuition
2397 # of exeext.
2398 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2399 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2400 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2402 # List of possible output files, starting from the most likely.
2403 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2404 # only as a last resort. b.out is created by i960 compilers.
2405 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2407 # The IRIX 6 linker writes into existing files which may not be
2408 # executable, retaining their permissions. Remove them first so a
2409 # subsequent execution test works.
2410 ac_rmfiles=
2411 for ac_file in $ac_files
2413 case $ac_file in
2414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2415 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2416 esac
2417 done
2418 rm -f $ac_rmfiles
2420 if { (ac_try="$ac_link_default"
2421 case "(($ac_try" in
2422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2423 *) ac_try_echo=$ac_try;;
2424 esac
2425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2426 (eval "$ac_link_default") 2>&5
2427 ac_status=$?
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; then
2430 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2431 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2432 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2433 # so that the user can short-circuit this test for compilers unknown to
2434 # Autoconf.
2435 for ac_file in $ac_files ''
2437 test -f "$ac_file" || continue
2438 case $ac_file in
2439 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2441 [ab].out )
2442 # We found the default executable, but exeext='' is most
2443 # certainly right.
2444 break;;
2445 *.* )
2446 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2447 then :; else
2448 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2450 # We set ac_cv_exeext here because the later test for it is not
2451 # safe: cross compilers may not add the suffix if given an `-o'
2452 # argument, so we may need to know it at that point already.
2453 # Even if this section looks crufty: it has the advantage of
2454 # actually working.
2455 break;;
2457 break;;
2458 esac
2459 done
2460 test "$ac_cv_exeext" = no && ac_cv_exeext=
2462 else
2463 ac_file=''
2466 { echo "$as_me:$LINENO: result: $ac_file" >&5
2467 echo "${ECHO_T}$ac_file" >&6; }
2468 if test -z "$ac_file"; then
2469 echo "$as_me: failed program was:" >&5
2470 sed 's/^/| /' conftest.$ac_ext >&5
2472 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2473 See \`config.log' for more details." >&5
2474 echo "$as_me: error: C compiler cannot create executables
2475 See \`config.log' for more details." >&2;}
2476 { (exit 77); exit 77; }; }
2479 ac_exeext=$ac_cv_exeext
2481 # Check that the compiler produces executables we can run. If not, either
2482 # the compiler is broken, or we cross compile.
2483 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2484 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2485 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2486 # If not cross compiling, check that we can run a simple program.
2487 if test "$cross_compiling" != yes; then
2488 if { ac_try='./$ac_file'
2489 { (case "(($ac_try" in
2490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2491 *) ac_try_echo=$ac_try;;
2492 esac
2493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2494 (eval "$ac_try") 2>&5
2495 ac_status=$?
2496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2497 (exit $ac_status); }; }; then
2498 cross_compiling=no
2499 else
2500 if test "$cross_compiling" = maybe; then
2501 cross_compiling=yes
2502 else
2503 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2504 If you meant to cross compile, use \`--host'.
2505 See \`config.log' for more details." >&5
2506 echo "$as_me: error: cannot run C compiled programs.
2507 If you meant to cross compile, use \`--host'.
2508 See \`config.log' for more details." >&2;}
2509 { (exit 1); exit 1; }; }
2513 { echo "$as_me:$LINENO: result: yes" >&5
2514 echo "${ECHO_T}yes" >&6; }
2516 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2517 ac_clean_files=$ac_clean_files_save
2518 # Check that the compiler produces executables we can run. If not, either
2519 # the compiler is broken, or we cross compile.
2520 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2521 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2522 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2523 echo "${ECHO_T}$cross_compiling" >&6; }
2525 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2526 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2527 if { (ac_try="$ac_link"
2528 case "(($ac_try" in
2529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2530 *) ac_try_echo=$ac_try;;
2531 esac
2532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2533 (eval "$ac_link") 2>&5
2534 ac_status=$?
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; then
2537 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2538 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2539 # work properly (i.e., refer to `conftest.exe'), while it won't with
2540 # `rm'.
2541 for ac_file in conftest.exe conftest conftest.*; do
2542 test -f "$ac_file" || continue
2543 case $ac_file in
2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2545 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2546 break;;
2547 * ) break;;
2548 esac
2549 done
2550 else
2551 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2552 See \`config.log' for more details." >&5
2553 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2554 See \`config.log' for more details." >&2;}
2555 { (exit 1); exit 1; }; }
2558 rm -f conftest$ac_cv_exeext
2559 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2560 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2562 rm -f conftest.$ac_ext
2563 EXEEXT=$ac_cv_exeext
2564 ac_exeext=$EXEEXT
2565 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2566 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2567 if test "${ac_cv_objext+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2569 else
2570 cat >conftest.$ac_ext <<_ACEOF
2571 /* confdefs.h. */
2572 _ACEOF
2573 cat confdefs.h >>conftest.$ac_ext
2574 cat >>conftest.$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2578 main ()
2582 return 0;
2584 _ACEOF
2585 rm -f conftest.o conftest.obj
2586 if { (ac_try="$ac_compile"
2587 case "(($ac_try" in
2588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2589 *) ac_try_echo=$ac_try;;
2590 esac
2591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2592 (eval "$ac_compile") 2>&5
2593 ac_status=$?
2594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 (exit $ac_status); }; then
2596 for ac_file in conftest.o conftest.obj conftest.*; do
2597 test -f "$ac_file" || continue;
2598 case $ac_file in
2599 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2600 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2601 break;;
2602 esac
2603 done
2604 else
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.$ac_ext >&5
2608 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2609 See \`config.log' for more details." >&5
2610 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2611 See \`config.log' for more details." >&2;}
2612 { (exit 1); exit 1; }; }
2615 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2617 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2618 echo "${ECHO_T}$ac_cv_objext" >&6; }
2619 OBJEXT=$ac_cv_objext
2620 ac_objext=$OBJEXT
2621 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2622 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2623 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2625 else
2626 cat >conftest.$ac_ext <<_ACEOF
2627 /* confdefs.h. */
2628 _ACEOF
2629 cat confdefs.h >>conftest.$ac_ext
2630 cat >>conftest.$ac_ext <<_ACEOF
2631 /* end confdefs.h. */
2634 main ()
2636 #ifndef __GNUC__
2637 choke me
2638 #endif
2641 return 0;
2643 _ACEOF
2644 rm -f conftest.$ac_objext
2645 if { (ac_try="$ac_compile"
2646 case "(($ac_try" in
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2649 esac
2650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2651 (eval "$ac_compile") 2>conftest.er1
2652 ac_status=$?
2653 grep -v '^ *+' conftest.er1 >conftest.err
2654 rm -f conftest.er1
2655 cat conftest.err >&5
2656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2657 (exit $ac_status); } && {
2658 test -z "$ac_c_werror_flag" ||
2659 test ! -s conftest.err
2660 } && test -s conftest.$ac_objext; then
2661 ac_compiler_gnu=yes
2662 else
2663 echo "$as_me: failed program was:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2666 ac_compiler_gnu=no
2669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2673 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2674 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2675 GCC=`test $ac_compiler_gnu = yes && echo yes`
2676 ac_test_CFLAGS=${CFLAGS+set}
2677 ac_save_CFLAGS=$CFLAGS
2678 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2679 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2680 if test "${ac_cv_prog_cc_g+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2682 else
2683 ac_save_c_werror_flag=$ac_c_werror_flag
2684 ac_c_werror_flag=yes
2685 ac_cv_prog_cc_g=no
2686 CFLAGS="-g"
2687 cat >conftest.$ac_ext <<_ACEOF
2688 /* confdefs.h. */
2689 _ACEOF
2690 cat confdefs.h >>conftest.$ac_ext
2691 cat >>conftest.$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2695 main ()
2699 return 0;
2701 _ACEOF
2702 rm -f conftest.$ac_objext
2703 if { (ac_try="$ac_compile"
2704 case "(($ac_try" in
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2707 esac
2708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2709 (eval "$ac_compile") 2>conftest.er1
2710 ac_status=$?
2711 grep -v '^ *+' conftest.er1 >conftest.err
2712 rm -f conftest.er1
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2715 (exit $ac_status); } && {
2716 test -z "$ac_c_werror_flag" ||
2717 test ! -s conftest.err
2718 } && test -s conftest.$ac_objext; then
2719 ac_cv_prog_cc_g=yes
2720 else
2721 echo "$as_me: failed program was:" >&5
2722 sed 's/^/| /' conftest.$ac_ext >&5
2724 CFLAGS=""
2725 cat >conftest.$ac_ext <<_ACEOF
2726 /* confdefs.h. */
2727 _ACEOF
2728 cat confdefs.h >>conftest.$ac_ext
2729 cat >>conftest.$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2733 main ()
2737 return 0;
2739 _ACEOF
2740 rm -f conftest.$ac_objext
2741 if { (ac_try="$ac_compile"
2742 case "(($ac_try" in
2743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2744 *) ac_try_echo=$ac_try;;
2745 esac
2746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2747 (eval "$ac_compile") 2>conftest.er1
2748 ac_status=$?
2749 grep -v '^ *+' conftest.er1 >conftest.err
2750 rm -f conftest.er1
2751 cat conftest.err >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } && {
2754 test -z "$ac_c_werror_flag" ||
2755 test ! -s conftest.err
2756 } && test -s conftest.$ac_objext; then
2758 else
2759 echo "$as_me: failed program was:" >&5
2760 sed 's/^/| /' conftest.$ac_ext >&5
2762 ac_c_werror_flag=$ac_save_c_werror_flag
2763 CFLAGS="-g"
2764 cat >conftest.$ac_ext <<_ACEOF
2765 /* confdefs.h. */
2766 _ACEOF
2767 cat confdefs.h >>conftest.$ac_ext
2768 cat >>conftest.$ac_ext <<_ACEOF
2769 /* end confdefs.h. */
2772 main ()
2776 return 0;
2778 _ACEOF
2779 rm -f conftest.$ac_objext
2780 if { (ac_try="$ac_compile"
2781 case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2784 esac
2785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2786 (eval "$ac_compile") 2>conftest.er1
2787 ac_status=$?
2788 grep -v '^ *+' conftest.er1 >conftest.err
2789 rm -f conftest.er1
2790 cat conftest.err >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } && {
2793 test -z "$ac_c_werror_flag" ||
2794 test ! -s conftest.err
2795 } && test -s conftest.$ac_objext; then
2796 ac_cv_prog_cc_g=yes
2797 else
2798 echo "$as_me: failed program was:" >&5
2799 sed 's/^/| /' conftest.$ac_ext >&5
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2811 ac_c_werror_flag=$ac_save_c_werror_flag
2813 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2814 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2815 if test "$ac_test_CFLAGS" = set; then
2816 CFLAGS=$ac_save_CFLAGS
2817 elif test $ac_cv_prog_cc_g = yes; then
2818 if test "$GCC" = yes; then
2819 CFLAGS="-g -O2"
2820 else
2821 CFLAGS="-g"
2823 else
2824 if test "$GCC" = yes; then
2825 CFLAGS="-O2"
2826 else
2827 CFLAGS=
2830 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2831 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2832 if test "${ac_cv_prog_cc_c89+set}" = set; then
2833 echo $ECHO_N "(cached) $ECHO_C" >&6
2834 else
2835 ac_cv_prog_cc_c89=no
2836 ac_save_CC=$CC
2837 cat >conftest.$ac_ext <<_ACEOF
2838 /* confdefs.h. */
2839 _ACEOF
2840 cat confdefs.h >>conftest.$ac_ext
2841 cat >>conftest.$ac_ext <<_ACEOF
2842 /* end confdefs.h. */
2843 #include <stdarg.h>
2844 #include <stdio.h>
2845 #include <sys/types.h>
2846 #include <sys/stat.h>
2847 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2848 struct buf { int x; };
2849 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2850 static char *e (p, i)
2851 char **p;
2852 int i;
2854 return p[i];
2856 static char *f (char * (*g) (char **, int), char **p, ...)
2858 char *s;
2859 va_list v;
2860 va_start (v,p);
2861 s = g (p, va_arg (v,int));
2862 va_end (v);
2863 return s;
2866 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2867 function prototypes and stuff, but not '\xHH' hex character constants.
2868 These don't provoke an error unfortunately, instead are silently treated
2869 as 'x'. The following induces an error, until -std is added to get
2870 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2871 array size at least. It's necessary to write '\x00'==0 to get something
2872 that's true only with -std. */
2873 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2875 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2876 inside strings and character constants. */
2877 #define FOO(x) 'x'
2878 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2880 int test (int i, double x);
2881 struct s1 {int (*f) (int a);};
2882 struct s2 {int (*f) (double a);};
2883 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2884 int argc;
2885 char **argv;
2887 main ()
2889 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2891 return 0;
2893 _ACEOF
2894 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2895 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2897 CC="$ac_save_CC $ac_arg"
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2900 case "(($ac_try" in
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2903 esac
2904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2906 ac_status=$?
2907 grep -v '^ *+' conftest.er1 >conftest.err
2908 rm -f conftest.er1
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_c_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2915 ac_cv_prog_cc_c89=$ac_arg
2916 else
2917 echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f core conftest.err conftest.$ac_objext
2924 test "x$ac_cv_prog_cc_c89" != "xno" && break
2925 done
2926 rm -f conftest.$ac_ext
2927 CC=$ac_save_CC
2930 # AC_CACHE_VAL
2931 case "x$ac_cv_prog_cc_c89" in
2933 { echo "$as_me:$LINENO: result: none needed" >&5
2934 echo "${ECHO_T}none needed" >&6; } ;;
2935 xno)
2936 { echo "$as_me:$LINENO: result: unsupported" >&5
2937 echo "${ECHO_T}unsupported" >&6; } ;;
2939 CC="$CC $ac_cv_prog_cc_c89"
2940 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2941 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2942 esac
2945 ac_ext=c
2946 ac_cpp='$CPP $CPPFLAGS'
2947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2951 ac_ext=cpp
2952 ac_cpp='$CXXCPP $CPPFLAGS'
2953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2956 if test -z "$CXX"; then
2957 if test -n "$CCC"; then
2958 CXX=$CCC
2959 else
2960 if test -n "$ac_tool_prefix"; then
2961 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2963 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2964 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2967 if test "${ac_cv_prog_CXX+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2969 else
2970 if test -n "$CXX"; then
2971 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2972 else
2973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2974 for as_dir in $PATH
2976 IFS=$as_save_IFS
2977 test -z "$as_dir" && as_dir=.
2978 for ac_exec_ext in '' $ac_executable_extensions; do
2979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2980 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2982 break 2
2984 done
2985 done
2986 IFS=$as_save_IFS
2990 CXX=$ac_cv_prog_CXX
2991 if test -n "$CXX"; then
2992 { echo "$as_me:$LINENO: result: $CXX" >&5
2993 echo "${ECHO_T}$CXX" >&6; }
2994 else
2995 { echo "$as_me:$LINENO: result: no" >&5
2996 echo "${ECHO_T}no" >&6; }
3000 test -n "$CXX" && break
3001 done
3003 if test -z "$CXX"; then
3004 ac_ct_CXX=$CXX
3005 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3007 # Extract the first word of "$ac_prog", so it can be a program name with args.
3008 set dummy $ac_prog; ac_word=$2
3009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3011 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 else
3014 if test -n "$ac_ct_CXX"; then
3015 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3016 else
3017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018 for as_dir in $PATH
3020 IFS=$as_save_IFS
3021 test -z "$as_dir" && as_dir=.
3022 for ac_exec_ext in '' $ac_executable_extensions; do
3023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3024 ac_cv_prog_ac_ct_CXX="$ac_prog"
3025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3026 break 2
3028 done
3029 done
3030 IFS=$as_save_IFS
3034 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3035 if test -n "$ac_ct_CXX"; then
3036 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3037 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3038 else
3039 { echo "$as_me:$LINENO: result: no" >&5
3040 echo "${ECHO_T}no" >&6; }
3044 test -n "$ac_ct_CXX" && break
3045 done
3047 if test "x$ac_ct_CXX" = x; then
3048 CXX="g++"
3049 else
3050 case $cross_compiling:$ac_tool_warned in
3051 yes:)
3052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3053 whose name does not start with the host triplet. If you think this
3054 configuration is useful to you, please write to autoconf@gnu.org." >&5
3055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3056 whose name does not start with the host triplet. If you think this
3057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3058 ac_tool_warned=yes ;;
3059 esac
3060 CXX=$ac_ct_CXX
3066 # Provide some information about the compiler.
3067 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3068 ac_compiler=`set X $ac_compile; echo $2`
3069 { (ac_try="$ac_compiler --version >&5"
3070 case "(($ac_try" in
3071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3073 esac
3074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3075 (eval "$ac_compiler --version >&5") 2>&5
3076 ac_status=$?
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); }
3079 { (ac_try="$ac_compiler -v >&5"
3080 case "(($ac_try" in
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3083 esac
3084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3085 (eval "$ac_compiler -v >&5") 2>&5
3086 ac_status=$?
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }
3089 { (ac_try="$ac_compiler -V >&5"
3090 case "(($ac_try" in
3091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3093 esac
3094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3095 (eval "$ac_compiler -V >&5") 2>&5
3096 ac_status=$?
3097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3098 (exit $ac_status); }
3100 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3101 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3102 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3103 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 else
3105 cat >conftest.$ac_ext <<_ACEOF
3106 /* confdefs.h. */
3107 _ACEOF
3108 cat confdefs.h >>conftest.$ac_ext
3109 cat >>conftest.$ac_ext <<_ACEOF
3110 /* end confdefs.h. */
3113 main ()
3115 #ifndef __GNUC__
3116 choke me
3117 #endif
3120 return 0;
3122 _ACEOF
3123 rm -f conftest.$ac_objext
3124 if { (ac_try="$ac_compile"
3125 case "(($ac_try" in
3126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3128 esac
3129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3130 (eval "$ac_compile") 2>conftest.er1
3131 ac_status=$?
3132 grep -v '^ *+' conftest.er1 >conftest.err
3133 rm -f conftest.er1
3134 cat conftest.err >&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); } && {
3137 test -z "$ac_cxx_werror_flag" ||
3138 test ! -s conftest.err
3139 } && test -s conftest.$ac_objext; then
3140 ac_compiler_gnu=yes
3141 else
3142 echo "$as_me: failed program was:" >&5
3143 sed 's/^/| /' conftest.$ac_ext >&5
3145 ac_compiler_gnu=no
3148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3152 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3154 GXX=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CXXFLAGS=${CXXFLAGS+set}
3156 ac_save_CXXFLAGS=$CXXFLAGS
3157 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3158 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3159 if test "${ac_cv_prog_cxx_g+set}" = set; then
3160 echo $ECHO_N "(cached) $ECHO_C" >&6
3161 else
3162 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3163 ac_cxx_werror_flag=yes
3164 ac_cv_prog_cxx_g=no
3165 CXXFLAGS="-g"
3166 cat >conftest.$ac_ext <<_ACEOF
3167 /* confdefs.h. */
3168 _ACEOF
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3174 main ()
3178 return 0;
3180 _ACEOF
3181 rm -f conftest.$ac_objext
3182 if { (ac_try="$ac_compile"
3183 case "(($ac_try" in
3184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3185 *) ac_try_echo=$ac_try;;
3186 esac
3187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3188 (eval "$ac_compile") 2>conftest.er1
3189 ac_status=$?
3190 grep -v '^ *+' conftest.er1 >conftest.err
3191 rm -f conftest.er1
3192 cat conftest.err >&5
3193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3194 (exit $ac_status); } && {
3195 test -z "$ac_cxx_werror_flag" ||
3196 test ! -s conftest.err
3197 } && test -s conftest.$ac_objext; then
3198 ac_cv_prog_cxx_g=yes
3199 else
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 CXXFLAGS=""
3204 cat >conftest.$ac_ext <<_ACEOF
3205 /* confdefs.h. */
3206 _ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3212 main ()
3216 return 0;
3218 _ACEOF
3219 rm -f conftest.$ac_objext
3220 if { (ac_try="$ac_compile"
3221 case "(($ac_try" in
3222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3223 *) ac_try_echo=$ac_try;;
3224 esac
3225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3226 (eval "$ac_compile") 2>conftest.er1
3227 ac_status=$?
3228 grep -v '^ *+' conftest.er1 >conftest.err
3229 rm -f conftest.er1
3230 cat conftest.err >&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); } && {
3233 test -z "$ac_cxx_werror_flag" ||
3234 test ! -s conftest.err
3235 } && test -s conftest.$ac_objext; then
3237 else
3238 echo "$as_me: failed program was:" >&5
3239 sed 's/^/| /' conftest.$ac_ext >&5
3241 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3242 CXXFLAGS="-g"
3243 cat >conftest.$ac_ext <<_ACEOF
3244 /* confdefs.h. */
3245 _ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3251 main ()
3255 return 0;
3257 _ACEOF
3258 rm -f conftest.$ac_objext
3259 if { (ac_try="$ac_compile"
3260 case "(($ac_try" in
3261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3262 *) ac_try_echo=$ac_try;;
3263 esac
3264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3265 (eval "$ac_compile") 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } && {
3272 test -z "$ac_cxx_werror_flag" ||
3273 test ! -s conftest.err
3274 } && test -s conftest.$ac_objext; then
3275 ac_cv_prog_cxx_g=yes
3276 else
3277 echo "$as_me: failed program was:" >&5
3278 sed 's/^/| /' conftest.$ac_ext >&5
3283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3292 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3293 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3294 if test "$ac_test_CXXFLAGS" = set; then
3295 CXXFLAGS=$ac_save_CXXFLAGS
3296 elif test $ac_cv_prog_cxx_g = yes; then
3297 if test "$GXX" = yes; then
3298 CXXFLAGS="-g -O2"
3299 else
3300 CXXFLAGS="-g"
3302 else
3303 if test "$GXX" = yes; then
3304 CXXFLAGS="-O2"
3305 else
3306 CXXFLAGS=
3309 ac_ext=c
3310 ac_cpp='$CPP $CPPFLAGS'
3311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3315 if test -n "$ac_tool_prefix"; then
3316 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3317 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3320 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3321 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 else
3323 if test -n "$CPPBIN"; then
3324 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3325 else
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH
3329 IFS=$as_save_IFS
3330 test -z "$as_dir" && as_dir=.
3331 for ac_exec_ext in '' $ac_executable_extensions; do
3332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3333 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3335 break 2
3337 done
3338 done
3339 IFS=$as_save_IFS
3343 CPPBIN=$ac_cv_prog_CPPBIN
3344 if test -n "$CPPBIN"; then
3345 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3346 echo "${ECHO_T}$CPPBIN" >&6; }
3347 else
3348 { echo "$as_me:$LINENO: result: no" >&5
3349 echo "${ECHO_T}no" >&6; }
3354 if test -z "$ac_cv_prog_CPPBIN"; then
3355 ac_ct_CPPBIN=$CPPBIN
3356 # Extract the first word of "cpp", so it can be a program name with args.
3357 set dummy cpp; ac_word=$2
3358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3360 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 else
3363 if test -n "$ac_ct_CPPBIN"; then
3364 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3373 ac_cv_prog_ac_ct_CPPBIN="cpp"
3374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 break 2
3377 done
3378 done
3379 IFS=$as_save_IFS
3383 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3384 if test -n "$ac_ct_CPPBIN"; then
3385 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3386 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3387 else
3388 { echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6; }
3392 if test "x$ac_ct_CPPBIN" = x; then
3393 CPPBIN="cpp"
3394 else
3395 case $cross_compiling:$ac_tool_warned in
3396 yes:)
3397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3398 whose name does not start with the host triplet. If you think this
3399 configuration is useful to you, please write to autoconf@gnu.org." >&5
3400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3401 whose name does not start with the host triplet. If you think this
3402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3403 ac_tool_warned=yes ;;
3404 esac
3405 CPPBIN=$ac_ct_CPPBIN
3407 else
3408 CPPBIN="$ac_cv_prog_CPPBIN"
3412 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3413 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3414 if test "${wine_cv_toolsdir+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3416 else
3417 if test -z "$with_wine_tools"; then
3418 if test "$cross_compiling" = "yes"; then
3419 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3420 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3421 { (exit 1); exit 1; }; }
3422 else
3423 wine_cv_toolsdir="\$(TOPOBJDIR)"
3425 elif test -d "$with_wine_tools/tools/winebuild"; then
3426 case $with_wine_tools in
3427 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3428 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3429 esac
3430 else
3431 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3432 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3433 { (exit 1); exit 1; }; }
3436 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3437 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3438 TOOLSDIR=$wine_cv_toolsdir
3442 ac_ext=c
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3447 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3448 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3449 # On Suns, sometimes $CPP names a directory.
3450 if test -n "$CPP" && test -d "$CPP"; then
3451 CPP=
3453 if test -z "$CPP"; then
3454 if test "${ac_cv_prog_CPP+set}" = set; then
3455 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 else
3457 # Double quotes because CPP needs to be expanded
3458 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3460 ac_preproc_ok=false
3461 for ac_c_preproc_warn_flag in '' yes
3463 # Use a header file that comes with gcc, so configuring glibc
3464 # with a fresh cross-compiler works.
3465 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3466 # <limits.h> exists even on freestanding compilers.
3467 # On the NeXT, cc -E runs the code through the compiler's parser,
3468 # not just through cpp. "Syntax error" is here to catch this case.
3469 cat >conftest.$ac_ext <<_ACEOF
3470 /* confdefs.h. */
3471 _ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3475 #ifdef __STDC__
3476 # include <limits.h>
3477 #else
3478 # include <assert.h>
3479 #endif
3480 Syntax error
3481 _ACEOF
3482 if { (ac_try="$ac_cpp conftest.$ac_ext"
3483 case "(($ac_try" in
3484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3485 *) ac_try_echo=$ac_try;;
3486 esac
3487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3488 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3489 ac_status=$?
3490 grep -v '^ *+' conftest.er1 >conftest.err
3491 rm -f conftest.er1
3492 cat conftest.err >&5
3493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3494 (exit $ac_status); } >/dev/null && {
3495 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3496 test ! -s conftest.err
3497 }; then
3499 else
3500 echo "$as_me: failed program was:" >&5
3501 sed 's/^/| /' conftest.$ac_ext >&5
3503 # Broken: fails on valid input.
3504 continue
3507 rm -f conftest.err conftest.$ac_ext
3509 # OK, works on sane cases. Now check whether nonexistent headers
3510 # can be detected and how.
3511 cat >conftest.$ac_ext <<_ACEOF
3512 /* confdefs.h. */
3513 _ACEOF
3514 cat confdefs.h >>conftest.$ac_ext
3515 cat >>conftest.$ac_ext <<_ACEOF
3516 /* end confdefs.h. */
3517 #include <ac_nonexistent.h>
3518 _ACEOF
3519 if { (ac_try="$ac_cpp conftest.$ac_ext"
3520 case "(($ac_try" in
3521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3522 *) ac_try_echo=$ac_try;;
3523 esac
3524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3525 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3526 ac_status=$?
3527 grep -v '^ *+' conftest.er1 >conftest.err
3528 rm -f conftest.er1
3529 cat conftest.err >&5
3530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3531 (exit $ac_status); } >/dev/null && {
3532 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3533 test ! -s conftest.err
3534 }; then
3535 # Broken: success on invalid input.
3536 continue
3537 else
3538 echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3541 # Passes both tests.
3542 ac_preproc_ok=:
3543 break
3546 rm -f conftest.err conftest.$ac_ext
3548 done
3549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3550 rm -f conftest.err conftest.$ac_ext
3551 if $ac_preproc_ok; then
3552 break
3555 done
3556 ac_cv_prog_CPP=$CPP
3559 CPP=$ac_cv_prog_CPP
3560 else
3561 ac_cv_prog_CPP=$CPP
3563 { echo "$as_me:$LINENO: result: $CPP" >&5
3564 echo "${ECHO_T}$CPP" >&6; }
3565 ac_preproc_ok=false
3566 for ac_c_preproc_warn_flag in '' yes
3568 # Use a header file that comes with gcc, so configuring glibc
3569 # with a fresh cross-compiler works.
3570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3571 # <limits.h> exists even on freestanding compilers.
3572 # On the NeXT, cc -E runs the code through the compiler's parser,
3573 # not just through cpp. "Syntax error" is here to catch this case.
3574 cat >conftest.$ac_ext <<_ACEOF
3575 /* confdefs.h. */
3576 _ACEOF
3577 cat confdefs.h >>conftest.$ac_ext
3578 cat >>conftest.$ac_ext <<_ACEOF
3579 /* end confdefs.h. */
3580 #ifdef __STDC__
3581 # include <limits.h>
3582 #else
3583 # include <assert.h>
3584 #endif
3585 Syntax error
3586 _ACEOF
3587 if { (ac_try="$ac_cpp conftest.$ac_ext"
3588 case "(($ac_try" in
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3591 esac
3592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3593 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3594 ac_status=$?
3595 grep -v '^ *+' conftest.er1 >conftest.err
3596 rm -f conftest.er1
3597 cat conftest.err >&5
3598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3599 (exit $ac_status); } >/dev/null && {
3600 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3601 test ! -s conftest.err
3602 }; then
3604 else
3605 echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3608 # Broken: fails on valid input.
3609 continue
3612 rm -f conftest.err conftest.$ac_ext
3614 # OK, works on sane cases. Now check whether nonexistent headers
3615 # can be detected and how.
3616 cat >conftest.$ac_ext <<_ACEOF
3617 /* confdefs.h. */
3618 _ACEOF
3619 cat confdefs.h >>conftest.$ac_ext
3620 cat >>conftest.$ac_ext <<_ACEOF
3621 /* end confdefs.h. */
3622 #include <ac_nonexistent.h>
3623 _ACEOF
3624 if { (ac_try="$ac_cpp conftest.$ac_ext"
3625 case "(($ac_try" in
3626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3627 *) ac_try_echo=$ac_try;;
3628 esac
3629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3631 ac_status=$?
3632 grep -v '^ *+' conftest.er1 >conftest.err
3633 rm -f conftest.er1
3634 cat conftest.err >&5
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } >/dev/null && {
3637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3638 test ! -s conftest.err
3639 }; then
3640 # Broken: success on invalid input.
3641 continue
3642 else
3643 echo "$as_me: failed program was:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3646 # Passes both tests.
3647 ac_preproc_ok=:
3648 break
3651 rm -f conftest.err conftest.$ac_ext
3653 done
3654 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3655 rm -f conftest.err conftest.$ac_ext
3656 if $ac_preproc_ok; then
3658 else
3659 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3660 See \`config.log' for more details." >&5
3661 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3662 See \`config.log' for more details." >&2;}
3663 { (exit 1); exit 1; }; }
3666 ac_ext=c
3667 ac_cpp='$CPP $CPPFLAGS'
3668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3673 { echo "$as_me:$LINENO: checking for X" >&5
3674 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3677 # Check whether --with-x was given.
3678 if test "${with_x+set}" = set; then
3679 withval=$with_x;
3682 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3683 if test "x$with_x" = xno; then
3684 # The user explicitly disabled X.
3685 have_x=disabled
3686 else
3687 case $x_includes,$x_libraries in #(
3688 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3689 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3690 { (exit 1); exit 1; }; };; #(
3691 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3692 echo $ECHO_N "(cached) $ECHO_C" >&6
3693 else
3694 # One or both of the vars are not set, and there is no cached value.
3695 ac_x_includes=no ac_x_libraries=no
3696 rm -f -r conftest.dir
3697 if mkdir conftest.dir; then
3698 cd conftest.dir
3699 cat >Imakefile <<'_ACEOF'
3700 incroot:
3701 @echo incroot='${INCROOT}'
3702 usrlibdir:
3703 @echo usrlibdir='${USRLIBDIR}'
3704 libdir:
3705 @echo libdir='${LIBDIR}'
3706 _ACEOF
3707 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3708 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3709 for ac_var in incroot usrlibdir libdir; do
3710 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3711 done
3712 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3713 for ac_extension in a so sl; do
3714 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3715 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3716 ac_im_usrlibdir=$ac_im_libdir; break
3718 done
3719 # Screen out bogus values from the imake configuration. They are
3720 # bogus both because they are the default anyway, and because
3721 # using them would break gcc on systems where it needs fixed includes.
3722 case $ac_im_incroot in
3723 /usr/include) ac_x_includes= ;;
3724 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3725 esac
3726 case $ac_im_usrlibdir in
3727 /usr/lib | /lib) ;;
3728 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3729 esac
3731 cd ..
3732 rm -f -r conftest.dir
3735 # Standard set of common directories for X headers.
3736 # Check X11 before X11Rn because it is often a symlink to the current release.
3737 ac_x_header_dirs='
3738 /usr/X11/include
3739 /usr/X11R6/include
3740 /usr/X11R5/include
3741 /usr/X11R4/include
3743 /usr/include/X11
3744 /usr/include/X11R6
3745 /usr/include/X11R5
3746 /usr/include/X11R4
3748 /usr/local/X11/include
3749 /usr/local/X11R6/include
3750 /usr/local/X11R5/include
3751 /usr/local/X11R4/include
3753 /usr/local/include/X11
3754 /usr/local/include/X11R6
3755 /usr/local/include/X11R5
3756 /usr/local/include/X11R4
3758 /usr/X386/include
3759 /usr/x386/include
3760 /usr/XFree86/include/X11
3762 /usr/include
3763 /usr/local/include
3764 /usr/unsupported/include
3765 /usr/athena/include
3766 /usr/local/x11r5/include
3767 /usr/lpp/Xamples/include
3769 /usr/openwin/include
3770 /usr/openwin/share/include'
3772 if test "$ac_x_includes" = no; then
3773 # Guess where to find include files, by looking for Xlib.h.
3774 # First, try using that file with no special directory specified.
3775 cat >conftest.$ac_ext <<_ACEOF
3776 /* confdefs.h. */
3777 _ACEOF
3778 cat confdefs.h >>conftest.$ac_ext
3779 cat >>conftest.$ac_ext <<_ACEOF
3780 /* end confdefs.h. */
3781 #include <X11/Xlib.h>
3782 _ACEOF
3783 if { (ac_try="$ac_cpp conftest.$ac_ext"
3784 case "(($ac_try" in
3785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3786 *) ac_try_echo=$ac_try;;
3787 esac
3788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3789 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3790 ac_status=$?
3791 grep -v '^ *+' conftest.er1 >conftest.err
3792 rm -f conftest.er1
3793 cat conftest.err >&5
3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3795 (exit $ac_status); } >/dev/null && {
3796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3797 test ! -s conftest.err
3798 }; then
3799 # We can compile using X headers with no special include directory.
3800 ac_x_includes=
3801 else
3802 echo "$as_me: failed program was:" >&5
3803 sed 's/^/| /' conftest.$ac_ext >&5
3805 for ac_dir in $ac_x_header_dirs; do
3806 if test -r "$ac_dir/X11/Xlib.h"; then
3807 ac_x_includes=$ac_dir
3808 break
3810 done
3813 rm -f conftest.err conftest.$ac_ext
3814 fi # $ac_x_includes = no
3816 if test "$ac_x_libraries" = no; then
3817 # Check for the libraries.
3818 # See if we find them without any special options.
3819 # Don't add to $LIBS permanently.
3820 ac_save_LIBS=$LIBS
3821 LIBS="-lX11 $LIBS"
3822 cat >conftest.$ac_ext <<_ACEOF
3823 /* confdefs.h. */
3824 _ACEOF
3825 cat confdefs.h >>conftest.$ac_ext
3826 cat >>conftest.$ac_ext <<_ACEOF
3827 /* end confdefs.h. */
3828 #include <X11/Xlib.h>
3830 main ()
3832 XrmInitialize ()
3834 return 0;
3836 _ACEOF
3837 rm -f conftest.$ac_objext conftest$ac_exeext
3838 if { (ac_try="$ac_link"
3839 case "(($ac_try" in
3840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3841 *) ac_try_echo=$ac_try;;
3842 esac
3843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3844 (eval "$ac_link") 2>conftest.er1
3845 ac_status=$?
3846 grep -v '^ *+' conftest.er1 >conftest.err
3847 rm -f conftest.er1
3848 cat conftest.err >&5
3849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3850 (exit $ac_status); } && {
3851 test -z "$ac_c_werror_flag" ||
3852 test ! -s conftest.err
3853 } && test -s conftest$ac_exeext &&
3854 $as_test_x conftest$ac_exeext; then
3855 LIBS=$ac_save_LIBS
3856 # We can link X programs with no special library path.
3857 ac_x_libraries=
3858 else
3859 echo "$as_me: failed program was:" >&5
3860 sed 's/^/| /' conftest.$ac_ext >&5
3862 LIBS=$ac_save_LIBS
3863 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3865 # Don't even attempt the hair of trying to link an X program!
3866 for ac_extension in a so sl; do
3867 if test -r "$ac_dir/libX11.$ac_extension"; then
3868 ac_x_libraries=$ac_dir
3869 break 2
3871 done
3872 done
3875 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3876 conftest$ac_exeext conftest.$ac_ext
3877 fi # $ac_x_libraries = no
3879 case $ac_x_includes,$ac_x_libraries in #(
3880 no,* | *,no | *\'*)
3881 # Didn't find X, or a directory has "'" in its name.
3882 ac_cv_have_x="have_x=no";; #(
3884 # Record where we found X for the cache.
3885 ac_cv_have_x="have_x=yes\
3886 ac_x_includes='$ac_x_includes'\
3887 ac_x_libraries='$ac_x_libraries'"
3888 esac
3890 ;; #(
3891 *) have_x=yes;;
3892 esac
3893 eval "$ac_cv_have_x"
3894 fi # $with_x != no
3896 if test "$have_x" != yes; then
3897 { echo "$as_me:$LINENO: result: $have_x" >&5
3898 echo "${ECHO_T}$have_x" >&6; }
3899 no_x=yes
3900 else
3901 # If each of the values was on the command line, it overrides each guess.
3902 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3903 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3904 # Update the cache value to reflect the command line values.
3905 ac_cv_have_x="have_x=yes\
3906 ac_x_includes='$x_includes'\
3907 ac_x_libraries='$x_libraries'"
3908 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3909 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3912 if test "$no_x" = yes; then
3913 # Not all programs may use this symbol, but it does not hurt to define it.
3915 cat >>confdefs.h <<\_ACEOF
3916 #define X_DISPLAY_MISSING 1
3917 _ACEOF
3919 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3920 else
3921 if test -n "$x_includes"; then
3922 X_CFLAGS="$X_CFLAGS -I$x_includes"
3925 # It would also be nice to do this for all -L options, not just this one.
3926 if test -n "$x_libraries"; then
3927 X_LIBS="$X_LIBS -L$x_libraries"
3928 # For Solaris; some versions of Sun CC require a space after -R and
3929 # others require no space. Words are not sufficient . . . .
3930 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3931 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3932 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3933 ac_xsave_c_werror_flag=$ac_c_werror_flag
3934 ac_c_werror_flag=yes
3935 cat >conftest.$ac_ext <<_ACEOF
3936 /* confdefs.h. */
3937 _ACEOF
3938 cat confdefs.h >>conftest.$ac_ext
3939 cat >>conftest.$ac_ext <<_ACEOF
3940 /* end confdefs.h. */
3943 main ()
3947 return 0;
3949 _ACEOF
3950 rm -f conftest.$ac_objext conftest$ac_exeext
3951 if { (ac_try="$ac_link"
3952 case "(($ac_try" in
3953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3954 *) ac_try_echo=$ac_try;;
3955 esac
3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3957 (eval "$ac_link") 2>conftest.er1
3958 ac_status=$?
3959 grep -v '^ *+' conftest.er1 >conftest.err
3960 rm -f conftest.er1
3961 cat conftest.err >&5
3962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3963 (exit $ac_status); } && {
3964 test -z "$ac_c_werror_flag" ||
3965 test ! -s conftest.err
3966 } && test -s conftest$ac_exeext &&
3967 $as_test_x conftest$ac_exeext; then
3968 { echo "$as_me:$LINENO: result: no" >&5
3969 echo "${ECHO_T}no" >&6; }
3970 X_LIBS="$X_LIBS -R$x_libraries"
3971 else
3972 echo "$as_me: failed program was:" >&5
3973 sed 's/^/| /' conftest.$ac_ext >&5
3975 LIBS="$ac_xsave_LIBS -R $x_libraries"
3976 cat >conftest.$ac_ext <<_ACEOF
3977 /* confdefs.h. */
3978 _ACEOF
3979 cat confdefs.h >>conftest.$ac_ext
3980 cat >>conftest.$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3984 main ()
3988 return 0;
3990 _ACEOF
3991 rm -f conftest.$ac_objext conftest$ac_exeext
3992 if { (ac_try="$ac_link"
3993 case "(($ac_try" in
3994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3995 *) ac_try_echo=$ac_try;;
3996 esac
3997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3998 (eval "$ac_link") 2>conftest.er1
3999 ac_status=$?
4000 grep -v '^ *+' conftest.er1 >conftest.err
4001 rm -f conftest.er1
4002 cat conftest.err >&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } && {
4005 test -z "$ac_c_werror_flag" ||
4006 test ! -s conftest.err
4007 } && test -s conftest$ac_exeext &&
4008 $as_test_x conftest$ac_exeext; then
4009 { echo "$as_me:$LINENO: result: yes" >&5
4010 echo "${ECHO_T}yes" >&6; }
4011 X_LIBS="$X_LIBS -R $x_libraries"
4012 else
4013 echo "$as_me: failed program was:" >&5
4014 sed 's/^/| /' conftest.$ac_ext >&5
4016 { echo "$as_me:$LINENO: result: neither works" >&5
4017 echo "${ECHO_T}neither works" >&6; }
4020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4021 conftest$ac_exeext conftest.$ac_ext
4024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4025 conftest$ac_exeext conftest.$ac_ext
4026 ac_c_werror_flag=$ac_xsave_c_werror_flag
4027 LIBS=$ac_xsave_LIBS
4030 # Check for system-dependent libraries X programs must link with.
4031 # Do this before checking for the system-independent R6 libraries
4032 # (-lICE), since we may need -lsocket or whatever for X linking.
4034 if test "$ISC" = yes; then
4035 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4036 else
4037 # Martyn Johnson says this is needed for Ultrix, if the X
4038 # libraries were built with DECnet support. And Karl Berry says
4039 # the Alpha needs dnet_stub (dnet does not exist).
4040 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4041 cat >conftest.$ac_ext <<_ACEOF
4042 /* confdefs.h. */
4043 _ACEOF
4044 cat confdefs.h >>conftest.$ac_ext
4045 cat >>conftest.$ac_ext <<_ACEOF
4046 /* end confdefs.h. */
4048 /* Override any GCC internal prototype to avoid an error.
4049 Use char because int might match the return type of a GCC
4050 builtin and then its argument prototype would still apply. */
4051 #ifdef __cplusplus
4052 extern "C"
4053 #endif
4054 char XOpenDisplay ();
4056 main ()
4058 return XOpenDisplay ();
4060 return 0;
4062 _ACEOF
4063 rm -f conftest.$ac_objext conftest$ac_exeext
4064 if { (ac_try="$ac_link"
4065 case "(($ac_try" in
4066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4067 *) ac_try_echo=$ac_try;;
4068 esac
4069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4070 (eval "$ac_link") 2>conftest.er1
4071 ac_status=$?
4072 grep -v '^ *+' conftest.er1 >conftest.err
4073 rm -f conftest.er1
4074 cat conftest.err >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } && {
4077 test -z "$ac_c_werror_flag" ||
4078 test ! -s conftest.err
4079 } && test -s conftest$ac_exeext &&
4080 $as_test_x conftest$ac_exeext; then
4082 else
4083 echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.$ac_ext >&5
4086 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4087 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4088 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 else
4091 ac_check_lib_save_LIBS=$LIBS
4092 LIBS="-ldnet $LIBS"
4093 cat >conftest.$ac_ext <<_ACEOF
4094 /* confdefs.h. */
4095 _ACEOF
4096 cat confdefs.h >>conftest.$ac_ext
4097 cat >>conftest.$ac_ext <<_ACEOF
4098 /* end confdefs.h. */
4100 /* Override any GCC internal prototype to avoid an error.
4101 Use char because int might match the return type of a GCC
4102 builtin and then its argument prototype would still apply. */
4103 #ifdef __cplusplus
4104 extern "C"
4105 #endif
4106 char dnet_ntoa ();
4108 main ()
4110 return dnet_ntoa ();
4112 return 0;
4114 _ACEOF
4115 rm -f conftest.$ac_objext conftest$ac_exeext
4116 if { (ac_try="$ac_link"
4117 case "(($ac_try" in
4118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4119 *) ac_try_echo=$ac_try;;
4120 esac
4121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4122 (eval "$ac_link") 2>conftest.er1
4123 ac_status=$?
4124 grep -v '^ *+' conftest.er1 >conftest.err
4125 rm -f conftest.er1
4126 cat conftest.err >&5
4127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4128 (exit $ac_status); } && {
4129 test -z "$ac_c_werror_flag" ||
4130 test ! -s conftest.err
4131 } && test -s conftest$ac_exeext &&
4132 $as_test_x conftest$ac_exeext; then
4133 ac_cv_lib_dnet_dnet_ntoa=yes
4134 else
4135 echo "$as_me: failed program was:" >&5
4136 sed 's/^/| /' conftest.$ac_ext >&5
4138 ac_cv_lib_dnet_dnet_ntoa=no
4141 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4142 conftest$ac_exeext conftest.$ac_ext
4143 LIBS=$ac_check_lib_save_LIBS
4145 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4146 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4147 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4148 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4151 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4152 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4153 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4154 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 else
4157 ac_check_lib_save_LIBS=$LIBS
4158 LIBS="-ldnet_stub $LIBS"
4159 cat >conftest.$ac_ext <<_ACEOF
4160 /* confdefs.h. */
4161 _ACEOF
4162 cat confdefs.h >>conftest.$ac_ext
4163 cat >>conftest.$ac_ext <<_ACEOF
4164 /* end confdefs.h. */
4166 /* Override any GCC internal prototype to avoid an error.
4167 Use char because int might match the return type of a GCC
4168 builtin and then its argument prototype would still apply. */
4169 #ifdef __cplusplus
4170 extern "C"
4171 #endif
4172 char dnet_ntoa ();
4174 main ()
4176 return dnet_ntoa ();
4178 return 0;
4180 _ACEOF
4181 rm -f conftest.$ac_objext conftest$ac_exeext
4182 if { (ac_try="$ac_link"
4183 case "(($ac_try" in
4184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4185 *) ac_try_echo=$ac_try;;
4186 esac
4187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4188 (eval "$ac_link") 2>conftest.er1
4189 ac_status=$?
4190 grep -v '^ *+' conftest.er1 >conftest.err
4191 rm -f conftest.er1
4192 cat conftest.err >&5
4193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4194 (exit $ac_status); } && {
4195 test -z "$ac_c_werror_flag" ||
4196 test ! -s conftest.err
4197 } && test -s conftest$ac_exeext &&
4198 $as_test_x conftest$ac_exeext; then
4199 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4200 else
4201 echo "$as_me: failed program was:" >&5
4202 sed 's/^/| /' conftest.$ac_ext >&5
4204 ac_cv_lib_dnet_stub_dnet_ntoa=no
4207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4208 conftest$ac_exeext conftest.$ac_ext
4209 LIBS=$ac_check_lib_save_LIBS
4211 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4212 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4213 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4214 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4221 conftest$ac_exeext conftest.$ac_ext
4222 LIBS="$ac_xsave_LIBS"
4224 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4225 # to get the SysV transport functions.
4226 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4227 # needs -lnsl.
4228 # The nsl library prevents programs from opening the X display
4229 # on Irix 5.2, according to T.E. Dickey.
4230 # The functions gethostbyname, getservbyname, and inet_addr are
4231 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4232 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4233 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4234 if test "${ac_cv_func_gethostbyname+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 else
4237 cat >conftest.$ac_ext <<_ACEOF
4238 /* confdefs.h. */
4239 _ACEOF
4240 cat confdefs.h >>conftest.$ac_ext
4241 cat >>conftest.$ac_ext <<_ACEOF
4242 /* end confdefs.h. */
4243 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4245 #define gethostbyname innocuous_gethostbyname
4247 /* System header to define __stub macros and hopefully few prototypes,
4248 which can conflict with char gethostbyname (); below.
4249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4250 <limits.h> exists even on freestanding compilers. */
4252 #ifdef __STDC__
4253 # include <limits.h>
4254 #else
4255 # include <assert.h>
4256 #endif
4258 #undef gethostbyname
4260 /* Override any GCC internal prototype to avoid an error.
4261 Use char because int might match the return type of a GCC
4262 builtin and then its argument prototype would still apply. */
4263 #ifdef __cplusplus
4264 extern "C"
4265 #endif
4266 char gethostbyname ();
4267 /* The GNU C library defines this for functions which it implements
4268 to always fail with ENOSYS. Some functions are actually named
4269 something starting with __ and the normal name is an alias. */
4270 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4271 choke me
4272 #endif
4275 main ()
4277 return gethostbyname ();
4279 return 0;
4281 _ACEOF
4282 rm -f conftest.$ac_objext conftest$ac_exeext
4283 if { (ac_try="$ac_link"
4284 case "(($ac_try" in
4285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4286 *) ac_try_echo=$ac_try;;
4287 esac
4288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 (eval "$ac_link") 2>conftest.er1
4290 ac_status=$?
4291 grep -v '^ *+' conftest.er1 >conftest.err
4292 rm -f conftest.er1
4293 cat conftest.err >&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } && {
4296 test -z "$ac_c_werror_flag" ||
4297 test ! -s conftest.err
4298 } && test -s conftest$ac_exeext &&
4299 $as_test_x conftest$ac_exeext; then
4300 ac_cv_func_gethostbyname=yes
4301 else
4302 echo "$as_me: failed program was:" >&5
4303 sed 's/^/| /' conftest.$ac_ext >&5
4305 ac_cv_func_gethostbyname=no
4308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4309 conftest$ac_exeext conftest.$ac_ext
4311 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4312 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4314 if test $ac_cv_func_gethostbyname = no; then
4315 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4316 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4317 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4319 else
4320 ac_check_lib_save_LIBS=$LIBS
4321 LIBS="-lnsl $LIBS"
4322 cat >conftest.$ac_ext <<_ACEOF
4323 /* confdefs.h. */
4324 _ACEOF
4325 cat confdefs.h >>conftest.$ac_ext
4326 cat >>conftest.$ac_ext <<_ACEOF
4327 /* end confdefs.h. */
4329 /* Override any GCC internal prototype to avoid an error.
4330 Use char because int might match the return type of a GCC
4331 builtin and then its argument prototype would still apply. */
4332 #ifdef __cplusplus
4333 extern "C"
4334 #endif
4335 char gethostbyname ();
4337 main ()
4339 return gethostbyname ();
4341 return 0;
4343 _ACEOF
4344 rm -f conftest.$ac_objext conftest$ac_exeext
4345 if { (ac_try="$ac_link"
4346 case "(($ac_try" in
4347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4348 *) ac_try_echo=$ac_try;;
4349 esac
4350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4351 (eval "$ac_link") 2>conftest.er1
4352 ac_status=$?
4353 grep -v '^ *+' conftest.er1 >conftest.err
4354 rm -f conftest.er1
4355 cat conftest.err >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } && {
4358 test -z "$ac_c_werror_flag" ||
4359 test ! -s conftest.err
4360 } && test -s conftest$ac_exeext &&
4361 $as_test_x conftest$ac_exeext; then
4362 ac_cv_lib_nsl_gethostbyname=yes
4363 else
4364 echo "$as_me: failed program was:" >&5
4365 sed 's/^/| /' conftest.$ac_ext >&5
4367 ac_cv_lib_nsl_gethostbyname=no
4370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4371 conftest$ac_exeext conftest.$ac_ext
4372 LIBS=$ac_check_lib_save_LIBS
4374 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4375 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4376 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4377 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4380 if test $ac_cv_lib_nsl_gethostbyname = no; then
4381 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4382 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4383 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4384 echo $ECHO_N "(cached) $ECHO_C" >&6
4385 else
4386 ac_check_lib_save_LIBS=$LIBS
4387 LIBS="-lbsd $LIBS"
4388 cat >conftest.$ac_ext <<_ACEOF
4389 /* confdefs.h. */
4390 _ACEOF
4391 cat confdefs.h >>conftest.$ac_ext
4392 cat >>conftest.$ac_ext <<_ACEOF
4393 /* end confdefs.h. */
4395 /* Override any GCC internal prototype to avoid an error.
4396 Use char because int might match the return type of a GCC
4397 builtin and then its argument prototype would still apply. */
4398 #ifdef __cplusplus
4399 extern "C"
4400 #endif
4401 char gethostbyname ();
4403 main ()
4405 return gethostbyname ();
4407 return 0;
4409 _ACEOF
4410 rm -f conftest.$ac_objext conftest$ac_exeext
4411 if { (ac_try="$ac_link"
4412 case "(($ac_try" in
4413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4414 *) ac_try_echo=$ac_try;;
4415 esac
4416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4417 (eval "$ac_link") 2>conftest.er1
4418 ac_status=$?
4419 grep -v '^ *+' conftest.er1 >conftest.err
4420 rm -f conftest.er1
4421 cat conftest.err >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); } && {
4424 test -z "$ac_c_werror_flag" ||
4425 test ! -s conftest.err
4426 } && test -s conftest$ac_exeext &&
4427 $as_test_x conftest$ac_exeext; then
4428 ac_cv_lib_bsd_gethostbyname=yes
4429 else
4430 echo "$as_me: failed program was:" >&5
4431 sed 's/^/| /' conftest.$ac_ext >&5
4433 ac_cv_lib_bsd_gethostbyname=no
4436 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4437 conftest$ac_exeext conftest.$ac_ext
4438 LIBS=$ac_check_lib_save_LIBS
4440 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4441 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4442 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4443 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4449 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4450 # socket/setsockopt and other routines are undefined under SCO ODT
4451 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4452 # on later versions), says Simon Leinen: it contains gethostby*
4453 # variants that don't use the name server (or something). -lsocket
4454 # must be given before -lnsl if both are needed. We assume that
4455 # if connect needs -lnsl, so does gethostbyname.
4456 { echo "$as_me:$LINENO: checking for connect" >&5
4457 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4458 if test "${ac_cv_func_connect+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 else
4461 cat >conftest.$ac_ext <<_ACEOF
4462 /* confdefs.h. */
4463 _ACEOF
4464 cat confdefs.h >>conftest.$ac_ext
4465 cat >>conftest.$ac_ext <<_ACEOF
4466 /* end confdefs.h. */
4467 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4469 #define connect innocuous_connect
4471 /* System header to define __stub macros and hopefully few prototypes,
4472 which can conflict with char connect (); below.
4473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4474 <limits.h> exists even on freestanding compilers. */
4476 #ifdef __STDC__
4477 # include <limits.h>
4478 #else
4479 # include <assert.h>
4480 #endif
4482 #undef connect
4484 /* Override any GCC internal prototype to avoid an error.
4485 Use char because int might match the return type of a GCC
4486 builtin and then its argument prototype would still apply. */
4487 #ifdef __cplusplus
4488 extern "C"
4489 #endif
4490 char connect ();
4491 /* The GNU C library defines this for functions which it implements
4492 to always fail with ENOSYS. Some functions are actually named
4493 something starting with __ and the normal name is an alias. */
4494 #if defined __stub_connect || defined __stub___connect
4495 choke me
4496 #endif
4499 main ()
4501 return connect ();
4503 return 0;
4505 _ACEOF
4506 rm -f conftest.$ac_objext conftest$ac_exeext
4507 if { (ac_try="$ac_link"
4508 case "(($ac_try" in
4509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4510 *) ac_try_echo=$ac_try;;
4511 esac
4512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4513 (eval "$ac_link") 2>conftest.er1
4514 ac_status=$?
4515 grep -v '^ *+' conftest.er1 >conftest.err
4516 rm -f conftest.er1
4517 cat conftest.err >&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } && {
4520 test -z "$ac_c_werror_flag" ||
4521 test ! -s conftest.err
4522 } && test -s conftest$ac_exeext &&
4523 $as_test_x conftest$ac_exeext; then
4524 ac_cv_func_connect=yes
4525 else
4526 echo "$as_me: failed program was:" >&5
4527 sed 's/^/| /' conftest.$ac_ext >&5
4529 ac_cv_func_connect=no
4532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4533 conftest$ac_exeext conftest.$ac_ext
4535 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4536 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4538 if test $ac_cv_func_connect = no; then
4539 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4540 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4541 if test "${ac_cv_lib_socket_connect+set}" = set; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 else
4544 ac_check_lib_save_LIBS=$LIBS
4545 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4546 cat >conftest.$ac_ext <<_ACEOF
4547 /* confdefs.h. */
4548 _ACEOF
4549 cat confdefs.h >>conftest.$ac_ext
4550 cat >>conftest.$ac_ext <<_ACEOF
4551 /* end confdefs.h. */
4553 /* Override any GCC internal prototype to avoid an error.
4554 Use char because int might match the return type of a GCC
4555 builtin and then its argument prototype would still apply. */
4556 #ifdef __cplusplus
4557 extern "C"
4558 #endif
4559 char connect ();
4561 main ()
4563 return connect ();
4565 return 0;
4567 _ACEOF
4568 rm -f conftest.$ac_objext conftest$ac_exeext
4569 if { (ac_try="$ac_link"
4570 case "(($ac_try" in
4571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4572 *) ac_try_echo=$ac_try;;
4573 esac
4574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4575 (eval "$ac_link") 2>conftest.er1
4576 ac_status=$?
4577 grep -v '^ *+' conftest.er1 >conftest.err
4578 rm -f conftest.er1
4579 cat conftest.err >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); } && {
4582 test -z "$ac_c_werror_flag" ||
4583 test ! -s conftest.err
4584 } && test -s conftest$ac_exeext &&
4585 $as_test_x conftest$ac_exeext; then
4586 ac_cv_lib_socket_connect=yes
4587 else
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 ac_cv_lib_socket_connect=no
4594 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4595 conftest$ac_exeext conftest.$ac_ext
4596 LIBS=$ac_check_lib_save_LIBS
4598 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4599 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4600 if test $ac_cv_lib_socket_connect = yes; then
4601 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4606 # Guillermo Gomez says -lposix is necessary on A/UX.
4607 { echo "$as_me:$LINENO: checking for remove" >&5
4608 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4609 if test "${ac_cv_func_remove+set}" = set; then
4610 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 else
4612 cat >conftest.$ac_ext <<_ACEOF
4613 /* confdefs.h. */
4614 _ACEOF
4615 cat confdefs.h >>conftest.$ac_ext
4616 cat >>conftest.$ac_ext <<_ACEOF
4617 /* end confdefs.h. */
4618 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4620 #define remove innocuous_remove
4622 /* System header to define __stub macros and hopefully few prototypes,
4623 which can conflict with char remove (); below.
4624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4625 <limits.h> exists even on freestanding compilers. */
4627 #ifdef __STDC__
4628 # include <limits.h>
4629 #else
4630 # include <assert.h>
4631 #endif
4633 #undef remove
4635 /* Override any GCC internal prototype to avoid an error.
4636 Use char because int might match the return type of a GCC
4637 builtin and then its argument prototype would still apply. */
4638 #ifdef __cplusplus
4639 extern "C"
4640 #endif
4641 char remove ();
4642 /* The GNU C library defines this for functions which it implements
4643 to always fail with ENOSYS. Some functions are actually named
4644 something starting with __ and the normal name is an alias. */
4645 #if defined __stub_remove || defined __stub___remove
4646 choke me
4647 #endif
4650 main ()
4652 return remove ();
4654 return 0;
4656 _ACEOF
4657 rm -f conftest.$ac_objext conftest$ac_exeext
4658 if { (ac_try="$ac_link"
4659 case "(($ac_try" in
4660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4661 *) ac_try_echo=$ac_try;;
4662 esac
4663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4664 (eval "$ac_link") 2>conftest.er1
4665 ac_status=$?
4666 grep -v '^ *+' conftest.er1 >conftest.err
4667 rm -f conftest.er1
4668 cat conftest.err >&5
4669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4670 (exit $ac_status); } && {
4671 test -z "$ac_c_werror_flag" ||
4672 test ! -s conftest.err
4673 } && test -s conftest$ac_exeext &&
4674 $as_test_x conftest$ac_exeext; then
4675 ac_cv_func_remove=yes
4676 else
4677 echo "$as_me: failed program was:" >&5
4678 sed 's/^/| /' conftest.$ac_ext >&5
4680 ac_cv_func_remove=no
4683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4684 conftest$ac_exeext conftest.$ac_ext
4686 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4687 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4689 if test $ac_cv_func_remove = no; then
4690 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4691 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4692 if test "${ac_cv_lib_posix_remove+set}" = set; then
4693 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 else
4695 ac_check_lib_save_LIBS=$LIBS
4696 LIBS="-lposix $LIBS"
4697 cat >conftest.$ac_ext <<_ACEOF
4698 /* confdefs.h. */
4699 _ACEOF
4700 cat confdefs.h >>conftest.$ac_ext
4701 cat >>conftest.$ac_ext <<_ACEOF
4702 /* end confdefs.h. */
4704 /* Override any GCC internal prototype to avoid an error.
4705 Use char because int might match the return type of a GCC
4706 builtin and then its argument prototype would still apply. */
4707 #ifdef __cplusplus
4708 extern "C"
4709 #endif
4710 char remove ();
4712 main ()
4714 return remove ();
4716 return 0;
4718 _ACEOF
4719 rm -f conftest.$ac_objext conftest$ac_exeext
4720 if { (ac_try="$ac_link"
4721 case "(($ac_try" in
4722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4723 *) ac_try_echo=$ac_try;;
4724 esac
4725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4726 (eval "$ac_link") 2>conftest.er1
4727 ac_status=$?
4728 grep -v '^ *+' conftest.er1 >conftest.err
4729 rm -f conftest.er1
4730 cat conftest.err >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); } && {
4733 test -z "$ac_c_werror_flag" ||
4734 test ! -s conftest.err
4735 } && test -s conftest$ac_exeext &&
4736 $as_test_x conftest$ac_exeext; then
4737 ac_cv_lib_posix_remove=yes
4738 else
4739 echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 ac_cv_lib_posix_remove=no
4745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4746 conftest$ac_exeext conftest.$ac_ext
4747 LIBS=$ac_check_lib_save_LIBS
4749 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4750 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4751 if test $ac_cv_lib_posix_remove = yes; then
4752 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4757 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4758 { echo "$as_me:$LINENO: checking for shmat" >&5
4759 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4760 if test "${ac_cv_func_shmat+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4762 else
4763 cat >conftest.$ac_ext <<_ACEOF
4764 /* confdefs.h. */
4765 _ACEOF
4766 cat confdefs.h >>conftest.$ac_ext
4767 cat >>conftest.$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4769 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4770 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4771 #define shmat innocuous_shmat
4773 /* System header to define __stub macros and hopefully few prototypes,
4774 which can conflict with char shmat (); below.
4775 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4776 <limits.h> exists even on freestanding compilers. */
4778 #ifdef __STDC__
4779 # include <limits.h>
4780 #else
4781 # include <assert.h>
4782 #endif
4784 #undef shmat
4786 /* Override any GCC internal prototype to avoid an error.
4787 Use char because int might match the return type of a GCC
4788 builtin and then its argument prototype would still apply. */
4789 #ifdef __cplusplus
4790 extern "C"
4791 #endif
4792 char shmat ();
4793 /* The GNU C library defines this for functions which it implements
4794 to always fail with ENOSYS. Some functions are actually named
4795 something starting with __ and the normal name is an alias. */
4796 #if defined __stub_shmat || defined __stub___shmat
4797 choke me
4798 #endif
4801 main ()
4803 return shmat ();
4805 return 0;
4807 _ACEOF
4808 rm -f conftest.$ac_objext conftest$ac_exeext
4809 if { (ac_try="$ac_link"
4810 case "(($ac_try" in
4811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4812 *) ac_try_echo=$ac_try;;
4813 esac
4814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4815 (eval "$ac_link") 2>conftest.er1
4816 ac_status=$?
4817 grep -v '^ *+' conftest.er1 >conftest.err
4818 rm -f conftest.er1
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } && {
4822 test -z "$ac_c_werror_flag" ||
4823 test ! -s conftest.err
4824 } && test -s conftest$ac_exeext &&
4825 $as_test_x conftest$ac_exeext; then
4826 ac_cv_func_shmat=yes
4827 else
4828 echo "$as_me: failed program was:" >&5
4829 sed 's/^/| /' conftest.$ac_ext >&5
4831 ac_cv_func_shmat=no
4834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4835 conftest$ac_exeext conftest.$ac_ext
4837 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4838 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4840 if test $ac_cv_func_shmat = no; then
4841 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4842 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4843 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4844 echo $ECHO_N "(cached) $ECHO_C" >&6
4845 else
4846 ac_check_lib_save_LIBS=$LIBS
4847 LIBS="-lipc $LIBS"
4848 cat >conftest.$ac_ext <<_ACEOF
4849 /* confdefs.h. */
4850 _ACEOF
4851 cat confdefs.h >>conftest.$ac_ext
4852 cat >>conftest.$ac_ext <<_ACEOF
4853 /* end confdefs.h. */
4855 /* Override any GCC internal prototype to avoid an error.
4856 Use char because int might match the return type of a GCC
4857 builtin and then its argument prototype would still apply. */
4858 #ifdef __cplusplus
4859 extern "C"
4860 #endif
4861 char shmat ();
4863 main ()
4865 return shmat ();
4867 return 0;
4869 _ACEOF
4870 rm -f conftest.$ac_objext conftest$ac_exeext
4871 if { (ac_try="$ac_link"
4872 case "(($ac_try" in
4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4875 esac
4876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4877 (eval "$ac_link") 2>conftest.er1
4878 ac_status=$?
4879 grep -v '^ *+' conftest.er1 >conftest.err
4880 rm -f conftest.er1
4881 cat conftest.err >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); } && {
4884 test -z "$ac_c_werror_flag" ||
4885 test ! -s conftest.err
4886 } && test -s conftest$ac_exeext &&
4887 $as_test_x conftest$ac_exeext; then
4888 ac_cv_lib_ipc_shmat=yes
4889 else
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4893 ac_cv_lib_ipc_shmat=no
4896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4897 conftest$ac_exeext conftest.$ac_ext
4898 LIBS=$ac_check_lib_save_LIBS
4900 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4901 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4902 if test $ac_cv_lib_ipc_shmat = yes; then
4903 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4909 # Check for libraries that X11R6 Xt/Xaw programs need.
4910 ac_save_LDFLAGS=$LDFLAGS
4911 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4912 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4913 # check for ICE first), but we must link in the order -lSM -lICE or
4914 # we get undefined symbols. So assume we have SM if we have ICE.
4915 # These have to be linked with before -lX11, unlike the other
4916 # libraries we check for below, so use a different variable.
4917 # John Interrante, Karl Berry
4918 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4919 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4920 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 else
4923 ac_check_lib_save_LIBS=$LIBS
4924 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4925 cat >conftest.$ac_ext <<_ACEOF
4926 /* confdefs.h. */
4927 _ACEOF
4928 cat confdefs.h >>conftest.$ac_ext
4929 cat >>conftest.$ac_ext <<_ACEOF
4930 /* end confdefs.h. */
4932 /* Override any GCC internal prototype to avoid an error.
4933 Use char because int might match the return type of a GCC
4934 builtin and then its argument prototype would still apply. */
4935 #ifdef __cplusplus
4936 extern "C"
4937 #endif
4938 char IceConnectionNumber ();
4940 main ()
4942 return IceConnectionNumber ();
4944 return 0;
4946 _ACEOF
4947 rm -f conftest.$ac_objext conftest$ac_exeext
4948 if { (ac_try="$ac_link"
4949 case "(($ac_try" in
4950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4951 *) ac_try_echo=$ac_try;;
4952 esac
4953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4954 (eval "$ac_link") 2>conftest.er1
4955 ac_status=$?
4956 grep -v '^ *+' conftest.er1 >conftest.err
4957 rm -f conftest.er1
4958 cat conftest.err >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); } && {
4961 test -z "$ac_c_werror_flag" ||
4962 test ! -s conftest.err
4963 } && test -s conftest$ac_exeext &&
4964 $as_test_x conftest$ac_exeext; then
4965 ac_cv_lib_ICE_IceConnectionNumber=yes
4966 else
4967 echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.$ac_ext >&5
4970 ac_cv_lib_ICE_IceConnectionNumber=no
4973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4974 conftest$ac_exeext conftest.$ac_ext
4975 LIBS=$ac_check_lib_save_LIBS
4977 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4978 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4979 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4980 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4983 LDFLAGS=$ac_save_LDFLAGS
4987 for ac_prog in flex lex
4989 # Extract the first word of "$ac_prog", so it can be a program name with args.
4990 set dummy $ac_prog; ac_word=$2
4991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4993 if test "${ac_cv_prog_LEX+set}" = set; then
4994 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 else
4996 if test -n "$LEX"; then
4997 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4998 else
4999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5000 for as_dir in $PATH
5002 IFS=$as_save_IFS
5003 test -z "$as_dir" && as_dir=.
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5006 ac_cv_prog_LEX="$ac_prog"
5007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 LEX=$ac_cv_prog_LEX
5017 if test -n "$LEX"; then
5018 { echo "$as_me:$LINENO: result: $LEX" >&5
5019 echo "${ECHO_T}$LEX" >&6; }
5020 else
5021 { echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6; }
5026 test -n "$LEX" && break
5027 done
5028 test -n "$LEX" || LEX=":"
5030 if test "x$LEX" != "x:"; then
5031 cat >conftest.l <<_ACEOF
5033 a { ECHO; }
5034 b { REJECT; }
5035 c { yymore (); }
5036 d { yyless (1); }
5037 e { yyless (input () != 0); }
5038 f { unput (yytext[0]); }
5039 . { BEGIN INITIAL; }
5041 #ifdef YYTEXT_POINTER
5042 extern char *yytext;
5043 #endif
5045 main (void)
5047 return ! yylex () + ! yywrap ();
5049 _ACEOF
5050 { (ac_try="$LEX conftest.l"
5051 case "(($ac_try" in
5052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5053 *) ac_try_echo=$ac_try;;
5054 esac
5055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5056 (eval "$LEX conftest.l") 2>&5
5057 ac_status=$?
5058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5059 (exit $ac_status); }
5060 { echo "$as_me:$LINENO: checking lex output file root" >&5
5061 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5062 if test "${ac_cv_prog_lex_root+set}" = set; then
5063 echo $ECHO_N "(cached) $ECHO_C" >&6
5064 else
5066 if test -f lex.yy.c; then
5067 ac_cv_prog_lex_root=lex.yy
5068 elif test -f lexyy.c; then
5069 ac_cv_prog_lex_root=lexyy
5070 else
5071 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5072 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5073 { (exit 1); exit 1; }; }
5076 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5077 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5078 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5080 if test -z "${LEXLIB+set}"; then
5081 { echo "$as_me:$LINENO: checking lex library" >&5
5082 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5083 if test "${ac_cv_lib_lex+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 else
5087 ac_save_LIBS=$LIBS
5088 ac_cv_lib_lex='none needed'
5089 for ac_lib in '' -lfl -ll; do
5090 LIBS="$ac_lib $ac_save_LIBS"
5091 cat >conftest.$ac_ext <<_ACEOF
5092 `cat $LEX_OUTPUT_ROOT.c`
5093 _ACEOF
5094 rm -f conftest.$ac_objext conftest$ac_exeext
5095 if { (ac_try="$ac_link"
5096 case "(($ac_try" in
5097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5098 *) ac_try_echo=$ac_try;;
5099 esac
5100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5101 (eval "$ac_link") 2>conftest.er1
5102 ac_status=$?
5103 grep -v '^ *+' conftest.er1 >conftest.err
5104 rm -f conftest.er1
5105 cat conftest.err >&5
5106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5107 (exit $ac_status); } && {
5108 test -z "$ac_c_werror_flag" ||
5109 test ! -s conftest.err
5110 } && test -s conftest$ac_exeext &&
5111 $as_test_x conftest$ac_exeext; then
5112 ac_cv_lib_lex=$ac_lib
5113 else
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.$ac_ext >&5
5120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5121 conftest$ac_exeext conftest.$ac_ext
5122 test "$ac_cv_lib_lex" != 'none needed' && break
5123 done
5124 LIBS=$ac_save_LIBS
5127 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5128 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5129 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5133 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5134 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5135 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5136 echo $ECHO_N "(cached) $ECHO_C" >&6
5137 else
5138 # POSIX says lex can declare yytext either as a pointer or an array; the
5139 # default is implementation-dependent. Figure out which it is, since
5140 # not all implementations provide the %pointer and %array declarations.
5141 ac_cv_prog_lex_yytext_pointer=no
5142 ac_save_LIBS=$LIBS
5143 LIBS="$LEXLIB $ac_save_LIBS"
5144 cat >conftest.$ac_ext <<_ACEOF
5145 #define YYTEXT_POINTER 1
5146 `cat $LEX_OUTPUT_ROOT.c`
5147 _ACEOF
5148 rm -f conftest.$ac_objext conftest$ac_exeext
5149 if { (ac_try="$ac_link"
5150 case "(($ac_try" in
5151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5152 *) ac_try_echo=$ac_try;;
5153 esac
5154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5155 (eval "$ac_link") 2>conftest.er1
5156 ac_status=$?
5157 grep -v '^ *+' conftest.er1 >conftest.err
5158 rm -f conftest.er1
5159 cat conftest.err >&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); } && {
5162 test -z "$ac_c_werror_flag" ||
5163 test ! -s conftest.err
5164 } && test -s conftest$ac_exeext &&
5165 $as_test_x conftest$ac_exeext; then
5166 ac_cv_prog_lex_yytext_pointer=yes
5167 else
5168 echo "$as_me: failed program was:" >&5
5169 sed 's/^/| /' conftest.$ac_ext >&5
5174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5175 conftest$ac_exeext conftest.$ac_ext
5176 LIBS=$ac_save_LIBS
5179 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5180 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5181 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5183 cat >>confdefs.h <<\_ACEOF
5184 #define YYTEXT_POINTER 1
5185 _ACEOF
5188 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5192 for ac_prog in $LEX flex lex
5194 # Extract the first word of "$ac_prog", so it can be a program name with args.
5195 set dummy $ac_prog; ac_word=$2
5196 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5198 if test "${ac_cv_prog_XLEX+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201 if test -n "$XLEX"; then
5202 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5211 ac_cv_prog_XLEX="$ac_prog"
5212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5217 IFS=$as_save_IFS
5221 XLEX=$ac_cv_prog_XLEX
5222 if test -n "$XLEX"; then
5223 { echo "$as_me:$LINENO: result: $XLEX" >&5
5224 echo "${ECHO_T}$XLEX" >&6; }
5225 else
5226 { echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6; }
5231 test -n "$XLEX" && break
5232 done
5233 test -n "$XLEX" || XLEX="none"
5235 if test "$XLEX" = "none"
5236 then
5237 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5238 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5239 { (exit 1); exit 1; }; }
5242 for ac_prog in bison
5244 # Extract the first word of "$ac_prog", so it can be a program name with args.
5245 set dummy $ac_prog; ac_word=$2
5246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5248 if test "${ac_cv_prog_BISON+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5250 else
5251 if test -n "$BISON"; then
5252 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5253 else
5254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5255 for as_dir in $PATH
5257 IFS=$as_save_IFS
5258 test -z "$as_dir" && as_dir=.
5259 for ac_exec_ext in '' $ac_executable_extensions; do
5260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5261 ac_cv_prog_BISON="$ac_prog"
5262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5263 break 2
5265 done
5266 done
5267 IFS=$as_save_IFS
5271 BISON=$ac_cv_prog_BISON
5272 if test -n "$BISON"; then
5273 { echo "$as_me:$LINENO: result: $BISON" >&5
5274 echo "${ECHO_T}$BISON" >&6; }
5275 else
5276 { echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6; }
5281 test -n "$BISON" && break
5282 done
5283 test -n "$BISON" || BISON="none"
5285 if test "$BISON" = "none"
5286 then
5287 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5288 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5289 { (exit 1); exit 1; }; }
5292 if test -n "$ac_tool_prefix"; then
5293 for ac_prog in gas as
5295 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5296 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AS+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 else
5302 if test -n "$AS"; then
5303 ac_cv_prog_AS="$AS" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 AS=$ac_cv_prog_AS
5323 if test -n "$AS"; then
5324 { echo "$as_me:$LINENO: result: $AS" >&5
5325 echo "${ECHO_T}$AS" >&6; }
5326 else
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5332 test -n "$AS" && break
5333 done
5335 if test -z "$AS"; then
5336 ac_ct_AS=$AS
5337 for ac_prog in gas as
5339 # Extract the first word of "$ac_prog", so it can be a program name with args.
5340 set dummy $ac_prog; ac_word=$2
5341 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5343 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5344 echo $ECHO_N "(cached) $ECHO_C" >&6
5345 else
5346 if test -n "$ac_ct_AS"; then
5347 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5348 else
5349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5350 for as_dir in $PATH
5352 IFS=$as_save_IFS
5353 test -z "$as_dir" && as_dir=.
5354 for ac_exec_ext in '' $ac_executable_extensions; do
5355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5356 ac_cv_prog_ac_ct_AS="$ac_prog"
5357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5358 break 2
5360 done
5361 done
5362 IFS=$as_save_IFS
5366 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5367 if test -n "$ac_ct_AS"; then
5368 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5369 echo "${ECHO_T}$ac_ct_AS" >&6; }
5370 else
5371 { echo "$as_me:$LINENO: result: no" >&5
5372 echo "${ECHO_T}no" >&6; }
5376 test -n "$ac_ct_AS" && break
5377 done
5379 if test "x$ac_ct_AS" = x; then
5380 AS="as"
5381 else
5382 case $cross_compiling:$ac_tool_warned in
5383 yes:)
5384 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5385 whose name does not start with the host triplet. If you think this
5386 configuration is useful to you, please write to autoconf@gnu.org." >&5
5387 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5388 whose name does not start with the host triplet. If you think this
5389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5390 ac_tool_warned=yes ;;
5391 esac
5392 AS=$ac_ct_AS
5396 if test -n "$ac_tool_prefix"; then
5397 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5398 set dummy ${ac_tool_prefix}ld; ac_word=$2
5399 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5401 if test "${ac_cv_prog_LD+set}" = set; then
5402 echo $ECHO_N "(cached) $ECHO_C" >&6
5403 else
5404 if test -n "$LD"; then
5405 ac_cv_prog_LD="$LD" # Let the user override the test.
5406 else
5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5408 for as_dir in $PATH
5410 IFS=$as_save_IFS
5411 test -z "$as_dir" && as_dir=.
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5414 ac_cv_prog_LD="${ac_tool_prefix}ld"
5415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 break 2
5418 done
5419 done
5420 IFS=$as_save_IFS
5424 LD=$ac_cv_prog_LD
5425 if test -n "$LD"; then
5426 { echo "$as_me:$LINENO: result: $LD" >&5
5427 echo "${ECHO_T}$LD" >&6; }
5428 else
5429 { echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6; }
5435 if test -z "$ac_cv_prog_LD"; then
5436 ac_ct_LD=$LD
5437 # Extract the first word of "ld", so it can be a program name with args.
5438 set dummy ld; ac_word=$2
5439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5441 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 else
5444 if test -n "$ac_ct_LD"; then
5445 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5446 else
5447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5448 for as_dir in $PATH
5450 IFS=$as_save_IFS
5451 test -z "$as_dir" && as_dir=.
5452 for ac_exec_ext in '' $ac_executable_extensions; do
5453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5454 ac_cv_prog_ac_ct_LD="ld"
5455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5456 break 2
5458 done
5459 done
5460 IFS=$as_save_IFS
5464 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5465 if test -n "$ac_ct_LD"; then
5466 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5467 echo "${ECHO_T}$ac_ct_LD" >&6; }
5468 else
5469 { echo "$as_me:$LINENO: result: no" >&5
5470 echo "${ECHO_T}no" >&6; }
5473 if test "x$ac_ct_LD" = x; then
5474 LD="ld"
5475 else
5476 case $cross_compiling:$ac_tool_warned in
5477 yes:)
5478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5479 whose name does not start with the host triplet. If you think this
5480 configuration is useful to you, please write to autoconf@gnu.org." >&5
5481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5482 whose name does not start with the host triplet. If you think this
5483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5484 ac_tool_warned=yes ;;
5485 esac
5486 LD=$ac_ct_LD
5488 else
5489 LD="$ac_cv_prog_LD"
5492 if test -n "$ac_tool_prefix"; then
5493 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5494 set dummy ${ac_tool_prefix}ar; ac_word=$2
5495 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5497 if test "${ac_cv_prog_AR+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5499 else
5500 if test -n "$AR"; then
5501 ac_cv_prog_AR="$AR" # Let the user override the test.
5502 else
5503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5504 for as_dir in $PATH
5506 IFS=$as_save_IFS
5507 test -z "$as_dir" && as_dir=.
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5510 ac_cv_prog_AR="${ac_tool_prefix}ar"
5511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5512 break 2
5514 done
5515 done
5516 IFS=$as_save_IFS
5520 AR=$ac_cv_prog_AR
5521 if test -n "$AR"; then
5522 { echo "$as_me:$LINENO: result: $AR" >&5
5523 echo "${ECHO_T}$AR" >&6; }
5524 else
5525 { echo "$as_me:$LINENO: result: no" >&5
5526 echo "${ECHO_T}no" >&6; }
5531 if test -z "$ac_cv_prog_AR"; then
5532 ac_ct_AR=$AR
5533 # Extract the first word of "ar", so it can be a program name with args.
5534 set dummy ar; ac_word=$2
5535 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5537 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5538 echo $ECHO_N "(cached) $ECHO_C" >&6
5539 else
5540 if test -n "$ac_ct_AR"; then
5541 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5542 else
5543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5544 for as_dir in $PATH
5546 IFS=$as_save_IFS
5547 test -z "$as_dir" && as_dir=.
5548 for ac_exec_ext in '' $ac_executable_extensions; do
5549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5550 ac_cv_prog_ac_ct_AR="ar"
5551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5552 break 2
5554 done
5555 done
5556 IFS=$as_save_IFS
5560 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5561 if test -n "$ac_ct_AR"; then
5562 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5563 echo "${ECHO_T}$ac_ct_AR" >&6; }
5564 else
5565 { echo "$as_me:$LINENO: result: no" >&5
5566 echo "${ECHO_T}no" >&6; }
5569 if test "x$ac_ct_AR" = x; then
5570 AR="ar"
5571 else
5572 case $cross_compiling:$ac_tool_warned in
5573 yes:)
5574 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5575 whose name does not start with the host triplet. If you think this
5576 configuration is useful to you, please write to autoconf@gnu.org." >&5
5577 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5578 whose name does not start with the host triplet. If you think this
5579 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5580 ac_tool_warned=yes ;;
5581 esac
5582 AR=$ac_ct_AR
5584 else
5585 AR="$ac_cv_prog_AR"
5588 if test -n "$ac_tool_prefix"; then
5589 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5590 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5593 if test "${ac_cv_prog_RANLIB+set}" = set; then
5594 echo $ECHO_N "(cached) $ECHO_C" >&6
5595 else
5596 if test -n "$RANLIB"; then
5597 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5598 else
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5606 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5607 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5616 RANLIB=$ac_cv_prog_RANLIB
5617 if test -n "$RANLIB"; then
5618 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5619 echo "${ECHO_T}$RANLIB" >&6; }
5620 else
5621 { echo "$as_me:$LINENO: result: no" >&5
5622 echo "${ECHO_T}no" >&6; }
5627 if test -z "$ac_cv_prog_RANLIB"; then
5628 ac_ct_RANLIB=$RANLIB
5629 # Extract the first word of "ranlib", so it can be a program name with args.
5630 set dummy ranlib; ac_word=$2
5631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5633 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5635 else
5636 if test -n "$ac_ct_RANLIB"; then
5637 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5638 else
5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5640 for as_dir in $PATH
5642 IFS=$as_save_IFS
5643 test -z "$as_dir" && as_dir=.
5644 for ac_exec_ext in '' $ac_executable_extensions; do
5645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5646 ac_cv_prog_ac_ct_RANLIB="ranlib"
5647 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5648 break 2
5650 done
5651 done
5652 IFS=$as_save_IFS
5656 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5657 if test -n "$ac_ct_RANLIB"; then
5658 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5659 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5660 else
5661 { echo "$as_me:$LINENO: result: no" >&5
5662 echo "${ECHO_T}no" >&6; }
5665 if test "x$ac_ct_RANLIB" = x; then
5666 RANLIB=":"
5667 else
5668 case $cross_compiling:$ac_tool_warned in
5669 yes:)
5670 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5671 whose name does not start with the host triplet. If you think this
5672 configuration is useful to you, please write to autoconf@gnu.org." >&5
5673 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5674 whose name does not start with the host triplet. If you think this
5675 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5676 ac_tool_warned=yes ;;
5677 esac
5678 RANLIB=$ac_ct_RANLIB
5680 else
5681 RANLIB="$ac_cv_prog_RANLIB"
5684 if test -n "$ac_tool_prefix"; then
5685 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5686 set dummy ${ac_tool_prefix}strip; ac_word=$2
5687 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5689 if test "${ac_cv_prog_STRIP+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 else
5692 if test -n "$STRIP"; then
5693 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5694 else
5695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5696 for as_dir in $PATH
5698 IFS=$as_save_IFS
5699 test -z "$as_dir" && as_dir=.
5700 for ac_exec_ext in '' $ac_executable_extensions; do
5701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5702 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 break 2
5706 done
5707 done
5708 IFS=$as_save_IFS
5712 STRIP=$ac_cv_prog_STRIP
5713 if test -n "$STRIP"; then
5714 { echo "$as_me:$LINENO: result: $STRIP" >&5
5715 echo "${ECHO_T}$STRIP" >&6; }
5716 else
5717 { echo "$as_me:$LINENO: result: no" >&5
5718 echo "${ECHO_T}no" >&6; }
5723 if test -z "$ac_cv_prog_STRIP"; then
5724 ac_ct_STRIP=$STRIP
5725 # Extract the first word of "strip", so it can be a program name with args.
5726 set dummy strip; ac_word=$2
5727 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5729 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5730 echo $ECHO_N "(cached) $ECHO_C" >&6
5731 else
5732 if test -n "$ac_ct_STRIP"; then
5733 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5734 else
5735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5736 for as_dir in $PATH
5738 IFS=$as_save_IFS
5739 test -z "$as_dir" && as_dir=.
5740 for ac_exec_ext in '' $ac_executable_extensions; do
5741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5742 ac_cv_prog_ac_ct_STRIP="strip"
5743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5744 break 2
5746 done
5747 done
5748 IFS=$as_save_IFS
5752 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5753 if test -n "$ac_ct_STRIP"; then
5754 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5755 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5756 else
5757 { echo "$as_me:$LINENO: result: no" >&5
5758 echo "${ECHO_T}no" >&6; }
5761 if test "x$ac_ct_STRIP" = x; then
5762 STRIP="strip"
5763 else
5764 case $cross_compiling:$ac_tool_warned in
5765 yes:)
5766 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5767 whose name does not start with the host triplet. If you think this
5768 configuration is useful to you, please write to autoconf@gnu.org." >&5
5769 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5770 whose name does not start with the host triplet. If you think this
5771 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5772 ac_tool_warned=yes ;;
5773 esac
5774 STRIP=$ac_ct_STRIP
5776 else
5777 STRIP="$ac_cv_prog_STRIP"
5780 if test -n "$ac_tool_prefix"; then
5781 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5782 set dummy ${ac_tool_prefix}windres; ac_word=$2
5783 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5785 if test "${ac_cv_prog_WINDRES+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 else
5788 if test -n "$WINDRES"; then
5789 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5798 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 break 2
5802 done
5803 done
5804 IFS=$as_save_IFS
5808 WINDRES=$ac_cv_prog_WINDRES
5809 if test -n "$WINDRES"; then
5810 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5811 echo "${ECHO_T}$WINDRES" >&6; }
5812 else
5813 { echo "$as_me:$LINENO: result: no" >&5
5814 echo "${ECHO_T}no" >&6; }
5819 if test -z "$ac_cv_prog_WINDRES"; then
5820 ac_ct_WINDRES=$WINDRES
5821 # Extract the first word of "windres", so it can be a program name with args.
5822 set dummy windres; ac_word=$2
5823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5825 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5826 echo $ECHO_N "(cached) $ECHO_C" >&6
5827 else
5828 if test -n "$ac_ct_WINDRES"; then
5829 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5838 ac_cv_prog_ac_ct_WINDRES="windres"
5839 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5849 if test -n "$ac_ct_WINDRES"; then
5850 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5851 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5852 else
5853 { echo "$as_me:$LINENO: result: no" >&5
5854 echo "${ECHO_T}no" >&6; }
5857 if test "x$ac_ct_WINDRES" = x; then
5858 WINDRES="false"
5859 else
5860 case $cross_compiling:$ac_tool_warned in
5861 yes:)
5862 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5863 whose name does not start with the host triplet. If you think this
5864 configuration is useful to you, please write to autoconf@gnu.org." >&5
5865 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5866 whose name does not start with the host triplet. If you think this
5867 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5868 ac_tool_warned=yes ;;
5869 esac
5870 WINDRES=$ac_ct_WINDRES
5872 else
5873 WINDRES="$ac_cv_prog_WINDRES"
5876 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5877 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5878 LN_S=$as_ln_s
5879 if test "$LN_S" = "ln -s"; then
5880 { echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6; }
5882 else
5883 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5884 echo "${ECHO_T}no, using $LN_S" >&6; }
5887 { echo "$as_me:$LINENO: checking whether ln works" >&5
5888 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5889 rm -f conf$$ conf$$.file
5890 echo >conf$$.file
5891 if ln conf$$.file conf$$ 2>/dev/null; then
5892 LN=ln
5894 { echo "$as_me:$LINENO: result: yes" >&5
5895 echo "${ECHO_T}yes" >&6; }
5896 else
5897 LN="cp -p"
5899 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5900 echo "${ECHO_T}no, using $LN" >&6; }
5902 rm -f conf$$ conf$$.file
5903 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5904 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5905 if test "${ac_cv_path_GREP+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5907 else
5908 # Extract the first word of "grep ggrep" to use in msg output
5909 if test -z "$GREP"; then
5910 set dummy grep ggrep; ac_prog_name=$2
5911 if test "${ac_cv_path_GREP+set}" = set; then
5912 echo $ECHO_N "(cached) $ECHO_C" >&6
5913 else
5914 ac_path_GREP_found=false
5915 # Loop through the user's path and test for each of PROGNAME-LIST
5916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5917 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5919 IFS=$as_save_IFS
5920 test -z "$as_dir" && as_dir=.
5921 for ac_prog in grep ggrep; do
5922 for ac_exec_ext in '' $ac_executable_extensions; do
5923 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5924 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5925 # Check for GNU ac_path_GREP and select it if it is found.
5926 # Check for GNU $ac_path_GREP
5927 case `"$ac_path_GREP" --version 2>&1` in
5928 *GNU*)
5929 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5931 ac_count=0
5932 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5933 while :
5935 cat "conftest.in" "conftest.in" >"conftest.tmp"
5936 mv "conftest.tmp" "conftest.in"
5937 cp "conftest.in" "conftest.nl"
5938 echo 'GREP' >> "conftest.nl"
5939 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5940 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5941 ac_count=`expr $ac_count + 1`
5942 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5943 # Best one so far, save it but keep looking for a better one
5944 ac_cv_path_GREP="$ac_path_GREP"
5945 ac_path_GREP_max=$ac_count
5947 # 10*(2^10) chars as input seems more than enough
5948 test $ac_count -gt 10 && break
5949 done
5950 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5951 esac
5954 $ac_path_GREP_found && break 3
5955 done
5956 done
5958 done
5959 IFS=$as_save_IFS
5964 GREP="$ac_cv_path_GREP"
5965 if test -z "$GREP"; then
5966 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5967 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5968 { (exit 1); exit 1; }; }
5971 else
5972 ac_cv_path_GREP=$GREP
5977 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5978 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5979 GREP="$ac_cv_path_GREP"
5982 { echo "$as_me:$LINENO: checking for egrep" >&5
5983 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5984 if test "${ac_cv_path_EGREP+set}" = set; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5986 else
5987 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5988 then ac_cv_path_EGREP="$GREP -E"
5989 else
5990 # Extract the first word of "egrep" to use in msg output
5991 if test -z "$EGREP"; then
5992 set dummy egrep; ac_prog_name=$2
5993 if test "${ac_cv_path_EGREP+set}" = set; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5995 else
5996 ac_path_EGREP_found=false
5997 # Loop through the user's path and test for each of PROGNAME-LIST
5998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5999 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6001 IFS=$as_save_IFS
6002 test -z "$as_dir" && as_dir=.
6003 for ac_prog in egrep; do
6004 for ac_exec_ext in '' $ac_executable_extensions; do
6005 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6006 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6007 # Check for GNU ac_path_EGREP and select it if it is found.
6008 # Check for GNU $ac_path_EGREP
6009 case `"$ac_path_EGREP" --version 2>&1` in
6010 *GNU*)
6011 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6013 ac_count=0
6014 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6015 while :
6017 cat "conftest.in" "conftest.in" >"conftest.tmp"
6018 mv "conftest.tmp" "conftest.in"
6019 cp "conftest.in" "conftest.nl"
6020 echo 'EGREP' >> "conftest.nl"
6021 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6022 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6023 ac_count=`expr $ac_count + 1`
6024 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6025 # Best one so far, save it but keep looking for a better one
6026 ac_cv_path_EGREP="$ac_path_EGREP"
6027 ac_path_EGREP_max=$ac_count
6029 # 10*(2^10) chars as input seems more than enough
6030 test $ac_count -gt 10 && break
6031 done
6032 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6033 esac
6036 $ac_path_EGREP_found && break 3
6037 done
6038 done
6040 done
6041 IFS=$as_save_IFS
6046 EGREP="$ac_cv_path_EGREP"
6047 if test -z "$EGREP"; then
6048 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6049 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6050 { (exit 1); exit 1; }; }
6053 else
6054 ac_cv_path_EGREP=$EGREP
6060 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6061 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6062 EGREP="$ac_cv_path_EGREP"
6065 # Extract the first word of "ldconfig", so it can be a program name with args.
6066 set dummy ldconfig; ac_word=$2
6067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6069 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6070 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 else
6072 case $LDCONFIG in
6073 [\\/]* | ?:[\\/]*)
6074 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6078 for as_dir in /sbin /usr/sbin $PATH
6080 IFS=$as_save_IFS
6081 test -z "$as_dir" && as_dir=.
6082 for ac_exec_ext in '' $ac_executable_extensions; do
6083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6084 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6085 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6086 break 2
6088 done
6089 done
6090 IFS=$as_save_IFS
6092 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6094 esac
6096 LDCONFIG=$ac_cv_path_LDCONFIG
6097 if test -n "$LDCONFIG"; then
6098 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6099 echo "${ECHO_T}$LDCONFIG" >&6; }
6100 else
6101 { echo "$as_me:$LINENO: result: no" >&5
6102 echo "${ECHO_T}no" >&6; }
6106 # Find a good install program. We prefer a C program (faster),
6107 # so one script is as good as another. But avoid the broken or
6108 # incompatible versions:
6109 # SysV /etc/install, /usr/sbin/install
6110 # SunOS /usr/etc/install
6111 # IRIX /sbin/install
6112 # AIX /bin/install
6113 # AmigaOS /C/install, which installs bootblocks on floppy discs
6114 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6115 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6116 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6117 # OS/2's system install, which has a completely different semantic
6118 # ./install, which can be erroneously created by make from ./install.sh.
6119 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6120 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6121 if test -z "$INSTALL"; then
6122 if test "${ac_cv_path_install+set}" = set; then
6123 echo $ECHO_N "(cached) $ECHO_C" >&6
6124 else
6125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6126 for as_dir in $PATH
6128 IFS=$as_save_IFS
6129 test -z "$as_dir" && as_dir=.
6130 # Account for people who put trailing slashes in PATH elements.
6131 case $as_dir/ in
6132 ./ | .// | /cC/* | \
6133 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6134 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6135 /usr/ucb/* ) ;;
6137 # OSF1 and SCO ODT 3.0 have their own names for install.
6138 # Don't use installbsd from OSF since it installs stuff as root
6139 # by default.
6140 for ac_prog in ginstall scoinst install; do
6141 for ac_exec_ext in '' $ac_executable_extensions; do
6142 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6143 if test $ac_prog = install &&
6144 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6145 # AIX install. It has an incompatible calling convention.
6147 elif test $ac_prog = install &&
6148 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6149 # program-specific install script used by HP pwplus--don't use.
6151 else
6152 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6153 break 3
6156 done
6157 done
6159 esac
6160 done
6161 IFS=$as_save_IFS
6165 if test "${ac_cv_path_install+set}" = set; then
6166 INSTALL=$ac_cv_path_install
6167 else
6168 # As a last resort, use the slow shell script. Don't cache a
6169 # value for INSTALL within a source directory, because that will
6170 # break other packages using the cache if that directory is
6171 # removed, or if the value is a relative name.
6172 INSTALL=$ac_install_sh
6175 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6176 echo "${ECHO_T}$INSTALL" >&6; }
6178 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6179 # It thinks the first close brace ends the variable substitution.
6180 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6182 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6184 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6186 case "$INSTALL" in
6187 [\\/$]* | ?:[\\/]* ) ;;
6188 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6189 esac
6191 for ac_prog in lclint lint
6193 # Extract the first word of "$ac_prog", so it can be a program name with args.
6194 set dummy $ac_prog; ac_word=$2
6195 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6197 if test "${ac_cv_prog_LINT+set}" = set; then
6198 echo $ECHO_N "(cached) $ECHO_C" >&6
6199 else
6200 if test -n "$LINT"; then
6201 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6206 IFS=$as_save_IFS
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6210 ac_cv_prog_LINT="$ac_prog"
6211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 break 2
6214 done
6215 done
6216 IFS=$as_save_IFS
6220 LINT=$ac_cv_prog_LINT
6221 if test -n "$LINT"; then
6222 { echo "$as_me:$LINENO: result: $LINT" >&5
6223 echo "${ECHO_T}$LINT" >&6; }
6224 else
6225 { echo "$as_me:$LINENO: result: no" >&5
6226 echo "${ECHO_T}no" >&6; }
6230 test -n "$LINT" && break
6231 done
6233 if test "$LINT" = "lint"
6234 then
6235 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6240 for ac_prog in fontforge
6242 # Extract the first word of "$ac_prog", so it can be a program name with args.
6243 set dummy $ac_prog; ac_word=$2
6244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6246 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6247 echo $ECHO_N "(cached) $ECHO_C" >&6
6248 else
6249 if test -n "$FONTFORGE"; then
6250 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6251 else
6252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6253 for as_dir in $PATH
6255 IFS=$as_save_IFS
6256 test -z "$as_dir" && as_dir=.
6257 for ac_exec_ext in '' $ac_executable_extensions; do
6258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6259 ac_cv_prog_FONTFORGE="$ac_prog"
6260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6261 break 2
6263 done
6264 done
6265 IFS=$as_save_IFS
6269 FONTFORGE=$ac_cv_prog_FONTFORGE
6270 if test -n "$FONTFORGE"; then
6271 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6272 echo "${ECHO_T}$FONTFORGE" >&6; }
6273 else
6274 { echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6; }
6279 test -n "$FONTFORGE" && break
6280 done
6281 test -n "$FONTFORGE" || FONTFORGE="false"
6283 for ac_prog in pkg-config
6285 # Extract the first word of "$ac_prog", so it can be a program name with args.
6286 set dummy $ac_prog; ac_word=$2
6287 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6289 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6290 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 else
6292 if test -n "$PKG_CONFIG"; then
6293 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6294 else
6295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6296 for as_dir in $PATH
6298 IFS=$as_save_IFS
6299 test -z "$as_dir" && as_dir=.
6300 for ac_exec_ext in '' $ac_executable_extensions; do
6301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6302 ac_cv_prog_PKG_CONFIG="$ac_prog"
6303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 break 2
6306 done
6307 done
6308 IFS=$as_save_IFS
6312 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6313 if test -n "$PKG_CONFIG"; then
6314 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6315 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6316 else
6317 { echo "$as_me:$LINENO: result: no" >&5
6318 echo "${ECHO_T}no" >&6; }
6322 test -n "$PKG_CONFIG" && break
6323 done
6324 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6327 case $host_cpu in
6328 *i[3456789]86*)
6329 # Extract the first word of "prelink", so it can be a program name with args.
6330 set dummy prelink; ac_word=$2
6331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6333 if test "${ac_cv_path_PRELINK+set}" = set; then
6334 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 else
6336 case $PRELINK in
6337 [\\/]* | ?:[\\/]*)
6338 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6342 for as_dir in /sbin /usr/sbin $PATH
6344 IFS=$as_save_IFS
6345 test -z "$as_dir" && as_dir=.
6346 for ac_exec_ext in '' $ac_executable_extensions; do
6347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6348 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 break 2
6352 done
6353 done
6354 IFS=$as_save_IFS
6356 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6358 esac
6360 PRELINK=$ac_cv_path_PRELINK
6361 if test -n "$PRELINK"; then
6362 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6363 echo "${ECHO_T}$PRELINK" >&6; }
6364 else
6365 { echo "$as_me:$LINENO: result: no" >&5
6366 echo "${ECHO_T}no" >&6; }
6371 esac
6375 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6376 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6377 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 else
6380 ac_check_lib_save_LIBS=$LIBS
6381 LIBS="-li386 $LIBS"
6382 cat >conftest.$ac_ext <<_ACEOF
6383 /* confdefs.h. */
6384 _ACEOF
6385 cat confdefs.h >>conftest.$ac_ext
6386 cat >>conftest.$ac_ext <<_ACEOF
6387 /* end confdefs.h. */
6389 /* Override any GCC internal prototype to avoid an error.
6390 Use char because int might match the return type of a GCC
6391 builtin and then its argument prototype would still apply. */
6392 #ifdef __cplusplus
6393 extern "C"
6394 #endif
6395 char i386_set_ldt ();
6397 main ()
6399 return i386_set_ldt ();
6401 return 0;
6403 _ACEOF
6404 rm -f conftest.$ac_objext conftest$ac_exeext
6405 if { (ac_try="$ac_link"
6406 case "(($ac_try" in
6407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6408 *) ac_try_echo=$ac_try;;
6409 esac
6410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6411 (eval "$ac_link") 2>conftest.er1
6412 ac_status=$?
6413 grep -v '^ *+' conftest.er1 >conftest.err
6414 rm -f conftest.er1
6415 cat conftest.err >&5
6416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417 (exit $ac_status); } && {
6418 test -z "$ac_c_werror_flag" ||
6419 test ! -s conftest.err
6420 } && test -s conftest$ac_exeext &&
6421 $as_test_x conftest$ac_exeext; then
6422 ac_cv_lib_i386_i386_set_ldt=yes
6423 else
6424 echo "$as_me: failed program was:" >&5
6425 sed 's/^/| /' conftest.$ac_ext >&5
6427 ac_cv_lib_i386_i386_set_ldt=no
6430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6431 conftest$ac_exeext conftest.$ac_ext
6432 LIBS=$ac_check_lib_save_LIBS
6434 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6435 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6436 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6437 cat >>confdefs.h <<_ACEOF
6438 #define HAVE_LIBI386 1
6439 _ACEOF
6441 LIBS="-li386 $LIBS"
6446 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6447 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6448 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6449 echo $ECHO_N "(cached) $ECHO_C" >&6
6450 else
6451 ac_check_lib_save_LIBS=$LIBS
6452 LIBS="-lossaudio $LIBS"
6453 cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h. */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h. */
6460 /* Override any GCC internal prototype to avoid an error.
6461 Use char because int might match the return type of a GCC
6462 builtin and then its argument prototype would still apply. */
6463 #ifdef __cplusplus
6464 extern "C"
6465 #endif
6466 char _oss_ioctl ();
6468 main ()
6470 return _oss_ioctl ();
6472 return 0;
6474 _ACEOF
6475 rm -f conftest.$ac_objext conftest$ac_exeext
6476 if { (ac_try="$ac_link"
6477 case "(($ac_try" in
6478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6479 *) ac_try_echo=$ac_try;;
6480 esac
6481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6482 (eval "$ac_link") 2>conftest.er1
6483 ac_status=$?
6484 grep -v '^ *+' conftest.er1 >conftest.err
6485 rm -f conftest.er1
6486 cat conftest.err >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } && {
6489 test -z "$ac_c_werror_flag" ||
6490 test ! -s conftest.err
6491 } && test -s conftest$ac_exeext &&
6492 $as_test_x conftest$ac_exeext; then
6493 ac_cv_lib_ossaudio__oss_ioctl=yes
6494 else
6495 echo "$as_me: failed program was:" >&5
6496 sed 's/^/| /' conftest.$ac_ext >&5
6498 ac_cv_lib_ossaudio__oss_ioctl=no
6501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6502 conftest$ac_exeext conftest.$ac_ext
6503 LIBS=$ac_check_lib_save_LIBS
6505 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6506 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6507 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6508 cat >>confdefs.h <<_ACEOF
6509 #define HAVE_LIBOSSAUDIO 1
6510 _ACEOF
6512 LIBS="-lossaudio $LIBS"
6517 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6518 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6519 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6521 else
6522 ac_check_lib_save_LIBS=$LIBS
6523 LIBS="-lxpg4 $LIBS"
6524 cat >conftest.$ac_ext <<_ACEOF
6525 /* confdefs.h. */
6526 _ACEOF
6527 cat confdefs.h >>conftest.$ac_ext
6528 cat >>conftest.$ac_ext <<_ACEOF
6529 /* end confdefs.h. */
6531 /* Override any GCC internal prototype to avoid an error.
6532 Use char because int might match the return type of a GCC
6533 builtin and then its argument prototype would still apply. */
6534 #ifdef __cplusplus
6535 extern "C"
6536 #endif
6537 char _xpg4_setrunelocale ();
6539 main ()
6541 return _xpg4_setrunelocale ();
6543 return 0;
6545 _ACEOF
6546 rm -f conftest.$ac_objext conftest$ac_exeext
6547 if { (ac_try="$ac_link"
6548 case "(($ac_try" in
6549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6550 *) ac_try_echo=$ac_try;;
6551 esac
6552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6553 (eval "$ac_link") 2>conftest.er1
6554 ac_status=$?
6555 grep -v '^ *+' conftest.er1 >conftest.err
6556 rm -f conftest.er1
6557 cat conftest.err >&5
6558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559 (exit $ac_status); } && {
6560 test -z "$ac_c_werror_flag" ||
6561 test ! -s conftest.err
6562 } && test -s conftest$ac_exeext &&
6563 $as_test_x conftest$ac_exeext; then
6564 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6565 else
6566 echo "$as_me: failed program was:" >&5
6567 sed 's/^/| /' conftest.$ac_ext >&5
6569 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6573 conftest$ac_exeext conftest.$ac_ext
6574 LIBS=$ac_check_lib_save_LIBS
6576 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6577 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6578 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6579 cat >>confdefs.h <<_ACEOF
6580 #define HAVE_LIBXPG4 1
6581 _ACEOF
6583 LIBS="-lxpg4 $LIBS"
6587 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6588 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6589 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6591 else
6592 ac_check_lib_save_LIBS=$LIBS
6593 LIBS="-lpthread $LIBS"
6594 cat >conftest.$ac_ext <<_ACEOF
6595 /* confdefs.h. */
6596 _ACEOF
6597 cat confdefs.h >>conftest.$ac_ext
6598 cat >>conftest.$ac_ext <<_ACEOF
6599 /* end confdefs.h. */
6601 /* Override any GCC internal prototype to avoid an error.
6602 Use char because int might match the return type of a GCC
6603 builtin and then its argument prototype would still apply. */
6604 #ifdef __cplusplus
6605 extern "C"
6606 #endif
6607 char pthread_create ();
6609 main ()
6611 return pthread_create ();
6613 return 0;
6615 _ACEOF
6616 rm -f conftest.$ac_objext conftest$ac_exeext
6617 if { (ac_try="$ac_link"
6618 case "(($ac_try" in
6619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6620 *) ac_try_echo=$ac_try;;
6621 esac
6622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6623 (eval "$ac_link") 2>conftest.er1
6624 ac_status=$?
6625 grep -v '^ *+' conftest.er1 >conftest.err
6626 rm -f conftest.er1
6627 cat conftest.err >&5
6628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629 (exit $ac_status); } && {
6630 test -z "$ac_c_werror_flag" ||
6631 test ! -s conftest.err
6632 } && test -s conftest$ac_exeext &&
6633 $as_test_x conftest$ac_exeext; then
6634 ac_cv_lib_pthread_pthread_create=yes
6635 else
6636 echo "$as_me: failed program was:" >&5
6637 sed 's/^/| /' conftest.$ac_ext >&5
6639 ac_cv_lib_pthread_pthread_create=no
6642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6643 conftest$ac_exeext conftest.$ac_ext
6644 LIBS=$ac_check_lib_save_LIBS
6646 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6647 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6648 if test $ac_cv_lib_pthread_pthread_create = yes; then
6649 LIBPTHREAD="-lpthread"
6654 XLIB=""
6656 XFILES=""
6658 OPENGLFILES=""
6660 GLU32FILES=""
6662 OPENGL_LIBS=""
6664 QUARTZFILES=""
6668 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6669 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6670 if test "${ac_cv_header_stdc+set}" = set; then
6671 echo $ECHO_N "(cached) $ECHO_C" >&6
6672 else
6673 cat >conftest.$ac_ext <<_ACEOF
6674 /* confdefs.h. */
6675 _ACEOF
6676 cat confdefs.h >>conftest.$ac_ext
6677 cat >>conftest.$ac_ext <<_ACEOF
6678 /* end confdefs.h. */
6679 #include <stdlib.h>
6680 #include <stdarg.h>
6681 #include <string.h>
6682 #include <float.h>
6685 main ()
6689 return 0;
6691 _ACEOF
6692 rm -f conftest.$ac_objext
6693 if { (ac_try="$ac_compile"
6694 case "(($ac_try" in
6695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6696 *) ac_try_echo=$ac_try;;
6697 esac
6698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6699 (eval "$ac_compile") 2>conftest.er1
6700 ac_status=$?
6701 grep -v '^ *+' conftest.er1 >conftest.err
6702 rm -f conftest.er1
6703 cat conftest.err >&5
6704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6705 (exit $ac_status); } && {
6706 test -z "$ac_c_werror_flag" ||
6707 test ! -s conftest.err
6708 } && test -s conftest.$ac_objext; then
6709 ac_cv_header_stdc=yes
6710 else
6711 echo "$as_me: failed program was:" >&5
6712 sed 's/^/| /' conftest.$ac_ext >&5
6714 ac_cv_header_stdc=no
6717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6719 if test $ac_cv_header_stdc = yes; then
6720 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6721 cat >conftest.$ac_ext <<_ACEOF
6722 /* confdefs.h. */
6723 _ACEOF
6724 cat confdefs.h >>conftest.$ac_ext
6725 cat >>conftest.$ac_ext <<_ACEOF
6726 /* end confdefs.h. */
6727 #include <string.h>
6729 _ACEOF
6730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6731 $EGREP "memchr" >/dev/null 2>&1; then
6733 else
6734 ac_cv_header_stdc=no
6736 rm -f conftest*
6740 if test $ac_cv_header_stdc = yes; then
6741 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6742 cat >conftest.$ac_ext <<_ACEOF
6743 /* confdefs.h. */
6744 _ACEOF
6745 cat confdefs.h >>conftest.$ac_ext
6746 cat >>conftest.$ac_ext <<_ACEOF
6747 /* end confdefs.h. */
6748 #include <stdlib.h>
6750 _ACEOF
6751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6752 $EGREP "free" >/dev/null 2>&1; then
6754 else
6755 ac_cv_header_stdc=no
6757 rm -f conftest*
6761 if test $ac_cv_header_stdc = yes; then
6762 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6763 if test "$cross_compiling" = yes; then
6765 else
6766 cat >conftest.$ac_ext <<_ACEOF
6767 /* confdefs.h. */
6768 _ACEOF
6769 cat confdefs.h >>conftest.$ac_ext
6770 cat >>conftest.$ac_ext <<_ACEOF
6771 /* end confdefs.h. */
6772 #include <ctype.h>
6773 #include <stdlib.h>
6774 #if ((' ' & 0x0FF) == 0x020)
6775 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6776 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6777 #else
6778 # define ISLOWER(c) \
6779 (('a' <= (c) && (c) <= 'i') \
6780 || ('j' <= (c) && (c) <= 'r') \
6781 || ('s' <= (c) && (c) <= 'z'))
6782 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6783 #endif
6785 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6787 main ()
6789 int i;
6790 for (i = 0; i < 256; i++)
6791 if (XOR (islower (i), ISLOWER (i))
6792 || toupper (i) != TOUPPER (i))
6793 return 2;
6794 return 0;
6796 _ACEOF
6797 rm -f conftest$ac_exeext
6798 if { (ac_try="$ac_link"
6799 case "(($ac_try" in
6800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6801 *) ac_try_echo=$ac_try;;
6802 esac
6803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6804 (eval "$ac_link") 2>&5
6805 ac_status=$?
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6808 { (case "(($ac_try" in
6809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6810 *) ac_try_echo=$ac_try;;
6811 esac
6812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6813 (eval "$ac_try") 2>&5
6814 ac_status=$?
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; }; then
6818 else
6819 echo "$as_me: program exited with status $ac_status" >&5
6820 echo "$as_me: failed program was:" >&5
6821 sed 's/^/| /' conftest.$ac_ext >&5
6823 ( exit $ac_status )
6824 ac_cv_header_stdc=no
6826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6832 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6833 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6834 if test $ac_cv_header_stdc = yes; then
6836 cat >>confdefs.h <<\_ACEOF
6837 #define STDC_HEADERS 1
6838 _ACEOF
6842 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6852 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6853 inttypes.h stdint.h unistd.h
6855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6856 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6858 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6859 echo $ECHO_N "(cached) $ECHO_C" >&6
6860 else
6861 cat >conftest.$ac_ext <<_ACEOF
6862 /* confdefs.h. */
6863 _ACEOF
6864 cat confdefs.h >>conftest.$ac_ext
6865 cat >>conftest.$ac_ext <<_ACEOF
6866 /* end confdefs.h. */
6867 $ac_includes_default
6869 #include <$ac_header>
6870 _ACEOF
6871 rm -f conftest.$ac_objext
6872 if { (ac_try="$ac_compile"
6873 case "(($ac_try" in
6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6876 esac
6877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6878 (eval "$ac_compile") 2>conftest.er1
6879 ac_status=$?
6880 grep -v '^ *+' conftest.er1 >conftest.err
6881 rm -f conftest.er1
6882 cat conftest.err >&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } && {
6885 test -z "$ac_c_werror_flag" ||
6886 test ! -s conftest.err
6887 } && test -s conftest.$ac_objext; then
6888 eval "$as_ac_Header=yes"
6889 else
6890 echo "$as_me: failed program was:" >&5
6891 sed 's/^/| /' conftest.$ac_ext >&5
6893 eval "$as_ac_Header=no"
6896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6898 ac_res=`eval echo '${'$as_ac_Header'}'`
6899 { echo "$as_me:$LINENO: result: $ac_res" >&5
6900 echo "${ECHO_T}$ac_res" >&6; }
6901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6902 cat >>confdefs.h <<_ACEOF
6903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6904 _ACEOF
6908 done
7019 for ac_header in \
7020 AudioUnit/AudioUnit.h \
7021 Carbon/Carbon.h \
7022 CoreAudio/CoreAudio.h \
7023 DiskArbitration/DiskArbitration.h \
7024 IOKit/IOKitLib.h \
7025 alsa/asoundlib.h \
7026 arpa/inet.h \
7027 arpa/nameser.h \
7028 asm/types.h \
7029 capi20.h \
7030 cups/cups.h \
7031 curses.h \
7032 direct.h \
7033 dlfcn.h \
7034 elf.h \
7035 float.h \
7036 fontconfig/fontconfig.h \
7037 getopt.h \
7038 ieeefp.h \
7039 io.h \
7040 jack/jack.h \
7041 jpeglib.h \
7042 lber.h \
7043 lcms.h \
7044 lcms/lcms.h \
7045 ldap.h \
7046 libaudioio.h \
7047 link.h \
7048 linux/cdrom.h \
7049 linux/compiler.h \
7050 linux/hdreg.h \
7051 linux/input.h \
7052 linux/ioctl.h \
7053 linux/joystick.h \
7054 linux/major.h \
7055 linux/param.h \
7056 linux/serial.h \
7057 linux/ucdrom.h \
7058 mach/machine.h \
7059 machine/cpu.h \
7060 machine/limits.h \
7061 machine/soundcard.h \
7062 mntent.h \
7063 ncurses.h \
7064 netdb.h \
7065 netinet/in.h \
7066 netinet/in_systm.h \
7067 netinet/tcp.h \
7068 netinet/tcp_fsm.h \
7069 openssl/err.h \
7070 openssl/ssl.h \
7071 poll.h \
7072 process.h \
7073 pthread.h \
7074 pwd.h \
7075 regex.h \
7076 sched.h \
7077 scsi/scsi.h \
7078 scsi/scsi_ioctl.h \
7079 scsi/sg.h \
7080 soundcard.h \
7081 stdint.h \
7082 strings.h \
7083 sys/asoundlib.h \
7084 sys/cdio.h \
7085 sys/elf32.h \
7086 sys/epoll.h \
7087 sys/errno.h \
7088 sys/event.h \
7089 sys/exec_elf.h \
7090 sys/filio.h \
7091 sys/ioctl.h \
7092 sys/ipc.h \
7093 sys/limits.h \
7094 sys/link.h \
7095 sys/lwp.h \
7096 sys/mman.h \
7097 sys/modem.h \
7098 sys/msg.h \
7099 sys/mtio.h \
7100 sys/param.h \
7101 sys/poll.h \
7102 sys/prctl.h \
7103 sys/ptrace.h \
7104 sys/reg.h \
7105 sys/resource.h \
7106 sys/scsiio.h \
7107 sys/shm.h \
7108 sys/signal.h \
7109 sys/socket.h \
7110 sys/sockio.h \
7111 sys/soundcard.h \
7112 sys/statvfs.h \
7113 sys/strtio.h \
7114 sys/syscall.h \
7115 sys/sysctl.h \
7116 sys/time.h \
7117 sys/times.h \
7118 sys/uio.h \
7119 sys/un.h \
7120 sys/vm86.h \
7121 sys/wait.h \
7122 syscall.h \
7123 termios.h \
7124 unicode/ubidi.h \
7125 unistd.h \
7126 utime.h \
7127 valgrind/memcheck.h
7130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7131 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7132 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7134 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7135 echo $ECHO_N "(cached) $ECHO_C" >&6
7137 ac_res=`eval echo '${'$as_ac_Header'}'`
7138 { echo "$as_me:$LINENO: result: $ac_res" >&5
7139 echo "${ECHO_T}$ac_res" >&6; }
7140 else
7141 # Is the header compilable?
7142 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7143 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7144 cat >conftest.$ac_ext <<_ACEOF
7145 /* confdefs.h. */
7146 _ACEOF
7147 cat confdefs.h >>conftest.$ac_ext
7148 cat >>conftest.$ac_ext <<_ACEOF
7149 /* end confdefs.h. */
7150 $ac_includes_default
7151 #include <$ac_header>
7152 _ACEOF
7153 rm -f conftest.$ac_objext
7154 if { (ac_try="$ac_compile"
7155 case "(($ac_try" in
7156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7157 *) ac_try_echo=$ac_try;;
7158 esac
7159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7160 (eval "$ac_compile") 2>conftest.er1
7161 ac_status=$?
7162 grep -v '^ *+' conftest.er1 >conftest.err
7163 rm -f conftest.er1
7164 cat conftest.err >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } && {
7167 test -z "$ac_c_werror_flag" ||
7168 test ! -s conftest.err
7169 } && test -s conftest.$ac_objext; then
7170 ac_header_compiler=yes
7171 else
7172 echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.$ac_ext >&5
7175 ac_header_compiler=no
7178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7179 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7180 echo "${ECHO_T}$ac_header_compiler" >&6; }
7182 # Is the header present?
7183 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7184 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7185 cat >conftest.$ac_ext <<_ACEOF
7186 /* confdefs.h. */
7187 _ACEOF
7188 cat confdefs.h >>conftest.$ac_ext
7189 cat >>conftest.$ac_ext <<_ACEOF
7190 /* end confdefs.h. */
7191 #include <$ac_header>
7192 _ACEOF
7193 if { (ac_try="$ac_cpp conftest.$ac_ext"
7194 case "(($ac_try" in
7195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7196 *) ac_try_echo=$ac_try;;
7197 esac
7198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7199 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7200 ac_status=$?
7201 grep -v '^ *+' conftest.er1 >conftest.err
7202 rm -f conftest.er1
7203 cat conftest.err >&5
7204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7205 (exit $ac_status); } >/dev/null && {
7206 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7207 test ! -s conftest.err
7208 }; then
7209 ac_header_preproc=yes
7210 else
7211 echo "$as_me: failed program was:" >&5
7212 sed 's/^/| /' conftest.$ac_ext >&5
7214 ac_header_preproc=no
7217 rm -f conftest.err conftest.$ac_ext
7218 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7219 echo "${ECHO_T}$ac_header_preproc" >&6; }
7221 # So? What about this header?
7222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7223 yes:no: )
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7228 ac_header_preproc=yes
7230 no:yes:* )
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7243 ( cat <<\_ASBOX
7244 ## ------------------------------------ ##
7245 ## Report this to wine-devel@winehq.org ##
7246 ## ------------------------------------ ##
7247 _ASBOX
7248 ) | sed "s/^/$as_me: WARNING: /" >&2
7250 esac
7251 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7253 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7254 echo $ECHO_N "(cached) $ECHO_C" >&6
7255 else
7256 eval "$as_ac_Header=\$ac_header_preproc"
7258 ac_res=`eval echo '${'$as_ac_Header'}'`
7259 { echo "$as_me:$LINENO: result: $ac_res" >&5
7260 echo "${ECHO_T}$ac_res" >&6; }
7263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7264 cat >>confdefs.h <<_ACEOF
7265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7266 _ACEOF
7270 done
7272 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7273 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7274 if test "${ac_cv_header_stat_broken+set}" = set; then
7275 echo $ECHO_N "(cached) $ECHO_C" >&6
7276 else
7277 cat >conftest.$ac_ext <<_ACEOF
7278 /* confdefs.h. */
7279 _ACEOF
7280 cat confdefs.h >>conftest.$ac_ext
7281 cat >>conftest.$ac_ext <<_ACEOF
7282 /* end confdefs.h. */
7283 #include <sys/types.h>
7284 #include <sys/stat.h>
7286 #if defined S_ISBLK && defined S_IFDIR
7287 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7288 #endif
7290 #if defined S_ISBLK && defined S_IFCHR
7291 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7292 #endif
7294 #if defined S_ISLNK && defined S_IFREG
7295 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7296 #endif
7298 #if defined S_ISSOCK && defined S_IFREG
7299 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7300 #endif
7302 _ACEOF
7303 rm -f conftest.$ac_objext
7304 if { (ac_try="$ac_compile"
7305 case "(($ac_try" in
7306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7307 *) ac_try_echo=$ac_try;;
7308 esac
7309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7310 (eval "$ac_compile") 2>conftest.er1
7311 ac_status=$?
7312 grep -v '^ *+' conftest.er1 >conftest.err
7313 rm -f conftest.er1
7314 cat conftest.err >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } && {
7317 test -z "$ac_c_werror_flag" ||
7318 test ! -s conftest.err
7319 } && test -s conftest.$ac_objext; then
7320 ac_cv_header_stat_broken=no
7321 else
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.$ac_ext >&5
7325 ac_cv_header_stat_broken=yes
7328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7330 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7331 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7332 if test $ac_cv_header_stat_broken = yes; then
7334 cat >>confdefs.h <<\_ACEOF
7335 #define STAT_MACROS_BROKEN 1
7336 _ACEOF
7346 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7348 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7349 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7352 echo $ECHO_N "(cached) $ECHO_C" >&6
7353 else
7354 cat >conftest.$ac_ext <<_ACEOF
7355 /* confdefs.h. */
7356 _ACEOF
7357 cat confdefs.h >>conftest.$ac_ext
7358 cat >>conftest.$ac_ext <<_ACEOF
7359 /* end confdefs.h. */
7360 #include <sys/types.h>
7361 #if HAVE_SYS_PARAM_H
7362 # include <sys/param.h>
7363 #endif
7365 #include <$ac_header>
7366 _ACEOF
7367 rm -f conftest.$ac_objext
7368 if { (ac_try="$ac_compile"
7369 case "(($ac_try" in
7370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7371 *) ac_try_echo=$ac_try;;
7372 esac
7373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7374 (eval "$ac_compile") 2>conftest.er1
7375 ac_status=$?
7376 grep -v '^ *+' conftest.er1 >conftest.err
7377 rm -f conftest.er1
7378 cat conftest.err >&5
7379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7380 (exit $ac_status); } && {
7381 test -z "$ac_c_werror_flag" ||
7382 test ! -s conftest.err
7383 } && test -s conftest.$ac_objext; then
7384 eval "$as_ac_Header=yes"
7385 else
7386 echo "$as_me: failed program was:" >&5
7387 sed 's/^/| /' conftest.$ac_ext >&5
7389 eval "$as_ac_Header=no"
7392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7394 ac_res=`eval echo '${'$as_ac_Header'}'`
7395 { echo "$as_me:$LINENO: result: $ac_res" >&5
7396 echo "${ECHO_T}$ac_res" >&6; }
7397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7398 cat >>confdefs.h <<_ACEOF
7399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7400 _ACEOF
7404 done
7413 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
7415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7416 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7417 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7418 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7419 echo $ECHO_N "(cached) $ECHO_C" >&6
7420 else
7421 cat >conftest.$ac_ext <<_ACEOF
7422 /* confdefs.h. */
7423 _ACEOF
7424 cat confdefs.h >>conftest.$ac_ext
7425 cat >>conftest.$ac_ext <<_ACEOF
7426 /* end confdefs.h. */
7427 #include <sys/types.h>
7428 #if HAVE_SYS_SOCKET_H
7429 # include <sys/socket.h>
7430 #endif
7432 #include <$ac_header>
7433 _ACEOF
7434 rm -f conftest.$ac_objext
7435 if { (ac_try="$ac_compile"
7436 case "(($ac_try" in
7437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7439 esac
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_compile") 2>conftest.er1
7442 ac_status=$?
7443 grep -v '^ *+' conftest.er1 >conftest.err
7444 rm -f conftest.er1
7445 cat conftest.err >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } && {
7448 test -z "$ac_c_werror_flag" ||
7449 test ! -s conftest.err
7450 } && test -s conftest.$ac_objext; then
7451 eval "$as_ac_Header=yes"
7452 else
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.$ac_ext >&5
7456 eval "$as_ac_Header=no"
7459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7461 ac_res=`eval echo '${'$as_ac_Header'}'`
7462 { echo "$as_me:$LINENO: result: $ac_res" >&5
7463 echo "${ECHO_T}$ac_res" >&6; }
7464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7465 cat >>confdefs.h <<_ACEOF
7466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7467 _ACEOF
7471 done
7475 for ac_header in linux/ipx.h
7477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7478 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7479 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7480 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7481 echo $ECHO_N "(cached) $ECHO_C" >&6
7482 else
7483 cat >conftest.$ac_ext <<_ACEOF
7484 /* confdefs.h. */
7485 _ACEOF
7486 cat confdefs.h >>conftest.$ac_ext
7487 cat >>conftest.$ac_ext <<_ACEOF
7488 /* end confdefs.h. */
7489 #include <sys/types.h>
7490 #ifdef HAVE_ASM_TYPES_H
7491 # include <asm/types.h>
7492 #endif
7493 #if HAVE_SYS_SOCKET_H
7494 # include <sys/socket.h>
7495 #endif
7497 #include <$ac_header>
7498 _ACEOF
7499 rm -f conftest.$ac_objext
7500 if { (ac_try="$ac_compile"
7501 case "(($ac_try" in
7502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7503 *) ac_try_echo=$ac_try;;
7504 esac
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_compile") 2>conftest.er1
7507 ac_status=$?
7508 grep -v '^ *+' conftest.er1 >conftest.err
7509 rm -f conftest.er1
7510 cat conftest.err >&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_c_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest.$ac_objext; then
7516 eval "$as_ac_Header=yes"
7517 else
7518 echo "$as_me: failed program was:" >&5
7519 sed 's/^/| /' conftest.$ac_ext >&5
7521 eval "$as_ac_Header=no"
7524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7526 ac_res=`eval echo '${'$as_ac_Header'}'`
7527 { echo "$as_me:$LINENO: result: $ac_res" >&5
7528 echo "${ECHO_T}$ac_res" >&6; }
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530 cat >>confdefs.h <<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7532 _ACEOF
7536 done
7540 for ac_header in resolv.h
7542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7545 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 else
7548 cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h. */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <sys/types.h>
7555 #if HAVE_SYS_SOCKET_H
7556 # include <sys/socket.h>
7557 #endif
7558 #if HAVE_NETINET_IN_H
7559 # include <netinet/in.h>
7560 #endif
7561 #if HAVE_ARPA_NAMESER_H
7562 # include <arpa/nameser.h>
7563 #endif
7565 #include <$ac_header>
7566 _ACEOF
7567 rm -f conftest.$ac_objext
7568 if { (ac_try="$ac_compile"
7569 case "(($ac_try" in
7570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7571 *) ac_try_echo=$ac_try;;
7572 esac
7573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7574 (eval "$ac_compile") 2>conftest.er1
7575 ac_status=$?
7576 grep -v '^ *+' conftest.er1 >conftest.err
7577 rm -f conftest.er1
7578 cat conftest.err >&5
7579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7580 (exit $ac_status); } && {
7581 test -z "$ac_c_werror_flag" ||
7582 test ! -s conftest.err
7583 } && test -s conftest.$ac_objext; then
7584 eval "$as_ac_Header=yes"
7585 else
7586 echo "$as_me: failed program was:" >&5
7587 sed 's/^/| /' conftest.$ac_ext >&5
7589 eval "$as_ac_Header=no"
7592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7594 ac_res=`eval echo '${'$as_ac_Header'}'`
7595 { echo "$as_me:$LINENO: result: $ac_res" >&5
7596 echo "${ECHO_T}$ac_res" >&6; }
7597 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7598 cat >>confdefs.h <<_ACEOF
7599 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7600 _ACEOF
7604 done
7608 for ac_header in ucontext.h
7610 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7611 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7613 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7614 echo $ECHO_N "(cached) $ECHO_C" >&6
7615 else
7616 cat >conftest.$ac_ext <<_ACEOF
7617 /* confdefs.h. */
7618 _ACEOF
7619 cat confdefs.h >>conftest.$ac_ext
7620 cat >>conftest.$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7622 #include <signal.h>
7624 #include <$ac_header>
7625 _ACEOF
7626 rm -f conftest.$ac_objext
7627 if { (ac_try="$ac_compile"
7628 case "(($ac_try" in
7629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7630 *) ac_try_echo=$ac_try;;
7631 esac
7632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7633 (eval "$ac_compile") 2>conftest.er1
7634 ac_status=$?
7635 grep -v '^ *+' conftest.er1 >conftest.err
7636 rm -f conftest.er1
7637 cat conftest.err >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); } && {
7640 test -z "$ac_c_werror_flag" ||
7641 test ! -s conftest.err
7642 } && test -s conftest.$ac_objext; then
7643 eval "$as_ac_Header=yes"
7644 else
7645 echo "$as_me: failed program was:" >&5
7646 sed 's/^/| /' conftest.$ac_ext >&5
7648 eval "$as_ac_Header=no"
7651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7653 ac_res=`eval echo '${'$as_ac_Header'}'`
7654 { echo "$as_me:$LINENO: result: $ac_res" >&5
7655 echo "${ECHO_T}$ac_res" >&6; }
7656 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7657 cat >>confdefs.h <<_ACEOF
7658 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7667 for ac_header in pthread_np.h
7669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7670 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7673 echo $ECHO_N "(cached) $ECHO_C" >&6
7674 else
7675 cat >conftest.$ac_ext <<_ACEOF
7676 /* confdefs.h. */
7677 _ACEOF
7678 cat confdefs.h >>conftest.$ac_ext
7679 cat >>conftest.$ac_ext <<_ACEOF
7680 /* end confdefs.h. */
7681 #ifdef HAVE_PTHREAD_H
7682 #include <pthread.h>
7683 #endif
7685 #include <$ac_header>
7686 _ACEOF
7687 rm -f conftest.$ac_objext
7688 if { (ac_try="$ac_compile"
7689 case "(($ac_try" in
7690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7691 *) ac_try_echo=$ac_try;;
7692 esac
7693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7694 (eval "$ac_compile") 2>conftest.er1
7695 ac_status=$?
7696 grep -v '^ *+' conftest.er1 >conftest.err
7697 rm -f conftest.er1
7698 cat conftest.err >&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } && {
7701 test -z "$ac_c_werror_flag" ||
7702 test ! -s conftest.err
7703 } && test -s conftest.$ac_objext; then
7704 eval "$as_ac_Header=yes"
7705 else
7706 echo "$as_me: failed program was:" >&5
7707 sed 's/^/| /' conftest.$ac_ext >&5
7709 eval "$as_ac_Header=no"
7712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7714 ac_res=`eval echo '${'$as_ac_Header'}'`
7715 { echo "$as_me:$LINENO: result: $ac_res" >&5
7716 echo "${ECHO_T}$ac_res" >&6; }
7717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7718 cat >>confdefs.h <<_ACEOF
7719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7720 _ACEOF
7724 done
7728 for ac_header in linux/videodev.h
7730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7734 echo $ECHO_N "(cached) $ECHO_C" >&6
7735 else
7736 cat >conftest.$ac_ext <<_ACEOF
7737 /* confdefs.h. */
7738 _ACEOF
7739 cat confdefs.h >>conftest.$ac_ext
7740 cat >>conftest.$ac_ext <<_ACEOF
7741 /* end confdefs.h. */
7742 #ifdef HAVE_SYS_TIME_H
7743 #include <sys/time.h>
7744 #endif
7745 #include <sys/types.h>
7746 #ifdef HAVE_ASM_TYPES_H
7747 #include <asm/types.h>
7748 #endif
7750 #include <$ac_header>
7751 _ACEOF
7752 rm -f conftest.$ac_objext
7753 if { (ac_try="$ac_compile"
7754 case "(($ac_try" in
7755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7756 *) ac_try_echo=$ac_try;;
7757 esac
7758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7759 (eval "$ac_compile") 2>conftest.er1
7760 ac_status=$?
7761 grep -v '^ *+' conftest.er1 >conftest.err
7762 rm -f conftest.er1
7763 cat conftest.err >&5
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765 (exit $ac_status); } && {
7766 test -z "$ac_c_werror_flag" ||
7767 test ! -s conftest.err
7768 } && test -s conftest.$ac_objext; then
7769 eval "$as_ac_Header=yes"
7770 else
7771 echo "$as_me: failed program was:" >&5
7772 sed 's/^/| /' conftest.$ac_ext >&5
7774 eval "$as_ac_Header=no"
7777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7779 ac_res=`eval echo '${'$as_ac_Header'}'`
7780 { echo "$as_me:$LINENO: result: $ac_res" >&5
7781 echo "${ECHO_T}$ac_res" >&6; }
7782 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7783 cat >>confdefs.h <<_ACEOF
7784 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7785 _ACEOF
7789 done
7793 for ac_header in linux/capi.h
7795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7796 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7798 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7799 echo $ECHO_N "(cached) $ECHO_C" >&6
7800 else
7801 cat >conftest.$ac_ext <<_ACEOF
7802 /* confdefs.h. */
7803 _ACEOF
7804 cat confdefs.h >>conftest.$ac_ext
7805 cat >>conftest.$ac_ext <<_ACEOF
7806 /* end confdefs.h. */
7807 #define __user
7809 #include <$ac_header>
7810 _ACEOF
7811 rm -f conftest.$ac_objext
7812 if { (ac_try="$ac_compile"
7813 case "(($ac_try" in
7814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7815 *) ac_try_echo=$ac_try;;
7816 esac
7817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7818 (eval "$ac_compile") 2>conftest.er1
7819 ac_status=$?
7820 grep -v '^ *+' conftest.er1 >conftest.err
7821 rm -f conftest.er1
7822 cat conftest.err >&5
7823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7824 (exit $ac_status); } && {
7825 test -z "$ac_c_werror_flag" ||
7826 test ! -s conftest.err
7827 } && test -s conftest.$ac_objext; then
7828 eval "$as_ac_Header=yes"
7829 else
7830 echo "$as_me: failed program was:" >&5
7831 sed 's/^/| /' conftest.$ac_ext >&5
7833 eval "$as_ac_Header=no"
7836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7838 ac_res=`eval echo '${'$as_ac_Header'}'`
7839 { echo "$as_me:$LINENO: result: $ac_res" >&5
7840 echo "${ECHO_T}$ac_res" >&6; }
7841 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7842 cat >>confdefs.h <<_ACEOF
7843 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7844 _ACEOF
7848 done
7852 if test "$have_x" = "yes"
7853 then
7854 XLIB="-lXext -lX11"
7855 ac_save_CPPFLAGS="$CPPFLAGS"
7856 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7868 for ac_header in X11/Xlib.h \
7869 X11/XKBlib.h \
7870 X11/Xutil.h \
7871 X11/extensions/shape.h \
7872 X11/extensions/XInput.h \
7873 X11/extensions/XShm.h \
7874 X11/extensions/Xinerama.h \
7875 X11/extensions/Xrandr.h \
7876 X11/extensions/Xrender.h \
7877 X11/extensions/xf86vmode.h
7879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7882 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7884 else
7885 cat >conftest.$ac_ext <<_ACEOF
7886 /* confdefs.h. */
7887 _ACEOF
7888 cat confdefs.h >>conftest.$ac_ext
7889 cat >>conftest.$ac_ext <<_ACEOF
7890 /* end confdefs.h. */
7891 #ifdef HAVE_X11_XLIB_H
7892 # include <X11/Xlib.h>
7893 #endif
7894 #ifdef HAVE_X11_XUTIL_H
7895 # include <X11/Xutil.h>
7896 #endif
7898 #include <$ac_header>
7899 _ACEOF
7900 rm -f conftest.$ac_objext
7901 if { (ac_try="$ac_compile"
7902 case "(($ac_try" in
7903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7904 *) ac_try_echo=$ac_try;;
7905 esac
7906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7907 (eval "$ac_compile") 2>conftest.er1
7908 ac_status=$?
7909 grep -v '^ *+' conftest.er1 >conftest.err
7910 rm -f conftest.er1
7911 cat conftest.err >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); } && {
7914 test -z "$ac_c_werror_flag" ||
7915 test ! -s conftest.err
7916 } && test -s conftest.$ac_objext; then
7917 eval "$as_ac_Header=yes"
7918 else
7919 echo "$as_me: failed program was:" >&5
7920 sed 's/^/| /' conftest.$ac_ext >&5
7922 eval "$as_ac_Header=no"
7925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7927 ac_res=`eval echo '${'$as_ac_Header'}'`
7928 { echo "$as_me:$LINENO: result: $ac_res" >&5
7929 echo "${ECHO_T}$ac_res" >&6; }
7930 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7931 cat >>confdefs.h <<_ACEOF
7932 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7933 _ACEOF
7937 done
7940 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7941 then
7942 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7943 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7944 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7945 echo $ECHO_N "(cached) $ECHO_C" >&6
7946 else
7947 ac_check_lib_save_LIBS=$LIBS
7948 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7949 cat >conftest.$ac_ext <<_ACEOF
7950 /* confdefs.h. */
7951 _ACEOF
7952 cat confdefs.h >>conftest.$ac_ext
7953 cat >>conftest.$ac_ext <<_ACEOF
7954 /* end confdefs.h. */
7956 /* Override any GCC internal prototype to avoid an error.
7957 Use char because int might match the return type of a GCC
7958 builtin and then its argument prototype would still apply. */
7959 #ifdef __cplusplus
7960 extern "C"
7961 #endif
7962 char XkbQueryExtension ();
7964 main ()
7966 return XkbQueryExtension ();
7968 return 0;
7970 _ACEOF
7971 rm -f conftest.$ac_objext conftest$ac_exeext
7972 if { (ac_try="$ac_link"
7973 case "(($ac_try" in
7974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7975 *) ac_try_echo=$ac_try;;
7976 esac
7977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7978 (eval "$ac_link") 2>conftest.er1
7979 ac_status=$?
7980 grep -v '^ *+' conftest.er1 >conftest.err
7981 rm -f conftest.er1
7982 cat conftest.err >&5
7983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7984 (exit $ac_status); } && {
7985 test -z "$ac_c_werror_flag" ||
7986 test ! -s conftest.err
7987 } && test -s conftest$ac_exeext &&
7988 $as_test_x conftest$ac_exeext; then
7989 ac_cv_lib_X11_XkbQueryExtension=yes
7990 else
7991 echo "$as_me: failed program was:" >&5
7992 sed 's/^/| /' conftest.$ac_ext >&5
7994 ac_cv_lib_X11_XkbQueryExtension=no
7997 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7998 conftest$ac_exeext conftest.$ac_ext
7999 LIBS=$ac_check_lib_save_LIBS
8001 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8002 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8003 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8005 cat >>confdefs.h <<\_ACEOF
8006 #define HAVE_XKB 1
8007 _ACEOF
8013 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8014 then
8015 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8016 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8017 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8018 echo $ECHO_N "(cached) $ECHO_C" >&6
8019 else
8020 ac_check_lib_save_LIBS=$LIBS
8021 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8022 cat >conftest.$ac_ext <<_ACEOF
8023 /* confdefs.h. */
8024 _ACEOF
8025 cat confdefs.h >>conftest.$ac_ext
8026 cat >>conftest.$ac_ext <<_ACEOF
8027 /* end confdefs.h. */
8029 /* Override any GCC internal prototype to avoid an error.
8030 Use char because int might match the return type of a GCC
8031 builtin and then its argument prototype would still apply. */
8032 #ifdef __cplusplus
8033 extern "C"
8034 #endif
8035 char XShmQueryExtension ();
8037 main ()
8039 return XShmQueryExtension ();
8041 return 0;
8043 _ACEOF
8044 rm -f conftest.$ac_objext conftest$ac_exeext
8045 if { (ac_try="$ac_link"
8046 case "(($ac_try" in
8047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8048 *) ac_try_echo=$ac_try;;
8049 esac
8050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8051 (eval "$ac_link") 2>conftest.er1
8052 ac_status=$?
8053 grep -v '^ *+' conftest.er1 >conftest.err
8054 rm -f conftest.er1
8055 cat conftest.err >&5
8056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8057 (exit $ac_status); } && {
8058 test -z "$ac_c_werror_flag" ||
8059 test ! -s conftest.err
8060 } && test -s conftest$ac_exeext &&
8061 $as_test_x conftest$ac_exeext; then
8062 ac_cv_lib_Xext_XShmQueryExtension=yes
8063 else
8064 echo "$as_me: failed program was:" >&5
8065 sed 's/^/| /' conftest.$ac_ext >&5
8067 ac_cv_lib_Xext_XShmQueryExtension=no
8070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8071 conftest$ac_exeext conftest.$ac_ext
8072 LIBS=$ac_check_lib_save_LIBS
8074 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8075 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8076 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8078 cat >>confdefs.h <<\_ACEOF
8079 #define HAVE_LIBXXSHM 1
8080 _ACEOF
8086 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8087 then
8088 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8089 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8090 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8091 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 else
8093 ac_check_lib_save_LIBS=$LIBS
8094 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8095 cat >conftest.$ac_ext <<_ACEOF
8096 /* confdefs.h. */
8097 _ACEOF
8098 cat confdefs.h >>conftest.$ac_ext
8099 cat >>conftest.$ac_ext <<_ACEOF
8100 /* end confdefs.h. */
8102 /* Override any GCC internal prototype to avoid an error.
8103 Use char because int might match the return type of a GCC
8104 builtin and then its argument prototype would still apply. */
8105 #ifdef __cplusplus
8106 extern "C"
8107 #endif
8108 char XShapeQueryExtension ();
8110 main ()
8112 return XShapeQueryExtension ();
8114 return 0;
8116 _ACEOF
8117 rm -f conftest.$ac_objext conftest$ac_exeext
8118 if { (ac_try="$ac_link"
8119 case "(($ac_try" in
8120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8121 *) ac_try_echo=$ac_try;;
8122 esac
8123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8124 (eval "$ac_link") 2>conftest.er1
8125 ac_status=$?
8126 grep -v '^ *+' conftest.er1 >conftest.err
8127 rm -f conftest.er1
8128 cat conftest.err >&5
8129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } && {
8131 test -z "$ac_c_werror_flag" ||
8132 test ! -s conftest.err
8133 } && test -s conftest$ac_exeext &&
8134 $as_test_x conftest$ac_exeext; then
8135 ac_cv_lib_Xext_XShapeQueryExtension=yes
8136 else
8137 echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.$ac_ext >&5
8140 ac_cv_lib_Xext_XShapeQueryExtension=no
8143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8144 conftest$ac_exeext conftest.$ac_ext
8145 LIBS=$ac_check_lib_save_LIBS
8147 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8148 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8149 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8151 cat >>confdefs.h <<\_ACEOF
8152 #define HAVE_LIBXSHAPE 1
8153 _ACEOF
8159 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8160 then
8161 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8162 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8163 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8164 echo $ECHO_N "(cached) $ECHO_C" >&6
8165 else
8166 ac_check_lib_save_LIBS=$LIBS
8167 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8168 cat >conftest.$ac_ext <<_ACEOF
8169 /* confdefs.h. */
8170 _ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8175 /* Override any GCC internal prototype to avoid an error.
8176 Use char because int might match the return type of a GCC
8177 builtin and then its argument prototype would still apply. */
8178 #ifdef __cplusplus
8179 extern "C"
8180 #endif
8181 char XF86VidModeQueryExtension ();
8183 main ()
8185 return XF86VidModeQueryExtension ();
8187 return 0;
8189 _ACEOF
8190 rm -f conftest.$ac_objext conftest$ac_exeext
8191 if { (ac_try="$ac_link"
8192 case "(($ac_try" in
8193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8194 *) ac_try_echo=$ac_try;;
8195 esac
8196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8197 (eval "$ac_link") 2>conftest.er1
8198 ac_status=$?
8199 grep -v '^ *+' conftest.er1 >conftest.err
8200 rm -f conftest.er1
8201 cat conftest.err >&5
8202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8203 (exit $ac_status); } && {
8204 test -z "$ac_c_werror_flag" ||
8205 test ! -s conftest.err
8206 } && test -s conftest$ac_exeext &&
8207 $as_test_x conftest$ac_exeext; then
8208 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8209 else
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.$ac_ext >&5
8213 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8217 conftest$ac_exeext conftest.$ac_ext
8218 LIBS=$ac_check_lib_save_LIBS
8220 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8221 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8222 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8224 cat >>confdefs.h <<\_ACEOF
8225 #define HAVE_LIBXXF86VM 1
8226 _ACEOF
8228 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8234 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8235 then
8236 cat >conftest.$ac_ext <<_ACEOF
8237 /* confdefs.h. */
8238 _ACEOF
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8242 #include <X11/Xlib.h>
8243 #include <X11/extensions/Xrandr.h>
8245 main ()
8247 static typeof(XRRSetScreenConfigAndRate) * func;
8249 return 0;
8251 _ACEOF
8252 rm -f conftest.$ac_objext
8253 if { (ac_try="$ac_compile"
8254 case "(($ac_try" in
8255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8256 *) ac_try_echo=$ac_try;;
8257 esac
8258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8259 (eval "$ac_compile") 2>conftest.er1
8260 ac_status=$?
8261 grep -v '^ *+' conftest.er1 >conftest.err
8262 rm -f conftest.er1
8263 cat conftest.err >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); } && {
8266 test -z "$ac_c_werror_flag" ||
8267 test ! -s conftest.err
8268 } && test -s conftest.$ac_objext; then
8270 cat >>confdefs.h <<\_ACEOF
8271 #define HAVE_LIBXRANDR 1
8272 _ACEOF
8274 else
8275 echo "$as_me: failed program was:" >&5
8276 sed 's/^/| /' conftest.$ac_ext >&5
8281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8284 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8285 then
8286 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8287 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8288 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8289 echo $ECHO_N "(cached) $ECHO_C" >&6
8290 else
8291 ac_check_lib_save_LIBS=$LIBS
8292 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8293 cat >conftest.$ac_ext <<_ACEOF
8294 /* confdefs.h. */
8295 _ACEOF
8296 cat confdefs.h >>conftest.$ac_ext
8297 cat >>conftest.$ac_ext <<_ACEOF
8298 /* end confdefs.h. */
8300 /* Override any GCC internal prototype to avoid an error.
8301 Use char because int might match the return type of a GCC
8302 builtin and then its argument prototype would still apply. */
8303 #ifdef __cplusplus
8304 extern "C"
8305 #endif
8306 char XRenderSetPictureTransform ();
8308 main ()
8310 return XRenderSetPictureTransform ();
8312 return 0;
8314 _ACEOF
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (ac_try="$ac_link"
8317 case "(($ac_try" in
8318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8319 *) ac_try_echo=$ac_try;;
8320 esac
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_link") 2>conftest.er1
8323 ac_status=$?
8324 grep -v '^ *+' conftest.er1 >conftest.err
8325 rm -f conftest.er1
8326 cat conftest.err >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); } && {
8329 test -z "$ac_c_werror_flag" ||
8330 test ! -s conftest.err
8331 } && test -s conftest$ac_exeext &&
8332 $as_test_x conftest$ac_exeext; then
8333 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8334 else
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8342 conftest$ac_exeext conftest.$ac_ext
8343 LIBS=$ac_check_lib_save_LIBS
8345 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8346 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8347 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8349 cat >>confdefs.h <<\_ACEOF
8350 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8351 _ACEOF
8357 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8358 then
8359 cat >conftest.$ac_ext <<_ACEOF
8360 /* confdefs.h. */
8361 _ACEOF
8362 cat confdefs.h >>conftest.$ac_ext
8363 cat >>conftest.$ac_ext <<_ACEOF
8364 /* end confdefs.h. */
8365 #include <X11/Xlib.h>
8366 #include <X11/extensions/Xinerama.h>
8368 main ()
8370 static typeof(XineramaQueryScreens) * func;
8372 return 0;
8374 _ACEOF
8375 rm -f conftest.$ac_objext
8376 if { (ac_try="$ac_compile"
8377 case "(($ac_try" in
8378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8379 *) ac_try_echo=$ac_try;;
8380 esac
8381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8382 (eval "$ac_compile") 2>conftest.er1
8383 ac_status=$?
8384 grep -v '^ *+' conftest.er1 >conftest.err
8385 rm -f conftest.er1
8386 cat conftest.err >&5
8387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8388 (exit $ac_status); } && {
8389 test -z "$ac_c_werror_flag" ||
8390 test ! -s conftest.err
8391 } && test -s conftest.$ac_objext; then
8393 cat >>confdefs.h <<\_ACEOF
8394 #define HAVE_LIBXINERAMA 1
8395 _ACEOF
8397 else
8398 echo "$as_me: failed program was:" >&5
8399 sed 's/^/| /' conftest.$ac_ext >&5
8404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8408 if test "x$with_opengl" != "xno"
8409 then
8414 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8417 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8421 else
8422 cat >conftest.$ac_ext <<_ACEOF
8423 /* confdefs.h. */
8424 _ACEOF
8425 cat confdefs.h >>conftest.$ac_ext
8426 cat >>conftest.$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8428 #ifdef HAVE_GL_GLX_H
8429 # include <GL/glx.h>
8430 #endif
8432 #include <$ac_header>
8433 _ACEOF
8434 rm -f conftest.$ac_objext
8435 if { (ac_try="$ac_compile"
8436 case "(($ac_try" in
8437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8438 *) ac_try_echo=$ac_try;;
8439 esac
8440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8441 (eval "$ac_compile") 2>conftest.er1
8442 ac_status=$?
8443 grep -v '^ *+' conftest.er1 >conftest.err
8444 rm -f conftest.er1
8445 cat conftest.err >&5
8446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8447 (exit $ac_status); } && {
8448 test -z "$ac_c_werror_flag" ||
8449 test ! -s conftest.err
8450 } && test -s conftest.$ac_objext; then
8451 eval "$as_ac_Header=yes"
8452 else
8453 echo "$as_me: failed program was:" >&5
8454 sed 's/^/| /' conftest.$ac_ext >&5
8456 eval "$as_ac_Header=no"
8459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8461 ac_res=`eval echo '${'$as_ac_Header'}'`
8462 { echo "$as_me:$LINENO: result: $ac_res" >&5
8463 echo "${ECHO_T}$ac_res" >&6; }
8464 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8465 cat >>confdefs.h <<_ACEOF
8466 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8467 _ACEOF
8471 done
8473 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8474 then
8475 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8476 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8477 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8478 echo $ECHO_N "(cached) $ECHO_C" >&6
8479 else
8480 cat >conftest.$ac_ext <<_ACEOF
8481 /* confdefs.h. */
8482 _ACEOF
8483 cat confdefs.h >>conftest.$ac_ext
8484 cat >>conftest.$ac_ext <<_ACEOF
8485 /* end confdefs.h. */
8486 #include <GL/gl.h>
8488 main ()
8490 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8492 return 0;
8494 _ACEOF
8495 rm -f conftest.$ac_objext
8496 if { (ac_try="$ac_compile"
8497 case "(($ac_try" in
8498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8499 *) ac_try_echo=$ac_try;;
8500 esac
8501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8502 (eval "$ac_compile") 2>conftest.er1
8503 ac_status=$?
8504 grep -v '^ *+' conftest.er1 >conftest.err
8505 rm -f conftest.er1
8506 cat conftest.err >&5
8507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8508 (exit $ac_status); } && {
8509 test -z "$ac_c_werror_flag" ||
8510 test ! -s conftest.err
8511 } && test -s conftest.$ac_objext; then
8512 wine_cv_opengl_header_version_OK="yes"
8513 else
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 wine_cv_opengl_header_version_OK="no"
8521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8524 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8525 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8527 if test "$wine_cv_opengl_header_version_OK" = "yes"
8528 then
8529 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8530 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8531 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8532 echo $ECHO_N "(cached) $ECHO_C" >&6
8533 else
8534 ac_check_lib_save_LIBS=$LIBS
8535 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8536 cat >conftest.$ac_ext <<_ACEOF
8537 /* confdefs.h. */
8538 _ACEOF
8539 cat confdefs.h >>conftest.$ac_ext
8540 cat >>conftest.$ac_ext <<_ACEOF
8541 /* end confdefs.h. */
8543 /* Override any GCC internal prototype to avoid an error.
8544 Use char because int might match the return type of a GCC
8545 builtin and then its argument prototype would still apply. */
8546 #ifdef __cplusplus
8547 extern "C"
8548 #endif
8549 char glXCreateContext ();
8551 main ()
8553 return glXCreateContext ();
8555 return 0;
8557 _ACEOF
8558 rm -f conftest.$ac_objext conftest$ac_exeext
8559 if { (ac_try="$ac_link"
8560 case "(($ac_try" in
8561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8562 *) ac_try_echo=$ac_try;;
8563 esac
8564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8565 (eval "$ac_link") 2>conftest.er1
8566 ac_status=$?
8567 grep -v '^ *+' conftest.er1 >conftest.err
8568 rm -f conftest.er1
8569 cat conftest.err >&5
8570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8571 (exit $ac_status); } && {
8572 test -z "$ac_c_werror_flag" ||
8573 test ! -s conftest.err
8574 } && test -s conftest$ac_exeext &&
8575 $as_test_x conftest$ac_exeext; then
8576 ac_cv_lib_GL_glXCreateContext=yes
8577 else
8578 echo "$as_me: failed program was:" >&5
8579 sed 's/^/| /' conftest.$ac_ext >&5
8581 ac_cv_lib_GL_glXCreateContext=no
8584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8585 conftest$ac_exeext conftest.$ac_ext
8586 LIBS=$ac_check_lib_save_LIBS
8588 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8589 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8590 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8591 OPENGL_LIBS="-lGL"
8592 OPENGLFILES='$(OPENGLFILES)'
8594 cat >>confdefs.h <<\_ACEOF
8595 #define HAVE_OPENGL 1
8596 _ACEOF
8602 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8603 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8604 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8605 echo $ECHO_N "(cached) $ECHO_C" >&6
8606 else
8607 ac_check_lib_save_LIBS=$LIBS
8608 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8609 $LIBS"
8610 cat >conftest.$ac_ext <<_ACEOF
8611 /* confdefs.h. */
8612 _ACEOF
8613 cat confdefs.h >>conftest.$ac_ext
8614 cat >>conftest.$ac_ext <<_ACEOF
8615 /* end confdefs.h. */
8617 /* Override any GCC internal prototype to avoid an error.
8618 Use char because int might match the return type of a GCC
8619 builtin and then its argument prototype would still apply. */
8620 #ifdef __cplusplus
8621 extern "C"
8622 #endif
8623 char gluLookAt ();
8625 main ()
8627 return gluLookAt ();
8629 return 0;
8631 _ACEOF
8632 rm -f conftest.$ac_objext conftest$ac_exeext
8633 if { (ac_try="$ac_link"
8634 case "(($ac_try" in
8635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8636 *) ac_try_echo=$ac_try;;
8637 esac
8638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8639 (eval "$ac_link") 2>conftest.er1
8640 ac_status=$?
8641 grep -v '^ *+' conftest.er1 >conftest.err
8642 rm -f conftest.er1
8643 cat conftest.err >&5
8644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8645 (exit $ac_status); } && {
8646 test -z "$ac_c_werror_flag" ||
8647 test ! -s conftest.err
8648 } && test -s conftest$ac_exeext &&
8649 $as_test_x conftest$ac_exeext; then
8650 ac_cv_lib_GLU_gluLookAt=yes
8651 else
8652 echo "$as_me: failed program was:" >&5
8653 sed 's/^/| /' conftest.$ac_ext >&5
8655 ac_cv_lib_GLU_gluLookAt=no
8658 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8659 conftest$ac_exeext conftest.$ac_ext
8660 LIBS=$ac_check_lib_save_LIBS
8662 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8663 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8664 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8665 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8666 GLU32FILES='$(GLU32FILES)'
8671 else
8672 wine_cv_opengl_headers_found="no"
8675 NASLIBS=""
8678 for ac_header in audio/audiolib.h
8680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8687 ac_res=`eval echo '${'$as_ac_Header'}'`
8688 { echo "$as_me:$LINENO: result: $ac_res" >&5
8689 echo "${ECHO_T}$ac_res" >&6; }
8690 else
8691 # Is the header compilable?
8692 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8694 cat >conftest.$ac_ext <<_ACEOF
8695 /* confdefs.h. */
8696 _ACEOF
8697 cat confdefs.h >>conftest.$ac_ext
8698 cat >>conftest.$ac_ext <<_ACEOF
8699 /* end confdefs.h. */
8700 $ac_includes_default
8701 #include <$ac_header>
8702 _ACEOF
8703 rm -f conftest.$ac_objext
8704 if { (ac_try="$ac_compile"
8705 case "(($ac_try" in
8706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8707 *) ac_try_echo=$ac_try;;
8708 esac
8709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8710 (eval "$ac_compile") 2>conftest.er1
8711 ac_status=$?
8712 grep -v '^ *+' conftest.er1 >conftest.err
8713 rm -f conftest.er1
8714 cat conftest.err >&5
8715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8716 (exit $ac_status); } && {
8717 test -z "$ac_c_werror_flag" ||
8718 test ! -s conftest.err
8719 } && test -s conftest.$ac_objext; then
8720 ac_header_compiler=yes
8721 else
8722 echo "$as_me: failed program was:" >&5
8723 sed 's/^/| /' conftest.$ac_ext >&5
8725 ac_header_compiler=no
8728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8729 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8730 echo "${ECHO_T}$ac_header_compiler" >&6; }
8732 # Is the header present?
8733 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8734 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8735 cat >conftest.$ac_ext <<_ACEOF
8736 /* confdefs.h. */
8737 _ACEOF
8738 cat confdefs.h >>conftest.$ac_ext
8739 cat >>conftest.$ac_ext <<_ACEOF
8740 /* end confdefs.h. */
8741 #include <$ac_header>
8742 _ACEOF
8743 if { (ac_try="$ac_cpp conftest.$ac_ext"
8744 case "(($ac_try" in
8745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8746 *) ac_try_echo=$ac_try;;
8747 esac
8748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8749 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8750 ac_status=$?
8751 grep -v '^ *+' conftest.er1 >conftest.err
8752 rm -f conftest.er1
8753 cat conftest.err >&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); } >/dev/null && {
8756 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8757 test ! -s conftest.err
8758 }; then
8759 ac_header_preproc=yes
8760 else
8761 echo "$as_me: failed program was:" >&5
8762 sed 's/^/| /' conftest.$ac_ext >&5
8764 ac_header_preproc=no
8767 rm -f conftest.err conftest.$ac_ext
8768 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8769 echo "${ECHO_T}$ac_header_preproc" >&6; }
8771 # So? What about this header?
8772 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8773 yes:no: )
8774 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8775 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8776 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8777 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8778 ac_header_preproc=yes
8780 no:yes:* )
8781 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8782 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8783 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8784 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8785 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8786 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8787 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8788 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8790 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8791 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8792 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8793 ( cat <<\_ASBOX
8794 ## ------------------------------------ ##
8795 ## Report this to wine-devel@winehq.org ##
8796 ## ------------------------------------ ##
8797 _ASBOX
8798 ) | sed "s/^/$as_me: WARNING: /" >&2
8800 esac
8801 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8803 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8804 echo $ECHO_N "(cached) $ECHO_C" >&6
8805 else
8806 eval "$as_ac_Header=\$ac_header_preproc"
8808 ac_res=`eval echo '${'$as_ac_Header'}'`
8809 { echo "$as_me:$LINENO: result: $ac_res" >&5
8810 echo "${ECHO_T}$ac_res" >&6; }
8813 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8814 cat >>confdefs.h <<_ACEOF
8815 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8816 _ACEOF
8818 for ac_header in audio/soundlib.h
8820 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8824 echo $ECHO_N "(cached) $ECHO_C" >&6
8825 else
8826 cat >conftest.$ac_ext <<_ACEOF
8827 /* confdefs.h. */
8828 _ACEOF
8829 cat confdefs.h >>conftest.$ac_ext
8830 cat >>conftest.$ac_ext <<_ACEOF
8831 /* end confdefs.h. */
8832 #include <audio/audiolib.h>
8834 #include <$ac_header>
8835 _ACEOF
8836 rm -f conftest.$ac_objext
8837 if { (ac_try="$ac_compile"
8838 case "(($ac_try" in
8839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8840 *) ac_try_echo=$ac_try;;
8841 esac
8842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8843 (eval "$ac_compile") 2>conftest.er1
8844 ac_status=$?
8845 grep -v '^ *+' conftest.er1 >conftest.err
8846 rm -f conftest.er1
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 (exit $ac_status); } && {
8850 test -z "$ac_c_werror_flag" ||
8851 test ! -s conftest.err
8852 } && test -s conftest.$ac_objext; then
8853 eval "$as_ac_Header=yes"
8854 else
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 eval "$as_ac_Header=no"
8861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8863 ac_res=`eval echo '${'$as_ac_Header'}'`
8864 { echo "$as_me:$LINENO: result: $ac_res" >&5
8865 echo "${ECHO_T}$ac_res" >&6; }
8866 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8867 cat >>confdefs.h <<_ACEOF
8868 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8869 _ACEOF
8873 done
8875 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8876 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8877 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8878 echo $ECHO_N "(cached) $ECHO_C" >&6
8879 else
8880 ac_check_lib_save_LIBS=$LIBS
8881 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8882 cat >conftest.$ac_ext <<_ACEOF
8883 /* confdefs.h. */
8884 _ACEOF
8885 cat confdefs.h >>conftest.$ac_ext
8886 cat >>conftest.$ac_ext <<_ACEOF
8887 /* end confdefs.h. */
8889 /* Override any GCC internal prototype to avoid an error.
8890 Use char because int might match the return type of a GCC
8891 builtin and then its argument prototype would still apply. */
8892 #ifdef __cplusplus
8893 extern "C"
8894 #endif
8895 char AuCreateFlow ();
8897 main ()
8899 return AuCreateFlow ();
8901 return 0;
8903 _ACEOF
8904 rm -f conftest.$ac_objext conftest$ac_exeext
8905 if { (ac_try="$ac_link"
8906 case "(($ac_try" in
8907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8908 *) ac_try_echo=$ac_try;;
8909 esac
8910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8911 (eval "$ac_link") 2>conftest.er1
8912 ac_status=$?
8913 grep -v '^ *+' conftest.er1 >conftest.err
8914 rm -f conftest.er1
8915 cat conftest.err >&5
8916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8917 (exit $ac_status); } && {
8918 test -z "$ac_c_werror_flag" ||
8919 test ! -s conftest.err
8920 } && test -s conftest$ac_exeext &&
8921 $as_test_x conftest$ac_exeext; then
8922 ac_cv_lib_audio_AuCreateFlow=yes
8923 else
8924 echo "$as_me: failed program was:" >&5
8925 sed 's/^/| /' conftest.$ac_ext >&5
8927 ac_cv_lib_audio_AuCreateFlow=no
8930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8931 conftest$ac_exeext conftest.$ac_ext
8932 LIBS=$ac_check_lib_save_LIBS
8934 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8935 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8936 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8938 cat >>confdefs.h <<\_ACEOF
8939 #define HAVE_NAS 1
8940 _ACEOF
8942 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8947 done
8950 CPPFLAGS="$ac_save_CPPFLAGS"
8951 XFILES='$(XFILES)'
8952 else
8953 XLIB=""
8954 X_CFLAGS=""
8955 X_LIBS=""
8959 XML2LIBS=""
8961 XML2INCL=""
8963 XSLTLIBS=""
8965 XSLTINCL=""
8967 if test "$PKG_CONFIG" != "false"
8968 then
8969 ac_save_CPPFLAGS="$CPPFLAGS"
8970 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8971 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8972 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8974 for ac_header in libxml/parser.h
8976 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8978 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8979 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8981 echo $ECHO_N "(cached) $ECHO_C" >&6
8983 ac_res=`eval echo '${'$as_ac_Header'}'`
8984 { echo "$as_me:$LINENO: result: $ac_res" >&5
8985 echo "${ECHO_T}$ac_res" >&6; }
8986 else
8987 # Is the header compilable?
8988 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8989 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8990 cat >conftest.$ac_ext <<_ACEOF
8991 /* confdefs.h. */
8992 _ACEOF
8993 cat confdefs.h >>conftest.$ac_ext
8994 cat >>conftest.$ac_ext <<_ACEOF
8995 /* end confdefs.h. */
8996 $ac_includes_default
8997 #include <$ac_header>
8998 _ACEOF
8999 rm -f conftest.$ac_objext
9000 if { (ac_try="$ac_compile"
9001 case "(($ac_try" in
9002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9003 *) ac_try_echo=$ac_try;;
9004 esac
9005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9006 (eval "$ac_compile") 2>conftest.er1
9007 ac_status=$?
9008 grep -v '^ *+' conftest.er1 >conftest.err
9009 rm -f conftest.er1
9010 cat conftest.err >&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); } && {
9013 test -z "$ac_c_werror_flag" ||
9014 test ! -s conftest.err
9015 } && test -s conftest.$ac_objext; then
9016 ac_header_compiler=yes
9017 else
9018 echo "$as_me: failed program was:" >&5
9019 sed 's/^/| /' conftest.$ac_ext >&5
9021 ac_header_compiler=no
9024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9025 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9026 echo "${ECHO_T}$ac_header_compiler" >&6; }
9028 # Is the header present?
9029 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9031 cat >conftest.$ac_ext <<_ACEOF
9032 /* confdefs.h. */
9033 _ACEOF
9034 cat confdefs.h >>conftest.$ac_ext
9035 cat >>conftest.$ac_ext <<_ACEOF
9036 /* end confdefs.h. */
9037 #include <$ac_header>
9038 _ACEOF
9039 if { (ac_try="$ac_cpp conftest.$ac_ext"
9040 case "(($ac_try" in
9041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9042 *) ac_try_echo=$ac_try;;
9043 esac
9044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9045 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9046 ac_status=$?
9047 grep -v '^ *+' conftest.er1 >conftest.err
9048 rm -f conftest.er1
9049 cat conftest.err >&5
9050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9051 (exit $ac_status); } >/dev/null && {
9052 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9053 test ! -s conftest.err
9054 }; then
9055 ac_header_preproc=yes
9056 else
9057 echo "$as_me: failed program was:" >&5
9058 sed 's/^/| /' conftest.$ac_ext >&5
9060 ac_header_preproc=no
9063 rm -f conftest.err conftest.$ac_ext
9064 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9065 echo "${ECHO_T}$ac_header_preproc" >&6; }
9067 # So? What about this header?
9068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9069 yes:no: )
9070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9074 ac_header_preproc=yes
9076 no:yes:* )
9077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9089 ( cat <<\_ASBOX
9090 ## ------------------------------------ ##
9091 ## Report this to wine-devel@winehq.org ##
9092 ## ------------------------------------ ##
9093 _ASBOX
9094 ) | sed "s/^/$as_me: WARNING: /" >&2
9096 esac
9097 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9099 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9100 echo $ECHO_N "(cached) $ECHO_C" >&6
9101 else
9102 eval "$as_ac_Header=\$ac_header_preproc"
9104 ac_res=`eval echo '${'$as_ac_Header'}'`
9105 { echo "$as_me:$LINENO: result: $ac_res" >&5
9106 echo "${ECHO_T}$ac_res" >&6; }
9109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9110 cat >>confdefs.h <<_ACEOF
9111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9112 _ACEOF
9113 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9114 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9115 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9116 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 else
9118 ac_check_lib_save_LIBS=$LIBS
9119 LIBS="-lxml2 $ac_xml_libs $LIBS"
9120 cat >conftest.$ac_ext <<_ACEOF
9121 /* confdefs.h. */
9122 _ACEOF
9123 cat confdefs.h >>conftest.$ac_ext
9124 cat >>conftest.$ac_ext <<_ACEOF
9125 /* end confdefs.h. */
9127 /* Override any GCC internal prototype to avoid an error.
9128 Use char because int might match the return type of a GCC
9129 builtin and then its argument prototype would still apply. */
9130 #ifdef __cplusplus
9131 extern "C"
9132 #endif
9133 char xmlParseMemory ();
9135 main ()
9137 return xmlParseMemory ();
9139 return 0;
9141 _ACEOF
9142 rm -f conftest.$ac_objext conftest$ac_exeext
9143 if { (ac_try="$ac_link"
9144 case "(($ac_try" in
9145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9146 *) ac_try_echo=$ac_try;;
9147 esac
9148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9149 (eval "$ac_link") 2>conftest.er1
9150 ac_status=$?
9151 grep -v '^ *+' conftest.er1 >conftest.err
9152 rm -f conftest.er1
9153 cat conftest.err >&5
9154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9155 (exit $ac_status); } && {
9156 test -z "$ac_c_werror_flag" ||
9157 test ! -s conftest.err
9158 } && test -s conftest$ac_exeext &&
9159 $as_test_x conftest$ac_exeext; then
9160 ac_cv_lib_xml2_xmlParseMemory=yes
9161 else
9162 echo "$as_me: failed program was:" >&5
9163 sed 's/^/| /' conftest.$ac_ext >&5
9165 ac_cv_lib_xml2_xmlParseMemory=no
9168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9169 conftest$ac_exeext conftest.$ac_ext
9170 LIBS=$ac_check_lib_save_LIBS
9172 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9173 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9174 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9176 cat >>confdefs.h <<\_ACEOF
9177 #define HAVE_LIBXML2 1
9178 _ACEOF
9180 XML2LIBS="$ac_xml_libs"
9181 XML2INCL="$ac_xml_cflags"
9184 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9185 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9186 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9187 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 else
9189 ac_check_lib_save_LIBS=$LIBS
9190 LIBS="-lxml2 $ac_xml_libs $LIBS"
9191 cat >conftest.$ac_ext <<_ACEOF
9192 /* confdefs.h. */
9193 _ACEOF
9194 cat confdefs.h >>conftest.$ac_ext
9195 cat >>conftest.$ac_ext <<_ACEOF
9196 /* end confdefs.h. */
9198 /* Override any GCC internal prototype to avoid an error.
9199 Use char because int might match the return type of a GCC
9200 builtin and then its argument prototype would still apply. */
9201 #ifdef __cplusplus
9202 extern "C"
9203 #endif
9204 char xmlReadMemory ();
9206 main ()
9208 return xmlReadMemory ();
9210 return 0;
9212 _ACEOF
9213 rm -f conftest.$ac_objext conftest$ac_exeext
9214 if { (ac_try="$ac_link"
9215 case "(($ac_try" in
9216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9217 *) ac_try_echo=$ac_try;;
9218 esac
9219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9220 (eval "$ac_link") 2>conftest.er1
9221 ac_status=$?
9222 grep -v '^ *+' conftest.er1 >conftest.err
9223 rm -f conftest.er1
9224 cat conftest.err >&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } && {
9227 test -z "$ac_c_werror_flag" ||
9228 test ! -s conftest.err
9229 } && test -s conftest$ac_exeext &&
9230 $as_test_x conftest$ac_exeext; then
9231 ac_cv_lib_xml2_xmlReadMemory=yes
9232 else
9233 echo "$as_me: failed program was:" >&5
9234 sed 's/^/| /' conftest.$ac_ext >&5
9236 ac_cv_lib_xml2_xmlReadMemory=no
9239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9240 conftest$ac_exeext conftest.$ac_ext
9241 LIBS=$ac_check_lib_save_LIBS
9243 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9244 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9245 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9247 cat >>confdefs.h <<\_ACEOF
9248 #define HAVE_XMLREADMEMORY 1
9249 _ACEOF
9253 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9254 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9255 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9256 echo $ECHO_N "(cached) $ECHO_C" >&6
9257 else
9258 ac_check_lib_save_LIBS=$LIBS
9259 LIBS="-lxml2 $ac_xml_libs $LIBS"
9260 cat >conftest.$ac_ext <<_ACEOF
9261 /* confdefs.h. */
9262 _ACEOF
9263 cat confdefs.h >>conftest.$ac_ext
9264 cat >>conftest.$ac_ext <<_ACEOF
9265 /* end confdefs.h. */
9267 /* Override any GCC internal prototype to avoid an error.
9268 Use char because int might match the return type of a GCC
9269 builtin and then its argument prototype would still apply. */
9270 #ifdef __cplusplus
9271 extern "C"
9272 #endif
9273 char xmlNewDocPI ();
9275 main ()
9277 return xmlNewDocPI ();
9279 return 0;
9281 _ACEOF
9282 rm -f conftest.$ac_objext conftest$ac_exeext
9283 if { (ac_try="$ac_link"
9284 case "(($ac_try" in
9285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9286 *) ac_try_echo=$ac_try;;
9287 esac
9288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9289 (eval "$ac_link") 2>conftest.er1
9290 ac_status=$?
9291 grep -v '^ *+' conftest.er1 >conftest.err
9292 rm -f conftest.er1
9293 cat conftest.err >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); } && {
9296 test -z "$ac_c_werror_flag" ||
9297 test ! -s conftest.err
9298 } && test -s conftest$ac_exeext &&
9299 $as_test_x conftest$ac_exeext; then
9300 ac_cv_lib_xml2_xmlNewDocPI=yes
9301 else
9302 echo "$as_me: failed program was:" >&5
9303 sed 's/^/| /' conftest.$ac_ext >&5
9305 ac_cv_lib_xml2_xmlNewDocPI=no
9308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9309 conftest$ac_exeext conftest.$ac_ext
9310 LIBS=$ac_check_lib_save_LIBS
9312 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9313 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9314 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9316 cat >>confdefs.h <<\_ACEOF
9317 #define HAVE_XMLNEWDOCPI 1
9318 _ACEOF
9325 done
9327 CPPFLAGS="$ac_save_CPPFLAGS"
9328 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9329 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9330 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9333 for ac_header in libxslt/pattern.h libxslt/transform.h
9335 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9336 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9337 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9339 echo $ECHO_N "(cached) $ECHO_C" >&6
9340 else
9341 cat >conftest.$ac_ext <<_ACEOF
9342 /* confdefs.h. */
9343 _ACEOF
9344 cat confdefs.h >>conftest.$ac_ext
9345 cat >>conftest.$ac_ext <<_ACEOF
9346 /* end confdefs.h. */
9347 #ifdef HAVE_LIBXSLT_PATTERN_H
9348 # include <libxslt/pattern.h>
9349 #endif
9351 #include <$ac_header>
9352 _ACEOF
9353 rm -f conftest.$ac_objext
9354 if { (ac_try="$ac_compile"
9355 case "(($ac_try" in
9356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9357 *) ac_try_echo=$ac_try;;
9358 esac
9359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9360 (eval "$ac_compile") 2>conftest.er1
9361 ac_status=$?
9362 grep -v '^ *+' conftest.er1 >conftest.err
9363 rm -f conftest.er1
9364 cat conftest.err >&5
9365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9366 (exit $ac_status); } && {
9367 test -z "$ac_c_werror_flag" ||
9368 test ! -s conftest.err
9369 } && test -s conftest.$ac_objext; then
9370 eval "$as_ac_Header=yes"
9371 else
9372 echo "$as_me: failed program was:" >&5
9373 sed 's/^/| /' conftest.$ac_ext >&5
9375 eval "$as_ac_Header=no"
9378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9380 ac_res=`eval echo '${'$as_ac_Header'}'`
9381 { echo "$as_me:$LINENO: result: $ac_res" >&5
9382 echo "${ECHO_T}$ac_res" >&6; }
9383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9384 cat >>confdefs.h <<_ACEOF
9385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9386 _ACEOF
9387 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9388 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9389 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9390 echo $ECHO_N "(cached) $ECHO_C" >&6
9391 else
9392 ac_check_lib_save_LIBS=$LIBS
9393 LIBS="-lxslt $ac_xslt_libs $LIBS"
9394 cat >conftest.$ac_ext <<_ACEOF
9395 /* confdefs.h. */
9396 _ACEOF
9397 cat confdefs.h >>conftest.$ac_ext
9398 cat >>conftest.$ac_ext <<_ACEOF
9399 /* end confdefs.h. */
9401 /* Override any GCC internal prototype to avoid an error.
9402 Use char because int might match the return type of a GCC
9403 builtin and then its argument prototype would still apply. */
9404 #ifdef __cplusplus
9405 extern "C"
9406 #endif
9407 char xsltCompilePattern ();
9409 main ()
9411 return xsltCompilePattern ();
9413 return 0;
9415 _ACEOF
9416 rm -f conftest.$ac_objext conftest$ac_exeext
9417 if { (ac_try="$ac_link"
9418 case "(($ac_try" in
9419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9420 *) ac_try_echo=$ac_try;;
9421 esac
9422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9423 (eval "$ac_link") 2>conftest.er1
9424 ac_status=$?
9425 grep -v '^ *+' conftest.er1 >conftest.err
9426 rm -f conftest.er1
9427 cat conftest.err >&5
9428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9429 (exit $ac_status); } && {
9430 test -z "$ac_c_werror_flag" ||
9431 test ! -s conftest.err
9432 } && test -s conftest$ac_exeext &&
9433 $as_test_x conftest$ac_exeext; then
9434 ac_cv_lib_xslt_xsltCompilePattern=yes
9435 else
9436 echo "$as_me: failed program was:" >&5
9437 sed 's/^/| /' conftest.$ac_ext >&5
9439 ac_cv_lib_xslt_xsltCompilePattern=no
9442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9443 conftest$ac_exeext conftest.$ac_ext
9444 LIBS=$ac_check_lib_save_LIBS
9446 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9447 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9448 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9450 cat >>confdefs.h <<\_ACEOF
9451 #define HAVE_LIBXSLT 1
9452 _ACEOF
9454 XSLTLIBS="$ac_xslt_libs"
9455 XSLTINCL="$ac_xslt_cflags"
9461 done
9463 CPPFLAGS="$ac_save_CPPFLAGS"
9466 HALINCL=""
9468 if test "$PKG_CONFIG" != "false"
9469 then
9470 ac_save_CPPFLAGS="$CPPFLAGS"
9471 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9472 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9473 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9476 for ac_header in dbus/dbus.h hal/libhal.h
9478 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9480 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9482 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9483 echo $ECHO_N "(cached) $ECHO_C" >&6
9485 ac_res=`eval echo '${'$as_ac_Header'}'`
9486 { echo "$as_me:$LINENO: result: $ac_res" >&5
9487 echo "${ECHO_T}$ac_res" >&6; }
9488 else
9489 # Is the header compilable?
9490 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9492 cat >conftest.$ac_ext <<_ACEOF
9493 /* confdefs.h. */
9494 _ACEOF
9495 cat confdefs.h >>conftest.$ac_ext
9496 cat >>conftest.$ac_ext <<_ACEOF
9497 /* end confdefs.h. */
9498 $ac_includes_default
9499 #include <$ac_header>
9500 _ACEOF
9501 rm -f conftest.$ac_objext
9502 if { (ac_try="$ac_compile"
9503 case "(($ac_try" in
9504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9505 *) ac_try_echo=$ac_try;;
9506 esac
9507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9508 (eval "$ac_compile") 2>conftest.er1
9509 ac_status=$?
9510 grep -v '^ *+' conftest.er1 >conftest.err
9511 rm -f conftest.er1
9512 cat conftest.err >&5
9513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9514 (exit $ac_status); } && {
9515 test -z "$ac_c_werror_flag" ||
9516 test ! -s conftest.err
9517 } && test -s conftest.$ac_objext; then
9518 ac_header_compiler=yes
9519 else
9520 echo "$as_me: failed program was:" >&5
9521 sed 's/^/| /' conftest.$ac_ext >&5
9523 ac_header_compiler=no
9526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9527 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9528 echo "${ECHO_T}$ac_header_compiler" >&6; }
9530 # Is the header present?
9531 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9533 cat >conftest.$ac_ext <<_ACEOF
9534 /* confdefs.h. */
9535 _ACEOF
9536 cat confdefs.h >>conftest.$ac_ext
9537 cat >>conftest.$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9539 #include <$ac_header>
9540 _ACEOF
9541 if { (ac_try="$ac_cpp conftest.$ac_ext"
9542 case "(($ac_try" in
9543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9544 *) ac_try_echo=$ac_try;;
9545 esac
9546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9547 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9548 ac_status=$?
9549 grep -v '^ *+' conftest.er1 >conftest.err
9550 rm -f conftest.er1
9551 cat conftest.err >&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 (exit $ac_status); } >/dev/null && {
9554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9555 test ! -s conftest.err
9556 }; then
9557 ac_header_preproc=yes
9558 else
9559 echo "$as_me: failed program was:" >&5
9560 sed 's/^/| /' conftest.$ac_ext >&5
9562 ac_header_preproc=no
9565 rm -f conftest.err conftest.$ac_ext
9566 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9567 echo "${ECHO_T}$ac_header_preproc" >&6; }
9569 # So? What about this header?
9570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9571 yes:no: )
9572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9576 ac_header_preproc=yes
9578 no:yes:* )
9579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9591 ( cat <<\_ASBOX
9592 ## ------------------------------------ ##
9593 ## Report this to wine-devel@winehq.org ##
9594 ## ------------------------------------ ##
9595 _ASBOX
9596 ) | sed "s/^/$as_me: WARNING: /" >&2
9598 esac
9599 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9602 echo $ECHO_N "(cached) $ECHO_C" >&6
9603 else
9604 eval "$as_ac_Header=\$ac_header_preproc"
9606 ac_res=`eval echo '${'$as_ac_Header'}'`
9607 { echo "$as_me:$LINENO: result: $ac_res" >&5
9608 echo "${ECHO_T}$ac_res" >&6; }
9611 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9612 cat >>confdefs.h <<_ACEOF
9613 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9614 _ACEOF
9618 done
9620 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9621 then
9622 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9623 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9624 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9625 echo $ECHO_N "(cached) $ECHO_C" >&6
9626 else
9627 ac_check_lib_save_LIBS=$LIBS
9628 LIBS="-lhal $LIBS"
9629 cat >conftest.$ac_ext <<_ACEOF
9630 /* confdefs.h. */
9631 _ACEOF
9632 cat confdefs.h >>conftest.$ac_ext
9633 cat >>conftest.$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9636 /* Override any GCC internal prototype to avoid an error.
9637 Use char because int might match the return type of a GCC
9638 builtin and then its argument prototype would still apply. */
9639 #ifdef __cplusplus
9640 extern "C"
9641 #endif
9642 char libhal_ctx_new ();
9644 main ()
9646 return libhal_ctx_new ();
9648 return 0;
9650 _ACEOF
9651 rm -f conftest.$ac_objext conftest$ac_exeext
9652 if { (ac_try="$ac_link"
9653 case "(($ac_try" in
9654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9655 *) ac_try_echo=$ac_try;;
9656 esac
9657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9658 (eval "$ac_link") 2>conftest.er1
9659 ac_status=$?
9660 grep -v '^ *+' conftest.er1 >conftest.err
9661 rm -f conftest.er1
9662 cat conftest.err >&5
9663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9664 (exit $ac_status); } && {
9665 test -z "$ac_c_werror_flag" ||
9666 test ! -s conftest.err
9667 } && test -s conftest$ac_exeext &&
9668 $as_test_x conftest$ac_exeext; then
9669 ac_cv_lib_hal_libhal_ctx_new=yes
9670 else
9671 echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.$ac_ext >&5
9674 ac_cv_lib_hal_libhal_ctx_new=no
9677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9678 conftest$ac_exeext conftest.$ac_ext
9679 LIBS=$ac_check_lib_save_LIBS
9681 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9682 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9683 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9684 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9685 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9686 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9688 else
9689 ac_check_lib_save_LIBS=$LIBS
9690 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9691 cat >conftest.$ac_ext <<_ACEOF
9692 /* confdefs.h. */
9693 _ACEOF
9694 cat confdefs.h >>conftest.$ac_ext
9695 cat >>conftest.$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9698 /* Override any GCC internal prototype to avoid an error.
9699 Use char because int might match the return type of a GCC
9700 builtin and then its argument prototype would still apply. */
9701 #ifdef __cplusplus
9702 extern "C"
9703 #endif
9704 char dbus_connection_close ();
9706 main ()
9708 return dbus_connection_close ();
9710 return 0;
9712 _ACEOF
9713 rm -f conftest.$ac_objext conftest$ac_exeext
9714 if { (ac_try="$ac_link"
9715 case "(($ac_try" in
9716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9717 *) ac_try_echo=$ac_try;;
9718 esac
9719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9720 (eval "$ac_link") 2>conftest.er1
9721 ac_status=$?
9722 grep -v '^ *+' conftest.er1 >conftest.err
9723 rm -f conftest.er1
9724 cat conftest.err >&5
9725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9726 (exit $ac_status); } && {
9727 test -z "$ac_c_werror_flag" ||
9728 test ! -s conftest.err
9729 } && test -s conftest$ac_exeext &&
9730 $as_test_x conftest$ac_exeext; then
9731 ac_cv_lib_dbus_1_dbus_connection_close=yes
9732 else
9733 echo "$as_me: failed program was:" >&5
9734 sed 's/^/| /' conftest.$ac_ext >&5
9736 ac_cv_lib_dbus_1_dbus_connection_close=no
9739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9740 conftest$ac_exeext conftest.$ac_ext
9741 LIBS=$ac_check_lib_save_LIBS
9743 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9744 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9745 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9747 cat >>confdefs.h <<\_ACEOF
9748 #define HAVE_LIBHAL 1
9749 _ACEOF
9751 HALINCL="$ac_hal_cflags"
9757 CPPFLAGS="$ac_save_CPPFLAGS"
9760 CURSESLIBS=""
9761 if test "$ac_cv_header_ncurses_h" = "yes"
9762 then
9763 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9764 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9765 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9766 echo $ECHO_N "(cached) $ECHO_C" >&6
9767 else
9768 ac_check_lib_save_LIBS=$LIBS
9769 LIBS="-lncurses $LIBS"
9770 cat >conftest.$ac_ext <<_ACEOF
9771 /* confdefs.h. */
9772 _ACEOF
9773 cat confdefs.h >>conftest.$ac_ext
9774 cat >>conftest.$ac_ext <<_ACEOF
9775 /* end confdefs.h. */
9777 /* Override any GCC internal prototype to avoid an error.
9778 Use char because int might match the return type of a GCC
9779 builtin and then its argument prototype would still apply. */
9780 #ifdef __cplusplus
9781 extern "C"
9782 #endif
9783 char waddch ();
9785 main ()
9787 return waddch ();
9789 return 0;
9791 _ACEOF
9792 rm -f conftest.$ac_objext conftest$ac_exeext
9793 if { (ac_try="$ac_link"
9794 case "(($ac_try" in
9795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9796 *) ac_try_echo=$ac_try;;
9797 esac
9798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9799 (eval "$ac_link") 2>conftest.er1
9800 ac_status=$?
9801 grep -v '^ *+' conftest.er1 >conftest.err
9802 rm -f conftest.er1
9803 cat conftest.err >&5
9804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9805 (exit $ac_status); } && {
9806 test -z "$ac_c_werror_flag" ||
9807 test ! -s conftest.err
9808 } && test -s conftest$ac_exeext &&
9809 $as_test_x conftest$ac_exeext; then
9810 ac_cv_lib_ncurses_waddch=yes
9811 else
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.$ac_ext >&5
9815 ac_cv_lib_ncurses_waddch=no
9818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9819 conftest$ac_exeext conftest.$ac_ext
9820 LIBS=$ac_check_lib_save_LIBS
9822 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9823 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9824 if test $ac_cv_lib_ncurses_waddch = yes; then
9825 CURSESLIBS="-lncurses"
9828 elif test "$ac_cv_header_curses_h" = "yes"
9829 then
9830 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9831 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9832 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9833 echo $ECHO_N "(cached) $ECHO_C" >&6
9834 else
9835 ac_check_lib_save_LIBS=$LIBS
9836 LIBS="-lcurses $LIBS"
9837 cat >conftest.$ac_ext <<_ACEOF
9838 /* confdefs.h. */
9839 _ACEOF
9840 cat confdefs.h >>conftest.$ac_ext
9841 cat >>conftest.$ac_ext <<_ACEOF
9842 /* end confdefs.h. */
9844 /* Override any GCC internal prototype to avoid an error.
9845 Use char because int might match the return type of a GCC
9846 builtin and then its argument prototype would still apply. */
9847 #ifdef __cplusplus
9848 extern "C"
9849 #endif
9850 char waddch ();
9852 main ()
9854 return waddch ();
9856 return 0;
9858 _ACEOF
9859 rm -f conftest.$ac_objext conftest$ac_exeext
9860 if { (ac_try="$ac_link"
9861 case "(($ac_try" in
9862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9863 *) ac_try_echo=$ac_try;;
9864 esac
9865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9866 (eval "$ac_link") 2>conftest.er1
9867 ac_status=$?
9868 grep -v '^ *+' conftest.er1 >conftest.err
9869 rm -f conftest.er1
9870 cat conftest.err >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); } && {
9873 test -z "$ac_c_werror_flag" ||
9874 test ! -s conftest.err
9875 } && test -s conftest$ac_exeext &&
9876 $as_test_x conftest$ac_exeext; then
9877 ac_cv_lib_curses_waddch=yes
9878 else
9879 echo "$as_me: failed program was:" >&5
9880 sed 's/^/| /' conftest.$ac_ext >&5
9882 ac_cv_lib_curses_waddch=no
9885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9886 conftest$ac_exeext conftest.$ac_ext
9887 LIBS=$ac_check_lib_save_LIBS
9889 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9890 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9891 if test $ac_cv_lib_curses_waddch = yes; then
9892 CURSESLIBS="-lcurses"
9896 ac_save_LIBS="$LIBS"
9897 LIBS="$LIBS $CURSESLIBS"
9899 for ac_func in mousemask
9901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9902 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9904 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9905 echo $ECHO_N "(cached) $ECHO_C" >&6
9906 else
9907 cat >conftest.$ac_ext <<_ACEOF
9908 /* confdefs.h. */
9909 _ACEOF
9910 cat confdefs.h >>conftest.$ac_ext
9911 cat >>conftest.$ac_ext <<_ACEOF
9912 /* end confdefs.h. */
9913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9915 #define $ac_func innocuous_$ac_func
9917 /* System header to define __stub macros and hopefully few prototypes,
9918 which can conflict with char $ac_func (); below.
9919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9920 <limits.h> exists even on freestanding compilers. */
9922 #ifdef __STDC__
9923 # include <limits.h>
9924 #else
9925 # include <assert.h>
9926 #endif
9928 #undef $ac_func
9930 /* Override any GCC internal prototype to avoid an error.
9931 Use char because int might match the return type of a GCC
9932 builtin and then its argument prototype would still apply. */
9933 #ifdef __cplusplus
9934 extern "C"
9935 #endif
9936 char $ac_func ();
9937 /* The GNU C library defines this for functions which it implements
9938 to always fail with ENOSYS. Some functions are actually named
9939 something starting with __ and the normal name is an alias. */
9940 #if defined __stub_$ac_func || defined __stub___$ac_func
9941 choke me
9942 #endif
9945 main ()
9947 return $ac_func ();
9949 return 0;
9951 _ACEOF
9952 rm -f conftest.$ac_objext conftest$ac_exeext
9953 if { (ac_try="$ac_link"
9954 case "(($ac_try" in
9955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9956 *) ac_try_echo=$ac_try;;
9957 esac
9958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9959 (eval "$ac_link") 2>conftest.er1
9960 ac_status=$?
9961 grep -v '^ *+' conftest.er1 >conftest.err
9962 rm -f conftest.er1
9963 cat conftest.err >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } && {
9966 test -z "$ac_c_werror_flag" ||
9967 test ! -s conftest.err
9968 } && test -s conftest$ac_exeext &&
9969 $as_test_x conftest$ac_exeext; then
9970 eval "$as_ac_var=yes"
9971 else
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.$ac_ext >&5
9975 eval "$as_ac_var=no"
9978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9979 conftest$ac_exeext conftest.$ac_ext
9981 ac_res=`eval echo '${'$as_ac_var'}'`
9982 { echo "$as_me:$LINENO: result: $ac_res" >&5
9983 echo "${ECHO_T}$ac_res" >&6; }
9984 if test `eval echo '${'$as_ac_var'}'` = yes; then
9985 cat >>confdefs.h <<_ACEOF
9986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9987 _ACEOF
9990 done
9992 LIBS="$ac_save_LIBS"
9994 # Extract the first word of "sane-config", so it can be a program name with args.
9995 set dummy sane-config; ac_word=$2
9996 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9998 if test "${ac_cv_prog_sane_devel+set}" = set; then
9999 echo $ECHO_N "(cached) $ECHO_C" >&6
10000 else
10001 if test -n "$sane_devel"; then
10002 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10003 else
10004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10005 for as_dir in $PATH
10007 IFS=$as_save_IFS
10008 test -z "$as_dir" && as_dir=.
10009 for ac_exec_ext in '' $ac_executable_extensions; do
10010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10011 ac_cv_prog_sane_devel="sane-config"
10012 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10013 break 2
10015 done
10016 done
10017 IFS=$as_save_IFS
10019 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10022 sane_devel=$ac_cv_prog_sane_devel
10023 if test -n "$sane_devel"; then
10024 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10025 echo "${ECHO_T}$sane_devel" >&6; }
10026 else
10027 { echo "$as_me:$LINENO: result: no" >&5
10028 echo "${ECHO_T}no" >&6; }
10032 SANELIBS=""
10034 SANEINCL=""
10036 if test "$sane_devel" != "no"
10037 then
10038 SANELIBS="`$sane_devel --libs`"
10039 SANEINCL="`$sane_devel --cflags`"
10040 ac_save_CPPFLAGS="$CPPFLAGS"
10041 ac_save_LIBS="$LIBS"
10042 CPPFLAGS="$CPPFLAGS $SANEINCL"
10043 LIBS="$LIBS $SANELIBS"
10044 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10045 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10046 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10047 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10048 echo $ECHO_N "(cached) $ECHO_C" >&6
10050 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10051 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10052 else
10053 # Is the header compilable?
10054 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10055 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10056 cat >conftest.$ac_ext <<_ACEOF
10057 /* confdefs.h. */
10058 _ACEOF
10059 cat confdefs.h >>conftest.$ac_ext
10060 cat >>conftest.$ac_ext <<_ACEOF
10061 /* end confdefs.h. */
10062 $ac_includes_default
10063 #include <sane/sane.h>
10064 _ACEOF
10065 rm -f conftest.$ac_objext
10066 if { (ac_try="$ac_compile"
10067 case "(($ac_try" in
10068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10069 *) ac_try_echo=$ac_try;;
10070 esac
10071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10072 (eval "$ac_compile") 2>conftest.er1
10073 ac_status=$?
10074 grep -v '^ *+' conftest.er1 >conftest.err
10075 rm -f conftest.er1
10076 cat conftest.err >&5
10077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10078 (exit $ac_status); } && {
10079 test -z "$ac_c_werror_flag" ||
10080 test ! -s conftest.err
10081 } && test -s conftest.$ac_objext; then
10082 ac_header_compiler=yes
10083 else
10084 echo "$as_me: failed program was:" >&5
10085 sed 's/^/| /' conftest.$ac_ext >&5
10087 ac_header_compiler=no
10090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10091 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10092 echo "${ECHO_T}$ac_header_compiler" >&6; }
10094 # Is the header present?
10095 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10096 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10097 cat >conftest.$ac_ext <<_ACEOF
10098 /* confdefs.h. */
10099 _ACEOF
10100 cat confdefs.h >>conftest.$ac_ext
10101 cat >>conftest.$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10103 #include <sane/sane.h>
10104 _ACEOF
10105 if { (ac_try="$ac_cpp conftest.$ac_ext"
10106 case "(($ac_try" in
10107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10108 *) ac_try_echo=$ac_try;;
10109 esac
10110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10111 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10112 ac_status=$?
10113 grep -v '^ *+' conftest.er1 >conftest.err
10114 rm -f conftest.er1
10115 cat conftest.err >&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); } >/dev/null && {
10118 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10119 test ! -s conftest.err
10120 }; then
10121 ac_header_preproc=yes
10122 else
10123 echo "$as_me: failed program was:" >&5
10124 sed 's/^/| /' conftest.$ac_ext >&5
10126 ac_header_preproc=no
10129 rm -f conftest.err conftest.$ac_ext
10130 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10131 echo "${ECHO_T}$ac_header_preproc" >&6; }
10133 # So? What about this header?
10134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10135 yes:no: )
10136 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10137 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10138 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10139 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10140 ac_header_preproc=yes
10142 no:yes:* )
10143 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10144 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10145 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10146 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10147 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10148 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10149 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10150 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10151 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10152 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10153 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10154 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10155 ( cat <<\_ASBOX
10156 ## ------------------------------------ ##
10157 ## Report this to wine-devel@winehq.org ##
10158 ## ------------------------------------ ##
10159 _ASBOX
10160 ) | sed "s/^/$as_me: WARNING: /" >&2
10162 esac
10163 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10164 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10165 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10167 else
10168 ac_cv_header_sane_sane_h=$ac_header_preproc
10170 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10171 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10174 if test $ac_cv_header_sane_sane_h = yes; then
10175 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10176 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10177 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10179 else
10180 ac_check_lib_save_LIBS=$LIBS
10181 LIBS="-lsane $LIBS"
10182 cat >conftest.$ac_ext <<_ACEOF
10183 /* confdefs.h. */
10184 _ACEOF
10185 cat confdefs.h >>conftest.$ac_ext
10186 cat >>conftest.$ac_ext <<_ACEOF
10187 /* end confdefs.h. */
10189 /* Override any GCC internal prototype to avoid an error.
10190 Use char because int might match the return type of a GCC
10191 builtin and then its argument prototype would still apply. */
10192 #ifdef __cplusplus
10193 extern "C"
10194 #endif
10195 char sane_open ();
10197 main ()
10199 return sane_open ();
10201 return 0;
10203 _ACEOF
10204 rm -f conftest.$ac_objext conftest$ac_exeext
10205 if { (ac_try="$ac_link"
10206 case "(($ac_try" in
10207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10208 *) ac_try_echo=$ac_try;;
10209 esac
10210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10211 (eval "$ac_link") 2>conftest.er1
10212 ac_status=$?
10213 grep -v '^ *+' conftest.er1 >conftest.err
10214 rm -f conftest.er1
10215 cat conftest.err >&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } && {
10218 test -z "$ac_c_werror_flag" ||
10219 test ! -s conftest.err
10220 } && test -s conftest$ac_exeext &&
10221 $as_test_x conftest$ac_exeext; then
10222 ac_cv_lib_sane_sane_open=yes
10223 else
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.$ac_ext >&5
10227 ac_cv_lib_sane_sane_open=no
10230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10231 conftest$ac_exeext conftest.$ac_ext
10232 LIBS=$ac_check_lib_save_LIBS
10234 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10235 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10236 if test $ac_cv_lib_sane_sane_open = yes; then
10238 cat >>confdefs.h <<\_ACEOF
10239 #define HAVE_SANE 1
10240 _ACEOF
10242 else
10243 SANELIBS=""
10244 SANEINCL=""
10247 else
10248 SANELIBS=""
10249 SANEINCL=""
10253 LIBS="$ac_save_LIBS"
10254 CPPFLAGS="$ac_save_CPPFLAGS"
10257 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10258 set dummy gphoto2-config; ac_word=$2
10259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10261 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10262 echo $ECHO_N "(cached) $ECHO_C" >&6
10263 else
10264 if test -n "$gphoto2_devel"; then
10265 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10266 else
10267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10268 for as_dir in $PATH
10270 IFS=$as_save_IFS
10271 test -z "$as_dir" && as_dir=.
10272 for ac_exec_ext in '' $ac_executable_extensions; do
10273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10274 ac_cv_prog_gphoto2_devel="gphoto2-config"
10275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10276 break 2
10278 done
10279 done
10280 IFS=$as_save_IFS
10282 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10285 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10286 if test -n "$gphoto2_devel"; then
10287 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10288 echo "${ECHO_T}$gphoto2_devel" >&6; }
10289 else
10290 { echo "$as_me:$LINENO: result: no" >&5
10291 echo "${ECHO_T}no" >&6; }
10295 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10296 set dummy gphoto2-port-config; ac_word=$2
10297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10299 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10301 else
10302 if test -n "$gphoto2port_devel"; then
10303 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10304 else
10305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10306 for as_dir in $PATH
10308 IFS=$as_save_IFS
10309 test -z "$as_dir" && as_dir=.
10310 for ac_exec_ext in '' $ac_executable_extensions; do
10311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10312 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10314 break 2
10316 done
10317 done
10318 IFS=$as_save_IFS
10320 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10323 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10324 if test -n "$gphoto2port_devel"; then
10325 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10326 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10327 else
10328 { echo "$as_me:$LINENO: result: no" >&5
10329 echo "${ECHO_T}no" >&6; }
10333 GPHOTO2LIBS=""
10335 GPHOTO2INCL=""
10337 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10338 then
10339 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10340 GPHOTO2LIBS=""
10341 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10343 case "$i" in
10344 -L/usr/lib|-L/usr/lib64) ;;
10345 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10346 esac
10347 done
10348 ac_save_CPPFLAGS="$CPPFLAGS"
10349 ac_save_LIBS="$LIBS"
10350 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10351 LIBS="$LIBS $GPHOTO2LIBS"
10352 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10353 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10354 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10355 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10356 echo $ECHO_N "(cached) $ECHO_C" >&6
10358 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10359 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10360 else
10361 # Is the header compilable?
10362 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10363 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10364 cat >conftest.$ac_ext <<_ACEOF
10365 /* confdefs.h. */
10366 _ACEOF
10367 cat confdefs.h >>conftest.$ac_ext
10368 cat >>conftest.$ac_ext <<_ACEOF
10369 /* end confdefs.h. */
10370 $ac_includes_default
10371 #include <gphoto2-camera.h>
10372 _ACEOF
10373 rm -f conftest.$ac_objext
10374 if { (ac_try="$ac_compile"
10375 case "(($ac_try" in
10376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10377 *) ac_try_echo=$ac_try;;
10378 esac
10379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10380 (eval "$ac_compile") 2>conftest.er1
10381 ac_status=$?
10382 grep -v '^ *+' conftest.er1 >conftest.err
10383 rm -f conftest.er1
10384 cat conftest.err >&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); } && {
10387 test -z "$ac_c_werror_flag" ||
10388 test ! -s conftest.err
10389 } && test -s conftest.$ac_objext; then
10390 ac_header_compiler=yes
10391 else
10392 echo "$as_me: failed program was:" >&5
10393 sed 's/^/| /' conftest.$ac_ext >&5
10395 ac_header_compiler=no
10398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10399 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10400 echo "${ECHO_T}$ac_header_compiler" >&6; }
10402 # Is the header present?
10403 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10404 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10405 cat >conftest.$ac_ext <<_ACEOF
10406 /* confdefs.h. */
10407 _ACEOF
10408 cat confdefs.h >>conftest.$ac_ext
10409 cat >>conftest.$ac_ext <<_ACEOF
10410 /* end confdefs.h. */
10411 #include <gphoto2-camera.h>
10412 _ACEOF
10413 if { (ac_try="$ac_cpp conftest.$ac_ext"
10414 case "(($ac_try" in
10415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10416 *) ac_try_echo=$ac_try;;
10417 esac
10418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10419 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10420 ac_status=$?
10421 grep -v '^ *+' conftest.er1 >conftest.err
10422 rm -f conftest.er1
10423 cat conftest.err >&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); } >/dev/null && {
10426 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10427 test ! -s conftest.err
10428 }; then
10429 ac_header_preproc=yes
10430 else
10431 echo "$as_me: failed program was:" >&5
10432 sed 's/^/| /' conftest.$ac_ext >&5
10434 ac_header_preproc=no
10437 rm -f conftest.err conftest.$ac_ext
10438 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10439 echo "${ECHO_T}$ac_header_preproc" >&6; }
10441 # So? What about this header?
10442 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10443 yes:no: )
10444 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10445 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10446 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10447 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10448 ac_header_preproc=yes
10450 no:yes:* )
10451 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10452 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10453 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10454 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10455 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10456 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10457 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10458 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10459 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10460 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10461 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10462 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10463 ( cat <<\_ASBOX
10464 ## ------------------------------------ ##
10465 ## Report this to wine-devel@winehq.org ##
10466 ## ------------------------------------ ##
10467 _ASBOX
10468 ) | sed "s/^/$as_me: WARNING: /" >&2
10470 esac
10471 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10472 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10473 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10474 echo $ECHO_N "(cached) $ECHO_C" >&6
10475 else
10476 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10478 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10479 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10482 if test $ac_cv_header_gphoto2_camera_h = yes; then
10483 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10484 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10485 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10486 echo $ECHO_N "(cached) $ECHO_C" >&6
10487 else
10488 ac_check_lib_save_LIBS=$LIBS
10489 LIBS="-lgphoto2 $LIBS"
10490 cat >conftest.$ac_ext <<_ACEOF
10491 /* confdefs.h. */
10492 _ACEOF
10493 cat confdefs.h >>conftest.$ac_ext
10494 cat >>conftest.$ac_ext <<_ACEOF
10495 /* end confdefs.h. */
10497 /* Override any GCC internal prototype to avoid an error.
10498 Use char because int might match the return type of a GCC
10499 builtin and then its argument prototype would still apply. */
10500 #ifdef __cplusplus
10501 extern "C"
10502 #endif
10503 char gp_camera_new ();
10505 main ()
10507 return gp_camera_new ();
10509 return 0;
10511 _ACEOF
10512 rm -f conftest.$ac_objext conftest$ac_exeext
10513 if { (ac_try="$ac_link"
10514 case "(($ac_try" in
10515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10516 *) ac_try_echo=$ac_try;;
10517 esac
10518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10519 (eval "$ac_link") 2>conftest.er1
10520 ac_status=$?
10521 grep -v '^ *+' conftest.er1 >conftest.err
10522 rm -f conftest.er1
10523 cat conftest.err >&5
10524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10525 (exit $ac_status); } && {
10526 test -z "$ac_c_werror_flag" ||
10527 test ! -s conftest.err
10528 } && test -s conftest$ac_exeext &&
10529 $as_test_x conftest$ac_exeext; then
10530 ac_cv_lib_gphoto2_gp_camera_new=yes
10531 else
10532 echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.$ac_ext >&5
10535 ac_cv_lib_gphoto2_gp_camera_new=no
10538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10539 conftest$ac_exeext conftest.$ac_ext
10540 LIBS=$ac_check_lib_save_LIBS
10542 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10543 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10544 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10546 cat >>confdefs.h <<\_ACEOF
10547 #define HAVE_GPHOTO2 1
10548 _ACEOF
10550 else
10551 GPHOTO2LIBS=""
10552 GPHOTO2INCL=""
10555 else
10556 GPHOTO2LIBS=""
10557 GPHOTO2INCL=""
10561 LIBS="$ac_save_LIBS"
10562 CPPFLAGS="$ac_save_CPPFLAGS"
10565 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10566 then
10567 saved_libs="$LIBS"
10568 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10570 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10571 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10572 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10573 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10574 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10575 cat >conftest.$ac_ext <<_ACEOF
10576 /* confdefs.h. */
10577 _ACEOF
10578 cat confdefs.h >>conftest.$ac_ext
10579 cat >>conftest.$ac_ext <<_ACEOF
10580 /* end confdefs.h. */
10581 #include <unicode/ubidi.h>
10583 main ()
10585 ubidi_open()
10587 return 0;
10589 _ACEOF
10590 rm -f conftest.$ac_objext conftest$ac_exeext
10591 if { (ac_try="$ac_link"
10592 case "(($ac_try" in
10593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10594 *) ac_try_echo=$ac_try;;
10595 esac
10596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10597 (eval "$ac_link") 2>conftest.er1
10598 ac_status=$?
10599 grep -v '^ *+' conftest.er1 >conftest.err
10600 rm -f conftest.er1
10601 cat conftest.err >&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); } && {
10604 test -z "$ac_c_werror_flag" ||
10605 test ! -s conftest.err
10606 } && test -s conftest$ac_exeext &&
10607 $as_test_x conftest$ac_exeext; then
10609 cat >>confdefs.h <<\_ACEOF
10610 #define HAVE_ICU 1
10611 _ACEOF
10613 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10615 { echo "$as_me:$LINENO: result: yes" >&5
10616 echo "${ECHO_T}yes" >&6; }
10617 else
10618 echo "$as_me: failed program was:" >&5
10619 sed 's/^/| /' conftest.$ac_ext >&5
10621 { echo "$as_me:$LINENO: result: no" >&5
10622 echo "${ECHO_T}no" >&6; }
10625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10626 conftest$ac_exeext conftest.$ac_ext
10627 done
10628 LIBS="$saved_libs"
10631 RESOLVLIBS=""
10633 if test "$ac_cv_header_resolv_h" = "yes"
10634 then
10635 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10636 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10637 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10638 echo $ECHO_N "(cached) $ECHO_C" >&6
10639 else
10640 ac_check_lib_save_LIBS=$LIBS
10641 LIBS="-lresolv $LIBS"
10642 cat >conftest.$ac_ext <<_ACEOF
10643 /* confdefs.h. */
10644 _ACEOF
10645 cat confdefs.h >>conftest.$ac_ext
10646 cat >>conftest.$ac_ext <<_ACEOF
10647 /* end confdefs.h. */
10649 /* Override any GCC internal prototype to avoid an error.
10650 Use char because int might match the return type of a GCC
10651 builtin and then its argument prototype would still apply. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 char res_query ();
10657 main ()
10659 return res_query ();
10661 return 0;
10663 _ACEOF
10664 rm -f conftest.$ac_objext conftest$ac_exeext
10665 if { (ac_try="$ac_link"
10666 case "(($ac_try" in
10667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10668 *) ac_try_echo=$ac_try;;
10669 esac
10670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10671 (eval "$ac_link") 2>conftest.er1
10672 ac_status=$?
10673 grep -v '^ *+' conftest.er1 >conftest.err
10674 rm -f conftest.er1
10675 cat conftest.err >&5
10676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10677 (exit $ac_status); } && {
10678 test -z "$ac_c_werror_flag" ||
10679 test ! -s conftest.err
10680 } && test -s conftest$ac_exeext &&
10681 $as_test_x conftest$ac_exeext; then
10682 ac_cv_lib_resolv_res_query=yes
10683 else
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10687 ac_cv_lib_resolv_res_query=no
10690 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10691 conftest$ac_exeext conftest.$ac_ext
10692 LIBS=$ac_check_lib_save_LIBS
10694 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10695 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10696 if test $ac_cv_lib_resolv_res_query = yes; then
10698 cat >>confdefs.h <<\_ACEOF
10699 #define HAVE_RESOLV 1
10700 _ACEOF
10702 RESOLVLIBS="-lresolv"
10707 LCMSLIBS=""
10709 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10710 then
10711 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10712 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10713 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10714 echo $ECHO_N "(cached) $ECHO_C" >&6
10715 else
10716 ac_check_lib_save_LIBS=$LIBS
10717 LIBS="-llcms $LIBS"
10718 cat >conftest.$ac_ext <<_ACEOF
10719 /* confdefs.h. */
10720 _ACEOF
10721 cat confdefs.h >>conftest.$ac_ext
10722 cat >>conftest.$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10728 #ifdef __cplusplus
10729 extern "C"
10730 #endif
10731 char cmsOpenProfileFromFile ();
10733 main ()
10735 return cmsOpenProfileFromFile ();
10737 return 0;
10739 _ACEOF
10740 rm -f conftest.$ac_objext conftest$ac_exeext
10741 if { (ac_try="$ac_link"
10742 case "(($ac_try" in
10743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10744 *) ac_try_echo=$ac_try;;
10745 esac
10746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10747 (eval "$ac_link") 2>conftest.er1
10748 ac_status=$?
10749 grep -v '^ *+' conftest.er1 >conftest.err
10750 rm -f conftest.er1
10751 cat conftest.err >&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); } && {
10754 test -z "$ac_c_werror_flag" ||
10755 test ! -s conftest.err
10756 } && test -s conftest$ac_exeext &&
10757 $as_test_x conftest$ac_exeext; then
10758 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10759 else
10760 echo "$as_me: failed program was:" >&5
10761 sed 's/^/| /' conftest.$ac_ext >&5
10763 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10766 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10767 conftest$ac_exeext conftest.$ac_ext
10768 LIBS=$ac_check_lib_save_LIBS
10770 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10771 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10772 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10774 cat >>confdefs.h <<\_ACEOF
10775 #define HAVE_LCMS 1
10776 _ACEOF
10778 LCMSLIBS="-llcms"
10783 LDAPLIBS=""
10785 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10786 then
10787 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10788 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10789 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10790 echo $ECHO_N "(cached) $ECHO_C" >&6
10791 else
10792 ac_check_lib_save_LIBS=$LIBS
10793 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10794 cat >conftest.$ac_ext <<_ACEOF
10795 /* confdefs.h. */
10796 _ACEOF
10797 cat confdefs.h >>conftest.$ac_ext
10798 cat >>conftest.$ac_ext <<_ACEOF
10799 /* end confdefs.h. */
10801 /* Override any GCC internal prototype to avoid an error.
10802 Use char because int might match the return type of a GCC
10803 builtin and then its argument prototype would still apply. */
10804 #ifdef __cplusplus
10805 extern "C"
10806 #endif
10807 char ldap_initialize ();
10809 main ()
10811 return ldap_initialize ();
10813 return 0;
10815 _ACEOF
10816 rm -f conftest.$ac_objext conftest$ac_exeext
10817 if { (ac_try="$ac_link"
10818 case "(($ac_try" in
10819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10820 *) ac_try_echo=$ac_try;;
10821 esac
10822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10823 (eval "$ac_link") 2>conftest.er1
10824 ac_status=$?
10825 grep -v '^ *+' conftest.er1 >conftest.err
10826 rm -f conftest.er1
10827 cat conftest.err >&5
10828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10829 (exit $ac_status); } && {
10830 test -z "$ac_c_werror_flag" ||
10831 test ! -s conftest.err
10832 } && test -s conftest$ac_exeext &&
10833 $as_test_x conftest$ac_exeext; then
10834 ac_cv_lib_ldap_r_ldap_initialize=yes
10835 else
10836 echo "$as_me: failed program was:" >&5
10837 sed 's/^/| /' conftest.$ac_ext >&5
10839 ac_cv_lib_ldap_r_ldap_initialize=no
10842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10843 conftest$ac_exeext conftest.$ac_ext
10844 LIBS=$ac_check_lib_save_LIBS
10846 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10847 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10848 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10849 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10850 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10851 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10852 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 else
10854 ac_check_lib_save_LIBS=$LIBS
10855 LIBS="-llber $LIBPTHREAD $LIBS"
10856 cat >conftest.$ac_ext <<_ACEOF
10857 /* confdefs.h. */
10858 _ACEOF
10859 cat confdefs.h >>conftest.$ac_ext
10860 cat >>conftest.$ac_ext <<_ACEOF
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char ber_init ();
10871 main ()
10873 return ber_init ();
10875 return 0;
10877 _ACEOF
10878 rm -f conftest.$ac_objext conftest$ac_exeext
10879 if { (ac_try="$ac_link"
10880 case "(($ac_try" in
10881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10882 *) ac_try_echo=$ac_try;;
10883 esac
10884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10885 (eval "$ac_link") 2>conftest.er1
10886 ac_status=$?
10887 grep -v '^ *+' conftest.er1 >conftest.err
10888 rm -f conftest.er1
10889 cat conftest.err >&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } && {
10892 test -z "$ac_c_werror_flag" ||
10893 test ! -s conftest.err
10894 } && test -s conftest$ac_exeext &&
10895 $as_test_x conftest$ac_exeext; then
10896 ac_cv_lib_lber_ber_init=yes
10897 else
10898 echo "$as_me: failed program was:" >&5
10899 sed 's/^/| /' conftest.$ac_ext >&5
10901 ac_cv_lib_lber_ber_init=no
10904 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10905 conftest$ac_exeext conftest.$ac_ext
10906 LIBS=$ac_check_lib_save_LIBS
10908 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10909 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10910 if test $ac_cv_lib_lber_ber_init = yes; then
10912 cat >>confdefs.h <<\_ACEOF
10913 #define HAVE_LDAP 1
10914 _ACEOF
10916 LDAPLIBS="-lldap_r -llber"
10921 ac_wine_check_funcs_save_LIBS="$LIBS"
10922 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10927 for ac_func in \
10928 ldap_count_references \
10929 ldap_first_reference \
10930 ldap_next_reference \
10931 ldap_parse_reference
10933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10934 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10936 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10938 else
10939 cat >conftest.$ac_ext <<_ACEOF
10940 /* confdefs.h. */
10941 _ACEOF
10942 cat confdefs.h >>conftest.$ac_ext
10943 cat >>conftest.$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10947 #define $ac_func innocuous_$ac_func
10949 /* System header to define __stub macros and hopefully few prototypes,
10950 which can conflict with char $ac_func (); below.
10951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10952 <limits.h> exists even on freestanding compilers. */
10954 #ifdef __STDC__
10955 # include <limits.h>
10956 #else
10957 # include <assert.h>
10958 #endif
10960 #undef $ac_func
10962 /* Override any GCC internal prototype to avoid an error.
10963 Use char because int might match the return type of a GCC
10964 builtin and then its argument prototype would still apply. */
10965 #ifdef __cplusplus
10966 extern "C"
10967 #endif
10968 char $ac_func ();
10969 /* The GNU C library defines this for functions which it implements
10970 to always fail with ENOSYS. Some functions are actually named
10971 something starting with __ and the normal name is an alias. */
10972 #if defined __stub_$ac_func || defined __stub___$ac_func
10973 choke me
10974 #endif
10977 main ()
10979 return $ac_func ();
10981 return 0;
10983 _ACEOF
10984 rm -f conftest.$ac_objext conftest$ac_exeext
10985 if { (ac_try="$ac_link"
10986 case "(($ac_try" in
10987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10988 *) ac_try_echo=$ac_try;;
10989 esac
10990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10991 (eval "$ac_link") 2>conftest.er1
10992 ac_status=$?
10993 grep -v '^ *+' conftest.er1 >conftest.err
10994 rm -f conftest.er1
10995 cat conftest.err >&5
10996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10997 (exit $ac_status); } && {
10998 test -z "$ac_c_werror_flag" ||
10999 test ! -s conftest.err
11000 } && test -s conftest$ac_exeext &&
11001 $as_test_x conftest$ac_exeext; then
11002 eval "$as_ac_var=yes"
11003 else
11004 echo "$as_me: failed program was:" >&5
11005 sed 's/^/| /' conftest.$ac_ext >&5
11007 eval "$as_ac_var=no"
11010 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11011 conftest$ac_exeext conftest.$ac_ext
11013 ac_res=`eval echo '${'$as_ac_var'}'`
11014 { echo "$as_me:$LINENO: result: $ac_res" >&5
11015 echo "${ECHO_T}$ac_res" >&6; }
11016 if test `eval echo '${'$as_ac_var'}'` = yes; then
11017 cat >>confdefs.h <<_ACEOF
11018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11019 _ACEOF
11022 done
11024 LIBS="$ac_wine_check_funcs_save_LIBS"
11027 FREETYPELIBS=""
11029 FREETYPEINCL=""
11031 # Extract the first word of "freetype-config", so it can be a program name with args.
11032 set dummy freetype-config; ac_word=$2
11033 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11035 if test "${ac_cv_prog_ft_devel+set}" = set; then
11036 echo $ECHO_N "(cached) $ECHO_C" >&6
11037 else
11038 if test -n "$ft_devel"; then
11039 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
11040 else
11041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11042 for as_dir in $PATH
11044 IFS=$as_save_IFS
11045 test -z "$as_dir" && as_dir=.
11046 for ac_exec_ext in '' $ac_executable_extensions; do
11047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11048 ac_cv_prog_ft_devel="freetype-config"
11049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11050 break 2
11052 done
11053 done
11054 IFS=$as_save_IFS
11056 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
11059 ft_devel=$ac_cv_prog_ft_devel
11060 if test -n "$ft_devel"; then
11061 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11062 echo "${ECHO_T}$ft_devel" >&6; }
11063 else
11064 { echo "$as_me:$LINENO: result: no" >&5
11065 echo "${ECHO_T}no" >&6; }
11069 if test "$ft_devel" = "no"
11070 then
11071 # Extract the first word of "freetype2-config", so it can be a program name with args.
11072 set dummy freetype2-config; ac_word=$2
11073 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11074 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11075 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11076 echo $ECHO_N "(cached) $ECHO_C" >&6
11077 else
11078 if test -n "$ft_devel2"; then
11079 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
11080 else
11081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11082 for as_dir in $PATH
11084 IFS=$as_save_IFS
11085 test -z "$as_dir" && as_dir=.
11086 for ac_exec_ext in '' $ac_executable_extensions; do
11087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11088 ac_cv_prog_ft_devel2="freetype2-config"
11089 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11090 break 2
11092 done
11093 done
11094 IFS=$as_save_IFS
11096 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
11099 ft_devel2=$ac_cv_prog_ft_devel2
11100 if test -n "$ft_devel2"; then
11101 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11102 echo "${ECHO_T}$ft_devel2" >&6; }
11103 else
11104 { echo "$as_me:$LINENO: result: no" >&5
11105 echo "${ECHO_T}no" >&6; }
11109 if test "$ft_devel2" = "freetype2-config"
11110 then
11111 ft_devel=$ft_devel2
11115 if test "$ft_devel" = "no"
11116 then
11117 wine_cv_msg_freetype=yes
11118 else
11119 FREETYPELIBS=`$ft_devel --libs`
11120 FREETYPEINCL=`$ft_devel --cflags`
11121 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11122 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11123 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
11126 ac_check_lib_save_LIBS=$LIBS
11127 LIBS="-lfreetype $FREETYPELIBS $LIBS"
11128 cat >conftest.$ac_ext <<_ACEOF
11129 /* confdefs.h. */
11130 _ACEOF
11131 cat confdefs.h >>conftest.$ac_ext
11132 cat >>conftest.$ac_ext <<_ACEOF
11133 /* end confdefs.h. */
11135 /* Override any GCC internal prototype to avoid an error.
11136 Use char because int might match the return type of a GCC
11137 builtin and then its argument prototype would still apply. */
11138 #ifdef __cplusplus
11139 extern "C"
11140 #endif
11141 char FT_Init_FreeType ();
11143 main ()
11145 return FT_Init_FreeType ();
11147 return 0;
11149 _ACEOF
11150 rm -f conftest.$ac_objext conftest$ac_exeext
11151 if { (ac_try="$ac_link"
11152 case "(($ac_try" in
11153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11154 *) ac_try_echo=$ac_try;;
11155 esac
11156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11157 (eval "$ac_link") 2>conftest.er1
11158 ac_status=$?
11159 grep -v '^ *+' conftest.er1 >conftest.err
11160 rm -f conftest.er1
11161 cat conftest.err >&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); } && {
11164 test -z "$ac_c_werror_flag" ||
11165 test ! -s conftest.err
11166 } && test -s conftest$ac_exeext &&
11167 $as_test_x conftest$ac_exeext; then
11168 ac_cv_lib_freetype_FT_Init_FreeType=yes
11169 else
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.$ac_ext >&5
11173 ac_cv_lib_freetype_FT_Init_FreeType=no
11176 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11177 conftest$ac_exeext conftest.$ac_ext
11178 LIBS=$ac_check_lib_save_LIBS
11180 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11181 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11182 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11183 ft_lib=yes
11184 else
11185 ft_lib=no
11188 if test "$ft_lib" = "no"
11189 then
11190 wine_cv_msg_freetype=yes
11191 FREETYPELIBS=""
11192 FREETYPEINCL=""
11193 else
11194 ac_save_CPPFLAGS="$CPPFLAGS"
11195 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11207 for ac_header in ft2build.h \
11208 freetype/freetype.h \
11209 freetype/ftglyph.h \
11210 freetype/tttables.h \
11211 freetype/ftnames.h \
11212 freetype/ftsnames.h \
11213 freetype/ttnameid.h \
11214 freetype/ftoutln.h \
11215 freetype/ftwinfnt.h \
11216 freetype/ftmodapi.h \
11217 freetype/internal/sfnt.h
11219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11223 echo $ECHO_N "(cached) $ECHO_C" >&6
11224 else
11225 cat >conftest.$ac_ext <<_ACEOF
11226 /* confdefs.h. */
11227 _ACEOF
11228 cat confdefs.h >>conftest.$ac_ext
11229 cat >>conftest.$ac_ext <<_ACEOF
11230 /* end confdefs.h. */
11231 #if HAVE_FT2BUILD_H
11232 #include <ft2build.h>
11233 #endif
11235 #include <$ac_header>
11236 _ACEOF
11237 rm -f conftest.$ac_objext
11238 if { (ac_try="$ac_compile"
11239 case "(($ac_try" in
11240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11241 *) ac_try_echo=$ac_try;;
11242 esac
11243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11244 (eval "$ac_compile") 2>conftest.er1
11245 ac_status=$?
11246 grep -v '^ *+' conftest.er1 >conftest.err
11247 rm -f conftest.er1
11248 cat conftest.err >&5
11249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11250 (exit $ac_status); } && {
11251 test -z "$ac_c_werror_flag" ||
11252 test ! -s conftest.err
11253 } && test -s conftest.$ac_objext; then
11254 eval "$as_ac_Header=yes"
11255 else
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11259 eval "$as_ac_Header=no"
11262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11264 ac_res=`eval echo '${'$as_ac_Header'}'`
11265 { echo "$as_me:$LINENO: result: $ac_res" >&5
11266 echo "${ECHO_T}$ac_res" >&6; }
11267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11268 cat >>confdefs.h <<_ACEOF
11269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11270 _ACEOF
11274 done
11276 cat >conftest.$ac_ext <<_ACEOF
11277 /* confdefs.h. */
11278 _ACEOF
11279 cat confdefs.h >>conftest.$ac_ext
11280 cat >>conftest.$ac_ext <<_ACEOF
11281 /* end confdefs.h. */
11282 #include <ft2build.h>
11283 #include <freetype/fttrigon.h>
11284 _ACEOF
11285 if { (ac_try="$ac_cpp conftest.$ac_ext"
11286 case "(($ac_try" in
11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11289 esac
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11292 ac_status=$?
11293 grep -v '^ *+' conftest.er1 >conftest.err
11294 rm -f conftest.er1
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } >/dev/null && {
11298 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11299 test ! -s conftest.err
11300 }; then
11302 cat >>confdefs.h <<\_ACEOF
11303 #define HAVE_FREETYPE_FTTRIGON_H 1
11304 _ACEOF
11306 wine_cv_fttrigon=yes
11307 else
11308 echo "$as_me: failed program was:" >&5
11309 sed 's/^/| /' conftest.$ac_ext >&5
11311 wine_cv_fttrigon=no
11314 rm -f conftest.err conftest.$ac_ext
11315 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11316 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11317 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11319 else
11320 cat >conftest.$ac_ext <<_ACEOF
11321 /* confdefs.h. */
11322 _ACEOF
11323 cat confdefs.h >>conftest.$ac_ext
11324 cat >>conftest.$ac_ext <<_ACEOF
11325 /* end confdefs.h. */
11326 #include <freetype/ftmodapi.h>
11328 typedef FT_TrueTypeEngineType ac__type_new_;
11330 main ()
11332 if ((ac__type_new_ *) 0)
11333 return 0;
11334 if (sizeof (ac__type_new_))
11335 return 0;
11337 return 0;
11339 _ACEOF
11340 rm -f conftest.$ac_objext
11341 if { (ac_try="$ac_compile"
11342 case "(($ac_try" in
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11344 *) ac_try_echo=$ac_try;;
11345 esac
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_compile") 2>conftest.er1
11348 ac_status=$?
11349 grep -v '^ *+' conftest.er1 >conftest.err
11350 rm -f conftest.er1
11351 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } && {
11354 test -z "$ac_c_werror_flag" ||
11355 test ! -s conftest.err
11356 } && test -s conftest.$ac_objext; then
11357 ac_cv_type_FT_TrueTypeEngineType=yes
11358 else
11359 echo "$as_me: failed program was:" >&5
11360 sed 's/^/| /' conftest.$ac_ext >&5
11362 ac_cv_type_FT_TrueTypeEngineType=no
11365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11367 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11368 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11369 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11371 cat >>confdefs.h <<_ACEOF
11372 #define HAVE_FT_TRUETYPEENGINETYPE 1
11373 _ACEOF
11378 ac_save_CFLAGS="$CFLAGS"
11379 CFLAGS="$CFLAGS $FREETYPELIBS"
11381 for ac_func in FT_Load_Sfnt_Table
11383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11384 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11386 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11388 else
11389 cat >conftest.$ac_ext <<_ACEOF
11390 /* confdefs.h. */
11391 _ACEOF
11392 cat confdefs.h >>conftest.$ac_ext
11393 cat >>conftest.$ac_ext <<_ACEOF
11394 /* end confdefs.h. */
11395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11397 #define $ac_func innocuous_$ac_func
11399 /* System header to define __stub macros and hopefully few prototypes,
11400 which can conflict with char $ac_func (); below.
11401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11402 <limits.h> exists even on freestanding compilers. */
11404 #ifdef __STDC__
11405 # include <limits.h>
11406 #else
11407 # include <assert.h>
11408 #endif
11410 #undef $ac_func
11412 /* Override any GCC internal prototype to avoid an error.
11413 Use char because int might match the return type of a GCC
11414 builtin and then its argument prototype would still apply. */
11415 #ifdef __cplusplus
11416 extern "C"
11417 #endif
11418 char $ac_func ();
11419 /* The GNU C library defines this for functions which it implements
11420 to always fail with ENOSYS. Some functions are actually named
11421 something starting with __ and the normal name is an alias. */
11422 #if defined __stub_$ac_func || defined __stub___$ac_func
11423 choke me
11424 #endif
11427 main ()
11429 return $ac_func ();
11431 return 0;
11433 _ACEOF
11434 rm -f conftest.$ac_objext conftest$ac_exeext
11435 if { (ac_try="$ac_link"
11436 case "(($ac_try" in
11437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11438 *) ac_try_echo=$ac_try;;
11439 esac
11440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11441 (eval "$ac_link") 2>conftest.er1
11442 ac_status=$?
11443 grep -v '^ *+' conftest.er1 >conftest.err
11444 rm -f conftest.er1
11445 cat conftest.err >&5
11446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11447 (exit $ac_status); } && {
11448 test -z "$ac_c_werror_flag" ||
11449 test ! -s conftest.err
11450 } && test -s conftest$ac_exeext &&
11451 $as_test_x conftest$ac_exeext; then
11452 eval "$as_ac_var=yes"
11453 else
11454 echo "$as_me: failed program was:" >&5
11455 sed 's/^/| /' conftest.$ac_ext >&5
11457 eval "$as_ac_var=no"
11460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11461 conftest$ac_exeext conftest.$ac_ext
11463 ac_res=`eval echo '${'$as_ac_var'}'`
11464 { echo "$as_me:$LINENO: result: $ac_res" >&5
11465 echo "${ECHO_T}$ac_res" >&6; }
11466 if test `eval echo '${'$as_ac_var'}'` = yes; then
11467 cat >>confdefs.h <<_ACEOF
11468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11469 _ACEOF
11472 done
11474 CFLAGS="$ac_save_CFLAGS"
11475 CPPFLAGS="$ac_save_CPPFLAGS"
11476 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11477 then
11479 cat >>confdefs.h <<\_ACEOF
11480 #define HAVE_FREETYPE 1
11481 _ACEOF
11483 wine_cv_msg_freetype=no
11484 else
11485 FREETYPELIBS=""
11486 FREETYPEINCL=""
11487 wine_cv_msg_freetype=yes
11492 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11493 then
11494 FONTSSUBDIRS="fonts"
11498 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11499 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11500 if test "${ac_cv_c_ppdev+set}" = set; then
11501 echo $ECHO_N "(cached) $ECHO_C" >&6
11502 else
11503 cat >conftest.$ac_ext <<_ACEOF
11504 /* confdefs.h. */
11505 _ACEOF
11506 cat confdefs.h >>conftest.$ac_ext
11507 cat >>conftest.$ac_ext <<_ACEOF
11508 /* end confdefs.h. */
11509 #include <linux/ppdev.h>
11511 main ()
11513 ioctl (1,PPCLAIM,0)
11515 return 0;
11517 _ACEOF
11518 rm -f conftest.$ac_objext
11519 if { (ac_try="$ac_compile"
11520 case "(($ac_try" in
11521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11522 *) ac_try_echo=$ac_try;;
11523 esac
11524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11525 (eval "$ac_compile") 2>conftest.er1
11526 ac_status=$?
11527 grep -v '^ *+' conftest.er1 >conftest.err
11528 rm -f conftest.er1
11529 cat conftest.err >&5
11530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11531 (exit $ac_status); } && {
11532 test -z "$ac_c_werror_flag" ||
11533 test ! -s conftest.err
11534 } && test -s conftest.$ac_objext; then
11535 ac_cv_c_ppdev="yes"
11536 else
11537 echo "$as_me: failed program was:" >&5
11538 sed 's/^/| /' conftest.$ac_ext >&5
11540 ac_cv_c_ppdev="no"
11543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11546 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11547 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11548 if test "$ac_cv_c_ppdev" = "yes"
11549 then
11551 cat >>confdefs.h <<\_ACEOF
11552 #define HAVE_PPDEV 1
11553 _ACEOF
11557 { echo "$as_me:$LINENO: checking for va_copy" >&5
11558 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11559 if test "${ac_cv_c_va_copy+set}" = set; then
11560 echo $ECHO_N "(cached) $ECHO_C" >&6
11561 else
11562 cat >conftest.$ac_ext <<_ACEOF
11563 /* confdefs.h. */
11564 _ACEOF
11565 cat confdefs.h >>conftest.$ac_ext
11566 cat >>conftest.$ac_ext <<_ACEOF
11567 /* end confdefs.h. */
11568 #include <stdarg.h>
11570 main ()
11572 va_list ap1, ap2;
11573 va_copy(ap1,ap2);
11576 return 0;
11578 _ACEOF
11579 rm -f conftest.$ac_objext conftest$ac_exeext
11580 if { (ac_try="$ac_link"
11581 case "(($ac_try" in
11582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11583 *) ac_try_echo=$ac_try;;
11584 esac
11585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11586 (eval "$ac_link") 2>conftest.er1
11587 ac_status=$?
11588 grep -v '^ *+' conftest.er1 >conftest.err
11589 rm -f conftest.er1
11590 cat conftest.err >&5
11591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11592 (exit $ac_status); } && {
11593 test -z "$ac_c_werror_flag" ||
11594 test ! -s conftest.err
11595 } && test -s conftest$ac_exeext &&
11596 $as_test_x conftest$ac_exeext; then
11597 ac_cv_c_va_copy="yes"
11598 else
11599 echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11602 ac_cv_c_va_copy="no"
11605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11606 conftest$ac_exeext conftest.$ac_ext
11609 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11610 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11611 if test "$ac_cv_c_va_copy" = "yes"
11612 then
11614 cat >>confdefs.h <<\_ACEOF
11615 #define HAVE_VA_COPY 1
11616 _ACEOF
11619 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11620 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11621 if test "${ac_cv_c___va_copy+set}" = set; then
11622 echo $ECHO_N "(cached) $ECHO_C" >&6
11623 else
11624 cat >conftest.$ac_ext <<_ACEOF
11625 /* confdefs.h. */
11626 _ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630 #include <stdarg.h>
11632 main ()
11634 va_list ap1, ap2;
11635 __va_copy(ap1,ap2);
11638 return 0;
11640 _ACEOF
11641 rm -f conftest.$ac_objext conftest$ac_exeext
11642 if { (ac_try="$ac_link"
11643 case "(($ac_try" in
11644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11645 *) ac_try_echo=$ac_try;;
11646 esac
11647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11648 (eval "$ac_link") 2>conftest.er1
11649 ac_status=$?
11650 grep -v '^ *+' conftest.er1 >conftest.err
11651 rm -f conftest.er1
11652 cat conftest.err >&5
11653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11654 (exit $ac_status); } && {
11655 test -z "$ac_c_werror_flag" ||
11656 test ! -s conftest.err
11657 } && test -s conftest$ac_exeext &&
11658 $as_test_x conftest$ac_exeext; then
11659 ac_cv_c___va_copy="yes"
11660 else
11661 echo "$as_me: failed program was:" >&5
11662 sed 's/^/| /' conftest.$ac_ext >&5
11664 ac_cv_c___va_copy="no"
11667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11668 conftest$ac_exeext conftest.$ac_ext
11671 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11672 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11673 if test "$ac_cv_c___va_copy" = "yes"
11674 then
11676 cat >>confdefs.h <<\_ACEOF
11677 #define HAVE___VA_COPY 1
11678 _ACEOF
11682 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11683 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11684 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11686 else
11687 cat >conftest.$ac_ext <<_ACEOF
11688 /* confdefs.h. */
11689 _ACEOF
11690 cat confdefs.h >>conftest.$ac_ext
11691 cat >>conftest.$ac_ext <<_ACEOF
11692 /* end confdefs.h. */
11693 #include <setjmp.h>
11695 main ()
11697 sigjmp_buf buf;
11698 sigsetjmp( buf, 1 );
11699 siglongjmp( buf, 1 );
11701 return 0;
11703 _ACEOF
11704 rm -f conftest.$ac_objext conftest$ac_exeext
11705 if { (ac_try="$ac_link"
11706 case "(($ac_try" in
11707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11708 *) ac_try_echo=$ac_try;;
11709 esac
11710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11711 (eval "$ac_link") 2>conftest.er1
11712 ac_status=$?
11713 grep -v '^ *+' conftest.er1 >conftest.err
11714 rm -f conftest.er1
11715 cat conftest.err >&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } && {
11718 test -z "$ac_c_werror_flag" ||
11719 test ! -s conftest.err
11720 } && test -s conftest$ac_exeext &&
11721 $as_test_x conftest$ac_exeext; then
11722 ac_cv_c_sigsetjmp="yes"
11723 else
11724 echo "$as_me: failed program was:" >&5
11725 sed 's/^/| /' conftest.$ac_ext >&5
11727 ac_cv_c_sigsetjmp="no"
11730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11731 conftest$ac_exeext conftest.$ac_ext
11734 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11735 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11736 if test "$ac_cv_c_sigsetjmp" = "yes"
11737 then
11739 cat >>confdefs.h <<\_ACEOF
11740 #define HAVE_SIGSETJMP 1
11741 _ACEOF
11745 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11746 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11747 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11748 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 else
11750 cat >conftest.$ac_ext <<_ACEOF
11751 /* confdefs.h. */
11752 _ACEOF
11753 cat confdefs.h >>conftest.$ac_ext
11754 cat >>conftest.$ac_ext <<_ACEOF
11755 /* end confdefs.h. */
11756 #define _GNU_SOURCE
11757 #include <pthread.h>
11759 typedef pthread_rwlock_t ac__type_new_;
11761 main ()
11763 if ((ac__type_new_ *) 0)
11764 return 0;
11765 if (sizeof (ac__type_new_))
11766 return 0;
11768 return 0;
11770 _ACEOF
11771 rm -f conftest.$ac_objext
11772 if { (ac_try="$ac_compile"
11773 case "(($ac_try" in
11774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11775 *) ac_try_echo=$ac_try;;
11776 esac
11777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11778 (eval "$ac_compile") 2>conftest.er1
11779 ac_status=$?
11780 grep -v '^ *+' conftest.er1 >conftest.err
11781 rm -f conftest.er1
11782 cat conftest.err >&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } && {
11785 test -z "$ac_c_werror_flag" ||
11786 test ! -s conftest.err
11787 } && test -s conftest.$ac_objext; then
11788 ac_cv_type_pthread_rwlock_t=yes
11789 else
11790 echo "$as_me: failed program was:" >&5
11791 sed 's/^/| /' conftest.$ac_ext >&5
11793 ac_cv_type_pthread_rwlock_t=no
11796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11798 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11799 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11800 if test $ac_cv_type_pthread_rwlock_t = yes; then
11802 cat >>confdefs.h <<_ACEOF
11803 #define HAVE_PTHREAD_RWLOCK_T 1
11804 _ACEOF
11808 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11809 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11810 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11812 else
11813 cat >conftest.$ac_ext <<_ACEOF
11814 /* confdefs.h. */
11815 _ACEOF
11816 cat confdefs.h >>conftest.$ac_ext
11817 cat >>conftest.$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 #define _GNU_SOURCE
11820 #include <pthread.h>
11822 typedef pthread_rwlockattr_t ac__type_new_;
11824 main ()
11826 if ((ac__type_new_ *) 0)
11827 return 0;
11828 if (sizeof (ac__type_new_))
11829 return 0;
11831 return 0;
11833 _ACEOF
11834 rm -f conftest.$ac_objext
11835 if { (ac_try="$ac_compile"
11836 case "(($ac_try" in
11837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11838 *) ac_try_echo=$ac_try;;
11839 esac
11840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11841 (eval "$ac_compile") 2>conftest.er1
11842 ac_status=$?
11843 grep -v '^ *+' conftest.er1 >conftest.err
11844 rm -f conftest.er1
11845 cat conftest.err >&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } && {
11848 test -z "$ac_c_werror_flag" ||
11849 test ! -s conftest.err
11850 } && test -s conftest.$ac_objext; then
11851 ac_cv_type_pthread_rwlockattr_t=yes
11852 else
11853 echo "$as_me: failed program was:" >&5
11854 sed 's/^/| /' conftest.$ac_ext >&5
11856 ac_cv_type_pthread_rwlockattr_t=no
11859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11861 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11862 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11863 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11865 cat >>confdefs.h <<_ACEOF
11866 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11867 _ACEOF
11873 ac_wine_check_funcs_save_LIBS="$LIBS"
11874 LIBS="$LIBS $LIBPTHREAD"
11879 for ac_func in \
11880 pthread_attr_get_np \
11881 pthread_getattr_np \
11882 pthread_get_stackaddr_np \
11883 pthread_get_stacksize_np
11885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11886 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11888 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11890 else
11891 cat >conftest.$ac_ext <<_ACEOF
11892 /* confdefs.h. */
11893 _ACEOF
11894 cat confdefs.h >>conftest.$ac_ext
11895 cat >>conftest.$ac_ext <<_ACEOF
11896 /* end confdefs.h. */
11897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11899 #define $ac_func innocuous_$ac_func
11901 /* System header to define __stub macros and hopefully few prototypes,
11902 which can conflict with char $ac_func (); below.
11903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11904 <limits.h> exists even on freestanding compilers. */
11906 #ifdef __STDC__
11907 # include <limits.h>
11908 #else
11909 # include <assert.h>
11910 #endif
11912 #undef $ac_func
11914 /* Override any GCC internal prototype to avoid an error.
11915 Use char because int might match the return type of a GCC
11916 builtin and then its argument prototype would still apply. */
11917 #ifdef __cplusplus
11918 extern "C"
11919 #endif
11920 char $ac_func ();
11921 /* The GNU C library defines this for functions which it implements
11922 to always fail with ENOSYS. Some functions are actually named
11923 something starting with __ and the normal name is an alias. */
11924 #if defined __stub_$ac_func || defined __stub___$ac_func
11925 choke me
11926 #endif
11929 main ()
11931 return $ac_func ();
11933 return 0;
11935 _ACEOF
11936 rm -f conftest.$ac_objext conftest$ac_exeext
11937 if { (ac_try="$ac_link"
11938 case "(($ac_try" in
11939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11940 *) ac_try_echo=$ac_try;;
11941 esac
11942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11943 (eval "$ac_link") 2>conftest.er1
11944 ac_status=$?
11945 grep -v '^ *+' conftest.er1 >conftest.err
11946 rm -f conftest.er1
11947 cat conftest.err >&5
11948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11949 (exit $ac_status); } && {
11950 test -z "$ac_c_werror_flag" ||
11951 test ! -s conftest.err
11952 } && test -s conftest$ac_exeext &&
11953 $as_test_x conftest$ac_exeext; then
11954 eval "$as_ac_var=yes"
11955 else
11956 echo "$as_me: failed program was:" >&5
11957 sed 's/^/| /' conftest.$ac_ext >&5
11959 eval "$as_ac_var=no"
11962 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11963 conftest$ac_exeext conftest.$ac_ext
11965 ac_res=`eval echo '${'$as_ac_var'}'`
11966 { echo "$as_me:$LINENO: result: $ac_res" >&5
11967 echo "${ECHO_T}$ac_res" >&6; }
11968 if test `eval echo '${'$as_ac_var'}'` = yes; then
11969 cat >>confdefs.h <<_ACEOF
11970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11971 _ACEOF
11974 done
11976 LIBS="$ac_wine_check_funcs_save_LIBS"
11978 # Extract the first word of "artsc-config", so it can be a program name with args.
11979 set dummy artsc-config; ac_word=$2
11980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11982 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11983 echo $ECHO_N "(cached) $ECHO_C" >&6
11984 else
11985 case $ARTSCCONFIG in
11986 [\\/]* | ?:[\\/]*)
11987 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11991 for as_dir in $PATH
11993 IFS=$as_save_IFS
11994 test -z "$as_dir" && as_dir=.
11995 for ac_exec_ext in '' $ac_executable_extensions; do
11996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11997 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11999 break 2
12001 done
12002 done
12003 IFS=$as_save_IFS
12006 esac
12008 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
12009 if test -n "$ARTSCCONFIG"; then
12010 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12011 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12012 else
12013 { echo "$as_me:$LINENO: result: no" >&5
12014 echo "${ECHO_T}no" >&6; }
12018 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
12019 then
12020 ARTSC_CFLAGS=""
12021 for i in `$ARTSCCONFIG --cflags`
12023 case "$i" in
12024 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
12025 esac
12026 done
12027 ARTSC_LIBS=""
12028 for i in `$ARTSCCONFIG --libs`
12030 case "$i" in
12031 -L/usr/lib|-L/usr/lib64) ;;
12032 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
12033 esac
12034 done
12035 save_CFLAGS="$CFLAGS"
12036 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
12037 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12038 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12039 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12040 echo $ECHO_N "(cached) $ECHO_C" >&6
12041 else
12042 ac_check_lib_save_LIBS=$LIBS
12043 LIBS="-lartsc $ARTSC_LIBS $LIBS"
12044 cat >conftest.$ac_ext <<_ACEOF
12045 /* confdefs.h. */
12046 _ACEOF
12047 cat confdefs.h >>conftest.$ac_ext
12048 cat >>conftest.$ac_ext <<_ACEOF
12049 /* end confdefs.h. */
12051 /* Override any GCC internal prototype to avoid an error.
12052 Use char because int might match the return type of a GCC
12053 builtin and then its argument prototype would still apply. */
12054 #ifdef __cplusplus
12055 extern "C"
12056 #endif
12057 char arts_init ();
12059 main ()
12061 return arts_init ();
12063 return 0;
12065 _ACEOF
12066 rm -f conftest.$ac_objext conftest$ac_exeext
12067 if { (ac_try="$ac_link"
12068 case "(($ac_try" in
12069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12070 *) ac_try_echo=$ac_try;;
12071 esac
12072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12073 (eval "$ac_link") 2>conftest.er1
12074 ac_status=$?
12075 grep -v '^ *+' conftest.er1 >conftest.err
12076 rm -f conftest.er1
12077 cat conftest.err >&5
12078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12079 (exit $ac_status); } && {
12080 test -z "$ac_c_werror_flag" ||
12081 test ! -s conftest.err
12082 } && test -s conftest$ac_exeext &&
12083 $as_test_x conftest$ac_exeext; then
12084 ac_cv_lib_artsc_arts_init=yes
12085 else
12086 echo "$as_me: failed program was:" >&5
12087 sed 's/^/| /' conftest.$ac_ext >&5
12089 ac_cv_lib_artsc_arts_init=no
12092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12097 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12098 if test $ac_cv_lib_artsc_arts_init = yes; then
12099 cat >conftest.$ac_ext <<_ACEOF
12100 /* confdefs.h. */
12101 _ACEOF
12102 cat confdefs.h >>conftest.$ac_ext
12103 cat >>conftest.$ac_ext <<_ACEOF
12104 /* end confdefs.h. */
12105 #include <artsc.h>
12107 main ()
12109 arts_stream_t stream;
12111 return 0;
12113 _ACEOF
12114 rm -f conftest.$ac_objext
12115 if { (ac_try="$ac_compile"
12116 case "(($ac_try" in
12117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12118 *) ac_try_echo=$ac_try;;
12119 esac
12120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12121 (eval "$ac_compile") 2>conftest.er1
12122 ac_status=$?
12123 grep -v '^ *+' conftest.er1 >conftest.err
12124 rm -f conftest.er1
12125 cat conftest.err >&5
12126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12127 (exit $ac_status); } && {
12128 test -z "$ac_c_werror_flag" ||
12129 test ! -s conftest.err
12130 } && test -s conftest.$ac_objext; then
12131 ARTSLIBS=$ARTSC_LIBS
12133 ARTSINCL=$ARTSC_CFLAGS
12136 cat >>confdefs.h <<\_ACEOF
12137 #define HAVE_ARTS 1
12138 _ACEOF
12140 else
12141 echo "$as_me: failed program was:" >&5
12142 sed 's/^/| /' conftest.$ac_ext >&5
12147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 CFLAGS="$save_CFLAGS"
12153 # Extract the first word of "esd-config", so it can be a program name with args.
12154 set dummy esd-config; ac_word=$2
12155 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12157 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12158 echo $ECHO_N "(cached) $ECHO_C" >&6
12159 else
12160 case $ESDCONFIG in
12161 [\\/]* | ?:[\\/]*)
12162 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
12165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12166 for as_dir in $PATH
12168 IFS=$as_save_IFS
12169 test -z "$as_dir" && as_dir=.
12170 for ac_exec_ext in '' $ac_executable_extensions; do
12171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12172 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
12173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12174 break 2
12176 done
12177 done
12178 IFS=$as_save_IFS
12181 esac
12183 ESDCONFIG=$ac_cv_path_ESDCONFIG
12184 if test -n "$ESDCONFIG"; then
12185 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12186 echo "${ECHO_T}$ESDCONFIG" >&6; }
12187 else
12188 { echo "$as_me:$LINENO: result: no" >&5
12189 echo "${ECHO_T}no" >&6; }
12193 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12194 then
12195 ESD_CFLAGS=""
12196 for i in `$ESDCONFIG --cflags`
12198 case "$i" in
12199 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12200 esac
12201 done
12202 ESD_LIBS=`$ESDCONFIG --libs`
12203 save_CFLAGS="$CFLAGS"
12204 CFLAGS="$CFLAGS $ESD_CFLAGS"
12205 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12206 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12207 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12208 echo $ECHO_N "(cached) $ECHO_C" >&6
12209 else
12210 ac_check_lib_save_LIBS=$LIBS
12211 LIBS="-lesd $LIBS"
12212 cat >conftest.$ac_ext <<_ACEOF
12213 /* confdefs.h. */
12214 _ACEOF
12215 cat confdefs.h >>conftest.$ac_ext
12216 cat >>conftest.$ac_ext <<_ACEOF
12217 /* end confdefs.h. */
12219 /* Override any GCC internal prototype to avoid an error.
12220 Use char because int might match the return type of a GCC
12221 builtin and then its argument prototype would still apply. */
12222 #ifdef __cplusplus
12223 extern "C"
12224 #endif
12225 char esd_open_sound ();
12227 main ()
12229 return esd_open_sound ();
12231 return 0;
12233 _ACEOF
12234 rm -f conftest.$ac_objext conftest$ac_exeext
12235 if { (ac_try="$ac_link"
12236 case "(($ac_try" in
12237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12238 *) ac_try_echo=$ac_try;;
12239 esac
12240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12241 (eval "$ac_link") 2>conftest.er1
12242 ac_status=$?
12243 grep -v '^ *+' conftest.er1 >conftest.err
12244 rm -f conftest.er1
12245 cat conftest.err >&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } && {
12248 test -z "$ac_c_werror_flag" ||
12249 test ! -s conftest.err
12250 } && test -s conftest$ac_exeext &&
12251 $as_test_x conftest$ac_exeext; then
12252 ac_cv_lib_esd_esd_open_sound=yes
12253 else
12254 echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12257 ac_cv_lib_esd_esd_open_sound=no
12260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12261 conftest$ac_exeext conftest.$ac_ext
12262 LIBS=$ac_check_lib_save_LIBS
12264 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12265 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12266 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12267 ESDLIBS=$ESD_LIBS
12269 ESDINCL=$ESD_CFLAGS
12272 cat >>confdefs.h <<\_ACEOF
12273 #define HAVE_ESD 1
12274 _ACEOF
12278 CFLAGS="$save_CFLAGS"
12281 ALSALIBS=""
12283 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12284 then
12285 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12286 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12287 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 else
12290 ac_check_lib_save_LIBS=$LIBS
12291 LIBS="-lasound $LIBS"
12292 cat >conftest.$ac_ext <<_ACEOF
12293 /* confdefs.h. */
12294 _ACEOF
12295 cat confdefs.h >>conftest.$ac_ext
12296 cat >>conftest.$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12302 #ifdef __cplusplus
12303 extern "C"
12304 #endif
12305 char snd_pcm_hw_params_get_access ();
12307 main ()
12309 return snd_pcm_hw_params_get_access ();
12311 return 0;
12313 _ACEOF
12314 rm -f conftest.$ac_objext conftest$ac_exeext
12315 if { (ac_try="$ac_link"
12316 case "(($ac_try" in
12317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12318 *) ac_try_echo=$ac_try;;
12319 esac
12320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12321 (eval "$ac_link") 2>conftest.er1
12322 ac_status=$?
12323 grep -v '^ *+' conftest.er1 >conftest.err
12324 rm -f conftest.er1
12325 cat conftest.err >&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); } && {
12328 test -z "$ac_c_werror_flag" ||
12329 test ! -s conftest.err
12330 } && test -s conftest$ac_exeext &&
12331 $as_test_x conftest$ac_exeext; then
12332 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12333 else
12334 echo "$as_me: failed program was:" >&5
12335 sed 's/^/| /' conftest.$ac_ext >&5
12337 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12341 conftest$ac_exeext conftest.$ac_ext
12342 LIBS=$ac_check_lib_save_LIBS
12344 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12345 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12346 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12347 cat >conftest.$ac_ext <<_ACEOF
12348 /* confdefs.h. */
12349 _ACEOF
12350 cat confdefs.h >>conftest.$ac_ext
12351 cat >>conftest.$ac_ext <<_ACEOF
12352 /* end confdefs.h. */
12353 #ifdef HAVE_ALSA_ASOUNDLIB_H
12354 #include <alsa/asoundlib.h>
12355 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12356 #include <sys/asoundlib.h>
12357 #endif
12359 main ()
12361 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12363 return 0;
12365 _ACEOF
12366 rm -f conftest.$ac_objext
12367 if { (ac_try="$ac_compile"
12368 case "(($ac_try" in
12369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12370 *) ac_try_echo=$ac_try;;
12371 esac
12372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12373 (eval "$ac_compile") 2>conftest.er1
12374 ac_status=$?
12375 grep -v '^ *+' conftest.er1 >conftest.err
12376 rm -f conftest.er1
12377 cat conftest.err >&5
12378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12379 (exit $ac_status); } && {
12380 test -z "$ac_c_werror_flag" ||
12381 test ! -s conftest.err
12382 } && test -s conftest.$ac_objext; then
12384 cat >>confdefs.h <<\_ACEOF
12385 #define HAVE_ALSA 1
12386 _ACEOF
12388 ALSALIBS="-lasound"
12389 else
12390 echo "$as_me: failed program was:" >&5
12391 sed 's/^/| /' conftest.$ac_ext >&5
12396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12402 AUDIOIOLIBS=""
12404 if test "$ac_cv_header_libaudioio_h" = "yes"
12405 then
12406 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12407 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12408 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12410 else
12411 ac_check_lib_save_LIBS=$LIBS
12412 LIBS="-laudioio $LIBS"
12413 cat >conftest.$ac_ext <<_ACEOF
12414 /* confdefs.h. */
12415 _ACEOF
12416 cat confdefs.h >>conftest.$ac_ext
12417 cat >>conftest.$ac_ext <<_ACEOF
12418 /* end confdefs.h. */
12420 /* Override any GCC internal prototype to avoid an error.
12421 Use char because int might match the return type of a GCC
12422 builtin and then its argument prototype would still apply. */
12423 #ifdef __cplusplus
12424 extern "C"
12425 #endif
12426 char AudioIOGetVersion ();
12428 main ()
12430 return AudioIOGetVersion ();
12432 return 0;
12434 _ACEOF
12435 rm -f conftest.$ac_objext conftest$ac_exeext
12436 if { (ac_try="$ac_link"
12437 case "(($ac_try" in
12438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12439 *) ac_try_echo=$ac_try;;
12440 esac
12441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12442 (eval "$ac_link") 2>conftest.er1
12443 ac_status=$?
12444 grep -v '^ *+' conftest.er1 >conftest.err
12445 rm -f conftest.er1
12446 cat conftest.err >&5
12447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); } && {
12449 test -z "$ac_c_werror_flag" ||
12450 test ! -s conftest.err
12451 } && test -s conftest$ac_exeext &&
12452 $as_test_x conftest$ac_exeext; then
12453 ac_cv_lib_audioio_AudioIOGetVersion=yes
12454 else
12455 echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12458 ac_cv_lib_audioio_AudioIOGetVersion=no
12461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12462 conftest$ac_exeext conftest.$ac_ext
12463 LIBS=$ac_check_lib_save_LIBS
12465 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12466 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12467 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12468 AUDIOIOLIBS="-laudioio"
12470 cat >>confdefs.h <<\_ACEOF
12471 #define HAVE_LIBAUDIOIO 1
12472 _ACEOF
12479 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12480 then
12481 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12482 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12483 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 else
12486 ac_check_lib_save_LIBS=$LIBS
12487 LIBS="-lcapi20 $LIBS"
12488 cat >conftest.$ac_ext <<_ACEOF
12489 /* confdefs.h. */
12490 _ACEOF
12491 cat confdefs.h >>conftest.$ac_ext
12492 cat >>conftest.$ac_ext <<_ACEOF
12493 /* end confdefs.h. */
12495 /* Override any GCC internal prototype to avoid an error.
12496 Use char because int might match the return type of a GCC
12497 builtin and then its argument prototype would still apply. */
12498 #ifdef __cplusplus
12499 extern "C"
12500 #endif
12501 char capi20_register ();
12503 main ()
12505 return capi20_register ();
12507 return 0;
12509 _ACEOF
12510 rm -f conftest.$ac_objext conftest$ac_exeext
12511 if { (ac_try="$ac_link"
12512 case "(($ac_try" in
12513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12514 *) ac_try_echo=$ac_try;;
12515 esac
12516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12517 (eval "$ac_link") 2>conftest.er1
12518 ac_status=$?
12519 grep -v '^ *+' conftest.er1 >conftest.err
12520 rm -f conftest.er1
12521 cat conftest.err >&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); } && {
12524 test -z "$ac_c_werror_flag" ||
12525 test ! -s conftest.err
12526 } && test -s conftest$ac_exeext &&
12527 $as_test_x conftest$ac_exeext; then
12528 ac_cv_lib_capi20_capi20_register=yes
12529 else
12530 echo "$as_me: failed program was:" >&5
12531 sed 's/^/| /' conftest.$ac_ext >&5
12533 ac_cv_lib_capi20_capi20_register=no
12536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12537 conftest$ac_exeext conftest.$ac_ext
12538 LIBS=$ac_check_lib_save_LIBS
12540 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12541 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12542 if test $ac_cv_lib_capi20_capi20_register = yes; then
12544 cat >>confdefs.h <<\_ACEOF
12545 #define HAVE_CAPI4LINUX 1
12546 _ACEOF
12553 EXTRACFLAGS=""
12555 if test "x${GCC}" = "xyes"
12556 then
12557 EXTRACFLAGS="-Wall -pipe"
12559 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12560 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12561 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12562 echo $ECHO_N "(cached) $ECHO_C" >&6
12563 else
12564 if test "$cross_compiling" = yes; then
12565 ac_cv_c_gcc_strength_bug="yes"
12566 else
12567 cat >conftest.$ac_ext <<_ACEOF
12568 /* confdefs.h. */
12569 _ACEOF
12570 cat confdefs.h >>conftest.$ac_ext
12571 cat >>conftest.$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12574 int L[4] = {0,1,2,3};
12575 int main(void) {
12576 static int Array[3];
12577 unsigned int B = 3;
12578 int i;
12579 for(i=0; i<B; i++) Array[i] = i - 3;
12580 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12581 L[i] = 4;
12583 exit( Array[1] != -2 || L[2] != 3);
12585 _ACEOF
12586 rm -f conftest$ac_exeext
12587 if { (ac_try="$ac_link"
12588 case "(($ac_try" in
12589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12590 *) ac_try_echo=$ac_try;;
12591 esac
12592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12593 (eval "$ac_link") 2>&5
12594 ac_status=$?
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12597 { (case "(($ac_try" in
12598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12599 *) ac_try_echo=$ac_try;;
12600 esac
12601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12602 (eval "$ac_try") 2>&5
12603 ac_status=$?
12604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12605 (exit $ac_status); }; }; then
12606 ac_cv_c_gcc_strength_bug="no"
12607 else
12608 echo "$as_me: program exited with status $ac_status" >&5
12609 echo "$as_me: failed program was:" >&5
12610 sed 's/^/| /' conftest.$ac_ext >&5
12612 ( exit $ac_status )
12613 ac_cv_c_gcc_strength_bug="yes"
12615 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12620 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12621 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12622 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12623 then
12624 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12628 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12629 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12630 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12631 echo $ECHO_N "(cached) $ECHO_C" >&6
12632 else
12633 ac_wine_try_cflags_saved=$CFLAGS
12634 CFLAGS="$CFLAGS -fshort-wchar"
12635 cat >conftest.$ac_ext <<_ACEOF
12636 /* confdefs.h. */
12637 _ACEOF
12638 cat confdefs.h >>conftest.$ac_ext
12639 cat >>conftest.$ac_ext <<_ACEOF
12640 /* end confdefs.h. */
12643 main ()
12647 return 0;
12649 _ACEOF
12650 rm -f conftest.$ac_objext conftest$ac_exeext
12651 if { (ac_try="$ac_link"
12652 case "(($ac_try" in
12653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12654 *) ac_try_echo=$ac_try;;
12655 esac
12656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12657 (eval "$ac_link") 2>conftest.er1
12658 ac_status=$?
12659 grep -v '^ *+' conftest.er1 >conftest.err
12660 rm -f conftest.er1
12661 cat conftest.err >&5
12662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12663 (exit $ac_status); } && {
12664 test -z "$ac_c_werror_flag" ||
12665 test ! -s conftest.err
12666 } && test -s conftest$ac_exeext &&
12667 $as_test_x conftest$ac_exeext; then
12668 ac_cv_cflags__fshort_wchar=yes
12669 else
12670 echo "$as_me: failed program was:" >&5
12671 sed 's/^/| /' conftest.$ac_ext >&5
12673 ac_cv_cflags__fshort_wchar=no
12676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12677 conftest$ac_exeext conftest.$ac_ext
12678 CFLAGS=$ac_wine_try_cflags_saved
12680 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12681 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12682 if test $ac_cv_cflags__fshort_wchar = yes; then
12684 cat >>confdefs.h <<\_ACEOF
12685 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12686 _ACEOF
12690 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12691 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12692 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12693 echo $ECHO_N "(cached) $ECHO_C" >&6
12694 else
12695 ac_wine_try_cflags_saved=$CFLAGS
12696 CFLAGS="$CFLAGS -fno-strict-aliasing"
12697 cat >conftest.$ac_ext <<_ACEOF
12698 /* confdefs.h. */
12699 _ACEOF
12700 cat confdefs.h >>conftest.$ac_ext
12701 cat >>conftest.$ac_ext <<_ACEOF
12702 /* end confdefs.h. */
12705 main ()
12709 return 0;
12711 _ACEOF
12712 rm -f conftest.$ac_objext conftest$ac_exeext
12713 if { (ac_try="$ac_link"
12714 case "(($ac_try" in
12715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12716 *) ac_try_echo=$ac_try;;
12717 esac
12718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12719 (eval "$ac_link") 2>conftest.er1
12720 ac_status=$?
12721 grep -v '^ *+' conftest.er1 >conftest.err
12722 rm -f conftest.er1
12723 cat conftest.err >&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); } && {
12726 test -z "$ac_c_werror_flag" ||
12727 test ! -s conftest.err
12728 } && test -s conftest$ac_exeext &&
12729 $as_test_x conftest$ac_exeext; then
12730 ac_cv_cflags__fno_strict_aliasing=yes
12731 else
12732 echo "$as_me: failed program was:" >&5
12733 sed 's/^/| /' conftest.$ac_ext >&5
12735 ac_cv_cflags__fno_strict_aliasing=no
12738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12739 conftest$ac_exeext conftest.$ac_ext
12740 CFLAGS=$ac_wine_try_cflags_saved
12742 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12743 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12744 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12745 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12748 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12749 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12750 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12751 echo $ECHO_N "(cached) $ECHO_C" >&6
12752 else
12753 ac_wine_try_cflags_saved=$CFLAGS
12754 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12755 cat >conftest.$ac_ext <<_ACEOF
12756 /* confdefs.h. */
12757 _ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12763 main ()
12767 return 0;
12769 _ACEOF
12770 rm -f conftest.$ac_objext conftest$ac_exeext
12771 if { (ac_try="$ac_link"
12772 case "(($ac_try" in
12773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12774 *) ac_try_echo=$ac_try;;
12775 esac
12776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12777 (eval "$ac_link") 2>conftest.er1
12778 ac_status=$?
12779 grep -v '^ *+' conftest.er1 >conftest.err
12780 rm -f conftest.er1
12781 cat conftest.err >&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); } && {
12784 test -z "$ac_c_werror_flag" ||
12785 test ! -s conftest.err
12786 } && test -s conftest$ac_exeext &&
12787 $as_test_x conftest$ac_exeext; then
12788 ac_cv_cflags__Wdeclaration_after_statement=yes
12789 else
12790 echo "$as_me: failed program was:" >&5
12791 sed 's/^/| /' conftest.$ac_ext >&5
12793 ac_cv_cflags__Wdeclaration_after_statement=no
12796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12797 conftest$ac_exeext conftest.$ac_ext
12798 CFLAGS=$ac_wine_try_cflags_saved
12800 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12801 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12802 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12803 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12806 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12807 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12808 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12809 echo $ECHO_N "(cached) $ECHO_C" >&6
12810 else
12811 ac_wine_try_cflags_saved=$CFLAGS
12812 CFLAGS="$CFLAGS -Wwrite-strings"
12813 cat >conftest.$ac_ext <<_ACEOF
12814 /* confdefs.h. */
12815 _ACEOF
12816 cat confdefs.h >>conftest.$ac_ext
12817 cat >>conftest.$ac_ext <<_ACEOF
12818 /* end confdefs.h. */
12821 main ()
12825 return 0;
12827 _ACEOF
12828 rm -f conftest.$ac_objext conftest$ac_exeext
12829 if { (ac_try="$ac_link"
12830 case "(($ac_try" in
12831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12832 *) ac_try_echo=$ac_try;;
12833 esac
12834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12835 (eval "$ac_link") 2>conftest.er1
12836 ac_status=$?
12837 grep -v '^ *+' conftest.er1 >conftest.err
12838 rm -f conftest.er1
12839 cat conftest.err >&5
12840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12841 (exit $ac_status); } && {
12842 test -z "$ac_c_werror_flag" ||
12843 test ! -s conftest.err
12844 } && test -s conftest$ac_exeext &&
12845 $as_test_x conftest$ac_exeext; then
12846 ac_cv_cflags__Wwrite_strings=yes
12847 else
12848 echo "$as_me: failed program was:" >&5
12849 sed 's/^/| /' conftest.$ac_ext >&5
12851 ac_cv_cflags__Wwrite_strings=no
12854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12855 conftest$ac_exeext conftest.$ac_ext
12856 CFLAGS=$ac_wine_try_cflags_saved
12858 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12859 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12860 if test $ac_cv_cflags__Wwrite_strings = yes; then
12861 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12865 saved_CFLAGS="$CFLAGS"
12866 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12867 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12868 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12869 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12870 echo $ECHO_N "(cached) $ECHO_C" >&6
12871 else
12872 cat >conftest.$ac_ext <<_ACEOF
12873 /* confdefs.h. */
12874 _ACEOF
12875 cat confdefs.h >>conftest.$ac_ext
12876 cat >>conftest.$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12878 #include <string.h>
12880 main ()
12884 return 0;
12886 _ACEOF
12887 rm -f conftest.$ac_objext
12888 if { (ac_try="$ac_compile"
12889 case "(($ac_try" in
12890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12891 *) ac_try_echo=$ac_try;;
12892 esac
12893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12894 (eval "$ac_compile") 2>conftest.er1
12895 ac_status=$?
12896 grep -v '^ *+' conftest.er1 >conftest.err
12897 rm -f conftest.er1
12898 cat conftest.err >&5
12899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12900 (exit $ac_status); } && {
12901 test -z "$ac_c_werror_flag" ||
12902 test ! -s conftest.err
12903 } && test -s conftest.$ac_objext; then
12904 ac_cv_c_string_h_warnings=no
12905 else
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.$ac_ext >&5
12909 ac_cv_c_string_h_warnings=yes
12912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12914 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12915 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12916 CFLAGS="$saved_CFLAGS"
12917 if test "$ac_cv_c_string_h_warnings" = "no"
12918 then
12919 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12922 BUILTINFLAG=""
12924 saved_CFLAGS="$CFLAGS"
12925 CFLAGS="$CFLAGS -Werror"
12926 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12927 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12928 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12929 echo $ECHO_N "(cached) $ECHO_C" >&6
12930 else
12931 cat >conftest.$ac_ext <<_ACEOF
12932 /* confdefs.h. */
12933 _ACEOF
12934 cat confdefs.h >>conftest.$ac_ext
12935 cat >>conftest.$ac_ext <<_ACEOF
12936 /* end confdefs.h. */
12939 main ()
12941 int iswlower(unsigned short);
12943 return 0;
12945 _ACEOF
12946 rm -f conftest.$ac_objext
12947 if { (ac_try="$ac_compile"
12948 case "(($ac_try" in
12949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12950 *) ac_try_echo=$ac_try;;
12951 esac
12952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12953 (eval "$ac_compile") 2>conftest.er1
12954 ac_status=$?
12955 grep -v '^ *+' conftest.er1 >conftest.err
12956 rm -f conftest.er1
12957 cat conftest.err >&5
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); } && {
12960 test -z "$ac_c_werror_flag" ||
12961 test ! -s conftest.err
12962 } && test -s conftest.$ac_objext; then
12963 ac_cv_c_builtin_wchar_ctype=no
12964 else
12965 echo "$as_me: failed program was:" >&5
12966 sed 's/^/| /' conftest.$ac_ext >&5
12968 ac_cv_c_builtin_wchar_ctype=yes
12971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12973 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12974 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12975 CFLAGS="$saved_CFLAGS"
12976 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12977 then
12978 BUILTINFLAG="-fno-builtin"
12983 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12984 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12985 if test "${ac_cv_asm_func_def+set}" = set; then
12986 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 else
12988 cat >conftest.$ac_ext <<_ACEOF
12989 /* confdefs.h. */
12990 _ACEOF
12991 cat confdefs.h >>conftest.$ac_ext
12992 cat >>conftest.$ac_ext <<_ACEOF
12993 /* end confdefs.h. */
12994 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"); }
12997 main ()
13001 return 0;
13003 _ACEOF
13004 rm -f conftest.$ac_objext conftest$ac_exeext
13005 if { (ac_try="$ac_link"
13006 case "(($ac_try" in
13007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13008 *) ac_try_echo=$ac_try;;
13009 esac
13010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13011 (eval "$ac_link") 2>conftest.er1
13012 ac_status=$?
13013 grep -v '^ *+' conftest.er1 >conftest.err
13014 rm -f conftest.er1
13015 cat conftest.err >&5
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); } && {
13018 test -z "$ac_c_werror_flag" ||
13019 test ! -s conftest.err
13020 } && test -s conftest$ac_exeext &&
13021 $as_test_x conftest$ac_exeext; then
13022 ac_cv_asm_func_def=".def"
13023 else
13024 echo "$as_me: failed program was:" >&5
13025 sed 's/^/| /' conftest.$ac_ext >&5
13027 cat >conftest.$ac_ext <<_ACEOF
13028 /* confdefs.h. */
13029 _ACEOF
13030 cat confdefs.h >>conftest.$ac_ext
13031 cat >>conftest.$ac_ext <<_ACEOF
13032 /* end confdefs.h. */
13033 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13036 main ()
13040 return 0;
13042 _ACEOF
13043 rm -f conftest.$ac_objext conftest$ac_exeext
13044 if { (ac_try="$ac_link"
13045 case "(($ac_try" in
13046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13047 *) ac_try_echo=$ac_try;;
13048 esac
13049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13050 (eval "$ac_link") 2>conftest.er1
13051 ac_status=$?
13052 grep -v '^ *+' conftest.er1 >conftest.err
13053 rm -f conftest.er1
13054 cat conftest.err >&5
13055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13056 (exit $ac_status); } && {
13057 test -z "$ac_c_werror_flag" ||
13058 test ! -s conftest.err
13059 } && test -s conftest$ac_exeext &&
13060 $as_test_x conftest$ac_exeext; then
13061 ac_cv_asm_func_def=".type @function"
13062 else
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.$ac_ext >&5
13066 cat >conftest.$ac_ext <<_ACEOF
13067 /* confdefs.h. */
13068 _ACEOF
13069 cat confdefs.h >>conftest.$ac_ext
13070 cat >>conftest.$ac_ext <<_ACEOF
13071 /* end confdefs.h. */
13072 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13075 main ()
13079 return 0;
13081 _ACEOF
13082 rm -f conftest.$ac_objext conftest$ac_exeext
13083 if { (ac_try="$ac_link"
13084 case "(($ac_try" in
13085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13086 *) ac_try_echo=$ac_try;;
13087 esac
13088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13089 (eval "$ac_link") 2>conftest.er1
13090 ac_status=$?
13091 grep -v '^ *+' conftest.er1 >conftest.err
13092 rm -f conftest.er1
13093 cat conftest.err >&5
13094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13095 (exit $ac_status); } && {
13096 test -z "$ac_c_werror_flag" ||
13097 test ! -s conftest.err
13098 } && test -s conftest$ac_exeext &&
13099 $as_test_x conftest$ac_exeext; then
13100 ac_cv_asm_func_def=".type 2"
13101 else
13102 echo "$as_me: failed program was:" >&5
13103 sed 's/^/| /' conftest.$ac_ext >&5
13105 ac_cv_asm_func_def="unknown"
13108 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13109 conftest$ac_exeext conftest.$ac_ext
13112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13113 conftest$ac_exeext conftest.$ac_ext
13116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13117 conftest$ac_exeext conftest.$ac_ext
13119 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13120 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13124 case "$ac_cv_asm_func_def" in
13125 ".def")
13126 cat >>confdefs.h <<\_ACEOF
13127 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13128 _ACEOF
13130 ".type @function")
13131 cat >>confdefs.h <<\_ACEOF
13132 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13133 _ACEOF
13135 ".type 2")
13136 cat >>confdefs.h <<\_ACEOF
13137 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13138 _ACEOF
13141 cat >>confdefs.h <<\_ACEOF
13142 #define __ASM_FUNC(name) ""
13143 _ACEOF
13145 esac
13148 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13149 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13150 if test "${ac_cv_c_extern_prefix+set}" = set; then
13151 echo $ECHO_N "(cached) $ECHO_C" >&6
13152 else
13153 cat >conftest.$ac_ext <<_ACEOF
13154 /* confdefs.h. */
13155 _ACEOF
13156 cat confdefs.h >>conftest.$ac_ext
13157 cat >>conftest.$ac_ext <<_ACEOF
13158 /* end confdefs.h. */
13159 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13160 extern int ac_test;
13162 main ()
13164 if (ac_test) return 1
13166 return 0;
13168 _ACEOF
13169 rm -f conftest.$ac_objext conftest$ac_exeext
13170 if { (ac_try="$ac_link"
13171 case "(($ac_try" in
13172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13173 *) ac_try_echo=$ac_try;;
13174 esac
13175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13176 (eval "$ac_link") 2>conftest.er1
13177 ac_status=$?
13178 grep -v '^ *+' conftest.er1 >conftest.err
13179 rm -f conftest.er1
13180 cat conftest.err >&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); } && {
13183 test -z "$ac_c_werror_flag" ||
13184 test ! -s conftest.err
13185 } && test -s conftest$ac_exeext &&
13186 $as_test_x conftest$ac_exeext; then
13187 ac_cv_c_extern_prefix="yes"
13188 else
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13192 ac_cv_c_extern_prefix="no"
13195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13196 conftest$ac_exeext conftest.$ac_ext
13198 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13199 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13203 if test "$ac_cv_c_extern_prefix" = "yes"
13204 then
13205 cat >>confdefs.h <<\_ACEOF
13206 #define __ASM_NAME(name) "_" name
13207 _ACEOF
13209 else
13210 cat >>confdefs.h <<\_ACEOF
13211 #define __ASM_NAME(name) name
13212 _ACEOF
13217 DLLEXT=""
13219 DLLFLAGS="-D_REENTRANT"
13221 LDSHARED=""
13223 LDDLLFLAGS=""
13225 LIBEXT="so"
13227 IMPLIBEXT="def"
13229 LIBWINE_LDFLAGS=""
13232 case $host_os in
13233 cygwin*|mingw32*)
13234 if test -n "$ac_tool_prefix"; then
13235 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13236 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13237 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13238 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13239 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13240 echo $ECHO_N "(cached) $ECHO_C" >&6
13241 else
13242 if test -n "$DLLTOOL"; then
13243 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13244 else
13245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13246 for as_dir in $PATH
13248 IFS=$as_save_IFS
13249 test -z "$as_dir" && as_dir=.
13250 for ac_exec_ext in '' $ac_executable_extensions; do
13251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13252 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13253 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13254 break 2
13256 done
13257 done
13258 IFS=$as_save_IFS
13262 DLLTOOL=$ac_cv_prog_DLLTOOL
13263 if test -n "$DLLTOOL"; then
13264 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13265 echo "${ECHO_T}$DLLTOOL" >&6; }
13266 else
13267 { echo "$as_me:$LINENO: result: no" >&5
13268 echo "${ECHO_T}no" >&6; }
13273 if test -z "$ac_cv_prog_DLLTOOL"; then
13274 ac_ct_DLLTOOL=$DLLTOOL
13275 # Extract the first word of "dlltool", so it can be a program name with args.
13276 set dummy dlltool; ac_word=$2
13277 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13279 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 else
13282 if test -n "$ac_ct_DLLTOOL"; then
13283 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13284 else
13285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13286 for as_dir in $PATH
13288 IFS=$as_save_IFS
13289 test -z "$as_dir" && as_dir=.
13290 for ac_exec_ext in '' $ac_executable_extensions; do
13291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13292 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13294 break 2
13296 done
13297 done
13298 IFS=$as_save_IFS
13302 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13303 if test -n "$ac_ct_DLLTOOL"; then
13304 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13305 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13306 else
13307 { echo "$as_me:$LINENO: result: no" >&5
13308 echo "${ECHO_T}no" >&6; }
13311 if test "x$ac_ct_DLLTOOL" = x; then
13312 DLLTOOL="false"
13313 else
13314 case $cross_compiling:$ac_tool_warned in
13315 yes:)
13316 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13317 whose name does not start with the host triplet. If you think this
13318 configuration is useful to you, please write to autoconf@gnu.org." >&5
13319 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13320 whose name does not start with the host triplet. If you think this
13321 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13322 ac_tool_warned=yes ;;
13323 esac
13324 DLLTOOL=$ac_ct_DLLTOOL
13326 else
13327 DLLTOOL="$ac_cv_prog_DLLTOOL"
13330 if test -n "$ac_tool_prefix"; then
13331 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13332 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13333 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13334 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13335 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13336 echo $ECHO_N "(cached) $ECHO_C" >&6
13337 else
13338 if test -n "$DLLWRAP"; then
13339 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13340 else
13341 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13342 for as_dir in $PATH
13344 IFS=$as_save_IFS
13345 test -z "$as_dir" && as_dir=.
13346 for ac_exec_ext in '' $ac_executable_extensions; do
13347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13348 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13349 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13350 break 2
13352 done
13353 done
13354 IFS=$as_save_IFS
13358 DLLWRAP=$ac_cv_prog_DLLWRAP
13359 if test -n "$DLLWRAP"; then
13360 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13361 echo "${ECHO_T}$DLLWRAP" >&6; }
13362 else
13363 { echo "$as_me:$LINENO: result: no" >&5
13364 echo "${ECHO_T}no" >&6; }
13369 if test -z "$ac_cv_prog_DLLWRAP"; then
13370 ac_ct_DLLWRAP=$DLLWRAP
13371 # Extract the first word of "dllwrap", so it can be a program name with args.
13372 set dummy dllwrap; ac_word=$2
13373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13375 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 else
13378 if test -n "$ac_ct_DLLWRAP"; then
13379 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13380 else
13381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13382 for as_dir in $PATH
13384 IFS=$as_save_IFS
13385 test -z "$as_dir" && as_dir=.
13386 for ac_exec_ext in '' $ac_executable_extensions; do
13387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13388 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13390 break 2
13392 done
13393 done
13394 IFS=$as_save_IFS
13398 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13399 if test -n "$ac_ct_DLLWRAP"; then
13400 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13401 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13402 else
13403 { echo "$as_me:$LINENO: result: no" >&5
13404 echo "${ECHO_T}no" >&6; }
13407 if test "x$ac_ct_DLLWRAP" = x; then
13408 DLLWRAP="false"
13409 else
13410 case $cross_compiling:$ac_tool_warned in
13411 yes:)
13412 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13413 whose name does not start with the host triplet. If you think this
13414 configuration is useful to you, please write to autoconf@gnu.org." >&5
13415 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13416 whose name does not start with the host triplet. If you think this
13417 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13418 ac_tool_warned=yes ;;
13419 esac
13420 DLLWRAP=$ac_ct_DLLWRAP
13422 else
13423 DLLWRAP="$ac_cv_prog_DLLWRAP"
13426 if test "$DLLWRAP" = "false"; then
13427 LIBEXT="a"
13428 else
13429 LIBEXT="dll"
13431 IMPLIBEXT="a"
13432 WIN16_FILES=""
13433 WIN16_INSTALL=""
13435 darwin*|macosx*)
13436 DLLEXT=".so"
13437 LIBEXT="dylib"
13438 DLLFLAGS="$DLLFLAGS -fPIC"
13439 LDDLLFLAGS="-bundle -multiply_defined suppress"
13440 LIBWINE_LDFLAGS="-multiply_defined suppress"
13441 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13442 STRIP="$STRIP -u -r"
13443 COREFOUNDATIONLIB="-framework CoreFoundation"
13445 IOKITLIB="-framework IOKit -framework CoreFoundation"
13447 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13449 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13450 then
13451 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13454 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13455 then
13456 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13459 case $host_cpu in
13460 *powerpc*)
13461 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13462 esac
13463 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13464 then
13465 QUARTZFILES='$(QUARTZFILES)'
13469 DLLFLAGS="$DLLFLAGS -fPIC"
13470 DLLEXT=".so"
13471 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13472 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13473 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13474 echo $ECHO_N "(cached) $ECHO_C" >&6
13475 else
13476 ac_wine_try_cflags_saved=$CFLAGS
13477 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13478 cat >conftest.$ac_ext <<_ACEOF
13479 void myfunc() {}
13480 _ACEOF
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (ac_try="$ac_link"
13483 case "(($ac_try" in
13484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13485 *) ac_try_echo=$ac_try;;
13486 esac
13487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13488 (eval "$ac_link") 2>conftest.er1
13489 ac_status=$?
13490 grep -v '^ *+' conftest.er1 >conftest.err
13491 rm -f conftest.er1
13492 cat conftest.err >&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } && {
13495 test -z "$ac_c_werror_flag" ||
13496 test ! -s conftest.err
13497 } && test -s conftest$ac_exeext &&
13498 $as_test_x conftest$ac_exeext; then
13499 ac_cv_c_dll_gnuelf="yes"
13500 else
13501 echo "$as_me: failed program was:" >&5
13502 sed 's/^/| /' conftest.$ac_ext >&5
13504 ac_cv_c_dll_gnuelf="no"
13507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13508 conftest$ac_exeext conftest.$ac_ext
13509 CFLAGS=$ac_wine_try_cflags_saved
13511 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13512 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13513 if test "$ac_cv_c_dll_gnuelf" = "yes"
13514 then
13515 LDSHARED="\$(CC) -shared"
13516 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13517 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13518 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13519 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13520 echo $ECHO_N "(cached) $ECHO_C" >&6
13521 else
13522 ac_wine_try_cflags_saved=$CFLAGS
13523 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13524 cat >conftest.$ac_ext <<_ACEOF
13525 /* confdefs.h. */
13526 _ACEOF
13527 cat confdefs.h >>conftest.$ac_ext
13528 cat >>conftest.$ac_ext <<_ACEOF
13529 /* end confdefs.h. */
13532 main ()
13536 return 0;
13538 _ACEOF
13539 rm -f conftest.$ac_objext conftest$ac_exeext
13540 if { (ac_try="$ac_link"
13541 case "(($ac_try" in
13542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13543 *) ac_try_echo=$ac_try;;
13544 esac
13545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13546 (eval "$ac_link") 2>conftest.er1
13547 ac_status=$?
13548 grep -v '^ *+' conftest.er1 >conftest.err
13549 rm -f conftest.er1
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } && {
13553 test -z "$ac_c_werror_flag" ||
13554 test ! -s conftest.err
13555 } && test -s conftest$ac_exeext &&
13556 $as_test_x conftest$ac_exeext; then
13557 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13558 else
13559 echo "$as_me: failed program was:" >&5
13560 sed 's/^/| /' conftest.$ac_ext >&5
13562 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13566 conftest$ac_exeext conftest.$ac_ext
13567 CFLAGS=$ac_wine_try_cflags_saved
13569 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13570 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13571 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13572 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13573 else
13574 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13575 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13576 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13577 echo $ECHO_N "(cached) $ECHO_C" >&6
13578 else
13579 ac_wine_try_cflags_saved=$CFLAGS
13580 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13581 cat >conftest.$ac_ext <<_ACEOF
13582 /* confdefs.h. */
13583 _ACEOF
13584 cat confdefs.h >>conftest.$ac_ext
13585 cat >>conftest.$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13589 main ()
13593 return 0;
13595 _ACEOF
13596 rm -f conftest.$ac_objext conftest$ac_exeext
13597 if { (ac_try="$ac_link"
13598 case "(($ac_try" in
13599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13600 *) ac_try_echo=$ac_try;;
13601 esac
13602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13603 (eval "$ac_link") 2>conftest.er1
13604 ac_status=$?
13605 grep -v '^ *+' conftest.er1 >conftest.err
13606 rm -f conftest.er1
13607 cat conftest.err >&5
13608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13609 (exit $ac_status); } && {
13610 test -z "$ac_c_werror_flag" ||
13611 test ! -s conftest.err
13612 } && test -s conftest$ac_exeext &&
13613 $as_test_x conftest$ac_exeext; then
13614 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13615 else
13616 echo "$as_me: failed program was:" >&5
13617 sed 's/^/| /' conftest.$ac_ext >&5
13619 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13623 conftest$ac_exeext conftest.$ac_ext
13624 CFLAGS=$ac_wine_try_cflags_saved
13626 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13627 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13628 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13629 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13635 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13636 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13637 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13638 echo $ECHO_N "(cached) $ECHO_C" >&6
13639 else
13640 ac_wine_try_cflags_saved=$CFLAGS
13641 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13642 cat >conftest.$ac_ext <<_ACEOF
13643 /* confdefs.h. */
13644 _ACEOF
13645 cat confdefs.h >>conftest.$ac_ext
13646 cat >>conftest.$ac_ext <<_ACEOF
13647 /* end confdefs.h. */
13650 main ()
13654 return 0;
13656 _ACEOF
13657 rm -f conftest.$ac_objext conftest$ac_exeext
13658 if { (ac_try="$ac_link"
13659 case "(($ac_try" in
13660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13661 *) ac_try_echo=$ac_try;;
13662 esac
13663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13664 (eval "$ac_link") 2>conftest.er1
13665 ac_status=$?
13666 grep -v '^ *+' conftest.er1 >conftest.err
13667 rm -f conftest.er1
13668 cat conftest.err >&5
13669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13670 (exit $ac_status); } && {
13671 test -z "$ac_c_werror_flag" ||
13672 test ! -s conftest.err
13673 } && test -s conftest$ac_exeext &&
13674 $as_test_x conftest$ac_exeext; then
13675 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13676 else
13677 echo "$as_me: failed program was:" >&5
13678 sed 's/^/| /' conftest.$ac_ext >&5
13680 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13684 conftest$ac_exeext conftest.$ac_ext
13685 CFLAGS=$ac_wine_try_cflags_saved
13687 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13688 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13689 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13690 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13694 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13695 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13696 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13697 echo $ECHO_N "(cached) $ECHO_C" >&6
13698 else
13699 ac_wine_try_cflags_saved=$CFLAGS
13700 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13701 cat >conftest.$ac_ext <<_ACEOF
13702 /* confdefs.h. */
13703 _ACEOF
13704 cat confdefs.h >>conftest.$ac_ext
13705 cat >>conftest.$ac_ext <<_ACEOF
13706 /* end confdefs.h. */
13709 main ()
13713 return 0;
13715 _ACEOF
13716 rm -f conftest.$ac_objext conftest$ac_exeext
13717 if { (ac_try="$ac_link"
13718 case "(($ac_try" in
13719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13720 *) ac_try_echo=$ac_try;;
13721 esac
13722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13723 (eval "$ac_link") 2>conftest.er1
13724 ac_status=$?
13725 grep -v '^ *+' conftest.er1 >conftest.err
13726 rm -f conftest.er1
13727 cat conftest.err >&5
13728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13729 (exit $ac_status); } && {
13730 test -z "$ac_c_werror_flag" ||
13731 test ! -s conftest.err
13732 } && test -s conftest$ac_exeext &&
13733 $as_test_x conftest$ac_exeext; then
13734 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13735 else
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13739 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13743 conftest$ac_exeext conftest.$ac_ext
13744 CFLAGS=$ac_wine_try_cflags_saved
13746 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13747 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13748 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13749 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13753 echo '{ global: *; };' >conftest.map
13754 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13755 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13756 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13757 echo $ECHO_N "(cached) $ECHO_C" >&6
13758 else
13759 ac_wine_try_cflags_saved=$CFLAGS
13760 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13761 cat >conftest.$ac_ext <<_ACEOF
13762 /* confdefs.h. */
13763 _ACEOF
13764 cat confdefs.h >>conftest.$ac_ext
13765 cat >>conftest.$ac_ext <<_ACEOF
13766 /* end confdefs.h. */
13769 main ()
13773 return 0;
13775 _ACEOF
13776 rm -f conftest.$ac_objext conftest$ac_exeext
13777 if { (ac_try="$ac_link"
13778 case "(($ac_try" in
13779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13780 *) ac_try_echo=$ac_try;;
13781 esac
13782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13783 (eval "$ac_link") 2>conftest.er1
13784 ac_status=$?
13785 grep -v '^ *+' conftest.er1 >conftest.err
13786 rm -f conftest.er1
13787 cat conftest.err >&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 (exit $ac_status); } && {
13790 test -z "$ac_c_werror_flag" ||
13791 test ! -s conftest.err
13792 } && test -s conftest$ac_exeext &&
13793 $as_test_x conftest$ac_exeext; then
13794 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13795 else
13796 echo "$as_me: failed program was:" >&5
13797 sed 's/^/| /' conftest.$ac_ext >&5
13799 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13803 conftest$ac_exeext conftest.$ac_ext
13804 CFLAGS=$ac_wine_try_cflags_saved
13806 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13807 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13808 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13809 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13812 rm -f conftest.map
13814 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13815 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13816 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13817 echo $ECHO_N "(cached) $ECHO_C" >&6
13818 else
13819 ac_wine_try_cflags_saved=$CFLAGS
13820 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13821 cat >conftest.$ac_ext <<_ACEOF
13822 /* confdefs.h. */
13823 _ACEOF
13824 cat confdefs.h >>conftest.$ac_ext
13825 cat >>conftest.$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13829 main ()
13833 return 0;
13835 _ACEOF
13836 rm -f conftest.$ac_objext conftest$ac_exeext
13837 if { (ac_try="$ac_link"
13838 case "(($ac_try" in
13839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13840 *) ac_try_echo=$ac_try;;
13841 esac
13842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13843 (eval "$ac_link") 2>conftest.er1
13844 ac_status=$?
13845 grep -v '^ *+' conftest.er1 >conftest.err
13846 rm -f conftest.er1
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } && {
13850 test -z "$ac_c_werror_flag" ||
13851 test ! -s conftest.err
13852 } && test -s conftest$ac_exeext &&
13853 $as_test_x conftest$ac_exeext; then
13854 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13855 else
13856 echo "$as_me: failed program was:" >&5
13857 sed 's/^/| /' conftest.$ac_ext >&5
13859 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13862 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13863 conftest$ac_exeext conftest.$ac_ext
13864 CFLAGS=$ac_wine_try_cflags_saved
13866 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13867 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13868 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13869 LDEXECFLAGS="-Wl,--export-dynamic"
13874 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13875 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13876 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13877 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13878 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 else
13880 ac_wine_try_cflags_saved=$CFLAGS
13881 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13882 cat >conftest.$ac_ext <<_ACEOF
13883 /* confdefs.h. */
13884 _ACEOF
13885 cat confdefs.h >>conftest.$ac_ext
13886 cat >>conftest.$ac_ext <<_ACEOF
13887 /* end confdefs.h. */
13890 main ()
13894 return 0;
13896 _ACEOF
13897 rm -f conftest.$ac_objext conftest$ac_exeext
13898 if { (ac_try="$ac_link"
13899 case "(($ac_try" in
13900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13901 *) ac_try_echo=$ac_try;;
13902 esac
13903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13904 (eval "$ac_link") 2>conftest.er1
13905 ac_status=$?
13906 grep -v '^ *+' conftest.er1 >conftest.err
13907 rm -f conftest.er1
13908 cat conftest.err >&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); } && {
13911 test -z "$ac_c_werror_flag" ||
13912 test ! -s conftest.err
13913 } && test -s conftest$ac_exeext &&
13914 $as_test_x conftest$ac_exeext; then
13915 eval "$as_ac_var=yes"
13916 else
13917 echo "$as_me: failed program was:" >&5
13918 sed 's/^/| /' conftest.$ac_ext >&5
13920 eval "$as_ac_var=no"
13923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13924 conftest$ac_exeext conftest.$ac_ext
13925 CFLAGS=$ac_wine_try_cflags_saved
13927 ac_res=`eval echo '${'$as_ac_var'}'`
13928 { echo "$as_me:$LINENO: result: $ac_res" >&5
13929 echo "${ECHO_T}$ac_res" >&6; }
13930 if test `eval echo '${'$as_ac_var'}'` = yes; then
13931 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13935 case $host_cpu in
13936 *i[3456789]86* | x86_64)
13937 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13938 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13939 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13941 else
13942 ac_wine_try_cflags_saved=$CFLAGS
13943 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13944 cat >conftest.$ac_ext <<_ACEOF
13945 /* confdefs.h. */
13946 _ACEOF
13947 cat confdefs.h >>conftest.$ac_ext
13948 cat >>conftest.$ac_ext <<_ACEOF
13949 /* end confdefs.h. */
13952 main ()
13956 return 0;
13958 _ACEOF
13959 rm -f conftest.$ac_objext conftest$ac_exeext
13960 if { (ac_try="$ac_link"
13961 case "(($ac_try" in
13962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13963 *) ac_try_echo=$ac_try;;
13964 esac
13965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13966 (eval "$ac_link") 2>conftest.er1
13967 ac_status=$?
13968 grep -v '^ *+' conftest.er1 >conftest.err
13969 rm -f conftest.er1
13970 cat conftest.err >&5
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); } && {
13973 test -z "$ac_c_werror_flag" ||
13974 test ! -s conftest.err
13975 } && test -s conftest$ac_exeext &&
13976 $as_test_x conftest$ac_exeext; then
13977 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13978 else
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.$ac_ext >&5
13982 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13986 conftest$ac_exeext conftest.$ac_ext
13987 CFLAGS=$ac_wine_try_cflags_saved
13989 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13990 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13991 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13992 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13996 esac
13998 else
13999 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14000 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14001 if test "${ac_cv_c_dll_unixware+set}" = set; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14003 else
14004 ac_wine_try_cflags_saved=$CFLAGS
14005 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14006 cat >conftest.$ac_ext <<_ACEOF
14007 void myfunc() {}
14008 _ACEOF
14009 rm -f conftest.$ac_objext conftest$ac_exeext
14010 if { (ac_try="$ac_link"
14011 case "(($ac_try" in
14012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14013 *) ac_try_echo=$ac_try;;
14014 esac
14015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14016 (eval "$ac_link") 2>conftest.er1
14017 ac_status=$?
14018 grep -v '^ *+' conftest.er1 >conftest.err
14019 rm -f conftest.er1
14020 cat conftest.err >&5
14021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14022 (exit $ac_status); } && {
14023 test -z "$ac_c_werror_flag" ||
14024 test ! -s conftest.err
14025 } && test -s conftest$ac_exeext &&
14026 $as_test_x conftest$ac_exeext; then
14027 ac_cv_c_dll_unixware="yes"
14028 else
14029 echo "$as_me: failed program was:" >&5
14030 sed 's/^/| /' conftest.$ac_ext >&5
14032 ac_cv_c_dll_unixware="no"
14035 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14036 conftest$ac_exeext conftest.$ac_ext
14037 CFLAGS=$ac_wine_try_cflags_saved
14039 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14040 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
14041 if test "$ac_cv_c_dll_unixware" = "yes"
14042 then
14043 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14044 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14046 else
14047 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14048 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
14049 if test "${ac_cv_c_dll_hpux+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 else
14052 ac_wine_try_cflags_saved=$CFLAGS
14053 CFLAGS="$CFLAGS -shared"
14054 cat >conftest.$ac_ext <<_ACEOF
14055 void myfunc() {}
14056 _ACEOF
14057 rm -f conftest.$ac_objext conftest$ac_exeext
14058 if { (ac_try="$ac_link"
14059 case "(($ac_try" in
14060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14061 *) ac_try_echo=$ac_try;;
14062 esac
14063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14064 (eval "$ac_link") 2>conftest.er1
14065 ac_status=$?
14066 grep -v '^ *+' conftest.er1 >conftest.err
14067 rm -f conftest.er1
14068 cat conftest.err >&5
14069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14070 (exit $ac_status); } && {
14071 test -z "$ac_c_werror_flag" ||
14072 test ! -s conftest.err
14073 } && test -s conftest$ac_exeext &&
14074 $as_test_x conftest$ac_exeext; then
14075 ac_cv_c_dll_hpux="yes"
14076 else
14077 echo "$as_me: failed program was:" >&5
14078 sed 's/^/| /' conftest.$ac_ext >&5
14080 ac_cv_c_dll_hpux="no"
14083 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14084 conftest$ac_exeext conftest.$ac_ext
14085 CFLAGS=$ac_wine_try_cflags_saved
14087 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14088 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
14089 if test "$ac_cv_c_dll_hpux" = "yes"
14090 then
14091 LIBEXT="sl"
14092 DLLEXT=".sl"
14093 LDDLLFLAGS="-shared -fPIC"
14094 LDSHARED="\$(CC) -shared"
14099 CROSSTEST=""
14101 if test "$cross_compiling" = "no"
14102 then
14103 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14105 # Extract the first word of "$ac_prog", so it can be a program name with args.
14106 set dummy $ac_prog; ac_word=$2
14107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14109 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14110 echo $ECHO_N "(cached) $ECHO_C" >&6
14111 else
14112 if test -n "$CROSSCC"; then
14113 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14114 else
14115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14116 for as_dir in $PATH
14118 IFS=$as_save_IFS
14119 test -z "$as_dir" && as_dir=.
14120 for ac_exec_ext in '' $ac_executable_extensions; do
14121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14122 ac_cv_prog_CROSSCC="$ac_prog"
14123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14124 break 2
14126 done
14127 done
14128 IFS=$as_save_IFS
14132 CROSSCC=$ac_cv_prog_CROSSCC
14133 if test -n "$CROSSCC"; then
14134 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14135 echo "${ECHO_T}$CROSSCC" >&6; }
14136 else
14137 { echo "$as_me:$LINENO: result: no" >&5
14138 echo "${ECHO_T}no" >&6; }
14142 test -n "$CROSSCC" && break
14143 done
14144 test -n "$CROSSCC" || CROSSCC="false"
14146 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14148 # Extract the first word of "$ac_prog", so it can be a program name with args.
14149 set dummy $ac_prog; ac_word=$2
14150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14152 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14153 echo $ECHO_N "(cached) $ECHO_C" >&6
14154 else
14155 if test -n "$DLLTOOL"; then
14156 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14157 else
14158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14159 for as_dir in $PATH
14161 IFS=$as_save_IFS
14162 test -z "$as_dir" && as_dir=.
14163 for ac_exec_ext in '' $ac_executable_extensions; do
14164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14165 ac_cv_prog_DLLTOOL="$ac_prog"
14166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14167 break 2
14169 done
14170 done
14171 IFS=$as_save_IFS
14175 DLLTOOL=$ac_cv_prog_DLLTOOL
14176 if test -n "$DLLTOOL"; then
14177 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14178 echo "${ECHO_T}$DLLTOOL" >&6; }
14179 else
14180 { echo "$as_me:$LINENO: result: no" >&5
14181 echo "${ECHO_T}no" >&6; }
14185 test -n "$DLLTOOL" && break
14186 done
14187 test -n "$DLLTOOL" || DLLTOOL="false"
14189 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14191 # Extract the first word of "$ac_prog", so it can be a program name with args.
14192 set dummy $ac_prog; ac_word=$2
14193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14195 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14196 echo $ECHO_N "(cached) $ECHO_C" >&6
14197 else
14198 if test -n "$CROSSWINDRES"; then
14199 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14200 else
14201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14202 for as_dir in $PATH
14204 IFS=$as_save_IFS
14205 test -z "$as_dir" && as_dir=.
14206 for ac_exec_ext in '' $ac_executable_extensions; do
14207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14208 ac_cv_prog_CROSSWINDRES="$ac_prog"
14209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14210 break 2
14212 done
14213 done
14214 IFS=$as_save_IFS
14218 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14219 if test -n "$CROSSWINDRES"; then
14220 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14221 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14222 else
14223 { echo "$as_me:$LINENO: result: no" >&5
14224 echo "${ECHO_T}no" >&6; }
14228 test -n "$CROSSWINDRES" && break
14229 done
14230 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14232 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14235 esac
14237 if test "$LIBEXT" = "a"; then
14238 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14239 It is currently not possible to build Wine without shared library
14240 (.so) support to allow transparent switch between .so and .dll files.
14241 If you are using Linux, you will need a newer binutils.
14242 " >&5
14243 echo "$as_me: error: could not find a way to build shared libraries.
14244 It is currently not possible to build Wine without shared library
14245 (.so) support to allow transparent switch between .so and .dll files.
14246 If you are using Linux, you will need a newer binutils.
14247 " >&2;}
14248 { (exit 1); exit 1; }; }
14251 case $build_os in
14252 cygwin*|mingw32*)
14253 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14255 darwin*|macosx*)
14256 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14259 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14261 esac
14263 case $host_os in
14264 mingw32*)
14265 CRTLIBS="-lmsvcrt"
14267 SOCKETLIBS="-lws2_32"
14270 esac
14272 MAIN_BINARY="wine-pthread"
14273 case $host_cpu in
14274 *i[3456789]86*)
14275 case $host_os in
14276 linux* | k*bsd*-gnu)
14277 MAIN_BINARY="wine-glibc"
14279 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14281 esac
14283 esac
14286 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14287 then
14288 # Extract the first word of "ldd", so it can be a program name with args.
14289 set dummy ldd; ac_word=$2
14290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14292 if test "${ac_cv_path_LDD+set}" = set; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14294 else
14295 case $LDD in
14296 [\\/]* | ?:[\\/]*)
14297 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14301 as_dummy="/sbin:/usr/sbin:$PATH"
14302 for as_dir in $as_dummy
14304 IFS=$as_save_IFS
14305 test -z "$as_dir" && as_dir=.
14306 for ac_exec_ext in '' $ac_executable_extensions; do
14307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14308 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14310 break 2
14312 done
14313 done
14314 IFS=$as_save_IFS
14316 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14318 esac
14320 LDD=$ac_cv_path_LDD
14321 if test -n "$LDD"; then
14322 { echo "$as_me:$LINENO: result: $LDD" >&5
14323 echo "${ECHO_T}$LDD" >&6; }
14324 else
14325 { echo "$as_me:$LINENO: result: no" >&5
14326 echo "${ECHO_T}no" >&6; }
14330 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14331 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14332 if test "${ac_cv_lib_soname_X11+set}" = set; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14334 else
14335 ac_get_soname_save_LIBS=$LIBS
14336 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14337 cat >conftest.$ac_ext <<_ACEOF
14338 /* confdefs.h. */
14339 _ACEOF
14340 cat confdefs.h >>conftest.$ac_ext
14341 cat >>conftest.$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14344 /* Override any GCC internal prototype to avoid an error.
14345 Use char because int might match the return type of a GCC
14346 builtin and then its argument prototype would still apply. */
14347 #ifdef __cplusplus
14348 extern "C"
14349 #endif
14350 char XCreateWindow ();
14352 main ()
14354 return XCreateWindow ();
14356 return 0;
14358 _ACEOF
14359 rm -f conftest.$ac_objext conftest$ac_exeext
14360 if { (ac_try="$ac_link"
14361 case "(($ac_try" in
14362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14363 *) ac_try_echo=$ac_try;;
14364 esac
14365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14366 (eval "$ac_link") 2>conftest.er1
14367 ac_status=$?
14368 grep -v '^ *+' conftest.er1 >conftest.err
14369 rm -f conftest.er1
14370 cat conftest.err >&5
14371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14372 (exit $ac_status); } && {
14373 test -z "$ac_c_werror_flag" ||
14374 test ! -s conftest.err
14375 } && test -s conftest$ac_exeext &&
14376 $as_test_x conftest$ac_exeext; then
14377 case "$LIBEXT" in
14378 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'` ;;
14379 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14380 esac
14381 if test "x$ac_cv_lib_soname_X11" = "x"
14382 then
14383 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14385 else
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.$ac_ext >&5
14389 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14393 conftest$ac_exeext conftest.$ac_ext
14394 LIBS=$ac_get_soname_save_LIBS
14396 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14397 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14398 if test "${ac_cv_lib_soname_X11+set}" = set; then
14400 cat >>confdefs.h <<_ACEOF
14401 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14402 _ACEOF
14406 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14407 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14408 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14409 echo $ECHO_N "(cached) $ECHO_C" >&6
14410 else
14411 ac_get_soname_save_LIBS=$LIBS
14412 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14413 cat >conftest.$ac_ext <<_ACEOF
14414 /* confdefs.h. */
14415 _ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14420 /* Override any GCC internal prototype to avoid an error.
14421 Use char because int might match the return type of a GCC
14422 builtin and then its argument prototype would still apply. */
14423 #ifdef __cplusplus
14424 extern "C"
14425 #endif
14426 char XextCreateExtension ();
14428 main ()
14430 return XextCreateExtension ();
14432 return 0;
14434 _ACEOF
14435 rm -f conftest.$ac_objext conftest$ac_exeext
14436 if { (ac_try="$ac_link"
14437 case "(($ac_try" in
14438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14439 *) ac_try_echo=$ac_try;;
14440 esac
14441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14442 (eval "$ac_link") 2>conftest.er1
14443 ac_status=$?
14444 grep -v '^ *+' conftest.er1 >conftest.err
14445 rm -f conftest.er1
14446 cat conftest.err >&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); } && {
14449 test -z "$ac_c_werror_flag" ||
14450 test ! -s conftest.err
14451 } && test -s conftest$ac_exeext &&
14452 $as_test_x conftest$ac_exeext; then
14453 case "$LIBEXT" in
14454 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'` ;;
14455 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14456 esac
14457 if test "x$ac_cv_lib_soname_Xext" = "x"
14458 then
14459 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14461 else
14462 echo "$as_me: failed program was:" >&5
14463 sed 's/^/| /' conftest.$ac_ext >&5
14465 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14469 conftest$ac_exeext conftest.$ac_ext
14470 LIBS=$ac_get_soname_save_LIBS
14472 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14473 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14474 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14476 cat >>confdefs.h <<_ACEOF
14477 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14478 _ACEOF
14482 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14483 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14484 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14485 echo $ECHO_N "(cached) $ECHO_C" >&6
14486 else
14487 ac_get_soname_save_LIBS=$LIBS
14488 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14489 cat >conftest.$ac_ext <<_ACEOF
14490 /* confdefs.h. */
14491 _ACEOF
14492 cat confdefs.h >>conftest.$ac_ext
14493 cat >>conftest.$ac_ext <<_ACEOF
14494 /* end confdefs.h. */
14496 /* Override any GCC internal prototype to avoid an error.
14497 Use char because int might match the return type of a GCC
14498 builtin and then its argument prototype would still apply. */
14499 #ifdef __cplusplus
14500 extern "C"
14501 #endif
14502 char XOpenDevice ();
14504 main ()
14506 return XOpenDevice ();
14508 return 0;
14510 _ACEOF
14511 rm -f conftest.$ac_objext conftest$ac_exeext
14512 if { (ac_try="$ac_link"
14513 case "(($ac_try" in
14514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14515 *) ac_try_echo=$ac_try;;
14516 esac
14517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14518 (eval "$ac_link") 2>conftest.er1
14519 ac_status=$?
14520 grep -v '^ *+' conftest.er1 >conftest.err
14521 rm -f conftest.er1
14522 cat conftest.err >&5
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); } && {
14525 test -z "$ac_c_werror_flag" ||
14526 test ! -s conftest.err
14527 } && test -s conftest$ac_exeext &&
14528 $as_test_x conftest$ac_exeext; then
14529 case "$LIBEXT" in
14530 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'` ;;
14531 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14532 esac
14533 if test "x$ac_cv_lib_soname_Xi" = "x"
14534 then
14535 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14537 else
14538 echo "$as_me: failed program was:" >&5
14539 sed 's/^/| /' conftest.$ac_ext >&5
14541 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LIBS=$ac_get_soname_save_LIBS
14548 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14549 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14550 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14552 cat >>confdefs.h <<_ACEOF
14553 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14554 _ACEOF
14558 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14559 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14560 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14561 echo $ECHO_N "(cached) $ECHO_C" >&6
14562 else
14563 ac_get_soname_save_LIBS=$LIBS
14564 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14565 cat >conftest.$ac_ext <<_ACEOF
14566 /* confdefs.h. */
14567 _ACEOF
14568 cat confdefs.h >>conftest.$ac_ext
14569 cat >>conftest.$ac_ext <<_ACEOF
14570 /* end confdefs.h. */
14572 /* Override any GCC internal prototype to avoid an error.
14573 Use char because int might match the return type of a GCC
14574 builtin and then its argument prototype would still apply. */
14575 #ifdef __cplusplus
14576 extern "C"
14577 #endif
14578 char XineramaQueryScreens ();
14580 main ()
14582 return XineramaQueryScreens ();
14584 return 0;
14586 _ACEOF
14587 rm -f conftest.$ac_objext conftest$ac_exeext
14588 if { (ac_try="$ac_link"
14589 case "(($ac_try" in
14590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14591 *) ac_try_echo=$ac_try;;
14592 esac
14593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14594 (eval "$ac_link") 2>conftest.er1
14595 ac_status=$?
14596 grep -v '^ *+' conftest.er1 >conftest.err
14597 rm -f conftest.er1
14598 cat conftest.err >&5
14599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14600 (exit $ac_status); } && {
14601 test -z "$ac_c_werror_flag" ||
14602 test ! -s conftest.err
14603 } && test -s conftest$ac_exeext &&
14604 $as_test_x conftest$ac_exeext; then
14605 case "$LIBEXT" in
14606 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'` ;;
14607 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14608 esac
14609 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14610 then
14611 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14613 else
14614 echo "$as_me: failed program was:" >&5
14615 sed 's/^/| /' conftest.$ac_ext >&5
14617 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14621 conftest$ac_exeext conftest.$ac_ext
14622 LIBS=$ac_get_soname_save_LIBS
14624 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14625 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14626 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14628 cat >>confdefs.h <<_ACEOF
14629 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14630 _ACEOF
14634 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14635 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14636 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14637 echo $ECHO_N "(cached) $ECHO_C" >&6
14638 else
14639 ac_get_soname_save_LIBS=$LIBS
14640 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14641 cat >conftest.$ac_ext <<_ACEOF
14642 /* confdefs.h. */
14643 _ACEOF
14644 cat confdefs.h >>conftest.$ac_ext
14645 cat >>conftest.$ac_ext <<_ACEOF
14646 /* end confdefs.h. */
14648 /* Override any GCC internal prototype to avoid an error.
14649 Use char because int might match the return type of a GCC
14650 builtin and then its argument prototype would still apply. */
14651 #ifdef __cplusplus
14652 extern "C"
14653 #endif
14654 char XRenderQueryExtension ();
14656 main ()
14658 return XRenderQueryExtension ();
14660 return 0;
14662 _ACEOF
14663 rm -f conftest.$ac_objext conftest$ac_exeext
14664 if { (ac_try="$ac_link"
14665 case "(($ac_try" in
14666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14667 *) ac_try_echo=$ac_try;;
14668 esac
14669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14670 (eval "$ac_link") 2>conftest.er1
14671 ac_status=$?
14672 grep -v '^ *+' conftest.er1 >conftest.err
14673 rm -f conftest.er1
14674 cat conftest.err >&5
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); } && {
14677 test -z "$ac_c_werror_flag" ||
14678 test ! -s conftest.err
14679 } && test -s conftest$ac_exeext &&
14680 $as_test_x conftest$ac_exeext; then
14681 case "$LIBEXT" in
14682 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'` ;;
14683 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14684 esac
14685 if test "x$ac_cv_lib_soname_Xrender" = "x"
14686 then
14687 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14689 else
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14693 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14697 conftest$ac_exeext conftest.$ac_ext
14698 LIBS=$ac_get_soname_save_LIBS
14700 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14701 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14702 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14704 cat >>confdefs.h <<_ACEOF
14705 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14706 _ACEOF
14710 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14711 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14712 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14713 echo $ECHO_N "(cached) $ECHO_C" >&6
14714 else
14715 ac_get_soname_save_LIBS=$LIBS
14716 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14717 cat >conftest.$ac_ext <<_ACEOF
14718 /* confdefs.h. */
14719 _ACEOF
14720 cat confdefs.h >>conftest.$ac_ext
14721 cat >>conftest.$ac_ext <<_ACEOF
14722 /* end confdefs.h. */
14724 /* Override any GCC internal prototype to avoid an error.
14725 Use char because int might match the return type of a GCC
14726 builtin and then its argument prototype would still apply. */
14727 #ifdef __cplusplus
14728 extern "C"
14729 #endif
14730 char XRRQueryExtension ();
14732 main ()
14734 return XRRQueryExtension ();
14736 return 0;
14738 _ACEOF
14739 rm -f conftest.$ac_objext conftest$ac_exeext
14740 if { (ac_try="$ac_link"
14741 case "(($ac_try" in
14742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14743 *) ac_try_echo=$ac_try;;
14744 esac
14745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14746 (eval "$ac_link") 2>conftest.er1
14747 ac_status=$?
14748 grep -v '^ *+' conftest.er1 >conftest.err
14749 rm -f conftest.er1
14750 cat conftest.err >&5
14751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14752 (exit $ac_status); } && {
14753 test -z "$ac_c_werror_flag" ||
14754 test ! -s conftest.err
14755 } && test -s conftest$ac_exeext &&
14756 $as_test_x conftest$ac_exeext; then
14757 case "$LIBEXT" in
14758 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'` ;;
14759 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14760 esac
14761 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14762 then
14763 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14765 else
14766 echo "$as_me: failed program was:" >&5
14767 sed 's/^/| /' conftest.$ac_ext >&5
14769 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14773 conftest$ac_exeext conftest.$ac_ext
14774 LIBS=$ac_get_soname_save_LIBS
14776 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14777 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14778 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14780 cat >>confdefs.h <<_ACEOF
14781 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14782 _ACEOF
14786 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14787 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14788 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14789 echo $ECHO_N "(cached) $ECHO_C" >&6
14790 else
14791 ac_get_soname_save_LIBS=$LIBS
14792 LIBS="-lfreetype $X_LIBS $LIBS"
14793 cat >conftest.$ac_ext <<_ACEOF
14794 /* confdefs.h. */
14795 _ACEOF
14796 cat confdefs.h >>conftest.$ac_ext
14797 cat >>conftest.$ac_ext <<_ACEOF
14798 /* end confdefs.h. */
14800 /* Override any GCC internal prototype to avoid an error.
14801 Use char because int might match the return type of a GCC
14802 builtin and then its argument prototype would still apply. */
14803 #ifdef __cplusplus
14804 extern "C"
14805 #endif
14806 char FT_Init_FreeType ();
14808 main ()
14810 return FT_Init_FreeType ();
14812 return 0;
14814 _ACEOF
14815 rm -f conftest.$ac_objext conftest$ac_exeext
14816 if { (ac_try="$ac_link"
14817 case "(($ac_try" in
14818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14819 *) ac_try_echo=$ac_try;;
14820 esac
14821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14822 (eval "$ac_link") 2>conftest.er1
14823 ac_status=$?
14824 grep -v '^ *+' conftest.er1 >conftest.err
14825 rm -f conftest.er1
14826 cat conftest.err >&5
14827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14828 (exit $ac_status); } && {
14829 test -z "$ac_c_werror_flag" ||
14830 test ! -s conftest.err
14831 } && test -s conftest$ac_exeext &&
14832 $as_test_x conftest$ac_exeext; then
14833 case "$LIBEXT" in
14834 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'` ;;
14835 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14836 esac
14837 if test "x$ac_cv_lib_soname_freetype" = "x"
14838 then
14839 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14841 else
14842 echo "$as_me: failed program was:" >&5
14843 sed 's/^/| /' conftest.$ac_ext >&5
14845 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14848 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14849 conftest$ac_exeext conftest.$ac_ext
14850 LIBS=$ac_get_soname_save_LIBS
14852 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14853 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14854 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14856 cat >>confdefs.h <<_ACEOF
14857 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14858 _ACEOF
14862 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14863 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14864 if test "${ac_cv_lib_soname_GL+set}" = set; then
14865 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 else
14867 ac_get_soname_save_LIBS=$LIBS
14868 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14869 cat >conftest.$ac_ext <<_ACEOF
14870 /* confdefs.h. */
14871 _ACEOF
14872 cat confdefs.h >>conftest.$ac_ext
14873 cat >>conftest.$ac_ext <<_ACEOF
14874 /* end confdefs.h. */
14876 /* Override any GCC internal prototype to avoid an error.
14877 Use char because int might match the return type of a GCC
14878 builtin and then its argument prototype would still apply. */
14879 #ifdef __cplusplus
14880 extern "C"
14881 #endif
14882 char glXQueryExtension ();
14884 main ()
14886 return glXQueryExtension ();
14888 return 0;
14890 _ACEOF
14891 rm -f conftest.$ac_objext conftest$ac_exeext
14892 if { (ac_try="$ac_link"
14893 case "(($ac_try" in
14894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14895 *) ac_try_echo=$ac_try;;
14896 esac
14897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14898 (eval "$ac_link") 2>conftest.er1
14899 ac_status=$?
14900 grep -v '^ *+' conftest.er1 >conftest.err
14901 rm -f conftest.er1
14902 cat conftest.err >&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); } && {
14905 test -z "$ac_c_werror_flag" ||
14906 test ! -s conftest.err
14907 } && test -s conftest$ac_exeext &&
14908 $as_test_x conftest$ac_exeext; then
14909 case "$LIBEXT" in
14910 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'` ;;
14911 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14912 esac
14913 if test "x$ac_cv_lib_soname_GL" = "x"
14914 then
14915 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14917 else
14918 echo "$as_me: failed program was:" >&5
14919 sed 's/^/| /' conftest.$ac_ext >&5
14921 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14925 conftest$ac_exeext conftest.$ac_ext
14926 LIBS=$ac_get_soname_save_LIBS
14928 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14929 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14930 if test "${ac_cv_lib_soname_GL+set}" = set; then
14932 cat >>confdefs.h <<_ACEOF
14933 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14934 _ACEOF
14938 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14939 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14940 if test "${ac_cv_lib_soname_hal+set}" = set; then
14941 echo $ECHO_N "(cached) $ECHO_C" >&6
14942 else
14943 ac_get_soname_save_LIBS=$LIBS
14944 LIBS="-lhal $LIBS"
14945 cat >conftest.$ac_ext <<_ACEOF
14946 /* confdefs.h. */
14947 _ACEOF
14948 cat confdefs.h >>conftest.$ac_ext
14949 cat >>conftest.$ac_ext <<_ACEOF
14950 /* end confdefs.h. */
14952 /* Override any GCC internal prototype to avoid an error.
14953 Use char because int might match the return type of a GCC
14954 builtin and then its argument prototype would still apply. */
14955 #ifdef __cplusplus
14956 extern "C"
14957 #endif
14958 char libhal_ctx_new ();
14960 main ()
14962 return libhal_ctx_new ();
14964 return 0;
14966 _ACEOF
14967 rm -f conftest.$ac_objext conftest$ac_exeext
14968 if { (ac_try="$ac_link"
14969 case "(($ac_try" in
14970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14971 *) ac_try_echo=$ac_try;;
14972 esac
14973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14974 (eval "$ac_link") 2>conftest.er1
14975 ac_status=$?
14976 grep -v '^ *+' conftest.er1 >conftest.err
14977 rm -f conftest.er1
14978 cat conftest.err >&5
14979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14980 (exit $ac_status); } && {
14981 test -z "$ac_c_werror_flag" ||
14982 test ! -s conftest.err
14983 } && test -s conftest$ac_exeext &&
14984 $as_test_x conftest$ac_exeext; then
14985 case "$LIBEXT" in
14986 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'` ;;
14987 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14988 esac
14989 if test "x$ac_cv_lib_soname_hal" = "x"
14990 then
14991 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14993 else
14994 echo "$as_me: failed program was:" >&5
14995 sed 's/^/| /' conftest.$ac_ext >&5
14997 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15001 conftest$ac_exeext conftest.$ac_ext
15002 LIBS=$ac_get_soname_save_LIBS
15004 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15005 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
15006 if test "${ac_cv_lib_soname_hal+set}" = set; then
15008 cat >>confdefs.h <<_ACEOF
15009 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15010 _ACEOF
15014 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15015 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
15016 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15017 echo $ECHO_N "(cached) $ECHO_C" >&6
15018 else
15019 ac_get_soname_save_LIBS=$LIBS
15020 LIBS="-ltxc_dxtn $LIBS"
15021 cat >conftest.$ac_ext <<_ACEOF
15022 /* confdefs.h. */
15023 _ACEOF
15024 cat confdefs.h >>conftest.$ac_ext
15025 cat >>conftest.$ac_ext <<_ACEOF
15026 /* end confdefs.h. */
15028 /* Override any GCC internal prototype to avoid an error.
15029 Use char because int might match the return type of a GCC
15030 builtin and then its argument prototype would still apply. */
15031 #ifdef __cplusplus
15032 extern "C"
15033 #endif
15034 char fetch_2d_texel_rgba_dxt1 ();
15036 main ()
15038 return fetch_2d_texel_rgba_dxt1 ();
15040 return 0;
15042 _ACEOF
15043 rm -f conftest.$ac_objext conftest$ac_exeext
15044 if { (ac_try="$ac_link"
15045 case "(($ac_try" in
15046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15047 *) ac_try_echo=$ac_try;;
15048 esac
15049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15050 (eval "$ac_link") 2>conftest.er1
15051 ac_status=$?
15052 grep -v '^ *+' conftest.er1 >conftest.err
15053 rm -f conftest.er1
15054 cat conftest.err >&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } && {
15057 test -z "$ac_c_werror_flag" ||
15058 test ! -s conftest.err
15059 } && test -s conftest$ac_exeext &&
15060 $as_test_x conftest$ac_exeext; then
15061 case "$LIBEXT" in
15062 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'` ;;
15063 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'` ;;
15064 esac
15065 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15066 then
15067 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15069 else
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.$ac_ext >&5
15073 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15077 conftest$ac_exeext conftest.$ac_ext
15078 LIBS=$ac_get_soname_save_LIBS
15080 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15081 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15082 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15084 cat >>confdefs.h <<_ACEOF
15085 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15086 _ACEOF
15090 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15091 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15092 if test "${ac_cv_lib_soname_cups+set}" = set; then
15093 echo $ECHO_N "(cached) $ECHO_C" >&6
15094 else
15095 ac_get_soname_save_LIBS=$LIBS
15096 LIBS="-lcups $LIBS"
15097 cat >conftest.$ac_ext <<_ACEOF
15098 /* confdefs.h. */
15099 _ACEOF
15100 cat confdefs.h >>conftest.$ac_ext
15101 cat >>conftest.$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15104 /* Override any GCC internal prototype to avoid an error.
15105 Use char because int might match the return type of a GCC
15106 builtin and then its argument prototype would still apply. */
15107 #ifdef __cplusplus
15108 extern "C"
15109 #endif
15110 char cupsGetDefault ();
15112 main ()
15114 return cupsGetDefault ();
15116 return 0;
15118 _ACEOF
15119 rm -f conftest.$ac_objext conftest$ac_exeext
15120 if { (ac_try="$ac_link"
15121 case "(($ac_try" in
15122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15123 *) ac_try_echo=$ac_try;;
15124 esac
15125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15126 (eval "$ac_link") 2>conftest.er1
15127 ac_status=$?
15128 grep -v '^ *+' conftest.er1 >conftest.err
15129 rm -f conftest.er1
15130 cat conftest.err >&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); } && {
15133 test -z "$ac_c_werror_flag" ||
15134 test ! -s conftest.err
15135 } && test -s conftest$ac_exeext &&
15136 $as_test_x conftest$ac_exeext; then
15137 case "$LIBEXT" in
15138 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'` ;;
15139 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15140 esac
15141 if test "x$ac_cv_lib_soname_cups" = "x"
15142 then
15143 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15145 else
15146 echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.$ac_ext >&5
15149 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15153 conftest$ac_exeext conftest.$ac_ext
15154 LIBS=$ac_get_soname_save_LIBS
15156 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15157 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15158 if test "${ac_cv_lib_soname_cups+set}" = set; then
15160 cat >>confdefs.h <<_ACEOF
15161 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15162 _ACEOF
15166 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15167 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15168 if test "${ac_cv_lib_soname_jack+set}" = set; then
15169 echo $ECHO_N "(cached) $ECHO_C" >&6
15170 else
15171 ac_get_soname_save_LIBS=$LIBS
15172 LIBS="-ljack $LIBS"
15173 cat >conftest.$ac_ext <<_ACEOF
15174 /* confdefs.h. */
15175 _ACEOF
15176 cat confdefs.h >>conftest.$ac_ext
15177 cat >>conftest.$ac_ext <<_ACEOF
15178 /* end confdefs.h. */
15180 /* Override any GCC internal prototype to avoid an error.
15181 Use char because int might match the return type of a GCC
15182 builtin and then its argument prototype would still apply. */
15183 #ifdef __cplusplus
15184 extern "C"
15185 #endif
15186 char jack_client_new ();
15188 main ()
15190 return jack_client_new ();
15192 return 0;
15194 _ACEOF
15195 rm -f conftest.$ac_objext conftest$ac_exeext
15196 if { (ac_try="$ac_link"
15197 case "(($ac_try" in
15198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15199 *) ac_try_echo=$ac_try;;
15200 esac
15201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15202 (eval "$ac_link") 2>conftest.er1
15203 ac_status=$?
15204 grep -v '^ *+' conftest.er1 >conftest.err
15205 rm -f conftest.er1
15206 cat conftest.err >&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } && {
15209 test -z "$ac_c_werror_flag" ||
15210 test ! -s conftest.err
15211 } && test -s conftest$ac_exeext &&
15212 $as_test_x conftest$ac_exeext; then
15213 case "$LIBEXT" in
15214 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'` ;;
15215 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15216 esac
15217 if test "x$ac_cv_lib_soname_jack" = "x"
15218 then
15219 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15221 else
15222 echo "$as_me: failed program was:" >&5
15223 sed 's/^/| /' conftest.$ac_ext >&5
15225 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15229 conftest$ac_exeext conftest.$ac_ext
15230 LIBS=$ac_get_soname_save_LIBS
15232 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15233 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15234 if test "${ac_cv_lib_soname_jack+set}" = set; then
15236 cat >>confdefs.h <<_ACEOF
15237 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15238 _ACEOF
15242 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15243 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15244 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15245 echo $ECHO_N "(cached) $ECHO_C" >&6
15246 else
15247 ac_get_soname_save_LIBS=$LIBS
15248 LIBS="-lfontconfig $LIBS"
15249 cat >conftest.$ac_ext <<_ACEOF
15250 /* confdefs.h. */
15251 _ACEOF
15252 cat confdefs.h >>conftest.$ac_ext
15253 cat >>conftest.$ac_ext <<_ACEOF
15254 /* end confdefs.h. */
15256 /* Override any GCC internal prototype to avoid an error.
15257 Use char because int might match the return type of a GCC
15258 builtin and then its argument prototype would still apply. */
15259 #ifdef __cplusplus
15260 extern "C"
15261 #endif
15262 char FcInit ();
15264 main ()
15266 return FcInit ();
15268 return 0;
15270 _ACEOF
15271 rm -f conftest.$ac_objext conftest$ac_exeext
15272 if { (ac_try="$ac_link"
15273 case "(($ac_try" in
15274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15275 *) ac_try_echo=$ac_try;;
15276 esac
15277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15278 (eval "$ac_link") 2>conftest.er1
15279 ac_status=$?
15280 grep -v '^ *+' conftest.er1 >conftest.err
15281 rm -f conftest.er1
15282 cat conftest.err >&5
15283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15284 (exit $ac_status); } && {
15285 test -z "$ac_c_werror_flag" ||
15286 test ! -s conftest.err
15287 } && test -s conftest$ac_exeext &&
15288 $as_test_x conftest$ac_exeext; then
15289 case "$LIBEXT" in
15290 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'` ;;
15291 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15292 esac
15293 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15294 then
15295 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15297 else
15298 echo "$as_me: failed program was:" >&5
15299 sed 's/^/| /' conftest.$ac_ext >&5
15301 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15305 conftest$ac_exeext conftest.$ac_ext
15306 LIBS=$ac_get_soname_save_LIBS
15308 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15309 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15310 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15312 cat >>confdefs.h <<_ACEOF
15313 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15314 _ACEOF
15318 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15319 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15320 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15321 echo $ECHO_N "(cached) $ECHO_C" >&6
15322 else
15323 ac_get_soname_save_LIBS=$LIBS
15324 LIBS="-lssl $LIBS"
15325 cat >conftest.$ac_ext <<_ACEOF
15326 /* confdefs.h. */
15327 _ACEOF
15328 cat confdefs.h >>conftest.$ac_ext
15329 cat >>conftest.$ac_ext <<_ACEOF
15330 /* end confdefs.h. */
15332 /* Override any GCC internal prototype to avoid an error.
15333 Use char because int might match the return type of a GCC
15334 builtin and then its argument prototype would still apply. */
15335 #ifdef __cplusplus
15336 extern "C"
15337 #endif
15338 char SSL_library_init ();
15340 main ()
15342 return SSL_library_init ();
15344 return 0;
15346 _ACEOF
15347 rm -f conftest.$ac_objext conftest$ac_exeext
15348 if { (ac_try="$ac_link"
15349 case "(($ac_try" in
15350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15351 *) ac_try_echo=$ac_try;;
15352 esac
15353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15354 (eval "$ac_link") 2>conftest.er1
15355 ac_status=$?
15356 grep -v '^ *+' conftest.er1 >conftest.err
15357 rm -f conftest.er1
15358 cat conftest.err >&5
15359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15360 (exit $ac_status); } && {
15361 test -z "$ac_c_werror_flag" ||
15362 test ! -s conftest.err
15363 } && test -s conftest$ac_exeext &&
15364 $as_test_x conftest$ac_exeext; then
15365 case "$LIBEXT" in
15366 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'` ;;
15367 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15368 esac
15369 if test "x$ac_cv_lib_soname_ssl" = "x"
15370 then
15371 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15373 else
15374 echo "$as_me: failed program was:" >&5
15375 sed 's/^/| /' conftest.$ac_ext >&5
15377 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15381 conftest$ac_exeext conftest.$ac_ext
15382 LIBS=$ac_get_soname_save_LIBS
15384 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15385 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15386 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15388 cat >>confdefs.h <<_ACEOF
15389 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15390 _ACEOF
15394 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15395 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15396 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 else
15399 ac_get_soname_save_LIBS=$LIBS
15400 LIBS="-lcrypto $LIBS"
15401 cat >conftest.$ac_ext <<_ACEOF
15402 /* confdefs.h. */
15403 _ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15408 /* Override any GCC internal prototype to avoid an error.
15409 Use char because int might match the return type of a GCC
15410 builtin and then its argument prototype would still apply. */
15411 #ifdef __cplusplus
15412 extern "C"
15413 #endif
15414 char BIO_new_socket ();
15416 main ()
15418 return BIO_new_socket ();
15420 return 0;
15422 _ACEOF
15423 rm -f conftest.$ac_objext conftest$ac_exeext
15424 if { (ac_try="$ac_link"
15425 case "(($ac_try" in
15426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15427 *) ac_try_echo=$ac_try;;
15428 esac
15429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15430 (eval "$ac_link") 2>conftest.er1
15431 ac_status=$?
15432 grep -v '^ *+' conftest.er1 >conftest.err
15433 rm -f conftest.er1
15434 cat conftest.err >&5
15435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15436 (exit $ac_status); } && {
15437 test -z "$ac_c_werror_flag" ||
15438 test ! -s conftest.err
15439 } && test -s conftest$ac_exeext &&
15440 $as_test_x conftest$ac_exeext; then
15441 case "$LIBEXT" in
15442 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'` ;;
15443 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15444 esac
15445 if test "x$ac_cv_lib_soname_crypto" = "x"
15446 then
15447 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15449 else
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15457 conftest$ac_exeext conftest.$ac_ext
15458 LIBS=$ac_get_soname_save_LIBS
15460 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15461 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15462 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15464 cat >>confdefs.h <<_ACEOF
15465 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15466 _ACEOF
15470 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15471 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15472 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15473 echo $ECHO_N "(cached) $ECHO_C" >&6
15474 else
15475 ac_get_soname_save_LIBS=$LIBS
15476 LIBS="-lncurses $LIBS"
15477 cat >conftest.$ac_ext <<_ACEOF
15478 /* confdefs.h. */
15479 _ACEOF
15480 cat confdefs.h >>conftest.$ac_ext
15481 cat >>conftest.$ac_ext <<_ACEOF
15482 /* end confdefs.h. */
15484 /* Override any GCC internal prototype to avoid an error.
15485 Use char because int might match the return type of a GCC
15486 builtin and then its argument prototype would still apply. */
15487 #ifdef __cplusplus
15488 extern "C"
15489 #endif
15490 char waddch ();
15492 main ()
15494 return waddch ();
15496 return 0;
15498 _ACEOF
15499 rm -f conftest.$ac_objext conftest$ac_exeext
15500 if { (ac_try="$ac_link"
15501 case "(($ac_try" in
15502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15503 *) ac_try_echo=$ac_try;;
15504 esac
15505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15506 (eval "$ac_link") 2>conftest.er1
15507 ac_status=$?
15508 grep -v '^ *+' conftest.er1 >conftest.err
15509 rm -f conftest.er1
15510 cat conftest.err >&5
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); } && {
15513 test -z "$ac_c_werror_flag" ||
15514 test ! -s conftest.err
15515 } && test -s conftest$ac_exeext &&
15516 $as_test_x conftest$ac_exeext; then
15517 case "$LIBEXT" in
15518 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'` ;;
15519 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15520 esac
15521 if test "x$ac_cv_lib_soname_ncurses" = "x"
15522 then
15523 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15525 else
15526 echo "$as_me: failed program was:" >&5
15527 sed 's/^/| /' conftest.$ac_ext >&5
15529 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15533 conftest$ac_exeext conftest.$ac_ext
15534 LIBS=$ac_get_soname_save_LIBS
15536 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15537 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15538 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15540 cat >>confdefs.h <<_ACEOF
15541 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15542 _ACEOF
15546 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15547 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15548 if test "${ac_cv_lib_soname_curses+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 else
15551 ac_get_soname_save_LIBS=$LIBS
15552 LIBS="-lcurses $LIBS"
15553 cat >conftest.$ac_ext <<_ACEOF
15554 /* confdefs.h. */
15555 _ACEOF
15556 cat confdefs.h >>conftest.$ac_ext
15557 cat >>conftest.$ac_ext <<_ACEOF
15558 /* end confdefs.h. */
15560 /* Override any GCC internal prototype to avoid an error.
15561 Use char because int might match the return type of a GCC
15562 builtin and then its argument prototype would still apply. */
15563 #ifdef __cplusplus
15564 extern "C"
15565 #endif
15566 char waddch ();
15568 main ()
15570 return waddch ();
15572 return 0;
15574 _ACEOF
15575 rm -f conftest.$ac_objext conftest$ac_exeext
15576 if { (ac_try="$ac_link"
15577 case "(($ac_try" in
15578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15579 *) ac_try_echo=$ac_try;;
15580 esac
15581 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15582 (eval "$ac_link") 2>conftest.er1
15583 ac_status=$?
15584 grep -v '^ *+' conftest.er1 >conftest.err
15585 rm -f conftest.er1
15586 cat conftest.err >&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } && {
15589 test -z "$ac_c_werror_flag" ||
15590 test ! -s conftest.err
15591 } && test -s conftest$ac_exeext &&
15592 $as_test_x conftest$ac_exeext; then
15593 case "$LIBEXT" in
15594 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'` ;;
15595 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15596 esac
15597 if test "x$ac_cv_lib_soname_curses" = "x"
15598 then
15599 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15601 else
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15605 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15609 conftest$ac_exeext conftest.$ac_ext
15610 LIBS=$ac_get_soname_save_LIBS
15612 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15613 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15614 if test "${ac_cv_lib_soname_curses+set}" = set; then
15616 cat >>confdefs.h <<_ACEOF
15617 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15618 _ACEOF
15622 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15623 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15624 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15625 echo $ECHO_N "(cached) $ECHO_C" >&6
15626 else
15627 ac_get_soname_save_LIBS=$LIBS
15628 LIBS="-ljpeg $LIBS"
15629 cat >conftest.$ac_ext <<_ACEOF
15630 /* confdefs.h. */
15631 _ACEOF
15632 cat confdefs.h >>conftest.$ac_ext
15633 cat >>conftest.$ac_ext <<_ACEOF
15634 /* end confdefs.h. */
15636 /* Override any GCC internal prototype to avoid an error.
15637 Use char because int might match the return type of a GCC
15638 builtin and then its argument prototype would still apply. */
15639 #ifdef __cplusplus
15640 extern "C"
15641 #endif
15642 char jpeg_start_decompress ();
15644 main ()
15646 return jpeg_start_decompress ();
15648 return 0;
15650 _ACEOF
15651 rm -f conftest.$ac_objext conftest$ac_exeext
15652 if { (ac_try="$ac_link"
15653 case "(($ac_try" in
15654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15655 *) ac_try_echo=$ac_try;;
15656 esac
15657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15658 (eval "$ac_link") 2>conftest.er1
15659 ac_status=$?
15660 grep -v '^ *+' conftest.er1 >conftest.err
15661 rm -f conftest.er1
15662 cat conftest.err >&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); } && {
15665 test -z "$ac_c_werror_flag" ||
15666 test ! -s conftest.err
15667 } && test -s conftest$ac_exeext &&
15668 $as_test_x conftest$ac_exeext; then
15669 case "$LIBEXT" in
15670 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'` ;;
15671 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15672 esac
15673 if test "x$ac_cv_lib_soname_jpeg" = "x"
15674 then
15675 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15677 else
15678 echo "$as_me: failed program was:" >&5
15679 sed 's/^/| /' conftest.$ac_ext >&5
15681 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15685 conftest$ac_exeext conftest.$ac_ext
15686 LIBS=$ac_get_soname_save_LIBS
15688 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15689 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15690 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15692 cat >>confdefs.h <<_ACEOF
15693 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15694 _ACEOF
15698 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15699 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15700 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15701 echo $ECHO_N "(cached) $ECHO_C" >&6
15702 else
15703 ac_get_soname_save_LIBS=$LIBS
15704 LIBS="-lcapi20 $LIBS"
15705 cat >conftest.$ac_ext <<_ACEOF
15706 /* confdefs.h. */
15707 _ACEOF
15708 cat confdefs.h >>conftest.$ac_ext
15709 cat >>conftest.$ac_ext <<_ACEOF
15710 /* end confdefs.h. */
15712 /* Override any GCC internal prototype to avoid an error.
15713 Use char because int might match the return type of a GCC
15714 builtin and then its argument prototype would still apply. */
15715 #ifdef __cplusplus
15716 extern "C"
15717 #endif
15718 char capi20_isinstalled ();
15720 main ()
15722 return capi20_isinstalled ();
15724 return 0;
15726 _ACEOF
15727 rm -f conftest.$ac_objext conftest$ac_exeext
15728 if { (ac_try="$ac_link"
15729 case "(($ac_try" in
15730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15732 esac
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_link") 2>conftest.er1
15735 ac_status=$?
15736 grep -v '^ *+' conftest.er1 >conftest.err
15737 rm -f conftest.er1
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest$ac_exeext &&
15744 $as_test_x conftest$ac_exeext; then
15745 case "$LIBEXT" in
15746 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'` ;;
15747 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15748 esac
15749 if test "x$ac_cv_lib_soname_capi20" = "x"
15750 then
15751 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15753 else
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.$ac_ext >&5
15757 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15761 conftest$ac_exeext conftest.$ac_ext
15762 LIBS=$ac_get_soname_save_LIBS
15764 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15765 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15766 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15768 cat >>confdefs.h <<_ACEOF
15769 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15770 _ACEOF
15849 for ac_func in \
15850 _pclose \
15851 _popen \
15852 _snprintf \
15853 _spawnvp \
15854 _stricmp \
15855 _strnicmp \
15856 _vsnprintf \
15857 asctime_r \
15858 chsize \
15859 clone \
15860 connect \
15861 dlopen \
15862 epoll_create \
15863 ffs \
15864 finite \
15865 fork \
15866 fpclass \
15867 fstatfs \
15868 fstatvfs \
15869 ftruncate \
15870 futimes \
15871 futimesat \
15872 getaddrinfo \
15873 getdirentries \
15874 gethostbyname \
15875 getnameinfo \
15876 getnetbyname \
15877 getopt_long \
15878 getpagesize \
15879 getprotobyname \
15880 getprotobynumber \
15881 getpwuid \
15882 getservbyport \
15883 gettid \
15884 gettimeofday \
15885 getuid \
15886 inet_aton \
15887 inet_network \
15888 kqueue \
15889 lstat \
15890 memmove \
15891 mmap \
15892 pclose \
15893 poll \
15894 popen \
15895 prctl \
15896 pread \
15897 pwrite \
15898 readlink \
15899 rfork \
15900 sched_yield \
15901 select \
15902 sendmsg \
15903 setrlimit \
15904 settimeofday \
15905 sigaltstack \
15906 sigprocmask \
15907 snprintf \
15908 spawnvp \
15909 statfs \
15910 statvfs \
15911 strcasecmp \
15912 strerror \
15913 strncasecmp \
15914 strtold \
15915 tcgetattr \
15916 timegm \
15917 usleep \
15918 vsnprintf \
15919 wait4 \
15920 waitpid \
15923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15924 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15926 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15928 else
15929 cat >conftest.$ac_ext <<_ACEOF
15930 /* confdefs.h. */
15931 _ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15937 #define $ac_func innocuous_$ac_func
15939 /* System header to define __stub macros and hopefully few prototypes,
15940 which can conflict with char $ac_func (); below.
15941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15942 <limits.h> exists even on freestanding compilers. */
15944 #ifdef __STDC__
15945 # include <limits.h>
15946 #else
15947 # include <assert.h>
15948 #endif
15950 #undef $ac_func
15952 /* Override any GCC internal prototype to avoid an error.
15953 Use char because int might match the return type of a GCC
15954 builtin and then its argument prototype would still apply. */
15955 #ifdef __cplusplus
15956 extern "C"
15957 #endif
15958 char $ac_func ();
15959 /* The GNU C library defines this for functions which it implements
15960 to always fail with ENOSYS. Some functions are actually named
15961 something starting with __ and the normal name is an alias. */
15962 #if defined __stub_$ac_func || defined __stub___$ac_func
15963 choke me
15964 #endif
15967 main ()
15969 return $ac_func ();
15971 return 0;
15973 _ACEOF
15974 rm -f conftest.$ac_objext conftest$ac_exeext
15975 if { (ac_try="$ac_link"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15979 esac
15980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15981 (eval "$ac_link") 2>conftest.er1
15982 ac_status=$?
15983 grep -v '^ *+' conftest.er1 >conftest.err
15984 rm -f conftest.er1
15985 cat conftest.err >&5
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); } && {
15988 test -z "$ac_c_werror_flag" ||
15989 test ! -s conftest.err
15990 } && test -s conftest$ac_exeext &&
15991 $as_test_x conftest$ac_exeext; then
15992 eval "$as_ac_var=yes"
15993 else
15994 echo "$as_me: failed program was:" >&5
15995 sed 's/^/| /' conftest.$ac_ext >&5
15997 eval "$as_ac_var=no"
16000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16001 conftest$ac_exeext conftest.$ac_ext
16003 ac_res=`eval echo '${'$as_ac_var'}'`
16004 { echo "$as_me:$LINENO: result: $ac_res" >&5
16005 echo "${ECHO_T}$ac_res" >&6; }
16006 if test `eval echo '${'$as_ac_var'}'` = yes; then
16007 cat >>confdefs.h <<_ACEOF
16008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16009 _ACEOF
16012 done
16015 if test "$ac_cv_func_dlopen" = no
16016 then
16017 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16018 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16019 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16020 echo $ECHO_N "(cached) $ECHO_C" >&6
16021 else
16022 ac_check_lib_save_LIBS=$LIBS
16023 LIBS="-ldl $LIBS"
16024 cat >conftest.$ac_ext <<_ACEOF
16025 /* confdefs.h. */
16026 _ACEOF
16027 cat confdefs.h >>conftest.$ac_ext
16028 cat >>conftest.$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16031 /* Override any GCC internal prototype to avoid an error.
16032 Use char because int might match the return type of a GCC
16033 builtin and then its argument prototype would still apply. */
16034 #ifdef __cplusplus
16035 extern "C"
16036 #endif
16037 char dlopen ();
16039 main ()
16041 return dlopen ();
16043 return 0;
16045 _ACEOF
16046 rm -f conftest.$ac_objext conftest$ac_exeext
16047 if { (ac_try="$ac_link"
16048 case "(($ac_try" in
16049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16050 *) ac_try_echo=$ac_try;;
16051 esac
16052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16053 (eval "$ac_link") 2>conftest.er1
16054 ac_status=$?
16055 grep -v '^ *+' conftest.er1 >conftest.err
16056 rm -f conftest.er1
16057 cat conftest.err >&5
16058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059 (exit $ac_status); } && {
16060 test -z "$ac_c_werror_flag" ||
16061 test ! -s conftest.err
16062 } && test -s conftest$ac_exeext &&
16063 $as_test_x conftest$ac_exeext; then
16064 ac_cv_lib_dl_dlopen=yes
16065 else
16066 echo "$as_me: failed program was:" >&5
16067 sed 's/^/| /' conftest.$ac_ext >&5
16069 ac_cv_lib_dl_dlopen=no
16072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16073 conftest$ac_exeext conftest.$ac_ext
16074 LIBS=$ac_check_lib_save_LIBS
16076 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16077 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16078 if test $ac_cv_lib_dl_dlopen = yes; then
16079 cat >>confdefs.h <<\_ACEOF
16080 #define HAVE_DLOPEN 1
16081 _ACEOF
16082 LIBDL="-ldl"
16087 ac_wine_check_funcs_save_LIBS="$LIBS"
16088 LIBS="$LIBS $LIBDL"
16090 for ac_func in dladdr
16092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16093 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16095 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16096 echo $ECHO_N "(cached) $ECHO_C" >&6
16097 else
16098 cat >conftest.$ac_ext <<_ACEOF
16099 /* confdefs.h. */
16100 _ACEOF
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16106 #define $ac_func innocuous_$ac_func
16108 /* System header to define __stub macros and hopefully few prototypes,
16109 which can conflict with char $ac_func (); below.
16110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16111 <limits.h> exists even on freestanding compilers. */
16113 #ifdef __STDC__
16114 # include <limits.h>
16115 #else
16116 # include <assert.h>
16117 #endif
16119 #undef $ac_func
16121 /* Override any GCC internal prototype to avoid an error.
16122 Use char because int might match the return type of a GCC
16123 builtin and then its argument prototype would still apply. */
16124 #ifdef __cplusplus
16125 extern "C"
16126 #endif
16127 char $ac_func ();
16128 /* The GNU C library defines this for functions which it implements
16129 to always fail with ENOSYS. Some functions are actually named
16130 something starting with __ and the normal name is an alias. */
16131 #if defined __stub_$ac_func || defined __stub___$ac_func
16132 choke me
16133 #endif
16136 main ()
16138 return $ac_func ();
16140 return 0;
16142 _ACEOF
16143 rm -f conftest.$ac_objext conftest$ac_exeext
16144 if { (ac_try="$ac_link"
16145 case "(($ac_try" in
16146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16147 *) ac_try_echo=$ac_try;;
16148 esac
16149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16150 (eval "$ac_link") 2>conftest.er1
16151 ac_status=$?
16152 grep -v '^ *+' conftest.er1 >conftest.err
16153 rm -f conftest.er1
16154 cat conftest.err >&5
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); } && {
16157 test -z "$ac_c_werror_flag" ||
16158 test ! -s conftest.err
16159 } && test -s conftest$ac_exeext &&
16160 $as_test_x conftest$ac_exeext; then
16161 eval "$as_ac_var=yes"
16162 else
16163 echo "$as_me: failed program was:" >&5
16164 sed 's/^/| /' conftest.$ac_ext >&5
16166 eval "$as_ac_var=no"
16169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16170 conftest$ac_exeext conftest.$ac_ext
16172 ac_res=`eval echo '${'$as_ac_var'}'`
16173 { echo "$as_me:$LINENO: result: $ac_res" >&5
16174 echo "${ECHO_T}$ac_res" >&6; }
16175 if test `eval echo '${'$as_ac_var'}'` = yes; then
16176 cat >>confdefs.h <<_ACEOF
16177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16178 _ACEOF
16181 done
16183 LIBS="$ac_wine_check_funcs_save_LIBS"
16185 if test "$ac_cv_func_poll" = no
16186 then
16187 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16188 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16189 if test "${ac_cv_lib_poll_poll+set}" = set; then
16190 echo $ECHO_N "(cached) $ECHO_C" >&6
16191 else
16192 ac_check_lib_save_LIBS=$LIBS
16193 LIBS="-lpoll $LIBS"
16194 cat >conftest.$ac_ext <<_ACEOF
16195 /* confdefs.h. */
16196 _ACEOF
16197 cat confdefs.h >>conftest.$ac_ext
16198 cat >>conftest.$ac_ext <<_ACEOF
16199 /* end confdefs.h. */
16201 /* Override any GCC internal prototype to avoid an error.
16202 Use char because int might match the return type of a GCC
16203 builtin and then its argument prototype would still apply. */
16204 #ifdef __cplusplus
16205 extern "C"
16206 #endif
16207 char poll ();
16209 main ()
16211 return poll ();
16213 return 0;
16215 _ACEOF
16216 rm -f conftest.$ac_objext conftest$ac_exeext
16217 if { (ac_try="$ac_link"
16218 case "(($ac_try" in
16219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16220 *) ac_try_echo=$ac_try;;
16221 esac
16222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16223 (eval "$ac_link") 2>conftest.er1
16224 ac_status=$?
16225 grep -v '^ *+' conftest.er1 >conftest.err
16226 rm -f conftest.er1
16227 cat conftest.err >&5
16228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16229 (exit $ac_status); } && {
16230 test -z "$ac_c_werror_flag" ||
16231 test ! -s conftest.err
16232 } && test -s conftest$ac_exeext &&
16233 $as_test_x conftest$ac_exeext; then
16234 ac_cv_lib_poll_poll=yes
16235 else
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16239 ac_cv_lib_poll_poll=no
16242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16243 conftest$ac_exeext conftest.$ac_ext
16244 LIBS=$ac_check_lib_save_LIBS
16246 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16247 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16248 if test $ac_cv_lib_poll_poll = yes; then
16249 cat >>confdefs.h <<\_ACEOF
16250 #define HAVE_POLL 1
16251 _ACEOF
16252 LIBPOLL="-lpoll"
16258 if test "$ac_cv_func_gethostbyname" = no
16259 then
16261 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16262 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16263 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16264 echo $ECHO_N "(cached) $ECHO_C" >&6
16265 else
16266 ac_check_lib_save_LIBS=$LIBS
16267 LIBS="-lnsl $LIBS"
16268 cat >conftest.$ac_ext <<_ACEOF
16269 /* confdefs.h. */
16270 _ACEOF
16271 cat confdefs.h >>conftest.$ac_ext
16272 cat >>conftest.$ac_ext <<_ACEOF
16273 /* end confdefs.h. */
16275 /* Override any GCC internal prototype to avoid an error.
16276 Use char because int might match the return type of a GCC
16277 builtin and then its argument prototype would still apply. */
16278 #ifdef __cplusplus
16279 extern "C"
16280 #endif
16281 char gethostbyname ();
16283 main ()
16285 return gethostbyname ();
16287 return 0;
16289 _ACEOF
16290 rm -f conftest.$ac_objext conftest$ac_exeext
16291 if { (ac_try="$ac_link"
16292 case "(($ac_try" in
16293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16294 *) ac_try_echo=$ac_try;;
16295 esac
16296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16297 (eval "$ac_link") 2>conftest.er1
16298 ac_status=$?
16299 grep -v '^ *+' conftest.er1 >conftest.err
16300 rm -f conftest.er1
16301 cat conftest.err >&5
16302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16303 (exit $ac_status); } && {
16304 test -z "$ac_c_werror_flag" ||
16305 test ! -s conftest.err
16306 } && test -s conftest$ac_exeext &&
16307 $as_test_x conftest$ac_exeext; then
16308 ac_cv_lib_nsl_gethostbyname=yes
16309 else
16310 echo "$as_me: failed program was:" >&5
16311 sed 's/^/| /' conftest.$ac_ext >&5
16313 ac_cv_lib_nsl_gethostbyname=no
16316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16317 conftest$ac_exeext conftest.$ac_ext
16318 LIBS=$ac_check_lib_save_LIBS
16320 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16321 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16322 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_LIBNSL 1
16325 _ACEOF
16327 LIBS="-lnsl $LIBS"
16333 if test "$ac_cv_func_connect" = no
16334 then
16336 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16337 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16338 if test "${ac_cv_lib_socket_connect+set}" = set; then
16339 echo $ECHO_N "(cached) $ECHO_C" >&6
16340 else
16341 ac_check_lib_save_LIBS=$LIBS
16342 LIBS="-lsocket $LIBS"
16343 cat >conftest.$ac_ext <<_ACEOF
16344 /* confdefs.h. */
16345 _ACEOF
16346 cat confdefs.h >>conftest.$ac_ext
16347 cat >>conftest.$ac_ext <<_ACEOF
16348 /* end confdefs.h. */
16350 /* Override any GCC internal prototype to avoid an error.
16351 Use char because int might match the return type of a GCC
16352 builtin and then its argument prototype would still apply. */
16353 #ifdef __cplusplus
16354 extern "C"
16355 #endif
16356 char connect ();
16358 main ()
16360 return connect ();
16362 return 0;
16364 _ACEOF
16365 rm -f conftest.$ac_objext conftest$ac_exeext
16366 if { (ac_try="$ac_link"
16367 case "(($ac_try" in
16368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16369 *) ac_try_echo=$ac_try;;
16370 esac
16371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16372 (eval "$ac_link") 2>conftest.er1
16373 ac_status=$?
16374 grep -v '^ *+' conftest.er1 >conftest.err
16375 rm -f conftest.er1
16376 cat conftest.err >&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); } && {
16379 test -z "$ac_c_werror_flag" ||
16380 test ! -s conftest.err
16381 } && test -s conftest$ac_exeext &&
16382 $as_test_x conftest$ac_exeext; then
16383 ac_cv_lib_socket_connect=yes
16384 else
16385 echo "$as_me: failed program was:" >&5
16386 sed 's/^/| /' conftest.$ac_ext >&5
16388 ac_cv_lib_socket_connect=no
16391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16392 conftest$ac_exeext conftest.$ac_ext
16393 LIBS=$ac_check_lib_save_LIBS
16395 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16396 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16397 if test $ac_cv_lib_socket_connect = yes; then
16398 cat >>confdefs.h <<_ACEOF
16399 #define HAVE_LIBSOCKET 1
16400 _ACEOF
16402 LIBS="-lsocket $LIBS"
16408 if test "$ac_cv_func_inet_aton" = no
16409 then
16411 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16412 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16413 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16414 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 else
16416 ac_check_lib_save_LIBS=$LIBS
16417 LIBS="-lresolv $LIBS"
16418 cat >conftest.$ac_ext <<_ACEOF
16419 /* confdefs.h. */
16420 _ACEOF
16421 cat confdefs.h >>conftest.$ac_ext
16422 cat >>conftest.$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16425 /* Override any GCC internal prototype to avoid an error.
16426 Use char because int might match the return type of a GCC
16427 builtin and then its argument prototype would still apply. */
16428 #ifdef __cplusplus
16429 extern "C"
16430 #endif
16431 char inet_aton ();
16433 main ()
16435 return inet_aton ();
16437 return 0;
16439 _ACEOF
16440 rm -f conftest.$ac_objext conftest$ac_exeext
16441 if { (ac_try="$ac_link"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16445 esac
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_link") 2>conftest.er1
16448 ac_status=$?
16449 grep -v '^ *+' conftest.er1 >conftest.err
16450 rm -f conftest.er1
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_c_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest$ac_exeext &&
16457 $as_test_x conftest$ac_exeext; then
16458 ac_cv_lib_resolv_inet_aton=yes
16459 else
16460 echo "$as_me: failed program was:" >&5
16461 sed 's/^/| /' conftest.$ac_ext >&5
16463 ac_cv_lib_resolv_inet_aton=no
16466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16467 conftest$ac_exeext conftest.$ac_ext
16468 LIBS=$ac_check_lib_save_LIBS
16470 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16471 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16472 if test $ac_cv_lib_resolv_inet_aton = yes; then
16473 cat >>confdefs.h <<_ACEOF
16474 #define HAVE_LIBRESOLV 1
16475 _ACEOF
16477 LIBS="-lresolv $LIBS"
16484 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16485 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16486 if test "${ac_cv_c_const+set}" = set; then
16487 echo $ECHO_N "(cached) $ECHO_C" >&6
16488 else
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16497 main ()
16499 /* FIXME: Include the comments suggested by Paul. */
16500 #ifndef __cplusplus
16501 /* Ultrix mips cc rejects this. */
16502 typedef int charset[2];
16503 const charset cs;
16504 /* SunOS 4.1.1 cc rejects this. */
16505 char const *const *pcpcc;
16506 char **ppc;
16507 /* NEC SVR4.0.2 mips cc rejects this. */
16508 struct point {int x, y;};
16509 static struct point const zero = {0,0};
16510 /* AIX XL C 1.02.0.0 rejects this.
16511 It does not let you subtract one const X* pointer from another in
16512 an arm of an if-expression whose if-part is not a constant
16513 expression */
16514 const char *g = "string";
16515 pcpcc = &g + (g ? g-g : 0);
16516 /* HPUX 7.0 cc rejects these. */
16517 ++pcpcc;
16518 ppc = (char**) pcpcc;
16519 pcpcc = (char const *const *) ppc;
16520 { /* SCO 3.2v4 cc rejects this. */
16521 char *t;
16522 char const *s = 0 ? (char *) 0 : (char const *) 0;
16524 *t++ = 0;
16525 if (s) return 0;
16527 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16528 int x[] = {25, 17};
16529 const int *foo = &x[0];
16530 ++foo;
16532 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16533 typedef const int *iptr;
16534 iptr p = 0;
16535 ++p;
16537 { /* AIX XL C 1.02.0.0 rejects this saying
16538 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16539 struct s { int j; const int *ap[3]; };
16540 struct s *b; b->j = 5;
16542 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16543 const int foo = 10;
16544 if (!foo) return 0;
16546 return !cs[0] && !zero.x;
16547 #endif
16550 return 0;
16552 _ACEOF
16553 rm -f conftest.$ac_objext
16554 if { (ac_try="$ac_compile"
16555 case "(($ac_try" in
16556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16557 *) ac_try_echo=$ac_try;;
16558 esac
16559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16560 (eval "$ac_compile") 2>conftest.er1
16561 ac_status=$?
16562 grep -v '^ *+' conftest.er1 >conftest.err
16563 rm -f conftest.er1
16564 cat conftest.err >&5
16565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); } && {
16567 test -z "$ac_c_werror_flag" ||
16568 test ! -s conftest.err
16569 } && test -s conftest.$ac_objext; then
16570 ac_cv_c_const=yes
16571 else
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.$ac_ext >&5
16575 ac_cv_c_const=no
16578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16580 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16581 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16582 if test $ac_cv_c_const = no; then
16584 cat >>confdefs.h <<\_ACEOF
16585 #define const
16586 _ACEOF
16590 { echo "$as_me:$LINENO: checking for inline" >&5
16591 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16592 if test "${ac_cv_c_inline+set}" = set; then
16593 echo $ECHO_N "(cached) $ECHO_C" >&6
16594 else
16595 ac_cv_c_inline=no
16596 for ac_kw in inline __inline__ __inline; do
16597 cat >conftest.$ac_ext <<_ACEOF
16598 /* confdefs.h. */
16599 _ACEOF
16600 cat confdefs.h >>conftest.$ac_ext
16601 cat >>conftest.$ac_ext <<_ACEOF
16602 /* end confdefs.h. */
16603 #ifndef __cplusplus
16604 typedef int foo_t;
16605 static $ac_kw foo_t static_foo () {return 0; }
16606 $ac_kw foo_t foo () {return 0; }
16607 #endif
16609 _ACEOF
16610 rm -f conftest.$ac_objext
16611 if { (ac_try="$ac_compile"
16612 case "(($ac_try" in
16613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16615 esac
16616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
16627 ac_cv_c_inline=$ac_kw
16628 else
16629 echo "$as_me: failed program was:" >&5
16630 sed 's/^/| /' conftest.$ac_ext >&5
16635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16636 test "$ac_cv_c_inline" != no && break
16637 done
16640 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16641 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16644 case $ac_cv_c_inline in
16645 inline | yes) ;;
16647 case $ac_cv_c_inline in
16648 no) ac_val=;;
16649 *) ac_val=$ac_cv_c_inline;;
16650 esac
16651 cat >>confdefs.h <<_ACEOF
16652 #ifndef __cplusplus
16653 #define inline $ac_val
16654 #endif
16655 _ACEOF
16657 esac
16659 { echo "$as_me:$LINENO: checking for mode_t" >&5
16660 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16661 if test "${ac_cv_type_mode_t+set}" = set; then
16662 echo $ECHO_N "(cached) $ECHO_C" >&6
16663 else
16664 cat >conftest.$ac_ext <<_ACEOF
16665 /* confdefs.h. */
16666 _ACEOF
16667 cat confdefs.h >>conftest.$ac_ext
16668 cat >>conftest.$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16670 $ac_includes_default
16671 typedef mode_t ac__type_new_;
16673 main ()
16675 if ((ac__type_new_ *) 0)
16676 return 0;
16677 if (sizeof (ac__type_new_))
16678 return 0;
16680 return 0;
16682 _ACEOF
16683 rm -f conftest.$ac_objext
16684 if { (ac_try="$ac_compile"
16685 case "(($ac_try" in
16686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16687 *) ac_try_echo=$ac_try;;
16688 esac
16689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16690 (eval "$ac_compile") 2>conftest.er1
16691 ac_status=$?
16692 grep -v '^ *+' conftest.er1 >conftest.err
16693 rm -f conftest.er1
16694 cat conftest.err >&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } && {
16697 test -z "$ac_c_werror_flag" ||
16698 test ! -s conftest.err
16699 } && test -s conftest.$ac_objext; then
16700 ac_cv_type_mode_t=yes
16701 else
16702 echo "$as_me: failed program was:" >&5
16703 sed 's/^/| /' conftest.$ac_ext >&5
16705 ac_cv_type_mode_t=no
16708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16710 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16711 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16712 if test $ac_cv_type_mode_t = yes; then
16714 cat >>confdefs.h <<_ACEOF
16715 #define HAVE_MODE_T 1
16716 _ACEOF
16720 { echo "$as_me:$LINENO: checking for off_t" >&5
16721 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16722 if test "${ac_cv_type_off_t+set}" = set; then
16723 echo $ECHO_N "(cached) $ECHO_C" >&6
16724 else
16725 cat >conftest.$ac_ext <<_ACEOF
16726 /* confdefs.h. */
16727 _ACEOF
16728 cat confdefs.h >>conftest.$ac_ext
16729 cat >>conftest.$ac_ext <<_ACEOF
16730 /* end confdefs.h. */
16731 $ac_includes_default
16732 typedef off_t ac__type_new_;
16734 main ()
16736 if ((ac__type_new_ *) 0)
16737 return 0;
16738 if (sizeof (ac__type_new_))
16739 return 0;
16741 return 0;
16743 _ACEOF
16744 rm -f conftest.$ac_objext
16745 if { (ac_try="$ac_compile"
16746 case "(($ac_try" in
16747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16748 *) ac_try_echo=$ac_try;;
16749 esac
16750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16751 (eval "$ac_compile") 2>conftest.er1
16752 ac_status=$?
16753 grep -v '^ *+' conftest.er1 >conftest.err
16754 rm -f conftest.er1
16755 cat conftest.err >&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); } && {
16758 test -z "$ac_c_werror_flag" ||
16759 test ! -s conftest.err
16760 } && test -s conftest.$ac_objext; then
16761 ac_cv_type_off_t=yes
16762 else
16763 echo "$as_me: failed program was:" >&5
16764 sed 's/^/| /' conftest.$ac_ext >&5
16766 ac_cv_type_off_t=no
16769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16771 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16772 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16773 if test $ac_cv_type_off_t = yes; then
16775 cat >>confdefs.h <<_ACEOF
16776 #define HAVE_OFF_T 1
16777 _ACEOF
16781 { echo "$as_me:$LINENO: checking for pid_t" >&5
16782 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16783 if test "${ac_cv_type_pid_t+set}" = set; then
16784 echo $ECHO_N "(cached) $ECHO_C" >&6
16785 else
16786 cat >conftest.$ac_ext <<_ACEOF
16787 /* confdefs.h. */
16788 _ACEOF
16789 cat confdefs.h >>conftest.$ac_ext
16790 cat >>conftest.$ac_ext <<_ACEOF
16791 /* end confdefs.h. */
16792 $ac_includes_default
16793 typedef pid_t ac__type_new_;
16795 main ()
16797 if ((ac__type_new_ *) 0)
16798 return 0;
16799 if (sizeof (ac__type_new_))
16800 return 0;
16802 return 0;
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (ac_try="$ac_compile"
16807 case "(($ac_try" in
16808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16809 *) ac_try_echo=$ac_try;;
16810 esac
16811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16812 (eval "$ac_compile") 2>conftest.er1
16813 ac_status=$?
16814 grep -v '^ *+' conftest.er1 >conftest.err
16815 rm -f conftest.er1
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } && {
16819 test -z "$ac_c_werror_flag" ||
16820 test ! -s conftest.err
16821 } && test -s conftest.$ac_objext; then
16822 ac_cv_type_pid_t=yes
16823 else
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16827 ac_cv_type_pid_t=no
16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16832 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16833 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16834 if test $ac_cv_type_pid_t = yes; then
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_PID_T 1
16838 _ACEOF
16842 { echo "$as_me:$LINENO: checking for size_t" >&5
16843 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16844 if test "${ac_cv_type_size_t+set}" = set; then
16845 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 else
16847 cat >conftest.$ac_ext <<_ACEOF
16848 /* confdefs.h. */
16849 _ACEOF
16850 cat confdefs.h >>conftest.$ac_ext
16851 cat >>conftest.$ac_ext <<_ACEOF
16852 /* end confdefs.h. */
16853 $ac_includes_default
16854 typedef size_t ac__type_new_;
16856 main ()
16858 if ((ac__type_new_ *) 0)
16859 return 0;
16860 if (sizeof (ac__type_new_))
16861 return 0;
16863 return 0;
16865 _ACEOF
16866 rm -f conftest.$ac_objext
16867 if { (ac_try="$ac_compile"
16868 case "(($ac_try" in
16869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16870 *) ac_try_echo=$ac_try;;
16871 esac
16872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16873 (eval "$ac_compile") 2>conftest.er1
16874 ac_status=$?
16875 grep -v '^ *+' conftest.er1 >conftest.err
16876 rm -f conftest.er1
16877 cat conftest.err >&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } && {
16880 test -z "$ac_c_werror_flag" ||
16881 test ! -s conftest.err
16882 } && test -s conftest.$ac_objext; then
16883 ac_cv_type_size_t=yes
16884 else
16885 echo "$as_me: failed program was:" >&5
16886 sed 's/^/| /' conftest.$ac_ext >&5
16888 ac_cv_type_size_t=no
16891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16893 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16894 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16895 if test $ac_cv_type_size_t = yes; then
16897 cat >>confdefs.h <<_ACEOF
16898 #define HAVE_SIZE_T 1
16899 _ACEOF
16903 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16904 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16905 if test "${ac_cv_type_ssize_t+set}" = set; then
16906 echo $ECHO_N "(cached) $ECHO_C" >&6
16907 else
16908 cat >conftest.$ac_ext <<_ACEOF
16909 /* confdefs.h. */
16910 _ACEOF
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
16913 /* end confdefs.h. */
16914 $ac_includes_default
16915 typedef ssize_t ac__type_new_;
16917 main ()
16919 if ((ac__type_new_ *) 0)
16920 return 0;
16921 if (sizeof (ac__type_new_))
16922 return 0;
16924 return 0;
16926 _ACEOF
16927 rm -f conftest.$ac_objext
16928 if { (ac_try="$ac_compile"
16929 case "(($ac_try" in
16930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16931 *) ac_try_echo=$ac_try;;
16932 esac
16933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16934 (eval "$ac_compile") 2>conftest.er1
16935 ac_status=$?
16936 grep -v '^ *+' conftest.er1 >conftest.err
16937 rm -f conftest.er1
16938 cat conftest.err >&5
16939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16940 (exit $ac_status); } && {
16941 test -z "$ac_c_werror_flag" ||
16942 test ! -s conftest.err
16943 } && test -s conftest.$ac_objext; then
16944 ac_cv_type_ssize_t=yes
16945 else
16946 echo "$as_me: failed program was:" >&5
16947 sed 's/^/| /' conftest.$ac_ext >&5
16949 ac_cv_type_ssize_t=no
16952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16955 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16956 if test $ac_cv_type_ssize_t = yes; then
16958 cat >>confdefs.h <<_ACEOF
16959 #define HAVE_SSIZE_T 1
16960 _ACEOF
16964 { echo "$as_me:$LINENO: checking for long long" >&5
16965 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16966 if test "${ac_cv_type_long_long+set}" = set; then
16967 echo $ECHO_N "(cached) $ECHO_C" >&6
16968 else
16969 cat >conftest.$ac_ext <<_ACEOF
16970 /* confdefs.h. */
16971 _ACEOF
16972 cat confdefs.h >>conftest.$ac_ext
16973 cat >>conftest.$ac_ext <<_ACEOF
16974 /* end confdefs.h. */
16975 $ac_includes_default
16976 typedef long long ac__type_new_;
16978 main ()
16980 if ((ac__type_new_ *) 0)
16981 return 0;
16982 if (sizeof (ac__type_new_))
16983 return 0;
16985 return 0;
16987 _ACEOF
16988 rm -f conftest.$ac_objext
16989 if { (ac_try="$ac_compile"
16990 case "(($ac_try" in
16991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16992 *) ac_try_echo=$ac_try;;
16993 esac
16994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16995 (eval "$ac_compile") 2>conftest.er1
16996 ac_status=$?
16997 grep -v '^ *+' conftest.er1 >conftest.err
16998 rm -f conftest.er1
16999 cat conftest.err >&5
17000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17001 (exit $ac_status); } && {
17002 test -z "$ac_c_werror_flag" ||
17003 test ! -s conftest.err
17004 } && test -s conftest.$ac_objext; then
17005 ac_cv_type_long_long=yes
17006 else
17007 echo "$as_me: failed program was:" >&5
17008 sed 's/^/| /' conftest.$ac_ext >&5
17010 ac_cv_type_long_long=no
17013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17015 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17016 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17017 if test $ac_cv_type_long_long = yes; then
17019 cat >>confdefs.h <<_ACEOF
17020 #define HAVE_LONG_LONG 1
17021 _ACEOF
17025 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17026 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17027 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17028 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 else
17030 cat >conftest.$ac_ext <<_ACEOF
17031 /* confdefs.h. */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036 $ac_includes_default
17037 typedef fsblkcnt_t ac__type_new_;
17039 main ()
17041 if ((ac__type_new_ *) 0)
17042 return 0;
17043 if (sizeof (ac__type_new_))
17044 return 0;
17046 return 0;
17048 _ACEOF
17049 rm -f conftest.$ac_objext
17050 if { (ac_try="$ac_compile"
17051 case "(($ac_try" in
17052 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17053 *) ac_try_echo=$ac_try;;
17054 esac
17055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17056 (eval "$ac_compile") 2>conftest.er1
17057 ac_status=$?
17058 grep -v '^ *+' conftest.er1 >conftest.err
17059 rm -f conftest.er1
17060 cat conftest.err >&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } && {
17063 test -z "$ac_c_werror_flag" ||
17064 test ! -s conftest.err
17065 } && test -s conftest.$ac_objext; then
17066 ac_cv_type_fsblkcnt_t=yes
17067 else
17068 echo "$as_me: failed program was:" >&5
17069 sed 's/^/| /' conftest.$ac_ext >&5
17071 ac_cv_type_fsblkcnt_t=no
17074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17076 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17077 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17078 if test $ac_cv_type_fsblkcnt_t = yes; then
17080 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_FSBLKCNT_T 1
17082 _ACEOF
17086 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17087 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17088 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17089 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 else
17091 cat >conftest.$ac_ext <<_ACEOF
17092 /* confdefs.h. */
17093 _ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 $ac_includes_default
17098 typedef fsfilcnt_t ac__type_new_;
17100 main ()
17102 if ((ac__type_new_ *) 0)
17103 return 0;
17104 if (sizeof (ac__type_new_))
17105 return 0;
17107 return 0;
17109 _ACEOF
17110 rm -f conftest.$ac_objext
17111 if { (ac_try="$ac_compile"
17112 case "(($ac_try" in
17113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17114 *) ac_try_echo=$ac_try;;
17115 esac
17116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17117 (eval "$ac_compile") 2>conftest.er1
17118 ac_status=$?
17119 grep -v '^ *+' conftest.er1 >conftest.err
17120 rm -f conftest.er1
17121 cat conftest.err >&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); } && {
17124 test -z "$ac_c_werror_flag" ||
17125 test ! -s conftest.err
17126 } && test -s conftest.$ac_objext; then
17127 ac_cv_type_fsfilcnt_t=yes
17128 else
17129 echo "$as_me: failed program was:" >&5
17130 sed 's/^/| /' conftest.$ac_ext >&5
17132 ac_cv_type_fsfilcnt_t=no
17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17137 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17138 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17139 if test $ac_cv_type_fsfilcnt_t = yes; then
17141 cat >>confdefs.h <<_ACEOF
17142 #define HAVE_FSFILCNT_T 1
17143 _ACEOF
17148 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17149 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17150 if test "${ac_cv_type_sigset_t+set}" = set; then
17151 echo $ECHO_N "(cached) $ECHO_C" >&6
17152 else
17153 cat >conftest.$ac_ext <<_ACEOF
17154 /* confdefs.h. */
17155 _ACEOF
17156 cat confdefs.h >>conftest.$ac_ext
17157 cat >>conftest.$ac_ext <<_ACEOF
17158 /* end confdefs.h. */
17159 #include <signal.h>
17161 typedef sigset_t ac__type_new_;
17163 main ()
17165 if ((ac__type_new_ *) 0)
17166 return 0;
17167 if (sizeof (ac__type_new_))
17168 return 0;
17170 return 0;
17172 _ACEOF
17173 rm -f conftest.$ac_objext
17174 if { (ac_try="$ac_compile"
17175 case "(($ac_try" in
17176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17177 *) ac_try_echo=$ac_try;;
17178 esac
17179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17180 (eval "$ac_compile") 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } && {
17187 test -z "$ac_c_werror_flag" ||
17188 test ! -s conftest.err
17189 } && test -s conftest.$ac_objext; then
17190 ac_cv_type_sigset_t=yes
17191 else
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17195 ac_cv_type_sigset_t=no
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17201 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17202 if test $ac_cv_type_sigset_t = yes; then
17204 cat >>confdefs.h <<_ACEOF
17205 #define HAVE_SIGSET_T 1
17206 _ACEOF
17211 { echo "$as_me:$LINENO: checking for request_sense" >&5
17212 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17213 if test "${ac_cv_type_request_sense+set}" = set; then
17214 echo $ECHO_N "(cached) $ECHO_C" >&6
17215 else
17216 cat >conftest.$ac_ext <<_ACEOF
17217 /* confdefs.h. */
17218 _ACEOF
17219 cat confdefs.h >>conftest.$ac_ext
17220 cat >>conftest.$ac_ext <<_ACEOF
17221 /* end confdefs.h. */
17222 #include <linux/cdrom.h>
17224 typedef request_sense ac__type_new_;
17226 main ()
17228 if ((ac__type_new_ *) 0)
17229 return 0;
17230 if (sizeof (ac__type_new_))
17231 return 0;
17233 return 0;
17235 _ACEOF
17236 rm -f conftest.$ac_objext
17237 if { (ac_try="$ac_compile"
17238 case "(($ac_try" in
17239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17240 *) ac_try_echo=$ac_try;;
17241 esac
17242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17243 (eval "$ac_compile") 2>conftest.er1
17244 ac_status=$?
17245 grep -v '^ *+' conftest.er1 >conftest.err
17246 rm -f conftest.er1
17247 cat conftest.err >&5
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); } && {
17250 test -z "$ac_c_werror_flag" ||
17251 test ! -s conftest.err
17252 } && test -s conftest.$ac_objext; then
17253 ac_cv_type_request_sense=yes
17254 else
17255 echo "$as_me: failed program was:" >&5
17256 sed 's/^/| /' conftest.$ac_ext >&5
17258 ac_cv_type_request_sense=no
17261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17263 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17264 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17265 if test $ac_cv_type_request_sense = yes; then
17267 cat >>confdefs.h <<_ACEOF
17268 #define HAVE_REQUEST_SENSE 1
17269 _ACEOF
17275 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17276 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17277 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17278 echo $ECHO_N "(cached) $ECHO_C" >&6
17279 else
17280 cat >conftest.$ac_ext <<_ACEOF
17281 /* confdefs.h. */
17282 _ACEOF
17283 cat confdefs.h >>conftest.$ac_ext
17284 cat >>conftest.$ac_ext <<_ACEOF
17285 /* end confdefs.h. */
17286 #ifdef HAVE_LINUX_INPUT_H
17287 #include <linux/input.h>
17288 #endif
17291 main ()
17293 static struct ff_effect ac_aggr;
17294 if (ac_aggr.direction)
17295 return 0;
17297 return 0;
17299 _ACEOF
17300 rm -f conftest.$ac_objext
17301 if { (ac_try="$ac_compile"
17302 case "(($ac_try" in
17303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17304 *) ac_try_echo=$ac_try;;
17305 esac
17306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17307 (eval "$ac_compile") 2>conftest.er1
17308 ac_status=$?
17309 grep -v '^ *+' conftest.er1 >conftest.err
17310 rm -f conftest.er1
17311 cat conftest.err >&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); } && {
17314 test -z "$ac_c_werror_flag" ||
17315 test ! -s conftest.err
17316 } && test -s conftest.$ac_objext; then
17317 ac_cv_member_struct_ff_effect_direction=yes
17318 else
17319 echo "$as_me: failed program was:" >&5
17320 sed 's/^/| /' conftest.$ac_ext >&5
17322 cat >conftest.$ac_ext <<_ACEOF
17323 /* confdefs.h. */
17324 _ACEOF
17325 cat confdefs.h >>conftest.$ac_ext
17326 cat >>conftest.$ac_ext <<_ACEOF
17327 /* end confdefs.h. */
17328 #ifdef HAVE_LINUX_INPUT_H
17329 #include <linux/input.h>
17330 #endif
17333 main ()
17335 static struct ff_effect ac_aggr;
17336 if (sizeof ac_aggr.direction)
17337 return 0;
17339 return 0;
17341 _ACEOF
17342 rm -f conftest.$ac_objext
17343 if { (ac_try="$ac_compile"
17344 case "(($ac_try" in
17345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17346 *) ac_try_echo=$ac_try;;
17347 esac
17348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17349 (eval "$ac_compile") 2>conftest.er1
17350 ac_status=$?
17351 grep -v '^ *+' conftest.er1 >conftest.err
17352 rm -f conftest.er1
17353 cat conftest.err >&5
17354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17355 (exit $ac_status); } && {
17356 test -z "$ac_c_werror_flag" ||
17357 test ! -s conftest.err
17358 } && test -s conftest.$ac_objext; then
17359 ac_cv_member_struct_ff_effect_direction=yes
17360 else
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17364 ac_cv_member_struct_ff_effect_direction=no
17367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17372 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17373 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17374 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17376 cat >>confdefs.h <<_ACEOF
17377 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17378 _ACEOF
17384 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17385 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17386 if test "${wine_cv_have_sigaddset+set}" = set; then
17387 echo $ECHO_N "(cached) $ECHO_C" >&6
17388 else
17389 cat >conftest.$ac_ext <<_ACEOF
17390 /* confdefs.h. */
17391 _ACEOF
17392 cat confdefs.h >>conftest.$ac_ext
17393 cat >>conftest.$ac_ext <<_ACEOF
17394 /* end confdefs.h. */
17395 #include <signal.h>
17397 main ()
17399 sigset_t set; sigaddset(&set,SIGTERM);
17401 return 0;
17403 _ACEOF
17404 rm -f conftest.$ac_objext conftest$ac_exeext
17405 if { (ac_try="$ac_link"
17406 case "(($ac_try" in
17407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17408 *) ac_try_echo=$ac_try;;
17409 esac
17410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17411 (eval "$ac_link") 2>conftest.er1
17412 ac_status=$?
17413 grep -v '^ *+' conftest.er1 >conftest.err
17414 rm -f conftest.er1
17415 cat conftest.err >&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } && {
17418 test -z "$ac_c_werror_flag" ||
17419 test ! -s conftest.err
17420 } && test -s conftest$ac_exeext &&
17421 $as_test_x conftest$ac_exeext; then
17422 wine_cv_have_sigaddset=yes
17423 else
17424 echo "$as_me: failed program was:" >&5
17425 sed 's/^/| /' conftest.$ac_ext >&5
17427 wine_cv_have_sigaddset=no
17430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17431 conftest$ac_exeext conftest.$ac_ext
17433 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17434 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17435 if test "$wine_cv_have_sigaddset" = "yes"
17436 then
17438 cat >>confdefs.h <<\_ACEOF
17439 #define HAVE_SIGADDSET 1
17440 _ACEOF
17445 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17446 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17447 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17448 echo $ECHO_N "(cached) $ECHO_C" >&6
17449 else
17450 cat >conftest.$ac_ext <<_ACEOF
17451 /* confdefs.h. */
17452 _ACEOF
17453 cat confdefs.h >>conftest.$ac_ext
17454 cat >>conftest.$ac_ext <<_ACEOF
17455 /* end confdefs.h. */
17457 #include <netdb.h>
17460 main ()
17463 char *name=NULL;
17464 struct hostent he;
17465 struct hostent *result;
17466 char *buf=NULL;
17467 int bufsize=0;
17468 int res,errnr;
17469 char *addr=NULL;
17470 int addrlen=0;
17471 int addrtype=0;
17472 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17473 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17476 return 0;
17478 _ACEOF
17479 rm -f conftest.$ac_objext conftest$ac_exeext
17480 if { (ac_try="$ac_link"
17481 case "(($ac_try" in
17482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17483 *) ac_try_echo=$ac_try;;
17484 esac
17485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17486 (eval "$ac_link") 2>conftest.er1
17487 ac_status=$?
17488 grep -v '^ *+' conftest.er1 >conftest.err
17489 rm -f conftest.er1
17490 cat conftest.err >&5
17491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492 (exit $ac_status); } && {
17493 test -z "$ac_c_werror_flag" ||
17494 test ! -s conftest.err
17495 } && test -s conftest$ac_exeext &&
17496 $as_test_x conftest$ac_exeext; then
17497 wine_cv_linux_gethostbyname_r_6=yes
17498 else
17499 echo "$as_me: failed program was:" >&5
17500 sed 's/^/| /' conftest.$ac_ext >&5
17502 wine_cv_linux_gethostbyname_r_6=no
17506 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17507 conftest$ac_exeext conftest.$ac_ext
17510 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17511 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17512 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17513 then
17515 cat >>confdefs.h <<\_ACEOF
17516 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17517 _ACEOF
17521 if test "$ac_cv_header_linux_joystick_h" = "yes"
17522 then
17523 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17524 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17525 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17526 echo $ECHO_N "(cached) $ECHO_C" >&6
17527 else
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17535 #include <sys/ioctl.h>
17536 #include <linux/joystick.h>
17538 struct js_event blub;
17539 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17540 #error "no 2.2 header"
17541 #endif
17544 main ()
17546 /*empty*/
17548 return 0;
17550 _ACEOF
17551 rm -f conftest.$ac_objext
17552 if { (ac_try="$ac_compile"
17553 case "(($ac_try" in
17554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17555 *) ac_try_echo=$ac_try;;
17556 esac
17557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17558 (eval "$ac_compile") 2>conftest.er1
17559 ac_status=$?
17560 grep -v '^ *+' conftest.er1 >conftest.err
17561 rm -f conftest.er1
17562 cat conftest.err >&5
17563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17564 (exit $ac_status); } && {
17565 test -z "$ac_c_werror_flag" ||
17566 test ! -s conftest.err
17567 } && test -s conftest.$ac_objext; then
17568 wine_cv_linux_joystick_22_api=yes
17569 else
17570 echo "$as_me: failed program was:" >&5
17571 sed 's/^/| /' conftest.$ac_ext >&5
17573 wine_cv_linux_joystick_22_api=no
17576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17579 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17580 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17581 if test "$wine_cv_linux_joystick_22_api" = "yes"
17582 then
17584 cat >>confdefs.h <<\_ACEOF
17585 #define HAVE_LINUX_22_JOYSTICK_API 1
17586 _ACEOF
17592 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17593 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17594 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17595 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 else
17597 cat >conftest.$ac_ext <<_ACEOF
17598 /* confdefs.h. */
17599 _ACEOF
17600 cat confdefs.h >>conftest.$ac_ext
17601 cat >>conftest.$ac_ext <<_ACEOF
17602 /* end confdefs.h. */
17603 #include <sys/types.h>
17604 #ifdef HAVE_SYS_PARAM_H
17605 # include <sys/param.h>
17606 #endif
17607 #ifdef HAVE_SYS_MOUNT_H
17608 # include <sys/mount.h>
17609 #endif
17610 #ifdef HAVE_SYS_VFS_H
17611 # include <sys/vfs.h>
17612 #endif
17613 #ifdef HAVE_SYS_STATFS_H
17614 # include <sys/statfs.h>
17615 #endif
17618 main ()
17620 static struct statfs ac_aggr;
17621 if (ac_aggr.f_bfree)
17622 return 0;
17624 return 0;
17626 _ACEOF
17627 rm -f conftest.$ac_objext
17628 if { (ac_try="$ac_compile"
17629 case "(($ac_try" in
17630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17631 *) ac_try_echo=$ac_try;;
17632 esac
17633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17634 (eval "$ac_compile") 2>conftest.er1
17635 ac_status=$?
17636 grep -v '^ *+' conftest.er1 >conftest.err
17637 rm -f conftest.er1
17638 cat conftest.err >&5
17639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17640 (exit $ac_status); } && {
17641 test -z "$ac_c_werror_flag" ||
17642 test ! -s conftest.err
17643 } && test -s conftest.$ac_objext; then
17644 ac_cv_member_struct_statfs_f_bfree=yes
17645 else
17646 echo "$as_me: failed program was:" >&5
17647 sed 's/^/| /' conftest.$ac_ext >&5
17649 cat >conftest.$ac_ext <<_ACEOF
17650 /* confdefs.h. */
17651 _ACEOF
17652 cat confdefs.h >>conftest.$ac_ext
17653 cat >>conftest.$ac_ext <<_ACEOF
17654 /* end confdefs.h. */
17655 #include <sys/types.h>
17656 #ifdef HAVE_SYS_PARAM_H
17657 # include <sys/param.h>
17658 #endif
17659 #ifdef HAVE_SYS_MOUNT_H
17660 # include <sys/mount.h>
17661 #endif
17662 #ifdef HAVE_SYS_VFS_H
17663 # include <sys/vfs.h>
17664 #endif
17665 #ifdef HAVE_SYS_STATFS_H
17666 # include <sys/statfs.h>
17667 #endif
17670 main ()
17672 static struct statfs ac_aggr;
17673 if (sizeof ac_aggr.f_bfree)
17674 return 0;
17676 return 0;
17678 _ACEOF
17679 rm -f conftest.$ac_objext
17680 if { (ac_try="$ac_compile"
17681 case "(($ac_try" in
17682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17683 *) ac_try_echo=$ac_try;;
17684 esac
17685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17686 (eval "$ac_compile") 2>conftest.er1
17687 ac_status=$?
17688 grep -v '^ *+' conftest.er1 >conftest.err
17689 rm -f conftest.er1
17690 cat conftest.err >&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); } && {
17693 test -z "$ac_c_werror_flag" ||
17694 test ! -s conftest.err
17695 } && test -s conftest.$ac_objext; then
17696 ac_cv_member_struct_statfs_f_bfree=yes
17697 else
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17701 ac_cv_member_struct_statfs_f_bfree=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17709 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17710 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17711 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17713 cat >>confdefs.h <<_ACEOF
17714 #define HAVE_STRUCT_STATFS_F_BFREE 1
17715 _ACEOF
17719 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17720 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17721 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17723 else
17724 cat >conftest.$ac_ext <<_ACEOF
17725 /* confdefs.h. */
17726 _ACEOF
17727 cat confdefs.h >>conftest.$ac_ext
17728 cat >>conftest.$ac_ext <<_ACEOF
17729 /* end confdefs.h. */
17730 #include <sys/types.h>
17731 #ifdef HAVE_SYS_PARAM_H
17732 # include <sys/param.h>
17733 #endif
17734 #ifdef HAVE_SYS_MOUNT_H
17735 # include <sys/mount.h>
17736 #endif
17737 #ifdef HAVE_SYS_VFS_H
17738 # include <sys/vfs.h>
17739 #endif
17740 #ifdef HAVE_SYS_STATFS_H
17741 # include <sys/statfs.h>
17742 #endif
17745 main ()
17747 static struct statfs ac_aggr;
17748 if (ac_aggr.f_bavail)
17749 return 0;
17751 return 0;
17753 _ACEOF
17754 rm -f conftest.$ac_objext
17755 if { (ac_try="$ac_compile"
17756 case "(($ac_try" in
17757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17758 *) ac_try_echo=$ac_try;;
17759 esac
17760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17761 (eval "$ac_compile") 2>conftest.er1
17762 ac_status=$?
17763 grep -v '^ *+' conftest.er1 >conftest.err
17764 rm -f conftest.er1
17765 cat conftest.err >&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); } && {
17768 test -z "$ac_c_werror_flag" ||
17769 test ! -s conftest.err
17770 } && test -s conftest.$ac_objext; then
17771 ac_cv_member_struct_statfs_f_bavail=yes
17772 else
17773 echo "$as_me: failed program was:" >&5
17774 sed 's/^/| /' conftest.$ac_ext >&5
17776 cat >conftest.$ac_ext <<_ACEOF
17777 /* confdefs.h. */
17778 _ACEOF
17779 cat confdefs.h >>conftest.$ac_ext
17780 cat >>conftest.$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17782 #include <sys/types.h>
17783 #ifdef HAVE_SYS_PARAM_H
17784 # include <sys/param.h>
17785 #endif
17786 #ifdef HAVE_SYS_MOUNT_H
17787 # include <sys/mount.h>
17788 #endif
17789 #ifdef HAVE_SYS_VFS_H
17790 # include <sys/vfs.h>
17791 #endif
17792 #ifdef HAVE_SYS_STATFS_H
17793 # include <sys/statfs.h>
17794 #endif
17797 main ()
17799 static struct statfs ac_aggr;
17800 if (sizeof ac_aggr.f_bavail)
17801 return 0;
17803 return 0;
17805 _ACEOF
17806 rm -f conftest.$ac_objext
17807 if { (ac_try="$ac_compile"
17808 case "(($ac_try" in
17809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17810 *) ac_try_echo=$ac_try;;
17811 esac
17812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17813 (eval "$ac_compile") 2>conftest.er1
17814 ac_status=$?
17815 grep -v '^ *+' conftest.er1 >conftest.err
17816 rm -f conftest.er1
17817 cat conftest.err >&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); } && {
17820 test -z "$ac_c_werror_flag" ||
17821 test ! -s conftest.err
17822 } && test -s conftest.$ac_objext; then
17823 ac_cv_member_struct_statfs_f_bavail=yes
17824 else
17825 echo "$as_me: failed program was:" >&5
17826 sed 's/^/| /' conftest.$ac_ext >&5
17828 ac_cv_member_struct_statfs_f_bavail=no
17831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17836 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17837 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17838 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17842 _ACEOF
17846 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17847 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17848 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <sys/types.h>
17858 #ifdef HAVE_SYS_PARAM_H
17859 # include <sys/param.h>
17860 #endif
17861 #ifdef HAVE_SYS_MOUNT_H
17862 # include <sys/mount.h>
17863 #endif
17864 #ifdef HAVE_SYS_VFS_H
17865 # include <sys/vfs.h>
17866 #endif
17867 #ifdef HAVE_SYS_STATFS_H
17868 # include <sys/statfs.h>
17869 #endif
17872 main ()
17874 static struct statfs ac_aggr;
17875 if (ac_aggr.f_frsize)
17876 return 0;
17878 return 0;
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (ac_try="$ac_compile"
17883 case "(($ac_try" in
17884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17885 *) ac_try_echo=$ac_try;;
17886 esac
17887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17888 (eval "$ac_compile") 2>conftest.er1
17889 ac_status=$?
17890 grep -v '^ *+' conftest.er1 >conftest.err
17891 rm -f conftest.er1
17892 cat conftest.err >&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } && {
17895 test -z "$ac_c_werror_flag" ||
17896 test ! -s conftest.err
17897 } && test -s conftest.$ac_objext; then
17898 ac_cv_member_struct_statfs_f_frsize=yes
17899 else
17900 echo "$as_me: failed program was:" >&5
17901 sed 's/^/| /' conftest.$ac_ext >&5
17903 cat >conftest.$ac_ext <<_ACEOF
17904 /* confdefs.h. */
17905 _ACEOF
17906 cat confdefs.h >>conftest.$ac_ext
17907 cat >>conftest.$ac_ext <<_ACEOF
17908 /* end confdefs.h. */
17909 #include <sys/types.h>
17910 #ifdef HAVE_SYS_PARAM_H
17911 # include <sys/param.h>
17912 #endif
17913 #ifdef HAVE_SYS_MOUNT_H
17914 # include <sys/mount.h>
17915 #endif
17916 #ifdef HAVE_SYS_VFS_H
17917 # include <sys/vfs.h>
17918 #endif
17919 #ifdef HAVE_SYS_STATFS_H
17920 # include <sys/statfs.h>
17921 #endif
17924 main ()
17926 static struct statfs ac_aggr;
17927 if (sizeof ac_aggr.f_frsize)
17928 return 0;
17930 return 0;
17932 _ACEOF
17933 rm -f conftest.$ac_objext
17934 if { (ac_try="$ac_compile"
17935 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17938 esac
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_compile") 2>conftest.er1
17941 ac_status=$?
17942 grep -v '^ *+' conftest.er1 >conftest.err
17943 rm -f conftest.er1
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } && {
17947 test -z "$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17949 } && test -s conftest.$ac_objext; then
17950 ac_cv_member_struct_statfs_f_frsize=yes
17951 else
17952 echo "$as_me: failed program was:" >&5
17953 sed 's/^/| /' conftest.$ac_ext >&5
17955 ac_cv_member_struct_statfs_f_frsize=no
17958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17964 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17965 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17967 cat >>confdefs.h <<_ACEOF
17968 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17969 _ACEOF
17973 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17974 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17975 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17976 echo $ECHO_N "(cached) $ECHO_C" >&6
17977 else
17978 cat >conftest.$ac_ext <<_ACEOF
17979 /* confdefs.h. */
17980 _ACEOF
17981 cat confdefs.h >>conftest.$ac_ext
17982 cat >>conftest.$ac_ext <<_ACEOF
17983 /* end confdefs.h. */
17984 #include <sys/types.h>
17985 #ifdef HAVE_SYS_PARAM_H
17986 # include <sys/param.h>
17987 #endif
17988 #ifdef HAVE_SYS_MOUNT_H
17989 # include <sys/mount.h>
17990 #endif
17991 #ifdef HAVE_SYS_VFS_H
17992 # include <sys/vfs.h>
17993 #endif
17994 #ifdef HAVE_SYS_STATFS_H
17995 # include <sys/statfs.h>
17996 #endif
17999 main ()
18001 static struct statfs ac_aggr;
18002 if (ac_aggr.f_ffree)
18003 return 0;
18005 return 0;
18007 _ACEOF
18008 rm -f conftest.$ac_objext
18009 if { (ac_try="$ac_compile"
18010 case "(($ac_try" in
18011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18012 *) ac_try_echo=$ac_try;;
18013 esac
18014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18015 (eval "$ac_compile") 2>conftest.er1
18016 ac_status=$?
18017 grep -v '^ *+' conftest.er1 >conftest.err
18018 rm -f conftest.er1
18019 cat conftest.err >&5
18020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18021 (exit $ac_status); } && {
18022 test -z "$ac_c_werror_flag" ||
18023 test ! -s conftest.err
18024 } && test -s conftest.$ac_objext; then
18025 ac_cv_member_struct_statfs_f_ffree=yes
18026 else
18027 echo "$as_me: failed program was:" >&5
18028 sed 's/^/| /' conftest.$ac_ext >&5
18030 cat >conftest.$ac_ext <<_ACEOF
18031 /* confdefs.h. */
18032 _ACEOF
18033 cat confdefs.h >>conftest.$ac_ext
18034 cat >>conftest.$ac_ext <<_ACEOF
18035 /* end confdefs.h. */
18036 #include <sys/types.h>
18037 #ifdef HAVE_SYS_PARAM_H
18038 # include <sys/param.h>
18039 #endif
18040 #ifdef HAVE_SYS_MOUNT_H
18041 # include <sys/mount.h>
18042 #endif
18043 #ifdef HAVE_SYS_VFS_H
18044 # include <sys/vfs.h>
18045 #endif
18046 #ifdef HAVE_SYS_STATFS_H
18047 # include <sys/statfs.h>
18048 #endif
18051 main ()
18053 static struct statfs ac_aggr;
18054 if (sizeof ac_aggr.f_ffree)
18055 return 0;
18057 return 0;
18059 _ACEOF
18060 rm -f conftest.$ac_objext
18061 if { (ac_try="$ac_compile"
18062 case "(($ac_try" in
18063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18064 *) ac_try_echo=$ac_try;;
18065 esac
18066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18067 (eval "$ac_compile") 2>conftest.er1
18068 ac_status=$?
18069 grep -v '^ *+' conftest.er1 >conftest.err
18070 rm -f conftest.er1
18071 cat conftest.err >&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); } && {
18074 test -z "$ac_c_werror_flag" ||
18075 test ! -s conftest.err
18076 } && test -s conftest.$ac_objext; then
18077 ac_cv_member_struct_statfs_f_ffree=yes
18078 else
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.$ac_ext >&5
18082 ac_cv_member_struct_statfs_f_ffree=no
18085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18091 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18092 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18094 cat >>confdefs.h <<_ACEOF
18095 #define HAVE_STRUCT_STATFS_F_FFREE 1
18096 _ACEOF
18100 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18101 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18102 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18103 echo $ECHO_N "(cached) $ECHO_C" >&6
18104 else
18105 cat >conftest.$ac_ext <<_ACEOF
18106 /* confdefs.h. */
18107 _ACEOF
18108 cat confdefs.h >>conftest.$ac_ext
18109 cat >>conftest.$ac_ext <<_ACEOF
18110 /* end confdefs.h. */
18111 #include <sys/types.h>
18112 #ifdef HAVE_SYS_PARAM_H
18113 # include <sys/param.h>
18114 #endif
18115 #ifdef HAVE_SYS_MOUNT_H
18116 # include <sys/mount.h>
18117 #endif
18118 #ifdef HAVE_SYS_VFS_H
18119 # include <sys/vfs.h>
18120 #endif
18121 #ifdef HAVE_SYS_STATFS_H
18122 # include <sys/statfs.h>
18123 #endif
18126 main ()
18128 static struct statfs ac_aggr;
18129 if (ac_aggr.f_favail)
18130 return 0;
18132 return 0;
18134 _ACEOF
18135 rm -f conftest.$ac_objext
18136 if { (ac_try="$ac_compile"
18137 case "(($ac_try" in
18138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18139 *) ac_try_echo=$ac_try;;
18140 esac
18141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18142 (eval "$ac_compile") 2>conftest.er1
18143 ac_status=$?
18144 grep -v '^ *+' conftest.er1 >conftest.err
18145 rm -f conftest.er1
18146 cat conftest.err >&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } && {
18149 test -z "$ac_c_werror_flag" ||
18150 test ! -s conftest.err
18151 } && test -s conftest.$ac_objext; then
18152 ac_cv_member_struct_statfs_f_favail=yes
18153 else
18154 echo "$as_me: failed program was:" >&5
18155 sed 's/^/| /' conftest.$ac_ext >&5
18157 cat >conftest.$ac_ext <<_ACEOF
18158 /* confdefs.h. */
18159 _ACEOF
18160 cat confdefs.h >>conftest.$ac_ext
18161 cat >>conftest.$ac_ext <<_ACEOF
18162 /* end confdefs.h. */
18163 #include <sys/types.h>
18164 #ifdef HAVE_SYS_PARAM_H
18165 # include <sys/param.h>
18166 #endif
18167 #ifdef HAVE_SYS_MOUNT_H
18168 # include <sys/mount.h>
18169 #endif
18170 #ifdef HAVE_SYS_VFS_H
18171 # include <sys/vfs.h>
18172 #endif
18173 #ifdef HAVE_SYS_STATFS_H
18174 # include <sys/statfs.h>
18175 #endif
18178 main ()
18180 static struct statfs ac_aggr;
18181 if (sizeof ac_aggr.f_favail)
18182 return 0;
18184 return 0;
18186 _ACEOF
18187 rm -f conftest.$ac_objext
18188 if { (ac_try="$ac_compile"
18189 case "(($ac_try" in
18190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18191 *) ac_try_echo=$ac_try;;
18192 esac
18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194 (eval "$ac_compile") 2>conftest.er1
18195 ac_status=$?
18196 grep -v '^ *+' conftest.er1 >conftest.err
18197 rm -f conftest.er1
18198 cat conftest.err >&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } && {
18201 test -z "$ac_c_werror_flag" ||
18202 test ! -s conftest.err
18203 } && test -s conftest.$ac_objext; then
18204 ac_cv_member_struct_statfs_f_favail=yes
18205 else
18206 echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.$ac_ext >&5
18209 ac_cv_member_struct_statfs_f_favail=no
18212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18217 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18218 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18219 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18221 cat >>confdefs.h <<_ACEOF
18222 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18223 _ACEOF
18227 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18228 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18229 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18230 echo $ECHO_N "(cached) $ECHO_C" >&6
18231 else
18232 cat >conftest.$ac_ext <<_ACEOF
18233 /* confdefs.h. */
18234 _ACEOF
18235 cat confdefs.h >>conftest.$ac_ext
18236 cat >>conftest.$ac_ext <<_ACEOF
18237 /* end confdefs.h. */
18238 #include <sys/types.h>
18239 #ifdef HAVE_SYS_PARAM_H
18240 # include <sys/param.h>
18241 #endif
18242 #ifdef HAVE_SYS_MOUNT_H
18243 # include <sys/mount.h>
18244 #endif
18245 #ifdef HAVE_SYS_VFS_H
18246 # include <sys/vfs.h>
18247 #endif
18248 #ifdef HAVE_SYS_STATFS_H
18249 # include <sys/statfs.h>
18250 #endif
18253 main ()
18255 static struct statfs ac_aggr;
18256 if (ac_aggr.f_namelen)
18257 return 0;
18259 return 0;
18261 _ACEOF
18262 rm -f conftest.$ac_objext
18263 if { (ac_try="$ac_compile"
18264 case "(($ac_try" in
18265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18266 *) ac_try_echo=$ac_try;;
18267 esac
18268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18269 (eval "$ac_compile") 2>conftest.er1
18270 ac_status=$?
18271 grep -v '^ *+' conftest.er1 >conftest.err
18272 rm -f conftest.er1
18273 cat conftest.err >&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); } && {
18276 test -z "$ac_c_werror_flag" ||
18277 test ! -s conftest.err
18278 } && test -s conftest.$ac_objext; then
18279 ac_cv_member_struct_statfs_f_namelen=yes
18280 else
18281 echo "$as_me: failed program was:" >&5
18282 sed 's/^/| /' conftest.$ac_ext >&5
18284 cat >conftest.$ac_ext <<_ACEOF
18285 /* confdefs.h. */
18286 _ACEOF
18287 cat confdefs.h >>conftest.$ac_ext
18288 cat >>conftest.$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 #include <sys/types.h>
18291 #ifdef HAVE_SYS_PARAM_H
18292 # include <sys/param.h>
18293 #endif
18294 #ifdef HAVE_SYS_MOUNT_H
18295 # include <sys/mount.h>
18296 #endif
18297 #ifdef HAVE_SYS_VFS_H
18298 # include <sys/vfs.h>
18299 #endif
18300 #ifdef HAVE_SYS_STATFS_H
18301 # include <sys/statfs.h>
18302 #endif
18305 main ()
18307 static struct statfs ac_aggr;
18308 if (sizeof ac_aggr.f_namelen)
18309 return 0;
18311 return 0;
18313 _ACEOF
18314 rm -f conftest.$ac_objext
18315 if { (ac_try="$ac_compile"
18316 case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18319 esac
18320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_compile") 2>conftest.er1
18322 ac_status=$?
18323 grep -v '^ *+' conftest.er1 >conftest.err
18324 rm -f conftest.er1
18325 cat conftest.err >&5
18326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18327 (exit $ac_status); } && {
18328 test -z "$ac_c_werror_flag" ||
18329 test ! -s conftest.err
18330 } && test -s conftest.$ac_objext; then
18331 ac_cv_member_struct_statfs_f_namelen=yes
18332 else
18333 echo "$as_me: failed program was:" >&5
18334 sed 's/^/| /' conftest.$ac_ext >&5
18336 ac_cv_member_struct_statfs_f_namelen=no
18339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18344 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18345 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18346 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18348 cat >>confdefs.h <<_ACEOF
18349 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18350 _ACEOF
18356 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18357 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18358 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18360 else
18361 cat >conftest.$ac_ext <<_ACEOF
18362 /* confdefs.h. */
18363 _ACEOF
18364 cat confdefs.h >>conftest.$ac_ext
18365 cat >>conftest.$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #ifdef HAVE_SYS_STATVFS_H
18368 #include <sys/statvfs.h>
18369 #endif
18372 main ()
18374 static struct statvfs ac_aggr;
18375 if (ac_aggr.f_blocks)
18376 return 0;
18378 return 0;
18380 _ACEOF
18381 rm -f conftest.$ac_objext
18382 if { (ac_try="$ac_compile"
18383 case "(($ac_try" in
18384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18385 *) ac_try_echo=$ac_try;;
18386 esac
18387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18388 (eval "$ac_compile") 2>conftest.er1
18389 ac_status=$?
18390 grep -v '^ *+' conftest.er1 >conftest.err
18391 rm -f conftest.er1
18392 cat conftest.err >&5
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); } && {
18395 test -z "$ac_c_werror_flag" ||
18396 test ! -s conftest.err
18397 } && test -s conftest.$ac_objext; then
18398 ac_cv_member_struct_statvfs_f_blocks=yes
18399 else
18400 echo "$as_me: failed program was:" >&5
18401 sed 's/^/| /' conftest.$ac_ext >&5
18403 cat >conftest.$ac_ext <<_ACEOF
18404 /* confdefs.h. */
18405 _ACEOF
18406 cat confdefs.h >>conftest.$ac_ext
18407 cat >>conftest.$ac_ext <<_ACEOF
18408 /* end confdefs.h. */
18409 #ifdef HAVE_SYS_STATVFS_H
18410 #include <sys/statvfs.h>
18411 #endif
18414 main ()
18416 static struct statvfs ac_aggr;
18417 if (sizeof ac_aggr.f_blocks)
18418 return 0;
18420 return 0;
18422 _ACEOF
18423 rm -f conftest.$ac_objext
18424 if { (ac_try="$ac_compile"
18425 case "(($ac_try" in
18426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18427 *) ac_try_echo=$ac_try;;
18428 esac
18429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18430 (eval "$ac_compile") 2>conftest.er1
18431 ac_status=$?
18432 grep -v '^ *+' conftest.er1 >conftest.err
18433 rm -f conftest.er1
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } && {
18437 test -z "$ac_c_werror_flag" ||
18438 test ! -s conftest.err
18439 } && test -s conftest.$ac_objext; then
18440 ac_cv_member_struct_statvfs_f_blocks=yes
18441 else
18442 echo "$as_me: failed program was:" >&5
18443 sed 's/^/| /' conftest.$ac_ext >&5
18445 ac_cv_member_struct_statvfs_f_blocks=no
18448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18454 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18455 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18459 _ACEOF
18465 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18466 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18467 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18468 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 else
18470 cat >conftest.$ac_ext <<_ACEOF
18471 /* confdefs.h. */
18472 _ACEOF
18473 cat confdefs.h >>conftest.$ac_ext
18474 cat >>conftest.$ac_ext <<_ACEOF
18475 /* end confdefs.h. */
18476 #include <sys/types.h>
18477 #ifdef HAVE_SYS_SOCKET_H
18478 # include <sys/socket.h>
18479 #endif
18480 #ifdef HAVE_SYS_UN_H
18481 # include <sys/un.h>
18482 #endif
18485 main ()
18487 static struct msghdr ac_aggr;
18488 if (ac_aggr.msg_accrights)
18489 return 0;
18491 return 0;
18493 _ACEOF
18494 rm -f conftest.$ac_objext
18495 if { (ac_try="$ac_compile"
18496 case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18499 esac
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_compile") 2>conftest.er1
18502 ac_status=$?
18503 grep -v '^ *+' conftest.er1 >conftest.err
18504 rm -f conftest.er1
18505 cat conftest.err >&5
18506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18507 (exit $ac_status); } && {
18508 test -z "$ac_c_werror_flag" ||
18509 test ! -s conftest.err
18510 } && test -s conftest.$ac_objext; then
18511 ac_cv_member_struct_msghdr_msg_accrights=yes
18512 else
18513 echo "$as_me: failed program was:" >&5
18514 sed 's/^/| /' conftest.$ac_ext >&5
18516 cat >conftest.$ac_ext <<_ACEOF
18517 /* confdefs.h. */
18518 _ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 #include <sys/types.h>
18523 #ifdef HAVE_SYS_SOCKET_H
18524 # include <sys/socket.h>
18525 #endif
18526 #ifdef HAVE_SYS_UN_H
18527 # include <sys/un.h>
18528 #endif
18531 main ()
18533 static struct msghdr ac_aggr;
18534 if (sizeof ac_aggr.msg_accrights)
18535 return 0;
18537 return 0;
18539 _ACEOF
18540 rm -f conftest.$ac_objext
18541 if { (ac_try="$ac_compile"
18542 case "(($ac_try" in
18543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18544 *) ac_try_echo=$ac_try;;
18545 esac
18546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18547 (eval "$ac_compile") 2>conftest.er1
18548 ac_status=$?
18549 grep -v '^ *+' conftest.er1 >conftest.err
18550 rm -f conftest.er1
18551 cat conftest.err >&5
18552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18553 (exit $ac_status); } && {
18554 test -z "$ac_c_werror_flag" ||
18555 test ! -s conftest.err
18556 } && test -s conftest.$ac_objext; then
18557 ac_cv_member_struct_msghdr_msg_accrights=yes
18558 else
18559 echo "$as_me: failed program was:" >&5
18560 sed 's/^/| /' conftest.$ac_ext >&5
18562 ac_cv_member_struct_msghdr_msg_accrights=no
18565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18570 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18571 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18572 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18574 cat >>confdefs.h <<_ACEOF
18575 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18576 _ACEOF
18580 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18581 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18582 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18584 else
18585 cat >conftest.$ac_ext <<_ACEOF
18586 /* confdefs.h. */
18587 _ACEOF
18588 cat confdefs.h >>conftest.$ac_ext
18589 cat >>conftest.$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #include <sys/types.h>
18592 #ifdef HAVE_SYS_SOCKET_H
18593 # include <sys/socket.h>
18594 #endif
18595 #ifdef HAVE_SYS_UN_H
18596 # include <sys/un.h>
18597 #endif
18600 main ()
18602 static struct sockaddr ac_aggr;
18603 if (ac_aggr.sa_len)
18604 return 0;
18606 return 0;
18608 _ACEOF
18609 rm -f conftest.$ac_objext
18610 if { (ac_try="$ac_compile"
18611 case "(($ac_try" in
18612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18613 *) ac_try_echo=$ac_try;;
18614 esac
18615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18616 (eval "$ac_compile") 2>conftest.er1
18617 ac_status=$?
18618 grep -v '^ *+' conftest.er1 >conftest.err
18619 rm -f conftest.er1
18620 cat conftest.err >&5
18621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18622 (exit $ac_status); } && {
18623 test -z "$ac_c_werror_flag" ||
18624 test ! -s conftest.err
18625 } && test -s conftest.$ac_objext; then
18626 ac_cv_member_struct_sockaddr_sa_len=yes
18627 else
18628 echo "$as_me: failed program was:" >&5
18629 sed 's/^/| /' conftest.$ac_ext >&5
18631 cat >conftest.$ac_ext <<_ACEOF
18632 /* confdefs.h. */
18633 _ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 #include <sys/types.h>
18638 #ifdef HAVE_SYS_SOCKET_H
18639 # include <sys/socket.h>
18640 #endif
18641 #ifdef HAVE_SYS_UN_H
18642 # include <sys/un.h>
18643 #endif
18646 main ()
18648 static struct sockaddr ac_aggr;
18649 if (sizeof ac_aggr.sa_len)
18650 return 0;
18652 return 0;
18654 _ACEOF
18655 rm -f conftest.$ac_objext
18656 if { (ac_try="$ac_compile"
18657 case "(($ac_try" in
18658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18659 *) ac_try_echo=$ac_try;;
18660 esac
18661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18662 (eval "$ac_compile") 2>conftest.er1
18663 ac_status=$?
18664 grep -v '^ *+' conftest.er1 >conftest.err
18665 rm -f conftest.er1
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } && {
18669 test -z "$ac_c_werror_flag" ||
18670 test ! -s conftest.err
18671 } && test -s conftest.$ac_objext; then
18672 ac_cv_member_struct_sockaddr_sa_len=yes
18673 else
18674 echo "$as_me: failed program was:" >&5
18675 sed 's/^/| /' conftest.$ac_ext >&5
18677 ac_cv_member_struct_sockaddr_sa_len=no
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18685 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18686 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18687 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18689 cat >>confdefs.h <<_ACEOF
18690 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18691 _ACEOF
18695 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18696 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18697 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18698 echo $ECHO_N "(cached) $ECHO_C" >&6
18699 else
18700 cat >conftest.$ac_ext <<_ACEOF
18701 /* confdefs.h. */
18702 _ACEOF
18703 cat confdefs.h >>conftest.$ac_ext
18704 cat >>conftest.$ac_ext <<_ACEOF
18705 /* end confdefs.h. */
18706 #include <sys/types.h>
18707 #ifdef HAVE_SYS_SOCKET_H
18708 # include <sys/socket.h>
18709 #endif
18710 #ifdef HAVE_SYS_UN_H
18711 # include <sys/un.h>
18712 #endif
18715 main ()
18717 static struct sockaddr_un ac_aggr;
18718 if (ac_aggr.sun_len)
18719 return 0;
18721 return 0;
18723 _ACEOF
18724 rm -f conftest.$ac_objext
18725 if { (ac_try="$ac_compile"
18726 case "(($ac_try" in
18727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18728 *) ac_try_echo=$ac_try;;
18729 esac
18730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18731 (eval "$ac_compile") 2>conftest.er1
18732 ac_status=$?
18733 grep -v '^ *+' conftest.er1 >conftest.err
18734 rm -f conftest.er1
18735 cat conftest.err >&5
18736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18737 (exit $ac_status); } && {
18738 test -z "$ac_c_werror_flag" ||
18739 test ! -s conftest.err
18740 } && test -s conftest.$ac_objext; then
18741 ac_cv_member_struct_sockaddr_un_sun_len=yes
18742 else
18743 echo "$as_me: failed program was:" >&5
18744 sed 's/^/| /' conftest.$ac_ext >&5
18746 cat >conftest.$ac_ext <<_ACEOF
18747 /* confdefs.h. */
18748 _ACEOF
18749 cat confdefs.h >>conftest.$ac_ext
18750 cat >>conftest.$ac_ext <<_ACEOF
18751 /* end confdefs.h. */
18752 #include <sys/types.h>
18753 #ifdef HAVE_SYS_SOCKET_H
18754 # include <sys/socket.h>
18755 #endif
18756 #ifdef HAVE_SYS_UN_H
18757 # include <sys/un.h>
18758 #endif
18761 main ()
18763 static struct sockaddr_un ac_aggr;
18764 if (sizeof ac_aggr.sun_len)
18765 return 0;
18767 return 0;
18769 _ACEOF
18770 rm -f conftest.$ac_objext
18771 if { (ac_try="$ac_compile"
18772 case "(($ac_try" in
18773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18774 *) ac_try_echo=$ac_try;;
18775 esac
18776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18777 (eval "$ac_compile") 2>conftest.er1
18778 ac_status=$?
18779 grep -v '^ *+' conftest.er1 >conftest.err
18780 rm -f conftest.er1
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } && {
18784 test -z "$ac_c_werror_flag" ||
18785 test ! -s conftest.err
18786 } && test -s conftest.$ac_objext; then
18787 ac_cv_member_struct_sockaddr_un_sun_len=yes
18788 else
18789 echo "$as_me: failed program was:" >&5
18790 sed 's/^/| /' conftest.$ac_ext >&5
18792 ac_cv_member_struct_sockaddr_un_sun_len=no
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18800 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18801 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18802 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18804 cat >>confdefs.h <<_ACEOF
18805 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18806 _ACEOF
18812 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18813 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18814 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18816 else
18817 cat >conftest.$ac_ext <<_ACEOF
18818 /* confdefs.h. */
18819 _ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 #include <sys/types.h>
18824 #ifdef HAVE_SCSI_SG_H
18825 #include <scsi/sg.h>
18826 #endif
18829 main ()
18831 static scsireq_t ac_aggr;
18832 if (ac_aggr.cmd)
18833 return 0;
18835 return 0;
18837 _ACEOF
18838 rm -f conftest.$ac_objext
18839 if { (ac_try="$ac_compile"
18840 case "(($ac_try" in
18841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18842 *) ac_try_echo=$ac_try;;
18843 esac
18844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18845 (eval "$ac_compile") 2>conftest.er1
18846 ac_status=$?
18847 grep -v '^ *+' conftest.er1 >conftest.err
18848 rm -f conftest.er1
18849 cat conftest.err >&5
18850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18851 (exit $ac_status); } && {
18852 test -z "$ac_c_werror_flag" ||
18853 test ! -s conftest.err
18854 } && test -s conftest.$ac_objext; then
18855 ac_cv_member_scsireq_t_cmd=yes
18856 else
18857 echo "$as_me: failed program was:" >&5
18858 sed 's/^/| /' conftest.$ac_ext >&5
18860 cat >conftest.$ac_ext <<_ACEOF
18861 /* confdefs.h. */
18862 _ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18866 #include <sys/types.h>
18867 #ifdef HAVE_SCSI_SG_H
18868 #include <scsi/sg.h>
18869 #endif
18872 main ()
18874 static scsireq_t ac_aggr;
18875 if (sizeof ac_aggr.cmd)
18876 return 0;
18878 return 0;
18880 _ACEOF
18881 rm -f conftest.$ac_objext
18882 if { (ac_try="$ac_compile"
18883 case "(($ac_try" in
18884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18885 *) ac_try_echo=$ac_try;;
18886 esac
18887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18888 (eval "$ac_compile") 2>conftest.er1
18889 ac_status=$?
18890 grep -v '^ *+' conftest.er1 >conftest.err
18891 rm -f conftest.er1
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } && {
18895 test -z "$ac_c_werror_flag" ||
18896 test ! -s conftest.err
18897 } && test -s conftest.$ac_objext; then
18898 ac_cv_member_scsireq_t_cmd=yes
18899 else
18900 echo "$as_me: failed program was:" >&5
18901 sed 's/^/| /' conftest.$ac_ext >&5
18903 ac_cv_member_scsireq_t_cmd=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18911 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18912 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18913 if test $ac_cv_member_scsireq_t_cmd = yes; then
18915 cat >>confdefs.h <<_ACEOF
18916 #define HAVE_SCSIREQ_T_CMD 1
18917 _ACEOF
18921 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18922 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18923 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 #include <sys/types.h>
18933 #ifdef HAVE_SCSI_SG_H
18934 #include <scsi/sg.h>
18935 #endif
18938 main ()
18940 static sg_io_hdr_t ac_aggr;
18941 if (ac_aggr.interface_id)
18942 return 0;
18944 return 0;
18946 _ACEOF
18947 rm -f conftest.$ac_objext
18948 if { (ac_try="$ac_compile"
18949 case "(($ac_try" in
18950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18951 *) ac_try_echo=$ac_try;;
18952 esac
18953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18954 (eval "$ac_compile") 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } && {
18961 test -z "$ac_c_werror_flag" ||
18962 test ! -s conftest.err
18963 } && test -s conftest.$ac_objext; then
18964 ac_cv_member_sg_io_hdr_t_interface_id=yes
18965 else
18966 echo "$as_me: failed program was:" >&5
18967 sed 's/^/| /' conftest.$ac_ext >&5
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <sys/types.h>
18976 #ifdef HAVE_SCSI_SG_H
18977 #include <scsi/sg.h>
18978 #endif
18981 main ()
18983 static sg_io_hdr_t ac_aggr;
18984 if (sizeof ac_aggr.interface_id)
18985 return 0;
18987 return 0;
18989 _ACEOF
18990 rm -f conftest.$ac_objext
18991 if { (ac_try="$ac_compile"
18992 case "(($ac_try" in
18993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18994 *) ac_try_echo=$ac_try;;
18995 esac
18996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18997 (eval "$ac_compile") 2>conftest.er1
18998 ac_status=$?
18999 grep -v '^ *+' conftest.er1 >conftest.err
19000 rm -f conftest.er1
19001 cat conftest.err >&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); } && {
19004 test -z "$ac_c_werror_flag" ||
19005 test ! -s conftest.err
19006 } && test -s conftest.$ac_objext; then
19007 ac_cv_member_sg_io_hdr_t_interface_id=yes
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19012 ac_cv_member_sg_io_hdr_t_interface_id=no
19015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19021 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19022 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19026 _ACEOF
19032 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19033 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19034 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037 cat >conftest.$ac_ext <<_ACEOF
19038 /* confdefs.h. */
19039 _ACEOF
19040 cat confdefs.h >>conftest.$ac_ext
19041 cat >>conftest.$ac_ext <<_ACEOF
19042 /* end confdefs.h. */
19043 #include <signal.h>
19046 main ()
19048 static siginfo_t ac_aggr;
19049 if (ac_aggr.si_fd)
19050 return 0;
19052 return 0;
19054 _ACEOF
19055 rm -f conftest.$ac_objext
19056 if { (ac_try="$ac_compile"
19057 case "(($ac_try" in
19058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19059 *) ac_try_echo=$ac_try;;
19060 esac
19061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19062 (eval "$ac_compile") 2>conftest.er1
19063 ac_status=$?
19064 grep -v '^ *+' conftest.er1 >conftest.err
19065 rm -f conftest.er1
19066 cat conftest.err >&5
19067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19068 (exit $ac_status); } && {
19069 test -z "$ac_c_werror_flag" ||
19070 test ! -s conftest.err
19071 } && test -s conftest.$ac_objext; then
19072 ac_cv_member_siginfo_t_si_fd=yes
19073 else
19074 echo "$as_me: failed program was:" >&5
19075 sed 's/^/| /' conftest.$ac_ext >&5
19077 cat >conftest.$ac_ext <<_ACEOF
19078 /* confdefs.h. */
19079 _ACEOF
19080 cat confdefs.h >>conftest.$ac_ext
19081 cat >>conftest.$ac_ext <<_ACEOF
19082 /* end confdefs.h. */
19083 #include <signal.h>
19086 main ()
19088 static siginfo_t ac_aggr;
19089 if (sizeof ac_aggr.si_fd)
19090 return 0;
19092 return 0;
19094 _ACEOF
19095 rm -f conftest.$ac_objext
19096 if { (ac_try="$ac_compile"
19097 case "(($ac_try" in
19098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19099 *) ac_try_echo=$ac_try;;
19100 esac
19101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19102 (eval "$ac_compile") 2>conftest.er1
19103 ac_status=$?
19104 grep -v '^ *+' conftest.er1 >conftest.err
19105 rm -f conftest.er1
19106 cat conftest.err >&5
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); } && {
19109 test -z "$ac_c_werror_flag" ||
19110 test ! -s conftest.err
19111 } && test -s conftest.$ac_objext; then
19112 ac_cv_member_siginfo_t_si_fd=yes
19113 else
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.$ac_ext >&5
19117 ac_cv_member_siginfo_t_si_fd=no
19120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19125 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19126 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19127 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_SIGINFO_T_SI_FD 1
19131 _ACEOF
19137 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19138 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19139 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19141 else
19142 cat >conftest.$ac_ext <<_ACEOF
19143 /* confdefs.h. */
19144 _ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 #include <sys/types.h>
19149 #ifdef HAVE_SYS_MTIO_H
19150 #include <sys/mtio.h>
19151 #endif
19154 main ()
19156 static struct mtget ac_aggr;
19157 if (ac_aggr.mt_blksiz)
19158 return 0;
19160 return 0;
19162 _ACEOF
19163 rm -f conftest.$ac_objext
19164 if { (ac_try="$ac_compile"
19165 case "(($ac_try" in
19166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19167 *) ac_try_echo=$ac_try;;
19168 esac
19169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19170 (eval "$ac_compile") 2>conftest.er1
19171 ac_status=$?
19172 grep -v '^ *+' conftest.er1 >conftest.err
19173 rm -f conftest.er1
19174 cat conftest.err >&5
19175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19176 (exit $ac_status); } && {
19177 test -z "$ac_c_werror_flag" ||
19178 test ! -s conftest.err
19179 } && test -s conftest.$ac_objext; then
19180 ac_cv_member_struct_mtget_mt_blksiz=yes
19181 else
19182 echo "$as_me: failed program was:" >&5
19183 sed 's/^/| /' conftest.$ac_ext >&5
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <sys/types.h>
19192 #ifdef HAVE_SYS_MTIO_H
19193 #include <sys/mtio.h>
19194 #endif
19197 main ()
19199 static struct mtget ac_aggr;
19200 if (sizeof ac_aggr.mt_blksiz)
19201 return 0;
19203 return 0;
19205 _ACEOF
19206 rm -f conftest.$ac_objext
19207 if { (ac_try="$ac_compile"
19208 case "(($ac_try" in
19209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19210 *) ac_try_echo=$ac_try;;
19211 esac
19212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19213 (eval "$ac_compile") 2>conftest.er1
19214 ac_status=$?
19215 grep -v '^ *+' conftest.er1 >conftest.err
19216 rm -f conftest.er1
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } && {
19220 test -z "$ac_c_werror_flag" ||
19221 test ! -s conftest.err
19222 } && test -s conftest.$ac_objext; then
19223 ac_cv_member_struct_mtget_mt_blksiz=yes
19224 else
19225 echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19228 ac_cv_member_struct_mtget_mt_blksiz=no
19231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19237 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19238 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19242 _ACEOF
19246 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19247 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19248 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19249 echo $ECHO_N "(cached) $ECHO_C" >&6
19250 else
19251 cat >conftest.$ac_ext <<_ACEOF
19252 /* confdefs.h. */
19253 _ACEOF
19254 cat confdefs.h >>conftest.$ac_ext
19255 cat >>conftest.$ac_ext <<_ACEOF
19256 /* end confdefs.h. */
19257 #include <sys/types.h>
19258 #ifdef HAVE_SYS_MTIO_H
19259 #include <sys/mtio.h>
19260 #endif
19263 main ()
19265 static struct mtget ac_aggr;
19266 if (ac_aggr.mt_gstat)
19267 return 0;
19269 return 0;
19271 _ACEOF
19272 rm -f conftest.$ac_objext
19273 if { (ac_try="$ac_compile"
19274 case "(($ac_try" in
19275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19276 *) ac_try_echo=$ac_try;;
19277 esac
19278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19279 (eval "$ac_compile") 2>conftest.er1
19280 ac_status=$?
19281 grep -v '^ *+' conftest.er1 >conftest.err
19282 rm -f conftest.er1
19283 cat conftest.err >&5
19284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19285 (exit $ac_status); } && {
19286 test -z "$ac_c_werror_flag" ||
19287 test ! -s conftest.err
19288 } && test -s conftest.$ac_objext; then
19289 ac_cv_member_struct_mtget_mt_gstat=yes
19290 else
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19294 cat >conftest.$ac_ext <<_ACEOF
19295 /* confdefs.h. */
19296 _ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 #include <sys/types.h>
19301 #ifdef HAVE_SYS_MTIO_H
19302 #include <sys/mtio.h>
19303 #endif
19306 main ()
19308 static struct mtget ac_aggr;
19309 if (sizeof ac_aggr.mt_gstat)
19310 return 0;
19312 return 0;
19314 _ACEOF
19315 rm -f conftest.$ac_objext
19316 if { (ac_try="$ac_compile"
19317 case "(($ac_try" in
19318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19319 *) ac_try_echo=$ac_try;;
19320 esac
19321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19322 (eval "$ac_compile") 2>conftest.er1
19323 ac_status=$?
19324 grep -v '^ *+' conftest.er1 >conftest.err
19325 rm -f conftest.er1
19326 cat conftest.err >&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); } && {
19329 test -z "$ac_c_werror_flag" ||
19330 test ! -s conftest.err
19331 } && test -s conftest.$ac_objext; then
19332 ac_cv_member_struct_mtget_mt_gstat=yes
19333 else
19334 echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19337 ac_cv_member_struct_mtget_mt_gstat=no
19340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19346 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19347 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19349 cat >>confdefs.h <<_ACEOF
19350 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19351 _ACEOF
19355 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19356 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19357 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19358 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19360 cat >conftest.$ac_ext <<_ACEOF
19361 /* confdefs.h. */
19362 _ACEOF
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19366 #include <sys/types.h>
19367 #ifdef HAVE_SYS_MTIO_H
19368 #include <sys/mtio.h>
19369 #endif
19372 main ()
19374 static struct mtget ac_aggr;
19375 if (ac_aggr.mt_blkno)
19376 return 0;
19378 return 0;
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19386 esac
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19389 ac_status=$?
19390 grep -v '^ *+' conftest.er1 >conftest.err
19391 rm -f conftest.er1
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_cv_member_struct_mtget_mt_blkno=yes
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 cat >conftest.$ac_ext <<_ACEOF
19404 /* confdefs.h. */
19405 _ACEOF
19406 cat confdefs.h >>conftest.$ac_ext
19407 cat >>conftest.$ac_ext <<_ACEOF
19408 /* end confdefs.h. */
19409 #include <sys/types.h>
19410 #ifdef HAVE_SYS_MTIO_H
19411 #include <sys/mtio.h>
19412 #endif
19415 main ()
19417 static struct mtget ac_aggr;
19418 if (sizeof ac_aggr.mt_blkno)
19419 return 0;
19421 return 0;
19423 _ACEOF
19424 rm -f conftest.$ac_objext
19425 if { (ac_try="$ac_compile"
19426 case "(($ac_try" in
19427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19428 *) ac_try_echo=$ac_try;;
19429 esac
19430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19431 (eval "$ac_compile") 2>conftest.er1
19432 ac_status=$?
19433 grep -v '^ *+' conftest.er1 >conftest.err
19434 rm -f conftest.er1
19435 cat conftest.err >&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } && {
19438 test -z "$ac_c_werror_flag" ||
19439 test ! -s conftest.err
19440 } && test -s conftest.$ac_objext; then
19441 ac_cv_member_struct_mtget_mt_blkno=yes
19442 else
19443 echo "$as_me: failed program was:" >&5
19444 sed 's/^/| /' conftest.$ac_ext >&5
19446 ac_cv_member_struct_mtget_mt_blkno=no
19449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19454 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19455 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19456 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19458 cat >>confdefs.h <<_ACEOF
19459 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19460 _ACEOF
19466 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19467 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19468 if test "${ac_cv_member_struct_option_name+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19470 else
19471 cat >conftest.$ac_ext <<_ACEOF
19472 /* confdefs.h. */
19473 _ACEOF
19474 cat confdefs.h >>conftest.$ac_ext
19475 cat >>conftest.$ac_ext <<_ACEOF
19476 /* end confdefs.h. */
19477 #ifdef HAVE_GETOPT_H
19478 #include <getopt.h>
19479 #endif
19482 main ()
19484 static struct option ac_aggr;
19485 if (ac_aggr.name)
19486 return 0;
19488 return 0;
19490 _ACEOF
19491 rm -f conftest.$ac_objext
19492 if { (ac_try="$ac_compile"
19493 case "(($ac_try" in
19494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19496 esac
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_compile") 2>conftest.er1
19499 ac_status=$?
19500 grep -v '^ *+' conftest.er1 >conftest.err
19501 rm -f conftest.er1
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } && {
19505 test -z "$ac_c_werror_flag" ||
19506 test ! -s conftest.err
19507 } && test -s conftest.$ac_objext; then
19508 ac_cv_member_struct_option_name=yes
19509 else
19510 echo "$as_me: failed program was:" >&5
19511 sed 's/^/| /' conftest.$ac_ext >&5
19513 cat >conftest.$ac_ext <<_ACEOF
19514 /* confdefs.h. */
19515 _ACEOF
19516 cat confdefs.h >>conftest.$ac_ext
19517 cat >>conftest.$ac_ext <<_ACEOF
19518 /* end confdefs.h. */
19519 #ifdef HAVE_GETOPT_H
19520 #include <getopt.h>
19521 #endif
19524 main ()
19526 static struct option ac_aggr;
19527 if (sizeof ac_aggr.name)
19528 return 0;
19530 return 0;
19532 _ACEOF
19533 rm -f conftest.$ac_objext
19534 if { (ac_try="$ac_compile"
19535 case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19538 esac
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_compile") 2>conftest.er1
19541 ac_status=$?
19542 grep -v '^ *+' conftest.er1 >conftest.err
19543 rm -f conftest.er1
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } && {
19547 test -z "$ac_c_werror_flag" ||
19548 test ! -s conftest.err
19549 } && test -s conftest.$ac_objext; then
19550 ac_cv_member_struct_option_name=yes
19551 else
19552 echo "$as_me: failed program was:" >&5
19553 sed 's/^/| /' conftest.$ac_ext >&5
19555 ac_cv_member_struct_option_name=no
19558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19564 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19565 if test $ac_cv_member_struct_option_name = yes; then
19567 cat >>confdefs.h <<_ACEOF
19568 #define HAVE_STRUCT_OPTION_NAME 1
19569 _ACEOF
19575 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19576 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19577 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19579 else
19580 cat >conftest.$ac_ext <<_ACEOF
19581 /* confdefs.h. */
19582 _ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19588 main ()
19590 static struct stat ac_aggr;
19591 if (ac_aggr.st_blocks)
19592 return 0;
19594 return 0;
19596 _ACEOF
19597 rm -f conftest.$ac_objext
19598 if { (ac_try="$ac_compile"
19599 case "(($ac_try" in
19600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19601 *) ac_try_echo=$ac_try;;
19602 esac
19603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19604 (eval "$ac_compile") 2>conftest.er1
19605 ac_status=$?
19606 grep -v '^ *+' conftest.er1 >conftest.err
19607 rm -f conftest.er1
19608 cat conftest.err >&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); } && {
19611 test -z "$ac_c_werror_flag" ||
19612 test ! -s conftest.err
19613 } && test -s conftest.$ac_objext; then
19614 ac_cv_member_struct_stat_st_blocks=yes
19615 else
19616 echo "$as_me: failed program was:" >&5
19617 sed 's/^/| /' conftest.$ac_ext >&5
19619 cat >conftest.$ac_ext <<_ACEOF
19620 /* confdefs.h. */
19621 _ACEOF
19622 cat confdefs.h >>conftest.$ac_ext
19623 cat >>conftest.$ac_ext <<_ACEOF
19624 /* end confdefs.h. */
19625 $ac_includes_default
19627 main ()
19629 static struct stat ac_aggr;
19630 if (sizeof ac_aggr.st_blocks)
19631 return 0;
19633 return 0;
19635 _ACEOF
19636 rm -f conftest.$ac_objext
19637 if { (ac_try="$ac_compile"
19638 case "(($ac_try" in
19639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19640 *) ac_try_echo=$ac_try;;
19641 esac
19642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19643 (eval "$ac_compile") 2>conftest.er1
19644 ac_status=$?
19645 grep -v '^ *+' conftest.er1 >conftest.err
19646 rm -f conftest.er1
19647 cat conftest.err >&5
19648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19649 (exit $ac_status); } && {
19650 test -z "$ac_c_werror_flag" ||
19651 test ! -s conftest.err
19652 } && test -s conftest.$ac_objext; then
19653 ac_cv_member_struct_stat_st_blocks=yes
19654 else
19655 echo "$as_me: failed program was:" >&5
19656 sed 's/^/| /' conftest.$ac_ext >&5
19658 ac_cv_member_struct_stat_st_blocks=no
19661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19666 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19667 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19668 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19670 cat >>confdefs.h <<_ACEOF
19671 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19672 _ACEOF
19678 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19679 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19680 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19681 echo $ECHO_N "(cached) $ECHO_C" >&6
19682 else
19683 cat >conftest.$ac_ext <<_ACEOF
19684 /* confdefs.h. */
19685 _ACEOF
19686 cat confdefs.h >>conftest.$ac_ext
19687 cat >>conftest.$ac_ext <<_ACEOF
19688 /* end confdefs.h. */
19689 #ifdef HAVE_SYS_TYPES_H
19690 #include <sys/types.h>
19691 #endif
19692 #ifdef HAVE_NETINET_IN_H
19693 #include <netinet/in.h>
19694 #endif
19697 main ()
19699 static struct sockaddr_in6 ac_aggr;
19700 if (ac_aggr.sin6_scope_id)
19701 return 0;
19703 return 0;
19705 _ACEOF
19706 rm -f conftest.$ac_objext
19707 if { (ac_try="$ac_compile"
19708 case "(($ac_try" in
19709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19710 *) ac_try_echo=$ac_try;;
19711 esac
19712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19713 (eval "$ac_compile") 2>conftest.er1
19714 ac_status=$?
19715 grep -v '^ *+' conftest.er1 >conftest.err
19716 rm -f conftest.er1
19717 cat conftest.err >&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); } && {
19720 test -z "$ac_c_werror_flag" ||
19721 test ! -s conftest.err
19722 } && test -s conftest.$ac_objext; then
19723 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19724 else
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.$ac_ext >&5
19728 cat >conftest.$ac_ext <<_ACEOF
19729 /* confdefs.h. */
19730 _ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19734 #ifdef HAVE_SYS_TYPES_H
19735 #include <sys/types.h>
19736 #endif
19737 #ifdef HAVE_NETINET_IN_H
19738 #include <netinet/in.h>
19739 #endif
19742 main ()
19744 static struct sockaddr_in6 ac_aggr;
19745 if (sizeof ac_aggr.sin6_scope_id)
19746 return 0;
19748 return 0;
19750 _ACEOF
19751 rm -f conftest.$ac_objext
19752 if { (ac_try="$ac_compile"
19753 case "(($ac_try" in
19754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19755 *) ac_try_echo=$ac_try;;
19756 esac
19757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19758 (eval "$ac_compile") 2>conftest.er1
19759 ac_status=$?
19760 grep -v '^ *+' conftest.er1 >conftest.err
19761 rm -f conftest.er1
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } && {
19765 test -z "$ac_c_werror_flag" ||
19766 test ! -s conftest.err
19767 } && test -s conftest.$ac_objext; then
19768 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19769 else
19770 echo "$as_me: failed program was:" >&5
19771 sed 's/^/| /' conftest.$ac_ext >&5
19773 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19781 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19782 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19783 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19785 cat >>confdefs.h <<_ACEOF
19786 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19787 _ACEOF
19793 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19794 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19795 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19797 else
19798 cat >conftest.$ac_ext <<_ACEOF
19799 /* confdefs.h. */
19800 _ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19804 #ifdef HAVE_SYS_TYPES_H
19805 #include <sys/types.h>
19806 #endif
19807 #ifdef HAVE_NETINET_IN_H
19808 # include <netinet/in.h>
19809 #endif
19810 #ifdef HAVE_ARPA_NAMESER_H
19811 # include <arpa/nameser.h>
19812 #endif
19815 main ()
19817 static ns_msg ac_aggr;
19818 if (ac_aggr._msg_ptr)
19819 return 0;
19821 return 0;
19823 _ACEOF
19824 rm -f conftest.$ac_objext
19825 if { (ac_try="$ac_compile"
19826 case "(($ac_try" in
19827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19828 *) ac_try_echo=$ac_try;;
19829 esac
19830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19831 (eval "$ac_compile") 2>conftest.er1
19832 ac_status=$?
19833 grep -v '^ *+' conftest.er1 >conftest.err
19834 rm -f conftest.er1
19835 cat conftest.err >&5
19836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19837 (exit $ac_status); } && {
19838 test -z "$ac_c_werror_flag" ||
19839 test ! -s conftest.err
19840 } && test -s conftest.$ac_objext; then
19841 ac_cv_member_ns_msg__msg_ptr=yes
19842 else
19843 echo "$as_me: failed program was:" >&5
19844 sed 's/^/| /' conftest.$ac_ext >&5
19846 cat >conftest.$ac_ext <<_ACEOF
19847 /* confdefs.h. */
19848 _ACEOF
19849 cat confdefs.h >>conftest.$ac_ext
19850 cat >>conftest.$ac_ext <<_ACEOF
19851 /* end confdefs.h. */
19852 #ifdef HAVE_SYS_TYPES_H
19853 #include <sys/types.h>
19854 #endif
19855 #ifdef HAVE_NETINET_IN_H
19856 # include <netinet/in.h>
19857 #endif
19858 #ifdef HAVE_ARPA_NAMESER_H
19859 # include <arpa/nameser.h>
19860 #endif
19863 main ()
19865 static ns_msg ac_aggr;
19866 if (sizeof ac_aggr._msg_ptr)
19867 return 0;
19869 return 0;
19871 _ACEOF
19872 rm -f conftest.$ac_objext
19873 if { (ac_try="$ac_compile"
19874 case "(($ac_try" in
19875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19876 *) ac_try_echo=$ac_try;;
19877 esac
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19879 (eval "$ac_compile") 2>conftest.er1
19880 ac_status=$?
19881 grep -v '^ *+' conftest.er1 >conftest.err
19882 rm -f conftest.er1
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } && {
19886 test -z "$ac_c_werror_flag" ||
19887 test ! -s conftest.err
19888 } && test -s conftest.$ac_objext; then
19889 ac_cv_member_ns_msg__msg_ptr=yes
19890 else
19891 echo "$as_me: failed program was:" >&5
19892 sed 's/^/| /' conftest.$ac_ext >&5
19894 ac_cv_member_ns_msg__msg_ptr=no
19897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19903 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19904 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19906 cat >>confdefs.h <<_ACEOF
19907 #define HAVE_NS_MSG__MSG_PTR 1
19908 _ACEOF
19914 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19915 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19916 if test "${ac_cv_have_timezone+set}" = set; then
19917 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 else
19919 cat >conftest.$ac_ext <<_ACEOF
19920 /* confdefs.h. */
19921 _ACEOF
19922 cat confdefs.h >>conftest.$ac_ext
19923 cat >>conftest.$ac_ext <<_ACEOF
19924 /* end confdefs.h. */
19925 #include <time.h>
19927 main ()
19929 timezone = 1
19931 return 0;
19933 _ACEOF
19934 rm -f conftest.$ac_objext conftest$ac_exeext
19935 if { (ac_try="$ac_link"
19936 case "(($ac_try" in
19937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19938 *) ac_try_echo=$ac_try;;
19939 esac
19940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19941 (eval "$ac_link") 2>conftest.er1
19942 ac_status=$?
19943 grep -v '^ *+' conftest.er1 >conftest.err
19944 rm -f conftest.er1
19945 cat conftest.err >&5
19946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19947 (exit $ac_status); } && {
19948 test -z "$ac_c_werror_flag" ||
19949 test ! -s conftest.err
19950 } && test -s conftest$ac_exeext &&
19951 $as_test_x conftest$ac_exeext; then
19952 ac_cv_have_timezone="yes"
19953 else
19954 echo "$as_me: failed program was:" >&5
19955 sed 's/^/| /' conftest.$ac_ext >&5
19957 ac_cv_have_timezone="no"
19960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19961 conftest$ac_exeext conftest.$ac_ext
19963 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19964 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19965 if test "$ac_cv_have_timezone" = "yes"
19966 then
19968 cat >>confdefs.h <<\_ACEOF
19969 #define HAVE_TIMEZONE 1
19970 _ACEOF
19973 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19974 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19975 if test "${ac_cv_have_daylight+set}" = set; then
19976 echo $ECHO_N "(cached) $ECHO_C" >&6
19977 else
19978 cat >conftest.$ac_ext <<_ACEOF
19979 /* confdefs.h. */
19980 _ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 #include <time.h>
19986 main ()
19988 daylight = 1
19990 return 0;
19992 _ACEOF
19993 rm -f conftest.$ac_objext conftest$ac_exeext
19994 if { (ac_try="$ac_link"
19995 case "(($ac_try" in
19996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19997 *) ac_try_echo=$ac_try;;
19998 esac
19999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20000 (eval "$ac_link") 2>conftest.er1
20001 ac_status=$?
20002 grep -v '^ *+' conftest.er1 >conftest.err
20003 rm -f conftest.er1
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } && {
20007 test -z "$ac_c_werror_flag" ||
20008 test ! -s conftest.err
20009 } && test -s conftest$ac_exeext &&
20010 $as_test_x conftest$ac_exeext; then
20011 ac_cv_have_daylight="yes"
20012 else
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20016 ac_cv_have_daylight="no"
20019 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20020 conftest$ac_exeext conftest.$ac_ext
20022 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20023 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20024 if test "$ac_cv_have_daylight" = "yes"
20025 then
20027 cat >>confdefs.h <<\_ACEOF
20028 #define HAVE_DAYLIGHT 1
20029 _ACEOF
20034 case $host_cpu in
20035 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20036 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20037 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20039 else
20040 cat >conftest.$ac_ext <<_ACEOF
20041 /* confdefs.h. */
20042 _ACEOF
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 #ifndef __i386__
20048 #endif
20049 _ACEOF
20050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20051 $EGREP "yes" >/dev/null 2>&1; then
20052 ac_cv_cpp_def___i386__=yes
20053 else
20054 ac_cv_cpp_def___i386__=no
20056 rm -f conftest*
20059 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20060 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20061 if test $ac_cv_cpp_def___i386__ = yes; then
20062 CFLAGS="$CFLAGS -D__i386__"
20063 LINTFLAGS="$LINTFLAGS -D__i386__"
20066 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20067 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20068 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 else
20071 cat >conftest.$ac_ext <<_ACEOF
20072 /* confdefs.h. */
20073 _ACEOF
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20077 #ifndef __x86_64__
20079 #endif
20080 _ACEOF
20081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20082 $EGREP "yes" >/dev/null 2>&1; then
20083 ac_cv_cpp_def___x86_64__=yes
20084 else
20085 ac_cv_cpp_def___x86_64__=no
20087 rm -f conftest*
20090 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20091 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20092 if test $ac_cv_cpp_def___x86_64__ = yes; then
20093 CFLAGS="$CFLAGS -D__x86_64__"
20094 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20097 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20098 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20099 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20100 echo $ECHO_N "(cached) $ECHO_C" >&6
20101 else
20102 cat >conftest.$ac_ext <<_ACEOF
20103 /* confdefs.h. */
20104 _ACEOF
20105 cat confdefs.h >>conftest.$ac_ext
20106 cat >>conftest.$ac_ext <<_ACEOF
20107 /* end confdefs.h. */
20108 #ifndef __ALPHA__
20110 #endif
20111 _ACEOF
20112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20113 $EGREP "yes" >/dev/null 2>&1; then
20114 ac_cv_cpp_def___ALPHA__=yes
20115 else
20116 ac_cv_cpp_def___ALPHA__=no
20118 rm -f conftest*
20121 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20122 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20123 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20124 CFLAGS="$CFLAGS -D__ALPHA__"
20125 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20128 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20129 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20130 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 else
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 #ifndef __sparc__
20141 #endif
20142 _ACEOF
20143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20144 $EGREP "yes" >/dev/null 2>&1; then
20145 ac_cv_cpp_def___sparc__=yes
20146 else
20147 ac_cv_cpp_def___sparc__=no
20149 rm -f conftest*
20152 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20153 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20154 if test $ac_cv_cpp_def___sparc__ = yes; then
20155 CFLAGS="$CFLAGS -D__sparc__"
20156 LINTFLAGS="$LINTFLAGS -D__sparc__"
20159 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20160 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20161 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 else
20164 cat >conftest.$ac_ext <<_ACEOF
20165 /* confdefs.h. */
20166 _ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 #ifndef __powerpc__
20172 #endif
20173 _ACEOF
20174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20175 $EGREP "yes" >/dev/null 2>&1; then
20176 ac_cv_cpp_def___powerpc__=yes
20177 else
20178 ac_cv_cpp_def___powerpc__=no
20180 rm -f conftest*
20183 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20184 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20185 if test $ac_cv_cpp_def___powerpc__ = yes; then
20186 CFLAGS="$CFLAGS -D__powerpc__"
20187 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20190 esac
20192 case $host_vendor in
20193 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20194 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20195 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 else
20198 cat >conftest.$ac_ext <<_ACEOF
20199 /* confdefs.h. */
20200 _ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h. */
20204 #ifndef __sun__
20206 #endif
20207 _ACEOF
20208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20209 $EGREP "yes" >/dev/null 2>&1; then
20210 ac_cv_cpp_def___sun__=yes
20211 else
20212 ac_cv_cpp_def___sun__=no
20214 rm -f conftest*
20217 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20218 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20219 if test $ac_cv_cpp_def___sun__ = yes; then
20220 CFLAGS="$CFLAGS -D__sun__"
20221 LINTFLAGS="$LINTFLAGS -D__sun__"
20224 esac
20227 DEPENDENCIES="### Dependencies:
20229 .INIT: Makefile
20230 .BEGIN: Makefile
20231 Makefile: dummy
20232 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20234 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
20235 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20236 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20237 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20243 ac_config_commands="$ac_config_commands include/stamp-h"
20246 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20248 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20250 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20252 ac_config_commands="$ac_config_commands dlls/user32/resources"
20254 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20256 ac_config_commands="$ac_config_commands include/wine"
20259 MAKE_RULES=Make.rules
20262 MAKE_DLL_RULES=dlls/Makedll.rules
20265 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20268 MAKE_TEST_RULES=dlls/Maketest.rules
20271 MAKE_PROG_RULES=programs/Makeprog.rules
20274 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/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/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/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/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/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/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/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/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/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"
20277 cat >confcache <<\_ACEOF
20278 # This file is a shell script that caches the results of configure
20279 # tests run on this system so they can be shared between configure
20280 # scripts and configure runs, see configure's option --config-cache.
20281 # It is not useful on other systems. If it contains results you don't
20282 # want to keep, you may remove or edit it.
20284 # config.status only pays attention to the cache file if you give it
20285 # the --recheck option to rerun configure.
20287 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20288 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20289 # following values.
20291 _ACEOF
20293 # The following way of writing the cache mishandles newlines in values,
20294 # but we know of no workaround that is simple, portable, and efficient.
20295 # So, we kill variables containing newlines.
20296 # Ultrix sh set writes to stderr and can't be redirected directly,
20297 # and sets the high bit in the cache file unless we assign to the vars.
20299 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20300 eval ac_val=\$$ac_var
20301 case $ac_val in #(
20302 *${as_nl}*)
20303 case $ac_var in #(
20304 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20305 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20306 esac
20307 case $ac_var in #(
20308 _ | IFS | as_nl) ;; #(
20309 *) $as_unset $ac_var ;;
20310 esac ;;
20311 esac
20312 done
20314 (set) 2>&1 |
20315 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20316 *${as_nl}ac_space=\ *)
20317 # `set' does not quote correctly, so add quotes (double-quote
20318 # substitution turns \\\\ into \\, and sed turns \\ into \).
20319 sed -n \
20320 "s/'/'\\\\''/g;
20321 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20322 ;; #(
20324 # `set' quotes correctly as required by POSIX, so do not add quotes.
20325 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20327 esac |
20328 sort
20330 sed '
20331 /^ac_cv_env_/b end
20332 t clear
20333 :clear
20334 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20335 t end
20336 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20337 :end' >>confcache
20338 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20339 if test -w "$cache_file"; then
20340 test "x$cache_file" != "x/dev/null" &&
20341 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20342 echo "$as_me: updating cache $cache_file" >&6;}
20343 cat confcache >$cache_file
20344 else
20345 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20346 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20349 rm -f confcache
20351 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20352 # Let make expand exec_prefix.
20353 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20355 DEFS=-DHAVE_CONFIG_H
20357 ac_libobjs=
20358 ac_ltlibobjs=
20359 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20360 # 1. Remove the extension, and $U if already installed.
20361 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20362 ac_i=`echo "$ac_i" | sed "$ac_script"`
20363 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20364 # will be set to the directory where LIBOBJS objects are built.
20365 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20366 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20367 done
20368 LIBOBJS=$ac_libobjs
20370 LTLIBOBJS=$ac_ltlibobjs
20374 : ${CONFIG_STATUS=./config.status}
20375 ac_clean_files_save=$ac_clean_files
20376 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20377 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20378 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20379 cat >$CONFIG_STATUS <<_ACEOF
20380 #! $SHELL
20381 # Generated by $as_me.
20382 # Run this file to recreate the current configuration.
20383 # Compiler output produced by configure, useful for debugging
20384 # configure, is in config.log if it exists.
20386 debug=false
20387 ac_cs_recheck=false
20388 ac_cs_silent=false
20389 SHELL=\${CONFIG_SHELL-$SHELL}
20390 _ACEOF
20392 cat >>$CONFIG_STATUS <<\_ACEOF
20393 ## --------------------- ##
20394 ## M4sh Initialization. ##
20395 ## --------------------- ##
20397 # Be more Bourne compatible
20398 DUALCASE=1; export DUALCASE # for MKS sh
20399 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20400 emulate sh
20401 NULLCMD=:
20402 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20403 # is contrary to our usage. Disable this feature.
20404 alias -g '${1+"$@"}'='"$@"'
20405 setopt NO_GLOB_SUBST
20406 else
20407 case `(set -o) 2>/dev/null` in
20408 *posix*) set -o posix ;;
20409 esac
20416 # PATH needs CR
20417 # Avoid depending upon Character Ranges.
20418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20421 as_cr_digits='0123456789'
20422 as_cr_alnum=$as_cr_Letters$as_cr_digits
20424 # The user is always right.
20425 if test "${PATH_SEPARATOR+set}" != set; then
20426 echo "#! /bin/sh" >conf$$.sh
20427 echo "exit 0" >>conf$$.sh
20428 chmod +x conf$$.sh
20429 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20430 PATH_SEPARATOR=';'
20431 else
20432 PATH_SEPARATOR=:
20434 rm -f conf$$.sh
20437 # Support unset when possible.
20438 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20439 as_unset=unset
20440 else
20441 as_unset=false
20445 # IFS
20446 # We need space, tab and new line, in precisely that order. Quoting is
20447 # there to prevent editors from complaining about space-tab.
20448 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20449 # splitting by setting IFS to empty value.)
20450 as_nl='
20452 IFS=" "" $as_nl"
20454 # Find who we are. Look in the path if we contain no directory separator.
20455 case $0 in
20456 *[\\/]* ) as_myself=$0 ;;
20457 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20458 for as_dir in $PATH
20460 IFS=$as_save_IFS
20461 test -z "$as_dir" && as_dir=.
20462 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20463 done
20464 IFS=$as_save_IFS
20467 esac
20468 # We did not find ourselves, most probably we were run as `sh COMMAND'
20469 # in which case we are not to be found in the path.
20470 if test "x$as_myself" = x; then
20471 as_myself=$0
20473 if test ! -f "$as_myself"; then
20474 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20475 { (exit 1); exit 1; }
20478 # Work around bugs in pre-3.0 UWIN ksh.
20479 for as_var in ENV MAIL MAILPATH
20480 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20481 done
20482 PS1='$ '
20483 PS2='> '
20484 PS4='+ '
20486 # NLS nuisances.
20487 for as_var in \
20488 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20489 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20490 LC_TELEPHONE LC_TIME
20492 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20493 eval $as_var=C; export $as_var
20494 else
20495 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20497 done
20499 # Required to use basename.
20500 if expr a : '\(a\)' >/dev/null 2>&1 &&
20501 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20502 as_expr=expr
20503 else
20504 as_expr=false
20507 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20508 as_basename=basename
20509 else
20510 as_basename=false
20514 # Name of the executable.
20515 as_me=`$as_basename -- "$0" ||
20516 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20517 X"$0" : 'X\(//\)$' \| \
20518 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20519 echo X/"$0" |
20520 sed '/^.*\/\([^/][^/]*\)\/*$/{
20521 s//\1/
20524 /^X\/\(\/\/\)$/{
20525 s//\1/
20528 /^X\/\(\/\).*/{
20529 s//\1/
20532 s/.*/./; q'`
20534 # CDPATH.
20535 $as_unset CDPATH
20539 as_lineno_1=$LINENO
20540 as_lineno_2=$LINENO
20541 test "x$as_lineno_1" != "x$as_lineno_2" &&
20542 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20544 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20545 # uniformly replaced by the line number. The first 'sed' inserts a
20546 # line-number line after each line using $LINENO; the second 'sed'
20547 # does the real work. The second script uses 'N' to pair each
20548 # line-number line with the line containing $LINENO, and appends
20549 # trailing '-' during substitution so that $LINENO is not a special
20550 # case at line end.
20551 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20552 # scripts with optimization help from Paolo Bonzini. Blame Lee
20553 # E. McMahon (1931-1989) for sed's syntax. :-)
20554 sed -n '
20556 /[$]LINENO/=
20557 ' <$as_myself |
20558 sed '
20559 s/[$]LINENO.*/&-/
20560 t lineno
20562 :lineno
20564 :loop
20565 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20566 t loop
20567 s/-\n.*//
20568 ' >$as_me.lineno &&
20569 chmod +x "$as_me.lineno" ||
20570 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20571 { (exit 1); exit 1; }; }
20573 # Don't try to exec as it changes $[0], causing all sort of problems
20574 # (the dirname of $[0] is not the place where we might find the
20575 # original and so on. Autoconf is especially sensitive to this).
20576 . "./$as_me.lineno"
20577 # Exit status is that of the last command.
20578 exit
20582 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20583 as_dirname=dirname
20584 else
20585 as_dirname=false
20588 ECHO_C= ECHO_N= ECHO_T=
20589 case `echo -n x` in
20590 -n*)
20591 case `echo 'x\c'` in
20592 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20593 *) ECHO_C='\c';;
20594 esac;;
20596 ECHO_N='-n';;
20597 esac
20599 if expr a : '\(a\)' >/dev/null 2>&1 &&
20600 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20601 as_expr=expr
20602 else
20603 as_expr=false
20606 rm -f conf$$ conf$$.exe conf$$.file
20607 if test -d conf$$.dir; then
20608 rm -f conf$$.dir/conf$$.file
20609 else
20610 rm -f conf$$.dir
20611 mkdir conf$$.dir
20613 echo >conf$$.file
20614 if ln -s conf$$.file conf$$ 2>/dev/null; then
20615 as_ln_s='ln -s'
20616 # ... but there are two gotchas:
20617 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20618 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20619 # In both cases, we have to default to `cp -p'.
20620 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20621 as_ln_s='cp -p'
20622 elif ln conf$$.file conf$$ 2>/dev/null; then
20623 as_ln_s=ln
20624 else
20625 as_ln_s='cp -p'
20627 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20628 rmdir conf$$.dir 2>/dev/null
20630 if mkdir -p . 2>/dev/null; then
20631 as_mkdir_p=:
20632 else
20633 test -d ./-p && rmdir ./-p
20634 as_mkdir_p=false
20637 if test -x / >/dev/null 2>&1; then
20638 as_test_x='test -x'
20639 else
20640 if ls -dL / >/dev/null 2>&1; then
20641 as_ls_L_option=L
20642 else
20643 as_ls_L_option=
20645 as_test_x='
20646 eval sh -c '\''
20647 if test -d "$1"; then
20648 test -d "$1/.";
20649 else
20650 case $1 in
20651 -*)set "./$1";;
20652 esac;
20653 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20654 ???[sx]*):;;*)false;;esac;fi
20655 '\'' sh
20658 as_executable_p=$as_test_x
20660 # Sed expression to map a string onto a valid CPP name.
20661 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20663 # Sed expression to map a string onto a valid variable name.
20664 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20667 exec 6>&1
20669 # Save the log message, to keep $[0] and so on meaningful, and to
20670 # report actual input values of CONFIG_FILES etc. instead of their
20671 # values after options handling.
20672 ac_log="
20673 This file was extended by Wine $as_me 0.9.27, which was
20674 generated by GNU Autoconf 2.61. Invocation command line was
20676 CONFIG_FILES = $CONFIG_FILES
20677 CONFIG_HEADERS = $CONFIG_HEADERS
20678 CONFIG_LINKS = $CONFIG_LINKS
20679 CONFIG_COMMANDS = $CONFIG_COMMANDS
20680 $ $0 $@
20682 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20685 _ACEOF
20687 cat >>$CONFIG_STATUS <<_ACEOF
20688 # Files that config.status was made for.
20689 config_files="$ac_config_files"
20690 config_headers="$ac_config_headers"
20691 config_commands="$ac_config_commands"
20693 _ACEOF
20695 cat >>$CONFIG_STATUS <<\_ACEOF
20696 ac_cs_usage="\
20697 \`$as_me' instantiates files from templates according to the
20698 current configuration.
20700 Usage: $0 [OPTIONS] [FILE]...
20702 -h, --help print this help, then exit
20703 -V, --version print version number and configuration settings, then exit
20704 -q, --quiet do not print progress messages
20705 -d, --debug don't remove temporary files
20706 --recheck update $as_me by reconfiguring in the same conditions
20707 --file=FILE[:TEMPLATE]
20708 instantiate the configuration file FILE
20709 --header=FILE[:TEMPLATE]
20710 instantiate the configuration header FILE
20712 Configuration files:
20713 $config_files
20715 Configuration headers:
20716 $config_headers
20718 Configuration commands:
20719 $config_commands
20721 Report bugs to <bug-autoconf@gnu.org>."
20723 _ACEOF
20724 cat >>$CONFIG_STATUS <<_ACEOF
20725 ac_cs_version="\\
20726 Wine config.status 0.9.27
20727 configured by $0, generated by GNU Autoconf 2.61,
20728 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20730 Copyright (C) 2006 Free Software Foundation, Inc.
20731 This config.status script is free software; the Free Software Foundation
20732 gives unlimited permission to copy, distribute and modify it."
20734 ac_pwd='$ac_pwd'
20735 srcdir='$srcdir'
20736 INSTALL='$INSTALL'
20737 _ACEOF
20739 cat >>$CONFIG_STATUS <<\_ACEOF
20740 # If no file are specified by the user, then we need to provide default
20741 # value. By we need to know if files were specified by the user.
20742 ac_need_defaults=:
20743 while test $# != 0
20745 case $1 in
20746 --*=*)
20747 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20748 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20749 ac_shift=:
20752 ac_option=$1
20753 ac_optarg=$2
20754 ac_shift=shift
20756 esac
20758 case $ac_option in
20759 # Handling of the options.
20760 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20761 ac_cs_recheck=: ;;
20762 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20763 echo "$ac_cs_version"; exit ;;
20764 --debug | --debu | --deb | --de | --d | -d )
20765 debug=: ;;
20766 --file | --fil | --fi | --f )
20767 $ac_shift
20768 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20769 ac_need_defaults=false;;
20770 --header | --heade | --head | --hea )
20771 $ac_shift
20772 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20773 ac_need_defaults=false;;
20774 --he | --h)
20775 # Conflict between --help and --header
20776 { echo "$as_me: error: ambiguous option: $1
20777 Try \`$0 --help' for more information." >&2
20778 { (exit 1); exit 1; }; };;
20779 --help | --hel | -h )
20780 echo "$ac_cs_usage"; exit ;;
20781 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20782 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20783 ac_cs_silent=: ;;
20785 # This is an error.
20786 -*) { echo "$as_me: error: unrecognized option: $1
20787 Try \`$0 --help' for more information." >&2
20788 { (exit 1); exit 1; }; } ;;
20790 *) ac_config_targets="$ac_config_targets $1"
20791 ac_need_defaults=false ;;
20793 esac
20794 shift
20795 done
20797 ac_configure_extra_args=
20799 if $ac_cs_silent; then
20800 exec 6>/dev/null
20801 ac_configure_extra_args="$ac_configure_extra_args --silent"
20804 _ACEOF
20805 cat >>$CONFIG_STATUS <<_ACEOF
20806 if \$ac_cs_recheck; then
20807 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20808 CONFIG_SHELL=$SHELL
20809 export CONFIG_SHELL
20810 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20813 _ACEOF
20814 cat >>$CONFIG_STATUS <<\_ACEOF
20815 exec 5>>config.log
20817 echo
20818 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20819 ## Running $as_me. ##
20820 _ASBOX
20821 echo "$ac_log"
20822 } >&5
20824 _ACEOF
20825 cat >>$CONFIG_STATUS <<_ACEOF
20826 _ACEOF
20828 cat >>$CONFIG_STATUS <<\_ACEOF
20830 # Handling of arguments.
20831 for ac_config_target in $ac_config_targets
20833 case $ac_config_target in
20834 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20835 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20836 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
20837 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
20838 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
20839 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
20840 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
20841 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20842 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20843 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20844 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20845 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20846 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20847 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20848 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20849 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
20850 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20851 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20852 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20853 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20854 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20855 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20856 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20857 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20858 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20859 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20860 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20861 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20862 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20863 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
20864 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20865 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
20866 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20867 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20868 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20869 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
20870 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
20871 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20872 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20873 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20874 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20875 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
20876 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20877 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20878 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
20879 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20880 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20881 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20882 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20883 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20884 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20885 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20886 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20887 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20888 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20889 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
20890 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20891 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20892 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20893 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20894 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20895 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20896 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20897 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20898 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20899 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20900 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20901 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20902 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20903 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20904 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20905 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20906 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20907 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20908 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20909 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20910 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20911 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20912 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20913 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20914 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20915 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20916 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
20917 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
20918 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20919 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
20920 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20921 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
20922 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
20923 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
20924 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20925 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20926 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20927 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20928 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20929 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20930 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
20931 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
20932 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
20933 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20934 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20935 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20936 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
20937 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
20938 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
20939 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
20940 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
20941 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20942 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20943 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20944 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20945 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20946 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20947 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
20948 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
20949 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20950 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20951 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20952 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20953 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20954 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
20955 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
20956 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20957 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20958 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20959 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20960 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20961 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
20962 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20963 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20964 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20965 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20966 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20967 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20968 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20969 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20970 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
20971 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20972 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20973 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20974 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20975 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20976 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20977 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20978 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20979 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20980 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20981 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20982 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
20983 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
20984 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
20985 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20986 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20987 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20988 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20989 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20990 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
20991 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
20992 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20993 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20994 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20995 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20996 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20997 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20998 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20999 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21000 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21001 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21002 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21003 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21004 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21005 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21006 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21007 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21008 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21009 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21010 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21011 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21012 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21013 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21014 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21015 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21016 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21017 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21018 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21019 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21020 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21021 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21022 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21023 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21024 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21025 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21026 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21027 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21028 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21029 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21030 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21031 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21032 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21033 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21034 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21035 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21036 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21037 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21038 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21039 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21040 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21041 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21042 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21043 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21044 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21045 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21046 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21047 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21048 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21049 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21050 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21051 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21052 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21053 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21054 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21055 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21056 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21057 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21058 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21059 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21060 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21061 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21062 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21063 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21064 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21065 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21066 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21067 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21068 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21069 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21070 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21071 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21072 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21073 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21074 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21075 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21076 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21077 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21078 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21079 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21080 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21081 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
21082 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21083 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
21084 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
21085 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
21086 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
21087 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
21088 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
21089 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
21090 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
21091 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21092 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21093 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21094 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21095 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21096 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21097 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21098 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21099 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21100 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21101 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21102 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21103 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21104 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21105 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21106 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21107 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21108 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21109 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21110 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21111 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21112 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21113 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21114 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21115 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21116 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21117 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21118 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21119 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21120 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21121 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21122 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21123 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21124 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21125 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21126 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21127 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21128 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21129 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21130 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21131 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21132 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21133 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21134 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21135 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21136 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21137 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21138 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21139 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21140 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21141 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21142 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21143 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21144 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21145 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21146 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21147 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21148 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21149 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21150 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21151 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21152 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21153 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21154 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21155 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21156 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21158 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21159 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21160 { (exit 1); exit 1; }; };;
21161 esac
21162 done
21165 # If the user did not use the arguments to specify the items to instantiate,
21166 # then the envvar interface is used. Set only those that are not.
21167 # We use the long form for the default assignment because of an extremely
21168 # bizarre bug on SunOS 4.1.3.
21169 if $ac_need_defaults; then
21170 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21171 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21172 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21175 # Have a temporary directory for convenience. Make it in the build tree
21176 # simply because there is no reason against having it here, and in addition,
21177 # creating and moving files from /tmp can sometimes cause problems.
21178 # Hook for its removal unless debugging.
21179 # Note that there is a small window in which the directory will not be cleaned:
21180 # after its creation but before its name has been assigned to `$tmp'.
21181 $debug ||
21183 tmp=
21184 trap 'exit_status=$?
21185 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21187 trap '{ (exit 1); exit 1; }' 1 2 13 15
21189 # Create a (secure) tmp directory for tmp files.
21192 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21193 test -n "$tmp" && test -d "$tmp"
21194 } ||
21196 tmp=./conf$$-$RANDOM
21197 (umask 077 && mkdir "$tmp")
21198 } ||
21200 echo "$me: cannot create a temporary directory in ." >&2
21201 { (exit 1); exit 1; }
21205 # Set up the sed scripts for CONFIG_FILES section.
21208 # No need to generate the scripts if there are no CONFIG_FILES.
21209 # This happens for instance when ./config.status config.h
21210 if test -n "$CONFIG_FILES"; then
21212 _ACEOF
21214 # Create sed commands to just substitute file output variables.
21216 # Remaining file output variables are in a fragment that also has non-file
21217 # output varibles.
21221 ac_delim='%!_!# '
21222 for ac_last_try in false false false false false :; do
21223 cat >conf$$subs.sed <<_ACEOF
21224 SHELL!$SHELL$ac_delim
21225 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21226 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21227 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21228 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21229 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21230 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21231 exec_prefix!$exec_prefix$ac_delim
21232 prefix!$prefix$ac_delim
21233 program_transform_name!$program_transform_name$ac_delim
21234 bindir!$bindir$ac_delim
21235 sbindir!$sbindir$ac_delim
21236 libexecdir!$libexecdir$ac_delim
21237 datarootdir!$datarootdir$ac_delim
21238 datadir!$datadir$ac_delim
21239 sysconfdir!$sysconfdir$ac_delim
21240 sharedstatedir!$sharedstatedir$ac_delim
21241 localstatedir!$localstatedir$ac_delim
21242 includedir!$includedir$ac_delim
21243 oldincludedir!$oldincludedir$ac_delim
21244 docdir!$docdir$ac_delim
21245 infodir!$infodir$ac_delim
21246 htmldir!$htmldir$ac_delim
21247 dvidir!$dvidir$ac_delim
21248 pdfdir!$pdfdir$ac_delim
21249 psdir!$psdir$ac_delim
21250 libdir!$libdir$ac_delim
21251 localedir!$localedir$ac_delim
21252 mandir!$mandir$ac_delim
21253 DEFS!$DEFS$ac_delim
21254 ECHO_C!$ECHO_C$ac_delim
21255 ECHO_N!$ECHO_N$ac_delim
21256 ECHO_T!$ECHO_T$ac_delim
21257 LIBS!$LIBS$ac_delim
21258 build_alias!$build_alias$ac_delim
21259 host_alias!$host_alias$ac_delim
21260 target_alias!$target_alias$ac_delim
21261 build!$build$ac_delim
21262 build_cpu!$build_cpu$ac_delim
21263 build_vendor!$build_vendor$ac_delim
21264 build_os!$build_os$ac_delim
21265 host!$host$ac_delim
21266 host_cpu!$host_cpu$ac_delim
21267 host_vendor!$host_vendor$ac_delim
21268 host_os!$host_os$ac_delim
21269 WIN16_FILES!$WIN16_FILES$ac_delim
21270 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21271 SET_MAKE!$SET_MAKE$ac_delim
21272 CC!$CC$ac_delim
21273 CFLAGS!$CFLAGS$ac_delim
21274 LDFLAGS!$LDFLAGS$ac_delim
21275 CPPFLAGS!$CPPFLAGS$ac_delim
21276 ac_ct_CC!$ac_ct_CC$ac_delim
21277 EXEEXT!$EXEEXT$ac_delim
21278 OBJEXT!$OBJEXT$ac_delim
21279 CXX!$CXX$ac_delim
21280 CXXFLAGS!$CXXFLAGS$ac_delim
21281 ac_ct_CXX!$ac_ct_CXX$ac_delim
21282 CPPBIN!$CPPBIN$ac_delim
21283 TOOLSDIR!$TOOLSDIR$ac_delim
21284 XMKMF!$XMKMF$ac_delim
21285 CPP!$CPP$ac_delim
21286 X_CFLAGS!$X_CFLAGS$ac_delim
21287 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21288 X_LIBS!$X_LIBS$ac_delim
21289 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21290 LEX!$LEX$ac_delim
21291 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21292 LEXLIB!$LEXLIB$ac_delim
21293 XLEX!$XLEX$ac_delim
21294 BISON!$BISON$ac_delim
21295 AS!$AS$ac_delim
21296 ac_ct_AS!$ac_ct_AS$ac_delim
21297 LD!$LD$ac_delim
21298 AR!$AR$ac_delim
21299 RANLIB!$RANLIB$ac_delim
21300 STRIP!$STRIP$ac_delim
21301 WINDRES!$WINDRES$ac_delim
21302 LN_S!$LN_S$ac_delim
21303 LN!$LN$ac_delim
21304 GREP!$GREP$ac_delim
21305 EGREP!$EGREP$ac_delim
21306 _ACEOF
21308 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21309 break
21310 elif $ac_last_try; then
21311 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21312 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21313 { (exit 1); exit 1; }; }
21314 else
21315 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21317 done
21319 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21320 if test -n "$ac_eof"; then
21321 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21322 ac_eof=`expr $ac_eof + 1`
21325 cat >>$CONFIG_STATUS <<_ACEOF
21326 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21328 /^[ ]*@MAKE_RULES@[ ]*$/{
21329 r $MAKE_RULES
21332 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21333 r $MAKE_DLL_RULES
21336 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21337 r $MAKE_IMPLIB_RULES
21340 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21341 r $MAKE_TEST_RULES
21344 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21345 r $MAKE_PROG_RULES
21348 _ACEOF
21349 sed '
21350 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21351 s/^/s,@/; s/!/@,|#_!!_#|/
21354 s/'"$ac_delim"'$/,g/; t
21355 s/$/\\/; p
21356 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21357 ' >>$CONFIG_STATUS <conf$$subs.sed
21358 rm -f conf$$subs.sed
21359 cat >>$CONFIG_STATUS <<_ACEOF
21360 CEOF$ac_eof
21361 _ACEOF
21364 ac_delim='%!_!# '
21365 for ac_last_try in false false false false false :; do
21366 cat >conf$$subs.sed <<_ACEOF
21367 LDCONFIG!$LDCONFIG$ac_delim
21368 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21369 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21370 INSTALL_DATA!$INSTALL_DATA$ac_delim
21371 LINT!$LINT$ac_delim
21372 LINTFLAGS!$LINTFLAGS$ac_delim
21373 FONTFORGE!$FONTFORGE$ac_delim
21374 PKG_CONFIG!$PKG_CONFIG$ac_delim
21375 PRELINK!$PRELINK$ac_delim
21376 LIBPTHREAD!$LIBPTHREAD$ac_delim
21377 XLIB!$XLIB$ac_delim
21378 XFILES!$XFILES$ac_delim
21379 OPENGLFILES!$OPENGLFILES$ac_delim
21380 GLU32FILES!$GLU32FILES$ac_delim
21381 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21382 QUARTZFILES!$QUARTZFILES$ac_delim
21383 NASLIBS!$NASLIBS$ac_delim
21384 XML2LIBS!$XML2LIBS$ac_delim
21385 XML2INCL!$XML2INCL$ac_delim
21386 XSLTLIBS!$XSLTLIBS$ac_delim
21387 XSLTINCL!$XSLTINCL$ac_delim
21388 HALINCL!$HALINCL$ac_delim
21389 sane_devel!$sane_devel$ac_delim
21390 SANELIBS!$SANELIBS$ac_delim
21391 SANEINCL!$SANEINCL$ac_delim
21392 gphoto2_devel!$gphoto2_devel$ac_delim
21393 gphoto2port_devel!$gphoto2port_devel$ac_delim
21394 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21395 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21396 ICULIBS!$ICULIBS$ac_delim
21397 RESOLVLIBS!$RESOLVLIBS$ac_delim
21398 LCMSLIBS!$LCMSLIBS$ac_delim
21399 LDAPLIBS!$LDAPLIBS$ac_delim
21400 FREETYPELIBS!$FREETYPELIBS$ac_delim
21401 FREETYPEINCL!$FREETYPEINCL$ac_delim
21402 ft_devel!$ft_devel$ac_delim
21403 ft_devel2!$ft_devel2$ac_delim
21404 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21405 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
21406 ARTSLIBS!$ARTSLIBS$ac_delim
21407 ARTSINCL!$ARTSINCL$ac_delim
21408 ESDCONFIG!$ESDCONFIG$ac_delim
21409 ESDLIBS!$ESDLIBS$ac_delim
21410 ESDINCL!$ESDINCL$ac_delim
21411 ALSALIBS!$ALSALIBS$ac_delim
21412 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21413 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21414 BUILTINFLAG!$BUILTINFLAG$ac_delim
21415 DLLEXT!$DLLEXT$ac_delim
21416 DLLFLAGS!$DLLFLAGS$ac_delim
21417 LDSHARED!$LDSHARED$ac_delim
21418 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21419 LIBEXT!$LIBEXT$ac_delim
21420 IMPLIBEXT!$IMPLIBEXT$ac_delim
21421 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
21422 DLLTOOL!$DLLTOOL$ac_delim
21423 DLLWRAP!$DLLWRAP$ac_delim
21424 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21425 IOKITLIB!$IOKITLIB$ac_delim
21426 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21427 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21428 COREAUDIO!$COREAUDIO$ac_delim
21429 CROSSTEST!$CROSSTEST$ac_delim
21430 CROSSCC!$CROSSCC$ac_delim
21431 CROSSWINDRES!$CROSSWINDRES$ac_delim
21432 LDPATH!$LDPATH$ac_delim
21433 CRTLIBS!$CRTLIBS$ac_delim
21434 SOCKETLIBS!$SOCKETLIBS$ac_delim
21435 MAIN_BINARY!$MAIN_BINARY$ac_delim
21436 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
21437 LDD!$LDD$ac_delim
21438 LIBDL!$LIBDL$ac_delim
21439 LIBPOLL!$LIBPOLL$ac_delim
21440 DEPENDENCIES!$DEPENDENCIES$ac_delim
21441 LIBOBJS!$LIBOBJS$ac_delim
21442 LTLIBOBJS!$LTLIBOBJS$ac_delim
21443 _ACEOF
21445 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
21446 break
21447 elif $ac_last_try; then
21448 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21449 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21450 { (exit 1); exit 1; }; }
21451 else
21452 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21454 done
21456 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21457 if test -n "$ac_eof"; then
21458 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21459 ac_eof=`expr $ac_eof + 1`
21462 cat >>$CONFIG_STATUS <<_ACEOF
21463 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21465 _ACEOF
21466 sed '
21467 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21468 s/^/s,@/; s/!/@,|#_!!_#|/
21471 s/'"$ac_delim"'$/,g/; t
21472 s/$/\\/; p
21473 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21474 ' >>$CONFIG_STATUS <conf$$subs.sed
21475 rm -f conf$$subs.sed
21476 cat >>$CONFIG_STATUS <<_ACEOF
21477 :end
21478 s/|#_!!_#|//g
21479 CEOF$ac_eof
21480 _ACEOF
21483 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21484 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21485 # trailing colons and then remove the whole line if VPATH becomes empty
21486 # (actually we leave an empty line to preserve line numbers).
21487 if test "x$srcdir" = x.; then
21488 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21489 s/:*\$(srcdir):*/:/
21490 s/:*\${srcdir}:*/:/
21491 s/:*@srcdir@:*/:/
21492 s/^\([^=]*=[ ]*\):*/\1/
21493 s/:*$//
21494 s/^[^=]*=[ ]*$//
21498 cat >>$CONFIG_STATUS <<\_ACEOF
21499 fi # test -n "$CONFIG_FILES"
21502 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
21504 case $ac_tag in
21505 :[FHLC]) ac_mode=$ac_tag; continue;;
21506 esac
21507 case $ac_mode$ac_tag in
21508 :[FHL]*:*);;
21509 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21510 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21511 { (exit 1); exit 1; }; };;
21512 :[FH]-) ac_tag=-:-;;
21513 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21514 esac
21515 ac_save_IFS=$IFS
21516 IFS=:
21517 set x $ac_tag
21518 IFS=$ac_save_IFS
21519 shift
21520 ac_file=$1
21521 shift
21523 case $ac_mode in
21524 :L) ac_source=$1;;
21525 :[FH])
21526 ac_file_inputs=
21527 for ac_f
21529 case $ac_f in
21530 -) ac_f="$tmp/stdin";;
21531 *) # Look for the file first in the build tree, then in the source tree
21532 # (if the path is not absolute). The absolute path cannot be DOS-style,
21533 # because $ac_f cannot contain `:'.
21534 test -f "$ac_f" ||
21535 case $ac_f in
21536 [\\/$]*) false;;
21537 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21538 esac ||
21539 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21540 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21541 { (exit 1); exit 1; }; };;
21542 esac
21543 ac_file_inputs="$ac_file_inputs $ac_f"
21544 done
21546 # Let's still pretend it is `configure' which instantiates (i.e., don't
21547 # use $as_me), people would be surprised to read:
21548 # /* config.h. Generated by config.status. */
21549 configure_input="Generated from "`IFS=:
21550 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21551 if test x"$ac_file" != x-; then
21552 configure_input="$ac_file. $configure_input"
21553 { echo "$as_me:$LINENO: creating $ac_file" >&5
21554 echo "$as_me: creating $ac_file" >&6;}
21557 case $ac_tag in
21558 *:-:* | *:-) cat >"$tmp/stdin";;
21559 esac
21561 esac
21563 ac_dir=`$as_dirname -- "$ac_file" ||
21564 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21565 X"$ac_file" : 'X\(//\)[^/]' \| \
21566 X"$ac_file" : 'X\(//\)$' \| \
21567 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21568 echo X"$ac_file" |
21569 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21570 s//\1/
21573 /^X\(\/\/\)[^/].*/{
21574 s//\1/
21577 /^X\(\/\/\)$/{
21578 s//\1/
21581 /^X\(\/\).*/{
21582 s//\1/
21585 s/.*/./; q'`
21586 { as_dir="$ac_dir"
21587 case $as_dir in #(
21588 -*) as_dir=./$as_dir;;
21589 esac
21590 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21591 as_dirs=
21592 while :; do
21593 case $as_dir in #(
21594 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21595 *) as_qdir=$as_dir;;
21596 esac
21597 as_dirs="'$as_qdir' $as_dirs"
21598 as_dir=`$as_dirname -- "$as_dir" ||
21599 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21600 X"$as_dir" : 'X\(//\)[^/]' \| \
21601 X"$as_dir" : 'X\(//\)$' \| \
21602 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21603 echo X"$as_dir" |
21604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21605 s//\1/
21608 /^X\(\/\/\)[^/].*/{
21609 s//\1/
21612 /^X\(\/\/\)$/{
21613 s//\1/
21616 /^X\(\/\).*/{
21617 s//\1/
21620 s/.*/./; q'`
21621 test -d "$as_dir" && break
21622 done
21623 test -z "$as_dirs" || eval "mkdir $as_dirs"
21624 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21625 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21626 { (exit 1); exit 1; }; }; }
21627 ac_builddir=.
21629 case "$ac_dir" in
21630 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21632 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21633 # A ".." for each directory in $ac_dir_suffix.
21634 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21635 case $ac_top_builddir_sub in
21636 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21637 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21638 esac ;;
21639 esac
21640 ac_abs_top_builddir=$ac_pwd
21641 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21642 # for backward compatibility:
21643 ac_top_builddir=$ac_top_build_prefix
21645 case $srcdir in
21646 .) # We are building in place.
21647 ac_srcdir=.
21648 ac_top_srcdir=$ac_top_builddir_sub
21649 ac_abs_top_srcdir=$ac_pwd ;;
21650 [\\/]* | ?:[\\/]* ) # Absolute name.
21651 ac_srcdir=$srcdir$ac_dir_suffix;
21652 ac_top_srcdir=$srcdir
21653 ac_abs_top_srcdir=$srcdir ;;
21654 *) # Relative name.
21655 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21656 ac_top_srcdir=$ac_top_build_prefix$srcdir
21657 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21658 esac
21659 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21662 case $ac_mode in
21665 # CONFIG_FILE
21668 case $INSTALL in
21669 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21670 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21671 esac
21672 _ACEOF
21674 cat >>$CONFIG_STATUS <<\_ACEOF
21675 # If the template does not know about datarootdir, expand it.
21676 # FIXME: This hack should be removed a few years after 2.60.
21677 ac_datarootdir_hack=; ac_datarootdir_seen=
21679 case `sed -n '/datarootdir/ {
21683 /@datadir@/p
21684 /@docdir@/p
21685 /@infodir@/p
21686 /@localedir@/p
21687 /@mandir@/p
21688 ' $ac_file_inputs` in
21689 *datarootdir*) ac_datarootdir_seen=yes;;
21690 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21691 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21692 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21693 _ACEOF
21694 cat >>$CONFIG_STATUS <<_ACEOF
21695 ac_datarootdir_hack='
21696 s&@datadir@&$datadir&g
21697 s&@docdir@&$docdir&g
21698 s&@infodir@&$infodir&g
21699 s&@localedir@&$localedir&g
21700 s&@mandir@&$mandir&g
21701 s&\\\${datarootdir}&$datarootdir&g' ;;
21702 esac
21703 _ACEOF
21705 # Neutralize VPATH when `$srcdir' = `.'.
21706 # Shell code in configure.ac might set extrasub.
21707 # FIXME: do we really want to maintain this feature?
21708 cat >>$CONFIG_STATUS <<_ACEOF
21709 sed "$ac_vpsub
21710 $extrasub
21711 _ACEOF
21712 cat >>$CONFIG_STATUS <<\_ACEOF
21714 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21715 s&@configure_input@&$configure_input&;t t
21716 s&@top_builddir@&$ac_top_builddir_sub&;t t
21717 s&@srcdir@&$ac_srcdir&;t t
21718 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21719 s&@top_srcdir@&$ac_top_srcdir&;t t
21720 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21721 s&@builddir@&$ac_builddir&;t t
21722 s&@abs_builddir@&$ac_abs_builddir&;t t
21723 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21724 s&@INSTALL@&$ac_INSTALL&;t t
21725 $ac_datarootdir_hack
21726 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
21728 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21729 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21730 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21731 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21732 which seems to be undefined. Please make sure it is defined." >&5
21733 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21734 which seems to be undefined. Please make sure it is defined." >&2;}
21736 rm -f "$tmp/stdin"
21737 case $ac_file in
21738 -) cat "$tmp/out"; rm -f "$tmp/out";;
21739 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21740 esac
21744 # CONFIG_HEADER
21746 _ACEOF
21748 # Transform confdefs.h into a sed script `conftest.defines', that
21749 # substitutes the proper values into config.h.in to produce config.h.
21750 rm -f conftest.defines conftest.tail
21751 # First, append a space to every undef/define line, to ease matching.
21752 echo 's/$/ /' >conftest.defines
21753 # Then, protect against being on the right side of a sed subst, or in
21754 # an unquoted here document, in config.status. If some macros were
21755 # called several times there might be several #defines for the same
21756 # symbol, which is useless. But do not sort them, since the last
21757 # AC_DEFINE must be honored.
21758 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21759 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21760 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21761 # PARAMS is the parameter list in the macro definition--in most cases, it's
21762 # just an empty string.
21763 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21764 ac_dB='\\)[ (].*,\\1define\\2'
21765 ac_dC=' '
21766 ac_dD=' ,'
21768 uniq confdefs.h |
21769 sed -n '
21770 t rset
21771 :rset
21772 s/^[ ]*#[ ]*define[ ][ ]*//
21773 t ok
21776 s/[\\&,]/\\&/g
21777 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21778 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21779 ' >>conftest.defines
21781 # Remove the space that was appended to ease matching.
21782 # Then replace #undef with comments. This is necessary, for
21783 # example, in the case of _POSIX_SOURCE, which is predefined and required
21784 # on some systems where configure will not decide to define it.
21785 # (The regexp can be short, since the line contains either #define or #undef.)
21786 echo 's/ $//
21787 s,^[ #]*u.*,/* & */,' >>conftest.defines
21789 # Break up conftest.defines:
21790 ac_max_sed_lines=50
21792 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21793 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21794 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21795 # et cetera.
21796 ac_in='$ac_file_inputs'
21797 ac_out='"$tmp/out1"'
21798 ac_nxt='"$tmp/out2"'
21800 while :
21802 # Write a here document:
21803 cat >>$CONFIG_STATUS <<_ACEOF
21804 # First, check the format of the line:
21805 cat >"\$tmp/defines.sed" <<\\CEOF
21806 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21807 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21809 :def
21810 _ACEOF
21811 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21812 echo 'CEOF
21813 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21814 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
21815 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
21816 grep . conftest.tail >/dev/null || break
21817 rm -f conftest.defines
21818 mv conftest.tail conftest.defines
21819 done
21820 rm -f conftest.defines conftest.tail
21822 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21823 cat >>$CONFIG_STATUS <<\_ACEOF
21824 if test x"$ac_file" != x-; then
21825 echo "/* $configure_input */" >"$tmp/config.h"
21826 cat "$ac_result" >>"$tmp/config.h"
21827 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21828 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21829 echo "$as_me: $ac_file is unchanged" >&6;}
21830 else
21831 rm -f $ac_file
21832 mv "$tmp/config.h" $ac_file
21834 else
21835 echo "/* $configure_input */"
21836 cat "$ac_result"
21838 rm -f "$tmp/out12"
21841 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
21842 echo "$as_me: executing $ac_file commands" >&6;}
21844 esac
21847 case $ac_file$ac_mode in
21848 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
21849 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
21850 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
21851 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
21852 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
21853 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
21854 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
21855 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
21856 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
21857 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
21858 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
21859 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21860 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21862 esac
21863 done # for ac_tag
21866 { (exit 0); exit 0; }
21867 _ACEOF
21868 chmod +x $CONFIG_STATUS
21869 ac_clean_files=$ac_clean_files_save
21872 # configure is writing to config.log, and then calls config.status.
21873 # config.status does its own redirection, appending to config.log.
21874 # Unfortunately, on DOS this fails, as config.log is still kept open
21875 # by configure, so config.status won't be able to write to it; its
21876 # output is simply discarded. So we exec the FD to /dev/null,
21877 # effectively closing config.log, so it can be properly (re)opened and
21878 # appended to by config.status. When coming back to configure, we
21879 # need to make the FD available again.
21880 if test "$no_create" != yes; then
21881 ac_cs_success=:
21882 ac_config_status_args=
21883 test "$silent" = yes &&
21884 ac_config_status_args="$ac_config_status_args --quiet"
21885 exec 5>/dev/null
21886 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21887 exec 5>>config.log
21888 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21889 # would make configure fail if this is the last instruction.
21890 $ac_cs_success || { (exit 1); exit 1; }
21895 if test "$no_create" = "yes"
21896 then
21897 exit 0
21900 if test "$verbose" = "yes"
21901 then
21902 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
21903 then
21904 echo >&2
21905 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
21906 echo "$as_me: libcapi20 development files not found." >&6;}
21907 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
21908 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
21911 if test "$ac_cv_header_cups_cups_h" != "yes"
21912 then
21913 echo >&2
21914 { echo "$as_me:$LINENO: libcups development files not found." >&5
21915 echo "$as_me: libcups development files not found." >&6;}
21916 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
21917 echo "$as_me: Wine will be built without CUPS support." >&6;}
21921 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
21922 then
21923 echo >&2
21924 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
21925 echo "$as_me: libgphoto2 development files not found." >&6;}
21926 if test "$ac_cv_header_sane_sane_h" = "yes"
21927 then
21928 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
21929 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
21930 else
21931 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
21932 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
21936 if test "$ac_cv_header_hal_libhal_h" != "yes"
21937 then
21938 echo >&2
21939 { echo "$as_me:$LINENO: libhal development files not found." >&5
21940 echo "$as_me: libhal development files not found." >&6;}
21941 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
21942 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
21945 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
21946 then
21947 echo >&2
21948 { echo "$as_me:$LINENO: libicu development files not found." >&5
21949 echo "$as_me: libicu development files not found." >&6;}
21950 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
21951 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
21954 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
21955 then
21956 echo >&2
21957 { echo "$as_me:$LINENO: liblcms development files not found." >&5
21958 echo "$as_me: liblcms development files not found." >&6;}
21959 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
21960 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
21963 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
21964 then
21965 echo >&2
21966 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
21967 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
21968 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
21969 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
21972 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
21973 then
21974 echo >&2
21975 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
21976 echo "$as_me: lib(n)curses development files not found." >&6;}
21977 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
21978 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
21981 if test "$ac_cv_header_sane_sane_h" != "yes"
21982 then
21983 echo >&2
21984 { echo "$as_me:$LINENO: libsane development files not found." >&5
21985 echo "$as_me: libsane development files not found." >&6;}
21986 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
21987 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
21990 if test "$have_x" = "yes"
21991 then
21992 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
21993 then
21994 echo >&2
21995 { echo "$as_me:$LINENO: libxext development files not found." >&5
21996 echo "$as_me: libxext development files not found." >&6;}
21997 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
21998 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22001 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22002 then
22003 echo >&2
22004 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22005 echo "$as_me: libXrandr development files not found." >&6;}
22006 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22007 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22010 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22011 then
22012 echo >&2
22013 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22014 echo "$as_me: libXrender development files not found." >&6;}
22015 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22016 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22019 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22020 then
22021 echo >&2
22022 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22023 echo "$as_me: libXxf86vm development files not found." >&6;}
22024 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22025 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22029 if test "$ac_cv_header_libxml_parser_h" != "yes"
22030 then
22031 echo >&2
22032 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22033 echo "$as_me: libxml2 development files not found." >&6;}
22034 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22035 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22038 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22039 then
22040 echo >&2
22041 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22042 echo "$as_me: libxslt development files not found." >&6;}
22043 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22044 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22049 if test "$have_x" = "no"
22050 then
22051 echo >&2
22052 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22053 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22054 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22055 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22056 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22057 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22058 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22059 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22062 if test -z "$OPENGLFILES"
22063 then
22064 echo >&2
22065 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22066 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22067 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22068 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22069 if test "$wine_cv_opengl_headers_found" = "no"
22070 then
22071 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22072 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22074 if test "$wine_cv_opengl_header_version_OK" = "no"
22075 then
22076 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22077 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22078 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22079 then
22080 if test -f /usr/X11R6/lib/libGL.a
22081 then
22082 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22083 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22084 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22085 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22086 else
22087 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22088 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22093 if test "$wine_cv_msg_freetype" = "yes"
22094 then
22095 echo >&2
22096 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22097 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22098 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22099 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22100 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22101 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22102 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22103 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22106 if test -z "$FONTSSUBDIRS"
22107 then
22108 echo >&2
22109 if test "$FONTFORGE" = "false"
22110 then
22111 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22112 echo "$as_me: WARNING: FontForge is missing." >&2;}
22113 else
22114 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22115 echo "$as_me: WARNING: FreeType is missing." >&2;}
22117 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22118 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22121 if test -z "$ALSALIBS" -a \
22122 -z "$ARTSC_LIBS" -a \
22123 -z "$AUDIOIOLIBS" -a \
22124 -z "$NASLIBS" -a \
22125 -z "$ESD_LIBS" -a \
22126 -z "$ac_cv_lib_soname_jack" -a \
22127 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22128 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22129 "$ac_cv_header_soundcard_h" != "yes"
22130 then
22131 echo >&2
22132 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22133 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22134 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22135 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22136 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22137 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22140 echo
22141 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22142 echo