Release 0.9.33.
[wine/multimedia.git] / configure
blobd99a70ab61b41c88dcf6f5dffb5fe861cce88e1d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.33.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18 emulate sh
19 NULLCMD=:
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
27 esac
34 # PATH needs CR
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
46 chmod +x conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
48 PATH_SEPARATOR=';'
49 else
50 PATH_SEPARATOR=:
52 rm -f conf$$.sh
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
57 as_unset=unset
58 else
59 as_unset=false
63 # IFS
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
68 as_nl='
70 IFS=" "" $as_nl"
72 # Find who we are. Look in the path if we contain no directory separator.
73 case $0 in
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76 for as_dir in $PATH
78 IFS=$as_save_IFS
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81 done
82 IFS=$as_save_IFS
85 esac
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
89 as_myself=$0
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
93 { (exit 1); exit 1; }
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
99 done
100 PS1='$ '
101 PS2='> '
102 PS4='+ '
104 # NLS nuisances.
105 for as_var in \
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108 LC_TELEPHONE LC_TIME
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
112 else
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115 done
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
120 as_expr=expr
121 else
122 as_expr=false
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
126 as_basename=basename
127 else
128 as_basename=false
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 echo X/"$0" |
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
139 s//\1/
142 /^X\/\(\/\/\)$/{
143 s//\1/
146 /^X\/\(\/\).*/{
147 s//\1/
150 s/.*/./; q'`
152 # CDPATH.
153 $as_unset CDPATH
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
158 as_have_required=yes
159 else
160 as_have_required=no
163 if test $as_have_required = yes && (eval ":
164 (as_func_return () {
165 (exit \$1)
167 as_func_success () {
168 as_func_return 0
170 as_func_failure () {
171 as_func_return 1
173 as_func_ret_success () {
174 return 0
176 as_func_ret_failure () {
177 return 1
180 exitcode=0
181 if as_func_success; then
183 else
184 exitcode=1
185 echo as_func_success failed.
188 if as_func_failure; then
189 exitcode=1
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
195 else
196 exitcode=1
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
201 exitcode=1
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207 else
208 exitcode=1
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
215 as_lineno_1=\$LINENO
216 as_lineno_2=\$LINENO
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
221 else
222 as_candidate_shells=
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 IFS=$as_save_IFS
227 test -z "$as_dir" && as_dir=.
228 case $as_dir in
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232 done;;
233 esac
234 done
235 IFS=$as_save_IFS
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243 emulate sh
244 NULLCMD=:
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
248 setopt NO_GLOB_SUBST
249 else
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
252 esac
258 _ASEOF
259 }; then
260 CONFIG_SHELL=$as_shell
261 as_have_required=yes
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264 emulate sh
265 NULLCMD=:
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
269 setopt NO_GLOB_SUBST
270 else
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
273 esac
279 (as_func_return () {
280 (exit $1)
282 as_func_success () {
283 as_func_return 0
285 as_func_failure () {
286 as_func_return 1
288 as_func_ret_success () {
289 return 0
291 as_func_ret_failure () {
292 return 1
295 exitcode=0
296 if as_func_success; then
298 else
299 exitcode=1
300 echo as_func_success failed.
303 if as_func_failure; then
304 exitcode=1
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
310 else
311 exitcode=1
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
316 exitcode=1
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
322 else
323 exitcode=1
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
330 as_lineno_1=$LINENO
331 as_lineno_2=$LINENO
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
335 _ASEOF
336 }; then
337 break
342 done
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347 done
348 export CONFIG_SHELL
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
369 (exit \$1)
371 as_func_success () {
372 as_func_return 0
374 as_func_failure () {
375 as_func_return 1
377 as_func_ret_success () {
378 return 0
380 as_func_ret_failure () {
381 return 1
384 exitcode=0
385 if as_func_success; then
387 else
388 exitcode=1
389 echo as_func_success failed.
392 if as_func_failure; then
393 exitcode=1
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
399 else
400 exitcode=1
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
405 exitcode=1
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411 else
412 exitcode=1
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
420 echo message
425 as_lineno_1=$LINENO
426 as_lineno_2=$LINENO
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
436 # case at line end.
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
440 sed -n '
442 /[$]LINENO/=
443 ' <$as_myself |
444 sed '
445 s/[$]LINENO.*/&-/
446 t lineno
448 :lineno
450 :loop
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 t loop
453 s/-\n.*//
454 ' >$as_me.lineno &&
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
462 . "./$as_me.lineno"
463 # Exit status is that of the last command.
464 exit
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
469 as_dirname=dirname
470 else
471 as_dirname=false
474 ECHO_C= ECHO_N= ECHO_T=
475 case `echo -n x` in
476 -n*)
477 case `echo 'x\c'` in
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 *) ECHO_C='\c';;
480 esac;;
482 ECHO_N='-n';;
483 esac
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
487 as_expr=expr
488 else
489 as_expr=false
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
495 else
496 rm -f conf$$.dir
497 mkdir conf$$.dir
499 echo >conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 as_ln_s='ln -s'
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 as_ln_s='cp -p'
508 elif ln conf$$.file conf$$ 2>/dev/null; then
509 as_ln_s=ln
510 else
511 as_ln_s='cp -p'
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
517 as_mkdir_p=:
518 else
519 test -d ./-p && rmdir ./-p
520 as_mkdir_p=false
523 if test -x / >/dev/null 2>&1; then
524 as_test_x='test -x'
525 else
526 if ls -dL / >/dev/null 2>&1; then
527 as_ls_L_option=L
528 else
529 as_ls_L_option=
531 as_test_x='
532 eval sh -c '\''
533 if test -d "$1"; then
534 test -d "$1/.";
535 else
536 case $1 in
537 -*)set "./$1";;
538 esac;
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
541 '\'' sh
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
556 # Name of the host.
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
562 # Initializations.
564 ac_default_prefix=/usr/local
565 ac_clean_files=
566 ac_config_libobj_dir=.
567 LIBOBJS=
568 cross_compiling=no
569 subdirs=
570 MFLAGS=
571 MAKEFLAGS=
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME='Wine'
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.33'
578 PACKAGE_STRING='Wine 0.9.33'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
584 #include <stdio.h>
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
587 #endif
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
590 #endif
591 #ifdef STDC_HEADERS
592 # include <stdlib.h>
593 # include <stddef.h>
594 #else
595 # ifdef HAVE_STDLIB_H
596 # include <stdlib.h>
597 # endif
598 #endif
599 #ifdef HAVE_STRING_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
601 # include <memory.h>
602 # endif
603 # include <string.h>
604 #endif
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
607 #endif
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
610 #endif
611 #ifdef HAVE_STDINT_H
612 # include <stdint.h>
613 #endif
614 #ifdef HAVE_UNISTD_H
615 # include <unistd.h>
616 #endif"
618 ac_subst_vars='SHELL
619 PATH_SEPARATOR
620 PACKAGE_NAME
621 PACKAGE_TARNAME
622 PACKAGE_VERSION
623 PACKAGE_STRING
624 PACKAGE_BUGREPORT
625 exec_prefix
626 prefix
627 program_transform_name
628 bindir
629 sbindir
630 libexecdir
631 datarootdir
632 datadir
633 sysconfdir
634 sharedstatedir
635 localstatedir
636 includedir
637 oldincludedir
638 docdir
639 infodir
640 htmldir
641 dvidir
642 pdfdir
643 psdir
644 libdir
645 localedir
646 mandir
647 DEFS
648 ECHO_C
649 ECHO_N
650 ECHO_T
651 LIBS
652 build_alias
653 host_alias
654 target_alias
655 build
656 build_cpu
657 build_vendor
658 build_os
659 host
660 host_cpu
661 host_vendor
662 host_os
663 WIN16_FILES
664 WIN16_INSTALL
665 SET_MAKE
667 CFLAGS
668 LDFLAGS
669 CPPFLAGS
670 ac_ct_CC
671 EXEEXT
672 OBJEXT
674 CXXFLAGS
675 ac_ct_CXX
676 CPPBIN
677 TOOLSDIR
678 XMKMF
680 X_CFLAGS
681 X_PRE_LIBS
682 X_LIBS
683 X_EXTRA_LIBS
684 FLEX
685 BISON
687 ac_ct_AS
690 RANLIB
691 STRIP
692 WINDRES
693 LN_S
695 GREP
696 EGREP
697 LDCONFIG
698 INSTALL_PROGRAM
699 INSTALL_SCRIPT
700 INSTALL_DATA
701 LINT
702 LINTFLAGS
703 FONTFORGE
704 PKG_CONFIG
705 PRELINK
706 LIBPTHREAD
707 XLIB
708 XFILES
709 OPENGLFILES
710 GLU32FILES
711 OPENGL_LIBS
712 QUARTZFILES
713 NASLIBS
714 XML2LIBS
715 XML2INCL
716 XSLTLIBS
717 XSLTINCL
718 HALINCL
719 sane_devel
720 SANEINCL
721 gphoto2_devel
722 gphoto2port_devel
723 GPHOTO2LIBS
724 GPHOTO2INCL
725 ICULIBS
726 RESOLVLIBS
727 LCMSLIBS
728 LDAPLIBS
729 FREETYPELIBS
730 FREETYPEINCL
731 ft_devel
732 ft_devel2
733 FONTSSUBDIRS
734 ARTSCCONFIG
735 ARTSLIBS
736 ARTSINCL
737 ESDCONFIG
738 ESDLIBS
739 ESDINCL
740 ALSALIBS
741 AUDIOIOLIBS
742 EXTRACFLAGS
743 BUILTINFLAG
744 DLLEXT
745 DLLFLAGS
746 LDSHARED
747 LDDLLFLAGS
748 LIBEXT
749 IMPLIBEXT
750 LIBWINE_LDFLAGS
751 DLLTOOL
752 DLLWRAP
753 MINGWAR
754 COREFOUNDATIONLIB
755 IOKITLIB
756 LDEXECFLAGS
757 DISKARBITRATIONLIB
758 COREAUDIO
759 CARBONLIB
760 CROSSTEST
761 CROSSCC
762 CROSSWINDRES
763 LDPATH
764 CRTLIBS
765 SOCKETLIBS
766 MAIN_BINARY
767 EXTRA_BINARIES
769 LIBDL
770 LIBPOLL
771 DEPENDENCIES
772 LIBOBJS
773 LTLIBOBJS'
774 ac_subst_files='MAKE_RULES
775 MAKE_DLL_RULES
776 MAKE_IMPLIB_RULES
777 MAKE_TEST_RULES
778 MAKE_PROG_RULES'
779 ac_precious_vars='build_alias
780 host_alias
781 target_alias
783 CFLAGS
784 LDFLAGS
785 LIBS
786 CPPFLAGS
788 CXXFLAGS
790 XMKMF
791 CPP'
794 # Initialize some variables set by options.
795 ac_init_help=
796 ac_init_version=false
797 # The variables have the same names as the options, with
798 # dashes changed to underlines.
799 cache_file=/dev/null
800 exec_prefix=NONE
801 no_create=
802 no_recursion=
803 prefix=NONE
804 program_prefix=NONE
805 program_suffix=NONE
806 program_transform_name=s,x,x,
807 silent=
808 site=
809 srcdir=
810 verbose=
811 x_includes=NONE
812 x_libraries=NONE
814 # Installation directory options.
815 # These are left unexpanded so users can "make install exec_prefix=/foo"
816 # and all the variables that are supposed to be based on exec_prefix
817 # by default will actually change.
818 # Use braces instead of parens because sh, perl, etc. also accept them.
819 # (The list follows the same order as the GNU Coding Standards.)
820 bindir='${exec_prefix}/bin'
821 sbindir='${exec_prefix}/sbin'
822 libexecdir='${exec_prefix}/libexec'
823 datarootdir='${prefix}/share'
824 datadir='${datarootdir}'
825 sysconfdir='${prefix}/etc'
826 sharedstatedir='${prefix}/com'
827 localstatedir='${prefix}/var'
828 includedir='${prefix}/include'
829 oldincludedir='/usr/include'
830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
831 infodir='${datarootdir}/info'
832 htmldir='${docdir}'
833 dvidir='${docdir}'
834 pdfdir='${docdir}'
835 psdir='${docdir}'
836 libdir='${exec_prefix}/lib'
837 localedir='${datarootdir}/locale'
838 mandir='${datarootdir}/man'
840 ac_prev=
841 ac_dashdash=
842 for ac_option
844 # If the previous option needs an argument, assign it.
845 if test -n "$ac_prev"; then
846 eval $ac_prev=\$ac_option
847 ac_prev=
848 continue
851 case $ac_option in
852 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
853 *) ac_optarg=yes ;;
854 esac
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
860 ac_dashdash=yes ;;
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 ac_prev=bindir ;;
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
865 bindir=$ac_optarg ;;
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
879 --config-cache | -C)
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
883 ac_prev=datadir ;;
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
898 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
899 { (exit 1); exit 1; }; }
900 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
901 eval enable_$ac_feature=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
904 ac_prev=docdir ;;
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
906 docdir=$ac_optarg ;;
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 ac_prev=dvidir ;;
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
911 dvidir=$ac_optarg ;;
913 -enable-* | --enable-*)
914 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
917 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
918 { (exit 1); exit 1; }; }
919 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
920 eval enable_$ac_feature=\$ac_optarg ;;
922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
924 | --exec | --exe | --ex)
925 ac_prev=exec_prefix ;;
926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
928 | --exec=* | --exe=* | --ex=*)
929 exec_prefix=$ac_optarg ;;
931 -gas | --gas | --ga | --g)
932 # Obsolete; use --with-gas.
933 with_gas=yes ;;
935 -help | --help | --hel | --he | -h)
936 ac_init_help=long ;;
937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
938 ac_init_help=recursive ;;
939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
940 ac_init_help=short ;;
942 -host | --host | --hos | --ho)
943 ac_prev=host_alias ;;
944 -host=* | --host=* | --hos=* | --ho=*)
945 host_alias=$ac_optarg ;;
947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
948 ac_prev=htmldir ;;
949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
950 | --ht=*)
951 htmldir=$ac_optarg ;;
953 -includedir | --includedir | --includedi | --included | --include \
954 | --includ | --inclu | --incl | --inc)
955 ac_prev=includedir ;;
956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
957 | --includ=* | --inclu=* | --incl=* | --inc=*)
958 includedir=$ac_optarg ;;
960 -infodir | --infodir | --infodi | --infod | --info | --inf)
961 ac_prev=infodir ;;
962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
963 infodir=$ac_optarg ;;
965 -libdir | --libdir | --libdi | --libd)
966 ac_prev=libdir ;;
967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
968 libdir=$ac_optarg ;;
970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
971 | --libexe | --libex | --libe)
972 ac_prev=libexecdir ;;
973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
974 | --libexe=* | --libex=* | --libe=*)
975 libexecdir=$ac_optarg ;;
977 -localedir | --localedir | --localedi | --localed | --locale)
978 ac_prev=localedir ;;
979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
980 localedir=$ac_optarg ;;
982 -localstatedir | --localstatedir | --localstatedi | --localstated \
983 | --localstate | --localstat | --localsta | --localst | --locals)
984 ac_prev=localstatedir ;;
985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
987 localstatedir=$ac_optarg ;;
989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
990 ac_prev=mandir ;;
991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 mandir=$ac_optarg ;;
994 -nfp | --nfp | --nf)
995 # Obsolete; use --without-fp.
996 with_fp=no ;;
998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
999 | --no-cr | --no-c | -n)
1000 no_create=yes ;;
1002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1004 no_recursion=yes ;;
1006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1008 | --oldin | --oldi | --old | --ol | --o)
1009 ac_prev=oldincludedir ;;
1010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1013 oldincludedir=$ac_optarg ;;
1015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1016 ac_prev=prefix ;;
1017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1018 prefix=$ac_optarg ;;
1020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1021 | --program-pre | --program-pr | --program-p)
1022 ac_prev=program_prefix ;;
1023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1025 program_prefix=$ac_optarg ;;
1027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1028 | --program-suf | --program-su | --program-s)
1029 ac_prev=program_suffix ;;
1030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1032 program_suffix=$ac_optarg ;;
1034 -program-transform-name | --program-transform-name \
1035 | --program-transform-nam | --program-transform-na \
1036 | --program-transform-n | --program-transform- \
1037 | --program-transform | --program-transfor \
1038 | --program-transfo | --program-transf \
1039 | --program-trans | --program-tran \
1040 | --progr-tra | --program-tr | --program-t)
1041 ac_prev=program_transform_name ;;
1042 -program-transform-name=* | --program-transform-name=* \
1043 | --program-transform-nam=* | --program-transform-na=* \
1044 | --program-transform-n=* | --program-transform-=* \
1045 | --program-transform=* | --program-transfor=* \
1046 | --program-transfo=* | --program-transf=* \
1047 | --program-trans=* | --program-tran=* \
1048 | --progr-tra=* | --program-tr=* | --program-t=*)
1049 program_transform_name=$ac_optarg ;;
1051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1052 ac_prev=pdfdir ;;
1053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1054 pdfdir=$ac_optarg ;;
1056 -psdir | --psdir | --psdi | --psd | --ps)
1057 ac_prev=psdir ;;
1058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1059 psdir=$ac_optarg ;;
1061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1062 | -silent | --silent | --silen | --sile | --sil)
1063 silent=yes ;;
1065 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1066 ac_prev=sbindir ;;
1067 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1068 | --sbi=* | --sb=*)
1069 sbindir=$ac_optarg ;;
1071 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1072 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1073 | --sharedst | --shareds | --shared | --share | --shar \
1074 | --sha | --sh)
1075 ac_prev=sharedstatedir ;;
1076 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1077 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1078 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1079 | --sha=* | --sh=*)
1080 sharedstatedir=$ac_optarg ;;
1082 -site | --site | --sit)
1083 ac_prev=site ;;
1084 -site=* | --site=* | --sit=*)
1085 site=$ac_optarg ;;
1087 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1088 ac_prev=srcdir ;;
1089 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1090 srcdir=$ac_optarg ;;
1092 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1093 | --syscon | --sysco | --sysc | --sys | --sy)
1094 ac_prev=sysconfdir ;;
1095 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1096 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1097 sysconfdir=$ac_optarg ;;
1099 -target | --target | --targe | --targ | --tar | --ta | --t)
1100 ac_prev=target_alias ;;
1101 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1102 target_alias=$ac_optarg ;;
1104 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1105 verbose=yes ;;
1107 -version | --version | --versio | --versi | --vers | -V)
1108 ac_init_version=: ;;
1110 -with-* | --with-*)
1111 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1112 # Reject names that are not valid shell variable names.
1113 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1114 { echo "$as_me: error: invalid package name: $ac_package" >&2
1115 { (exit 1); exit 1; }; }
1116 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1117 eval with_$ac_package=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1123 { echo "$as_me: error: invalid package name: $ac_package" >&2
1124 { (exit 1); exit 1; }; }
1125 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1126 eval with_$ac_package=no ;;
1128 --x)
1129 # Obsolete; use --with-x.
1130 with_x=yes ;;
1132 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1133 | --x-incl | --x-inc | --x-in | --x-i)
1134 ac_prev=x_includes ;;
1135 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1136 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1137 x_includes=$ac_optarg ;;
1139 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1140 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1141 ac_prev=x_libraries ;;
1142 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1143 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1144 x_libraries=$ac_optarg ;;
1146 -*) { echo "$as_me: error: unrecognized option: $ac_option
1147 Try \`$0 --help' for more information." >&2
1148 { (exit 1); exit 1; }; }
1151 *=*)
1152 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1153 # Reject names that are not valid shell variable names.
1154 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1155 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1156 { (exit 1); exit 1; }; }
1157 eval $ac_envvar=\$ac_optarg
1158 export $ac_envvar ;;
1161 # FIXME: should be removed in autoconf 3.0.
1162 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1163 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1164 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1165 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1168 esac
1169 done
1171 if test -n "$ac_prev"; then
1172 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1173 { echo "$as_me: error: missing argument to $ac_option" >&2
1174 { (exit 1); exit 1; }; }
1177 # Be sure to have absolute directory names.
1178 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1179 datadir sysconfdir sharedstatedir localstatedir includedir \
1180 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1181 libdir localedir mandir
1183 eval ac_val=\$$ac_var
1184 case $ac_val in
1185 [\\/$]* | ?:[\\/]* ) continue;;
1186 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1187 esac
1188 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1189 { (exit 1); exit 1; }; }
1190 done
1192 # There might be people who depend on the old broken behavior: `$host'
1193 # used to hold the argument of --host etc.
1194 # FIXME: To remove some day.
1195 build=$build_alias
1196 host=$host_alias
1197 target=$target_alias
1199 # FIXME: To remove some day.
1200 if test "x$host_alias" != x; then
1201 if test "x$build_alias" = x; then
1202 cross_compiling=maybe
1203 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1204 If a cross compiler is detected then cross compile mode will be used." >&2
1205 elif test "x$build_alias" != "x$host_alias"; then
1206 cross_compiling=yes
1210 ac_tool_prefix=
1211 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1213 test "$silent" = yes && exec 6>/dev/null
1216 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1217 ac_ls_di=`ls -di .` &&
1218 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1219 { echo "$as_me: error: Working directory cannot be determined" >&2
1220 { (exit 1); exit 1; }; }
1221 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1222 { echo "$as_me: error: pwd does not report name of working directory" >&2
1223 { (exit 1); exit 1; }; }
1226 # Find the source files, if location was not specified.
1227 if test -z "$srcdir"; then
1228 ac_srcdir_defaulted=yes
1229 # Try the directory containing this script, then the parent directory.
1230 ac_confdir=`$as_dirname -- "$0" ||
1231 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1232 X"$0" : 'X\(//\)[^/]' \| \
1233 X"$0" : 'X\(//\)$' \| \
1234 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1235 echo X"$0" |
1236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1237 s//\1/
1240 /^X\(\/\/\)[^/].*/{
1241 s//\1/
1244 /^X\(\/\/\)$/{
1245 s//\1/
1248 /^X\(\/\).*/{
1249 s//\1/
1252 s/.*/./; q'`
1253 srcdir=$ac_confdir
1254 if test ! -r "$srcdir/$ac_unique_file"; then
1255 srcdir=..
1257 else
1258 ac_srcdir_defaulted=no
1260 if test ! -r "$srcdir/$ac_unique_file"; then
1261 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1262 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1263 { (exit 1); exit 1; }; }
1265 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1266 ac_abs_confdir=`(
1267 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1268 { (exit 1); exit 1; }; }
1269 pwd)`
1270 # When building in place, set srcdir=.
1271 if test "$ac_abs_confdir" = "$ac_pwd"; then
1272 srcdir=.
1274 # Remove unnecessary trailing slashes from srcdir.
1275 # Double slashes in file names in object file debugging info
1276 # mess up M-x gdb in Emacs.
1277 case $srcdir in
1278 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1279 esac
1280 for ac_var in $ac_precious_vars; do
1281 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1282 eval ac_env_${ac_var}_value=\$${ac_var}
1283 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1284 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1285 done
1288 # Report the --help message.
1290 if test "$ac_init_help" = "long"; then
1291 # Omit some internal or obsolete options to make the list less imposing.
1292 # This message is too long to be a string in the A/UX 3.1 sh.
1293 cat <<_ACEOF
1294 \`configure' configures Wine 0.9.33 to adapt to many kinds of systems.
1296 Usage: $0 [OPTION]... [VAR=VALUE]...
1298 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1299 VAR=VALUE. See below for descriptions of some of the useful variables.
1301 Defaults for the options are specified in brackets.
1303 Configuration:
1304 -h, --help display this help and exit
1305 --help=short display options specific to this package
1306 --help=recursive display the short help of all the included packages
1307 -V, --version display version information and exit
1308 -q, --quiet, --silent do not print \`checking...' messages
1309 --cache-file=FILE cache test results in FILE [disabled]
1310 -C, --config-cache alias for \`--cache-file=config.cache'
1311 -n, --no-create do not create output files
1312 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1314 Installation directories:
1315 --prefix=PREFIX install architecture-independent files in PREFIX
1316 [$ac_default_prefix]
1317 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1318 [PREFIX]
1320 By default, \`make install' will install all the files in
1321 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1322 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1323 for instance \`--prefix=\$HOME'.
1325 For better control, use the options below.
1327 Fine tuning of the installation directories:
1328 --bindir=DIR user executables [EPREFIX/bin]
1329 --sbindir=DIR system admin executables [EPREFIX/sbin]
1330 --libexecdir=DIR program executables [EPREFIX/libexec]
1331 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1332 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1333 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1334 --libdir=DIR object code libraries [EPREFIX/lib]
1335 --includedir=DIR C header files [PREFIX/include]
1336 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1337 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1338 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1339 --infodir=DIR info documentation [DATAROOTDIR/info]
1340 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1341 --mandir=DIR man documentation [DATAROOTDIR/man]
1342 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1343 --htmldir=DIR html documentation [DOCDIR]
1344 --dvidir=DIR dvi documentation [DOCDIR]
1345 --pdfdir=DIR pdf documentation [DOCDIR]
1346 --psdir=DIR ps documentation [DOCDIR]
1347 _ACEOF
1349 cat <<\_ACEOF
1351 X features:
1352 --x-includes=DIR X include files are in DIR
1353 --x-libraries=DIR X library files are in DIR
1355 System types:
1356 --build=BUILD configure for building on BUILD [guessed]
1357 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1358 _ACEOF
1361 if test -n "$ac_init_help"; then
1362 case $ac_init_help in
1363 short | recursive ) echo "Configuration of Wine 0.9.33:";;
1364 esac
1365 cat <<\_ACEOF
1367 Optional Features:
1368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1370 --disable-win16 do not include Win16 support
1371 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1372 binaries)
1374 Optional Packages:
1375 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1376 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1377 --without-opengl do not use OpenGL
1378 --with-wine-tools=<dir> use Wine tools from directory <dir>
1379 --with-x use the X Window System
1381 Some influential environment variables:
1382 CC C compiler command
1383 CFLAGS C compiler flags
1384 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1385 nonstandard directory <lib dir>
1386 LIBS libraries to pass to the linker, e.g. -l<library>
1387 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1388 you have headers in a nonstandard directory <include dir>
1389 CXX C++ compiler command
1390 CXXFLAGS C++ compiler flags
1391 XMKMF Path to xmkmf, Makefile generator for X Window System
1392 CPP C preprocessor
1394 Use these variables to override the choices made by `configure' or to help
1395 it to find libraries and programs with nonstandard names/locations.
1397 Report bugs to <wine-devel@winehq.org>.
1398 _ACEOF
1399 ac_status=$?
1402 if test "$ac_init_help" = "recursive"; then
1403 # If there are subdirs, report their specific --help.
1404 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1405 test -d "$ac_dir" || continue
1406 ac_builddir=.
1408 case "$ac_dir" in
1409 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1412 # A ".." for each directory in $ac_dir_suffix.
1413 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1414 case $ac_top_builddir_sub in
1415 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1416 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1417 esac ;;
1418 esac
1419 ac_abs_top_builddir=$ac_pwd
1420 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1421 # for backward compatibility:
1422 ac_top_builddir=$ac_top_build_prefix
1424 case $srcdir in
1425 .) # We are building in place.
1426 ac_srcdir=.
1427 ac_top_srcdir=$ac_top_builddir_sub
1428 ac_abs_top_srcdir=$ac_pwd ;;
1429 [\\/]* | ?:[\\/]* ) # Absolute name.
1430 ac_srcdir=$srcdir$ac_dir_suffix;
1431 ac_top_srcdir=$srcdir
1432 ac_abs_top_srcdir=$srcdir ;;
1433 *) # Relative name.
1434 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1435 ac_top_srcdir=$ac_top_build_prefix$srcdir
1436 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1437 esac
1438 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1440 cd "$ac_dir" || { ac_status=$?; continue; }
1441 # Check for guested configure.
1442 if test -f "$ac_srcdir/configure.gnu"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1445 elif test -f "$ac_srcdir/configure"; then
1446 echo &&
1447 $SHELL "$ac_srcdir/configure" --help=recursive
1448 else
1449 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1450 fi || ac_status=$?
1451 cd "$ac_pwd" || { ac_status=$?; break; }
1452 done
1455 test -n "$ac_init_help" && exit $ac_status
1456 if $ac_init_version; then
1457 cat <<\_ACEOF
1458 Wine configure 0.9.33
1459 generated by GNU Autoconf 2.61
1461 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1462 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1463 This configure script is free software; the Free Software Foundation
1464 gives unlimited permission to copy, distribute and modify it.
1465 _ACEOF
1466 exit
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by Wine $as_me 0.9.33, which was
1473 generated by GNU Autoconf 2.61. Invocation command line was
1475 $ $0 $@
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1513 } >&5
1515 cat >&5 <<_ACEOF
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1522 _ACEOF
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1536 for ac_arg
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1549 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1565 ac_configure_args="$ac_configure_args '$ac_arg'"
1567 esac
1568 done
1569 done
1570 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1571 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1581 echo
1583 cat <<\_ASBOX
1584 ## ---------------- ##
1585 ## Cache variables. ##
1586 ## ---------------- ##
1587 _ASBOX
1588 echo
1589 # The following way of writing the cache mishandles newlines in values,
1591 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1592 eval ac_val=\$$ac_var
1593 case $ac_val in #(
1594 *${as_nl}*)
1595 case $ac_var in #(
1596 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1597 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1598 esac
1599 case $ac_var in #(
1600 _ | IFS | as_nl) ;; #(
1601 *) $as_unset $ac_var ;;
1602 esac ;;
1603 esac
1604 done
1605 (set) 2>&1 |
1606 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1607 *${as_nl}ac_space=\ *)
1608 sed -n \
1609 "s/'\''/'\''\\\\'\'''\''/g;
1610 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1611 ;; #(
1613 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1615 esac |
1616 sort
1618 echo
1620 cat <<\_ASBOX
1621 ## ----------------- ##
1622 ## Output variables. ##
1623 ## ----------------- ##
1624 _ASBOX
1625 echo
1626 for ac_var in $ac_subst_vars
1628 eval ac_val=\$$ac_var
1629 case $ac_val in
1630 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1631 esac
1632 echo "$ac_var='\''$ac_val'\''"
1633 done | sort
1634 echo
1636 if test -n "$ac_subst_files"; then
1637 cat <<\_ASBOX
1638 ## ------------------- ##
1639 ## File substitutions. ##
1640 ## ------------------- ##
1641 _ASBOX
1642 echo
1643 for ac_var in $ac_subst_files
1645 eval ac_val=\$$ac_var
1646 case $ac_val in
1647 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1648 esac
1649 echo "$ac_var='\''$ac_val'\''"
1650 done | sort
1651 echo
1654 if test -s confdefs.h; then
1655 cat <<\_ASBOX
1656 ## ----------- ##
1657 ## confdefs.h. ##
1658 ## ----------- ##
1659 _ASBOX
1660 echo
1661 cat confdefs.h
1662 echo
1664 test "$ac_signal" != 0 &&
1665 echo "$as_me: caught signal $ac_signal"
1666 echo "$as_me: exit $exit_status"
1667 } >&5
1668 rm -f core *.core core.conftest.* &&
1669 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1670 exit $exit_status
1672 for ac_signal in 1 2 13 15; do
1673 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1674 done
1675 ac_signal=0
1677 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1678 rm -f -r conftest* confdefs.h
1680 # Predefined preprocessor variables.
1682 cat >>confdefs.h <<_ACEOF
1683 #define PACKAGE_NAME "$PACKAGE_NAME"
1684 _ACEOF
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1689 _ACEOF
1692 cat >>confdefs.h <<_ACEOF
1693 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1694 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_STRING "$PACKAGE_STRING"
1699 _ACEOF
1702 cat >>confdefs.h <<_ACEOF
1703 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1704 _ACEOF
1707 # Let the site file select an alternate cache file if it wants to.
1708 # Prefer explicitly selected file to automatically selected ones.
1709 if test -n "$CONFIG_SITE"; then
1710 set x "$CONFIG_SITE"
1711 elif test "x$prefix" != xNONE; then
1712 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1713 else
1714 set x "$ac_default_prefix/share/config.site" \
1715 "$ac_default_prefix/etc/config.site"
1717 shift
1718 for ac_site_file
1720 if test -r "$ac_site_file"; then
1721 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1722 echo "$as_me: loading site script $ac_site_file" >&6;}
1723 sed 's/^/| /' "$ac_site_file" >&5
1724 . "$ac_site_file"
1726 done
1728 if test -r "$cache_file"; then
1729 # Some versions of bash will fail to source /dev/null (special
1730 # files actually), so we avoid doing that.
1731 if test -f "$cache_file"; then
1732 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1733 echo "$as_me: loading cache $cache_file" >&6;}
1734 case $cache_file in
1735 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1736 *) . "./$cache_file";;
1737 esac
1739 else
1740 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1741 echo "$as_me: creating cache $cache_file" >&6;}
1742 >$cache_file
1745 # Check that the precious variables saved in the cache have kept the same
1746 # value.
1747 ac_cache_corrupted=false
1748 for ac_var in $ac_precious_vars; do
1749 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1750 eval ac_new_set=\$ac_env_${ac_var}_set
1751 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1752 eval ac_new_val=\$ac_env_${ac_var}_value
1753 case $ac_old_set,$ac_new_set in
1754 set,)
1755 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1756 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1757 ac_cache_corrupted=: ;;
1758 ,set)
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1762 ,);;
1764 if test "x$ac_old_val" != "x$ac_new_val"; then
1765 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1766 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1767 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1768 echo "$as_me: former value: $ac_old_val" >&2;}
1769 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1770 echo "$as_me: current value: $ac_new_val" >&2;}
1771 ac_cache_corrupted=:
1772 fi;;
1773 esac
1774 # Pass precious variables to config.status.
1775 if test "$ac_new_set" = set; then
1776 case $ac_new_val in
1777 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1778 *) ac_arg=$ac_var=$ac_new_val ;;
1779 esac
1780 case " $ac_configure_args " in
1781 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1782 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1783 esac
1785 done
1786 if $ac_cache_corrupted; then
1787 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1788 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1789 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1790 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1791 { (exit 1); exit 1; }; }
1818 ac_ext=c
1819 ac_cpp='$CPP $CPPFLAGS'
1820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1826 ac_config_headers="$ac_config_headers include/config.h"
1828 ac_aux_dir=
1829 for ac_dir in tools "$srcdir"/tools; do
1830 if test -f "$ac_dir/install-sh"; then
1831 ac_aux_dir=$ac_dir
1832 ac_install_sh="$ac_aux_dir/install-sh -c"
1833 break
1834 elif test -f "$ac_dir/install.sh"; then
1835 ac_aux_dir=$ac_dir
1836 ac_install_sh="$ac_aux_dir/install.sh -c"
1837 break
1838 elif test -f "$ac_dir/shtool"; then
1839 ac_aux_dir=$ac_dir
1840 ac_install_sh="$ac_aux_dir/shtool install -c"
1841 break
1843 done
1844 if test -z "$ac_aux_dir"; then
1845 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1846 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1847 { (exit 1); exit 1; }; }
1850 # These three variables are undocumented and unsupported,
1851 # and are intended to be withdrawn in a future Autoconf release.
1852 # They can cause serious problems if a builder's source tree is in a directory
1853 # whose full name contains unusual characters.
1854 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1855 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1856 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1861 # Check whether --enable-win16 was given.
1862 if test "${enable_win16+set}" = set; then
1863 enableval=$enable_win16;
1866 # Check whether --enable-win64 was given.
1867 if test "${enable_win64+set}" = set; then
1868 enableval=$enable_win64;
1873 # Check whether --with-opengl was given.
1874 if test "${with_opengl+set}" = set; then
1875 withval=$with_opengl;
1879 # Check whether --with-wine-tools was given.
1880 if test "${with_wine_tools+set}" = set; then
1881 withval=$with_wine_tools;
1885 # Make sure we can run config.sub.
1886 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1887 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1888 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1889 { (exit 1); exit 1; }; }
1891 { echo "$as_me:$LINENO: checking build system type" >&5
1892 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1893 if test "${ac_cv_build+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1895 else
1896 ac_build_alias=$build_alias
1897 test "x$ac_build_alias" = x &&
1898 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1899 test "x$ac_build_alias" = x &&
1900 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1901 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1902 { (exit 1); exit 1; }; }
1903 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1904 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1905 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1906 { (exit 1); exit 1; }; }
1909 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1910 echo "${ECHO_T}$ac_cv_build" >&6; }
1911 case $ac_cv_build in
1912 *-*-*) ;;
1913 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1914 echo "$as_me: error: invalid value of canonical build" >&2;}
1915 { (exit 1); exit 1; }; };;
1916 esac
1917 build=$ac_cv_build
1918 ac_save_IFS=$IFS; IFS='-'
1919 set x $ac_cv_build
1920 shift
1921 build_cpu=$1
1922 build_vendor=$2
1923 shift; shift
1924 # Remember, the first character of IFS is used to create $*,
1925 # except with old shells:
1926 build_os=$*
1927 IFS=$ac_save_IFS
1928 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1931 { echo "$as_me:$LINENO: checking host system type" >&5
1932 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1933 if test "${ac_cv_host+set}" = set; then
1934 echo $ECHO_N "(cached) $ECHO_C" >&6
1935 else
1936 if test "x$host_alias" = x; then
1937 ac_cv_host=$ac_cv_build
1938 else
1939 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1940 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1941 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1942 { (exit 1); exit 1; }; }
1946 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1947 echo "${ECHO_T}$ac_cv_host" >&6; }
1948 case $ac_cv_host in
1949 *-*-*) ;;
1950 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1951 echo "$as_me: error: invalid value of canonical host" >&2;}
1952 { (exit 1); exit 1; }; };;
1953 esac
1954 host=$ac_cv_host
1955 ac_save_IFS=$IFS; IFS='-'
1956 set x $ac_cv_host
1957 shift
1958 host_cpu=$1
1959 host_vendor=$2
1960 shift; shift
1961 # Remember, the first character of IFS is used to create $*,
1962 # except with old shells:
1963 host_os=$*
1964 IFS=$ac_save_IFS
1965 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1968 case $host in
1969 x86_64*linux*)
1970 if test "x$enable_win64" != "xyes"
1971 then
1972 test -n "$CC" || CC="gcc -m32"
1973 test -n "$LD" || LD="ld -m elf_i386"
1974 test -n "$AS" || AS="as --32"
1975 host_cpu="i386"
1978 esac
1980 case $host_cpu in
1981 *i[3456789]86*)
1982 if test "x$enable_win16" != "xno"
1983 then
1984 enable_win16="yes"
1987 esac
1989 WIN16_FILES="\$(WIN16_FILES)"
1991 WIN16_INSTALL="\$(WIN16_INSTALL)"
1993 if test "x$enable_win16" != "xyes"
1994 then
1995 WIN16_FILES=""
1996 WIN16_INSTALL=""
1999 case "$srcdir" in
2000 .) ;;
2001 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2002 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2003 You need to run 'make distclean' in the source tree first." >&5
2004 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2005 You need to run 'make distclean' in the source tree first." >&2;}
2006 { (exit 1); exit 1; }; }
2007 fi ;;
2008 esac
2011 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2012 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2013 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2014 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2015 echo $ECHO_N "(cached) $ECHO_C" >&6
2016 else
2017 cat >conftest.make <<\_ACEOF
2018 SHELL = /bin/sh
2019 all:
2020 @echo '@@@%%%=$(MAKE)=@@@%%%'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2024 *@@@%%%=?*=@@@%%%*)
2025 eval ac_cv_prog_make_${ac_make}_set=yes;;
2027 eval ac_cv_prog_make_${ac_make}_set=no;;
2028 esac
2029 rm -f conftest.make
2031 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2032 { echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6; }
2034 SET_MAKE=
2035 else
2036 { echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6; }
2038 SET_MAKE="MAKE=${MAKE-make}"
2041 ac_ext=c
2042 ac_cpp='$CPP $CPPFLAGS'
2043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2046 if test -n "$ac_tool_prefix"; then
2047 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2048 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2051 if test "${ac_cv_prog_CC+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2053 else
2054 if test -n "$CC"; then
2055 ac_cv_prog_CC="$CC" # Let the user override the test.
2056 else
2057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2058 for as_dir in $PATH
2060 IFS=$as_save_IFS
2061 test -z "$as_dir" && as_dir=.
2062 for ac_exec_ext in '' $ac_executable_extensions; do
2063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2064 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2066 break 2
2068 done
2069 done
2070 IFS=$as_save_IFS
2074 CC=$ac_cv_prog_CC
2075 if test -n "$CC"; then
2076 { echo "$as_me:$LINENO: result: $CC" >&5
2077 echo "${ECHO_T}$CC" >&6; }
2078 else
2079 { echo "$as_me:$LINENO: result: no" >&5
2080 echo "${ECHO_T}no" >&6; }
2085 if test -z "$ac_cv_prog_CC"; then
2086 ac_ct_CC=$CC
2087 # Extract the first word of "gcc", so it can be a program name with args.
2088 set dummy gcc; ac_word=$2
2089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2091 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2092 echo $ECHO_N "(cached) $ECHO_C" >&6
2093 else
2094 if test -n "$ac_ct_CC"; then
2095 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2096 else
2097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2098 for as_dir in $PATH
2100 IFS=$as_save_IFS
2101 test -z "$as_dir" && as_dir=.
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2104 ac_cv_prog_ac_ct_CC="gcc"
2105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 break 2
2108 done
2109 done
2110 IFS=$as_save_IFS
2114 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2115 if test -n "$ac_ct_CC"; then
2116 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2117 echo "${ECHO_T}$ac_ct_CC" >&6; }
2118 else
2119 { echo "$as_me:$LINENO: result: no" >&5
2120 echo "${ECHO_T}no" >&6; }
2123 if test "x$ac_ct_CC" = x; then
2124 CC=""
2125 else
2126 case $cross_compiling:$ac_tool_warned in
2127 yes:)
2128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2129 whose name does not start with the host triplet. If you think this
2130 configuration is useful to you, please write to autoconf@gnu.org." >&5
2131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2132 whose name does not start with the host triplet. If you think this
2133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2134 ac_tool_warned=yes ;;
2135 esac
2136 CC=$ac_ct_CC
2138 else
2139 CC="$ac_cv_prog_CC"
2142 if test -z "$CC"; then
2143 if test -n "$ac_tool_prefix"; then
2144 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2145 set dummy ${ac_tool_prefix}cc; ac_word=$2
2146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2148 if test "${ac_cv_prog_CC+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2150 else
2151 if test -n "$CC"; then
2152 ac_cv_prog_CC="$CC" # Let the user override the test.
2153 else
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2155 for as_dir in $PATH
2157 IFS=$as_save_IFS
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161 ac_cv_prog_CC="${ac_tool_prefix}cc"
2162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163 break 2
2165 done
2166 done
2167 IFS=$as_save_IFS
2171 CC=$ac_cv_prog_CC
2172 if test -n "$CC"; then
2173 { echo "$as_me:$LINENO: result: $CC" >&5
2174 echo "${ECHO_T}$CC" >&6; }
2175 else
2176 { echo "$as_me:$LINENO: result: no" >&5
2177 echo "${ECHO_T}no" >&6; }
2183 if test -z "$CC"; then
2184 # Extract the first word of "cc", so it can be a program name with args.
2185 set dummy cc; ac_word=$2
2186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2188 if test "${ac_cv_prog_CC+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2190 else
2191 if test -n "$CC"; then
2192 ac_cv_prog_CC="$CC" # Let the user override the test.
2193 else
2194 ac_prog_rejected=no
2195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2196 for as_dir in $PATH
2198 IFS=$as_save_IFS
2199 test -z "$as_dir" && as_dir=.
2200 for ac_exec_ext in '' $ac_executable_extensions; do
2201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2202 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2203 ac_prog_rejected=yes
2204 continue
2206 ac_cv_prog_CC="cc"
2207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208 break 2
2210 done
2211 done
2212 IFS=$as_save_IFS
2214 if test $ac_prog_rejected = yes; then
2215 # We found a bogon in the path, so make sure we never use it.
2216 set dummy $ac_cv_prog_CC
2217 shift
2218 if test $# != 0; then
2219 # We chose a different compiler from the bogus one.
2220 # However, it has the same basename, so the bogon will be chosen
2221 # first if we set CC to just the basename; use the full file name.
2222 shift
2223 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2228 CC=$ac_cv_prog_CC
2229 if test -n "$CC"; then
2230 { echo "$as_me:$LINENO: result: $CC" >&5
2231 echo "${ECHO_T}$CC" >&6; }
2232 else
2233 { echo "$as_me:$LINENO: result: no" >&5
2234 echo "${ECHO_T}no" >&6; }
2239 if test -z "$CC"; then
2240 if test -n "$ac_tool_prefix"; then
2241 for ac_prog in cl.exe
2243 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2244 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2245 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2247 if test "${ac_cv_prog_CC+set}" = set; then
2248 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 else
2250 if test -n "$CC"; then
2251 ac_cv_prog_CC="$CC" # Let the user override the test.
2252 else
2253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2254 for as_dir in $PATH
2256 IFS=$as_save_IFS
2257 test -z "$as_dir" && as_dir=.
2258 for ac_exec_ext in '' $ac_executable_extensions; do
2259 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2260 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2262 break 2
2264 done
2265 done
2266 IFS=$as_save_IFS
2270 CC=$ac_cv_prog_CC
2271 if test -n "$CC"; then
2272 { echo "$as_me:$LINENO: result: $CC" >&5
2273 echo "${ECHO_T}$CC" >&6; }
2274 else
2275 { echo "$as_me:$LINENO: result: no" >&5
2276 echo "${ECHO_T}no" >&6; }
2280 test -n "$CC" && break
2281 done
2283 if test -z "$CC"; then
2284 ac_ct_CC=$CC
2285 for ac_prog in cl.exe
2287 # Extract the first word of "$ac_prog", so it can be a program name with args.
2288 set dummy $ac_prog; ac_word=$2
2289 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2291 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2292 echo $ECHO_N "(cached) $ECHO_C" >&6
2293 else
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2296 else
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2298 for as_dir in $PATH
2300 IFS=$as_save_IFS
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_ac_ct_CC="$ac_prog"
2305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2306 break 2
2308 done
2309 done
2310 IFS=$as_save_IFS
2314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2317 echo "${ECHO_T}$ac_ct_CC" >&6; }
2318 else
2319 { echo "$as_me:$LINENO: result: no" >&5
2320 echo "${ECHO_T}no" >&6; }
2324 test -n "$ac_ct_CC" && break
2325 done
2327 if test "x$ac_ct_CC" = x; then
2328 CC=""
2329 else
2330 case $cross_compiling:$ac_tool_warned in
2331 yes:)
2332 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2333 whose name does not start with the host triplet. If you think this
2334 configuration is useful to you, please write to autoconf@gnu.org." >&5
2335 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2336 whose name does not start with the host triplet. If you think this
2337 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2338 ac_tool_warned=yes ;;
2339 esac
2340 CC=$ac_ct_CC
2347 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2348 See \`config.log' for more details." >&5
2349 echo "$as_me: error: no acceptable C compiler found in \$PATH
2350 See \`config.log' for more details." >&2;}
2351 { (exit 1); exit 1; }; }
2353 # Provide some information about the compiler.
2354 echo "$as_me:$LINENO: checking for C compiler version" >&5
2355 ac_compiler=`set X $ac_compile; echo $2`
2356 { (ac_try="$ac_compiler --version >&5"
2357 case "(($ac_try" in
2358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2359 *) ac_try_echo=$ac_try;;
2360 esac
2361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2362 (eval "$ac_compiler --version >&5") 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2366 { (ac_try="$ac_compiler -v >&5"
2367 case "(($ac_try" in
2368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2369 *) ac_try_echo=$ac_try;;
2370 esac
2371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2372 (eval "$ac_compiler -v >&5") 2>&5
2373 ac_status=$?
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }
2376 { (ac_try="$ac_compiler -V >&5"
2377 case "(($ac_try" in
2378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2379 *) ac_try_echo=$ac_try;;
2380 esac
2381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2382 (eval "$ac_compiler -V >&5") 2>&5
2383 ac_status=$?
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }
2387 cat >conftest.$ac_ext <<_ACEOF
2388 /* confdefs.h. */
2389 _ACEOF
2390 cat confdefs.h >>conftest.$ac_ext
2391 cat >>conftest.$ac_ext <<_ACEOF
2392 /* end confdefs.h. */
2395 main ()
2399 return 0;
2401 _ACEOF
2402 ac_clean_files_save=$ac_clean_files
2403 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2404 # Try to create an executable without -o first, disregard a.out.
2405 # It will help us diagnose broken compilers, and finding out an intuition
2406 # of exeext.
2407 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2408 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2409 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2411 # List of possible output files, starting from the most likely.
2412 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2413 # only as a last resort. b.out is created by i960 compilers.
2414 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2416 # The IRIX 6 linker writes into existing files which may not be
2417 # executable, retaining their permissions. Remove them first so a
2418 # subsequent execution test works.
2419 ac_rmfiles=
2420 for ac_file in $ac_files
2422 case $ac_file in
2423 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2424 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2425 esac
2426 done
2427 rm -f $ac_rmfiles
2429 if { (ac_try="$ac_link_default"
2430 case "(($ac_try" in
2431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2432 *) ac_try_echo=$ac_try;;
2433 esac
2434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2435 (eval "$ac_link_default") 2>&5
2436 ac_status=$?
2437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2438 (exit $ac_status); }; then
2439 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2440 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2441 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2442 # so that the user can short-circuit this test for compilers unknown to
2443 # Autoconf.
2444 for ac_file in $ac_files ''
2446 test -f "$ac_file" || continue
2447 case $ac_file in
2448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2450 [ab].out )
2451 # We found the default executable, but exeext='' is most
2452 # certainly right.
2453 break;;
2454 *.* )
2455 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2456 then :; else
2457 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2459 # We set ac_cv_exeext here because the later test for it is not
2460 # safe: cross compilers may not add the suffix if given an `-o'
2461 # argument, so we may need to know it at that point already.
2462 # Even if this section looks crufty: it has the advantage of
2463 # actually working.
2464 break;;
2466 break;;
2467 esac
2468 done
2469 test "$ac_cv_exeext" = no && ac_cv_exeext=
2471 else
2472 ac_file=''
2475 { echo "$as_me:$LINENO: result: $ac_file" >&5
2476 echo "${ECHO_T}$ac_file" >&6; }
2477 if test -z "$ac_file"; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.$ac_ext >&5
2481 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2482 See \`config.log' for more details." >&5
2483 echo "$as_me: error: C compiler cannot create executables
2484 See \`config.log' for more details." >&2;}
2485 { (exit 77); exit 77; }; }
2488 ac_exeext=$ac_cv_exeext
2490 # Check that the compiler produces executables we can run. If not, either
2491 # the compiler is broken, or we cross compile.
2492 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2493 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2494 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2495 # If not cross compiling, check that we can run a simple program.
2496 if test "$cross_compiling" != yes; then
2497 if { ac_try='./$ac_file'
2498 { (case "(($ac_try" in
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2501 esac
2502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2503 (eval "$ac_try") 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; }; then
2507 cross_compiling=no
2508 else
2509 if test "$cross_compiling" = maybe; then
2510 cross_compiling=yes
2511 else
2512 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&5
2515 echo "$as_me: error: cannot run C compiled programs.
2516 If you meant to cross compile, use \`--host'.
2517 See \`config.log' for more details." >&2;}
2518 { (exit 1); exit 1; }; }
2522 { echo "$as_me:$LINENO: result: yes" >&5
2523 echo "${ECHO_T}yes" >&6; }
2525 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2526 ac_clean_files=$ac_clean_files_save
2527 # Check that the compiler produces executables we can run. If not, either
2528 # the compiler is broken, or we cross compile.
2529 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2530 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2531 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2532 echo "${ECHO_T}$cross_compiling" >&6; }
2534 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2535 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2536 if { (ac_try="$ac_link"
2537 case "(($ac_try" in
2538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2539 *) ac_try_echo=$ac_try;;
2540 esac
2541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2542 (eval "$ac_link") 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }; then
2546 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2547 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2548 # work properly (i.e., refer to `conftest.exe'), while it won't with
2549 # `rm'.
2550 for ac_file in conftest.exe conftest conftest.*; do
2551 test -f "$ac_file" || continue
2552 case $ac_file in
2553 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2554 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2555 break;;
2556 * ) break;;
2557 esac
2558 done
2559 else
2560 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2561 See \`config.log' for more details." >&5
2562 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2563 See \`config.log' for more details." >&2;}
2564 { (exit 1); exit 1; }; }
2567 rm -f conftest$ac_cv_exeext
2568 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2569 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2571 rm -f conftest.$ac_ext
2572 EXEEXT=$ac_cv_exeext
2573 ac_exeext=$EXEEXT
2574 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2575 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2576 if test "${ac_cv_objext+set}" = set; then
2577 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 else
2579 cat >conftest.$ac_ext <<_ACEOF
2580 /* confdefs.h. */
2581 _ACEOF
2582 cat confdefs.h >>conftest.$ac_ext
2583 cat >>conftest.$ac_ext <<_ACEOF
2584 /* end confdefs.h. */
2587 main ()
2591 return 0;
2593 _ACEOF
2594 rm -f conftest.o conftest.obj
2595 if { (ac_try="$ac_compile"
2596 case "(($ac_try" in
2597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598 *) ac_try_echo=$ac_try;;
2599 esac
2600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2601 (eval "$ac_compile") 2>&5
2602 ac_status=$?
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; then
2605 for ac_file in conftest.o conftest.obj conftest.*; do
2606 test -f "$ac_file" || continue;
2607 case $ac_file in
2608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2609 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2610 break;;
2611 esac
2612 done
2613 else
2614 echo "$as_me: failed program was:" >&5
2615 sed 's/^/| /' conftest.$ac_ext >&5
2617 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2618 See \`config.log' for more details." >&5
2619 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2620 See \`config.log' for more details." >&2;}
2621 { (exit 1); exit 1; }; }
2624 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2626 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2627 echo "${ECHO_T}$ac_cv_objext" >&6; }
2628 OBJEXT=$ac_cv_objext
2629 ac_objext=$OBJEXT
2630 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2631 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2632 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2633 echo $ECHO_N "(cached) $ECHO_C" >&6
2634 else
2635 cat >conftest.$ac_ext <<_ACEOF
2636 /* confdefs.h. */
2637 _ACEOF
2638 cat confdefs.h >>conftest.$ac_ext
2639 cat >>conftest.$ac_ext <<_ACEOF
2640 /* end confdefs.h. */
2643 main ()
2645 #ifndef __GNUC__
2646 choke me
2647 #endif
2650 return 0;
2652 _ACEOF
2653 rm -f conftest.$ac_objext
2654 if { (ac_try="$ac_compile"
2655 case "(($ac_try" in
2656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2657 *) ac_try_echo=$ac_try;;
2658 esac
2659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2660 (eval "$ac_compile") 2>conftest.er1
2661 ac_status=$?
2662 grep -v '^ *+' conftest.er1 >conftest.err
2663 rm -f conftest.er1
2664 cat conftest.err >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); } && {
2667 test -z "$ac_c_werror_flag" ||
2668 test ! -s conftest.err
2669 } && test -s conftest.$ac_objext; then
2670 ac_compiler_gnu=yes
2671 else
2672 echo "$as_me: failed program was:" >&5
2673 sed 's/^/| /' conftest.$ac_ext >&5
2675 ac_compiler_gnu=no
2678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2679 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2682 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2683 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2684 GCC=`test $ac_compiler_gnu = yes && echo yes`
2685 ac_test_CFLAGS=${CFLAGS+set}
2686 ac_save_CFLAGS=$CFLAGS
2687 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2688 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2689 if test "${ac_cv_prog_cc_g+set}" = set; then
2690 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 else
2692 ac_save_c_werror_flag=$ac_c_werror_flag
2693 ac_c_werror_flag=yes
2694 ac_cv_prog_cc_g=no
2695 CFLAGS="-g"
2696 cat >conftest.$ac_ext <<_ACEOF
2697 /* confdefs.h. */
2698 _ACEOF
2699 cat confdefs.h >>conftest.$ac_ext
2700 cat >>conftest.$ac_ext <<_ACEOF
2701 /* end confdefs.h. */
2704 main ()
2708 return 0;
2710 _ACEOF
2711 rm -f conftest.$ac_objext
2712 if { (ac_try="$ac_compile"
2713 case "(($ac_try" in
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2716 esac
2717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718 (eval "$ac_compile") 2>conftest.er1
2719 ac_status=$?
2720 grep -v '^ *+' conftest.er1 >conftest.err
2721 rm -f conftest.er1
2722 cat conftest.err >&5
2723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2724 (exit $ac_status); } && {
2725 test -z "$ac_c_werror_flag" ||
2726 test ! -s conftest.err
2727 } && test -s conftest.$ac_objext; then
2728 ac_cv_prog_cc_g=yes
2729 else
2730 echo "$as_me: failed program was:" >&5
2731 sed 's/^/| /' conftest.$ac_ext >&5
2733 CFLAGS=""
2734 cat >conftest.$ac_ext <<_ACEOF
2735 /* confdefs.h. */
2736 _ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2742 main ()
2746 return 0;
2748 _ACEOF
2749 rm -f conftest.$ac_objext
2750 if { (ac_try="$ac_compile"
2751 case "(($ac_try" in
2752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2753 *) ac_try_echo=$ac_try;;
2754 esac
2755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2756 (eval "$ac_compile") 2>conftest.er1
2757 ac_status=$?
2758 grep -v '^ *+' conftest.er1 >conftest.err
2759 rm -f conftest.er1
2760 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } && {
2763 test -z "$ac_c_werror_flag" ||
2764 test ! -s conftest.err
2765 } && test -s conftest.$ac_objext; then
2767 else
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2771 ac_c_werror_flag=$ac_save_c_werror_flag
2772 CFLAGS="-g"
2773 cat >conftest.$ac_ext <<_ACEOF
2774 /* confdefs.h. */
2775 _ACEOF
2776 cat confdefs.h >>conftest.$ac_ext
2777 cat >>conftest.$ac_ext <<_ACEOF
2778 /* end confdefs.h. */
2781 main ()
2785 return 0;
2787 _ACEOF
2788 rm -f conftest.$ac_objext
2789 if { (ac_try="$ac_compile"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_compile") 2>conftest.er1
2796 ac_status=$?
2797 grep -v '^ *+' conftest.er1 >conftest.err
2798 rm -f conftest.er1
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.$ac_objext; then
2805 ac_cv_prog_cc_g=yes
2806 else
2807 echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 ac_c_werror_flag=$ac_save_c_werror_flag
2822 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2823 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2824 if test "$ac_test_CFLAGS" = set; then
2825 CFLAGS=$ac_save_CFLAGS
2826 elif test $ac_cv_prog_cc_g = yes; then
2827 if test "$GCC" = yes; then
2828 CFLAGS="-g -O2"
2829 else
2830 CFLAGS="-g"
2832 else
2833 if test "$GCC" = yes; then
2834 CFLAGS="-O2"
2835 else
2836 CFLAGS=
2839 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2840 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2841 if test "${ac_cv_prog_cc_c89+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2843 else
2844 ac_cv_prog_cc_c89=no
2845 ac_save_CC=$CC
2846 cat >conftest.$ac_ext <<_ACEOF
2847 /* confdefs.h. */
2848 _ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2852 #include <stdarg.h>
2853 #include <stdio.h>
2854 #include <sys/types.h>
2855 #include <sys/stat.h>
2856 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2857 struct buf { int x; };
2858 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2859 static char *e (p, i)
2860 char **p;
2861 int i;
2863 return p[i];
2865 static char *f (char * (*g) (char **, int), char **p, ...)
2867 char *s;
2868 va_list v;
2869 va_start (v,p);
2870 s = g (p, va_arg (v,int));
2871 va_end (v);
2872 return s;
2875 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2876 function prototypes and stuff, but not '\xHH' hex character constants.
2877 These don't provoke an error unfortunately, instead are silently treated
2878 as 'x'. The following induces an error, until -std is added to get
2879 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2880 array size at least. It's necessary to write '\x00'==0 to get something
2881 that's true only with -std. */
2882 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2884 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2885 inside strings and character constants. */
2886 #define FOO(x) 'x'
2887 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2889 int test (int i, double x);
2890 struct s1 {int (*f) (int a);};
2891 struct s2 {int (*f) (double a);};
2892 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2893 int argc;
2894 char **argv;
2896 main ()
2898 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2900 return 0;
2902 _ACEOF
2903 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2904 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2906 CC="$ac_save_CC $ac_arg"
2907 rm -f conftest.$ac_objext
2908 if { (ac_try="$ac_compile"
2909 case "(($ac_try" in
2910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2911 *) ac_try_echo=$ac_try;;
2912 esac
2913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2914 (eval "$ac_compile") 2>conftest.er1
2915 ac_status=$?
2916 grep -v '^ *+' conftest.er1 >conftest.err
2917 rm -f conftest.er1
2918 cat conftest.err >&5
2919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 (exit $ac_status); } && {
2921 test -z "$ac_c_werror_flag" ||
2922 test ! -s conftest.err
2923 } && test -s conftest.$ac_objext; then
2924 ac_cv_prog_cc_c89=$ac_arg
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2932 rm -f core conftest.err conftest.$ac_objext
2933 test "x$ac_cv_prog_cc_c89" != "xno" && break
2934 done
2935 rm -f conftest.$ac_ext
2936 CC=$ac_save_CC
2939 # AC_CACHE_VAL
2940 case "x$ac_cv_prog_cc_c89" in
2942 { echo "$as_me:$LINENO: result: none needed" >&5
2943 echo "${ECHO_T}none needed" >&6; } ;;
2944 xno)
2945 { echo "$as_me:$LINENO: result: unsupported" >&5
2946 echo "${ECHO_T}unsupported" >&6; } ;;
2948 CC="$CC $ac_cv_prog_cc_c89"
2949 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2950 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2951 esac
2954 ac_ext=c
2955 ac_cpp='$CPP $CPPFLAGS'
2956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2960 ac_ext=cpp
2961 ac_cpp='$CXXCPP $CPPFLAGS'
2962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2965 if test -z "$CXX"; then
2966 if test -n "$CCC"; then
2967 CXX=$CCC
2968 else
2969 if test -n "$ac_tool_prefix"; then
2970 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2974 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2976 if test "${ac_cv_prog_CXX+set}" = set; then
2977 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 else
2979 if test -n "$CXX"; then
2980 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2981 else
2982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2983 for as_dir in $PATH
2985 IFS=$as_save_IFS
2986 test -z "$as_dir" && as_dir=.
2987 for ac_exec_ext in '' $ac_executable_extensions; do
2988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2989 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2991 break 2
2993 done
2994 done
2995 IFS=$as_save_IFS
2999 CXX=$ac_cv_prog_CXX
3000 if test -n "$CXX"; then
3001 { echo "$as_me:$LINENO: result: $CXX" >&5
3002 echo "${ECHO_T}$CXX" >&6; }
3003 else
3004 { echo "$as_me:$LINENO: result: no" >&5
3005 echo "${ECHO_T}no" >&6; }
3009 test -n "$CXX" && break
3010 done
3012 if test -z "$CXX"; then
3013 ac_ct_CXX=$CXX
3014 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3016 # Extract the first word of "$ac_prog", so it can be a program name with args.
3017 set dummy $ac_prog; ac_word=$2
3018 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3020 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 else
3023 if test -n "$ac_ct_CXX"; then
3024 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3025 else
3026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3027 for as_dir in $PATH
3029 IFS=$as_save_IFS
3030 test -z "$as_dir" && as_dir=.
3031 for ac_exec_ext in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 ac_cv_prog_ac_ct_CXX="$ac_prog"
3034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3035 break 2
3037 done
3038 done
3039 IFS=$as_save_IFS
3043 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3044 if test -n "$ac_ct_CXX"; then
3045 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3046 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3047 else
3048 { echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6; }
3053 test -n "$ac_ct_CXX" && break
3054 done
3056 if test "x$ac_ct_CXX" = x; then
3057 CXX="g++"
3058 else
3059 case $cross_compiling:$ac_tool_warned in
3060 yes:)
3061 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3062 whose name does not start with the host triplet. If you think this
3063 configuration is useful to you, please write to autoconf@gnu.org." >&5
3064 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3065 whose name does not start with the host triplet. If you think this
3066 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3067 ac_tool_warned=yes ;;
3068 esac
3069 CXX=$ac_ct_CXX
3075 # Provide some information about the compiler.
3076 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3077 ac_compiler=`set X $ac_compile; echo $2`
3078 { (ac_try="$ac_compiler --version >&5"
3079 case "(($ac_try" in
3080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3081 *) ac_try_echo=$ac_try;;
3082 esac
3083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3084 (eval "$ac_compiler --version >&5") 2>&5
3085 ac_status=$?
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }
3088 { (ac_try="$ac_compiler -v >&5"
3089 case "(($ac_try" in
3090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3091 *) ac_try_echo=$ac_try;;
3092 esac
3093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3094 (eval "$ac_compiler -v >&5") 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (ac_try="$ac_compiler -V >&5"
3099 case "(($ac_try" in
3100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3102 esac
3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3104 (eval "$ac_compiler -V >&5") 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 main ()
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3129 return 0;
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (ac_try="$ac_compile"
3134 case "(($ac_try" in
3135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3136 *) ac_try_echo=$ac_try;;
3137 esac
3138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3139 (eval "$ac_compile") 2>conftest.er1
3140 ac_status=$?
3141 grep -v '^ *+' conftest.er1 >conftest.err
3142 rm -f conftest.er1
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } && {
3146 test -z "$ac_cxx_werror_flag" ||
3147 test ! -s conftest.err
3148 } && test -s conftest.$ac_objext; then
3149 ac_compiler_gnu=yes
3150 else
3151 echo "$as_me: failed program was:" >&5
3152 sed 's/^/| /' conftest.$ac_ext >&5
3154 ac_compiler_gnu=no
3157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3161 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3163 GXX=`test $ac_compiler_gnu = yes && echo yes`
3164 ac_test_CXXFLAGS=${CXXFLAGS+set}
3165 ac_save_CXXFLAGS=$CXXFLAGS
3166 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3167 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3168 if test "${ac_cv_prog_cxx_g+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 else
3171 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3172 ac_cxx_werror_flag=yes
3173 ac_cv_prog_cxx_g=no
3174 CXXFLAGS="-g"
3175 cat >conftest.$ac_ext <<_ACEOF
3176 /* confdefs.h. */
3177 _ACEOF
3178 cat confdefs.h >>conftest.$ac_ext
3179 cat >>conftest.$ac_ext <<_ACEOF
3180 /* end confdefs.h. */
3183 main ()
3187 return 0;
3189 _ACEOF
3190 rm -f conftest.$ac_objext
3191 if { (ac_try="$ac_compile"
3192 case "(($ac_try" in
3193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3194 *) ac_try_echo=$ac_try;;
3195 esac
3196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3197 (eval "$ac_compile") 2>conftest.er1
3198 ac_status=$?
3199 grep -v '^ *+' conftest.er1 >conftest.err
3200 rm -f conftest.er1
3201 cat conftest.err >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); } && {
3204 test -z "$ac_cxx_werror_flag" ||
3205 test ! -s conftest.err
3206 } && test -s conftest.$ac_objext; then
3207 ac_cv_prog_cxx_g=yes
3208 else
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3212 CXXFLAGS=""
3213 cat >conftest.$ac_ext <<_ACEOF
3214 /* confdefs.h. */
3215 _ACEOF
3216 cat confdefs.h >>conftest.$ac_ext
3217 cat >>conftest.$ac_ext <<_ACEOF
3218 /* end confdefs.h. */
3221 main ()
3225 return 0;
3227 _ACEOF
3228 rm -f conftest.$ac_objext
3229 if { (ac_try="$ac_compile"
3230 case "(($ac_try" in
3231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3232 *) ac_try_echo=$ac_try;;
3233 esac
3234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3235 (eval "$ac_compile") 2>conftest.er1
3236 ac_status=$?
3237 grep -v '^ *+' conftest.er1 >conftest.err
3238 rm -f conftest.er1
3239 cat conftest.err >&5
3240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3241 (exit $ac_status); } && {
3242 test -z "$ac_cxx_werror_flag" ||
3243 test ! -s conftest.err
3244 } && test -s conftest.$ac_objext; then
3246 else
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3251 CXXFLAGS="-g"
3252 cat >conftest.$ac_ext <<_ACEOF
3253 /* confdefs.h. */
3254 _ACEOF
3255 cat confdefs.h >>conftest.$ac_ext
3256 cat >>conftest.$ac_ext <<_ACEOF
3257 /* end confdefs.h. */
3260 main ()
3264 return 0;
3266 _ACEOF
3267 rm -f conftest.$ac_objext
3268 if { (ac_try="$ac_compile"
3269 case "(($ac_try" in
3270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3271 *) ac_try_echo=$ac_try;;
3272 esac
3273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3274 (eval "$ac_compile") 2>conftest.er1
3275 ac_status=$?
3276 grep -v '^ *+' conftest.er1 >conftest.err
3277 rm -f conftest.er1
3278 cat conftest.err >&5
3279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280 (exit $ac_status); } && {
3281 test -z "$ac_cxx_werror_flag" ||
3282 test ! -s conftest.err
3283 } && test -s conftest.$ac_objext; then
3284 ac_cv_prog_cxx_g=yes
3285 else
3286 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3301 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3302 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3303 if test "$ac_test_CXXFLAGS" = set; then
3304 CXXFLAGS=$ac_save_CXXFLAGS
3305 elif test $ac_cv_prog_cxx_g = yes; then
3306 if test "$GXX" = yes; then
3307 CXXFLAGS="-g -O2"
3308 else
3309 CXXFLAGS="-g"
3311 else
3312 if test "$GXX" = yes; then
3313 CXXFLAGS="-O2"
3314 else
3315 CXXFLAGS=
3318 ac_ext=c
3319 ac_cpp='$CPP $CPPFLAGS'
3320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 if test -n "$ac_tool_prefix"; then
3325 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3326 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3327 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3329 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3331 else
3332 if test -n "$CPPBIN"; then
3333 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3334 else
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3336 for as_dir in $PATH
3338 IFS=$as_save_IFS
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3342 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3344 break 2
3346 done
3347 done
3348 IFS=$as_save_IFS
3352 CPPBIN=$ac_cv_prog_CPPBIN
3353 if test -n "$CPPBIN"; then
3354 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3355 echo "${ECHO_T}$CPPBIN" >&6; }
3356 else
3357 { echo "$as_me:$LINENO: result: no" >&5
3358 echo "${ECHO_T}no" >&6; }
3363 if test -z "$ac_cv_prog_CPPBIN"; then
3364 ac_ct_CPPBIN=$CPPBIN
3365 # Extract the first word of "cpp", so it can be a program name with args.
3366 set dummy cpp; ac_word=$2
3367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3369 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3371 else
3372 if test -n "$ac_ct_CPPBIN"; then
3373 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3374 else
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3376 for as_dir in $PATH
3378 IFS=$as_save_IFS
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3382 ac_cv_prog_ac_ct_CPPBIN="cpp"
3383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 break 2
3386 done
3387 done
3388 IFS=$as_save_IFS
3392 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3393 if test -n "$ac_ct_CPPBIN"; then
3394 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3395 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3396 else
3397 { echo "$as_me:$LINENO: result: no" >&5
3398 echo "${ECHO_T}no" >&6; }
3401 if test "x$ac_ct_CPPBIN" = x; then
3402 CPPBIN="cpp"
3403 else
3404 case $cross_compiling:$ac_tool_warned in
3405 yes:)
3406 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3407 whose name does not start with the host triplet. If you think this
3408 configuration is useful to you, please write to autoconf@gnu.org." >&5
3409 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3410 whose name does not start with the host triplet. If you think this
3411 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3412 ac_tool_warned=yes ;;
3413 esac
3414 CPPBIN=$ac_ct_CPPBIN
3416 else
3417 CPPBIN="$ac_cv_prog_CPPBIN"
3421 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3422 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3423 if test "${wine_cv_toolsdir+set}" = set; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3425 else
3426 if test -z "$with_wine_tools"; then
3427 if test "$cross_compiling" = "yes"; then
3428 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3429 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3430 { (exit 1); exit 1; }; }
3431 else
3432 wine_cv_toolsdir="\$(TOPOBJDIR)"
3434 elif test -d "$with_wine_tools/tools/winebuild"; then
3435 case $with_wine_tools in
3436 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3437 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3438 esac
3439 else
3440 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3441 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3442 { (exit 1); exit 1; }; }
3445 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3446 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3447 TOOLSDIR=$wine_cv_toolsdir
3451 ac_ext=c
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3456 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3457 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3458 # On Suns, sometimes $CPP names a directory.
3459 if test -n "$CPP" && test -d "$CPP"; then
3460 CPP=
3462 if test -z "$CPP"; then
3463 if test "${ac_cv_prog_CPP+set}" = set; then
3464 echo $ECHO_N "(cached) $ECHO_C" >&6
3465 else
3466 # Double quotes because CPP needs to be expanded
3467 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3469 ac_preproc_ok=false
3470 for ac_c_preproc_warn_flag in '' yes
3472 # Use a header file that comes with gcc, so configuring glibc
3473 # with a fresh cross-compiler works.
3474 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3475 # <limits.h> exists even on freestanding compilers.
3476 # On the NeXT, cc -E runs the code through the compiler's parser,
3477 # not just through cpp. "Syntax error" is here to catch this case.
3478 cat >conftest.$ac_ext <<_ACEOF
3479 /* confdefs.h. */
3480 _ACEOF
3481 cat confdefs.h >>conftest.$ac_ext
3482 cat >>conftest.$ac_ext <<_ACEOF
3483 /* end confdefs.h. */
3484 #ifdef __STDC__
3485 # include <limits.h>
3486 #else
3487 # include <assert.h>
3488 #endif
3489 Syntax error
3490 _ACEOF
3491 if { (ac_try="$ac_cpp conftest.$ac_ext"
3492 case "(($ac_try" in
3493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3494 *) ac_try_echo=$ac_try;;
3495 esac
3496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3497 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3498 ac_status=$?
3499 grep -v '^ *+' conftest.er1 >conftest.err
3500 rm -f conftest.er1
3501 cat conftest.err >&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } >/dev/null && {
3504 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3505 test ! -s conftest.err
3506 }; then
3508 else
3509 echo "$as_me: failed program was:" >&5
3510 sed 's/^/| /' conftest.$ac_ext >&5
3512 # Broken: fails on valid input.
3513 continue
3516 rm -f conftest.err conftest.$ac_ext
3518 # OK, works on sane cases. Now check whether nonexistent headers
3519 # can be detected and how.
3520 cat >conftest.$ac_ext <<_ACEOF
3521 /* confdefs.h. */
3522 _ACEOF
3523 cat confdefs.h >>conftest.$ac_ext
3524 cat >>conftest.$ac_ext <<_ACEOF
3525 /* end confdefs.h. */
3526 #include <ac_nonexistent.h>
3527 _ACEOF
3528 if { (ac_try="$ac_cpp conftest.$ac_ext"
3529 case "(($ac_try" in
3530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3531 *) ac_try_echo=$ac_try;;
3532 esac
3533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3534 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3535 ac_status=$?
3536 grep -v '^ *+' conftest.er1 >conftest.err
3537 rm -f conftest.er1
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } >/dev/null && {
3541 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3542 test ! -s conftest.err
3543 }; then
3544 # Broken: success on invalid input.
3545 continue
3546 else
3547 echo "$as_me: failed program was:" >&5
3548 sed 's/^/| /' conftest.$ac_ext >&5
3550 # Passes both tests.
3551 ac_preproc_ok=:
3552 break
3555 rm -f conftest.err conftest.$ac_ext
3557 done
3558 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3559 rm -f conftest.err conftest.$ac_ext
3560 if $ac_preproc_ok; then
3561 break
3564 done
3565 ac_cv_prog_CPP=$CPP
3568 CPP=$ac_cv_prog_CPP
3569 else
3570 ac_cv_prog_CPP=$CPP
3572 { echo "$as_me:$LINENO: result: $CPP" >&5
3573 echo "${ECHO_T}$CPP" >&6; }
3574 ac_preproc_ok=false
3575 for ac_c_preproc_warn_flag in '' yes
3577 # Use a header file that comes with gcc, so configuring glibc
3578 # with a fresh cross-compiler works.
3579 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3580 # <limits.h> exists even on freestanding compilers.
3581 # On the NeXT, cc -E runs the code through the compiler's parser,
3582 # not just through cpp. "Syntax error" is here to catch this case.
3583 cat >conftest.$ac_ext <<_ACEOF
3584 /* confdefs.h. */
3585 _ACEOF
3586 cat confdefs.h >>conftest.$ac_ext
3587 cat >>conftest.$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3589 #ifdef __STDC__
3590 # include <limits.h>
3591 #else
3592 # include <assert.h>
3593 #endif
3594 Syntax error
3595 _ACEOF
3596 if { (ac_try="$ac_cpp conftest.$ac_ext"
3597 case "(($ac_try" in
3598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3599 *) ac_try_echo=$ac_try;;
3600 esac
3601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3602 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3603 ac_status=$?
3604 grep -v '^ *+' conftest.er1 >conftest.err
3605 rm -f conftest.er1
3606 cat conftest.err >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } >/dev/null && {
3609 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3610 test ! -s conftest.err
3611 }; then
3613 else
3614 echo "$as_me: failed program was:" >&5
3615 sed 's/^/| /' conftest.$ac_ext >&5
3617 # Broken: fails on valid input.
3618 continue
3621 rm -f conftest.err conftest.$ac_ext
3623 # OK, works on sane cases. Now check whether nonexistent headers
3624 # can be detected and how.
3625 cat >conftest.$ac_ext <<_ACEOF
3626 /* confdefs.h. */
3627 _ACEOF
3628 cat confdefs.h >>conftest.$ac_ext
3629 cat >>conftest.$ac_ext <<_ACEOF
3630 /* end confdefs.h. */
3631 #include <ac_nonexistent.h>
3632 _ACEOF
3633 if { (ac_try="$ac_cpp conftest.$ac_ext"
3634 case "(($ac_try" in
3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636 *) ac_try_echo=$ac_try;;
3637 esac
3638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3639 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3640 ac_status=$?
3641 grep -v '^ *+' conftest.er1 >conftest.err
3642 rm -f conftest.er1
3643 cat conftest.err >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } >/dev/null && {
3646 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3647 test ! -s conftest.err
3648 }; then
3649 # Broken: success on invalid input.
3650 continue
3651 else
3652 echo "$as_me: failed program was:" >&5
3653 sed 's/^/| /' conftest.$ac_ext >&5
3655 # Passes both tests.
3656 ac_preproc_ok=:
3657 break
3660 rm -f conftest.err conftest.$ac_ext
3662 done
3663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3664 rm -f conftest.err conftest.$ac_ext
3665 if $ac_preproc_ok; then
3667 else
3668 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3669 See \`config.log' for more details." >&5
3670 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3671 See \`config.log' for more details." >&2;}
3672 { (exit 1); exit 1; }; }
3675 ac_ext=c
3676 ac_cpp='$CPP $CPPFLAGS'
3677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3682 { echo "$as_me:$LINENO: checking for X" >&5
3683 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3686 # Check whether --with-x was given.
3687 if test "${with_x+set}" = set; then
3688 withval=$with_x;
3691 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3692 if test "x$with_x" = xno; then
3693 # The user explicitly disabled X.
3694 have_x=disabled
3695 else
3696 case $x_includes,$x_libraries in #(
3697 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3698 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3699 { (exit 1); exit 1; }; };; #(
3700 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3701 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 else
3703 # One or both of the vars are not set, and there is no cached value.
3704 ac_x_includes=no ac_x_libraries=no
3705 rm -f -r conftest.dir
3706 if mkdir conftest.dir; then
3707 cd conftest.dir
3708 cat >Imakefile <<'_ACEOF'
3709 incroot:
3710 @echo incroot='${INCROOT}'
3711 usrlibdir:
3712 @echo usrlibdir='${USRLIBDIR}'
3713 libdir:
3714 @echo libdir='${LIBDIR}'
3715 _ACEOF
3716 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3717 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3718 for ac_var in incroot usrlibdir libdir; do
3719 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3720 done
3721 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3722 for ac_extension in a so sl; do
3723 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3724 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3725 ac_im_usrlibdir=$ac_im_libdir; break
3727 done
3728 # Screen out bogus values from the imake configuration. They are
3729 # bogus both because they are the default anyway, and because
3730 # using them would break gcc on systems where it needs fixed includes.
3731 case $ac_im_incroot in
3732 /usr/include) ac_x_includes= ;;
3733 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3734 esac
3735 case $ac_im_usrlibdir in
3736 /usr/lib | /lib) ;;
3737 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3738 esac
3740 cd ..
3741 rm -f -r conftest.dir
3744 # Standard set of common directories for X headers.
3745 # Check X11 before X11Rn because it is often a symlink to the current release.
3746 ac_x_header_dirs='
3747 /usr/X11/include
3748 /usr/X11R6/include
3749 /usr/X11R5/include
3750 /usr/X11R4/include
3752 /usr/include/X11
3753 /usr/include/X11R6
3754 /usr/include/X11R5
3755 /usr/include/X11R4
3757 /usr/local/X11/include
3758 /usr/local/X11R6/include
3759 /usr/local/X11R5/include
3760 /usr/local/X11R4/include
3762 /usr/local/include/X11
3763 /usr/local/include/X11R6
3764 /usr/local/include/X11R5
3765 /usr/local/include/X11R4
3767 /usr/X386/include
3768 /usr/x386/include
3769 /usr/XFree86/include/X11
3771 /usr/include
3772 /usr/local/include
3773 /usr/unsupported/include
3774 /usr/athena/include
3775 /usr/local/x11r5/include
3776 /usr/lpp/Xamples/include
3778 /usr/openwin/include
3779 /usr/openwin/share/include'
3781 if test "$ac_x_includes" = no; then
3782 # Guess where to find include files, by looking for Xlib.h.
3783 # First, try using that file with no special directory specified.
3784 cat >conftest.$ac_ext <<_ACEOF
3785 /* confdefs.h. */
3786 _ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 #include <X11/Xlib.h>
3791 _ACEOF
3792 if { (ac_try="$ac_cpp conftest.$ac_ext"
3793 case "(($ac_try" in
3794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3795 *) ac_try_echo=$ac_try;;
3796 esac
3797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3799 ac_status=$?
3800 grep -v '^ *+' conftest.er1 >conftest.err
3801 rm -f conftest.er1
3802 cat conftest.err >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); } >/dev/null && {
3805 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3806 test ! -s conftest.err
3807 }; then
3808 # We can compile using X headers with no special include directory.
3809 ac_x_includes=
3810 else
3811 echo "$as_me: failed program was:" >&5
3812 sed 's/^/| /' conftest.$ac_ext >&5
3814 for ac_dir in $ac_x_header_dirs; do
3815 if test -r "$ac_dir/X11/Xlib.h"; then
3816 ac_x_includes=$ac_dir
3817 break
3819 done
3822 rm -f conftest.err conftest.$ac_ext
3823 fi # $ac_x_includes = no
3825 if test "$ac_x_libraries" = no; then
3826 # Check for the libraries.
3827 # See if we find them without any special options.
3828 # Don't add to $LIBS permanently.
3829 ac_save_LIBS=$LIBS
3830 LIBS="-lX11 $LIBS"
3831 cat >conftest.$ac_ext <<_ACEOF
3832 /* confdefs.h. */
3833 _ACEOF
3834 cat confdefs.h >>conftest.$ac_ext
3835 cat >>conftest.$ac_ext <<_ACEOF
3836 /* end confdefs.h. */
3837 #include <X11/Xlib.h>
3839 main ()
3841 XrmInitialize ()
3843 return 0;
3845 _ACEOF
3846 rm -f conftest.$ac_objext conftest$ac_exeext
3847 if { (ac_try="$ac_link"
3848 case "(($ac_try" in
3849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3850 *) ac_try_echo=$ac_try;;
3851 esac
3852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3853 (eval "$ac_link") 2>conftest.er1
3854 ac_status=$?
3855 grep -v '^ *+' conftest.er1 >conftest.err
3856 rm -f conftest.er1
3857 cat conftest.err >&5
3858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3859 (exit $ac_status); } && {
3860 test -z "$ac_c_werror_flag" ||
3861 test ! -s conftest.err
3862 } && test -s conftest$ac_exeext &&
3863 $as_test_x conftest$ac_exeext; then
3864 LIBS=$ac_save_LIBS
3865 # We can link X programs with no special library path.
3866 ac_x_libraries=
3867 else
3868 echo "$as_me: failed program was:" >&5
3869 sed 's/^/| /' conftest.$ac_ext >&5
3871 LIBS=$ac_save_LIBS
3872 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3874 # Don't even attempt the hair of trying to link an X program!
3875 for ac_extension in a so sl; do
3876 if test -r "$ac_dir/libX11.$ac_extension"; then
3877 ac_x_libraries=$ac_dir
3878 break 2
3880 done
3881 done
3884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3885 conftest$ac_exeext conftest.$ac_ext
3886 fi # $ac_x_libraries = no
3888 case $ac_x_includes,$ac_x_libraries in #(
3889 no,* | *,no | *\'*)
3890 # Didn't find X, or a directory has "'" in its name.
3891 ac_cv_have_x="have_x=no";; #(
3893 # Record where we found X for the cache.
3894 ac_cv_have_x="have_x=yes\
3895 ac_x_includes='$ac_x_includes'\
3896 ac_x_libraries='$ac_x_libraries'"
3897 esac
3899 ;; #(
3900 *) have_x=yes;;
3901 esac
3902 eval "$ac_cv_have_x"
3903 fi # $with_x != no
3905 if test "$have_x" != yes; then
3906 { echo "$as_me:$LINENO: result: $have_x" >&5
3907 echo "${ECHO_T}$have_x" >&6; }
3908 no_x=yes
3909 else
3910 # If each of the values was on the command line, it overrides each guess.
3911 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3912 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3913 # Update the cache value to reflect the command line values.
3914 ac_cv_have_x="have_x=yes\
3915 ac_x_includes='$x_includes'\
3916 ac_x_libraries='$x_libraries'"
3917 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3918 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3921 if test "$no_x" = yes; then
3922 # Not all programs may use this symbol, but it does not hurt to define it.
3924 cat >>confdefs.h <<\_ACEOF
3925 #define X_DISPLAY_MISSING 1
3926 _ACEOF
3928 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3929 else
3930 if test -n "$x_includes"; then
3931 X_CFLAGS="$X_CFLAGS -I$x_includes"
3934 # It would also be nice to do this for all -L options, not just this one.
3935 if test -n "$x_libraries"; then
3936 X_LIBS="$X_LIBS -L$x_libraries"
3937 # For Solaris; some versions of Sun CC require a space after -R and
3938 # others require no space. Words are not sufficient . . . .
3939 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3940 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3941 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3942 ac_xsave_c_werror_flag=$ac_c_werror_flag
3943 ac_c_werror_flag=yes
3944 cat >conftest.$ac_ext <<_ACEOF
3945 /* confdefs.h. */
3946 _ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3952 main ()
3956 return 0;
3958 _ACEOF
3959 rm -f conftest.$ac_objext conftest$ac_exeext
3960 if { (ac_try="$ac_link"
3961 case "(($ac_try" in
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3964 esac
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_link") 2>conftest.er1
3967 ac_status=$?
3968 grep -v '^ *+' conftest.er1 >conftest.err
3969 rm -f conftest.er1
3970 cat conftest.err >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && {
3973 test -z "$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3975 } && test -s conftest$ac_exeext &&
3976 $as_test_x conftest$ac_exeext; then
3977 { echo "$as_me:$LINENO: result: no" >&5
3978 echo "${ECHO_T}no" >&6; }
3979 X_LIBS="$X_LIBS -R$x_libraries"
3980 else
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 LIBS="$ac_xsave_LIBS -R $x_libraries"
3985 cat >conftest.$ac_ext <<_ACEOF
3986 /* confdefs.h. */
3987 _ACEOF
3988 cat confdefs.h >>conftest.$ac_ext
3989 cat >>conftest.$ac_ext <<_ACEOF
3990 /* end confdefs.h. */
3993 main ()
3997 return 0;
3999 _ACEOF
4000 rm -f conftest.$ac_objext conftest$ac_exeext
4001 if { (ac_try="$ac_link"
4002 case "(($ac_try" in
4003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004 *) ac_try_echo=$ac_try;;
4005 esac
4006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007 (eval "$ac_link") 2>conftest.er1
4008 ac_status=$?
4009 grep -v '^ *+' conftest.er1 >conftest.err
4010 rm -f conftest.er1
4011 cat conftest.err >&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } && {
4014 test -z "$ac_c_werror_flag" ||
4015 test ! -s conftest.err
4016 } && test -s conftest$ac_exeext &&
4017 $as_test_x conftest$ac_exeext; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 X_LIBS="$X_LIBS -R $x_libraries"
4021 else
4022 echo "$as_me: failed program was:" >&5
4023 sed 's/^/| /' conftest.$ac_ext >&5
4025 { echo "$as_me:$LINENO: result: neither works" >&5
4026 echo "${ECHO_T}neither works" >&6; }
4029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4030 conftest$ac_exeext conftest.$ac_ext
4033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034 conftest$ac_exeext conftest.$ac_ext
4035 ac_c_werror_flag=$ac_xsave_c_werror_flag
4036 LIBS=$ac_xsave_LIBS
4039 # Check for system-dependent libraries X programs must link with.
4040 # Do this before checking for the system-independent R6 libraries
4041 # (-lICE), since we may need -lsocket or whatever for X linking.
4043 if test "$ISC" = yes; then
4044 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4045 else
4046 # Martyn Johnson says this is needed for Ultrix, if the X
4047 # libraries were built with DECnet support. And Karl Berry says
4048 # the Alpha needs dnet_stub (dnet does not exist).
4049 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4050 cat >conftest.$ac_ext <<_ACEOF
4051 /* confdefs.h. */
4052 _ACEOF
4053 cat confdefs.h >>conftest.$ac_ext
4054 cat >>conftest.$ac_ext <<_ACEOF
4055 /* end confdefs.h. */
4057 /* Override any GCC internal prototype to avoid an error.
4058 Use char because int might match the return type of a GCC
4059 builtin and then its argument prototype would still apply. */
4060 #ifdef __cplusplus
4061 extern "C"
4062 #endif
4063 char XOpenDisplay ();
4065 main ()
4067 return XOpenDisplay ();
4069 return 0;
4071 _ACEOF
4072 rm -f conftest.$ac_objext conftest$ac_exeext
4073 if { (ac_try="$ac_link"
4074 case "(($ac_try" in
4075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4076 *) ac_try_echo=$ac_try;;
4077 esac
4078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4079 (eval "$ac_link") 2>conftest.er1
4080 ac_status=$?
4081 grep -v '^ *+' conftest.er1 >conftest.err
4082 rm -f conftest.er1
4083 cat conftest.err >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); } && {
4086 test -z "$ac_c_werror_flag" ||
4087 test ! -s conftest.err
4088 } && test -s conftest$ac_exeext &&
4089 $as_test_x conftest$ac_exeext; then
4091 else
4092 echo "$as_me: failed program was:" >&5
4093 sed 's/^/| /' conftest.$ac_ext >&5
4095 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4096 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4097 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 else
4100 ac_check_lib_save_LIBS=$LIBS
4101 LIBS="-ldnet $LIBS"
4102 cat >conftest.$ac_ext <<_ACEOF
4103 /* confdefs.h. */
4104 _ACEOF
4105 cat confdefs.h >>conftest.$ac_ext
4106 cat >>conftest.$ac_ext <<_ACEOF
4107 /* end confdefs.h. */
4109 /* Override any GCC internal prototype to avoid an error.
4110 Use char because int might match the return type of a GCC
4111 builtin and then its argument prototype would still apply. */
4112 #ifdef __cplusplus
4113 extern "C"
4114 #endif
4115 char dnet_ntoa ();
4117 main ()
4119 return dnet_ntoa ();
4121 return 0;
4123 _ACEOF
4124 rm -f conftest.$ac_objext conftest$ac_exeext
4125 if { (ac_try="$ac_link"
4126 case "(($ac_try" in
4127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4128 *) ac_try_echo=$ac_try;;
4129 esac
4130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4131 (eval "$ac_link") 2>conftest.er1
4132 ac_status=$?
4133 grep -v '^ *+' conftest.er1 >conftest.err
4134 rm -f conftest.er1
4135 cat conftest.err >&5
4136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4137 (exit $ac_status); } && {
4138 test -z "$ac_c_werror_flag" ||
4139 test ! -s conftest.err
4140 } && test -s conftest$ac_exeext &&
4141 $as_test_x conftest$ac_exeext; then
4142 ac_cv_lib_dnet_dnet_ntoa=yes
4143 else
4144 echo "$as_me: failed program was:" >&5
4145 sed 's/^/| /' conftest.$ac_ext >&5
4147 ac_cv_lib_dnet_dnet_ntoa=no
4150 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4151 conftest$ac_exeext conftest.$ac_ext
4152 LIBS=$ac_check_lib_save_LIBS
4154 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4155 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4156 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4157 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4160 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4161 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4162 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4163 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4164 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 else
4166 ac_check_lib_save_LIBS=$LIBS
4167 LIBS="-ldnet_stub $LIBS"
4168 cat >conftest.$ac_ext <<_ACEOF
4169 /* confdefs.h. */
4170 _ACEOF
4171 cat confdefs.h >>conftest.$ac_ext
4172 cat >>conftest.$ac_ext <<_ACEOF
4173 /* end confdefs.h. */
4175 /* Override any GCC internal prototype to avoid an error.
4176 Use char because int might match the return type of a GCC
4177 builtin and then its argument prototype would still apply. */
4178 #ifdef __cplusplus
4179 extern "C"
4180 #endif
4181 char dnet_ntoa ();
4183 main ()
4185 return dnet_ntoa ();
4187 return 0;
4189 _ACEOF
4190 rm -f conftest.$ac_objext conftest$ac_exeext
4191 if { (ac_try="$ac_link"
4192 case "(($ac_try" in
4193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4194 *) ac_try_echo=$ac_try;;
4195 esac
4196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4197 (eval "$ac_link") 2>conftest.er1
4198 ac_status=$?
4199 grep -v '^ *+' conftest.er1 >conftest.err
4200 rm -f conftest.er1
4201 cat conftest.err >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); } && {
4204 test -z "$ac_c_werror_flag" ||
4205 test ! -s conftest.err
4206 } && test -s conftest$ac_exeext &&
4207 $as_test_x conftest$ac_exeext; then
4208 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4209 else
4210 echo "$as_me: failed program was:" >&5
4211 sed 's/^/| /' conftest.$ac_ext >&5
4213 ac_cv_lib_dnet_stub_dnet_ntoa=no
4216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4217 conftest$ac_exeext conftest.$ac_ext
4218 LIBS=$ac_check_lib_save_LIBS
4220 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4221 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4222 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4223 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4230 conftest$ac_exeext conftest.$ac_ext
4231 LIBS="$ac_xsave_LIBS"
4233 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4234 # to get the SysV transport functions.
4235 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4236 # needs -lnsl.
4237 # The nsl library prevents programs from opening the X display
4238 # on Irix 5.2, according to T.E. Dickey.
4239 # The functions gethostbyname, getservbyname, and inet_addr are
4240 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4241 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4242 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4243 if test "${ac_cv_func_gethostbyname+set}" = set; then
4244 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 else
4246 cat >conftest.$ac_ext <<_ACEOF
4247 /* confdefs.h. */
4248 _ACEOF
4249 cat confdefs.h >>conftest.$ac_ext
4250 cat >>conftest.$ac_ext <<_ACEOF
4251 /* end confdefs.h. */
4252 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4254 #define gethostbyname innocuous_gethostbyname
4256 /* System header to define __stub macros and hopefully few prototypes,
4257 which can conflict with char gethostbyname (); below.
4258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4259 <limits.h> exists even on freestanding compilers. */
4261 #ifdef __STDC__
4262 # include <limits.h>
4263 #else
4264 # include <assert.h>
4265 #endif
4267 #undef gethostbyname
4269 /* Override any GCC internal prototype to avoid an error.
4270 Use char because int might match the return type of a GCC
4271 builtin and then its argument prototype would still apply. */
4272 #ifdef __cplusplus
4273 extern "C"
4274 #endif
4275 char gethostbyname ();
4276 /* The GNU C library defines this for functions which it implements
4277 to always fail with ENOSYS. Some functions are actually named
4278 something starting with __ and the normal name is an alias. */
4279 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4280 choke me
4281 #endif
4284 main ()
4286 return gethostbyname ();
4288 return 0;
4290 _ACEOF
4291 rm -f conftest.$ac_objext conftest$ac_exeext
4292 if { (ac_try="$ac_link"
4293 case "(($ac_try" in
4294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4295 *) ac_try_echo=$ac_try;;
4296 esac
4297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4298 (eval "$ac_link") 2>conftest.er1
4299 ac_status=$?
4300 grep -v '^ *+' conftest.er1 >conftest.err
4301 rm -f conftest.er1
4302 cat conftest.err >&5
4303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4304 (exit $ac_status); } && {
4305 test -z "$ac_c_werror_flag" ||
4306 test ! -s conftest.err
4307 } && test -s conftest$ac_exeext &&
4308 $as_test_x conftest$ac_exeext; then
4309 ac_cv_func_gethostbyname=yes
4310 else
4311 echo "$as_me: failed program was:" >&5
4312 sed 's/^/| /' conftest.$ac_ext >&5
4314 ac_cv_func_gethostbyname=no
4317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4318 conftest$ac_exeext conftest.$ac_ext
4320 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4321 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4323 if test $ac_cv_func_gethostbyname = no; then
4324 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4325 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4326 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4327 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 else
4329 ac_check_lib_save_LIBS=$LIBS
4330 LIBS="-lnsl $LIBS"
4331 cat >conftest.$ac_ext <<_ACEOF
4332 /* confdefs.h. */
4333 _ACEOF
4334 cat confdefs.h >>conftest.$ac_ext
4335 cat >>conftest.$ac_ext <<_ACEOF
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4341 #ifdef __cplusplus
4342 extern "C"
4343 #endif
4344 char gethostbyname ();
4346 main ()
4348 return gethostbyname ();
4350 return 0;
4352 _ACEOF
4353 rm -f conftest.$ac_objext conftest$ac_exeext
4354 if { (ac_try="$ac_link"
4355 case "(($ac_try" in
4356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4357 *) ac_try_echo=$ac_try;;
4358 esac
4359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4360 (eval "$ac_link") 2>conftest.er1
4361 ac_status=$?
4362 grep -v '^ *+' conftest.er1 >conftest.err
4363 rm -f conftest.er1
4364 cat conftest.err >&5
4365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4366 (exit $ac_status); } && {
4367 test -z "$ac_c_werror_flag" ||
4368 test ! -s conftest.err
4369 } && test -s conftest$ac_exeext &&
4370 $as_test_x conftest$ac_exeext; then
4371 ac_cv_lib_nsl_gethostbyname=yes
4372 else
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.$ac_ext >&5
4376 ac_cv_lib_nsl_gethostbyname=no
4379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4380 conftest$ac_exeext conftest.$ac_ext
4381 LIBS=$ac_check_lib_save_LIBS
4383 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4384 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4385 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4386 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4389 if test $ac_cv_lib_nsl_gethostbyname = no; then
4390 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4391 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4392 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4393 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 else
4395 ac_check_lib_save_LIBS=$LIBS
4396 LIBS="-lbsd $LIBS"
4397 cat >conftest.$ac_ext <<_ACEOF
4398 /* confdefs.h. */
4399 _ACEOF
4400 cat confdefs.h >>conftest.$ac_ext
4401 cat >>conftest.$ac_ext <<_ACEOF
4402 /* end confdefs.h. */
4404 /* Override any GCC internal prototype to avoid an error.
4405 Use char because int might match the return type of a GCC
4406 builtin and then its argument prototype would still apply. */
4407 #ifdef __cplusplus
4408 extern "C"
4409 #endif
4410 char gethostbyname ();
4412 main ()
4414 return gethostbyname ();
4416 return 0;
4418 _ACEOF
4419 rm -f conftest.$ac_objext conftest$ac_exeext
4420 if { (ac_try="$ac_link"
4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4426 (eval "$ac_link") 2>conftest.er1
4427 ac_status=$?
4428 grep -v '^ *+' conftest.er1 >conftest.err
4429 rm -f conftest.er1
4430 cat conftest.err >&5
4431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4432 (exit $ac_status); } && {
4433 test -z "$ac_c_werror_flag" ||
4434 test ! -s conftest.err
4435 } && test -s conftest$ac_exeext &&
4436 $as_test_x conftest$ac_exeext; then
4437 ac_cv_lib_bsd_gethostbyname=yes
4438 else
4439 echo "$as_me: failed program was:" >&5
4440 sed 's/^/| /' conftest.$ac_ext >&5
4442 ac_cv_lib_bsd_gethostbyname=no
4445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4446 conftest$ac_exeext conftest.$ac_ext
4447 LIBS=$ac_check_lib_save_LIBS
4449 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4450 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4451 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4452 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4458 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4459 # socket/setsockopt and other routines are undefined under SCO ODT
4460 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4461 # on later versions), says Simon Leinen: it contains gethostby*
4462 # variants that don't use the name server (or something). -lsocket
4463 # must be given before -lnsl if both are needed. We assume that
4464 # if connect needs -lnsl, so does gethostbyname.
4465 { echo "$as_me:$LINENO: checking for connect" >&5
4466 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4467 if test "${ac_cv_func_connect+set}" = set; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4469 else
4470 cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h. */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4476 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4478 #define connect innocuous_connect
4480 /* System header to define __stub macros and hopefully few prototypes,
4481 which can conflict with char connect (); below.
4482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4483 <limits.h> exists even on freestanding compilers. */
4485 #ifdef __STDC__
4486 # include <limits.h>
4487 #else
4488 # include <assert.h>
4489 #endif
4491 #undef connect
4493 /* Override any GCC internal prototype to avoid an error.
4494 Use char because int might match the return type of a GCC
4495 builtin and then its argument prototype would still apply. */
4496 #ifdef __cplusplus
4497 extern "C"
4498 #endif
4499 char connect ();
4500 /* The GNU C library defines this for functions which it implements
4501 to always fail with ENOSYS. Some functions are actually named
4502 something starting with __ and the normal name is an alias. */
4503 #if defined __stub_connect || defined __stub___connect
4504 choke me
4505 #endif
4508 main ()
4510 return connect ();
4512 return 0;
4514 _ACEOF
4515 rm -f conftest.$ac_objext conftest$ac_exeext
4516 if { (ac_try="$ac_link"
4517 case "(($ac_try" in
4518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4519 *) ac_try_echo=$ac_try;;
4520 esac
4521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4522 (eval "$ac_link") 2>conftest.er1
4523 ac_status=$?
4524 grep -v '^ *+' conftest.er1 >conftest.err
4525 rm -f conftest.er1
4526 cat conftest.err >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); } && {
4529 test -z "$ac_c_werror_flag" ||
4530 test ! -s conftest.err
4531 } && test -s conftest$ac_exeext &&
4532 $as_test_x conftest$ac_exeext; then
4533 ac_cv_func_connect=yes
4534 else
4535 echo "$as_me: failed program was:" >&5
4536 sed 's/^/| /' conftest.$ac_ext >&5
4538 ac_cv_func_connect=no
4541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4542 conftest$ac_exeext conftest.$ac_ext
4544 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4545 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4547 if test $ac_cv_func_connect = no; then
4548 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4549 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4550 if test "${ac_cv_lib_socket_connect+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 else
4553 ac_check_lib_save_LIBS=$LIBS
4554 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4555 cat >conftest.$ac_ext <<_ACEOF
4556 /* confdefs.h. */
4557 _ACEOF
4558 cat confdefs.h >>conftest.$ac_ext
4559 cat >>conftest.$ac_ext <<_ACEOF
4560 /* end confdefs.h. */
4562 /* Override any GCC internal prototype to avoid an error.
4563 Use char because int might match the return type of a GCC
4564 builtin and then its argument prototype would still apply. */
4565 #ifdef __cplusplus
4566 extern "C"
4567 #endif
4568 char connect ();
4570 main ()
4572 return connect ();
4574 return 0;
4576 _ACEOF
4577 rm -f conftest.$ac_objext conftest$ac_exeext
4578 if { (ac_try="$ac_link"
4579 case "(($ac_try" in
4580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4581 *) ac_try_echo=$ac_try;;
4582 esac
4583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4584 (eval "$ac_link") 2>conftest.er1
4585 ac_status=$?
4586 grep -v '^ *+' conftest.er1 >conftest.err
4587 rm -f conftest.er1
4588 cat conftest.err >&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); } && {
4591 test -z "$ac_c_werror_flag" ||
4592 test ! -s conftest.err
4593 } && test -s conftest$ac_exeext &&
4594 $as_test_x conftest$ac_exeext; then
4595 ac_cv_lib_socket_connect=yes
4596 else
4597 echo "$as_me: failed program was:" >&5
4598 sed 's/^/| /' conftest.$ac_ext >&5
4600 ac_cv_lib_socket_connect=no
4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4604 conftest$ac_exeext conftest.$ac_ext
4605 LIBS=$ac_check_lib_save_LIBS
4607 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4608 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4609 if test $ac_cv_lib_socket_connect = yes; then
4610 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4615 # Guillermo Gomez says -lposix is necessary on A/UX.
4616 { echo "$as_me:$LINENO: checking for remove" >&5
4617 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4618 if test "${ac_cv_func_remove+set}" = set; then
4619 echo $ECHO_N "(cached) $ECHO_C" >&6
4620 else
4621 cat >conftest.$ac_ext <<_ACEOF
4622 /* confdefs.h. */
4623 _ACEOF
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4627 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4629 #define remove innocuous_remove
4631 /* System header to define __stub macros and hopefully few prototypes,
4632 which can conflict with char remove (); below.
4633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4634 <limits.h> exists even on freestanding compilers. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4642 #undef remove
4644 /* Override any GCC internal prototype to avoid an error.
4645 Use char because int might match the return type of a GCC
4646 builtin and then its argument prototype would still apply. */
4647 #ifdef __cplusplus
4648 extern "C"
4649 #endif
4650 char remove ();
4651 /* The GNU C library defines this for functions which it implements
4652 to always fail with ENOSYS. Some functions are actually named
4653 something starting with __ and the normal name is an alias. */
4654 #if defined __stub_remove || defined __stub___remove
4655 choke me
4656 #endif
4659 main ()
4661 return remove ();
4663 return 0;
4665 _ACEOF
4666 rm -f conftest.$ac_objext conftest$ac_exeext
4667 if { (ac_try="$ac_link"
4668 case "(($ac_try" in
4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4670 *) ac_try_echo=$ac_try;;
4671 esac
4672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4673 (eval "$ac_link") 2>conftest.er1
4674 ac_status=$?
4675 grep -v '^ *+' conftest.er1 >conftest.err
4676 rm -f conftest.er1
4677 cat conftest.err >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); } && {
4680 test -z "$ac_c_werror_flag" ||
4681 test ! -s conftest.err
4682 } && test -s conftest$ac_exeext &&
4683 $as_test_x conftest$ac_exeext; then
4684 ac_cv_func_remove=yes
4685 else
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_cv_func_remove=no
4692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4693 conftest$ac_exeext conftest.$ac_ext
4695 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4696 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4698 if test $ac_cv_func_remove = no; then
4699 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4700 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4701 if test "${ac_cv_lib_posix_remove+set}" = set; then
4702 echo $ECHO_N "(cached) $ECHO_C" >&6
4703 else
4704 ac_check_lib_save_LIBS=$LIBS
4705 LIBS="-lposix $LIBS"
4706 cat >conftest.$ac_ext <<_ACEOF
4707 /* confdefs.h. */
4708 _ACEOF
4709 cat confdefs.h >>conftest.$ac_ext
4710 cat >>conftest.$ac_ext <<_ACEOF
4711 /* end confdefs.h. */
4713 /* Override any GCC internal prototype to avoid an error.
4714 Use char because int might match the return type of a GCC
4715 builtin and then its argument prototype would still apply. */
4716 #ifdef __cplusplus
4717 extern "C"
4718 #endif
4719 char remove ();
4721 main ()
4723 return remove ();
4725 return 0;
4727 _ACEOF
4728 rm -f conftest.$ac_objext conftest$ac_exeext
4729 if { (ac_try="$ac_link"
4730 case "(($ac_try" in
4731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4732 *) ac_try_echo=$ac_try;;
4733 esac
4734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4735 (eval "$ac_link") 2>conftest.er1
4736 ac_status=$?
4737 grep -v '^ *+' conftest.er1 >conftest.err
4738 rm -f conftest.er1
4739 cat conftest.err >&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } && {
4742 test -z "$ac_c_werror_flag" ||
4743 test ! -s conftest.err
4744 } && test -s conftest$ac_exeext &&
4745 $as_test_x conftest$ac_exeext; then
4746 ac_cv_lib_posix_remove=yes
4747 else
4748 echo "$as_me: failed program was:" >&5
4749 sed 's/^/| /' conftest.$ac_ext >&5
4751 ac_cv_lib_posix_remove=no
4754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4755 conftest$ac_exeext conftest.$ac_ext
4756 LIBS=$ac_check_lib_save_LIBS
4758 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4759 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4760 if test $ac_cv_lib_posix_remove = yes; then
4761 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4766 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4767 { echo "$as_me:$LINENO: checking for shmat" >&5
4768 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4769 if test "${ac_cv_func_shmat+set}" = set; then
4770 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 else
4772 cat >conftest.$ac_ext <<_ACEOF
4773 /* confdefs.h. */
4774 _ACEOF
4775 cat confdefs.h >>conftest.$ac_ext
4776 cat >>conftest.$ac_ext <<_ACEOF
4777 /* end confdefs.h. */
4778 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4780 #define shmat innocuous_shmat
4782 /* System header to define __stub macros and hopefully few prototypes,
4783 which can conflict with char shmat (); below.
4784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4785 <limits.h> exists even on freestanding compilers. */
4787 #ifdef __STDC__
4788 # include <limits.h>
4789 #else
4790 # include <assert.h>
4791 #endif
4793 #undef shmat
4795 /* Override any GCC internal prototype to avoid an error.
4796 Use char because int might match the return type of a GCC
4797 builtin and then its argument prototype would still apply. */
4798 #ifdef __cplusplus
4799 extern "C"
4800 #endif
4801 char shmat ();
4802 /* The GNU C library defines this for functions which it implements
4803 to always fail with ENOSYS. Some functions are actually named
4804 something starting with __ and the normal name is an alias. */
4805 #if defined __stub_shmat || defined __stub___shmat
4806 choke me
4807 #endif
4810 main ()
4812 return shmat ();
4814 return 0;
4816 _ACEOF
4817 rm -f conftest.$ac_objext conftest$ac_exeext
4818 if { (ac_try="$ac_link"
4819 case "(($ac_try" in
4820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4821 *) ac_try_echo=$ac_try;;
4822 esac
4823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4824 (eval "$ac_link") 2>conftest.er1
4825 ac_status=$?
4826 grep -v '^ *+' conftest.er1 >conftest.err
4827 rm -f conftest.er1
4828 cat conftest.err >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); } && {
4831 test -z "$ac_c_werror_flag" ||
4832 test ! -s conftest.err
4833 } && test -s conftest$ac_exeext &&
4834 $as_test_x conftest$ac_exeext; then
4835 ac_cv_func_shmat=yes
4836 else
4837 echo "$as_me: failed program was:" >&5
4838 sed 's/^/| /' conftest.$ac_ext >&5
4840 ac_cv_func_shmat=no
4843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4844 conftest$ac_exeext conftest.$ac_ext
4846 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4847 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4849 if test $ac_cv_func_shmat = no; then
4850 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4851 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4852 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4853 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 else
4855 ac_check_lib_save_LIBS=$LIBS
4856 LIBS="-lipc $LIBS"
4857 cat >conftest.$ac_ext <<_ACEOF
4858 /* confdefs.h. */
4859 _ACEOF
4860 cat confdefs.h >>conftest.$ac_ext
4861 cat >>conftest.$ac_ext <<_ACEOF
4862 /* end confdefs.h. */
4864 /* Override any GCC internal prototype to avoid an error.
4865 Use char because int might match the return type of a GCC
4866 builtin and then its argument prototype would still apply. */
4867 #ifdef __cplusplus
4868 extern "C"
4869 #endif
4870 char shmat ();
4872 main ()
4874 return shmat ();
4876 return 0;
4878 _ACEOF
4879 rm -f conftest.$ac_objext conftest$ac_exeext
4880 if { (ac_try="$ac_link"
4881 case "(($ac_try" in
4882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4883 *) ac_try_echo=$ac_try;;
4884 esac
4885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4886 (eval "$ac_link") 2>conftest.er1
4887 ac_status=$?
4888 grep -v '^ *+' conftest.er1 >conftest.err
4889 rm -f conftest.er1
4890 cat conftest.err >&5
4891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4892 (exit $ac_status); } && {
4893 test -z "$ac_c_werror_flag" ||
4894 test ! -s conftest.err
4895 } && test -s conftest$ac_exeext &&
4896 $as_test_x conftest$ac_exeext; then
4897 ac_cv_lib_ipc_shmat=yes
4898 else
4899 echo "$as_me: failed program was:" >&5
4900 sed 's/^/| /' conftest.$ac_ext >&5
4902 ac_cv_lib_ipc_shmat=no
4905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4906 conftest$ac_exeext conftest.$ac_ext
4907 LIBS=$ac_check_lib_save_LIBS
4909 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4910 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4911 if test $ac_cv_lib_ipc_shmat = yes; then
4912 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4918 # Check for libraries that X11R6 Xt/Xaw programs need.
4919 ac_save_LDFLAGS=$LDFLAGS
4920 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4921 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4922 # check for ICE first), but we must link in the order -lSM -lICE or
4923 # we get undefined symbols. So assume we have SM if we have ICE.
4924 # These have to be linked with before -lX11, unlike the other
4925 # libraries we check for below, so use a different variable.
4926 # John Interrante, Karl Berry
4927 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4928 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4929 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 else
4932 ac_check_lib_save_LIBS=$LIBS
4933 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4934 cat >conftest.$ac_ext <<_ACEOF
4935 /* confdefs.h. */
4936 _ACEOF
4937 cat confdefs.h >>conftest.$ac_ext
4938 cat >>conftest.$ac_ext <<_ACEOF
4939 /* end confdefs.h. */
4941 /* Override any GCC internal prototype to avoid an error.
4942 Use char because int might match the return type of a GCC
4943 builtin and then its argument prototype would still apply. */
4944 #ifdef __cplusplus
4945 extern "C"
4946 #endif
4947 char IceConnectionNumber ();
4949 main ()
4951 return IceConnectionNumber ();
4953 return 0;
4955 _ACEOF
4956 rm -f conftest.$ac_objext conftest$ac_exeext
4957 if { (ac_try="$ac_link"
4958 case "(($ac_try" in
4959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4960 *) ac_try_echo=$ac_try;;
4961 esac
4962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4963 (eval "$ac_link") 2>conftest.er1
4964 ac_status=$?
4965 grep -v '^ *+' conftest.er1 >conftest.err
4966 rm -f conftest.er1
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } && {
4970 test -z "$ac_c_werror_flag" ||
4971 test ! -s conftest.err
4972 } && test -s conftest$ac_exeext &&
4973 $as_test_x conftest$ac_exeext; then
4974 ac_cv_lib_ICE_IceConnectionNumber=yes
4975 else
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4979 ac_cv_lib_ICE_IceConnectionNumber=no
4982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4983 conftest$ac_exeext conftest.$ac_ext
4984 LIBS=$ac_check_lib_save_LIBS
4986 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4987 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4988 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4989 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4992 LDFLAGS=$ac_save_LDFLAGS
4997 for ac_prog in flex
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy $ac_prog; ac_word=$2
5001 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5003 if test "${ac_cv_prog_FLEX+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5005 else
5006 if test -n "$FLEX"; then
5007 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5008 else
5009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5010 for as_dir in $PATH
5012 IFS=$as_save_IFS
5013 test -z "$as_dir" && as_dir=.
5014 for ac_exec_ext in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_FLEX="$ac_prog"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 break 2
5020 done
5021 done
5022 IFS=$as_save_IFS
5026 FLEX=$ac_cv_prog_FLEX
5027 if test -n "$FLEX"; then
5028 { echo "$as_me:$LINENO: result: $FLEX" >&5
5029 echo "${ECHO_T}$FLEX" >&6; }
5030 else
5031 { echo "$as_me:$LINENO: result: no" >&5
5032 echo "${ECHO_T}no" >&6; }
5036 test -n "$FLEX" && break
5037 done
5038 test -n "$FLEX" || FLEX="none"
5040 if test "$FLEX" = "none"
5041 then
5042 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5043 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5044 { (exit 1); exit 1; }; }
5047 for ac_prog in bison
5049 # Extract the first word of "$ac_prog", so it can be a program name with args.
5050 set dummy $ac_prog; ac_word=$2
5051 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5053 if test "${ac_cv_prog_BISON+set}" = set; then
5054 echo $ECHO_N "(cached) $ECHO_C" >&6
5055 else
5056 if test -n "$BISON"; then
5057 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5058 else
5059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5060 for as_dir in $PATH
5062 IFS=$as_save_IFS
5063 test -z "$as_dir" && as_dir=.
5064 for ac_exec_ext in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_BISON="$ac_prog"
5067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 break 2
5070 done
5071 done
5072 IFS=$as_save_IFS
5076 BISON=$ac_cv_prog_BISON
5077 if test -n "$BISON"; then
5078 { echo "$as_me:$LINENO: result: $BISON" >&5
5079 echo "${ECHO_T}$BISON" >&6; }
5080 else
5081 { echo "$as_me:$LINENO: result: no" >&5
5082 echo "${ECHO_T}no" >&6; }
5086 test -n "$BISON" && break
5087 done
5088 test -n "$BISON" || BISON="none"
5090 if test "$BISON" = "none"
5091 then
5092 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5093 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5094 { (exit 1); exit 1; }; }
5097 if test -n "$ac_tool_prefix"; then
5098 for ac_prog in gas as
5100 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5101 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5102 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5104 if test "${ac_cv_prog_AS+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5106 else
5107 if test -n "$AS"; then
5108 ac_cv_prog_AS="$AS" # Let the user override the test.
5109 else
5110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5111 for as_dir in $PATH
5113 IFS=$as_save_IFS
5114 test -z "$as_dir" && as_dir=.
5115 for ac_exec_ext in '' $ac_executable_extensions; do
5116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5117 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5119 break 2
5121 done
5122 done
5123 IFS=$as_save_IFS
5127 AS=$ac_cv_prog_AS
5128 if test -n "$AS"; then
5129 { echo "$as_me:$LINENO: result: $AS" >&5
5130 echo "${ECHO_T}$AS" >&6; }
5131 else
5132 { echo "$as_me:$LINENO: result: no" >&5
5133 echo "${ECHO_T}no" >&6; }
5137 test -n "$AS" && break
5138 done
5140 if test -z "$AS"; then
5141 ac_ct_AS=$AS
5142 for ac_prog in gas as
5144 # Extract the first word of "$ac_prog", so it can be a program name with args.
5145 set dummy $ac_prog; ac_word=$2
5146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5148 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 else
5151 if test -n "$ac_ct_AS"; then
5152 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_AS="$ac_prog"
5162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5165 done
5166 done
5167 IFS=$as_save_IFS
5171 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5172 if test -n "$ac_ct_AS"; then
5173 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5174 echo "${ECHO_T}$ac_ct_AS" >&6; }
5175 else
5176 { echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6; }
5181 test -n "$ac_ct_AS" && break
5182 done
5184 if test "x$ac_ct_AS" = x; then
5185 AS="as"
5186 else
5187 case $cross_compiling:$ac_tool_warned in
5188 yes:)
5189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5190 whose name does not start with the host triplet. If you think this
5191 configuration is useful to you, please write to autoconf@gnu.org." >&5
5192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5193 whose name does not start with the host triplet. If you think this
5194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5195 ac_tool_warned=yes ;;
5196 esac
5197 AS=$ac_ct_AS
5201 if test -n "$ac_tool_prefix"; then
5202 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5203 set dummy ${ac_tool_prefix}ld; ac_word=$2
5204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5206 if test "${ac_cv_prog_LD+set}" = set; then
5207 echo $ECHO_N "(cached) $ECHO_C" >&6
5208 else
5209 if test -n "$LD"; then
5210 ac_cv_prog_LD="$LD" # Let the user override the test.
5211 else
5212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 for as_dir in $PATH
5215 IFS=$as_save_IFS
5216 test -z "$as_dir" && as_dir=.
5217 for ac_exec_ext in '' $ac_executable_extensions; do
5218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5219 ac_cv_prog_LD="${ac_tool_prefix}ld"
5220 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 break 2
5223 done
5224 done
5225 IFS=$as_save_IFS
5229 LD=$ac_cv_prog_LD
5230 if test -n "$LD"; then
5231 { echo "$as_me:$LINENO: result: $LD" >&5
5232 echo "${ECHO_T}$LD" >&6; }
5233 else
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5240 if test -z "$ac_cv_prog_LD"; then
5241 ac_ct_LD=$LD
5242 # Extract the first word of "ld", so it can be a program name with args.
5243 set dummy ld; ac_word=$2
5244 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5246 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5248 else
5249 if test -n "$ac_ct_LD"; then
5250 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5251 else
5252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5253 for as_dir in $PATH
5255 IFS=$as_save_IFS
5256 test -z "$as_dir" && as_dir=.
5257 for ac_exec_ext in '' $ac_executable_extensions; do
5258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5259 ac_cv_prog_ac_ct_LD="ld"
5260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 break 2
5263 done
5264 done
5265 IFS=$as_save_IFS
5269 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5270 if test -n "$ac_ct_LD"; then
5271 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5272 echo "${ECHO_T}$ac_ct_LD" >&6; }
5273 else
5274 { echo "$as_me:$LINENO: result: no" >&5
5275 echo "${ECHO_T}no" >&6; }
5278 if test "x$ac_ct_LD" = x; then
5279 LD="ld"
5280 else
5281 case $cross_compiling:$ac_tool_warned in
5282 yes:)
5283 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5284 whose name does not start with the host triplet. If you think this
5285 configuration is useful to you, please write to autoconf@gnu.org." >&5
5286 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5287 whose name does not start with the host triplet. If you think this
5288 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5289 ac_tool_warned=yes ;;
5290 esac
5291 LD=$ac_ct_LD
5293 else
5294 LD="$ac_cv_prog_LD"
5297 if test -n "$ac_tool_prefix"; then
5298 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5299 set dummy ${ac_tool_prefix}ar; ac_word=$2
5300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5302 if test "${ac_cv_prog_AR+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5304 else
5305 if test -n "$AR"; then
5306 ac_cv_prog_AR="$AR" # Let the user override the test.
5307 else
5308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5309 for as_dir in $PATH
5311 IFS=$as_save_IFS
5312 test -z "$as_dir" && as_dir=.
5313 for ac_exec_ext in '' $ac_executable_extensions; do
5314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5315 ac_cv_prog_AR="${ac_tool_prefix}ar"
5316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5317 break 2
5319 done
5320 done
5321 IFS=$as_save_IFS
5325 AR=$ac_cv_prog_AR
5326 if test -n "$AR"; then
5327 { echo "$as_me:$LINENO: result: $AR" >&5
5328 echo "${ECHO_T}$AR" >&6; }
5329 else
5330 { echo "$as_me:$LINENO: result: no" >&5
5331 echo "${ECHO_T}no" >&6; }
5336 if test -z "$ac_cv_prog_AR"; then
5337 ac_ct_AR=$AR
5338 # Extract the first word of "ar", so it can be a program name with args.
5339 set dummy ar; ac_word=$2
5340 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5342 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5343 echo $ECHO_N "(cached) $ECHO_C" >&6
5344 else
5345 if test -n "$ac_ct_AR"; then
5346 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5347 else
5348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5349 for as_dir in $PATH
5351 IFS=$as_save_IFS
5352 test -z "$as_dir" && as_dir=.
5353 for ac_exec_ext in '' $ac_executable_extensions; do
5354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5355 ac_cv_prog_ac_ct_AR="ar"
5356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5357 break 2
5359 done
5360 done
5361 IFS=$as_save_IFS
5365 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5366 if test -n "$ac_ct_AR"; then
5367 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5368 echo "${ECHO_T}$ac_ct_AR" >&6; }
5369 else
5370 { echo "$as_me:$LINENO: result: no" >&5
5371 echo "${ECHO_T}no" >&6; }
5374 if test "x$ac_ct_AR" = x; then
5375 AR="ar"
5376 else
5377 case $cross_compiling:$ac_tool_warned in
5378 yes:)
5379 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5380 whose name does not start with the host triplet. If you think this
5381 configuration is useful to you, please write to autoconf@gnu.org." >&5
5382 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5383 whose name does not start with the host triplet. If you think this
5384 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5385 ac_tool_warned=yes ;;
5386 esac
5387 AR=$ac_ct_AR
5389 else
5390 AR="$ac_cv_prog_AR"
5393 if test -n "$ac_tool_prefix"; then
5394 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5395 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5398 if test "${ac_cv_prog_RANLIB+set}" = set; then
5399 echo $ECHO_N "(cached) $ECHO_C" >&6
5400 else
5401 if test -n "$RANLIB"; then
5402 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5403 else
5404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5405 for as_dir in $PATH
5407 IFS=$as_save_IFS
5408 test -z "$as_dir" && as_dir=.
5409 for ac_exec_ext in '' $ac_executable_extensions; do
5410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5411 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5413 break 2
5415 done
5416 done
5417 IFS=$as_save_IFS
5421 RANLIB=$ac_cv_prog_RANLIB
5422 if test -n "$RANLIB"; then
5423 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5424 echo "${ECHO_T}$RANLIB" >&6; }
5425 else
5426 { echo "$as_me:$LINENO: result: no" >&5
5427 echo "${ECHO_T}no" >&6; }
5432 if test -z "$ac_cv_prog_RANLIB"; then
5433 ac_ct_RANLIB=$RANLIB
5434 # Extract the first word of "ranlib", so it can be a program name with args.
5435 set dummy ranlib; ac_word=$2
5436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5438 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 if test -n "$ac_ct_RANLIB"; then
5442 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5443 else
5444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5445 for as_dir in $PATH
5447 IFS=$as_save_IFS
5448 test -z "$as_dir" && as_dir=.
5449 for ac_exec_ext in '' $ac_executable_extensions; do
5450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5451 ac_cv_prog_ac_ct_RANLIB="ranlib"
5452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 break 2
5455 done
5456 done
5457 IFS=$as_save_IFS
5461 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5462 if test -n "$ac_ct_RANLIB"; then
5463 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5464 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5465 else
5466 { echo "$as_me:$LINENO: result: no" >&5
5467 echo "${ECHO_T}no" >&6; }
5470 if test "x$ac_ct_RANLIB" = x; then
5471 RANLIB=":"
5472 else
5473 case $cross_compiling:$ac_tool_warned in
5474 yes:)
5475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5476 whose name does not start with the host triplet. If you think this
5477 configuration is useful to you, please write to autoconf@gnu.org." >&5
5478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5479 whose name does not start with the host triplet. If you think this
5480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5481 ac_tool_warned=yes ;;
5482 esac
5483 RANLIB=$ac_ct_RANLIB
5485 else
5486 RANLIB="$ac_cv_prog_RANLIB"
5489 if test -n "$ac_tool_prefix"; then
5490 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5491 set dummy ${ac_tool_prefix}strip; ac_word=$2
5492 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5494 if test "${ac_cv_prog_STRIP+set}" = set; then
5495 echo $ECHO_N "(cached) $ECHO_C" >&6
5496 else
5497 if test -n "$STRIP"; then
5498 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5499 else
5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5501 for as_dir in $PATH
5503 IFS=$as_save_IFS
5504 test -z "$as_dir" && as_dir=.
5505 for ac_exec_ext in '' $ac_executable_extensions; do
5506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5507 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5509 break 2
5511 done
5512 done
5513 IFS=$as_save_IFS
5517 STRIP=$ac_cv_prog_STRIP
5518 if test -n "$STRIP"; then
5519 { echo "$as_me:$LINENO: result: $STRIP" >&5
5520 echo "${ECHO_T}$STRIP" >&6; }
5521 else
5522 { echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6; }
5528 if test -z "$ac_cv_prog_STRIP"; then
5529 ac_ct_STRIP=$STRIP
5530 # Extract the first word of "strip", so it can be a program name with args.
5531 set dummy strip; ac_word=$2
5532 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5534 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5535 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 else
5537 if test -n "$ac_ct_STRIP"; then
5538 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5539 else
5540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5541 for as_dir in $PATH
5543 IFS=$as_save_IFS
5544 test -z "$as_dir" && as_dir=.
5545 for ac_exec_ext in '' $ac_executable_extensions; do
5546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5547 ac_cv_prog_ac_ct_STRIP="strip"
5548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5549 break 2
5551 done
5552 done
5553 IFS=$as_save_IFS
5557 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5558 if test -n "$ac_ct_STRIP"; then
5559 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5560 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5561 else
5562 { echo "$as_me:$LINENO: result: no" >&5
5563 echo "${ECHO_T}no" >&6; }
5566 if test "x$ac_ct_STRIP" = x; then
5567 STRIP="strip"
5568 else
5569 case $cross_compiling:$ac_tool_warned in
5570 yes:)
5571 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5572 whose name does not start with the host triplet. If you think this
5573 configuration is useful to you, please write to autoconf@gnu.org." >&5
5574 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5575 whose name does not start with the host triplet. If you think this
5576 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5577 ac_tool_warned=yes ;;
5578 esac
5579 STRIP=$ac_ct_STRIP
5581 else
5582 STRIP="$ac_cv_prog_STRIP"
5585 if test -n "$ac_tool_prefix"; then
5586 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5587 set dummy ${ac_tool_prefix}windres; ac_word=$2
5588 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5590 if test "${ac_cv_prog_WINDRES+set}" = set; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5592 else
5593 if test -n "$WINDRES"; then
5594 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5595 else
5596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5597 for as_dir in $PATH
5599 IFS=$as_save_IFS
5600 test -z "$as_dir" && as_dir=.
5601 for ac_exec_ext in '' $ac_executable_extensions; do
5602 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5603 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5605 break 2
5607 done
5608 done
5609 IFS=$as_save_IFS
5613 WINDRES=$ac_cv_prog_WINDRES
5614 if test -n "$WINDRES"; then
5615 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5616 echo "${ECHO_T}$WINDRES" >&6; }
5617 else
5618 { echo "$as_me:$LINENO: result: no" >&5
5619 echo "${ECHO_T}no" >&6; }
5624 if test -z "$ac_cv_prog_WINDRES"; then
5625 ac_ct_WINDRES=$WINDRES
5626 # Extract the first word of "windres", so it can be a program name with args.
5627 set dummy windres; ac_word=$2
5628 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5630 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 else
5633 if test -n "$ac_ct_WINDRES"; then
5634 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5635 else
5636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5637 for as_dir in $PATH
5639 IFS=$as_save_IFS
5640 test -z "$as_dir" && as_dir=.
5641 for ac_exec_ext in '' $ac_executable_extensions; do
5642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5643 ac_cv_prog_ac_ct_WINDRES="windres"
5644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5645 break 2
5647 done
5648 done
5649 IFS=$as_save_IFS
5653 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5654 if test -n "$ac_ct_WINDRES"; then
5655 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5656 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5657 else
5658 { echo "$as_me:$LINENO: result: no" >&5
5659 echo "${ECHO_T}no" >&6; }
5662 if test "x$ac_ct_WINDRES" = x; then
5663 WINDRES="false"
5664 else
5665 case $cross_compiling:$ac_tool_warned in
5666 yes:)
5667 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5668 whose name does not start with the host triplet. If you think this
5669 configuration is useful to you, please write to autoconf@gnu.org." >&5
5670 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5671 whose name does not start with the host triplet. If you think this
5672 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5673 ac_tool_warned=yes ;;
5674 esac
5675 WINDRES=$ac_ct_WINDRES
5677 else
5678 WINDRES="$ac_cv_prog_WINDRES"
5681 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5682 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5683 LN_S=$as_ln_s
5684 if test "$LN_S" = "ln -s"; then
5685 { echo "$as_me:$LINENO: result: yes" >&5
5686 echo "${ECHO_T}yes" >&6; }
5687 else
5688 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5689 echo "${ECHO_T}no, using $LN_S" >&6; }
5692 { echo "$as_me:$LINENO: checking whether ln works" >&5
5693 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5694 rm -f conf$$ conf$$.file
5695 echo >conf$$.file
5696 if ln conf$$.file conf$$ 2>/dev/null; then
5697 LN=ln
5699 { echo "$as_me:$LINENO: result: yes" >&5
5700 echo "${ECHO_T}yes" >&6; }
5701 else
5702 LN="cp -p"
5704 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5705 echo "${ECHO_T}no, using $LN" >&6; }
5707 rm -f conf$$ conf$$.file
5708 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5709 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5710 if test "${ac_cv_path_GREP+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5712 else
5713 # Extract the first word of "grep ggrep" to use in msg output
5714 if test -z "$GREP"; then
5715 set dummy grep ggrep; ac_prog_name=$2
5716 if test "${ac_cv_path_GREP+set}" = set; then
5717 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 else
5719 ac_path_GREP_found=false
5720 # Loop through the user's path and test for each of PROGNAME-LIST
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5722 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5724 IFS=$as_save_IFS
5725 test -z "$as_dir" && as_dir=.
5726 for ac_prog in grep ggrep; do
5727 for ac_exec_ext in '' $ac_executable_extensions; do
5728 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5729 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5730 # Check for GNU ac_path_GREP and select it if it is found.
5731 # Check for GNU $ac_path_GREP
5732 case `"$ac_path_GREP" --version 2>&1` in
5733 *GNU*)
5734 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5736 ac_count=0
5737 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5738 while :
5740 cat "conftest.in" "conftest.in" >"conftest.tmp"
5741 mv "conftest.tmp" "conftest.in"
5742 cp "conftest.in" "conftest.nl"
5743 echo 'GREP' >> "conftest.nl"
5744 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5745 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5746 ac_count=`expr $ac_count + 1`
5747 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5748 # Best one so far, save it but keep looking for a better one
5749 ac_cv_path_GREP="$ac_path_GREP"
5750 ac_path_GREP_max=$ac_count
5752 # 10*(2^10) chars as input seems more than enough
5753 test $ac_count -gt 10 && break
5754 done
5755 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5756 esac
5759 $ac_path_GREP_found && break 3
5760 done
5761 done
5763 done
5764 IFS=$as_save_IFS
5769 GREP="$ac_cv_path_GREP"
5770 if test -z "$GREP"; then
5771 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5772 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5773 { (exit 1); exit 1; }; }
5776 else
5777 ac_cv_path_GREP=$GREP
5782 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5783 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5784 GREP="$ac_cv_path_GREP"
5787 { echo "$as_me:$LINENO: checking for egrep" >&5
5788 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5789 if test "${ac_cv_path_EGREP+set}" = set; then
5790 echo $ECHO_N "(cached) $ECHO_C" >&6
5791 else
5792 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5793 then ac_cv_path_EGREP="$GREP -E"
5794 else
5795 # Extract the first word of "egrep" to use in msg output
5796 if test -z "$EGREP"; then
5797 set dummy egrep; ac_prog_name=$2
5798 if test "${ac_cv_path_EGREP+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 else
5801 ac_path_EGREP_found=false
5802 # Loop through the user's path and test for each of PROGNAME-LIST
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5806 IFS=$as_save_IFS
5807 test -z "$as_dir" && as_dir=.
5808 for ac_prog in egrep; do
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5812 # Check for GNU ac_path_EGREP and select it if it is found.
5813 # Check for GNU $ac_path_EGREP
5814 case `"$ac_path_EGREP" --version 2>&1` in
5815 *GNU*)
5816 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5818 ac_count=0
5819 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5820 while :
5822 cat "conftest.in" "conftest.in" >"conftest.tmp"
5823 mv "conftest.tmp" "conftest.in"
5824 cp "conftest.in" "conftest.nl"
5825 echo 'EGREP' >> "conftest.nl"
5826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5828 ac_count=`expr $ac_count + 1`
5829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5830 # Best one so far, save it but keep looking for a better one
5831 ac_cv_path_EGREP="$ac_path_EGREP"
5832 ac_path_EGREP_max=$ac_count
5834 # 10*(2^10) chars as input seems more than enough
5835 test $ac_count -gt 10 && break
5836 done
5837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5838 esac
5841 $ac_path_EGREP_found && break 3
5842 done
5843 done
5845 done
5846 IFS=$as_save_IFS
5851 EGREP="$ac_cv_path_EGREP"
5852 if test -z "$EGREP"; then
5853 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5854 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5855 { (exit 1); exit 1; }; }
5858 else
5859 ac_cv_path_EGREP=$EGREP
5865 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5866 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5867 EGREP="$ac_cv_path_EGREP"
5870 # Extract the first word of "ldconfig", so it can be a program name with args.
5871 set dummy ldconfig; ac_word=$2
5872 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5874 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5875 echo $ECHO_N "(cached) $ECHO_C" >&6
5876 else
5877 case $LDCONFIG in
5878 [\\/]* | ?:[\\/]*)
5879 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5883 for as_dir in /sbin /usr/sbin $PATH
5885 IFS=$as_save_IFS
5886 test -z "$as_dir" && as_dir=.
5887 for ac_exec_ext in '' $ac_executable_extensions; do
5888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5889 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5891 break 2
5893 done
5894 done
5895 IFS=$as_save_IFS
5897 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5899 esac
5901 LDCONFIG=$ac_cv_path_LDCONFIG
5902 if test -n "$LDCONFIG"; then
5903 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5904 echo "${ECHO_T}$LDCONFIG" >&6; }
5905 else
5906 { echo "$as_me:$LINENO: result: no" >&5
5907 echo "${ECHO_T}no" >&6; }
5911 # Find a good install program. We prefer a C program (faster),
5912 # so one script is as good as another. But avoid the broken or
5913 # incompatible versions:
5914 # SysV /etc/install, /usr/sbin/install
5915 # SunOS /usr/etc/install
5916 # IRIX /sbin/install
5917 # AIX /bin/install
5918 # AmigaOS /C/install, which installs bootblocks on floppy discs
5919 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5920 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5921 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5922 # OS/2's system install, which has a completely different semantic
5923 # ./install, which can be erroneously created by make from ./install.sh.
5924 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5925 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5926 if test -z "$INSTALL"; then
5927 if test "${ac_cv_path_install+set}" = set; then
5928 echo $ECHO_N "(cached) $ECHO_C" >&6
5929 else
5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 for as_dir in $PATH
5933 IFS=$as_save_IFS
5934 test -z "$as_dir" && as_dir=.
5935 # Account for people who put trailing slashes in PATH elements.
5936 case $as_dir/ in
5937 ./ | .// | /cC/* | \
5938 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5939 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5940 /usr/ucb/* ) ;;
5942 # OSF1 and SCO ODT 3.0 have their own names for install.
5943 # Don't use installbsd from OSF since it installs stuff as root
5944 # by default.
5945 for ac_prog in ginstall scoinst install; do
5946 for ac_exec_ext in '' $ac_executable_extensions; do
5947 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5948 if test $ac_prog = install &&
5949 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5950 # AIX install. It has an incompatible calling convention.
5952 elif test $ac_prog = install &&
5953 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5954 # program-specific install script used by HP pwplus--don't use.
5956 else
5957 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5958 break 3
5961 done
5962 done
5964 esac
5965 done
5966 IFS=$as_save_IFS
5970 if test "${ac_cv_path_install+set}" = set; then
5971 INSTALL=$ac_cv_path_install
5972 else
5973 # As a last resort, use the slow shell script. Don't cache a
5974 # value for INSTALL within a source directory, because that will
5975 # break other packages using the cache if that directory is
5976 # removed, or if the value is a relative name.
5977 INSTALL=$ac_install_sh
5980 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5981 echo "${ECHO_T}$INSTALL" >&6; }
5983 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5984 # It thinks the first close brace ends the variable substitution.
5985 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5987 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5989 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5991 case "$INSTALL" in
5992 [\\/$]* | ?:[\\/]* ) ;;
5993 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5994 esac
5996 for ac_prog in lclint lint
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6002 if test "${ac_cv_prog_LINT+set}" = set; then
6003 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 else
6005 if test -n "$LINT"; then
6006 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6015 ac_cv_prog_LINT="$ac_prog"
6016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 LINT=$ac_cv_prog_LINT
6026 if test -n "$LINT"; then
6027 { echo "$as_me:$LINENO: result: $LINT" >&5
6028 echo "${ECHO_T}$LINT" >&6; }
6029 else
6030 { echo "$as_me:$LINENO: result: no" >&5
6031 echo "${ECHO_T}no" >&6; }
6035 test -n "$LINT" && break
6036 done
6038 if test "$LINT" = "lint"
6039 then
6040 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6045 for ac_prog in fontforge
6047 # Extract the first word of "$ac_prog", so it can be a program name with args.
6048 set dummy $ac_prog; ac_word=$2
6049 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6051 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6052 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 else
6054 if test -n "$FONTFORGE"; then
6055 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6056 else
6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6058 for as_dir in $PATH
6060 IFS=$as_save_IFS
6061 test -z "$as_dir" && as_dir=.
6062 for ac_exec_ext in '' $ac_executable_extensions; do
6063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6064 ac_cv_prog_FONTFORGE="$ac_prog"
6065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6066 break 2
6068 done
6069 done
6070 IFS=$as_save_IFS
6074 FONTFORGE=$ac_cv_prog_FONTFORGE
6075 if test -n "$FONTFORGE"; then
6076 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6077 echo "${ECHO_T}$FONTFORGE" >&6; }
6078 else
6079 { echo "$as_me:$LINENO: result: no" >&5
6080 echo "${ECHO_T}no" >&6; }
6084 test -n "$FONTFORGE" && break
6085 done
6086 test -n "$FONTFORGE" || FONTFORGE="false"
6088 for ac_prog in pkg-config
6090 # Extract the first word of "$ac_prog", so it can be a program name with args.
6091 set dummy $ac_prog; ac_word=$2
6092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6094 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6095 echo $ECHO_N "(cached) $ECHO_C" >&6
6096 else
6097 if test -n "$PKG_CONFIG"; then
6098 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6099 else
6100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 for as_dir in $PATH
6103 IFS=$as_save_IFS
6104 test -z "$as_dir" && as_dir=.
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6107 ac_cv_prog_PKG_CONFIG="$ac_prog"
6108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6109 break 2
6111 done
6112 done
6113 IFS=$as_save_IFS
6117 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6118 if test -n "$PKG_CONFIG"; then
6119 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6120 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6121 else
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6127 test -n "$PKG_CONFIG" && break
6128 done
6129 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6132 case $host_cpu in
6133 *i[3456789]86*)
6134 # Extract the first word of "prelink", so it can be a program name with args.
6135 set dummy prelink; ac_word=$2
6136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6138 if test "${ac_cv_path_PRELINK+set}" = set; then
6139 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 else
6141 case $PRELINK in
6142 [\\/]* | ?:[\\/]*)
6143 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in /sbin /usr/sbin $PATH
6149 IFS=$as_save_IFS
6150 test -z "$as_dir" && as_dir=.
6151 for ac_exec_ext in '' $ac_executable_extensions; do
6152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6153 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6155 break 2
6157 done
6158 done
6159 IFS=$as_save_IFS
6161 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6163 esac
6165 PRELINK=$ac_cv_path_PRELINK
6166 if test -n "$PRELINK"; then
6167 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6168 echo "${ECHO_T}$PRELINK" >&6; }
6169 else
6170 { echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6; }
6176 esac
6180 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6181 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6182 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6183 echo $ECHO_N "(cached) $ECHO_C" >&6
6184 else
6185 ac_check_lib_save_LIBS=$LIBS
6186 LIBS="-li386 $LIBS"
6187 cat >conftest.$ac_ext <<_ACEOF
6188 /* confdefs.h. */
6189 _ACEOF
6190 cat confdefs.h >>conftest.$ac_ext
6191 cat >>conftest.$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6194 /* Override any GCC internal prototype to avoid an error.
6195 Use char because int might match the return type of a GCC
6196 builtin and then its argument prototype would still apply. */
6197 #ifdef __cplusplus
6198 extern "C"
6199 #endif
6200 char i386_set_ldt ();
6202 main ()
6204 return i386_set_ldt ();
6206 return 0;
6208 _ACEOF
6209 rm -f conftest.$ac_objext conftest$ac_exeext
6210 if { (ac_try="$ac_link"
6211 case "(($ac_try" in
6212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6213 *) ac_try_echo=$ac_try;;
6214 esac
6215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6216 (eval "$ac_link") 2>conftest.er1
6217 ac_status=$?
6218 grep -v '^ *+' conftest.er1 >conftest.err
6219 rm -f conftest.er1
6220 cat conftest.err >&5
6221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6222 (exit $ac_status); } && {
6223 test -z "$ac_c_werror_flag" ||
6224 test ! -s conftest.err
6225 } && test -s conftest$ac_exeext &&
6226 $as_test_x conftest$ac_exeext; then
6227 ac_cv_lib_i386_i386_set_ldt=yes
6228 else
6229 echo "$as_me: failed program was:" >&5
6230 sed 's/^/| /' conftest.$ac_ext >&5
6232 ac_cv_lib_i386_i386_set_ldt=no
6235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6236 conftest$ac_exeext conftest.$ac_ext
6237 LIBS=$ac_check_lib_save_LIBS
6239 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6240 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6241 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6242 cat >>confdefs.h <<_ACEOF
6243 #define HAVE_LIBI386 1
6244 _ACEOF
6246 LIBS="-li386 $LIBS"
6251 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6252 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6253 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6254 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 else
6256 ac_check_lib_save_LIBS=$LIBS
6257 LIBS="-lossaudio $LIBS"
6258 cat >conftest.$ac_ext <<_ACEOF
6259 /* confdefs.h. */
6260 _ACEOF
6261 cat confdefs.h >>conftest.$ac_ext
6262 cat >>conftest.$ac_ext <<_ACEOF
6263 /* end confdefs.h. */
6265 /* Override any GCC internal prototype to avoid an error.
6266 Use char because int might match the return type of a GCC
6267 builtin and then its argument prototype would still apply. */
6268 #ifdef __cplusplus
6269 extern "C"
6270 #endif
6271 char _oss_ioctl ();
6273 main ()
6275 return _oss_ioctl ();
6277 return 0;
6279 _ACEOF
6280 rm -f conftest.$ac_objext conftest$ac_exeext
6281 if { (ac_try="$ac_link"
6282 case "(($ac_try" in
6283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6284 *) ac_try_echo=$ac_try;;
6285 esac
6286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6287 (eval "$ac_link") 2>conftest.er1
6288 ac_status=$?
6289 grep -v '^ *+' conftest.er1 >conftest.err
6290 rm -f conftest.er1
6291 cat conftest.err >&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } && {
6294 test -z "$ac_c_werror_flag" ||
6295 test ! -s conftest.err
6296 } && test -s conftest$ac_exeext &&
6297 $as_test_x conftest$ac_exeext; then
6298 ac_cv_lib_ossaudio__oss_ioctl=yes
6299 else
6300 echo "$as_me: failed program was:" >&5
6301 sed 's/^/| /' conftest.$ac_ext >&5
6303 ac_cv_lib_ossaudio__oss_ioctl=no
6306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6307 conftest$ac_exeext conftest.$ac_ext
6308 LIBS=$ac_check_lib_save_LIBS
6310 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6311 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6312 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6313 cat >>confdefs.h <<_ACEOF
6314 #define HAVE_LIBOSSAUDIO 1
6315 _ACEOF
6317 LIBS="-lossaudio $LIBS"
6322 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6323 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6324 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6325 echo $ECHO_N "(cached) $ECHO_C" >&6
6326 else
6327 ac_check_lib_save_LIBS=$LIBS
6328 LIBS="-lxpg4 $LIBS"
6329 cat >conftest.$ac_ext <<_ACEOF
6330 /* confdefs.h. */
6331 _ACEOF
6332 cat confdefs.h >>conftest.$ac_ext
6333 cat >>conftest.$ac_ext <<_ACEOF
6334 /* end confdefs.h. */
6336 /* Override any GCC internal prototype to avoid an error.
6337 Use char because int might match the return type of a GCC
6338 builtin and then its argument prototype would still apply. */
6339 #ifdef __cplusplus
6340 extern "C"
6341 #endif
6342 char _xpg4_setrunelocale ();
6344 main ()
6346 return _xpg4_setrunelocale ();
6348 return 0;
6350 _ACEOF
6351 rm -f conftest.$ac_objext conftest$ac_exeext
6352 if { (ac_try="$ac_link"
6353 case "(($ac_try" in
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;;
6356 esac
6357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6358 (eval "$ac_link") 2>conftest.er1
6359 ac_status=$?
6360 grep -v '^ *+' conftest.er1 >conftest.err
6361 rm -f conftest.er1
6362 cat conftest.err >&5
6363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6364 (exit $ac_status); } && {
6365 test -z "$ac_c_werror_flag" ||
6366 test ! -s conftest.err
6367 } && test -s conftest$ac_exeext &&
6368 $as_test_x conftest$ac_exeext; then
6369 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6370 else
6371 echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6374 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6377 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6378 conftest$ac_exeext conftest.$ac_ext
6379 LIBS=$ac_check_lib_save_LIBS
6381 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6382 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6383 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6384 cat >>confdefs.h <<_ACEOF
6385 #define HAVE_LIBXPG4 1
6386 _ACEOF
6388 LIBS="-lxpg4 $LIBS"
6392 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6393 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6394 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6395 echo $ECHO_N "(cached) $ECHO_C" >&6
6396 else
6397 ac_check_lib_save_LIBS=$LIBS
6398 LIBS="-lpthread $LIBS"
6399 cat >conftest.$ac_ext <<_ACEOF
6400 /* confdefs.h. */
6401 _ACEOF
6402 cat confdefs.h >>conftest.$ac_ext
6403 cat >>conftest.$ac_ext <<_ACEOF
6404 /* end confdefs.h. */
6406 /* Override any GCC internal prototype to avoid an error.
6407 Use char because int might match the return type of a GCC
6408 builtin and then its argument prototype would still apply. */
6409 #ifdef __cplusplus
6410 extern "C"
6411 #endif
6412 char pthread_create ();
6414 main ()
6416 return pthread_create ();
6418 return 0;
6420 _ACEOF
6421 rm -f conftest.$ac_objext conftest$ac_exeext
6422 if { (ac_try="$ac_link"
6423 case "(($ac_try" in
6424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6425 *) ac_try_echo=$ac_try;;
6426 esac
6427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6428 (eval "$ac_link") 2>conftest.er1
6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } && {
6435 test -z "$ac_c_werror_flag" ||
6436 test ! -s conftest.err
6437 } && test -s conftest$ac_exeext &&
6438 $as_test_x conftest$ac_exeext; then
6439 ac_cv_lib_pthread_pthread_create=yes
6440 else
6441 echo "$as_me: failed program was:" >&5
6442 sed 's/^/| /' conftest.$ac_ext >&5
6444 ac_cv_lib_pthread_pthread_create=no
6447 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6448 conftest$ac_exeext conftest.$ac_ext
6449 LIBS=$ac_check_lib_save_LIBS
6451 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6452 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6453 if test $ac_cv_lib_pthread_pthread_create = yes; then
6454 LIBPTHREAD="-lpthread"
6459 XLIB=""
6461 XFILES=""
6463 OPENGLFILES=""
6465 GLU32FILES=""
6467 OPENGL_LIBS=""
6469 QUARTZFILES=""
6473 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6474 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6475 if test "${ac_cv_header_stdc+set}" = set; then
6476 echo $ECHO_N "(cached) $ECHO_C" >&6
6477 else
6478 cat >conftest.$ac_ext <<_ACEOF
6479 /* confdefs.h. */
6480 _ACEOF
6481 cat confdefs.h >>conftest.$ac_ext
6482 cat >>conftest.$ac_ext <<_ACEOF
6483 /* end confdefs.h. */
6484 #include <stdlib.h>
6485 #include <stdarg.h>
6486 #include <string.h>
6487 #include <float.h>
6490 main ()
6494 return 0;
6496 _ACEOF
6497 rm -f conftest.$ac_objext
6498 if { (ac_try="$ac_compile"
6499 case "(($ac_try" in
6500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6501 *) ac_try_echo=$ac_try;;
6502 esac
6503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6504 (eval "$ac_compile") 2>conftest.er1
6505 ac_status=$?
6506 grep -v '^ *+' conftest.er1 >conftest.err
6507 rm -f conftest.er1
6508 cat conftest.err >&5
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); } && {
6511 test -z "$ac_c_werror_flag" ||
6512 test ! -s conftest.err
6513 } && test -s conftest.$ac_objext; then
6514 ac_cv_header_stdc=yes
6515 else
6516 echo "$as_me: failed program was:" >&5
6517 sed 's/^/| /' conftest.$ac_ext >&5
6519 ac_cv_header_stdc=no
6522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6524 if test $ac_cv_header_stdc = yes; then
6525 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6526 cat >conftest.$ac_ext <<_ACEOF
6527 /* confdefs.h. */
6528 _ACEOF
6529 cat confdefs.h >>conftest.$ac_ext
6530 cat >>conftest.$ac_ext <<_ACEOF
6531 /* end confdefs.h. */
6532 #include <string.h>
6534 _ACEOF
6535 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6536 $EGREP "memchr" >/dev/null 2>&1; then
6538 else
6539 ac_cv_header_stdc=no
6541 rm -f conftest*
6545 if test $ac_cv_header_stdc = yes; then
6546 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6547 cat >conftest.$ac_ext <<_ACEOF
6548 /* confdefs.h. */
6549 _ACEOF
6550 cat confdefs.h >>conftest.$ac_ext
6551 cat >>conftest.$ac_ext <<_ACEOF
6552 /* end confdefs.h. */
6553 #include <stdlib.h>
6555 _ACEOF
6556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6557 $EGREP "free" >/dev/null 2>&1; then
6559 else
6560 ac_cv_header_stdc=no
6562 rm -f conftest*
6566 if test $ac_cv_header_stdc = yes; then
6567 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6568 if test "$cross_compiling" = yes; then
6570 else
6571 cat >conftest.$ac_ext <<_ACEOF
6572 /* confdefs.h. */
6573 _ACEOF
6574 cat confdefs.h >>conftest.$ac_ext
6575 cat >>conftest.$ac_ext <<_ACEOF
6576 /* end confdefs.h. */
6577 #include <ctype.h>
6578 #include <stdlib.h>
6579 #if ((' ' & 0x0FF) == 0x020)
6580 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6581 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6582 #else
6583 # define ISLOWER(c) \
6584 (('a' <= (c) && (c) <= 'i') \
6585 || ('j' <= (c) && (c) <= 'r') \
6586 || ('s' <= (c) && (c) <= 'z'))
6587 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6588 #endif
6590 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6592 main ()
6594 int i;
6595 for (i = 0; i < 256; i++)
6596 if (XOR (islower (i), ISLOWER (i))
6597 || toupper (i) != TOUPPER (i))
6598 return 2;
6599 return 0;
6601 _ACEOF
6602 rm -f conftest$ac_exeext
6603 if { (ac_try="$ac_link"
6604 case "(($ac_try" in
6605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6606 *) ac_try_echo=$ac_try;;
6607 esac
6608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6609 (eval "$ac_link") 2>&5
6610 ac_status=$?
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6613 { (case "(($ac_try" in
6614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6615 *) ac_try_echo=$ac_try;;
6616 esac
6617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6618 (eval "$ac_try") 2>&5
6619 ac_status=$?
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); }; }; then
6623 else
6624 echo "$as_me: program exited with status $ac_status" >&5
6625 echo "$as_me: failed program was:" >&5
6626 sed 's/^/| /' conftest.$ac_ext >&5
6628 ( exit $ac_status )
6629 ac_cv_header_stdc=no
6631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6637 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6638 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6639 if test $ac_cv_header_stdc = yes; then
6641 cat >>confdefs.h <<\_ACEOF
6642 #define STDC_HEADERS 1
6643 _ACEOF
6647 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6657 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6658 inttypes.h stdint.h unistd.h
6660 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6661 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6662 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6663 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6664 echo $ECHO_N "(cached) $ECHO_C" >&6
6665 else
6666 cat >conftest.$ac_ext <<_ACEOF
6667 /* confdefs.h. */
6668 _ACEOF
6669 cat confdefs.h >>conftest.$ac_ext
6670 cat >>conftest.$ac_ext <<_ACEOF
6671 /* end confdefs.h. */
6672 $ac_includes_default
6674 #include <$ac_header>
6675 _ACEOF
6676 rm -f conftest.$ac_objext
6677 if { (ac_try="$ac_compile"
6678 case "(($ac_try" in
6679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6680 *) ac_try_echo=$ac_try;;
6681 esac
6682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6683 (eval "$ac_compile") 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } && {
6690 test -z "$ac_c_werror_flag" ||
6691 test ! -s conftest.err
6692 } && test -s conftest.$ac_objext; then
6693 eval "$as_ac_Header=yes"
6694 else
6695 echo "$as_me: failed program was:" >&5
6696 sed 's/^/| /' conftest.$ac_ext >&5
6698 eval "$as_ac_Header=no"
6701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6703 ac_res=`eval echo '${'$as_ac_Header'}'`
6704 { echo "$as_me:$LINENO: result: $ac_res" >&5
6705 echo "${ECHO_T}$ac_res" >&6; }
6706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6707 cat >>confdefs.h <<_ACEOF
6708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6709 _ACEOF
6713 done
6825 for ac_header in \
6826 AudioUnit/AudioUnit.h \
6827 Carbon/Carbon.h \
6828 CoreAudio/CoreAudio.h \
6829 DiskArbitration/DiskArbitration.h \
6830 IOKit/IOKitLib.h \
6831 alsa/asoundlib.h \
6832 arpa/inet.h \
6833 arpa/nameser.h \
6834 asm/types.h \
6835 capi20.h \
6836 cups/cups.h \
6837 curses.h \
6838 direct.h \
6839 dlfcn.h \
6840 elf.h \
6841 float.h \
6842 fontconfig/fontconfig.h \
6843 getopt.h \
6844 ieeefp.h \
6845 io.h \
6846 jack/jack.h \
6847 jpeglib.h \
6848 lber.h \
6849 lcms.h \
6850 lcms/lcms.h \
6851 ldap.h \
6852 libaudioio.h \
6853 link.h \
6854 linux/cdrom.h \
6855 linux/compiler.h \
6856 linux/hdreg.h \
6857 linux/input.h \
6858 linux/ioctl.h \
6859 linux/joystick.h \
6860 linux/major.h \
6861 linux/param.h \
6862 linux/serial.h \
6863 linux/ucdrom.h \
6864 mach/mach.h \
6865 mach/machine.h \
6866 machine/cpu.h \
6867 machine/limits.h \
6868 machine/soundcard.h \
6869 mntent.h \
6870 ncurses.h \
6871 netdb.h \
6872 netinet/in.h \
6873 netinet/in_systm.h \
6874 netinet/tcp.h \
6875 netinet/tcp_fsm.h \
6876 openssl/err.h \
6877 openssl/ssl.h \
6878 poll.h \
6879 process.h \
6880 pthread.h \
6881 pwd.h \
6882 regex.h \
6883 sched.h \
6884 scsi/scsi.h \
6885 scsi/scsi_ioctl.h \
6886 scsi/sg.h \
6887 soundcard.h \
6888 stdint.h \
6889 strings.h \
6890 sys/asoundlib.h \
6891 sys/cdio.h \
6892 sys/elf32.h \
6893 sys/epoll.h \
6894 sys/errno.h \
6895 sys/event.h \
6896 sys/exec_elf.h \
6897 sys/filio.h \
6898 sys/ioctl.h \
6899 sys/ipc.h \
6900 sys/limits.h \
6901 sys/link.h \
6902 sys/lwp.h \
6903 sys/mman.h \
6904 sys/modem.h \
6905 sys/msg.h \
6906 sys/mtio.h \
6907 sys/param.h \
6908 sys/poll.h \
6909 sys/prctl.h \
6910 sys/ptrace.h \
6911 sys/reg.h \
6912 sys/resource.h \
6913 sys/scsiio.h \
6914 sys/shm.h \
6915 sys/signal.h \
6916 sys/socket.h \
6917 sys/sockio.h \
6918 sys/soundcard.h \
6919 sys/statvfs.h \
6920 sys/strtio.h \
6921 sys/syscall.h \
6922 sys/sysctl.h \
6923 sys/time.h \
6924 sys/times.h \
6925 sys/uio.h \
6926 sys/un.h \
6927 sys/vm86.h \
6928 sys/wait.h \
6929 syscall.h \
6930 termios.h \
6931 unicode/ubidi.h \
6932 unistd.h \
6933 utime.h \
6934 valgrind/memcheck.h
6937 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6942 echo $ECHO_N "(cached) $ECHO_C" >&6
6944 ac_res=`eval echo '${'$as_ac_Header'}'`
6945 { echo "$as_me:$LINENO: result: $ac_res" >&5
6946 echo "${ECHO_T}$ac_res" >&6; }
6947 else
6948 # Is the header compilable?
6949 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6951 cat >conftest.$ac_ext <<_ACEOF
6952 /* confdefs.h. */
6953 _ACEOF
6954 cat confdefs.h >>conftest.$ac_ext
6955 cat >>conftest.$ac_ext <<_ACEOF
6956 /* end confdefs.h. */
6957 $ac_includes_default
6958 #include <$ac_header>
6959 _ACEOF
6960 rm -f conftest.$ac_objext
6961 if { (ac_try="$ac_compile"
6962 case "(($ac_try" in
6963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6964 *) ac_try_echo=$ac_try;;
6965 esac
6966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6967 (eval "$ac_compile") 2>conftest.er1
6968 ac_status=$?
6969 grep -v '^ *+' conftest.er1 >conftest.err
6970 rm -f conftest.er1
6971 cat conftest.err >&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); } && {
6974 test -z "$ac_c_werror_flag" ||
6975 test ! -s conftest.err
6976 } && test -s conftest.$ac_objext; then
6977 ac_header_compiler=yes
6978 else
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.$ac_ext >&5
6982 ac_header_compiler=no
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6987 echo "${ECHO_T}$ac_header_compiler" >&6; }
6989 # Is the header present?
6990 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6991 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6992 cat >conftest.$ac_ext <<_ACEOF
6993 /* confdefs.h. */
6994 _ACEOF
6995 cat confdefs.h >>conftest.$ac_ext
6996 cat >>conftest.$ac_ext <<_ACEOF
6997 /* end confdefs.h. */
6998 #include <$ac_header>
6999 _ACEOF
7000 if { (ac_try="$ac_cpp conftest.$ac_ext"
7001 case "(($ac_try" in
7002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7003 *) ac_try_echo=$ac_try;;
7004 esac
7005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7007 ac_status=$?
7008 grep -v '^ *+' conftest.er1 >conftest.err
7009 rm -f conftest.er1
7010 cat conftest.err >&5
7011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7012 (exit $ac_status); } >/dev/null && {
7013 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7014 test ! -s conftest.err
7015 }; then
7016 ac_header_preproc=yes
7017 else
7018 echo "$as_me: failed program was:" >&5
7019 sed 's/^/| /' conftest.$ac_ext >&5
7021 ac_header_preproc=no
7024 rm -f conftest.err conftest.$ac_ext
7025 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7026 echo "${ECHO_T}$ac_header_preproc" >&6; }
7028 # So? What about this header?
7029 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7030 yes:no: )
7031 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7032 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7033 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7034 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7035 ac_header_preproc=yes
7037 no:yes:* )
7038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7042 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7043 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7044 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7045 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7046 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7047 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7048 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7049 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7050 ( cat <<\_ASBOX
7051 ## ------------------------------------ ##
7052 ## Report this to wine-devel@winehq.org ##
7053 ## ------------------------------------ ##
7054 _ASBOX
7055 ) | sed "s/^/$as_me: WARNING: /" >&2
7057 esac
7058 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7060 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7061 echo $ECHO_N "(cached) $ECHO_C" >&6
7062 else
7063 eval "$as_ac_Header=\$ac_header_preproc"
7065 ac_res=`eval echo '${'$as_ac_Header'}'`
7066 { echo "$as_me:$LINENO: result: $ac_res" >&5
7067 echo "${ECHO_T}$ac_res" >&6; }
7070 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7071 cat >>confdefs.h <<_ACEOF
7072 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7073 _ACEOF
7077 done
7079 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7080 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7081 if test "${ac_cv_header_stat_broken+set}" = set; then
7082 echo $ECHO_N "(cached) $ECHO_C" >&6
7083 else
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 #include <sys/types.h>
7091 #include <sys/stat.h>
7093 #if defined S_ISBLK && defined S_IFDIR
7094 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7095 #endif
7097 #if defined S_ISBLK && defined S_IFCHR
7098 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7099 #endif
7101 #if defined S_ISLNK && defined S_IFREG
7102 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7103 #endif
7105 #if defined S_ISSOCK && defined S_IFREG
7106 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7107 #endif
7109 _ACEOF
7110 rm -f conftest.$ac_objext
7111 if { (ac_try="$ac_compile"
7112 case "(($ac_try" in
7113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7114 *) ac_try_echo=$ac_try;;
7115 esac
7116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7117 (eval "$ac_compile") 2>conftest.er1
7118 ac_status=$?
7119 grep -v '^ *+' conftest.er1 >conftest.err
7120 rm -f conftest.er1
7121 cat conftest.err >&5
7122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7123 (exit $ac_status); } && {
7124 test -z "$ac_c_werror_flag" ||
7125 test ! -s conftest.err
7126 } && test -s conftest.$ac_objext; then
7127 ac_cv_header_stat_broken=no
7128 else
7129 echo "$as_me: failed program was:" >&5
7130 sed 's/^/| /' conftest.$ac_ext >&5
7132 ac_cv_header_stat_broken=yes
7135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7137 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7138 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7139 if test $ac_cv_header_stat_broken = yes; then
7141 cat >>confdefs.h <<\_ACEOF
7142 #define STAT_MACROS_BROKEN 1
7143 _ACEOF
7153 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7155 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7156 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7158 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7159 echo $ECHO_N "(cached) $ECHO_C" >&6
7160 else
7161 cat >conftest.$ac_ext <<_ACEOF
7162 /* confdefs.h. */
7163 _ACEOF
7164 cat confdefs.h >>conftest.$ac_ext
7165 cat >>conftest.$ac_ext <<_ACEOF
7166 /* end confdefs.h. */
7167 #include <sys/types.h>
7168 #if HAVE_SYS_PARAM_H
7169 # include <sys/param.h>
7170 #endif
7172 #include <$ac_header>
7173 _ACEOF
7174 rm -f conftest.$ac_objext
7175 if { (ac_try="$ac_compile"
7176 case "(($ac_try" in
7177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7178 *) ac_try_echo=$ac_try;;
7179 esac
7180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7181 (eval "$ac_compile") 2>conftest.er1
7182 ac_status=$?
7183 grep -v '^ *+' conftest.er1 >conftest.err
7184 rm -f conftest.er1
7185 cat conftest.err >&5
7186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7187 (exit $ac_status); } && {
7188 test -z "$ac_c_werror_flag" ||
7189 test ! -s conftest.err
7190 } && test -s conftest.$ac_objext; then
7191 eval "$as_ac_Header=yes"
7192 else
7193 echo "$as_me: failed program was:" >&5
7194 sed 's/^/| /' conftest.$ac_ext >&5
7196 eval "$as_ac_Header=no"
7199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7201 ac_res=`eval echo '${'$as_ac_Header'}'`
7202 { echo "$as_me:$LINENO: result: $ac_res" >&5
7203 echo "${ECHO_T}$ac_res" >&6; }
7204 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7205 cat >>confdefs.h <<_ACEOF
7206 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7207 _ACEOF
7211 done
7220 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7226 echo $ECHO_N "(cached) $ECHO_C" >&6
7227 else
7228 cat >conftest.$ac_ext <<_ACEOF
7229 /* confdefs.h. */
7230 _ACEOF
7231 cat confdefs.h >>conftest.$ac_ext
7232 cat >>conftest.$ac_ext <<_ACEOF
7233 /* end confdefs.h. */
7234 #include <sys/types.h>
7235 #if HAVE_SYS_SOCKET_H
7236 # include <sys/socket.h>
7237 #endif
7239 #include <$ac_header>
7240 _ACEOF
7241 rm -f conftest.$ac_objext
7242 if { (ac_try="$ac_compile"
7243 case "(($ac_try" in
7244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7245 *) ac_try_echo=$ac_try;;
7246 esac
7247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7248 (eval "$ac_compile") 2>conftest.er1
7249 ac_status=$?
7250 grep -v '^ *+' conftest.er1 >conftest.err
7251 rm -f conftest.er1
7252 cat conftest.err >&5
7253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7254 (exit $ac_status); } && {
7255 test -z "$ac_c_werror_flag" ||
7256 test ! -s conftest.err
7257 } && test -s conftest.$ac_objext; then
7258 eval "$as_ac_Header=yes"
7259 else
7260 echo "$as_me: failed program was:" >&5
7261 sed 's/^/| /' conftest.$ac_ext >&5
7263 eval "$as_ac_Header=no"
7266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7268 ac_res=`eval echo '${'$as_ac_Header'}'`
7269 { echo "$as_me:$LINENO: result: $ac_res" >&5
7270 echo "${ECHO_T}$ac_res" >&6; }
7271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7272 cat >>confdefs.h <<_ACEOF
7273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7274 _ACEOF
7278 done
7282 for ac_header in linux/ipx.h
7284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7289 else
7290 cat >conftest.$ac_ext <<_ACEOF
7291 /* confdefs.h. */
7292 _ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7296 #include <sys/types.h>
7297 #ifdef HAVE_ASM_TYPES_H
7298 # include <asm/types.h>
7299 #endif
7300 #if HAVE_SYS_SOCKET_H
7301 # include <sys/socket.h>
7302 #endif
7304 #include <$ac_header>
7305 _ACEOF
7306 rm -f conftest.$ac_objext
7307 if { (ac_try="$ac_compile"
7308 case "(($ac_try" in
7309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7310 *) ac_try_echo=$ac_try;;
7311 esac
7312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7313 (eval "$ac_compile") 2>conftest.er1
7314 ac_status=$?
7315 grep -v '^ *+' conftest.er1 >conftest.err
7316 rm -f conftest.er1
7317 cat conftest.err >&5
7318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7319 (exit $ac_status); } && {
7320 test -z "$ac_c_werror_flag" ||
7321 test ! -s conftest.err
7322 } && test -s conftest.$ac_objext; then
7323 eval "$as_ac_Header=yes"
7324 else
7325 echo "$as_me: failed program was:" >&5
7326 sed 's/^/| /' conftest.$ac_ext >&5
7328 eval "$as_ac_Header=no"
7331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7333 ac_res=`eval echo '${'$as_ac_Header'}'`
7334 { echo "$as_me:$LINENO: result: $ac_res" >&5
7335 echo "${ECHO_T}$ac_res" >&6; }
7336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7337 cat >>confdefs.h <<_ACEOF
7338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7339 _ACEOF
7343 done
7347 for ac_header in resolv.h
7349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7351 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7353 echo $ECHO_N "(cached) $ECHO_C" >&6
7354 else
7355 cat >conftest.$ac_ext <<_ACEOF
7356 /* confdefs.h. */
7357 _ACEOF
7358 cat confdefs.h >>conftest.$ac_ext
7359 cat >>conftest.$ac_ext <<_ACEOF
7360 /* end confdefs.h. */
7361 #include <sys/types.h>
7362 #if HAVE_SYS_SOCKET_H
7363 # include <sys/socket.h>
7364 #endif
7365 #if HAVE_NETINET_IN_H
7366 # include <netinet/in.h>
7367 #endif
7368 #if HAVE_ARPA_NAMESER_H
7369 # include <arpa/nameser.h>
7370 #endif
7372 #include <$ac_header>
7373 _ACEOF
7374 rm -f conftest.$ac_objext
7375 if { (ac_try="$ac_compile"
7376 case "(($ac_try" in
7377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7378 *) ac_try_echo=$ac_try;;
7379 esac
7380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7381 (eval "$ac_compile") 2>conftest.er1
7382 ac_status=$?
7383 grep -v '^ *+' conftest.er1 >conftest.err
7384 rm -f conftest.er1
7385 cat conftest.err >&5
7386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7387 (exit $ac_status); } && {
7388 test -z "$ac_c_werror_flag" ||
7389 test ! -s conftest.err
7390 } && test -s conftest.$ac_objext; then
7391 eval "$as_ac_Header=yes"
7392 else
7393 echo "$as_me: failed program was:" >&5
7394 sed 's/^/| /' conftest.$ac_ext >&5
7396 eval "$as_ac_Header=no"
7399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7401 ac_res=`eval echo '${'$as_ac_Header'}'`
7402 { echo "$as_me:$LINENO: result: $ac_res" >&5
7403 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7407 _ACEOF
7411 done
7415 for ac_header in ucontext.h
7417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7422 else
7423 cat >conftest.$ac_ext <<_ACEOF
7424 /* confdefs.h. */
7425 _ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7429 #include <signal.h>
7431 #include <$ac_header>
7432 _ACEOF
7433 rm -f conftest.$ac_objext
7434 if { (ac_try="$ac_compile"
7435 case "(($ac_try" in
7436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7437 *) ac_try_echo=$ac_try;;
7438 esac
7439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7440 (eval "$ac_compile") 2>conftest.er1
7441 ac_status=$?
7442 grep -v '^ *+' conftest.er1 >conftest.err
7443 rm -f conftest.er1
7444 cat conftest.err >&5
7445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7446 (exit $ac_status); } && {
7447 test -z "$ac_c_werror_flag" ||
7448 test ! -s conftest.err
7449 } && test -s conftest.$ac_objext; then
7450 eval "$as_ac_Header=yes"
7451 else
7452 echo "$as_me: failed program was:" >&5
7453 sed 's/^/| /' conftest.$ac_ext >&5
7455 eval "$as_ac_Header=no"
7458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7460 ac_res=`eval echo '${'$as_ac_Header'}'`
7461 { echo "$as_me:$LINENO: result: $ac_res" >&5
7462 echo "${ECHO_T}$ac_res" >&6; }
7463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7464 cat >>confdefs.h <<_ACEOF
7465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7466 _ACEOF
7470 done
7474 for ac_header in pthread_np.h
7476 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7477 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7479 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7480 echo $ECHO_N "(cached) $ECHO_C" >&6
7481 else
7482 cat >conftest.$ac_ext <<_ACEOF
7483 /* confdefs.h. */
7484 _ACEOF
7485 cat confdefs.h >>conftest.$ac_ext
7486 cat >>conftest.$ac_ext <<_ACEOF
7487 /* end confdefs.h. */
7488 #ifdef HAVE_PTHREAD_H
7489 #include <pthread.h>
7490 #endif
7492 #include <$ac_header>
7493 _ACEOF
7494 rm -f conftest.$ac_objext
7495 if { (ac_try="$ac_compile"
7496 case "(($ac_try" in
7497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7498 *) ac_try_echo=$ac_try;;
7499 esac
7500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7501 (eval "$ac_compile") 2>conftest.er1
7502 ac_status=$?
7503 grep -v '^ *+' conftest.er1 >conftest.err
7504 rm -f conftest.er1
7505 cat conftest.err >&5
7506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7507 (exit $ac_status); } && {
7508 test -z "$ac_c_werror_flag" ||
7509 test ! -s conftest.err
7510 } && test -s conftest.$ac_objext; then
7511 eval "$as_ac_Header=yes"
7512 else
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 eval "$as_ac_Header=no"
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 ac_res=`eval echo '${'$as_ac_Header'}'`
7522 { echo "$as_me:$LINENO: result: $ac_res" >&5
7523 echo "${ECHO_T}$ac_res" >&6; }
7524 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7527 _ACEOF
7531 done
7535 for ac_header in linux/videodev.h
7537 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7538 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7539 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7541 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 else
7543 cat >conftest.$ac_ext <<_ACEOF
7544 /* confdefs.h. */
7545 _ACEOF
7546 cat confdefs.h >>conftest.$ac_ext
7547 cat >>conftest.$ac_ext <<_ACEOF
7548 /* end confdefs.h. */
7549 #ifdef HAVE_SYS_TIME_H
7550 #include <sys/time.h>
7551 #endif
7552 #include <sys/types.h>
7553 #ifdef HAVE_ASM_TYPES_H
7554 #include <asm/types.h>
7555 #endif
7557 #include <$ac_header>
7558 _ACEOF
7559 rm -f conftest.$ac_objext
7560 if { (ac_try="$ac_compile"
7561 case "(($ac_try" in
7562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7563 *) ac_try_echo=$ac_try;;
7564 esac
7565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7566 (eval "$ac_compile") 2>conftest.er1
7567 ac_status=$?
7568 grep -v '^ *+' conftest.er1 >conftest.err
7569 rm -f conftest.er1
7570 cat conftest.err >&5
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); } && {
7573 test -z "$ac_c_werror_flag" ||
7574 test ! -s conftest.err
7575 } && test -s conftest.$ac_objext; then
7576 eval "$as_ac_Header=yes"
7577 else
7578 echo "$as_me: failed program was:" >&5
7579 sed 's/^/| /' conftest.$ac_ext >&5
7581 eval "$as_ac_Header=no"
7584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7586 ac_res=`eval echo '${'$as_ac_Header'}'`
7587 { echo "$as_me:$LINENO: result: $ac_res" >&5
7588 echo "${ECHO_T}$ac_res" >&6; }
7589 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7590 cat >>confdefs.h <<_ACEOF
7591 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7592 _ACEOF
7596 done
7600 for ac_header in linux/capi.h
7602 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7603 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7605 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7607 else
7608 cat >conftest.$ac_ext <<_ACEOF
7609 /* confdefs.h. */
7610 _ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7614 #define __user
7616 #include <$ac_header>
7617 _ACEOF
7618 rm -f conftest.$ac_objext
7619 if { (ac_try="$ac_compile"
7620 case "(($ac_try" in
7621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7622 *) ac_try_echo=$ac_try;;
7623 esac
7624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7625 (eval "$ac_compile") 2>conftest.er1
7626 ac_status=$?
7627 grep -v '^ *+' conftest.er1 >conftest.err
7628 rm -f conftest.er1
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } && {
7632 test -z "$ac_c_werror_flag" ||
7633 test ! -s conftest.err
7634 } && test -s conftest.$ac_objext; then
7635 eval "$as_ac_Header=yes"
7636 else
7637 echo "$as_me: failed program was:" >&5
7638 sed 's/^/| /' conftest.$ac_ext >&5
7640 eval "$as_ac_Header=no"
7643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7645 ac_res=`eval echo '${'$as_ac_Header'}'`
7646 { echo "$as_me:$LINENO: result: $ac_res" >&5
7647 echo "${ECHO_T}$ac_res" >&6; }
7648 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7649 cat >>confdefs.h <<_ACEOF
7650 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7651 _ACEOF
7655 done
7659 if test "$have_x" = "yes"
7660 then
7661 XLIB="-lXext -lX11"
7662 ac_save_CPPFLAGS="$CPPFLAGS"
7663 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7675 for ac_header in X11/Xlib.h \
7676 X11/XKBlib.h \
7677 X11/Xutil.h \
7678 X11/extensions/shape.h \
7679 X11/extensions/XInput.h \
7680 X11/extensions/XShm.h \
7681 X11/extensions/Xinerama.h \
7682 X11/extensions/Xrandr.h \
7683 X11/extensions/Xrender.h \
7684 X11/extensions/xf86vmode.h
7686 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7687 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7689 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7690 echo $ECHO_N "(cached) $ECHO_C" >&6
7691 else
7692 cat >conftest.$ac_ext <<_ACEOF
7693 /* confdefs.h. */
7694 _ACEOF
7695 cat confdefs.h >>conftest.$ac_ext
7696 cat >>conftest.$ac_ext <<_ACEOF
7697 /* end confdefs.h. */
7698 #ifdef HAVE_X11_XLIB_H
7699 # include <X11/Xlib.h>
7700 #endif
7701 #ifdef HAVE_X11_XUTIL_H
7702 # include <X11/Xutil.h>
7703 #endif
7705 #include <$ac_header>
7706 _ACEOF
7707 rm -f conftest.$ac_objext
7708 if { (ac_try="$ac_compile"
7709 case "(($ac_try" in
7710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7711 *) ac_try_echo=$ac_try;;
7712 esac
7713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7714 (eval "$ac_compile") 2>conftest.er1
7715 ac_status=$?
7716 grep -v '^ *+' conftest.er1 >conftest.err
7717 rm -f conftest.er1
7718 cat conftest.err >&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); } && {
7721 test -z "$ac_c_werror_flag" ||
7722 test ! -s conftest.err
7723 } && test -s conftest.$ac_objext; then
7724 eval "$as_ac_Header=yes"
7725 else
7726 echo "$as_me: failed program was:" >&5
7727 sed 's/^/| /' conftest.$ac_ext >&5
7729 eval "$as_ac_Header=no"
7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7734 ac_res=`eval echo '${'$as_ac_Header'}'`
7735 { echo "$as_me:$LINENO: result: $ac_res" >&5
7736 echo "${ECHO_T}$ac_res" >&6; }
7737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7738 cat >>confdefs.h <<_ACEOF
7739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7740 _ACEOF
7744 done
7747 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7748 then
7749 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7750 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7751 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7752 echo $ECHO_N "(cached) $ECHO_C" >&6
7753 else
7754 ac_check_lib_save_LIBS=$LIBS
7755 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7756 cat >conftest.$ac_ext <<_ACEOF
7757 /* confdefs.h. */
7758 _ACEOF
7759 cat confdefs.h >>conftest.$ac_ext
7760 cat >>conftest.$ac_ext <<_ACEOF
7761 /* end confdefs.h. */
7763 /* Override any GCC internal prototype to avoid an error.
7764 Use char because int might match the return type of a GCC
7765 builtin and then its argument prototype would still apply. */
7766 #ifdef __cplusplus
7767 extern "C"
7768 #endif
7769 char XkbQueryExtension ();
7771 main ()
7773 return XkbQueryExtension ();
7775 return 0;
7777 _ACEOF
7778 rm -f conftest.$ac_objext conftest$ac_exeext
7779 if { (ac_try="$ac_link"
7780 case "(($ac_try" in
7781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7782 *) ac_try_echo=$ac_try;;
7783 esac
7784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7785 (eval "$ac_link") 2>conftest.er1
7786 ac_status=$?
7787 grep -v '^ *+' conftest.er1 >conftest.err
7788 rm -f conftest.er1
7789 cat conftest.err >&5
7790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7791 (exit $ac_status); } && {
7792 test -z "$ac_c_werror_flag" ||
7793 test ! -s conftest.err
7794 } && test -s conftest$ac_exeext &&
7795 $as_test_x conftest$ac_exeext; then
7796 ac_cv_lib_X11_XkbQueryExtension=yes
7797 else
7798 echo "$as_me: failed program was:" >&5
7799 sed 's/^/| /' conftest.$ac_ext >&5
7801 ac_cv_lib_X11_XkbQueryExtension=no
7804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7805 conftest$ac_exeext conftest.$ac_ext
7806 LIBS=$ac_check_lib_save_LIBS
7808 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7809 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7810 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7812 cat >>confdefs.h <<\_ACEOF
7813 #define HAVE_XKB 1
7814 _ACEOF
7820 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7821 then
7822 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7823 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7824 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 else
7827 ac_check_lib_save_LIBS=$LIBS
7828 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.$ac_ext <<_ACEOF
7830 /* confdefs.h. */
7831 _ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any GCC internal prototype to avoid an error.
7837 Use char because int might match the return type of a GCC
7838 builtin and then its argument prototype would still apply. */
7839 #ifdef __cplusplus
7840 extern "C"
7841 #endif
7842 char XShmQueryExtension ();
7844 main ()
7846 return XShmQueryExtension ();
7848 return 0;
7850 _ACEOF
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (ac_try="$ac_link"
7853 case "(($ac_try" in
7854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7855 *) ac_try_echo=$ac_try;;
7856 esac
7857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7858 (eval "$ac_link") 2>conftest.er1
7859 ac_status=$?
7860 grep -v '^ *+' conftest.er1 >conftest.err
7861 rm -f conftest.er1
7862 cat conftest.err >&5
7863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7864 (exit $ac_status); } && {
7865 test -z "$ac_c_werror_flag" ||
7866 test ! -s conftest.err
7867 } && test -s conftest$ac_exeext &&
7868 $as_test_x conftest$ac_exeext; then
7869 ac_cv_lib_Xext_XShmQueryExtension=yes
7870 else
7871 echo "$as_me: failed program was:" >&5
7872 sed 's/^/| /' conftest.$ac_ext >&5
7874 ac_cv_lib_Xext_XShmQueryExtension=no
7877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7878 conftest$ac_exeext conftest.$ac_ext
7879 LIBS=$ac_check_lib_save_LIBS
7881 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7882 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7883 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7885 cat >>confdefs.h <<\_ACEOF
7886 #define HAVE_LIBXXSHM 1
7887 _ACEOF
7893 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7894 then
7895 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7896 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7897 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7899 else
7900 ac_check_lib_save_LIBS=$LIBS
7901 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7902 cat >conftest.$ac_ext <<_ACEOF
7903 /* confdefs.h. */
7904 _ACEOF
7905 cat confdefs.h >>conftest.$ac_ext
7906 cat >>conftest.$ac_ext <<_ACEOF
7907 /* end confdefs.h. */
7909 /* Override any GCC internal prototype to avoid an error.
7910 Use char because int might match the return type of a GCC
7911 builtin and then its argument prototype would still apply. */
7912 #ifdef __cplusplus
7913 extern "C"
7914 #endif
7915 char XShapeQueryExtension ();
7917 main ()
7919 return XShapeQueryExtension ();
7921 return 0;
7923 _ACEOF
7924 rm -f conftest.$ac_objext conftest$ac_exeext
7925 if { (ac_try="$ac_link"
7926 case "(($ac_try" in
7927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7928 *) ac_try_echo=$ac_try;;
7929 esac
7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7931 (eval "$ac_link") 2>conftest.er1
7932 ac_status=$?
7933 grep -v '^ *+' conftest.er1 >conftest.err
7934 rm -f conftest.er1
7935 cat conftest.err >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); } && {
7938 test -z "$ac_c_werror_flag" ||
7939 test ! -s conftest.err
7940 } && test -s conftest$ac_exeext &&
7941 $as_test_x conftest$ac_exeext; then
7942 ac_cv_lib_Xext_XShapeQueryExtension=yes
7943 else
7944 echo "$as_me: failed program was:" >&5
7945 sed 's/^/| /' conftest.$ac_ext >&5
7947 ac_cv_lib_Xext_XShapeQueryExtension=no
7950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7951 conftest$ac_exeext conftest.$ac_ext
7952 LIBS=$ac_check_lib_save_LIBS
7954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7958 cat >>confdefs.h <<\_ACEOF
7959 #define HAVE_LIBXSHAPE 1
7960 _ACEOF
7966 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7967 then
7968 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7971 echo $ECHO_N "(cached) $ECHO_C" >&6
7972 else
7973 ac_check_lib_save_LIBS=$LIBS
7974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7975 cat >conftest.$ac_ext <<_ACEOF
7976 /* confdefs.h. */
7977 _ACEOF
7978 cat confdefs.h >>conftest.$ac_ext
7979 cat >>conftest.$ac_ext <<_ACEOF
7980 /* end confdefs.h. */
7982 /* Override any GCC internal prototype to avoid an error.
7983 Use char because int might match the return type of a GCC
7984 builtin and then its argument prototype would still apply. */
7985 #ifdef __cplusplus
7986 extern "C"
7987 #endif
7988 char XF86VidModeQueryExtension ();
7990 main ()
7992 return XF86VidModeQueryExtension ();
7994 return 0;
7996 _ACEOF
7997 rm -f conftest.$ac_objext conftest$ac_exeext
7998 if { (ac_try="$ac_link"
7999 case "(($ac_try" in
8000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8001 *) ac_try_echo=$ac_try;;
8002 esac
8003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8004 (eval "$ac_link") 2>conftest.er1
8005 ac_status=$?
8006 grep -v '^ *+' conftest.er1 >conftest.err
8007 rm -f conftest.er1
8008 cat conftest.err >&5
8009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010 (exit $ac_status); } && {
8011 test -z "$ac_c_werror_flag" ||
8012 test ! -s conftest.err
8013 } && test -s conftest$ac_exeext &&
8014 $as_test_x conftest$ac_exeext; then
8015 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8016 else
8017 echo "$as_me: failed program was:" >&5
8018 sed 's/^/| /' conftest.$ac_ext >&5
8020 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8024 conftest$ac_exeext conftest.$ac_ext
8025 LIBS=$ac_check_lib_save_LIBS
8027 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8028 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8029 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8031 cat >>confdefs.h <<\_ACEOF
8032 #define HAVE_LIBXXF86VM 1
8033 _ACEOF
8035 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8041 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8042 then
8043 cat >conftest.$ac_ext <<_ACEOF
8044 /* confdefs.h. */
8045 _ACEOF
8046 cat confdefs.h >>conftest.$ac_ext
8047 cat >>conftest.$ac_ext <<_ACEOF
8048 /* end confdefs.h. */
8049 #include <X11/Xlib.h>
8050 #include <X11/extensions/Xrandr.h>
8052 main ()
8054 static typeof(XRRSetScreenConfigAndRate) * func;
8056 return 0;
8058 _ACEOF
8059 rm -f conftest.$ac_objext
8060 if { (ac_try="$ac_compile"
8061 case "(($ac_try" in
8062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8064 esac
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_compile") 2>conftest.er1
8067 ac_status=$?
8068 grep -v '^ *+' conftest.er1 >conftest.err
8069 rm -f conftest.er1
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } && {
8073 test -z "$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8075 } && test -s conftest.$ac_objext; then
8077 cat >>confdefs.h <<\_ACEOF
8078 #define HAVE_LIBXRANDR 1
8079 _ACEOF
8081 else
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.$ac_ext >&5
8088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8091 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8092 then
8093 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8094 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8095 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8096 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 else
8098 ac_check_lib_save_LIBS=$LIBS
8099 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8100 cat >conftest.$ac_ext <<_ACEOF
8101 /* confdefs.h. */
8102 _ACEOF
8103 cat confdefs.h >>conftest.$ac_ext
8104 cat >>conftest.$ac_ext <<_ACEOF
8105 /* end confdefs.h. */
8107 /* Override any GCC internal prototype to avoid an error.
8108 Use char because int might match the return type of a GCC
8109 builtin and then its argument prototype would still apply. */
8110 #ifdef __cplusplus
8111 extern "C"
8112 #endif
8113 char XRenderSetPictureTransform ();
8115 main ()
8117 return XRenderSetPictureTransform ();
8119 return 0;
8121 _ACEOF
8122 rm -f conftest.$ac_objext conftest$ac_exeext
8123 if { (ac_try="$ac_link"
8124 case "(($ac_try" in
8125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8126 *) ac_try_echo=$ac_try;;
8127 esac
8128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8129 (eval "$ac_link") 2>conftest.er1
8130 ac_status=$?
8131 grep -v '^ *+' conftest.er1 >conftest.err
8132 rm -f conftest.er1
8133 cat conftest.err >&5
8134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8135 (exit $ac_status); } && {
8136 test -z "$ac_c_werror_flag" ||
8137 test ! -s conftest.err
8138 } && test -s conftest$ac_exeext &&
8139 $as_test_x conftest$ac_exeext; then
8140 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8141 else
8142 echo "$as_me: failed program was:" >&5
8143 sed 's/^/| /' conftest.$ac_ext >&5
8145 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8149 conftest$ac_exeext conftest.$ac_ext
8150 LIBS=$ac_check_lib_save_LIBS
8152 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8153 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8154 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8156 cat >>confdefs.h <<\_ACEOF
8157 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8158 _ACEOF
8164 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8165 then
8166 cat >conftest.$ac_ext <<_ACEOF
8167 /* confdefs.h. */
8168 _ACEOF
8169 cat confdefs.h >>conftest.$ac_ext
8170 cat >>conftest.$ac_ext <<_ACEOF
8171 /* end confdefs.h. */
8172 #include <X11/Xlib.h>
8173 #include <X11/extensions/Xinerama.h>
8175 main ()
8177 static typeof(XineramaQueryScreens) * func;
8179 return 0;
8181 _ACEOF
8182 rm -f conftest.$ac_objext
8183 if { (ac_try="$ac_compile"
8184 case "(($ac_try" in
8185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8186 *) ac_try_echo=$ac_try;;
8187 esac
8188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8189 (eval "$ac_compile") 2>conftest.er1
8190 ac_status=$?
8191 grep -v '^ *+' conftest.er1 >conftest.err
8192 rm -f conftest.er1
8193 cat conftest.err >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } && {
8196 test -z "$ac_c_werror_flag" ||
8197 test ! -s conftest.err
8198 } && test -s conftest.$ac_objext; then
8200 cat >>confdefs.h <<\_ACEOF
8201 #define HAVE_LIBXINERAMA 1
8202 _ACEOF
8204 else
8205 echo "$as_me: failed program was:" >&5
8206 sed 's/^/| /' conftest.$ac_ext >&5
8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8215 if test "x$with_opengl" != "xno"
8216 then
8221 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8223 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8224 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8228 else
8229 cat >conftest.$ac_ext <<_ACEOF
8230 /* confdefs.h. */
8231 _ACEOF
8232 cat confdefs.h >>conftest.$ac_ext
8233 cat >>conftest.$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8235 #ifdef HAVE_GL_GLX_H
8236 # include <GL/glx.h>
8237 #endif
8239 #include <$ac_header>
8240 _ACEOF
8241 rm -f conftest.$ac_objext
8242 if { (ac_try="$ac_compile"
8243 case "(($ac_try" in
8244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8245 *) ac_try_echo=$ac_try;;
8246 esac
8247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8248 (eval "$ac_compile") 2>conftest.er1
8249 ac_status=$?
8250 grep -v '^ *+' conftest.er1 >conftest.err
8251 rm -f conftest.er1
8252 cat conftest.err >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); } && {
8255 test -z "$ac_c_werror_flag" ||
8256 test ! -s conftest.err
8257 } && test -s conftest.$ac_objext; then
8258 eval "$as_ac_Header=yes"
8259 else
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 eval "$as_ac_Header=no"
8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8268 ac_res=`eval echo '${'$as_ac_Header'}'`
8269 { echo "$as_me:$LINENO: result: $ac_res" >&5
8270 echo "${ECHO_T}$ac_res" >&6; }
8271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8272 cat >>confdefs.h <<_ACEOF
8273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8274 _ACEOF
8278 done
8280 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8281 then
8282 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8283 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8284 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8286 else
8287 cat >conftest.$ac_ext <<_ACEOF
8288 /* confdefs.h. */
8289 _ACEOF
8290 cat confdefs.h >>conftest.$ac_ext
8291 cat >>conftest.$ac_ext <<_ACEOF
8292 /* end confdefs.h. */
8293 #include <GL/gl.h>
8295 main ()
8297 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8299 return 0;
8301 _ACEOF
8302 rm -f conftest.$ac_objext
8303 if { (ac_try="$ac_compile"
8304 case "(($ac_try" in
8305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8306 *) ac_try_echo=$ac_try;;
8307 esac
8308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8309 (eval "$ac_compile") 2>conftest.er1
8310 ac_status=$?
8311 grep -v '^ *+' conftest.er1 >conftest.err
8312 rm -f conftest.er1
8313 cat conftest.err >&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } && {
8316 test -z "$ac_c_werror_flag" ||
8317 test ! -s conftest.err
8318 } && test -s conftest.$ac_objext; then
8319 wine_cv_opengl_header_version_OK="yes"
8320 else
8321 echo "$as_me: failed program was:" >&5
8322 sed 's/^/| /' conftest.$ac_ext >&5
8324 wine_cv_opengl_header_version_OK="no"
8328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8331 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8332 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8334 if test "$wine_cv_opengl_header_version_OK" = "yes"
8335 then
8336 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8337 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8338 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8340 else
8341 ac_check_lib_save_LIBS=$LIBS
8342 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8343 cat >conftest.$ac_ext <<_ACEOF
8344 /* confdefs.h. */
8345 _ACEOF
8346 cat confdefs.h >>conftest.$ac_ext
8347 cat >>conftest.$ac_ext <<_ACEOF
8348 /* end confdefs.h. */
8350 /* Override any GCC internal prototype to avoid an error.
8351 Use char because int might match the return type of a GCC
8352 builtin and then its argument prototype would still apply. */
8353 #ifdef __cplusplus
8354 extern "C"
8355 #endif
8356 char glXCreateContext ();
8358 main ()
8360 return glXCreateContext ();
8362 return 0;
8364 _ACEOF
8365 rm -f conftest.$ac_objext conftest$ac_exeext
8366 if { (ac_try="$ac_link"
8367 case "(($ac_try" in
8368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8369 *) ac_try_echo=$ac_try;;
8370 esac
8371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8372 (eval "$ac_link") 2>conftest.er1
8373 ac_status=$?
8374 grep -v '^ *+' conftest.er1 >conftest.err
8375 rm -f conftest.er1
8376 cat conftest.err >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } && {
8379 test -z "$ac_c_werror_flag" ||
8380 test ! -s conftest.err
8381 } && test -s conftest$ac_exeext &&
8382 $as_test_x conftest$ac_exeext; then
8383 ac_cv_lib_GL_glXCreateContext=yes
8384 else
8385 echo "$as_me: failed program was:" >&5
8386 sed 's/^/| /' conftest.$ac_ext >&5
8388 ac_cv_lib_GL_glXCreateContext=no
8391 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8392 conftest$ac_exeext conftest.$ac_ext
8393 LIBS=$ac_check_lib_save_LIBS
8395 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8396 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8397 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8398 OPENGL_LIBS="-lGL"
8399 OPENGLFILES='$(OPENGLFILES)'
8401 cat >>confdefs.h <<\_ACEOF
8402 #define HAVE_OPENGL 1
8403 _ACEOF
8409 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8410 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8411 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8412 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 else
8414 ac_check_lib_save_LIBS=$LIBS
8415 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8416 $LIBS"
8417 cat >conftest.$ac_ext <<_ACEOF
8418 /* confdefs.h. */
8419 _ACEOF
8420 cat confdefs.h >>conftest.$ac_ext
8421 cat >>conftest.$ac_ext <<_ACEOF
8422 /* end confdefs.h. */
8424 /* Override any GCC internal prototype to avoid an error.
8425 Use char because int might match the return type of a GCC
8426 builtin and then its argument prototype would still apply. */
8427 #ifdef __cplusplus
8428 extern "C"
8429 #endif
8430 char gluLookAt ();
8432 main ()
8434 return gluLookAt ();
8436 return 0;
8438 _ACEOF
8439 rm -f conftest.$ac_objext conftest$ac_exeext
8440 if { (ac_try="$ac_link"
8441 case "(($ac_try" in
8442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8443 *) ac_try_echo=$ac_try;;
8444 esac
8445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8446 (eval "$ac_link") 2>conftest.er1
8447 ac_status=$?
8448 grep -v '^ *+' conftest.er1 >conftest.err
8449 rm -f conftest.er1
8450 cat conftest.err >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } && {
8453 test -z "$ac_c_werror_flag" ||
8454 test ! -s conftest.err
8455 } && test -s conftest$ac_exeext &&
8456 $as_test_x conftest$ac_exeext; then
8457 ac_cv_lib_GLU_gluLookAt=yes
8458 else
8459 echo "$as_me: failed program was:" >&5
8460 sed 's/^/| /' conftest.$ac_ext >&5
8462 ac_cv_lib_GLU_gluLookAt=no
8465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8466 conftest$ac_exeext conftest.$ac_ext
8467 LIBS=$ac_check_lib_save_LIBS
8469 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8470 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8471 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8472 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8473 GLU32FILES='$(GLU32FILES)'
8478 else
8479 wine_cv_opengl_headers_found="no"
8482 NASLIBS=""
8485 for ac_header in audio/audiolib.h
8487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8491 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8492 echo $ECHO_N "(cached) $ECHO_C" >&6
8494 ac_res=`eval echo '${'$as_ac_Header'}'`
8495 { echo "$as_me:$LINENO: result: $ac_res" >&5
8496 echo "${ECHO_T}$ac_res" >&6; }
8497 else
8498 # Is the header compilable?
8499 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8500 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8501 cat >conftest.$ac_ext <<_ACEOF
8502 /* confdefs.h. */
8503 _ACEOF
8504 cat confdefs.h >>conftest.$ac_ext
8505 cat >>conftest.$ac_ext <<_ACEOF
8506 /* end confdefs.h. */
8507 $ac_includes_default
8508 #include <$ac_header>
8509 _ACEOF
8510 rm -f conftest.$ac_objext
8511 if { (ac_try="$ac_compile"
8512 case "(($ac_try" in
8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;;
8515 esac
8516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8517 (eval "$ac_compile") 2>conftest.er1
8518 ac_status=$?
8519 grep -v '^ *+' conftest.er1 >conftest.err
8520 rm -f conftest.er1
8521 cat conftest.err >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest.$ac_objext; then
8527 ac_header_compiler=yes
8528 else
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.$ac_ext >&5
8532 ac_header_compiler=no
8535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8536 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8537 echo "${ECHO_T}$ac_header_compiler" >&6; }
8539 # Is the header present?
8540 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8542 cat >conftest.$ac_ext <<_ACEOF
8543 /* confdefs.h. */
8544 _ACEOF
8545 cat confdefs.h >>conftest.$ac_ext
8546 cat >>conftest.$ac_ext <<_ACEOF
8547 /* end confdefs.h. */
8548 #include <$ac_header>
8549 _ACEOF
8550 if { (ac_try="$ac_cpp conftest.$ac_ext"
8551 case "(($ac_try" in
8552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8554 esac
8555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8557 ac_status=$?
8558 grep -v '^ *+' conftest.er1 >conftest.err
8559 rm -f conftest.er1
8560 cat conftest.err >&5
8561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562 (exit $ac_status); } >/dev/null && {
8563 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8564 test ! -s conftest.err
8565 }; then
8566 ac_header_preproc=yes
8567 else
8568 echo "$as_me: failed program was:" >&5
8569 sed 's/^/| /' conftest.$ac_ext >&5
8571 ac_header_preproc=no
8574 rm -f conftest.err conftest.$ac_ext
8575 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8576 echo "${ECHO_T}$ac_header_preproc" >&6; }
8578 # So? What about this header?
8579 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8580 yes:no: )
8581 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8582 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8584 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8585 ac_header_preproc=yes
8587 no:yes:* )
8588 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8589 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8590 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8591 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8592 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8593 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8594 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8595 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8596 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8597 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8598 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8599 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8600 ( cat <<\_ASBOX
8601 ## ------------------------------------ ##
8602 ## Report this to wine-devel@winehq.org ##
8603 ## ------------------------------------ ##
8604 _ASBOX
8605 ) | sed "s/^/$as_me: WARNING: /" >&2
8607 esac
8608 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8609 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8610 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8611 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 else
8613 eval "$as_ac_Header=\$ac_header_preproc"
8615 ac_res=`eval echo '${'$as_ac_Header'}'`
8616 { echo "$as_me:$LINENO: result: $ac_res" >&5
8617 echo "${ECHO_T}$ac_res" >&6; }
8620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8621 cat >>confdefs.h <<_ACEOF
8622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8623 _ACEOF
8625 for ac_header in audio/soundlib.h
8627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8631 echo $ECHO_N "(cached) $ECHO_C" >&6
8632 else
8633 cat >conftest.$ac_ext <<_ACEOF
8634 /* confdefs.h. */
8635 _ACEOF
8636 cat confdefs.h >>conftest.$ac_ext
8637 cat >>conftest.$ac_ext <<_ACEOF
8638 /* end confdefs.h. */
8639 #include <audio/audiolib.h>
8641 #include <$ac_header>
8642 _ACEOF
8643 rm -f conftest.$ac_objext
8644 if { (ac_try="$ac_compile"
8645 case "(($ac_try" in
8646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8647 *) ac_try_echo=$ac_try;;
8648 esac
8649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8650 (eval "$ac_compile") 2>conftest.er1
8651 ac_status=$?
8652 grep -v '^ *+' conftest.er1 >conftest.err
8653 rm -f conftest.er1
8654 cat conftest.err >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); } && {
8657 test -z "$ac_c_werror_flag" ||
8658 test ! -s conftest.err
8659 } && test -s conftest.$ac_objext; then
8660 eval "$as_ac_Header=yes"
8661 else
8662 echo "$as_me: failed program was:" >&5
8663 sed 's/^/| /' conftest.$ac_ext >&5
8665 eval "$as_ac_Header=no"
8668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8670 ac_res=`eval echo '${'$as_ac_Header'}'`
8671 { echo "$as_me:$LINENO: result: $ac_res" >&5
8672 echo "${ECHO_T}$ac_res" >&6; }
8673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8674 cat >>confdefs.h <<_ACEOF
8675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8676 _ACEOF
8680 done
8682 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8683 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8684 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8685 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 else
8687 ac_check_lib_save_LIBS=$LIBS
8688 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8689 cat >conftest.$ac_ext <<_ACEOF
8690 /* confdefs.h. */
8691 _ACEOF
8692 cat confdefs.h >>conftest.$ac_ext
8693 cat >>conftest.$ac_ext <<_ACEOF
8694 /* end confdefs.h. */
8696 /* Override any GCC internal prototype to avoid an error.
8697 Use char because int might match the return type of a GCC
8698 builtin and then its argument prototype would still apply. */
8699 #ifdef __cplusplus
8700 extern "C"
8701 #endif
8702 char AuCreateFlow ();
8704 main ()
8706 return AuCreateFlow ();
8708 return 0;
8710 _ACEOF
8711 rm -f conftest.$ac_objext conftest$ac_exeext
8712 if { (ac_try="$ac_link"
8713 case "(($ac_try" in
8714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8715 *) ac_try_echo=$ac_try;;
8716 esac
8717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8718 (eval "$ac_link") 2>conftest.er1
8719 ac_status=$?
8720 grep -v '^ *+' conftest.er1 >conftest.err
8721 rm -f conftest.er1
8722 cat conftest.err >&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); } && {
8725 test -z "$ac_c_werror_flag" ||
8726 test ! -s conftest.err
8727 } && test -s conftest$ac_exeext &&
8728 $as_test_x conftest$ac_exeext; then
8729 ac_cv_lib_audio_AuCreateFlow=yes
8730 else
8731 echo "$as_me: failed program was:" >&5
8732 sed 's/^/| /' conftest.$ac_ext >&5
8734 ac_cv_lib_audio_AuCreateFlow=no
8737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8738 conftest$ac_exeext conftest.$ac_ext
8739 LIBS=$ac_check_lib_save_LIBS
8741 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8742 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8743 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8745 cat >>confdefs.h <<\_ACEOF
8746 #define HAVE_NAS 1
8747 _ACEOF
8749 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8754 done
8757 CPPFLAGS="$ac_save_CPPFLAGS"
8758 XFILES='$(XFILES)'
8759 else
8760 XLIB=""
8761 X_CFLAGS=""
8762 X_LIBS=""
8766 XML2LIBS=""
8768 XML2INCL=""
8770 XSLTLIBS=""
8772 XSLTINCL=""
8774 if test "$PKG_CONFIG" != "false"
8775 then
8776 ac_save_CPPFLAGS="$CPPFLAGS"
8777 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8778 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8779 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8781 for ac_header in libxml/parser.h
8783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8784 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8785 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8788 echo $ECHO_N "(cached) $ECHO_C" >&6
8790 ac_res=`eval echo '${'$as_ac_Header'}'`
8791 { echo "$as_me:$LINENO: result: $ac_res" >&5
8792 echo "${ECHO_T}$ac_res" >&6; }
8793 else
8794 # Is the header compilable?
8795 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8797 cat >conftest.$ac_ext <<_ACEOF
8798 /* confdefs.h. */
8799 _ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 $ac_includes_default
8804 #include <$ac_header>
8805 _ACEOF
8806 rm -f conftest.$ac_objext
8807 if { (ac_try="$ac_compile"
8808 case "(($ac_try" in
8809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8810 *) ac_try_echo=$ac_try;;
8811 esac
8812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8813 (eval "$ac_compile") 2>conftest.er1
8814 ac_status=$?
8815 grep -v '^ *+' conftest.er1 >conftest.err
8816 rm -f conftest.er1
8817 cat conftest.err >&5
8818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8819 (exit $ac_status); } && {
8820 test -z "$ac_c_werror_flag" ||
8821 test ! -s conftest.err
8822 } && test -s conftest.$ac_objext; then
8823 ac_header_compiler=yes
8824 else
8825 echo "$as_me: failed program was:" >&5
8826 sed 's/^/| /' conftest.$ac_ext >&5
8828 ac_header_compiler=no
8831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8832 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8833 echo "${ECHO_T}$ac_header_compiler" >&6; }
8835 # Is the header present?
8836 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8837 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8838 cat >conftest.$ac_ext <<_ACEOF
8839 /* confdefs.h. */
8840 _ACEOF
8841 cat confdefs.h >>conftest.$ac_ext
8842 cat >>conftest.$ac_ext <<_ACEOF
8843 /* end confdefs.h. */
8844 #include <$ac_header>
8845 _ACEOF
8846 if { (ac_try="$ac_cpp conftest.$ac_ext"
8847 case "(($ac_try" in
8848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8849 *) ac_try_echo=$ac_try;;
8850 esac
8851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8852 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8853 ac_status=$?
8854 grep -v '^ *+' conftest.er1 >conftest.err
8855 rm -f conftest.er1
8856 cat conftest.err >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } >/dev/null && {
8859 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8860 test ! -s conftest.err
8861 }; then
8862 ac_header_preproc=yes
8863 else
8864 echo "$as_me: failed program was:" >&5
8865 sed 's/^/| /' conftest.$ac_ext >&5
8867 ac_header_preproc=no
8870 rm -f conftest.err conftest.$ac_ext
8871 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8872 echo "${ECHO_T}$ac_header_preproc" >&6; }
8874 # So? What about this header?
8875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8876 yes:no: )
8877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8881 ac_header_preproc=yes
8883 no:yes:* )
8884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8896 ( cat <<\_ASBOX
8897 ## ------------------------------------ ##
8898 ## Report this to wine-devel@winehq.org ##
8899 ## ------------------------------------ ##
8900 _ASBOX
8901 ) | sed "s/^/$as_me: WARNING: /" >&2
8903 esac
8904 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8905 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8906 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8907 echo $ECHO_N "(cached) $ECHO_C" >&6
8908 else
8909 eval "$as_ac_Header=\$ac_header_preproc"
8911 ac_res=`eval echo '${'$as_ac_Header'}'`
8912 { echo "$as_me:$LINENO: result: $ac_res" >&5
8913 echo "${ECHO_T}$ac_res" >&6; }
8916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8917 cat >>confdefs.h <<_ACEOF
8918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8919 _ACEOF
8920 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8921 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8922 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8924 else
8925 ac_check_lib_save_LIBS=$LIBS
8926 LIBS="-lxml2 $ac_xml_libs $LIBS"
8927 cat >conftest.$ac_ext <<_ACEOF
8928 /* confdefs.h. */
8929 _ACEOF
8930 cat confdefs.h >>conftest.$ac_ext
8931 cat >>conftest.$ac_ext <<_ACEOF
8932 /* end confdefs.h. */
8934 /* Override any GCC internal prototype to avoid an error.
8935 Use char because int might match the return type of a GCC
8936 builtin and then its argument prototype would still apply. */
8937 #ifdef __cplusplus
8938 extern "C"
8939 #endif
8940 char xmlParseMemory ();
8942 main ()
8944 return xmlParseMemory ();
8946 return 0;
8948 _ACEOF
8949 rm -f conftest.$ac_objext conftest$ac_exeext
8950 if { (ac_try="$ac_link"
8951 case "(($ac_try" in
8952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8953 *) ac_try_echo=$ac_try;;
8954 esac
8955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8956 (eval "$ac_link") 2>conftest.er1
8957 ac_status=$?
8958 grep -v '^ *+' conftest.er1 >conftest.err
8959 rm -f conftest.er1
8960 cat conftest.err >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); } && {
8963 test -z "$ac_c_werror_flag" ||
8964 test ! -s conftest.err
8965 } && test -s conftest$ac_exeext &&
8966 $as_test_x conftest$ac_exeext; then
8967 ac_cv_lib_xml2_xmlParseMemory=yes
8968 else
8969 echo "$as_me: failed program was:" >&5
8970 sed 's/^/| /' conftest.$ac_ext >&5
8972 ac_cv_lib_xml2_xmlParseMemory=no
8975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8976 conftest$ac_exeext conftest.$ac_ext
8977 LIBS=$ac_check_lib_save_LIBS
8979 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8980 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8981 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
8983 cat >>confdefs.h <<\_ACEOF
8984 #define HAVE_LIBXML2 1
8985 _ACEOF
8987 XML2LIBS="$ac_xml_libs"
8988 XML2INCL="$ac_xml_cflags"
8991 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
8992 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
8993 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
8994 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 else
8996 ac_check_lib_save_LIBS=$LIBS
8997 LIBS="-lxml2 $ac_xml_libs $LIBS"
8998 cat >conftest.$ac_ext <<_ACEOF
8999 /* confdefs.h. */
9000 _ACEOF
9001 cat confdefs.h >>conftest.$ac_ext
9002 cat >>conftest.$ac_ext <<_ACEOF
9003 /* end confdefs.h. */
9005 /* Override any GCC internal prototype to avoid an error.
9006 Use char because int might match the return type of a GCC
9007 builtin and then its argument prototype would still apply. */
9008 #ifdef __cplusplus
9009 extern "C"
9010 #endif
9011 char xmlReadMemory ();
9013 main ()
9015 return xmlReadMemory ();
9017 return 0;
9019 _ACEOF
9020 rm -f conftest.$ac_objext conftest$ac_exeext
9021 if { (ac_try="$ac_link"
9022 case "(($ac_try" in
9023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9024 *) ac_try_echo=$ac_try;;
9025 esac
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_link") 2>conftest.er1
9028 ac_status=$?
9029 grep -v '^ *+' conftest.er1 >conftest.err
9030 rm -f conftest.er1
9031 cat conftest.err >&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); } && {
9034 test -z "$ac_c_werror_flag" ||
9035 test ! -s conftest.err
9036 } && test -s conftest$ac_exeext &&
9037 $as_test_x conftest$ac_exeext; then
9038 ac_cv_lib_xml2_xmlReadMemory=yes
9039 else
9040 echo "$as_me: failed program was:" >&5
9041 sed 's/^/| /' conftest.$ac_ext >&5
9043 ac_cv_lib_xml2_xmlReadMemory=no
9046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9047 conftest$ac_exeext conftest.$ac_ext
9048 LIBS=$ac_check_lib_save_LIBS
9050 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9051 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9052 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9054 cat >>confdefs.h <<\_ACEOF
9055 #define HAVE_XMLREADMEMORY 1
9056 _ACEOF
9060 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9061 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9062 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9063 echo $ECHO_N "(cached) $ECHO_C" >&6
9064 else
9065 ac_check_lib_save_LIBS=$LIBS
9066 LIBS="-lxml2 $ac_xml_libs $LIBS"
9067 cat >conftest.$ac_ext <<_ACEOF
9068 /* confdefs.h. */
9069 _ACEOF
9070 cat confdefs.h >>conftest.$ac_ext
9071 cat >>conftest.$ac_ext <<_ACEOF
9072 /* end confdefs.h. */
9074 /* Override any GCC internal prototype to avoid an error.
9075 Use char because int might match the return type of a GCC
9076 builtin and then its argument prototype would still apply. */
9077 #ifdef __cplusplus
9078 extern "C"
9079 #endif
9080 char xmlNewDocPI ();
9082 main ()
9084 return xmlNewDocPI ();
9086 return 0;
9088 _ACEOF
9089 rm -f conftest.$ac_objext conftest$ac_exeext
9090 if { (ac_try="$ac_link"
9091 case "(($ac_try" in
9092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9093 *) ac_try_echo=$ac_try;;
9094 esac
9095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9096 (eval "$ac_link") 2>conftest.er1
9097 ac_status=$?
9098 grep -v '^ *+' conftest.er1 >conftest.err
9099 rm -f conftest.er1
9100 cat conftest.err >&5
9101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9102 (exit $ac_status); } && {
9103 test -z "$ac_c_werror_flag" ||
9104 test ! -s conftest.err
9105 } && test -s conftest$ac_exeext &&
9106 $as_test_x conftest$ac_exeext; then
9107 ac_cv_lib_xml2_xmlNewDocPI=yes
9108 else
9109 echo "$as_me: failed program was:" >&5
9110 sed 's/^/| /' conftest.$ac_ext >&5
9112 ac_cv_lib_xml2_xmlNewDocPI=no
9115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9116 conftest$ac_exeext conftest.$ac_ext
9117 LIBS=$ac_check_lib_save_LIBS
9119 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9120 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9121 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9123 cat >>confdefs.h <<\_ACEOF
9124 #define HAVE_XMLNEWDOCPI 1
9125 _ACEOF
9132 done
9134 CPPFLAGS="$ac_save_CPPFLAGS"
9135 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9136 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9137 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9140 for ac_header in libxslt/pattern.h libxslt/transform.h
9142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9143 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9145 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9146 echo $ECHO_N "(cached) $ECHO_C" >&6
9147 else
9148 cat >conftest.$ac_ext <<_ACEOF
9149 /* confdefs.h. */
9150 _ACEOF
9151 cat confdefs.h >>conftest.$ac_ext
9152 cat >>conftest.$ac_ext <<_ACEOF
9153 /* end confdefs.h. */
9154 #ifdef HAVE_LIBXSLT_PATTERN_H
9155 # include <libxslt/pattern.h>
9156 #endif
9158 #include <$ac_header>
9159 _ACEOF
9160 rm -f conftest.$ac_objext
9161 if { (ac_try="$ac_compile"
9162 case "(($ac_try" in
9163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9164 *) ac_try_echo=$ac_try;;
9165 esac
9166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9167 (eval "$ac_compile") 2>conftest.er1
9168 ac_status=$?
9169 grep -v '^ *+' conftest.er1 >conftest.err
9170 rm -f conftest.er1
9171 cat conftest.err >&5
9172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9173 (exit $ac_status); } && {
9174 test -z "$ac_c_werror_flag" ||
9175 test ! -s conftest.err
9176 } && test -s conftest.$ac_objext; then
9177 eval "$as_ac_Header=yes"
9178 else
9179 echo "$as_me: failed program was:" >&5
9180 sed 's/^/| /' conftest.$ac_ext >&5
9182 eval "$as_ac_Header=no"
9185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9187 ac_res=`eval echo '${'$as_ac_Header'}'`
9188 { echo "$as_me:$LINENO: result: $ac_res" >&5
9189 echo "${ECHO_T}$ac_res" >&6; }
9190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9191 cat >>confdefs.h <<_ACEOF
9192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9193 _ACEOF
9194 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9195 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9196 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9198 else
9199 ac_check_lib_save_LIBS=$LIBS
9200 LIBS="-lxslt $ac_xslt_libs $LIBS"
9201 cat >conftest.$ac_ext <<_ACEOF
9202 /* confdefs.h. */
9203 _ACEOF
9204 cat confdefs.h >>conftest.$ac_ext
9205 cat >>conftest.$ac_ext <<_ACEOF
9206 /* end confdefs.h. */
9208 /* Override any GCC internal prototype to avoid an error.
9209 Use char because int might match the return type of a GCC
9210 builtin and then its argument prototype would still apply. */
9211 #ifdef __cplusplus
9212 extern "C"
9213 #endif
9214 char xsltCompilePattern ();
9216 main ()
9218 return xsltCompilePattern ();
9220 return 0;
9222 _ACEOF
9223 rm -f conftest.$ac_objext conftest$ac_exeext
9224 if { (ac_try="$ac_link"
9225 case "(($ac_try" in
9226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9227 *) ac_try_echo=$ac_try;;
9228 esac
9229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9230 (eval "$ac_link") 2>conftest.er1
9231 ac_status=$?
9232 grep -v '^ *+' conftest.er1 >conftest.err
9233 rm -f conftest.er1
9234 cat conftest.err >&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } && {
9237 test -z "$ac_c_werror_flag" ||
9238 test ! -s conftest.err
9239 } && test -s conftest$ac_exeext &&
9240 $as_test_x conftest$ac_exeext; then
9241 ac_cv_lib_xslt_xsltCompilePattern=yes
9242 else
9243 echo "$as_me: failed program was:" >&5
9244 sed 's/^/| /' conftest.$ac_ext >&5
9246 ac_cv_lib_xslt_xsltCompilePattern=no
9249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9250 conftest$ac_exeext conftest.$ac_ext
9251 LIBS=$ac_check_lib_save_LIBS
9253 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9254 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9255 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9257 cat >>confdefs.h <<\_ACEOF
9258 #define HAVE_LIBXSLT 1
9259 _ACEOF
9261 XSLTLIBS="$ac_xslt_libs"
9262 XSLTINCL="$ac_xslt_cflags"
9268 done
9270 CPPFLAGS="$ac_save_CPPFLAGS"
9273 HALINCL=""
9275 if test "$PKG_CONFIG" != "false"
9276 then
9277 ac_save_CPPFLAGS="$CPPFLAGS"
9278 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9279 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9280 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9283 for ac_header in dbus/dbus.h hal/libhal.h
9285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9289 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9290 echo $ECHO_N "(cached) $ECHO_C" >&6
9292 ac_res=`eval echo '${'$as_ac_Header'}'`
9293 { echo "$as_me:$LINENO: result: $ac_res" >&5
9294 echo "${ECHO_T}$ac_res" >&6; }
9295 else
9296 # Is the header compilable?
9297 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9299 cat >conftest.$ac_ext <<_ACEOF
9300 /* confdefs.h. */
9301 _ACEOF
9302 cat confdefs.h >>conftest.$ac_ext
9303 cat >>conftest.$ac_ext <<_ACEOF
9304 /* end confdefs.h. */
9305 $ac_includes_default
9306 #include <$ac_header>
9307 _ACEOF
9308 rm -f conftest.$ac_objext
9309 if { (ac_try="$ac_compile"
9310 case "(($ac_try" in
9311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9312 *) ac_try_echo=$ac_try;;
9313 esac
9314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9315 (eval "$ac_compile") 2>conftest.er1
9316 ac_status=$?
9317 grep -v '^ *+' conftest.er1 >conftest.err
9318 rm -f conftest.er1
9319 cat conftest.err >&5
9320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9321 (exit $ac_status); } && {
9322 test -z "$ac_c_werror_flag" ||
9323 test ! -s conftest.err
9324 } && test -s conftest.$ac_objext; then
9325 ac_header_compiler=yes
9326 else
9327 echo "$as_me: failed program was:" >&5
9328 sed 's/^/| /' conftest.$ac_ext >&5
9330 ac_header_compiler=no
9333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9334 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9335 echo "${ECHO_T}$ac_header_compiler" >&6; }
9337 # Is the header present?
9338 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9339 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9340 cat >conftest.$ac_ext <<_ACEOF
9341 /* confdefs.h. */
9342 _ACEOF
9343 cat confdefs.h >>conftest.$ac_ext
9344 cat >>conftest.$ac_ext <<_ACEOF
9345 /* end confdefs.h. */
9346 #include <$ac_header>
9347 _ACEOF
9348 if { (ac_try="$ac_cpp conftest.$ac_ext"
9349 case "(($ac_try" in
9350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9351 *) ac_try_echo=$ac_try;;
9352 esac
9353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9354 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9355 ac_status=$?
9356 grep -v '^ *+' conftest.er1 >conftest.err
9357 rm -f conftest.er1
9358 cat conftest.err >&5
9359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9360 (exit $ac_status); } >/dev/null && {
9361 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9362 test ! -s conftest.err
9363 }; then
9364 ac_header_preproc=yes
9365 else
9366 echo "$as_me: failed program was:" >&5
9367 sed 's/^/| /' conftest.$ac_ext >&5
9369 ac_header_preproc=no
9372 rm -f conftest.err conftest.$ac_ext
9373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9374 echo "${ECHO_T}$ac_header_preproc" >&6; }
9376 # So? What about this header?
9377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9378 yes:no: )
9379 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9380 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9381 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9382 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9383 ac_header_preproc=yes
9385 no:yes:* )
9386 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9387 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9388 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9389 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9390 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9391 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9392 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9393 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9395 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9396 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9397 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9398 ( cat <<\_ASBOX
9399 ## ------------------------------------ ##
9400 ## Report this to wine-devel@winehq.org ##
9401 ## ------------------------------------ ##
9402 _ASBOX
9403 ) | sed "s/^/$as_me: WARNING: /" >&2
9405 esac
9406 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9408 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9409 echo $ECHO_N "(cached) $ECHO_C" >&6
9410 else
9411 eval "$as_ac_Header=\$ac_header_preproc"
9413 ac_res=`eval echo '${'$as_ac_Header'}'`
9414 { echo "$as_me:$LINENO: result: $ac_res" >&5
9415 echo "${ECHO_T}$ac_res" >&6; }
9418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9419 cat >>confdefs.h <<_ACEOF
9420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9421 _ACEOF
9425 done
9427 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9428 then
9429 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9430 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9431 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9432 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 else
9434 ac_check_lib_save_LIBS=$LIBS
9435 LIBS="-lhal $LIBS"
9436 cat >conftest.$ac_ext <<_ACEOF
9437 /* confdefs.h. */
9438 _ACEOF
9439 cat confdefs.h >>conftest.$ac_ext
9440 cat >>conftest.$ac_ext <<_ACEOF
9441 /* end confdefs.h. */
9443 /* Override any GCC internal prototype to avoid an error.
9444 Use char because int might match the return type of a GCC
9445 builtin and then its argument prototype would still apply. */
9446 #ifdef __cplusplus
9447 extern "C"
9448 #endif
9449 char libhal_ctx_new ();
9451 main ()
9453 return libhal_ctx_new ();
9455 return 0;
9457 _ACEOF
9458 rm -f conftest.$ac_objext conftest$ac_exeext
9459 if { (ac_try="$ac_link"
9460 case "(($ac_try" in
9461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9462 *) ac_try_echo=$ac_try;;
9463 esac
9464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9465 (eval "$ac_link") 2>conftest.er1
9466 ac_status=$?
9467 grep -v '^ *+' conftest.er1 >conftest.err
9468 rm -f conftest.er1
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 (exit $ac_status); } && {
9472 test -z "$ac_c_werror_flag" ||
9473 test ! -s conftest.err
9474 } && test -s conftest$ac_exeext &&
9475 $as_test_x conftest$ac_exeext; then
9476 ac_cv_lib_hal_libhal_ctx_new=yes
9477 else
9478 echo "$as_me: failed program was:" >&5
9479 sed 's/^/| /' conftest.$ac_ext >&5
9481 ac_cv_lib_hal_libhal_ctx_new=no
9484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9489 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9490 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9491 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9492 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9493 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9494 echo $ECHO_N "(cached) $ECHO_C" >&6
9495 else
9496 ac_check_lib_save_LIBS=$LIBS
9497 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9498 cat >conftest.$ac_ext <<_ACEOF
9499 /* confdefs.h. */
9500 _ACEOF
9501 cat confdefs.h >>conftest.$ac_ext
9502 cat >>conftest.$ac_ext <<_ACEOF
9503 /* end confdefs.h. */
9505 /* Override any GCC internal prototype to avoid an error.
9506 Use char because int might match the return type of a GCC
9507 builtin and then its argument prototype would still apply. */
9508 #ifdef __cplusplus
9509 extern "C"
9510 #endif
9511 char dbus_connection_close ();
9513 main ()
9515 return dbus_connection_close ();
9517 return 0;
9519 _ACEOF
9520 rm -f conftest.$ac_objext conftest$ac_exeext
9521 if { (ac_try="$ac_link"
9522 case "(($ac_try" in
9523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9524 *) ac_try_echo=$ac_try;;
9525 esac
9526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9527 (eval "$ac_link") 2>conftest.er1
9528 ac_status=$?
9529 grep -v '^ *+' conftest.er1 >conftest.err
9530 rm -f conftest.er1
9531 cat conftest.err >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); } && {
9534 test -z "$ac_c_werror_flag" ||
9535 test ! -s conftest.err
9536 } && test -s conftest$ac_exeext &&
9537 $as_test_x conftest$ac_exeext; then
9538 ac_cv_lib_dbus_1_dbus_connection_close=yes
9539 else
9540 echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.$ac_ext >&5
9543 ac_cv_lib_dbus_1_dbus_connection_close=no
9546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LIBS=$ac_check_lib_save_LIBS
9550 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9551 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9552 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9554 cat >>confdefs.h <<\_ACEOF
9555 #define HAVE_LIBHAL 1
9556 _ACEOF
9558 HALINCL="$ac_hal_cflags"
9564 CPPFLAGS="$ac_save_CPPFLAGS"
9567 CURSESLIBS=""
9568 if test "$ac_cv_header_ncurses_h" = "yes"
9569 then
9570 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9571 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9572 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9573 echo $ECHO_N "(cached) $ECHO_C" >&6
9574 else
9575 ac_check_lib_save_LIBS=$LIBS
9576 LIBS="-lncurses $LIBS"
9577 cat >conftest.$ac_ext <<_ACEOF
9578 /* confdefs.h. */
9579 _ACEOF
9580 cat confdefs.h >>conftest.$ac_ext
9581 cat >>conftest.$ac_ext <<_ACEOF
9582 /* end confdefs.h. */
9584 /* Override any GCC internal prototype to avoid an error.
9585 Use char because int might match the return type of a GCC
9586 builtin and then its argument prototype would still apply. */
9587 #ifdef __cplusplus
9588 extern "C"
9589 #endif
9590 char waddch ();
9592 main ()
9594 return waddch ();
9596 return 0;
9598 _ACEOF
9599 rm -f conftest.$ac_objext conftest$ac_exeext
9600 if { (ac_try="$ac_link"
9601 case "(($ac_try" in
9602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9603 *) ac_try_echo=$ac_try;;
9604 esac
9605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9606 (eval "$ac_link") 2>conftest.er1
9607 ac_status=$?
9608 grep -v '^ *+' conftest.er1 >conftest.err
9609 rm -f conftest.er1
9610 cat conftest.err >&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); } && {
9613 test -z "$ac_c_werror_flag" ||
9614 test ! -s conftest.err
9615 } && test -s conftest$ac_exeext &&
9616 $as_test_x conftest$ac_exeext; then
9617 ac_cv_lib_ncurses_waddch=yes
9618 else
9619 echo "$as_me: failed program was:" >&5
9620 sed 's/^/| /' conftest.$ac_ext >&5
9622 ac_cv_lib_ncurses_waddch=no
9625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9626 conftest$ac_exeext conftest.$ac_ext
9627 LIBS=$ac_check_lib_save_LIBS
9629 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9630 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9631 if test $ac_cv_lib_ncurses_waddch = yes; then
9632 CURSESLIBS="-lncurses"
9635 elif test "$ac_cv_header_curses_h" = "yes"
9636 then
9637 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9638 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9639 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9641 else
9642 ac_check_lib_save_LIBS=$LIBS
9643 LIBS="-lcurses $LIBS"
9644 cat >conftest.$ac_ext <<_ACEOF
9645 /* confdefs.h. */
9646 _ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9654 #ifdef __cplusplus
9655 extern "C"
9656 #endif
9657 char waddch ();
9659 main ()
9661 return waddch ();
9663 return 0;
9665 _ACEOF
9666 rm -f conftest.$ac_objext conftest$ac_exeext
9667 if { (ac_try="$ac_link"
9668 case "(($ac_try" in
9669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9670 *) ac_try_echo=$ac_try;;
9671 esac
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_link") 2>conftest.er1
9674 ac_status=$?
9675 grep -v '^ *+' conftest.er1 >conftest.err
9676 rm -f conftest.er1
9677 cat conftest.err >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } && {
9680 test -z "$ac_c_werror_flag" ||
9681 test ! -s conftest.err
9682 } && test -s conftest$ac_exeext &&
9683 $as_test_x conftest$ac_exeext; then
9684 ac_cv_lib_curses_waddch=yes
9685 else
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9689 ac_cv_lib_curses_waddch=no
9692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LIBS=$ac_check_lib_save_LIBS
9696 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9697 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9698 if test $ac_cv_lib_curses_waddch = yes; then
9699 CURSESLIBS="-lcurses"
9703 ac_save_LIBS="$LIBS"
9704 LIBS="$LIBS $CURSESLIBS"
9706 for ac_func in mousemask
9708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9709 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9711 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9712 echo $ECHO_N "(cached) $ECHO_C" >&6
9713 else
9714 cat >conftest.$ac_ext <<_ACEOF
9715 /* confdefs.h. */
9716 _ACEOF
9717 cat confdefs.h >>conftest.$ac_ext
9718 cat >>conftest.$ac_ext <<_ACEOF
9719 /* end confdefs.h. */
9720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9722 #define $ac_func innocuous_$ac_func
9724 /* System header to define __stub macros and hopefully few prototypes,
9725 which can conflict with char $ac_func (); below.
9726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9727 <limits.h> exists even on freestanding compilers. */
9729 #ifdef __STDC__
9730 # include <limits.h>
9731 #else
9732 # include <assert.h>
9733 #endif
9735 #undef $ac_func
9737 /* Override any GCC internal prototype to avoid an error.
9738 Use char because int might match the return type of a GCC
9739 builtin and then its argument prototype would still apply. */
9740 #ifdef __cplusplus
9741 extern "C"
9742 #endif
9743 char $ac_func ();
9744 /* The GNU C library defines this for functions which it implements
9745 to always fail with ENOSYS. Some functions are actually named
9746 something starting with __ and the normal name is an alias. */
9747 #if defined __stub_$ac_func || defined __stub___$ac_func
9748 choke me
9749 #endif
9752 main ()
9754 return $ac_func ();
9756 return 0;
9758 _ACEOF
9759 rm -f conftest.$ac_objext conftest$ac_exeext
9760 if { (ac_try="$ac_link"
9761 case "(($ac_try" in
9762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9763 *) ac_try_echo=$ac_try;;
9764 esac
9765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9766 (eval "$ac_link") 2>conftest.er1
9767 ac_status=$?
9768 grep -v '^ *+' conftest.er1 >conftest.err
9769 rm -f conftest.er1
9770 cat conftest.err >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); } && {
9773 test -z "$ac_c_werror_flag" ||
9774 test ! -s conftest.err
9775 } && test -s conftest$ac_exeext &&
9776 $as_test_x conftest$ac_exeext; then
9777 eval "$as_ac_var=yes"
9778 else
9779 echo "$as_me: failed program was:" >&5
9780 sed 's/^/| /' conftest.$ac_ext >&5
9782 eval "$as_ac_var=no"
9785 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9786 conftest$ac_exeext conftest.$ac_ext
9788 ac_res=`eval echo '${'$as_ac_var'}'`
9789 { echo "$as_me:$LINENO: result: $ac_res" >&5
9790 echo "${ECHO_T}$ac_res" >&6; }
9791 if test `eval echo '${'$as_ac_var'}'` = yes; then
9792 cat >>confdefs.h <<_ACEOF
9793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9794 _ACEOF
9797 done
9799 LIBS="$ac_save_LIBS"
9801 # Extract the first word of "sane-config", so it can be a program name with args.
9802 set dummy sane-config; ac_word=$2
9803 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9805 if test "${ac_cv_prog_sane_devel+set}" = set; then
9806 echo $ECHO_N "(cached) $ECHO_C" >&6
9807 else
9808 if test -n "$sane_devel"; then
9809 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9810 else
9811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9812 for as_dir in $PATH
9814 IFS=$as_save_IFS
9815 test -z "$as_dir" && as_dir=.
9816 for ac_exec_ext in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_prog_sane_devel="sane-config"
9819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9820 break 2
9822 done
9823 done
9824 IFS=$as_save_IFS
9826 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9829 sane_devel=$ac_cv_prog_sane_devel
9830 if test -n "$sane_devel"; then
9831 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9832 echo "${ECHO_T}$sane_devel" >&6; }
9833 else
9834 { echo "$as_me:$LINENO: result: no" >&5
9835 echo "${ECHO_T}no" >&6; }
9839 SANEINCL=""
9841 if test "$sane_devel" != "no"
9842 then
9843 SANEINCL="`$sane_devel --cflags`"
9844 ac_save_CPPFLAGS="$CPPFLAGS"
9845 CPPFLAGS="$CPPFLAGS $SANEINCL"
9846 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9847 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9848 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9849 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9853 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9854 else
9855 # Is the header compilable?
9856 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9857 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9858 cat >conftest.$ac_ext <<_ACEOF
9859 /* confdefs.h. */
9860 _ACEOF
9861 cat confdefs.h >>conftest.$ac_ext
9862 cat >>conftest.$ac_ext <<_ACEOF
9863 /* end confdefs.h. */
9864 $ac_includes_default
9865 #include <sane/sane.h>
9866 _ACEOF
9867 rm -f conftest.$ac_objext
9868 if { (ac_try="$ac_compile"
9869 case "(($ac_try" in
9870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9871 *) ac_try_echo=$ac_try;;
9872 esac
9873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9874 (eval "$ac_compile") 2>conftest.er1
9875 ac_status=$?
9876 grep -v '^ *+' conftest.er1 >conftest.err
9877 rm -f conftest.er1
9878 cat conftest.err >&5
9879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9880 (exit $ac_status); } && {
9881 test -z "$ac_c_werror_flag" ||
9882 test ! -s conftest.err
9883 } && test -s conftest.$ac_objext; then
9884 ac_header_compiler=yes
9885 else
9886 echo "$as_me: failed program was:" >&5
9887 sed 's/^/| /' conftest.$ac_ext >&5
9889 ac_header_compiler=no
9892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9893 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9894 echo "${ECHO_T}$ac_header_compiler" >&6; }
9896 # Is the header present?
9897 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9898 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9899 cat >conftest.$ac_ext <<_ACEOF
9900 /* confdefs.h. */
9901 _ACEOF
9902 cat confdefs.h >>conftest.$ac_ext
9903 cat >>conftest.$ac_ext <<_ACEOF
9904 /* end confdefs.h. */
9905 #include <sane/sane.h>
9906 _ACEOF
9907 if { (ac_try="$ac_cpp conftest.$ac_ext"
9908 case "(($ac_try" in
9909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9910 *) ac_try_echo=$ac_try;;
9911 esac
9912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9913 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9914 ac_status=$?
9915 grep -v '^ *+' conftest.er1 >conftest.err
9916 rm -f conftest.er1
9917 cat conftest.err >&5
9918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9919 (exit $ac_status); } >/dev/null && {
9920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9921 test ! -s conftest.err
9922 }; then
9923 ac_header_preproc=yes
9924 else
9925 echo "$as_me: failed program was:" >&5
9926 sed 's/^/| /' conftest.$ac_ext >&5
9928 ac_header_preproc=no
9931 rm -f conftest.err conftest.$ac_ext
9932 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9933 echo "${ECHO_T}$ac_header_preproc" >&6; }
9935 # So? What about this header?
9936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9937 yes:no: )
9938 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9939 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9940 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9941 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9942 ac_header_preproc=yes
9944 no:yes:* )
9945 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9946 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9947 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9948 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9949 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9950 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9951 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9952 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9953 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9954 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9955 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9956 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9957 ( cat <<\_ASBOX
9958 ## ------------------------------------ ##
9959 ## Report this to wine-devel@winehq.org ##
9960 ## ------------------------------------ ##
9961 _ASBOX
9962 ) | sed "s/^/$as_me: WARNING: /" >&2
9964 esac
9965 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9966 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9967 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9968 echo $ECHO_N "(cached) $ECHO_C" >&6
9969 else
9970 ac_cv_header_sane_sane_h=$ac_header_preproc
9972 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9973 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9976 if test $ac_cv_header_sane_sane_h = yes; then
9978 cat >>confdefs.h <<\_ACEOF
9979 #define HAVE_SANE 1
9980 _ACEOF
9982 else
9983 SANEINCL=""
9987 CPPFLAGS="$ac_save_CPPFLAGS"
9990 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9991 set dummy gphoto2-config; ac_word=$2
9992 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9994 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 else
9997 if test -n "$gphoto2_devel"; then
9998 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
9999 else
10000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10001 for as_dir in $PATH
10003 IFS=$as_save_IFS
10004 test -z "$as_dir" && as_dir=.
10005 for ac_exec_ext in '' $ac_executable_extensions; do
10006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10007 ac_cv_prog_gphoto2_devel="gphoto2-config"
10008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10009 break 2
10011 done
10012 done
10013 IFS=$as_save_IFS
10015 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10018 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10019 if test -n "$gphoto2_devel"; then
10020 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10021 echo "${ECHO_T}$gphoto2_devel" >&6; }
10022 else
10023 { echo "$as_me:$LINENO: result: no" >&5
10024 echo "${ECHO_T}no" >&6; }
10028 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10029 set dummy gphoto2-port-config; ac_word=$2
10030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10032 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10033 echo $ECHO_N "(cached) $ECHO_C" >&6
10034 else
10035 if test -n "$gphoto2port_devel"; then
10036 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10037 else
10038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10039 for as_dir in $PATH
10041 IFS=$as_save_IFS
10042 test -z "$as_dir" && as_dir=.
10043 for ac_exec_ext in '' $ac_executable_extensions; do
10044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10045 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10047 break 2
10049 done
10050 done
10051 IFS=$as_save_IFS
10053 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10056 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10057 if test -n "$gphoto2port_devel"; then
10058 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10059 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10060 else
10061 { echo "$as_me:$LINENO: result: no" >&5
10062 echo "${ECHO_T}no" >&6; }
10066 GPHOTO2LIBS=""
10068 GPHOTO2INCL=""
10070 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10071 then
10072 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10073 GPHOTO2LIBS=""
10074 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10076 case "$i" in
10077 -L/usr/lib|-L/usr/lib64) ;;
10078 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10079 esac
10080 done
10081 ac_save_CPPFLAGS="$CPPFLAGS"
10082 ac_save_LIBS="$LIBS"
10083 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10084 LIBS="$LIBS $GPHOTO2LIBS"
10085 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10086 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10087 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10088 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10089 echo $ECHO_N "(cached) $ECHO_C" >&6
10091 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10092 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10093 else
10094 # Is the header compilable?
10095 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10096 echo $ECHO_N "checking gphoto2-camera.h usability... $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 $ac_includes_default
10104 #include <gphoto2-camera.h>
10105 _ACEOF
10106 rm -f conftest.$ac_objext
10107 if { (ac_try="$ac_compile"
10108 case "(($ac_try" in
10109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10110 *) ac_try_echo=$ac_try;;
10111 esac
10112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10113 (eval "$ac_compile") 2>conftest.er1
10114 ac_status=$?
10115 grep -v '^ *+' conftest.er1 >conftest.err
10116 rm -f conftest.er1
10117 cat conftest.err >&5
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); } && {
10120 test -z "$ac_c_werror_flag" ||
10121 test ! -s conftest.err
10122 } && test -s conftest.$ac_objext; then
10123 ac_header_compiler=yes
10124 else
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.$ac_ext >&5
10128 ac_header_compiler=no
10131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10132 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10133 echo "${ECHO_T}$ac_header_compiler" >&6; }
10135 # Is the header present?
10136 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10137 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10138 cat >conftest.$ac_ext <<_ACEOF
10139 /* confdefs.h. */
10140 _ACEOF
10141 cat confdefs.h >>conftest.$ac_ext
10142 cat >>conftest.$ac_ext <<_ACEOF
10143 /* end confdefs.h. */
10144 #include <gphoto2-camera.h>
10145 _ACEOF
10146 if { (ac_try="$ac_cpp conftest.$ac_ext"
10147 case "(($ac_try" in
10148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10149 *) ac_try_echo=$ac_try;;
10150 esac
10151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10152 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10153 ac_status=$?
10154 grep -v '^ *+' conftest.er1 >conftest.err
10155 rm -f conftest.er1
10156 cat conftest.err >&5
10157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10158 (exit $ac_status); } >/dev/null && {
10159 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10160 test ! -s conftest.err
10161 }; then
10162 ac_header_preproc=yes
10163 else
10164 echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.$ac_ext >&5
10167 ac_header_preproc=no
10170 rm -f conftest.err conftest.$ac_ext
10171 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10172 echo "${ECHO_T}$ac_header_preproc" >&6; }
10174 # So? What about this header?
10175 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10176 yes:no: )
10177 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10178 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10179 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10180 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10181 ac_header_preproc=yes
10183 no:yes:* )
10184 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10185 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10186 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10187 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10188 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10189 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10190 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10191 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10192 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10193 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10194 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10195 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10196 ( cat <<\_ASBOX
10197 ## ------------------------------------ ##
10198 ## Report this to wine-devel@winehq.org ##
10199 ## ------------------------------------ ##
10200 _ASBOX
10201 ) | sed "s/^/$as_me: WARNING: /" >&2
10203 esac
10204 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10205 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10206 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10207 echo $ECHO_N "(cached) $ECHO_C" >&6
10208 else
10209 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10211 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10212 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10215 if test $ac_cv_header_gphoto2_camera_h = yes; then
10216 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10217 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10218 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10219 echo $ECHO_N "(cached) $ECHO_C" >&6
10220 else
10221 ac_check_lib_save_LIBS=$LIBS
10222 LIBS="-lgphoto2 $LIBS"
10223 cat >conftest.$ac_ext <<_ACEOF
10224 /* confdefs.h. */
10225 _ACEOF
10226 cat confdefs.h >>conftest.$ac_ext
10227 cat >>conftest.$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10230 /* Override any GCC internal prototype to avoid an error.
10231 Use char because int might match the return type of a GCC
10232 builtin and then its argument prototype would still apply. */
10233 #ifdef __cplusplus
10234 extern "C"
10235 #endif
10236 char gp_camera_new ();
10238 main ()
10240 return gp_camera_new ();
10242 return 0;
10244 _ACEOF
10245 rm -f conftest.$ac_objext conftest$ac_exeext
10246 if { (ac_try="$ac_link"
10247 case "(($ac_try" in
10248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10249 *) ac_try_echo=$ac_try;;
10250 esac
10251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10252 (eval "$ac_link") 2>conftest.er1
10253 ac_status=$?
10254 grep -v '^ *+' conftest.er1 >conftest.err
10255 rm -f conftest.er1
10256 cat conftest.err >&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); } && {
10259 test -z "$ac_c_werror_flag" ||
10260 test ! -s conftest.err
10261 } && test -s conftest$ac_exeext &&
10262 $as_test_x conftest$ac_exeext; then
10263 ac_cv_lib_gphoto2_gp_camera_new=yes
10264 else
10265 echo "$as_me: failed program was:" >&5
10266 sed 's/^/| /' conftest.$ac_ext >&5
10268 ac_cv_lib_gphoto2_gp_camera_new=no
10271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LIBS=$ac_check_lib_save_LIBS
10275 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10276 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10277 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10279 cat >>confdefs.h <<\_ACEOF
10280 #define HAVE_GPHOTO2 1
10281 _ACEOF
10283 else
10284 GPHOTO2LIBS=""
10285 GPHOTO2INCL=""
10288 else
10289 GPHOTO2LIBS=""
10290 GPHOTO2INCL=""
10294 LIBS="$ac_save_LIBS"
10295 CPPFLAGS="$ac_save_CPPFLAGS"
10298 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10299 then
10300 saved_libs="$LIBS"
10301 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10303 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10304 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10305 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10306 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10307 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10308 cat >conftest.$ac_ext <<_ACEOF
10309 /* confdefs.h. */
10310 _ACEOF
10311 cat confdefs.h >>conftest.$ac_ext
10312 cat >>conftest.$ac_ext <<_ACEOF
10313 /* end confdefs.h. */
10314 #include <unicode/ubidi.h>
10316 main ()
10318 ubidi_open()
10320 return 0;
10322 _ACEOF
10323 rm -f conftest.$ac_objext conftest$ac_exeext
10324 if { (ac_try="$ac_link"
10325 case "(($ac_try" in
10326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10327 *) ac_try_echo=$ac_try;;
10328 esac
10329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10330 (eval "$ac_link") 2>conftest.er1
10331 ac_status=$?
10332 grep -v '^ *+' conftest.er1 >conftest.err
10333 rm -f conftest.er1
10334 cat conftest.err >&5
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); } && {
10337 test -z "$ac_c_werror_flag" ||
10338 test ! -s conftest.err
10339 } && test -s conftest$ac_exeext &&
10340 $as_test_x conftest$ac_exeext; then
10342 cat >>confdefs.h <<\_ACEOF
10343 #define HAVE_ICU 1
10344 _ACEOF
10346 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10348 { echo "$as_me:$LINENO: result: yes" >&5
10349 echo "${ECHO_T}yes" >&6; }
10350 else
10351 echo "$as_me: failed program was:" >&5
10352 sed 's/^/| /' conftest.$ac_ext >&5
10354 { echo "$as_me:$LINENO: result: no" >&5
10355 echo "${ECHO_T}no" >&6; }
10358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10359 conftest$ac_exeext conftest.$ac_ext
10360 done
10361 LIBS="$saved_libs"
10364 RESOLVLIBS=""
10366 if test "$ac_cv_header_resolv_h" = "yes"
10367 then
10368 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10369 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10370 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10372 else
10373 ac_check_lib_save_LIBS=$LIBS
10374 LIBS="-lresolv $LIBS"
10375 cat >conftest.$ac_ext <<_ACEOF
10376 /* confdefs.h. */
10377 _ACEOF
10378 cat confdefs.h >>conftest.$ac_ext
10379 cat >>conftest.$ac_ext <<_ACEOF
10380 /* end confdefs.h. */
10382 /* Override any GCC internal prototype to avoid an error.
10383 Use char because int might match the return type of a GCC
10384 builtin and then its argument prototype would still apply. */
10385 #ifdef __cplusplus
10386 extern "C"
10387 #endif
10388 char res_query ();
10390 main ()
10392 return res_query ();
10394 return 0;
10396 _ACEOF
10397 rm -f conftest.$ac_objext conftest$ac_exeext
10398 if { (ac_try="$ac_link"
10399 case "(($ac_try" in
10400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10401 *) ac_try_echo=$ac_try;;
10402 esac
10403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10404 (eval "$ac_link") 2>conftest.er1
10405 ac_status=$?
10406 grep -v '^ *+' conftest.er1 >conftest.err
10407 rm -f conftest.er1
10408 cat conftest.err >&5
10409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10410 (exit $ac_status); } && {
10411 test -z "$ac_c_werror_flag" ||
10412 test ! -s conftest.err
10413 } && test -s conftest$ac_exeext &&
10414 $as_test_x conftest$ac_exeext; then
10415 ac_cv_lib_resolv_res_query=yes
10416 else
10417 echo "$as_me: failed program was:" >&5
10418 sed 's/^/| /' conftest.$ac_ext >&5
10420 ac_cv_lib_resolv_res_query=no
10423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10424 conftest$ac_exeext conftest.$ac_ext
10425 LIBS=$ac_check_lib_save_LIBS
10427 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10428 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10429 if test $ac_cv_lib_resolv_res_query = yes; then
10431 cat >>confdefs.h <<\_ACEOF
10432 #define HAVE_RESOLV 1
10433 _ACEOF
10435 RESOLVLIBS="-lresolv"
10440 LCMSLIBS=""
10442 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10443 then
10444 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10445 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10446 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10447 echo $ECHO_N "(cached) $ECHO_C" >&6
10448 else
10449 ac_check_lib_save_LIBS=$LIBS
10450 LIBS="-llcms $LIBS"
10451 cat >conftest.$ac_ext <<_ACEOF
10452 /* confdefs.h. */
10453 _ACEOF
10454 cat confdefs.h >>conftest.$ac_ext
10455 cat >>conftest.$ac_ext <<_ACEOF
10456 /* end confdefs.h. */
10458 /* Override any GCC internal prototype to avoid an error.
10459 Use char because int might match the return type of a GCC
10460 builtin and then its argument prototype would still apply. */
10461 #ifdef __cplusplus
10462 extern "C"
10463 #endif
10464 char cmsOpenProfileFromFile ();
10466 main ()
10468 return cmsOpenProfileFromFile ();
10470 return 0;
10472 _ACEOF
10473 rm -f conftest.$ac_objext conftest$ac_exeext
10474 if { (ac_try="$ac_link"
10475 case "(($ac_try" in
10476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10477 *) ac_try_echo=$ac_try;;
10478 esac
10479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10480 (eval "$ac_link") 2>conftest.er1
10481 ac_status=$?
10482 grep -v '^ *+' conftest.er1 >conftest.err
10483 rm -f conftest.er1
10484 cat conftest.err >&5
10485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10486 (exit $ac_status); } && {
10487 test -z "$ac_c_werror_flag" ||
10488 test ! -s conftest.err
10489 } && test -s conftest$ac_exeext &&
10490 $as_test_x conftest$ac_exeext; then
10491 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10492 else
10493 echo "$as_me: failed program was:" >&5
10494 sed 's/^/| /' conftest.$ac_ext >&5
10496 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10500 conftest$ac_exeext conftest.$ac_ext
10501 LIBS=$ac_check_lib_save_LIBS
10503 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10504 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10505 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10507 cat >>confdefs.h <<\_ACEOF
10508 #define HAVE_LCMS 1
10509 _ACEOF
10511 LCMSLIBS="-llcms"
10516 LDAPLIBS=""
10518 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10519 then
10520 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10521 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10522 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10523 echo $ECHO_N "(cached) $ECHO_C" >&6
10524 else
10525 ac_check_lib_save_LIBS=$LIBS
10526 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10527 cat >conftest.$ac_ext <<_ACEOF
10528 /* confdefs.h. */
10529 _ACEOF
10530 cat confdefs.h >>conftest.$ac_ext
10531 cat >>conftest.$ac_ext <<_ACEOF
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10537 #ifdef __cplusplus
10538 extern "C"
10539 #endif
10540 char ldap_initialize ();
10542 main ()
10544 return ldap_initialize ();
10546 return 0;
10548 _ACEOF
10549 rm -f conftest.$ac_objext conftest$ac_exeext
10550 if { (ac_try="$ac_link"
10551 case "(($ac_try" in
10552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10553 *) ac_try_echo=$ac_try;;
10554 esac
10555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10556 (eval "$ac_link") 2>conftest.er1
10557 ac_status=$?
10558 grep -v '^ *+' conftest.er1 >conftest.err
10559 rm -f conftest.er1
10560 cat conftest.err >&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } && {
10563 test -z "$ac_c_werror_flag" ||
10564 test ! -s conftest.err
10565 } && test -s conftest$ac_exeext &&
10566 $as_test_x conftest$ac_exeext; then
10567 ac_cv_lib_ldap_r_ldap_initialize=yes
10568 else
10569 echo "$as_me: failed program was:" >&5
10570 sed 's/^/| /' conftest.$ac_ext >&5
10572 ac_cv_lib_ldap_r_ldap_initialize=no
10575 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10576 conftest$ac_exeext conftest.$ac_ext
10577 LIBS=$ac_check_lib_save_LIBS
10579 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10580 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10581 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10582 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10583 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10584 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10585 echo $ECHO_N "(cached) $ECHO_C" >&6
10586 else
10587 ac_check_lib_save_LIBS=$LIBS
10588 LIBS="-llber $LIBPTHREAD $LIBS"
10589 cat >conftest.$ac_ext <<_ACEOF
10590 /* confdefs.h. */
10591 _ACEOF
10592 cat confdefs.h >>conftest.$ac_ext
10593 cat >>conftest.$ac_ext <<_ACEOF
10594 /* end confdefs.h. */
10596 /* Override any GCC internal prototype to avoid an error.
10597 Use char because int might match the return type of a GCC
10598 builtin and then its argument prototype would still apply. */
10599 #ifdef __cplusplus
10600 extern "C"
10601 #endif
10602 char ber_init ();
10604 main ()
10606 return ber_init ();
10608 return 0;
10610 _ACEOF
10611 rm -f conftest.$ac_objext conftest$ac_exeext
10612 if { (ac_try="$ac_link"
10613 case "(($ac_try" in
10614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10615 *) ac_try_echo=$ac_try;;
10616 esac
10617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10618 (eval "$ac_link") 2>conftest.er1
10619 ac_status=$?
10620 grep -v '^ *+' conftest.er1 >conftest.err
10621 rm -f conftest.er1
10622 cat conftest.err >&5
10623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10624 (exit $ac_status); } && {
10625 test -z "$ac_c_werror_flag" ||
10626 test ! -s conftest.err
10627 } && test -s conftest$ac_exeext &&
10628 $as_test_x conftest$ac_exeext; then
10629 ac_cv_lib_lber_ber_init=yes
10630 else
10631 echo "$as_me: failed program was:" >&5
10632 sed 's/^/| /' conftest.$ac_ext >&5
10634 ac_cv_lib_lber_ber_init=no
10637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10638 conftest$ac_exeext conftest.$ac_ext
10639 LIBS=$ac_check_lib_save_LIBS
10641 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10642 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10643 if test $ac_cv_lib_lber_ber_init = yes; then
10645 cat >>confdefs.h <<\_ACEOF
10646 #define HAVE_LDAP 1
10647 _ACEOF
10649 LDAPLIBS="-lldap_r -llber"
10654 ac_wine_check_funcs_save_LIBS="$LIBS"
10655 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10660 for ac_func in \
10661 ldap_count_references \
10662 ldap_first_reference \
10663 ldap_next_reference \
10664 ldap_parse_reference
10666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10670 echo $ECHO_N "(cached) $ECHO_C" >&6
10671 else
10672 cat >conftest.$ac_ext <<_ACEOF
10673 /* confdefs.h. */
10674 _ACEOF
10675 cat confdefs.h >>conftest.$ac_ext
10676 cat >>conftest.$ac_ext <<_ACEOF
10677 /* end confdefs.h. */
10678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10680 #define $ac_func innocuous_$ac_func
10682 /* System header to define __stub macros and hopefully few prototypes,
10683 which can conflict with char $ac_func (); below.
10684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10685 <limits.h> exists even on freestanding compilers. */
10687 #ifdef __STDC__
10688 # include <limits.h>
10689 #else
10690 # include <assert.h>
10691 #endif
10693 #undef $ac_func
10695 /* Override any GCC internal prototype to avoid an error.
10696 Use char because int might match the return type of a GCC
10697 builtin and then its argument prototype would still apply. */
10698 #ifdef __cplusplus
10699 extern "C"
10700 #endif
10701 char $ac_func ();
10702 /* The GNU C library defines this for functions which it implements
10703 to always fail with ENOSYS. Some functions are actually named
10704 something starting with __ and the normal name is an alias. */
10705 #if defined __stub_$ac_func || defined __stub___$ac_func
10706 choke me
10707 #endif
10710 main ()
10712 return $ac_func ();
10714 return 0;
10716 _ACEOF
10717 rm -f conftest.$ac_objext conftest$ac_exeext
10718 if { (ac_try="$ac_link"
10719 case "(($ac_try" in
10720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10721 *) ac_try_echo=$ac_try;;
10722 esac
10723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10724 (eval "$ac_link") 2>conftest.er1
10725 ac_status=$?
10726 grep -v '^ *+' conftest.er1 >conftest.err
10727 rm -f conftest.er1
10728 cat conftest.err >&5
10729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10730 (exit $ac_status); } && {
10731 test -z "$ac_c_werror_flag" ||
10732 test ! -s conftest.err
10733 } && test -s conftest$ac_exeext &&
10734 $as_test_x conftest$ac_exeext; then
10735 eval "$as_ac_var=yes"
10736 else
10737 echo "$as_me: failed program was:" >&5
10738 sed 's/^/| /' conftest.$ac_ext >&5
10740 eval "$as_ac_var=no"
10743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10744 conftest$ac_exeext conftest.$ac_ext
10746 ac_res=`eval echo '${'$as_ac_var'}'`
10747 { echo "$as_me:$LINENO: result: $ac_res" >&5
10748 echo "${ECHO_T}$ac_res" >&6; }
10749 if test `eval echo '${'$as_ac_var'}'` = yes; then
10750 cat >>confdefs.h <<_ACEOF
10751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10752 _ACEOF
10755 done
10757 LIBS="$ac_wine_check_funcs_save_LIBS"
10760 FREETYPELIBS=""
10762 FREETYPEINCL=""
10764 # Extract the first word of "freetype-config", so it can be a program name with args.
10765 set dummy freetype-config; ac_word=$2
10766 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10767 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10768 if test "${ac_cv_prog_ft_devel+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10770 else
10771 if test -n "$ft_devel"; then
10772 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10773 else
10774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10775 for as_dir in $PATH
10777 IFS=$as_save_IFS
10778 test -z "$as_dir" && as_dir=.
10779 for ac_exec_ext in '' $ac_executable_extensions; do
10780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10781 ac_cv_prog_ft_devel="freetype-config"
10782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10783 break 2
10785 done
10786 done
10787 IFS=$as_save_IFS
10789 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10792 ft_devel=$ac_cv_prog_ft_devel
10793 if test -n "$ft_devel"; then
10794 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10795 echo "${ECHO_T}$ft_devel" >&6; }
10796 else
10797 { echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6; }
10802 if test "$ft_devel" = "no"
10803 then
10804 # Extract the first word of "freetype2-config", so it can be a program name with args.
10805 set dummy freetype2-config; ac_word=$2
10806 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10808 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 else
10811 if test -n "$ft_devel2"; then
10812 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10813 else
10814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10815 for as_dir in $PATH
10817 IFS=$as_save_IFS
10818 test -z "$as_dir" && as_dir=.
10819 for ac_exec_ext in '' $ac_executable_extensions; do
10820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10821 ac_cv_prog_ft_devel2="freetype2-config"
10822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10823 break 2
10825 done
10826 done
10827 IFS=$as_save_IFS
10829 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10832 ft_devel2=$ac_cv_prog_ft_devel2
10833 if test -n "$ft_devel2"; then
10834 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10835 echo "${ECHO_T}$ft_devel2" >&6; }
10836 else
10837 { echo "$as_me:$LINENO: result: no" >&5
10838 echo "${ECHO_T}no" >&6; }
10842 if test "$ft_devel2" = "freetype2-config"
10843 then
10844 ft_devel=$ft_devel2
10848 if test "$ft_devel" = "no"
10849 then
10850 wine_cv_msg_freetype=yes
10851 else
10852 FREETYPELIBS=`$ft_devel --libs`
10853 FREETYPEINCL=`$ft_devel --cflags`
10854 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10855 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10856 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10857 echo $ECHO_N "(cached) $ECHO_C" >&6
10858 else
10859 ac_check_lib_save_LIBS=$LIBS
10860 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10861 cat >conftest.$ac_ext <<_ACEOF
10862 /* confdefs.h. */
10863 _ACEOF
10864 cat confdefs.h >>conftest.$ac_ext
10865 cat >>conftest.$ac_ext <<_ACEOF
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10871 #ifdef __cplusplus
10872 extern "C"
10873 #endif
10874 char FT_Init_FreeType ();
10876 main ()
10878 return FT_Init_FreeType ();
10880 return 0;
10882 _ACEOF
10883 rm -f conftest.$ac_objext conftest$ac_exeext
10884 if { (ac_try="$ac_link"
10885 case "(($ac_try" in
10886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10887 *) ac_try_echo=$ac_try;;
10888 esac
10889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10890 (eval "$ac_link") 2>conftest.er1
10891 ac_status=$?
10892 grep -v '^ *+' conftest.er1 >conftest.err
10893 rm -f conftest.er1
10894 cat conftest.err >&5
10895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10896 (exit $ac_status); } && {
10897 test -z "$ac_c_werror_flag" ||
10898 test ! -s conftest.err
10899 } && test -s conftest$ac_exeext &&
10900 $as_test_x conftest$ac_exeext; then
10901 ac_cv_lib_freetype_FT_Init_FreeType=yes
10902 else
10903 echo "$as_me: failed program was:" >&5
10904 sed 's/^/| /' conftest.$ac_ext >&5
10906 ac_cv_lib_freetype_FT_Init_FreeType=no
10909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10910 conftest$ac_exeext conftest.$ac_ext
10911 LIBS=$ac_check_lib_save_LIBS
10913 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10914 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10915 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10916 ft_lib=yes
10917 else
10918 ft_lib=no
10921 if test "$ft_lib" = "no"
10922 then
10923 wine_cv_msg_freetype=yes
10924 FREETYPELIBS=""
10925 FREETYPEINCL=""
10926 else
10927 ac_save_CPPFLAGS="$CPPFLAGS"
10928 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
10940 for ac_header in ft2build.h \
10941 freetype/freetype.h \
10942 freetype/ftglyph.h \
10943 freetype/tttables.h \
10944 freetype/ftnames.h \
10945 freetype/ftsnames.h \
10946 freetype/ttnameid.h \
10947 freetype/ftoutln.h \
10948 freetype/ftwinfnt.h \
10949 freetype/ftmodapi.h \
10950 freetype/internal/sfnt.h
10952 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10953 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10955 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10956 echo $ECHO_N "(cached) $ECHO_C" >&6
10957 else
10958 cat >conftest.$ac_ext <<_ACEOF
10959 /* confdefs.h. */
10960 _ACEOF
10961 cat confdefs.h >>conftest.$ac_ext
10962 cat >>conftest.$ac_ext <<_ACEOF
10963 /* end confdefs.h. */
10964 #if HAVE_FT2BUILD_H
10965 #include <ft2build.h>
10966 #endif
10968 #include <$ac_header>
10969 _ACEOF
10970 rm -f conftest.$ac_objext
10971 if { (ac_try="$ac_compile"
10972 case "(($ac_try" in
10973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10974 *) ac_try_echo=$ac_try;;
10975 esac
10976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10977 (eval "$ac_compile") 2>conftest.er1
10978 ac_status=$?
10979 grep -v '^ *+' conftest.er1 >conftest.err
10980 rm -f conftest.er1
10981 cat conftest.err >&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); } && {
10984 test -z "$ac_c_werror_flag" ||
10985 test ! -s conftest.err
10986 } && test -s conftest.$ac_objext; then
10987 eval "$as_ac_Header=yes"
10988 else
10989 echo "$as_me: failed program was:" >&5
10990 sed 's/^/| /' conftest.$ac_ext >&5
10992 eval "$as_ac_Header=no"
10995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10997 ac_res=`eval echo '${'$as_ac_Header'}'`
10998 { echo "$as_me:$LINENO: result: $ac_res" >&5
10999 echo "${ECHO_T}$ac_res" >&6; }
11000 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11001 cat >>confdefs.h <<_ACEOF
11002 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11003 _ACEOF
11007 done
11009 cat >conftest.$ac_ext <<_ACEOF
11010 /* confdefs.h. */
11011 _ACEOF
11012 cat confdefs.h >>conftest.$ac_ext
11013 cat >>conftest.$ac_ext <<_ACEOF
11014 /* end confdefs.h. */
11015 #include <ft2build.h>
11016 #include <freetype/fttrigon.h>
11017 _ACEOF
11018 if { (ac_try="$ac_cpp conftest.$ac_ext"
11019 case "(($ac_try" in
11020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11021 *) ac_try_echo=$ac_try;;
11022 esac
11023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11025 ac_status=$?
11026 grep -v '^ *+' conftest.er1 >conftest.err
11027 rm -f conftest.er1
11028 cat conftest.err >&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); } >/dev/null && {
11031 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11032 test ! -s conftest.err
11033 }; then
11035 cat >>confdefs.h <<\_ACEOF
11036 #define HAVE_FREETYPE_FTTRIGON_H 1
11037 _ACEOF
11039 wine_cv_fttrigon=yes
11040 else
11041 echo "$as_me: failed program was:" >&5
11042 sed 's/^/| /' conftest.$ac_ext >&5
11044 wine_cv_fttrigon=no
11047 rm -f conftest.err conftest.$ac_ext
11048 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11049 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11050 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11052 else
11053 cat >conftest.$ac_ext <<_ACEOF
11054 /* confdefs.h. */
11055 _ACEOF
11056 cat confdefs.h >>conftest.$ac_ext
11057 cat >>conftest.$ac_ext <<_ACEOF
11058 /* end confdefs.h. */
11059 #include <freetype/ftmodapi.h>
11061 typedef FT_TrueTypeEngineType ac__type_new_;
11063 main ()
11065 if ((ac__type_new_ *) 0)
11066 return 0;
11067 if (sizeof (ac__type_new_))
11068 return 0;
11070 return 0;
11072 _ACEOF
11073 rm -f conftest.$ac_objext
11074 if { (ac_try="$ac_compile"
11075 case "(($ac_try" in
11076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11077 *) ac_try_echo=$ac_try;;
11078 esac
11079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11080 (eval "$ac_compile") 2>conftest.er1
11081 ac_status=$?
11082 grep -v '^ *+' conftest.er1 >conftest.err
11083 rm -f conftest.er1
11084 cat conftest.err >&5
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); } && {
11087 test -z "$ac_c_werror_flag" ||
11088 test ! -s conftest.err
11089 } && test -s conftest.$ac_objext; then
11090 ac_cv_type_FT_TrueTypeEngineType=yes
11091 else
11092 echo "$as_me: failed program was:" >&5
11093 sed 's/^/| /' conftest.$ac_ext >&5
11095 ac_cv_type_FT_TrueTypeEngineType=no
11098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11100 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11101 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11102 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11104 cat >>confdefs.h <<_ACEOF
11105 #define HAVE_FT_TRUETYPEENGINETYPE 1
11106 _ACEOF
11111 ac_save_CFLAGS="$CFLAGS"
11112 CFLAGS="$CFLAGS $FREETYPELIBS"
11114 for ac_func in FT_Load_Sfnt_Table
11116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11117 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 else
11122 cat >conftest.$ac_ext <<_ACEOF
11123 /* confdefs.h. */
11124 _ACEOF
11125 cat confdefs.h >>conftest.$ac_ext
11126 cat >>conftest.$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11130 #define $ac_func innocuous_$ac_func
11132 /* System header to define __stub macros and hopefully few prototypes,
11133 which can conflict with char $ac_func (); below.
11134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11135 <limits.h> exists even on freestanding compilers. */
11137 #ifdef __STDC__
11138 # include <limits.h>
11139 #else
11140 # include <assert.h>
11141 #endif
11143 #undef $ac_func
11145 /* Override any GCC internal prototype to avoid an error.
11146 Use char because int might match the return type of a GCC
11147 builtin and then its argument prototype would still apply. */
11148 #ifdef __cplusplus
11149 extern "C"
11150 #endif
11151 char $ac_func ();
11152 /* The GNU C library defines this for functions which it implements
11153 to always fail with ENOSYS. Some functions are actually named
11154 something starting with __ and the normal name is an alias. */
11155 #if defined __stub_$ac_func || defined __stub___$ac_func
11156 choke me
11157 #endif
11160 main ()
11162 return $ac_func ();
11164 return 0;
11166 _ACEOF
11167 rm -f conftest.$ac_objext conftest$ac_exeext
11168 if { (ac_try="$ac_link"
11169 case "(($ac_try" in
11170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11171 *) ac_try_echo=$ac_try;;
11172 esac
11173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11174 (eval "$ac_link") 2>conftest.er1
11175 ac_status=$?
11176 grep -v '^ *+' conftest.er1 >conftest.err
11177 rm -f conftest.er1
11178 cat conftest.err >&5
11179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11180 (exit $ac_status); } && {
11181 test -z "$ac_c_werror_flag" ||
11182 test ! -s conftest.err
11183 } && test -s conftest$ac_exeext &&
11184 $as_test_x conftest$ac_exeext; then
11185 eval "$as_ac_var=yes"
11186 else
11187 echo "$as_me: failed program was:" >&5
11188 sed 's/^/| /' conftest.$ac_ext >&5
11190 eval "$as_ac_var=no"
11193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11194 conftest$ac_exeext conftest.$ac_ext
11196 ac_res=`eval echo '${'$as_ac_var'}'`
11197 { echo "$as_me:$LINENO: result: $ac_res" >&5
11198 echo "${ECHO_T}$ac_res" >&6; }
11199 if test `eval echo '${'$as_ac_var'}'` = yes; then
11200 cat >>confdefs.h <<_ACEOF
11201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11202 _ACEOF
11205 done
11207 CFLAGS="$ac_save_CFLAGS"
11208 CPPFLAGS="$ac_save_CPPFLAGS"
11209 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11210 then
11212 cat >>confdefs.h <<\_ACEOF
11213 #define HAVE_FREETYPE 1
11214 _ACEOF
11216 wine_cv_msg_freetype=no
11217 else
11218 FREETYPELIBS=""
11219 FREETYPEINCL=""
11220 wine_cv_msg_freetype=yes
11225 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11226 then
11227 FONTSSUBDIRS="fonts"
11231 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11232 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11233 if test "${ac_cv_c_ppdev+set}" = set; then
11234 echo $ECHO_N "(cached) $ECHO_C" >&6
11235 else
11236 cat >conftest.$ac_ext <<_ACEOF
11237 /* confdefs.h. */
11238 _ACEOF
11239 cat confdefs.h >>conftest.$ac_ext
11240 cat >>conftest.$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11242 #include <linux/ppdev.h>
11244 main ()
11246 ioctl (1,PPCLAIM,0)
11248 return 0;
11250 _ACEOF
11251 rm -f conftest.$ac_objext
11252 if { (ac_try="$ac_compile"
11253 case "(($ac_try" in
11254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11255 *) ac_try_echo=$ac_try;;
11256 esac
11257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11258 (eval "$ac_compile") 2>conftest.er1
11259 ac_status=$?
11260 grep -v '^ *+' conftest.er1 >conftest.err
11261 rm -f conftest.er1
11262 cat conftest.err >&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); } && {
11265 test -z "$ac_c_werror_flag" ||
11266 test ! -s conftest.err
11267 } && test -s conftest.$ac_objext; then
11268 ac_cv_c_ppdev="yes"
11269 else
11270 echo "$as_me: failed program was:" >&5
11271 sed 's/^/| /' conftest.$ac_ext >&5
11273 ac_cv_c_ppdev="no"
11276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11279 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11280 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11281 if test "$ac_cv_c_ppdev" = "yes"
11282 then
11284 cat >>confdefs.h <<\_ACEOF
11285 #define HAVE_PPDEV 1
11286 _ACEOF
11290 { echo "$as_me:$LINENO: checking for va_copy" >&5
11291 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11292 if test "${ac_cv_c_va_copy+set}" = set; then
11293 echo $ECHO_N "(cached) $ECHO_C" >&6
11294 else
11295 cat >conftest.$ac_ext <<_ACEOF
11296 /* confdefs.h. */
11297 _ACEOF
11298 cat confdefs.h >>conftest.$ac_ext
11299 cat >>conftest.$ac_ext <<_ACEOF
11300 /* end confdefs.h. */
11301 #include <stdarg.h>
11303 main ()
11305 va_list ap1, ap2;
11306 va_copy(ap1,ap2);
11309 return 0;
11311 _ACEOF
11312 rm -f conftest.$ac_objext conftest$ac_exeext
11313 if { (ac_try="$ac_link"
11314 case "(($ac_try" in
11315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11316 *) ac_try_echo=$ac_try;;
11317 esac
11318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11319 (eval "$ac_link") 2>conftest.er1
11320 ac_status=$?
11321 grep -v '^ *+' conftest.er1 >conftest.err
11322 rm -f conftest.er1
11323 cat conftest.err >&5
11324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11325 (exit $ac_status); } && {
11326 test -z "$ac_c_werror_flag" ||
11327 test ! -s conftest.err
11328 } && test -s conftest$ac_exeext &&
11329 $as_test_x conftest$ac_exeext; then
11330 ac_cv_c_va_copy="yes"
11331 else
11332 echo "$as_me: failed program was:" >&5
11333 sed 's/^/| /' conftest.$ac_ext >&5
11335 ac_cv_c_va_copy="no"
11338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11339 conftest$ac_exeext conftest.$ac_ext
11342 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11343 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11344 if test "$ac_cv_c_va_copy" = "yes"
11345 then
11347 cat >>confdefs.h <<\_ACEOF
11348 #define HAVE_VA_COPY 1
11349 _ACEOF
11352 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11353 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11354 if test "${ac_cv_c___va_copy+set}" = set; then
11355 echo $ECHO_N "(cached) $ECHO_C" >&6
11356 else
11357 cat >conftest.$ac_ext <<_ACEOF
11358 /* confdefs.h. */
11359 _ACEOF
11360 cat confdefs.h >>conftest.$ac_ext
11361 cat >>conftest.$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11363 #include <stdarg.h>
11365 main ()
11367 va_list ap1, ap2;
11368 __va_copy(ap1,ap2);
11371 return 0;
11373 _ACEOF
11374 rm -f conftest.$ac_objext conftest$ac_exeext
11375 if { (ac_try="$ac_link"
11376 case "(($ac_try" in
11377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11378 *) ac_try_echo=$ac_try;;
11379 esac
11380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11381 (eval "$ac_link") 2>conftest.er1
11382 ac_status=$?
11383 grep -v '^ *+' conftest.er1 >conftest.err
11384 rm -f conftest.er1
11385 cat conftest.err >&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } && {
11388 test -z "$ac_c_werror_flag" ||
11389 test ! -s conftest.err
11390 } && test -s conftest$ac_exeext &&
11391 $as_test_x conftest$ac_exeext; then
11392 ac_cv_c___va_copy="yes"
11393 else
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.$ac_ext >&5
11397 ac_cv_c___va_copy="no"
11400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11401 conftest$ac_exeext conftest.$ac_ext
11404 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11405 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11406 if test "$ac_cv_c___va_copy" = "yes"
11407 then
11409 cat >>confdefs.h <<\_ACEOF
11410 #define HAVE___VA_COPY 1
11411 _ACEOF
11415 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11416 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11417 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11418 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 else
11420 cat >conftest.$ac_ext <<_ACEOF
11421 /* confdefs.h. */
11422 _ACEOF
11423 cat confdefs.h >>conftest.$ac_ext
11424 cat >>conftest.$ac_ext <<_ACEOF
11425 /* end confdefs.h. */
11426 #include <setjmp.h>
11428 main ()
11430 sigjmp_buf buf;
11431 sigsetjmp( buf, 1 );
11432 siglongjmp( buf, 1 );
11434 return 0;
11436 _ACEOF
11437 rm -f conftest.$ac_objext conftest$ac_exeext
11438 if { (ac_try="$ac_link"
11439 case "(($ac_try" in
11440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11441 *) ac_try_echo=$ac_try;;
11442 esac
11443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11444 (eval "$ac_link") 2>conftest.er1
11445 ac_status=$?
11446 grep -v '^ *+' conftest.er1 >conftest.err
11447 rm -f conftest.er1
11448 cat conftest.err >&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); } && {
11451 test -z "$ac_c_werror_flag" ||
11452 test ! -s conftest.err
11453 } && test -s conftest$ac_exeext &&
11454 $as_test_x conftest$ac_exeext; then
11455 ac_cv_c_sigsetjmp="yes"
11456 else
11457 echo "$as_me: failed program was:" >&5
11458 sed 's/^/| /' conftest.$ac_ext >&5
11460 ac_cv_c_sigsetjmp="no"
11463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11464 conftest$ac_exeext conftest.$ac_ext
11467 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11468 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11469 if test "$ac_cv_c_sigsetjmp" = "yes"
11470 then
11472 cat >>confdefs.h <<\_ACEOF
11473 #define HAVE_SIGSETJMP 1
11474 _ACEOF
11478 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11479 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11480 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11481 echo $ECHO_N "(cached) $ECHO_C" >&6
11482 else
11483 cat >conftest.$ac_ext <<_ACEOF
11484 /* confdefs.h. */
11485 _ACEOF
11486 cat confdefs.h >>conftest.$ac_ext
11487 cat >>conftest.$ac_ext <<_ACEOF
11488 /* end confdefs.h. */
11489 #define _GNU_SOURCE
11490 #include <pthread.h>
11492 typedef pthread_rwlock_t ac__type_new_;
11494 main ()
11496 if ((ac__type_new_ *) 0)
11497 return 0;
11498 if (sizeof (ac__type_new_))
11499 return 0;
11501 return 0;
11503 _ACEOF
11504 rm -f conftest.$ac_objext
11505 if { (ac_try="$ac_compile"
11506 case "(($ac_try" in
11507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11508 *) ac_try_echo=$ac_try;;
11509 esac
11510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11511 (eval "$ac_compile") 2>conftest.er1
11512 ac_status=$?
11513 grep -v '^ *+' conftest.er1 >conftest.err
11514 rm -f conftest.er1
11515 cat conftest.err >&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } && {
11518 test -z "$ac_c_werror_flag" ||
11519 test ! -s conftest.err
11520 } && test -s conftest.$ac_objext; then
11521 ac_cv_type_pthread_rwlock_t=yes
11522 else
11523 echo "$as_me: failed program was:" >&5
11524 sed 's/^/| /' conftest.$ac_ext >&5
11526 ac_cv_type_pthread_rwlock_t=no
11529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11531 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11532 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11533 if test $ac_cv_type_pthread_rwlock_t = yes; then
11535 cat >>confdefs.h <<_ACEOF
11536 #define HAVE_PTHREAD_RWLOCK_T 1
11537 _ACEOF
11541 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11542 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11543 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11544 echo $ECHO_N "(cached) $ECHO_C" >&6
11545 else
11546 cat >conftest.$ac_ext <<_ACEOF
11547 /* confdefs.h. */
11548 _ACEOF
11549 cat confdefs.h >>conftest.$ac_ext
11550 cat >>conftest.$ac_ext <<_ACEOF
11551 /* end confdefs.h. */
11552 #define _GNU_SOURCE
11553 #include <pthread.h>
11555 typedef pthread_rwlockattr_t ac__type_new_;
11557 main ()
11559 if ((ac__type_new_ *) 0)
11560 return 0;
11561 if (sizeof (ac__type_new_))
11562 return 0;
11564 return 0;
11566 _ACEOF
11567 rm -f conftest.$ac_objext
11568 if { (ac_try="$ac_compile"
11569 case "(($ac_try" in
11570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11571 *) ac_try_echo=$ac_try;;
11572 esac
11573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11574 (eval "$ac_compile") 2>conftest.er1
11575 ac_status=$?
11576 grep -v '^ *+' conftest.er1 >conftest.err
11577 rm -f conftest.er1
11578 cat conftest.err >&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); } && {
11581 test -z "$ac_c_werror_flag" ||
11582 test ! -s conftest.err
11583 } && test -s conftest.$ac_objext; then
11584 ac_cv_type_pthread_rwlockattr_t=yes
11585 else
11586 echo "$as_me: failed program was:" >&5
11587 sed 's/^/| /' conftest.$ac_ext >&5
11589 ac_cv_type_pthread_rwlockattr_t=no
11592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11594 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11595 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11596 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11598 cat >>confdefs.h <<_ACEOF
11599 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11600 _ACEOF
11606 ac_wine_check_funcs_save_LIBS="$LIBS"
11607 LIBS="$LIBS $LIBPTHREAD"
11612 for ac_func in \
11613 pthread_attr_get_np \
11614 pthread_getattr_np \
11615 pthread_get_stackaddr_np \
11616 pthread_get_stacksize_np
11618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11619 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11621 if { as_var=$as_ac_var; eval "test \"\${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11632 #define $ac_func innocuous_$ac_func
11634 /* System header to define __stub macros and hopefully few prototypes,
11635 which can conflict with char $ac_func (); below.
11636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11637 <limits.h> exists even on freestanding compilers. */
11639 #ifdef __STDC__
11640 # include <limits.h>
11641 #else
11642 # include <assert.h>
11643 #endif
11645 #undef $ac_func
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11650 #ifdef __cplusplus
11651 extern "C"
11652 #endif
11653 char $ac_func ();
11654 /* The GNU C library defines this for functions which it implements
11655 to always fail with ENOSYS. Some functions are actually named
11656 something starting with __ and the normal name is an alias. */
11657 #if defined __stub_$ac_func || defined __stub___$ac_func
11658 choke me
11659 #endif
11662 main ()
11664 return $ac_func ();
11666 return 0;
11668 _ACEOF
11669 rm -f conftest.$ac_objext conftest$ac_exeext
11670 if { (ac_try="$ac_link"
11671 case "(($ac_try" in
11672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11673 *) ac_try_echo=$ac_try;;
11674 esac
11675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11676 (eval "$ac_link") 2>conftest.er1
11677 ac_status=$?
11678 grep -v '^ *+' conftest.er1 >conftest.err
11679 rm -f conftest.er1
11680 cat conftest.err >&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } && {
11683 test -z "$ac_c_werror_flag" ||
11684 test ! -s conftest.err
11685 } && test -s conftest$ac_exeext &&
11686 $as_test_x conftest$ac_exeext; then
11687 eval "$as_ac_var=yes"
11688 else
11689 echo "$as_me: failed program was:" >&5
11690 sed 's/^/| /' conftest.$ac_ext >&5
11692 eval "$as_ac_var=no"
11695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11696 conftest$ac_exeext conftest.$ac_ext
11698 ac_res=`eval echo '${'$as_ac_var'}'`
11699 { echo "$as_me:$LINENO: result: $ac_res" >&5
11700 echo "${ECHO_T}$ac_res" >&6; }
11701 if test `eval echo '${'$as_ac_var'}'` = yes; then
11702 cat >>confdefs.h <<_ACEOF
11703 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11704 _ACEOF
11707 done
11709 LIBS="$ac_wine_check_funcs_save_LIBS"
11711 # Extract the first word of "artsc-config", so it can be a program name with args.
11712 set dummy artsc-config; ac_word=$2
11713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11715 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11716 echo $ECHO_N "(cached) $ECHO_C" >&6
11717 else
11718 case $ARTSCCONFIG in
11719 [\\/]* | ?:[\\/]*)
11720 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11724 for as_dir in $PATH
11726 IFS=$as_save_IFS
11727 test -z "$as_dir" && as_dir=.
11728 for ac_exec_ext in '' $ac_executable_extensions; do
11729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11730 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11732 break 2
11734 done
11735 done
11736 IFS=$as_save_IFS
11739 esac
11741 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11742 if test -n "$ARTSCCONFIG"; then
11743 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11744 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
11745 else
11746 { echo "$as_me:$LINENO: result: no" >&5
11747 echo "${ECHO_T}no" >&6; }
11751 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11752 then
11753 ARTSC_CFLAGS=""
11754 for i in `$ARTSCCONFIG --cflags`
11756 case "$i" in
11757 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11758 esac
11759 done
11760 ARTSC_LIBS=""
11761 for i in `$ARTSCCONFIG --libs`
11763 case "$i" in
11764 -L/usr/lib|-L/usr/lib64) ;;
11765 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11766 esac
11767 done
11768 save_CFLAGS="$CFLAGS"
11769 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11770 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11771 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
11772 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11773 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 else
11775 ac_check_lib_save_LIBS=$LIBS
11776 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11777 cat >conftest.$ac_ext <<_ACEOF
11778 /* confdefs.h. */
11779 _ACEOF
11780 cat confdefs.h >>conftest.$ac_ext
11781 cat >>conftest.$ac_ext <<_ACEOF
11782 /* end confdefs.h. */
11784 /* Override any GCC internal prototype to avoid an error.
11785 Use char because int might match the return type of a GCC
11786 builtin and then its argument prototype would still apply. */
11787 #ifdef __cplusplus
11788 extern "C"
11789 #endif
11790 char arts_init ();
11792 main ()
11794 return arts_init ();
11796 return 0;
11798 _ACEOF
11799 rm -f conftest.$ac_objext conftest$ac_exeext
11800 if { (ac_try="$ac_link"
11801 case "(($ac_try" in
11802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11803 *) ac_try_echo=$ac_try;;
11804 esac
11805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11806 (eval "$ac_link") 2>conftest.er1
11807 ac_status=$?
11808 grep -v '^ *+' conftest.er1 >conftest.err
11809 rm -f conftest.er1
11810 cat conftest.err >&5
11811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11812 (exit $ac_status); } && {
11813 test -z "$ac_c_werror_flag" ||
11814 test ! -s conftest.err
11815 } && test -s conftest$ac_exeext &&
11816 $as_test_x conftest$ac_exeext; then
11817 ac_cv_lib_artsc_arts_init=yes
11818 else
11819 echo "$as_me: failed program was:" >&5
11820 sed 's/^/| /' conftest.$ac_ext >&5
11822 ac_cv_lib_artsc_arts_init=no
11825 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11826 conftest$ac_exeext conftest.$ac_ext
11827 LIBS=$ac_check_lib_save_LIBS
11829 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
11830 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
11831 if test $ac_cv_lib_artsc_arts_init = yes; then
11832 cat >conftest.$ac_ext <<_ACEOF
11833 /* confdefs.h. */
11834 _ACEOF
11835 cat confdefs.h >>conftest.$ac_ext
11836 cat >>conftest.$ac_ext <<_ACEOF
11837 /* end confdefs.h. */
11838 #include <artsc.h>
11840 main ()
11842 arts_stream_t stream;
11844 return 0;
11846 _ACEOF
11847 rm -f conftest.$ac_objext
11848 if { (ac_try="$ac_compile"
11849 case "(($ac_try" in
11850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11851 *) ac_try_echo=$ac_try;;
11852 esac
11853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11854 (eval "$ac_compile") 2>conftest.er1
11855 ac_status=$?
11856 grep -v '^ *+' conftest.er1 >conftest.err
11857 rm -f conftest.er1
11858 cat conftest.err >&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } && {
11861 test -z "$ac_c_werror_flag" ||
11862 test ! -s conftest.err
11863 } && test -s conftest.$ac_objext; then
11864 ARTSLIBS=$ARTSC_LIBS
11866 ARTSINCL=$ARTSC_CFLAGS
11869 cat >>confdefs.h <<\_ACEOF
11870 #define HAVE_ARTS 1
11871 _ACEOF
11873 else
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11883 CFLAGS="$save_CFLAGS"
11886 # Extract the first word of "esd-config", so it can be a program name with args.
11887 set dummy esd-config; ac_word=$2
11888 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11890 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11891 echo $ECHO_N "(cached) $ECHO_C" >&6
11892 else
11893 case $ESDCONFIG in
11894 [\\/]* | ?:[\\/]*)
11895 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11899 for as_dir in $PATH
11901 IFS=$as_save_IFS
11902 test -z "$as_dir" && as_dir=.
11903 for ac_exec_ext in '' $ac_executable_extensions; do
11904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11905 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11907 break 2
11909 done
11910 done
11911 IFS=$as_save_IFS
11914 esac
11916 ESDCONFIG=$ac_cv_path_ESDCONFIG
11917 if test -n "$ESDCONFIG"; then
11918 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11919 echo "${ECHO_T}$ESDCONFIG" >&6; }
11920 else
11921 { echo "$as_me:$LINENO: result: no" >&5
11922 echo "${ECHO_T}no" >&6; }
11926 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11927 then
11928 ESD_CFLAGS=""
11929 for i in `$ESDCONFIG --cflags`
11931 case "$i" in
11932 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11933 esac
11934 done
11935 ESD_LIBS=`$ESDCONFIG --libs`
11936 save_CFLAGS="$CFLAGS"
11937 CFLAGS="$CFLAGS $ESD_CFLAGS"
11938 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11939 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11940 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11942 else
11943 ac_check_lib_save_LIBS=$LIBS
11944 LIBS="-lesd $LIBS"
11945 cat >conftest.$ac_ext <<_ACEOF
11946 /* confdefs.h. */
11947 _ACEOF
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11955 #ifdef __cplusplus
11956 extern "C"
11957 #endif
11958 char esd_open_sound ();
11960 main ()
11962 return esd_open_sound ();
11964 return 0;
11966 _ACEOF
11967 rm -f conftest.$ac_objext conftest$ac_exeext
11968 if { (ac_try="$ac_link"
11969 case "(($ac_try" in
11970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11971 *) ac_try_echo=$ac_try;;
11972 esac
11973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11974 (eval "$ac_link") 2>conftest.er1
11975 ac_status=$?
11976 grep -v '^ *+' conftest.er1 >conftest.err
11977 rm -f conftest.er1
11978 cat conftest.err >&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); } && {
11981 test -z "$ac_c_werror_flag" ||
11982 test ! -s conftest.err
11983 } && test -s conftest$ac_exeext &&
11984 $as_test_x conftest$ac_exeext; then
11985 ac_cv_lib_esd_esd_open_sound=yes
11986 else
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11990 ac_cv_lib_esd_esd_open_sound=no
11993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11997 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11998 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11999 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12000 ESDLIBS=$ESD_LIBS
12002 ESDINCL=$ESD_CFLAGS
12005 cat >>confdefs.h <<\_ACEOF
12006 #define HAVE_ESD 1
12007 _ACEOF
12011 CFLAGS="$save_CFLAGS"
12014 ALSALIBS=""
12016 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12017 then
12018 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12019 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12020 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12022 else
12023 ac_check_lib_save_LIBS=$LIBS
12024 LIBS="-lasound $LIBS"
12025 cat >conftest.$ac_ext <<_ACEOF
12026 /* confdefs.h. */
12027 _ACEOF
12028 cat confdefs.h >>conftest.$ac_ext
12029 cat >>conftest.$ac_ext <<_ACEOF
12030 /* end confdefs.h. */
12032 /* Override any GCC internal prototype to avoid an error.
12033 Use char because int might match the return type of a GCC
12034 builtin and then its argument prototype would still apply. */
12035 #ifdef __cplusplus
12036 extern "C"
12037 #endif
12038 char snd_pcm_hw_params_get_access ();
12040 main ()
12042 return snd_pcm_hw_params_get_access ();
12044 return 0;
12046 _ACEOF
12047 rm -f conftest.$ac_objext conftest$ac_exeext
12048 if { (ac_try="$ac_link"
12049 case "(($ac_try" in
12050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12051 *) ac_try_echo=$ac_try;;
12052 esac
12053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12054 (eval "$ac_link") 2>conftest.er1
12055 ac_status=$?
12056 grep -v '^ *+' conftest.er1 >conftest.err
12057 rm -f conftest.er1
12058 cat conftest.err >&5
12059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12060 (exit $ac_status); } && {
12061 test -z "$ac_c_werror_flag" ||
12062 test ! -s conftest.err
12063 } && test -s conftest$ac_exeext &&
12064 $as_test_x conftest$ac_exeext; then
12065 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12066 else
12067 echo "$as_me: failed program was:" >&5
12068 sed 's/^/| /' conftest.$ac_ext >&5
12070 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12073 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12074 conftest$ac_exeext conftest.$ac_ext
12075 LIBS=$ac_check_lib_save_LIBS
12077 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12078 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12079 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12080 cat >conftest.$ac_ext <<_ACEOF
12081 /* confdefs.h. */
12082 _ACEOF
12083 cat confdefs.h >>conftest.$ac_ext
12084 cat >>conftest.$ac_ext <<_ACEOF
12085 /* end confdefs.h. */
12086 #ifdef HAVE_ALSA_ASOUNDLIB_H
12087 #include <alsa/asoundlib.h>
12088 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12089 #include <sys/asoundlib.h>
12090 #endif
12092 main ()
12094 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12096 return 0;
12098 _ACEOF
12099 rm -f conftest.$ac_objext
12100 if { (ac_try="$ac_compile"
12101 case "(($ac_try" in
12102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12103 *) ac_try_echo=$ac_try;;
12104 esac
12105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12106 (eval "$ac_compile") 2>conftest.er1
12107 ac_status=$?
12108 grep -v '^ *+' conftest.er1 >conftest.err
12109 rm -f conftest.er1
12110 cat conftest.err >&5
12111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12112 (exit $ac_status); } && {
12113 test -z "$ac_c_werror_flag" ||
12114 test ! -s conftest.err
12115 } && test -s conftest.$ac_objext; then
12117 cat >>confdefs.h <<\_ACEOF
12118 #define HAVE_ALSA 1
12119 _ACEOF
12121 ALSALIBS="-lasound"
12122 else
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.$ac_ext >&5
12129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12135 AUDIOIOLIBS=""
12137 if test "$ac_cv_header_libaudioio_h" = "yes"
12138 then
12139 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12140 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12141 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12142 echo $ECHO_N "(cached) $ECHO_C" >&6
12143 else
12144 ac_check_lib_save_LIBS=$LIBS
12145 LIBS="-laudioio $LIBS"
12146 cat >conftest.$ac_ext <<_ACEOF
12147 /* confdefs.h. */
12148 _ACEOF
12149 cat confdefs.h >>conftest.$ac_ext
12150 cat >>conftest.$ac_ext <<_ACEOF
12151 /* end confdefs.h. */
12153 /* Override any GCC internal prototype to avoid an error.
12154 Use char because int might match the return type of a GCC
12155 builtin and then its argument prototype would still apply. */
12156 #ifdef __cplusplus
12157 extern "C"
12158 #endif
12159 char AudioIOGetVersion ();
12161 main ()
12163 return AudioIOGetVersion ();
12165 return 0;
12167 _ACEOF
12168 rm -f conftest.$ac_objext conftest$ac_exeext
12169 if { (ac_try="$ac_link"
12170 case "(($ac_try" in
12171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12172 *) ac_try_echo=$ac_try;;
12173 esac
12174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12175 (eval "$ac_link") 2>conftest.er1
12176 ac_status=$?
12177 grep -v '^ *+' conftest.er1 >conftest.err
12178 rm -f conftest.er1
12179 cat conftest.err >&5
12180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } && {
12182 test -z "$ac_c_werror_flag" ||
12183 test ! -s conftest.err
12184 } && test -s conftest$ac_exeext &&
12185 $as_test_x conftest$ac_exeext; then
12186 ac_cv_lib_audioio_AudioIOGetVersion=yes
12187 else
12188 echo "$as_me: failed program was:" >&5
12189 sed 's/^/| /' conftest.$ac_ext >&5
12191 ac_cv_lib_audioio_AudioIOGetVersion=no
12194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_lib_save_LIBS
12198 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12199 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12200 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12201 AUDIOIOLIBS="-laudioio"
12203 cat >>confdefs.h <<\_ACEOF
12204 #define HAVE_LIBAUDIOIO 1
12205 _ACEOF
12212 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12213 then
12214 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12215 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12216 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12217 echo $ECHO_N "(cached) $ECHO_C" >&6
12218 else
12219 ac_check_lib_save_LIBS=$LIBS
12220 LIBS="-lcapi20 $LIBS"
12221 cat >conftest.$ac_ext <<_ACEOF
12222 /* confdefs.h. */
12223 _ACEOF
12224 cat confdefs.h >>conftest.$ac_ext
12225 cat >>conftest.$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12228 /* Override any GCC internal prototype to avoid an error.
12229 Use char because int might match the return type of a GCC
12230 builtin and then its argument prototype would still apply. */
12231 #ifdef __cplusplus
12232 extern "C"
12233 #endif
12234 char capi20_register ();
12236 main ()
12238 return capi20_register ();
12240 return 0;
12242 _ACEOF
12243 rm -f conftest.$ac_objext conftest$ac_exeext
12244 if { (ac_try="$ac_link"
12245 case "(($ac_try" in
12246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12247 *) ac_try_echo=$ac_try;;
12248 esac
12249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12250 (eval "$ac_link") 2>conftest.er1
12251 ac_status=$?
12252 grep -v '^ *+' conftest.er1 >conftest.err
12253 rm -f conftest.er1
12254 cat conftest.err >&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } && {
12257 test -z "$ac_c_werror_flag" ||
12258 test ! -s conftest.err
12259 } && test -s conftest$ac_exeext &&
12260 $as_test_x conftest$ac_exeext; then
12261 ac_cv_lib_capi20_capi20_register=yes
12262 else
12263 echo "$as_me: failed program was:" >&5
12264 sed 's/^/| /' conftest.$ac_ext >&5
12266 ac_cv_lib_capi20_capi20_register=no
12269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12270 conftest$ac_exeext conftest.$ac_ext
12271 LIBS=$ac_check_lib_save_LIBS
12273 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12274 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12275 if test $ac_cv_lib_capi20_capi20_register = yes; then
12277 cat >>confdefs.h <<\_ACEOF
12278 #define HAVE_CAPI4LINUX 1
12279 _ACEOF
12286 EXTRACFLAGS=""
12288 if test "x${GCC}" = "xyes"
12289 then
12290 EXTRACFLAGS="-Wall -pipe"
12292 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12293 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12294 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12295 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 else
12297 if test "$cross_compiling" = yes; then
12298 ac_cv_c_gcc_strength_bug="yes"
12299 else
12300 cat >conftest.$ac_ext <<_ACEOF
12301 /* confdefs.h. */
12302 _ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12307 int L[4] = {0,1,2,3};
12308 int main(void) {
12309 static int Array[3];
12310 unsigned int B = 3;
12311 int i;
12312 for(i=0; i<B; i++) Array[i] = i - 3;
12313 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12314 L[i] = 4;
12316 exit( Array[1] != -2 || L[2] != 3);
12318 _ACEOF
12319 rm -f conftest$ac_exeext
12320 if { (ac_try="$ac_link"
12321 case "(($ac_try" in
12322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12323 *) ac_try_echo=$ac_try;;
12324 esac
12325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12326 (eval "$ac_link") 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12330 { (case "(($ac_try" in
12331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12332 *) ac_try_echo=$ac_try;;
12333 esac
12334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12335 (eval "$ac_try") 2>&5
12336 ac_status=$?
12337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12338 (exit $ac_status); }; }; then
12339 ac_cv_c_gcc_strength_bug="no"
12340 else
12341 echo "$as_me: program exited with status $ac_status" >&5
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.$ac_ext >&5
12345 ( exit $ac_status )
12346 ac_cv_c_gcc_strength_bug="yes"
12348 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12353 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12354 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12355 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12356 then
12357 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12361 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12362 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12363 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12364 echo $ECHO_N "(cached) $ECHO_C" >&6
12365 else
12366 ac_wine_try_cflags_saved=$CFLAGS
12367 CFLAGS="$CFLAGS -fshort-wchar"
12368 cat >conftest.$ac_ext <<_ACEOF
12369 /* confdefs.h. */
12370 _ACEOF
12371 cat confdefs.h >>conftest.$ac_ext
12372 cat >>conftest.$ac_ext <<_ACEOF
12373 /* end confdefs.h. */
12376 main ()
12380 return 0;
12382 _ACEOF
12383 rm -f conftest.$ac_objext conftest$ac_exeext
12384 if { (ac_try="$ac_link"
12385 case "(($ac_try" in
12386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12387 *) ac_try_echo=$ac_try;;
12388 esac
12389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12390 (eval "$ac_link") 2>conftest.er1
12391 ac_status=$?
12392 grep -v '^ *+' conftest.er1 >conftest.err
12393 rm -f conftest.er1
12394 cat conftest.err >&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); } && {
12397 test -z "$ac_c_werror_flag" ||
12398 test ! -s conftest.err
12399 } && test -s conftest$ac_exeext &&
12400 $as_test_x conftest$ac_exeext; then
12401 ac_cv_cflags__fshort_wchar=yes
12402 else
12403 echo "$as_me: failed program was:" >&5
12404 sed 's/^/| /' conftest.$ac_ext >&5
12406 ac_cv_cflags__fshort_wchar=no
12409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12410 conftest$ac_exeext conftest.$ac_ext
12411 CFLAGS=$ac_wine_try_cflags_saved
12413 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12414 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12415 if test $ac_cv_cflags__fshort_wchar = yes; then
12417 cat >>confdefs.h <<\_ACEOF
12418 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12419 _ACEOF
12423 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12424 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12425 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12427 else
12428 ac_wine_try_cflags_saved=$CFLAGS
12429 CFLAGS="$CFLAGS -fno-strict-aliasing"
12430 cat >conftest.$ac_ext <<_ACEOF
12431 /* confdefs.h. */
12432 _ACEOF
12433 cat confdefs.h >>conftest.$ac_ext
12434 cat >>conftest.$ac_ext <<_ACEOF
12435 /* end confdefs.h. */
12438 main ()
12442 return 0;
12444 _ACEOF
12445 rm -f conftest.$ac_objext conftest$ac_exeext
12446 if { (ac_try="$ac_link"
12447 case "(($ac_try" in
12448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12449 *) ac_try_echo=$ac_try;;
12450 esac
12451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12452 (eval "$ac_link") 2>conftest.er1
12453 ac_status=$?
12454 grep -v '^ *+' conftest.er1 >conftest.err
12455 rm -f conftest.er1
12456 cat conftest.err >&5
12457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12458 (exit $ac_status); } && {
12459 test -z "$ac_c_werror_flag" ||
12460 test ! -s conftest.err
12461 } && test -s conftest$ac_exeext &&
12462 $as_test_x conftest$ac_exeext; then
12463 ac_cv_cflags__fno_strict_aliasing=yes
12464 else
12465 echo "$as_me: failed program was:" >&5
12466 sed 's/^/| /' conftest.$ac_ext >&5
12468 ac_cv_cflags__fno_strict_aliasing=no
12471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12472 conftest$ac_exeext conftest.$ac_ext
12473 CFLAGS=$ac_wine_try_cflags_saved
12475 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12476 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12477 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12478 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12481 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12482 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12483 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12484 echo $ECHO_N "(cached) $ECHO_C" >&6
12485 else
12486 ac_wine_try_cflags_saved=$CFLAGS
12487 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
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. */
12496 main ()
12500 return 0;
12502 _ACEOF
12503 rm -f conftest.$ac_objext conftest$ac_exeext
12504 if { (ac_try="$ac_link"
12505 case "(($ac_try" in
12506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12507 *) ac_try_echo=$ac_try;;
12508 esac
12509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12510 (eval "$ac_link") 2>conftest.er1
12511 ac_status=$?
12512 grep -v '^ *+' conftest.er1 >conftest.err
12513 rm -f conftest.er1
12514 cat conftest.err >&5
12515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12516 (exit $ac_status); } && {
12517 test -z "$ac_c_werror_flag" ||
12518 test ! -s conftest.err
12519 } && test -s conftest$ac_exeext &&
12520 $as_test_x conftest$ac_exeext; then
12521 ac_cv_cflags__Wdeclaration_after_statement=yes
12522 else
12523 echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.$ac_ext >&5
12526 ac_cv_cflags__Wdeclaration_after_statement=no
12529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12530 conftest$ac_exeext conftest.$ac_ext
12531 CFLAGS=$ac_wine_try_cflags_saved
12533 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12534 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12535 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12536 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12539 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12540 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12541 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12542 echo $ECHO_N "(cached) $ECHO_C" >&6
12543 else
12544 ac_wine_try_cflags_saved=$CFLAGS
12545 CFLAGS="$CFLAGS -Wwrite-strings"
12546 cat >conftest.$ac_ext <<_ACEOF
12547 /* confdefs.h. */
12548 _ACEOF
12549 cat confdefs.h >>conftest.$ac_ext
12550 cat >>conftest.$ac_ext <<_ACEOF
12551 /* end confdefs.h. */
12554 main ()
12558 return 0;
12560 _ACEOF
12561 rm -f conftest.$ac_objext conftest$ac_exeext
12562 if { (ac_try="$ac_link"
12563 case "(($ac_try" in
12564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12565 *) ac_try_echo=$ac_try;;
12566 esac
12567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12568 (eval "$ac_link") 2>conftest.er1
12569 ac_status=$?
12570 grep -v '^ *+' conftest.er1 >conftest.err
12571 rm -f conftest.er1
12572 cat conftest.err >&5
12573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12574 (exit $ac_status); } && {
12575 test -z "$ac_c_werror_flag" ||
12576 test ! -s conftest.err
12577 } && test -s conftest$ac_exeext &&
12578 $as_test_x conftest$ac_exeext; then
12579 ac_cv_cflags__Wwrite_strings=yes
12580 else
12581 echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12584 ac_cv_cflags__Wwrite_strings=no
12587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12588 conftest$ac_exeext conftest.$ac_ext
12589 CFLAGS=$ac_wine_try_cflags_saved
12591 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12592 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12593 if test $ac_cv_cflags__Wwrite_strings = yes; then
12594 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12598 saved_CFLAGS="$CFLAGS"
12599 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12600 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12601 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12602 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12603 echo $ECHO_N "(cached) $ECHO_C" >&6
12604 else
12605 cat >conftest.$ac_ext <<_ACEOF
12606 /* confdefs.h. */
12607 _ACEOF
12608 cat confdefs.h >>conftest.$ac_ext
12609 cat >>conftest.$ac_ext <<_ACEOF
12610 /* end confdefs.h. */
12611 #include <string.h>
12613 main ()
12617 return 0;
12619 _ACEOF
12620 rm -f conftest.$ac_objext
12621 if { (ac_try="$ac_compile"
12622 case "(($ac_try" in
12623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12624 *) ac_try_echo=$ac_try;;
12625 esac
12626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12627 (eval "$ac_compile") 2>conftest.er1
12628 ac_status=$?
12629 grep -v '^ *+' conftest.er1 >conftest.err
12630 rm -f conftest.er1
12631 cat conftest.err >&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); } && {
12634 test -z "$ac_c_werror_flag" ||
12635 test ! -s conftest.err
12636 } && test -s conftest.$ac_objext; then
12637 ac_cv_c_string_h_warnings=no
12638 else
12639 echo "$as_me: failed program was:" >&5
12640 sed 's/^/| /' conftest.$ac_ext >&5
12642 ac_cv_c_string_h_warnings=yes
12645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12647 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12648 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12649 CFLAGS="$saved_CFLAGS"
12650 if test "$ac_cv_c_string_h_warnings" = "no"
12651 then
12652 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12655 BUILTINFLAG=""
12657 saved_CFLAGS="$CFLAGS"
12658 CFLAGS="$CFLAGS -Werror"
12659 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12660 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12661 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12662 echo $ECHO_N "(cached) $ECHO_C" >&6
12663 else
12664 cat >conftest.$ac_ext <<_ACEOF
12665 /* confdefs.h. */
12666 _ACEOF
12667 cat confdefs.h >>conftest.$ac_ext
12668 cat >>conftest.$ac_ext <<_ACEOF
12669 /* end confdefs.h. */
12672 main ()
12674 int iswlower(unsigned short);
12676 return 0;
12678 _ACEOF
12679 rm -f conftest.$ac_objext
12680 if { (ac_try="$ac_compile"
12681 case "(($ac_try" in
12682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12683 *) ac_try_echo=$ac_try;;
12684 esac
12685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12686 (eval "$ac_compile") 2>conftest.er1
12687 ac_status=$?
12688 grep -v '^ *+' conftest.er1 >conftest.err
12689 rm -f conftest.er1
12690 cat conftest.err >&5
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); } && {
12693 test -z "$ac_c_werror_flag" ||
12694 test ! -s conftest.err
12695 } && test -s conftest.$ac_objext; then
12696 ac_cv_c_builtin_wchar_ctype=no
12697 else
12698 echo "$as_me: failed program was:" >&5
12699 sed 's/^/| /' conftest.$ac_ext >&5
12701 ac_cv_c_builtin_wchar_ctype=yes
12704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12706 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12707 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12708 CFLAGS="$saved_CFLAGS"
12709 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12710 then
12711 BUILTINFLAG="-fno-builtin"
12716 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12717 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12718 if test "${ac_cv_asm_func_def+set}" = set; then
12719 echo $ECHO_N "(cached) $ECHO_C" >&6
12720 else
12721 cat >conftest.$ac_ext <<_ACEOF
12722 /* confdefs.h. */
12723 _ACEOF
12724 cat confdefs.h >>conftest.$ac_ext
12725 cat >>conftest.$ac_ext <<_ACEOF
12726 /* end confdefs.h. */
12727 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"); }
12730 main ()
12734 return 0;
12736 _ACEOF
12737 rm -f conftest.$ac_objext conftest$ac_exeext
12738 if { (ac_try="$ac_link"
12739 case "(($ac_try" in
12740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12741 *) ac_try_echo=$ac_try;;
12742 esac
12743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12744 (eval "$ac_link") 2>conftest.er1
12745 ac_status=$?
12746 grep -v '^ *+' conftest.er1 >conftest.err
12747 rm -f conftest.er1
12748 cat conftest.err >&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); } && {
12751 test -z "$ac_c_werror_flag" ||
12752 test ! -s conftest.err
12753 } && test -s conftest$ac_exeext &&
12754 $as_test_x conftest$ac_exeext; then
12755 ac_cv_asm_func_def=".def"
12756 else
12757 echo "$as_me: failed program was:" >&5
12758 sed 's/^/| /' conftest.$ac_ext >&5
12760 cat >conftest.$ac_ext <<_ACEOF
12761 /* confdefs.h. */
12762 _ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12769 main ()
12773 return 0;
12775 _ACEOF
12776 rm -f conftest.$ac_objext conftest$ac_exeext
12777 if { (ac_try="$ac_link"
12778 case "(($ac_try" in
12779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12780 *) ac_try_echo=$ac_try;;
12781 esac
12782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12783 (eval "$ac_link") 2>conftest.er1
12784 ac_status=$?
12785 grep -v '^ *+' conftest.er1 >conftest.err
12786 rm -f conftest.er1
12787 cat conftest.err >&5
12788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12789 (exit $ac_status); } && {
12790 test -z "$ac_c_werror_flag" ||
12791 test ! -s conftest.err
12792 } && test -s conftest$ac_exeext &&
12793 $as_test_x conftest$ac_exeext; then
12794 ac_cv_asm_func_def=".type @function"
12795 else
12796 echo "$as_me: failed program was:" >&5
12797 sed 's/^/| /' conftest.$ac_ext >&5
12799 cat >conftest.$ac_ext <<_ACEOF
12800 /* confdefs.h. */
12801 _ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12808 main ()
12812 return 0;
12814 _ACEOF
12815 rm -f conftest.$ac_objext conftest$ac_exeext
12816 if { (ac_try="$ac_link"
12817 case "(($ac_try" in
12818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12819 *) ac_try_echo=$ac_try;;
12820 esac
12821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12822 (eval "$ac_link") 2>conftest.er1
12823 ac_status=$?
12824 grep -v '^ *+' conftest.er1 >conftest.err
12825 rm -f conftest.er1
12826 cat conftest.err >&5
12827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828 (exit $ac_status); } && {
12829 test -z "$ac_c_werror_flag" ||
12830 test ! -s conftest.err
12831 } && test -s conftest$ac_exeext &&
12832 $as_test_x conftest$ac_exeext; then
12833 ac_cv_asm_func_def=".type 2"
12834 else
12835 echo "$as_me: failed program was:" >&5
12836 sed 's/^/| /' conftest.$ac_ext >&5
12838 ac_cv_asm_func_def="unknown"
12841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12842 conftest$ac_exeext conftest.$ac_ext
12845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12846 conftest$ac_exeext conftest.$ac_ext
12849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12850 conftest$ac_exeext conftest.$ac_ext
12852 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12853 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12857 case "$ac_cv_asm_func_def" in
12858 ".def")
12859 cat >>confdefs.h <<\_ACEOF
12860 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12861 _ACEOF
12863 ".type @function")
12864 cat >>confdefs.h <<\_ACEOF
12865 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12866 _ACEOF
12868 ".type 2")
12869 cat >>confdefs.h <<\_ACEOF
12870 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12871 _ACEOF
12874 cat >>confdefs.h <<\_ACEOF
12875 #define __ASM_FUNC(name) ""
12876 _ACEOF
12878 esac
12881 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12882 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12883 if test "${ac_cv_c_extern_prefix+set}" = set; then
12884 echo $ECHO_N "(cached) $ECHO_C" >&6
12885 else
12886 cat >conftest.$ac_ext <<_ACEOF
12887 /* confdefs.h. */
12888 _ACEOF
12889 cat confdefs.h >>conftest.$ac_ext
12890 cat >>conftest.$ac_ext <<_ACEOF
12891 /* end confdefs.h. */
12892 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12893 extern int ac_test;
12895 main ()
12897 if (ac_test) return 1
12899 return 0;
12901 _ACEOF
12902 rm -f conftest.$ac_objext conftest$ac_exeext
12903 if { (ac_try="$ac_link"
12904 case "(($ac_try" in
12905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12906 *) ac_try_echo=$ac_try;;
12907 esac
12908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12909 (eval "$ac_link") 2>conftest.er1
12910 ac_status=$?
12911 grep -v '^ *+' conftest.er1 >conftest.err
12912 rm -f conftest.er1
12913 cat conftest.err >&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } && {
12916 test -z "$ac_c_werror_flag" ||
12917 test ! -s conftest.err
12918 } && test -s conftest$ac_exeext &&
12919 $as_test_x conftest$ac_exeext; then
12920 ac_cv_c_extern_prefix="yes"
12921 else
12922 echo "$as_me: failed program was:" >&5
12923 sed 's/^/| /' conftest.$ac_ext >&5
12925 ac_cv_c_extern_prefix="no"
12928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12929 conftest$ac_exeext conftest.$ac_ext
12931 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12932 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12936 if test "$ac_cv_c_extern_prefix" = "yes"
12937 then
12938 cat >>confdefs.h <<\_ACEOF
12939 #define __ASM_NAME(name) "_" name
12940 _ACEOF
12942 else
12943 cat >>confdefs.h <<\_ACEOF
12944 #define __ASM_NAME(name) name
12945 _ACEOF
12950 DLLEXT=""
12952 DLLFLAGS="-D_REENTRANT"
12954 LDSHARED=""
12956 LDDLLFLAGS=""
12958 LIBEXT="so"
12960 IMPLIBEXT="def"
12962 LIBWINE_LDFLAGS=""
12965 case $host_os in
12966 cygwin*|mingw32*)
12967 if test -n "$ac_tool_prefix"; then
12968 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12969 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12970 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12972 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12973 echo $ECHO_N "(cached) $ECHO_C" >&6
12974 else
12975 if test -n "$DLLTOOL"; then
12976 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12977 else
12978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12979 for as_dir in $PATH
12981 IFS=$as_save_IFS
12982 test -z "$as_dir" && as_dir=.
12983 for ac_exec_ext in '' $ac_executable_extensions; do
12984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12985 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12986 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12987 break 2
12989 done
12990 done
12991 IFS=$as_save_IFS
12995 DLLTOOL=$ac_cv_prog_DLLTOOL
12996 if test -n "$DLLTOOL"; then
12997 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12998 echo "${ECHO_T}$DLLTOOL" >&6; }
12999 else
13000 { echo "$as_me:$LINENO: result: no" >&5
13001 echo "${ECHO_T}no" >&6; }
13006 if test -z "$ac_cv_prog_DLLTOOL"; then
13007 ac_ct_DLLTOOL=$DLLTOOL
13008 # Extract the first word of "dlltool", so it can be a program name with args.
13009 set dummy dlltool; ac_word=$2
13010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13012 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13013 echo $ECHO_N "(cached) $ECHO_C" >&6
13014 else
13015 if test -n "$ac_ct_DLLTOOL"; then
13016 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13017 else
13018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13019 for as_dir in $PATH
13021 IFS=$as_save_IFS
13022 test -z "$as_dir" && as_dir=.
13023 for ac_exec_ext in '' $ac_executable_extensions; do
13024 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13025 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13026 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13027 break 2
13029 done
13030 done
13031 IFS=$as_save_IFS
13035 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13036 if test -n "$ac_ct_DLLTOOL"; then
13037 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13038 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13039 else
13040 { echo "$as_me:$LINENO: result: no" >&5
13041 echo "${ECHO_T}no" >&6; }
13044 if test "x$ac_ct_DLLTOOL" = x; then
13045 DLLTOOL="false"
13046 else
13047 case $cross_compiling:$ac_tool_warned in
13048 yes:)
13049 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13050 whose name does not start with the host triplet. If you think this
13051 configuration is useful to you, please write to autoconf@gnu.org." >&5
13052 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13053 whose name does not start with the host triplet. If you think this
13054 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13055 ac_tool_warned=yes ;;
13056 esac
13057 DLLTOOL=$ac_ct_DLLTOOL
13059 else
13060 DLLTOOL="$ac_cv_prog_DLLTOOL"
13063 if test -n "$ac_tool_prefix"; then
13064 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13065 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13066 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13067 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13068 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13070 else
13071 if test -n "$DLLWRAP"; then
13072 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13073 else
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13077 IFS=$as_save_IFS
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13083 break 2
13085 done
13086 done
13087 IFS=$as_save_IFS
13091 DLLWRAP=$ac_cv_prog_DLLWRAP
13092 if test -n "$DLLWRAP"; then
13093 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13094 echo "${ECHO_T}$DLLWRAP" >&6; }
13095 else
13096 { echo "$as_me:$LINENO: result: no" >&5
13097 echo "${ECHO_T}no" >&6; }
13102 if test -z "$ac_cv_prog_DLLWRAP"; then
13103 ac_ct_DLLWRAP=$DLLWRAP
13104 # Extract the first word of "dllwrap", so it can be a program name with args.
13105 set dummy dllwrap; ac_word=$2
13106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13108 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13110 else
13111 if test -n "$ac_ct_DLLWRAP"; then
13112 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13113 else
13114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13115 for as_dir in $PATH
13117 IFS=$as_save_IFS
13118 test -z "$as_dir" && as_dir=.
13119 for ac_exec_ext in '' $ac_executable_extensions; do
13120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13121 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13123 break 2
13125 done
13126 done
13127 IFS=$as_save_IFS
13131 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13132 if test -n "$ac_ct_DLLWRAP"; then
13133 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13134 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13135 else
13136 { echo "$as_me:$LINENO: result: no" >&5
13137 echo "${ECHO_T}no" >&6; }
13140 if test "x$ac_ct_DLLWRAP" = x; then
13141 DLLWRAP="false"
13142 else
13143 case $cross_compiling:$ac_tool_warned in
13144 yes:)
13145 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13146 whose name does not start with the host triplet. If you think this
13147 configuration is useful to you, please write to autoconf@gnu.org." >&5
13148 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13149 whose name does not start with the host triplet. If you think this
13150 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13151 ac_tool_warned=yes ;;
13152 esac
13153 DLLWRAP=$ac_ct_DLLWRAP
13155 else
13156 DLLWRAP="$ac_cv_prog_DLLWRAP"
13159 if test -n "$ac_tool_prefix"; then
13160 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13161 set dummy ${ac_tool_prefix}ar; ac_word=$2
13162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13164 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13166 else
13167 if test -n "$MINGWAR"; then
13168 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13169 else
13170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13171 for as_dir in $PATH
13173 IFS=$as_save_IFS
13174 test -z "$as_dir" && as_dir=.
13175 for ac_exec_ext in '' $ac_executable_extensions; do
13176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13177 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13179 break 2
13181 done
13182 done
13183 IFS=$as_save_IFS
13187 MINGWAR=$ac_cv_prog_MINGWAR
13188 if test -n "$MINGWAR"; then
13189 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13190 echo "${ECHO_T}$MINGWAR" >&6; }
13191 else
13192 { echo "$as_me:$LINENO: result: no" >&5
13193 echo "${ECHO_T}no" >&6; }
13198 if test -z "$ac_cv_prog_MINGWAR"; then
13199 ac_ct_MINGWAR=$MINGWAR
13200 # Extract the first word of "ar", so it can be a program name with args.
13201 set dummy ar; ac_word=$2
13202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13204 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13205 echo $ECHO_N "(cached) $ECHO_C" >&6
13206 else
13207 if test -n "$ac_ct_MINGWAR"; then
13208 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13209 else
13210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13211 for as_dir in $PATH
13213 IFS=$as_save_IFS
13214 test -z "$as_dir" && as_dir=.
13215 for ac_exec_ext in '' $ac_executable_extensions; do
13216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13217 ac_cv_prog_ac_ct_MINGWAR="ar"
13218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13219 break 2
13221 done
13222 done
13223 IFS=$as_save_IFS
13227 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13228 if test -n "$ac_ct_MINGWAR"; then
13229 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13230 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13231 else
13232 { echo "$as_me:$LINENO: result: no" >&5
13233 echo "${ECHO_T}no" >&6; }
13236 if test "x$ac_ct_MINGWAR" = x; then
13237 MINGWAR="false"
13238 else
13239 case $cross_compiling:$ac_tool_warned in
13240 yes:)
13241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13242 whose name does not start with the host triplet. If you think this
13243 configuration is useful to you, please write to autoconf@gnu.org." >&5
13244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13245 whose name does not start with the host triplet. If you think this
13246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13247 ac_tool_warned=yes ;;
13248 esac
13249 MINGWAR=$ac_ct_MINGWAR
13251 else
13252 MINGWAR="$ac_cv_prog_MINGWAR"
13255 if test "$DLLWRAP" = "false"; then
13256 LIBEXT="a"
13257 else
13258 LIBEXT="dll"
13260 IMPLIBEXT="a"
13261 WIN16_FILES=""
13262 WIN16_INSTALL=""
13264 darwin*|macosx*)
13265 DLLEXT=".so"
13266 LIBEXT="dylib"
13267 DLLFLAGS="$DLLFLAGS -fPIC"
13268 LDDLLFLAGS="-bundle -multiply_defined suppress"
13269 LIBWINE_LDFLAGS="-multiply_defined suppress"
13270 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13271 STRIP="$STRIP -u -r"
13272 COREFOUNDATIONLIB="-framework CoreFoundation"
13274 IOKITLIB="-framework IOKit -framework CoreFoundation"
13276 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13278 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13279 then
13280 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13283 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13284 then
13285 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13288 case $host_cpu in
13289 *powerpc*)
13290 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13291 esac
13292 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13293 then
13294 CARBONLIB="-framework Carbon"
13296 QUARTZFILES='$(QUARTZFILES)'
13300 DLLFLAGS="$DLLFLAGS -fPIC"
13301 DLLEXT=".so"
13302 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13303 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13304 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13305 echo $ECHO_N "(cached) $ECHO_C" >&6
13306 else
13307 ac_wine_try_cflags_saved=$CFLAGS
13308 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13309 cat >conftest.$ac_ext <<_ACEOF
13310 void myfunc() {}
13311 _ACEOF
13312 rm -f conftest.$ac_objext conftest$ac_exeext
13313 if { (ac_try="$ac_link"
13314 case "(($ac_try" in
13315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13316 *) ac_try_echo=$ac_try;;
13317 esac
13318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13319 (eval "$ac_link") 2>conftest.er1
13320 ac_status=$?
13321 grep -v '^ *+' conftest.er1 >conftest.err
13322 rm -f conftest.er1
13323 cat conftest.err >&5
13324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13325 (exit $ac_status); } && {
13326 test -z "$ac_c_werror_flag" ||
13327 test ! -s conftest.err
13328 } && test -s conftest$ac_exeext &&
13329 $as_test_x conftest$ac_exeext; then
13330 ac_cv_c_dll_gnuelf="yes"
13331 else
13332 echo "$as_me: failed program was:" >&5
13333 sed 's/^/| /' conftest.$ac_ext >&5
13335 ac_cv_c_dll_gnuelf="no"
13338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13339 conftest$ac_exeext conftest.$ac_ext
13340 CFLAGS=$ac_wine_try_cflags_saved
13342 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13343 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13344 if test "$ac_cv_c_dll_gnuelf" = "yes"
13345 then
13346 LDSHARED="\$(CC) -shared"
13347 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13348 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13349 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13350 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13351 echo $ECHO_N "(cached) $ECHO_C" >&6
13352 else
13353 ac_wine_try_cflags_saved=$CFLAGS
13354 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13355 cat >conftest.$ac_ext <<_ACEOF
13356 /* confdefs.h. */
13357 _ACEOF
13358 cat confdefs.h >>conftest.$ac_ext
13359 cat >>conftest.$ac_ext <<_ACEOF
13360 /* end confdefs.h. */
13363 main ()
13367 return 0;
13369 _ACEOF
13370 rm -f conftest.$ac_objext conftest$ac_exeext
13371 if { (ac_try="$ac_link"
13372 case "(($ac_try" in
13373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13374 *) ac_try_echo=$ac_try;;
13375 esac
13376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13377 (eval "$ac_link") 2>conftest.er1
13378 ac_status=$?
13379 grep -v '^ *+' conftest.er1 >conftest.err
13380 rm -f conftest.er1
13381 cat conftest.err >&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); } && {
13384 test -z "$ac_c_werror_flag" ||
13385 test ! -s conftest.err
13386 } && test -s conftest$ac_exeext &&
13387 $as_test_x conftest$ac_exeext; then
13388 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13389 else
13390 echo "$as_me: failed program was:" >&5
13391 sed 's/^/| /' conftest.$ac_ext >&5
13393 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13396 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13397 conftest$ac_exeext conftest.$ac_ext
13398 CFLAGS=$ac_wine_try_cflags_saved
13400 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13401 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13402 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13403 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13404 else
13405 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13406 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13407 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 else
13410 ac_wine_try_cflags_saved=$CFLAGS
13411 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13412 cat >conftest.$ac_ext <<_ACEOF
13413 /* confdefs.h. */
13414 _ACEOF
13415 cat confdefs.h >>conftest.$ac_ext
13416 cat >>conftest.$ac_ext <<_ACEOF
13417 /* end confdefs.h. */
13420 main ()
13424 return 0;
13426 _ACEOF
13427 rm -f conftest.$ac_objext conftest$ac_exeext
13428 if { (ac_try="$ac_link"
13429 case "(($ac_try" in
13430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13431 *) ac_try_echo=$ac_try;;
13432 esac
13433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13434 (eval "$ac_link") 2>conftest.er1
13435 ac_status=$?
13436 grep -v '^ *+' conftest.er1 >conftest.err
13437 rm -f conftest.er1
13438 cat conftest.err >&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } && {
13441 test -z "$ac_c_werror_flag" ||
13442 test ! -s conftest.err
13443 } && test -s conftest$ac_exeext &&
13444 $as_test_x conftest$ac_exeext; then
13445 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13446 else
13447 echo "$as_me: failed program was:" >&5
13448 sed 's/^/| /' conftest.$ac_ext >&5
13450 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13454 conftest$ac_exeext conftest.$ac_ext
13455 CFLAGS=$ac_wine_try_cflags_saved
13457 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13458 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13459 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13460 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13466 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13467 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13468 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13469 echo $ECHO_N "(cached) $ECHO_C" >&6
13470 else
13471 ac_wine_try_cflags_saved=$CFLAGS
13472 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13473 cat >conftest.$ac_ext <<_ACEOF
13474 /* confdefs.h. */
13475 _ACEOF
13476 cat confdefs.h >>conftest.$ac_ext
13477 cat >>conftest.$ac_ext <<_ACEOF
13478 /* end confdefs.h. */
13481 main ()
13485 return 0;
13487 _ACEOF
13488 rm -f conftest.$ac_objext conftest$ac_exeext
13489 if { (ac_try="$ac_link"
13490 case "(($ac_try" in
13491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13492 *) ac_try_echo=$ac_try;;
13493 esac
13494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13495 (eval "$ac_link") 2>conftest.er1
13496 ac_status=$?
13497 grep -v '^ *+' conftest.er1 >conftest.err
13498 rm -f conftest.er1
13499 cat conftest.err >&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); } && {
13502 test -z "$ac_c_werror_flag" ||
13503 test ! -s conftest.err
13504 } && test -s conftest$ac_exeext &&
13505 $as_test_x conftest$ac_exeext; then
13506 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13507 else
13508 echo "$as_me: failed program was:" >&5
13509 sed 's/^/| /' conftest.$ac_ext >&5
13511 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13515 conftest$ac_exeext conftest.$ac_ext
13516 CFLAGS=$ac_wine_try_cflags_saved
13518 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13519 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13520 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13521 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13525 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13526 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13527 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13528 echo $ECHO_N "(cached) $ECHO_C" >&6
13529 else
13530 ac_wine_try_cflags_saved=$CFLAGS
13531 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13532 cat >conftest.$ac_ext <<_ACEOF
13533 /* confdefs.h. */
13534 _ACEOF
13535 cat confdefs.h >>conftest.$ac_ext
13536 cat >>conftest.$ac_ext <<_ACEOF
13537 /* end confdefs.h. */
13540 main ()
13544 return 0;
13546 _ACEOF
13547 rm -f conftest.$ac_objext conftest$ac_exeext
13548 if { (ac_try="$ac_link"
13549 case "(($ac_try" in
13550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13551 *) ac_try_echo=$ac_try;;
13552 esac
13553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13554 (eval "$ac_link") 2>conftest.er1
13555 ac_status=$?
13556 grep -v '^ *+' conftest.er1 >conftest.err
13557 rm -f conftest.er1
13558 cat conftest.err >&5
13559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13560 (exit $ac_status); } && {
13561 test -z "$ac_c_werror_flag" ||
13562 test ! -s conftest.err
13563 } && test -s conftest$ac_exeext &&
13564 $as_test_x conftest$ac_exeext; then
13565 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13566 else
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13570 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13573 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13574 conftest$ac_exeext conftest.$ac_ext
13575 CFLAGS=$ac_wine_try_cflags_saved
13577 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13578 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13579 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13580 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13584 echo '{ global: *; };' >conftest.map
13585 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13586 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13587 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13588 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 else
13590 ac_wine_try_cflags_saved=$CFLAGS
13591 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13600 main ()
13604 return 0;
13606 _ACEOF
13607 rm -f conftest.$ac_objext conftest$ac_exeext
13608 if { (ac_try="$ac_link"
13609 case "(($ac_try" in
13610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13611 *) ac_try_echo=$ac_try;;
13612 esac
13613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13614 (eval "$ac_link") 2>conftest.er1
13615 ac_status=$?
13616 grep -v '^ *+' conftest.er1 >conftest.err
13617 rm -f conftest.er1
13618 cat conftest.err >&5
13619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13620 (exit $ac_status); } && {
13621 test -z "$ac_c_werror_flag" ||
13622 test ! -s conftest.err
13623 } && test -s conftest$ac_exeext &&
13624 $as_test_x conftest$ac_exeext; then
13625 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13626 else
13627 echo "$as_me: failed program was:" >&5
13628 sed 's/^/| /' conftest.$ac_ext >&5
13630 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13634 conftest$ac_exeext conftest.$ac_ext
13635 CFLAGS=$ac_wine_try_cflags_saved
13637 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13638 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13639 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13640 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13643 rm -f conftest.map
13645 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13646 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13647 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13648 echo $ECHO_N "(cached) $ECHO_C" >&6
13649 else
13650 ac_wine_try_cflags_saved=$CFLAGS
13651 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13660 main ()
13664 return 0;
13666 _ACEOF
13667 rm -f conftest.$ac_objext conftest$ac_exeext
13668 if { (ac_try="$ac_link"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13672 esac
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_link") 2>conftest.er1
13675 ac_status=$?
13676 grep -v '^ *+' conftest.er1 >conftest.err
13677 rm -f conftest.er1
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest$ac_exeext &&
13684 $as_test_x conftest$ac_exeext; then
13685 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13686 else
13687 echo "$as_me: failed program was:" >&5
13688 sed 's/^/| /' conftest.$ac_ext >&5
13690 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13693 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13694 conftest$ac_exeext conftest.$ac_ext
13695 CFLAGS=$ac_wine_try_cflags_saved
13697 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13698 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13699 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13700 LDEXECFLAGS="-Wl,--export-dynamic"
13705 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13706 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13707 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13708 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13709 echo $ECHO_N "(cached) $ECHO_C" >&6
13710 else
13711 ac_wine_try_cflags_saved=$CFLAGS
13712 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13713 cat >conftest.$ac_ext <<_ACEOF
13714 /* confdefs.h. */
13715 _ACEOF
13716 cat confdefs.h >>conftest.$ac_ext
13717 cat >>conftest.$ac_ext <<_ACEOF
13718 /* end confdefs.h. */
13721 main ()
13725 return 0;
13727 _ACEOF
13728 rm -f conftest.$ac_objext conftest$ac_exeext
13729 if { (ac_try="$ac_link"
13730 case "(($ac_try" in
13731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13732 *) ac_try_echo=$ac_try;;
13733 esac
13734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13735 (eval "$ac_link") 2>conftest.er1
13736 ac_status=$?
13737 grep -v '^ *+' conftest.er1 >conftest.err
13738 rm -f conftest.er1
13739 cat conftest.err >&5
13740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13741 (exit $ac_status); } && {
13742 test -z "$ac_c_werror_flag" ||
13743 test ! -s conftest.err
13744 } && test -s conftest$ac_exeext &&
13745 $as_test_x conftest$ac_exeext; then
13746 eval "$as_ac_var=yes"
13747 else
13748 echo "$as_me: failed program was:" >&5
13749 sed 's/^/| /' conftest.$ac_ext >&5
13751 eval "$as_ac_var=no"
13754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13755 conftest$ac_exeext conftest.$ac_ext
13756 CFLAGS=$ac_wine_try_cflags_saved
13758 ac_res=`eval echo '${'$as_ac_var'}'`
13759 { echo "$as_me:$LINENO: result: $ac_res" >&5
13760 echo "${ECHO_T}$ac_res" >&6; }
13761 if test `eval echo '${'$as_ac_var'}'` = yes; then
13762 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13766 case $host_cpu in
13767 *i[3456789]86* | x86_64)
13768 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13769 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13770 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13771 echo $ECHO_N "(cached) $ECHO_C" >&6
13772 else
13773 ac_wine_try_cflags_saved=$CFLAGS
13774 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13775 cat >conftest.$ac_ext <<_ACEOF
13776 /* confdefs.h. */
13777 _ACEOF
13778 cat confdefs.h >>conftest.$ac_ext
13779 cat >>conftest.$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13783 main ()
13787 return 0;
13789 _ACEOF
13790 rm -f conftest.$ac_objext conftest$ac_exeext
13791 if { (ac_try="$ac_link"
13792 case "(($ac_try" in
13793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13794 *) ac_try_echo=$ac_try;;
13795 esac
13796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13797 (eval "$ac_link") 2>conftest.er1
13798 ac_status=$?
13799 grep -v '^ *+' conftest.er1 >conftest.err
13800 rm -f conftest.er1
13801 cat conftest.err >&5
13802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13803 (exit $ac_status); } && {
13804 test -z "$ac_c_werror_flag" ||
13805 test ! -s conftest.err
13806 } && test -s conftest$ac_exeext &&
13807 $as_test_x conftest$ac_exeext; then
13808 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13809 else
13810 echo "$as_me: failed program was:" >&5
13811 sed 's/^/| /' conftest.$ac_ext >&5
13813 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13817 conftest$ac_exeext conftest.$ac_ext
13818 CFLAGS=$ac_wine_try_cflags_saved
13820 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13821 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13822 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13823 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13827 esac
13829 else
13830 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13831 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13832 if test "${ac_cv_c_dll_unixware+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 else
13835 ac_wine_try_cflags_saved=$CFLAGS
13836 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13837 cat >conftest.$ac_ext <<_ACEOF
13838 void myfunc() {}
13839 _ACEOF
13840 rm -f conftest.$ac_objext conftest$ac_exeext
13841 if { (ac_try="$ac_link"
13842 case "(($ac_try" in
13843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13844 *) ac_try_echo=$ac_try;;
13845 esac
13846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13847 (eval "$ac_link") 2>conftest.er1
13848 ac_status=$?
13849 grep -v '^ *+' conftest.er1 >conftest.err
13850 rm -f conftest.er1
13851 cat conftest.err >&5
13852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13853 (exit $ac_status); } && {
13854 test -z "$ac_c_werror_flag" ||
13855 test ! -s conftest.err
13856 } && test -s conftest$ac_exeext &&
13857 $as_test_x conftest$ac_exeext; then
13858 ac_cv_c_dll_unixware="yes"
13859 else
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.$ac_ext >&5
13863 ac_cv_c_dll_unixware="no"
13866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13867 conftest$ac_exeext conftest.$ac_ext
13868 CFLAGS=$ac_wine_try_cflags_saved
13870 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13871 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13872 if test "$ac_cv_c_dll_unixware" = "yes"
13873 then
13874 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13875 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13877 else
13878 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13879 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13880 if test "${ac_cv_c_dll_hpux+set}" = set; then
13881 echo $ECHO_N "(cached) $ECHO_C" >&6
13882 else
13883 ac_wine_try_cflags_saved=$CFLAGS
13884 CFLAGS="$CFLAGS -shared"
13885 cat >conftest.$ac_ext <<_ACEOF
13886 void myfunc() {}
13887 _ACEOF
13888 rm -f conftest.$ac_objext conftest$ac_exeext
13889 if { (ac_try="$ac_link"
13890 case "(($ac_try" in
13891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13892 *) ac_try_echo=$ac_try;;
13893 esac
13894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13895 (eval "$ac_link") 2>conftest.er1
13896 ac_status=$?
13897 grep -v '^ *+' conftest.er1 >conftest.err
13898 rm -f conftest.er1
13899 cat conftest.err >&5
13900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13901 (exit $ac_status); } && {
13902 test -z "$ac_c_werror_flag" ||
13903 test ! -s conftest.err
13904 } && test -s conftest$ac_exeext &&
13905 $as_test_x conftest$ac_exeext; then
13906 ac_cv_c_dll_hpux="yes"
13907 else
13908 echo "$as_me: failed program was:" >&5
13909 sed 's/^/| /' conftest.$ac_ext >&5
13911 ac_cv_c_dll_hpux="no"
13914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13915 conftest$ac_exeext conftest.$ac_ext
13916 CFLAGS=$ac_wine_try_cflags_saved
13918 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13919 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13920 if test "$ac_cv_c_dll_hpux" = "yes"
13921 then
13922 LIBEXT="sl"
13923 DLLEXT=".sl"
13924 LDDLLFLAGS="-shared -fPIC"
13925 LDSHARED="\$(CC) -shared"
13930 CROSSTEST=""
13932 if test "$cross_compiling" = "no"
13933 then
13934 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13936 # Extract the first word of "$ac_prog", so it can be a program name with args.
13937 set dummy $ac_prog; ac_word=$2
13938 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13940 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13941 echo $ECHO_N "(cached) $ECHO_C" >&6
13942 else
13943 if test -n "$CROSSCC"; then
13944 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13945 else
13946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13947 for as_dir in $PATH
13949 IFS=$as_save_IFS
13950 test -z "$as_dir" && as_dir=.
13951 for ac_exec_ext in '' $ac_executable_extensions; do
13952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13953 ac_cv_prog_CROSSCC="$ac_prog"
13954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13955 break 2
13957 done
13958 done
13959 IFS=$as_save_IFS
13963 CROSSCC=$ac_cv_prog_CROSSCC
13964 if test -n "$CROSSCC"; then
13965 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13966 echo "${ECHO_T}$CROSSCC" >&6; }
13967 else
13968 { echo "$as_me:$LINENO: result: no" >&5
13969 echo "${ECHO_T}no" >&6; }
13973 test -n "$CROSSCC" && break
13974 done
13975 test -n "$CROSSCC" || CROSSCC="false"
13977 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13979 # Extract the first word of "$ac_prog", so it can be a program name with args.
13980 set dummy $ac_prog; ac_word=$2
13981 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13983 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13984 echo $ECHO_N "(cached) $ECHO_C" >&6
13985 else
13986 if test -n "$DLLTOOL"; then
13987 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13988 else
13989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13990 for as_dir in $PATH
13992 IFS=$as_save_IFS
13993 test -z "$as_dir" && as_dir=.
13994 for ac_exec_ext in '' $ac_executable_extensions; do
13995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13996 ac_cv_prog_DLLTOOL="$ac_prog"
13997 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13998 break 2
14000 done
14001 done
14002 IFS=$as_save_IFS
14006 DLLTOOL=$ac_cv_prog_DLLTOOL
14007 if test -n "$DLLTOOL"; then
14008 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14009 echo "${ECHO_T}$DLLTOOL" >&6; }
14010 else
14011 { echo "$as_me:$LINENO: result: no" >&5
14012 echo "${ECHO_T}no" >&6; }
14016 test -n "$DLLTOOL" && break
14017 done
14018 test -n "$DLLTOOL" || DLLTOOL="false"
14020 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14022 # Extract the first word of "$ac_prog", so it can be a program name with args.
14023 set dummy $ac_prog; ac_word=$2
14024 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14026 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14027 echo $ECHO_N "(cached) $ECHO_C" >&6
14028 else
14029 if test -n "$CROSSWINDRES"; then
14030 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14031 else
14032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14033 for as_dir in $PATH
14035 IFS=$as_save_IFS
14036 test -z "$as_dir" && as_dir=.
14037 for ac_exec_ext in '' $ac_executable_extensions; do
14038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14039 ac_cv_prog_CROSSWINDRES="$ac_prog"
14040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14041 break 2
14043 done
14044 done
14045 IFS=$as_save_IFS
14049 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14050 if test -n "$CROSSWINDRES"; then
14051 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14052 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14053 else
14054 { echo "$as_me:$LINENO: result: no" >&5
14055 echo "${ECHO_T}no" >&6; }
14059 test -n "$CROSSWINDRES" && break
14060 done
14061 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14063 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14065 # Extract the first word of "$ac_prog", so it can be a program name with args.
14066 set dummy $ac_prog; ac_word=$2
14067 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14069 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14071 else
14072 if test -n "$MINGWAR"; then
14073 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14074 else
14075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14076 for as_dir in $PATH
14078 IFS=$as_save_IFS
14079 test -z "$as_dir" && as_dir=.
14080 for ac_exec_ext in '' $ac_executable_extensions; do
14081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14082 ac_cv_prog_MINGWAR="$ac_prog"
14083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14084 break 2
14086 done
14087 done
14088 IFS=$as_save_IFS
14092 MINGWAR=$ac_cv_prog_MINGWAR
14093 if test -n "$MINGWAR"; then
14094 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14095 echo "${ECHO_T}$MINGWAR" >&6; }
14096 else
14097 { echo "$as_me:$LINENO: result: no" >&5
14098 echo "${ECHO_T}no" >&6; }
14102 test -n "$MINGWAR" && break
14103 done
14104 test -n "$MINGWAR" || MINGWAR="false"
14106 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14109 esac
14111 if test "$LIBEXT" = "a"; then
14112 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14113 It is currently not possible to build Wine without shared library
14114 (.so) support to allow transparent switch between .so and .dll files.
14115 If you are using Linux, you will need a newer binutils.
14116 " >&5
14117 echo "$as_me: error: could not find a way to build shared libraries.
14118 It is currently not possible to build Wine without shared library
14119 (.so) support to allow transparent switch between .so and .dll files.
14120 If you are using Linux, you will need a newer binutils.
14121 " >&2;}
14122 { (exit 1); exit 1; }; }
14125 case $build_os in
14126 cygwin*|mingw32*)
14127 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14129 darwin*|macosx*)
14130 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14133 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14135 esac
14137 case $host_os in
14138 mingw32*)
14139 CRTLIBS="-lmsvcrt"
14141 SOCKETLIBS="-lws2_32"
14144 esac
14146 MAIN_BINARY="wine-pthread"
14147 case $host_cpu in
14148 *i[3456789]86*)
14149 case $host_os in
14150 linux* | k*bsd*-gnu)
14151 MAIN_BINARY="wine-glibc"
14153 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14155 esac
14157 esac
14160 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14161 then
14162 # Extract the first word of "ldd", so it can be a program name with args.
14163 set dummy ldd; ac_word=$2
14164 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14166 if test "${ac_cv_path_LDD+set}" = set; then
14167 echo $ECHO_N "(cached) $ECHO_C" >&6
14168 else
14169 case $LDD in
14170 [\\/]* | ?:[\\/]*)
14171 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14175 as_dummy="/sbin:/usr/sbin:$PATH"
14176 for as_dir in $as_dummy
14178 IFS=$as_save_IFS
14179 test -z "$as_dir" && as_dir=.
14180 for ac_exec_ext in '' $ac_executable_extensions; do
14181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14182 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14184 break 2
14186 done
14187 done
14188 IFS=$as_save_IFS
14190 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14192 esac
14194 LDD=$ac_cv_path_LDD
14195 if test -n "$LDD"; then
14196 { echo "$as_me:$LINENO: result: $LDD" >&5
14197 echo "${ECHO_T}$LDD" >&6; }
14198 else
14199 { echo "$as_me:$LINENO: result: no" >&5
14200 echo "${ECHO_T}no" >&6; }
14204 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14205 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14206 if test "${ac_cv_lib_soname_X11+set}" = set; then
14207 echo $ECHO_N "(cached) $ECHO_C" >&6
14208 else
14209 ac_get_soname_save_LIBS=$LIBS
14210 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14211 cat >conftest.$ac_ext <<_ACEOF
14212 /* confdefs.h. */
14213 _ACEOF
14214 cat confdefs.h >>conftest.$ac_ext
14215 cat >>conftest.$ac_ext <<_ACEOF
14216 /* end confdefs.h. */
14218 /* Override any GCC internal prototype to avoid an error.
14219 Use char because int might match the return type of a GCC
14220 builtin and then its argument prototype would still apply. */
14221 #ifdef __cplusplus
14222 extern "C"
14223 #endif
14224 char XCreateWindow ();
14226 main ()
14228 return XCreateWindow ();
14230 return 0;
14232 _ACEOF
14233 rm -f conftest.$ac_objext conftest$ac_exeext
14234 if { (ac_try="$ac_link"
14235 case "(($ac_try" in
14236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14237 *) ac_try_echo=$ac_try;;
14238 esac
14239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14240 (eval "$ac_link") 2>conftest.er1
14241 ac_status=$?
14242 grep -v '^ *+' conftest.er1 >conftest.err
14243 rm -f conftest.er1
14244 cat conftest.err >&5
14245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14246 (exit $ac_status); } && {
14247 test -z "$ac_c_werror_flag" ||
14248 test ! -s conftest.err
14249 } && test -s conftest$ac_exeext &&
14250 $as_test_x conftest$ac_exeext; then
14251 case "$LIBEXT" in
14252 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'` ;;
14253 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14254 esac
14255 if test "x$ac_cv_lib_soname_X11" = "x"
14256 then
14257 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14259 else
14260 echo "$as_me: failed program was:" >&5
14261 sed 's/^/| /' conftest.$ac_ext >&5
14263 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14267 conftest$ac_exeext conftest.$ac_ext
14268 LIBS=$ac_get_soname_save_LIBS
14270 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14271 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14272 if test "${ac_cv_lib_soname_X11+set}" = set; then
14274 cat >>confdefs.h <<_ACEOF
14275 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14276 _ACEOF
14280 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14281 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14282 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14283 echo $ECHO_N "(cached) $ECHO_C" >&6
14284 else
14285 ac_get_soname_save_LIBS=$LIBS
14286 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14287 cat >conftest.$ac_ext <<_ACEOF
14288 /* confdefs.h. */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14294 /* Override any GCC internal prototype to avoid an error.
14295 Use char because int might match the return type of a GCC
14296 builtin and then its argument prototype would still apply. */
14297 #ifdef __cplusplus
14298 extern "C"
14299 #endif
14300 char XextCreateExtension ();
14302 main ()
14304 return XextCreateExtension ();
14306 return 0;
14308 _ACEOF
14309 rm -f conftest.$ac_objext conftest$ac_exeext
14310 if { (ac_try="$ac_link"
14311 case "(($ac_try" in
14312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14313 *) ac_try_echo=$ac_try;;
14314 esac
14315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14316 (eval "$ac_link") 2>conftest.er1
14317 ac_status=$?
14318 grep -v '^ *+' conftest.er1 >conftest.err
14319 rm -f conftest.er1
14320 cat conftest.err >&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); } && {
14323 test -z "$ac_c_werror_flag" ||
14324 test ! -s conftest.err
14325 } && test -s conftest$ac_exeext &&
14326 $as_test_x conftest$ac_exeext; then
14327 case "$LIBEXT" in
14328 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'` ;;
14329 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14330 esac
14331 if test "x$ac_cv_lib_soname_Xext" = "x"
14332 then
14333 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14335 else
14336 echo "$as_me: failed program was:" >&5
14337 sed 's/^/| /' conftest.$ac_ext >&5
14339 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14342 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14343 conftest$ac_exeext conftest.$ac_ext
14344 LIBS=$ac_get_soname_save_LIBS
14346 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14347 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14348 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14350 cat >>confdefs.h <<_ACEOF
14351 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14352 _ACEOF
14356 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14357 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14358 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14359 echo $ECHO_N "(cached) $ECHO_C" >&6
14360 else
14361 ac_get_soname_save_LIBS=$LIBS
14362 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14363 cat >conftest.$ac_ext <<_ACEOF
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14373 #ifdef __cplusplus
14374 extern "C"
14375 #endif
14376 char XOpenDevice ();
14378 main ()
14380 return XOpenDevice ();
14382 return 0;
14384 _ACEOF
14385 rm -f conftest.$ac_objext conftest$ac_exeext
14386 if { (ac_try="$ac_link"
14387 case "(($ac_try" in
14388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14389 *) ac_try_echo=$ac_try;;
14390 esac
14391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14392 (eval "$ac_link") 2>conftest.er1
14393 ac_status=$?
14394 grep -v '^ *+' conftest.er1 >conftest.err
14395 rm -f conftest.er1
14396 cat conftest.err >&5
14397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14398 (exit $ac_status); } && {
14399 test -z "$ac_c_werror_flag" ||
14400 test ! -s conftest.err
14401 } && test -s conftest$ac_exeext &&
14402 $as_test_x conftest$ac_exeext; then
14403 case "$LIBEXT" in
14404 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'` ;;
14405 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14406 esac
14407 if test "x$ac_cv_lib_soname_Xi" = "x"
14408 then
14409 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14411 else
14412 echo "$as_me: failed program was:" >&5
14413 sed 's/^/| /' conftest.$ac_ext >&5
14415 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14419 conftest$ac_exeext conftest.$ac_ext
14420 LIBS=$ac_get_soname_save_LIBS
14422 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14423 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14424 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14426 cat >>confdefs.h <<_ACEOF
14427 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14428 _ACEOF
14432 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14433 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14434 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14435 echo $ECHO_N "(cached) $ECHO_C" >&6
14436 else
14437 ac_get_soname_save_LIBS=$LIBS
14438 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14439 cat >conftest.$ac_ext <<_ACEOF
14440 /* confdefs.h. */
14441 _ACEOF
14442 cat confdefs.h >>conftest.$ac_ext
14443 cat >>conftest.$ac_ext <<_ACEOF
14444 /* end confdefs.h. */
14446 /* Override any GCC internal prototype to avoid an error.
14447 Use char because int might match the return type of a GCC
14448 builtin and then its argument prototype would still apply. */
14449 #ifdef __cplusplus
14450 extern "C"
14451 #endif
14452 char XineramaQueryScreens ();
14454 main ()
14456 return XineramaQueryScreens ();
14458 return 0;
14460 _ACEOF
14461 rm -f conftest.$ac_objext conftest$ac_exeext
14462 if { (ac_try="$ac_link"
14463 case "(($ac_try" in
14464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14465 *) ac_try_echo=$ac_try;;
14466 esac
14467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14468 (eval "$ac_link") 2>conftest.er1
14469 ac_status=$?
14470 grep -v '^ *+' conftest.er1 >conftest.err
14471 rm -f conftest.er1
14472 cat conftest.err >&5
14473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14474 (exit $ac_status); } && {
14475 test -z "$ac_c_werror_flag" ||
14476 test ! -s conftest.err
14477 } && test -s conftest$ac_exeext &&
14478 $as_test_x conftest$ac_exeext; then
14479 case "$LIBEXT" in
14480 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'` ;;
14481 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14482 esac
14483 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14484 then
14485 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14487 else
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.$ac_ext >&5
14491 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14494 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14495 conftest$ac_exeext conftest.$ac_ext
14496 LIBS=$ac_get_soname_save_LIBS
14498 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14499 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14500 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14502 cat >>confdefs.h <<_ACEOF
14503 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14504 _ACEOF
14508 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14509 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14510 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14511 echo $ECHO_N "(cached) $ECHO_C" >&6
14512 else
14513 ac_get_soname_save_LIBS=$LIBS
14514 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14515 cat >conftest.$ac_ext <<_ACEOF
14516 /* confdefs.h. */
14517 _ACEOF
14518 cat confdefs.h >>conftest.$ac_ext
14519 cat >>conftest.$ac_ext <<_ACEOF
14520 /* end confdefs.h. */
14522 /* Override any GCC internal prototype to avoid an error.
14523 Use char because int might match the return type of a GCC
14524 builtin and then its argument prototype would still apply. */
14525 #ifdef __cplusplus
14526 extern "C"
14527 #endif
14528 char XRenderQueryExtension ();
14530 main ()
14532 return XRenderQueryExtension ();
14534 return 0;
14536 _ACEOF
14537 rm -f conftest.$ac_objext conftest$ac_exeext
14538 if { (ac_try="$ac_link"
14539 case "(($ac_try" in
14540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14541 *) ac_try_echo=$ac_try;;
14542 esac
14543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14544 (eval "$ac_link") 2>conftest.er1
14545 ac_status=$?
14546 grep -v '^ *+' conftest.er1 >conftest.err
14547 rm -f conftest.er1
14548 cat conftest.err >&5
14549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); } && {
14551 test -z "$ac_c_werror_flag" ||
14552 test ! -s conftest.err
14553 } && test -s conftest$ac_exeext &&
14554 $as_test_x conftest$ac_exeext; then
14555 case "$LIBEXT" in
14556 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'` ;;
14557 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14558 esac
14559 if test "x$ac_cv_lib_soname_Xrender" = "x"
14560 then
14561 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14563 else
14564 echo "$as_me: failed program was:" >&5
14565 sed 's/^/| /' conftest.$ac_ext >&5
14567 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14570 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14571 conftest$ac_exeext conftest.$ac_ext
14572 LIBS=$ac_get_soname_save_LIBS
14574 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14575 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14576 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14578 cat >>confdefs.h <<_ACEOF
14579 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14580 _ACEOF
14584 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14585 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14586 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14588 else
14589 ac_get_soname_save_LIBS=$LIBS
14590 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14591 cat >conftest.$ac_ext <<_ACEOF
14592 /* confdefs.h. */
14593 _ACEOF
14594 cat confdefs.h >>conftest.$ac_ext
14595 cat >>conftest.$ac_ext <<_ACEOF
14596 /* end confdefs.h. */
14598 /* Override any GCC internal prototype to avoid an error.
14599 Use char because int might match the return type of a GCC
14600 builtin and then its argument prototype would still apply. */
14601 #ifdef __cplusplus
14602 extern "C"
14603 #endif
14604 char XRRQueryExtension ();
14606 main ()
14608 return XRRQueryExtension ();
14610 return 0;
14612 _ACEOF
14613 rm -f conftest.$ac_objext conftest$ac_exeext
14614 if { (ac_try="$ac_link"
14615 case "(($ac_try" in
14616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14617 *) ac_try_echo=$ac_try;;
14618 esac
14619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14620 (eval "$ac_link") 2>conftest.er1
14621 ac_status=$?
14622 grep -v '^ *+' conftest.er1 >conftest.err
14623 rm -f conftest.er1
14624 cat conftest.err >&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } && {
14627 test -z "$ac_c_werror_flag" ||
14628 test ! -s conftest.err
14629 } && test -s conftest$ac_exeext &&
14630 $as_test_x conftest$ac_exeext; then
14631 case "$LIBEXT" in
14632 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'` ;;
14633 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14634 esac
14635 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14636 then
14637 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14639 else
14640 echo "$as_me: failed program was:" >&5
14641 sed 's/^/| /' conftest.$ac_ext >&5
14643 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14647 conftest$ac_exeext conftest.$ac_ext
14648 LIBS=$ac_get_soname_save_LIBS
14650 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14651 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14652 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14654 cat >>confdefs.h <<_ACEOF
14655 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14656 _ACEOF
14660 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14661 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14662 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 else
14665 ac_get_soname_save_LIBS=$LIBS
14666 LIBS="-lfreetype $X_LIBS $LIBS"
14667 cat >conftest.$ac_ext <<_ACEOF
14668 /* confdefs.h. */
14669 _ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14674 /* Override any GCC internal prototype to avoid an error.
14675 Use char because int might match the return type of a GCC
14676 builtin and then its argument prototype would still apply. */
14677 #ifdef __cplusplus
14678 extern "C"
14679 #endif
14680 char FT_Init_FreeType ();
14682 main ()
14684 return FT_Init_FreeType ();
14686 return 0;
14688 _ACEOF
14689 rm -f conftest.$ac_objext conftest$ac_exeext
14690 if { (ac_try="$ac_link"
14691 case "(($ac_try" in
14692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14693 *) ac_try_echo=$ac_try;;
14694 esac
14695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14696 (eval "$ac_link") 2>conftest.er1
14697 ac_status=$?
14698 grep -v '^ *+' conftest.er1 >conftest.err
14699 rm -f conftest.er1
14700 cat conftest.err >&5
14701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702 (exit $ac_status); } && {
14703 test -z "$ac_c_werror_flag" ||
14704 test ! -s conftest.err
14705 } && test -s conftest$ac_exeext &&
14706 $as_test_x conftest$ac_exeext; then
14707 case "$LIBEXT" in
14708 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'` ;;
14709 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14710 esac
14711 if test "x$ac_cv_lib_soname_freetype" = "x"
14712 then
14713 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14715 else
14716 echo "$as_me: failed program was:" >&5
14717 sed 's/^/| /' conftest.$ac_ext >&5
14719 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14723 conftest$ac_exeext conftest.$ac_ext
14724 LIBS=$ac_get_soname_save_LIBS
14726 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14727 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14728 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14730 cat >>confdefs.h <<_ACEOF
14731 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14732 _ACEOF
14736 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14737 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14738 if test "${ac_cv_lib_soname_GL+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 else
14741 ac_get_soname_save_LIBS=$LIBS
14742 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14743 cat >conftest.$ac_ext <<_ACEOF
14744 /* confdefs.h. */
14745 _ACEOF
14746 cat confdefs.h >>conftest.$ac_ext
14747 cat >>conftest.$ac_ext <<_ACEOF
14748 /* end confdefs.h. */
14750 /* Override any GCC internal prototype to avoid an error.
14751 Use char because int might match the return type of a GCC
14752 builtin and then its argument prototype would still apply. */
14753 #ifdef __cplusplus
14754 extern "C"
14755 #endif
14756 char glXQueryExtension ();
14758 main ()
14760 return glXQueryExtension ();
14762 return 0;
14764 _ACEOF
14765 rm -f conftest.$ac_objext conftest$ac_exeext
14766 if { (ac_try="$ac_link"
14767 case "(($ac_try" in
14768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14769 *) ac_try_echo=$ac_try;;
14770 esac
14771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14772 (eval "$ac_link") 2>conftest.er1
14773 ac_status=$?
14774 grep -v '^ *+' conftest.er1 >conftest.err
14775 rm -f conftest.er1
14776 cat conftest.err >&5
14777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14778 (exit $ac_status); } && {
14779 test -z "$ac_c_werror_flag" ||
14780 test ! -s conftest.err
14781 } && test -s conftest$ac_exeext &&
14782 $as_test_x conftest$ac_exeext; then
14783 case "$LIBEXT" in
14784 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'` ;;
14785 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14786 esac
14787 if test "x$ac_cv_lib_soname_GL" = "x"
14788 then
14789 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14791 else
14792 echo "$as_me: failed program was:" >&5
14793 sed 's/^/| /' conftest.$ac_ext >&5
14795 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14799 conftest$ac_exeext conftest.$ac_ext
14800 LIBS=$ac_get_soname_save_LIBS
14802 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14803 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14804 if test "${ac_cv_lib_soname_GL+set}" = set; then
14806 cat >>confdefs.h <<_ACEOF
14807 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14808 _ACEOF
14812 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14813 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14814 if test "${ac_cv_lib_soname_hal+set}" = set; then
14815 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 else
14817 ac_get_soname_save_LIBS=$LIBS
14818 LIBS="-lhal $LIBS"
14819 cat >conftest.$ac_ext <<_ACEOF
14820 /* confdefs.h. */
14821 _ACEOF
14822 cat confdefs.h >>conftest.$ac_ext
14823 cat >>conftest.$ac_ext <<_ACEOF
14824 /* end confdefs.h. */
14826 /* Override any GCC internal prototype to avoid an error.
14827 Use char because int might match the return type of a GCC
14828 builtin and then its argument prototype would still apply. */
14829 #ifdef __cplusplus
14830 extern "C"
14831 #endif
14832 char libhal_ctx_new ();
14834 main ()
14836 return libhal_ctx_new ();
14838 return 0;
14840 _ACEOF
14841 rm -f conftest.$ac_objext conftest$ac_exeext
14842 if { (ac_try="$ac_link"
14843 case "(($ac_try" in
14844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14845 *) ac_try_echo=$ac_try;;
14846 esac
14847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14848 (eval "$ac_link") 2>conftest.er1
14849 ac_status=$?
14850 grep -v '^ *+' conftest.er1 >conftest.err
14851 rm -f conftest.er1
14852 cat conftest.err >&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); } && {
14855 test -z "$ac_c_werror_flag" ||
14856 test ! -s conftest.err
14857 } && test -s conftest$ac_exeext &&
14858 $as_test_x conftest$ac_exeext; then
14859 case "$LIBEXT" in
14860 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'` ;;
14861 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14862 esac
14863 if test "x$ac_cv_lib_soname_hal" = "x"
14864 then
14865 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14867 else
14868 echo "$as_me: failed program was:" >&5
14869 sed 's/^/| /' conftest.$ac_ext >&5
14871 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14875 conftest$ac_exeext conftest.$ac_ext
14876 LIBS=$ac_get_soname_save_LIBS
14878 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14879 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14880 if test "${ac_cv_lib_soname_hal+set}" = set; then
14882 cat >>confdefs.h <<_ACEOF
14883 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14884 _ACEOF
14888 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14889 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14890 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14891 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 else
14893 ac_get_soname_save_LIBS=$LIBS
14894 LIBS="-ltxc_dxtn $LIBS"
14895 cat >conftest.$ac_ext <<_ACEOF
14896 /* confdefs.h. */
14897 _ACEOF
14898 cat confdefs.h >>conftest.$ac_ext
14899 cat >>conftest.$ac_ext <<_ACEOF
14900 /* end confdefs.h. */
14902 /* Override any GCC internal prototype to avoid an error.
14903 Use char because int might match the return type of a GCC
14904 builtin and then its argument prototype would still apply. */
14905 #ifdef __cplusplus
14906 extern "C"
14907 #endif
14908 char fetch_2d_texel_rgba_dxt1 ();
14910 main ()
14912 return fetch_2d_texel_rgba_dxt1 ();
14914 return 0;
14916 _ACEOF
14917 rm -f conftest.$ac_objext conftest$ac_exeext
14918 if { (ac_try="$ac_link"
14919 case "(($ac_try" in
14920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14921 *) ac_try_echo=$ac_try;;
14922 esac
14923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14924 (eval "$ac_link") 2>conftest.er1
14925 ac_status=$?
14926 grep -v '^ *+' conftest.er1 >conftest.err
14927 rm -f conftest.er1
14928 cat conftest.err >&5
14929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14930 (exit $ac_status); } && {
14931 test -z "$ac_c_werror_flag" ||
14932 test ! -s conftest.err
14933 } && test -s conftest$ac_exeext &&
14934 $as_test_x conftest$ac_exeext; then
14935 case "$LIBEXT" in
14936 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'` ;;
14937 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'` ;;
14938 esac
14939 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14940 then
14941 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14943 else
14944 echo "$as_me: failed program was:" >&5
14945 sed 's/^/| /' conftest.$ac_ext >&5
14947 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14951 conftest$ac_exeext conftest.$ac_ext
14952 LIBS=$ac_get_soname_save_LIBS
14954 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14955 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14956 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14958 cat >>confdefs.h <<_ACEOF
14959 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14960 _ACEOF
14964 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
14965 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
14966 if test "${ac_cv_lib_soname_cups+set}" = set; then
14967 echo $ECHO_N "(cached) $ECHO_C" >&6
14968 else
14969 ac_get_soname_save_LIBS=$LIBS
14970 LIBS="-lcups $LIBS"
14971 cat >conftest.$ac_ext <<_ACEOF
14972 /* confdefs.h. */
14973 _ACEOF
14974 cat confdefs.h >>conftest.$ac_ext
14975 cat >>conftest.$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14978 /* Override any GCC internal prototype to avoid an error.
14979 Use char because int might match the return type of a GCC
14980 builtin and then its argument prototype would still apply. */
14981 #ifdef __cplusplus
14982 extern "C"
14983 #endif
14984 char cupsGetDefault ();
14986 main ()
14988 return cupsGetDefault ();
14990 return 0;
14992 _ACEOF
14993 rm -f conftest.$ac_objext conftest$ac_exeext
14994 if { (ac_try="$ac_link"
14995 case "(($ac_try" in
14996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14997 *) ac_try_echo=$ac_try;;
14998 esac
14999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15000 (eval "$ac_link") 2>conftest.er1
15001 ac_status=$?
15002 grep -v '^ *+' conftest.er1 >conftest.err
15003 rm -f conftest.er1
15004 cat conftest.err >&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); } && {
15007 test -z "$ac_c_werror_flag" ||
15008 test ! -s conftest.err
15009 } && test -s conftest$ac_exeext &&
15010 $as_test_x conftest$ac_exeext; then
15011 case "$LIBEXT" in
15012 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'` ;;
15013 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15014 esac
15015 if test "x$ac_cv_lib_soname_cups" = "x"
15016 then
15017 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15019 else
15020 echo "$as_me: failed program was:" >&5
15021 sed 's/^/| /' conftest.$ac_ext >&5
15023 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_get_soname_save_LIBS
15030 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15031 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15032 if test "${ac_cv_lib_soname_cups+set}" = set; then
15034 cat >>confdefs.h <<_ACEOF
15035 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15036 _ACEOF
15040 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15041 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15042 if test "${ac_cv_lib_soname_jack+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 else
15045 ac_get_soname_save_LIBS=$LIBS
15046 LIBS="-ljack $LIBS"
15047 cat >conftest.$ac_ext <<_ACEOF
15048 /* confdefs.h. */
15049 _ACEOF
15050 cat confdefs.h >>conftest.$ac_ext
15051 cat >>conftest.$ac_ext <<_ACEOF
15052 /* end confdefs.h. */
15054 /* Override any GCC internal prototype to avoid an error.
15055 Use char because int might match the return type of a GCC
15056 builtin and then its argument prototype would still apply. */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 char jack_client_new ();
15062 main ()
15064 return jack_client_new ();
15066 return 0;
15068 _ACEOF
15069 rm -f conftest.$ac_objext conftest$ac_exeext
15070 if { (ac_try="$ac_link"
15071 case "(($ac_try" in
15072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15073 *) ac_try_echo=$ac_try;;
15074 esac
15075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15076 (eval "$ac_link") 2>conftest.er1
15077 ac_status=$?
15078 grep -v '^ *+' conftest.er1 >conftest.err
15079 rm -f conftest.er1
15080 cat conftest.err >&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); } && {
15083 test -z "$ac_c_werror_flag" ||
15084 test ! -s conftest.err
15085 } && test -s conftest$ac_exeext &&
15086 $as_test_x conftest$ac_exeext; then
15087 case "$LIBEXT" in
15088 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'` ;;
15089 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15090 esac
15091 if test "x$ac_cv_lib_soname_jack" = "x"
15092 then
15093 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15099 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15103 conftest$ac_exeext conftest.$ac_ext
15104 LIBS=$ac_get_soname_save_LIBS
15106 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15107 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15108 if test "${ac_cv_lib_soname_jack+set}" = set; then
15110 cat >>confdefs.h <<_ACEOF
15111 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15112 _ACEOF
15116 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15117 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15118 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15120 else
15121 ac_get_soname_save_LIBS=$LIBS
15122 LIBS="-lfontconfig $LIBS"
15123 cat >conftest.$ac_ext <<_ACEOF
15124 /* confdefs.h. */
15125 _ACEOF
15126 cat confdefs.h >>conftest.$ac_ext
15127 cat >>conftest.$ac_ext <<_ACEOF
15128 /* end confdefs.h. */
15130 /* Override any GCC internal prototype to avoid an error.
15131 Use char because int might match the return type of a GCC
15132 builtin and then its argument prototype would still apply. */
15133 #ifdef __cplusplus
15134 extern "C"
15135 #endif
15136 char FcInit ();
15138 main ()
15140 return FcInit ();
15142 return 0;
15144 _ACEOF
15145 rm -f conftest.$ac_objext conftest$ac_exeext
15146 if { (ac_try="$ac_link"
15147 case "(($ac_try" in
15148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15149 *) ac_try_echo=$ac_try;;
15150 esac
15151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15152 (eval "$ac_link") 2>conftest.er1
15153 ac_status=$?
15154 grep -v '^ *+' conftest.er1 >conftest.err
15155 rm -f conftest.er1
15156 cat conftest.err >&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); } && {
15159 test -z "$ac_c_werror_flag" ||
15160 test ! -s conftest.err
15161 } && test -s conftest$ac_exeext &&
15162 $as_test_x conftest$ac_exeext; then
15163 case "$LIBEXT" in
15164 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'` ;;
15165 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15166 esac
15167 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15168 then
15169 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15171 else
15172 echo "$as_me: failed program was:" >&5
15173 sed 's/^/| /' conftest.$ac_ext >&5
15175 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15179 conftest$ac_exeext conftest.$ac_ext
15180 LIBS=$ac_get_soname_save_LIBS
15182 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15183 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15184 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15186 cat >>confdefs.h <<_ACEOF
15187 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15188 _ACEOF
15192 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15193 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15194 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15196 else
15197 ac_get_soname_save_LIBS=$LIBS
15198 LIBS="-lssl $LIBS"
15199 cat >conftest.$ac_ext <<_ACEOF
15200 /* confdefs.h. */
15201 _ACEOF
15202 cat confdefs.h >>conftest.$ac_ext
15203 cat >>conftest.$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15206 /* Override any GCC internal prototype to avoid an error.
15207 Use char because int might match the return type of a GCC
15208 builtin and then its argument prototype would still apply. */
15209 #ifdef __cplusplus
15210 extern "C"
15211 #endif
15212 char SSL_library_init ();
15214 main ()
15216 return SSL_library_init ();
15218 return 0;
15220 _ACEOF
15221 rm -f conftest.$ac_objext conftest$ac_exeext
15222 if { (ac_try="$ac_link"
15223 case "(($ac_try" in
15224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15225 *) ac_try_echo=$ac_try;;
15226 esac
15227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15228 (eval "$ac_link") 2>conftest.er1
15229 ac_status=$?
15230 grep -v '^ *+' conftest.er1 >conftest.err
15231 rm -f conftest.er1
15232 cat conftest.err >&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } && {
15235 test -z "$ac_c_werror_flag" ||
15236 test ! -s conftest.err
15237 } && test -s conftest$ac_exeext &&
15238 $as_test_x conftest$ac_exeext; then
15239 case "$LIBEXT" in
15240 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'` ;;
15241 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15242 esac
15243 if test "x$ac_cv_lib_soname_ssl" = "x"
15244 then
15245 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15247 else
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.$ac_ext >&5
15251 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15255 conftest$ac_exeext conftest.$ac_ext
15256 LIBS=$ac_get_soname_save_LIBS
15258 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15259 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15260 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15262 cat >>confdefs.h <<_ACEOF
15263 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15264 _ACEOF
15268 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15269 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15270 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15271 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 else
15273 ac_get_soname_save_LIBS=$LIBS
15274 LIBS="-lcrypto $LIBS"
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15282 /* Override any GCC internal prototype to avoid an error.
15283 Use char because int might match the return type of a GCC
15284 builtin and then its argument prototype would still apply. */
15285 #ifdef __cplusplus
15286 extern "C"
15287 #endif
15288 char BIO_new_socket ();
15290 main ()
15292 return BIO_new_socket ();
15294 return 0;
15296 _ACEOF
15297 rm -f conftest.$ac_objext conftest$ac_exeext
15298 if { (ac_try="$ac_link"
15299 case "(($ac_try" in
15300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15301 *) ac_try_echo=$ac_try;;
15302 esac
15303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15304 (eval "$ac_link") 2>conftest.er1
15305 ac_status=$?
15306 grep -v '^ *+' conftest.er1 >conftest.err
15307 rm -f conftest.er1
15308 cat conftest.err >&5
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); } && {
15311 test -z "$ac_c_werror_flag" ||
15312 test ! -s conftest.err
15313 } && test -s conftest$ac_exeext &&
15314 $as_test_x conftest$ac_exeext; then
15315 case "$LIBEXT" in
15316 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'` ;;
15317 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15318 esac
15319 if test "x$ac_cv_lib_soname_crypto" = "x"
15320 then
15321 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15323 else
15324 echo "$as_me: failed program was:" >&5
15325 sed 's/^/| /' conftest.$ac_ext >&5
15327 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15330 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15331 conftest$ac_exeext conftest.$ac_ext
15332 LIBS=$ac_get_soname_save_LIBS
15334 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15335 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15336 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15338 cat >>confdefs.h <<_ACEOF
15339 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15340 _ACEOF
15344 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15345 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15346 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15347 echo $ECHO_N "(cached) $ECHO_C" >&6
15348 else
15349 ac_get_soname_save_LIBS=$LIBS
15350 LIBS="-lncurses $LIBS"
15351 cat >conftest.$ac_ext <<_ACEOF
15352 /* confdefs.h. */
15353 _ACEOF
15354 cat confdefs.h >>conftest.$ac_ext
15355 cat >>conftest.$ac_ext <<_ACEOF
15356 /* end confdefs.h. */
15358 /* Override any GCC internal prototype to avoid an error.
15359 Use char because int might match the return type of a GCC
15360 builtin and then its argument prototype would still apply. */
15361 #ifdef __cplusplus
15362 extern "C"
15363 #endif
15364 char waddch ();
15366 main ()
15368 return waddch ();
15370 return 0;
15372 _ACEOF
15373 rm -f conftest.$ac_objext conftest$ac_exeext
15374 if { (ac_try="$ac_link"
15375 case "(($ac_try" in
15376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15377 *) ac_try_echo=$ac_try;;
15378 esac
15379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15380 (eval "$ac_link") 2>conftest.er1
15381 ac_status=$?
15382 grep -v '^ *+' conftest.er1 >conftest.err
15383 rm -f conftest.er1
15384 cat conftest.err >&5
15385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15386 (exit $ac_status); } && {
15387 test -z "$ac_c_werror_flag" ||
15388 test ! -s conftest.err
15389 } && test -s conftest$ac_exeext &&
15390 $as_test_x conftest$ac_exeext; then
15391 case "$LIBEXT" in
15392 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'` ;;
15393 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15394 esac
15395 if test "x$ac_cv_lib_soname_ncurses" = "x"
15396 then
15397 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15399 else
15400 echo "$as_me: failed program was:" >&5
15401 sed 's/^/| /' conftest.$ac_ext >&5
15403 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15406 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15407 conftest$ac_exeext conftest.$ac_ext
15408 LIBS=$ac_get_soname_save_LIBS
15410 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15411 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15412 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15414 cat >>confdefs.h <<_ACEOF
15415 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15416 _ACEOF
15420 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15421 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15422 if test "${ac_cv_lib_soname_curses+set}" = set; then
15423 echo $ECHO_N "(cached) $ECHO_C" >&6
15424 else
15425 ac_get_soname_save_LIBS=$LIBS
15426 LIBS="-lcurses $LIBS"
15427 cat >conftest.$ac_ext <<_ACEOF
15428 /* confdefs.h. */
15429 _ACEOF
15430 cat confdefs.h >>conftest.$ac_ext
15431 cat >>conftest.$ac_ext <<_ACEOF
15432 /* end confdefs.h. */
15434 /* Override any GCC internal prototype to avoid an error.
15435 Use char because int might match the return type of a GCC
15436 builtin and then its argument prototype would still apply. */
15437 #ifdef __cplusplus
15438 extern "C"
15439 #endif
15440 char waddch ();
15442 main ()
15444 return waddch ();
15446 return 0;
15448 _ACEOF
15449 rm -f conftest.$ac_objext conftest$ac_exeext
15450 if { (ac_try="$ac_link"
15451 case "(($ac_try" in
15452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15453 *) ac_try_echo=$ac_try;;
15454 esac
15455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15456 (eval "$ac_link") 2>conftest.er1
15457 ac_status=$?
15458 grep -v '^ *+' conftest.er1 >conftest.err
15459 rm -f conftest.er1
15460 cat conftest.err >&5
15461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15462 (exit $ac_status); } && {
15463 test -z "$ac_c_werror_flag" ||
15464 test ! -s conftest.err
15465 } && test -s conftest$ac_exeext &&
15466 $as_test_x conftest$ac_exeext; then
15467 case "$LIBEXT" in
15468 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'` ;;
15469 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15470 esac
15471 if test "x$ac_cv_lib_soname_curses" = "x"
15472 then
15473 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15475 else
15476 echo "$as_me: failed program was:" >&5
15477 sed 's/^/| /' conftest.$ac_ext >&5
15479 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15483 conftest$ac_exeext conftest.$ac_ext
15484 LIBS=$ac_get_soname_save_LIBS
15486 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15487 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15488 if test "${ac_cv_lib_soname_curses+set}" = set; then
15490 cat >>confdefs.h <<_ACEOF
15491 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15492 _ACEOF
15496 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15497 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15498 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15499 echo $ECHO_N "(cached) $ECHO_C" >&6
15500 else
15501 ac_get_soname_save_LIBS=$LIBS
15502 LIBS="-ljpeg $LIBS"
15503 cat >conftest.$ac_ext <<_ACEOF
15504 /* confdefs.h. */
15505 _ACEOF
15506 cat confdefs.h >>conftest.$ac_ext
15507 cat >>conftest.$ac_ext <<_ACEOF
15508 /* end confdefs.h. */
15510 /* Override any GCC internal prototype to avoid an error.
15511 Use char because int might match the return type of a GCC
15512 builtin and then its argument prototype would still apply. */
15513 #ifdef __cplusplus
15514 extern "C"
15515 #endif
15516 char jpeg_start_decompress ();
15518 main ()
15520 return jpeg_start_decompress ();
15522 return 0;
15524 _ACEOF
15525 rm -f conftest.$ac_objext conftest$ac_exeext
15526 if { (ac_try="$ac_link"
15527 case "(($ac_try" in
15528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15529 *) ac_try_echo=$ac_try;;
15530 esac
15531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15532 (eval "$ac_link") 2>conftest.er1
15533 ac_status=$?
15534 grep -v '^ *+' conftest.er1 >conftest.err
15535 rm -f conftest.er1
15536 cat conftest.err >&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } && {
15539 test -z "$ac_c_werror_flag" ||
15540 test ! -s conftest.err
15541 } && test -s conftest$ac_exeext &&
15542 $as_test_x conftest$ac_exeext; then
15543 case "$LIBEXT" in
15544 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'` ;;
15545 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15546 esac
15547 if test "x$ac_cv_lib_soname_jpeg" = "x"
15548 then
15549 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15551 else
15552 echo "$as_me: failed program was:" >&5
15553 sed 's/^/| /' conftest.$ac_ext >&5
15555 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15559 conftest$ac_exeext conftest.$ac_ext
15560 LIBS=$ac_get_soname_save_LIBS
15562 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15563 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15564 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15566 cat >>confdefs.h <<_ACEOF
15567 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15568 _ACEOF
15572 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15573 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15574 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15575 echo $ECHO_N "(cached) $ECHO_C" >&6
15576 else
15577 ac_get_soname_save_LIBS=$LIBS
15578 LIBS="-lcapi20 $LIBS"
15579 cat >conftest.$ac_ext <<_ACEOF
15580 /* confdefs.h. */
15581 _ACEOF
15582 cat confdefs.h >>conftest.$ac_ext
15583 cat >>conftest.$ac_ext <<_ACEOF
15584 /* end confdefs.h. */
15586 /* Override any GCC internal prototype to avoid an error.
15587 Use char because int might match the return type of a GCC
15588 builtin and then its argument prototype would still apply. */
15589 #ifdef __cplusplus
15590 extern "C"
15591 #endif
15592 char capi20_isinstalled ();
15594 main ()
15596 return capi20_isinstalled ();
15598 return 0;
15600 _ACEOF
15601 rm -f conftest.$ac_objext conftest$ac_exeext
15602 if { (ac_try="$ac_link"
15603 case "(($ac_try" in
15604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15605 *) ac_try_echo=$ac_try;;
15606 esac
15607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15608 (eval "$ac_link") 2>conftest.er1
15609 ac_status=$?
15610 grep -v '^ *+' conftest.er1 >conftest.err
15611 rm -f conftest.er1
15612 cat conftest.err >&5
15613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15614 (exit $ac_status); } && {
15615 test -z "$ac_c_werror_flag" ||
15616 test ! -s conftest.err
15617 } && test -s conftest$ac_exeext &&
15618 $as_test_x conftest$ac_exeext; then
15619 case "$LIBEXT" in
15620 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'` ;;
15621 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15622 esac
15623 if test "x$ac_cv_lib_soname_capi20" = "x"
15624 then
15625 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15627 else
15628 echo "$as_me: failed program was:" >&5
15629 sed 's/^/| /' conftest.$ac_ext >&5
15631 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15635 conftest$ac_exeext conftest.$ac_ext
15636 LIBS=$ac_get_soname_save_LIBS
15638 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15639 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15640 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15642 cat >>confdefs.h <<_ACEOF
15643 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15644 _ACEOF
15648 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15649 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15650 if test "${ac_cv_lib_soname_sane+set}" = set; then
15651 echo $ECHO_N "(cached) $ECHO_C" >&6
15652 else
15653 ac_get_soname_save_LIBS=$LIBS
15654 LIBS="-lsane $LIBS"
15655 cat >conftest.$ac_ext <<_ACEOF
15656 /* confdefs.h. */
15657 _ACEOF
15658 cat confdefs.h >>conftest.$ac_ext
15659 cat >>conftest.$ac_ext <<_ACEOF
15660 /* end confdefs.h. */
15662 /* Override any GCC internal prototype to avoid an error.
15663 Use char because int might match the return type of a GCC
15664 builtin and then its argument prototype would still apply. */
15665 #ifdef __cplusplus
15666 extern "C"
15667 #endif
15668 char sane_init ();
15670 main ()
15672 return sane_init ();
15674 return 0;
15676 _ACEOF
15677 rm -f conftest.$ac_objext conftest$ac_exeext
15678 if { (ac_try="$ac_link"
15679 case "(($ac_try" in
15680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15681 *) ac_try_echo=$ac_try;;
15682 esac
15683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15684 (eval "$ac_link") 2>conftest.er1
15685 ac_status=$?
15686 grep -v '^ *+' conftest.er1 >conftest.err
15687 rm -f conftest.er1
15688 cat conftest.err >&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); } && {
15691 test -z "$ac_c_werror_flag" ||
15692 test ! -s conftest.err
15693 } && test -s conftest$ac_exeext &&
15694 $as_test_x conftest$ac_exeext; then
15695 case "$LIBEXT" in
15696 dylib) ac_cv_lib_soname_sane=`otool -L conftest$ac_exeext | grep libsane\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15697 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15698 esac
15699 if test "x$ac_cv_lib_soname_sane" = "x"
15700 then
15701 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15703 else
15704 echo "$as_me: failed program was:" >&5
15705 sed 's/^/| /' conftest.$ac_ext >&5
15707 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_get_soname_save_LIBS
15714 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15715 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15716 if test "${ac_cv_lib_soname_sane+set}" = set; then
15718 cat >>confdefs.h <<_ACEOF
15719 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15720 _ACEOF
15799 for ac_func in \
15800 _pclose \
15801 _popen \
15802 _snprintf \
15803 _spawnvp \
15804 _stricmp \
15805 _strnicmp \
15806 _vsnprintf \
15807 asctime_r \
15808 chsize \
15809 clone \
15810 connect \
15811 dlopen \
15812 epoll_create \
15813 ffs \
15814 finite \
15815 fork \
15816 fpclass \
15817 fstatfs \
15818 fstatvfs \
15819 ftruncate \
15820 futimes \
15821 futimesat \
15822 getaddrinfo \
15823 getdirentries \
15824 gethostbyname \
15825 getnameinfo \
15826 getnetbyname \
15827 getopt_long \
15828 getpagesize \
15829 getprotobyname \
15830 getprotobynumber \
15831 getpwuid \
15832 getservbyport \
15833 gettid \
15834 gettimeofday \
15835 getuid \
15836 inet_aton \
15837 inet_network \
15838 kqueue \
15839 lstat \
15840 memmove \
15841 mmap \
15842 pclose \
15843 poll \
15844 popen \
15845 prctl \
15846 pread \
15847 pwrite \
15848 readlink \
15849 rfork \
15850 sched_yield \
15851 select \
15852 sendmsg \
15853 setrlimit \
15854 settimeofday \
15855 sigaltstack \
15856 sigprocmask \
15857 snprintf \
15858 spawnvp \
15859 statfs \
15860 statvfs \
15861 strcasecmp \
15862 strerror \
15863 strncasecmp \
15864 strtold \
15865 tcgetattr \
15866 timegm \
15867 usleep \
15868 vsnprintf \
15869 wait4 \
15870 waitpid \
15873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15877 echo $ECHO_N "(cached) $ECHO_C" >&6
15878 else
15879 cat >conftest.$ac_ext <<_ACEOF
15880 /* confdefs.h. */
15881 _ACEOF
15882 cat confdefs.h >>conftest.$ac_ext
15883 cat >>conftest.$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15887 #define $ac_func innocuous_$ac_func
15889 /* System header to define __stub macros and hopefully few prototypes,
15890 which can conflict with char $ac_func (); below.
15891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15892 <limits.h> exists even on freestanding compilers. */
15894 #ifdef __STDC__
15895 # include <limits.h>
15896 #else
15897 # include <assert.h>
15898 #endif
15900 #undef $ac_func
15902 /* Override any GCC internal prototype to avoid an error.
15903 Use char because int might match the return type of a GCC
15904 builtin and then its argument prototype would still apply. */
15905 #ifdef __cplusplus
15906 extern "C"
15907 #endif
15908 char $ac_func ();
15909 /* The GNU C library defines this for functions which it implements
15910 to always fail with ENOSYS. Some functions are actually named
15911 something starting with __ and the normal name is an alias. */
15912 #if defined __stub_$ac_func || defined __stub___$ac_func
15913 choke me
15914 #endif
15917 main ()
15919 return $ac_func ();
15921 return 0;
15923 _ACEOF
15924 rm -f conftest.$ac_objext conftest$ac_exeext
15925 if { (ac_try="$ac_link"
15926 case "(($ac_try" in
15927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15928 *) ac_try_echo=$ac_try;;
15929 esac
15930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15931 (eval "$ac_link") 2>conftest.er1
15932 ac_status=$?
15933 grep -v '^ *+' conftest.er1 >conftest.err
15934 rm -f conftest.er1
15935 cat conftest.err >&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } && {
15938 test -z "$ac_c_werror_flag" ||
15939 test ! -s conftest.err
15940 } && test -s conftest$ac_exeext &&
15941 $as_test_x conftest$ac_exeext; then
15942 eval "$as_ac_var=yes"
15943 else
15944 echo "$as_me: failed program was:" >&5
15945 sed 's/^/| /' conftest.$ac_ext >&5
15947 eval "$as_ac_var=no"
15950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15951 conftest$ac_exeext conftest.$ac_ext
15953 ac_res=`eval echo '${'$as_ac_var'}'`
15954 { echo "$as_me:$LINENO: result: $ac_res" >&5
15955 echo "${ECHO_T}$ac_res" >&6; }
15956 if test `eval echo '${'$as_ac_var'}'` = yes; then
15957 cat >>confdefs.h <<_ACEOF
15958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15959 _ACEOF
15962 done
15965 if test "$ac_cv_func_dlopen" = no
15966 then
15967 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15968 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15969 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15971 else
15972 ac_check_lib_save_LIBS=$LIBS
15973 LIBS="-ldl $LIBS"
15974 cat >conftest.$ac_ext <<_ACEOF
15975 /* confdefs.h. */
15976 _ACEOF
15977 cat confdefs.h >>conftest.$ac_ext
15978 cat >>conftest.$ac_ext <<_ACEOF
15979 /* end confdefs.h. */
15981 /* Override any GCC internal prototype to avoid an error.
15982 Use char because int might match the return type of a GCC
15983 builtin and then its argument prototype would still apply. */
15984 #ifdef __cplusplus
15985 extern "C"
15986 #endif
15987 char dlopen ();
15989 main ()
15991 return dlopen ();
15993 return 0;
15995 _ACEOF
15996 rm -f conftest.$ac_objext conftest$ac_exeext
15997 if { (ac_try="$ac_link"
15998 case "(($ac_try" in
15999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16000 *) ac_try_echo=$ac_try;;
16001 esac
16002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16003 (eval "$ac_link") 2>conftest.er1
16004 ac_status=$?
16005 grep -v '^ *+' conftest.er1 >conftest.err
16006 rm -f conftest.er1
16007 cat conftest.err >&5
16008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16009 (exit $ac_status); } && {
16010 test -z "$ac_c_werror_flag" ||
16011 test ! -s conftest.err
16012 } && test -s conftest$ac_exeext &&
16013 $as_test_x conftest$ac_exeext; then
16014 ac_cv_lib_dl_dlopen=yes
16015 else
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.$ac_ext >&5
16019 ac_cv_lib_dl_dlopen=no
16022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16023 conftest$ac_exeext conftest.$ac_ext
16024 LIBS=$ac_check_lib_save_LIBS
16026 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16027 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16028 if test $ac_cv_lib_dl_dlopen = yes; then
16029 cat >>confdefs.h <<\_ACEOF
16030 #define HAVE_DLOPEN 1
16031 _ACEOF
16032 LIBDL="-ldl"
16037 ac_wine_check_funcs_save_LIBS="$LIBS"
16038 LIBS="$LIBS $LIBDL"
16040 for ac_func in dladdr
16042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16043 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16045 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 else
16048 cat >conftest.$ac_ext <<_ACEOF
16049 /* confdefs.h. */
16050 _ACEOF
16051 cat confdefs.h >>conftest.$ac_ext
16052 cat >>conftest.$ac_ext <<_ACEOF
16053 /* end confdefs.h. */
16054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16055 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16056 #define $ac_func innocuous_$ac_func
16058 /* System header to define __stub macros and hopefully few prototypes,
16059 which can conflict with char $ac_func (); below.
16060 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16061 <limits.h> exists even on freestanding compilers. */
16063 #ifdef __STDC__
16064 # include <limits.h>
16065 #else
16066 # include <assert.h>
16067 #endif
16069 #undef $ac_func
16071 /* Override any GCC internal prototype to avoid an error.
16072 Use char because int might match the return type of a GCC
16073 builtin and then its argument prototype would still apply. */
16074 #ifdef __cplusplus
16075 extern "C"
16076 #endif
16077 char $ac_func ();
16078 /* The GNU C library defines this for functions which it implements
16079 to always fail with ENOSYS. Some functions are actually named
16080 something starting with __ and the normal name is an alias. */
16081 #if defined __stub_$ac_func || defined __stub___$ac_func
16082 choke me
16083 #endif
16086 main ()
16088 return $ac_func ();
16090 return 0;
16092 _ACEOF
16093 rm -f conftest.$ac_objext conftest$ac_exeext
16094 if { (ac_try="$ac_link"
16095 case "(($ac_try" in
16096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16097 *) ac_try_echo=$ac_try;;
16098 esac
16099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16100 (eval "$ac_link") 2>conftest.er1
16101 ac_status=$?
16102 grep -v '^ *+' conftest.er1 >conftest.err
16103 rm -f conftest.er1
16104 cat conftest.err >&5
16105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } && {
16107 test -z "$ac_c_werror_flag" ||
16108 test ! -s conftest.err
16109 } && test -s conftest$ac_exeext &&
16110 $as_test_x conftest$ac_exeext; then
16111 eval "$as_ac_var=yes"
16112 else
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16116 eval "$as_ac_var=no"
16119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16120 conftest$ac_exeext conftest.$ac_ext
16122 ac_res=`eval echo '${'$as_ac_var'}'`
16123 { echo "$as_me:$LINENO: result: $ac_res" >&5
16124 echo "${ECHO_T}$ac_res" >&6; }
16125 if test `eval echo '${'$as_ac_var'}'` = yes; then
16126 cat >>confdefs.h <<_ACEOF
16127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16128 _ACEOF
16131 done
16133 LIBS="$ac_wine_check_funcs_save_LIBS"
16135 if test "$ac_cv_func_poll" = no
16136 then
16137 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16138 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16139 if test "${ac_cv_lib_poll_poll+set}" = set; then
16140 echo $ECHO_N "(cached) $ECHO_C" >&6
16141 else
16142 ac_check_lib_save_LIBS=$LIBS
16143 LIBS="-lpoll $LIBS"
16144 cat >conftest.$ac_ext <<_ACEOF
16145 /* confdefs.h. */
16146 _ACEOF
16147 cat confdefs.h >>conftest.$ac_ext
16148 cat >>conftest.$ac_ext <<_ACEOF
16149 /* end confdefs.h. */
16151 /* Override any GCC internal prototype to avoid an error.
16152 Use char because int might match the return type of a GCC
16153 builtin and then its argument prototype would still apply. */
16154 #ifdef __cplusplus
16155 extern "C"
16156 #endif
16157 char poll ();
16159 main ()
16161 return poll ();
16163 return 0;
16165 _ACEOF
16166 rm -f conftest.$ac_objext conftest$ac_exeext
16167 if { (ac_try="$ac_link"
16168 case "(($ac_try" in
16169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16170 *) ac_try_echo=$ac_try;;
16171 esac
16172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16173 (eval "$ac_link") 2>conftest.er1
16174 ac_status=$?
16175 grep -v '^ *+' conftest.er1 >conftest.err
16176 rm -f conftest.er1
16177 cat conftest.err >&5
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); } && {
16180 test -z "$ac_c_werror_flag" ||
16181 test ! -s conftest.err
16182 } && test -s conftest$ac_exeext &&
16183 $as_test_x conftest$ac_exeext; then
16184 ac_cv_lib_poll_poll=yes
16185 else
16186 echo "$as_me: failed program was:" >&5
16187 sed 's/^/| /' conftest.$ac_ext >&5
16189 ac_cv_lib_poll_poll=no
16192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16193 conftest$ac_exeext conftest.$ac_ext
16194 LIBS=$ac_check_lib_save_LIBS
16196 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16197 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16198 if test $ac_cv_lib_poll_poll = yes; then
16199 cat >>confdefs.h <<\_ACEOF
16200 #define HAVE_POLL 1
16201 _ACEOF
16202 LIBPOLL="-lpoll"
16208 if test "$ac_cv_func_gethostbyname" = no
16209 then
16211 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16212 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16213 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216 ac_check_lib_save_LIBS=$LIBS
16217 LIBS="-lnsl $LIBS"
16218 cat >conftest.$ac_ext <<_ACEOF
16219 /* confdefs.h. */
16220 _ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h. */
16225 /* Override any GCC internal prototype to avoid an error.
16226 Use char because int might match the return type of a GCC
16227 builtin and then its argument prototype would still apply. */
16228 #ifdef __cplusplus
16229 extern "C"
16230 #endif
16231 char gethostbyname ();
16233 main ()
16235 return gethostbyname ();
16237 return 0;
16239 _ACEOF
16240 rm -f conftest.$ac_objext conftest$ac_exeext
16241 if { (ac_try="$ac_link"
16242 case "(($ac_try" in
16243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16244 *) ac_try_echo=$ac_try;;
16245 esac
16246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16247 (eval "$ac_link") 2>conftest.er1
16248 ac_status=$?
16249 grep -v '^ *+' conftest.er1 >conftest.err
16250 rm -f conftest.er1
16251 cat conftest.err >&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } && {
16254 test -z "$ac_c_werror_flag" ||
16255 test ! -s conftest.err
16256 } && test -s conftest$ac_exeext &&
16257 $as_test_x conftest$ac_exeext; then
16258 ac_cv_lib_nsl_gethostbyname=yes
16259 else
16260 echo "$as_me: failed program was:" >&5
16261 sed 's/^/| /' conftest.$ac_ext >&5
16263 ac_cv_lib_nsl_gethostbyname=no
16266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16267 conftest$ac_exeext conftest.$ac_ext
16268 LIBS=$ac_check_lib_save_LIBS
16270 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16271 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16272 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16273 cat >>confdefs.h <<_ACEOF
16274 #define HAVE_LIBNSL 1
16275 _ACEOF
16277 LIBS="-lnsl $LIBS"
16283 if test "$ac_cv_func_connect" = no
16284 then
16286 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16287 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16288 if test "${ac_cv_lib_socket_connect+set}" = set; then
16289 echo $ECHO_N "(cached) $ECHO_C" >&6
16290 else
16291 ac_check_lib_save_LIBS=$LIBS
16292 LIBS="-lsocket $LIBS"
16293 cat >conftest.$ac_ext <<_ACEOF
16294 /* confdefs.h. */
16295 _ACEOF
16296 cat confdefs.h >>conftest.$ac_ext
16297 cat >>conftest.$ac_ext <<_ACEOF
16298 /* end confdefs.h. */
16300 /* Override any GCC internal prototype to avoid an error.
16301 Use char because int might match the return type of a GCC
16302 builtin and then its argument prototype would still apply. */
16303 #ifdef __cplusplus
16304 extern "C"
16305 #endif
16306 char connect ();
16308 main ()
16310 return connect ();
16312 return 0;
16314 _ACEOF
16315 rm -f conftest.$ac_objext conftest$ac_exeext
16316 if { (ac_try="$ac_link"
16317 case "(($ac_try" in
16318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16319 *) ac_try_echo=$ac_try;;
16320 esac
16321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16322 (eval "$ac_link") 2>conftest.er1
16323 ac_status=$?
16324 grep -v '^ *+' conftest.er1 >conftest.err
16325 rm -f conftest.er1
16326 cat conftest.err >&5
16327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16328 (exit $ac_status); } && {
16329 test -z "$ac_c_werror_flag" ||
16330 test ! -s conftest.err
16331 } && test -s conftest$ac_exeext &&
16332 $as_test_x conftest$ac_exeext; then
16333 ac_cv_lib_socket_connect=yes
16334 else
16335 echo "$as_me: failed program was:" >&5
16336 sed 's/^/| /' conftest.$ac_ext >&5
16338 ac_cv_lib_socket_connect=no
16341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16342 conftest$ac_exeext conftest.$ac_ext
16343 LIBS=$ac_check_lib_save_LIBS
16345 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16346 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16347 if test $ac_cv_lib_socket_connect = yes; then
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_LIBSOCKET 1
16350 _ACEOF
16352 LIBS="-lsocket $LIBS"
16358 if test "$ac_cv_func_inet_aton" = no
16359 then
16361 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16362 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16363 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16364 echo $ECHO_N "(cached) $ECHO_C" >&6
16365 else
16366 ac_check_lib_save_LIBS=$LIBS
16367 LIBS="-lresolv $LIBS"
16368 cat >conftest.$ac_ext <<_ACEOF
16369 /* confdefs.h. */
16370 _ACEOF
16371 cat confdefs.h >>conftest.$ac_ext
16372 cat >>conftest.$ac_ext <<_ACEOF
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16378 #ifdef __cplusplus
16379 extern "C"
16380 #endif
16381 char inet_aton ();
16383 main ()
16385 return inet_aton ();
16387 return 0;
16389 _ACEOF
16390 rm -f conftest.$ac_objext conftest$ac_exeext
16391 if { (ac_try="$ac_link"
16392 case "(($ac_try" in
16393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16394 *) ac_try_echo=$ac_try;;
16395 esac
16396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16397 (eval "$ac_link") 2>conftest.er1
16398 ac_status=$?
16399 grep -v '^ *+' conftest.er1 >conftest.err
16400 rm -f conftest.er1
16401 cat conftest.err >&5
16402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16403 (exit $ac_status); } && {
16404 test -z "$ac_c_werror_flag" ||
16405 test ! -s conftest.err
16406 } && test -s conftest$ac_exeext &&
16407 $as_test_x conftest$ac_exeext; then
16408 ac_cv_lib_resolv_inet_aton=yes
16409 else
16410 echo "$as_me: failed program was:" >&5
16411 sed 's/^/| /' conftest.$ac_ext >&5
16413 ac_cv_lib_resolv_inet_aton=no
16416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16417 conftest$ac_exeext conftest.$ac_ext
16418 LIBS=$ac_check_lib_save_LIBS
16420 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16421 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16422 if test $ac_cv_lib_resolv_inet_aton = yes; then
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_LIBRESOLV 1
16425 _ACEOF
16427 LIBS="-lresolv $LIBS"
16434 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16435 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16436 if test "${ac_cv_c_const+set}" = set; then
16437 echo $ECHO_N "(cached) $ECHO_C" >&6
16438 else
16439 cat >conftest.$ac_ext <<_ACEOF
16440 /* confdefs.h. */
16441 _ACEOF
16442 cat confdefs.h >>conftest.$ac_ext
16443 cat >>conftest.$ac_ext <<_ACEOF
16444 /* end confdefs.h. */
16447 main ()
16449 /* FIXME: Include the comments suggested by Paul. */
16450 #ifndef __cplusplus
16451 /* Ultrix mips cc rejects this. */
16452 typedef int charset[2];
16453 const charset cs;
16454 /* SunOS 4.1.1 cc rejects this. */
16455 char const *const *pcpcc;
16456 char **ppc;
16457 /* NEC SVR4.0.2 mips cc rejects this. */
16458 struct point {int x, y;};
16459 static struct point const zero = {0,0};
16460 /* AIX XL C 1.02.0.0 rejects this.
16461 It does not let you subtract one const X* pointer from another in
16462 an arm of an if-expression whose if-part is not a constant
16463 expression */
16464 const char *g = "string";
16465 pcpcc = &g + (g ? g-g : 0);
16466 /* HPUX 7.0 cc rejects these. */
16467 ++pcpcc;
16468 ppc = (char**) pcpcc;
16469 pcpcc = (char const *const *) ppc;
16470 { /* SCO 3.2v4 cc rejects this. */
16471 char *t;
16472 char const *s = 0 ? (char *) 0 : (char const *) 0;
16474 *t++ = 0;
16475 if (s) return 0;
16477 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16478 int x[] = {25, 17};
16479 const int *foo = &x[0];
16480 ++foo;
16482 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16483 typedef const int *iptr;
16484 iptr p = 0;
16485 ++p;
16487 { /* AIX XL C 1.02.0.0 rejects this saying
16488 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16489 struct s { int j; const int *ap[3]; };
16490 struct s *b; b->j = 5;
16492 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16493 const int foo = 10;
16494 if (!foo) return 0;
16496 return !cs[0] && !zero.x;
16497 #endif
16500 return 0;
16502 _ACEOF
16503 rm -f conftest.$ac_objext
16504 if { (ac_try="$ac_compile"
16505 case "(($ac_try" in
16506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16507 *) ac_try_echo=$ac_try;;
16508 esac
16509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16510 (eval "$ac_compile") 2>conftest.er1
16511 ac_status=$?
16512 grep -v '^ *+' conftest.er1 >conftest.err
16513 rm -f conftest.er1
16514 cat conftest.err >&5
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); } && {
16517 test -z "$ac_c_werror_flag" ||
16518 test ! -s conftest.err
16519 } && test -s conftest.$ac_objext; then
16520 ac_cv_c_const=yes
16521 else
16522 echo "$as_me: failed program was:" >&5
16523 sed 's/^/| /' conftest.$ac_ext >&5
16525 ac_cv_c_const=no
16528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16530 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16531 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16532 if test $ac_cv_c_const = no; then
16534 cat >>confdefs.h <<\_ACEOF
16535 #define const
16536 _ACEOF
16540 { echo "$as_me:$LINENO: checking for inline" >&5
16541 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16542 if test "${ac_cv_c_inline+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16544 else
16545 ac_cv_c_inline=no
16546 for ac_kw in inline __inline__ __inline; do
16547 cat >conftest.$ac_ext <<_ACEOF
16548 /* confdefs.h. */
16549 _ACEOF
16550 cat confdefs.h >>conftest.$ac_ext
16551 cat >>conftest.$ac_ext <<_ACEOF
16552 /* end confdefs.h. */
16553 #ifndef __cplusplus
16554 typedef int foo_t;
16555 static $ac_kw foo_t static_foo () {return 0; }
16556 $ac_kw foo_t foo () {return 0; }
16557 #endif
16559 _ACEOF
16560 rm -f conftest.$ac_objext
16561 if { (ac_try="$ac_compile"
16562 case "(($ac_try" in
16563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16564 *) ac_try_echo=$ac_try;;
16565 esac
16566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16567 (eval "$ac_compile") 2>conftest.er1
16568 ac_status=$?
16569 grep -v '^ *+' conftest.er1 >conftest.err
16570 rm -f conftest.er1
16571 cat conftest.err >&5
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); } && {
16574 test -z "$ac_c_werror_flag" ||
16575 test ! -s conftest.err
16576 } && test -s conftest.$ac_objext; then
16577 ac_cv_c_inline=$ac_kw
16578 else
16579 echo "$as_me: failed program was:" >&5
16580 sed 's/^/| /' conftest.$ac_ext >&5
16585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16586 test "$ac_cv_c_inline" != no && break
16587 done
16590 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16591 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16594 case $ac_cv_c_inline in
16595 inline | yes) ;;
16597 case $ac_cv_c_inline in
16598 no) ac_val=;;
16599 *) ac_val=$ac_cv_c_inline;;
16600 esac
16601 cat >>confdefs.h <<_ACEOF
16602 #ifndef __cplusplus
16603 #define inline $ac_val
16604 #endif
16605 _ACEOF
16607 esac
16609 { echo "$as_me:$LINENO: checking for mode_t" >&5
16610 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16611 if test "${ac_cv_type_mode_t+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16613 else
16614 cat >conftest.$ac_ext <<_ACEOF
16615 /* confdefs.h. */
16616 _ACEOF
16617 cat confdefs.h >>conftest.$ac_ext
16618 cat >>conftest.$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16620 $ac_includes_default
16621 typedef mode_t ac__type_new_;
16623 main ()
16625 if ((ac__type_new_ *) 0)
16626 return 0;
16627 if (sizeof (ac__type_new_))
16628 return 0;
16630 return 0;
16632 _ACEOF
16633 rm -f conftest.$ac_objext
16634 if { (ac_try="$ac_compile"
16635 case "(($ac_try" in
16636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16637 *) ac_try_echo=$ac_try;;
16638 esac
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_compile") 2>conftest.er1
16641 ac_status=$?
16642 grep -v '^ *+' conftest.er1 >conftest.err
16643 rm -f conftest.er1
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } && {
16647 test -z "$ac_c_werror_flag" ||
16648 test ! -s conftest.err
16649 } && test -s conftest.$ac_objext; then
16650 ac_cv_type_mode_t=yes
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16655 ac_cv_type_mode_t=no
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16661 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16662 if test $ac_cv_type_mode_t = yes; then
16664 cat >>confdefs.h <<_ACEOF
16665 #define HAVE_MODE_T 1
16666 _ACEOF
16670 { echo "$as_me:$LINENO: checking for off_t" >&5
16671 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16672 if test "${ac_cv_type_off_t+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675 cat >conftest.$ac_ext <<_ACEOF
16676 /* confdefs.h. */
16677 _ACEOF
16678 cat confdefs.h >>conftest.$ac_ext
16679 cat >>conftest.$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16682 typedef off_t ac__type_new_;
16684 main ()
16686 if ((ac__type_new_ *) 0)
16687 return 0;
16688 if (sizeof (ac__type_new_))
16689 return 0;
16691 return 0;
16693 _ACEOF
16694 rm -f conftest.$ac_objext
16695 if { (ac_try="$ac_compile"
16696 case "(($ac_try" in
16697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16698 *) ac_try_echo=$ac_try;;
16699 esac
16700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16701 (eval "$ac_compile") 2>conftest.er1
16702 ac_status=$?
16703 grep -v '^ *+' conftest.er1 >conftest.err
16704 rm -f conftest.er1
16705 cat conftest.err >&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } && {
16708 test -z "$ac_c_werror_flag" ||
16709 test ! -s conftest.err
16710 } && test -s conftest.$ac_objext; then
16711 ac_cv_type_off_t=yes
16712 else
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.$ac_ext >&5
16716 ac_cv_type_off_t=no
16719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16721 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16722 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16723 if test $ac_cv_type_off_t = yes; then
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_OFF_T 1
16727 _ACEOF
16731 { echo "$as_me:$LINENO: checking for pid_t" >&5
16732 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16733 if test "${ac_cv_type_pid_t+set}" = set; then
16734 echo $ECHO_N "(cached) $ECHO_C" >&6
16735 else
16736 cat >conftest.$ac_ext <<_ACEOF
16737 /* confdefs.h. */
16738 _ACEOF
16739 cat confdefs.h >>conftest.$ac_ext
16740 cat >>conftest.$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16742 $ac_includes_default
16743 typedef pid_t ac__type_new_;
16745 main ()
16747 if ((ac__type_new_ *) 0)
16748 return 0;
16749 if (sizeof (ac__type_new_))
16750 return 0;
16752 return 0;
16754 _ACEOF
16755 rm -f conftest.$ac_objext
16756 if { (ac_try="$ac_compile"
16757 case "(($ac_try" in
16758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16759 *) ac_try_echo=$ac_try;;
16760 esac
16761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16762 (eval "$ac_compile") 2>conftest.er1
16763 ac_status=$?
16764 grep -v '^ *+' conftest.er1 >conftest.err
16765 rm -f conftest.er1
16766 cat conftest.err >&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); } && {
16769 test -z "$ac_c_werror_flag" ||
16770 test ! -s conftest.err
16771 } && test -s conftest.$ac_objext; then
16772 ac_cv_type_pid_t=yes
16773 else
16774 echo "$as_me: failed program was:" >&5
16775 sed 's/^/| /' conftest.$ac_ext >&5
16777 ac_cv_type_pid_t=no
16780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16782 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16783 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16784 if test $ac_cv_type_pid_t = yes; then
16786 cat >>confdefs.h <<_ACEOF
16787 #define HAVE_PID_T 1
16788 _ACEOF
16792 { echo "$as_me:$LINENO: checking for size_t" >&5
16793 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16794 if test "${ac_cv_type_size_t+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 else
16797 cat >conftest.$ac_ext <<_ACEOF
16798 /* confdefs.h. */
16799 _ACEOF
16800 cat confdefs.h >>conftest.$ac_ext
16801 cat >>conftest.$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 $ac_includes_default
16804 typedef size_t ac__type_new_;
16806 main ()
16808 if ((ac__type_new_ *) 0)
16809 return 0;
16810 if (sizeof (ac__type_new_))
16811 return 0;
16813 return 0;
16815 _ACEOF
16816 rm -f conftest.$ac_objext
16817 if { (ac_try="$ac_compile"
16818 case "(($ac_try" in
16819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16820 *) ac_try_echo=$ac_try;;
16821 esac
16822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16823 (eval "$ac_compile") 2>conftest.er1
16824 ac_status=$?
16825 grep -v '^ *+' conftest.er1 >conftest.err
16826 rm -f conftest.er1
16827 cat conftest.err >&5
16828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16829 (exit $ac_status); } && {
16830 test -z "$ac_c_werror_flag" ||
16831 test ! -s conftest.err
16832 } && test -s conftest.$ac_objext; then
16833 ac_cv_type_size_t=yes
16834 else
16835 echo "$as_me: failed program was:" >&5
16836 sed 's/^/| /' conftest.$ac_ext >&5
16838 ac_cv_type_size_t=no
16841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16843 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16844 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16845 if test $ac_cv_type_size_t = yes; then
16847 cat >>confdefs.h <<_ACEOF
16848 #define HAVE_SIZE_T 1
16849 _ACEOF
16853 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16854 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16855 if test "${ac_cv_type_ssize_t+set}" = set; then
16856 echo $ECHO_N "(cached) $ECHO_C" >&6
16857 else
16858 cat >conftest.$ac_ext <<_ACEOF
16859 /* confdefs.h. */
16860 _ACEOF
16861 cat confdefs.h >>conftest.$ac_ext
16862 cat >>conftest.$ac_ext <<_ACEOF
16863 /* end confdefs.h. */
16864 $ac_includes_default
16865 typedef ssize_t ac__type_new_;
16867 main ()
16869 if ((ac__type_new_ *) 0)
16870 return 0;
16871 if (sizeof (ac__type_new_))
16872 return 0;
16874 return 0;
16876 _ACEOF
16877 rm -f conftest.$ac_objext
16878 if { (ac_try="$ac_compile"
16879 case "(($ac_try" in
16880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16881 *) ac_try_echo=$ac_try;;
16882 esac
16883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16884 (eval "$ac_compile") 2>conftest.er1
16885 ac_status=$?
16886 grep -v '^ *+' conftest.er1 >conftest.err
16887 rm -f conftest.er1
16888 cat conftest.err >&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } && {
16891 test -z "$ac_c_werror_flag" ||
16892 test ! -s conftest.err
16893 } && test -s conftest.$ac_objext; then
16894 ac_cv_type_ssize_t=yes
16895 else
16896 echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.$ac_ext >&5
16899 ac_cv_type_ssize_t=no
16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16904 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16905 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
16906 if test $ac_cv_type_ssize_t = yes; then
16908 cat >>confdefs.h <<_ACEOF
16909 #define HAVE_SSIZE_T 1
16910 _ACEOF
16914 { echo "$as_me:$LINENO: checking for long long" >&5
16915 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
16916 if test "${ac_cv_type_long_long+set}" = set; then
16917 echo $ECHO_N "(cached) $ECHO_C" >&6
16918 else
16919 cat >conftest.$ac_ext <<_ACEOF
16920 /* confdefs.h. */
16921 _ACEOF
16922 cat confdefs.h >>conftest.$ac_ext
16923 cat >>conftest.$ac_ext <<_ACEOF
16924 /* end confdefs.h. */
16925 $ac_includes_default
16926 typedef long long ac__type_new_;
16928 main ()
16930 if ((ac__type_new_ *) 0)
16931 return 0;
16932 if (sizeof (ac__type_new_))
16933 return 0;
16935 return 0;
16937 _ACEOF
16938 rm -f conftest.$ac_objext
16939 if { (ac_try="$ac_compile"
16940 case "(($ac_try" in
16941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16942 *) ac_try_echo=$ac_try;;
16943 esac
16944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16945 (eval "$ac_compile") 2>conftest.er1
16946 ac_status=$?
16947 grep -v '^ *+' conftest.er1 >conftest.err
16948 rm -f conftest.er1
16949 cat conftest.err >&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); } && {
16952 test -z "$ac_c_werror_flag" ||
16953 test ! -s conftest.err
16954 } && test -s conftest.$ac_objext; then
16955 ac_cv_type_long_long=yes
16956 else
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.$ac_ext >&5
16960 ac_cv_type_long_long=no
16963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16965 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16966 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
16967 if test $ac_cv_type_long_long = yes; then
16969 cat >>confdefs.h <<_ACEOF
16970 #define HAVE_LONG_LONG 1
16971 _ACEOF
16975 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16976 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
16977 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16978 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 else
16980 cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h. */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 $ac_includes_default
16987 typedef fsblkcnt_t ac__type_new_;
16989 main ()
16991 if ((ac__type_new_ *) 0)
16992 return 0;
16993 if (sizeof (ac__type_new_))
16994 return 0;
16996 return 0;
16998 _ACEOF
16999 rm -f conftest.$ac_objext
17000 if { (ac_try="$ac_compile"
17001 case "(($ac_try" in
17002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17003 *) ac_try_echo=$ac_try;;
17004 esac
17005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17006 (eval "$ac_compile") 2>conftest.er1
17007 ac_status=$?
17008 grep -v '^ *+' conftest.er1 >conftest.err
17009 rm -f conftest.er1
17010 cat conftest.err >&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); } && {
17013 test -z "$ac_c_werror_flag" ||
17014 test ! -s conftest.err
17015 } && test -s conftest.$ac_objext; then
17016 ac_cv_type_fsblkcnt_t=yes
17017 else
17018 echo "$as_me: failed program was:" >&5
17019 sed 's/^/| /' conftest.$ac_ext >&5
17021 ac_cv_type_fsblkcnt_t=no
17024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17026 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17027 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17028 if test $ac_cv_type_fsblkcnt_t = yes; then
17030 cat >>confdefs.h <<_ACEOF
17031 #define HAVE_FSBLKCNT_T 1
17032 _ACEOF
17036 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17037 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17038 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17039 echo $ECHO_N "(cached) $ECHO_C" >&6
17040 else
17041 cat >conftest.$ac_ext <<_ACEOF
17042 /* confdefs.h. */
17043 _ACEOF
17044 cat confdefs.h >>conftest.$ac_ext
17045 cat >>conftest.$ac_ext <<_ACEOF
17046 /* end confdefs.h. */
17047 $ac_includes_default
17048 typedef fsfilcnt_t ac__type_new_;
17050 main ()
17052 if ((ac__type_new_ *) 0)
17053 return 0;
17054 if (sizeof (ac__type_new_))
17055 return 0;
17057 return 0;
17059 _ACEOF
17060 rm -f conftest.$ac_objext
17061 if { (ac_try="$ac_compile"
17062 case "(($ac_try" in
17063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17064 *) ac_try_echo=$ac_try;;
17065 esac
17066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17067 (eval "$ac_compile") 2>conftest.er1
17068 ac_status=$?
17069 grep -v '^ *+' conftest.er1 >conftest.err
17070 rm -f conftest.er1
17071 cat conftest.err >&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } && {
17074 test -z "$ac_c_werror_flag" ||
17075 test ! -s conftest.err
17076 } && test -s conftest.$ac_objext; then
17077 ac_cv_type_fsfilcnt_t=yes
17078 else
17079 echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17082 ac_cv_type_fsfilcnt_t=no
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17087 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17088 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17089 if test $ac_cv_type_fsfilcnt_t = yes; then
17091 cat >>confdefs.h <<_ACEOF
17092 #define HAVE_FSFILCNT_T 1
17093 _ACEOF
17098 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17099 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17100 if test "${ac_cv_type_sigset_t+set}" = set; then
17101 echo $ECHO_N "(cached) $ECHO_C" >&6
17102 else
17103 cat >conftest.$ac_ext <<_ACEOF
17104 /* confdefs.h. */
17105 _ACEOF
17106 cat confdefs.h >>conftest.$ac_ext
17107 cat >>conftest.$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17109 #include <signal.h>
17111 typedef sigset_t ac__type_new_;
17113 main ()
17115 if ((ac__type_new_ *) 0)
17116 return 0;
17117 if (sizeof (ac__type_new_))
17118 return 0;
17120 return 0;
17122 _ACEOF
17123 rm -f conftest.$ac_objext
17124 if { (ac_try="$ac_compile"
17125 case "(($ac_try" in
17126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17127 *) ac_try_echo=$ac_try;;
17128 esac
17129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17130 (eval "$ac_compile") 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } && {
17137 test -z "$ac_c_werror_flag" ||
17138 test ! -s conftest.err
17139 } && test -s conftest.$ac_objext; then
17140 ac_cv_type_sigset_t=yes
17141 else
17142 echo "$as_me: failed program was:" >&5
17143 sed 's/^/| /' conftest.$ac_ext >&5
17145 ac_cv_type_sigset_t=no
17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17150 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17151 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17152 if test $ac_cv_type_sigset_t = yes; then
17154 cat >>confdefs.h <<_ACEOF
17155 #define HAVE_SIGSET_T 1
17156 _ACEOF
17161 { echo "$as_me:$LINENO: checking for request_sense" >&5
17162 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17163 if test "${ac_cv_type_request_sense+set}" = set; then
17164 echo $ECHO_N "(cached) $ECHO_C" >&6
17165 else
17166 cat >conftest.$ac_ext <<_ACEOF
17167 /* confdefs.h. */
17168 _ACEOF
17169 cat confdefs.h >>conftest.$ac_ext
17170 cat >>conftest.$ac_ext <<_ACEOF
17171 /* end confdefs.h. */
17172 #include <linux/cdrom.h>
17174 typedef request_sense ac__type_new_;
17176 main ()
17178 if ((ac__type_new_ *) 0)
17179 return 0;
17180 if (sizeof (ac__type_new_))
17181 return 0;
17183 return 0;
17185 _ACEOF
17186 rm -f conftest.$ac_objext
17187 if { (ac_try="$ac_compile"
17188 case "(($ac_try" in
17189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17190 *) ac_try_echo=$ac_try;;
17191 esac
17192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17193 (eval "$ac_compile") 2>conftest.er1
17194 ac_status=$?
17195 grep -v '^ *+' conftest.er1 >conftest.err
17196 rm -f conftest.er1
17197 cat conftest.err >&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); } && {
17200 test -z "$ac_c_werror_flag" ||
17201 test ! -s conftest.err
17202 } && test -s conftest.$ac_objext; then
17203 ac_cv_type_request_sense=yes
17204 else
17205 echo "$as_me: failed program was:" >&5
17206 sed 's/^/| /' conftest.$ac_ext >&5
17208 ac_cv_type_request_sense=no
17211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17213 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17214 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17215 if test $ac_cv_type_request_sense = yes; then
17217 cat >>confdefs.h <<_ACEOF
17218 #define HAVE_REQUEST_SENSE 1
17219 _ACEOF
17225 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17226 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17227 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236 #ifdef HAVE_LINUX_INPUT_H
17237 #include <linux/input.h>
17238 #endif
17241 main ()
17243 static struct ff_effect ac_aggr;
17244 if (ac_aggr.direction)
17245 return 0;
17247 return 0;
17249 _ACEOF
17250 rm -f conftest.$ac_objext
17251 if { (ac_try="$ac_compile"
17252 case "(($ac_try" in
17253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17254 *) ac_try_echo=$ac_try;;
17255 esac
17256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17257 (eval "$ac_compile") 2>conftest.er1
17258 ac_status=$?
17259 grep -v '^ *+' conftest.er1 >conftest.err
17260 rm -f conftest.er1
17261 cat conftest.err >&5
17262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17263 (exit $ac_status); } && {
17264 test -z "$ac_c_werror_flag" ||
17265 test ! -s conftest.err
17266 } && test -s conftest.$ac_objext; then
17267 ac_cv_member_struct_ff_effect_direction=yes
17268 else
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.$ac_ext >&5
17272 cat >conftest.$ac_ext <<_ACEOF
17273 /* confdefs.h. */
17274 _ACEOF
17275 cat confdefs.h >>conftest.$ac_ext
17276 cat >>conftest.$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 #ifdef HAVE_LINUX_INPUT_H
17279 #include <linux/input.h>
17280 #endif
17283 main ()
17285 static struct ff_effect ac_aggr;
17286 if (sizeof ac_aggr.direction)
17287 return 0;
17289 return 0;
17291 _ACEOF
17292 rm -f conftest.$ac_objext
17293 if { (ac_try="$ac_compile"
17294 case "(($ac_try" in
17295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17296 *) ac_try_echo=$ac_try;;
17297 esac
17298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17299 (eval "$ac_compile") 2>conftest.er1
17300 ac_status=$?
17301 grep -v '^ *+' conftest.er1 >conftest.err
17302 rm -f conftest.er1
17303 cat conftest.err >&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } && {
17306 test -z "$ac_c_werror_flag" ||
17307 test ! -s conftest.err
17308 } && test -s conftest.$ac_objext; then
17309 ac_cv_member_struct_ff_effect_direction=yes
17310 else
17311 echo "$as_me: failed program was:" >&5
17312 sed 's/^/| /' conftest.$ac_ext >&5
17314 ac_cv_member_struct_ff_effect_direction=no
17317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17322 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17323 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17324 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17328 _ACEOF
17334 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17335 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17336 if test "${wine_cv_have_sigaddset+set}" = set; then
17337 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 else
17339 cat >conftest.$ac_ext <<_ACEOF
17340 /* confdefs.h. */
17341 _ACEOF
17342 cat confdefs.h >>conftest.$ac_ext
17343 cat >>conftest.$ac_ext <<_ACEOF
17344 /* end confdefs.h. */
17345 #include <signal.h>
17347 main ()
17349 sigset_t set; sigaddset(&set,SIGTERM);
17351 return 0;
17353 _ACEOF
17354 rm -f conftest.$ac_objext conftest$ac_exeext
17355 if { (ac_try="$ac_link"
17356 case "(($ac_try" in
17357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17358 *) ac_try_echo=$ac_try;;
17359 esac
17360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17361 (eval "$ac_link") 2>conftest.er1
17362 ac_status=$?
17363 grep -v '^ *+' conftest.er1 >conftest.err
17364 rm -f conftest.er1
17365 cat conftest.err >&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); } && {
17368 test -z "$ac_c_werror_flag" ||
17369 test ! -s conftest.err
17370 } && test -s conftest$ac_exeext &&
17371 $as_test_x conftest$ac_exeext; then
17372 wine_cv_have_sigaddset=yes
17373 else
17374 echo "$as_me: failed program was:" >&5
17375 sed 's/^/| /' conftest.$ac_ext >&5
17377 wine_cv_have_sigaddset=no
17380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17381 conftest$ac_exeext conftest.$ac_ext
17383 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17384 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17385 if test "$wine_cv_have_sigaddset" = "yes"
17386 then
17388 cat >>confdefs.h <<\_ACEOF
17389 #define HAVE_SIGADDSET 1
17390 _ACEOF
17395 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17396 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17397 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17398 echo $ECHO_N "(cached) $ECHO_C" >&6
17399 else
17400 cat >conftest.$ac_ext <<_ACEOF
17401 /* confdefs.h. */
17402 _ACEOF
17403 cat confdefs.h >>conftest.$ac_ext
17404 cat >>conftest.$ac_ext <<_ACEOF
17405 /* end confdefs.h. */
17407 #include <netdb.h>
17410 main ()
17413 char *name=NULL;
17414 struct hostent he;
17415 struct hostent *result;
17416 char *buf=NULL;
17417 int bufsize=0;
17418 int res,errnr;
17419 char *addr=NULL;
17420 int addrlen=0;
17421 int addrtype=0;
17422 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17423 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17426 return 0;
17428 _ACEOF
17429 rm -f conftest.$ac_objext conftest$ac_exeext
17430 if { (ac_try="$ac_link"
17431 case "(($ac_try" in
17432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17434 esac
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_link") 2>conftest.er1
17437 ac_status=$?
17438 grep -v '^ *+' conftest.er1 >conftest.err
17439 rm -f conftest.er1
17440 cat conftest.err >&5
17441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17442 (exit $ac_status); } && {
17443 test -z "$ac_c_werror_flag" ||
17444 test ! -s conftest.err
17445 } && test -s conftest$ac_exeext &&
17446 $as_test_x conftest$ac_exeext; then
17447 wine_cv_linux_gethostbyname_r_6=yes
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 wine_cv_linux_gethostbyname_r_6=no
17456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17457 conftest$ac_exeext conftest.$ac_ext
17460 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17461 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17462 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17463 then
17465 cat >>confdefs.h <<\_ACEOF
17466 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17467 _ACEOF
17471 if test "$ac_cv_header_linux_joystick_h" = "yes"
17472 then
17473 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17474 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17475 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 else
17478 cat >conftest.$ac_ext <<_ACEOF
17479 /* confdefs.h. */
17480 _ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17485 #include <sys/ioctl.h>
17486 #include <linux/joystick.h>
17488 struct js_event blub;
17489 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17490 #error "no 2.2 header"
17491 #endif
17494 main ()
17496 /*empty*/
17498 return 0;
17500 _ACEOF
17501 rm -f conftest.$ac_objext
17502 if { (ac_try="$ac_compile"
17503 case "(($ac_try" in
17504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17505 *) ac_try_echo=$ac_try;;
17506 esac
17507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17508 (eval "$ac_compile") 2>conftest.er1
17509 ac_status=$?
17510 grep -v '^ *+' conftest.er1 >conftest.err
17511 rm -f conftest.er1
17512 cat conftest.err >&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && {
17515 test -z "$ac_c_werror_flag" ||
17516 test ! -s conftest.err
17517 } && test -s conftest.$ac_objext; then
17518 wine_cv_linux_joystick_22_api=yes
17519 else
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17523 wine_cv_linux_joystick_22_api=no
17526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17529 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17530 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17531 if test "$wine_cv_linux_joystick_22_api" = "yes"
17532 then
17534 cat >>confdefs.h <<\_ACEOF
17535 #define HAVE_LINUX_22_JOYSTICK_API 1
17536 _ACEOF
17542 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17543 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17544 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 else
17547 cat >conftest.$ac_ext <<_ACEOF
17548 /* confdefs.h. */
17549 _ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17553 #include <sys/types.h>
17554 #ifdef HAVE_SYS_PARAM_H
17555 # include <sys/param.h>
17556 #endif
17557 #ifdef HAVE_SYS_MOUNT_H
17558 # include <sys/mount.h>
17559 #endif
17560 #ifdef HAVE_SYS_VFS_H
17561 # include <sys/vfs.h>
17562 #endif
17563 #ifdef HAVE_SYS_STATFS_H
17564 # include <sys/statfs.h>
17565 #endif
17568 main ()
17570 static struct statfs ac_aggr;
17571 if (ac_aggr.f_bfree)
17572 return 0;
17574 return 0;
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (ac_try="$ac_compile"
17579 case "(($ac_try" in
17580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17581 *) ac_try_echo=$ac_try;;
17582 esac
17583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17584 (eval "$ac_compile") 2>conftest.er1
17585 ac_status=$?
17586 grep -v '^ *+' conftest.er1 >conftest.err
17587 rm -f conftest.er1
17588 cat conftest.err >&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); } && {
17591 test -z "$ac_c_werror_flag" ||
17592 test ! -s conftest.err
17593 } && test -s conftest.$ac_objext; then
17594 ac_cv_member_struct_statfs_f_bfree=yes
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 cat >conftest.$ac_ext <<_ACEOF
17600 /* confdefs.h. */
17601 _ACEOF
17602 cat confdefs.h >>conftest.$ac_ext
17603 cat >>conftest.$ac_ext <<_ACEOF
17604 /* end confdefs.h. */
17605 #include <sys/types.h>
17606 #ifdef HAVE_SYS_PARAM_H
17607 # include <sys/param.h>
17608 #endif
17609 #ifdef HAVE_SYS_MOUNT_H
17610 # include <sys/mount.h>
17611 #endif
17612 #ifdef HAVE_SYS_VFS_H
17613 # include <sys/vfs.h>
17614 #endif
17615 #ifdef HAVE_SYS_STATFS_H
17616 # include <sys/statfs.h>
17617 #endif
17620 main ()
17622 static struct statfs ac_aggr;
17623 if (sizeof ac_aggr.f_bfree)
17624 return 0;
17626 return 0;
17628 _ACEOF
17629 rm -f conftest.$ac_objext
17630 if { (ac_try="$ac_compile"
17631 case "(($ac_try" in
17632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17633 *) ac_try_echo=$ac_try;;
17634 esac
17635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17636 (eval "$ac_compile") 2>conftest.er1
17637 ac_status=$?
17638 grep -v '^ *+' conftest.er1 >conftest.err
17639 rm -f conftest.er1
17640 cat conftest.err >&5
17641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17642 (exit $ac_status); } && {
17643 test -z "$ac_c_werror_flag" ||
17644 test ! -s conftest.err
17645 } && test -s conftest.$ac_objext; then
17646 ac_cv_member_struct_statfs_f_bfree=yes
17647 else
17648 echo "$as_me: failed program was:" >&5
17649 sed 's/^/| /' conftest.$ac_ext >&5
17651 ac_cv_member_struct_statfs_f_bfree=no
17654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17659 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17660 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17661 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17663 cat >>confdefs.h <<_ACEOF
17664 #define HAVE_STRUCT_STATFS_F_BFREE 1
17665 _ACEOF
17669 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17670 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17671 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17672 echo $ECHO_N "(cached) $ECHO_C" >&6
17673 else
17674 cat >conftest.$ac_ext <<_ACEOF
17675 /* confdefs.h. */
17676 _ACEOF
17677 cat confdefs.h >>conftest.$ac_ext
17678 cat >>conftest.$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680 #include <sys/types.h>
17681 #ifdef HAVE_SYS_PARAM_H
17682 # include <sys/param.h>
17683 #endif
17684 #ifdef HAVE_SYS_MOUNT_H
17685 # include <sys/mount.h>
17686 #endif
17687 #ifdef HAVE_SYS_VFS_H
17688 # include <sys/vfs.h>
17689 #endif
17690 #ifdef HAVE_SYS_STATFS_H
17691 # include <sys/statfs.h>
17692 #endif
17695 main ()
17697 static struct statfs ac_aggr;
17698 if (ac_aggr.f_bavail)
17699 return 0;
17701 return 0;
17703 _ACEOF
17704 rm -f conftest.$ac_objext
17705 if { (ac_try="$ac_compile"
17706 case "(($ac_try" in
17707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17708 *) ac_try_echo=$ac_try;;
17709 esac
17710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17711 (eval "$ac_compile") 2>conftest.er1
17712 ac_status=$?
17713 grep -v '^ *+' conftest.er1 >conftest.err
17714 rm -f conftest.er1
17715 cat conftest.err >&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } && {
17718 test -z "$ac_c_werror_flag" ||
17719 test ! -s conftest.err
17720 } && test -s conftest.$ac_objext; then
17721 ac_cv_member_struct_statfs_f_bavail=yes
17722 else
17723 echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17726 cat >conftest.$ac_ext <<_ACEOF
17727 /* confdefs.h. */
17728 _ACEOF
17729 cat confdefs.h >>conftest.$ac_ext
17730 cat >>conftest.$ac_ext <<_ACEOF
17731 /* end confdefs.h. */
17732 #include <sys/types.h>
17733 #ifdef HAVE_SYS_PARAM_H
17734 # include <sys/param.h>
17735 #endif
17736 #ifdef HAVE_SYS_MOUNT_H
17737 # include <sys/mount.h>
17738 #endif
17739 #ifdef HAVE_SYS_VFS_H
17740 # include <sys/vfs.h>
17741 #endif
17742 #ifdef HAVE_SYS_STATFS_H
17743 # include <sys/statfs.h>
17744 #endif
17747 main ()
17749 static struct statfs ac_aggr;
17750 if (sizeof ac_aggr.f_bavail)
17751 return 0;
17753 return 0;
17755 _ACEOF
17756 rm -f conftest.$ac_objext
17757 if { (ac_try="$ac_compile"
17758 case "(($ac_try" in
17759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17760 *) ac_try_echo=$ac_try;;
17761 esac
17762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17763 (eval "$ac_compile") 2>conftest.er1
17764 ac_status=$?
17765 grep -v '^ *+' conftest.er1 >conftest.err
17766 rm -f conftest.er1
17767 cat conftest.err >&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); } && {
17770 test -z "$ac_c_werror_flag" ||
17771 test ! -s conftest.err
17772 } && test -s conftest.$ac_objext; then
17773 ac_cv_member_struct_statfs_f_bavail=yes
17774 else
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17778 ac_cv_member_struct_statfs_f_bavail=no
17781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17787 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17788 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17790 cat >>confdefs.h <<_ACEOF
17791 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17792 _ACEOF
17796 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17797 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17798 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17799 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 else
17801 cat >conftest.$ac_ext <<_ACEOF
17802 /* confdefs.h. */
17803 _ACEOF
17804 cat confdefs.h >>conftest.$ac_ext
17805 cat >>conftest.$ac_ext <<_ACEOF
17806 /* end confdefs.h. */
17807 #include <sys/types.h>
17808 #ifdef HAVE_SYS_PARAM_H
17809 # include <sys/param.h>
17810 #endif
17811 #ifdef HAVE_SYS_MOUNT_H
17812 # include <sys/mount.h>
17813 #endif
17814 #ifdef HAVE_SYS_VFS_H
17815 # include <sys/vfs.h>
17816 #endif
17817 #ifdef HAVE_SYS_STATFS_H
17818 # include <sys/statfs.h>
17819 #endif
17822 main ()
17824 static struct statfs ac_aggr;
17825 if (ac_aggr.f_frsize)
17826 return 0;
17828 return 0;
17830 _ACEOF
17831 rm -f conftest.$ac_objext
17832 if { (ac_try="$ac_compile"
17833 case "(($ac_try" in
17834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17835 *) ac_try_echo=$ac_try;;
17836 esac
17837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17838 (eval "$ac_compile") 2>conftest.er1
17839 ac_status=$?
17840 grep -v '^ *+' conftest.er1 >conftest.err
17841 rm -f conftest.er1
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } && {
17845 test -z "$ac_c_werror_flag" ||
17846 test ! -s conftest.err
17847 } && test -s conftest.$ac_objext; then
17848 ac_cv_member_struct_statfs_f_frsize=yes
17849 else
17850 echo "$as_me: failed program was:" >&5
17851 sed 's/^/| /' conftest.$ac_ext >&5
17853 cat >conftest.$ac_ext <<_ACEOF
17854 /* confdefs.h. */
17855 _ACEOF
17856 cat confdefs.h >>conftest.$ac_ext
17857 cat >>conftest.$ac_ext <<_ACEOF
17858 /* end confdefs.h. */
17859 #include <sys/types.h>
17860 #ifdef HAVE_SYS_PARAM_H
17861 # include <sys/param.h>
17862 #endif
17863 #ifdef HAVE_SYS_MOUNT_H
17864 # include <sys/mount.h>
17865 #endif
17866 #ifdef HAVE_SYS_VFS_H
17867 # include <sys/vfs.h>
17868 #endif
17869 #ifdef HAVE_SYS_STATFS_H
17870 # include <sys/statfs.h>
17871 #endif
17874 main ()
17876 static struct statfs ac_aggr;
17877 if (sizeof ac_aggr.f_frsize)
17878 return 0;
17880 return 0;
17882 _ACEOF
17883 rm -f conftest.$ac_objext
17884 if { (ac_try="$ac_compile"
17885 case "(($ac_try" in
17886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17887 *) ac_try_echo=$ac_try;;
17888 esac
17889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17890 (eval "$ac_compile") 2>conftest.er1
17891 ac_status=$?
17892 grep -v '^ *+' conftest.er1 >conftest.err
17893 rm -f conftest.er1
17894 cat conftest.err >&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); } && {
17897 test -z "$ac_c_werror_flag" ||
17898 test ! -s conftest.err
17899 } && test -s conftest.$ac_objext; then
17900 ac_cv_member_struct_statfs_f_frsize=yes
17901 else
17902 echo "$as_me: failed program was:" >&5
17903 sed 's/^/| /' conftest.$ac_ext >&5
17905 ac_cv_member_struct_statfs_f_frsize=no
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17913 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17914 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
17915 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17917 cat >>confdefs.h <<_ACEOF
17918 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17919 _ACEOF
17923 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17924 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
17925 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17926 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 else
17928 cat >conftest.$ac_ext <<_ACEOF
17929 /* confdefs.h. */
17930 _ACEOF
17931 cat confdefs.h >>conftest.$ac_ext
17932 cat >>conftest.$ac_ext <<_ACEOF
17933 /* end confdefs.h. */
17934 #include <sys/types.h>
17935 #ifdef HAVE_SYS_PARAM_H
17936 # include <sys/param.h>
17937 #endif
17938 #ifdef HAVE_SYS_MOUNT_H
17939 # include <sys/mount.h>
17940 #endif
17941 #ifdef HAVE_SYS_VFS_H
17942 # include <sys/vfs.h>
17943 #endif
17944 #ifdef HAVE_SYS_STATFS_H
17945 # include <sys/statfs.h>
17946 #endif
17949 main ()
17951 static struct statfs ac_aggr;
17952 if (ac_aggr.f_ffree)
17953 return 0;
17955 return 0;
17957 _ACEOF
17958 rm -f conftest.$ac_objext
17959 if { (ac_try="$ac_compile"
17960 case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17963 esac
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_compile") 2>conftest.er1
17966 ac_status=$?
17967 grep -v '^ *+' conftest.er1 >conftest.err
17968 rm -f conftest.er1
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } && {
17972 test -z "$ac_c_werror_flag" ||
17973 test ! -s conftest.err
17974 } && test -s conftest.$ac_objext; then
17975 ac_cv_member_struct_statfs_f_ffree=yes
17976 else
17977 echo "$as_me: failed program was:" >&5
17978 sed 's/^/| /' conftest.$ac_ext >&5
17980 cat >conftest.$ac_ext <<_ACEOF
17981 /* confdefs.h. */
17982 _ACEOF
17983 cat confdefs.h >>conftest.$ac_ext
17984 cat >>conftest.$ac_ext <<_ACEOF
17985 /* end confdefs.h. */
17986 #include <sys/types.h>
17987 #ifdef HAVE_SYS_PARAM_H
17988 # include <sys/param.h>
17989 #endif
17990 #ifdef HAVE_SYS_MOUNT_H
17991 # include <sys/mount.h>
17992 #endif
17993 #ifdef HAVE_SYS_VFS_H
17994 # include <sys/vfs.h>
17995 #endif
17996 #ifdef HAVE_SYS_STATFS_H
17997 # include <sys/statfs.h>
17998 #endif
18001 main ()
18003 static struct statfs ac_aggr;
18004 if (sizeof ac_aggr.f_ffree)
18005 return 0;
18007 return 0;
18009 _ACEOF
18010 rm -f conftest.$ac_objext
18011 if { (ac_try="$ac_compile"
18012 case "(($ac_try" in
18013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18014 *) ac_try_echo=$ac_try;;
18015 esac
18016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18017 (eval "$ac_compile") 2>conftest.er1
18018 ac_status=$?
18019 grep -v '^ *+' conftest.er1 >conftest.err
18020 rm -f conftest.er1
18021 cat conftest.err >&5
18022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18023 (exit $ac_status); } && {
18024 test -z "$ac_c_werror_flag" ||
18025 test ! -s conftest.err
18026 } && test -s conftest.$ac_objext; then
18027 ac_cv_member_struct_statfs_f_ffree=yes
18028 else
18029 echo "$as_me: failed program was:" >&5
18030 sed 's/^/| /' conftest.$ac_ext >&5
18032 ac_cv_member_struct_statfs_f_ffree=no
18035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18040 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18041 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18042 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18044 cat >>confdefs.h <<_ACEOF
18045 #define HAVE_STRUCT_STATFS_F_FFREE 1
18046 _ACEOF
18050 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18051 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18052 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18053 echo $ECHO_N "(cached) $ECHO_C" >&6
18054 else
18055 cat >conftest.$ac_ext <<_ACEOF
18056 /* confdefs.h. */
18057 _ACEOF
18058 cat confdefs.h >>conftest.$ac_ext
18059 cat >>conftest.$ac_ext <<_ACEOF
18060 /* end confdefs.h. */
18061 #include <sys/types.h>
18062 #ifdef HAVE_SYS_PARAM_H
18063 # include <sys/param.h>
18064 #endif
18065 #ifdef HAVE_SYS_MOUNT_H
18066 # include <sys/mount.h>
18067 #endif
18068 #ifdef HAVE_SYS_VFS_H
18069 # include <sys/vfs.h>
18070 #endif
18071 #ifdef HAVE_SYS_STATFS_H
18072 # include <sys/statfs.h>
18073 #endif
18076 main ()
18078 static struct statfs ac_aggr;
18079 if (ac_aggr.f_favail)
18080 return 0;
18082 return 0;
18084 _ACEOF
18085 rm -f conftest.$ac_objext
18086 if { (ac_try="$ac_compile"
18087 case "(($ac_try" in
18088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18089 *) ac_try_echo=$ac_try;;
18090 esac
18091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18092 (eval "$ac_compile") 2>conftest.er1
18093 ac_status=$?
18094 grep -v '^ *+' conftest.er1 >conftest.err
18095 rm -f conftest.er1
18096 cat conftest.err >&5
18097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18098 (exit $ac_status); } && {
18099 test -z "$ac_c_werror_flag" ||
18100 test ! -s conftest.err
18101 } && test -s conftest.$ac_objext; then
18102 ac_cv_member_struct_statfs_f_favail=yes
18103 else
18104 echo "$as_me: failed program was:" >&5
18105 sed 's/^/| /' conftest.$ac_ext >&5
18107 cat >conftest.$ac_ext <<_ACEOF
18108 /* confdefs.h. */
18109 _ACEOF
18110 cat confdefs.h >>conftest.$ac_ext
18111 cat >>conftest.$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18113 #include <sys/types.h>
18114 #ifdef HAVE_SYS_PARAM_H
18115 # include <sys/param.h>
18116 #endif
18117 #ifdef HAVE_SYS_MOUNT_H
18118 # include <sys/mount.h>
18119 #endif
18120 #ifdef HAVE_SYS_VFS_H
18121 # include <sys/vfs.h>
18122 #endif
18123 #ifdef HAVE_SYS_STATFS_H
18124 # include <sys/statfs.h>
18125 #endif
18128 main ()
18130 static struct statfs ac_aggr;
18131 if (sizeof ac_aggr.f_favail)
18132 return 0;
18134 return 0;
18136 _ACEOF
18137 rm -f conftest.$ac_objext
18138 if { (ac_try="$ac_compile"
18139 case "(($ac_try" in
18140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18141 *) ac_try_echo=$ac_try;;
18142 esac
18143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18144 (eval "$ac_compile") 2>conftest.er1
18145 ac_status=$?
18146 grep -v '^ *+' conftest.er1 >conftest.err
18147 rm -f conftest.er1
18148 cat conftest.err >&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); } && {
18151 test -z "$ac_c_werror_flag" ||
18152 test ! -s conftest.err
18153 } && test -s conftest.$ac_objext; then
18154 ac_cv_member_struct_statfs_f_favail=yes
18155 else
18156 echo "$as_me: failed program was:" >&5
18157 sed 's/^/| /' conftest.$ac_ext >&5
18159 ac_cv_member_struct_statfs_f_favail=no
18162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18167 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18168 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18169 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18171 cat >>confdefs.h <<_ACEOF
18172 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18173 _ACEOF
18177 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18178 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18179 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18180 echo $ECHO_N "(cached) $ECHO_C" >&6
18181 else
18182 cat >conftest.$ac_ext <<_ACEOF
18183 /* confdefs.h. */
18184 _ACEOF
18185 cat confdefs.h >>conftest.$ac_ext
18186 cat >>conftest.$ac_ext <<_ACEOF
18187 /* end confdefs.h. */
18188 #include <sys/types.h>
18189 #ifdef HAVE_SYS_PARAM_H
18190 # include <sys/param.h>
18191 #endif
18192 #ifdef HAVE_SYS_MOUNT_H
18193 # include <sys/mount.h>
18194 #endif
18195 #ifdef HAVE_SYS_VFS_H
18196 # include <sys/vfs.h>
18197 #endif
18198 #ifdef HAVE_SYS_STATFS_H
18199 # include <sys/statfs.h>
18200 #endif
18203 main ()
18205 static struct statfs ac_aggr;
18206 if (ac_aggr.f_namelen)
18207 return 0;
18209 return 0;
18211 _ACEOF
18212 rm -f conftest.$ac_objext
18213 if { (ac_try="$ac_compile"
18214 case "(($ac_try" in
18215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18216 *) ac_try_echo=$ac_try;;
18217 esac
18218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18219 (eval "$ac_compile") 2>conftest.er1
18220 ac_status=$?
18221 grep -v '^ *+' conftest.er1 >conftest.err
18222 rm -f conftest.er1
18223 cat conftest.err >&5
18224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18225 (exit $ac_status); } && {
18226 test -z "$ac_c_werror_flag" ||
18227 test ! -s conftest.err
18228 } && test -s conftest.$ac_objext; then
18229 ac_cv_member_struct_statfs_f_namelen=yes
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 cat >conftest.$ac_ext <<_ACEOF
18235 /* confdefs.h. */
18236 _ACEOF
18237 cat confdefs.h >>conftest.$ac_ext
18238 cat >>conftest.$ac_ext <<_ACEOF
18239 /* end confdefs.h. */
18240 #include <sys/types.h>
18241 #ifdef HAVE_SYS_PARAM_H
18242 # include <sys/param.h>
18243 #endif
18244 #ifdef HAVE_SYS_MOUNT_H
18245 # include <sys/mount.h>
18246 #endif
18247 #ifdef HAVE_SYS_VFS_H
18248 # include <sys/vfs.h>
18249 #endif
18250 #ifdef HAVE_SYS_STATFS_H
18251 # include <sys/statfs.h>
18252 #endif
18255 main ()
18257 static struct statfs ac_aggr;
18258 if (sizeof ac_aggr.f_namelen)
18259 return 0;
18261 return 0;
18263 _ACEOF
18264 rm -f conftest.$ac_objext
18265 if { (ac_try="$ac_compile"
18266 case "(($ac_try" in
18267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18268 *) ac_try_echo=$ac_try;;
18269 esac
18270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18271 (eval "$ac_compile") 2>conftest.er1
18272 ac_status=$?
18273 grep -v '^ *+' conftest.er1 >conftest.err
18274 rm -f conftest.er1
18275 cat conftest.err >&5
18276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18277 (exit $ac_status); } && {
18278 test -z "$ac_c_werror_flag" ||
18279 test ! -s conftest.err
18280 } && test -s conftest.$ac_objext; then
18281 ac_cv_member_struct_statfs_f_namelen=yes
18282 else
18283 echo "$as_me: failed program was:" >&5
18284 sed 's/^/| /' conftest.$ac_ext >&5
18286 ac_cv_member_struct_statfs_f_namelen=no
18289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18294 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18295 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18296 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18298 cat >>confdefs.h <<_ACEOF
18299 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18300 _ACEOF
18306 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18307 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18308 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18310 else
18311 cat >conftest.$ac_ext <<_ACEOF
18312 /* confdefs.h. */
18313 _ACEOF
18314 cat confdefs.h >>conftest.$ac_ext
18315 cat >>conftest.$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #ifdef HAVE_SYS_STATVFS_H
18318 #include <sys/statvfs.h>
18319 #endif
18322 main ()
18324 static struct statvfs ac_aggr;
18325 if (ac_aggr.f_blocks)
18326 return 0;
18328 return 0;
18330 _ACEOF
18331 rm -f conftest.$ac_objext
18332 if { (ac_try="$ac_compile"
18333 case "(($ac_try" in
18334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18335 *) ac_try_echo=$ac_try;;
18336 esac
18337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18338 (eval "$ac_compile") 2>conftest.er1
18339 ac_status=$?
18340 grep -v '^ *+' conftest.er1 >conftest.err
18341 rm -f conftest.er1
18342 cat conftest.err >&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); } && {
18345 test -z "$ac_c_werror_flag" ||
18346 test ! -s conftest.err
18347 } && test -s conftest.$ac_objext; then
18348 ac_cv_member_struct_statvfs_f_blocks=yes
18349 else
18350 echo "$as_me: failed program was:" >&5
18351 sed 's/^/| /' conftest.$ac_ext >&5
18353 cat >conftest.$ac_ext <<_ACEOF
18354 /* confdefs.h. */
18355 _ACEOF
18356 cat confdefs.h >>conftest.$ac_ext
18357 cat >>conftest.$ac_ext <<_ACEOF
18358 /* end confdefs.h. */
18359 #ifdef HAVE_SYS_STATVFS_H
18360 #include <sys/statvfs.h>
18361 #endif
18364 main ()
18366 static struct statvfs ac_aggr;
18367 if (sizeof ac_aggr.f_blocks)
18368 return 0;
18370 return 0;
18372 _ACEOF
18373 rm -f conftest.$ac_objext
18374 if { (ac_try="$ac_compile"
18375 case "(($ac_try" in
18376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18377 *) ac_try_echo=$ac_try;;
18378 esac
18379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18380 (eval "$ac_compile") 2>conftest.er1
18381 ac_status=$?
18382 grep -v '^ *+' conftest.er1 >conftest.err
18383 rm -f conftest.er1
18384 cat conftest.err >&5
18385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18386 (exit $ac_status); } && {
18387 test -z "$ac_c_werror_flag" ||
18388 test ! -s conftest.err
18389 } && test -s conftest.$ac_objext; then
18390 ac_cv_member_struct_statvfs_f_blocks=yes
18391 else
18392 echo "$as_me: failed program was:" >&5
18393 sed 's/^/| /' conftest.$ac_ext >&5
18395 ac_cv_member_struct_statvfs_f_blocks=no
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18403 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18404 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18405 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18409 _ACEOF
18415 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18416 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18417 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18418 echo $ECHO_N "(cached) $ECHO_C" >&6
18419 else
18420 cat >conftest.$ac_ext <<_ACEOF
18421 /* confdefs.h. */
18422 _ACEOF
18423 cat confdefs.h >>conftest.$ac_ext
18424 cat >>conftest.$ac_ext <<_ACEOF
18425 /* end confdefs.h. */
18426 #include <sys/types.h>
18427 #ifdef HAVE_SYS_SOCKET_H
18428 # include <sys/socket.h>
18429 #endif
18430 #ifdef HAVE_SYS_UN_H
18431 # include <sys/un.h>
18432 #endif
18435 main ()
18437 static struct msghdr ac_aggr;
18438 if (ac_aggr.msg_accrights)
18439 return 0;
18441 return 0;
18443 _ACEOF
18444 rm -f conftest.$ac_objext
18445 if { (ac_try="$ac_compile"
18446 case "(($ac_try" in
18447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18448 *) ac_try_echo=$ac_try;;
18449 esac
18450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18451 (eval "$ac_compile") 2>conftest.er1
18452 ac_status=$?
18453 grep -v '^ *+' conftest.er1 >conftest.err
18454 rm -f conftest.er1
18455 cat conftest.err >&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); } && {
18458 test -z "$ac_c_werror_flag" ||
18459 test ! -s conftest.err
18460 } && test -s conftest.$ac_objext; then
18461 ac_cv_member_struct_msghdr_msg_accrights=yes
18462 else
18463 echo "$as_me: failed program was:" >&5
18464 sed 's/^/| /' conftest.$ac_ext >&5
18466 cat >conftest.$ac_ext <<_ACEOF
18467 /* confdefs.h. */
18468 _ACEOF
18469 cat confdefs.h >>conftest.$ac_ext
18470 cat >>conftest.$ac_ext <<_ACEOF
18471 /* end confdefs.h. */
18472 #include <sys/types.h>
18473 #ifdef HAVE_SYS_SOCKET_H
18474 # include <sys/socket.h>
18475 #endif
18476 #ifdef HAVE_SYS_UN_H
18477 # include <sys/un.h>
18478 #endif
18481 main ()
18483 static struct msghdr ac_aggr;
18484 if (sizeof ac_aggr.msg_accrights)
18485 return 0;
18487 return 0;
18489 _ACEOF
18490 rm -f conftest.$ac_objext
18491 if { (ac_try="$ac_compile"
18492 case "(($ac_try" in
18493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18494 *) ac_try_echo=$ac_try;;
18495 esac
18496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18497 (eval "$ac_compile") 2>conftest.er1
18498 ac_status=$?
18499 grep -v '^ *+' conftest.er1 >conftest.err
18500 rm -f conftest.er1
18501 cat conftest.err >&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); } && {
18504 test -z "$ac_c_werror_flag" ||
18505 test ! -s conftest.err
18506 } && test -s conftest.$ac_objext; then
18507 ac_cv_member_struct_msghdr_msg_accrights=yes
18508 else
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.$ac_ext >&5
18512 ac_cv_member_struct_msghdr_msg_accrights=no
18515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18520 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18521 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18522 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18524 cat >>confdefs.h <<_ACEOF
18525 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18526 _ACEOF
18530 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18531 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18532 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18533 echo $ECHO_N "(cached) $ECHO_C" >&6
18534 else
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h. */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h. */
18541 #include <sys/types.h>
18542 #ifdef HAVE_SYS_SOCKET_H
18543 # include <sys/socket.h>
18544 #endif
18545 #ifdef HAVE_SYS_UN_H
18546 # include <sys/un.h>
18547 #endif
18550 main ()
18552 static struct sockaddr ac_aggr;
18553 if (ac_aggr.sa_len)
18554 return 0;
18556 return 0;
18558 _ACEOF
18559 rm -f conftest.$ac_objext
18560 if { (ac_try="$ac_compile"
18561 case "(($ac_try" in
18562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18563 *) ac_try_echo=$ac_try;;
18564 esac
18565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18566 (eval "$ac_compile") 2>conftest.er1
18567 ac_status=$?
18568 grep -v '^ *+' conftest.er1 >conftest.err
18569 rm -f conftest.er1
18570 cat conftest.err >&5
18571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18572 (exit $ac_status); } && {
18573 test -z "$ac_c_werror_flag" ||
18574 test ! -s conftest.err
18575 } && test -s conftest.$ac_objext; then
18576 ac_cv_member_struct_sockaddr_sa_len=yes
18577 else
18578 echo "$as_me: failed program was:" >&5
18579 sed 's/^/| /' conftest.$ac_ext >&5
18581 cat >conftest.$ac_ext <<_ACEOF
18582 /* confdefs.h. */
18583 _ACEOF
18584 cat confdefs.h >>conftest.$ac_ext
18585 cat >>conftest.$ac_ext <<_ACEOF
18586 /* end confdefs.h. */
18587 #include <sys/types.h>
18588 #ifdef HAVE_SYS_SOCKET_H
18589 # include <sys/socket.h>
18590 #endif
18591 #ifdef HAVE_SYS_UN_H
18592 # include <sys/un.h>
18593 #endif
18596 main ()
18598 static struct sockaddr ac_aggr;
18599 if (sizeof ac_aggr.sa_len)
18600 return 0;
18602 return 0;
18604 _ACEOF
18605 rm -f conftest.$ac_objext
18606 if { (ac_try="$ac_compile"
18607 case "(($ac_try" in
18608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18609 *) ac_try_echo=$ac_try;;
18610 esac
18611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18612 (eval "$ac_compile") 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } && {
18619 test -z "$ac_c_werror_flag" ||
18620 test ! -s conftest.err
18621 } && test -s conftest.$ac_objext; then
18622 ac_cv_member_struct_sockaddr_sa_len=yes
18623 else
18624 echo "$as_me: failed program was:" >&5
18625 sed 's/^/| /' conftest.$ac_ext >&5
18627 ac_cv_member_struct_sockaddr_sa_len=no
18630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18635 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18636 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18637 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18639 cat >>confdefs.h <<_ACEOF
18640 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18641 _ACEOF
18645 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18646 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18647 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18648 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 else
18650 cat >conftest.$ac_ext <<_ACEOF
18651 /* confdefs.h. */
18652 _ACEOF
18653 cat confdefs.h >>conftest.$ac_ext
18654 cat >>conftest.$ac_ext <<_ACEOF
18655 /* end confdefs.h. */
18656 #include <sys/types.h>
18657 #ifdef HAVE_SYS_SOCKET_H
18658 # include <sys/socket.h>
18659 #endif
18660 #ifdef HAVE_SYS_UN_H
18661 # include <sys/un.h>
18662 #endif
18665 main ()
18667 static struct sockaddr_un ac_aggr;
18668 if (ac_aggr.sun_len)
18669 return 0;
18671 return 0;
18673 _ACEOF
18674 rm -f conftest.$ac_objext
18675 if { (ac_try="$ac_compile"
18676 case "(($ac_try" in
18677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18678 *) ac_try_echo=$ac_try;;
18679 esac
18680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18681 (eval "$ac_compile") 2>conftest.er1
18682 ac_status=$?
18683 grep -v '^ *+' conftest.er1 >conftest.err
18684 rm -f conftest.er1
18685 cat conftest.err >&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } && {
18688 test -z "$ac_c_werror_flag" ||
18689 test ! -s conftest.err
18690 } && test -s conftest.$ac_objext; then
18691 ac_cv_member_struct_sockaddr_un_sun_len=yes
18692 else
18693 echo "$as_me: failed program was:" >&5
18694 sed 's/^/| /' conftest.$ac_ext >&5
18696 cat >conftest.$ac_ext <<_ACEOF
18697 /* confdefs.h. */
18698 _ACEOF
18699 cat confdefs.h >>conftest.$ac_ext
18700 cat >>conftest.$ac_ext <<_ACEOF
18701 /* end confdefs.h. */
18702 #include <sys/types.h>
18703 #ifdef HAVE_SYS_SOCKET_H
18704 # include <sys/socket.h>
18705 #endif
18706 #ifdef HAVE_SYS_UN_H
18707 # include <sys/un.h>
18708 #endif
18711 main ()
18713 static struct sockaddr_un ac_aggr;
18714 if (sizeof ac_aggr.sun_len)
18715 return 0;
18717 return 0;
18719 _ACEOF
18720 rm -f conftest.$ac_objext
18721 if { (ac_try="$ac_compile"
18722 case "(($ac_try" in
18723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18725 esac
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_compile") 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } && {
18734 test -z "$ac_c_werror_flag" ||
18735 test ! -s conftest.err
18736 } && test -s conftest.$ac_objext; then
18737 ac_cv_member_struct_sockaddr_un_sun_len=yes
18738 else
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18742 ac_cv_member_struct_sockaddr_un_sun_len=no
18745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18751 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18752 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18754 cat >>confdefs.h <<_ACEOF
18755 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18756 _ACEOF
18762 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18763 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18764 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18765 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 else
18767 cat >conftest.$ac_ext <<_ACEOF
18768 /* confdefs.h. */
18769 _ACEOF
18770 cat confdefs.h >>conftest.$ac_ext
18771 cat >>conftest.$ac_ext <<_ACEOF
18772 /* end confdefs.h. */
18773 #include <sys/types.h>
18774 #ifdef HAVE_SCSI_SG_H
18775 #include <scsi/sg.h>
18776 #endif
18779 main ()
18781 static scsireq_t ac_aggr;
18782 if (ac_aggr.cmd)
18783 return 0;
18785 return 0;
18787 _ACEOF
18788 rm -f conftest.$ac_objext
18789 if { (ac_try="$ac_compile"
18790 case "(($ac_try" in
18791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18792 *) ac_try_echo=$ac_try;;
18793 esac
18794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18795 (eval "$ac_compile") 2>conftest.er1
18796 ac_status=$?
18797 grep -v '^ *+' conftest.er1 >conftest.err
18798 rm -f conftest.er1
18799 cat conftest.err >&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } && {
18802 test -z "$ac_c_werror_flag" ||
18803 test ! -s conftest.err
18804 } && test -s conftest.$ac_objext; then
18805 ac_cv_member_scsireq_t_cmd=yes
18806 else
18807 echo "$as_me: failed program was:" >&5
18808 sed 's/^/| /' conftest.$ac_ext >&5
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h. */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 #include <sys/types.h>
18817 #ifdef HAVE_SCSI_SG_H
18818 #include <scsi/sg.h>
18819 #endif
18822 main ()
18824 static scsireq_t ac_aggr;
18825 if (sizeof ac_aggr.cmd)
18826 return 0;
18828 return 0;
18830 _ACEOF
18831 rm -f conftest.$ac_objext
18832 if { (ac_try="$ac_compile"
18833 case "(($ac_try" in
18834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18835 *) ac_try_echo=$ac_try;;
18836 esac
18837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18838 (eval "$ac_compile") 2>conftest.er1
18839 ac_status=$?
18840 grep -v '^ *+' conftest.er1 >conftest.err
18841 rm -f conftest.er1
18842 cat conftest.err >&5
18843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18844 (exit $ac_status); } && {
18845 test -z "$ac_c_werror_flag" ||
18846 test ! -s conftest.err
18847 } && test -s conftest.$ac_objext; then
18848 ac_cv_member_scsireq_t_cmd=yes
18849 else
18850 echo "$as_me: failed program was:" >&5
18851 sed 's/^/| /' conftest.$ac_ext >&5
18853 ac_cv_member_scsireq_t_cmd=no
18856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18861 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18862 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
18863 if test $ac_cv_member_scsireq_t_cmd = yes; then
18865 cat >>confdefs.h <<_ACEOF
18866 #define HAVE_SCSIREQ_T_CMD 1
18867 _ACEOF
18871 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18872 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
18873 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18874 echo $ECHO_N "(cached) $ECHO_C" >&6
18875 else
18876 cat >conftest.$ac_ext <<_ACEOF
18877 /* confdefs.h. */
18878 _ACEOF
18879 cat confdefs.h >>conftest.$ac_ext
18880 cat >>conftest.$ac_ext <<_ACEOF
18881 /* end confdefs.h. */
18882 #include <sys/types.h>
18883 #ifdef HAVE_SCSI_SG_H
18884 #include <scsi/sg.h>
18885 #endif
18888 main ()
18890 static sg_io_hdr_t ac_aggr;
18891 if (ac_aggr.interface_id)
18892 return 0;
18894 return 0;
18896 _ACEOF
18897 rm -f conftest.$ac_objext
18898 if { (ac_try="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18902 esac
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18905 ac_status=$?
18906 grep -v '^ *+' conftest.er1 >conftest.err
18907 rm -f conftest.er1
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_c_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.$ac_objext; then
18914 ac_cv_member_sg_io_hdr_t_interface_id=yes
18915 else
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18919 cat >conftest.$ac_ext <<_ACEOF
18920 /* confdefs.h. */
18921 _ACEOF
18922 cat confdefs.h >>conftest.$ac_ext
18923 cat >>conftest.$ac_ext <<_ACEOF
18924 /* end confdefs.h. */
18925 #include <sys/types.h>
18926 #ifdef HAVE_SCSI_SG_H
18927 #include <scsi/sg.h>
18928 #endif
18931 main ()
18933 static sg_io_hdr_t ac_aggr;
18934 if (sizeof ac_aggr.interface_id)
18935 return 0;
18937 return 0;
18939 _ACEOF
18940 rm -f conftest.$ac_objext
18941 if { (ac_try="$ac_compile"
18942 case "(($ac_try" in
18943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18944 *) ac_try_echo=$ac_try;;
18945 esac
18946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18947 (eval "$ac_compile") 2>conftest.er1
18948 ac_status=$?
18949 grep -v '^ *+' conftest.er1 >conftest.err
18950 rm -f conftest.er1
18951 cat conftest.err >&5
18952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18953 (exit $ac_status); } && {
18954 test -z "$ac_c_werror_flag" ||
18955 test ! -s conftest.err
18956 } && test -s conftest.$ac_objext; then
18957 ac_cv_member_sg_io_hdr_t_interface_id=yes
18958 else
18959 echo "$as_me: failed program was:" >&5
18960 sed 's/^/| /' conftest.$ac_ext >&5
18962 ac_cv_member_sg_io_hdr_t_interface_id=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18970 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18971 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
18972 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18976 _ACEOF
18982 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18983 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
18984 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18985 echo $ECHO_N "(cached) $ECHO_C" >&6
18986 else
18987 cat >conftest.$ac_ext <<_ACEOF
18988 /* confdefs.h. */
18989 _ACEOF
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18993 #include <signal.h>
18996 main ()
18998 static siginfo_t ac_aggr;
18999 if (ac_aggr.si_fd)
19000 return 0;
19002 return 0;
19004 _ACEOF
19005 rm -f conftest.$ac_objext
19006 if { (ac_try="$ac_compile"
19007 case "(($ac_try" in
19008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19009 *) ac_try_echo=$ac_try;;
19010 esac
19011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19012 (eval "$ac_compile") 2>conftest.er1
19013 ac_status=$?
19014 grep -v '^ *+' conftest.er1 >conftest.err
19015 rm -f conftest.er1
19016 cat conftest.err >&5
19017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19018 (exit $ac_status); } && {
19019 test -z "$ac_c_werror_flag" ||
19020 test ! -s conftest.err
19021 } && test -s conftest.$ac_objext; then
19022 ac_cv_member_siginfo_t_si_fd=yes
19023 else
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.$ac_ext >&5
19027 cat >conftest.$ac_ext <<_ACEOF
19028 /* confdefs.h. */
19029 _ACEOF
19030 cat confdefs.h >>conftest.$ac_ext
19031 cat >>conftest.$ac_ext <<_ACEOF
19032 /* end confdefs.h. */
19033 #include <signal.h>
19036 main ()
19038 static siginfo_t ac_aggr;
19039 if (sizeof ac_aggr.si_fd)
19040 return 0;
19042 return 0;
19044 _ACEOF
19045 rm -f conftest.$ac_objext
19046 if { (ac_try="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19050 esac
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19062 ac_cv_member_siginfo_t_si_fd=yes
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19067 ac_cv_member_siginfo_t_si_fd=no
19070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19075 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19076 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19077 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19079 cat >>confdefs.h <<_ACEOF
19080 #define HAVE_SIGINFO_T_SI_FD 1
19081 _ACEOF
19087 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19088 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19089 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19090 echo $ECHO_N "(cached) $ECHO_C" >&6
19091 else
19092 cat >conftest.$ac_ext <<_ACEOF
19093 /* confdefs.h. */
19094 _ACEOF
19095 cat confdefs.h >>conftest.$ac_ext
19096 cat >>conftest.$ac_ext <<_ACEOF
19097 /* end confdefs.h. */
19098 #include <sys/types.h>
19099 #ifdef HAVE_SYS_MTIO_H
19100 #include <sys/mtio.h>
19101 #endif
19104 main ()
19106 static struct mtget ac_aggr;
19107 if (ac_aggr.mt_blksiz)
19108 return 0;
19110 return 0;
19112 _ACEOF
19113 rm -f conftest.$ac_objext
19114 if { (ac_try="$ac_compile"
19115 case "(($ac_try" in
19116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19117 *) ac_try_echo=$ac_try;;
19118 esac
19119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19120 (eval "$ac_compile") 2>conftest.er1
19121 ac_status=$?
19122 grep -v '^ *+' conftest.er1 >conftest.err
19123 rm -f conftest.er1
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } && {
19127 test -z "$ac_c_werror_flag" ||
19128 test ! -s conftest.err
19129 } && test -s conftest.$ac_objext; then
19130 ac_cv_member_struct_mtget_mt_blksiz=yes
19131 else
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19135 cat >conftest.$ac_ext <<_ACEOF
19136 /* confdefs.h. */
19137 _ACEOF
19138 cat confdefs.h >>conftest.$ac_ext
19139 cat >>conftest.$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19141 #include <sys/types.h>
19142 #ifdef HAVE_SYS_MTIO_H
19143 #include <sys/mtio.h>
19144 #endif
19147 main ()
19149 static struct mtget ac_aggr;
19150 if (sizeof ac_aggr.mt_blksiz)
19151 return 0;
19153 return 0;
19155 _ACEOF
19156 rm -f conftest.$ac_objext
19157 if { (ac_try="$ac_compile"
19158 case "(($ac_try" in
19159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19160 *) ac_try_echo=$ac_try;;
19161 esac
19162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19163 (eval "$ac_compile") 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } && {
19170 test -z "$ac_c_werror_flag" ||
19171 test ! -s conftest.err
19172 } && test -s conftest.$ac_objext; then
19173 ac_cv_member_struct_mtget_mt_blksiz=yes
19174 else
19175 echo "$as_me: failed program was:" >&5
19176 sed 's/^/| /' conftest.$ac_ext >&5
19178 ac_cv_member_struct_mtget_mt_blksiz=no
19181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19186 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19187 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19188 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19190 cat >>confdefs.h <<_ACEOF
19191 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19192 _ACEOF
19196 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19197 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19198 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19199 echo $ECHO_N "(cached) $ECHO_C" >&6
19200 else
19201 cat >conftest.$ac_ext <<_ACEOF
19202 /* confdefs.h. */
19203 _ACEOF
19204 cat confdefs.h >>conftest.$ac_ext
19205 cat >>conftest.$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 #include <sys/types.h>
19208 #ifdef HAVE_SYS_MTIO_H
19209 #include <sys/mtio.h>
19210 #endif
19213 main ()
19215 static struct mtget ac_aggr;
19216 if (ac_aggr.mt_gstat)
19217 return 0;
19219 return 0;
19221 _ACEOF
19222 rm -f conftest.$ac_objext
19223 if { (ac_try="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19226 *) ac_try_echo=$ac_try;;
19227 esac
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19230 ac_status=$?
19231 grep -v '^ *+' conftest.er1 >conftest.err
19232 rm -f conftest.er1
19233 cat conftest.err >&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } && {
19236 test -z "$ac_c_werror_flag" ||
19237 test ! -s conftest.err
19238 } && test -s conftest.$ac_objext; then
19239 ac_cv_member_struct_mtget_mt_gstat=yes
19240 else
19241 echo "$as_me: failed program was:" >&5
19242 sed 's/^/| /' conftest.$ac_ext >&5
19244 cat >conftest.$ac_ext <<_ACEOF
19245 /* confdefs.h. */
19246 _ACEOF
19247 cat confdefs.h >>conftest.$ac_ext
19248 cat >>conftest.$ac_ext <<_ACEOF
19249 /* end confdefs.h. */
19250 #include <sys/types.h>
19251 #ifdef HAVE_SYS_MTIO_H
19252 #include <sys/mtio.h>
19253 #endif
19256 main ()
19258 static struct mtget ac_aggr;
19259 if (sizeof ac_aggr.mt_gstat)
19260 return 0;
19262 return 0;
19264 _ACEOF
19265 rm -f conftest.$ac_objext
19266 if { (ac_try="$ac_compile"
19267 case "(($ac_try" in
19268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19269 *) ac_try_echo=$ac_try;;
19270 esac
19271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19272 (eval "$ac_compile") 2>conftest.er1
19273 ac_status=$?
19274 grep -v '^ *+' conftest.er1 >conftest.err
19275 rm -f conftest.er1
19276 cat conftest.err >&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); } && {
19279 test -z "$ac_c_werror_flag" ||
19280 test ! -s conftest.err
19281 } && test -s conftest.$ac_objext; then
19282 ac_cv_member_struct_mtget_mt_gstat=yes
19283 else
19284 echo "$as_me: failed program was:" >&5
19285 sed 's/^/| /' conftest.$ac_ext >&5
19287 ac_cv_member_struct_mtget_mt_gstat=no
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19295 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19296 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19297 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19299 cat >>confdefs.h <<_ACEOF
19300 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19301 _ACEOF
19305 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19306 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19307 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19309 else
19310 cat >conftest.$ac_ext <<_ACEOF
19311 /* confdefs.h. */
19312 _ACEOF
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19316 #include <sys/types.h>
19317 #ifdef HAVE_SYS_MTIO_H
19318 #include <sys/mtio.h>
19319 #endif
19322 main ()
19324 static struct mtget ac_aggr;
19325 if (ac_aggr.mt_blkno)
19326 return 0;
19328 return 0;
19330 _ACEOF
19331 rm -f conftest.$ac_objext
19332 if { (ac_try="$ac_compile"
19333 case "(($ac_try" in
19334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19335 *) ac_try_echo=$ac_try;;
19336 esac
19337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19338 (eval "$ac_compile") 2>conftest.er1
19339 ac_status=$?
19340 grep -v '^ *+' conftest.er1 >conftest.err
19341 rm -f conftest.er1
19342 cat conftest.err >&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); } && {
19345 test -z "$ac_c_werror_flag" ||
19346 test ! -s conftest.err
19347 } && test -s conftest.$ac_objext; then
19348 ac_cv_member_struct_mtget_mt_blkno=yes
19349 else
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19353 cat >conftest.$ac_ext <<_ACEOF
19354 /* confdefs.h. */
19355 _ACEOF
19356 cat confdefs.h >>conftest.$ac_ext
19357 cat >>conftest.$ac_ext <<_ACEOF
19358 /* end confdefs.h. */
19359 #include <sys/types.h>
19360 #ifdef HAVE_SYS_MTIO_H
19361 #include <sys/mtio.h>
19362 #endif
19365 main ()
19367 static struct mtget ac_aggr;
19368 if (sizeof ac_aggr.mt_blkno)
19369 return 0;
19371 return 0;
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (ac_try="$ac_compile"
19376 case "(($ac_try" in
19377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19378 *) ac_try_echo=$ac_try;;
19379 esac
19380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19381 (eval "$ac_compile") 2>conftest.er1
19382 ac_status=$?
19383 grep -v '^ *+' conftest.er1 >conftest.err
19384 rm -f conftest.er1
19385 cat conftest.err >&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); } && {
19388 test -z "$ac_c_werror_flag" ||
19389 test ! -s conftest.err
19390 } && test -s conftest.$ac_objext; then
19391 ac_cv_member_struct_mtget_mt_blkno=yes
19392 else
19393 echo "$as_me: failed program was:" >&5
19394 sed 's/^/| /' conftest.$ac_ext >&5
19396 ac_cv_member_struct_mtget_mt_blkno=no
19399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19404 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19405 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19406 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19408 cat >>confdefs.h <<_ACEOF
19409 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19410 _ACEOF
19416 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19417 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19418 if test "${ac_cv_member_struct_option_name+set}" = set; then
19419 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 else
19421 cat >conftest.$ac_ext <<_ACEOF
19422 /* confdefs.h. */
19423 _ACEOF
19424 cat confdefs.h >>conftest.$ac_ext
19425 cat >>conftest.$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 #ifdef HAVE_GETOPT_H
19428 #include <getopt.h>
19429 #endif
19432 main ()
19434 static struct option ac_aggr;
19435 if (ac_aggr.name)
19436 return 0;
19438 return 0;
19440 _ACEOF
19441 rm -f conftest.$ac_objext
19442 if { (ac_try="$ac_compile"
19443 case "(($ac_try" in
19444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19445 *) ac_try_echo=$ac_try;;
19446 esac
19447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19448 (eval "$ac_compile") 2>conftest.er1
19449 ac_status=$?
19450 grep -v '^ *+' conftest.er1 >conftest.err
19451 rm -f conftest.er1
19452 cat conftest.err >&5
19453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19454 (exit $ac_status); } && {
19455 test -z "$ac_c_werror_flag" ||
19456 test ! -s conftest.err
19457 } && test -s conftest.$ac_objext; then
19458 ac_cv_member_struct_option_name=yes
19459 else
19460 echo "$as_me: failed program was:" >&5
19461 sed 's/^/| /' conftest.$ac_ext >&5
19463 cat >conftest.$ac_ext <<_ACEOF
19464 /* confdefs.h. */
19465 _ACEOF
19466 cat confdefs.h >>conftest.$ac_ext
19467 cat >>conftest.$ac_ext <<_ACEOF
19468 /* end confdefs.h. */
19469 #ifdef HAVE_GETOPT_H
19470 #include <getopt.h>
19471 #endif
19474 main ()
19476 static struct option ac_aggr;
19477 if (sizeof ac_aggr.name)
19478 return 0;
19480 return 0;
19482 _ACEOF
19483 rm -f conftest.$ac_objext
19484 if { (ac_try="$ac_compile"
19485 case "(($ac_try" in
19486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19487 *) ac_try_echo=$ac_try;;
19488 esac
19489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19490 (eval "$ac_compile") 2>conftest.er1
19491 ac_status=$?
19492 grep -v '^ *+' conftest.er1 >conftest.err
19493 rm -f conftest.er1
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } && {
19497 test -z "$ac_c_werror_flag" ||
19498 test ! -s conftest.err
19499 } && test -s conftest.$ac_objext; then
19500 ac_cv_member_struct_option_name=yes
19501 else
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.$ac_ext >&5
19505 ac_cv_member_struct_option_name=no
19508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19513 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19514 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19515 if test $ac_cv_member_struct_option_name = yes; then
19517 cat >>confdefs.h <<_ACEOF
19518 #define HAVE_STRUCT_OPTION_NAME 1
19519 _ACEOF
19525 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19526 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19527 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19528 echo $ECHO_N "(cached) $ECHO_C" >&6
19529 else
19530 cat >conftest.$ac_ext <<_ACEOF
19531 /* confdefs.h. */
19532 _ACEOF
19533 cat confdefs.h >>conftest.$ac_ext
19534 cat >>conftest.$ac_ext <<_ACEOF
19535 /* end confdefs.h. */
19536 $ac_includes_default
19538 main ()
19540 static struct stat ac_aggr;
19541 if (ac_aggr.st_blocks)
19542 return 0;
19544 return 0;
19546 _ACEOF
19547 rm -f conftest.$ac_objext
19548 if { (ac_try="$ac_compile"
19549 case "(($ac_try" in
19550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19551 *) ac_try_echo=$ac_try;;
19552 esac
19553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19554 (eval "$ac_compile") 2>conftest.er1
19555 ac_status=$?
19556 grep -v '^ *+' conftest.er1 >conftest.err
19557 rm -f conftest.er1
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } && {
19561 test -z "$ac_c_werror_flag" ||
19562 test ! -s conftest.err
19563 } && test -s conftest.$ac_objext; then
19564 ac_cv_member_struct_stat_st_blocks=yes
19565 else
19566 echo "$as_me: failed program was:" >&5
19567 sed 's/^/| /' conftest.$ac_ext >&5
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 $ac_includes_default
19577 main ()
19579 static struct stat ac_aggr;
19580 if (sizeof ac_aggr.st_blocks)
19581 return 0;
19583 return 0;
19585 _ACEOF
19586 rm -f conftest.$ac_objext
19587 if { (ac_try="$ac_compile"
19588 case "(($ac_try" in
19589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19590 *) ac_try_echo=$ac_try;;
19591 esac
19592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19593 (eval "$ac_compile") 2>conftest.er1
19594 ac_status=$?
19595 grep -v '^ *+' conftest.er1 >conftest.err
19596 rm -f conftest.er1
19597 cat conftest.err >&5
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); } && {
19600 test -z "$ac_c_werror_flag" ||
19601 test ! -s conftest.err
19602 } && test -s conftest.$ac_objext; then
19603 ac_cv_member_struct_stat_st_blocks=yes
19604 else
19605 echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19608 ac_cv_member_struct_stat_st_blocks=no
19611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19616 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19617 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19618 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19620 cat >>confdefs.h <<_ACEOF
19621 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19622 _ACEOF
19628 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19629 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19630 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19631 echo $ECHO_N "(cached) $ECHO_C" >&6
19632 else
19633 cat >conftest.$ac_ext <<_ACEOF
19634 /* confdefs.h. */
19635 _ACEOF
19636 cat confdefs.h >>conftest.$ac_ext
19637 cat >>conftest.$ac_ext <<_ACEOF
19638 /* end confdefs.h. */
19639 #ifdef HAVE_SYS_TYPES_H
19640 #include <sys/types.h>
19641 #endif
19642 #ifdef HAVE_NETINET_IN_H
19643 #include <netinet/in.h>
19644 #endif
19647 main ()
19649 static struct sockaddr_in6 ac_aggr;
19650 if (ac_aggr.sin6_scope_id)
19651 return 0;
19653 return 0;
19655 _ACEOF
19656 rm -f conftest.$ac_objext
19657 if { (ac_try="$ac_compile"
19658 case "(($ac_try" in
19659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19660 *) ac_try_echo=$ac_try;;
19661 esac
19662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19663 (eval "$ac_compile") 2>conftest.er1
19664 ac_status=$?
19665 grep -v '^ *+' conftest.er1 >conftest.err
19666 rm -f conftest.er1
19667 cat conftest.err >&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } && {
19670 test -z "$ac_c_werror_flag" ||
19671 test ! -s conftest.err
19672 } && test -s conftest.$ac_objext; then
19673 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19674 else
19675 echo "$as_me: failed program was:" >&5
19676 sed 's/^/| /' conftest.$ac_ext >&5
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h. */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 #ifdef HAVE_SYS_TYPES_H
19685 #include <sys/types.h>
19686 #endif
19687 #ifdef HAVE_NETINET_IN_H
19688 #include <netinet/in.h>
19689 #endif
19692 main ()
19694 static struct sockaddr_in6 ac_aggr;
19695 if (sizeof ac_aggr.sin6_scope_id)
19696 return 0;
19698 return 0;
19700 _ACEOF
19701 rm -f conftest.$ac_objext
19702 if { (ac_try="$ac_compile"
19703 case "(($ac_try" in
19704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19705 *) ac_try_echo=$ac_try;;
19706 esac
19707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19708 (eval "$ac_compile") 2>conftest.er1
19709 ac_status=$?
19710 grep -v '^ *+' conftest.er1 >conftest.err
19711 rm -f conftest.er1
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } && {
19715 test -z "$ac_c_werror_flag" ||
19716 test ! -s conftest.err
19717 } && test -s conftest.$ac_objext; then
19718 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19719 else
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19723 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19731 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19732 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19733 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19735 cat >>confdefs.h <<_ACEOF
19736 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19737 _ACEOF
19743 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19744 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19745 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19747 else
19748 cat >conftest.$ac_ext <<_ACEOF
19749 /* confdefs.h. */
19750 _ACEOF
19751 cat confdefs.h >>conftest.$ac_ext
19752 cat >>conftest.$ac_ext <<_ACEOF
19753 /* end confdefs.h. */
19754 #ifdef HAVE_SYS_TYPES_H
19755 #include <sys/types.h>
19756 #endif
19757 #ifdef HAVE_NETINET_IN_H
19758 # include <netinet/in.h>
19759 #endif
19760 #ifdef HAVE_ARPA_NAMESER_H
19761 # include <arpa/nameser.h>
19762 #endif
19765 main ()
19767 static ns_msg ac_aggr;
19768 if (ac_aggr._msg_ptr)
19769 return 0;
19771 return 0;
19773 _ACEOF
19774 rm -f conftest.$ac_objext
19775 if { (ac_try="$ac_compile"
19776 case "(($ac_try" in
19777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19778 *) ac_try_echo=$ac_try;;
19779 esac
19780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19781 (eval "$ac_compile") 2>conftest.er1
19782 ac_status=$?
19783 grep -v '^ *+' conftest.er1 >conftest.err
19784 rm -f conftest.er1
19785 cat conftest.err >&5
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); } && {
19788 test -z "$ac_c_werror_flag" ||
19789 test ! -s conftest.err
19790 } && test -s conftest.$ac_objext; then
19791 ac_cv_member_ns_msg__msg_ptr=yes
19792 else
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.$ac_ext >&5
19796 cat >conftest.$ac_ext <<_ACEOF
19797 /* confdefs.h. */
19798 _ACEOF
19799 cat confdefs.h >>conftest.$ac_ext
19800 cat >>conftest.$ac_ext <<_ACEOF
19801 /* end confdefs.h. */
19802 #ifdef HAVE_SYS_TYPES_H
19803 #include <sys/types.h>
19804 #endif
19805 #ifdef HAVE_NETINET_IN_H
19806 # include <netinet/in.h>
19807 #endif
19808 #ifdef HAVE_ARPA_NAMESER_H
19809 # include <arpa/nameser.h>
19810 #endif
19813 main ()
19815 static ns_msg ac_aggr;
19816 if (sizeof ac_aggr._msg_ptr)
19817 return 0;
19819 return 0;
19821 _ACEOF
19822 rm -f conftest.$ac_objext
19823 if { (ac_try="$ac_compile"
19824 case "(($ac_try" in
19825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19826 *) ac_try_echo=$ac_try;;
19827 esac
19828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19829 (eval "$ac_compile") 2>conftest.er1
19830 ac_status=$?
19831 grep -v '^ *+' conftest.er1 >conftest.err
19832 rm -f conftest.er1
19833 cat conftest.err >&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } && {
19836 test -z "$ac_c_werror_flag" ||
19837 test ! -s conftest.err
19838 } && test -s conftest.$ac_objext; then
19839 ac_cv_member_ns_msg__msg_ptr=yes
19840 else
19841 echo "$as_me: failed program was:" >&5
19842 sed 's/^/| /' conftest.$ac_ext >&5
19844 ac_cv_member_ns_msg__msg_ptr=no
19847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19852 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19853 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19854 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19856 cat >>confdefs.h <<_ACEOF
19857 #define HAVE_NS_MSG__MSG_PTR 1
19858 _ACEOF
19864 { echo "$as_me:$LINENO: checking for timezone variable" >&5
19865 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
19866 if test "${ac_cv_have_timezone+set}" = set; then
19867 echo $ECHO_N "(cached) $ECHO_C" >&6
19868 else
19869 cat >conftest.$ac_ext <<_ACEOF
19870 /* confdefs.h. */
19871 _ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19875 #include <time.h>
19877 main ()
19879 timezone = 1
19881 return 0;
19883 _ACEOF
19884 rm -f conftest.$ac_objext conftest$ac_exeext
19885 if { (ac_try="$ac_link"
19886 case "(($ac_try" in
19887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19888 *) ac_try_echo=$ac_try;;
19889 esac
19890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19891 (eval "$ac_link") 2>conftest.er1
19892 ac_status=$?
19893 grep -v '^ *+' conftest.er1 >conftest.err
19894 rm -f conftest.er1
19895 cat conftest.err >&5
19896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19897 (exit $ac_status); } && {
19898 test -z "$ac_c_werror_flag" ||
19899 test ! -s conftest.err
19900 } && test -s conftest$ac_exeext &&
19901 $as_test_x conftest$ac_exeext; then
19902 ac_cv_have_timezone="yes"
19903 else
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19907 ac_cv_have_timezone="no"
19910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19911 conftest$ac_exeext conftest.$ac_ext
19913 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19914 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
19915 if test "$ac_cv_have_timezone" = "yes"
19916 then
19918 cat >>confdefs.h <<\_ACEOF
19919 #define HAVE_TIMEZONE 1
19920 _ACEOF
19923 { echo "$as_me:$LINENO: checking for daylight variable" >&5
19924 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
19925 if test "${ac_cv_have_daylight+set}" = set; then
19926 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 else
19928 cat >conftest.$ac_ext <<_ACEOF
19929 /* confdefs.h. */
19930 _ACEOF
19931 cat confdefs.h >>conftest.$ac_ext
19932 cat >>conftest.$ac_ext <<_ACEOF
19933 /* end confdefs.h. */
19934 #include <time.h>
19936 main ()
19938 daylight = 1
19940 return 0;
19942 _ACEOF
19943 rm -f conftest.$ac_objext conftest$ac_exeext
19944 if { (ac_try="$ac_link"
19945 case "(($ac_try" in
19946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19947 *) ac_try_echo=$ac_try;;
19948 esac
19949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19950 (eval "$ac_link") 2>conftest.er1
19951 ac_status=$?
19952 grep -v '^ *+' conftest.er1 >conftest.err
19953 rm -f conftest.er1
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } && {
19957 test -z "$ac_c_werror_flag" ||
19958 test ! -s conftest.err
19959 } && test -s conftest$ac_exeext &&
19960 $as_test_x conftest$ac_exeext; then
19961 ac_cv_have_daylight="yes"
19962 else
19963 echo "$as_me: failed program was:" >&5
19964 sed 's/^/| /' conftest.$ac_ext >&5
19966 ac_cv_have_daylight="no"
19969 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19970 conftest$ac_exeext conftest.$ac_ext
19972 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19973 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
19974 if test "$ac_cv_have_daylight" = "yes"
19975 then
19977 cat >>confdefs.h <<\_ACEOF
19978 #define HAVE_DAYLIGHT 1
19979 _ACEOF
19984 case $host_cpu in
19985 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19986 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
19987 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19988 echo $ECHO_N "(cached) $ECHO_C" >&6
19989 else
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 #ifndef __i386__
19998 #endif
19999 _ACEOF
20000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20001 $EGREP "yes" >/dev/null 2>&1; then
20002 ac_cv_cpp_def___i386__=yes
20003 else
20004 ac_cv_cpp_def___i386__=no
20006 rm -f conftest*
20009 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20010 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20011 if test $ac_cv_cpp_def___i386__ = yes; then
20012 CFLAGS="$CFLAGS -D__i386__"
20013 LINTFLAGS="$LINTFLAGS -D__i386__"
20016 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20017 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20018 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20019 echo $ECHO_N "(cached) $ECHO_C" >&6
20020 else
20021 cat >conftest.$ac_ext <<_ACEOF
20022 /* confdefs.h. */
20023 _ACEOF
20024 cat confdefs.h >>conftest.$ac_ext
20025 cat >>conftest.$ac_ext <<_ACEOF
20026 /* end confdefs.h. */
20027 #ifndef __x86_64__
20029 #endif
20030 _ACEOF
20031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20032 $EGREP "yes" >/dev/null 2>&1; then
20033 ac_cv_cpp_def___x86_64__=yes
20034 else
20035 ac_cv_cpp_def___x86_64__=no
20037 rm -f conftest*
20040 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20041 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20042 if test $ac_cv_cpp_def___x86_64__ = yes; then
20043 CFLAGS="$CFLAGS -D__x86_64__"
20044 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20047 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20048 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20049 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20050 echo $ECHO_N "(cached) $ECHO_C" >&6
20051 else
20052 cat >conftest.$ac_ext <<_ACEOF
20053 /* confdefs.h. */
20054 _ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 #ifndef __ALPHA__
20060 #endif
20061 _ACEOF
20062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20063 $EGREP "yes" >/dev/null 2>&1; then
20064 ac_cv_cpp_def___ALPHA__=yes
20065 else
20066 ac_cv_cpp_def___ALPHA__=no
20068 rm -f conftest*
20071 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20072 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20073 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20074 CFLAGS="$CFLAGS -D__ALPHA__"
20075 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20078 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20079 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20080 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20081 echo $ECHO_N "(cached) $ECHO_C" >&6
20082 else
20083 cat >conftest.$ac_ext <<_ACEOF
20084 /* confdefs.h. */
20085 _ACEOF
20086 cat confdefs.h >>conftest.$ac_ext
20087 cat >>conftest.$ac_ext <<_ACEOF
20088 /* end confdefs.h. */
20089 #ifndef __sparc__
20091 #endif
20092 _ACEOF
20093 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20094 $EGREP "yes" >/dev/null 2>&1; then
20095 ac_cv_cpp_def___sparc__=yes
20096 else
20097 ac_cv_cpp_def___sparc__=no
20099 rm -f conftest*
20102 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20103 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20104 if test $ac_cv_cpp_def___sparc__ = yes; then
20105 CFLAGS="$CFLAGS -D__sparc__"
20106 LINTFLAGS="$LINTFLAGS -D__sparc__"
20109 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20110 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20111 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20112 echo $ECHO_N "(cached) $ECHO_C" >&6
20113 else
20114 cat >conftest.$ac_ext <<_ACEOF
20115 /* confdefs.h. */
20116 _ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20120 #ifndef __powerpc__
20122 #endif
20123 _ACEOF
20124 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20125 $EGREP "yes" >/dev/null 2>&1; then
20126 ac_cv_cpp_def___powerpc__=yes
20127 else
20128 ac_cv_cpp_def___powerpc__=no
20130 rm -f conftest*
20133 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20134 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20135 if test $ac_cv_cpp_def___powerpc__ = yes; then
20136 CFLAGS="$CFLAGS -D__powerpc__"
20137 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20140 esac
20142 case $host_vendor in
20143 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20144 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20145 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20146 echo $ECHO_N "(cached) $ECHO_C" >&6
20147 else
20148 cat >conftest.$ac_ext <<_ACEOF
20149 /* confdefs.h. */
20150 _ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20154 #ifndef __sun__
20156 #endif
20157 _ACEOF
20158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20159 $EGREP "yes" >/dev/null 2>&1; then
20160 ac_cv_cpp_def___sun__=yes
20161 else
20162 ac_cv_cpp_def___sun__=no
20164 rm -f conftest*
20167 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20168 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20169 if test $ac_cv_cpp_def___sun__ = yes; then
20170 CFLAGS="$CFLAGS -D__sun__"
20171 LINTFLAGS="$LINTFLAGS -D__sun__"
20174 esac
20177 DEPENDENCIES="### Dependencies:
20179 .INIT: Makefile
20180 .BEGIN: Makefile
20181 Makefile: dummy
20182 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20184 \$(OBJS): \$(IDL_GEN_HEADERS)
20185 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20186 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20187 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20193 ac_config_commands="$ac_config_commands include/stamp-h"
20196 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20198 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20200 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20202 ac_config_commands="$ac_config_commands dlls/user32/resources"
20204 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20206 ac_config_commands="$ac_config_commands include/wine"
20209 MAKE_RULES=Make.rules
20212 MAKE_DLL_RULES=dlls/Makedll.rules
20215 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20218 MAKE_TEST_RULES=dlls/Maketest.rules
20221 MAKE_PROG_RULES=programs/Makeprog.rules
20224 ac_config_files="$ac_config_files Make.rules"
20226 ac_config_files="$ac_config_files dlls/Makedll.rules"
20228 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20230 ac_config_files="$ac_config_files dlls/Maketest.rules"
20232 ac_config_files="$ac_config_files programs/Makeprog.rules"
20234 ac_config_files="$ac_config_files Makefile"
20236 ac_config_files="$ac_config_files dlls/Makefile"
20238 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20240 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20242 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20244 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20246 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20248 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20250 ac_config_files="$ac_config_files dlls/atl/Makefile"
20252 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20254 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20256 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20258 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20260 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20262 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20264 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20266 ac_config_files="$ac_config_files dlls/cards/Makefile"
20268 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20270 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20272 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20274 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20276 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20278 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20280 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20282 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20284 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20286 ac_config_files="$ac_config_files dlls/credui/Makefile"
20288 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20290 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20292 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20294 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20296 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20298 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20300 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20302 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20304 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20306 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20308 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20310 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20312 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20314 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20316 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20318 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20320 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20322 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20324 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20326 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20328 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20330 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20332 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20334 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20336 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20338 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20340 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20342 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20344 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20346 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20348 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20350 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20352 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20354 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20356 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20358 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20360 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20362 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20364 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20366 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20368 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20370 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20372 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20374 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20376 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20378 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20380 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20382 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20384 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20386 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20388 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20390 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20392 ac_config_files="$ac_config_files dlls/hid/Makefile"
20394 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20396 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20398 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20400 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20402 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20404 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20406 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20408 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20410 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20412 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20414 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20416 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20418 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20420 ac_config_files="$ac_config_files dlls/itss/Makefile"
20422 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20424 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20426 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20428 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20430 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20432 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20434 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20436 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20438 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20440 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20442 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20444 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20446 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20448 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20450 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20452 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20454 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20456 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20458 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20460 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20462 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20464 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20466 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20468 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20470 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20472 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20474 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20476 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20478 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20480 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20482 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20484 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20486 ac_config_files="$ac_config_files dlls/msi/Makefile"
20488 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20490 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20492 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20494 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20496 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20498 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20500 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20502 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20504 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20506 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20508 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20510 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20512 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20514 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20516 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20518 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20520 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20522 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20524 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20526 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20528 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20530 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20532 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20534 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20536 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20538 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20540 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20542 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20544 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20546 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20548 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20550 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20552 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20554 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20556 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20558 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20560 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20562 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20564 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20566 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20568 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20570 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20572 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20574 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20576 ac_config_files="$ac_config_files dlls/query/Makefile"
20578 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20580 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20582 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20584 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20586 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20588 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20590 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20592 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20594 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20596 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20598 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20600 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20602 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20604 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20606 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20608 ac_config_files="$ac_config_files dlls/security/Makefile"
20610 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20612 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20614 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20616 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20618 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20620 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20622 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20624 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20626 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20628 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20632 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20634 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20636 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20638 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20640 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20642 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20644 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20646 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20648 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20650 ac_config_files="$ac_config_files dlls/sti/Makefile"
20652 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20654 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20656 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20658 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20660 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20662 ac_config_files="$ac_config_files dlls/url/Makefile"
20664 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20666 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20668 ac_config_files="$ac_config_files dlls/user32/Makefile"
20670 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20672 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20674 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20676 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20678 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20680 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20682 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20684 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20686 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20688 ac_config_files="$ac_config_files dlls/version/Makefile"
20690 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20692 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20694 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20696 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20698 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20700 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20702 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20704 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20706 ac_config_files="$ac_config_files dlls/winearts.drv/Makefile"
20708 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20710 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20712 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20714 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20716 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20718 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20720 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20722 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20724 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20726 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20728 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20730 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20732 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20734 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20736 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20738 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20740 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20742 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20744 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20746 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20748 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20750 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20752 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20754 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20756 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20758 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20760 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20762 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20764 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20766 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20768 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20770 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20772 ac_config_files="$ac_config_files documentation/Makefile"
20774 ac_config_files="$ac_config_files fonts/Makefile"
20776 ac_config_files="$ac_config_files include/Makefile"
20778 ac_config_files="$ac_config_files libs/Makefile"
20780 ac_config_files="$ac_config_files libs/port/Makefile"
20782 ac_config_files="$ac_config_files libs/wine/Makefile"
20784 ac_config_files="$ac_config_files libs/wpp/Makefile"
20786 ac_config_files="$ac_config_files loader/Makefile"
20788 ac_config_files="$ac_config_files programs/Makefile"
20790 ac_config_files="$ac_config_files programs/clock/Makefile"
20792 ac_config_files="$ac_config_files programs/cmd/Makefile"
20794 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20796 ac_config_files="$ac_config_files programs/control/Makefile"
20798 ac_config_files="$ac_config_files programs/eject/Makefile"
20800 ac_config_files="$ac_config_files programs/expand/Makefile"
20802 ac_config_files="$ac_config_files programs/explorer/Makefile"
20804 ac_config_files="$ac_config_files programs/hh/Makefile"
20806 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20808 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20810 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20812 ac_config_files="$ac_config_files programs/notepad/Makefile"
20814 ac_config_files="$ac_config_files programs/oleview/Makefile"
20816 ac_config_files="$ac_config_files programs/progman/Makefile"
20818 ac_config_files="$ac_config_files programs/regedit/Makefile"
20820 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20822 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20824 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20826 ac_config_files="$ac_config_files programs/start/Makefile"
20828 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20830 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20832 ac_config_files="$ac_config_files programs/view/Makefile"
20834 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20836 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
20838 ac_config_files="$ac_config_files programs/winecfg/Makefile"
20840 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
20842 ac_config_files="$ac_config_files programs/winedbg/Makefile"
20844 ac_config_files="$ac_config_files programs/winefile/Makefile"
20846 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
20848 ac_config_files="$ac_config_files programs/winemine/Makefile"
20850 ac_config_files="$ac_config_files programs/winepath/Makefile"
20852 ac_config_files="$ac_config_files programs/winetest/Makefile"
20854 ac_config_files="$ac_config_files programs/winevdm/Makefile"
20856 ac_config_files="$ac_config_files programs/winhelp/Makefile"
20858 ac_config_files="$ac_config_files programs/winver/Makefile"
20860 ac_config_files="$ac_config_files programs/wordpad/Makefile"
20862 ac_config_files="$ac_config_files server/Makefile"
20864 ac_config_files="$ac_config_files tools/Makefile"
20866 ac_config_files="$ac_config_files tools/widl/Makefile"
20868 ac_config_files="$ac_config_files tools/winebuild/Makefile"
20870 ac_config_files="$ac_config_files tools/winedump/Makefile"
20872 ac_config_files="$ac_config_files tools/winegcc/Makefile"
20874 ac_config_files="$ac_config_files tools/wmc/Makefile"
20876 ac_config_files="$ac_config_files tools/wrc/Makefile"
20879 cat >confcache <<\_ACEOF
20880 # This file is a shell script that caches the results of configure
20881 # tests run on this system so they can be shared between configure
20882 # scripts and configure runs, see configure's option --config-cache.
20883 # It is not useful on other systems. If it contains results you don't
20884 # want to keep, you may remove or edit it.
20886 # config.status only pays attention to the cache file if you give it
20887 # the --recheck option to rerun configure.
20889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20891 # following values.
20893 _ACEOF
20895 # The following way of writing the cache mishandles newlines in values,
20896 # but we know of no workaround that is simple, portable, and efficient.
20897 # So, we kill variables containing newlines.
20898 # Ultrix sh set writes to stderr and can't be redirected directly,
20899 # and sets the high bit in the cache file unless we assign to the vars.
20901 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20902 eval ac_val=\$$ac_var
20903 case $ac_val in #(
20904 *${as_nl}*)
20905 case $ac_var in #(
20906 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20907 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20908 esac
20909 case $ac_var in #(
20910 _ | IFS | as_nl) ;; #(
20911 *) $as_unset $ac_var ;;
20912 esac ;;
20913 esac
20914 done
20916 (set) 2>&1 |
20917 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20918 *${as_nl}ac_space=\ *)
20919 # `set' does not quote correctly, so add quotes (double-quote
20920 # substitution turns \\\\ into \\, and sed turns \\ into \).
20921 sed -n \
20922 "s/'/'\\\\''/g;
20923 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20924 ;; #(
20926 # `set' quotes correctly as required by POSIX, so do not add quotes.
20927 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20929 esac |
20930 sort
20932 sed '
20933 /^ac_cv_env_/b end
20934 t clear
20935 :clear
20936 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20937 t end
20938 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20939 :end' >>confcache
20940 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20941 if test -w "$cache_file"; then
20942 test "x$cache_file" != "x/dev/null" &&
20943 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20944 echo "$as_me: updating cache $cache_file" >&6;}
20945 cat confcache >$cache_file
20946 else
20947 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20948 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20951 rm -f confcache
20953 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20954 # Let make expand exec_prefix.
20955 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20957 DEFS=-DHAVE_CONFIG_H
20959 ac_libobjs=
20960 ac_ltlibobjs=
20961 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20962 # 1. Remove the extension, and $U if already installed.
20963 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20964 ac_i=`echo "$ac_i" | sed "$ac_script"`
20965 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20966 # will be set to the directory where LIBOBJS objects are built.
20967 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20968 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20969 done
20970 LIBOBJS=$ac_libobjs
20972 LTLIBOBJS=$ac_ltlibobjs
20976 : ${CONFIG_STATUS=./config.status}
20977 ac_clean_files_save=$ac_clean_files
20978 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20979 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20980 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20981 cat >$CONFIG_STATUS <<_ACEOF
20982 #! $SHELL
20983 # Generated by $as_me.
20984 # Run this file to recreate the current configuration.
20985 # Compiler output produced by configure, useful for debugging
20986 # configure, is in config.log if it exists.
20988 debug=false
20989 ac_cs_recheck=false
20990 ac_cs_silent=false
20991 SHELL=\${CONFIG_SHELL-$SHELL}
20992 _ACEOF
20994 cat >>$CONFIG_STATUS <<\_ACEOF
20995 ## --------------------- ##
20996 ## M4sh Initialization. ##
20997 ## --------------------- ##
20999 # Be more Bourne compatible
21000 DUALCASE=1; export DUALCASE # for MKS sh
21001 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21002 emulate sh
21003 NULLCMD=:
21004 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21005 # is contrary to our usage. Disable this feature.
21006 alias -g '${1+"$@"}'='"$@"'
21007 setopt NO_GLOB_SUBST
21008 else
21009 case `(set -o) 2>/dev/null` in
21010 *posix*) set -o posix ;;
21011 esac
21018 # PATH needs CR
21019 # Avoid depending upon Character Ranges.
21020 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21021 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21022 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21023 as_cr_digits='0123456789'
21024 as_cr_alnum=$as_cr_Letters$as_cr_digits
21026 # The user is always right.
21027 if test "${PATH_SEPARATOR+set}" != set; then
21028 echo "#! /bin/sh" >conf$$.sh
21029 echo "exit 0" >>conf$$.sh
21030 chmod +x conf$$.sh
21031 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21032 PATH_SEPARATOR=';'
21033 else
21034 PATH_SEPARATOR=:
21036 rm -f conf$$.sh
21039 # Support unset when possible.
21040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21041 as_unset=unset
21042 else
21043 as_unset=false
21047 # IFS
21048 # We need space, tab and new line, in precisely that order. Quoting is
21049 # there to prevent editors from complaining about space-tab.
21050 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21051 # splitting by setting IFS to empty value.)
21052 as_nl='
21054 IFS=" "" $as_nl"
21056 # Find who we are. Look in the path if we contain no directory separator.
21057 case $0 in
21058 *[\\/]* ) as_myself=$0 ;;
21059 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21060 for as_dir in $PATH
21062 IFS=$as_save_IFS
21063 test -z "$as_dir" && as_dir=.
21064 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21065 done
21066 IFS=$as_save_IFS
21069 esac
21070 # We did not find ourselves, most probably we were run as `sh COMMAND'
21071 # in which case we are not to be found in the path.
21072 if test "x$as_myself" = x; then
21073 as_myself=$0
21075 if test ! -f "$as_myself"; then
21076 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21077 { (exit 1); exit 1; }
21080 # Work around bugs in pre-3.0 UWIN ksh.
21081 for as_var in ENV MAIL MAILPATH
21082 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21083 done
21084 PS1='$ '
21085 PS2='> '
21086 PS4='+ '
21088 # NLS nuisances.
21089 for as_var in \
21090 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21091 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21092 LC_TELEPHONE LC_TIME
21094 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21095 eval $as_var=C; export $as_var
21096 else
21097 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21099 done
21101 # Required to use basename.
21102 if expr a : '\(a\)' >/dev/null 2>&1 &&
21103 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21104 as_expr=expr
21105 else
21106 as_expr=false
21109 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21110 as_basename=basename
21111 else
21112 as_basename=false
21116 # Name of the executable.
21117 as_me=`$as_basename -- "$0" ||
21118 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21119 X"$0" : 'X\(//\)$' \| \
21120 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21121 echo X/"$0" |
21122 sed '/^.*\/\([^/][^/]*\)\/*$/{
21123 s//\1/
21126 /^X\/\(\/\/\)$/{
21127 s//\1/
21130 /^X\/\(\/\).*/{
21131 s//\1/
21134 s/.*/./; q'`
21136 # CDPATH.
21137 $as_unset CDPATH
21141 as_lineno_1=$LINENO
21142 as_lineno_2=$LINENO
21143 test "x$as_lineno_1" != "x$as_lineno_2" &&
21144 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21146 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21147 # uniformly replaced by the line number. The first 'sed' inserts a
21148 # line-number line after each line using $LINENO; the second 'sed'
21149 # does the real work. The second script uses 'N' to pair each
21150 # line-number line with the line containing $LINENO, and appends
21151 # trailing '-' during substitution so that $LINENO is not a special
21152 # case at line end.
21153 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21154 # scripts with optimization help from Paolo Bonzini. Blame Lee
21155 # E. McMahon (1931-1989) for sed's syntax. :-)
21156 sed -n '
21158 /[$]LINENO/=
21159 ' <$as_myself |
21160 sed '
21161 s/[$]LINENO.*/&-/
21162 t lineno
21164 :lineno
21166 :loop
21167 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21168 t loop
21169 s/-\n.*//
21170 ' >$as_me.lineno &&
21171 chmod +x "$as_me.lineno" ||
21172 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21173 { (exit 1); exit 1; }; }
21175 # Don't try to exec as it changes $[0], causing all sort of problems
21176 # (the dirname of $[0] is not the place where we might find the
21177 # original and so on. Autoconf is especially sensitive to this).
21178 . "./$as_me.lineno"
21179 # Exit status is that of the last command.
21180 exit
21184 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21185 as_dirname=dirname
21186 else
21187 as_dirname=false
21190 ECHO_C= ECHO_N= ECHO_T=
21191 case `echo -n x` in
21192 -n*)
21193 case `echo 'x\c'` in
21194 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21195 *) ECHO_C='\c';;
21196 esac;;
21198 ECHO_N='-n';;
21199 esac
21201 if expr a : '\(a\)' >/dev/null 2>&1 &&
21202 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21203 as_expr=expr
21204 else
21205 as_expr=false
21208 rm -f conf$$ conf$$.exe conf$$.file
21209 if test -d conf$$.dir; then
21210 rm -f conf$$.dir/conf$$.file
21211 else
21212 rm -f conf$$.dir
21213 mkdir conf$$.dir
21215 echo >conf$$.file
21216 if ln -s conf$$.file conf$$ 2>/dev/null; then
21217 as_ln_s='ln -s'
21218 # ... but there are two gotchas:
21219 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21220 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21221 # In both cases, we have to default to `cp -p'.
21222 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21223 as_ln_s='cp -p'
21224 elif ln conf$$.file conf$$ 2>/dev/null; then
21225 as_ln_s=ln
21226 else
21227 as_ln_s='cp -p'
21229 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21230 rmdir conf$$.dir 2>/dev/null
21232 if mkdir -p . 2>/dev/null; then
21233 as_mkdir_p=:
21234 else
21235 test -d ./-p && rmdir ./-p
21236 as_mkdir_p=false
21239 if test -x / >/dev/null 2>&1; then
21240 as_test_x='test -x'
21241 else
21242 if ls -dL / >/dev/null 2>&1; then
21243 as_ls_L_option=L
21244 else
21245 as_ls_L_option=
21247 as_test_x='
21248 eval sh -c '\''
21249 if test -d "$1"; then
21250 test -d "$1/.";
21251 else
21252 case $1 in
21253 -*)set "./$1";;
21254 esac;
21255 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21256 ???[sx]*):;;*)false;;esac;fi
21257 '\'' sh
21260 as_executable_p=$as_test_x
21262 # Sed expression to map a string onto a valid CPP name.
21263 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21265 # Sed expression to map a string onto a valid variable name.
21266 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21269 exec 6>&1
21271 # Save the log message, to keep $[0] and so on meaningful, and to
21272 # report actual input values of CONFIG_FILES etc. instead of their
21273 # values after options handling.
21274 ac_log="
21275 This file was extended by Wine $as_me 0.9.33, which was
21276 generated by GNU Autoconf 2.61. Invocation command line was
21278 CONFIG_FILES = $CONFIG_FILES
21279 CONFIG_HEADERS = $CONFIG_HEADERS
21280 CONFIG_LINKS = $CONFIG_LINKS
21281 CONFIG_COMMANDS = $CONFIG_COMMANDS
21282 $ $0 $@
21284 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21287 _ACEOF
21289 cat >>$CONFIG_STATUS <<_ACEOF
21290 # Files that config.status was made for.
21291 config_files="$ac_config_files"
21292 config_headers="$ac_config_headers"
21293 config_commands="$ac_config_commands"
21295 _ACEOF
21297 cat >>$CONFIG_STATUS <<\_ACEOF
21298 ac_cs_usage="\
21299 \`$as_me' instantiates files from templates according to the
21300 current configuration.
21302 Usage: $0 [OPTIONS] [FILE]...
21304 -h, --help print this help, then exit
21305 -V, --version print version number and configuration settings, then exit
21306 -q, --quiet do not print progress messages
21307 -d, --debug don't remove temporary files
21308 --recheck update $as_me by reconfiguring in the same conditions
21309 --file=FILE[:TEMPLATE]
21310 instantiate the configuration file FILE
21311 --header=FILE[:TEMPLATE]
21312 instantiate the configuration header FILE
21314 Configuration files:
21315 $config_files
21317 Configuration headers:
21318 $config_headers
21320 Configuration commands:
21321 $config_commands
21323 Report bugs to <bug-autoconf@gnu.org>."
21325 _ACEOF
21326 cat >>$CONFIG_STATUS <<_ACEOF
21327 ac_cs_version="\\
21328 Wine config.status 0.9.33
21329 configured by $0, generated by GNU Autoconf 2.61,
21330 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21332 Copyright (C) 2006 Free Software Foundation, Inc.
21333 This config.status script is free software; the Free Software Foundation
21334 gives unlimited permission to copy, distribute and modify it."
21336 ac_pwd='$ac_pwd'
21337 srcdir='$srcdir'
21338 INSTALL='$INSTALL'
21339 _ACEOF
21341 cat >>$CONFIG_STATUS <<\_ACEOF
21342 # If no file are specified by the user, then we need to provide default
21343 # value. By we need to know if files were specified by the user.
21344 ac_need_defaults=:
21345 while test $# != 0
21347 case $1 in
21348 --*=*)
21349 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21350 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21351 ac_shift=:
21354 ac_option=$1
21355 ac_optarg=$2
21356 ac_shift=shift
21358 esac
21360 case $ac_option in
21361 # Handling of the options.
21362 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21363 ac_cs_recheck=: ;;
21364 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21365 echo "$ac_cs_version"; exit ;;
21366 --debug | --debu | --deb | --de | --d | -d )
21367 debug=: ;;
21368 --file | --fil | --fi | --f )
21369 $ac_shift
21370 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21371 ac_need_defaults=false;;
21372 --header | --heade | --head | --hea )
21373 $ac_shift
21374 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21375 ac_need_defaults=false;;
21376 --he | --h)
21377 # Conflict between --help and --header
21378 { echo "$as_me: error: ambiguous option: $1
21379 Try \`$0 --help' for more information." >&2
21380 { (exit 1); exit 1; }; };;
21381 --help | --hel | -h )
21382 echo "$ac_cs_usage"; exit ;;
21383 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21384 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21385 ac_cs_silent=: ;;
21387 # This is an error.
21388 -*) { echo "$as_me: error: unrecognized option: $1
21389 Try \`$0 --help' for more information." >&2
21390 { (exit 1); exit 1; }; } ;;
21392 *) ac_config_targets="$ac_config_targets $1"
21393 ac_need_defaults=false ;;
21395 esac
21396 shift
21397 done
21399 ac_configure_extra_args=
21401 if $ac_cs_silent; then
21402 exec 6>/dev/null
21403 ac_configure_extra_args="$ac_configure_extra_args --silent"
21406 _ACEOF
21407 cat >>$CONFIG_STATUS <<_ACEOF
21408 if \$ac_cs_recheck; then
21409 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21410 CONFIG_SHELL=$SHELL
21411 export CONFIG_SHELL
21412 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21415 _ACEOF
21416 cat >>$CONFIG_STATUS <<\_ACEOF
21417 exec 5>>config.log
21419 echo
21420 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21421 ## Running $as_me. ##
21422 _ASBOX
21423 echo "$ac_log"
21424 } >&5
21426 _ACEOF
21427 cat >>$CONFIG_STATUS <<_ACEOF
21428 _ACEOF
21430 cat >>$CONFIG_STATUS <<\_ACEOF
21432 # Handling of arguments.
21433 for ac_config_target in $ac_config_targets
21435 case $ac_config_target in
21436 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21437 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21438 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21439 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21440 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21441 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21442 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21443 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21444 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21445 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21446 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21447 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21448 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21449 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21450 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21451 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21452 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21453 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21454 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21455 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21456 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21457 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21458 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21459 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21460 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21461 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21462 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21463 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21464 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21465 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21466 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21467 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21468 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21469 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21470 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21471 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21472 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21473 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21474 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21475 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21476 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21477 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21478 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21479 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21480 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21481 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21482 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21483 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21484 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21485 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21486 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21487 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21488 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21489 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21490 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21491 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21492 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21493 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21494 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21495 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21496 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21497 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21498 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21499 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21500 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21501 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21502 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21503 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21504 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21505 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21506 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21507 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21508 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21509 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21510 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21511 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21512 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21513 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21514 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21515 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21516 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21517 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21518 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21519 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21520 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21521 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21522 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21523 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21524 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21525 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21526 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21527 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21528 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21529 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21530 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21531 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21532 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21533 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21534 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21535 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21536 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21537 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21538 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21539 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21540 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21541 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21542 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21543 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21544 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21545 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21546 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21547 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21548 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21549 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21550 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21551 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21552 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21553 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21554 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21555 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21556 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21557 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21558 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21559 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21560 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21561 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21562 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21563 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21564 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21565 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21566 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21567 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21568 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21569 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21570 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21571 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21572 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21573 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21574 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21575 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21576 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21577 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21578 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21579 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21580 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21581 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21582 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21583 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21584 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21585 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21586 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21587 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21588 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21589 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21590 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21591 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21592 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21593 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21594 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21595 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21596 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21597 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21598 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21599 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21600 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21601 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21602 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21603 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21604 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21605 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21606 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21607 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21608 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21609 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21610 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21611 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21612 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21613 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21614 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21615 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21616 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21617 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21618 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21619 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21620 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21621 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21622 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21623 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21624 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21625 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21626 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21627 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21628 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21629 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21630 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21631 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21632 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21633 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21634 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21635 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21636 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21637 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21638 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21639 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21640 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21641 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21642 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21643 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21644 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21645 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21646 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21647 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21648 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21649 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21650 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21651 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21652 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21653 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21654 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21655 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21656 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21657 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21658 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21659 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21660 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21661 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21662 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21663 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21664 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21665 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21666 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21667 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21668 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21669 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21670 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21671 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21672 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21673 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21674 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21675 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21676 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21677 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21678 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21679 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21680 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21681 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21682 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21683 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21684 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21685 "dlls/winearts.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21686 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21687 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21688 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21689 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21690 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21691 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21692 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21693 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21694 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21695 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21696 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21697 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21698 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21699 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21700 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21701 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21702 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21703 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21704 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21705 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21706 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21707 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21708 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21709 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21710 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21711 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21712 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21713 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21714 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21715 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21716 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21717 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21718 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21719 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21720 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21721 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21722 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21723 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21724 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21725 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21726 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21727 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21728 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21729 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21730 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21731 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21732 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21733 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21734 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21735 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21736 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21737 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21738 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21739 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21740 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21741 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21742 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21743 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21744 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21745 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21746 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21747 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21748 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21749 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21750 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21751 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21752 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21753 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21754 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21755 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21756 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21757 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21758 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21759 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21760 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21761 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21762 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21763 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21764 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21765 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21766 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21767 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21768 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21769 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21770 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21772 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21773 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21774 { (exit 1); exit 1; }; };;
21775 esac
21776 done
21779 # If the user did not use the arguments to specify the items to instantiate,
21780 # then the envvar interface is used. Set only those that are not.
21781 # We use the long form for the default assignment because of an extremely
21782 # bizarre bug on SunOS 4.1.3.
21783 if $ac_need_defaults; then
21784 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21785 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21786 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21789 # Have a temporary directory for convenience. Make it in the build tree
21790 # simply because there is no reason against having it here, and in addition,
21791 # creating and moving files from /tmp can sometimes cause problems.
21792 # Hook for its removal unless debugging.
21793 # Note that there is a small window in which the directory will not be cleaned:
21794 # after its creation but before its name has been assigned to `$tmp'.
21795 $debug ||
21797 tmp=
21798 trap 'exit_status=$?
21799 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21801 trap '{ (exit 1); exit 1; }' 1 2 13 15
21803 # Create a (secure) tmp directory for tmp files.
21806 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21807 test -n "$tmp" && test -d "$tmp"
21808 } ||
21810 tmp=./conf$$-$RANDOM
21811 (umask 077 && mkdir "$tmp")
21812 } ||
21814 echo "$me: cannot create a temporary directory in ." >&2
21815 { (exit 1); exit 1; }
21819 # Set up the sed scripts for CONFIG_FILES section.
21822 # No need to generate the scripts if there are no CONFIG_FILES.
21823 # This happens for instance when ./config.status config.h
21824 if test -n "$CONFIG_FILES"; then
21826 _ACEOF
21828 # Create sed commands to just substitute file output variables.
21830 # Remaining file output variables are in a fragment that also has non-file
21831 # output varibles.
21835 ac_delim='%!_!# '
21836 for ac_last_try in false false false false false :; do
21837 cat >conf$$subs.sed <<_ACEOF
21838 SHELL!$SHELL$ac_delim
21839 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21840 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21841 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21842 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21843 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21844 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21845 exec_prefix!$exec_prefix$ac_delim
21846 prefix!$prefix$ac_delim
21847 program_transform_name!$program_transform_name$ac_delim
21848 bindir!$bindir$ac_delim
21849 sbindir!$sbindir$ac_delim
21850 libexecdir!$libexecdir$ac_delim
21851 datarootdir!$datarootdir$ac_delim
21852 datadir!$datadir$ac_delim
21853 sysconfdir!$sysconfdir$ac_delim
21854 sharedstatedir!$sharedstatedir$ac_delim
21855 localstatedir!$localstatedir$ac_delim
21856 includedir!$includedir$ac_delim
21857 oldincludedir!$oldincludedir$ac_delim
21858 docdir!$docdir$ac_delim
21859 infodir!$infodir$ac_delim
21860 htmldir!$htmldir$ac_delim
21861 dvidir!$dvidir$ac_delim
21862 pdfdir!$pdfdir$ac_delim
21863 psdir!$psdir$ac_delim
21864 libdir!$libdir$ac_delim
21865 localedir!$localedir$ac_delim
21866 mandir!$mandir$ac_delim
21867 DEFS!$DEFS$ac_delim
21868 ECHO_C!$ECHO_C$ac_delim
21869 ECHO_N!$ECHO_N$ac_delim
21870 ECHO_T!$ECHO_T$ac_delim
21871 LIBS!$LIBS$ac_delim
21872 build_alias!$build_alias$ac_delim
21873 host_alias!$host_alias$ac_delim
21874 target_alias!$target_alias$ac_delim
21875 build!$build$ac_delim
21876 build_cpu!$build_cpu$ac_delim
21877 build_vendor!$build_vendor$ac_delim
21878 build_os!$build_os$ac_delim
21879 host!$host$ac_delim
21880 host_cpu!$host_cpu$ac_delim
21881 host_vendor!$host_vendor$ac_delim
21882 host_os!$host_os$ac_delim
21883 WIN16_FILES!$WIN16_FILES$ac_delim
21884 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21885 SET_MAKE!$SET_MAKE$ac_delim
21886 CC!$CC$ac_delim
21887 CFLAGS!$CFLAGS$ac_delim
21888 LDFLAGS!$LDFLAGS$ac_delim
21889 CPPFLAGS!$CPPFLAGS$ac_delim
21890 ac_ct_CC!$ac_ct_CC$ac_delim
21891 EXEEXT!$EXEEXT$ac_delim
21892 OBJEXT!$OBJEXT$ac_delim
21893 CXX!$CXX$ac_delim
21894 CXXFLAGS!$CXXFLAGS$ac_delim
21895 ac_ct_CXX!$ac_ct_CXX$ac_delim
21896 CPPBIN!$CPPBIN$ac_delim
21897 TOOLSDIR!$TOOLSDIR$ac_delim
21898 XMKMF!$XMKMF$ac_delim
21899 CPP!$CPP$ac_delim
21900 X_CFLAGS!$X_CFLAGS$ac_delim
21901 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21902 X_LIBS!$X_LIBS$ac_delim
21903 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21904 FLEX!$FLEX$ac_delim
21905 BISON!$BISON$ac_delim
21906 AS!$AS$ac_delim
21907 ac_ct_AS!$ac_ct_AS$ac_delim
21908 LD!$LD$ac_delim
21909 AR!$AR$ac_delim
21910 RANLIB!$RANLIB$ac_delim
21911 STRIP!$STRIP$ac_delim
21912 WINDRES!$WINDRES$ac_delim
21913 LN_S!$LN_S$ac_delim
21914 LN!$LN$ac_delim
21915 GREP!$GREP$ac_delim
21916 EGREP!$EGREP$ac_delim
21917 LDCONFIG!$LDCONFIG$ac_delim
21918 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21919 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21920 _ACEOF
21922 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21923 break
21924 elif $ac_last_try; then
21925 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21926 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21927 { (exit 1); exit 1; }; }
21928 else
21929 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21931 done
21933 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21934 if test -n "$ac_eof"; then
21935 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21936 ac_eof=`expr $ac_eof + 1`
21939 cat >>$CONFIG_STATUS <<_ACEOF
21940 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21941 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21942 /^[ ]*@MAKE_RULES@[ ]*$/{
21943 r $MAKE_RULES
21946 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21947 r $MAKE_DLL_RULES
21950 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21951 r $MAKE_IMPLIB_RULES
21954 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21955 r $MAKE_TEST_RULES
21958 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21959 r $MAKE_PROG_RULES
21962 _ACEOF
21963 sed '
21964 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21965 s/^/s,@/; s/!/@,|#_!!_#|/
21968 s/'"$ac_delim"'$/,g/; t
21969 s/$/\\/; p
21970 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21971 ' >>$CONFIG_STATUS <conf$$subs.sed
21972 rm -f conf$$subs.sed
21973 cat >>$CONFIG_STATUS <<_ACEOF
21974 CEOF$ac_eof
21975 _ACEOF
21978 ac_delim='%!_!# '
21979 for ac_last_try in false false false false false :; do
21980 cat >conf$$subs.sed <<_ACEOF
21981 INSTALL_DATA!$INSTALL_DATA$ac_delim
21982 LINT!$LINT$ac_delim
21983 LINTFLAGS!$LINTFLAGS$ac_delim
21984 FONTFORGE!$FONTFORGE$ac_delim
21985 PKG_CONFIG!$PKG_CONFIG$ac_delim
21986 PRELINK!$PRELINK$ac_delim
21987 LIBPTHREAD!$LIBPTHREAD$ac_delim
21988 XLIB!$XLIB$ac_delim
21989 XFILES!$XFILES$ac_delim
21990 OPENGLFILES!$OPENGLFILES$ac_delim
21991 GLU32FILES!$GLU32FILES$ac_delim
21992 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21993 QUARTZFILES!$QUARTZFILES$ac_delim
21994 NASLIBS!$NASLIBS$ac_delim
21995 XML2LIBS!$XML2LIBS$ac_delim
21996 XML2INCL!$XML2INCL$ac_delim
21997 XSLTLIBS!$XSLTLIBS$ac_delim
21998 XSLTINCL!$XSLTINCL$ac_delim
21999 HALINCL!$HALINCL$ac_delim
22000 sane_devel!$sane_devel$ac_delim
22001 SANEINCL!$SANEINCL$ac_delim
22002 gphoto2_devel!$gphoto2_devel$ac_delim
22003 gphoto2port_devel!$gphoto2port_devel$ac_delim
22004 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22005 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22006 ICULIBS!$ICULIBS$ac_delim
22007 RESOLVLIBS!$RESOLVLIBS$ac_delim
22008 LCMSLIBS!$LCMSLIBS$ac_delim
22009 LDAPLIBS!$LDAPLIBS$ac_delim
22010 FREETYPELIBS!$FREETYPELIBS$ac_delim
22011 FREETYPEINCL!$FREETYPEINCL$ac_delim
22012 ft_devel!$ft_devel$ac_delim
22013 ft_devel2!$ft_devel2$ac_delim
22014 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22015 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
22016 ARTSLIBS!$ARTSLIBS$ac_delim
22017 ARTSINCL!$ARTSINCL$ac_delim
22018 ESDCONFIG!$ESDCONFIG$ac_delim
22019 ESDLIBS!$ESDLIBS$ac_delim
22020 ESDINCL!$ESDINCL$ac_delim
22021 ALSALIBS!$ALSALIBS$ac_delim
22022 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22023 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22024 BUILTINFLAG!$BUILTINFLAG$ac_delim
22025 DLLEXT!$DLLEXT$ac_delim
22026 DLLFLAGS!$DLLFLAGS$ac_delim
22027 LDSHARED!$LDSHARED$ac_delim
22028 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22029 LIBEXT!$LIBEXT$ac_delim
22030 IMPLIBEXT!$IMPLIBEXT$ac_delim
22031 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22032 DLLTOOL!$DLLTOOL$ac_delim
22033 DLLWRAP!$DLLWRAP$ac_delim
22034 MINGWAR!$MINGWAR$ac_delim
22035 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22036 IOKITLIB!$IOKITLIB$ac_delim
22037 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22038 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22039 COREAUDIO!$COREAUDIO$ac_delim
22040 CARBONLIB!$CARBONLIB$ac_delim
22041 CROSSTEST!$CROSSTEST$ac_delim
22042 CROSSCC!$CROSSCC$ac_delim
22043 CROSSWINDRES!$CROSSWINDRES$ac_delim
22044 LDPATH!$LDPATH$ac_delim
22045 CRTLIBS!$CRTLIBS$ac_delim
22046 SOCKETLIBS!$SOCKETLIBS$ac_delim
22047 MAIN_BINARY!$MAIN_BINARY$ac_delim
22048 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22049 LDD!$LDD$ac_delim
22050 LIBDL!$LIBDL$ac_delim
22051 LIBPOLL!$LIBPOLL$ac_delim
22052 DEPENDENCIES!$DEPENDENCIES$ac_delim
22053 LIBOBJS!$LIBOBJS$ac_delim
22054 LTLIBOBJS!$LTLIBOBJS$ac_delim
22055 _ACEOF
22057 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 74; then
22058 break
22059 elif $ac_last_try; then
22060 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22061 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22062 { (exit 1); exit 1; }; }
22063 else
22064 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22066 done
22068 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22069 if test -n "$ac_eof"; then
22070 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22071 ac_eof=`expr $ac_eof + 1`
22074 cat >>$CONFIG_STATUS <<_ACEOF
22075 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22076 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22077 _ACEOF
22078 sed '
22079 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22080 s/^/s,@/; s/!/@,|#_!!_#|/
22083 s/'"$ac_delim"'$/,g/; t
22084 s/$/\\/; p
22085 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22086 ' >>$CONFIG_STATUS <conf$$subs.sed
22087 rm -f conf$$subs.sed
22088 cat >>$CONFIG_STATUS <<_ACEOF
22089 :end
22090 s/|#_!!_#|//g
22091 CEOF$ac_eof
22092 _ACEOF
22095 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22096 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22097 # trailing colons and then remove the whole line if VPATH becomes empty
22098 # (actually we leave an empty line to preserve line numbers).
22099 if test "x$srcdir" = x.; then
22100 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22101 s/:*\$(srcdir):*/:/
22102 s/:*\${srcdir}:*/:/
22103 s/:*@srcdir@:*/:/
22104 s/^\([^=]*=[ ]*\):*/\1/
22105 s/:*$//
22106 s/^[^=]*=[ ]*$//
22110 cat >>$CONFIG_STATUS <<\_ACEOF
22111 fi # test -n "$CONFIG_FILES"
22114 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22116 case $ac_tag in
22117 :[FHLC]) ac_mode=$ac_tag; continue;;
22118 esac
22119 case $ac_mode$ac_tag in
22120 :[FHL]*:*);;
22121 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22122 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22123 { (exit 1); exit 1; }; };;
22124 :[FH]-) ac_tag=-:-;;
22125 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22126 esac
22127 ac_save_IFS=$IFS
22128 IFS=:
22129 set x $ac_tag
22130 IFS=$ac_save_IFS
22131 shift
22132 ac_file=$1
22133 shift
22135 case $ac_mode in
22136 :L) ac_source=$1;;
22137 :[FH])
22138 ac_file_inputs=
22139 for ac_f
22141 case $ac_f in
22142 -) ac_f="$tmp/stdin";;
22143 *) # Look for the file first in the build tree, then in the source tree
22144 # (if the path is not absolute). The absolute path cannot be DOS-style,
22145 # because $ac_f cannot contain `:'.
22146 test -f "$ac_f" ||
22147 case $ac_f in
22148 [\\/$]*) false;;
22149 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22150 esac ||
22151 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22152 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22153 { (exit 1); exit 1; }; };;
22154 esac
22155 ac_file_inputs="$ac_file_inputs $ac_f"
22156 done
22158 # Let's still pretend it is `configure' which instantiates (i.e., don't
22159 # use $as_me), people would be surprised to read:
22160 # /* config.h. Generated by config.status. */
22161 configure_input="Generated from "`IFS=:
22162 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22163 if test x"$ac_file" != x-; then
22164 configure_input="$ac_file. $configure_input"
22165 { echo "$as_me:$LINENO: creating $ac_file" >&5
22166 echo "$as_me: creating $ac_file" >&6;}
22169 case $ac_tag in
22170 *:-:* | *:-) cat >"$tmp/stdin";;
22171 esac
22173 esac
22175 ac_dir=`$as_dirname -- "$ac_file" ||
22176 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22177 X"$ac_file" : 'X\(//\)[^/]' \| \
22178 X"$ac_file" : 'X\(//\)$' \| \
22179 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22180 echo X"$ac_file" |
22181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22182 s//\1/
22185 /^X\(\/\/\)[^/].*/{
22186 s//\1/
22189 /^X\(\/\/\)$/{
22190 s//\1/
22193 /^X\(\/\).*/{
22194 s//\1/
22197 s/.*/./; q'`
22198 { as_dir="$ac_dir"
22199 case $as_dir in #(
22200 -*) as_dir=./$as_dir;;
22201 esac
22202 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22203 as_dirs=
22204 while :; do
22205 case $as_dir in #(
22206 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22207 *) as_qdir=$as_dir;;
22208 esac
22209 as_dirs="'$as_qdir' $as_dirs"
22210 as_dir=`$as_dirname -- "$as_dir" ||
22211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22212 X"$as_dir" : 'X\(//\)[^/]' \| \
22213 X"$as_dir" : 'X\(//\)$' \| \
22214 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22215 echo X"$as_dir" |
22216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22217 s//\1/
22220 /^X\(\/\/\)[^/].*/{
22221 s//\1/
22224 /^X\(\/\/\)$/{
22225 s//\1/
22228 /^X\(\/\).*/{
22229 s//\1/
22232 s/.*/./; q'`
22233 test -d "$as_dir" && break
22234 done
22235 test -z "$as_dirs" || eval "mkdir $as_dirs"
22236 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22237 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22238 { (exit 1); exit 1; }; }; }
22239 ac_builddir=.
22241 case "$ac_dir" in
22242 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22244 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22245 # A ".." for each directory in $ac_dir_suffix.
22246 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22247 case $ac_top_builddir_sub in
22248 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22249 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22250 esac ;;
22251 esac
22252 ac_abs_top_builddir=$ac_pwd
22253 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22254 # for backward compatibility:
22255 ac_top_builddir=$ac_top_build_prefix
22257 case $srcdir in
22258 .) # We are building in place.
22259 ac_srcdir=.
22260 ac_top_srcdir=$ac_top_builddir_sub
22261 ac_abs_top_srcdir=$ac_pwd ;;
22262 [\\/]* | ?:[\\/]* ) # Absolute name.
22263 ac_srcdir=$srcdir$ac_dir_suffix;
22264 ac_top_srcdir=$srcdir
22265 ac_abs_top_srcdir=$srcdir ;;
22266 *) # Relative name.
22267 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22268 ac_top_srcdir=$ac_top_build_prefix$srcdir
22269 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22270 esac
22271 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22274 case $ac_mode in
22277 # CONFIG_FILE
22280 case $INSTALL in
22281 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22282 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22283 esac
22284 _ACEOF
22286 cat >>$CONFIG_STATUS <<\_ACEOF
22287 # If the template does not know about datarootdir, expand it.
22288 # FIXME: This hack should be removed a few years after 2.60.
22289 ac_datarootdir_hack=; ac_datarootdir_seen=
22291 case `sed -n '/datarootdir/ {
22295 /@datadir@/p
22296 /@docdir@/p
22297 /@infodir@/p
22298 /@localedir@/p
22299 /@mandir@/p
22300 ' $ac_file_inputs` in
22301 *datarootdir*) ac_datarootdir_seen=yes;;
22302 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22303 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22304 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22305 _ACEOF
22306 cat >>$CONFIG_STATUS <<_ACEOF
22307 ac_datarootdir_hack='
22308 s&@datadir@&$datadir&g
22309 s&@docdir@&$docdir&g
22310 s&@infodir@&$infodir&g
22311 s&@localedir@&$localedir&g
22312 s&@mandir@&$mandir&g
22313 s&\\\${datarootdir}&$datarootdir&g' ;;
22314 esac
22315 _ACEOF
22317 # Neutralize VPATH when `$srcdir' = `.'.
22318 # Shell code in configure.ac might set extrasub.
22319 # FIXME: do we really want to maintain this feature?
22320 cat >>$CONFIG_STATUS <<_ACEOF
22321 sed "$ac_vpsub
22322 $extrasub
22323 _ACEOF
22324 cat >>$CONFIG_STATUS <<\_ACEOF
22326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22327 s&@configure_input@&$configure_input&;t t
22328 s&@top_builddir@&$ac_top_builddir_sub&;t t
22329 s&@srcdir@&$ac_srcdir&;t t
22330 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22331 s&@top_srcdir@&$ac_top_srcdir&;t t
22332 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22333 s&@builddir@&$ac_builddir&;t t
22334 s&@abs_builddir@&$ac_abs_builddir&;t t
22335 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22336 s&@INSTALL@&$ac_INSTALL&;t t
22337 $ac_datarootdir_hack
22338 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22340 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22341 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22342 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22343 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22344 which seems to be undefined. Please make sure it is defined." >&5
22345 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22346 which seems to be undefined. Please make sure it is defined." >&2;}
22348 rm -f "$tmp/stdin"
22349 case $ac_file in
22350 -) cat "$tmp/out"; rm -f "$tmp/out";;
22351 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22352 esac
22356 # CONFIG_HEADER
22358 _ACEOF
22360 # Transform confdefs.h into a sed script `conftest.defines', that
22361 # substitutes the proper values into config.h.in to produce config.h.
22362 rm -f conftest.defines conftest.tail
22363 # First, append a space to every undef/define line, to ease matching.
22364 echo 's/$/ /' >conftest.defines
22365 # Then, protect against being on the right side of a sed subst, or in
22366 # an unquoted here document, in config.status. If some macros were
22367 # called several times there might be several #defines for the same
22368 # symbol, which is useless. But do not sort them, since the last
22369 # AC_DEFINE must be honored.
22370 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22371 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22372 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22373 # PARAMS is the parameter list in the macro definition--in most cases, it's
22374 # just an empty string.
22375 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22376 ac_dB='\\)[ (].*,\\1define\\2'
22377 ac_dC=' '
22378 ac_dD=' ,'
22380 uniq confdefs.h |
22381 sed -n '
22382 t rset
22383 :rset
22384 s/^[ ]*#[ ]*define[ ][ ]*//
22385 t ok
22388 s/[\\&,]/\\&/g
22389 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22390 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22391 ' >>conftest.defines
22393 # Remove the space that was appended to ease matching.
22394 # Then replace #undef with comments. This is necessary, for
22395 # example, in the case of _POSIX_SOURCE, which is predefined and required
22396 # on some systems where configure will not decide to define it.
22397 # (The regexp can be short, since the line contains either #define or #undef.)
22398 echo 's/ $//
22399 s,^[ #]*u.*,/* & */,' >>conftest.defines
22401 # Break up conftest.defines:
22402 ac_max_sed_lines=50
22404 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22405 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22406 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22407 # et cetera.
22408 ac_in='$ac_file_inputs'
22409 ac_out='"$tmp/out1"'
22410 ac_nxt='"$tmp/out2"'
22412 while :
22414 # Write a here document:
22415 cat >>$CONFIG_STATUS <<_ACEOF
22416 # First, check the format of the line:
22417 cat >"\$tmp/defines.sed" <<\\CEOF
22418 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22419 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22421 :def
22422 _ACEOF
22423 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22424 echo 'CEOF
22425 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22426 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22427 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22428 grep . conftest.tail >/dev/null || break
22429 rm -f conftest.defines
22430 mv conftest.tail conftest.defines
22431 done
22432 rm -f conftest.defines conftest.tail
22434 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22435 cat >>$CONFIG_STATUS <<\_ACEOF
22436 if test x"$ac_file" != x-; then
22437 echo "/* $configure_input */" >"$tmp/config.h"
22438 cat "$ac_result" >>"$tmp/config.h"
22439 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22440 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22441 echo "$as_me: $ac_file is unchanged" >&6;}
22442 else
22443 rm -f $ac_file
22444 mv "$tmp/config.h" $ac_file
22446 else
22447 echo "/* $configure_input */"
22448 cat "$ac_result"
22450 rm -f "$tmp/out12"
22453 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22454 echo "$as_me: executing $ac_file commands" >&6;}
22456 esac
22459 case $ac_file$ac_mode in
22460 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22461 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22462 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22463 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22464 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22465 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22466 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22467 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22468 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22469 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22470 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22471 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22472 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22474 esac
22475 done # for ac_tag
22478 { (exit 0); exit 0; }
22479 _ACEOF
22480 chmod +x $CONFIG_STATUS
22481 ac_clean_files=$ac_clean_files_save
22484 # configure is writing to config.log, and then calls config.status.
22485 # config.status does its own redirection, appending to config.log.
22486 # Unfortunately, on DOS this fails, as config.log is still kept open
22487 # by configure, so config.status won't be able to write to it; its
22488 # output is simply discarded. So we exec the FD to /dev/null,
22489 # effectively closing config.log, so it can be properly (re)opened and
22490 # appended to by config.status. When coming back to configure, we
22491 # need to make the FD available again.
22492 if test "$no_create" != yes; then
22493 ac_cs_success=:
22494 ac_config_status_args=
22495 test "$silent" = yes &&
22496 ac_config_status_args="$ac_config_status_args --quiet"
22497 exec 5>/dev/null
22498 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22499 exec 5>>config.log
22500 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22501 # would make configure fail if this is the last instruction.
22502 $ac_cs_success || { (exit 1); exit 1; }
22507 if test "$no_create" = "yes"
22508 then
22509 exit 0
22512 if test "$verbose" = "yes"
22513 then
22514 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22515 then
22516 echo >&2
22517 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22518 echo "$as_me: libcapi20 development files not found." >&6;}
22519 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22520 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22523 if test "$ac_cv_header_cups_cups_h" != "yes"
22524 then
22525 echo >&2
22526 { echo "$as_me:$LINENO: libcups development files not found." >&5
22527 echo "$as_me: libcups development files not found." >&6;}
22528 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22529 echo "$as_me: Wine will be built without CUPS support." >&6;}
22533 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22534 then
22535 echo >&2
22536 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22537 echo "$as_me: libgphoto2 development files not found." >&6;}
22538 if test "$ac_cv_header_sane_sane_h" = "yes"
22539 then
22540 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22541 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22542 else
22543 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22544 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22548 if test "$ac_cv_header_hal_libhal_h" != "yes"
22549 then
22550 echo >&2
22551 { echo "$as_me:$LINENO: libhal development files not found." >&5
22552 echo "$as_me: libhal development files not found." >&6;}
22553 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22554 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22557 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22558 then
22559 echo >&2
22560 { echo "$as_me:$LINENO: libicu development files not found." >&5
22561 echo "$as_me: libicu development files not found." >&6;}
22562 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22563 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22566 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22567 then
22568 echo >&2
22569 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22570 echo "$as_me: liblcms development files not found." >&6;}
22571 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22572 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22575 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22576 then
22577 echo >&2
22578 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22579 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22580 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22581 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22584 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22585 then
22586 echo >&2
22587 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22588 echo "$as_me: lib(n)curses development files not found." >&6;}
22589 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22590 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22593 if test "$ac_cv_header_sane_sane_h" != "yes"
22594 then
22595 echo >&2
22596 { echo "$as_me:$LINENO: libsane development files not found." >&5
22597 echo "$as_me: libsane development files not found." >&6;}
22598 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22599 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22602 if test "$have_x" = "yes"
22603 then
22604 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22605 then
22606 echo >&2
22607 { echo "$as_me:$LINENO: libxext development files not found." >&5
22608 echo "$as_me: libxext development files not found." >&6;}
22609 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22610 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22613 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22614 then
22615 echo >&2
22616 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22617 echo "$as_me: libXrandr development files not found." >&6;}
22618 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22619 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22622 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22623 then
22624 echo >&2
22625 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22626 echo "$as_me: libXrender development files not found." >&6;}
22627 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22628 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22631 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22632 then
22633 echo >&2
22634 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22635 echo "$as_me: libXxf86vm development files not found." >&6;}
22636 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22637 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22641 if test "$ac_cv_header_libxml_parser_h" != "yes"
22642 then
22643 echo >&2
22644 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22645 echo "$as_me: libxml2 development files not found." >&6;}
22646 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22647 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22650 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22651 then
22652 echo >&2
22653 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22654 echo "$as_me: libxslt development files not found." >&6;}
22655 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22656 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22661 if test "$have_x" = "no"
22662 then
22663 echo >&2
22664 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22665 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22666 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22667 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22668 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22669 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22670 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22671 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22674 if test -z "$OPENGLFILES"
22675 then
22676 echo >&2
22677 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22678 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22679 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22680 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22681 if test "$wine_cv_opengl_headers_found" = "no"
22682 then
22683 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22684 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22686 if test "$wine_cv_opengl_header_version_OK" = "no"
22687 then
22688 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22689 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22690 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22691 then
22692 if test -f /usr/X11R6/lib/libGL.a
22693 then
22694 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22695 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22696 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22697 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22698 else
22699 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22700 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22705 if test "$wine_cv_msg_freetype" = "yes"
22706 then
22707 echo >&2
22708 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22709 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22710 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22711 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22712 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22713 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22714 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22715 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22718 if test -z "$FONTSSUBDIRS"
22719 then
22720 echo >&2
22721 if test "$FONTFORGE" = "false"
22722 then
22723 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22724 echo "$as_me: WARNING: FontForge is missing." >&2;}
22725 else
22726 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22727 echo "$as_me: WARNING: FreeType is missing." >&2;}
22729 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22730 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22733 if test -z "$ALSALIBS" -a \
22734 -z "$ARTSC_LIBS" -a \
22735 -z "$AUDIOIOLIBS" -a \
22736 -z "$NASLIBS" -a \
22737 -z "$ESD_LIBS" -a \
22738 -z "$ac_cv_lib_soname_jack" -a \
22739 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22740 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22741 "$ac_cv_header_soundcard_h" != "yes"
22742 then
22743 echo >&2
22744 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22745 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22746 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22747 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22748 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22749 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22752 echo
22753 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22754 echo