mshtml: Added IDM_RESPECTVISIBILITY_INDESIGN command stub implementation.
[wine/dibdrv.git] / configure
blobdd092b267fda6b9a6d12b944b963c2e639f3529c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.38.
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.38'
578 PACKAGE_STRING='Wine 0.9.38'
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 ESDCONFIG
735 ESDLIBS
736 ESDINCL
737 ALSALIBS
738 AUDIOIOLIBS
739 EXTRACFLAGS
740 BUILTINFLAG
741 DLLEXT
742 DLLFLAGS
743 LDSHARED
744 LDDLLFLAGS
745 LIBEXT
746 IMPLIBEXT
747 LIBWINE_LDFLAGS
748 DLLTOOL
749 DLLWRAP
750 MINGWAR
751 COREFOUNDATIONLIB
752 IOKITLIB
753 LDEXECFLAGS
754 DISKARBITRATIONLIB
755 COREAUDIO
756 CARBONLIB
757 CROSSTEST
758 CROSSCC
759 CROSSWINDRES
760 LDPATH
761 CRTLIBS
762 SOCKETLIBS
763 MAIN_BINARY
764 EXTRA_BINARIES
766 LIBDL
767 LIBPOLL
768 DEPENDENCIES
769 LIBOBJS
770 LTLIBOBJS'
771 ac_subst_files='MAKE_RULES
772 MAKE_DLL_RULES
773 MAKE_IMPLIB_RULES
774 MAKE_TEST_RULES
775 MAKE_PROG_RULES'
776 ac_precious_vars='build_alias
777 host_alias
778 target_alias
780 CFLAGS
781 LDFLAGS
782 LIBS
783 CPPFLAGS
785 CXXFLAGS
787 XMKMF
788 CPP'
791 # Initialize some variables set by options.
792 ac_init_help=
793 ac_init_version=false
794 # The variables have the same names as the options, with
795 # dashes changed to underlines.
796 cache_file=/dev/null
797 exec_prefix=NONE
798 no_create=
799 no_recursion=
800 prefix=NONE
801 program_prefix=NONE
802 program_suffix=NONE
803 program_transform_name=s,x,x,
804 silent=
805 site=
806 srcdir=
807 verbose=
808 x_includes=NONE
809 x_libraries=NONE
811 # Installation directory options.
812 # These are left unexpanded so users can "make install exec_prefix=/foo"
813 # and all the variables that are supposed to be based on exec_prefix
814 # by default will actually change.
815 # Use braces instead of parens because sh, perl, etc. also accept them.
816 # (The list follows the same order as the GNU Coding Standards.)
817 bindir='${exec_prefix}/bin'
818 sbindir='${exec_prefix}/sbin'
819 libexecdir='${exec_prefix}/libexec'
820 datarootdir='${prefix}/share'
821 datadir='${datarootdir}'
822 sysconfdir='${prefix}/etc'
823 sharedstatedir='${prefix}/com'
824 localstatedir='${prefix}/var'
825 includedir='${prefix}/include'
826 oldincludedir='/usr/include'
827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
828 infodir='${datarootdir}/info'
829 htmldir='${docdir}'
830 dvidir='${docdir}'
831 pdfdir='${docdir}'
832 psdir='${docdir}'
833 libdir='${exec_prefix}/lib'
834 localedir='${datarootdir}/locale'
835 mandir='${datarootdir}/man'
837 ac_prev=
838 ac_dashdash=
839 for ac_option
841 # If the previous option needs an argument, assign it.
842 if test -n "$ac_prev"; then
843 eval $ac_prev=\$ac_option
844 ac_prev=
845 continue
848 case $ac_option in
849 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
850 *) ac_optarg=yes ;;
851 esac
853 # Accept the important Cygnus configure options, so we can diagnose typos.
855 case $ac_dashdash$ac_option in
857 ac_dashdash=yes ;;
859 -bindir | --bindir | --bindi | --bind | --bin | --bi)
860 ac_prev=bindir ;;
861 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
862 bindir=$ac_optarg ;;
864 -build | --build | --buil | --bui | --bu)
865 ac_prev=build_alias ;;
866 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
867 build_alias=$ac_optarg ;;
869 -cache-file | --cache-file | --cache-fil | --cache-fi \
870 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
871 ac_prev=cache_file ;;
872 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
873 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
874 cache_file=$ac_optarg ;;
876 --config-cache | -C)
877 cache_file=config.cache ;;
879 -datadir | --datadir | --datadi | --datad)
880 ac_prev=datadir ;;
881 -datadir=* | --datadir=* | --datadi=* | --datad=*)
882 datadir=$ac_optarg ;;
884 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
885 | --dataroo | --dataro | --datar)
886 ac_prev=datarootdir ;;
887 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
888 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
889 datarootdir=$ac_optarg ;;
891 -disable-* | --disable-*)
892 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
893 # Reject names that are not valid shell variable names.
894 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
895 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
896 { (exit 1); exit 1; }; }
897 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
898 eval enable_$ac_feature=no ;;
900 -docdir | --docdir | --docdi | --doc | --do)
901 ac_prev=docdir ;;
902 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
903 docdir=$ac_optarg ;;
905 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
906 ac_prev=dvidir ;;
907 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
908 dvidir=$ac_optarg ;;
910 -enable-* | --enable-*)
911 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
912 # Reject names that are not valid shell variable names.
913 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
914 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
915 { (exit 1); exit 1; }; }
916 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
917 eval enable_$ac_feature=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
930 with_gas=yes ;;
932 -help | --help | --hel | --he | -h)
933 ac_init_help=long ;;
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 ac_prev=htmldir ;;
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 | --ht=*)
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 ac_prev=infodir ;;
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
963 ac_prev=libdir ;;
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
965 libdir=$ac_optarg ;;
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
975 ac_prev=localedir ;;
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 ac_prev=mandir ;;
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
989 mandir=$ac_optarg ;;
991 -nfp | --nfp | --nf)
992 # Obsolete; use --without-fp.
993 with_fp=no ;;
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
997 no_create=yes ;;
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1001 no_recursion=yes ;;
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 ac_prev=prefix ;;
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 ac_prev=pdfdir ;;
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1054 ac_prev=psdir ;;
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1056 psdir=$ac_optarg ;;
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1060 silent=yes ;;
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 ac_prev=sbindir ;;
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 | --sbi=* | --sb=*)
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1071 | --sha | --sh)
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 | --sha=* | --sh=*)
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1080 ac_prev=site ;;
1081 -site=* | --site=* | --sit=*)
1082 site=$ac_optarg ;;
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 ac_prev=srcdir ;;
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1102 verbose=yes ;;
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1107 -with-* | --with-*)
1108 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1111 { echo "$as_me: error: invalid package name: $ac_package" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1114 eval with_$ac_package=\$ac_optarg ;;
1116 -without-* | --without-*)
1117 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1120 { echo "$as_me: error: invalid package name: $ac_package" >&2
1121 { (exit 1); exit 1; }; }
1122 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1123 eval with_$ac_package=no ;;
1125 --x)
1126 # Obsolete; use --with-x.
1127 with_x=yes ;;
1129 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1130 | --x-incl | --x-inc | --x-in | --x-i)
1131 ac_prev=x_includes ;;
1132 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1133 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1134 x_includes=$ac_optarg ;;
1136 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1137 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1138 ac_prev=x_libraries ;;
1139 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1140 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1141 x_libraries=$ac_optarg ;;
1143 -*) { echo "$as_me: error: unrecognized option: $ac_option
1144 Try \`$0 --help' for more information." >&2
1145 { (exit 1); exit 1; }; }
1148 *=*)
1149 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1150 # Reject names that are not valid shell variable names.
1151 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1152 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1153 { (exit 1); exit 1; }; }
1154 eval $ac_envvar=\$ac_optarg
1155 export $ac_envvar ;;
1158 # FIXME: should be removed in autoconf 3.0.
1159 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1160 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1162 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1165 esac
1166 done
1168 if test -n "$ac_prev"; then
1169 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1170 { echo "$as_me: error: missing argument to $ac_option" >&2
1171 { (exit 1); exit 1; }; }
1174 # Be sure to have absolute directory names.
1175 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1176 datadir sysconfdir sharedstatedir localstatedir includedir \
1177 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1178 libdir localedir mandir
1180 eval ac_val=\$$ac_var
1181 case $ac_val in
1182 [\\/$]* | ?:[\\/]* ) continue;;
1183 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 esac
1185 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1186 { (exit 1); exit 1; }; }
1187 done
1189 # There might be people who depend on the old broken behavior: `$host'
1190 # used to hold the argument of --host etc.
1191 # FIXME: To remove some day.
1192 build=$build_alias
1193 host=$host_alias
1194 target=$target_alias
1196 # FIXME: To remove some day.
1197 if test "x$host_alias" != x; then
1198 if test "x$build_alias" = x; then
1199 cross_compiling=maybe
1200 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1201 If a cross compiler is detected then cross compile mode will be used." >&2
1202 elif test "x$build_alias" != "x$host_alias"; then
1203 cross_compiling=yes
1207 ac_tool_prefix=
1208 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1210 test "$silent" = yes && exec 6>/dev/null
1213 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1214 ac_ls_di=`ls -di .` &&
1215 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1216 { echo "$as_me: error: Working directory cannot be determined" >&2
1217 { (exit 1); exit 1; }; }
1218 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1219 { echo "$as_me: error: pwd does not report name of working directory" >&2
1220 { (exit 1); exit 1; }; }
1223 # Find the source files, if location was not specified.
1224 if test -z "$srcdir"; then
1225 ac_srcdir_defaulted=yes
1226 # Try the directory containing this script, then the parent directory.
1227 ac_confdir=`$as_dirname -- "$0" ||
1228 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1229 X"$0" : 'X\(//\)[^/]' \| \
1230 X"$0" : 'X\(//\)$' \| \
1231 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1232 echo X"$0" |
1233 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1234 s//\1/
1237 /^X\(\/\/\)[^/].*/{
1238 s//\1/
1241 /^X\(\/\/\)$/{
1242 s//\1/
1245 /^X\(\/\).*/{
1246 s//\1/
1249 s/.*/./; q'`
1250 srcdir=$ac_confdir
1251 if test ! -r "$srcdir/$ac_unique_file"; then
1252 srcdir=..
1254 else
1255 ac_srcdir_defaulted=no
1257 if test ! -r "$srcdir/$ac_unique_file"; then
1258 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1259 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1260 { (exit 1); exit 1; }; }
1262 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1263 ac_abs_confdir=`(
1264 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1265 { (exit 1); exit 1; }; }
1266 pwd)`
1267 # When building in place, set srcdir=.
1268 if test "$ac_abs_confdir" = "$ac_pwd"; then
1269 srcdir=.
1271 # Remove unnecessary trailing slashes from srcdir.
1272 # Double slashes in file names in object file debugging info
1273 # mess up M-x gdb in Emacs.
1274 case $srcdir in
1275 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1276 esac
1277 for ac_var in $ac_precious_vars; do
1278 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1279 eval ac_env_${ac_var}_value=\$${ac_var}
1280 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1281 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1282 done
1285 # Report the --help message.
1287 if test "$ac_init_help" = "long"; then
1288 # Omit some internal or obsolete options to make the list less imposing.
1289 # This message is too long to be a string in the A/UX 3.1 sh.
1290 cat <<_ACEOF
1291 \`configure' configures Wine 0.9.38 to adapt to many kinds of systems.
1293 Usage: $0 [OPTION]... [VAR=VALUE]...
1295 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1296 VAR=VALUE. See below for descriptions of some of the useful variables.
1298 Defaults for the options are specified in brackets.
1300 Configuration:
1301 -h, --help display this help and exit
1302 --help=short display options specific to this package
1303 --help=recursive display the short help of all the included packages
1304 -V, --version display version information and exit
1305 -q, --quiet, --silent do not print \`checking...' messages
1306 --cache-file=FILE cache test results in FILE [disabled]
1307 -C, --config-cache alias for \`--cache-file=config.cache'
1308 -n, --no-create do not create output files
1309 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1311 Installation directories:
1312 --prefix=PREFIX install architecture-independent files in PREFIX
1313 [$ac_default_prefix]
1314 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1315 [PREFIX]
1317 By default, \`make install' will install all the files in
1318 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1319 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1320 for instance \`--prefix=\$HOME'.
1322 For better control, use the options below.
1324 Fine tuning of the installation directories:
1325 --bindir=DIR user executables [EPREFIX/bin]
1326 --sbindir=DIR system admin executables [EPREFIX/sbin]
1327 --libexecdir=DIR program executables [EPREFIX/libexec]
1328 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1329 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1330 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1331 --libdir=DIR object code libraries [EPREFIX/lib]
1332 --includedir=DIR C header files [PREFIX/include]
1333 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1334 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1335 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1336 --infodir=DIR info documentation [DATAROOTDIR/info]
1337 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1338 --mandir=DIR man documentation [DATAROOTDIR/man]
1339 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1340 --htmldir=DIR html documentation [DOCDIR]
1341 --dvidir=DIR dvi documentation [DOCDIR]
1342 --pdfdir=DIR pdf documentation [DOCDIR]
1343 --psdir=DIR ps documentation [DOCDIR]
1344 _ACEOF
1346 cat <<\_ACEOF
1348 X features:
1349 --x-includes=DIR X include files are in DIR
1350 --x-libraries=DIR X library files are in DIR
1352 System types:
1353 --build=BUILD configure for building on BUILD [guessed]
1354 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1355 _ACEOF
1358 if test -n "$ac_init_help"; then
1359 case $ac_init_help in
1360 short | recursive ) echo "Configuration of Wine 0.9.38:";;
1361 esac
1362 cat <<\_ACEOF
1364 Optional Features:
1365 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1366 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1367 --disable-win16 do not include Win16 support
1368 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1369 binaries)
1371 Optional Packages:
1372 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1373 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1374 --without-opengl do not use OpenGL
1375 --with-wine-tools=<dir> use Wine tools from directory <dir>
1376 --with-x use the X Window System
1378 Some influential environment variables:
1379 CC C compiler command
1380 CFLAGS C compiler flags
1381 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1382 nonstandard directory <lib dir>
1383 LIBS libraries to pass to the linker, e.g. -l<library>
1384 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1385 you have headers in a nonstandard directory <include dir>
1386 CXX C++ compiler command
1387 CXXFLAGS C++ compiler flags
1388 XMKMF Path to xmkmf, Makefile generator for X Window System
1389 CPP C preprocessor
1391 Use these variables to override the choices made by `configure' or to help
1392 it to find libraries and programs with nonstandard names/locations.
1394 Report bugs to <wine-devel@winehq.org>.
1395 _ACEOF
1396 ac_status=$?
1399 if test "$ac_init_help" = "recursive"; then
1400 # If there are subdirs, report their specific --help.
1401 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1402 test -d "$ac_dir" || continue
1403 ac_builddir=.
1405 case "$ac_dir" in
1406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1408 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1409 # A ".." for each directory in $ac_dir_suffix.
1410 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1411 case $ac_top_builddir_sub in
1412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1414 esac ;;
1415 esac
1416 ac_abs_top_builddir=$ac_pwd
1417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1418 # for backward compatibility:
1419 ac_top_builddir=$ac_top_build_prefix
1421 case $srcdir in
1422 .) # We are building in place.
1423 ac_srcdir=.
1424 ac_top_srcdir=$ac_top_builddir_sub
1425 ac_abs_top_srcdir=$ac_pwd ;;
1426 [\\/]* | ?:[\\/]* ) # Absolute name.
1427 ac_srcdir=$srcdir$ac_dir_suffix;
1428 ac_top_srcdir=$srcdir
1429 ac_abs_top_srcdir=$srcdir ;;
1430 *) # Relative name.
1431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1432 ac_top_srcdir=$ac_top_build_prefix$srcdir
1433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1434 esac
1435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1437 cd "$ac_dir" || { ac_status=$?; continue; }
1438 # Check for guested configure.
1439 if test -f "$ac_srcdir/configure.gnu"; then
1440 echo &&
1441 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1442 elif test -f "$ac_srcdir/configure"; then
1443 echo &&
1444 $SHELL "$ac_srcdir/configure" --help=recursive
1445 else
1446 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1447 fi || ac_status=$?
1448 cd "$ac_pwd" || { ac_status=$?; break; }
1449 done
1452 test -n "$ac_init_help" && exit $ac_status
1453 if $ac_init_version; then
1454 cat <<\_ACEOF
1455 Wine configure 0.9.38
1456 generated by GNU Autoconf 2.61
1458 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1459 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1460 This configure script is free software; the Free Software Foundation
1461 gives unlimited permission to copy, distribute and modify it.
1462 _ACEOF
1463 exit
1465 cat >config.log <<_ACEOF
1466 This file contains any messages produced by compilers while
1467 running configure, to aid debugging if configure makes a mistake.
1469 It was created by Wine $as_me 0.9.38, which was
1470 generated by GNU Autoconf 2.61. Invocation command line was
1472 $ $0 $@
1474 _ACEOF
1475 exec 5>>config.log
1477 cat <<_ASUNAME
1478 ## --------- ##
1479 ## Platform. ##
1480 ## --------- ##
1482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1499 _ASUNAME
1501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1502 for as_dir in $PATH
1504 IFS=$as_save_IFS
1505 test -z "$as_dir" && as_dir=.
1506 echo "PATH: $as_dir"
1507 done
1508 IFS=$as_save_IFS
1510 } >&5
1512 cat >&5 <<_ACEOF
1515 ## ----------- ##
1516 ## Core tests. ##
1517 ## ----------- ##
1519 _ACEOF
1522 # Keep a trace of the command line.
1523 # Strip out --no-create and --no-recursion so they do not pile up.
1524 # Strip out --silent because we don't want to record it for future runs.
1525 # Also quote any args containing shell meta-characters.
1526 # Make two passes to allow for proper duplicate-argument suppression.
1527 ac_configure_args=
1528 ac_configure_args0=
1529 ac_configure_args1=
1530 ac_must_keep_next=false
1531 for ac_pass in 1 2
1533 for ac_arg
1535 case $ac_arg in
1536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1538 | -silent | --silent | --silen | --sile | --sil)
1539 continue ;;
1540 *\'*)
1541 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1542 esac
1543 case $ac_pass in
1544 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1546 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1547 if test $ac_must_keep_next = true; then
1548 ac_must_keep_next=false # Got value, back to normal.
1549 else
1550 case $ac_arg in
1551 *=* | --config-cache | -C | -disable-* | --disable-* \
1552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1554 | -with-* | --with-* | -without-* | --without-* | --x)
1555 case "$ac_configure_args0 " in
1556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1557 esac
1559 -* ) ac_must_keep_next=true ;;
1560 esac
1562 ac_configure_args="$ac_configure_args '$ac_arg'"
1564 esac
1565 done
1566 done
1567 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1568 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1570 # When interrupted or exit'd, cleanup temporary files, and complete
1571 # config.log. We remove comments because anyway the quotes in there
1572 # would cause problems or look ugly.
1573 # WARNING: Use '\'' to represent an apostrophe within the trap.
1574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1575 trap 'exit_status=$?
1576 # Save into config.log some information that might help in debugging.
1578 echo
1580 cat <<\_ASBOX
1581 ## ---------------- ##
1582 ## Cache variables. ##
1583 ## ---------------- ##
1584 _ASBOX
1585 echo
1586 # The following way of writing the cache mishandles newlines in values,
1588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1589 eval ac_val=\$$ac_var
1590 case $ac_val in #(
1591 *${as_nl}*)
1592 case $ac_var in #(
1593 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1594 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1595 esac
1596 case $ac_var in #(
1597 _ | IFS | as_nl) ;; #(
1598 *) $as_unset $ac_var ;;
1599 esac ;;
1600 esac
1601 done
1602 (set) 2>&1 |
1603 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1604 *${as_nl}ac_space=\ *)
1605 sed -n \
1606 "s/'\''/'\''\\\\'\'''\''/g;
1607 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1608 ;; #(
1610 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1612 esac |
1613 sort
1615 echo
1617 cat <<\_ASBOX
1618 ## ----------------- ##
1619 ## Output variables. ##
1620 ## ----------------- ##
1621 _ASBOX
1622 echo
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1633 if test -n "$ac_subst_files"; then
1634 cat <<\_ASBOX
1635 ## ------------------- ##
1636 ## File substitutions. ##
1637 ## ------------------- ##
1638 _ASBOX
1639 echo
1640 for ac_var in $ac_subst_files
1642 eval ac_val=\$$ac_var
1643 case $ac_val in
1644 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1645 esac
1646 echo "$ac_var='\''$ac_val'\''"
1647 done | sort
1648 echo
1651 if test -s confdefs.h; then
1652 cat <<\_ASBOX
1653 ## ----------- ##
1654 ## confdefs.h. ##
1655 ## ----------- ##
1656 _ASBOX
1657 echo
1658 cat confdefs.h
1659 echo
1661 test "$ac_signal" != 0 &&
1662 echo "$as_me: caught signal $ac_signal"
1663 echo "$as_me: exit $exit_status"
1664 } >&5
1665 rm -f core *.core core.conftest.* &&
1666 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1667 exit $exit_status
1669 for ac_signal in 1 2 13 15; do
1670 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1671 done
1672 ac_signal=0
1674 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1675 rm -f -r conftest* confdefs.h
1677 # Predefined preprocessor variables.
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_NAME "$PACKAGE_NAME"
1681 _ACEOF
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1686 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1691 _ACEOF
1694 cat >>confdefs.h <<_ACEOF
1695 #define PACKAGE_STRING "$PACKAGE_STRING"
1696 _ACEOF
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1701 _ACEOF
1704 # Let the site file select an alternate cache file if it wants to.
1705 # Prefer explicitly selected file to automatically selected ones.
1706 if test -n "$CONFIG_SITE"; then
1707 set x "$CONFIG_SITE"
1708 elif test "x$prefix" != xNONE; then
1709 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1710 else
1711 set x "$ac_default_prefix/share/config.site" \
1712 "$ac_default_prefix/etc/config.site"
1714 shift
1715 for ac_site_file
1717 if test -r "$ac_site_file"; then
1718 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1719 echo "$as_me: loading site script $ac_site_file" >&6;}
1720 sed 's/^/| /' "$ac_site_file" >&5
1721 . "$ac_site_file"
1723 done
1725 if test -r "$cache_file"; then
1726 # Some versions of bash will fail to source /dev/null (special
1727 # files actually), so we avoid doing that.
1728 if test -f "$cache_file"; then
1729 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1730 echo "$as_me: loading cache $cache_file" >&6;}
1731 case $cache_file in
1732 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1733 *) . "./$cache_file";;
1734 esac
1736 else
1737 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1738 echo "$as_me: creating cache $cache_file" >&6;}
1739 >$cache_file
1742 # Check that the precious variables saved in the cache have kept the same
1743 # value.
1744 ac_cache_corrupted=false
1745 for ac_var in $ac_precious_vars; do
1746 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1747 eval ac_new_set=\$ac_env_${ac_var}_set
1748 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1749 eval ac_new_val=\$ac_env_${ac_var}_value
1750 case $ac_old_set,$ac_new_set in
1751 set,)
1752 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1753 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1754 ac_cache_corrupted=: ;;
1755 ,set)
1756 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1757 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1758 ac_cache_corrupted=: ;;
1759 ,);;
1761 if test "x$ac_old_val" != "x$ac_new_val"; then
1762 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1763 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1764 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1765 echo "$as_me: former value: $ac_old_val" >&2;}
1766 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1767 echo "$as_me: current value: $ac_new_val" >&2;}
1768 ac_cache_corrupted=:
1769 fi;;
1770 esac
1771 # Pass precious variables to config.status.
1772 if test "$ac_new_set" = set; then
1773 case $ac_new_val in
1774 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1775 *) ac_arg=$ac_var=$ac_new_val ;;
1776 esac
1777 case " $ac_configure_args " in
1778 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1779 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1780 esac
1782 done
1783 if $ac_cache_corrupted; then
1784 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1785 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1786 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1787 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1788 { (exit 1); exit 1; }; }
1815 ac_ext=c
1816 ac_cpp='$CPP $CPPFLAGS'
1817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_config_headers="$ac_config_headers include/config.h"
1825 ac_aux_dir=
1826 for ac_dir in tools "$srcdir"/tools; do
1827 if test -f "$ac_dir/install-sh"; then
1828 ac_aux_dir=$ac_dir
1829 ac_install_sh="$ac_aux_dir/install-sh -c"
1830 break
1831 elif test -f "$ac_dir/install.sh"; then
1832 ac_aux_dir=$ac_dir
1833 ac_install_sh="$ac_aux_dir/install.sh -c"
1834 break
1835 elif test -f "$ac_dir/shtool"; then
1836 ac_aux_dir=$ac_dir
1837 ac_install_sh="$ac_aux_dir/shtool install -c"
1838 break
1840 done
1841 if test -z "$ac_aux_dir"; then
1842 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1843 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1844 { (exit 1); exit 1; }; }
1847 # These three variables are undocumented and unsupported,
1848 # and are intended to be withdrawn in a future Autoconf release.
1849 # They can cause serious problems if a builder's source tree is in a directory
1850 # whose full name contains unusual characters.
1851 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1852 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1853 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1858 # Check whether --enable-win16 was given.
1859 if test "${enable_win16+set}" = set; then
1860 enableval=$enable_win16;
1863 # Check whether --enable-win64 was given.
1864 if test "${enable_win64+set}" = set; then
1865 enableval=$enable_win64;
1870 # Check whether --with-opengl was given.
1871 if test "${with_opengl+set}" = set; then
1872 withval=$with_opengl;
1876 # Check whether --with-wine-tools was given.
1877 if test "${with_wine_tools+set}" = set; then
1878 withval=$with_wine_tools;
1882 # Make sure we can run config.sub.
1883 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1884 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1885 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1886 { (exit 1); exit 1; }; }
1888 { echo "$as_me:$LINENO: checking build system type" >&5
1889 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1890 if test "${ac_cv_build+set}" = set; then
1891 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 else
1893 ac_build_alias=$build_alias
1894 test "x$ac_build_alias" = x &&
1895 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1896 test "x$ac_build_alias" = x &&
1897 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1898 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1899 { (exit 1); exit 1; }; }
1900 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1901 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1902 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1903 { (exit 1); exit 1; }; }
1906 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1907 echo "${ECHO_T}$ac_cv_build" >&6; }
1908 case $ac_cv_build in
1909 *-*-*) ;;
1910 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1911 echo "$as_me: error: invalid value of canonical build" >&2;}
1912 { (exit 1); exit 1; }; };;
1913 esac
1914 build=$ac_cv_build
1915 ac_save_IFS=$IFS; IFS='-'
1916 set x $ac_cv_build
1917 shift
1918 build_cpu=$1
1919 build_vendor=$2
1920 shift; shift
1921 # Remember, the first character of IFS is used to create $*,
1922 # except with old shells:
1923 build_os=$*
1924 IFS=$ac_save_IFS
1925 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1928 { echo "$as_me:$LINENO: checking host system type" >&5
1929 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1930 if test "${ac_cv_host+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1932 else
1933 if test "x$host_alias" = x; then
1934 ac_cv_host=$ac_cv_build
1935 else
1936 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1937 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1938 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1939 { (exit 1); exit 1; }; }
1943 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1944 echo "${ECHO_T}$ac_cv_host" >&6; }
1945 case $ac_cv_host in
1946 *-*-*) ;;
1947 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1948 echo "$as_me: error: invalid value of canonical host" >&2;}
1949 { (exit 1); exit 1; }; };;
1950 esac
1951 host=$ac_cv_host
1952 ac_save_IFS=$IFS; IFS='-'
1953 set x $ac_cv_host
1954 shift
1955 host_cpu=$1
1956 host_vendor=$2
1957 shift; shift
1958 # Remember, the first character of IFS is used to create $*,
1959 # except with old shells:
1960 host_os=$*
1961 IFS=$ac_save_IFS
1962 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1965 case $host in
1966 x86_64*linux*)
1967 if test "x$enable_win64" != "xyes"
1968 then
1969 test -n "$CC" || CC="gcc -m32"
1970 test -n "$LD" || LD="ld -m elf_i386"
1971 test -n "$AS" || AS="as --32"
1972 host_cpu="i386"
1975 esac
1977 case $host_cpu in
1978 *i[3456789]86*)
1979 if test "x$enable_win16" != "xno"
1980 then
1981 enable_win16="yes"
1984 esac
1986 WIN16_FILES="\$(WIN16_FILES)"
1988 WIN16_INSTALL="\$(WIN16_INSTALL)"
1990 if test "x$enable_win16" != "xyes"
1991 then
1992 WIN16_FILES=""
1993 WIN16_INSTALL=""
1996 case "$srcdir" in
1997 .) ;;
1998 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
1999 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2000 You need to run 'make distclean' in the source tree first." >&5
2001 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2002 You need to run 'make distclean' in the source tree first." >&2;}
2003 { (exit 1); exit 1; }; }
2004 fi ;;
2005 esac
2008 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2009 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2010 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2011 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2012 echo $ECHO_N "(cached) $ECHO_C" >&6
2013 else
2014 cat >conftest.make <<\_ACEOF
2015 SHELL = /bin/sh
2016 all:
2017 @echo '@@@%%%=$(MAKE)=@@@%%%'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2021 *@@@%%%=?*=@@@%%%*)
2022 eval ac_cv_prog_make_${ac_make}_set=yes;;
2024 eval ac_cv_prog_make_${ac_make}_set=no;;
2025 esac
2026 rm -f conftest.make
2028 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2029 { echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6; }
2031 SET_MAKE=
2032 else
2033 { echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6; }
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 ac_ext=c
2039 ac_cpp='$CPP $CPPFLAGS'
2040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 if test -n "$ac_tool_prefix"; then
2044 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2045 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2048 if test "${ac_cv_prog_CC+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051 if test -n "$CC"; then
2052 ac_cv_prog_CC="$CC" # Let the user override the test.
2053 else
2054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2055 for as_dir in $PATH
2057 IFS=$as_save_IFS
2058 test -z "$as_dir" && as_dir=.
2059 for ac_exec_ext in '' $ac_executable_extensions; do
2060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2061 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2063 break 2
2065 done
2066 done
2067 IFS=$as_save_IFS
2071 CC=$ac_cv_prog_CC
2072 if test -n "$CC"; then
2073 { echo "$as_me:$LINENO: result: $CC" >&5
2074 echo "${ECHO_T}$CC" >&6; }
2075 else
2076 { echo "$as_me:$LINENO: result: no" >&5
2077 echo "${ECHO_T}no" >&6; }
2082 if test -z "$ac_cv_prog_CC"; then
2083 ac_ct_CC=$CC
2084 # Extract the first word of "gcc", so it can be a program name with args.
2085 set dummy gcc; ac_word=$2
2086 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2088 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2089 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 else
2091 if test -n "$ac_ct_CC"; then
2092 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2093 else
2094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2095 for as_dir in $PATH
2097 IFS=$as_save_IFS
2098 test -z "$as_dir" && as_dir=.
2099 for ac_exec_ext in '' $ac_executable_extensions; do
2100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2101 ac_cv_prog_ac_ct_CC="gcc"
2102 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 break 2
2105 done
2106 done
2107 IFS=$as_save_IFS
2111 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2112 if test -n "$ac_ct_CC"; then
2113 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2114 echo "${ECHO_T}$ac_ct_CC" >&6; }
2115 else
2116 { echo "$as_me:$LINENO: result: no" >&5
2117 echo "${ECHO_T}no" >&6; }
2120 if test "x$ac_ct_CC" = x; then
2121 CC=""
2122 else
2123 case $cross_compiling:$ac_tool_warned in
2124 yes:)
2125 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2126 whose name does not start with the host triplet. If you think this
2127 configuration is useful to you, please write to autoconf@gnu.org." >&5
2128 echo "$as_me: 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." >&2;}
2131 ac_tool_warned=yes ;;
2132 esac
2133 CC=$ac_ct_CC
2135 else
2136 CC="$ac_cv_prog_CC"
2139 if test -z "$CC"; then
2140 if test -n "$ac_tool_prefix"; then
2141 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2142 set dummy ${ac_tool_prefix}cc; ac_word=$2
2143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2145 if test "${ac_cv_prog_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$CC"; then
2149 ac_cv_prog_CC="$CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2158 ac_cv_prog_CC="${ac_tool_prefix}cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2164 IFS=$as_save_IFS
2168 CC=$ac_cv_prog_CC
2169 if test -n "$CC"; then
2170 { echo "$as_me:$LINENO: result: $CC" >&5
2171 echo "${ECHO_T}$CC" >&6; }
2172 else
2173 { echo "$as_me:$LINENO: result: no" >&5
2174 echo "${ECHO_T}no" >&6; }
2180 if test -z "$CC"; then
2181 # Extract the first word of "cc", so it can be a program name with args.
2182 set dummy cc; ac_word=$2
2183 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2185 if test "${ac_cv_prog_CC+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 else
2188 if test -n "$CC"; then
2189 ac_cv_prog_CC="$CC" # Let the user override the test.
2190 else
2191 ac_prog_rejected=no
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 for as_dir in $PATH
2195 IFS=$as_save_IFS
2196 test -z "$as_dir" && as_dir=.
2197 for ac_exec_ext in '' $ac_executable_extensions; do
2198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2199 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2200 ac_prog_rejected=yes
2201 continue
2203 ac_cv_prog_CC="cc"
2204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2205 break 2
2207 done
2208 done
2209 IFS=$as_save_IFS
2211 if test $ac_prog_rejected = yes; then
2212 # We found a bogon in the path, so make sure we never use it.
2213 set dummy $ac_cv_prog_CC
2214 shift
2215 if test $# != 0; then
2216 # We chose a different compiler from the bogus one.
2217 # However, it has the same basename, so the bogon will be chosen
2218 # first if we set CC to just the basename; use the full file name.
2219 shift
2220 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2225 CC=$ac_cv_prog_CC
2226 if test -n "$CC"; then
2227 { echo "$as_me:$LINENO: result: $CC" >&5
2228 echo "${ECHO_T}$CC" >&6; }
2229 else
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl.exe
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2263 IFS=$as_save_IFS
2267 CC=$ac_cv_prog_CC
2268 if test -n "$CC"; then
2269 { echo "$as_me:$LINENO: result: $CC" >&5
2270 echo "${ECHO_T}$CC" >&6; }
2271 else
2272 { echo "$as_me:$LINENO: result: no" >&5
2273 echo "${ECHO_T}no" >&6; }
2277 test -n "$CC" && break
2278 done
2280 if test -z "$CC"; then
2281 ac_ct_CC=$CC
2282 for ac_prog in cl.exe
2284 # Extract the first word of "$ac_prog", so it can be a program name with args.
2285 set dummy $ac_prog; ac_word=$2
2286 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2287 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2288 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2290 else
2291 if test -n "$ac_ct_CC"; then
2292 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2293 else
2294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2295 for as_dir in $PATH
2297 IFS=$as_save_IFS
2298 test -z "$as_dir" && as_dir=.
2299 for ac_exec_ext in '' $ac_executable_extensions; do
2300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2301 ac_cv_prog_ac_ct_CC="$ac_prog"
2302 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2303 break 2
2305 done
2306 done
2307 IFS=$as_save_IFS
2311 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2312 if test -n "$ac_ct_CC"; then
2313 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2314 echo "${ECHO_T}$ac_ct_CC" >&6; }
2315 else
2316 { echo "$as_me:$LINENO: result: no" >&5
2317 echo "${ECHO_T}no" >&6; }
2321 test -n "$ac_ct_CC" && break
2322 done
2324 if test "x$ac_ct_CC" = x; then
2325 CC=""
2326 else
2327 case $cross_compiling:$ac_tool_warned in
2328 yes:)
2329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2330 whose name does not start with the host triplet. If you think this
2331 configuration is useful to you, please write to autoconf@gnu.org." >&5
2332 echo "$as_me: 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." >&2;}
2335 ac_tool_warned=yes ;;
2336 esac
2337 CC=$ac_ct_CC
2344 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2345 See \`config.log' for more details." >&5
2346 echo "$as_me: error: no acceptable C compiler found in \$PATH
2347 See \`config.log' for more details." >&2;}
2348 { (exit 1); exit 1; }; }
2350 # Provide some information about the compiler.
2351 echo "$as_me:$LINENO: checking for C compiler version" >&5
2352 ac_compiler=`set X $ac_compile; echo $2`
2353 { (ac_try="$ac_compiler --version >&5"
2354 case "(($ac_try" in
2355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2356 *) ac_try_echo=$ac_try;;
2357 esac
2358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2359 (eval "$ac_compiler --version >&5") 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }
2363 { (ac_try="$ac_compiler -v >&5"
2364 case "(($ac_try" in
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2367 esac
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compiler -v >&5") 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }
2373 { (ac_try="$ac_compiler -V >&5"
2374 case "(($ac_try" in
2375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2376 *) ac_try_echo=$ac_try;;
2377 esac
2378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2379 (eval "$ac_compiler -V >&5") 2>&5
2380 ac_status=$?
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); }
2384 cat >conftest.$ac_ext <<_ACEOF
2385 /* confdefs.h. */
2386 _ACEOF
2387 cat confdefs.h >>conftest.$ac_ext
2388 cat >>conftest.$ac_ext <<_ACEOF
2389 /* end confdefs.h. */
2392 main ()
2396 return 0;
2398 _ACEOF
2399 ac_clean_files_save=$ac_clean_files
2400 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2401 # Try to create an executable without -o first, disregard a.out.
2402 # It will help us diagnose broken compilers, and finding out an intuition
2403 # of exeext.
2404 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2405 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2406 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 # List of possible output files, starting from the most likely.
2409 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2410 # only as a last resort. b.out is created by i960 compilers.
2411 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2413 # The IRIX 6 linker writes into existing files which may not be
2414 # executable, retaining their permissions. Remove them first so a
2415 # subsequent execution test works.
2416 ac_rmfiles=
2417 for ac_file in $ac_files
2419 case $ac_file in
2420 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2421 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2422 esac
2423 done
2424 rm -f $ac_rmfiles
2426 if { (ac_try="$ac_link_default"
2427 case "(($ac_try" in
2428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2429 *) ac_try_echo=$ac_try;;
2430 esac
2431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2432 (eval "$ac_link_default") 2>&5
2433 ac_status=$?
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; then
2436 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2437 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2438 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2439 # so that the user can short-circuit this test for compilers unknown to
2440 # Autoconf.
2441 for ac_file in $ac_files ''
2443 test -f "$ac_file" || continue
2444 case $ac_file in
2445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2447 [ab].out )
2448 # We found the default executable, but exeext='' is most
2449 # certainly right.
2450 break;;
2451 *.* )
2452 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2453 then :; else
2454 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2456 # We set ac_cv_exeext here because the later test for it is not
2457 # safe: cross compilers may not add the suffix if given an `-o'
2458 # argument, so we may need to know it at that point already.
2459 # Even if this section looks crufty: it has the advantage of
2460 # actually working.
2461 break;;
2463 break;;
2464 esac
2465 done
2466 test "$ac_cv_exeext" = no && ac_cv_exeext=
2468 else
2469 ac_file=''
2472 { echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6; }
2474 if test -z "$ac_file"; then
2475 echo "$as_me: failed program was:" >&5
2476 sed 's/^/| /' conftest.$ac_ext >&5
2478 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2479 See \`config.log' for more details." >&5
2480 echo "$as_me: error: C compiler cannot create executables
2481 See \`config.log' for more details." >&2;}
2482 { (exit 77); exit 77; }; }
2485 ac_exeext=$ac_cv_exeext
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2490 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2491 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2492 # If not cross compiling, check that we can run a simple program.
2493 if test "$cross_compiling" != yes; then
2494 if { ac_try='./$ac_file'
2495 { (case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2500 (eval "$ac_try") 2>&5
2501 ac_status=$?
2502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2503 (exit $ac_status); }; }; then
2504 cross_compiling=no
2505 else
2506 if test "$cross_compiling" = maybe; then
2507 cross_compiling=yes
2508 else
2509 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2510 If you meant to cross compile, use \`--host'.
2511 See \`config.log' for more details." >&5
2512 echo "$as_me: error: cannot run C compiled programs.
2513 If you meant to cross compile, use \`--host'.
2514 See \`config.log' for more details." >&2;}
2515 { (exit 1); exit 1; }; }
2519 { echo "$as_me:$LINENO: result: yes" >&5
2520 echo "${ECHO_T}yes" >&6; }
2522 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2523 ac_clean_files=$ac_clean_files_save
2524 # Check that the compiler produces executables we can run. If not, either
2525 # the compiler is broken, or we cross compile.
2526 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2527 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2528 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2529 echo "${ECHO_T}$cross_compiling" >&6; }
2531 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2532 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2533 if { (ac_try="$ac_link"
2534 case "(($ac_try" in
2535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2536 *) ac_try_echo=$ac_try;;
2537 esac
2538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2539 (eval "$ac_link") 2>&5
2540 ac_status=$?
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; then
2543 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2544 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2545 # work properly (i.e., refer to `conftest.exe'), while it won't with
2546 # `rm'.
2547 for ac_file in conftest.exe conftest conftest.*; do
2548 test -f "$ac_file" || continue
2549 case $ac_file in
2550 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2551 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2552 break;;
2553 * ) break;;
2554 esac
2555 done
2556 else
2557 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2558 See \`config.log' for more details." >&5
2559 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2564 rm -f conftest$ac_cv_exeext
2565 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2566 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2568 rm -f conftest.$ac_ext
2569 EXEEXT=$ac_cv_exeext
2570 ac_exeext=$EXEEXT
2571 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2572 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2573 if test "${ac_cv_objext+set}" = set; then
2574 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 else
2576 cat >conftest.$ac_ext <<_ACEOF
2577 /* confdefs.h. */
2578 _ACEOF
2579 cat confdefs.h >>conftest.$ac_ext
2580 cat >>conftest.$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2584 main ()
2588 return 0;
2590 _ACEOF
2591 rm -f conftest.o conftest.obj
2592 if { (ac_try="$ac_compile"
2593 case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596 esac
2597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_compile") 2>&5
2599 ac_status=$?
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); }; then
2602 for ac_file in conftest.o conftest.obj conftest.*; do
2603 test -f "$ac_file" || continue;
2604 case $ac_file in
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2606 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2607 break;;
2608 esac
2609 done
2610 else
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.$ac_ext >&5
2614 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2615 See \`config.log' for more details." >&5
2616 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2617 See \`config.log' for more details." >&2;}
2618 { (exit 1); exit 1; }; }
2621 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2623 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2624 echo "${ECHO_T}$ac_cv_objext" >&6; }
2625 OBJEXT=$ac_cv_objext
2626 ac_objext=$OBJEXT
2627 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2628 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2629 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2630 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 else
2632 cat >conftest.$ac_ext <<_ACEOF
2633 /* confdefs.h. */
2634 _ACEOF
2635 cat confdefs.h >>conftest.$ac_ext
2636 cat >>conftest.$ac_ext <<_ACEOF
2637 /* end confdefs.h. */
2640 main ()
2642 #ifndef __GNUC__
2643 choke me
2644 #endif
2647 return 0;
2649 _ACEOF
2650 rm -f conftest.$ac_objext
2651 if { (ac_try="$ac_compile"
2652 case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2655 esac
2656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_compile") 2>conftest.er1
2658 ac_status=$?
2659 grep -v '^ *+' conftest.er1 >conftest.err
2660 rm -f conftest.er1
2661 cat conftest.err >&5
2662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663 (exit $ac_status); } && {
2664 test -z "$ac_c_werror_flag" ||
2665 test ! -s conftest.err
2666 } && test -s conftest.$ac_objext; then
2667 ac_compiler_gnu=yes
2668 else
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 ac_compiler_gnu=no
2675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2679 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2680 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2681 GCC=`test $ac_compiler_gnu = yes && echo yes`
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2685 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 ac_save_c_werror_flag=$ac_c_werror_flag
2690 ac_c_werror_flag=yes
2691 ac_cv_prog_cc_g=no
2692 CFLAGS="-g"
2693 cat >conftest.$ac_ext <<_ACEOF
2694 /* confdefs.h. */
2695 _ACEOF
2696 cat confdefs.h >>conftest.$ac_ext
2697 cat >>conftest.$ac_ext <<_ACEOF
2698 /* end confdefs.h. */
2701 main ()
2705 return 0;
2707 _ACEOF
2708 rm -f conftest.$ac_objext
2709 if { (ac_try="$ac_compile"
2710 case "(($ac_try" in
2711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2712 *) ac_try_echo=$ac_try;;
2713 esac
2714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2715 (eval "$ac_compile") 2>conftest.er1
2716 ac_status=$?
2717 grep -v '^ *+' conftest.er1 >conftest.err
2718 rm -f conftest.er1
2719 cat conftest.err >&5
2720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2721 (exit $ac_status); } && {
2722 test -z "$ac_c_werror_flag" ||
2723 test ! -s conftest.err
2724 } && test -s conftest.$ac_objext; then
2725 ac_cv_prog_cc_g=yes
2726 else
2727 echo "$as_me: failed program was:" >&5
2728 sed 's/^/| /' conftest.$ac_ext >&5
2730 CFLAGS=""
2731 cat >conftest.$ac_ext <<_ACEOF
2732 /* confdefs.h. */
2733 _ACEOF
2734 cat confdefs.h >>conftest.$ac_ext
2735 cat >>conftest.$ac_ext <<_ACEOF
2736 /* end confdefs.h. */
2739 main ()
2743 return 0;
2745 _ACEOF
2746 rm -f conftest.$ac_objext
2747 if { (ac_try="$ac_compile"
2748 case "(($ac_try" in
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2751 esac
2752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2753 (eval "$ac_compile") 2>conftest.er1
2754 ac_status=$?
2755 grep -v '^ *+' conftest.er1 >conftest.err
2756 rm -f conftest.er1
2757 cat conftest.err >&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } && {
2760 test -z "$ac_c_werror_flag" ||
2761 test ! -s conftest.err
2762 } && test -s conftest.$ac_objext; then
2764 else
2765 echo "$as_me: failed program was:" >&5
2766 sed 's/^/| /' conftest.$ac_ext >&5
2768 ac_c_werror_flag=$ac_save_c_werror_flag
2769 CFLAGS="-g"
2770 cat >conftest.$ac_ext <<_ACEOF
2771 /* confdefs.h. */
2772 _ACEOF
2773 cat confdefs.h >>conftest.$ac_ext
2774 cat >>conftest.$ac_ext <<_ACEOF
2775 /* end confdefs.h. */
2778 main ()
2782 return 0;
2784 _ACEOF
2785 rm -f conftest.$ac_objext
2786 if { (ac_try="$ac_compile"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2792 (eval "$ac_compile") 2>conftest.er1
2793 ac_status=$?
2794 grep -v '^ *+' conftest.er1 >conftest.err
2795 rm -f conftest.er1
2796 cat conftest.err >&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then
2802 ac_cv_prog_cc_g=yes
2803 else
2804 echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2817 ac_c_werror_flag=$ac_save_c_werror_flag
2819 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2820 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2821 if test "$ac_test_CFLAGS" = set; then
2822 CFLAGS=$ac_save_CFLAGS
2823 elif test $ac_cv_prog_cc_g = yes; then
2824 if test "$GCC" = yes; then
2825 CFLAGS="-g -O2"
2826 else
2827 CFLAGS="-g"
2829 else
2830 if test "$GCC" = yes; then
2831 CFLAGS="-O2"
2832 else
2833 CFLAGS=
2836 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2837 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2838 if test "${ac_cv_prog_cc_c89+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2840 else
2841 ac_cv_prog_cc_c89=no
2842 ac_save_CC=$CC
2843 cat >conftest.$ac_ext <<_ACEOF
2844 /* confdefs.h. */
2845 _ACEOF
2846 cat confdefs.h >>conftest.$ac_ext
2847 cat >>conftest.$ac_ext <<_ACEOF
2848 /* end confdefs.h. */
2849 #include <stdarg.h>
2850 #include <stdio.h>
2851 #include <sys/types.h>
2852 #include <sys/stat.h>
2853 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2854 struct buf { int x; };
2855 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2856 static char *e (p, i)
2857 char **p;
2858 int i;
2860 return p[i];
2862 static char *f (char * (*g) (char **, int), char **p, ...)
2864 char *s;
2865 va_list v;
2866 va_start (v,p);
2867 s = g (p, va_arg (v,int));
2868 va_end (v);
2869 return s;
2872 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2873 function prototypes and stuff, but not '\xHH' hex character constants.
2874 These don't provoke an error unfortunately, instead are silently treated
2875 as 'x'. The following induces an error, until -std is added to get
2876 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2877 array size at least. It's necessary to write '\x00'==0 to get something
2878 that's true only with -std. */
2879 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2881 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2882 inside strings and character constants. */
2883 #define FOO(x) 'x'
2884 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2886 int test (int i, double x);
2887 struct s1 {int (*f) (int a);};
2888 struct s2 {int (*f) (double a);};
2889 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2890 int argc;
2891 char **argv;
2893 main ()
2895 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2897 return 0;
2899 _ACEOF
2900 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2901 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2903 CC="$ac_save_CC $ac_arg"
2904 rm -f conftest.$ac_objext
2905 if { (ac_try="$ac_compile"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2911 (eval "$ac_compile") 2>conftest.er1
2912 ac_status=$?
2913 grep -v '^ *+' conftest.er1 >conftest.err
2914 rm -f conftest.er1
2915 cat conftest.err >&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } && {
2918 test -z "$ac_c_werror_flag" ||
2919 test ! -s conftest.err
2920 } && test -s conftest.$ac_objext; then
2921 ac_cv_prog_cc_c89=$ac_arg
2922 else
2923 echo "$as_me: failed program was:" >&5
2924 sed 's/^/| /' conftest.$ac_ext >&5
2929 rm -f core conftest.err conftest.$ac_objext
2930 test "x$ac_cv_prog_cc_c89" != "xno" && break
2931 done
2932 rm -f conftest.$ac_ext
2933 CC=$ac_save_CC
2936 # AC_CACHE_VAL
2937 case "x$ac_cv_prog_cc_c89" in
2939 { echo "$as_me:$LINENO: result: none needed" >&5
2940 echo "${ECHO_T}none needed" >&6; } ;;
2941 xno)
2942 { echo "$as_me:$LINENO: result: unsupported" >&5
2943 echo "${ECHO_T}unsupported" >&6; } ;;
2945 CC="$CC $ac_cv_prog_cc_c89"
2946 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2947 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2948 esac
2951 ac_ext=c
2952 ac_cpp='$CPP $CPPFLAGS'
2953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2957 ac_ext=cpp
2958 ac_cpp='$CXXCPP $CPPFLAGS'
2959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2962 if test -z "$CXX"; then
2963 if test -n "$CCC"; then
2964 CXX=$CCC
2965 else
2966 if test -n "$ac_tool_prefix"; then
2967 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2969 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2970 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2973 if test "${ac_cv_prog_CXX+set}" = set; then
2974 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 else
2976 if test -n "$CXX"; then
2977 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2978 else
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH
2982 IFS=$as_save_IFS
2983 test -z "$as_dir" && as_dir=.
2984 for ac_exec_ext in '' $ac_executable_extensions; do
2985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2986 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2988 break 2
2990 done
2991 done
2992 IFS=$as_save_IFS
2996 CXX=$ac_cv_prog_CXX
2997 if test -n "$CXX"; then
2998 { echo "$as_me:$LINENO: result: $CXX" >&5
2999 echo "${ECHO_T}$CXX" >&6; }
3000 else
3001 { echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6; }
3006 test -n "$CXX" && break
3007 done
3009 if test -z "$CXX"; then
3010 ac_ct_CXX=$CXX
3011 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3013 # Extract the first word of "$ac_prog", so it can be a program name with args.
3014 set dummy $ac_prog; ac_word=$2
3015 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3016 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3017 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 else
3020 if test -n "$ac_ct_CXX"; then
3021 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3022 else
3023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3024 for as_dir in $PATH
3026 IFS=$as_save_IFS
3027 test -z "$as_dir" && as_dir=.
3028 for ac_exec_ext in '' $ac_executable_extensions; do
3029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3030 ac_cv_prog_ac_ct_CXX="$ac_prog"
3031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3032 break 2
3034 done
3035 done
3036 IFS=$as_save_IFS
3040 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3041 if test -n "$ac_ct_CXX"; then
3042 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3043 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3044 else
3045 { echo "$as_me:$LINENO: result: no" >&5
3046 echo "${ECHO_T}no" >&6; }
3050 test -n "$ac_ct_CXX" && break
3051 done
3053 if test "x$ac_ct_CXX" = x; then
3054 CXX="g++"
3055 else
3056 case $cross_compiling:$ac_tool_warned in
3057 yes:)
3058 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3059 whose name does not start with the host triplet. If you think this
3060 configuration is useful to you, please write to autoconf@gnu.org." >&5
3061 echo "$as_me: 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." >&2;}
3064 ac_tool_warned=yes ;;
3065 esac
3066 CXX=$ac_ct_CXX
3072 # Provide some information about the compiler.
3073 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3074 ac_compiler=`set X $ac_compile; echo $2`
3075 { (ac_try="$ac_compiler --version >&5"
3076 case "(($ac_try" in
3077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3079 esac
3080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3081 (eval "$ac_compiler --version >&5") 2>&5
3082 ac_status=$?
3083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084 (exit $ac_status); }
3085 { (ac_try="$ac_compiler -v >&5"
3086 case "(($ac_try" in
3087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088 *) ac_try_echo=$ac_try;;
3089 esac
3090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091 (eval "$ac_compiler -v >&5") 2>&5
3092 ac_status=$?
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }
3095 { (ac_try="$ac_compiler -V >&5"
3096 case "(($ac_try" in
3097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3099 esac
3100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101 (eval "$ac_compiler -V >&5") 2>&5
3102 ac_status=$?
3103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104 (exit $ac_status); }
3106 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3110 else
3111 cat >conftest.$ac_ext <<_ACEOF
3112 /* confdefs.h. */
3113 _ACEOF
3114 cat confdefs.h >>conftest.$ac_ext
3115 cat >>conftest.$ac_ext <<_ACEOF
3116 /* end confdefs.h. */
3119 main ()
3121 #ifndef __GNUC__
3122 choke me
3123 #endif
3126 return 0;
3128 _ACEOF
3129 rm -f conftest.$ac_objext
3130 if { (ac_try="$ac_compile"
3131 case "(($ac_try" in
3132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3133 *) ac_try_echo=$ac_try;;
3134 esac
3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3136 (eval "$ac_compile") 2>conftest.er1
3137 ac_status=$?
3138 grep -v '^ *+' conftest.er1 >conftest.err
3139 rm -f conftest.er1
3140 cat conftest.err >&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } && {
3143 test -z "$ac_cxx_werror_flag" ||
3144 test ! -s conftest.err
3145 } && test -s conftest.$ac_objext; then
3146 ac_compiler_gnu=yes
3147 else
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3151 ac_compiler_gnu=no
3154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3158 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3159 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3160 GXX=`test $ac_compiler_gnu = yes && echo yes`
3161 ac_test_CXXFLAGS=${CXXFLAGS+set}
3162 ac_save_CXXFLAGS=$CXXFLAGS
3163 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3164 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3165 if test "${ac_cv_prog_cxx_g+set}" = set; then
3166 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 else
3168 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3169 ac_cxx_werror_flag=yes
3170 ac_cv_prog_cxx_g=no
3171 CXXFLAGS="-g"
3172 cat >conftest.$ac_ext <<_ACEOF
3173 /* confdefs.h. */
3174 _ACEOF
3175 cat confdefs.h >>conftest.$ac_ext
3176 cat >>conftest.$ac_ext <<_ACEOF
3177 /* end confdefs.h. */
3180 main ()
3184 return 0;
3186 _ACEOF
3187 rm -f conftest.$ac_objext
3188 if { (ac_try="$ac_compile"
3189 case "(($ac_try" in
3190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3192 esac
3193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3194 (eval "$ac_compile") 2>conftest.er1
3195 ac_status=$?
3196 grep -v '^ *+' conftest.er1 >conftest.err
3197 rm -f conftest.er1
3198 cat conftest.err >&5
3199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3200 (exit $ac_status); } && {
3201 test -z "$ac_cxx_werror_flag" ||
3202 test ! -s conftest.err
3203 } && test -s conftest.$ac_objext; then
3204 ac_cv_prog_cxx_g=yes
3205 else
3206 echo "$as_me: failed program was:" >&5
3207 sed 's/^/| /' conftest.$ac_ext >&5
3209 CXXFLAGS=""
3210 cat >conftest.$ac_ext <<_ACEOF
3211 /* confdefs.h. */
3212 _ACEOF
3213 cat confdefs.h >>conftest.$ac_ext
3214 cat >>conftest.$ac_ext <<_ACEOF
3215 /* end confdefs.h. */
3218 main ()
3222 return 0;
3224 _ACEOF
3225 rm -f conftest.$ac_objext
3226 if { (ac_try="$ac_compile"
3227 case "(($ac_try" in
3228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3229 *) ac_try_echo=$ac_try;;
3230 esac
3231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3232 (eval "$ac_compile") 2>conftest.er1
3233 ac_status=$?
3234 grep -v '^ *+' conftest.er1 >conftest.err
3235 rm -f conftest.er1
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } && {
3239 test -z "$ac_cxx_werror_flag" ||
3240 test ! -s conftest.err
3241 } && test -s conftest.$ac_objext; then
3243 else
3244 echo "$as_me: failed program was:" >&5
3245 sed 's/^/| /' conftest.$ac_ext >&5
3247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3248 CXXFLAGS="-g"
3249 cat >conftest.$ac_ext <<_ACEOF
3250 /* confdefs.h. */
3251 _ACEOF
3252 cat confdefs.h >>conftest.$ac_ext
3253 cat >>conftest.$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3257 main ()
3261 return 0;
3263 _ACEOF
3264 rm -f conftest.$ac_objext
3265 if { (ac_try="$ac_compile"
3266 case "(($ac_try" in
3267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3268 *) ac_try_echo=$ac_try;;
3269 esac
3270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3271 (eval "$ac_compile") 2>conftest.er1
3272 ac_status=$?
3273 grep -v '^ *+' conftest.er1 >conftest.err
3274 rm -f conftest.er1
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } && {
3278 test -z "$ac_cxx_werror_flag" ||
3279 test ! -s conftest.err
3280 } && test -s conftest.$ac_objext; then
3281 ac_cv_prog_cxx_g=yes
3282 else
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3298 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3299 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3300 if test "$ac_test_CXXFLAGS" = set; then
3301 CXXFLAGS=$ac_save_CXXFLAGS
3302 elif test $ac_cv_prog_cxx_g = yes; then
3303 if test "$GXX" = yes; then
3304 CXXFLAGS="-g -O2"
3305 else
3306 CXXFLAGS="-g"
3308 else
3309 if test "$GXX" = yes; then
3310 CXXFLAGS="-O2"
3311 else
3312 CXXFLAGS=
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3321 if test -n "$ac_tool_prefix"; then
3322 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3323 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3326 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3327 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 else
3329 if test -n "$CPPBIN"; then
3330 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3335 IFS=$as_save_IFS
3336 test -z "$as_dir" && as_dir=.
3337 for ac_exec_ext in '' $ac_executable_extensions; do
3338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3339 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3341 break 2
3343 done
3344 done
3345 IFS=$as_save_IFS
3349 CPPBIN=$ac_cv_prog_CPPBIN
3350 if test -n "$CPPBIN"; then
3351 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3352 echo "${ECHO_T}$CPPBIN" >&6; }
3353 else
3354 { echo "$as_me:$LINENO: result: no" >&5
3355 echo "${ECHO_T}no" >&6; }
3360 if test -z "$ac_cv_prog_CPPBIN"; then
3361 ac_ct_CPPBIN=$CPPBIN
3362 # Extract the first word of "cpp", so it can be a program name with args.
3363 set dummy cpp; ac_word=$2
3364 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3365 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3366 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3367 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 else
3369 if test -n "$ac_ct_CPPBIN"; then
3370 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3371 else
3372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3373 for as_dir in $PATH
3375 IFS=$as_save_IFS
3376 test -z "$as_dir" && as_dir=.
3377 for ac_exec_ext in '' $ac_executable_extensions; do
3378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3379 ac_cv_prog_ac_ct_CPPBIN="cpp"
3380 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3381 break 2
3383 done
3384 done
3385 IFS=$as_save_IFS
3389 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3390 if test -n "$ac_ct_CPPBIN"; then
3391 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3392 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3393 else
3394 { echo "$as_me:$LINENO: result: no" >&5
3395 echo "${ECHO_T}no" >&6; }
3398 if test "x$ac_ct_CPPBIN" = x; then
3399 CPPBIN="cpp"
3400 else
3401 case $cross_compiling:$ac_tool_warned in
3402 yes:)
3403 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3404 whose name does not start with the host triplet. If you think this
3405 configuration is useful to you, please write to autoconf@gnu.org." >&5
3406 echo "$as_me: 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." >&2;}
3409 ac_tool_warned=yes ;;
3410 esac
3411 CPPBIN=$ac_ct_CPPBIN
3413 else
3414 CPPBIN="$ac_cv_prog_CPPBIN"
3418 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3419 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3420 if test "${wine_cv_toolsdir+set}" = set; then
3421 echo $ECHO_N "(cached) $ECHO_C" >&6
3422 else
3423 if test -z "$with_wine_tools"; then
3424 if test "$cross_compiling" = "yes"; then
3425 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3426 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3427 { (exit 1); exit 1; }; }
3428 else
3429 wine_cv_toolsdir="\$(TOPOBJDIR)"
3431 elif test -d "$with_wine_tools/tools/winebuild"; then
3432 case $with_wine_tools in
3433 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3434 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3435 esac
3436 else
3437 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3438 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3439 { (exit 1); exit 1; }; }
3442 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3443 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3444 TOOLSDIR=$wine_cv_toolsdir
3448 ac_ext=c
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3454 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3455 # On Suns, sometimes $CPP names a directory.
3456 if test -n "$CPP" && test -d "$CPP"; then
3457 CPP=
3459 if test -z "$CPP"; then
3460 if test "${ac_cv_prog_CPP+set}" = set; then
3461 echo $ECHO_N "(cached) $ECHO_C" >&6
3462 else
3463 # Double quotes because CPP needs to be expanded
3464 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3466 ac_preproc_ok=false
3467 for ac_c_preproc_warn_flag in '' yes
3469 # Use a header file that comes with gcc, so configuring glibc
3470 # with a fresh cross-compiler works.
3471 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3472 # <limits.h> exists even on freestanding compilers.
3473 # On the NeXT, cc -E runs the code through the compiler's parser,
3474 # not just through cpp. "Syntax error" is here to catch this case.
3475 cat >conftest.$ac_ext <<_ACEOF
3476 /* confdefs.h. */
3477 _ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3481 #ifdef __STDC__
3482 # include <limits.h>
3483 #else
3484 # include <assert.h>
3485 #endif
3486 Syntax error
3487 _ACEOF
3488 if { (ac_try="$ac_cpp conftest.$ac_ext"
3489 case "(($ac_try" in
3490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3491 *) ac_try_echo=$ac_try;;
3492 esac
3493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3495 ac_status=$?
3496 grep -v '^ *+' conftest.er1 >conftest.err
3497 rm -f conftest.er1
3498 cat conftest.err >&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } >/dev/null && {
3501 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3502 test ! -s conftest.err
3503 }; then
3505 else
3506 echo "$as_me: failed program was:" >&5
3507 sed 's/^/| /' conftest.$ac_ext >&5
3509 # Broken: fails on valid input.
3510 continue
3513 rm -f conftest.err conftest.$ac_ext
3515 # OK, works on sane cases. Now check whether nonexistent headers
3516 # can be detected and how.
3517 cat >conftest.$ac_ext <<_ACEOF
3518 /* confdefs.h. */
3519 _ACEOF
3520 cat confdefs.h >>conftest.$ac_ext
3521 cat >>conftest.$ac_ext <<_ACEOF
3522 /* end confdefs.h. */
3523 #include <ac_nonexistent.h>
3524 _ACEOF
3525 if { (ac_try="$ac_cpp conftest.$ac_ext"
3526 case "(($ac_try" in
3527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3528 *) ac_try_echo=$ac_try;;
3529 esac
3530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3531 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3532 ac_status=$?
3533 grep -v '^ *+' conftest.er1 >conftest.err
3534 rm -f conftest.er1
3535 cat conftest.err >&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } >/dev/null && {
3538 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3539 test ! -s conftest.err
3540 }; then
3541 # Broken: success on invalid input.
3542 continue
3543 else
3544 echo "$as_me: failed program was:" >&5
3545 sed 's/^/| /' conftest.$ac_ext >&5
3547 # Passes both tests.
3548 ac_preproc_ok=:
3549 break
3552 rm -f conftest.err conftest.$ac_ext
3554 done
3555 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3556 rm -f conftest.err conftest.$ac_ext
3557 if $ac_preproc_ok; then
3558 break
3561 done
3562 ac_cv_prog_CPP=$CPP
3565 CPP=$ac_cv_prog_CPP
3566 else
3567 ac_cv_prog_CPP=$CPP
3569 { echo "$as_me:$LINENO: result: $CPP" >&5
3570 echo "${ECHO_T}$CPP" >&6; }
3571 ac_preproc_ok=false
3572 for ac_c_preproc_warn_flag in '' yes
3574 # Use a header file that comes with gcc, so configuring glibc
3575 # with a fresh cross-compiler works.
3576 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3577 # <limits.h> exists even on freestanding compilers.
3578 # On the NeXT, cc -E runs the code through the compiler's parser,
3579 # not just through cpp. "Syntax error" is here to catch this case.
3580 cat >conftest.$ac_ext <<_ACEOF
3581 /* confdefs.h. */
3582 _ACEOF
3583 cat confdefs.h >>conftest.$ac_ext
3584 cat >>conftest.$ac_ext <<_ACEOF
3585 /* end confdefs.h. */
3586 #ifdef __STDC__
3587 # include <limits.h>
3588 #else
3589 # include <assert.h>
3590 #endif
3591 Syntax error
3592 _ACEOF
3593 if { (ac_try="$ac_cpp conftest.$ac_ext"
3594 case "(($ac_try" in
3595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3596 *) ac_try_echo=$ac_try;;
3597 esac
3598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3599 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3600 ac_status=$?
3601 grep -v '^ *+' conftest.er1 >conftest.err
3602 rm -f conftest.er1
3603 cat conftest.err >&5
3604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3605 (exit $ac_status); } >/dev/null && {
3606 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3607 test ! -s conftest.err
3608 }; then
3610 else
3611 echo "$as_me: failed program was:" >&5
3612 sed 's/^/| /' conftest.$ac_ext >&5
3614 # Broken: fails on valid input.
3615 continue
3618 rm -f conftest.err conftest.$ac_ext
3620 # OK, works on sane cases. Now check whether nonexistent headers
3621 # can be detected and how.
3622 cat >conftest.$ac_ext <<_ACEOF
3623 /* confdefs.h. */
3624 _ACEOF
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3628 #include <ac_nonexistent.h>
3629 _ACEOF
3630 if { (ac_try="$ac_cpp conftest.$ac_ext"
3631 case "(($ac_try" in
3632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3634 esac
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3637 ac_status=$?
3638 grep -v '^ *+' conftest.er1 >conftest.err
3639 rm -f conftest.er1
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } >/dev/null && {
3643 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 }; then
3646 # Broken: success on invalid input.
3647 continue
3648 else
3649 echo "$as_me: failed program was:" >&5
3650 sed 's/^/| /' conftest.$ac_ext >&5
3652 # Passes both tests.
3653 ac_preproc_ok=:
3654 break
3657 rm -f conftest.err conftest.$ac_ext
3659 done
3660 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3661 rm -f conftest.err conftest.$ac_ext
3662 if $ac_preproc_ok; then
3664 else
3665 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3666 See \`config.log' for more details." >&5
3667 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3668 See \`config.log' for more details." >&2;}
3669 { (exit 1); exit 1; }; }
3672 ac_ext=c
3673 ac_cpp='$CPP $CPPFLAGS'
3674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3679 { echo "$as_me:$LINENO: checking for X" >&5
3680 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3683 # Check whether --with-x was given.
3684 if test "${with_x+set}" = set; then
3685 withval=$with_x;
3688 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3689 if test "x$with_x" = xno; then
3690 # The user explicitly disabled X.
3691 have_x=disabled
3692 else
3693 case $x_includes,$x_libraries in #(
3694 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3695 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3696 { (exit 1); exit 1; }; };; #(
3697 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3698 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 else
3700 # One or both of the vars are not set, and there is no cached value.
3701 ac_x_includes=no ac_x_libraries=no
3702 rm -f -r conftest.dir
3703 if mkdir conftest.dir; then
3704 cd conftest.dir
3705 cat >Imakefile <<'_ACEOF'
3706 incroot:
3707 @echo incroot='${INCROOT}'
3708 usrlibdir:
3709 @echo usrlibdir='${USRLIBDIR}'
3710 libdir:
3711 @echo libdir='${LIBDIR}'
3712 _ACEOF
3713 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3714 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3715 for ac_var in incroot usrlibdir libdir; do
3716 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3717 done
3718 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3719 for ac_extension in a so sl; do
3720 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3721 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3722 ac_im_usrlibdir=$ac_im_libdir; break
3724 done
3725 # Screen out bogus values from the imake configuration. They are
3726 # bogus both because they are the default anyway, and because
3727 # using them would break gcc on systems where it needs fixed includes.
3728 case $ac_im_incroot in
3729 /usr/include) ac_x_includes= ;;
3730 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3731 esac
3732 case $ac_im_usrlibdir in
3733 /usr/lib | /lib) ;;
3734 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3735 esac
3737 cd ..
3738 rm -f -r conftest.dir
3741 # Standard set of common directories for X headers.
3742 # Check X11 before X11Rn because it is often a symlink to the current release.
3743 ac_x_header_dirs='
3744 /usr/X11/include
3745 /usr/X11R6/include
3746 /usr/X11R5/include
3747 /usr/X11R4/include
3749 /usr/include/X11
3750 /usr/include/X11R6
3751 /usr/include/X11R5
3752 /usr/include/X11R4
3754 /usr/local/X11/include
3755 /usr/local/X11R6/include
3756 /usr/local/X11R5/include
3757 /usr/local/X11R4/include
3759 /usr/local/include/X11
3760 /usr/local/include/X11R6
3761 /usr/local/include/X11R5
3762 /usr/local/include/X11R4
3764 /usr/X386/include
3765 /usr/x386/include
3766 /usr/XFree86/include/X11
3768 /usr/include
3769 /usr/local/include
3770 /usr/unsupported/include
3771 /usr/athena/include
3772 /usr/local/x11r5/include
3773 /usr/lpp/Xamples/include
3775 /usr/openwin/include
3776 /usr/openwin/share/include'
3778 if test "$ac_x_includes" = no; then
3779 # Guess where to find include files, by looking for Xlib.h.
3780 # First, try using that file with no special directory specified.
3781 cat >conftest.$ac_ext <<_ACEOF
3782 /* confdefs.h. */
3783 _ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <X11/Xlib.h>
3788 _ACEOF
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3790 case "(($ac_try" in
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3793 esac
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3796 ac_status=$?
3797 grep -v '^ *+' conftest.er1 >conftest.err
3798 rm -f conftest.er1
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null && {
3802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3803 test ! -s conftest.err
3804 }; then
3805 # We can compile using X headers with no special include directory.
3806 ac_x_includes=
3807 else
3808 echo "$as_me: failed program was:" >&5
3809 sed 's/^/| /' conftest.$ac_ext >&5
3811 for ac_dir in $ac_x_header_dirs; do
3812 if test -r "$ac_dir/X11/Xlib.h"; then
3813 ac_x_includes=$ac_dir
3814 break
3816 done
3819 rm -f conftest.err conftest.$ac_ext
3820 fi # $ac_x_includes = no
3822 if test "$ac_x_libraries" = no; then
3823 # Check for the libraries.
3824 # See if we find them without any special options.
3825 # Don't add to $LIBS permanently.
3826 ac_save_LIBS=$LIBS
3827 LIBS="-lX11 $LIBS"
3828 cat >conftest.$ac_ext <<_ACEOF
3829 /* confdefs.h. */
3830 _ACEOF
3831 cat confdefs.h >>conftest.$ac_ext
3832 cat >>conftest.$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3834 #include <X11/Xlib.h>
3836 main ()
3838 XrmInitialize ()
3840 return 0;
3842 _ACEOF
3843 rm -f conftest.$ac_objext conftest$ac_exeext
3844 if { (ac_try="$ac_link"
3845 case "(($ac_try" in
3846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3847 *) ac_try_echo=$ac_try;;
3848 esac
3849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3850 (eval "$ac_link") 2>conftest.er1
3851 ac_status=$?
3852 grep -v '^ *+' conftest.er1 >conftest.err
3853 rm -f conftest.er1
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } && {
3857 test -z "$ac_c_werror_flag" ||
3858 test ! -s conftest.err
3859 } && test -s conftest$ac_exeext &&
3860 $as_test_x conftest$ac_exeext; then
3861 LIBS=$ac_save_LIBS
3862 # We can link X programs with no special library path.
3863 ac_x_libraries=
3864 else
3865 echo "$as_me: failed program was:" >&5
3866 sed 's/^/| /' conftest.$ac_ext >&5
3868 LIBS=$ac_save_LIBS
3869 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3871 # Don't even attempt the hair of trying to link an X program!
3872 for ac_extension in a so sl; do
3873 if test -r "$ac_dir/libX11.$ac_extension"; then
3874 ac_x_libraries=$ac_dir
3875 break 2
3877 done
3878 done
3881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3882 conftest$ac_exeext conftest.$ac_ext
3883 fi # $ac_x_libraries = no
3885 case $ac_x_includes,$ac_x_libraries in #(
3886 no,* | *,no | *\'*)
3887 # Didn't find X, or a directory has "'" in its name.
3888 ac_cv_have_x="have_x=no";; #(
3890 # Record where we found X for the cache.
3891 ac_cv_have_x="have_x=yes\
3892 ac_x_includes='$ac_x_includes'\
3893 ac_x_libraries='$ac_x_libraries'"
3894 esac
3896 ;; #(
3897 *) have_x=yes;;
3898 esac
3899 eval "$ac_cv_have_x"
3900 fi # $with_x != no
3902 if test "$have_x" != yes; then
3903 { echo "$as_me:$LINENO: result: $have_x" >&5
3904 echo "${ECHO_T}$have_x" >&6; }
3905 no_x=yes
3906 else
3907 # If each of the values was on the command line, it overrides each guess.
3908 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3909 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3910 # Update the cache value to reflect the command line values.
3911 ac_cv_have_x="have_x=yes\
3912 ac_x_includes='$x_includes'\
3913 ac_x_libraries='$x_libraries'"
3914 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3915 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3918 if test "$no_x" = yes; then
3919 # Not all programs may use this symbol, but it does not hurt to define it.
3921 cat >>confdefs.h <<\_ACEOF
3922 #define X_DISPLAY_MISSING 1
3923 _ACEOF
3925 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3926 else
3927 if test -n "$x_includes"; then
3928 X_CFLAGS="$X_CFLAGS -I$x_includes"
3931 # It would also be nice to do this for all -L options, not just this one.
3932 if test -n "$x_libraries"; then
3933 X_LIBS="$X_LIBS -L$x_libraries"
3934 # For Solaris; some versions of Sun CC require a space after -R and
3935 # others require no space. Words are not sufficient . . . .
3936 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3937 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3938 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3939 ac_xsave_c_werror_flag=$ac_c_werror_flag
3940 ac_c_werror_flag=yes
3941 cat >conftest.$ac_ext <<_ACEOF
3942 /* confdefs.h. */
3943 _ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3949 main ()
3953 return 0;
3955 _ACEOF
3956 rm -f conftest.$ac_objext conftest$ac_exeext
3957 if { (ac_try="$ac_link"
3958 case "(($ac_try" in
3959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3960 *) ac_try_echo=$ac_try;;
3961 esac
3962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3963 (eval "$ac_link") 2>conftest.er1
3964 ac_status=$?
3965 grep -v '^ *+' conftest.er1 >conftest.err
3966 rm -f conftest.er1
3967 cat conftest.err >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); } && {
3970 test -z "$ac_c_werror_flag" ||
3971 test ! -s conftest.err
3972 } && test -s conftest$ac_exeext &&
3973 $as_test_x conftest$ac_exeext; then
3974 { echo "$as_me:$LINENO: result: no" >&5
3975 echo "${ECHO_T}no" >&6; }
3976 X_LIBS="$X_LIBS -R$x_libraries"
3977 else
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 LIBS="$ac_xsave_LIBS -R $x_libraries"
3982 cat >conftest.$ac_ext <<_ACEOF
3983 /* confdefs.h. */
3984 _ACEOF
3985 cat confdefs.h >>conftest.$ac_ext
3986 cat >>conftest.$ac_ext <<_ACEOF
3987 /* end confdefs.h. */
3990 main ()
3994 return 0;
3996 _ACEOF
3997 rm -f conftest.$ac_objext conftest$ac_exeext
3998 if { (ac_try="$ac_link"
3999 case "(($ac_try" in
4000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4001 *) ac_try_echo=$ac_try;;
4002 esac
4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4004 (eval "$ac_link") 2>conftest.er1
4005 ac_status=$?
4006 grep -v '^ *+' conftest.er1 >conftest.err
4007 rm -f conftest.er1
4008 cat conftest.err >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); } && {
4011 test -z "$ac_c_werror_flag" ||
4012 test ! -s conftest.err
4013 } && test -s conftest$ac_exeext &&
4014 $as_test_x conftest$ac_exeext; then
4015 { echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6; }
4017 X_LIBS="$X_LIBS -R $x_libraries"
4018 else
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.$ac_ext >&5
4022 { echo "$as_me:$LINENO: result: neither works" >&5
4023 echo "${ECHO_T}neither works" >&6; }
4026 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4027 conftest$ac_exeext conftest.$ac_ext
4030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4031 conftest$ac_exeext conftest.$ac_ext
4032 ac_c_werror_flag=$ac_xsave_c_werror_flag
4033 LIBS=$ac_xsave_LIBS
4036 # Check for system-dependent libraries X programs must link with.
4037 # Do this before checking for the system-independent R6 libraries
4038 # (-lICE), since we may need -lsocket or whatever for X linking.
4040 if test "$ISC" = yes; then
4041 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4042 else
4043 # Martyn Johnson says this is needed for Ultrix, if the X
4044 # libraries were built with DECnet support. And Karl Berry says
4045 # the Alpha needs dnet_stub (dnet does not exist).
4046 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4047 cat >conftest.$ac_ext <<_ACEOF
4048 /* confdefs.h. */
4049 _ACEOF
4050 cat confdefs.h >>conftest.$ac_ext
4051 cat >>conftest.$ac_ext <<_ACEOF
4052 /* end confdefs.h. */
4054 /* Override any GCC internal prototype to avoid an error.
4055 Use char because int might match the return type of a GCC
4056 builtin and then its argument prototype would still apply. */
4057 #ifdef __cplusplus
4058 extern "C"
4059 #endif
4060 char XOpenDisplay ();
4062 main ()
4064 return XOpenDisplay ();
4066 return 0;
4068 _ACEOF
4069 rm -f conftest.$ac_objext conftest$ac_exeext
4070 if { (ac_try="$ac_link"
4071 case "(($ac_try" in
4072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4073 *) ac_try_echo=$ac_try;;
4074 esac
4075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4076 (eval "$ac_link") 2>conftest.er1
4077 ac_status=$?
4078 grep -v '^ *+' conftest.er1 >conftest.err
4079 rm -f conftest.er1
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } && {
4083 test -z "$ac_c_werror_flag" ||
4084 test ! -s conftest.err
4085 } && test -s conftest$ac_exeext &&
4086 $as_test_x conftest$ac_exeext; then
4088 else
4089 echo "$as_me: failed program was:" >&5
4090 sed 's/^/| /' conftest.$ac_ext >&5
4092 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4093 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4094 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4095 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 else
4097 ac_check_lib_save_LIBS=$LIBS
4098 LIBS="-ldnet $LIBS"
4099 cat >conftest.$ac_ext <<_ACEOF
4100 /* confdefs.h. */
4101 _ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4106 /* Override any GCC internal prototype to avoid an error.
4107 Use char because int might match the return type of a GCC
4108 builtin and then its argument prototype would still apply. */
4109 #ifdef __cplusplus
4110 extern "C"
4111 #endif
4112 char dnet_ntoa ();
4114 main ()
4116 return dnet_ntoa ();
4118 return 0;
4120 _ACEOF
4121 rm -f conftest.$ac_objext conftest$ac_exeext
4122 if { (ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4128 (eval "$ac_link") 2>conftest.er1
4129 ac_status=$?
4130 grep -v '^ *+' conftest.er1 >conftest.err
4131 rm -f conftest.er1
4132 cat conftest.err >&5
4133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4134 (exit $ac_status); } && {
4135 test -z "$ac_c_werror_flag" ||
4136 test ! -s conftest.err
4137 } && test -s conftest$ac_exeext &&
4138 $as_test_x conftest$ac_exeext; then
4139 ac_cv_lib_dnet_dnet_ntoa=yes
4140 else
4141 echo "$as_me: failed program was:" >&5
4142 sed 's/^/| /' conftest.$ac_ext >&5
4144 ac_cv_lib_dnet_dnet_ntoa=no
4147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4148 conftest$ac_exeext conftest.$ac_ext
4149 LIBS=$ac_check_lib_save_LIBS
4151 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4152 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4153 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4154 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4157 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4159 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4160 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162 else
4163 ac_check_lib_save_LIBS=$LIBS
4164 LIBS="-ldnet_stub $LIBS"
4165 cat >conftest.$ac_ext <<_ACEOF
4166 /* confdefs.h. */
4167 _ACEOF
4168 cat confdefs.h >>conftest.$ac_ext
4169 cat >>conftest.$ac_ext <<_ACEOF
4170 /* end confdefs.h. */
4172 /* Override any GCC internal prototype to avoid an error.
4173 Use char because int might match the return type of a GCC
4174 builtin and then its argument prototype would still apply. */
4175 #ifdef __cplusplus
4176 extern "C"
4177 #endif
4178 char dnet_ntoa ();
4180 main ()
4182 return dnet_ntoa ();
4184 return 0;
4186 _ACEOF
4187 rm -f conftest.$ac_objext conftest$ac_exeext
4188 if { (ac_try="$ac_link"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4194 (eval "$ac_link") 2>conftest.er1
4195 ac_status=$?
4196 grep -v '^ *+' conftest.er1 >conftest.err
4197 rm -f conftest.er1
4198 cat conftest.err >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); } && {
4201 test -z "$ac_c_werror_flag" ||
4202 test ! -s conftest.err
4203 } && test -s conftest$ac_exeext &&
4204 $as_test_x conftest$ac_exeext; then
4205 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4206 else
4207 echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4210 ac_cv_lib_dnet_stub_dnet_ntoa=no
4213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4214 conftest$ac_exeext conftest.$ac_ext
4215 LIBS=$ac_check_lib_save_LIBS
4217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4218 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4219 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4227 conftest$ac_exeext conftest.$ac_ext
4228 LIBS="$ac_xsave_LIBS"
4230 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4231 # to get the SysV transport functions.
4232 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4233 # needs -lnsl.
4234 # The nsl library prevents programs from opening the X display
4235 # on Irix 5.2, according to T.E. Dickey.
4236 # The functions gethostbyname, getservbyname, and inet_addr are
4237 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4238 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4239 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4240 if test "${ac_cv_func_gethostbyname+set}" = set; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4242 else
4243 cat >conftest.$ac_ext <<_ACEOF
4244 /* confdefs.h. */
4245 _ACEOF
4246 cat confdefs.h >>conftest.$ac_ext
4247 cat >>conftest.$ac_ext <<_ACEOF
4248 /* end confdefs.h. */
4249 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4251 #define gethostbyname innocuous_gethostbyname
4253 /* System header to define __stub macros and hopefully few prototypes,
4254 which can conflict with char gethostbyname (); below.
4255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4256 <limits.h> exists even on freestanding compilers. */
4258 #ifdef __STDC__
4259 # include <limits.h>
4260 #else
4261 # include <assert.h>
4262 #endif
4264 #undef gethostbyname
4266 /* Override any GCC internal prototype to avoid an error.
4267 Use char because int might match the return type of a GCC
4268 builtin and then its argument prototype would still apply. */
4269 #ifdef __cplusplus
4270 extern "C"
4271 #endif
4272 char gethostbyname ();
4273 /* The GNU C library defines this for functions which it implements
4274 to always fail with ENOSYS. Some functions are actually named
4275 something starting with __ and the normal name is an alias. */
4276 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4277 choke me
4278 #endif
4281 main ()
4283 return gethostbyname ();
4285 return 0;
4287 _ACEOF
4288 rm -f conftest.$ac_objext conftest$ac_exeext
4289 if { (ac_try="$ac_link"
4290 case "(($ac_try" in
4291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4292 *) ac_try_echo=$ac_try;;
4293 esac
4294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4295 (eval "$ac_link") 2>conftest.er1
4296 ac_status=$?
4297 grep -v '^ *+' conftest.er1 >conftest.err
4298 rm -f conftest.er1
4299 cat conftest.err >&5
4300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4301 (exit $ac_status); } && {
4302 test -z "$ac_c_werror_flag" ||
4303 test ! -s conftest.err
4304 } && test -s conftest$ac_exeext &&
4305 $as_test_x conftest$ac_exeext; then
4306 ac_cv_func_gethostbyname=yes
4307 else
4308 echo "$as_me: failed program was:" >&5
4309 sed 's/^/| /' conftest.$ac_ext >&5
4311 ac_cv_func_gethostbyname=no
4314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4315 conftest$ac_exeext conftest.$ac_ext
4317 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4318 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4320 if test $ac_cv_func_gethostbyname = no; then
4321 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4322 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 else
4326 ac_check_lib_save_LIBS=$LIBS
4327 LIBS="-lnsl $LIBS"
4328 cat >conftest.$ac_ext <<_ACEOF
4329 /* confdefs.h. */
4330 _ACEOF
4331 cat confdefs.h >>conftest.$ac_ext
4332 cat >>conftest.$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4338 #ifdef __cplusplus
4339 extern "C"
4340 #endif
4341 char gethostbyname ();
4343 main ()
4345 return gethostbyname ();
4347 return 0;
4349 _ACEOF
4350 rm -f conftest.$ac_objext conftest$ac_exeext
4351 if { (ac_try="$ac_link"
4352 case "(($ac_try" in
4353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4355 esac
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4358 ac_status=$?
4359 grep -v '^ *+' conftest.er1 >conftest.err
4360 rm -f conftest.er1
4361 cat conftest.err >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } && {
4364 test -z "$ac_c_werror_flag" ||
4365 test ! -s conftest.err
4366 } && test -s conftest$ac_exeext &&
4367 $as_test_x conftest$ac_exeext; then
4368 ac_cv_lib_nsl_gethostbyname=yes
4369 else
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 ac_cv_lib_nsl_gethostbyname=no
4376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4377 conftest$ac_exeext conftest.$ac_ext
4378 LIBS=$ac_check_lib_save_LIBS
4380 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4381 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4382 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4383 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4386 if test $ac_cv_lib_nsl_gethostbyname = no; then
4387 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4388 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4389 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4390 echo $ECHO_N "(cached) $ECHO_C" >&6
4391 else
4392 ac_check_lib_save_LIBS=$LIBS
4393 LIBS="-lbsd $LIBS"
4394 cat >conftest.$ac_ext <<_ACEOF
4395 /* confdefs.h. */
4396 _ACEOF
4397 cat confdefs.h >>conftest.$ac_ext
4398 cat >>conftest.$ac_ext <<_ACEOF
4399 /* end confdefs.h. */
4401 /* Override any GCC internal prototype to avoid an error.
4402 Use char because int might match the return type of a GCC
4403 builtin and then its argument prototype would still apply. */
4404 #ifdef __cplusplus
4405 extern "C"
4406 #endif
4407 char gethostbyname ();
4409 main ()
4411 return gethostbyname ();
4413 return 0;
4415 _ACEOF
4416 rm -f conftest.$ac_objext conftest$ac_exeext
4417 if { (ac_try="$ac_link"
4418 case "(($ac_try" in
4419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4420 *) ac_try_echo=$ac_try;;
4421 esac
4422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4423 (eval "$ac_link") 2>conftest.er1
4424 ac_status=$?
4425 grep -v '^ *+' conftest.er1 >conftest.err
4426 rm -f conftest.er1
4427 cat conftest.err >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); } && {
4430 test -z "$ac_c_werror_flag" ||
4431 test ! -s conftest.err
4432 } && test -s conftest$ac_exeext &&
4433 $as_test_x conftest$ac_exeext; then
4434 ac_cv_lib_bsd_gethostbyname=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_bsd_gethostbyname=no
4442 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4443 conftest$ac_exeext conftest.$ac_ext
4444 LIBS=$ac_check_lib_save_LIBS
4446 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4447 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4448 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4449 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4455 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4456 # socket/setsockopt and other routines are undefined under SCO ODT
4457 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4458 # on later versions), says Simon Leinen: it contains gethostby*
4459 # variants that don't use the name server (or something). -lsocket
4460 # must be given before -lnsl if both are needed. We assume that
4461 # if connect needs -lnsl, so does gethostbyname.
4462 { echo "$as_me:$LINENO: checking for connect" >&5
4463 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4464 if test "${ac_cv_func_connect+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 else
4467 cat >conftest.$ac_ext <<_ACEOF
4468 /* confdefs.h. */
4469 _ACEOF
4470 cat confdefs.h >>conftest.$ac_ext
4471 cat >>conftest.$ac_ext <<_ACEOF
4472 /* end confdefs.h. */
4473 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4475 #define connect innocuous_connect
4477 /* System header to define __stub macros and hopefully few prototypes,
4478 which can conflict with char connect (); below.
4479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4480 <limits.h> exists even on freestanding compilers. */
4482 #ifdef __STDC__
4483 # include <limits.h>
4484 #else
4485 # include <assert.h>
4486 #endif
4488 #undef connect
4490 /* Override any GCC internal prototype to avoid an error.
4491 Use char because int might match the return type of a GCC
4492 builtin and then its argument prototype would still apply. */
4493 #ifdef __cplusplus
4494 extern "C"
4495 #endif
4496 char connect ();
4497 /* The GNU C library defines this for functions which it implements
4498 to always fail with ENOSYS. Some functions are actually named
4499 something starting with __ and the normal name is an alias. */
4500 #if defined __stub_connect || defined __stub___connect
4501 choke me
4502 #endif
4505 main ()
4507 return connect ();
4509 return 0;
4511 _ACEOF
4512 rm -f conftest.$ac_objext conftest$ac_exeext
4513 if { (ac_try="$ac_link"
4514 case "(($ac_try" in
4515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4516 *) ac_try_echo=$ac_try;;
4517 esac
4518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4519 (eval "$ac_link") 2>conftest.er1
4520 ac_status=$?
4521 grep -v '^ *+' conftest.er1 >conftest.err
4522 rm -f conftest.er1
4523 cat conftest.err >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } && {
4526 test -z "$ac_c_werror_flag" ||
4527 test ! -s conftest.err
4528 } && test -s conftest$ac_exeext &&
4529 $as_test_x conftest$ac_exeext; then
4530 ac_cv_func_connect=yes
4531 else
4532 echo "$as_me: failed program was:" >&5
4533 sed 's/^/| /' conftest.$ac_ext >&5
4535 ac_cv_func_connect=no
4538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4539 conftest$ac_exeext conftest.$ac_ext
4541 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4542 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4544 if test $ac_cv_func_connect = no; then
4545 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4546 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4547 if test "${ac_cv_lib_socket_connect+set}" = set; then
4548 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 else
4550 ac_check_lib_save_LIBS=$LIBS
4551 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4552 cat >conftest.$ac_ext <<_ACEOF
4553 /* confdefs.h. */
4554 _ACEOF
4555 cat confdefs.h >>conftest.$ac_ext
4556 cat >>conftest.$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4559 /* Override any GCC internal prototype to avoid an error.
4560 Use char because int might match the return type of a GCC
4561 builtin and then its argument prototype would still apply. */
4562 #ifdef __cplusplus
4563 extern "C"
4564 #endif
4565 char connect ();
4567 main ()
4569 return connect ();
4571 return 0;
4573 _ACEOF
4574 rm -f conftest.$ac_objext conftest$ac_exeext
4575 if { (ac_try="$ac_link"
4576 case "(($ac_try" in
4577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4578 *) ac_try_echo=$ac_try;;
4579 esac
4580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4581 (eval "$ac_link") 2>conftest.er1
4582 ac_status=$?
4583 grep -v '^ *+' conftest.er1 >conftest.err
4584 rm -f conftest.er1
4585 cat conftest.err >&5
4586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4587 (exit $ac_status); } && {
4588 test -z "$ac_c_werror_flag" ||
4589 test ! -s conftest.err
4590 } && test -s conftest$ac_exeext &&
4591 $as_test_x conftest$ac_exeext; then
4592 ac_cv_lib_socket_connect=yes
4593 else
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_lib_socket_connect=no
4600 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4601 conftest$ac_exeext conftest.$ac_ext
4602 LIBS=$ac_check_lib_save_LIBS
4604 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4605 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4606 if test $ac_cv_lib_socket_connect = yes; then
4607 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4612 # Guillermo Gomez says -lposix is necessary on A/UX.
4613 { echo "$as_me:$LINENO: checking for remove" >&5
4614 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4615 if test "${ac_cv_func_remove+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 else
4618 cat >conftest.$ac_ext <<_ACEOF
4619 /* confdefs.h. */
4620 _ACEOF
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4624 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4626 #define remove innocuous_remove
4628 /* System header to define __stub macros and hopefully few prototypes,
4629 which can conflict with char remove (); below.
4630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 <limits.h> exists even on freestanding compilers. */
4633 #ifdef __STDC__
4634 # include <limits.h>
4635 #else
4636 # include <assert.h>
4637 #endif
4639 #undef remove
4641 /* Override any GCC internal prototype to avoid an error.
4642 Use char because int might match the return type of a GCC
4643 builtin and then its argument prototype would still apply. */
4644 #ifdef __cplusplus
4645 extern "C"
4646 #endif
4647 char remove ();
4648 /* The GNU C library defines this for functions which it implements
4649 to always fail with ENOSYS. Some functions are actually named
4650 something starting with __ and the normal name is an alias. */
4651 #if defined __stub_remove || defined __stub___remove
4652 choke me
4653 #endif
4656 main ()
4658 return remove ();
4660 return 0;
4662 _ACEOF
4663 rm -f conftest.$ac_objext conftest$ac_exeext
4664 if { (ac_try="$ac_link"
4665 case "(($ac_try" in
4666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4667 *) ac_try_echo=$ac_try;;
4668 esac
4669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4670 (eval "$ac_link") 2>conftest.er1
4671 ac_status=$?
4672 grep -v '^ *+' conftest.er1 >conftest.err
4673 rm -f conftest.er1
4674 cat conftest.err >&5
4675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4676 (exit $ac_status); } && {
4677 test -z "$ac_c_werror_flag" ||
4678 test ! -s conftest.err
4679 } && test -s conftest$ac_exeext &&
4680 $as_test_x conftest$ac_exeext; then
4681 ac_cv_func_remove=yes
4682 else
4683 echo "$as_me: failed program was:" >&5
4684 sed 's/^/| /' conftest.$ac_ext >&5
4686 ac_cv_func_remove=no
4689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4690 conftest$ac_exeext conftest.$ac_ext
4692 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4693 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4695 if test $ac_cv_func_remove = no; then
4696 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4697 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4698 if test "${ac_cv_lib_posix_remove+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4700 else
4701 ac_check_lib_save_LIBS=$LIBS
4702 LIBS="-lposix $LIBS"
4703 cat >conftest.$ac_ext <<_ACEOF
4704 /* confdefs.h. */
4705 _ACEOF
4706 cat confdefs.h >>conftest.$ac_ext
4707 cat >>conftest.$ac_ext <<_ACEOF
4708 /* end confdefs.h. */
4710 /* Override any GCC internal prototype to avoid an error.
4711 Use char because int might match the return type of a GCC
4712 builtin and then its argument prototype would still apply. */
4713 #ifdef __cplusplus
4714 extern "C"
4715 #endif
4716 char remove ();
4718 main ()
4720 return remove ();
4722 return 0;
4724 _ACEOF
4725 rm -f conftest.$ac_objext conftest$ac_exeext
4726 if { (ac_try="$ac_link"
4727 case "(($ac_try" in
4728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4729 *) ac_try_echo=$ac_try;;
4730 esac
4731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4732 (eval "$ac_link") 2>conftest.er1
4733 ac_status=$?
4734 grep -v '^ *+' conftest.er1 >conftest.err
4735 rm -f conftest.er1
4736 cat conftest.err >&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } && {
4739 test -z "$ac_c_werror_flag" ||
4740 test ! -s conftest.err
4741 } && test -s conftest$ac_exeext &&
4742 $as_test_x conftest$ac_exeext; then
4743 ac_cv_lib_posix_remove=yes
4744 else
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_posix_remove=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4756 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4757 if test $ac_cv_lib_posix_remove = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4763 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4764 { echo "$as_me:$LINENO: checking for shmat" >&5
4765 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4766 if test "${ac_cv_func_shmat+set}" = set; then
4767 echo $ECHO_N "(cached) $ECHO_C" >&6
4768 else
4769 cat >conftest.$ac_ext <<_ACEOF
4770 /* confdefs.h. */
4771 _ACEOF
4772 cat confdefs.h >>conftest.$ac_ext
4773 cat >>conftest.$ac_ext <<_ACEOF
4774 /* end confdefs.h. */
4775 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4777 #define shmat innocuous_shmat
4779 /* System header to define __stub macros and hopefully few prototypes,
4780 which can conflict with char shmat (); below.
4781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4782 <limits.h> exists even on freestanding compilers. */
4784 #ifdef __STDC__
4785 # include <limits.h>
4786 #else
4787 # include <assert.h>
4788 #endif
4790 #undef shmat
4792 /* Override any GCC internal prototype to avoid an error.
4793 Use char because int might match the return type of a GCC
4794 builtin and then its argument prototype would still apply. */
4795 #ifdef __cplusplus
4796 extern "C"
4797 #endif
4798 char shmat ();
4799 /* The GNU C library defines this for functions which it implements
4800 to always fail with ENOSYS. Some functions are actually named
4801 something starting with __ and the normal name is an alias. */
4802 #if defined __stub_shmat || defined __stub___shmat
4803 choke me
4804 #endif
4807 main ()
4809 return shmat ();
4811 return 0;
4813 _ACEOF
4814 rm -f conftest.$ac_objext conftest$ac_exeext
4815 if { (ac_try="$ac_link"
4816 case "(($ac_try" in
4817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4818 *) ac_try_echo=$ac_try;;
4819 esac
4820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4821 (eval "$ac_link") 2>conftest.er1
4822 ac_status=$?
4823 grep -v '^ *+' conftest.er1 >conftest.err
4824 rm -f conftest.er1
4825 cat conftest.err >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); } && {
4828 test -z "$ac_c_werror_flag" ||
4829 test ! -s conftest.err
4830 } && test -s conftest$ac_exeext &&
4831 $as_test_x conftest$ac_exeext; then
4832 ac_cv_func_shmat=yes
4833 else
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 ac_cv_func_shmat=no
4840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4841 conftest$ac_exeext conftest.$ac_ext
4843 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4844 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4846 if test $ac_cv_func_shmat = no; then
4847 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4848 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4849 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4850 echo $ECHO_N "(cached) $ECHO_C" >&6
4851 else
4852 ac_check_lib_save_LIBS=$LIBS
4853 LIBS="-lipc $LIBS"
4854 cat >conftest.$ac_ext <<_ACEOF
4855 /* confdefs.h. */
4856 _ACEOF
4857 cat confdefs.h >>conftest.$ac_ext
4858 cat >>conftest.$ac_ext <<_ACEOF
4859 /* end confdefs.h. */
4861 /* Override any GCC internal prototype to avoid an error.
4862 Use char because int might match the return type of a GCC
4863 builtin and then its argument prototype would still apply. */
4864 #ifdef __cplusplus
4865 extern "C"
4866 #endif
4867 char shmat ();
4869 main ()
4871 return shmat ();
4873 return 0;
4875 _ACEOF
4876 rm -f conftest.$ac_objext conftest$ac_exeext
4877 if { (ac_try="$ac_link"
4878 case "(($ac_try" in
4879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4880 *) ac_try_echo=$ac_try;;
4881 esac
4882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4883 (eval "$ac_link") 2>conftest.er1
4884 ac_status=$?
4885 grep -v '^ *+' conftest.er1 >conftest.err
4886 rm -f conftest.er1
4887 cat conftest.err >&5
4888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4889 (exit $ac_status); } && {
4890 test -z "$ac_c_werror_flag" ||
4891 test ! -s conftest.err
4892 } && test -s conftest$ac_exeext &&
4893 $as_test_x conftest$ac_exeext; then
4894 ac_cv_lib_ipc_shmat=yes
4895 else
4896 echo "$as_me: failed program was:" >&5
4897 sed 's/^/| /' conftest.$ac_ext >&5
4899 ac_cv_lib_ipc_shmat=no
4902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4903 conftest$ac_exeext conftest.$ac_ext
4904 LIBS=$ac_check_lib_save_LIBS
4906 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4907 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4908 if test $ac_cv_lib_ipc_shmat = yes; then
4909 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4915 # Check for libraries that X11R6 Xt/Xaw programs need.
4916 ac_save_LDFLAGS=$LDFLAGS
4917 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4918 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4919 # check for ICE first), but we must link in the order -lSM -lICE or
4920 # we get undefined symbols. So assume we have SM if we have ICE.
4921 # These have to be linked with before -lX11, unlike the other
4922 # libraries we check for below, so use a different variable.
4923 # John Interrante, Karl Berry
4924 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4925 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4926 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4927 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 else
4929 ac_check_lib_save_LIBS=$LIBS
4930 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4931 cat >conftest.$ac_ext <<_ACEOF
4932 /* confdefs.h. */
4933 _ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 /* Override any GCC internal prototype to avoid an error.
4939 Use char because int might match the return type of a GCC
4940 builtin and then its argument prototype would still apply. */
4941 #ifdef __cplusplus
4942 extern "C"
4943 #endif
4944 char IceConnectionNumber ();
4946 main ()
4948 return IceConnectionNumber ();
4950 return 0;
4952 _ACEOF
4953 rm -f conftest.$ac_objext conftest$ac_exeext
4954 if { (ac_try="$ac_link"
4955 case "(($ac_try" in
4956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4957 *) ac_try_echo=$ac_try;;
4958 esac
4959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4960 (eval "$ac_link") 2>conftest.er1
4961 ac_status=$?
4962 grep -v '^ *+' conftest.er1 >conftest.err
4963 rm -f conftest.er1
4964 cat conftest.err >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); } && {
4967 test -z "$ac_c_werror_flag" ||
4968 test ! -s conftest.err
4969 } && test -s conftest$ac_exeext &&
4970 $as_test_x conftest$ac_exeext; then
4971 ac_cv_lib_ICE_IceConnectionNumber=yes
4972 else
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 ac_cv_lib_ICE_IceConnectionNumber=no
4979 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4980 conftest$ac_exeext conftest.$ac_ext
4981 LIBS=$ac_check_lib_save_LIBS
4983 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4984 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4985 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4986 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4989 LDFLAGS=$ac_save_LDFLAGS
4994 for ac_prog in flex
4996 # Extract the first word of "$ac_prog", so it can be a program name with args.
4997 set dummy $ac_prog; ac_word=$2
4998 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4999 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5000 if test "${ac_cv_prog_FLEX+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5002 else
5003 if test -n "$FLEX"; then
5004 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5005 else
5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5007 for as_dir in $PATH
5009 IFS=$as_save_IFS
5010 test -z "$as_dir" && as_dir=.
5011 for ac_exec_ext in '' $ac_executable_extensions; do
5012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5013 ac_cv_prog_FLEX="$ac_prog"
5014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 break 2
5017 done
5018 done
5019 IFS=$as_save_IFS
5023 FLEX=$ac_cv_prog_FLEX
5024 if test -n "$FLEX"; then
5025 { echo "$as_me:$LINENO: result: $FLEX" >&5
5026 echo "${ECHO_T}$FLEX" >&6; }
5027 else
5028 { echo "$as_me:$LINENO: result: no" >&5
5029 echo "${ECHO_T}no" >&6; }
5033 test -n "$FLEX" && break
5034 done
5035 test -n "$FLEX" || FLEX="none"
5037 if test "$FLEX" = "none"
5038 then
5039 { { echo "$as_me:$LINENO: error: no suitable flex found. Please install the 'flex' package." >&5
5040 echo "$as_me: error: no suitable flex found. Please install the 'flex' package." >&2;}
5041 { (exit 1); exit 1; }; }
5044 for ac_prog in bison
5046 # Extract the first word of "$ac_prog", so it can be a program name with args.
5047 set dummy $ac_prog; ac_word=$2
5048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5050 if test "${ac_cv_prog_BISON+set}" = set; then
5051 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 else
5053 if test -n "$BISON"; then
5054 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_BISON="$ac_prog"
5064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5067 done
5068 done
5069 IFS=$as_save_IFS
5073 BISON=$ac_cv_prog_BISON
5074 if test -n "$BISON"; then
5075 { echo "$as_me:$LINENO: result: $BISON" >&5
5076 echo "${ECHO_T}$BISON" >&6; }
5077 else
5078 { echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6; }
5083 test -n "$BISON" && break
5084 done
5085 test -n "$BISON" || BISON="none"
5087 if test "$BISON" = "none"
5088 then
5089 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5090 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5091 { (exit 1); exit 1; }; }
5094 if test -n "$ac_tool_prefix"; then
5095 for ac_prog in gas as
5097 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5099 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5101 if test "${ac_cv_prog_AS+set}" = set; then
5102 echo $ECHO_N "(cached) $ECHO_C" >&6
5103 else
5104 if test -n "$AS"; then
5105 ac_cv_prog_AS="$AS" # Let the user override the test.
5106 else
5107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 for as_dir in $PATH
5110 IFS=$as_save_IFS
5111 test -z "$as_dir" && as_dir=.
5112 for ac_exec_ext in '' $ac_executable_extensions; do
5113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5114 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 break 2
5118 done
5119 done
5120 IFS=$as_save_IFS
5124 AS=$ac_cv_prog_AS
5125 if test -n "$AS"; then
5126 { echo "$as_me:$LINENO: result: $AS" >&5
5127 echo "${ECHO_T}$AS" >&6; }
5128 else
5129 { echo "$as_me:$LINENO: result: no" >&5
5130 echo "${ECHO_T}no" >&6; }
5134 test -n "$AS" && break
5135 done
5137 if test -z "$AS"; then
5138 ac_ct_AS=$AS
5139 for ac_prog in gas as
5141 # Extract the first word of "$ac_prog", so it can be a program name with args.
5142 set dummy $ac_prog; ac_word=$2
5143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5145 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5147 else
5148 if test -n "$ac_ct_AS"; then
5149 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5150 else
5151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5152 for as_dir in $PATH
5154 IFS=$as_save_IFS
5155 test -z "$as_dir" && as_dir=.
5156 for ac_exec_ext in '' $ac_executable_extensions; do
5157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5158 ac_cv_prog_ac_ct_AS="$ac_prog"
5159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5160 break 2
5162 done
5163 done
5164 IFS=$as_save_IFS
5168 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5169 if test -n "$ac_ct_AS"; then
5170 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5171 echo "${ECHO_T}$ac_ct_AS" >&6; }
5172 else
5173 { echo "$as_me:$LINENO: result: no" >&5
5174 echo "${ECHO_T}no" >&6; }
5178 test -n "$ac_ct_AS" && break
5179 done
5181 if test "x$ac_ct_AS" = x; then
5182 AS="as"
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5187 whose name does not start with the host triplet. If you think this
5188 configuration is useful to you, please write to autoconf@gnu.org." >&5
5189 echo "$as_me: 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." >&2;}
5192 ac_tool_warned=yes ;;
5193 esac
5194 AS=$ac_ct_AS
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5200 set dummy ${ac_tool_prefix}ld; ac_word=$2
5201 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5203 if test "${ac_cv_prog_LD+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5205 else
5206 if test -n "$LD"; then
5207 ac_cv_prog_LD="$LD" # Let the user override the test.
5208 else
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5210 for as_dir in $PATH
5212 IFS=$as_save_IFS
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5216 ac_cv_prog_LD="${ac_tool_prefix}ld"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 break 2
5220 done
5221 done
5222 IFS=$as_save_IFS
5226 LD=$ac_cv_prog_LD
5227 if test -n "$LD"; then
5228 { echo "$as_me:$LINENO: result: $LD" >&5
5229 echo "${ECHO_T}$LD" >&6; }
5230 else
5231 { echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6; }
5237 if test -z "$ac_cv_prog_LD"; then
5238 ac_ct_LD=$LD
5239 # Extract the first word of "ld", so it can be a program name with args.
5240 set dummy ld; ac_word=$2
5241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5243 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 else
5246 if test -n "$ac_ct_LD"; then
5247 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5248 else
5249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5250 for as_dir in $PATH
5252 IFS=$as_save_IFS
5253 test -z "$as_dir" && as_dir=.
5254 for ac_exec_ext in '' $ac_executable_extensions; do
5255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5256 ac_cv_prog_ac_ct_LD="ld"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5258 break 2
5260 done
5261 done
5262 IFS=$as_save_IFS
5266 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5267 if test -n "$ac_ct_LD"; then
5268 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5269 echo "${ECHO_T}$ac_ct_LD" >&6; }
5270 else
5271 { echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6; }
5275 if test "x$ac_ct_LD" = x; then
5276 LD="ld"
5277 else
5278 case $cross_compiling:$ac_tool_warned in
5279 yes:)
5280 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5281 whose name does not start with the host triplet. If you think this
5282 configuration is useful to you, please write to autoconf@gnu.org." >&5
5283 echo "$as_me: 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." >&2;}
5286 ac_tool_warned=yes ;;
5287 esac
5288 LD=$ac_ct_LD
5290 else
5291 LD="$ac_cv_prog_LD"
5294 if test -n "$ac_tool_prefix"; then
5295 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5296 set dummy ${ac_tool_prefix}ar; ac_word=$2
5297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5299 if test "${ac_cv_prog_AR+set}" = set; then
5300 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 else
5302 if test -n "$AR"; then
5303 ac_cv_prog_AR="$AR" # Let the user override the test.
5304 else
5305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5306 for as_dir in $PATH
5308 IFS=$as_save_IFS
5309 test -z "$as_dir" && as_dir=.
5310 for ac_exec_ext in '' $ac_executable_extensions; do
5311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5312 ac_cv_prog_AR="${ac_tool_prefix}ar"
5313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5314 break 2
5316 done
5317 done
5318 IFS=$as_save_IFS
5322 AR=$ac_cv_prog_AR
5323 if test -n "$AR"; then
5324 { echo "$as_me:$LINENO: result: $AR" >&5
5325 echo "${ECHO_T}$AR" >&6; }
5326 else
5327 { echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6; }
5333 if test -z "$ac_cv_prog_AR"; then
5334 ac_ct_AR=$AR
5335 # Extract the first word of "ar", so it can be a program name with args.
5336 set dummy ar; ac_word=$2
5337 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5338 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5339 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5341 else
5342 if test -n "$ac_ct_AR"; then
5343 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5344 else
5345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5346 for as_dir in $PATH
5348 IFS=$as_save_IFS
5349 test -z "$as_dir" && as_dir=.
5350 for ac_exec_ext in '' $ac_executable_extensions; do
5351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5352 ac_cv_prog_ac_ct_AR="ar"
5353 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 break 2
5356 done
5357 done
5358 IFS=$as_save_IFS
5362 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5363 if test -n "$ac_ct_AR"; then
5364 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5365 echo "${ECHO_T}$ac_ct_AR" >&6; }
5366 else
5367 { echo "$as_me:$LINENO: result: no" >&5
5368 echo "${ECHO_T}no" >&6; }
5371 if test "x$ac_ct_AR" = x; then
5372 AR="ar"
5373 else
5374 case $cross_compiling:$ac_tool_warned in
5375 yes:)
5376 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5377 whose name does not start with the host triplet. If you think this
5378 configuration is useful to you, please write to autoconf@gnu.org." >&5
5379 echo "$as_me: 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." >&2;}
5382 ac_tool_warned=yes ;;
5383 esac
5384 AR=$ac_ct_AR
5386 else
5387 AR="$ac_cv_prog_AR"
5390 if test -n "$ac_tool_prefix"; then
5391 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5392 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5395 if test "${ac_cv_prog_RANLIB+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 else
5398 if test -n "$RANLIB"; then
5399 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5400 else
5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5402 for as_dir in $PATH
5404 IFS=$as_save_IFS
5405 test -z "$as_dir" && as_dir=.
5406 for ac_exec_ext in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5409 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5410 break 2
5412 done
5413 done
5414 IFS=$as_save_IFS
5418 RANLIB=$ac_cv_prog_RANLIB
5419 if test -n "$RANLIB"; then
5420 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5421 echo "${ECHO_T}$RANLIB" >&6; }
5422 else
5423 { echo "$as_me:$LINENO: result: no" >&5
5424 echo "${ECHO_T}no" >&6; }
5429 if test -z "$ac_cv_prog_RANLIB"; then
5430 ac_ct_RANLIB=$RANLIB
5431 # Extract the first word of "ranlib", so it can be a program name with args.
5432 set dummy ranlib; ac_word=$2
5433 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5435 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 if test -n "$ac_ct_RANLIB"; then
5439 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5440 else
5441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5442 for as_dir in $PATH
5444 IFS=$as_save_IFS
5445 test -z "$as_dir" && as_dir=.
5446 for ac_exec_ext in '' $ac_executable_extensions; do
5447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5448 ac_cv_prog_ac_ct_RANLIB="ranlib"
5449 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5450 break 2
5452 done
5453 done
5454 IFS=$as_save_IFS
5458 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5459 if test -n "$ac_ct_RANLIB"; then
5460 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5461 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5462 else
5463 { echo "$as_me:$LINENO: result: no" >&5
5464 echo "${ECHO_T}no" >&6; }
5467 if test "x$ac_ct_RANLIB" = x; then
5468 RANLIB=":"
5469 else
5470 case $cross_compiling:$ac_tool_warned in
5471 yes:)
5472 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5473 whose name does not start with the host triplet. If you think this
5474 configuration is useful to you, please write to autoconf@gnu.org." >&5
5475 echo "$as_me: 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." >&2;}
5478 ac_tool_warned=yes ;;
5479 esac
5480 RANLIB=$ac_ct_RANLIB
5482 else
5483 RANLIB="$ac_cv_prog_RANLIB"
5486 if test -n "$ac_tool_prefix"; then
5487 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5488 set dummy ${ac_tool_prefix}strip; ac_word=$2
5489 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5490 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5491 if test "${ac_cv_prog_STRIP+set}" = set; then
5492 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 else
5494 if test -n "$STRIP"; then
5495 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5504 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5508 done
5509 done
5510 IFS=$as_save_IFS
5514 STRIP=$ac_cv_prog_STRIP
5515 if test -n "$STRIP"; then
5516 { echo "$as_me:$LINENO: result: $STRIP" >&5
5517 echo "${ECHO_T}$STRIP" >&6; }
5518 else
5519 { echo "$as_me:$LINENO: result: no" >&5
5520 echo "${ECHO_T}no" >&6; }
5525 if test -z "$ac_cv_prog_STRIP"; then
5526 ac_ct_STRIP=$STRIP
5527 # Extract the first word of "strip", so it can be a program name with args.
5528 set dummy strip; ac_word=$2
5529 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5531 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5532 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 else
5534 if test -n "$ac_ct_STRIP"; then
5535 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5536 else
5537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5538 for as_dir in $PATH
5540 IFS=$as_save_IFS
5541 test -z "$as_dir" && as_dir=.
5542 for ac_exec_ext in '' $ac_executable_extensions; do
5543 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5544 ac_cv_prog_ac_ct_STRIP="strip"
5545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 break 2
5548 done
5549 done
5550 IFS=$as_save_IFS
5554 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5555 if test -n "$ac_ct_STRIP"; then
5556 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5557 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5563 if test "x$ac_ct_STRIP" = x; then
5564 STRIP="strip"
5565 else
5566 case $cross_compiling:$ac_tool_warned in
5567 yes:)
5568 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5569 whose name does not start with the host triplet. If you think this
5570 configuration is useful to you, please write to autoconf@gnu.org." >&5
5571 echo "$as_me: 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." >&2;}
5574 ac_tool_warned=yes ;;
5575 esac
5576 STRIP=$ac_ct_STRIP
5578 else
5579 STRIP="$ac_cv_prog_STRIP"
5582 if test -n "$ac_tool_prefix"; then
5583 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5584 set dummy ${ac_tool_prefix}windres; ac_word=$2
5585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5587 if test "${ac_cv_prog_WINDRES+set}" = set; then
5588 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 else
5590 if test -n "$WINDRES"; then
5591 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5600 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 WINDRES=$ac_cv_prog_WINDRES
5611 if test -n "$WINDRES"; then
5612 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5613 echo "${ECHO_T}$WINDRES" >&6; }
5614 else
5615 { echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6; }
5621 if test -z "$ac_cv_prog_WINDRES"; then
5622 ac_ct_WINDRES=$WINDRES
5623 # Extract the first word of "windres", so it can be a program name with args.
5624 set dummy windres; ac_word=$2
5625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5627 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5628 echo $ECHO_N "(cached) $ECHO_C" >&6
5629 else
5630 if test -n "$ac_ct_WINDRES"; then
5631 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5632 else
5633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5634 for as_dir in $PATH
5636 IFS=$as_save_IFS
5637 test -z "$as_dir" && as_dir=.
5638 for ac_exec_ext in '' $ac_executable_extensions; do
5639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5640 ac_cv_prog_ac_ct_WINDRES="windres"
5641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5642 break 2
5644 done
5645 done
5646 IFS=$as_save_IFS
5650 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5651 if test -n "$ac_ct_WINDRES"; then
5652 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5653 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5654 else
5655 { echo "$as_me:$LINENO: result: no" >&5
5656 echo "${ECHO_T}no" >&6; }
5659 if test "x$ac_ct_WINDRES" = x; then
5660 WINDRES="false"
5661 else
5662 case $cross_compiling:$ac_tool_warned in
5663 yes:)
5664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5665 whose name does not start with the host triplet. If you think this
5666 configuration is useful to you, please write to autoconf@gnu.org." >&5
5667 echo "$as_me: 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." >&2;}
5670 ac_tool_warned=yes ;;
5671 esac
5672 WINDRES=$ac_ct_WINDRES
5674 else
5675 WINDRES="$ac_cv_prog_WINDRES"
5678 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5679 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5680 LN_S=$as_ln_s
5681 if test "$LN_S" = "ln -s"; then
5682 { echo "$as_me:$LINENO: result: yes" >&5
5683 echo "${ECHO_T}yes" >&6; }
5684 else
5685 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5686 echo "${ECHO_T}no, using $LN_S" >&6; }
5689 { echo "$as_me:$LINENO: checking whether ln works" >&5
5690 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5691 rm -f conf$$ conf$$.file
5692 echo >conf$$.file
5693 if ln conf$$.file conf$$ 2>/dev/null; then
5694 LN=ln
5696 { echo "$as_me:$LINENO: result: yes" >&5
5697 echo "${ECHO_T}yes" >&6; }
5698 else
5699 LN="cp -p"
5701 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5702 echo "${ECHO_T}no, using $LN" >&6; }
5704 rm -f conf$$ conf$$.file
5705 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5706 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5707 if test "${ac_cv_path_GREP+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5709 else
5710 # Extract the first word of "grep ggrep" to use in msg output
5711 if test -z "$GREP"; then
5712 set dummy grep ggrep; ac_prog_name=$2
5713 if test "${ac_cv_path_GREP+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5715 else
5716 ac_path_GREP_found=false
5717 # Loop through the user's path and test for each of PROGNAME-LIST
5718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5721 IFS=$as_save_IFS
5722 test -z "$as_dir" && as_dir=.
5723 for ac_prog in grep ggrep; do
5724 for ac_exec_ext in '' $ac_executable_extensions; do
5725 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5726 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5727 # Check for GNU ac_path_GREP and select it if it is found.
5728 # Check for GNU $ac_path_GREP
5729 case `"$ac_path_GREP" --version 2>&1` in
5730 *GNU*)
5731 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5733 ac_count=0
5734 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5735 while :
5737 cat "conftest.in" "conftest.in" >"conftest.tmp"
5738 mv "conftest.tmp" "conftest.in"
5739 cp "conftest.in" "conftest.nl"
5740 echo 'GREP' >> "conftest.nl"
5741 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5742 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5743 ac_count=`expr $ac_count + 1`
5744 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5745 # Best one so far, save it but keep looking for a better one
5746 ac_cv_path_GREP="$ac_path_GREP"
5747 ac_path_GREP_max=$ac_count
5749 # 10*(2^10) chars as input seems more than enough
5750 test $ac_count -gt 10 && break
5751 done
5752 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5753 esac
5756 $ac_path_GREP_found && break 3
5757 done
5758 done
5760 done
5761 IFS=$as_save_IFS
5766 GREP="$ac_cv_path_GREP"
5767 if test -z "$GREP"; then
5768 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5769 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5770 { (exit 1); exit 1; }; }
5773 else
5774 ac_cv_path_GREP=$GREP
5779 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5780 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5781 GREP="$ac_cv_path_GREP"
5784 { echo "$as_me:$LINENO: checking for egrep" >&5
5785 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5786 if test "${ac_cv_path_EGREP+set}" = set; then
5787 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 else
5789 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5790 then ac_cv_path_EGREP="$GREP -E"
5791 else
5792 # Extract the first word of "egrep" to use in msg output
5793 if test -z "$EGREP"; then
5794 set dummy egrep; ac_prog_name=$2
5795 if test "${ac_cv_path_EGREP+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 ac_path_EGREP_found=false
5799 # Loop through the user's path and test for each of PROGNAME-LIST
5800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5801 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5803 IFS=$as_save_IFS
5804 test -z "$as_dir" && as_dir=.
5805 for ac_prog in egrep; do
5806 for ac_exec_ext in '' $ac_executable_extensions; do
5807 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5808 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
5809 # Check for GNU ac_path_EGREP and select it if it is found.
5810 # Check for GNU $ac_path_EGREP
5811 case `"$ac_path_EGREP" --version 2>&1` in
5812 *GNU*)
5813 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5815 ac_count=0
5816 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5817 while :
5819 cat "conftest.in" "conftest.in" >"conftest.tmp"
5820 mv "conftest.tmp" "conftest.in"
5821 cp "conftest.in" "conftest.nl"
5822 echo 'EGREP' >> "conftest.nl"
5823 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5824 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5825 ac_count=`expr $ac_count + 1`
5826 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5827 # Best one so far, save it but keep looking for a better one
5828 ac_cv_path_EGREP="$ac_path_EGREP"
5829 ac_path_EGREP_max=$ac_count
5831 # 10*(2^10) chars as input seems more than enough
5832 test $ac_count -gt 10 && break
5833 done
5834 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5835 esac
5838 $ac_path_EGREP_found && break 3
5839 done
5840 done
5842 done
5843 IFS=$as_save_IFS
5848 EGREP="$ac_cv_path_EGREP"
5849 if test -z "$EGREP"; then
5850 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5851 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5852 { (exit 1); exit 1; }; }
5855 else
5856 ac_cv_path_EGREP=$EGREP
5862 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5863 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5864 EGREP="$ac_cv_path_EGREP"
5867 # Extract the first word of "ldconfig", so it can be a program name with args.
5868 set dummy ldconfig; ac_word=$2
5869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5871 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5872 echo $ECHO_N "(cached) $ECHO_C" >&6
5873 else
5874 case $LDCONFIG in
5875 [\\/]* | ?:[\\/]*)
5876 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5880 for as_dir in /sbin /usr/sbin $PATH
5882 IFS=$as_save_IFS
5883 test -z "$as_dir" && as_dir=.
5884 for ac_exec_ext in '' $ac_executable_extensions; do
5885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5886 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5888 break 2
5890 done
5891 done
5892 IFS=$as_save_IFS
5894 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5896 esac
5898 LDCONFIG=$ac_cv_path_LDCONFIG
5899 if test -n "$LDCONFIG"; then
5900 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5901 echo "${ECHO_T}$LDCONFIG" >&6; }
5902 else
5903 { echo "$as_me:$LINENO: result: no" >&5
5904 echo "${ECHO_T}no" >&6; }
5908 # Find a good install program. We prefer a C program (faster),
5909 # so one script is as good as another. But avoid the broken or
5910 # incompatible versions:
5911 # SysV /etc/install, /usr/sbin/install
5912 # SunOS /usr/etc/install
5913 # IRIX /sbin/install
5914 # AIX /bin/install
5915 # AmigaOS /C/install, which installs bootblocks on floppy discs
5916 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5917 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5918 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5919 # OS/2's system install, which has a completely different semantic
5920 # ./install, which can be erroneously created by make from ./install.sh.
5921 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5922 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
5923 if test -z "$INSTALL"; then
5924 if test "${ac_cv_path_install+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5926 else
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 for as_dir in $PATH
5930 IFS=$as_save_IFS
5931 test -z "$as_dir" && as_dir=.
5932 # Account for people who put trailing slashes in PATH elements.
5933 case $as_dir/ in
5934 ./ | .// | /cC/* | \
5935 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5936 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5937 /usr/ucb/* ) ;;
5939 # OSF1 and SCO ODT 3.0 have their own names for install.
5940 # Don't use installbsd from OSF since it installs stuff as root
5941 # by default.
5942 for ac_prog in ginstall scoinst install; do
5943 for ac_exec_ext in '' $ac_executable_extensions; do
5944 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
5945 if test $ac_prog = install &&
5946 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5947 # AIX install. It has an incompatible calling convention.
5949 elif test $ac_prog = install &&
5950 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5951 # program-specific install script used by HP pwplus--don't use.
5953 else
5954 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5955 break 3
5958 done
5959 done
5961 esac
5962 done
5963 IFS=$as_save_IFS
5967 if test "${ac_cv_path_install+set}" = set; then
5968 INSTALL=$ac_cv_path_install
5969 else
5970 # As a last resort, use the slow shell script. Don't cache a
5971 # value for INSTALL within a source directory, because that will
5972 # break other packages using the cache if that directory is
5973 # removed, or if the value is a relative name.
5974 INSTALL=$ac_install_sh
5977 { echo "$as_me:$LINENO: result: $INSTALL" >&5
5978 echo "${ECHO_T}$INSTALL" >&6; }
5980 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5981 # It thinks the first close brace ends the variable substitution.
5982 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5984 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5986 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5988 case "$INSTALL" in
5989 [\\/$]* | ?:[\\/]* ) ;;
5990 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5991 esac
5993 for ac_prog in lclint lint
5995 # Extract the first word of "$ac_prog", so it can be a program name with args.
5996 set dummy $ac_prog; ac_word=$2
5997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5999 if test "${ac_cv_prog_LINT+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 else
6002 if test -n "$LINT"; then
6003 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6004 else
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 for as_dir in $PATH
6008 IFS=$as_save_IFS
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6012 ac_cv_prog_LINT="$ac_prog"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6014 break 2
6016 done
6017 done
6018 IFS=$as_save_IFS
6022 LINT=$ac_cv_prog_LINT
6023 if test -n "$LINT"; then
6024 { echo "$as_me:$LINENO: result: $LINT" >&5
6025 echo "${ECHO_T}$LINT" >&6; }
6026 else
6027 { echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6; }
6032 test -n "$LINT" && break
6033 done
6035 if test "$LINT" = "lint"
6036 then
6037 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6042 for ac_prog in fontforge
6044 # Extract the first word of "$ac_prog", so it can be a program name with args.
6045 set dummy $ac_prog; ac_word=$2
6046 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6048 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6049 echo $ECHO_N "(cached) $ECHO_C" >&6
6050 else
6051 if test -n "$FONTFORGE"; then
6052 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6053 else
6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6055 for as_dir in $PATH
6057 IFS=$as_save_IFS
6058 test -z "$as_dir" && as_dir=.
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6061 ac_cv_prog_FONTFORGE="$ac_prog"
6062 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6063 break 2
6065 done
6066 done
6067 IFS=$as_save_IFS
6071 FONTFORGE=$ac_cv_prog_FONTFORGE
6072 if test -n "$FONTFORGE"; then
6073 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6074 echo "${ECHO_T}$FONTFORGE" >&6; }
6075 else
6076 { echo "$as_me:$LINENO: result: no" >&5
6077 echo "${ECHO_T}no" >&6; }
6081 test -n "$FONTFORGE" && break
6082 done
6083 test -n "$FONTFORGE" || FONTFORGE="false"
6085 for ac_prog in pkg-config
6087 # Extract the first word of "$ac_prog", so it can be a program name with args.
6088 set dummy $ac_prog; ac_word=$2
6089 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6091 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6092 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 else
6094 if test -n "$PKG_CONFIG"; then
6095 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6096 else
6097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6098 for as_dir in $PATH
6100 IFS=$as_save_IFS
6101 test -z "$as_dir" && as_dir=.
6102 for ac_exec_ext in '' $ac_executable_extensions; do
6103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6104 ac_cv_prog_PKG_CONFIG="$ac_prog"
6105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6106 break 2
6108 done
6109 done
6110 IFS=$as_save_IFS
6114 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6115 if test -n "$PKG_CONFIG"; then
6116 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6117 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6118 else
6119 { echo "$as_me:$LINENO: result: no" >&5
6120 echo "${ECHO_T}no" >&6; }
6124 test -n "$PKG_CONFIG" && break
6125 done
6126 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6129 case $host_cpu in
6130 *i[3456789]86*)
6131 # Extract the first word of "prelink", so it can be a program name with args.
6132 set dummy prelink; ac_word=$2
6133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6135 if test "${ac_cv_path_PRELINK+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6137 else
6138 case $PRELINK in
6139 [\\/]* | ?:[\\/]*)
6140 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 for as_dir in /sbin /usr/sbin $PATH
6146 IFS=$as_save_IFS
6147 test -z "$as_dir" && as_dir=.
6148 for ac_exec_ext in '' $ac_executable_extensions; do
6149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6150 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6152 break 2
6154 done
6155 done
6156 IFS=$as_save_IFS
6158 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6160 esac
6162 PRELINK=$ac_cv_path_PRELINK
6163 if test -n "$PRELINK"; then
6164 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6165 echo "${ECHO_T}$PRELINK" >&6; }
6166 else
6167 { echo "$as_me:$LINENO: result: no" >&5
6168 echo "${ECHO_T}no" >&6; }
6173 esac
6177 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6178 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6179 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6181 else
6182 ac_check_lib_save_LIBS=$LIBS
6183 LIBS="-li386 $LIBS"
6184 cat >conftest.$ac_ext <<_ACEOF
6185 /* confdefs.h. */
6186 _ACEOF
6187 cat confdefs.h >>conftest.$ac_ext
6188 cat >>conftest.$ac_ext <<_ACEOF
6189 /* end confdefs.h. */
6191 /* Override any GCC internal prototype to avoid an error.
6192 Use char because int might match the return type of a GCC
6193 builtin and then its argument prototype would still apply. */
6194 #ifdef __cplusplus
6195 extern "C"
6196 #endif
6197 char i386_set_ldt ();
6199 main ()
6201 return i386_set_ldt ();
6203 return 0;
6205 _ACEOF
6206 rm -f conftest.$ac_objext conftest$ac_exeext
6207 if { (ac_try="$ac_link"
6208 case "(($ac_try" in
6209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6210 *) ac_try_echo=$ac_try;;
6211 esac
6212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6213 (eval "$ac_link") 2>conftest.er1
6214 ac_status=$?
6215 grep -v '^ *+' conftest.er1 >conftest.err
6216 rm -f conftest.er1
6217 cat conftest.err >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); } && {
6220 test -z "$ac_c_werror_flag" ||
6221 test ! -s conftest.err
6222 } && test -s conftest$ac_exeext &&
6223 $as_test_x conftest$ac_exeext; then
6224 ac_cv_lib_i386_i386_set_ldt=yes
6225 else
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 ac_cv_lib_i386_i386_set_ldt=no
6232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6233 conftest$ac_exeext conftest.$ac_ext
6234 LIBS=$ac_check_lib_save_LIBS
6236 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6237 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6238 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6239 cat >>confdefs.h <<_ACEOF
6240 #define HAVE_LIBI386 1
6241 _ACEOF
6243 LIBS="-li386 $LIBS"
6248 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6249 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6250 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6251 echo $ECHO_N "(cached) $ECHO_C" >&6
6252 else
6253 ac_check_lib_save_LIBS=$LIBS
6254 LIBS="-lossaudio $LIBS"
6255 cat >conftest.$ac_ext <<_ACEOF
6256 /* confdefs.h. */
6257 _ACEOF
6258 cat confdefs.h >>conftest.$ac_ext
6259 cat >>conftest.$ac_ext <<_ACEOF
6260 /* end confdefs.h. */
6262 /* Override any GCC internal prototype to avoid an error.
6263 Use char because int might match the return type of a GCC
6264 builtin and then its argument prototype would still apply. */
6265 #ifdef __cplusplus
6266 extern "C"
6267 #endif
6268 char _oss_ioctl ();
6270 main ()
6272 return _oss_ioctl ();
6274 return 0;
6276 _ACEOF
6277 rm -f conftest.$ac_objext conftest$ac_exeext
6278 if { (ac_try="$ac_link"
6279 case "(($ac_try" in
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6282 esac
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_link") 2>conftest.er1
6285 ac_status=$?
6286 grep -v '^ *+' conftest.er1 >conftest.err
6287 rm -f conftest.er1
6288 cat conftest.err >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_c_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest$ac_exeext &&
6294 $as_test_x conftest$ac_exeext; then
6295 ac_cv_lib_ossaudio__oss_ioctl=yes
6296 else
6297 echo "$as_me: failed program was:" >&5
6298 sed 's/^/| /' conftest.$ac_ext >&5
6300 ac_cv_lib_ossaudio__oss_ioctl=no
6303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6304 conftest$ac_exeext conftest.$ac_ext
6305 LIBS=$ac_check_lib_save_LIBS
6307 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6308 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6309 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6310 cat >>confdefs.h <<_ACEOF
6311 #define HAVE_LIBOSSAUDIO 1
6312 _ACEOF
6314 LIBS="-lossaudio $LIBS"
6319 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6320 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6321 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6322 echo $ECHO_N "(cached) $ECHO_C" >&6
6323 else
6324 ac_check_lib_save_LIBS=$LIBS
6325 LIBS="-lxpg4 $LIBS"
6326 cat >conftest.$ac_ext <<_ACEOF
6327 /* confdefs.h. */
6328 _ACEOF
6329 cat confdefs.h >>conftest.$ac_ext
6330 cat >>conftest.$ac_ext <<_ACEOF
6331 /* end confdefs.h. */
6333 /* Override any GCC internal prototype to avoid an error.
6334 Use char because int might match the return type of a GCC
6335 builtin and then its argument prototype would still apply. */
6336 #ifdef __cplusplus
6337 extern "C"
6338 #endif
6339 char _xpg4_setrunelocale ();
6341 main ()
6343 return _xpg4_setrunelocale ();
6345 return 0;
6347 _ACEOF
6348 rm -f conftest.$ac_objext conftest$ac_exeext
6349 if { (ac_try="$ac_link"
6350 case "(($ac_try" in
6351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6352 *) ac_try_echo=$ac_try;;
6353 esac
6354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6355 (eval "$ac_link") 2>conftest.er1
6356 ac_status=$?
6357 grep -v '^ *+' conftest.er1 >conftest.err
6358 rm -f conftest.er1
6359 cat conftest.err >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); } && {
6362 test -z "$ac_c_werror_flag" ||
6363 test ! -s conftest.err
6364 } && test -s conftest$ac_exeext &&
6365 $as_test_x conftest$ac_exeext; then
6366 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6367 else
6368 echo "$as_me: failed program was:" >&5
6369 sed 's/^/| /' conftest.$ac_ext >&5
6371 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6375 conftest$ac_exeext conftest.$ac_ext
6376 LIBS=$ac_check_lib_save_LIBS
6378 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6379 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6380 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6381 cat >>confdefs.h <<_ACEOF
6382 #define HAVE_LIBXPG4 1
6383 _ACEOF
6385 LIBS="-lxpg4 $LIBS"
6389 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6390 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6391 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6392 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 else
6394 ac_check_lib_save_LIBS=$LIBS
6395 LIBS="-lpthread $LIBS"
6396 cat >conftest.$ac_ext <<_ACEOF
6397 /* confdefs.h. */
6398 _ACEOF
6399 cat confdefs.h >>conftest.$ac_ext
6400 cat >>conftest.$ac_ext <<_ACEOF
6401 /* end confdefs.h. */
6403 /* Override any GCC internal prototype to avoid an error.
6404 Use char because int might match the return type of a GCC
6405 builtin and then its argument prototype would still apply. */
6406 #ifdef __cplusplus
6407 extern "C"
6408 #endif
6409 char pthread_create ();
6411 main ()
6413 return pthread_create ();
6415 return 0;
6417 _ACEOF
6418 rm -f conftest.$ac_objext conftest$ac_exeext
6419 if { (ac_try="$ac_link"
6420 case "(($ac_try" in
6421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6423 esac
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_link") 2>conftest.er1
6426 ac_status=$?
6427 grep -v '^ *+' conftest.er1 >conftest.err
6428 rm -f conftest.er1
6429 cat conftest.err >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest$ac_exeext &&
6435 $as_test_x conftest$ac_exeext; then
6436 ac_cv_lib_pthread_pthread_create=yes
6437 else
6438 echo "$as_me: failed program was:" >&5
6439 sed 's/^/| /' conftest.$ac_ext >&5
6441 ac_cv_lib_pthread_pthread_create=no
6444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LIBS=$ac_check_lib_save_LIBS
6448 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6449 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6450 if test $ac_cv_lib_pthread_pthread_create = yes; then
6451 LIBPTHREAD="-lpthread"
6456 XLIB=""
6458 XFILES=""
6460 OPENGLFILES=""
6462 GLU32FILES=""
6464 OPENGL_LIBS=""
6466 QUARTZFILES=""
6470 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6472 if test "${ac_cv_header_stdc+set}" = set; then
6473 echo $ECHO_N "(cached) $ECHO_C" >&6
6474 else
6475 cat >conftest.$ac_ext <<_ACEOF
6476 /* confdefs.h. */
6477 _ACEOF
6478 cat confdefs.h >>conftest.$ac_ext
6479 cat >>conftest.$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6481 #include <stdlib.h>
6482 #include <stdarg.h>
6483 #include <string.h>
6484 #include <float.h>
6487 main ()
6491 return 0;
6493 _ACEOF
6494 rm -f conftest.$ac_objext
6495 if { (ac_try="$ac_compile"
6496 case "(($ac_try" in
6497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6498 *) ac_try_echo=$ac_try;;
6499 esac
6500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6501 (eval "$ac_compile") 2>conftest.er1
6502 ac_status=$?
6503 grep -v '^ *+' conftest.er1 >conftest.err
6504 rm -f conftest.er1
6505 cat conftest.err >&5
6506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507 (exit $ac_status); } && {
6508 test -z "$ac_c_werror_flag" ||
6509 test ! -s conftest.err
6510 } && test -s conftest.$ac_objext; then
6511 ac_cv_header_stdc=yes
6512 else
6513 echo "$as_me: failed program was:" >&5
6514 sed 's/^/| /' conftest.$ac_ext >&5
6516 ac_cv_header_stdc=no
6519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6521 if test $ac_cv_header_stdc = yes; then
6522 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6523 cat >conftest.$ac_ext <<_ACEOF
6524 /* confdefs.h. */
6525 _ACEOF
6526 cat confdefs.h >>conftest.$ac_ext
6527 cat >>conftest.$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 #include <string.h>
6531 _ACEOF
6532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6533 $EGREP "memchr" >/dev/null 2>&1; then
6535 else
6536 ac_cv_header_stdc=no
6538 rm -f conftest*
6542 if test $ac_cv_header_stdc = yes; then
6543 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6544 cat >conftest.$ac_ext <<_ACEOF
6545 /* confdefs.h. */
6546 _ACEOF
6547 cat confdefs.h >>conftest.$ac_ext
6548 cat >>conftest.$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 #include <stdlib.h>
6552 _ACEOF
6553 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6554 $EGREP "free" >/dev/null 2>&1; then
6556 else
6557 ac_cv_header_stdc=no
6559 rm -f conftest*
6563 if test $ac_cv_header_stdc = yes; then
6564 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6565 if test "$cross_compiling" = yes; then
6567 else
6568 cat >conftest.$ac_ext <<_ACEOF
6569 /* confdefs.h. */
6570 _ACEOF
6571 cat confdefs.h >>conftest.$ac_ext
6572 cat >>conftest.$ac_ext <<_ACEOF
6573 /* end confdefs.h. */
6574 #include <ctype.h>
6575 #include <stdlib.h>
6576 #if ((' ' & 0x0FF) == 0x020)
6577 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6578 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6579 #else
6580 # define ISLOWER(c) \
6581 (('a' <= (c) && (c) <= 'i') \
6582 || ('j' <= (c) && (c) <= 'r') \
6583 || ('s' <= (c) && (c) <= 'z'))
6584 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6585 #endif
6587 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6589 main ()
6591 int i;
6592 for (i = 0; i < 256; i++)
6593 if (XOR (islower (i), ISLOWER (i))
6594 || toupper (i) != TOUPPER (i))
6595 return 2;
6596 return 0;
6598 _ACEOF
6599 rm -f conftest$ac_exeext
6600 if { (ac_try="$ac_link"
6601 case "(($ac_try" in
6602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6603 *) ac_try_echo=$ac_try;;
6604 esac
6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6606 (eval "$ac_link") 2>&5
6607 ac_status=$?
6608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6610 { (case "(($ac_try" in
6611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6612 *) ac_try_echo=$ac_try;;
6613 esac
6614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6615 (eval "$ac_try") 2>&5
6616 ac_status=$?
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; }; then
6620 else
6621 echo "$as_me: program exited with status $ac_status" >&5
6622 echo "$as_me: failed program was:" >&5
6623 sed 's/^/| /' conftest.$ac_ext >&5
6625 ( exit $ac_status )
6626 ac_cv_header_stdc=no
6628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6634 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6635 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6636 if test $ac_cv_header_stdc = yes; then
6638 cat >>confdefs.h <<\_ACEOF
6639 #define STDC_HEADERS 1
6640 _ACEOF
6644 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6655 inttypes.h stdint.h unistd.h
6657 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6658 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6660 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6661 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 else
6663 cat >conftest.$ac_ext <<_ACEOF
6664 /* confdefs.h. */
6665 _ACEOF
6666 cat confdefs.h >>conftest.$ac_ext
6667 cat >>conftest.$ac_ext <<_ACEOF
6668 /* end confdefs.h. */
6669 $ac_includes_default
6671 #include <$ac_header>
6672 _ACEOF
6673 rm -f conftest.$ac_objext
6674 if { (ac_try="$ac_compile"
6675 case "(($ac_try" in
6676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6677 *) ac_try_echo=$ac_try;;
6678 esac
6679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6680 (eval "$ac_compile") 2>conftest.er1
6681 ac_status=$?
6682 grep -v '^ *+' conftest.er1 >conftest.err
6683 rm -f conftest.er1
6684 cat conftest.err >&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } && {
6687 test -z "$ac_c_werror_flag" ||
6688 test ! -s conftest.err
6689 } && test -s conftest.$ac_objext; then
6690 eval "$as_ac_Header=yes"
6691 else
6692 echo "$as_me: failed program was:" >&5
6693 sed 's/^/| /' conftest.$ac_ext >&5
6695 eval "$as_ac_Header=no"
6698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6700 ac_res=`eval echo '${'$as_ac_Header'}'`
6701 { echo "$as_me:$LINENO: result: $ac_res" >&5
6702 echo "${ECHO_T}$ac_res" >&6; }
6703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6704 cat >>confdefs.h <<_ACEOF
6705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6706 _ACEOF
6710 done
6822 for ac_header in \
6823 AudioUnit/AudioUnit.h \
6824 Carbon/Carbon.h \
6825 CoreAudio/CoreAudio.h \
6826 DiskArbitration/DiskArbitration.h \
6827 IOKit/IOKitLib.h \
6828 alsa/asoundlib.h \
6829 arpa/inet.h \
6830 arpa/nameser.h \
6831 asm/types.h \
6832 capi20.h \
6833 cups/cups.h \
6834 curses.h \
6835 direct.h \
6836 dlfcn.h \
6837 elf.h \
6838 float.h \
6839 fontconfig/fontconfig.h \
6840 getopt.h \
6841 ieeefp.h \
6842 io.h \
6843 jack/jack.h \
6844 jpeglib.h \
6845 lber.h \
6846 lcms.h \
6847 lcms/lcms.h \
6848 ldap.h \
6849 libaudioio.h \
6850 link.h \
6851 linux/cdrom.h \
6852 linux/compiler.h \
6853 linux/hdreg.h \
6854 linux/input.h \
6855 linux/ioctl.h \
6856 linux/joystick.h \
6857 linux/major.h \
6858 linux/param.h \
6859 linux/serial.h \
6860 linux/ucdrom.h \
6861 mach/mach.h \
6862 mach/machine.h \
6863 machine/cpu.h \
6864 machine/limits.h \
6865 machine/soundcard.h \
6866 mntent.h \
6867 ncurses.h \
6868 netdb.h \
6869 netinet/in.h \
6870 netinet/in_systm.h \
6871 netinet/tcp.h \
6872 netinet/tcp_fsm.h \
6873 openssl/err.h \
6874 openssl/ssl.h \
6875 poll.h \
6876 process.h \
6877 pthread.h \
6878 pwd.h \
6879 regex.h \
6880 sched.h \
6881 scsi/scsi.h \
6882 scsi/scsi_ioctl.h \
6883 scsi/sg.h \
6884 soundcard.h \
6885 stdint.h \
6886 strings.h \
6887 sys/asoundlib.h \
6888 sys/cdio.h \
6889 sys/elf32.h \
6890 sys/epoll.h \
6891 sys/errno.h \
6892 sys/event.h \
6893 sys/exec_elf.h \
6894 sys/filio.h \
6895 sys/ioctl.h \
6896 sys/ipc.h \
6897 sys/limits.h \
6898 sys/link.h \
6899 sys/lwp.h \
6900 sys/mman.h \
6901 sys/modem.h \
6902 sys/msg.h \
6903 sys/mtio.h \
6904 sys/param.h \
6905 sys/poll.h \
6906 sys/prctl.h \
6907 sys/ptrace.h \
6908 sys/reg.h \
6909 sys/resource.h \
6910 sys/scsiio.h \
6911 sys/shm.h \
6912 sys/signal.h \
6913 sys/socket.h \
6914 sys/sockio.h \
6915 sys/soundcard.h \
6916 sys/statvfs.h \
6917 sys/strtio.h \
6918 sys/syscall.h \
6919 sys/sysctl.h \
6920 sys/time.h \
6921 sys/times.h \
6922 sys/uio.h \
6923 sys/un.h \
6924 sys/vm86.h \
6925 sys/wait.h \
6926 syscall.h \
6927 termios.h \
6928 unicode/ubidi.h \
6929 unistd.h \
6930 utime.h \
6931 valgrind/memcheck.h
6934 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6935 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6938 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 ac_res=`eval echo '${'$as_ac_Header'}'`
6942 { echo "$as_me:$LINENO: result: $ac_res" >&5
6943 echo "${ECHO_T}$ac_res" >&6; }
6944 else
6945 # Is the header compilable?
6946 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6948 cat >conftest.$ac_ext <<_ACEOF
6949 /* confdefs.h. */
6950 _ACEOF
6951 cat confdefs.h >>conftest.$ac_ext
6952 cat >>conftest.$ac_ext <<_ACEOF
6953 /* end confdefs.h. */
6954 $ac_includes_default
6955 #include <$ac_header>
6956 _ACEOF
6957 rm -f conftest.$ac_objext
6958 if { (ac_try="$ac_compile"
6959 case "(($ac_try" in
6960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6961 *) ac_try_echo=$ac_try;;
6962 esac
6963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6964 (eval "$ac_compile") 2>conftest.er1
6965 ac_status=$?
6966 grep -v '^ *+' conftest.er1 >conftest.err
6967 rm -f conftest.er1
6968 cat conftest.err >&5
6969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6970 (exit $ac_status); } && {
6971 test -z "$ac_c_werror_flag" ||
6972 test ! -s conftest.err
6973 } && test -s conftest.$ac_objext; then
6974 ac_header_compiler=yes
6975 else
6976 echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6979 ac_header_compiler=no
6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6983 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6984 echo "${ECHO_T}$ac_header_compiler" >&6; }
6986 # Is the header present?
6987 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6989 cat >conftest.$ac_ext <<_ACEOF
6990 /* confdefs.h. */
6991 _ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
6995 #include <$ac_header>
6996 _ACEOF
6997 if { (ac_try="$ac_cpp conftest.$ac_ext"
6998 case "(($ac_try" in
6999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7000 *) ac_try_echo=$ac_try;;
7001 esac
7002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7003 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7004 ac_status=$?
7005 grep -v '^ *+' conftest.er1 >conftest.err
7006 rm -f conftest.er1
7007 cat conftest.err >&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } >/dev/null && {
7010 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7011 test ! -s conftest.err
7012 }; then
7013 ac_header_preproc=yes
7014 else
7015 echo "$as_me: failed program was:" >&5
7016 sed 's/^/| /' conftest.$ac_ext >&5
7018 ac_header_preproc=no
7021 rm -f conftest.err conftest.$ac_ext
7022 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7023 echo "${ECHO_T}$ac_header_preproc" >&6; }
7025 # So? What about this header?
7026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7027 yes:no: )
7028 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7029 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7030 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7031 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7032 ac_header_preproc=yes
7034 no:yes:* )
7035 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7036 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7037 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7038 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7039 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7040 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7041 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7042 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7044 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7045 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7046 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7047 ( cat <<\_ASBOX
7048 ## ------------------------------------ ##
7049 ## Report this to wine-devel@winehq.org ##
7050 ## ------------------------------------ ##
7051 _ASBOX
7052 ) | sed "s/^/$as_me: WARNING: /" >&2
7054 esac
7055 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7058 echo $ECHO_N "(cached) $ECHO_C" >&6
7059 else
7060 eval "$as_ac_Header=\$ac_header_preproc"
7062 ac_res=`eval echo '${'$as_ac_Header'}'`
7063 { echo "$as_me:$LINENO: result: $ac_res" >&5
7064 echo "${ECHO_T}$ac_res" >&6; }
7067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7068 cat >>confdefs.h <<_ACEOF
7069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7070 _ACEOF
7074 done
7076 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7077 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7078 if test "${ac_cv_header_stat_broken+set}" = set; then
7079 echo $ECHO_N "(cached) $ECHO_C" >&6
7080 else
7081 cat >conftest.$ac_ext <<_ACEOF
7082 /* confdefs.h. */
7083 _ACEOF
7084 cat confdefs.h >>conftest.$ac_ext
7085 cat >>conftest.$ac_ext <<_ACEOF
7086 /* end confdefs.h. */
7087 #include <sys/types.h>
7088 #include <sys/stat.h>
7090 #if defined S_ISBLK && defined S_IFDIR
7091 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7092 #endif
7094 #if defined S_ISBLK && defined S_IFCHR
7095 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7096 #endif
7098 #if defined S_ISLNK && defined S_IFREG
7099 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7100 #endif
7102 #if defined S_ISSOCK && defined S_IFREG
7103 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7104 #endif
7106 _ACEOF
7107 rm -f conftest.$ac_objext
7108 if { (ac_try="$ac_compile"
7109 case "(($ac_try" in
7110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7111 *) ac_try_echo=$ac_try;;
7112 esac
7113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7114 (eval "$ac_compile") 2>conftest.er1
7115 ac_status=$?
7116 grep -v '^ *+' conftest.er1 >conftest.err
7117 rm -f conftest.er1
7118 cat conftest.err >&5
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); } && {
7121 test -z "$ac_c_werror_flag" ||
7122 test ! -s conftest.err
7123 } && test -s conftest.$ac_objext; then
7124 ac_cv_header_stat_broken=no
7125 else
7126 echo "$as_me: failed program was:" >&5
7127 sed 's/^/| /' conftest.$ac_ext >&5
7129 ac_cv_header_stat_broken=yes
7132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7134 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7135 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7136 if test $ac_cv_header_stat_broken = yes; then
7138 cat >>confdefs.h <<\_ACEOF
7139 #define STAT_MACROS_BROKEN 1
7140 _ACEOF
7150 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7152 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7153 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7155 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7156 echo $ECHO_N "(cached) $ECHO_C" >&6
7157 else
7158 cat >conftest.$ac_ext <<_ACEOF
7159 /* confdefs.h. */
7160 _ACEOF
7161 cat confdefs.h >>conftest.$ac_ext
7162 cat >>conftest.$ac_ext <<_ACEOF
7163 /* end confdefs.h. */
7164 #include <sys/types.h>
7165 #if HAVE_SYS_PARAM_H
7166 # include <sys/param.h>
7167 #endif
7169 #include <$ac_header>
7170 _ACEOF
7171 rm -f conftest.$ac_objext
7172 if { (ac_try="$ac_compile"
7173 case "(($ac_try" in
7174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7175 *) ac_try_echo=$ac_try;;
7176 esac
7177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7178 (eval "$ac_compile") 2>conftest.er1
7179 ac_status=$?
7180 grep -v '^ *+' conftest.er1 >conftest.err
7181 rm -f conftest.er1
7182 cat conftest.err >&5
7183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7184 (exit $ac_status); } && {
7185 test -z "$ac_c_werror_flag" ||
7186 test ! -s conftest.err
7187 } && test -s conftest.$ac_objext; then
7188 eval "$as_ac_Header=yes"
7189 else
7190 echo "$as_me: failed program was:" >&5
7191 sed 's/^/| /' conftest.$ac_ext >&5
7193 eval "$as_ac_Header=no"
7196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7198 ac_res=`eval echo '${'$as_ac_Header'}'`
7199 { echo "$as_me:$LINENO: result: $ac_res" >&5
7200 echo "${ECHO_T}$ac_res" >&6; }
7201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7202 cat >>confdefs.h <<_ACEOF
7203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7204 _ACEOF
7208 done
7217 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
7219 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7220 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7222 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7223 echo $ECHO_N "(cached) $ECHO_C" >&6
7224 else
7225 cat >conftest.$ac_ext <<_ACEOF
7226 /* confdefs.h. */
7227 _ACEOF
7228 cat confdefs.h >>conftest.$ac_ext
7229 cat >>conftest.$ac_ext <<_ACEOF
7230 /* end confdefs.h. */
7231 #include <sys/types.h>
7232 #if HAVE_SYS_SOCKET_H
7233 # include <sys/socket.h>
7234 #endif
7236 #include <$ac_header>
7237 _ACEOF
7238 rm -f conftest.$ac_objext
7239 if { (ac_try="$ac_compile"
7240 case "(($ac_try" in
7241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7242 *) ac_try_echo=$ac_try;;
7243 esac
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_compile") 2>conftest.er1
7246 ac_status=$?
7247 grep -v '^ *+' conftest.er1 >conftest.err
7248 rm -f conftest.er1
7249 cat conftest.err >&5
7250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7251 (exit $ac_status); } && {
7252 test -z "$ac_c_werror_flag" ||
7253 test ! -s conftest.err
7254 } && test -s conftest.$ac_objext; then
7255 eval "$as_ac_Header=yes"
7256 else
7257 echo "$as_me: failed program was:" >&5
7258 sed 's/^/| /' conftest.$ac_ext >&5
7260 eval "$as_ac_Header=no"
7263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7265 ac_res=`eval echo '${'$as_ac_Header'}'`
7266 { echo "$as_me:$LINENO: result: $ac_res" >&5
7267 echo "${ECHO_T}$ac_res" >&6; }
7268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7269 cat >>confdefs.h <<_ACEOF
7270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7271 _ACEOF
7275 done
7279 for ac_header in linux/ipx.h
7281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7284 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7285 echo $ECHO_N "(cached) $ECHO_C" >&6
7286 else
7287 cat >conftest.$ac_ext <<_ACEOF
7288 /* confdefs.h. */
7289 _ACEOF
7290 cat confdefs.h >>conftest.$ac_ext
7291 cat >>conftest.$ac_ext <<_ACEOF
7292 /* end confdefs.h. */
7293 #include <sys/types.h>
7294 #ifdef HAVE_ASM_TYPES_H
7295 # include <asm/types.h>
7296 #endif
7297 #if HAVE_SYS_SOCKET_H
7298 # include <sys/socket.h>
7299 #endif
7301 #include <$ac_header>
7302 _ACEOF
7303 rm -f conftest.$ac_objext
7304 if { (ac_try="$ac_compile"
7305 case "(($ac_try" in
7306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7307 *) ac_try_echo=$ac_try;;
7308 esac
7309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7310 (eval "$ac_compile") 2>conftest.er1
7311 ac_status=$?
7312 grep -v '^ *+' conftest.er1 >conftest.err
7313 rm -f conftest.er1
7314 cat conftest.err >&5
7315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7316 (exit $ac_status); } && {
7317 test -z "$ac_c_werror_flag" ||
7318 test ! -s conftest.err
7319 } && test -s conftest.$ac_objext; then
7320 eval "$as_ac_Header=yes"
7321 else
7322 echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.$ac_ext >&5
7325 eval "$as_ac_Header=no"
7328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7330 ac_res=`eval echo '${'$as_ac_Header'}'`
7331 { echo "$as_me:$LINENO: result: $ac_res" >&5
7332 echo "${ECHO_T}$ac_res" >&6; }
7333 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7334 cat >>confdefs.h <<_ACEOF
7335 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7336 _ACEOF
7340 done
7344 for ac_header in resolv.h
7346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7347 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7350 echo $ECHO_N "(cached) $ECHO_C" >&6
7351 else
7352 cat >conftest.$ac_ext <<_ACEOF
7353 /* confdefs.h. */
7354 _ACEOF
7355 cat confdefs.h >>conftest.$ac_ext
7356 cat >>conftest.$ac_ext <<_ACEOF
7357 /* end confdefs.h. */
7358 #include <sys/types.h>
7359 #if HAVE_SYS_SOCKET_H
7360 # include <sys/socket.h>
7361 #endif
7362 #if HAVE_NETINET_IN_H
7363 # include <netinet/in.h>
7364 #endif
7365 #if HAVE_ARPA_NAMESER_H
7366 # include <arpa/nameser.h>
7367 #endif
7369 #include <$ac_header>
7370 _ACEOF
7371 rm -f conftest.$ac_objext
7372 if { (ac_try="$ac_compile"
7373 case "(($ac_try" in
7374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7375 *) ac_try_echo=$ac_try;;
7376 esac
7377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7378 (eval "$ac_compile") 2>conftest.er1
7379 ac_status=$?
7380 grep -v '^ *+' conftest.er1 >conftest.err
7381 rm -f conftest.er1
7382 cat conftest.err >&5
7383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7384 (exit $ac_status); } && {
7385 test -z "$ac_c_werror_flag" ||
7386 test ! -s conftest.err
7387 } && test -s conftest.$ac_objext; then
7388 eval "$as_ac_Header=yes"
7389 else
7390 echo "$as_me: failed program was:" >&5
7391 sed 's/^/| /' conftest.$ac_ext >&5
7393 eval "$as_ac_Header=no"
7396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7398 ac_res=`eval echo '${'$as_ac_Header'}'`
7399 { echo "$as_me:$LINENO: result: $ac_res" >&5
7400 echo "${ECHO_T}$ac_res" >&6; }
7401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7402 cat >>confdefs.h <<_ACEOF
7403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7404 _ACEOF
7408 done
7412 for ac_header in ucontext.h
7414 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7418 echo $ECHO_N "(cached) $ECHO_C" >&6
7419 else
7420 cat >conftest.$ac_ext <<_ACEOF
7421 /* confdefs.h. */
7422 _ACEOF
7423 cat confdefs.h >>conftest.$ac_ext
7424 cat >>conftest.$ac_ext <<_ACEOF
7425 /* end confdefs.h. */
7426 #include <signal.h>
7428 #include <$ac_header>
7429 _ACEOF
7430 rm -f conftest.$ac_objext
7431 if { (ac_try="$ac_compile"
7432 case "(($ac_try" in
7433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7434 *) ac_try_echo=$ac_try;;
7435 esac
7436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7437 (eval "$ac_compile") 2>conftest.er1
7438 ac_status=$?
7439 grep -v '^ *+' conftest.er1 >conftest.err
7440 rm -f conftest.er1
7441 cat conftest.err >&5
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); } && {
7444 test -z "$ac_c_werror_flag" ||
7445 test ! -s conftest.err
7446 } && test -s conftest.$ac_objext; then
7447 eval "$as_ac_Header=yes"
7448 else
7449 echo "$as_me: failed program was:" >&5
7450 sed 's/^/| /' conftest.$ac_ext >&5
7452 eval "$as_ac_Header=no"
7455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7457 ac_res=`eval echo '${'$as_ac_Header'}'`
7458 { echo "$as_me:$LINENO: result: $ac_res" >&5
7459 echo "${ECHO_T}$ac_res" >&6; }
7460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7461 cat >>confdefs.h <<_ACEOF
7462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7463 _ACEOF
7467 done
7471 for ac_header in pthread_np.h
7473 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7474 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7475 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7476 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7477 echo $ECHO_N "(cached) $ECHO_C" >&6
7478 else
7479 cat >conftest.$ac_ext <<_ACEOF
7480 /* confdefs.h. */
7481 _ACEOF
7482 cat confdefs.h >>conftest.$ac_ext
7483 cat >>conftest.$ac_ext <<_ACEOF
7484 /* end confdefs.h. */
7485 #ifdef HAVE_PTHREAD_H
7486 #include <pthread.h>
7487 #endif
7489 #include <$ac_header>
7490 _ACEOF
7491 rm -f conftest.$ac_objext
7492 if { (ac_try="$ac_compile"
7493 case "(($ac_try" in
7494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7495 *) ac_try_echo=$ac_try;;
7496 esac
7497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7498 (eval "$ac_compile") 2>conftest.er1
7499 ac_status=$?
7500 grep -v '^ *+' conftest.er1 >conftest.err
7501 rm -f conftest.er1
7502 cat conftest.err >&5
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); } && {
7505 test -z "$ac_c_werror_flag" ||
7506 test ! -s conftest.err
7507 } && test -s conftest.$ac_objext; then
7508 eval "$as_ac_Header=yes"
7509 else
7510 echo "$as_me: failed program was:" >&5
7511 sed 's/^/| /' conftest.$ac_ext >&5
7513 eval "$as_ac_Header=no"
7516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7518 ac_res=`eval echo '${'$as_ac_Header'}'`
7519 { echo "$as_me:$LINENO: result: $ac_res" >&5
7520 echo "${ECHO_T}$ac_res" >&6; }
7521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7522 cat >>confdefs.h <<_ACEOF
7523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7524 _ACEOF
7528 done
7532 for ac_header in linux/videodev.h
7534 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7535 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7536 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7537 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7538 echo $ECHO_N "(cached) $ECHO_C" >&6
7539 else
7540 cat >conftest.$ac_ext <<_ACEOF
7541 /* confdefs.h. */
7542 _ACEOF
7543 cat confdefs.h >>conftest.$ac_ext
7544 cat >>conftest.$ac_ext <<_ACEOF
7545 /* end confdefs.h. */
7546 #ifdef HAVE_SYS_TIME_H
7547 #include <sys/time.h>
7548 #endif
7549 #include <sys/types.h>
7550 #ifdef HAVE_ASM_TYPES_H
7551 #include <asm/types.h>
7552 #endif
7554 #include <$ac_header>
7555 _ACEOF
7556 rm -f conftest.$ac_objext
7557 if { (ac_try="$ac_compile"
7558 case "(($ac_try" in
7559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7560 *) ac_try_echo=$ac_try;;
7561 esac
7562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7563 (eval "$ac_compile") 2>conftest.er1
7564 ac_status=$?
7565 grep -v '^ *+' conftest.er1 >conftest.err
7566 rm -f conftest.er1
7567 cat conftest.err >&5
7568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7569 (exit $ac_status); } && {
7570 test -z "$ac_c_werror_flag" ||
7571 test ! -s conftest.err
7572 } && test -s conftest.$ac_objext; then
7573 eval "$as_ac_Header=yes"
7574 else
7575 echo "$as_me: failed program was:" >&5
7576 sed 's/^/| /' conftest.$ac_ext >&5
7578 eval "$as_ac_Header=no"
7581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7583 ac_res=`eval echo '${'$as_ac_Header'}'`
7584 { echo "$as_me:$LINENO: result: $ac_res" >&5
7585 echo "${ECHO_T}$ac_res" >&6; }
7586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7587 cat >>confdefs.h <<_ACEOF
7588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7589 _ACEOF
7593 done
7597 for ac_header in linux/capi.h
7599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7600 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7602 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 else
7605 cat >conftest.$ac_ext <<_ACEOF
7606 /* confdefs.h. */
7607 _ACEOF
7608 cat confdefs.h >>conftest.$ac_ext
7609 cat >>conftest.$ac_ext <<_ACEOF
7610 /* end confdefs.h. */
7611 #define __user
7613 #include <$ac_header>
7614 _ACEOF
7615 rm -f conftest.$ac_objext
7616 if { (ac_try="$ac_compile"
7617 case "(($ac_try" in
7618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7619 *) ac_try_echo=$ac_try;;
7620 esac
7621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7622 (eval "$ac_compile") 2>conftest.er1
7623 ac_status=$?
7624 grep -v '^ *+' conftest.er1 >conftest.err
7625 rm -f conftest.er1
7626 cat conftest.err >&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } && {
7629 test -z "$ac_c_werror_flag" ||
7630 test ! -s conftest.err
7631 } && test -s conftest.$ac_objext; then
7632 eval "$as_ac_Header=yes"
7633 else
7634 echo "$as_me: failed program was:" >&5
7635 sed 's/^/| /' conftest.$ac_ext >&5
7637 eval "$as_ac_Header=no"
7640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7642 ac_res=`eval echo '${'$as_ac_Header'}'`
7643 { echo "$as_me:$LINENO: result: $ac_res" >&5
7644 echo "${ECHO_T}$ac_res" >&6; }
7645 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7646 cat >>confdefs.h <<_ACEOF
7647 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7648 _ACEOF
7652 done
7656 if test "$have_x" = "yes"
7657 then
7658 XLIB="-lXext -lX11"
7659 ac_save_CPPFLAGS="$CPPFLAGS"
7660 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7673 for ac_header in X11/Xlib.h \
7674 X11/XKBlib.h \
7675 X11/Xutil.h \
7676 X11/Xcursor/Xcursor.h \
7677 X11/extensions/shape.h \
7678 X11/extensions/XInput.h \
7679 X11/extensions/XShm.h \
7680 X11/extensions/Xinerama.h \
7681 X11/extensions/Xrandr.h \
7682 X11/extensions/Xrender.h \
7683 X11/extensions/xf86vmode.h
7685 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7686 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7689 echo $ECHO_N "(cached) $ECHO_C" >&6
7690 else
7691 cat >conftest.$ac_ext <<_ACEOF
7692 /* confdefs.h. */
7693 _ACEOF
7694 cat confdefs.h >>conftest.$ac_ext
7695 cat >>conftest.$ac_ext <<_ACEOF
7696 /* end confdefs.h. */
7697 #ifdef HAVE_X11_XLIB_H
7698 # include <X11/Xlib.h>
7699 #endif
7700 #ifdef HAVE_X11_XUTIL_H
7701 # include <X11/Xutil.h>
7702 #endif
7704 #include <$ac_header>
7705 _ACEOF
7706 rm -f conftest.$ac_objext
7707 if { (ac_try="$ac_compile"
7708 case "(($ac_try" in
7709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7710 *) ac_try_echo=$ac_try;;
7711 esac
7712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7713 (eval "$ac_compile") 2>conftest.er1
7714 ac_status=$?
7715 grep -v '^ *+' conftest.er1 >conftest.err
7716 rm -f conftest.er1
7717 cat conftest.err >&5
7718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7719 (exit $ac_status); } && {
7720 test -z "$ac_c_werror_flag" ||
7721 test ! -s conftest.err
7722 } && test -s conftest.$ac_objext; then
7723 eval "$as_ac_Header=yes"
7724 else
7725 echo "$as_me: failed program was:" >&5
7726 sed 's/^/| /' conftest.$ac_ext >&5
7728 eval "$as_ac_Header=no"
7731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7733 ac_res=`eval echo '${'$as_ac_Header'}'`
7734 { echo "$as_me:$LINENO: result: $ac_res" >&5
7735 echo "${ECHO_T}$ac_res" >&6; }
7736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7737 cat >>confdefs.h <<_ACEOF
7738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7739 _ACEOF
7743 done
7746 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7747 then
7748 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7749 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7750 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7751 echo $ECHO_N "(cached) $ECHO_C" >&6
7752 else
7753 ac_check_lib_save_LIBS=$LIBS
7754 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7755 cat >conftest.$ac_ext <<_ACEOF
7756 /* confdefs.h. */
7757 _ACEOF
7758 cat confdefs.h >>conftest.$ac_ext
7759 cat >>conftest.$ac_ext <<_ACEOF
7760 /* end confdefs.h. */
7762 /* Override any GCC internal prototype to avoid an error.
7763 Use char because int might match the return type of a GCC
7764 builtin and then its argument prototype would still apply. */
7765 #ifdef __cplusplus
7766 extern "C"
7767 #endif
7768 char XkbQueryExtension ();
7770 main ()
7772 return XkbQueryExtension ();
7774 return 0;
7776 _ACEOF
7777 rm -f conftest.$ac_objext conftest$ac_exeext
7778 if { (ac_try="$ac_link"
7779 case "(($ac_try" in
7780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7781 *) ac_try_echo=$ac_try;;
7782 esac
7783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7784 (eval "$ac_link") 2>conftest.er1
7785 ac_status=$?
7786 grep -v '^ *+' conftest.er1 >conftest.err
7787 rm -f conftest.er1
7788 cat conftest.err >&5
7789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7790 (exit $ac_status); } && {
7791 test -z "$ac_c_werror_flag" ||
7792 test ! -s conftest.err
7793 } && test -s conftest$ac_exeext &&
7794 $as_test_x conftest$ac_exeext; then
7795 ac_cv_lib_X11_XkbQueryExtension=yes
7796 else
7797 echo "$as_me: failed program was:" >&5
7798 sed 's/^/| /' conftest.$ac_ext >&5
7800 ac_cv_lib_X11_XkbQueryExtension=no
7803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7804 conftest$ac_exeext conftest.$ac_ext
7805 LIBS=$ac_check_lib_save_LIBS
7807 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7808 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7809 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7811 cat >>confdefs.h <<\_ACEOF
7812 #define HAVE_XKB 1
7813 _ACEOF
7819 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7820 then
7821 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7822 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
7823 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7824 echo $ECHO_N "(cached) $ECHO_C" >&6
7825 else
7826 ac_check_lib_save_LIBS=$LIBS
7827 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7828 cat >conftest.$ac_ext <<_ACEOF
7829 /* confdefs.h. */
7830 _ACEOF
7831 cat confdefs.h >>conftest.$ac_ext
7832 cat >>conftest.$ac_ext <<_ACEOF
7833 /* end confdefs.h. */
7835 /* Override any GCC internal prototype to avoid an error.
7836 Use char because int might match the return type of a GCC
7837 builtin and then its argument prototype would still apply. */
7838 #ifdef __cplusplus
7839 extern "C"
7840 #endif
7841 char XShmQueryExtension ();
7843 main ()
7845 return XShmQueryExtension ();
7847 return 0;
7849 _ACEOF
7850 rm -f conftest.$ac_objext conftest$ac_exeext
7851 if { (ac_try="$ac_link"
7852 case "(($ac_try" in
7853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7854 *) ac_try_echo=$ac_try;;
7855 esac
7856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7857 (eval "$ac_link") 2>conftest.er1
7858 ac_status=$?
7859 grep -v '^ *+' conftest.er1 >conftest.err
7860 rm -f conftest.er1
7861 cat conftest.err >&5
7862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7863 (exit $ac_status); } && {
7864 test -z "$ac_c_werror_flag" ||
7865 test ! -s conftest.err
7866 } && test -s conftest$ac_exeext &&
7867 $as_test_x conftest$ac_exeext; then
7868 ac_cv_lib_Xext_XShmQueryExtension=yes
7869 else
7870 echo "$as_me: failed program was:" >&5
7871 sed 's/^/| /' conftest.$ac_ext >&5
7873 ac_cv_lib_Xext_XShmQueryExtension=no
7876 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7877 conftest$ac_exeext conftest.$ac_ext
7878 LIBS=$ac_check_lib_save_LIBS
7880 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7881 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
7882 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7884 cat >>confdefs.h <<\_ACEOF
7885 #define HAVE_LIBXXSHM 1
7886 _ACEOF
7892 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7893 then
7894 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7895 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
7896 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7897 echo $ECHO_N "(cached) $ECHO_C" >&6
7898 else
7899 ac_check_lib_save_LIBS=$LIBS
7900 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7901 cat >conftest.$ac_ext <<_ACEOF
7902 /* confdefs.h. */
7903 _ACEOF
7904 cat confdefs.h >>conftest.$ac_ext
7905 cat >>conftest.$ac_ext <<_ACEOF
7906 /* end confdefs.h. */
7908 /* Override any GCC internal prototype to avoid an error.
7909 Use char because int might match the return type of a GCC
7910 builtin and then its argument prototype would still apply. */
7911 #ifdef __cplusplus
7912 extern "C"
7913 #endif
7914 char XShapeQueryExtension ();
7916 main ()
7918 return XShapeQueryExtension ();
7920 return 0;
7922 _ACEOF
7923 rm -f conftest.$ac_objext conftest$ac_exeext
7924 if { (ac_try="$ac_link"
7925 case "(($ac_try" in
7926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7927 *) ac_try_echo=$ac_try;;
7928 esac
7929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7930 (eval "$ac_link") 2>conftest.er1
7931 ac_status=$?
7932 grep -v '^ *+' conftest.er1 >conftest.err
7933 rm -f conftest.er1
7934 cat conftest.err >&5
7935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7936 (exit $ac_status); } && {
7937 test -z "$ac_c_werror_flag" ||
7938 test ! -s conftest.err
7939 } && test -s conftest$ac_exeext &&
7940 $as_test_x conftest$ac_exeext; then
7941 ac_cv_lib_Xext_XShapeQueryExtension=yes
7942 else
7943 echo "$as_me: failed program was:" >&5
7944 sed 's/^/| /' conftest.$ac_ext >&5
7946 ac_cv_lib_Xext_XShapeQueryExtension=no
7949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7950 conftest$ac_exeext conftest.$ac_ext
7951 LIBS=$ac_check_lib_save_LIBS
7953 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7954 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
7955 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7957 cat >>confdefs.h <<\_ACEOF
7958 #define HAVE_LIBXSHAPE 1
7959 _ACEOF
7965 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7966 then
7967 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7968 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
7969 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7970 echo $ECHO_N "(cached) $ECHO_C" >&6
7971 else
7972 ac_check_lib_save_LIBS=$LIBS
7973 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7974 cat >conftest.$ac_ext <<_ACEOF
7975 /* confdefs.h. */
7976 _ACEOF
7977 cat confdefs.h >>conftest.$ac_ext
7978 cat >>conftest.$ac_ext <<_ACEOF
7979 /* end confdefs.h. */
7981 /* Override any GCC internal prototype to avoid an error.
7982 Use char because int might match the return type of a GCC
7983 builtin and then its argument prototype would still apply. */
7984 #ifdef __cplusplus
7985 extern "C"
7986 #endif
7987 char XF86VidModeQueryExtension ();
7989 main ()
7991 return XF86VidModeQueryExtension ();
7993 return 0;
7995 _ACEOF
7996 rm -f conftest.$ac_objext conftest$ac_exeext
7997 if { (ac_try="$ac_link"
7998 case "(($ac_try" in
7999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8000 *) ac_try_echo=$ac_try;;
8001 esac
8002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8003 (eval "$ac_link") 2>conftest.er1
8004 ac_status=$?
8005 grep -v '^ *+' conftest.er1 >conftest.err
8006 rm -f conftest.er1
8007 cat conftest.err >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } && {
8010 test -z "$ac_c_werror_flag" ||
8011 test ! -s conftest.err
8012 } && test -s conftest$ac_exeext &&
8013 $as_test_x conftest$ac_exeext; then
8014 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8015 else
8016 echo "$as_me: failed program was:" >&5
8017 sed 's/^/| /' conftest.$ac_ext >&5
8019 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8023 conftest$ac_exeext conftest.$ac_ext
8024 LIBS=$ac_check_lib_save_LIBS
8026 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8027 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8028 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8030 cat >>confdefs.h <<\_ACEOF
8031 #define HAVE_LIBXXF86VM 1
8032 _ACEOF
8034 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8040 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8041 then
8042 cat >conftest.$ac_ext <<_ACEOF
8043 /* confdefs.h. */
8044 _ACEOF
8045 cat confdefs.h >>conftest.$ac_ext
8046 cat >>conftest.$ac_ext <<_ACEOF
8047 /* end confdefs.h. */
8048 #include <X11/Xlib.h>
8049 #include <X11/extensions/Xrandr.h>
8051 main ()
8053 static typeof(XRRSetScreenConfigAndRate) * func;
8055 return 0;
8057 _ACEOF
8058 rm -f conftest.$ac_objext
8059 if { (ac_try="$ac_compile"
8060 case "(($ac_try" in
8061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8062 *) ac_try_echo=$ac_try;;
8063 esac
8064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8065 (eval "$ac_compile") 2>conftest.er1
8066 ac_status=$?
8067 grep -v '^ *+' conftest.er1 >conftest.err
8068 rm -f conftest.er1
8069 cat conftest.err >&5
8070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071 (exit $ac_status); } && {
8072 test -z "$ac_c_werror_flag" ||
8073 test ! -s conftest.err
8074 } && test -s conftest.$ac_objext; then
8076 cat >>confdefs.h <<\_ACEOF
8077 #define HAVE_LIBXRANDR 1
8078 _ACEOF
8080 else
8081 echo "$as_me: failed program was:" >&5
8082 sed 's/^/| /' conftest.$ac_ext >&5
8087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8090 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8091 then
8092 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8093 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8094 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8096 else
8097 ac_check_lib_save_LIBS=$LIBS
8098 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8099 cat >conftest.$ac_ext <<_ACEOF
8100 /* confdefs.h. */
8101 _ACEOF
8102 cat confdefs.h >>conftest.$ac_ext
8103 cat >>conftest.$ac_ext <<_ACEOF
8104 /* end confdefs.h. */
8106 /* Override any GCC internal prototype to avoid an error.
8107 Use char because int might match the return type of a GCC
8108 builtin and then its argument prototype would still apply. */
8109 #ifdef __cplusplus
8110 extern "C"
8111 #endif
8112 char XRenderSetPictureTransform ();
8114 main ()
8116 return XRenderSetPictureTransform ();
8118 return 0;
8120 _ACEOF
8121 rm -f conftest.$ac_objext conftest$ac_exeext
8122 if { (ac_try="$ac_link"
8123 case "(($ac_try" in
8124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8125 *) ac_try_echo=$ac_try;;
8126 esac
8127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8128 (eval "$ac_link") 2>conftest.er1
8129 ac_status=$?
8130 grep -v '^ *+' conftest.er1 >conftest.err
8131 rm -f conftest.er1
8132 cat conftest.err >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } && {
8135 test -z "$ac_c_werror_flag" ||
8136 test ! -s conftest.err
8137 } && test -s conftest$ac_exeext &&
8138 $as_test_x conftest$ac_exeext; then
8139 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8140 else
8141 echo "$as_me: failed program was:" >&5
8142 sed 's/^/| /' conftest.$ac_ext >&5
8144 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8148 conftest$ac_exeext conftest.$ac_ext
8149 LIBS=$ac_check_lib_save_LIBS
8151 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8152 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8153 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8155 cat >>confdefs.h <<\_ACEOF
8156 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8157 _ACEOF
8163 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8164 then
8165 cat >conftest.$ac_ext <<_ACEOF
8166 /* confdefs.h. */
8167 _ACEOF
8168 cat confdefs.h >>conftest.$ac_ext
8169 cat >>conftest.$ac_ext <<_ACEOF
8170 /* end confdefs.h. */
8171 #include <X11/Xlib.h>
8172 #include <X11/extensions/Xinerama.h>
8174 main ()
8176 static typeof(XineramaQueryScreens) * func;
8178 return 0;
8180 _ACEOF
8181 rm -f conftest.$ac_objext
8182 if { (ac_try="$ac_compile"
8183 case "(($ac_try" in
8184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8185 *) ac_try_echo=$ac_try;;
8186 esac
8187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8188 (eval "$ac_compile") 2>conftest.er1
8189 ac_status=$?
8190 grep -v '^ *+' conftest.er1 >conftest.err
8191 rm -f conftest.er1
8192 cat conftest.err >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && {
8195 test -z "$ac_c_werror_flag" ||
8196 test ! -s conftest.err
8197 } && test -s conftest.$ac_objext; then
8199 cat >>confdefs.h <<\_ACEOF
8200 #define HAVE_LIBXINERAMA 1
8201 _ACEOF
8203 else
8204 echo "$as_me: failed program was:" >&5
8205 sed 's/^/| /' conftest.$ac_ext >&5
8210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8214 if test "x$with_opengl" != "xno"
8215 then
8220 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8223 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8225 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8226 echo $ECHO_N "(cached) $ECHO_C" >&6
8227 else
8228 cat >conftest.$ac_ext <<_ACEOF
8229 /* confdefs.h. */
8230 _ACEOF
8231 cat confdefs.h >>conftest.$ac_ext
8232 cat >>conftest.$ac_ext <<_ACEOF
8233 /* end confdefs.h. */
8234 #ifdef HAVE_GL_GLX_H
8235 # include <GL/glx.h>
8236 #endif
8238 #include <$ac_header>
8239 _ACEOF
8240 rm -f conftest.$ac_objext
8241 if { (ac_try="$ac_compile"
8242 case "(($ac_try" in
8243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8244 *) ac_try_echo=$ac_try;;
8245 esac
8246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8247 (eval "$ac_compile") 2>conftest.er1
8248 ac_status=$?
8249 grep -v '^ *+' conftest.er1 >conftest.err
8250 rm -f conftest.er1
8251 cat conftest.err >&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } && {
8254 test -z "$ac_c_werror_flag" ||
8255 test ! -s conftest.err
8256 } && test -s conftest.$ac_objext; then
8257 eval "$as_ac_Header=yes"
8258 else
8259 echo "$as_me: failed program was:" >&5
8260 sed 's/^/| /' conftest.$ac_ext >&5
8262 eval "$as_ac_Header=no"
8265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8267 ac_res=`eval echo '${'$as_ac_Header'}'`
8268 { echo "$as_me:$LINENO: result: $ac_res" >&5
8269 echo "${ECHO_T}$ac_res" >&6; }
8270 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8271 cat >>confdefs.h <<_ACEOF
8272 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8273 _ACEOF
8277 done
8279 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8280 then
8281 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8282 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8283 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8284 echo $ECHO_N "(cached) $ECHO_C" >&6
8285 else
8286 cat >conftest.$ac_ext <<_ACEOF
8287 /* confdefs.h. */
8288 _ACEOF
8289 cat confdefs.h >>conftest.$ac_ext
8290 cat >>conftest.$ac_ext <<_ACEOF
8291 /* end confdefs.h. */
8292 #include <GL/gl.h>
8294 main ()
8296 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8298 return 0;
8300 _ACEOF
8301 rm -f conftest.$ac_objext
8302 if { (ac_try="$ac_compile"
8303 case "(($ac_try" in
8304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8305 *) ac_try_echo=$ac_try;;
8306 esac
8307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8308 (eval "$ac_compile") 2>conftest.er1
8309 ac_status=$?
8310 grep -v '^ *+' conftest.er1 >conftest.err
8311 rm -f conftest.er1
8312 cat conftest.err >&5
8313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314 (exit $ac_status); } && {
8315 test -z "$ac_c_werror_flag" ||
8316 test ! -s conftest.err
8317 } && test -s conftest.$ac_objext; then
8318 wine_cv_opengl_header_version_OK="yes"
8319 else
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.$ac_ext >&5
8323 wine_cv_opengl_header_version_OK="no"
8326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8328 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8329 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8331 if test "$wine_cv_opengl_header_version_OK" = "yes"
8332 then
8333 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8334 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8335 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8336 echo $ECHO_N "(cached) $ECHO_C" >&6
8337 else
8338 ac_check_lib_save_LIBS=$LIBS
8339 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8340 cat >conftest.$ac_ext <<_ACEOF
8341 /* confdefs.h. */
8342 _ACEOF
8343 cat confdefs.h >>conftest.$ac_ext
8344 cat >>conftest.$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8347 /* Override any GCC internal prototype to avoid an error.
8348 Use char because int might match the return type of a GCC
8349 builtin and then its argument prototype would still apply. */
8350 #ifdef __cplusplus
8351 extern "C"
8352 #endif
8353 char glXCreateContext ();
8355 main ()
8357 return glXCreateContext ();
8359 return 0;
8361 _ACEOF
8362 rm -f conftest.$ac_objext conftest$ac_exeext
8363 if { (ac_try="$ac_link"
8364 case "(($ac_try" in
8365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8366 *) ac_try_echo=$ac_try;;
8367 esac
8368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8369 (eval "$ac_link") 2>conftest.er1
8370 ac_status=$?
8371 grep -v '^ *+' conftest.er1 >conftest.err
8372 rm -f conftest.er1
8373 cat conftest.err >&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } && {
8376 test -z "$ac_c_werror_flag" ||
8377 test ! -s conftest.err
8378 } && test -s conftest$ac_exeext &&
8379 $as_test_x conftest$ac_exeext; then
8380 ac_cv_lib_GL_glXCreateContext=yes
8381 else
8382 echo "$as_me: failed program was:" >&5
8383 sed 's/^/| /' conftest.$ac_ext >&5
8385 ac_cv_lib_GL_glXCreateContext=no
8388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8389 conftest$ac_exeext conftest.$ac_ext
8390 LIBS=$ac_check_lib_save_LIBS
8392 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8393 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8394 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8395 OPENGL_LIBS="-lGL"
8396 OPENGLFILES='$(OPENGLFILES)'
8398 cat >>confdefs.h <<\_ACEOF
8399 #define HAVE_OPENGL 1
8400 _ACEOF
8406 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8407 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8408 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8409 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 else
8411 ac_check_lib_save_LIBS=$LIBS
8412 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8413 $LIBS"
8414 cat >conftest.$ac_ext <<_ACEOF
8415 /* confdefs.h. */
8416 _ACEOF
8417 cat confdefs.h >>conftest.$ac_ext
8418 cat >>conftest.$ac_ext <<_ACEOF
8419 /* end confdefs.h. */
8421 /* Override any GCC internal prototype to avoid an error.
8422 Use char because int might match the return type of a GCC
8423 builtin and then its argument prototype would still apply. */
8424 #ifdef __cplusplus
8425 extern "C"
8426 #endif
8427 char gluLookAt ();
8429 main ()
8431 return gluLookAt ();
8433 return 0;
8435 _ACEOF
8436 rm -f conftest.$ac_objext conftest$ac_exeext
8437 if { (ac_try="$ac_link"
8438 case "(($ac_try" in
8439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8440 *) ac_try_echo=$ac_try;;
8441 esac
8442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8443 (eval "$ac_link") 2>conftest.er1
8444 ac_status=$?
8445 grep -v '^ *+' conftest.er1 >conftest.err
8446 rm -f conftest.er1
8447 cat conftest.err >&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 (exit $ac_status); } && {
8450 test -z "$ac_c_werror_flag" ||
8451 test ! -s conftest.err
8452 } && test -s conftest$ac_exeext &&
8453 $as_test_x conftest$ac_exeext; then
8454 ac_cv_lib_GLU_gluLookAt=yes
8455 else
8456 echo "$as_me: failed program was:" >&5
8457 sed 's/^/| /' conftest.$ac_ext >&5
8459 ac_cv_lib_GLU_gluLookAt=no
8462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8463 conftest$ac_exeext conftest.$ac_ext
8464 LIBS=$ac_check_lib_save_LIBS
8466 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8467 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8468 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8469 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8470 GLU32FILES='$(GLU32FILES)'
8475 else
8476 wine_cv_opengl_headers_found="no"
8479 NASLIBS=""
8482 for ac_header in audio/audiolib.h
8484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8485 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8486 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8488 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8489 echo $ECHO_N "(cached) $ECHO_C" >&6
8491 ac_res=`eval echo '${'$as_ac_Header'}'`
8492 { echo "$as_me:$LINENO: result: $ac_res" >&5
8493 echo "${ECHO_T}$ac_res" >&6; }
8494 else
8495 # Is the header compilable?
8496 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8498 cat >conftest.$ac_ext <<_ACEOF
8499 /* confdefs.h. */
8500 _ACEOF
8501 cat confdefs.h >>conftest.$ac_ext
8502 cat >>conftest.$ac_ext <<_ACEOF
8503 /* end confdefs.h. */
8504 $ac_includes_default
8505 #include <$ac_header>
8506 _ACEOF
8507 rm -f conftest.$ac_objext
8508 if { (ac_try="$ac_compile"
8509 case "(($ac_try" in
8510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8511 *) ac_try_echo=$ac_try;;
8512 esac
8513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8514 (eval "$ac_compile") 2>conftest.er1
8515 ac_status=$?
8516 grep -v '^ *+' conftest.er1 >conftest.err
8517 rm -f conftest.er1
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); } && {
8521 test -z "$ac_c_werror_flag" ||
8522 test ! -s conftest.err
8523 } && test -s conftest.$ac_objext; then
8524 ac_header_compiler=yes
8525 else
8526 echo "$as_me: failed program was:" >&5
8527 sed 's/^/| /' conftest.$ac_ext >&5
8529 ac_header_compiler=no
8532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8533 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8534 echo "${ECHO_T}$ac_header_compiler" >&6; }
8536 # Is the header present?
8537 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8538 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8539 cat >conftest.$ac_ext <<_ACEOF
8540 /* confdefs.h. */
8541 _ACEOF
8542 cat confdefs.h >>conftest.$ac_ext
8543 cat >>conftest.$ac_ext <<_ACEOF
8544 /* end confdefs.h. */
8545 #include <$ac_header>
8546 _ACEOF
8547 if { (ac_try="$ac_cpp conftest.$ac_ext"
8548 case "(($ac_try" in
8549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8550 *) ac_try_echo=$ac_try;;
8551 esac
8552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8554 ac_status=$?
8555 grep -v '^ *+' conftest.er1 >conftest.err
8556 rm -f conftest.er1
8557 cat conftest.err >&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); } >/dev/null && {
8560 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8561 test ! -s conftest.err
8562 }; then
8563 ac_header_preproc=yes
8564 else
8565 echo "$as_me: failed program was:" >&5
8566 sed 's/^/| /' conftest.$ac_ext >&5
8568 ac_header_preproc=no
8571 rm -f conftest.err conftest.$ac_ext
8572 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8573 echo "${ECHO_T}$ac_header_preproc" >&6; }
8575 # So? What about this header?
8576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8577 yes:no: )
8578 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8579 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8581 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8582 ac_header_preproc=yes
8584 no:yes:* )
8585 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8590 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8592 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8596 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8597 ( cat <<\_ASBOX
8598 ## ------------------------------------ ##
8599 ## Report this to wine-devel@winehq.org ##
8600 ## ------------------------------------ ##
8601 _ASBOX
8602 ) | sed "s/^/$as_me: WARNING: /" >&2
8604 esac
8605 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8607 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8608 echo $ECHO_N "(cached) $ECHO_C" >&6
8609 else
8610 eval "$as_ac_Header=\$ac_header_preproc"
8612 ac_res=`eval echo '${'$as_ac_Header'}'`
8613 { echo "$as_me:$LINENO: result: $ac_res" >&5
8614 echo "${ECHO_T}$ac_res" >&6; }
8617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8618 cat >>confdefs.h <<_ACEOF
8619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8620 _ACEOF
8622 for ac_header in audio/soundlib.h
8624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8627 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8628 echo $ECHO_N "(cached) $ECHO_C" >&6
8629 else
8630 cat >conftest.$ac_ext <<_ACEOF
8631 /* confdefs.h. */
8632 _ACEOF
8633 cat confdefs.h >>conftest.$ac_ext
8634 cat >>conftest.$ac_ext <<_ACEOF
8635 /* end confdefs.h. */
8636 #include <audio/audiolib.h>
8638 #include <$ac_header>
8639 _ACEOF
8640 rm -f conftest.$ac_objext
8641 if { (ac_try="$ac_compile"
8642 case "(($ac_try" in
8643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8644 *) ac_try_echo=$ac_try;;
8645 esac
8646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8647 (eval "$ac_compile") 2>conftest.er1
8648 ac_status=$?
8649 grep -v '^ *+' conftest.er1 >conftest.err
8650 rm -f conftest.er1
8651 cat conftest.err >&5
8652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8653 (exit $ac_status); } && {
8654 test -z "$ac_c_werror_flag" ||
8655 test ! -s conftest.err
8656 } && test -s conftest.$ac_objext; then
8657 eval "$as_ac_Header=yes"
8658 else
8659 echo "$as_me: failed program was:" >&5
8660 sed 's/^/| /' conftest.$ac_ext >&5
8662 eval "$as_ac_Header=no"
8665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8667 ac_res=`eval echo '${'$as_ac_Header'}'`
8668 { echo "$as_me:$LINENO: result: $ac_res" >&5
8669 echo "${ECHO_T}$ac_res" >&6; }
8670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8671 cat >>confdefs.h <<_ACEOF
8672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8673 _ACEOF
8677 done
8679 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8680 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8681 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8682 echo $ECHO_N "(cached) $ECHO_C" >&6
8683 else
8684 ac_check_lib_save_LIBS=$LIBS
8685 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8686 cat >conftest.$ac_ext <<_ACEOF
8687 /* confdefs.h. */
8688 _ACEOF
8689 cat confdefs.h >>conftest.$ac_ext
8690 cat >>conftest.$ac_ext <<_ACEOF
8691 /* end confdefs.h. */
8693 /* Override any GCC internal prototype to avoid an error.
8694 Use char because int might match the return type of a GCC
8695 builtin and then its argument prototype would still apply. */
8696 #ifdef __cplusplus
8697 extern "C"
8698 #endif
8699 char AuCreateFlow ();
8701 main ()
8703 return AuCreateFlow ();
8705 return 0;
8707 _ACEOF
8708 rm -f conftest.$ac_objext conftest$ac_exeext
8709 if { (ac_try="$ac_link"
8710 case "(($ac_try" in
8711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8712 *) ac_try_echo=$ac_try;;
8713 esac
8714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8715 (eval "$ac_link") 2>conftest.er1
8716 ac_status=$?
8717 grep -v '^ *+' conftest.er1 >conftest.err
8718 rm -f conftest.er1
8719 cat conftest.err >&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } && {
8722 test -z "$ac_c_werror_flag" ||
8723 test ! -s conftest.err
8724 } && test -s conftest$ac_exeext &&
8725 $as_test_x conftest$ac_exeext; then
8726 ac_cv_lib_audio_AuCreateFlow=yes
8727 else
8728 echo "$as_me: failed program was:" >&5
8729 sed 's/^/| /' conftest.$ac_ext >&5
8731 ac_cv_lib_audio_AuCreateFlow=no
8734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8735 conftest$ac_exeext conftest.$ac_ext
8736 LIBS=$ac_check_lib_save_LIBS
8738 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8739 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8740 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8742 cat >>confdefs.h <<\_ACEOF
8743 #define HAVE_NAS 1
8744 _ACEOF
8746 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8747 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8748 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8749 echo $ECHO_N "(cached) $ECHO_C" >&6
8750 else
8751 ac_check_lib_save_LIBS=$LIBS
8752 LIBS="-lXau $X_LIBS $LIBS"
8753 cat >conftest.$ac_ext <<_ACEOF
8754 /* confdefs.h. */
8755 _ACEOF
8756 cat confdefs.h >>conftest.$ac_ext
8757 cat >>conftest.$ac_ext <<_ACEOF
8758 /* end confdefs.h. */
8760 /* Override any GCC internal prototype to avoid an error.
8761 Use char because int might match the return type of a GCC
8762 builtin and then its argument prototype would still apply. */
8763 #ifdef __cplusplus
8764 extern "C"
8765 #endif
8766 char XauGetBestAuthByAddr ();
8768 main ()
8770 return XauGetBestAuthByAddr ();
8772 return 0;
8774 _ACEOF
8775 rm -f conftest.$ac_objext conftest$ac_exeext
8776 if { (ac_try="$ac_link"
8777 case "(($ac_try" in
8778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8779 *) ac_try_echo=$ac_try;;
8780 esac
8781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8782 (eval "$ac_link") 2>conftest.er1
8783 ac_status=$?
8784 grep -v '^ *+' conftest.er1 >conftest.err
8785 rm -f conftest.er1
8786 cat conftest.err >&5
8787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8788 (exit $ac_status); } && {
8789 test -z "$ac_c_werror_flag" ||
8790 test ! -s conftest.err
8791 } && test -s conftest$ac_exeext &&
8792 $as_test_x conftest$ac_exeext; then
8793 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8794 else
8795 echo "$as_me: failed program was:" >&5
8796 sed 's/^/| /' conftest.$ac_ext >&5
8798 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8802 conftest$ac_exeext conftest.$ac_ext
8803 LIBS=$ac_check_lib_save_LIBS
8805 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8806 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8807 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8808 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8809 else
8810 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8818 done
8821 CPPFLAGS="$ac_save_CPPFLAGS"
8822 XFILES='$(XFILES)'
8823 else
8824 XLIB=""
8825 X_CFLAGS=""
8826 X_LIBS=""
8830 XML2LIBS=""
8832 XML2INCL=""
8834 XSLTLIBS=""
8836 XSLTINCL=""
8838 if test "$PKG_CONFIG" != "false"
8839 then
8840 ac_save_CPPFLAGS="$CPPFLAGS"
8841 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8842 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8843 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8845 for ac_header in libxml/parser.h
8847 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8848 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8849 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8851 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 ac_res=`eval echo '${'$as_ac_Header'}'`
8855 { echo "$as_me:$LINENO: result: $ac_res" >&5
8856 echo "${ECHO_T}$ac_res" >&6; }
8857 else
8858 # Is the header compilable?
8859 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8861 cat >conftest.$ac_ext <<_ACEOF
8862 /* confdefs.h. */
8863 _ACEOF
8864 cat confdefs.h >>conftest.$ac_ext
8865 cat >>conftest.$ac_ext <<_ACEOF
8866 /* end confdefs.h. */
8867 $ac_includes_default
8868 #include <$ac_header>
8869 _ACEOF
8870 rm -f conftest.$ac_objext
8871 if { (ac_try="$ac_compile"
8872 case "(($ac_try" in
8873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8874 *) ac_try_echo=$ac_try;;
8875 esac
8876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8877 (eval "$ac_compile") 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } && {
8884 test -z "$ac_c_werror_flag" ||
8885 test ! -s conftest.err
8886 } && test -s conftest.$ac_objext; then
8887 ac_header_compiler=yes
8888 else
8889 echo "$as_me: failed program was:" >&5
8890 sed 's/^/| /' conftest.$ac_ext >&5
8892 ac_header_compiler=no
8895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8896 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8897 echo "${ECHO_T}$ac_header_compiler" >&6; }
8899 # Is the header present?
8900 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8902 cat >conftest.$ac_ext <<_ACEOF
8903 /* confdefs.h. */
8904 _ACEOF
8905 cat confdefs.h >>conftest.$ac_ext
8906 cat >>conftest.$ac_ext <<_ACEOF
8907 /* end confdefs.h. */
8908 #include <$ac_header>
8909 _ACEOF
8910 if { (ac_try="$ac_cpp conftest.$ac_ext"
8911 case "(($ac_try" in
8912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8913 *) ac_try_echo=$ac_try;;
8914 esac
8915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8916 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8917 ac_status=$?
8918 grep -v '^ *+' conftest.er1 >conftest.err
8919 rm -f conftest.er1
8920 cat conftest.err >&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); } >/dev/null && {
8923 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8924 test ! -s conftest.err
8925 }; then
8926 ac_header_preproc=yes
8927 else
8928 echo "$as_me: failed program was:" >&5
8929 sed 's/^/| /' conftest.$ac_ext >&5
8931 ac_header_preproc=no
8934 rm -f conftest.err conftest.$ac_ext
8935 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8936 echo "${ECHO_T}$ac_header_preproc" >&6; }
8938 # So? What about this header?
8939 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8940 yes:no: )
8941 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8942 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8943 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8944 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8945 ac_header_preproc=yes
8947 no:yes:* )
8948 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8949 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8950 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8951 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8952 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8953 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8954 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8955 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8956 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8957 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8958 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8959 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8960 ( cat <<\_ASBOX
8961 ## ------------------------------------ ##
8962 ## Report this to wine-devel@winehq.org ##
8963 ## ------------------------------------ ##
8964 _ASBOX
8965 ) | sed "s/^/$as_me: WARNING: /" >&2
8967 esac
8968 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8971 echo $ECHO_N "(cached) $ECHO_C" >&6
8972 else
8973 eval "$as_ac_Header=\$ac_header_preproc"
8975 ac_res=`eval echo '${'$as_ac_Header'}'`
8976 { echo "$as_me:$LINENO: result: $ac_res" >&5
8977 echo "${ECHO_T}$ac_res" >&6; }
8980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8981 cat >>confdefs.h <<_ACEOF
8982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8983 _ACEOF
8984 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8985 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8986 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6
8988 else
8989 ac_check_lib_save_LIBS=$LIBS
8990 LIBS="-lxml2 $ac_xml_libs $LIBS"
8991 cat >conftest.$ac_ext <<_ACEOF
8992 /* confdefs.h. */
8993 _ACEOF
8994 cat confdefs.h >>conftest.$ac_ext
8995 cat >>conftest.$ac_ext <<_ACEOF
8996 /* end confdefs.h. */
8998 /* Override any GCC internal prototype to avoid an error.
8999 Use char because int might match the return type of a GCC
9000 builtin and then its argument prototype would still apply. */
9001 #ifdef __cplusplus
9002 extern "C"
9003 #endif
9004 char xmlParseMemory ();
9006 main ()
9008 return xmlParseMemory ();
9010 return 0;
9012 _ACEOF
9013 rm -f conftest.$ac_objext conftest$ac_exeext
9014 if { (ac_try="$ac_link"
9015 case "(($ac_try" in
9016 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9017 *) ac_try_echo=$ac_try;;
9018 esac
9019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9020 (eval "$ac_link") 2>conftest.er1
9021 ac_status=$?
9022 grep -v '^ *+' conftest.er1 >conftest.err
9023 rm -f conftest.er1
9024 cat conftest.err >&5
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); } && {
9027 test -z "$ac_c_werror_flag" ||
9028 test ! -s conftest.err
9029 } && test -s conftest$ac_exeext &&
9030 $as_test_x conftest$ac_exeext; then
9031 ac_cv_lib_xml2_xmlParseMemory=yes
9032 else
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_cv_lib_xml2_xmlParseMemory=no
9039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9040 conftest$ac_exeext conftest.$ac_ext
9041 LIBS=$ac_check_lib_save_LIBS
9043 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9044 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9045 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9047 cat >>confdefs.h <<\_ACEOF
9048 #define HAVE_LIBXML2 1
9049 _ACEOF
9051 XML2LIBS="$ac_xml_libs"
9052 XML2INCL="$ac_xml_cflags"
9055 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9056 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9057 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9058 echo $ECHO_N "(cached) $ECHO_C" >&6
9059 else
9060 ac_check_lib_save_LIBS=$LIBS
9061 LIBS="-lxml2 $ac_xml_libs $LIBS"
9062 cat >conftest.$ac_ext <<_ACEOF
9063 /* confdefs.h. */
9064 _ACEOF
9065 cat confdefs.h >>conftest.$ac_ext
9066 cat >>conftest.$ac_ext <<_ACEOF
9067 /* end confdefs.h. */
9069 /* Override any GCC internal prototype to avoid an error.
9070 Use char because int might match the return type of a GCC
9071 builtin and then its argument prototype would still apply. */
9072 #ifdef __cplusplus
9073 extern "C"
9074 #endif
9075 char xmlReadMemory ();
9077 main ()
9079 return xmlReadMemory ();
9081 return 0;
9083 _ACEOF
9084 rm -f conftest.$ac_objext conftest$ac_exeext
9085 if { (ac_try="$ac_link"
9086 case "(($ac_try" in
9087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9088 *) ac_try_echo=$ac_try;;
9089 esac
9090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9091 (eval "$ac_link") 2>conftest.er1
9092 ac_status=$?
9093 grep -v '^ *+' conftest.er1 >conftest.err
9094 rm -f conftest.er1
9095 cat conftest.err >&5
9096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9097 (exit $ac_status); } && {
9098 test -z "$ac_c_werror_flag" ||
9099 test ! -s conftest.err
9100 } && test -s conftest$ac_exeext &&
9101 $as_test_x conftest$ac_exeext; then
9102 ac_cv_lib_xml2_xmlReadMemory=yes
9103 else
9104 echo "$as_me: failed program was:" >&5
9105 sed 's/^/| /' conftest.$ac_ext >&5
9107 ac_cv_lib_xml2_xmlReadMemory=no
9110 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9111 conftest$ac_exeext conftest.$ac_ext
9112 LIBS=$ac_check_lib_save_LIBS
9114 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9115 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9116 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9118 cat >>confdefs.h <<\_ACEOF
9119 #define HAVE_XMLREADMEMORY 1
9120 _ACEOF
9124 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9125 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9126 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9127 echo $ECHO_N "(cached) $ECHO_C" >&6
9128 else
9129 ac_check_lib_save_LIBS=$LIBS
9130 LIBS="-lxml2 $ac_xml_libs $LIBS"
9131 cat >conftest.$ac_ext <<_ACEOF
9132 /* confdefs.h. */
9133 _ACEOF
9134 cat confdefs.h >>conftest.$ac_ext
9135 cat >>conftest.$ac_ext <<_ACEOF
9136 /* end confdefs.h. */
9138 /* Override any GCC internal prototype to avoid an error.
9139 Use char because int might match the return type of a GCC
9140 builtin and then its argument prototype would still apply. */
9141 #ifdef __cplusplus
9142 extern "C"
9143 #endif
9144 char xmlNewDocPI ();
9146 main ()
9148 return xmlNewDocPI ();
9150 return 0;
9152 _ACEOF
9153 rm -f conftest.$ac_objext conftest$ac_exeext
9154 if { (ac_try="$ac_link"
9155 case "(($ac_try" in
9156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9157 *) ac_try_echo=$ac_try;;
9158 esac
9159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9160 (eval "$ac_link") 2>conftest.er1
9161 ac_status=$?
9162 grep -v '^ *+' conftest.er1 >conftest.err
9163 rm -f conftest.er1
9164 cat conftest.err >&5
9165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9166 (exit $ac_status); } && {
9167 test -z "$ac_c_werror_flag" ||
9168 test ! -s conftest.err
9169 } && test -s conftest$ac_exeext &&
9170 $as_test_x conftest$ac_exeext; then
9171 ac_cv_lib_xml2_xmlNewDocPI=yes
9172 else
9173 echo "$as_me: failed program was:" >&5
9174 sed 's/^/| /' conftest.$ac_ext >&5
9176 ac_cv_lib_xml2_xmlNewDocPI=no
9179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9180 conftest$ac_exeext conftest.$ac_ext
9181 LIBS=$ac_check_lib_save_LIBS
9183 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9184 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9185 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9187 cat >>confdefs.h <<\_ACEOF
9188 #define HAVE_XMLNEWDOCPI 1
9189 _ACEOF
9196 done
9198 CPPFLAGS="$ac_save_CPPFLAGS"
9199 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9200 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9201 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9204 for ac_header in libxslt/pattern.h libxslt/transform.h
9206 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9207 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9208 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9209 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9210 echo $ECHO_N "(cached) $ECHO_C" >&6
9211 else
9212 cat >conftest.$ac_ext <<_ACEOF
9213 /* confdefs.h. */
9214 _ACEOF
9215 cat confdefs.h >>conftest.$ac_ext
9216 cat >>conftest.$ac_ext <<_ACEOF
9217 /* end confdefs.h. */
9218 #ifdef HAVE_LIBXSLT_PATTERN_H
9219 # include <libxslt/pattern.h>
9220 #endif
9222 #include <$ac_header>
9223 _ACEOF
9224 rm -f conftest.$ac_objext
9225 if { (ac_try="$ac_compile"
9226 case "(($ac_try" in
9227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9228 *) ac_try_echo=$ac_try;;
9229 esac
9230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9231 (eval "$ac_compile") 2>conftest.er1
9232 ac_status=$?
9233 grep -v '^ *+' conftest.er1 >conftest.err
9234 rm -f conftest.er1
9235 cat conftest.err >&5
9236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9237 (exit $ac_status); } && {
9238 test -z "$ac_c_werror_flag" ||
9239 test ! -s conftest.err
9240 } && test -s conftest.$ac_objext; then
9241 eval "$as_ac_Header=yes"
9242 else
9243 echo "$as_me: failed program was:" >&5
9244 sed 's/^/| /' conftest.$ac_ext >&5
9246 eval "$as_ac_Header=no"
9249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9251 ac_res=`eval echo '${'$as_ac_Header'}'`
9252 { echo "$as_me:$LINENO: result: $ac_res" >&5
9253 echo "${ECHO_T}$ac_res" >&6; }
9254 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9255 cat >>confdefs.h <<_ACEOF
9256 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9257 _ACEOF
9258 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9259 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9260 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9261 echo $ECHO_N "(cached) $ECHO_C" >&6
9262 else
9263 ac_check_lib_save_LIBS=$LIBS
9264 LIBS="-lxslt $ac_xslt_libs $LIBS"
9265 cat >conftest.$ac_ext <<_ACEOF
9266 /* confdefs.h. */
9267 _ACEOF
9268 cat confdefs.h >>conftest.$ac_ext
9269 cat >>conftest.$ac_ext <<_ACEOF
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9275 #ifdef __cplusplus
9276 extern "C"
9277 #endif
9278 char xsltCompilePattern ();
9280 main ()
9282 return xsltCompilePattern ();
9284 return 0;
9286 _ACEOF
9287 rm -f conftest.$ac_objext conftest$ac_exeext
9288 if { (ac_try="$ac_link"
9289 case "(($ac_try" in
9290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9291 *) ac_try_echo=$ac_try;;
9292 esac
9293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9294 (eval "$ac_link") 2>conftest.er1
9295 ac_status=$?
9296 grep -v '^ *+' conftest.er1 >conftest.err
9297 rm -f conftest.er1
9298 cat conftest.err >&5
9299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9300 (exit $ac_status); } && {
9301 test -z "$ac_c_werror_flag" ||
9302 test ! -s conftest.err
9303 } && test -s conftest$ac_exeext &&
9304 $as_test_x conftest$ac_exeext; then
9305 ac_cv_lib_xslt_xsltCompilePattern=yes
9306 else
9307 echo "$as_me: failed program was:" >&5
9308 sed 's/^/| /' conftest.$ac_ext >&5
9310 ac_cv_lib_xslt_xsltCompilePattern=no
9313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9314 conftest$ac_exeext conftest.$ac_ext
9315 LIBS=$ac_check_lib_save_LIBS
9317 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9318 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9319 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9321 cat >>confdefs.h <<\_ACEOF
9322 #define HAVE_LIBXSLT 1
9323 _ACEOF
9325 XSLTLIBS="$ac_xslt_libs"
9326 XSLTINCL="$ac_xslt_cflags"
9332 done
9334 CPPFLAGS="$ac_save_CPPFLAGS"
9337 HALINCL=""
9339 if test "$PKG_CONFIG" != "false"
9340 then
9341 ac_save_CPPFLAGS="$CPPFLAGS"
9342 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9343 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9344 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9347 for ac_header in dbus/dbus.h hal/libhal.h
9349 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9354 echo $ECHO_N "(cached) $ECHO_C" >&6
9356 ac_res=`eval echo '${'$as_ac_Header'}'`
9357 { echo "$as_me:$LINENO: result: $ac_res" >&5
9358 echo "${ECHO_T}$ac_res" >&6; }
9359 else
9360 # Is the header compilable?
9361 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9362 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9363 cat >conftest.$ac_ext <<_ACEOF
9364 /* confdefs.h. */
9365 _ACEOF
9366 cat confdefs.h >>conftest.$ac_ext
9367 cat >>conftest.$ac_ext <<_ACEOF
9368 /* end confdefs.h. */
9369 $ac_includes_default
9370 #include <$ac_header>
9371 _ACEOF
9372 rm -f conftest.$ac_objext
9373 if { (ac_try="$ac_compile"
9374 case "(($ac_try" in
9375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9376 *) ac_try_echo=$ac_try;;
9377 esac
9378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9379 (eval "$ac_compile") 2>conftest.er1
9380 ac_status=$?
9381 grep -v '^ *+' conftest.er1 >conftest.err
9382 rm -f conftest.er1
9383 cat conftest.err >&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); } && {
9386 test -z "$ac_c_werror_flag" ||
9387 test ! -s conftest.err
9388 } && test -s conftest.$ac_objext; then
9389 ac_header_compiler=yes
9390 else
9391 echo "$as_me: failed program was:" >&5
9392 sed 's/^/| /' conftest.$ac_ext >&5
9394 ac_header_compiler=no
9397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9398 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9399 echo "${ECHO_T}$ac_header_compiler" >&6; }
9401 # Is the header present?
9402 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9403 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9404 cat >conftest.$ac_ext <<_ACEOF
9405 /* confdefs.h. */
9406 _ACEOF
9407 cat confdefs.h >>conftest.$ac_ext
9408 cat >>conftest.$ac_ext <<_ACEOF
9409 /* end confdefs.h. */
9410 #include <$ac_header>
9411 _ACEOF
9412 if { (ac_try="$ac_cpp conftest.$ac_ext"
9413 case "(($ac_try" in
9414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9415 *) ac_try_echo=$ac_try;;
9416 esac
9417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9418 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9419 ac_status=$?
9420 grep -v '^ *+' conftest.er1 >conftest.err
9421 rm -f conftest.er1
9422 cat conftest.err >&5
9423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9424 (exit $ac_status); } >/dev/null && {
9425 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9426 test ! -s conftest.err
9427 }; then
9428 ac_header_preproc=yes
9429 else
9430 echo "$as_me: failed program was:" >&5
9431 sed 's/^/| /' conftest.$ac_ext >&5
9433 ac_header_preproc=no
9436 rm -f conftest.err conftest.$ac_ext
9437 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9438 echo "${ECHO_T}$ac_header_preproc" >&6; }
9440 # So? What about this header?
9441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9442 yes:no: )
9443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9447 ac_header_preproc=yes
9449 no:yes:* )
9450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9453 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9457 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9462 ( cat <<\_ASBOX
9463 ## ------------------------------------ ##
9464 ## Report this to wine-devel@winehq.org ##
9465 ## ------------------------------------ ##
9466 _ASBOX
9467 ) | sed "s/^/$as_me: WARNING: /" >&2
9469 esac
9470 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9472 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9473 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 else
9475 eval "$as_ac_Header=\$ac_header_preproc"
9477 ac_res=`eval echo '${'$as_ac_Header'}'`
9478 { echo "$as_me:$LINENO: result: $ac_res" >&5
9479 echo "${ECHO_T}$ac_res" >&6; }
9482 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9483 cat >>confdefs.h <<_ACEOF
9484 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9485 _ACEOF
9489 done
9491 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9492 then
9493 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9494 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9495 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9497 else
9498 ac_check_lib_save_LIBS=$LIBS
9499 LIBS="-lhal $LIBS"
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9507 /* Override any GCC internal prototype to avoid an error.
9508 Use char because int might match the return type of a GCC
9509 builtin and then its argument prototype would still apply. */
9510 #ifdef __cplusplus
9511 extern "C"
9512 #endif
9513 char libhal_ctx_new ();
9515 main ()
9517 return libhal_ctx_new ();
9519 return 0;
9521 _ACEOF
9522 rm -f conftest.$ac_objext conftest$ac_exeext
9523 if { (ac_try="$ac_link"
9524 case "(($ac_try" in
9525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9526 *) ac_try_echo=$ac_try;;
9527 esac
9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9529 (eval "$ac_link") 2>conftest.er1
9530 ac_status=$?
9531 grep -v '^ *+' conftest.er1 >conftest.err
9532 rm -f conftest.er1
9533 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } && {
9536 test -z "$ac_c_werror_flag" ||
9537 test ! -s conftest.err
9538 } && test -s conftest$ac_exeext &&
9539 $as_test_x conftest$ac_exeext; then
9540 ac_cv_lib_hal_libhal_ctx_new=yes
9541 else
9542 echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9545 ac_cv_lib_hal_libhal_ctx_new=no
9548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9549 conftest$ac_exeext conftest.$ac_ext
9550 LIBS=$ac_check_lib_save_LIBS
9552 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9553 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9554 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9555 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9556 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9557 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9558 echo $ECHO_N "(cached) $ECHO_C" >&6
9559 else
9560 ac_check_lib_save_LIBS=$LIBS
9561 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9562 cat >conftest.$ac_ext <<_ACEOF
9563 /* confdefs.h. */
9564 _ACEOF
9565 cat confdefs.h >>conftest.$ac_ext
9566 cat >>conftest.$ac_ext <<_ACEOF
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9572 #ifdef __cplusplus
9573 extern "C"
9574 #endif
9575 char dbus_connection_close ();
9577 main ()
9579 return dbus_connection_close ();
9581 return 0;
9583 _ACEOF
9584 rm -f conftest.$ac_objext conftest$ac_exeext
9585 if { (ac_try="$ac_link"
9586 case "(($ac_try" in
9587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9588 *) ac_try_echo=$ac_try;;
9589 esac
9590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9591 (eval "$ac_link") 2>conftest.er1
9592 ac_status=$?
9593 grep -v '^ *+' conftest.er1 >conftest.err
9594 rm -f conftest.er1
9595 cat conftest.err >&5
9596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9597 (exit $ac_status); } && {
9598 test -z "$ac_c_werror_flag" ||
9599 test ! -s conftest.err
9600 } && test -s conftest$ac_exeext &&
9601 $as_test_x conftest$ac_exeext; then
9602 ac_cv_lib_dbus_1_dbus_connection_close=yes
9603 else
9604 echo "$as_me: failed program was:" >&5
9605 sed 's/^/| /' conftest.$ac_ext >&5
9607 ac_cv_lib_dbus_1_dbus_connection_close=no
9610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9611 conftest$ac_exeext conftest.$ac_ext
9612 LIBS=$ac_check_lib_save_LIBS
9614 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9615 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9616 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9618 cat >>confdefs.h <<\_ACEOF
9619 #define HAVE_LIBHAL 1
9620 _ACEOF
9622 HALINCL="$ac_hal_cflags"
9628 CPPFLAGS="$ac_save_CPPFLAGS"
9631 CURSESLIBS=""
9632 if test "$ac_cv_header_ncurses_h" = "yes"
9633 then
9634 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9635 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9636 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 else
9639 ac_check_lib_save_LIBS=$LIBS
9640 LIBS="-lncurses $LIBS"
9641 cat >conftest.$ac_ext <<_ACEOF
9642 /* confdefs.h. */
9643 _ACEOF
9644 cat confdefs.h >>conftest.$ac_ext
9645 cat >>conftest.$ac_ext <<_ACEOF
9646 /* end confdefs.h. */
9648 /* Override any GCC internal prototype to avoid an error.
9649 Use char because int might match the return type of a GCC
9650 builtin and then its argument prototype would still apply. */
9651 #ifdef __cplusplus
9652 extern "C"
9653 #endif
9654 char waddch ();
9656 main ()
9658 return waddch ();
9660 return 0;
9662 _ACEOF
9663 rm -f conftest.$ac_objext conftest$ac_exeext
9664 if { (ac_try="$ac_link"
9665 case "(($ac_try" in
9666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9667 *) ac_try_echo=$ac_try;;
9668 esac
9669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9670 (eval "$ac_link") 2>conftest.er1
9671 ac_status=$?
9672 grep -v '^ *+' conftest.er1 >conftest.err
9673 rm -f conftest.er1
9674 cat conftest.err >&5
9675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9676 (exit $ac_status); } && {
9677 test -z "$ac_c_werror_flag" ||
9678 test ! -s conftest.err
9679 } && test -s conftest$ac_exeext &&
9680 $as_test_x conftest$ac_exeext; then
9681 ac_cv_lib_ncurses_waddch=yes
9682 else
9683 echo "$as_me: failed program was:" >&5
9684 sed 's/^/| /' conftest.$ac_ext >&5
9686 ac_cv_lib_ncurses_waddch=no
9689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9690 conftest$ac_exeext conftest.$ac_ext
9691 LIBS=$ac_check_lib_save_LIBS
9693 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9694 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9695 if test $ac_cv_lib_ncurses_waddch = yes; then
9696 CURSESLIBS="-lncurses"
9699 elif test "$ac_cv_header_curses_h" = "yes"
9700 then
9701 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9702 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9703 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9705 else
9706 ac_check_lib_save_LIBS=$LIBS
9707 LIBS="-lcurses $LIBS"
9708 cat >conftest.$ac_ext <<_ACEOF
9709 /* confdefs.h. */
9710 _ACEOF
9711 cat confdefs.h >>conftest.$ac_ext
9712 cat >>conftest.$ac_ext <<_ACEOF
9713 /* end confdefs.h. */
9715 /* Override any GCC internal prototype to avoid an error.
9716 Use char because int might match the return type of a GCC
9717 builtin and then its argument prototype would still apply. */
9718 #ifdef __cplusplus
9719 extern "C"
9720 #endif
9721 char waddch ();
9723 main ()
9725 return waddch ();
9727 return 0;
9729 _ACEOF
9730 rm -f conftest.$ac_objext conftest$ac_exeext
9731 if { (ac_try="$ac_link"
9732 case "(($ac_try" in
9733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9734 *) ac_try_echo=$ac_try;;
9735 esac
9736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9737 (eval "$ac_link") 2>conftest.er1
9738 ac_status=$?
9739 grep -v '^ *+' conftest.er1 >conftest.err
9740 rm -f conftest.er1
9741 cat conftest.err >&5
9742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9743 (exit $ac_status); } && {
9744 test -z "$ac_c_werror_flag" ||
9745 test ! -s conftest.err
9746 } && test -s conftest$ac_exeext &&
9747 $as_test_x conftest$ac_exeext; then
9748 ac_cv_lib_curses_waddch=yes
9749 else
9750 echo "$as_me: failed program was:" >&5
9751 sed 's/^/| /' conftest.$ac_ext >&5
9753 ac_cv_lib_curses_waddch=no
9756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9757 conftest$ac_exeext conftest.$ac_ext
9758 LIBS=$ac_check_lib_save_LIBS
9760 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9761 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9762 if test $ac_cv_lib_curses_waddch = yes; then
9763 CURSESLIBS="-lcurses"
9767 ac_save_LIBS="$LIBS"
9768 LIBS="$LIBS $CURSESLIBS"
9770 for ac_func in mousemask
9772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9773 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9775 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9776 echo $ECHO_N "(cached) $ECHO_C" >&6
9777 else
9778 cat >conftest.$ac_ext <<_ACEOF
9779 /* confdefs.h. */
9780 _ACEOF
9781 cat confdefs.h >>conftest.$ac_ext
9782 cat >>conftest.$ac_ext <<_ACEOF
9783 /* end confdefs.h. */
9784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9786 #define $ac_func innocuous_$ac_func
9788 /* System header to define __stub macros and hopefully few prototypes,
9789 which can conflict with char $ac_func (); below.
9790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9791 <limits.h> exists even on freestanding compilers. */
9793 #ifdef __STDC__
9794 # include <limits.h>
9795 #else
9796 # include <assert.h>
9797 #endif
9799 #undef $ac_func
9801 /* Override any GCC internal prototype to avoid an error.
9802 Use char because int might match the return type of a GCC
9803 builtin and then its argument prototype would still apply. */
9804 #ifdef __cplusplus
9805 extern "C"
9806 #endif
9807 char $ac_func ();
9808 /* The GNU C library defines this for functions which it implements
9809 to always fail with ENOSYS. Some functions are actually named
9810 something starting with __ and the normal name is an alias. */
9811 #if defined __stub_$ac_func || defined __stub___$ac_func
9812 choke me
9813 #endif
9816 main ()
9818 return $ac_func ();
9820 return 0;
9822 _ACEOF
9823 rm -f conftest.$ac_objext conftest$ac_exeext
9824 if { (ac_try="$ac_link"
9825 case "(($ac_try" in
9826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9827 *) ac_try_echo=$ac_try;;
9828 esac
9829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9830 (eval "$ac_link") 2>conftest.er1
9831 ac_status=$?
9832 grep -v '^ *+' conftest.er1 >conftest.err
9833 rm -f conftest.er1
9834 cat conftest.err >&5
9835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9836 (exit $ac_status); } && {
9837 test -z "$ac_c_werror_flag" ||
9838 test ! -s conftest.err
9839 } && test -s conftest$ac_exeext &&
9840 $as_test_x conftest$ac_exeext; then
9841 eval "$as_ac_var=yes"
9842 else
9843 echo "$as_me: failed program was:" >&5
9844 sed 's/^/| /' conftest.$ac_ext >&5
9846 eval "$as_ac_var=no"
9849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9850 conftest$ac_exeext conftest.$ac_ext
9852 ac_res=`eval echo '${'$as_ac_var'}'`
9853 { echo "$as_me:$LINENO: result: $ac_res" >&5
9854 echo "${ECHO_T}$ac_res" >&6; }
9855 if test `eval echo '${'$as_ac_var'}'` = yes; then
9856 cat >>confdefs.h <<_ACEOF
9857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9858 _ACEOF
9861 done
9863 LIBS="$ac_save_LIBS"
9865 # Extract the first word of "sane-config", so it can be a program name with args.
9866 set dummy sane-config; ac_word=$2
9867 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9869 if test "${ac_cv_prog_sane_devel+set}" = set; then
9870 echo $ECHO_N "(cached) $ECHO_C" >&6
9871 else
9872 if test -n "$sane_devel"; then
9873 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9874 else
9875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9876 for as_dir in $PATH
9878 IFS=$as_save_IFS
9879 test -z "$as_dir" && as_dir=.
9880 for ac_exec_ext in '' $ac_executable_extensions; do
9881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9882 ac_cv_prog_sane_devel="sane-config"
9883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9884 break 2
9886 done
9887 done
9888 IFS=$as_save_IFS
9890 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9893 sane_devel=$ac_cv_prog_sane_devel
9894 if test -n "$sane_devel"; then
9895 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9896 echo "${ECHO_T}$sane_devel" >&6; }
9897 else
9898 { echo "$as_me:$LINENO: result: no" >&5
9899 echo "${ECHO_T}no" >&6; }
9903 SANEINCL=""
9905 if test "$sane_devel" != "no"
9906 then
9907 SANEINCL="`$sane_devel --cflags`"
9908 ac_save_CPPFLAGS="$CPPFLAGS"
9909 CPPFLAGS="$CPPFLAGS $SANEINCL"
9910 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9911 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9912 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9913 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9914 echo $ECHO_N "(cached) $ECHO_C" >&6
9916 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9917 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9918 else
9919 # Is the header compilable?
9920 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9921 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9922 cat >conftest.$ac_ext <<_ACEOF
9923 /* confdefs.h. */
9924 _ACEOF
9925 cat confdefs.h >>conftest.$ac_ext
9926 cat >>conftest.$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9928 $ac_includes_default
9929 #include <sane/sane.h>
9930 _ACEOF
9931 rm -f conftest.$ac_objext
9932 if { (ac_try="$ac_compile"
9933 case "(($ac_try" in
9934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9935 *) ac_try_echo=$ac_try;;
9936 esac
9937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9938 (eval "$ac_compile") 2>conftest.er1
9939 ac_status=$?
9940 grep -v '^ *+' conftest.er1 >conftest.err
9941 rm -f conftest.er1
9942 cat conftest.err >&5
9943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9944 (exit $ac_status); } && {
9945 test -z "$ac_c_werror_flag" ||
9946 test ! -s conftest.err
9947 } && test -s conftest.$ac_objext; then
9948 ac_header_compiler=yes
9949 else
9950 echo "$as_me: failed program was:" >&5
9951 sed 's/^/| /' conftest.$ac_ext >&5
9953 ac_header_compiler=no
9956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9957 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9958 echo "${ECHO_T}$ac_header_compiler" >&6; }
9960 # Is the header present?
9961 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9962 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9963 cat >conftest.$ac_ext <<_ACEOF
9964 /* confdefs.h. */
9965 _ACEOF
9966 cat confdefs.h >>conftest.$ac_ext
9967 cat >>conftest.$ac_ext <<_ACEOF
9968 /* end confdefs.h. */
9969 #include <sane/sane.h>
9970 _ACEOF
9971 if { (ac_try="$ac_cpp conftest.$ac_ext"
9972 case "(($ac_try" in
9973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9974 *) ac_try_echo=$ac_try;;
9975 esac
9976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9978 ac_status=$?
9979 grep -v '^ *+' conftest.er1 >conftest.err
9980 rm -f conftest.er1
9981 cat conftest.err >&5
9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9983 (exit $ac_status); } >/dev/null && {
9984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9985 test ! -s conftest.err
9986 }; then
9987 ac_header_preproc=yes
9988 else
9989 echo "$as_me: failed program was:" >&5
9990 sed 's/^/| /' conftest.$ac_ext >&5
9992 ac_header_preproc=no
9995 rm -f conftest.err conftest.$ac_ext
9996 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9997 echo "${ECHO_T}$ac_header_preproc" >&6; }
9999 # So? What about this header?
10000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10001 yes:no: )
10002 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10003 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10004 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10005 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10006 ac_header_preproc=yes
10008 no:yes:* )
10009 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10010 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10011 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10012 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10013 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10014 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10015 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10016 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10017 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10018 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10019 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10020 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10021 ( cat <<\_ASBOX
10022 ## ------------------------------------ ##
10023 ## Report this to wine-devel@winehq.org ##
10024 ## ------------------------------------ ##
10025 _ASBOX
10026 ) | sed "s/^/$as_me: WARNING: /" >&2
10028 esac
10029 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10030 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10031 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10032 echo $ECHO_N "(cached) $ECHO_C" >&6
10033 else
10034 ac_cv_header_sane_sane_h=$ac_header_preproc
10036 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10037 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10040 if test $ac_cv_header_sane_sane_h = yes; then
10042 cat >>confdefs.h <<\_ACEOF
10043 #define HAVE_SANE 1
10044 _ACEOF
10046 else
10047 SANEINCL=""
10051 CPPFLAGS="$ac_save_CPPFLAGS"
10054 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10055 set dummy gphoto2-config; ac_word=$2
10056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10058 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10059 echo $ECHO_N "(cached) $ECHO_C" >&6
10060 else
10061 if test -n "$gphoto2_devel"; then
10062 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10063 else
10064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10065 for as_dir in $PATH
10067 IFS=$as_save_IFS
10068 test -z "$as_dir" && as_dir=.
10069 for ac_exec_ext in '' $ac_executable_extensions; do
10070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10071 ac_cv_prog_gphoto2_devel="gphoto2-config"
10072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10073 break 2
10075 done
10076 done
10077 IFS=$as_save_IFS
10079 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10082 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10083 if test -n "$gphoto2_devel"; then
10084 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10085 echo "${ECHO_T}$gphoto2_devel" >&6; }
10086 else
10087 { echo "$as_me:$LINENO: result: no" >&5
10088 echo "${ECHO_T}no" >&6; }
10092 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10093 set dummy gphoto2-port-config; ac_word=$2
10094 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10096 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10097 echo $ECHO_N "(cached) $ECHO_C" >&6
10098 else
10099 if test -n "$gphoto2port_devel"; then
10100 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10101 else
10102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10103 for as_dir in $PATH
10105 IFS=$as_save_IFS
10106 test -z "$as_dir" && as_dir=.
10107 for ac_exec_ext in '' $ac_executable_extensions; do
10108 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10109 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10111 break 2
10113 done
10114 done
10115 IFS=$as_save_IFS
10117 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10120 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10121 if test -n "$gphoto2port_devel"; then
10122 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10123 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10124 else
10125 { echo "$as_me:$LINENO: result: no" >&5
10126 echo "${ECHO_T}no" >&6; }
10130 GPHOTO2LIBS=""
10132 GPHOTO2INCL=""
10134 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10135 then
10136 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10137 GPHOTO2LIBS=""
10138 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10140 case "$i" in
10141 -L/usr/lib|-L/usr/lib64) ;;
10142 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10143 esac
10144 done
10145 ac_save_CPPFLAGS="$CPPFLAGS"
10146 ac_save_LIBS="$LIBS"
10147 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10148 LIBS="$LIBS $GPHOTO2LIBS"
10149 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10150 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10151 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10152 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10153 echo $ECHO_N "(cached) $ECHO_C" >&6
10155 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10156 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10157 else
10158 # Is the header compilable?
10159 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10160 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10161 cat >conftest.$ac_ext <<_ACEOF
10162 /* confdefs.h. */
10163 _ACEOF
10164 cat confdefs.h >>conftest.$ac_ext
10165 cat >>conftest.$ac_ext <<_ACEOF
10166 /* end confdefs.h. */
10167 $ac_includes_default
10168 #include <gphoto2-camera.h>
10169 _ACEOF
10170 rm -f conftest.$ac_objext
10171 if { (ac_try="$ac_compile"
10172 case "(($ac_try" in
10173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10174 *) ac_try_echo=$ac_try;;
10175 esac
10176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10177 (eval "$ac_compile") 2>conftest.er1
10178 ac_status=$?
10179 grep -v '^ *+' conftest.er1 >conftest.err
10180 rm -f conftest.er1
10181 cat conftest.err >&5
10182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10183 (exit $ac_status); } && {
10184 test -z "$ac_c_werror_flag" ||
10185 test ! -s conftest.err
10186 } && test -s conftest.$ac_objext; then
10187 ac_header_compiler=yes
10188 else
10189 echo "$as_me: failed program was:" >&5
10190 sed 's/^/| /' conftest.$ac_ext >&5
10192 ac_header_compiler=no
10195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10196 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10197 echo "${ECHO_T}$ac_header_compiler" >&6; }
10199 # Is the header present?
10200 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10201 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10202 cat >conftest.$ac_ext <<_ACEOF
10203 /* confdefs.h. */
10204 _ACEOF
10205 cat confdefs.h >>conftest.$ac_ext
10206 cat >>conftest.$ac_ext <<_ACEOF
10207 /* end confdefs.h. */
10208 #include <gphoto2-camera.h>
10209 _ACEOF
10210 if { (ac_try="$ac_cpp conftest.$ac_ext"
10211 case "(($ac_try" in
10212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10213 *) ac_try_echo=$ac_try;;
10214 esac
10215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10216 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10217 ac_status=$?
10218 grep -v '^ *+' conftest.er1 >conftest.err
10219 rm -f conftest.er1
10220 cat conftest.err >&5
10221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10222 (exit $ac_status); } >/dev/null && {
10223 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10224 test ! -s conftest.err
10225 }; then
10226 ac_header_preproc=yes
10227 else
10228 echo "$as_me: failed program was:" >&5
10229 sed 's/^/| /' conftest.$ac_ext >&5
10231 ac_header_preproc=no
10234 rm -f conftest.err conftest.$ac_ext
10235 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10236 echo "${ECHO_T}$ac_header_preproc" >&6; }
10238 # So? What about this header?
10239 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10240 yes:no: )
10241 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10242 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10243 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10244 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10245 ac_header_preproc=yes
10247 no:yes:* )
10248 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10249 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10250 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10251 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10252 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10253 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10255 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10256 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10257 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10258 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10259 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10260 ( cat <<\_ASBOX
10261 ## ------------------------------------ ##
10262 ## Report this to wine-devel@winehq.org ##
10263 ## ------------------------------------ ##
10264 _ASBOX
10265 ) | sed "s/^/$as_me: WARNING: /" >&2
10267 esac
10268 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10269 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10270 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10271 echo $ECHO_N "(cached) $ECHO_C" >&6
10272 else
10273 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10275 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10276 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10279 if test $ac_cv_header_gphoto2_camera_h = yes; then
10280 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10281 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10282 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10283 echo $ECHO_N "(cached) $ECHO_C" >&6
10284 else
10285 ac_check_lib_save_LIBS=$LIBS
10286 LIBS="-lgphoto2 $LIBS"
10287 cat >conftest.$ac_ext <<_ACEOF
10288 /* confdefs.h. */
10289 _ACEOF
10290 cat confdefs.h >>conftest.$ac_ext
10291 cat >>conftest.$ac_ext <<_ACEOF
10292 /* end confdefs.h. */
10294 /* Override any GCC internal prototype to avoid an error.
10295 Use char because int might match the return type of a GCC
10296 builtin and then its argument prototype would still apply. */
10297 #ifdef __cplusplus
10298 extern "C"
10299 #endif
10300 char gp_camera_new ();
10302 main ()
10304 return gp_camera_new ();
10306 return 0;
10308 _ACEOF
10309 rm -f conftest.$ac_objext conftest$ac_exeext
10310 if { (ac_try="$ac_link"
10311 case "(($ac_try" in
10312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10313 *) ac_try_echo=$ac_try;;
10314 esac
10315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10316 (eval "$ac_link") 2>conftest.er1
10317 ac_status=$?
10318 grep -v '^ *+' conftest.er1 >conftest.err
10319 rm -f conftest.er1
10320 cat conftest.err >&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } && {
10323 test -z "$ac_c_werror_flag" ||
10324 test ! -s conftest.err
10325 } && test -s conftest$ac_exeext &&
10326 $as_test_x conftest$ac_exeext; then
10327 ac_cv_lib_gphoto2_gp_camera_new=yes
10328 else
10329 echo "$as_me: failed program was:" >&5
10330 sed 's/^/| /' conftest.$ac_ext >&5
10332 ac_cv_lib_gphoto2_gp_camera_new=no
10335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10336 conftest$ac_exeext conftest.$ac_ext
10337 LIBS=$ac_check_lib_save_LIBS
10339 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10340 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10341 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10343 cat >>confdefs.h <<\_ACEOF
10344 #define HAVE_GPHOTO2 1
10345 _ACEOF
10347 else
10348 GPHOTO2LIBS=""
10349 GPHOTO2INCL=""
10352 else
10353 GPHOTO2LIBS=""
10354 GPHOTO2INCL=""
10358 LIBS="$ac_save_LIBS"
10359 CPPFLAGS="$ac_save_CPPFLAGS"
10362 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10363 then
10364 saved_libs="$LIBS"
10365 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
10366 if test -n "$ICU_LIB_DIR"
10367 then
10368 icu_libs="-L$ICU_LIB_DIR $icu_libs"
10370 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
10371 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
10372 LIBS="$saved_libs $icu_libs"
10373 if test "$cross_compiling" = yes; then
10374 { echo "$as_me:$LINENO: result: no" >&5
10375 echo "${ECHO_T}no" >&6; }
10376 else
10377 cat >conftest.$ac_ext <<_ACEOF
10378 /* confdefs.h. */
10379 _ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 #include <unicode/ubidi.h>
10385 main ()
10387 ubidi_open()
10389 return 0;
10391 _ACEOF
10392 rm -f conftest$ac_exeext
10393 if { (ac_try="$ac_link"
10394 case "(($ac_try" in
10395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10396 *) ac_try_echo=$ac_try;;
10397 esac
10398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10399 (eval "$ac_link") 2>&5
10400 ac_status=$?
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10403 { (case "(($ac_try" in
10404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10405 *) ac_try_echo=$ac_try;;
10406 esac
10407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10408 (eval "$ac_try") 2>&5
10409 ac_status=$?
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); }; }; then
10413 cat >>confdefs.h <<\_ACEOF
10414 #define HAVE_ICU 1
10415 _ACEOF
10417 ICULIBS="$icu_libs"
10419 { echo "$as_me:$LINENO: result: yes" >&5
10420 echo "${ECHO_T}yes" >&6; }
10421 else
10422 echo "$as_me: program exited with status $ac_status" >&5
10423 echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.$ac_ext >&5
10426 ( exit $ac_status )
10427 { echo "$as_me:$LINENO: result: no" >&5
10428 echo "${ECHO_T}no" >&6; }
10430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10434 LIBS="$saved_libs"
10437 RESOLVLIBS=""
10439 if test "$ac_cv_header_resolv_h" = "yes"
10440 then
10441 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10442 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10443 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10444 echo $ECHO_N "(cached) $ECHO_C" >&6
10445 else
10446 ac_check_lib_save_LIBS=$LIBS
10447 LIBS="-lresolv $LIBS"
10448 cat >conftest.$ac_ext <<_ACEOF
10449 /* confdefs.h. */
10450 _ACEOF
10451 cat confdefs.h >>conftest.$ac_ext
10452 cat >>conftest.$ac_ext <<_ACEOF
10453 /* end confdefs.h. */
10455 /* Override any GCC internal prototype to avoid an error.
10456 Use char because int might match the return type of a GCC
10457 builtin and then its argument prototype would still apply. */
10458 #ifdef __cplusplus
10459 extern "C"
10460 #endif
10461 char res_query ();
10463 main ()
10465 return res_query ();
10467 return 0;
10469 _ACEOF
10470 rm -f conftest.$ac_objext conftest$ac_exeext
10471 if { (ac_try="$ac_link"
10472 case "(($ac_try" in
10473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10474 *) ac_try_echo=$ac_try;;
10475 esac
10476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10477 (eval "$ac_link") 2>conftest.er1
10478 ac_status=$?
10479 grep -v '^ *+' conftest.er1 >conftest.err
10480 rm -f conftest.er1
10481 cat conftest.err >&5
10482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10483 (exit $ac_status); } && {
10484 test -z "$ac_c_werror_flag" ||
10485 test ! -s conftest.err
10486 } && test -s conftest$ac_exeext &&
10487 $as_test_x conftest$ac_exeext; then
10488 ac_cv_lib_resolv_res_query=yes
10489 else
10490 echo "$as_me: failed program was:" >&5
10491 sed 's/^/| /' conftest.$ac_ext >&5
10493 ac_cv_lib_resolv_res_query=no
10496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10497 conftest$ac_exeext conftest.$ac_ext
10498 LIBS=$ac_check_lib_save_LIBS
10500 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10501 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10502 if test $ac_cv_lib_resolv_res_query = yes; then
10504 cat >>confdefs.h <<\_ACEOF
10505 #define HAVE_RESOLV 1
10506 _ACEOF
10508 RESOLVLIBS="-lresolv"
10513 LCMSLIBS=""
10515 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10516 then
10517 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10518 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10519 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10520 echo $ECHO_N "(cached) $ECHO_C" >&6
10521 else
10522 ac_check_lib_save_LIBS=$LIBS
10523 LIBS="-llcms $LIBS"
10524 cat >conftest.$ac_ext <<_ACEOF
10525 /* confdefs.h. */
10526 _ACEOF
10527 cat confdefs.h >>conftest.$ac_ext
10528 cat >>conftest.$ac_ext <<_ACEOF
10529 /* end confdefs.h. */
10531 /* Override any GCC internal prototype to avoid an error.
10532 Use char because int might match the return type of a GCC
10533 builtin and then its argument prototype would still apply. */
10534 #ifdef __cplusplus
10535 extern "C"
10536 #endif
10537 char cmsOpenProfileFromFile ();
10539 main ()
10541 return cmsOpenProfileFromFile ();
10543 return 0;
10545 _ACEOF
10546 rm -f conftest.$ac_objext conftest$ac_exeext
10547 if { (ac_try="$ac_link"
10548 case "(($ac_try" in
10549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10550 *) ac_try_echo=$ac_try;;
10551 esac
10552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10553 (eval "$ac_link") 2>conftest.er1
10554 ac_status=$?
10555 grep -v '^ *+' conftest.er1 >conftest.err
10556 rm -f conftest.er1
10557 cat conftest.err >&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } && {
10560 test -z "$ac_c_werror_flag" ||
10561 test ! -s conftest.err
10562 } && test -s conftest$ac_exeext &&
10563 $as_test_x conftest$ac_exeext; then
10564 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10565 else
10566 echo "$as_me: failed program was:" >&5
10567 sed 's/^/| /' conftest.$ac_ext >&5
10569 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10573 conftest$ac_exeext conftest.$ac_ext
10574 LIBS=$ac_check_lib_save_LIBS
10576 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10577 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10578 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10580 cat >>confdefs.h <<\_ACEOF
10581 #define HAVE_LCMS 1
10582 _ACEOF
10584 LCMSLIBS="-llcms"
10589 LDAPLIBS=""
10591 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10592 then
10593 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10594 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10595 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10596 echo $ECHO_N "(cached) $ECHO_C" >&6
10597 else
10598 ac_check_lib_save_LIBS=$LIBS
10599 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10600 cat >conftest.$ac_ext <<_ACEOF
10601 /* confdefs.h. */
10602 _ACEOF
10603 cat confdefs.h >>conftest.$ac_ext
10604 cat >>conftest.$ac_ext <<_ACEOF
10605 /* end confdefs.h. */
10607 /* Override any GCC internal prototype to avoid an error.
10608 Use char because int might match the return type of a GCC
10609 builtin and then its argument prototype would still apply. */
10610 #ifdef __cplusplus
10611 extern "C"
10612 #endif
10613 char ldap_initialize ();
10615 main ()
10617 return ldap_initialize ();
10619 return 0;
10621 _ACEOF
10622 rm -f conftest.$ac_objext conftest$ac_exeext
10623 if { (ac_try="$ac_link"
10624 case "(($ac_try" in
10625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10626 *) ac_try_echo=$ac_try;;
10627 esac
10628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10629 (eval "$ac_link") 2>conftest.er1
10630 ac_status=$?
10631 grep -v '^ *+' conftest.er1 >conftest.err
10632 rm -f conftest.er1
10633 cat conftest.err >&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); } && {
10636 test -z "$ac_c_werror_flag" ||
10637 test ! -s conftest.err
10638 } && test -s conftest$ac_exeext &&
10639 $as_test_x conftest$ac_exeext; then
10640 ac_cv_lib_ldap_r_ldap_initialize=yes
10641 else
10642 echo "$as_me: failed program was:" >&5
10643 sed 's/^/| /' conftest.$ac_ext >&5
10645 ac_cv_lib_ldap_r_ldap_initialize=no
10648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10649 conftest$ac_exeext conftest.$ac_ext
10650 LIBS=$ac_check_lib_save_LIBS
10652 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10653 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10654 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10655 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10656 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10657 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10658 echo $ECHO_N "(cached) $ECHO_C" >&6
10659 else
10660 ac_check_lib_save_LIBS=$LIBS
10661 LIBS="-llber $LIBPTHREAD $LIBS"
10662 cat >conftest.$ac_ext <<_ACEOF
10663 /* confdefs.h. */
10664 _ACEOF
10665 cat confdefs.h >>conftest.$ac_ext
10666 cat >>conftest.$ac_ext <<_ACEOF
10667 /* end confdefs.h. */
10669 /* Override any GCC internal prototype to avoid an error.
10670 Use char because int might match the return type of a GCC
10671 builtin and then its argument prototype would still apply. */
10672 #ifdef __cplusplus
10673 extern "C"
10674 #endif
10675 char ber_init ();
10677 main ()
10679 return ber_init ();
10681 return 0;
10683 _ACEOF
10684 rm -f conftest.$ac_objext conftest$ac_exeext
10685 if { (ac_try="$ac_link"
10686 case "(($ac_try" in
10687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10688 *) ac_try_echo=$ac_try;;
10689 esac
10690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10691 (eval "$ac_link") 2>conftest.er1
10692 ac_status=$?
10693 grep -v '^ *+' conftest.er1 >conftest.err
10694 rm -f conftest.er1
10695 cat conftest.err >&5
10696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10697 (exit $ac_status); } && {
10698 test -z "$ac_c_werror_flag" ||
10699 test ! -s conftest.err
10700 } && test -s conftest$ac_exeext &&
10701 $as_test_x conftest$ac_exeext; then
10702 ac_cv_lib_lber_ber_init=yes
10703 else
10704 echo "$as_me: failed program was:" >&5
10705 sed 's/^/| /' conftest.$ac_ext >&5
10707 ac_cv_lib_lber_ber_init=no
10710 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_lib_save_LIBS
10714 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10715 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10716 if test $ac_cv_lib_lber_ber_init = yes; then
10718 cat >>confdefs.h <<\_ACEOF
10719 #define HAVE_LDAP 1
10720 _ACEOF
10722 LDAPLIBS="-lldap_r -llber"
10727 ac_wine_check_funcs_save_LIBS="$LIBS"
10728 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10733 for ac_func in \
10734 ldap_count_references \
10735 ldap_first_reference \
10736 ldap_next_reference \
10737 ldap_parse_reference
10739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10740 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10742 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10743 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 else
10745 cat >conftest.$ac_ext <<_ACEOF
10746 /* confdefs.h. */
10747 _ACEOF
10748 cat confdefs.h >>conftest.$ac_ext
10749 cat >>conftest.$ac_ext <<_ACEOF
10750 /* end confdefs.h. */
10751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10753 #define $ac_func innocuous_$ac_func
10755 /* System header to define __stub macros and hopefully few prototypes,
10756 which can conflict with char $ac_func (); below.
10757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10758 <limits.h> exists even on freestanding compilers. */
10760 #ifdef __STDC__
10761 # include <limits.h>
10762 #else
10763 # include <assert.h>
10764 #endif
10766 #undef $ac_func
10768 /* Override any GCC internal prototype to avoid an error.
10769 Use char because int might match the return type of a GCC
10770 builtin and then its argument prototype would still apply. */
10771 #ifdef __cplusplus
10772 extern "C"
10773 #endif
10774 char $ac_func ();
10775 /* The GNU C library defines this for functions which it implements
10776 to always fail with ENOSYS. Some functions are actually named
10777 something starting with __ and the normal name is an alias. */
10778 #if defined __stub_$ac_func || defined __stub___$ac_func
10779 choke me
10780 #endif
10783 main ()
10785 return $ac_func ();
10787 return 0;
10789 _ACEOF
10790 rm -f conftest.$ac_objext conftest$ac_exeext
10791 if { (ac_try="$ac_link"
10792 case "(($ac_try" in
10793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10794 *) ac_try_echo=$ac_try;;
10795 esac
10796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10797 (eval "$ac_link") 2>conftest.er1
10798 ac_status=$?
10799 grep -v '^ *+' conftest.er1 >conftest.err
10800 rm -f conftest.er1
10801 cat conftest.err >&5
10802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10803 (exit $ac_status); } && {
10804 test -z "$ac_c_werror_flag" ||
10805 test ! -s conftest.err
10806 } && test -s conftest$ac_exeext &&
10807 $as_test_x conftest$ac_exeext; then
10808 eval "$as_ac_var=yes"
10809 else
10810 echo "$as_me: failed program was:" >&5
10811 sed 's/^/| /' conftest.$ac_ext >&5
10813 eval "$as_ac_var=no"
10816 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10817 conftest$ac_exeext conftest.$ac_ext
10819 ac_res=`eval echo '${'$as_ac_var'}'`
10820 { echo "$as_me:$LINENO: result: $ac_res" >&5
10821 echo "${ECHO_T}$ac_res" >&6; }
10822 if test `eval echo '${'$as_ac_var'}'` = yes; then
10823 cat >>confdefs.h <<_ACEOF
10824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10825 _ACEOF
10828 done
10830 LIBS="$ac_wine_check_funcs_save_LIBS"
10833 FREETYPELIBS=""
10835 FREETYPEINCL=""
10837 # Extract the first word of "freetype-config", so it can be a program name with args.
10838 set dummy freetype-config; ac_word=$2
10839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10841 if test "${ac_cv_prog_ft_devel+set}" = set; then
10842 echo $ECHO_N "(cached) $ECHO_C" >&6
10843 else
10844 if test -n "$ft_devel"; then
10845 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10846 else
10847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10848 for as_dir in $PATH
10850 IFS=$as_save_IFS
10851 test -z "$as_dir" && as_dir=.
10852 for ac_exec_ext in '' $ac_executable_extensions; do
10853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10854 ac_cv_prog_ft_devel="freetype-config"
10855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10856 break 2
10858 done
10859 done
10860 IFS=$as_save_IFS
10862 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10865 ft_devel=$ac_cv_prog_ft_devel
10866 if test -n "$ft_devel"; then
10867 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10868 echo "${ECHO_T}$ft_devel" >&6; }
10869 else
10870 { echo "$as_me:$LINENO: result: no" >&5
10871 echo "${ECHO_T}no" >&6; }
10875 if test "$ft_devel" = "no"
10876 then
10877 # Extract the first word of "freetype2-config", so it can be a program name with args.
10878 set dummy freetype2-config; ac_word=$2
10879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10881 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10882 echo $ECHO_N "(cached) $ECHO_C" >&6
10883 else
10884 if test -n "$ft_devel2"; then
10885 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10886 else
10887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10888 for as_dir in $PATH
10890 IFS=$as_save_IFS
10891 test -z "$as_dir" && as_dir=.
10892 for ac_exec_ext in '' $ac_executable_extensions; do
10893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10894 ac_cv_prog_ft_devel2="freetype2-config"
10895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10896 break 2
10898 done
10899 done
10900 IFS=$as_save_IFS
10902 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10905 ft_devel2=$ac_cv_prog_ft_devel2
10906 if test -n "$ft_devel2"; then
10907 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10908 echo "${ECHO_T}$ft_devel2" >&6; }
10909 else
10910 { echo "$as_me:$LINENO: result: no" >&5
10911 echo "${ECHO_T}no" >&6; }
10915 if test "$ft_devel2" = "freetype2-config"
10916 then
10917 ft_devel=$ft_devel2
10921 if test "$ft_devel" = "no"
10922 then
10923 wine_cv_msg_freetype=yes
10924 else
10925 FREETYPELIBS=`$ft_devel --libs`
10926 FREETYPEINCL=`$ft_devel --cflags`
10927 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10928 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10929 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10930 echo $ECHO_N "(cached) $ECHO_C" >&6
10931 else
10932 ac_check_lib_save_LIBS=$LIBS
10933 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10934 cat >conftest.$ac_ext <<_ACEOF
10935 /* confdefs.h. */
10936 _ACEOF
10937 cat confdefs.h >>conftest.$ac_ext
10938 cat >>conftest.$ac_ext <<_ACEOF
10939 /* end confdefs.h. */
10941 /* Override any GCC internal prototype to avoid an error.
10942 Use char because int might match the return type of a GCC
10943 builtin and then its argument prototype would still apply. */
10944 #ifdef __cplusplus
10945 extern "C"
10946 #endif
10947 char FT_Init_FreeType ();
10949 main ()
10951 return FT_Init_FreeType ();
10953 return 0;
10955 _ACEOF
10956 rm -f conftest.$ac_objext conftest$ac_exeext
10957 if { (ac_try="$ac_link"
10958 case "(($ac_try" in
10959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10960 *) ac_try_echo=$ac_try;;
10961 esac
10962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10963 (eval "$ac_link") 2>conftest.er1
10964 ac_status=$?
10965 grep -v '^ *+' conftest.er1 >conftest.err
10966 rm -f conftest.er1
10967 cat conftest.err >&5
10968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10969 (exit $ac_status); } && {
10970 test -z "$ac_c_werror_flag" ||
10971 test ! -s conftest.err
10972 } && test -s conftest$ac_exeext &&
10973 $as_test_x conftest$ac_exeext; then
10974 ac_cv_lib_freetype_FT_Init_FreeType=yes
10975 else
10976 echo "$as_me: failed program was:" >&5
10977 sed 's/^/| /' conftest.$ac_ext >&5
10979 ac_cv_lib_freetype_FT_Init_FreeType=no
10982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10983 conftest$ac_exeext conftest.$ac_ext
10984 LIBS=$ac_check_lib_save_LIBS
10986 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10987 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10988 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10989 ft_lib=yes
10990 else
10991 ft_lib=no
10994 if test "$ft_lib" = "no"
10995 then
10996 wine_cv_msg_freetype=yes
10997 FREETYPELIBS=""
10998 FREETYPEINCL=""
10999 else
11000 ac_save_CPPFLAGS="$CPPFLAGS"
11001 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11013 for ac_header in ft2build.h \
11014 freetype/freetype.h \
11015 freetype/ftglyph.h \
11016 freetype/tttables.h \
11017 freetype/ftnames.h \
11018 freetype/ftsnames.h \
11019 freetype/ttnameid.h \
11020 freetype/ftoutln.h \
11021 freetype/ftwinfnt.h \
11022 freetype/ftmodapi.h \
11023 freetype/internal/sfnt.h
11025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11026 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11029 echo $ECHO_N "(cached) $ECHO_C" >&6
11030 else
11031 cat >conftest.$ac_ext <<_ACEOF
11032 /* confdefs.h. */
11033 _ACEOF
11034 cat confdefs.h >>conftest.$ac_ext
11035 cat >>conftest.$ac_ext <<_ACEOF
11036 /* end confdefs.h. */
11037 #if HAVE_FT2BUILD_H
11038 #include <ft2build.h>
11039 #endif
11041 #include <$ac_header>
11042 _ACEOF
11043 rm -f conftest.$ac_objext
11044 if { (ac_try="$ac_compile"
11045 case "(($ac_try" in
11046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11047 *) ac_try_echo=$ac_try;;
11048 esac
11049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11050 (eval "$ac_compile") 2>conftest.er1
11051 ac_status=$?
11052 grep -v '^ *+' conftest.er1 >conftest.err
11053 rm -f conftest.er1
11054 cat conftest.err >&5
11055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11056 (exit $ac_status); } && {
11057 test -z "$ac_c_werror_flag" ||
11058 test ! -s conftest.err
11059 } && test -s conftest.$ac_objext; then
11060 eval "$as_ac_Header=yes"
11061 else
11062 echo "$as_me: failed program was:" >&5
11063 sed 's/^/| /' conftest.$ac_ext >&5
11065 eval "$as_ac_Header=no"
11068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11070 ac_res=`eval echo '${'$as_ac_Header'}'`
11071 { echo "$as_me:$LINENO: result: $ac_res" >&5
11072 echo "${ECHO_T}$ac_res" >&6; }
11073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11074 cat >>confdefs.h <<_ACEOF
11075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11076 _ACEOF
11080 done
11082 cat >conftest.$ac_ext <<_ACEOF
11083 /* confdefs.h. */
11084 _ACEOF
11085 cat confdefs.h >>conftest.$ac_ext
11086 cat >>conftest.$ac_ext <<_ACEOF
11087 /* end confdefs.h. */
11088 #include <ft2build.h>
11089 #include <freetype/fttrigon.h>
11090 _ACEOF
11091 if { (ac_try="$ac_cpp conftest.$ac_ext"
11092 case "(($ac_try" in
11093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11094 *) ac_try_echo=$ac_try;;
11095 esac
11096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11097 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11098 ac_status=$?
11099 grep -v '^ *+' conftest.er1 >conftest.err
11100 rm -f conftest.er1
11101 cat conftest.err >&5
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); } >/dev/null && {
11104 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11105 test ! -s conftest.err
11106 }; then
11108 cat >>confdefs.h <<\_ACEOF
11109 #define HAVE_FREETYPE_FTTRIGON_H 1
11110 _ACEOF
11112 wine_cv_fttrigon=yes
11113 else
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.$ac_ext >&5
11117 wine_cv_fttrigon=no
11120 rm -f conftest.err conftest.$ac_ext
11121 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11122 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11123 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11125 else
11126 cat >conftest.$ac_ext <<_ACEOF
11127 /* confdefs.h. */
11128 _ACEOF
11129 cat confdefs.h >>conftest.$ac_ext
11130 cat >>conftest.$ac_ext <<_ACEOF
11131 /* end confdefs.h. */
11132 #include <freetype/ftmodapi.h>
11134 typedef FT_TrueTypeEngineType ac__type_new_;
11136 main ()
11138 if ((ac__type_new_ *) 0)
11139 return 0;
11140 if (sizeof (ac__type_new_))
11141 return 0;
11143 return 0;
11145 _ACEOF
11146 rm -f conftest.$ac_objext
11147 if { (ac_try="$ac_compile"
11148 case "(($ac_try" in
11149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11150 *) ac_try_echo=$ac_try;;
11151 esac
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_compile") 2>conftest.er1
11154 ac_status=$?
11155 grep -v '^ *+' conftest.er1 >conftest.err
11156 rm -f conftest.er1
11157 cat conftest.err >&5
11158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11159 (exit $ac_status); } && {
11160 test -z "$ac_c_werror_flag" ||
11161 test ! -s conftest.err
11162 } && test -s conftest.$ac_objext; then
11163 ac_cv_type_FT_TrueTypeEngineType=yes
11164 else
11165 echo "$as_me: failed program was:" >&5
11166 sed 's/^/| /' conftest.$ac_ext >&5
11168 ac_cv_type_FT_TrueTypeEngineType=no
11171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11173 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11174 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11175 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11177 cat >>confdefs.h <<_ACEOF
11178 #define HAVE_FT_TRUETYPEENGINETYPE 1
11179 _ACEOF
11184 ac_save_CFLAGS="$CFLAGS"
11185 CFLAGS="$CFLAGS $FREETYPELIBS"
11187 for ac_func in FT_Load_Sfnt_Table
11189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11192 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11193 echo $ECHO_N "(cached) $ECHO_C" >&6
11194 else
11195 cat >conftest.$ac_ext <<_ACEOF
11196 /* confdefs.h. */
11197 _ACEOF
11198 cat confdefs.h >>conftest.$ac_ext
11199 cat >>conftest.$ac_ext <<_ACEOF
11200 /* end confdefs.h. */
11201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11203 #define $ac_func innocuous_$ac_func
11205 /* System header to define __stub macros and hopefully few prototypes,
11206 which can conflict with char $ac_func (); below.
11207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11208 <limits.h> exists even on freestanding compilers. */
11210 #ifdef __STDC__
11211 # include <limits.h>
11212 #else
11213 # include <assert.h>
11214 #endif
11216 #undef $ac_func
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11221 #ifdef __cplusplus
11222 extern "C"
11223 #endif
11224 char $ac_func ();
11225 /* The GNU C library defines this for functions which it implements
11226 to always fail with ENOSYS. Some functions are actually named
11227 something starting with __ and the normal name is an alias. */
11228 #if defined __stub_$ac_func || defined __stub___$ac_func
11229 choke me
11230 #endif
11233 main ()
11235 return $ac_func ();
11237 return 0;
11239 _ACEOF
11240 rm -f conftest.$ac_objext conftest$ac_exeext
11241 if { (ac_try="$ac_link"
11242 case "(($ac_try" in
11243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11244 *) ac_try_echo=$ac_try;;
11245 esac
11246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11247 (eval "$ac_link") 2>conftest.er1
11248 ac_status=$?
11249 grep -v '^ *+' conftest.er1 >conftest.err
11250 rm -f conftest.er1
11251 cat conftest.err >&5
11252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11253 (exit $ac_status); } && {
11254 test -z "$ac_c_werror_flag" ||
11255 test ! -s conftest.err
11256 } && test -s conftest$ac_exeext &&
11257 $as_test_x conftest$ac_exeext; then
11258 eval "$as_ac_var=yes"
11259 else
11260 echo "$as_me: failed program was:" >&5
11261 sed 's/^/| /' conftest.$ac_ext >&5
11263 eval "$as_ac_var=no"
11266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11267 conftest$ac_exeext conftest.$ac_ext
11269 ac_res=`eval echo '${'$as_ac_var'}'`
11270 { echo "$as_me:$LINENO: result: $ac_res" >&5
11271 echo "${ECHO_T}$ac_res" >&6; }
11272 if test `eval echo '${'$as_ac_var'}'` = yes; then
11273 cat >>confdefs.h <<_ACEOF
11274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11275 _ACEOF
11278 done
11280 CFLAGS="$ac_save_CFLAGS"
11281 CPPFLAGS="$ac_save_CPPFLAGS"
11282 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11283 then
11285 cat >>confdefs.h <<\_ACEOF
11286 #define HAVE_FREETYPE 1
11287 _ACEOF
11289 wine_cv_msg_freetype=no
11290 else
11291 FREETYPELIBS=""
11292 FREETYPEINCL=""
11293 wine_cv_msg_freetype=yes
11298 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11299 then
11300 FONTSSUBDIRS="fonts"
11304 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11305 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11306 if test "${ac_cv_c_ppdev+set}" = set; then
11307 echo $ECHO_N "(cached) $ECHO_C" >&6
11308 else
11309 cat >conftest.$ac_ext <<_ACEOF
11310 /* confdefs.h. */
11311 _ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h. */
11315 #include <linux/ppdev.h>
11317 main ()
11319 ioctl (1,PPCLAIM,0)
11321 return 0;
11323 _ACEOF
11324 rm -f conftest.$ac_objext
11325 if { (ac_try="$ac_compile"
11326 case "(($ac_try" in
11327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11328 *) ac_try_echo=$ac_try;;
11329 esac
11330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11331 (eval "$ac_compile") 2>conftest.er1
11332 ac_status=$?
11333 grep -v '^ *+' conftest.er1 >conftest.err
11334 rm -f conftest.er1
11335 cat conftest.err >&5
11336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11337 (exit $ac_status); } && {
11338 test -z "$ac_c_werror_flag" ||
11339 test ! -s conftest.err
11340 } && test -s conftest.$ac_objext; then
11341 ac_cv_c_ppdev="yes"
11342 else
11343 echo "$as_me: failed program was:" >&5
11344 sed 's/^/| /' conftest.$ac_ext >&5
11346 ac_cv_c_ppdev="no"
11349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11351 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11352 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11353 if test "$ac_cv_c_ppdev" = "yes"
11354 then
11356 cat >>confdefs.h <<\_ACEOF
11357 #define HAVE_PPDEV 1
11358 _ACEOF
11362 { echo "$as_me:$LINENO: checking for va_copy" >&5
11363 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11364 if test "${ac_cv_c_va_copy+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11366 else
11367 cat >conftest.$ac_ext <<_ACEOF
11368 /* confdefs.h. */
11369 _ACEOF
11370 cat confdefs.h >>conftest.$ac_ext
11371 cat >>conftest.$ac_ext <<_ACEOF
11372 /* end confdefs.h. */
11373 #include <stdarg.h>
11375 main ()
11377 va_list ap1, ap2; va_copy(ap1,ap2);
11379 return 0;
11381 _ACEOF
11382 rm -f conftest.$ac_objext conftest$ac_exeext
11383 if { (ac_try="$ac_link"
11384 case "(($ac_try" in
11385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11386 *) ac_try_echo=$ac_try;;
11387 esac
11388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11389 (eval "$ac_link") 2>conftest.er1
11390 ac_status=$?
11391 grep -v '^ *+' conftest.er1 >conftest.err
11392 rm -f conftest.er1
11393 cat conftest.err >&5
11394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11395 (exit $ac_status); } && {
11396 test -z "$ac_c_werror_flag" ||
11397 test ! -s conftest.err
11398 } && test -s conftest$ac_exeext &&
11399 $as_test_x conftest$ac_exeext; then
11400 ac_cv_c_va_copy="yes"
11401 else
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 ac_cv_c_va_copy="no"
11408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11409 conftest$ac_exeext conftest.$ac_ext
11412 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11413 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11414 if test "$ac_cv_c_va_copy" = "yes"
11415 then
11417 cat >>confdefs.h <<\_ACEOF
11418 #define HAVE_VA_COPY 1
11419 _ACEOF
11422 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11423 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11424 if test "${ac_cv_c___va_copy+set}" = set; then
11425 echo $ECHO_N "(cached) $ECHO_C" >&6
11426 else
11427 cat >conftest.$ac_ext <<_ACEOF
11428 /* confdefs.h. */
11429 _ACEOF
11430 cat confdefs.h >>conftest.$ac_ext
11431 cat >>conftest.$ac_ext <<_ACEOF
11432 /* end confdefs.h. */
11433 #include <stdarg.h>
11435 main ()
11437 va_list ap1, ap2; __va_copy(ap1,ap2);
11439 return 0;
11441 _ACEOF
11442 rm -f conftest.$ac_objext conftest$ac_exeext
11443 if { (ac_try="$ac_link"
11444 case "(($ac_try" in
11445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11446 *) ac_try_echo=$ac_try;;
11447 esac
11448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11449 (eval "$ac_link") 2>conftest.er1
11450 ac_status=$?
11451 grep -v '^ *+' conftest.er1 >conftest.err
11452 rm -f conftest.er1
11453 cat conftest.err >&5
11454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11455 (exit $ac_status); } && {
11456 test -z "$ac_c_werror_flag" ||
11457 test ! -s conftest.err
11458 } && test -s conftest$ac_exeext &&
11459 $as_test_x conftest$ac_exeext; then
11460 ac_cv_c___va_copy="yes"
11461 else
11462 echo "$as_me: failed program was:" >&5
11463 sed 's/^/| /' conftest.$ac_ext >&5
11465 ac_cv_c___va_copy="no"
11468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11469 conftest$ac_exeext conftest.$ac_ext
11472 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11473 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11474 if test "$ac_cv_c___va_copy" = "yes"
11475 then
11477 cat >>confdefs.h <<\_ACEOF
11478 #define HAVE___VA_COPY 1
11479 _ACEOF
11483 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11484 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11485 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11486 echo $ECHO_N "(cached) $ECHO_C" >&6
11487 else
11488 cat >conftest.$ac_ext <<_ACEOF
11489 /* confdefs.h. */
11490 _ACEOF
11491 cat confdefs.h >>conftest.$ac_ext
11492 cat >>conftest.$ac_ext <<_ACEOF
11493 /* end confdefs.h. */
11494 #include <setjmp.h>
11496 main ()
11498 sigjmp_buf buf;
11499 sigsetjmp( buf, 1 );
11500 siglongjmp( buf, 1 );
11502 return 0;
11504 _ACEOF
11505 rm -f conftest.$ac_objext conftest$ac_exeext
11506 if { (ac_try="$ac_link"
11507 case "(($ac_try" in
11508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11509 *) ac_try_echo=$ac_try;;
11510 esac
11511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11512 (eval "$ac_link") 2>conftest.er1
11513 ac_status=$?
11514 grep -v '^ *+' conftest.er1 >conftest.err
11515 rm -f conftest.er1
11516 cat conftest.err >&5
11517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11518 (exit $ac_status); } && {
11519 test -z "$ac_c_werror_flag" ||
11520 test ! -s conftest.err
11521 } && test -s conftest$ac_exeext &&
11522 $as_test_x conftest$ac_exeext; then
11523 ac_cv_c_sigsetjmp="yes"
11524 else
11525 echo "$as_me: failed program was:" >&5
11526 sed 's/^/| /' conftest.$ac_ext >&5
11528 ac_cv_c_sigsetjmp="no"
11531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11532 conftest$ac_exeext conftest.$ac_ext
11535 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11536 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11537 if test "$ac_cv_c_sigsetjmp" = "yes"
11538 then
11540 cat >>confdefs.h <<\_ACEOF
11541 #define HAVE_SIGSETJMP 1
11542 _ACEOF
11546 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11547 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11548 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11549 echo $ECHO_N "(cached) $ECHO_C" >&6
11550 else
11551 cat >conftest.$ac_ext <<_ACEOF
11552 /* confdefs.h. */
11553 _ACEOF
11554 cat confdefs.h >>conftest.$ac_ext
11555 cat >>conftest.$ac_ext <<_ACEOF
11556 /* end confdefs.h. */
11557 #define _GNU_SOURCE
11558 #include <pthread.h>
11560 typedef pthread_rwlock_t ac__type_new_;
11562 main ()
11564 if ((ac__type_new_ *) 0)
11565 return 0;
11566 if (sizeof (ac__type_new_))
11567 return 0;
11569 return 0;
11571 _ACEOF
11572 rm -f conftest.$ac_objext
11573 if { (ac_try="$ac_compile"
11574 case "(($ac_try" in
11575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11576 *) ac_try_echo=$ac_try;;
11577 esac
11578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11579 (eval "$ac_compile") 2>conftest.er1
11580 ac_status=$?
11581 grep -v '^ *+' conftest.er1 >conftest.err
11582 rm -f conftest.er1
11583 cat conftest.err >&5
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); } && {
11586 test -z "$ac_c_werror_flag" ||
11587 test ! -s conftest.err
11588 } && test -s conftest.$ac_objext; then
11589 ac_cv_type_pthread_rwlock_t=yes
11590 else
11591 echo "$as_me: failed program was:" >&5
11592 sed 's/^/| /' conftest.$ac_ext >&5
11594 ac_cv_type_pthread_rwlock_t=no
11597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11599 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11600 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11601 if test $ac_cv_type_pthread_rwlock_t = yes; then
11603 cat >>confdefs.h <<_ACEOF
11604 #define HAVE_PTHREAD_RWLOCK_T 1
11605 _ACEOF
11609 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11610 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11611 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11612 echo $ECHO_N "(cached) $ECHO_C" >&6
11613 else
11614 cat >conftest.$ac_ext <<_ACEOF
11615 /* confdefs.h. */
11616 _ACEOF
11617 cat confdefs.h >>conftest.$ac_ext
11618 cat >>conftest.$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11620 #define _GNU_SOURCE
11621 #include <pthread.h>
11623 typedef pthread_rwlockattr_t ac__type_new_;
11625 main ()
11627 if ((ac__type_new_ *) 0)
11628 return 0;
11629 if (sizeof (ac__type_new_))
11630 return 0;
11632 return 0;
11634 _ACEOF
11635 rm -f conftest.$ac_objext
11636 if { (ac_try="$ac_compile"
11637 case "(($ac_try" in
11638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11639 *) ac_try_echo=$ac_try;;
11640 esac
11641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11642 (eval "$ac_compile") 2>conftest.er1
11643 ac_status=$?
11644 grep -v '^ *+' conftest.er1 >conftest.err
11645 rm -f conftest.er1
11646 cat conftest.err >&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); } && {
11649 test -z "$ac_c_werror_flag" ||
11650 test ! -s conftest.err
11651 } && test -s conftest.$ac_objext; then
11652 ac_cv_type_pthread_rwlockattr_t=yes
11653 else
11654 echo "$as_me: failed program was:" >&5
11655 sed 's/^/| /' conftest.$ac_ext >&5
11657 ac_cv_type_pthread_rwlockattr_t=no
11660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11662 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11663 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11664 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11666 cat >>confdefs.h <<_ACEOF
11667 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11668 _ACEOF
11674 ac_wine_check_funcs_save_LIBS="$LIBS"
11675 LIBS="$LIBS $LIBPTHREAD"
11680 for ac_func in \
11681 pthread_attr_get_np \
11682 pthread_getattr_np \
11683 pthread_get_stackaddr_np \
11684 pthread_get_stacksize_np
11686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11691 else
11692 cat >conftest.$ac_ext <<_ACEOF
11693 /* confdefs.h. */
11694 _ACEOF
11695 cat confdefs.h >>conftest.$ac_ext
11696 cat >>conftest.$ac_ext <<_ACEOF
11697 /* end confdefs.h. */
11698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11700 #define $ac_func innocuous_$ac_func
11702 /* System header to define __stub macros and hopefully few prototypes,
11703 which can conflict with char $ac_func (); below.
11704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11705 <limits.h> exists even on freestanding compilers. */
11707 #ifdef __STDC__
11708 # include <limits.h>
11709 #else
11710 # include <assert.h>
11711 #endif
11713 #undef $ac_func
11715 /* Override any GCC internal prototype to avoid an error.
11716 Use char because int might match the return type of a GCC
11717 builtin and then its argument prototype would still apply. */
11718 #ifdef __cplusplus
11719 extern "C"
11720 #endif
11721 char $ac_func ();
11722 /* The GNU C library defines this for functions which it implements
11723 to always fail with ENOSYS. Some functions are actually named
11724 something starting with __ and the normal name is an alias. */
11725 #if defined __stub_$ac_func || defined __stub___$ac_func
11726 choke me
11727 #endif
11730 main ()
11732 return $ac_func ();
11734 return 0;
11736 _ACEOF
11737 rm -f conftest.$ac_objext conftest$ac_exeext
11738 if { (ac_try="$ac_link"
11739 case "(($ac_try" in
11740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11741 *) ac_try_echo=$ac_try;;
11742 esac
11743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11744 (eval "$ac_link") 2>conftest.er1
11745 ac_status=$?
11746 grep -v '^ *+' conftest.er1 >conftest.err
11747 rm -f conftest.er1
11748 cat conftest.err >&5
11749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11750 (exit $ac_status); } && {
11751 test -z "$ac_c_werror_flag" ||
11752 test ! -s conftest.err
11753 } && test -s conftest$ac_exeext &&
11754 $as_test_x conftest$ac_exeext; then
11755 eval "$as_ac_var=yes"
11756 else
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.$ac_ext >&5
11760 eval "$as_ac_var=no"
11763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11764 conftest$ac_exeext conftest.$ac_ext
11766 ac_res=`eval echo '${'$as_ac_var'}'`
11767 { echo "$as_me:$LINENO: result: $ac_res" >&5
11768 echo "${ECHO_T}$ac_res" >&6; }
11769 if test `eval echo '${'$as_ac_var'}'` = yes; then
11770 cat >>confdefs.h <<_ACEOF
11771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11772 _ACEOF
11775 done
11777 LIBS="$ac_wine_check_funcs_save_LIBS"
11779 # Extract the first word of "esd-config", so it can be a program name with args.
11780 set dummy esd-config; ac_word=$2
11781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11783 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11784 echo $ECHO_N "(cached) $ECHO_C" >&6
11785 else
11786 case $ESDCONFIG in
11787 [\\/]* | ?:[\\/]*)
11788 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11792 for as_dir in $PATH
11794 IFS=$as_save_IFS
11795 test -z "$as_dir" && as_dir=.
11796 for ac_exec_ext in '' $ac_executable_extensions; do
11797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11798 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11800 break 2
11802 done
11803 done
11804 IFS=$as_save_IFS
11807 esac
11809 ESDCONFIG=$ac_cv_path_ESDCONFIG
11810 if test -n "$ESDCONFIG"; then
11811 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11812 echo "${ECHO_T}$ESDCONFIG" >&6; }
11813 else
11814 { echo "$as_me:$LINENO: result: no" >&5
11815 echo "${ECHO_T}no" >&6; }
11819 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11820 then
11821 ESD_CFLAGS=""
11822 for i in `$ESDCONFIG --cflags`
11824 case "$i" in
11825 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11826 esac
11827 done
11828 ESD_LIBS=`$ESDCONFIG --libs`
11829 save_CFLAGS="$CFLAGS"
11830 CFLAGS="$CFLAGS $ESD_CFLAGS"
11831 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11832 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11833 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11834 echo $ECHO_N "(cached) $ECHO_C" >&6
11835 else
11836 ac_check_lib_save_LIBS=$LIBS
11837 LIBS="-lesd $LIBS"
11838 cat >conftest.$ac_ext <<_ACEOF
11839 /* confdefs.h. */
11840 _ACEOF
11841 cat confdefs.h >>conftest.$ac_ext
11842 cat >>conftest.$ac_ext <<_ACEOF
11843 /* end confdefs.h. */
11845 /* Override any GCC internal prototype to avoid an error.
11846 Use char because int might match the return type of a GCC
11847 builtin and then its argument prototype would still apply. */
11848 #ifdef __cplusplus
11849 extern "C"
11850 #endif
11851 char esd_open_sound ();
11853 main ()
11855 return esd_open_sound ();
11857 return 0;
11859 _ACEOF
11860 rm -f conftest.$ac_objext conftest$ac_exeext
11861 if { (ac_try="$ac_link"
11862 case "(($ac_try" in
11863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11864 *) ac_try_echo=$ac_try;;
11865 esac
11866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11867 (eval "$ac_link") 2>conftest.er1
11868 ac_status=$?
11869 grep -v '^ *+' conftest.er1 >conftest.err
11870 rm -f conftest.er1
11871 cat conftest.err >&5
11872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); } && {
11874 test -z "$ac_c_werror_flag" ||
11875 test ! -s conftest.err
11876 } && test -s conftest$ac_exeext &&
11877 $as_test_x conftest$ac_exeext; then
11878 ac_cv_lib_esd_esd_open_sound=yes
11879 else
11880 echo "$as_me: failed program was:" >&5
11881 sed 's/^/| /' conftest.$ac_ext >&5
11883 ac_cv_lib_esd_esd_open_sound=no
11886 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11887 conftest$ac_exeext conftest.$ac_ext
11888 LIBS=$ac_check_lib_save_LIBS
11890 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11891 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11892 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11893 ESDLIBS=$ESD_LIBS
11895 ESDINCL=$ESD_CFLAGS
11898 cat >>confdefs.h <<\_ACEOF
11899 #define HAVE_ESD 1
11900 _ACEOF
11904 CFLAGS="$save_CFLAGS"
11907 ALSALIBS=""
11909 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11910 then
11911 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11912 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11913 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11914 echo $ECHO_N "(cached) $ECHO_C" >&6
11915 else
11916 ac_check_lib_save_LIBS=$LIBS
11917 LIBS="-lasound $LIBS"
11918 cat >conftest.$ac_ext <<_ACEOF
11919 /* confdefs.h. */
11920 _ACEOF
11921 cat confdefs.h >>conftest.$ac_ext
11922 cat >>conftest.$ac_ext <<_ACEOF
11923 /* end confdefs.h. */
11925 /* Override any GCC internal prototype to avoid an error.
11926 Use char because int might match the return type of a GCC
11927 builtin and then its argument prototype would still apply. */
11928 #ifdef __cplusplus
11929 extern "C"
11930 #endif
11931 char snd_pcm_hw_params_get_access ();
11933 main ()
11935 return snd_pcm_hw_params_get_access ();
11937 return 0;
11939 _ACEOF
11940 rm -f conftest.$ac_objext conftest$ac_exeext
11941 if { (ac_try="$ac_link"
11942 case "(($ac_try" in
11943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11944 *) ac_try_echo=$ac_try;;
11945 esac
11946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11947 (eval "$ac_link") 2>conftest.er1
11948 ac_status=$?
11949 grep -v '^ *+' conftest.er1 >conftest.err
11950 rm -f conftest.er1
11951 cat conftest.err >&5
11952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11953 (exit $ac_status); } && {
11954 test -z "$ac_c_werror_flag" ||
11955 test ! -s conftest.err
11956 } && test -s conftest$ac_exeext &&
11957 $as_test_x conftest$ac_exeext; then
11958 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11959 else
11960 echo "$as_me: failed program was:" >&5
11961 sed 's/^/| /' conftest.$ac_ext >&5
11963 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11966 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11967 conftest$ac_exeext conftest.$ac_ext
11968 LIBS=$ac_check_lib_save_LIBS
11970 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11971 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
11972 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11973 cat >conftest.$ac_ext <<_ACEOF
11974 /* confdefs.h. */
11975 _ACEOF
11976 cat confdefs.h >>conftest.$ac_ext
11977 cat >>conftest.$ac_ext <<_ACEOF
11978 /* end confdefs.h. */
11979 #ifdef HAVE_ALSA_ASOUNDLIB_H
11980 #include <alsa/asoundlib.h>
11981 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11982 #include <sys/asoundlib.h>
11983 #endif
11985 main ()
11987 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11989 return 0;
11991 _ACEOF
11992 rm -f conftest.$ac_objext
11993 if { (ac_try="$ac_compile"
11994 case "(($ac_try" in
11995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11996 *) ac_try_echo=$ac_try;;
11997 esac
11998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11999 (eval "$ac_compile") 2>conftest.er1
12000 ac_status=$?
12001 grep -v '^ *+' conftest.er1 >conftest.err
12002 rm -f conftest.er1
12003 cat conftest.err >&5
12004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12005 (exit $ac_status); } && {
12006 test -z "$ac_c_werror_flag" ||
12007 test ! -s conftest.err
12008 } && test -s conftest.$ac_objext; then
12010 cat >>confdefs.h <<\_ACEOF
12011 #define HAVE_ALSA 1
12012 _ACEOF
12014 ALSALIBS="-lasound"
12015 else
12016 echo "$as_me: failed program was:" >&5
12017 sed 's/^/| /' conftest.$ac_ext >&5
12022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12028 AUDIOIOLIBS=""
12030 if test "$ac_cv_header_libaudioio_h" = "yes"
12031 then
12032 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12033 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12034 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12035 echo $ECHO_N "(cached) $ECHO_C" >&6
12036 else
12037 ac_check_lib_save_LIBS=$LIBS
12038 LIBS="-laudioio $LIBS"
12039 cat >conftest.$ac_ext <<_ACEOF
12040 /* confdefs.h. */
12041 _ACEOF
12042 cat confdefs.h >>conftest.$ac_ext
12043 cat >>conftest.$ac_ext <<_ACEOF
12044 /* end confdefs.h. */
12046 /* Override any GCC internal prototype to avoid an error.
12047 Use char because int might match the return type of a GCC
12048 builtin and then its argument prototype would still apply. */
12049 #ifdef __cplusplus
12050 extern "C"
12051 #endif
12052 char AudioIOGetVersion ();
12054 main ()
12056 return AudioIOGetVersion ();
12058 return 0;
12060 _ACEOF
12061 rm -f conftest.$ac_objext conftest$ac_exeext
12062 if { (ac_try="$ac_link"
12063 case "(($ac_try" in
12064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12065 *) ac_try_echo=$ac_try;;
12066 esac
12067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12068 (eval "$ac_link") 2>conftest.er1
12069 ac_status=$?
12070 grep -v '^ *+' conftest.er1 >conftest.err
12071 rm -f conftest.er1
12072 cat conftest.err >&5
12073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12074 (exit $ac_status); } && {
12075 test -z "$ac_c_werror_flag" ||
12076 test ! -s conftest.err
12077 } && test -s conftest$ac_exeext &&
12078 $as_test_x conftest$ac_exeext; then
12079 ac_cv_lib_audioio_AudioIOGetVersion=yes
12080 else
12081 echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12084 ac_cv_lib_audioio_AudioIOGetVersion=no
12087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12088 conftest$ac_exeext conftest.$ac_ext
12089 LIBS=$ac_check_lib_save_LIBS
12091 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12092 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12093 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12094 AUDIOIOLIBS="-laudioio"
12096 cat >>confdefs.h <<\_ACEOF
12097 #define HAVE_LIBAUDIOIO 1
12098 _ACEOF
12105 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12106 then
12107 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12108 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12109 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12110 echo $ECHO_N "(cached) $ECHO_C" >&6
12111 else
12112 ac_check_lib_save_LIBS=$LIBS
12113 LIBS="-lcapi20 $LIBS"
12114 cat >conftest.$ac_ext <<_ACEOF
12115 /* confdefs.h. */
12116 _ACEOF
12117 cat confdefs.h >>conftest.$ac_ext
12118 cat >>conftest.$ac_ext <<_ACEOF
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12124 #ifdef __cplusplus
12125 extern "C"
12126 #endif
12127 char capi20_register ();
12129 main ()
12131 return capi20_register ();
12133 return 0;
12135 _ACEOF
12136 rm -f conftest.$ac_objext conftest$ac_exeext
12137 if { (ac_try="$ac_link"
12138 case "(($ac_try" in
12139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12140 *) ac_try_echo=$ac_try;;
12141 esac
12142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12143 (eval "$ac_link") 2>conftest.er1
12144 ac_status=$?
12145 grep -v '^ *+' conftest.er1 >conftest.err
12146 rm -f conftest.er1
12147 cat conftest.err >&5
12148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12149 (exit $ac_status); } && {
12150 test -z "$ac_c_werror_flag" ||
12151 test ! -s conftest.err
12152 } && test -s conftest$ac_exeext &&
12153 $as_test_x conftest$ac_exeext; then
12154 ac_cv_lib_capi20_capi20_register=yes
12155 else
12156 echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.$ac_ext >&5
12159 ac_cv_lib_capi20_capi20_register=no
12162 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12163 conftest$ac_exeext conftest.$ac_ext
12164 LIBS=$ac_check_lib_save_LIBS
12166 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12167 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12168 if test $ac_cv_lib_capi20_capi20_register = yes; then
12170 cat >>confdefs.h <<\_ACEOF
12171 #define HAVE_CAPI4LINUX 1
12172 _ACEOF
12179 EXTRACFLAGS=""
12181 if test "x${GCC}" = "xyes"
12182 then
12183 EXTRACFLAGS="-Wall -pipe"
12185 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12186 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12187 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12189 else
12190 if test "$cross_compiling" = yes; then
12191 ac_cv_c_gcc_strength_bug="yes"
12192 else
12193 cat >conftest.$ac_ext <<_ACEOF
12194 /* confdefs.h. */
12195 _ACEOF
12196 cat confdefs.h >>conftest.$ac_ext
12197 cat >>conftest.$ac_ext <<_ACEOF
12198 /* end confdefs.h. */
12199 int L[4] = {0,1,2,3};
12201 main ()
12203 static int Array[3];
12204 unsigned int B = 3;
12205 int i;
12206 for(i=0; i<B; i++) Array[i] = i - 3;
12207 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12208 L[i] = 4;
12209 exit( Array[1] != -2 || L[2] != 3)
12211 return 0;
12213 _ACEOF
12214 rm -f conftest$ac_exeext
12215 if { (ac_try="$ac_link"
12216 case "(($ac_try" in
12217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12218 *) ac_try_echo=$ac_try;;
12219 esac
12220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12221 (eval "$ac_link") 2>&5
12222 ac_status=$?
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12225 { (case "(($ac_try" in
12226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12227 *) ac_try_echo=$ac_try;;
12228 esac
12229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12230 (eval "$ac_try") 2>&5
12231 ac_status=$?
12232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12233 (exit $ac_status); }; }; then
12234 ac_cv_c_gcc_strength_bug="no"
12235 else
12236 echo "$as_me: program exited with status $ac_status" >&5
12237 echo "$as_me: failed program was:" >&5
12238 sed 's/^/| /' conftest.$ac_ext >&5
12240 ( exit $ac_status )
12241 ac_cv_c_gcc_strength_bug="yes"
12243 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12248 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12249 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12250 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12251 then
12252 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12256 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12257 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12258 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12259 echo $ECHO_N "(cached) $ECHO_C" >&6
12260 else
12261 ac_wine_try_cflags_saved=$CFLAGS
12262 CFLAGS="$CFLAGS -fshort-wchar"
12263 cat >conftest.$ac_ext <<_ACEOF
12264 /* confdefs.h. */
12265 _ACEOF
12266 cat confdefs.h >>conftest.$ac_ext
12267 cat >>conftest.$ac_ext <<_ACEOF
12268 /* end confdefs.h. */
12271 main ()
12275 return 0;
12277 _ACEOF
12278 rm -f conftest.$ac_objext conftest$ac_exeext
12279 if { (ac_try="$ac_link"
12280 case "(($ac_try" in
12281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12282 *) ac_try_echo=$ac_try;;
12283 esac
12284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12285 (eval "$ac_link") 2>conftest.er1
12286 ac_status=$?
12287 grep -v '^ *+' conftest.er1 >conftest.err
12288 rm -f conftest.er1
12289 cat conftest.err >&5
12290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12291 (exit $ac_status); } && {
12292 test -z "$ac_c_werror_flag" ||
12293 test ! -s conftest.err
12294 } && test -s conftest$ac_exeext &&
12295 $as_test_x conftest$ac_exeext; then
12296 ac_cv_cflags__fshort_wchar=yes
12297 else
12298 echo "$as_me: failed program was:" >&5
12299 sed 's/^/| /' conftest.$ac_ext >&5
12301 ac_cv_cflags__fshort_wchar=no
12304 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12305 conftest$ac_exeext conftest.$ac_ext
12306 CFLAGS=$ac_wine_try_cflags_saved
12308 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12309 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12310 if test $ac_cv_cflags__fshort_wchar = yes; then
12312 cat >>confdefs.h <<\_ACEOF
12313 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12314 _ACEOF
12318 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12319 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12320 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12321 echo $ECHO_N "(cached) $ECHO_C" >&6
12322 else
12323 ac_wine_try_cflags_saved=$CFLAGS
12324 CFLAGS="$CFLAGS -fno-strict-aliasing"
12325 cat >conftest.$ac_ext <<_ACEOF
12326 /* confdefs.h. */
12327 _ACEOF
12328 cat confdefs.h >>conftest.$ac_ext
12329 cat >>conftest.$ac_ext <<_ACEOF
12330 /* end confdefs.h. */
12333 main ()
12337 return 0;
12339 _ACEOF
12340 rm -f conftest.$ac_objext conftest$ac_exeext
12341 if { (ac_try="$ac_link"
12342 case "(($ac_try" in
12343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12344 *) ac_try_echo=$ac_try;;
12345 esac
12346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12347 (eval "$ac_link") 2>conftest.er1
12348 ac_status=$?
12349 grep -v '^ *+' conftest.er1 >conftest.err
12350 rm -f conftest.er1
12351 cat conftest.err >&5
12352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12353 (exit $ac_status); } && {
12354 test -z "$ac_c_werror_flag" ||
12355 test ! -s conftest.err
12356 } && test -s conftest$ac_exeext &&
12357 $as_test_x conftest$ac_exeext; then
12358 ac_cv_cflags__fno_strict_aliasing=yes
12359 else
12360 echo "$as_me: failed program was:" >&5
12361 sed 's/^/| /' conftest.$ac_ext >&5
12363 ac_cv_cflags__fno_strict_aliasing=no
12366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12367 conftest$ac_exeext conftest.$ac_ext
12368 CFLAGS=$ac_wine_try_cflags_saved
12370 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12371 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12372 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12373 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12376 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12377 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12378 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12379 echo $ECHO_N "(cached) $ECHO_C" >&6
12380 else
12381 ac_wine_try_cflags_saved=$CFLAGS
12382 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12383 cat >conftest.$ac_ext <<_ACEOF
12384 /* confdefs.h. */
12385 _ACEOF
12386 cat confdefs.h >>conftest.$ac_ext
12387 cat >>conftest.$ac_ext <<_ACEOF
12388 /* end confdefs.h. */
12391 main ()
12395 return 0;
12397 _ACEOF
12398 rm -f conftest.$ac_objext conftest$ac_exeext
12399 if { (ac_try="$ac_link"
12400 case "(($ac_try" in
12401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12402 *) ac_try_echo=$ac_try;;
12403 esac
12404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12405 (eval "$ac_link") 2>conftest.er1
12406 ac_status=$?
12407 grep -v '^ *+' conftest.er1 >conftest.err
12408 rm -f conftest.er1
12409 cat conftest.err >&5
12410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12411 (exit $ac_status); } && {
12412 test -z "$ac_c_werror_flag" ||
12413 test ! -s conftest.err
12414 } && test -s conftest$ac_exeext &&
12415 $as_test_x conftest$ac_exeext; then
12416 ac_cv_cflags__Wdeclaration_after_statement=yes
12417 else
12418 echo "$as_me: failed program was:" >&5
12419 sed 's/^/| /' conftest.$ac_ext >&5
12421 ac_cv_cflags__Wdeclaration_after_statement=no
12424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12425 conftest$ac_exeext conftest.$ac_ext
12426 CFLAGS=$ac_wine_try_cflags_saved
12428 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12429 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12430 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12431 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12434 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12435 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12436 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12438 else
12439 ac_wine_try_cflags_saved=$CFLAGS
12440 CFLAGS="$CFLAGS -Wwrite-strings"
12441 cat >conftest.$ac_ext <<_ACEOF
12442 /* confdefs.h. */
12443 _ACEOF
12444 cat confdefs.h >>conftest.$ac_ext
12445 cat >>conftest.$ac_ext <<_ACEOF
12446 /* end confdefs.h. */
12449 main ()
12453 return 0;
12455 _ACEOF
12456 rm -f conftest.$ac_objext conftest$ac_exeext
12457 if { (ac_try="$ac_link"
12458 case "(($ac_try" in
12459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12460 *) ac_try_echo=$ac_try;;
12461 esac
12462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12463 (eval "$ac_link") 2>conftest.er1
12464 ac_status=$?
12465 grep -v '^ *+' conftest.er1 >conftest.err
12466 rm -f conftest.er1
12467 cat conftest.err >&5
12468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12469 (exit $ac_status); } && {
12470 test -z "$ac_c_werror_flag" ||
12471 test ! -s conftest.err
12472 } && test -s conftest$ac_exeext &&
12473 $as_test_x conftest$ac_exeext; then
12474 ac_cv_cflags__Wwrite_strings=yes
12475 else
12476 echo "$as_me: failed program was:" >&5
12477 sed 's/^/| /' conftest.$ac_ext >&5
12479 ac_cv_cflags__Wwrite_strings=no
12482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12483 conftest$ac_exeext conftest.$ac_ext
12484 CFLAGS=$ac_wine_try_cflags_saved
12486 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12487 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12488 if test $ac_cv_cflags__Wwrite_strings = yes; then
12489 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12493 saved_CFLAGS="$CFLAGS"
12494 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12495 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12496 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12497 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12498 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 else
12500 cat >conftest.$ac_ext <<_ACEOF
12501 /* confdefs.h. */
12502 _ACEOF
12503 cat confdefs.h >>conftest.$ac_ext
12504 cat >>conftest.$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12506 #include <string.h>
12508 main ()
12512 return 0;
12514 _ACEOF
12515 rm -f conftest.$ac_objext
12516 if { (ac_try="$ac_compile"
12517 case "(($ac_try" in
12518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12519 *) ac_try_echo=$ac_try;;
12520 esac
12521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12522 (eval "$ac_compile") 2>conftest.er1
12523 ac_status=$?
12524 grep -v '^ *+' conftest.er1 >conftest.err
12525 rm -f conftest.er1
12526 cat conftest.err >&5
12527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12528 (exit $ac_status); } && {
12529 test -z "$ac_c_werror_flag" ||
12530 test ! -s conftest.err
12531 } && test -s conftest.$ac_objext; then
12532 ac_cv_c_string_h_warnings=no
12533 else
12534 echo "$as_me: failed program was:" >&5
12535 sed 's/^/| /' conftest.$ac_ext >&5
12537 ac_cv_c_string_h_warnings=yes
12540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12542 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12543 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12544 CFLAGS="$saved_CFLAGS"
12545 if test "$ac_cv_c_string_h_warnings" = "no"
12546 then
12547 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12550 BUILTINFLAG=""
12552 saved_CFLAGS="$CFLAGS"
12553 CFLAGS="$CFLAGS -Werror"
12554 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12555 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12556 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12557 echo $ECHO_N "(cached) $ECHO_C" >&6
12558 else
12559 cat >conftest.$ac_ext <<_ACEOF
12560 /* confdefs.h. */
12561 _ACEOF
12562 cat confdefs.h >>conftest.$ac_ext
12563 cat >>conftest.$ac_ext <<_ACEOF
12564 /* end confdefs.h. */
12567 main ()
12569 int iswlower(unsigned short);
12571 return 0;
12573 _ACEOF
12574 rm -f conftest.$ac_objext
12575 if { (ac_try="$ac_compile"
12576 case "(($ac_try" in
12577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12578 *) ac_try_echo=$ac_try;;
12579 esac
12580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12581 (eval "$ac_compile") 2>conftest.er1
12582 ac_status=$?
12583 grep -v '^ *+' conftest.er1 >conftest.err
12584 rm -f conftest.er1
12585 cat conftest.err >&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } && {
12588 test -z "$ac_c_werror_flag" ||
12589 test ! -s conftest.err
12590 } && test -s conftest.$ac_objext; then
12591 ac_cv_c_builtin_wchar_ctype=no
12592 else
12593 echo "$as_me: failed program was:" >&5
12594 sed 's/^/| /' conftest.$ac_ext >&5
12596 ac_cv_c_builtin_wchar_ctype=yes
12599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12601 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12602 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12603 CFLAGS="$saved_CFLAGS"
12604 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12605 then
12606 BUILTINFLAG="-fno-builtin"
12611 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12612 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12613 if test "${ac_cv_asm_func_def+set}" = set; then
12614 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 else
12616 cat >conftest.$ac_ext <<_ACEOF
12617 /* confdefs.h. */
12618 _ACEOF
12619 cat confdefs.h >>conftest.$ac_ext
12620 cat >>conftest.$ac_ext <<_ACEOF
12621 /* end confdefs.h. */
12624 main ()
12626 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12628 return 0;
12630 _ACEOF
12631 rm -f conftest.$ac_objext conftest$ac_exeext
12632 if { (ac_try="$ac_link"
12633 case "(($ac_try" in
12634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12635 *) ac_try_echo=$ac_try;;
12636 esac
12637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12638 (eval "$ac_link") 2>conftest.er1
12639 ac_status=$?
12640 grep -v '^ *+' conftest.er1 >conftest.err
12641 rm -f conftest.er1
12642 cat conftest.err >&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); } && {
12645 test -z "$ac_c_werror_flag" ||
12646 test ! -s conftest.err
12647 } && test -s conftest$ac_exeext &&
12648 $as_test_x conftest$ac_exeext; then
12649 ac_cv_asm_func_def=".def"
12650 else
12651 echo "$as_me: failed program was:" >&5
12652 sed 's/^/| /' conftest.$ac_ext >&5
12654 cat >conftest.$ac_ext <<_ACEOF
12655 /* confdefs.h. */
12656 _ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12662 main ()
12664 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12666 return 0;
12668 _ACEOF
12669 rm -f conftest.$ac_objext conftest$ac_exeext
12670 if { (ac_try="$ac_link"
12671 case "(($ac_try" in
12672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12673 *) ac_try_echo=$ac_try;;
12674 esac
12675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12676 (eval "$ac_link") 2>conftest.er1
12677 ac_status=$?
12678 grep -v '^ *+' conftest.er1 >conftest.err
12679 rm -f conftest.er1
12680 cat conftest.err >&5
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); } && {
12683 test -z "$ac_c_werror_flag" ||
12684 test ! -s conftest.err
12685 } && test -s conftest$ac_exeext &&
12686 $as_test_x conftest$ac_exeext; then
12687 ac_cv_asm_func_def=".type @function"
12688 else
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.$ac_ext >&5
12692 cat >conftest.$ac_ext <<_ACEOF
12693 /* confdefs.h. */
12694 _ACEOF
12695 cat confdefs.h >>conftest.$ac_ext
12696 cat >>conftest.$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12700 main ()
12702 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12704 return 0;
12706 _ACEOF
12707 rm -f conftest.$ac_objext conftest$ac_exeext
12708 if { (ac_try="$ac_link"
12709 case "(($ac_try" in
12710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12711 *) ac_try_echo=$ac_try;;
12712 esac
12713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12714 (eval "$ac_link") 2>conftest.er1
12715 ac_status=$?
12716 grep -v '^ *+' conftest.er1 >conftest.err
12717 rm -f conftest.er1
12718 cat conftest.err >&5
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); } && {
12721 test -z "$ac_c_werror_flag" ||
12722 test ! -s conftest.err
12723 } && test -s conftest$ac_exeext &&
12724 $as_test_x conftest$ac_exeext; then
12725 ac_cv_asm_func_def=".type 2"
12726 else
12727 echo "$as_me: failed program was:" >&5
12728 sed 's/^/| /' conftest.$ac_ext >&5
12730 ac_cv_asm_func_def="unknown"
12733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12734 conftest$ac_exeext conftest.$ac_ext
12737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12738 conftest$ac_exeext conftest.$ac_ext
12741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12742 conftest$ac_exeext conftest.$ac_ext
12744 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12745 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12749 case "$ac_cv_asm_func_def" in
12750 ".def")
12751 cat >>confdefs.h <<\_ACEOF
12752 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12753 _ACEOF
12755 ".type @function")
12756 cat >>confdefs.h <<\_ACEOF
12757 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12758 _ACEOF
12760 ".type 2")
12761 cat >>confdefs.h <<\_ACEOF
12762 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12763 _ACEOF
12766 cat >>confdefs.h <<\_ACEOF
12767 #define __ASM_FUNC(name) ""
12768 _ACEOF
12770 esac
12773 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12774 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12775 if test "${ac_cv_c_extern_prefix+set}" = set; then
12776 echo $ECHO_N "(cached) $ECHO_C" >&6
12777 else
12778 cat >conftest.$ac_ext <<_ACEOF
12779 /* confdefs.h. */
12780 _ACEOF
12781 cat confdefs.h >>conftest.$ac_ext
12782 cat >>conftest.$ac_ext <<_ACEOF
12783 /* end confdefs.h. */
12784 extern int ac_test;
12786 main ()
12788 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12790 return 0;
12792 _ACEOF
12793 rm -f conftest.$ac_objext conftest$ac_exeext
12794 if { (ac_try="$ac_link"
12795 case "(($ac_try" in
12796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12797 *) ac_try_echo=$ac_try;;
12798 esac
12799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12800 (eval "$ac_link") 2>conftest.er1
12801 ac_status=$?
12802 grep -v '^ *+' conftest.er1 >conftest.err
12803 rm -f conftest.er1
12804 cat conftest.err >&5
12805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12806 (exit $ac_status); } && {
12807 test -z "$ac_c_werror_flag" ||
12808 test ! -s conftest.err
12809 } && test -s conftest$ac_exeext &&
12810 $as_test_x conftest$ac_exeext; then
12811 ac_cv_c_extern_prefix="yes"
12812 else
12813 echo "$as_me: failed program was:" >&5
12814 sed 's/^/| /' conftest.$ac_ext >&5
12816 ac_cv_c_extern_prefix="no"
12819 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12820 conftest$ac_exeext conftest.$ac_ext
12822 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12823 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12827 if test "$ac_cv_c_extern_prefix" = "yes"
12828 then
12829 cat >>confdefs.h <<\_ACEOF
12830 #define __ASM_NAME(name) "_" name
12831 _ACEOF
12833 else
12834 cat >>confdefs.h <<\_ACEOF
12835 #define __ASM_NAME(name) name
12836 _ACEOF
12841 DLLEXT=""
12843 DLLFLAGS="-D_REENTRANT"
12845 LDSHARED=""
12847 LDDLLFLAGS=""
12849 LIBEXT="so"
12851 IMPLIBEXT="def"
12853 LIBWINE_LDFLAGS=""
12856 case $host_os in
12857 cygwin*|mingw32*)
12858 if test -n "$ac_tool_prefix"; then
12859 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12860 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12861 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12862 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12863 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12864 echo $ECHO_N "(cached) $ECHO_C" >&6
12865 else
12866 if test -n "$DLLTOOL"; then
12867 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12868 else
12869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12870 for as_dir in $PATH
12872 IFS=$as_save_IFS
12873 test -z "$as_dir" && as_dir=.
12874 for ac_exec_ext in '' $ac_executable_extensions; do
12875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12876 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12877 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12878 break 2
12880 done
12881 done
12882 IFS=$as_save_IFS
12886 DLLTOOL=$ac_cv_prog_DLLTOOL
12887 if test -n "$DLLTOOL"; then
12888 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12889 echo "${ECHO_T}$DLLTOOL" >&6; }
12890 else
12891 { echo "$as_me:$LINENO: result: no" >&5
12892 echo "${ECHO_T}no" >&6; }
12897 if test -z "$ac_cv_prog_DLLTOOL"; then
12898 ac_ct_DLLTOOL=$DLLTOOL
12899 # Extract the first word of "dlltool", so it can be a program name with args.
12900 set dummy dlltool; ac_word=$2
12901 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12903 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12904 echo $ECHO_N "(cached) $ECHO_C" >&6
12905 else
12906 if test -n "$ac_ct_DLLTOOL"; then
12907 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12908 else
12909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12910 for as_dir in $PATH
12912 IFS=$as_save_IFS
12913 test -z "$as_dir" && as_dir=.
12914 for ac_exec_ext in '' $ac_executable_extensions; do
12915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12916 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12918 break 2
12920 done
12921 done
12922 IFS=$as_save_IFS
12926 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12927 if test -n "$ac_ct_DLLTOOL"; then
12928 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12929 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12930 else
12931 { echo "$as_me:$LINENO: result: no" >&5
12932 echo "${ECHO_T}no" >&6; }
12935 if test "x$ac_ct_DLLTOOL" = x; then
12936 DLLTOOL="false"
12937 else
12938 case $cross_compiling:$ac_tool_warned in
12939 yes:)
12940 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12941 whose name does not start with the host triplet. If you think this
12942 configuration is useful to you, please write to autoconf@gnu.org." >&5
12943 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12944 whose name does not start with the host triplet. If you think this
12945 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12946 ac_tool_warned=yes ;;
12947 esac
12948 DLLTOOL=$ac_ct_DLLTOOL
12950 else
12951 DLLTOOL="$ac_cv_prog_DLLTOOL"
12954 if test -n "$ac_tool_prefix"; then
12955 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12956 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12957 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12958 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12959 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12960 echo $ECHO_N "(cached) $ECHO_C" >&6
12961 else
12962 if test -n "$DLLWRAP"; then
12963 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12964 else
12965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12966 for as_dir in $PATH
12968 IFS=$as_save_IFS
12969 test -z "$as_dir" && as_dir=.
12970 for ac_exec_ext in '' $ac_executable_extensions; do
12971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12972 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
12973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12974 break 2
12976 done
12977 done
12978 IFS=$as_save_IFS
12982 DLLWRAP=$ac_cv_prog_DLLWRAP
12983 if test -n "$DLLWRAP"; then
12984 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
12985 echo "${ECHO_T}$DLLWRAP" >&6; }
12986 else
12987 { echo "$as_me:$LINENO: result: no" >&5
12988 echo "${ECHO_T}no" >&6; }
12993 if test -z "$ac_cv_prog_DLLWRAP"; then
12994 ac_ct_DLLWRAP=$DLLWRAP
12995 # Extract the first word of "dllwrap", so it can be a program name with args.
12996 set dummy dllwrap; ac_word=$2
12997 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12999 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13000 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 else
13002 if test -n "$ac_ct_DLLWRAP"; then
13003 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13004 else
13005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13006 for as_dir in $PATH
13008 IFS=$as_save_IFS
13009 test -z "$as_dir" && as_dir=.
13010 for ac_exec_ext in '' $ac_executable_extensions; do
13011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13012 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13014 break 2
13016 done
13017 done
13018 IFS=$as_save_IFS
13022 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13023 if test -n "$ac_ct_DLLWRAP"; then
13024 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13025 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13026 else
13027 { echo "$as_me:$LINENO: result: no" >&5
13028 echo "${ECHO_T}no" >&6; }
13031 if test "x$ac_ct_DLLWRAP" = x; then
13032 DLLWRAP="false"
13033 else
13034 case $cross_compiling:$ac_tool_warned in
13035 yes:)
13036 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13037 whose name does not start with the host triplet. If you think this
13038 configuration is useful to you, please write to autoconf@gnu.org." >&5
13039 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13040 whose name does not start with the host triplet. If you think this
13041 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13042 ac_tool_warned=yes ;;
13043 esac
13044 DLLWRAP=$ac_ct_DLLWRAP
13046 else
13047 DLLWRAP="$ac_cv_prog_DLLWRAP"
13050 if test -n "$ac_tool_prefix"; then
13051 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13052 set dummy ${ac_tool_prefix}ar; ac_word=$2
13053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13055 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13057 else
13058 if test -n "$MINGWAR"; then
13059 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13060 else
13061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13062 for as_dir in $PATH
13064 IFS=$as_save_IFS
13065 test -z "$as_dir" && as_dir=.
13066 for ac_exec_ext in '' $ac_executable_extensions; do
13067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13068 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13070 break 2
13072 done
13073 done
13074 IFS=$as_save_IFS
13078 MINGWAR=$ac_cv_prog_MINGWAR
13079 if test -n "$MINGWAR"; then
13080 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13081 echo "${ECHO_T}$MINGWAR" >&6; }
13082 else
13083 { echo "$as_me:$LINENO: result: no" >&5
13084 echo "${ECHO_T}no" >&6; }
13089 if test -z "$ac_cv_prog_MINGWAR"; then
13090 ac_ct_MINGWAR=$MINGWAR
13091 # Extract the first word of "ar", so it can be a program name with args.
13092 set dummy ar; ac_word=$2
13093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13095 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13096 echo $ECHO_N "(cached) $ECHO_C" >&6
13097 else
13098 if test -n "$ac_ct_MINGWAR"; then
13099 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13100 else
13101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13102 for as_dir in $PATH
13104 IFS=$as_save_IFS
13105 test -z "$as_dir" && as_dir=.
13106 for ac_exec_ext in '' $ac_executable_extensions; do
13107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13108 ac_cv_prog_ac_ct_MINGWAR="ar"
13109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13110 break 2
13112 done
13113 done
13114 IFS=$as_save_IFS
13118 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13119 if test -n "$ac_ct_MINGWAR"; then
13120 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13121 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13122 else
13123 { echo "$as_me:$LINENO: result: no" >&5
13124 echo "${ECHO_T}no" >&6; }
13127 if test "x$ac_ct_MINGWAR" = x; then
13128 MINGWAR="false"
13129 else
13130 case $cross_compiling:$ac_tool_warned in
13131 yes:)
13132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13133 whose name does not start with the host triplet. If you think this
13134 configuration is useful to you, please write to autoconf@gnu.org." >&5
13135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13136 whose name does not start with the host triplet. If you think this
13137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13138 ac_tool_warned=yes ;;
13139 esac
13140 MINGWAR=$ac_ct_MINGWAR
13142 else
13143 MINGWAR="$ac_cv_prog_MINGWAR"
13146 if test "$DLLWRAP" = "false"; then
13147 LIBEXT="a"
13148 else
13149 LIBEXT="dll"
13151 IMPLIBEXT="a"
13152 WIN16_FILES=""
13153 WIN16_INSTALL=""
13155 darwin*|macosx*)
13156 DLLEXT=".so"
13157 LIBEXT="dylib"
13158 DLLFLAGS="$DLLFLAGS -fPIC"
13159 LDDLLFLAGS="-bundle -multiply_defined suppress"
13160 LIBWINE_LDFLAGS="-multiply_defined suppress"
13161 LDSHARED="\$(CC) -dynamiclib"
13162 STRIP="$STRIP -u -r"
13163 COREFOUNDATIONLIB="-framework CoreFoundation"
13165 IOKITLIB="-framework IOKit -framework CoreFoundation"
13167 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13169 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13170 then
13171 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13174 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13175 then
13176 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13179 case $host_cpu in
13180 *powerpc*)
13181 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13182 esac
13183 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13184 then
13185 CARBONLIB="-framework Carbon"
13187 QUARTZFILES='$(QUARTZFILES)'
13191 DLLFLAGS="$DLLFLAGS -fPIC"
13192 DLLEXT=".so"
13193 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13194 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13195 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13196 echo $ECHO_N "(cached) $ECHO_C" >&6
13197 else
13198 ac_wine_try_cflags_saved=$CFLAGS
13199 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13200 cat >conftest.$ac_ext <<_ACEOF
13201 void myfunc() {}
13202 _ACEOF
13203 rm -f conftest.$ac_objext conftest$ac_exeext
13204 if { (ac_try="$ac_link"
13205 case "(($ac_try" in
13206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13207 *) ac_try_echo=$ac_try;;
13208 esac
13209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13210 (eval "$ac_link") 2>conftest.er1
13211 ac_status=$?
13212 grep -v '^ *+' conftest.er1 >conftest.err
13213 rm -f conftest.er1
13214 cat conftest.err >&5
13215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13216 (exit $ac_status); } && {
13217 test -z "$ac_c_werror_flag" ||
13218 test ! -s conftest.err
13219 } && test -s conftest$ac_exeext &&
13220 $as_test_x conftest$ac_exeext; then
13221 ac_cv_c_dll_gnuelf="yes"
13222 else
13223 echo "$as_me: failed program was:" >&5
13224 sed 's/^/| /' conftest.$ac_ext >&5
13226 ac_cv_c_dll_gnuelf="no"
13229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13230 conftest$ac_exeext conftest.$ac_ext
13231 CFLAGS=$ac_wine_try_cflags_saved
13233 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13234 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13235 if test "$ac_cv_c_dll_gnuelf" = "yes"
13236 then
13237 LDSHARED="\$(CC) -shared"
13238 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13239 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13240 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13241 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 else
13244 ac_wine_try_cflags_saved=$CFLAGS
13245 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13246 cat >conftest.$ac_ext <<_ACEOF
13247 /* confdefs.h. */
13248 _ACEOF
13249 cat confdefs.h >>conftest.$ac_ext
13250 cat >>conftest.$ac_ext <<_ACEOF
13251 /* end confdefs.h. */
13254 main ()
13258 return 0;
13260 _ACEOF
13261 rm -f conftest.$ac_objext conftest$ac_exeext
13262 if { (ac_try="$ac_link"
13263 case "(($ac_try" in
13264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13265 *) ac_try_echo=$ac_try;;
13266 esac
13267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13268 (eval "$ac_link") 2>conftest.er1
13269 ac_status=$?
13270 grep -v '^ *+' conftest.er1 >conftest.err
13271 rm -f conftest.er1
13272 cat conftest.err >&5
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); } && {
13275 test -z "$ac_c_werror_flag" ||
13276 test ! -s conftest.err
13277 } && test -s conftest$ac_exeext &&
13278 $as_test_x conftest$ac_exeext; then
13279 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13280 else
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13288 conftest$ac_exeext conftest.$ac_ext
13289 CFLAGS=$ac_wine_try_cflags_saved
13291 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13292 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13293 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13294 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13295 else
13296 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13297 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13298 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13299 echo $ECHO_N "(cached) $ECHO_C" >&6
13300 else
13301 ac_wine_try_cflags_saved=$CFLAGS
13302 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13303 cat >conftest.$ac_ext <<_ACEOF
13304 /* confdefs.h. */
13305 _ACEOF
13306 cat confdefs.h >>conftest.$ac_ext
13307 cat >>conftest.$ac_ext <<_ACEOF
13308 /* end confdefs.h. */
13311 main ()
13315 return 0;
13317 _ACEOF
13318 rm -f conftest.$ac_objext conftest$ac_exeext
13319 if { (ac_try="$ac_link"
13320 case "(($ac_try" in
13321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13322 *) ac_try_echo=$ac_try;;
13323 esac
13324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13325 (eval "$ac_link") 2>conftest.er1
13326 ac_status=$?
13327 grep -v '^ *+' conftest.er1 >conftest.err
13328 rm -f conftest.er1
13329 cat conftest.err >&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } && {
13332 test -z "$ac_c_werror_flag" ||
13333 test ! -s conftest.err
13334 } && test -s conftest$ac_exeext &&
13335 $as_test_x conftest$ac_exeext; then
13336 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13337 else
13338 echo "$as_me: failed program was:" >&5
13339 sed 's/^/| /' conftest.$ac_ext >&5
13341 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13344 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13345 conftest$ac_exeext conftest.$ac_ext
13346 CFLAGS=$ac_wine_try_cflags_saved
13348 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13349 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13350 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13351 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13357 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13358 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13359 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13360 echo $ECHO_N "(cached) $ECHO_C" >&6
13361 else
13362 ac_wine_try_cflags_saved=$CFLAGS
13363 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13364 cat >conftest.$ac_ext <<_ACEOF
13365 /* confdefs.h. */
13366 _ACEOF
13367 cat confdefs.h >>conftest.$ac_ext
13368 cat >>conftest.$ac_ext <<_ACEOF
13369 /* end confdefs.h. */
13372 main ()
13376 return 0;
13378 _ACEOF
13379 rm -f conftest.$ac_objext conftest$ac_exeext
13380 if { (ac_try="$ac_link"
13381 case "(($ac_try" in
13382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13383 *) ac_try_echo=$ac_try;;
13384 esac
13385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13386 (eval "$ac_link") 2>conftest.er1
13387 ac_status=$?
13388 grep -v '^ *+' conftest.er1 >conftest.err
13389 rm -f conftest.er1
13390 cat conftest.err >&5
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); } && {
13393 test -z "$ac_c_werror_flag" ||
13394 test ! -s conftest.err
13395 } && test -s conftest$ac_exeext &&
13396 $as_test_x conftest$ac_exeext; then
13397 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13398 else
13399 echo "$as_me: failed program was:" >&5
13400 sed 's/^/| /' conftest.$ac_ext >&5
13402 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13406 conftest$ac_exeext conftest.$ac_ext
13407 CFLAGS=$ac_wine_try_cflags_saved
13409 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13410 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13411 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13412 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13416 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13417 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13418 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13420 else
13421 ac_wine_try_cflags_saved=$CFLAGS
13422 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13423 cat >conftest.$ac_ext <<_ACEOF
13424 /* confdefs.h. */
13425 _ACEOF
13426 cat confdefs.h >>conftest.$ac_ext
13427 cat >>conftest.$ac_ext <<_ACEOF
13428 /* end confdefs.h. */
13431 main ()
13435 return 0;
13437 _ACEOF
13438 rm -f conftest.$ac_objext conftest$ac_exeext
13439 if { (ac_try="$ac_link"
13440 case "(($ac_try" in
13441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13442 *) ac_try_echo=$ac_try;;
13443 esac
13444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13445 (eval "$ac_link") 2>conftest.er1
13446 ac_status=$?
13447 grep -v '^ *+' conftest.er1 >conftest.err
13448 rm -f conftest.er1
13449 cat conftest.err >&5
13450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13451 (exit $ac_status); } && {
13452 test -z "$ac_c_werror_flag" ||
13453 test ! -s conftest.err
13454 } && test -s conftest$ac_exeext &&
13455 $as_test_x conftest$ac_exeext; then
13456 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13457 else
13458 echo "$as_me: failed program was:" >&5
13459 sed 's/^/| /' conftest.$ac_ext >&5
13461 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13465 conftest$ac_exeext conftest.$ac_ext
13466 CFLAGS=$ac_wine_try_cflags_saved
13468 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13469 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13470 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13471 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13475 echo '{ global: *; };' >conftest.map
13476 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13477 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13478 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13480 else
13481 ac_wine_try_cflags_saved=$CFLAGS
13482 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13483 cat >conftest.$ac_ext <<_ACEOF
13484 /* confdefs.h. */
13485 _ACEOF
13486 cat confdefs.h >>conftest.$ac_ext
13487 cat >>conftest.$ac_ext <<_ACEOF
13488 /* end confdefs.h. */
13491 main ()
13495 return 0;
13497 _ACEOF
13498 rm -f conftest.$ac_objext conftest$ac_exeext
13499 if { (ac_try="$ac_link"
13500 case "(($ac_try" in
13501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13502 *) ac_try_echo=$ac_try;;
13503 esac
13504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13505 (eval "$ac_link") 2>conftest.er1
13506 ac_status=$?
13507 grep -v '^ *+' conftest.er1 >conftest.err
13508 rm -f conftest.er1
13509 cat conftest.err >&5
13510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13511 (exit $ac_status); } && {
13512 test -z "$ac_c_werror_flag" ||
13513 test ! -s conftest.err
13514 } && test -s conftest$ac_exeext &&
13515 $as_test_x conftest$ac_exeext; then
13516 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13517 else
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13521 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13525 conftest$ac_exeext conftest.$ac_ext
13526 CFLAGS=$ac_wine_try_cflags_saved
13528 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13529 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13530 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13531 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13534 rm -f conftest.map
13536 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13537 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13538 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13539 echo $ECHO_N "(cached) $ECHO_C" >&6
13540 else
13541 ac_wine_try_cflags_saved=$CFLAGS
13542 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13543 cat >conftest.$ac_ext <<_ACEOF
13544 /* confdefs.h. */
13545 _ACEOF
13546 cat confdefs.h >>conftest.$ac_ext
13547 cat >>conftest.$ac_ext <<_ACEOF
13548 /* end confdefs.h. */
13551 main ()
13555 return 0;
13557 _ACEOF
13558 rm -f conftest.$ac_objext conftest$ac_exeext
13559 if { (ac_try="$ac_link"
13560 case "(($ac_try" in
13561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13562 *) ac_try_echo=$ac_try;;
13563 esac
13564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13565 (eval "$ac_link") 2>conftest.er1
13566 ac_status=$?
13567 grep -v '^ *+' conftest.er1 >conftest.err
13568 rm -f conftest.er1
13569 cat conftest.err >&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } && {
13572 test -z "$ac_c_werror_flag" ||
13573 test ! -s conftest.err
13574 } && test -s conftest$ac_exeext &&
13575 $as_test_x conftest$ac_exeext; then
13576 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13577 else
13578 echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.$ac_ext >&5
13581 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13585 conftest$ac_exeext conftest.$ac_ext
13586 CFLAGS=$ac_wine_try_cflags_saved
13588 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13589 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13590 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13591 LDEXECFLAGS="-Wl,--export-dynamic"
13596 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13597 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13598 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13599 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13600 echo $ECHO_N "(cached) $ECHO_C" >&6
13601 else
13602 ac_wine_try_cflags_saved=$CFLAGS
13603 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13604 cat >conftest.$ac_ext <<_ACEOF
13605 /* confdefs.h. */
13606 _ACEOF
13607 cat confdefs.h >>conftest.$ac_ext
13608 cat >>conftest.$ac_ext <<_ACEOF
13609 /* end confdefs.h. */
13612 main ()
13616 return 0;
13618 _ACEOF
13619 rm -f conftest.$ac_objext conftest$ac_exeext
13620 if { (ac_try="$ac_link"
13621 case "(($ac_try" in
13622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13623 *) ac_try_echo=$ac_try;;
13624 esac
13625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13626 (eval "$ac_link") 2>conftest.er1
13627 ac_status=$?
13628 grep -v '^ *+' conftest.er1 >conftest.err
13629 rm -f conftest.er1
13630 cat conftest.err >&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } && {
13633 test -z "$ac_c_werror_flag" ||
13634 test ! -s conftest.err
13635 } && test -s conftest$ac_exeext &&
13636 $as_test_x conftest$ac_exeext; then
13637 eval "$as_ac_var=yes"
13638 else
13639 echo "$as_me: failed program was:" >&5
13640 sed 's/^/| /' conftest.$ac_ext >&5
13642 eval "$as_ac_var=no"
13645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13646 conftest$ac_exeext conftest.$ac_ext
13647 CFLAGS=$ac_wine_try_cflags_saved
13649 ac_res=`eval echo '${'$as_ac_var'}'`
13650 { echo "$as_me:$LINENO: result: $ac_res" >&5
13651 echo "${ECHO_T}$ac_res" >&6; }
13652 if test `eval echo '${'$as_ac_var'}'` = yes; then
13653 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13654 else
13655 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
13656 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
13657 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
13658 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13659 echo $ECHO_N "(cached) $ECHO_C" >&6
13660 else
13661 ac_wine_try_cflags_saved=$CFLAGS
13662 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
13663 cat >conftest.$ac_ext <<_ACEOF
13664 /* confdefs.h. */
13665 _ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13671 main ()
13675 return 0;
13677 _ACEOF
13678 rm -f conftest.$ac_objext conftest$ac_exeext
13679 if { (ac_try="$ac_link"
13680 case "(($ac_try" in
13681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13682 *) ac_try_echo=$ac_try;;
13683 esac
13684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13685 (eval "$ac_link") 2>conftest.er1
13686 ac_status=$?
13687 grep -v '^ *+' conftest.er1 >conftest.err
13688 rm -f conftest.er1
13689 cat conftest.err >&5
13690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13691 (exit $ac_status); } && {
13692 test -z "$ac_c_werror_flag" ||
13693 test ! -s conftest.err
13694 } && test -s conftest$ac_exeext &&
13695 $as_test_x conftest$ac_exeext; then
13696 eval "$as_ac_var=yes"
13697 else
13698 echo "$as_me: failed program was:" >&5
13699 sed 's/^/| /' conftest.$ac_ext >&5
13701 eval "$as_ac_var=no"
13704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13705 conftest$ac_exeext conftest.$ac_ext
13706 CFLAGS=$ac_wine_try_cflags_saved
13708 ac_res=`eval echo '${'$as_ac_var'}'`
13709 { echo "$as_me:$LINENO: result: $ac_res" >&5
13710 echo "${ECHO_T}$ac_res" >&6; }
13711 if test `eval echo '${'$as_ac_var'}'` = yes; then
13712 LIBWINE_LDFLAGS="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13718 case $host_cpu in
13719 *i[3456789]86* | x86_64)
13720 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13721 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13722 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13723 echo $ECHO_N "(cached) $ECHO_C" >&6
13724 else
13725 ac_wine_try_cflags_saved=$CFLAGS
13726 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13727 cat >conftest.$ac_ext <<_ACEOF
13728 /* confdefs.h. */
13729 _ACEOF
13730 cat confdefs.h >>conftest.$ac_ext
13731 cat >>conftest.$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13735 main ()
13739 return 0;
13741 _ACEOF
13742 rm -f conftest.$ac_objext conftest$ac_exeext
13743 if { (ac_try="$ac_link"
13744 case "(($ac_try" in
13745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13746 *) ac_try_echo=$ac_try;;
13747 esac
13748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13749 (eval "$ac_link") 2>conftest.er1
13750 ac_status=$?
13751 grep -v '^ *+' conftest.er1 >conftest.err
13752 rm -f conftest.er1
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } && {
13756 test -z "$ac_c_werror_flag" ||
13757 test ! -s conftest.err
13758 } && test -s conftest$ac_exeext &&
13759 $as_test_x conftest$ac_exeext; then
13760 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13761 else
13762 echo "$as_me: failed program was:" >&5
13763 sed 's/^/| /' conftest.$ac_ext >&5
13765 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13768 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13769 conftest$ac_exeext conftest.$ac_ext
13770 CFLAGS=$ac_wine_try_cflags_saved
13772 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13773 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13774 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13775 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13779 esac
13781 else
13782 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13783 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13784 if test "${ac_cv_c_dll_unixware+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 else
13787 ac_wine_try_cflags_saved=$CFLAGS
13788 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13789 cat >conftest.$ac_ext <<_ACEOF
13790 void myfunc() {}
13791 _ACEOF
13792 rm -f conftest.$ac_objext conftest$ac_exeext
13793 if { (ac_try="$ac_link"
13794 case "(($ac_try" in
13795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13796 *) ac_try_echo=$ac_try;;
13797 esac
13798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13799 (eval "$ac_link") 2>conftest.er1
13800 ac_status=$?
13801 grep -v '^ *+' conftest.er1 >conftest.err
13802 rm -f conftest.er1
13803 cat conftest.err >&5
13804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13805 (exit $ac_status); } && {
13806 test -z "$ac_c_werror_flag" ||
13807 test ! -s conftest.err
13808 } && test -s conftest$ac_exeext &&
13809 $as_test_x conftest$ac_exeext; then
13810 ac_cv_c_dll_unixware="yes"
13811 else
13812 echo "$as_me: failed program was:" >&5
13813 sed 's/^/| /' conftest.$ac_ext >&5
13815 ac_cv_c_dll_unixware="no"
13818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13819 conftest$ac_exeext conftest.$ac_ext
13820 CFLAGS=$ac_wine_try_cflags_saved
13822 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13823 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13824 if test "$ac_cv_c_dll_unixware" = "yes"
13825 then
13826 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13827 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13829 else
13830 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13831 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13832 if test "${ac_cv_c_dll_hpux+set}" = set; then
13833 echo $ECHO_N "(cached) $ECHO_C" >&6
13834 else
13835 ac_wine_try_cflags_saved=$CFLAGS
13836 CFLAGS="$CFLAGS -shared"
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_hpux="yes"
13859 else
13860 echo "$as_me: failed program was:" >&5
13861 sed 's/^/| /' conftest.$ac_ext >&5
13863 ac_cv_c_dll_hpux="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_hpux" >&5
13871 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13872 if test "$ac_cv_c_dll_hpux" = "yes"
13873 then
13874 LIBEXT="sl"
13875 DLLEXT=".sl"
13876 LDDLLFLAGS="-shared -fPIC"
13877 LDSHARED="\$(CC) -shared"
13882 CROSSTEST=""
13884 if test "$cross_compiling" = "no"
13885 then
13886 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13888 # Extract the first word of "$ac_prog", so it can be a program name with args.
13889 set dummy $ac_prog; ac_word=$2
13890 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13891 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13892 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13893 echo $ECHO_N "(cached) $ECHO_C" >&6
13894 else
13895 if test -n "$CROSSCC"; then
13896 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13897 else
13898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13899 for as_dir in $PATH
13901 IFS=$as_save_IFS
13902 test -z "$as_dir" && as_dir=.
13903 for ac_exec_ext in '' $ac_executable_extensions; do
13904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13905 ac_cv_prog_CROSSCC="$ac_prog"
13906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13907 break 2
13909 done
13910 done
13911 IFS=$as_save_IFS
13915 CROSSCC=$ac_cv_prog_CROSSCC
13916 if test -n "$CROSSCC"; then
13917 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13918 echo "${ECHO_T}$CROSSCC" >&6; }
13919 else
13920 { echo "$as_me:$LINENO: result: no" >&5
13921 echo "${ECHO_T}no" >&6; }
13925 test -n "$CROSSCC" && break
13926 done
13927 test -n "$CROSSCC" || CROSSCC="false"
13929 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13931 # Extract the first word of "$ac_prog", so it can be a program name with args.
13932 set dummy $ac_prog; ac_word=$2
13933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13935 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 else
13938 if test -n "$DLLTOOL"; then
13939 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13940 else
13941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13942 for as_dir in $PATH
13944 IFS=$as_save_IFS
13945 test -z "$as_dir" && as_dir=.
13946 for ac_exec_ext in '' $ac_executable_extensions; do
13947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13948 ac_cv_prog_DLLTOOL="$ac_prog"
13949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13950 break 2
13952 done
13953 done
13954 IFS=$as_save_IFS
13958 DLLTOOL=$ac_cv_prog_DLLTOOL
13959 if test -n "$DLLTOOL"; then
13960 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13961 echo "${ECHO_T}$DLLTOOL" >&6; }
13962 else
13963 { echo "$as_me:$LINENO: result: no" >&5
13964 echo "${ECHO_T}no" >&6; }
13968 test -n "$DLLTOOL" && break
13969 done
13970 test -n "$DLLTOOL" || DLLTOOL="false"
13972 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
13974 # Extract the first word of "$ac_prog", so it can be a program name with args.
13975 set dummy $ac_prog; ac_word=$2
13976 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13978 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
13979 echo $ECHO_N "(cached) $ECHO_C" >&6
13980 else
13981 if test -n "$CROSSWINDRES"; then
13982 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
13983 else
13984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13985 for as_dir in $PATH
13987 IFS=$as_save_IFS
13988 test -z "$as_dir" && as_dir=.
13989 for ac_exec_ext in '' $ac_executable_extensions; do
13990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13991 ac_cv_prog_CROSSWINDRES="$ac_prog"
13992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13993 break 2
13995 done
13996 done
13997 IFS=$as_save_IFS
14001 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14002 if test -n "$CROSSWINDRES"; then
14003 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14004 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14005 else
14006 { echo "$as_me:$LINENO: result: no" >&5
14007 echo "${ECHO_T}no" >&6; }
14011 test -n "$CROSSWINDRES" && break
14012 done
14013 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14015 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14017 # Extract the first word of "$ac_prog", so it can be a program name with args.
14018 set dummy $ac_prog; ac_word=$2
14019 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14021 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14022 echo $ECHO_N "(cached) $ECHO_C" >&6
14023 else
14024 if test -n "$MINGWAR"; then
14025 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14026 else
14027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14028 for as_dir in $PATH
14030 IFS=$as_save_IFS
14031 test -z "$as_dir" && as_dir=.
14032 for ac_exec_ext in '' $ac_executable_extensions; do
14033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14034 ac_cv_prog_MINGWAR="$ac_prog"
14035 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14036 break 2
14038 done
14039 done
14040 IFS=$as_save_IFS
14044 MINGWAR=$ac_cv_prog_MINGWAR
14045 if test -n "$MINGWAR"; then
14046 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14047 echo "${ECHO_T}$MINGWAR" >&6; }
14048 else
14049 { echo "$as_me:$LINENO: result: no" >&5
14050 echo "${ECHO_T}no" >&6; }
14054 test -n "$MINGWAR" && break
14055 done
14056 test -n "$MINGWAR" || MINGWAR="false"
14058 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14061 esac
14063 if test "$LIBEXT" = "a"; then
14064 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14065 It is currently not possible to build Wine without shared library
14066 (.so) support to allow transparent switch between .so and .dll files.
14067 If you are using Linux, you will need a newer binutils.
14068 " >&5
14069 echo "$as_me: error: could not find a way to build shared libraries.
14070 It is currently not possible to build Wine without shared library
14071 (.so) support to allow transparent switch between .so and .dll files.
14072 If you are using Linux, you will need a newer binutils.
14073 " >&2;}
14074 { (exit 1); exit 1; }; }
14077 case $build_os in
14078 cygwin*|mingw32*)
14079 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14081 darwin*|macosx*)
14082 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14085 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14087 esac
14089 case $host_os in
14090 mingw32*)
14091 CRTLIBS="-lmsvcrt"
14093 SOCKETLIBS="-lws2_32"
14096 esac
14098 MAIN_BINARY="wine-pthread"
14099 case $host_cpu in
14100 *i[3456789]86*)
14101 case $host_os in
14102 linux* | k*bsd*-gnu)
14103 MAIN_BINARY="wine-glibc"
14105 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14107 esac
14109 esac
14112 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14113 then
14114 # Extract the first word of "ldd", so it can be a program name with args.
14115 set dummy ldd; ac_word=$2
14116 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14117 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14118 if test "${ac_cv_path_LDD+set}" = set; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 else
14121 case $LDD in
14122 [\\/]* | ?:[\\/]*)
14123 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14127 as_dummy="/sbin:/usr/sbin:$PATH"
14128 for as_dir in $as_dummy
14130 IFS=$as_save_IFS
14131 test -z "$as_dir" && as_dir=.
14132 for ac_exec_ext in '' $ac_executable_extensions; do
14133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14134 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14136 break 2
14138 done
14139 done
14140 IFS=$as_save_IFS
14142 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14144 esac
14146 LDD=$ac_cv_path_LDD
14147 if test -n "$LDD"; then
14148 { echo "$as_me:$LINENO: result: $LDD" >&5
14149 echo "${ECHO_T}$LDD" >&6; }
14150 else
14151 { echo "$as_me:$LINENO: result: no" >&5
14152 echo "${ECHO_T}no" >&6; }
14156 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14157 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14158 if test "${ac_cv_lib_soname_X11+set}" = set; then
14159 echo $ECHO_N "(cached) $ECHO_C" >&6
14160 else
14161 ac_get_soname_save_LIBS=$LIBS
14162 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14163 cat >conftest.$ac_ext <<_ACEOF
14164 /* confdefs.h. */
14165 _ACEOF
14166 cat confdefs.h >>conftest.$ac_ext
14167 cat >>conftest.$ac_ext <<_ACEOF
14168 /* end confdefs.h. */
14170 /* Override any GCC internal prototype to avoid an error.
14171 Use char because int might match the return type of a GCC
14172 builtin and then its argument prototype would still apply. */
14173 #ifdef __cplusplus
14174 extern "C"
14175 #endif
14176 char XCreateWindow ();
14178 main ()
14180 return XCreateWindow ();
14182 return 0;
14184 _ACEOF
14185 rm -f conftest.$ac_objext conftest$ac_exeext
14186 if { (ac_try="$ac_link"
14187 case "(($ac_try" in
14188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14189 *) ac_try_echo=$ac_try;;
14190 esac
14191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14192 (eval "$ac_link") 2>conftest.er1
14193 ac_status=$?
14194 grep -v '^ *+' conftest.er1 >conftest.err
14195 rm -f conftest.er1
14196 cat conftest.err >&5
14197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14198 (exit $ac_status); } && {
14199 test -z "$ac_c_werror_flag" ||
14200 test ! -s conftest.err
14201 } && test -s conftest$ac_exeext &&
14202 $as_test_x conftest$ac_exeext; then
14203 case "$LIBEXT" in
14204 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'` ;;
14205 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14206 esac
14207 if test "x$ac_cv_lib_soname_X11" = "x"
14208 then
14209 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14211 else
14212 echo "$as_me: failed program was:" >&5
14213 sed 's/^/| /' conftest.$ac_ext >&5
14215 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14219 conftest$ac_exeext conftest.$ac_ext
14220 LIBS=$ac_get_soname_save_LIBS
14222 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14223 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14224 if test "${ac_cv_lib_soname_X11+set}" = set; then
14226 cat >>confdefs.h <<_ACEOF
14227 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14228 _ACEOF
14232 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14233 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14234 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14235 echo $ECHO_N "(cached) $ECHO_C" >&6
14236 else
14237 ac_get_soname_save_LIBS=$LIBS
14238 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14239 cat >conftest.$ac_ext <<_ACEOF
14240 /* confdefs.h. */
14241 _ACEOF
14242 cat confdefs.h >>conftest.$ac_ext
14243 cat >>conftest.$ac_ext <<_ACEOF
14244 /* end confdefs.h. */
14246 /* Override any GCC internal prototype to avoid an error.
14247 Use char because int might match the return type of a GCC
14248 builtin and then its argument prototype would still apply. */
14249 #ifdef __cplusplus
14250 extern "C"
14251 #endif
14252 char XextCreateExtension ();
14254 main ()
14256 return XextCreateExtension ();
14258 return 0;
14260 _ACEOF
14261 rm -f conftest.$ac_objext conftest$ac_exeext
14262 if { (ac_try="$ac_link"
14263 case "(($ac_try" in
14264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14265 *) ac_try_echo=$ac_try;;
14266 esac
14267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14268 (eval "$ac_link") 2>conftest.er1
14269 ac_status=$?
14270 grep -v '^ *+' conftest.er1 >conftest.err
14271 rm -f conftest.er1
14272 cat conftest.err >&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); } && {
14275 test -z "$ac_c_werror_flag" ||
14276 test ! -s conftest.err
14277 } && test -s conftest$ac_exeext &&
14278 $as_test_x conftest$ac_exeext; then
14279 case "$LIBEXT" in
14280 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'` ;;
14281 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14282 esac
14283 if test "x$ac_cv_lib_soname_Xext" = "x"
14284 then
14285 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14287 else
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.$ac_ext >&5
14291 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14295 conftest$ac_exeext conftest.$ac_ext
14296 LIBS=$ac_get_soname_save_LIBS
14298 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14299 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14300 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14302 cat >>confdefs.h <<_ACEOF
14303 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14304 _ACEOF
14308 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14309 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14310 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 else
14313 ac_get_soname_save_LIBS=$LIBS
14314 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14315 cat >conftest.$ac_ext <<_ACEOF
14316 /* confdefs.h. */
14317 _ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14322 /* Override any GCC internal prototype to avoid an error.
14323 Use char because int might match the return type of a GCC
14324 builtin and then its argument prototype would still apply. */
14325 #ifdef __cplusplus
14326 extern "C"
14327 #endif
14328 char XOpenDevice ();
14330 main ()
14332 return XOpenDevice ();
14334 return 0;
14336 _ACEOF
14337 rm -f conftest.$ac_objext conftest$ac_exeext
14338 if { (ac_try="$ac_link"
14339 case "(($ac_try" in
14340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14341 *) ac_try_echo=$ac_try;;
14342 esac
14343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14344 (eval "$ac_link") 2>conftest.er1
14345 ac_status=$?
14346 grep -v '^ *+' conftest.er1 >conftest.err
14347 rm -f conftest.er1
14348 cat conftest.err >&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } && {
14351 test -z "$ac_c_werror_flag" ||
14352 test ! -s conftest.err
14353 } && test -s conftest$ac_exeext &&
14354 $as_test_x conftest$ac_exeext; then
14355 case "$LIBEXT" in
14356 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'` ;;
14357 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14358 esac
14359 if test "x$ac_cv_lib_soname_Xi" = "x"
14360 then
14361 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14363 else
14364 echo "$as_me: failed program was:" >&5
14365 sed 's/^/| /' conftest.$ac_ext >&5
14367 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14370 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14371 conftest$ac_exeext conftest.$ac_ext
14372 LIBS=$ac_get_soname_save_LIBS
14374 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14375 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14376 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14378 cat >>confdefs.h <<_ACEOF
14379 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14380 _ACEOF
14384 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14385 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14386 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14388 else
14389 ac_get_soname_save_LIBS=$LIBS
14390 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14391 cat >conftest.$ac_ext <<_ACEOF
14392 /* confdefs.h. */
14393 _ACEOF
14394 cat confdefs.h >>conftest.$ac_ext
14395 cat >>conftest.$ac_ext <<_ACEOF
14396 /* end confdefs.h. */
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply. */
14401 #ifdef __cplusplus
14402 extern "C"
14403 #endif
14404 char XineramaQueryScreens ();
14406 main ()
14408 return XineramaQueryScreens ();
14410 return 0;
14412 _ACEOF
14413 rm -f conftest.$ac_objext conftest$ac_exeext
14414 if { (ac_try="$ac_link"
14415 case "(($ac_try" in
14416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14417 *) ac_try_echo=$ac_try;;
14418 esac
14419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14420 (eval "$ac_link") 2>conftest.er1
14421 ac_status=$?
14422 grep -v '^ *+' conftest.er1 >conftest.err
14423 rm -f conftest.er1
14424 cat conftest.err >&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); } && {
14427 test -z "$ac_c_werror_flag" ||
14428 test ! -s conftest.err
14429 } && test -s conftest$ac_exeext &&
14430 $as_test_x conftest$ac_exeext; then
14431 case "$LIBEXT" in
14432 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'` ;;
14433 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14434 esac
14435 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14436 then
14437 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14439 else
14440 echo "$as_me: failed program was:" >&5
14441 sed 's/^/| /' conftest.$ac_ext >&5
14443 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14447 conftest$ac_exeext conftest.$ac_ext
14448 LIBS=$ac_get_soname_save_LIBS
14450 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14451 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14452 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14454 cat >>confdefs.h <<_ACEOF
14455 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14456 _ACEOF
14460 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14461 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14462 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14463 echo $ECHO_N "(cached) $ECHO_C" >&6
14464 else
14465 ac_get_soname_save_LIBS=$LIBS
14466 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14467 cat >conftest.$ac_ext <<_ACEOF
14468 /* confdefs.h. */
14469 _ACEOF
14470 cat confdefs.h >>conftest.$ac_ext
14471 cat >>conftest.$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14474 /* Override any GCC internal prototype to avoid an error.
14475 Use char because int might match the return type of a GCC
14476 builtin and then its argument prototype would still apply. */
14477 #ifdef __cplusplus
14478 extern "C"
14479 #endif
14480 char XRenderQueryExtension ();
14482 main ()
14484 return XRenderQueryExtension ();
14486 return 0;
14488 _ACEOF
14489 rm -f conftest.$ac_objext conftest$ac_exeext
14490 if { (ac_try="$ac_link"
14491 case "(($ac_try" in
14492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14493 *) ac_try_echo=$ac_try;;
14494 esac
14495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14496 (eval "$ac_link") 2>conftest.er1
14497 ac_status=$?
14498 grep -v '^ *+' conftest.er1 >conftest.err
14499 rm -f conftest.er1
14500 cat conftest.err >&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); } && {
14503 test -z "$ac_c_werror_flag" ||
14504 test ! -s conftest.err
14505 } && test -s conftest$ac_exeext &&
14506 $as_test_x conftest$ac_exeext; then
14507 case "$LIBEXT" in
14508 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'` ;;
14509 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14510 esac
14511 if test "x$ac_cv_lib_soname_Xrender" = "x"
14512 then
14513 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14515 else
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14519 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14523 conftest$ac_exeext conftest.$ac_ext
14524 LIBS=$ac_get_soname_save_LIBS
14526 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14527 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14528 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14530 cat >>confdefs.h <<_ACEOF
14531 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14532 _ACEOF
14536 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14537 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14538 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14539 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 else
14541 ac_get_soname_save_LIBS=$LIBS
14542 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14543 cat >conftest.$ac_ext <<_ACEOF
14544 /* confdefs.h. */
14545 _ACEOF
14546 cat confdefs.h >>conftest.$ac_ext
14547 cat >>conftest.$ac_ext <<_ACEOF
14548 /* end confdefs.h. */
14550 /* Override any GCC internal prototype to avoid an error.
14551 Use char because int might match the return type of a GCC
14552 builtin and then its argument prototype would still apply. */
14553 #ifdef __cplusplus
14554 extern "C"
14555 #endif
14556 char XRRQueryExtension ();
14558 main ()
14560 return XRRQueryExtension ();
14562 return 0;
14564 _ACEOF
14565 rm -f conftest.$ac_objext conftest$ac_exeext
14566 if { (ac_try="$ac_link"
14567 case "(($ac_try" in
14568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14569 *) ac_try_echo=$ac_try;;
14570 esac
14571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14572 (eval "$ac_link") 2>conftest.er1
14573 ac_status=$?
14574 grep -v '^ *+' conftest.er1 >conftest.err
14575 rm -f conftest.er1
14576 cat conftest.err >&5
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); } && {
14579 test -z "$ac_c_werror_flag" ||
14580 test ! -s conftest.err
14581 } && test -s conftest$ac_exeext &&
14582 $as_test_x conftest$ac_exeext; then
14583 case "$LIBEXT" in
14584 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'` ;;
14585 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14586 esac
14587 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14588 then
14589 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14591 else
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14595 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14599 conftest$ac_exeext conftest.$ac_ext
14600 LIBS=$ac_get_soname_save_LIBS
14602 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14603 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14604 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14606 cat >>confdefs.h <<_ACEOF
14607 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14608 _ACEOF
14612 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14613 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14614 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14615 echo $ECHO_N "(cached) $ECHO_C" >&6
14616 else
14617 ac_get_soname_save_LIBS=$LIBS
14618 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14619 cat >conftest.$ac_ext <<_ACEOF
14620 /* confdefs.h. */
14621 _ACEOF
14622 cat confdefs.h >>conftest.$ac_ext
14623 cat >>conftest.$ac_ext <<_ACEOF
14624 /* end confdefs.h. */
14626 /* Override any GCC internal prototype to avoid an error.
14627 Use char because int might match the return type of a GCC
14628 builtin and then its argument prototype would still apply. */
14629 #ifdef __cplusplus
14630 extern "C"
14631 #endif
14632 char XcursorImageLoadCursor ();
14634 main ()
14636 return XcursorImageLoadCursor ();
14638 return 0;
14640 _ACEOF
14641 rm -f conftest.$ac_objext conftest$ac_exeext
14642 if { (ac_try="$ac_link"
14643 case "(($ac_try" in
14644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14645 *) ac_try_echo=$ac_try;;
14646 esac
14647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14648 (eval "$ac_link") 2>conftest.er1
14649 ac_status=$?
14650 grep -v '^ *+' conftest.er1 >conftest.err
14651 rm -f conftest.er1
14652 cat conftest.err >&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); } && {
14655 test -z "$ac_c_werror_flag" ||
14656 test ! -s conftest.err
14657 } && test -s conftest$ac_exeext &&
14658 $as_test_x conftest$ac_exeext; then
14659 case "$LIBEXT" in
14660 dylib) ac_cv_lib_soname_Xcursor=`otool -L conftest$ac_exeext | grep libXcursor\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14661 so) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14662 esac
14663 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14664 then
14665 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14667 else
14668 echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.$ac_ext >&5
14671 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14674 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_get_soname_save_LIBS
14678 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14679 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14680 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14682 cat >>confdefs.h <<_ACEOF
14683 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14684 _ACEOF
14688 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14689 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14690 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14691 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 else
14693 ac_get_soname_save_LIBS=$LIBS
14694 LIBS="-lfreetype $X_LIBS $LIBS"
14695 cat >conftest.$ac_ext <<_ACEOF
14696 /* confdefs.h. */
14697 _ACEOF
14698 cat confdefs.h >>conftest.$ac_ext
14699 cat >>conftest.$ac_ext <<_ACEOF
14700 /* end confdefs.h. */
14702 /* Override any GCC internal prototype to avoid an error.
14703 Use char because int might match the return type of a GCC
14704 builtin and then its argument prototype would still apply. */
14705 #ifdef __cplusplus
14706 extern "C"
14707 #endif
14708 char FT_Init_FreeType ();
14710 main ()
14712 return FT_Init_FreeType ();
14714 return 0;
14716 _ACEOF
14717 rm -f conftest.$ac_objext conftest$ac_exeext
14718 if { (ac_try="$ac_link"
14719 case "(($ac_try" in
14720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14721 *) ac_try_echo=$ac_try;;
14722 esac
14723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14724 (eval "$ac_link") 2>conftest.er1
14725 ac_status=$?
14726 grep -v '^ *+' conftest.er1 >conftest.err
14727 rm -f conftest.er1
14728 cat conftest.err >&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } && {
14731 test -z "$ac_c_werror_flag" ||
14732 test ! -s conftest.err
14733 } && test -s conftest$ac_exeext &&
14734 $as_test_x conftest$ac_exeext; then
14735 case "$LIBEXT" in
14736 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'` ;;
14737 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14738 esac
14739 if test "x$ac_cv_lib_soname_freetype" = "x"
14740 then
14741 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14743 else
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14747 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14751 conftest$ac_exeext conftest.$ac_ext
14752 LIBS=$ac_get_soname_save_LIBS
14754 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14755 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14756 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14758 cat >>confdefs.h <<_ACEOF
14759 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14760 _ACEOF
14764 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14765 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14766 if test "${ac_cv_lib_soname_GL+set}" = set; then
14767 echo $ECHO_N "(cached) $ECHO_C" >&6
14768 else
14769 ac_get_soname_save_LIBS=$LIBS
14770 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14771 cat >conftest.$ac_ext <<_ACEOF
14772 /* confdefs.h. */
14773 _ACEOF
14774 cat confdefs.h >>conftest.$ac_ext
14775 cat >>conftest.$ac_ext <<_ACEOF
14776 /* end confdefs.h. */
14778 /* Override any GCC internal prototype to avoid an error.
14779 Use char because int might match the return type of a GCC
14780 builtin and then its argument prototype would still apply. */
14781 #ifdef __cplusplus
14782 extern "C"
14783 #endif
14784 char glXQueryExtension ();
14786 main ()
14788 return glXQueryExtension ();
14790 return 0;
14792 _ACEOF
14793 rm -f conftest.$ac_objext conftest$ac_exeext
14794 if { (ac_try="$ac_link"
14795 case "(($ac_try" in
14796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14797 *) ac_try_echo=$ac_try;;
14798 esac
14799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14800 (eval "$ac_link") 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } && {
14807 test -z "$ac_c_werror_flag" ||
14808 test ! -s conftest.err
14809 } && test -s conftest$ac_exeext &&
14810 $as_test_x conftest$ac_exeext; then
14811 case "$LIBEXT" in
14812 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'` ;;
14813 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14814 esac
14815 if test "x$ac_cv_lib_soname_GL" = "x"
14816 then
14817 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14819 else
14820 echo "$as_me: failed program was:" >&5
14821 sed 's/^/| /' conftest.$ac_ext >&5
14823 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14826 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14827 conftest$ac_exeext conftest.$ac_ext
14828 LIBS=$ac_get_soname_save_LIBS
14830 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14831 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14832 if test "${ac_cv_lib_soname_GL+set}" = set; then
14834 cat >>confdefs.h <<_ACEOF
14835 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14836 _ACEOF
14840 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14841 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14842 if test "${ac_cv_lib_soname_hal+set}" = set; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 else
14845 ac_get_soname_save_LIBS=$LIBS
14846 LIBS="-lhal $LIBS"
14847 cat >conftest.$ac_ext <<_ACEOF
14848 /* confdefs.h. */
14849 _ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14854 /* Override any GCC internal prototype to avoid an error.
14855 Use char because int might match the return type of a GCC
14856 builtin and then its argument prototype would still apply. */
14857 #ifdef __cplusplus
14858 extern "C"
14859 #endif
14860 char libhal_ctx_new ();
14862 main ()
14864 return libhal_ctx_new ();
14866 return 0;
14868 _ACEOF
14869 rm -f conftest.$ac_objext conftest$ac_exeext
14870 if { (ac_try="$ac_link"
14871 case "(($ac_try" in
14872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14873 *) ac_try_echo=$ac_try;;
14874 esac
14875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14876 (eval "$ac_link") 2>conftest.er1
14877 ac_status=$?
14878 grep -v '^ *+' conftest.er1 >conftest.err
14879 rm -f conftest.er1
14880 cat conftest.err >&5
14881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14882 (exit $ac_status); } && {
14883 test -z "$ac_c_werror_flag" ||
14884 test ! -s conftest.err
14885 } && test -s conftest$ac_exeext &&
14886 $as_test_x conftest$ac_exeext; then
14887 case "$LIBEXT" in
14888 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'` ;;
14889 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14890 esac
14891 if test "x$ac_cv_lib_soname_hal" = "x"
14892 then
14893 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14895 else
14896 echo "$as_me: failed program was:" >&5
14897 sed 's/^/| /' conftest.$ac_ext >&5
14899 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14903 conftest$ac_exeext conftest.$ac_ext
14904 LIBS=$ac_get_soname_save_LIBS
14906 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14907 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14908 if test "${ac_cv_lib_soname_hal+set}" = set; then
14910 cat >>confdefs.h <<_ACEOF
14911 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14912 _ACEOF
14916 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14917 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14918 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14919 echo $ECHO_N "(cached) $ECHO_C" >&6
14920 else
14921 ac_get_soname_save_LIBS=$LIBS
14922 LIBS="-ltxc_dxtn $LIBS"
14923 cat >conftest.$ac_ext <<_ACEOF
14924 /* confdefs.h. */
14925 _ACEOF
14926 cat confdefs.h >>conftest.$ac_ext
14927 cat >>conftest.$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14930 /* Override any GCC internal prototype to avoid an error.
14931 Use char because int might match the return type of a GCC
14932 builtin and then its argument prototype would still apply. */
14933 #ifdef __cplusplus
14934 extern "C"
14935 #endif
14936 char fetch_2d_texel_rgba_dxt1 ();
14938 main ()
14940 return fetch_2d_texel_rgba_dxt1 ();
14942 return 0;
14944 _ACEOF
14945 rm -f conftest.$ac_objext conftest$ac_exeext
14946 if { (ac_try="$ac_link"
14947 case "(($ac_try" in
14948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14949 *) ac_try_echo=$ac_try;;
14950 esac
14951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14952 (eval "$ac_link") 2>conftest.er1
14953 ac_status=$?
14954 grep -v '^ *+' conftest.er1 >conftest.err
14955 rm -f conftest.er1
14956 cat conftest.err >&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } && {
14959 test -z "$ac_c_werror_flag" ||
14960 test ! -s conftest.err
14961 } && test -s conftest$ac_exeext &&
14962 $as_test_x conftest$ac_exeext; then
14963 case "$LIBEXT" in
14964 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'` ;;
14965 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'` ;;
14966 esac
14967 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14968 then
14969 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14971 else
14972 echo "$as_me: failed program was:" >&5
14973 sed 's/^/| /' conftest.$ac_ext >&5
14975 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14979 conftest$ac_exeext conftest.$ac_ext
14980 LIBS=$ac_get_soname_save_LIBS
14982 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14983 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14984 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14986 cat >>confdefs.h <<_ACEOF
14987 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14988 _ACEOF
14992 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
14993 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
14994 if test "${ac_cv_lib_soname_cups+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 ac_get_soname_save_LIBS=$LIBS
14998 LIBS="-lcups $LIBS"
14999 cat >conftest.$ac_ext <<_ACEOF
15000 /* confdefs.h. */
15001 _ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15006 /* Override any GCC internal prototype to avoid an error.
15007 Use char because int might match the return type of a GCC
15008 builtin and then its argument prototype would still apply. */
15009 #ifdef __cplusplus
15010 extern "C"
15011 #endif
15012 char cupsGetDefault ();
15014 main ()
15016 return cupsGetDefault ();
15018 return 0;
15020 _ACEOF
15021 rm -f conftest.$ac_objext conftest$ac_exeext
15022 if { (ac_try="$ac_link"
15023 case "(($ac_try" in
15024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15025 *) ac_try_echo=$ac_try;;
15026 esac
15027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15028 (eval "$ac_link") 2>conftest.er1
15029 ac_status=$?
15030 grep -v '^ *+' conftest.er1 >conftest.err
15031 rm -f conftest.er1
15032 cat conftest.err >&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); } && {
15035 test -z "$ac_c_werror_flag" ||
15036 test ! -s conftest.err
15037 } && test -s conftest$ac_exeext &&
15038 $as_test_x conftest$ac_exeext; then
15039 case "$LIBEXT" in
15040 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'` ;;
15041 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15042 esac
15043 if test "x$ac_cv_lib_soname_cups" = "x"
15044 then
15045 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15047 else
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.$ac_ext >&5
15051 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15055 conftest$ac_exeext conftest.$ac_ext
15056 LIBS=$ac_get_soname_save_LIBS
15058 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15059 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15060 if test "${ac_cv_lib_soname_cups+set}" = set; then
15062 cat >>confdefs.h <<_ACEOF
15063 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15064 _ACEOF
15068 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15069 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15070 if test "${ac_cv_lib_soname_jack+set}" = set; then
15071 echo $ECHO_N "(cached) $ECHO_C" >&6
15072 else
15073 ac_get_soname_save_LIBS=$LIBS
15074 LIBS="-ljack $LIBS"
15075 cat >conftest.$ac_ext <<_ACEOF
15076 /* confdefs.h. */
15077 _ACEOF
15078 cat confdefs.h >>conftest.$ac_ext
15079 cat >>conftest.$ac_ext <<_ACEOF
15080 /* end confdefs.h. */
15082 /* Override any GCC internal prototype to avoid an error.
15083 Use char because int might match the return type of a GCC
15084 builtin and then its argument prototype would still apply. */
15085 #ifdef __cplusplus
15086 extern "C"
15087 #endif
15088 char jack_client_new ();
15090 main ()
15092 return jack_client_new ();
15094 return 0;
15096 _ACEOF
15097 rm -f conftest.$ac_objext conftest$ac_exeext
15098 if { (ac_try="$ac_link"
15099 case "(($ac_try" in
15100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15101 *) ac_try_echo=$ac_try;;
15102 esac
15103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15104 (eval "$ac_link") 2>conftest.er1
15105 ac_status=$?
15106 grep -v '^ *+' conftest.er1 >conftest.err
15107 rm -f conftest.er1
15108 cat conftest.err >&5
15109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15110 (exit $ac_status); } && {
15111 test -z "$ac_c_werror_flag" ||
15112 test ! -s conftest.err
15113 } && test -s conftest$ac_exeext &&
15114 $as_test_x conftest$ac_exeext; then
15115 case "$LIBEXT" in
15116 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'` ;;
15117 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15118 esac
15119 if test "x$ac_cv_lib_soname_jack" = "x"
15120 then
15121 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15123 else
15124 echo "$as_me: failed program was:" >&5
15125 sed 's/^/| /' conftest.$ac_ext >&5
15127 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15131 conftest$ac_exeext conftest.$ac_ext
15132 LIBS=$ac_get_soname_save_LIBS
15134 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15135 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15136 if test "${ac_cv_lib_soname_jack+set}" = set; then
15138 cat >>confdefs.h <<_ACEOF
15139 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15140 _ACEOF
15144 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15145 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15146 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15148 else
15149 ac_get_soname_save_LIBS=$LIBS
15150 LIBS="-lfontconfig $LIBS"
15151 cat >conftest.$ac_ext <<_ACEOF
15152 /* confdefs.h. */
15153 _ACEOF
15154 cat confdefs.h >>conftest.$ac_ext
15155 cat >>conftest.$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15158 /* Override any GCC internal prototype to avoid an error.
15159 Use char because int might match the return type of a GCC
15160 builtin and then its argument prototype would still apply. */
15161 #ifdef __cplusplus
15162 extern "C"
15163 #endif
15164 char FcInit ();
15166 main ()
15168 return FcInit ();
15170 return 0;
15172 _ACEOF
15173 rm -f conftest.$ac_objext conftest$ac_exeext
15174 if { (ac_try="$ac_link"
15175 case "(($ac_try" in
15176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15177 *) ac_try_echo=$ac_try;;
15178 esac
15179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15180 (eval "$ac_link") 2>conftest.er1
15181 ac_status=$?
15182 grep -v '^ *+' conftest.er1 >conftest.err
15183 rm -f conftest.er1
15184 cat conftest.err >&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } && {
15187 test -z "$ac_c_werror_flag" ||
15188 test ! -s conftest.err
15189 } && test -s conftest$ac_exeext &&
15190 $as_test_x conftest$ac_exeext; then
15191 case "$LIBEXT" in
15192 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'` ;;
15193 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15194 esac
15195 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15196 then
15197 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15199 else
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.$ac_ext >&5
15203 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15207 conftest$ac_exeext conftest.$ac_ext
15208 LIBS=$ac_get_soname_save_LIBS
15210 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15211 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15212 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15214 cat >>confdefs.h <<_ACEOF
15215 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15216 _ACEOF
15220 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15221 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15222 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15223 echo $ECHO_N "(cached) $ECHO_C" >&6
15224 else
15225 ac_get_soname_save_LIBS=$LIBS
15226 LIBS="-lssl $LIBS"
15227 cat >conftest.$ac_ext <<_ACEOF
15228 /* confdefs.h. */
15229 _ACEOF
15230 cat confdefs.h >>conftest.$ac_ext
15231 cat >>conftest.$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15234 /* Override any GCC internal prototype to avoid an error.
15235 Use char because int might match the return type of a GCC
15236 builtin and then its argument prototype would still apply. */
15237 #ifdef __cplusplus
15238 extern "C"
15239 #endif
15240 char SSL_library_init ();
15242 main ()
15244 return SSL_library_init ();
15246 return 0;
15248 _ACEOF
15249 rm -f conftest.$ac_objext conftest$ac_exeext
15250 if { (ac_try="$ac_link"
15251 case "(($ac_try" in
15252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15253 *) ac_try_echo=$ac_try;;
15254 esac
15255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15256 (eval "$ac_link") 2>conftest.er1
15257 ac_status=$?
15258 grep -v '^ *+' conftest.er1 >conftest.err
15259 rm -f conftest.er1
15260 cat conftest.err >&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); } && {
15263 test -z "$ac_c_werror_flag" ||
15264 test ! -s conftest.err
15265 } && test -s conftest$ac_exeext &&
15266 $as_test_x conftest$ac_exeext; then
15267 case "$LIBEXT" in
15268 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'` ;;
15269 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15270 esac
15271 if test "x$ac_cv_lib_soname_ssl" = "x"
15272 then
15273 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15275 else
15276 echo "$as_me: failed program was:" >&5
15277 sed 's/^/| /' conftest.$ac_ext >&5
15279 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15282 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15283 conftest$ac_exeext conftest.$ac_ext
15284 LIBS=$ac_get_soname_save_LIBS
15286 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15287 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15288 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15290 cat >>confdefs.h <<_ACEOF
15291 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15292 _ACEOF
15296 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15297 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15298 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15300 else
15301 ac_get_soname_save_LIBS=$LIBS
15302 LIBS="-lcrypto $LIBS"
15303 cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h. */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h. */
15310 /* Override any GCC internal prototype to avoid an error.
15311 Use char because int might match the return type of a GCC
15312 builtin and then its argument prototype would still apply. */
15313 #ifdef __cplusplus
15314 extern "C"
15315 #endif
15316 char BIO_new_socket ();
15318 main ()
15320 return BIO_new_socket ();
15322 return 0;
15324 _ACEOF
15325 rm -f conftest.$ac_objext conftest$ac_exeext
15326 if { (ac_try="$ac_link"
15327 case "(($ac_try" in
15328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15329 *) ac_try_echo=$ac_try;;
15330 esac
15331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15332 (eval "$ac_link") 2>conftest.er1
15333 ac_status=$?
15334 grep -v '^ *+' conftest.er1 >conftest.err
15335 rm -f conftest.er1
15336 cat conftest.err >&5
15337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15338 (exit $ac_status); } && {
15339 test -z "$ac_c_werror_flag" ||
15340 test ! -s conftest.err
15341 } && test -s conftest$ac_exeext &&
15342 $as_test_x conftest$ac_exeext; then
15343 case "$LIBEXT" in
15344 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'` ;;
15345 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15346 esac
15347 if test "x$ac_cv_lib_soname_crypto" = "x"
15348 then
15349 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15351 else
15352 echo "$as_me: failed program was:" >&5
15353 sed 's/^/| /' conftest.$ac_ext >&5
15355 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15359 conftest$ac_exeext conftest.$ac_ext
15360 LIBS=$ac_get_soname_save_LIBS
15362 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15363 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15364 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15366 cat >>confdefs.h <<_ACEOF
15367 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15368 _ACEOF
15372 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15373 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15374 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15375 echo $ECHO_N "(cached) $ECHO_C" >&6
15376 else
15377 ac_get_soname_save_LIBS=$LIBS
15378 LIBS="-lncurses $LIBS"
15379 cat >conftest.$ac_ext <<_ACEOF
15380 /* confdefs.h. */
15381 _ACEOF
15382 cat confdefs.h >>conftest.$ac_ext
15383 cat >>conftest.$ac_ext <<_ACEOF
15384 /* end confdefs.h. */
15386 /* Override any GCC internal prototype to avoid an error.
15387 Use char because int might match the return type of a GCC
15388 builtin and then its argument prototype would still apply. */
15389 #ifdef __cplusplus
15390 extern "C"
15391 #endif
15392 char waddch ();
15394 main ()
15396 return waddch ();
15398 return 0;
15400 _ACEOF
15401 rm -f conftest.$ac_objext conftest$ac_exeext
15402 if { (ac_try="$ac_link"
15403 case "(($ac_try" in
15404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15405 *) ac_try_echo=$ac_try;;
15406 esac
15407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15408 (eval "$ac_link") 2>conftest.er1
15409 ac_status=$?
15410 grep -v '^ *+' conftest.er1 >conftest.err
15411 rm -f conftest.er1
15412 cat conftest.err >&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); } && {
15415 test -z "$ac_c_werror_flag" ||
15416 test ! -s conftest.err
15417 } && test -s conftest$ac_exeext &&
15418 $as_test_x conftest$ac_exeext; then
15419 case "$LIBEXT" in
15420 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'` ;;
15421 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15422 esac
15423 if test "x$ac_cv_lib_soname_ncurses" = "x"
15424 then
15425 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15431 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15435 conftest$ac_exeext conftest.$ac_ext
15436 LIBS=$ac_get_soname_save_LIBS
15438 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15439 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15440 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15442 cat >>confdefs.h <<_ACEOF
15443 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15444 _ACEOF
15448 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15449 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15450 if test "${ac_cv_lib_soname_curses+set}" = set; then
15451 echo $ECHO_N "(cached) $ECHO_C" >&6
15452 else
15453 ac_get_soname_save_LIBS=$LIBS
15454 LIBS="-lcurses $LIBS"
15455 cat >conftest.$ac_ext <<_ACEOF
15456 /* confdefs.h. */
15457 _ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15462 /* Override any GCC internal prototype to avoid an error.
15463 Use char because int might match the return type of a GCC
15464 builtin and then its argument prototype would still apply. */
15465 #ifdef __cplusplus
15466 extern "C"
15467 #endif
15468 char waddch ();
15470 main ()
15472 return waddch ();
15474 return 0;
15476 _ACEOF
15477 rm -f conftest.$ac_objext conftest$ac_exeext
15478 if { (ac_try="$ac_link"
15479 case "(($ac_try" in
15480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15481 *) ac_try_echo=$ac_try;;
15482 esac
15483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15484 (eval "$ac_link") 2>conftest.er1
15485 ac_status=$?
15486 grep -v '^ *+' conftest.er1 >conftest.err
15487 rm -f conftest.er1
15488 cat conftest.err >&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); } && {
15491 test -z "$ac_c_werror_flag" ||
15492 test ! -s conftest.err
15493 } && test -s conftest$ac_exeext &&
15494 $as_test_x conftest$ac_exeext; then
15495 case "$LIBEXT" in
15496 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'` ;;
15497 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15498 esac
15499 if test "x$ac_cv_lib_soname_curses" = "x"
15500 then
15501 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15503 else
15504 echo "$as_me: failed program was:" >&5
15505 sed 's/^/| /' conftest.$ac_ext >&5
15507 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15511 conftest$ac_exeext conftest.$ac_ext
15512 LIBS=$ac_get_soname_save_LIBS
15514 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15515 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15516 if test "${ac_cv_lib_soname_curses+set}" = set; then
15518 cat >>confdefs.h <<_ACEOF
15519 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15520 _ACEOF
15524 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15525 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15526 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15527 echo $ECHO_N "(cached) $ECHO_C" >&6
15528 else
15529 ac_get_soname_save_LIBS=$LIBS
15530 LIBS="-ljpeg $LIBS"
15531 cat >conftest.$ac_ext <<_ACEOF
15532 /* confdefs.h. */
15533 _ACEOF
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15541 #ifdef __cplusplus
15542 extern "C"
15543 #endif
15544 char jpeg_start_decompress ();
15546 main ()
15548 return jpeg_start_decompress ();
15550 return 0;
15552 _ACEOF
15553 rm -f conftest.$ac_objext conftest$ac_exeext
15554 if { (ac_try="$ac_link"
15555 case "(($ac_try" in
15556 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15557 *) ac_try_echo=$ac_try;;
15558 esac
15559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15560 (eval "$ac_link") 2>conftest.er1
15561 ac_status=$?
15562 grep -v '^ *+' conftest.er1 >conftest.err
15563 rm -f conftest.er1
15564 cat conftest.err >&5
15565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15566 (exit $ac_status); } && {
15567 test -z "$ac_c_werror_flag" ||
15568 test ! -s conftest.err
15569 } && test -s conftest$ac_exeext &&
15570 $as_test_x conftest$ac_exeext; then
15571 case "$LIBEXT" in
15572 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'` ;;
15573 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15574 esac
15575 if test "x$ac_cv_lib_soname_jpeg" = "x"
15576 then
15577 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15579 else
15580 echo "$as_me: failed program was:" >&5
15581 sed 's/^/| /' conftest.$ac_ext >&5
15583 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15587 conftest$ac_exeext conftest.$ac_ext
15588 LIBS=$ac_get_soname_save_LIBS
15590 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15591 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15592 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15594 cat >>confdefs.h <<_ACEOF
15595 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15596 _ACEOF
15600 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15601 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15602 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15603 echo $ECHO_N "(cached) $ECHO_C" >&6
15604 else
15605 ac_get_soname_save_LIBS=$LIBS
15606 LIBS="-lcapi20 $LIBS"
15607 cat >conftest.$ac_ext <<_ACEOF
15608 /* confdefs.h. */
15609 _ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15614 /* Override any GCC internal prototype to avoid an error.
15615 Use char because int might match the return type of a GCC
15616 builtin and then its argument prototype would still apply. */
15617 #ifdef __cplusplus
15618 extern "C"
15619 #endif
15620 char capi20_isinstalled ();
15622 main ()
15624 return capi20_isinstalled ();
15626 return 0;
15628 _ACEOF
15629 rm -f conftest.$ac_objext conftest$ac_exeext
15630 if { (ac_try="$ac_link"
15631 case "(($ac_try" in
15632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15633 *) ac_try_echo=$ac_try;;
15634 esac
15635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15636 (eval "$ac_link") 2>conftest.er1
15637 ac_status=$?
15638 grep -v '^ *+' conftest.er1 >conftest.err
15639 rm -f conftest.er1
15640 cat conftest.err >&5
15641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15642 (exit $ac_status); } && {
15643 test -z "$ac_c_werror_flag" ||
15644 test ! -s conftest.err
15645 } && test -s conftest$ac_exeext &&
15646 $as_test_x conftest$ac_exeext; then
15647 case "$LIBEXT" in
15648 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'` ;;
15649 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15650 esac
15651 if test "x$ac_cv_lib_soname_capi20" = "x"
15652 then
15653 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15655 else
15656 echo "$as_me: failed program was:" >&5
15657 sed 's/^/| /' conftest.$ac_ext >&5
15659 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15663 conftest$ac_exeext conftest.$ac_ext
15664 LIBS=$ac_get_soname_save_LIBS
15666 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15667 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15668 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15670 cat >>confdefs.h <<_ACEOF
15671 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15672 _ACEOF
15676 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15677 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15678 if test "${ac_cv_lib_soname_sane+set}" = set; then
15679 echo $ECHO_N "(cached) $ECHO_C" >&6
15680 else
15681 ac_get_soname_save_LIBS=$LIBS
15682 LIBS="-lsane $LIBS"
15683 cat >conftest.$ac_ext <<_ACEOF
15684 /* confdefs.h. */
15685 _ACEOF
15686 cat confdefs.h >>conftest.$ac_ext
15687 cat >>conftest.$ac_ext <<_ACEOF
15688 /* end confdefs.h. */
15690 /* Override any GCC internal prototype to avoid an error.
15691 Use char because int might match the return type of a GCC
15692 builtin and then its argument prototype would still apply. */
15693 #ifdef __cplusplus
15694 extern "C"
15695 #endif
15696 char sane_init ();
15698 main ()
15700 return sane_init ();
15702 return 0;
15704 _ACEOF
15705 rm -f conftest.$ac_objext conftest$ac_exeext
15706 if { (ac_try="$ac_link"
15707 case "(($ac_try" in
15708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15709 *) ac_try_echo=$ac_try;;
15710 esac
15711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15712 (eval "$ac_link") 2>conftest.er1
15713 ac_status=$?
15714 grep -v '^ *+' conftest.er1 >conftest.err
15715 rm -f conftest.er1
15716 cat conftest.err >&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); } && {
15719 test -z "$ac_c_werror_flag" ||
15720 test ! -s conftest.err
15721 } && test -s conftest$ac_exeext &&
15722 $as_test_x conftest$ac_exeext; then
15723 case "$LIBEXT" in
15724 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'` ;;
15725 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15726 esac
15727 if test "x$ac_cv_lib_soname_sane" = "x"
15728 then
15729 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15731 else
15732 echo "$as_me: failed program was:" >&5
15733 sed 's/^/| /' conftest.$ac_ext >&5
15735 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15739 conftest$ac_exeext conftest.$ac_ext
15740 LIBS=$ac_get_soname_save_LIBS
15742 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15743 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15744 if test "${ac_cv_lib_soname_sane+set}" = set; then
15746 cat >>confdefs.h <<_ACEOF
15747 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15748 _ACEOF
15816 for ac_func in \
15817 _pclose \
15818 _popen \
15819 _snprintf \
15820 _spawnvp \
15821 _stricmp \
15822 _strnicmp \
15823 _vsnprintf \
15824 asctime_r \
15825 chsize \
15826 clone \
15827 dlopen \
15828 epoll_create \
15829 ffs \
15830 finite \
15831 fork \
15832 fpclass \
15833 fstatfs \
15834 fstatvfs \
15835 ftruncate \
15836 futimes \
15837 futimesat \
15838 getdirentries \
15839 getopt_long \
15840 getpagesize \
15841 getpwuid \
15842 gettid \
15843 gettimeofday \
15844 getuid \
15845 kqueue \
15846 lstat \
15847 memmove \
15848 mmap \
15849 pclose \
15850 poll \
15851 popen \
15852 prctl \
15853 pread \
15854 pwrite \
15855 readlink \
15856 rfork \
15857 sched_yield \
15858 select \
15859 setrlimit \
15860 settimeofday \
15861 sigaltstack \
15862 sigprocmask \
15863 snprintf \
15864 spawnvp \
15865 statfs \
15866 statvfs \
15867 strcasecmp \
15868 strerror \
15869 strncasecmp \
15870 strtold \
15871 tcgetattr \
15872 timegm \
15873 usleep \
15874 vsnprintf \
15875 wait4 \
15876 waitpid \
15879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15880 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15882 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15883 echo $ECHO_N "(cached) $ECHO_C" >&6
15884 else
15885 cat >conftest.$ac_ext <<_ACEOF
15886 /* confdefs.h. */
15887 _ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15893 #define $ac_func innocuous_$ac_func
15895 /* System header to define __stub macros and hopefully few prototypes,
15896 which can conflict with char $ac_func (); below.
15897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15898 <limits.h> exists even on freestanding compilers. */
15900 #ifdef __STDC__
15901 # include <limits.h>
15902 #else
15903 # include <assert.h>
15904 #endif
15906 #undef $ac_func
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 #ifdef __cplusplus
15912 extern "C"
15913 #endif
15914 char $ac_func ();
15915 /* The GNU C library defines this for functions which it implements
15916 to always fail with ENOSYS. Some functions are actually named
15917 something starting with __ and the normal name is an alias. */
15918 #if defined __stub_$ac_func || defined __stub___$ac_func
15919 choke me
15920 #endif
15923 main ()
15925 return $ac_func ();
15927 return 0;
15929 _ACEOF
15930 rm -f conftest.$ac_objext conftest$ac_exeext
15931 if { (ac_try="$ac_link"
15932 case "(($ac_try" in
15933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15934 *) ac_try_echo=$ac_try;;
15935 esac
15936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15937 (eval "$ac_link") 2>conftest.er1
15938 ac_status=$?
15939 grep -v '^ *+' conftest.er1 >conftest.err
15940 rm -f conftest.er1
15941 cat conftest.err >&5
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); } && {
15944 test -z "$ac_c_werror_flag" ||
15945 test ! -s conftest.err
15946 } && test -s conftest$ac_exeext &&
15947 $as_test_x conftest$ac_exeext; then
15948 eval "$as_ac_var=yes"
15949 else
15950 echo "$as_me: failed program was:" >&5
15951 sed 's/^/| /' conftest.$ac_ext >&5
15953 eval "$as_ac_var=no"
15956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15957 conftest$ac_exeext conftest.$ac_ext
15959 ac_res=`eval echo '${'$as_ac_var'}'`
15960 { echo "$as_me:$LINENO: result: $ac_res" >&5
15961 echo "${ECHO_T}$ac_res" >&6; }
15962 if test `eval echo '${'$as_ac_var'}'` = yes; then
15963 cat >>confdefs.h <<_ACEOF
15964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15965 _ACEOF
15968 done
15971 if test "$ac_cv_func_dlopen" = no
15972 then
15973 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15974 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15975 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15976 echo $ECHO_N "(cached) $ECHO_C" >&6
15977 else
15978 ac_check_lib_save_LIBS=$LIBS
15979 LIBS="-ldl $LIBS"
15980 cat >conftest.$ac_ext <<_ACEOF
15981 /* confdefs.h. */
15982 _ACEOF
15983 cat confdefs.h >>conftest.$ac_ext
15984 cat >>conftest.$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15987 /* Override any GCC internal prototype to avoid an error.
15988 Use char because int might match the return type of a GCC
15989 builtin and then its argument prototype would still apply. */
15990 #ifdef __cplusplus
15991 extern "C"
15992 #endif
15993 char dlopen ();
15995 main ()
15997 return dlopen ();
15999 return 0;
16001 _ACEOF
16002 rm -f conftest.$ac_objext conftest$ac_exeext
16003 if { (ac_try="$ac_link"
16004 case "(($ac_try" in
16005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16006 *) ac_try_echo=$ac_try;;
16007 esac
16008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16009 (eval "$ac_link") 2>conftest.er1
16010 ac_status=$?
16011 grep -v '^ *+' conftest.er1 >conftest.err
16012 rm -f conftest.er1
16013 cat conftest.err >&5
16014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16015 (exit $ac_status); } && {
16016 test -z "$ac_c_werror_flag" ||
16017 test ! -s conftest.err
16018 } && test -s conftest$ac_exeext &&
16019 $as_test_x conftest$ac_exeext; then
16020 ac_cv_lib_dl_dlopen=yes
16021 else
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16025 ac_cv_lib_dl_dlopen=no
16028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16029 conftest$ac_exeext conftest.$ac_ext
16030 LIBS=$ac_check_lib_save_LIBS
16032 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16033 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16034 if test $ac_cv_lib_dl_dlopen = yes; then
16035 cat >>confdefs.h <<\_ACEOF
16036 #define HAVE_DLOPEN 1
16037 _ACEOF
16038 LIBDL="-ldl"
16043 ac_wine_check_funcs_save_LIBS="$LIBS"
16044 LIBS="$LIBS $LIBDL"
16046 for ac_func in dladdr
16048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16049 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16051 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16052 echo $ECHO_N "(cached) $ECHO_C" >&6
16053 else
16054 cat >conftest.$ac_ext <<_ACEOF
16055 /* confdefs.h. */
16056 _ACEOF
16057 cat confdefs.h >>conftest.$ac_ext
16058 cat >>conftest.$ac_ext <<_ACEOF
16059 /* end confdefs.h. */
16060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16062 #define $ac_func innocuous_$ac_func
16064 /* System header to define __stub macros and hopefully few prototypes,
16065 which can conflict with char $ac_func (); below.
16066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16067 <limits.h> exists even on freestanding compilers. */
16069 #ifdef __STDC__
16070 # include <limits.h>
16071 #else
16072 # include <assert.h>
16073 #endif
16075 #undef $ac_func
16077 /* Override any GCC internal prototype to avoid an error.
16078 Use char because int might match the return type of a GCC
16079 builtin and then its argument prototype would still apply. */
16080 #ifdef __cplusplus
16081 extern "C"
16082 #endif
16083 char $ac_func ();
16084 /* The GNU C library defines this for functions which it implements
16085 to always fail with ENOSYS. Some functions are actually named
16086 something starting with __ and the normal name is an alias. */
16087 #if defined __stub_$ac_func || defined __stub___$ac_func
16088 choke me
16089 #endif
16092 main ()
16094 return $ac_func ();
16096 return 0;
16098 _ACEOF
16099 rm -f conftest.$ac_objext conftest$ac_exeext
16100 if { (ac_try="$ac_link"
16101 case "(($ac_try" in
16102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16103 *) ac_try_echo=$ac_try;;
16104 esac
16105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16106 (eval "$ac_link") 2>conftest.er1
16107 ac_status=$?
16108 grep -v '^ *+' conftest.er1 >conftest.err
16109 rm -f conftest.er1
16110 cat conftest.err >&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } && {
16113 test -z "$ac_c_werror_flag" ||
16114 test ! -s conftest.err
16115 } && test -s conftest$ac_exeext &&
16116 $as_test_x conftest$ac_exeext; then
16117 eval "$as_ac_var=yes"
16118 else
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16122 eval "$as_ac_var=no"
16125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16126 conftest$ac_exeext conftest.$ac_ext
16128 ac_res=`eval echo '${'$as_ac_var'}'`
16129 { echo "$as_me:$LINENO: result: $ac_res" >&5
16130 echo "${ECHO_T}$ac_res" >&6; }
16131 if test `eval echo '${'$as_ac_var'}'` = yes; then
16132 cat >>confdefs.h <<_ACEOF
16133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16134 _ACEOF
16137 done
16139 LIBS="$ac_wine_check_funcs_save_LIBS"
16141 if test "$ac_cv_func_poll" = no
16142 then
16143 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16144 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16145 if test "${ac_cv_lib_poll_poll+set}" = set; then
16146 echo $ECHO_N "(cached) $ECHO_C" >&6
16147 else
16148 ac_check_lib_save_LIBS=$LIBS
16149 LIBS="-lpoll $LIBS"
16150 cat >conftest.$ac_ext <<_ACEOF
16151 /* confdefs.h. */
16152 _ACEOF
16153 cat confdefs.h >>conftest.$ac_ext
16154 cat >>conftest.$ac_ext <<_ACEOF
16155 /* end confdefs.h. */
16157 /* Override any GCC internal prototype to avoid an error.
16158 Use char because int might match the return type of a GCC
16159 builtin and then its argument prototype would still apply. */
16160 #ifdef __cplusplus
16161 extern "C"
16162 #endif
16163 char poll ();
16165 main ()
16167 return poll ();
16169 return 0;
16171 _ACEOF
16172 rm -f conftest.$ac_objext conftest$ac_exeext
16173 if { (ac_try="$ac_link"
16174 case "(($ac_try" in
16175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16176 *) ac_try_echo=$ac_try;;
16177 esac
16178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16179 (eval "$ac_link") 2>conftest.er1
16180 ac_status=$?
16181 grep -v '^ *+' conftest.er1 >conftest.err
16182 rm -f conftest.er1
16183 cat conftest.err >&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } && {
16186 test -z "$ac_c_werror_flag" ||
16187 test ! -s conftest.err
16188 } && test -s conftest$ac_exeext &&
16189 $as_test_x conftest$ac_exeext; then
16190 ac_cv_lib_poll_poll=yes
16191 else
16192 echo "$as_me: failed program was:" >&5
16193 sed 's/^/| /' conftest.$ac_ext >&5
16195 ac_cv_lib_poll_poll=no
16198 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16199 conftest$ac_exeext conftest.$ac_ext
16200 LIBS=$ac_check_lib_save_LIBS
16202 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16203 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16204 if test $ac_cv_lib_poll_poll = yes; then
16205 cat >>confdefs.h <<\_ACEOF
16206 #define HAVE_POLL 1
16207 _ACEOF
16208 LIBPOLL="-lpoll"
16214 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16215 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16216 if test "${ac_cv_search_gethostbyname+set}" = set; then
16217 echo $ECHO_N "(cached) $ECHO_C" >&6
16218 else
16219 ac_func_search_save_LIBS=$LIBS
16220 cat >conftest.$ac_ext <<_ACEOF
16221 /* confdefs.h. */
16222 _ACEOF
16223 cat confdefs.h >>conftest.$ac_ext
16224 cat >>conftest.$ac_ext <<_ACEOF
16225 /* end confdefs.h. */
16227 /* Override any GCC internal prototype to avoid an error.
16228 Use char because int might match the return type of a GCC
16229 builtin and then its argument prototype would still apply. */
16230 #ifdef __cplusplus
16231 extern "C"
16232 #endif
16233 char gethostbyname ();
16235 main ()
16237 return gethostbyname ();
16239 return 0;
16241 _ACEOF
16242 for ac_lib in '' nsl; do
16243 if test -z "$ac_lib"; then
16244 ac_res="none required"
16245 else
16246 ac_res=-l$ac_lib
16247 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16249 rm -f conftest.$ac_objext conftest$ac_exeext
16250 if { (ac_try="$ac_link"
16251 case "(($ac_try" in
16252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16253 *) ac_try_echo=$ac_try;;
16254 esac
16255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16256 (eval "$ac_link") 2>conftest.er1
16257 ac_status=$?
16258 grep -v '^ *+' conftest.er1 >conftest.err
16259 rm -f conftest.er1
16260 cat conftest.err >&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); } && {
16263 test -z "$ac_c_werror_flag" ||
16264 test ! -s conftest.err
16265 } && test -s conftest$ac_exeext &&
16266 $as_test_x conftest$ac_exeext; then
16267 ac_cv_search_gethostbyname=$ac_res
16268 else
16269 echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.$ac_ext >&5
16275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16276 conftest$ac_exeext
16277 if test "${ac_cv_search_gethostbyname+set}" = set; then
16278 break
16280 done
16281 if test "${ac_cv_search_gethostbyname+set}" = set; then
16283 else
16284 ac_cv_search_gethostbyname=no
16286 rm conftest.$ac_ext
16287 LIBS=$ac_func_search_save_LIBS
16289 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16290 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16291 ac_res=$ac_cv_search_gethostbyname
16292 if test "$ac_res" != no; then
16293 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16298 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16299 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16300 if test "${ac_cv_search_connect+set}" = set; then
16301 echo $ECHO_N "(cached) $ECHO_C" >&6
16302 else
16303 ac_func_search_save_LIBS=$LIBS
16304 cat >conftest.$ac_ext <<_ACEOF
16305 /* confdefs.h. */
16306 _ACEOF
16307 cat confdefs.h >>conftest.$ac_ext
16308 cat >>conftest.$ac_ext <<_ACEOF
16309 /* end confdefs.h. */
16311 /* Override any GCC internal prototype to avoid an error.
16312 Use char because int might match the return type of a GCC
16313 builtin and then its argument prototype would still apply. */
16314 #ifdef __cplusplus
16315 extern "C"
16316 #endif
16317 char connect ();
16319 main ()
16321 return connect ();
16323 return 0;
16325 _ACEOF
16326 for ac_lib in '' socket; do
16327 if test -z "$ac_lib"; then
16328 ac_res="none required"
16329 else
16330 ac_res=-l$ac_lib
16331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16333 rm -f conftest.$ac_objext conftest$ac_exeext
16334 if { (ac_try="$ac_link"
16335 case "(($ac_try" in
16336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16337 *) ac_try_echo=$ac_try;;
16338 esac
16339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16340 (eval "$ac_link") 2>conftest.er1
16341 ac_status=$?
16342 grep -v '^ *+' conftest.er1 >conftest.err
16343 rm -f conftest.er1
16344 cat conftest.err >&5
16345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16346 (exit $ac_status); } && {
16347 test -z "$ac_c_werror_flag" ||
16348 test ! -s conftest.err
16349 } && test -s conftest$ac_exeext &&
16350 $as_test_x conftest$ac_exeext; then
16351 ac_cv_search_connect=$ac_res
16352 else
16353 echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.$ac_ext >&5
16359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16360 conftest$ac_exeext
16361 if test "${ac_cv_search_connect+set}" = set; then
16362 break
16364 done
16365 if test "${ac_cv_search_connect+set}" = set; then
16367 else
16368 ac_cv_search_connect=no
16370 rm conftest.$ac_ext
16371 LIBS=$ac_func_search_save_LIBS
16373 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16374 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16375 ac_res=$ac_cv_search_connect
16376 if test "$ac_res" != no; then
16377 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16382 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16383 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16384 if test "${ac_cv_search_inet_aton+set}" = set; then
16385 echo $ECHO_N "(cached) $ECHO_C" >&6
16386 else
16387 ac_func_search_save_LIBS=$LIBS
16388 cat >conftest.$ac_ext <<_ACEOF
16389 /* confdefs.h. */
16390 _ACEOF
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16398 #ifdef __cplusplus
16399 extern "C"
16400 #endif
16401 char inet_aton ();
16403 main ()
16405 return inet_aton ();
16407 return 0;
16409 _ACEOF
16410 for ac_lib in '' resolv; do
16411 if test -z "$ac_lib"; then
16412 ac_res="none required"
16413 else
16414 ac_res=-l$ac_lib
16415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16417 rm -f conftest.$ac_objext conftest$ac_exeext
16418 if { (ac_try="$ac_link"
16419 case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421 *) ac_try_echo=$ac_try;;
16422 esac
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_link") 2>conftest.er1
16425 ac_status=$?
16426 grep -v '^ *+' conftest.er1 >conftest.err
16427 rm -f conftest.er1
16428 cat conftest.err >&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); } && {
16431 test -z "$ac_c_werror_flag" ||
16432 test ! -s conftest.err
16433 } && test -s conftest$ac_exeext &&
16434 $as_test_x conftest$ac_exeext; then
16435 ac_cv_search_inet_aton=$ac_res
16436 else
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16444 conftest$ac_exeext
16445 if test "${ac_cv_search_inet_aton+set}" = set; then
16446 break
16448 done
16449 if test "${ac_cv_search_inet_aton+set}" = set; then
16451 else
16452 ac_cv_search_inet_aton=no
16454 rm conftest.$ac_ext
16455 LIBS=$ac_func_search_save_LIBS
16457 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16458 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16459 ac_res=$ac_cv_search_inet_aton
16460 if test "$ac_res" != no; then
16461 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16474 for ac_func in \
16475 getaddrinfo \
16476 getnameinfo \
16477 getnetbyname \
16478 getprotobyname \
16479 getprotobynumber \
16480 getservbyport \
16481 inet_network \
16482 sendmsg \
16485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16486 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16488 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16489 echo $ECHO_N "(cached) $ECHO_C" >&6
16490 else
16491 cat >conftest.$ac_ext <<_ACEOF
16492 /* confdefs.h. */
16493 _ACEOF
16494 cat confdefs.h >>conftest.$ac_ext
16495 cat >>conftest.$ac_ext <<_ACEOF
16496 /* end confdefs.h. */
16497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16499 #define $ac_func innocuous_$ac_func
16501 /* System header to define __stub macros and hopefully few prototypes,
16502 which can conflict with char $ac_func (); below.
16503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16504 <limits.h> exists even on freestanding compilers. */
16506 #ifdef __STDC__
16507 # include <limits.h>
16508 #else
16509 # include <assert.h>
16510 #endif
16512 #undef $ac_func
16514 /* Override any GCC internal prototype to avoid an error.
16515 Use char because int might match the return type of a GCC
16516 builtin and then its argument prototype would still apply. */
16517 #ifdef __cplusplus
16518 extern "C"
16519 #endif
16520 char $ac_func ();
16521 /* The GNU C library defines this for functions which it implements
16522 to always fail with ENOSYS. Some functions are actually named
16523 something starting with __ and the normal name is an alias. */
16524 #if defined __stub_$ac_func || defined __stub___$ac_func
16525 choke me
16526 #endif
16529 main ()
16531 return $ac_func ();
16533 return 0;
16535 _ACEOF
16536 rm -f conftest.$ac_objext conftest$ac_exeext
16537 if { (ac_try="$ac_link"
16538 case "(($ac_try" in
16539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16540 *) ac_try_echo=$ac_try;;
16541 esac
16542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16543 (eval "$ac_link") 2>conftest.er1
16544 ac_status=$?
16545 grep -v '^ *+' conftest.er1 >conftest.err
16546 rm -f conftest.er1
16547 cat conftest.err >&5
16548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549 (exit $ac_status); } && {
16550 test -z "$ac_c_werror_flag" ||
16551 test ! -s conftest.err
16552 } && test -s conftest$ac_exeext &&
16553 $as_test_x conftest$ac_exeext; then
16554 eval "$as_ac_var=yes"
16555 else
16556 echo "$as_me: failed program was:" >&5
16557 sed 's/^/| /' conftest.$ac_ext >&5
16559 eval "$as_ac_var=no"
16562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16563 conftest$ac_exeext conftest.$ac_ext
16565 ac_res=`eval echo '${'$as_ac_var'}'`
16566 { echo "$as_me:$LINENO: result: $ac_res" >&5
16567 echo "${ECHO_T}$ac_res" >&6; }
16568 if test `eval echo '${'$as_ac_var'}'` = yes; then
16569 cat >>confdefs.h <<_ACEOF
16570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16571 _ACEOF
16574 done
16578 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16579 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16580 if test "${ac_cv_c_const+set}" = set; then
16581 echo $ECHO_N "(cached) $ECHO_C" >&6
16582 else
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16591 main ()
16593 /* FIXME: Include the comments suggested by Paul. */
16594 #ifndef __cplusplus
16595 /* Ultrix mips cc rejects this. */
16596 typedef int charset[2];
16597 const charset cs;
16598 /* SunOS 4.1.1 cc rejects this. */
16599 char const *const *pcpcc;
16600 char **ppc;
16601 /* NEC SVR4.0.2 mips cc rejects this. */
16602 struct point {int x, y;};
16603 static struct point const zero = {0,0};
16604 /* AIX XL C 1.02.0.0 rejects this.
16605 It does not let you subtract one const X* pointer from another in
16606 an arm of an if-expression whose if-part is not a constant
16607 expression */
16608 const char *g = "string";
16609 pcpcc = &g + (g ? g-g : 0);
16610 /* HPUX 7.0 cc rejects these. */
16611 ++pcpcc;
16612 ppc = (char**) pcpcc;
16613 pcpcc = (char const *const *) ppc;
16614 { /* SCO 3.2v4 cc rejects this. */
16615 char *t;
16616 char const *s = 0 ? (char *) 0 : (char const *) 0;
16618 *t++ = 0;
16619 if (s) return 0;
16621 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16622 int x[] = {25, 17};
16623 const int *foo = &x[0];
16624 ++foo;
16626 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16627 typedef const int *iptr;
16628 iptr p = 0;
16629 ++p;
16631 { /* AIX XL C 1.02.0.0 rejects this saying
16632 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16633 struct s { int j; const int *ap[3]; };
16634 struct s *b; b->j = 5;
16636 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16637 const int foo = 10;
16638 if (!foo) return 0;
16640 return !cs[0] && !zero.x;
16641 #endif
16644 return 0;
16646 _ACEOF
16647 rm -f conftest.$ac_objext
16648 if { (ac_try="$ac_compile"
16649 case "(($ac_try" in
16650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16652 esac
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_compile") 2>conftest.er1
16655 ac_status=$?
16656 grep -v '^ *+' conftest.er1 >conftest.err
16657 rm -f conftest.er1
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_c_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest.$ac_objext; then
16664 ac_cv_c_const=yes
16665 else
16666 echo "$as_me: failed program was:" >&5
16667 sed 's/^/| /' conftest.$ac_ext >&5
16669 ac_cv_c_const=no
16672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16674 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16675 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16676 if test $ac_cv_c_const = no; then
16678 cat >>confdefs.h <<\_ACEOF
16679 #define const
16680 _ACEOF
16684 { echo "$as_me:$LINENO: checking for inline" >&5
16685 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16686 if test "${ac_cv_c_inline+set}" = set; then
16687 echo $ECHO_N "(cached) $ECHO_C" >&6
16688 else
16689 ac_cv_c_inline=no
16690 for ac_kw in inline __inline__ __inline; do
16691 cat >conftest.$ac_ext <<_ACEOF
16692 /* confdefs.h. */
16693 _ACEOF
16694 cat confdefs.h >>conftest.$ac_ext
16695 cat >>conftest.$ac_ext <<_ACEOF
16696 /* end confdefs.h. */
16697 #ifndef __cplusplus
16698 typedef int foo_t;
16699 static $ac_kw foo_t static_foo () {return 0; }
16700 $ac_kw foo_t foo () {return 0; }
16701 #endif
16703 _ACEOF
16704 rm -f conftest.$ac_objext
16705 if { (ac_try="$ac_compile"
16706 case "(($ac_try" in
16707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16708 *) ac_try_echo=$ac_try;;
16709 esac
16710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16711 (eval "$ac_compile") 2>conftest.er1
16712 ac_status=$?
16713 grep -v '^ *+' conftest.er1 >conftest.err
16714 rm -f conftest.er1
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } && {
16718 test -z "$ac_c_werror_flag" ||
16719 test ! -s conftest.err
16720 } && test -s conftest.$ac_objext; then
16721 ac_cv_c_inline=$ac_kw
16722 else
16723 echo "$as_me: failed program was:" >&5
16724 sed 's/^/| /' conftest.$ac_ext >&5
16729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16730 test "$ac_cv_c_inline" != no && break
16731 done
16734 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16735 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16738 case $ac_cv_c_inline in
16739 inline | yes) ;;
16741 case $ac_cv_c_inline in
16742 no) ac_val=;;
16743 *) ac_val=$ac_cv_c_inline;;
16744 esac
16745 cat >>confdefs.h <<_ACEOF
16746 #ifndef __cplusplus
16747 #define inline $ac_val
16748 #endif
16749 _ACEOF
16751 esac
16753 { echo "$as_me:$LINENO: checking for mode_t" >&5
16754 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16755 if test "${ac_cv_type_mode_t+set}" = set; then
16756 echo $ECHO_N "(cached) $ECHO_C" >&6
16757 else
16758 cat >conftest.$ac_ext <<_ACEOF
16759 /* confdefs.h. */
16760 _ACEOF
16761 cat confdefs.h >>conftest.$ac_ext
16762 cat >>conftest.$ac_ext <<_ACEOF
16763 /* end confdefs.h. */
16764 $ac_includes_default
16765 typedef mode_t ac__type_new_;
16767 main ()
16769 if ((ac__type_new_ *) 0)
16770 return 0;
16771 if (sizeof (ac__type_new_))
16772 return 0;
16774 return 0;
16776 _ACEOF
16777 rm -f conftest.$ac_objext
16778 if { (ac_try="$ac_compile"
16779 case "(($ac_try" in
16780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16781 *) ac_try_echo=$ac_try;;
16782 esac
16783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16784 (eval "$ac_compile") 2>conftest.er1
16785 ac_status=$?
16786 grep -v '^ *+' conftest.er1 >conftest.err
16787 rm -f conftest.er1
16788 cat conftest.err >&5
16789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16790 (exit $ac_status); } && {
16791 test -z "$ac_c_werror_flag" ||
16792 test ! -s conftest.err
16793 } && test -s conftest.$ac_objext; then
16794 ac_cv_type_mode_t=yes
16795 else
16796 echo "$as_me: failed program was:" >&5
16797 sed 's/^/| /' conftest.$ac_ext >&5
16799 ac_cv_type_mode_t=no
16802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16805 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16806 if test $ac_cv_type_mode_t = yes; then
16808 cat >>confdefs.h <<_ACEOF
16809 #define HAVE_MODE_T 1
16810 _ACEOF
16814 { echo "$as_me:$LINENO: checking for off_t" >&5
16815 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16816 if test "${ac_cv_type_off_t+set}" = set; then
16817 echo $ECHO_N "(cached) $ECHO_C" >&6
16818 else
16819 cat >conftest.$ac_ext <<_ACEOF
16820 /* confdefs.h. */
16821 _ACEOF
16822 cat confdefs.h >>conftest.$ac_ext
16823 cat >>conftest.$ac_ext <<_ACEOF
16824 /* end confdefs.h. */
16825 $ac_includes_default
16826 typedef off_t ac__type_new_;
16828 main ()
16830 if ((ac__type_new_ *) 0)
16831 return 0;
16832 if (sizeof (ac__type_new_))
16833 return 0;
16835 return 0;
16837 _ACEOF
16838 rm -f conftest.$ac_objext
16839 if { (ac_try="$ac_compile"
16840 case "(($ac_try" in
16841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16842 *) ac_try_echo=$ac_try;;
16843 esac
16844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16845 (eval "$ac_compile") 2>conftest.er1
16846 ac_status=$?
16847 grep -v '^ *+' conftest.er1 >conftest.err
16848 rm -f conftest.er1
16849 cat conftest.err >&5
16850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16851 (exit $ac_status); } && {
16852 test -z "$ac_c_werror_flag" ||
16853 test ! -s conftest.err
16854 } && test -s conftest.$ac_objext; then
16855 ac_cv_type_off_t=yes
16856 else
16857 echo "$as_me: failed program was:" >&5
16858 sed 's/^/| /' conftest.$ac_ext >&5
16860 ac_cv_type_off_t=no
16863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16865 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16866 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16867 if test $ac_cv_type_off_t = yes; then
16869 cat >>confdefs.h <<_ACEOF
16870 #define HAVE_OFF_T 1
16871 _ACEOF
16875 { echo "$as_me:$LINENO: checking for pid_t" >&5
16876 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16877 if test "${ac_cv_type_pid_t+set}" = set; then
16878 echo $ECHO_N "(cached) $ECHO_C" >&6
16879 else
16880 cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h. */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16886 $ac_includes_default
16887 typedef pid_t ac__type_new_;
16889 main ()
16891 if ((ac__type_new_ *) 0)
16892 return 0;
16893 if (sizeof (ac__type_new_))
16894 return 0;
16896 return 0;
16898 _ACEOF
16899 rm -f conftest.$ac_objext
16900 if { (ac_try="$ac_compile"
16901 case "(($ac_try" in
16902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16903 *) ac_try_echo=$ac_try;;
16904 esac
16905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16906 (eval "$ac_compile") 2>conftest.er1
16907 ac_status=$?
16908 grep -v '^ *+' conftest.er1 >conftest.err
16909 rm -f conftest.er1
16910 cat conftest.err >&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } && {
16913 test -z "$ac_c_werror_flag" ||
16914 test ! -s conftest.err
16915 } && test -s conftest.$ac_objext; then
16916 ac_cv_type_pid_t=yes
16917 else
16918 echo "$as_me: failed program was:" >&5
16919 sed 's/^/| /' conftest.$ac_ext >&5
16921 ac_cv_type_pid_t=no
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16927 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16928 if test $ac_cv_type_pid_t = yes; then
16930 cat >>confdefs.h <<_ACEOF
16931 #define HAVE_PID_T 1
16932 _ACEOF
16936 { echo "$as_me:$LINENO: checking for size_t" >&5
16937 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16938 if test "${ac_cv_type_size_t+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16940 else
16941 cat >conftest.$ac_ext <<_ACEOF
16942 /* confdefs.h. */
16943 _ACEOF
16944 cat confdefs.h >>conftest.$ac_ext
16945 cat >>conftest.$ac_ext <<_ACEOF
16946 /* end confdefs.h. */
16947 $ac_includes_default
16948 typedef size_t ac__type_new_;
16950 main ()
16952 if ((ac__type_new_ *) 0)
16953 return 0;
16954 if (sizeof (ac__type_new_))
16955 return 0;
16957 return 0;
16959 _ACEOF
16960 rm -f conftest.$ac_objext
16961 if { (ac_try="$ac_compile"
16962 case "(($ac_try" in
16963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16964 *) ac_try_echo=$ac_try;;
16965 esac
16966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16967 (eval "$ac_compile") 2>conftest.er1
16968 ac_status=$?
16969 grep -v '^ *+' conftest.er1 >conftest.err
16970 rm -f conftest.er1
16971 cat conftest.err >&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } && {
16974 test -z "$ac_c_werror_flag" ||
16975 test ! -s conftest.err
16976 } && test -s conftest.$ac_objext; then
16977 ac_cv_type_size_t=yes
16978 else
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16982 ac_cv_type_size_t=no
16985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16987 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16988 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16989 if test $ac_cv_type_size_t = yes; then
16991 cat >>confdefs.h <<_ACEOF
16992 #define HAVE_SIZE_T 1
16993 _ACEOF
16997 { echo "$as_me:$LINENO: checking for ssize_t" >&5
16998 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
16999 if test "${ac_cv_type_ssize_t+set}" = set; then
17000 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 else
17002 cat >conftest.$ac_ext <<_ACEOF
17003 /* confdefs.h. */
17004 _ACEOF
17005 cat confdefs.h >>conftest.$ac_ext
17006 cat >>conftest.$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17008 $ac_includes_default
17009 typedef ssize_t ac__type_new_;
17011 main ()
17013 if ((ac__type_new_ *) 0)
17014 return 0;
17015 if (sizeof (ac__type_new_))
17016 return 0;
17018 return 0;
17020 _ACEOF
17021 rm -f conftest.$ac_objext
17022 if { (ac_try="$ac_compile"
17023 case "(($ac_try" in
17024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17025 *) ac_try_echo=$ac_try;;
17026 esac
17027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17028 (eval "$ac_compile") 2>conftest.er1
17029 ac_status=$?
17030 grep -v '^ *+' conftest.er1 >conftest.err
17031 rm -f conftest.er1
17032 cat conftest.err >&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } && {
17035 test -z "$ac_c_werror_flag" ||
17036 test ! -s conftest.err
17037 } && test -s conftest.$ac_objext; then
17038 ac_cv_type_ssize_t=yes
17039 else
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17043 ac_cv_type_ssize_t=no
17046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17048 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17049 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17050 if test $ac_cv_type_ssize_t = yes; then
17052 cat >>confdefs.h <<_ACEOF
17053 #define HAVE_SSIZE_T 1
17054 _ACEOF
17058 { echo "$as_me:$LINENO: checking for long long" >&5
17059 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17060 if test "${ac_cv_type_long_long+set}" = set; then
17061 echo $ECHO_N "(cached) $ECHO_C" >&6
17062 else
17063 cat >conftest.$ac_ext <<_ACEOF
17064 /* confdefs.h. */
17065 _ACEOF
17066 cat confdefs.h >>conftest.$ac_ext
17067 cat >>conftest.$ac_ext <<_ACEOF
17068 /* end confdefs.h. */
17069 $ac_includes_default
17070 typedef long long ac__type_new_;
17072 main ()
17074 if ((ac__type_new_ *) 0)
17075 return 0;
17076 if (sizeof (ac__type_new_))
17077 return 0;
17079 return 0;
17081 _ACEOF
17082 rm -f conftest.$ac_objext
17083 if { (ac_try="$ac_compile"
17084 case "(($ac_try" in
17085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17086 *) ac_try_echo=$ac_try;;
17087 esac
17088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17089 (eval "$ac_compile") 2>conftest.er1
17090 ac_status=$?
17091 grep -v '^ *+' conftest.er1 >conftest.err
17092 rm -f conftest.er1
17093 cat conftest.err >&5
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); } && {
17096 test -z "$ac_c_werror_flag" ||
17097 test ! -s conftest.err
17098 } && test -s conftest.$ac_objext; then
17099 ac_cv_type_long_long=yes
17100 else
17101 echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.$ac_ext >&5
17104 ac_cv_type_long_long=no
17107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17109 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17110 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17111 if test $ac_cv_type_long_long = yes; then
17113 cat >>confdefs.h <<_ACEOF
17114 #define HAVE_LONG_LONG 1
17115 _ACEOF
17119 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17120 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17121 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17122 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 else
17124 cat >conftest.$ac_ext <<_ACEOF
17125 /* confdefs.h. */
17126 _ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130 $ac_includes_default
17131 typedef fsblkcnt_t ac__type_new_;
17133 main ()
17135 if ((ac__type_new_ *) 0)
17136 return 0;
17137 if (sizeof (ac__type_new_))
17138 return 0;
17140 return 0;
17142 _ACEOF
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17148 esac
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17151 ac_status=$?
17152 grep -v '^ *+' conftest.er1 >conftest.err
17153 rm -f conftest.er1
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 ac_cv_type_fsblkcnt_t=yes
17161 else
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17165 ac_cv_type_fsblkcnt_t=no
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17170 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17171 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17172 if test $ac_cv_type_fsblkcnt_t = yes; then
17174 cat >>confdefs.h <<_ACEOF
17175 #define HAVE_FSBLKCNT_T 1
17176 _ACEOF
17180 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17181 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17182 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 else
17185 cat >conftest.$ac_ext <<_ACEOF
17186 /* confdefs.h. */
17187 _ACEOF
17188 cat confdefs.h >>conftest.$ac_ext
17189 cat >>conftest.$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 $ac_includes_default
17192 typedef fsfilcnt_t ac__type_new_;
17194 main ()
17196 if ((ac__type_new_ *) 0)
17197 return 0;
17198 if (sizeof (ac__type_new_))
17199 return 0;
17201 return 0;
17203 _ACEOF
17204 rm -f conftest.$ac_objext
17205 if { (ac_try="$ac_compile"
17206 case "(($ac_try" in
17207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17208 *) ac_try_echo=$ac_try;;
17209 esac
17210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17211 (eval "$ac_compile") 2>conftest.er1
17212 ac_status=$?
17213 grep -v '^ *+' conftest.er1 >conftest.err
17214 rm -f conftest.er1
17215 cat conftest.err >&5
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); } && {
17218 test -z "$ac_c_werror_flag" ||
17219 test ! -s conftest.err
17220 } && test -s conftest.$ac_objext; then
17221 ac_cv_type_fsfilcnt_t=yes
17222 else
17223 echo "$as_me: failed program was:" >&5
17224 sed 's/^/| /' conftest.$ac_ext >&5
17226 ac_cv_type_fsfilcnt_t=no
17229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17231 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17232 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17233 if test $ac_cv_type_fsfilcnt_t = yes; then
17235 cat >>confdefs.h <<_ACEOF
17236 #define HAVE_FSFILCNT_T 1
17237 _ACEOF
17242 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17243 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17244 if test "${ac_cv_type_sigset_t+set}" = set; then
17245 echo $ECHO_N "(cached) $ECHO_C" >&6
17246 else
17247 cat >conftest.$ac_ext <<_ACEOF
17248 /* confdefs.h. */
17249 _ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 #include <signal.h>
17255 typedef sigset_t ac__type_new_;
17257 main ()
17259 if ((ac__type_new_ *) 0)
17260 return 0;
17261 if (sizeof (ac__type_new_))
17262 return 0;
17264 return 0;
17266 _ACEOF
17267 rm -f conftest.$ac_objext
17268 if { (ac_try="$ac_compile"
17269 case "(($ac_try" in
17270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17271 *) ac_try_echo=$ac_try;;
17272 esac
17273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17274 (eval "$ac_compile") 2>conftest.er1
17275 ac_status=$?
17276 grep -v '^ *+' conftest.er1 >conftest.err
17277 rm -f conftest.er1
17278 cat conftest.err >&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } && {
17281 test -z "$ac_c_werror_flag" ||
17282 test ! -s conftest.err
17283 } && test -s conftest.$ac_objext; then
17284 ac_cv_type_sigset_t=yes
17285 else
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.$ac_ext >&5
17289 ac_cv_type_sigset_t=no
17292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17295 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17296 if test $ac_cv_type_sigset_t = yes; then
17298 cat >>confdefs.h <<_ACEOF
17299 #define HAVE_SIGSET_T 1
17300 _ACEOF
17305 { echo "$as_me:$LINENO: checking for request_sense" >&5
17306 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17307 if test "${ac_cv_type_request_sense+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 else
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316 #include <linux/cdrom.h>
17318 typedef request_sense ac__type_new_;
17320 main ()
17322 if ((ac__type_new_ *) 0)
17323 return 0;
17324 if (sizeof (ac__type_new_))
17325 return 0;
17327 return 0;
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (ac_try="$ac_compile"
17332 case "(($ac_try" in
17333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17335 esac
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_compile") 2>conftest.er1
17338 ac_status=$?
17339 grep -v '^ *+' conftest.er1 >conftest.err
17340 rm -f conftest.er1
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } && {
17344 test -z "$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17346 } && test -s conftest.$ac_objext; then
17347 ac_cv_type_request_sense=yes
17348 else
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17352 ac_cv_type_request_sense=no
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17357 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17358 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17359 if test $ac_cv_type_request_sense = yes; then
17361 cat >>confdefs.h <<_ACEOF
17362 #define HAVE_REQUEST_SENSE 1
17363 _ACEOF
17369 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17370 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17371 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17372 echo $ECHO_N "(cached) $ECHO_C" >&6
17373 else
17374 cat >conftest.$ac_ext <<_ACEOF
17375 /* confdefs.h. */
17376 _ACEOF
17377 cat confdefs.h >>conftest.$ac_ext
17378 cat >>conftest.$ac_ext <<_ACEOF
17379 /* end confdefs.h. */
17380 #ifdef HAVE_LINUX_INPUT_H
17381 #include <linux/input.h>
17382 #endif
17385 main ()
17387 static struct ff_effect ac_aggr;
17388 if (ac_aggr.direction)
17389 return 0;
17391 return 0;
17393 _ACEOF
17394 rm -f conftest.$ac_objext
17395 if { (ac_try="$ac_compile"
17396 case "(($ac_try" in
17397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17398 *) ac_try_echo=$ac_try;;
17399 esac
17400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17401 (eval "$ac_compile") 2>conftest.er1
17402 ac_status=$?
17403 grep -v '^ *+' conftest.er1 >conftest.err
17404 rm -f conftest.er1
17405 cat conftest.err >&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); } && {
17408 test -z "$ac_c_werror_flag" ||
17409 test ! -s conftest.err
17410 } && test -s conftest.$ac_objext; then
17411 ac_cv_member_struct_ff_effect_direction=yes
17412 else
17413 echo "$as_me: failed program was:" >&5
17414 sed 's/^/| /' conftest.$ac_ext >&5
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422 #ifdef HAVE_LINUX_INPUT_H
17423 #include <linux/input.h>
17424 #endif
17427 main ()
17429 static struct ff_effect ac_aggr;
17430 if (sizeof ac_aggr.direction)
17431 return 0;
17433 return 0;
17435 _ACEOF
17436 rm -f conftest.$ac_objext
17437 if { (ac_try="$ac_compile"
17438 case "(($ac_try" in
17439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17440 *) ac_try_echo=$ac_try;;
17441 esac
17442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17443 (eval "$ac_compile") 2>conftest.er1
17444 ac_status=$?
17445 grep -v '^ *+' conftest.er1 >conftest.err
17446 rm -f conftest.er1
17447 cat conftest.err >&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); } && {
17450 test -z "$ac_c_werror_flag" ||
17451 test ! -s conftest.err
17452 } && test -s conftest.$ac_objext; then
17453 ac_cv_member_struct_ff_effect_direction=yes
17454 else
17455 echo "$as_me: failed program was:" >&5
17456 sed 's/^/| /' conftest.$ac_ext >&5
17458 ac_cv_member_struct_ff_effect_direction=no
17461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17466 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17467 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17468 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17470 cat >>confdefs.h <<_ACEOF
17471 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17472 _ACEOF
17478 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17479 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17480 if test "${wine_cv_have_sigaddset+set}" = set; then
17481 echo $ECHO_N "(cached) $ECHO_C" >&6
17482 else
17483 cat >conftest.$ac_ext <<_ACEOF
17484 /* confdefs.h. */
17485 _ACEOF
17486 cat confdefs.h >>conftest.$ac_ext
17487 cat >>conftest.$ac_ext <<_ACEOF
17488 /* end confdefs.h. */
17489 #include <signal.h>
17491 main ()
17493 sigset_t set; sigaddset(&set,SIGTERM);
17495 return 0;
17497 _ACEOF
17498 rm -f conftest.$ac_objext conftest$ac_exeext
17499 if { (ac_try="$ac_link"
17500 case "(($ac_try" in
17501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17502 *) ac_try_echo=$ac_try;;
17503 esac
17504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17505 (eval "$ac_link") 2>conftest.er1
17506 ac_status=$?
17507 grep -v '^ *+' conftest.er1 >conftest.err
17508 rm -f conftest.er1
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } && {
17512 test -z "$ac_c_werror_flag" ||
17513 test ! -s conftest.err
17514 } && test -s conftest$ac_exeext &&
17515 $as_test_x conftest$ac_exeext; then
17516 wine_cv_have_sigaddset=yes
17517 else
17518 echo "$as_me: failed program was:" >&5
17519 sed 's/^/| /' conftest.$ac_ext >&5
17521 wine_cv_have_sigaddset=no
17524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17525 conftest$ac_exeext conftest.$ac_ext
17527 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17528 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17529 if test "$wine_cv_have_sigaddset" = "yes"
17530 then
17532 cat >>confdefs.h <<\_ACEOF
17533 #define HAVE_SIGADDSET 1
17534 _ACEOF
17539 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17540 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17541 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17542 echo $ECHO_N "(cached) $ECHO_C" >&6
17543 else
17544 cat >conftest.$ac_ext <<_ACEOF
17545 /* confdefs.h. */
17546 _ACEOF
17547 cat confdefs.h >>conftest.$ac_ext
17548 cat >>conftest.$ac_ext <<_ACEOF
17549 /* end confdefs.h. */
17550 #include <netdb.h>
17552 main ()
17555 char *name=NULL;
17556 struct hostent he;
17557 struct hostent *result;
17558 char *buf=NULL;
17559 int bufsize=0;
17560 int res,errnr;
17561 char *addr=NULL;
17562 int addrlen=0;
17563 int addrtype=0;
17564 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17565 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17568 return 0;
17570 _ACEOF
17571 rm -f conftest.$ac_objext conftest$ac_exeext
17572 if { (ac_try="$ac_link"
17573 case "(($ac_try" in
17574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17575 *) ac_try_echo=$ac_try;;
17576 esac
17577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17578 (eval "$ac_link") 2>conftest.er1
17579 ac_status=$?
17580 grep -v '^ *+' conftest.er1 >conftest.err
17581 rm -f conftest.er1
17582 cat conftest.err >&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } && {
17585 test -z "$ac_c_werror_flag" ||
17586 test ! -s conftest.err
17587 } && test -s conftest$ac_exeext &&
17588 $as_test_x conftest$ac_exeext; then
17589 wine_cv_linux_gethostbyname_r_6=yes
17590 else
17591 echo "$as_me: failed program was:" >&5
17592 sed 's/^/| /' conftest.$ac_ext >&5
17594 wine_cv_linux_gethostbyname_r_6=no
17598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17599 conftest$ac_exeext conftest.$ac_ext
17602 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17603 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17604 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17605 then
17607 cat >>confdefs.h <<\_ACEOF
17608 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17609 _ACEOF
17613 if test "$ac_cv_header_linux_joystick_h" = "yes"
17614 then
17615 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17616 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17617 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 else
17620 cat >conftest.$ac_ext <<_ACEOF
17621 /* confdefs.h. */
17622 _ACEOF
17623 cat confdefs.h >>conftest.$ac_ext
17624 cat >>conftest.$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17627 #include <sys/ioctl.h>
17628 #include <sys/types.h>
17629 #include <linux/joystick.h>
17631 struct js_event blub;
17632 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17633 #error "no 2.2 header"
17634 #endif
17637 main ()
17639 /*empty*/
17641 return 0;
17643 _ACEOF
17644 rm -f conftest.$ac_objext
17645 if { (ac_try="$ac_compile"
17646 case "(($ac_try" in
17647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17648 *) ac_try_echo=$ac_try;;
17649 esac
17650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17651 (eval "$ac_compile") 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } && {
17658 test -z "$ac_c_werror_flag" ||
17659 test ! -s conftest.err
17660 } && test -s conftest.$ac_objext; then
17661 wine_cv_linux_joystick_22_api=yes
17662 else
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 wine_cv_linux_joystick_22_api=no
17669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17673 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17674 if test "$wine_cv_linux_joystick_22_api" = "yes"
17675 then
17677 cat >>confdefs.h <<\_ACEOF
17678 #define HAVE_LINUX_22_JOYSTICK_API 1
17679 _ACEOF
17685 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17686 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17687 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17688 echo $ECHO_N "(cached) $ECHO_C" >&6
17689 else
17690 cat >conftest.$ac_ext <<_ACEOF
17691 /* confdefs.h. */
17692 _ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696 #include <sys/types.h>
17697 #ifdef HAVE_SYS_PARAM_H
17698 # include <sys/param.h>
17699 #endif
17700 #ifdef HAVE_SYS_MOUNT_H
17701 # include <sys/mount.h>
17702 #endif
17703 #ifdef HAVE_SYS_VFS_H
17704 # include <sys/vfs.h>
17705 #endif
17706 #ifdef HAVE_SYS_STATFS_H
17707 # include <sys/statfs.h>
17708 #endif
17711 main ()
17713 static struct statfs ac_aggr;
17714 if (ac_aggr.f_bfree)
17715 return 0;
17717 return 0;
17719 _ACEOF
17720 rm -f conftest.$ac_objext
17721 if { (ac_try="$ac_compile"
17722 case "(($ac_try" in
17723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17724 *) ac_try_echo=$ac_try;;
17725 esac
17726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17727 (eval "$ac_compile") 2>conftest.er1
17728 ac_status=$?
17729 grep -v '^ *+' conftest.er1 >conftest.err
17730 rm -f conftest.er1
17731 cat conftest.err >&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); } && {
17734 test -z "$ac_c_werror_flag" ||
17735 test ! -s conftest.err
17736 } && test -s conftest.$ac_objext; then
17737 ac_cv_member_struct_statfs_f_bfree=yes
17738 else
17739 echo "$as_me: failed program was:" >&5
17740 sed 's/^/| /' conftest.$ac_ext >&5
17742 cat >conftest.$ac_ext <<_ACEOF
17743 /* confdefs.h. */
17744 _ACEOF
17745 cat confdefs.h >>conftest.$ac_ext
17746 cat >>conftest.$ac_ext <<_ACEOF
17747 /* end confdefs.h. */
17748 #include <sys/types.h>
17749 #ifdef HAVE_SYS_PARAM_H
17750 # include <sys/param.h>
17751 #endif
17752 #ifdef HAVE_SYS_MOUNT_H
17753 # include <sys/mount.h>
17754 #endif
17755 #ifdef HAVE_SYS_VFS_H
17756 # include <sys/vfs.h>
17757 #endif
17758 #ifdef HAVE_SYS_STATFS_H
17759 # include <sys/statfs.h>
17760 #endif
17763 main ()
17765 static struct statfs ac_aggr;
17766 if (sizeof ac_aggr.f_bfree)
17767 return 0;
17769 return 0;
17771 _ACEOF
17772 rm -f conftest.$ac_objext
17773 if { (ac_try="$ac_compile"
17774 case "(($ac_try" in
17775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17776 *) ac_try_echo=$ac_try;;
17777 esac
17778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17779 (eval "$ac_compile") 2>conftest.er1
17780 ac_status=$?
17781 grep -v '^ *+' conftest.er1 >conftest.err
17782 rm -f conftest.er1
17783 cat conftest.err >&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); } && {
17786 test -z "$ac_c_werror_flag" ||
17787 test ! -s conftest.err
17788 } && test -s conftest.$ac_objext; then
17789 ac_cv_member_struct_statfs_f_bfree=yes
17790 else
17791 echo "$as_me: failed program was:" >&5
17792 sed 's/^/| /' conftest.$ac_ext >&5
17794 ac_cv_member_struct_statfs_f_bfree=no
17797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17803 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17804 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17806 cat >>confdefs.h <<_ACEOF
17807 #define HAVE_STRUCT_STATFS_F_BFREE 1
17808 _ACEOF
17812 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17813 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17814 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17815 echo $ECHO_N "(cached) $ECHO_C" >&6
17816 else
17817 cat >conftest.$ac_ext <<_ACEOF
17818 /* confdefs.h. */
17819 _ACEOF
17820 cat confdefs.h >>conftest.$ac_ext
17821 cat >>conftest.$ac_ext <<_ACEOF
17822 /* end confdefs.h. */
17823 #include <sys/types.h>
17824 #ifdef HAVE_SYS_PARAM_H
17825 # include <sys/param.h>
17826 #endif
17827 #ifdef HAVE_SYS_MOUNT_H
17828 # include <sys/mount.h>
17829 #endif
17830 #ifdef HAVE_SYS_VFS_H
17831 # include <sys/vfs.h>
17832 #endif
17833 #ifdef HAVE_SYS_STATFS_H
17834 # include <sys/statfs.h>
17835 #endif
17838 main ()
17840 static struct statfs ac_aggr;
17841 if (ac_aggr.f_bavail)
17842 return 0;
17844 return 0;
17846 _ACEOF
17847 rm -f conftest.$ac_objext
17848 if { (ac_try="$ac_compile"
17849 case "(($ac_try" in
17850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17851 *) ac_try_echo=$ac_try;;
17852 esac
17853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17854 (eval "$ac_compile") 2>conftest.er1
17855 ac_status=$?
17856 grep -v '^ *+' conftest.er1 >conftest.err
17857 rm -f conftest.er1
17858 cat conftest.err >&5
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); } && {
17861 test -z "$ac_c_werror_flag" ||
17862 test ! -s conftest.err
17863 } && test -s conftest.$ac_objext; then
17864 ac_cv_member_struct_statfs_f_bavail=yes
17865 else
17866 echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17869 cat >conftest.$ac_ext <<_ACEOF
17870 /* confdefs.h. */
17871 _ACEOF
17872 cat confdefs.h >>conftest.$ac_ext
17873 cat >>conftest.$ac_ext <<_ACEOF
17874 /* end confdefs.h. */
17875 #include <sys/types.h>
17876 #ifdef HAVE_SYS_PARAM_H
17877 # include <sys/param.h>
17878 #endif
17879 #ifdef HAVE_SYS_MOUNT_H
17880 # include <sys/mount.h>
17881 #endif
17882 #ifdef HAVE_SYS_VFS_H
17883 # include <sys/vfs.h>
17884 #endif
17885 #ifdef HAVE_SYS_STATFS_H
17886 # include <sys/statfs.h>
17887 #endif
17890 main ()
17892 static struct statfs ac_aggr;
17893 if (sizeof ac_aggr.f_bavail)
17894 return 0;
17896 return 0;
17898 _ACEOF
17899 rm -f conftest.$ac_objext
17900 if { (ac_try="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17903 *) ac_try_echo=$ac_try;;
17904 esac
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17907 ac_status=$?
17908 grep -v '^ *+' conftest.er1 >conftest.err
17909 rm -f conftest.er1
17910 cat conftest.err >&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_c_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.$ac_objext; then
17916 ac_cv_member_struct_statfs_f_bavail=yes
17917 else
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.$ac_ext >&5
17921 ac_cv_member_struct_statfs_f_bavail=no
17924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17929 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17930 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17931 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17933 cat >>confdefs.h <<_ACEOF
17934 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17935 _ACEOF
17939 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17940 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17941 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17942 echo $ECHO_N "(cached) $ECHO_C" >&6
17943 else
17944 cat >conftest.$ac_ext <<_ACEOF
17945 /* confdefs.h. */
17946 _ACEOF
17947 cat confdefs.h >>conftest.$ac_ext
17948 cat >>conftest.$ac_ext <<_ACEOF
17949 /* end confdefs.h. */
17950 #include <sys/types.h>
17951 #ifdef HAVE_SYS_PARAM_H
17952 # include <sys/param.h>
17953 #endif
17954 #ifdef HAVE_SYS_MOUNT_H
17955 # include <sys/mount.h>
17956 #endif
17957 #ifdef HAVE_SYS_VFS_H
17958 # include <sys/vfs.h>
17959 #endif
17960 #ifdef HAVE_SYS_STATFS_H
17961 # include <sys/statfs.h>
17962 #endif
17965 main ()
17967 static struct statfs ac_aggr;
17968 if (ac_aggr.f_frsize)
17969 return 0;
17971 return 0;
17973 _ACEOF
17974 rm -f conftest.$ac_objext
17975 if { (ac_try="$ac_compile"
17976 case "(($ac_try" in
17977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17978 *) ac_try_echo=$ac_try;;
17979 esac
17980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17981 (eval "$ac_compile") 2>conftest.er1
17982 ac_status=$?
17983 grep -v '^ *+' conftest.er1 >conftest.err
17984 rm -f conftest.er1
17985 cat conftest.err >&5
17986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17987 (exit $ac_status); } && {
17988 test -z "$ac_c_werror_flag" ||
17989 test ! -s conftest.err
17990 } && test -s conftest.$ac_objext; then
17991 ac_cv_member_struct_statfs_f_frsize=yes
17992 else
17993 echo "$as_me: failed program was:" >&5
17994 sed 's/^/| /' conftest.$ac_ext >&5
17996 cat >conftest.$ac_ext <<_ACEOF
17997 /* confdefs.h. */
17998 _ACEOF
17999 cat confdefs.h >>conftest.$ac_ext
18000 cat >>conftest.$ac_ext <<_ACEOF
18001 /* end confdefs.h. */
18002 #include <sys/types.h>
18003 #ifdef HAVE_SYS_PARAM_H
18004 # include <sys/param.h>
18005 #endif
18006 #ifdef HAVE_SYS_MOUNT_H
18007 # include <sys/mount.h>
18008 #endif
18009 #ifdef HAVE_SYS_VFS_H
18010 # include <sys/vfs.h>
18011 #endif
18012 #ifdef HAVE_SYS_STATFS_H
18013 # include <sys/statfs.h>
18014 #endif
18017 main ()
18019 static struct statfs ac_aggr;
18020 if (sizeof ac_aggr.f_frsize)
18021 return 0;
18023 return 0;
18025 _ACEOF
18026 rm -f conftest.$ac_objext
18027 if { (ac_try="$ac_compile"
18028 case "(($ac_try" in
18029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18030 *) ac_try_echo=$ac_try;;
18031 esac
18032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18033 (eval "$ac_compile") 2>conftest.er1
18034 ac_status=$?
18035 grep -v '^ *+' conftest.er1 >conftest.err
18036 rm -f conftest.er1
18037 cat conftest.err >&5
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); } && {
18040 test -z "$ac_c_werror_flag" ||
18041 test ! -s conftest.err
18042 } && test -s conftest.$ac_objext; then
18043 ac_cv_member_struct_statfs_f_frsize=yes
18044 else
18045 echo "$as_me: failed program was:" >&5
18046 sed 's/^/| /' conftest.$ac_ext >&5
18048 ac_cv_member_struct_statfs_f_frsize=no
18051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18056 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18057 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18058 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18060 cat >>confdefs.h <<_ACEOF
18061 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18062 _ACEOF
18066 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18067 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18068 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18069 echo $ECHO_N "(cached) $ECHO_C" >&6
18070 else
18071 cat >conftest.$ac_ext <<_ACEOF
18072 /* confdefs.h. */
18073 _ACEOF
18074 cat confdefs.h >>conftest.$ac_ext
18075 cat >>conftest.$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18077 #include <sys/types.h>
18078 #ifdef HAVE_SYS_PARAM_H
18079 # include <sys/param.h>
18080 #endif
18081 #ifdef HAVE_SYS_MOUNT_H
18082 # include <sys/mount.h>
18083 #endif
18084 #ifdef HAVE_SYS_VFS_H
18085 # include <sys/vfs.h>
18086 #endif
18087 #ifdef HAVE_SYS_STATFS_H
18088 # include <sys/statfs.h>
18089 #endif
18092 main ()
18094 static struct statfs ac_aggr;
18095 if (ac_aggr.f_ffree)
18096 return 0;
18098 return 0;
18100 _ACEOF
18101 rm -f conftest.$ac_objext
18102 if { (ac_try="$ac_compile"
18103 case "(($ac_try" in
18104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18105 *) ac_try_echo=$ac_try;;
18106 esac
18107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18108 (eval "$ac_compile") 2>conftest.er1
18109 ac_status=$?
18110 grep -v '^ *+' conftest.er1 >conftest.err
18111 rm -f conftest.er1
18112 cat conftest.err >&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); } && {
18115 test -z "$ac_c_werror_flag" ||
18116 test ! -s conftest.err
18117 } && test -s conftest.$ac_objext; then
18118 ac_cv_member_struct_statfs_f_ffree=yes
18119 else
18120 echo "$as_me: failed program was:" >&5
18121 sed 's/^/| /' conftest.$ac_ext >&5
18123 cat >conftest.$ac_ext <<_ACEOF
18124 /* confdefs.h. */
18125 _ACEOF
18126 cat confdefs.h >>conftest.$ac_ext
18127 cat >>conftest.$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18129 #include <sys/types.h>
18130 #ifdef HAVE_SYS_PARAM_H
18131 # include <sys/param.h>
18132 #endif
18133 #ifdef HAVE_SYS_MOUNT_H
18134 # include <sys/mount.h>
18135 #endif
18136 #ifdef HAVE_SYS_VFS_H
18137 # include <sys/vfs.h>
18138 #endif
18139 #ifdef HAVE_SYS_STATFS_H
18140 # include <sys/statfs.h>
18141 #endif
18144 main ()
18146 static struct statfs ac_aggr;
18147 if (sizeof ac_aggr.f_ffree)
18148 return 0;
18150 return 0;
18152 _ACEOF
18153 rm -f conftest.$ac_objext
18154 if { (ac_try="$ac_compile"
18155 case "(($ac_try" in
18156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18157 *) ac_try_echo=$ac_try;;
18158 esac
18159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18160 (eval "$ac_compile") 2>conftest.er1
18161 ac_status=$?
18162 grep -v '^ *+' conftest.er1 >conftest.err
18163 rm -f conftest.er1
18164 cat conftest.err >&5
18165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18166 (exit $ac_status); } && {
18167 test -z "$ac_c_werror_flag" ||
18168 test ! -s conftest.err
18169 } && test -s conftest.$ac_objext; then
18170 ac_cv_member_struct_statfs_f_ffree=yes
18171 else
18172 echo "$as_me: failed program was:" >&5
18173 sed 's/^/| /' conftest.$ac_ext >&5
18175 ac_cv_member_struct_statfs_f_ffree=no
18178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18183 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18184 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18185 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18187 cat >>confdefs.h <<_ACEOF
18188 #define HAVE_STRUCT_STATFS_F_FFREE 1
18189 _ACEOF
18193 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18194 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18195 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 else
18198 cat >conftest.$ac_ext <<_ACEOF
18199 /* confdefs.h. */
18200 _ACEOF
18201 cat confdefs.h >>conftest.$ac_ext
18202 cat >>conftest.$ac_ext <<_ACEOF
18203 /* end confdefs.h. */
18204 #include <sys/types.h>
18205 #ifdef HAVE_SYS_PARAM_H
18206 # include <sys/param.h>
18207 #endif
18208 #ifdef HAVE_SYS_MOUNT_H
18209 # include <sys/mount.h>
18210 #endif
18211 #ifdef HAVE_SYS_VFS_H
18212 # include <sys/vfs.h>
18213 #endif
18214 #ifdef HAVE_SYS_STATFS_H
18215 # include <sys/statfs.h>
18216 #endif
18219 main ()
18221 static struct statfs ac_aggr;
18222 if (ac_aggr.f_favail)
18223 return 0;
18225 return 0;
18227 _ACEOF
18228 rm -f conftest.$ac_objext
18229 if { (ac_try="$ac_compile"
18230 case "(($ac_try" in
18231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18232 *) ac_try_echo=$ac_try;;
18233 esac
18234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18235 (eval "$ac_compile") 2>conftest.er1
18236 ac_status=$?
18237 grep -v '^ *+' conftest.er1 >conftest.err
18238 rm -f conftest.er1
18239 cat conftest.err >&5
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); } && {
18242 test -z "$ac_c_werror_flag" ||
18243 test ! -s conftest.err
18244 } && test -s conftest.$ac_objext; then
18245 ac_cv_member_struct_statfs_f_favail=yes
18246 else
18247 echo "$as_me: failed program was:" >&5
18248 sed 's/^/| /' conftest.$ac_ext >&5
18250 cat >conftest.$ac_ext <<_ACEOF
18251 /* confdefs.h. */
18252 _ACEOF
18253 cat confdefs.h >>conftest.$ac_ext
18254 cat >>conftest.$ac_ext <<_ACEOF
18255 /* end confdefs.h. */
18256 #include <sys/types.h>
18257 #ifdef HAVE_SYS_PARAM_H
18258 # include <sys/param.h>
18259 #endif
18260 #ifdef HAVE_SYS_MOUNT_H
18261 # include <sys/mount.h>
18262 #endif
18263 #ifdef HAVE_SYS_VFS_H
18264 # include <sys/vfs.h>
18265 #endif
18266 #ifdef HAVE_SYS_STATFS_H
18267 # include <sys/statfs.h>
18268 #endif
18271 main ()
18273 static struct statfs ac_aggr;
18274 if (sizeof ac_aggr.f_favail)
18275 return 0;
18277 return 0;
18279 _ACEOF
18280 rm -f conftest.$ac_objext
18281 if { (ac_try="$ac_compile"
18282 case "(($ac_try" in
18283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18284 *) ac_try_echo=$ac_try;;
18285 esac
18286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18287 (eval "$ac_compile") 2>conftest.er1
18288 ac_status=$?
18289 grep -v '^ *+' conftest.er1 >conftest.err
18290 rm -f conftest.er1
18291 cat conftest.err >&5
18292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18293 (exit $ac_status); } && {
18294 test -z "$ac_c_werror_flag" ||
18295 test ! -s conftest.err
18296 } && test -s conftest.$ac_objext; then
18297 ac_cv_member_struct_statfs_f_favail=yes
18298 else
18299 echo "$as_me: failed program was:" >&5
18300 sed 's/^/| /' conftest.$ac_ext >&5
18302 ac_cv_member_struct_statfs_f_favail=no
18305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18310 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18311 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18312 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18314 cat >>confdefs.h <<_ACEOF
18315 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18316 _ACEOF
18320 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18321 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18322 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18324 else
18325 cat >conftest.$ac_ext <<_ACEOF
18326 /* confdefs.h. */
18327 _ACEOF
18328 cat confdefs.h >>conftest.$ac_ext
18329 cat >>conftest.$ac_ext <<_ACEOF
18330 /* end confdefs.h. */
18331 #include <sys/types.h>
18332 #ifdef HAVE_SYS_PARAM_H
18333 # include <sys/param.h>
18334 #endif
18335 #ifdef HAVE_SYS_MOUNT_H
18336 # include <sys/mount.h>
18337 #endif
18338 #ifdef HAVE_SYS_VFS_H
18339 # include <sys/vfs.h>
18340 #endif
18341 #ifdef HAVE_SYS_STATFS_H
18342 # include <sys/statfs.h>
18343 #endif
18346 main ()
18348 static struct statfs ac_aggr;
18349 if (ac_aggr.f_namelen)
18350 return 0;
18352 return 0;
18354 _ACEOF
18355 rm -f conftest.$ac_objext
18356 if { (ac_try="$ac_compile"
18357 case "(($ac_try" in
18358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18359 *) ac_try_echo=$ac_try;;
18360 esac
18361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18362 (eval "$ac_compile") 2>conftest.er1
18363 ac_status=$?
18364 grep -v '^ *+' conftest.er1 >conftest.err
18365 rm -f conftest.er1
18366 cat conftest.err >&5
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); } && {
18369 test -z "$ac_c_werror_flag" ||
18370 test ! -s conftest.err
18371 } && test -s conftest.$ac_objext; then
18372 ac_cv_member_struct_statfs_f_namelen=yes
18373 else
18374 echo "$as_me: failed program was:" >&5
18375 sed 's/^/| /' conftest.$ac_ext >&5
18377 cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 #include <sys/types.h>
18384 #ifdef HAVE_SYS_PARAM_H
18385 # include <sys/param.h>
18386 #endif
18387 #ifdef HAVE_SYS_MOUNT_H
18388 # include <sys/mount.h>
18389 #endif
18390 #ifdef HAVE_SYS_VFS_H
18391 # include <sys/vfs.h>
18392 #endif
18393 #ifdef HAVE_SYS_STATFS_H
18394 # include <sys/statfs.h>
18395 #endif
18398 main ()
18400 static struct statfs ac_aggr;
18401 if (sizeof ac_aggr.f_namelen)
18402 return 0;
18404 return 0;
18406 _ACEOF
18407 rm -f conftest.$ac_objext
18408 if { (ac_try="$ac_compile"
18409 case "(($ac_try" in
18410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18411 *) ac_try_echo=$ac_try;;
18412 esac
18413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18414 (eval "$ac_compile") 2>conftest.er1
18415 ac_status=$?
18416 grep -v '^ *+' conftest.er1 >conftest.err
18417 rm -f conftest.er1
18418 cat conftest.err >&5
18419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420 (exit $ac_status); } && {
18421 test -z "$ac_c_werror_flag" ||
18422 test ! -s conftest.err
18423 } && test -s conftest.$ac_objext; then
18424 ac_cv_member_struct_statfs_f_namelen=yes
18425 else
18426 echo "$as_me: failed program was:" >&5
18427 sed 's/^/| /' conftest.$ac_ext >&5
18429 ac_cv_member_struct_statfs_f_namelen=no
18432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18438 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18439 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18441 cat >>confdefs.h <<_ACEOF
18442 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18443 _ACEOF
18449 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18450 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18451 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18452 echo $ECHO_N "(cached) $ECHO_C" >&6
18453 else
18454 cat >conftest.$ac_ext <<_ACEOF
18455 /* confdefs.h. */
18456 _ACEOF
18457 cat confdefs.h >>conftest.$ac_ext
18458 cat >>conftest.$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 #ifdef HAVE_SYS_STATVFS_H
18461 #include <sys/statvfs.h>
18462 #endif
18465 main ()
18467 static struct statvfs ac_aggr;
18468 if (ac_aggr.f_blocks)
18469 return 0;
18471 return 0;
18473 _ACEOF
18474 rm -f conftest.$ac_objext
18475 if { (ac_try="$ac_compile"
18476 case "(($ac_try" in
18477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18478 *) ac_try_echo=$ac_try;;
18479 esac
18480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18481 (eval "$ac_compile") 2>conftest.er1
18482 ac_status=$?
18483 grep -v '^ *+' conftest.er1 >conftest.err
18484 rm -f conftest.er1
18485 cat conftest.err >&5
18486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18487 (exit $ac_status); } && {
18488 test -z "$ac_c_werror_flag" ||
18489 test ! -s conftest.err
18490 } && test -s conftest.$ac_objext; then
18491 ac_cv_member_struct_statvfs_f_blocks=yes
18492 else
18493 echo "$as_me: failed program was:" >&5
18494 sed 's/^/| /' conftest.$ac_ext >&5
18496 cat >conftest.$ac_ext <<_ACEOF
18497 /* confdefs.h. */
18498 _ACEOF
18499 cat confdefs.h >>conftest.$ac_ext
18500 cat >>conftest.$ac_ext <<_ACEOF
18501 /* end confdefs.h. */
18502 #ifdef HAVE_SYS_STATVFS_H
18503 #include <sys/statvfs.h>
18504 #endif
18507 main ()
18509 static struct statvfs ac_aggr;
18510 if (sizeof ac_aggr.f_blocks)
18511 return 0;
18513 return 0;
18515 _ACEOF
18516 rm -f conftest.$ac_objext
18517 if { (ac_try="$ac_compile"
18518 case "(($ac_try" in
18519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18520 *) ac_try_echo=$ac_try;;
18521 esac
18522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18523 (eval "$ac_compile") 2>conftest.er1
18524 ac_status=$?
18525 grep -v '^ *+' conftest.er1 >conftest.err
18526 rm -f conftest.er1
18527 cat conftest.err >&5
18528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18529 (exit $ac_status); } && {
18530 test -z "$ac_c_werror_flag" ||
18531 test ! -s conftest.err
18532 } && test -s conftest.$ac_objext; then
18533 ac_cv_member_struct_statvfs_f_blocks=yes
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18538 ac_cv_member_struct_statvfs_f_blocks=no
18541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18546 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18547 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18548 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18550 cat >>confdefs.h <<_ACEOF
18551 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18552 _ACEOF
18558 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18559 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18560 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18561 echo $ECHO_N "(cached) $ECHO_C" >&6
18562 else
18563 cat >conftest.$ac_ext <<_ACEOF
18564 /* confdefs.h. */
18565 _ACEOF
18566 cat confdefs.h >>conftest.$ac_ext
18567 cat >>conftest.$ac_ext <<_ACEOF
18568 /* end confdefs.h. */
18569 #include <sys/types.h>
18570 #ifdef HAVE_SYS_SOCKET_H
18571 # include <sys/socket.h>
18572 #endif
18573 #ifdef HAVE_SYS_UN_H
18574 # include <sys/un.h>
18575 #endif
18578 main ()
18580 static struct msghdr ac_aggr;
18581 if (ac_aggr.msg_accrights)
18582 return 0;
18584 return 0;
18586 _ACEOF
18587 rm -f conftest.$ac_objext
18588 if { (ac_try="$ac_compile"
18589 case "(($ac_try" in
18590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18591 *) ac_try_echo=$ac_try;;
18592 esac
18593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18594 (eval "$ac_compile") 2>conftest.er1
18595 ac_status=$?
18596 grep -v '^ *+' conftest.er1 >conftest.err
18597 rm -f conftest.er1
18598 cat conftest.err >&5
18599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18600 (exit $ac_status); } && {
18601 test -z "$ac_c_werror_flag" ||
18602 test ! -s conftest.err
18603 } && test -s conftest.$ac_objext; then
18604 ac_cv_member_struct_msghdr_msg_accrights=yes
18605 else
18606 echo "$as_me: failed program was:" >&5
18607 sed 's/^/| /' conftest.$ac_ext >&5
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <sys/types.h>
18616 #ifdef HAVE_SYS_SOCKET_H
18617 # include <sys/socket.h>
18618 #endif
18619 #ifdef HAVE_SYS_UN_H
18620 # include <sys/un.h>
18621 #endif
18624 main ()
18626 static struct msghdr ac_aggr;
18627 if (sizeof ac_aggr.msg_accrights)
18628 return 0;
18630 return 0;
18632 _ACEOF
18633 rm -f conftest.$ac_objext
18634 if { (ac_try="$ac_compile"
18635 case "(($ac_try" in
18636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18637 *) ac_try_echo=$ac_try;;
18638 esac
18639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18640 (eval "$ac_compile") 2>conftest.er1
18641 ac_status=$?
18642 grep -v '^ *+' conftest.er1 >conftest.err
18643 rm -f conftest.er1
18644 cat conftest.err >&5
18645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646 (exit $ac_status); } && {
18647 test -z "$ac_c_werror_flag" ||
18648 test ! -s conftest.err
18649 } && test -s conftest.$ac_objext; then
18650 ac_cv_member_struct_msghdr_msg_accrights=yes
18651 else
18652 echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.$ac_ext >&5
18655 ac_cv_member_struct_msghdr_msg_accrights=no
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18664 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18665 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18667 cat >>confdefs.h <<_ACEOF
18668 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18669 _ACEOF
18673 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18674 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18675 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18676 echo $ECHO_N "(cached) $ECHO_C" >&6
18677 else
18678 cat >conftest.$ac_ext <<_ACEOF
18679 /* confdefs.h. */
18680 _ACEOF
18681 cat confdefs.h >>conftest.$ac_ext
18682 cat >>conftest.$ac_ext <<_ACEOF
18683 /* end confdefs.h. */
18684 #include <sys/types.h>
18685 #ifdef HAVE_SYS_SOCKET_H
18686 # include <sys/socket.h>
18687 #endif
18688 #ifdef HAVE_SYS_UN_H
18689 # include <sys/un.h>
18690 #endif
18693 main ()
18695 static struct sockaddr ac_aggr;
18696 if (ac_aggr.sa_len)
18697 return 0;
18699 return 0;
18701 _ACEOF
18702 rm -f conftest.$ac_objext
18703 if { (ac_try="$ac_compile"
18704 case "(($ac_try" in
18705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18706 *) ac_try_echo=$ac_try;;
18707 esac
18708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18709 (eval "$ac_compile") 2>conftest.er1
18710 ac_status=$?
18711 grep -v '^ *+' conftest.er1 >conftest.err
18712 rm -f conftest.er1
18713 cat conftest.err >&5
18714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18715 (exit $ac_status); } && {
18716 test -z "$ac_c_werror_flag" ||
18717 test ! -s conftest.err
18718 } && test -s conftest.$ac_objext; then
18719 ac_cv_member_struct_sockaddr_sa_len=yes
18720 else
18721 echo "$as_me: failed program was:" >&5
18722 sed 's/^/| /' conftest.$ac_ext >&5
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18730 #include <sys/types.h>
18731 #ifdef HAVE_SYS_SOCKET_H
18732 # include <sys/socket.h>
18733 #endif
18734 #ifdef HAVE_SYS_UN_H
18735 # include <sys/un.h>
18736 #endif
18739 main ()
18741 static struct sockaddr ac_aggr;
18742 if (sizeof ac_aggr.sa_len)
18743 return 0;
18745 return 0;
18747 _ACEOF
18748 rm -f conftest.$ac_objext
18749 if { (ac_try="$ac_compile"
18750 case "(($ac_try" in
18751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18752 *) ac_try_echo=$ac_try;;
18753 esac
18754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18755 (eval "$ac_compile") 2>conftest.er1
18756 ac_status=$?
18757 grep -v '^ *+' conftest.er1 >conftest.err
18758 rm -f conftest.er1
18759 cat conftest.err >&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } && {
18762 test -z "$ac_c_werror_flag" ||
18763 test ! -s conftest.err
18764 } && test -s conftest.$ac_objext; then
18765 ac_cv_member_struct_sockaddr_sa_len=yes
18766 else
18767 echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.$ac_ext >&5
18770 ac_cv_member_struct_sockaddr_sa_len=no
18773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18779 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18780 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18782 cat >>confdefs.h <<_ACEOF
18783 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18784 _ACEOF
18788 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18789 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18790 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18791 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 else
18793 cat >conftest.$ac_ext <<_ACEOF
18794 /* confdefs.h. */
18795 _ACEOF
18796 cat confdefs.h >>conftest.$ac_ext
18797 cat >>conftest.$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 #include <sys/types.h>
18800 #ifdef HAVE_SYS_SOCKET_H
18801 # include <sys/socket.h>
18802 #endif
18803 #ifdef HAVE_SYS_UN_H
18804 # include <sys/un.h>
18805 #endif
18808 main ()
18810 static struct sockaddr_un ac_aggr;
18811 if (ac_aggr.sun_len)
18812 return 0;
18814 return 0;
18816 _ACEOF
18817 rm -f conftest.$ac_objext
18818 if { (ac_try="$ac_compile"
18819 case "(($ac_try" in
18820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18821 *) ac_try_echo=$ac_try;;
18822 esac
18823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18824 (eval "$ac_compile") 2>conftest.er1
18825 ac_status=$?
18826 grep -v '^ *+' conftest.er1 >conftest.err
18827 rm -f conftest.er1
18828 cat conftest.err >&5
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); } && {
18831 test -z "$ac_c_werror_flag" ||
18832 test ! -s conftest.err
18833 } && test -s conftest.$ac_objext; then
18834 ac_cv_member_struct_sockaddr_un_sun_len=yes
18835 else
18836 echo "$as_me: failed program was:" >&5
18837 sed 's/^/| /' conftest.$ac_ext >&5
18839 cat >conftest.$ac_ext <<_ACEOF
18840 /* confdefs.h. */
18841 _ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 #include <sys/types.h>
18846 #ifdef HAVE_SYS_SOCKET_H
18847 # include <sys/socket.h>
18848 #endif
18849 #ifdef HAVE_SYS_UN_H
18850 # include <sys/un.h>
18851 #endif
18854 main ()
18856 static struct sockaddr_un ac_aggr;
18857 if (sizeof ac_aggr.sun_len)
18858 return 0;
18860 return 0;
18862 _ACEOF
18863 rm -f conftest.$ac_objext
18864 if { (ac_try="$ac_compile"
18865 case "(($ac_try" in
18866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18867 *) ac_try_echo=$ac_try;;
18868 esac
18869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18870 (eval "$ac_compile") 2>conftest.er1
18871 ac_status=$?
18872 grep -v '^ *+' conftest.er1 >conftest.err
18873 rm -f conftest.er1
18874 cat conftest.err >&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); } && {
18877 test -z "$ac_c_werror_flag" ||
18878 test ! -s conftest.err
18879 } && test -s conftest.$ac_objext; then
18880 ac_cv_member_struct_sockaddr_un_sun_len=yes
18881 else
18882 echo "$as_me: failed program was:" >&5
18883 sed 's/^/| /' conftest.$ac_ext >&5
18885 ac_cv_member_struct_sockaddr_un_sun_len=no
18888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18893 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18894 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18895 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18897 cat >>confdefs.h <<_ACEOF
18898 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18899 _ACEOF
18905 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18906 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18907 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18908 echo $ECHO_N "(cached) $ECHO_C" >&6
18909 else
18910 cat >conftest.$ac_ext <<_ACEOF
18911 /* confdefs.h. */
18912 _ACEOF
18913 cat confdefs.h >>conftest.$ac_ext
18914 cat >>conftest.$ac_ext <<_ACEOF
18915 /* end confdefs.h. */
18916 #include <sys/types.h>
18917 #ifdef HAVE_SCSI_SG_H
18918 #include <scsi/sg.h>
18919 #endif
18922 main ()
18924 static scsireq_t ac_aggr;
18925 if (ac_aggr.cmd)
18926 return 0;
18928 return 0;
18930 _ACEOF
18931 rm -f conftest.$ac_objext
18932 if { (ac_try="$ac_compile"
18933 case "(($ac_try" in
18934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18935 *) ac_try_echo=$ac_try;;
18936 esac
18937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18938 (eval "$ac_compile") 2>conftest.er1
18939 ac_status=$?
18940 grep -v '^ *+' conftest.er1 >conftest.err
18941 rm -f conftest.er1
18942 cat conftest.err >&5
18943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18944 (exit $ac_status); } && {
18945 test -z "$ac_c_werror_flag" ||
18946 test ! -s conftest.err
18947 } && test -s conftest.$ac_objext; then
18948 ac_cv_member_scsireq_t_cmd=yes
18949 else
18950 echo "$as_me: failed program was:" >&5
18951 sed 's/^/| /' conftest.$ac_ext >&5
18953 cat >conftest.$ac_ext <<_ACEOF
18954 /* confdefs.h. */
18955 _ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 #include <sys/types.h>
18960 #ifdef HAVE_SCSI_SG_H
18961 #include <scsi/sg.h>
18962 #endif
18965 main ()
18967 static scsireq_t ac_aggr;
18968 if (sizeof ac_aggr.cmd)
18969 return 0;
18971 return 0;
18973 _ACEOF
18974 rm -f conftest.$ac_objext
18975 if { (ac_try="$ac_compile"
18976 case "(($ac_try" in
18977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18978 *) ac_try_echo=$ac_try;;
18979 esac
18980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18981 (eval "$ac_compile") 2>conftest.er1
18982 ac_status=$?
18983 grep -v '^ *+' conftest.er1 >conftest.err
18984 rm -f conftest.er1
18985 cat conftest.err >&5
18986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18987 (exit $ac_status); } && {
18988 test -z "$ac_c_werror_flag" ||
18989 test ! -s conftest.err
18990 } && test -s conftest.$ac_objext; then
18991 ac_cv_member_scsireq_t_cmd=yes
18992 else
18993 echo "$as_me: failed program was:" >&5
18994 sed 's/^/| /' conftest.$ac_ext >&5
18996 ac_cv_member_scsireq_t_cmd=no
18999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19004 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19005 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19006 if test $ac_cv_member_scsireq_t_cmd = yes; then
19008 cat >>confdefs.h <<_ACEOF
19009 #define HAVE_SCSIREQ_T_CMD 1
19010 _ACEOF
19014 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19015 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19016 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19017 echo $ECHO_N "(cached) $ECHO_C" >&6
19018 else
19019 cat >conftest.$ac_ext <<_ACEOF
19020 /* confdefs.h. */
19021 _ACEOF
19022 cat confdefs.h >>conftest.$ac_ext
19023 cat >>conftest.$ac_ext <<_ACEOF
19024 /* end confdefs.h. */
19025 #include <sys/types.h>
19026 #ifdef HAVE_SCSI_SG_H
19027 #include <scsi/sg.h>
19028 #endif
19031 main ()
19033 static sg_io_hdr_t ac_aggr;
19034 if (ac_aggr.interface_id)
19035 return 0;
19037 return 0;
19039 _ACEOF
19040 rm -f conftest.$ac_objext
19041 if { (ac_try="$ac_compile"
19042 case "(($ac_try" in
19043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19044 *) ac_try_echo=$ac_try;;
19045 esac
19046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19047 (eval "$ac_compile") 2>conftest.er1
19048 ac_status=$?
19049 grep -v '^ *+' conftest.er1 >conftest.err
19050 rm -f conftest.er1
19051 cat conftest.err >&5
19052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19053 (exit $ac_status); } && {
19054 test -z "$ac_c_werror_flag" ||
19055 test ! -s conftest.err
19056 } && test -s conftest.$ac_objext; then
19057 ac_cv_member_sg_io_hdr_t_interface_id=yes
19058 else
19059 echo "$as_me: failed program was:" >&5
19060 sed 's/^/| /' conftest.$ac_ext >&5
19062 cat >conftest.$ac_ext <<_ACEOF
19063 /* confdefs.h. */
19064 _ACEOF
19065 cat confdefs.h >>conftest.$ac_ext
19066 cat >>conftest.$ac_ext <<_ACEOF
19067 /* end confdefs.h. */
19068 #include <sys/types.h>
19069 #ifdef HAVE_SCSI_SG_H
19070 #include <scsi/sg.h>
19071 #endif
19074 main ()
19076 static sg_io_hdr_t ac_aggr;
19077 if (sizeof ac_aggr.interface_id)
19078 return 0;
19080 return 0;
19082 _ACEOF
19083 rm -f conftest.$ac_objext
19084 if { (ac_try="$ac_compile"
19085 case "(($ac_try" in
19086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19087 *) ac_try_echo=$ac_try;;
19088 esac
19089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19090 (eval "$ac_compile") 2>conftest.er1
19091 ac_status=$?
19092 grep -v '^ *+' conftest.er1 >conftest.err
19093 rm -f conftest.er1
19094 cat conftest.err >&5
19095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19096 (exit $ac_status); } && {
19097 test -z "$ac_c_werror_flag" ||
19098 test ! -s conftest.err
19099 } && test -s conftest.$ac_objext; then
19100 ac_cv_member_sg_io_hdr_t_interface_id=yes
19101 else
19102 echo "$as_me: failed program was:" >&5
19103 sed 's/^/| /' conftest.$ac_ext >&5
19105 ac_cv_member_sg_io_hdr_t_interface_id=no
19108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19113 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19114 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19115 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19117 cat >>confdefs.h <<_ACEOF
19118 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19119 _ACEOF
19125 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19126 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19127 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19128 echo $ECHO_N "(cached) $ECHO_C" >&6
19129 else
19130 cat >conftest.$ac_ext <<_ACEOF
19131 /* confdefs.h. */
19132 _ACEOF
19133 cat confdefs.h >>conftest.$ac_ext
19134 cat >>conftest.$ac_ext <<_ACEOF
19135 /* end confdefs.h. */
19136 #include <signal.h>
19139 main ()
19141 static siginfo_t ac_aggr;
19142 if (ac_aggr.si_fd)
19143 return 0;
19145 return 0;
19147 _ACEOF
19148 rm -f conftest.$ac_objext
19149 if { (ac_try="$ac_compile"
19150 case "(($ac_try" in
19151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19152 *) ac_try_echo=$ac_try;;
19153 esac
19154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19155 (eval "$ac_compile") 2>conftest.er1
19156 ac_status=$?
19157 grep -v '^ *+' conftest.er1 >conftest.err
19158 rm -f conftest.er1
19159 cat conftest.err >&5
19160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19161 (exit $ac_status); } && {
19162 test -z "$ac_c_werror_flag" ||
19163 test ! -s conftest.err
19164 } && test -s conftest.$ac_objext; then
19165 ac_cv_member_siginfo_t_si_fd=yes
19166 else
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19170 cat >conftest.$ac_ext <<_ACEOF
19171 /* confdefs.h. */
19172 _ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19176 #include <signal.h>
19179 main ()
19181 static siginfo_t ac_aggr;
19182 if (sizeof ac_aggr.si_fd)
19183 return 0;
19185 return 0;
19187 _ACEOF
19188 rm -f conftest.$ac_objext
19189 if { (ac_try="$ac_compile"
19190 case "(($ac_try" in
19191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19192 *) ac_try_echo=$ac_try;;
19193 esac
19194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19195 (eval "$ac_compile") 2>conftest.er1
19196 ac_status=$?
19197 grep -v '^ *+' conftest.er1 >conftest.err
19198 rm -f conftest.er1
19199 cat conftest.err >&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } && {
19202 test -z "$ac_c_werror_flag" ||
19203 test ! -s conftest.err
19204 } && test -s conftest.$ac_objext; then
19205 ac_cv_member_siginfo_t_si_fd=yes
19206 else
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19210 ac_cv_member_siginfo_t_si_fd=no
19213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19218 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19219 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19220 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19222 cat >>confdefs.h <<_ACEOF
19223 #define HAVE_SIGINFO_T_SI_FD 1
19224 _ACEOF
19230 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19231 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19232 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19233 echo $ECHO_N "(cached) $ECHO_C" >&6
19234 else
19235 cat >conftest.$ac_ext <<_ACEOF
19236 /* confdefs.h. */
19237 _ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241 #include <sys/types.h>
19242 #ifdef HAVE_SYS_MTIO_H
19243 #include <sys/mtio.h>
19244 #endif
19247 main ()
19249 static struct mtget ac_aggr;
19250 if (ac_aggr.mt_blksiz)
19251 return 0;
19253 return 0;
19255 _ACEOF
19256 rm -f conftest.$ac_objext
19257 if { (ac_try="$ac_compile"
19258 case "(($ac_try" in
19259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19260 *) ac_try_echo=$ac_try;;
19261 esac
19262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19263 (eval "$ac_compile") 2>conftest.er1
19264 ac_status=$?
19265 grep -v '^ *+' conftest.er1 >conftest.err
19266 rm -f conftest.er1
19267 cat conftest.err >&5
19268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19269 (exit $ac_status); } && {
19270 test -z "$ac_c_werror_flag" ||
19271 test ! -s conftest.err
19272 } && test -s conftest.$ac_objext; then
19273 ac_cv_member_struct_mtget_mt_blksiz=yes
19274 else
19275 echo "$as_me: failed program was:" >&5
19276 sed 's/^/| /' conftest.$ac_ext >&5
19278 cat >conftest.$ac_ext <<_ACEOF
19279 /* confdefs.h. */
19280 _ACEOF
19281 cat confdefs.h >>conftest.$ac_ext
19282 cat >>conftest.$ac_ext <<_ACEOF
19283 /* end confdefs.h. */
19284 #include <sys/types.h>
19285 #ifdef HAVE_SYS_MTIO_H
19286 #include <sys/mtio.h>
19287 #endif
19290 main ()
19292 static struct mtget ac_aggr;
19293 if (sizeof ac_aggr.mt_blksiz)
19294 return 0;
19296 return 0;
19298 _ACEOF
19299 rm -f conftest.$ac_objext
19300 if { (ac_try="$ac_compile"
19301 case "(($ac_try" in
19302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19303 *) ac_try_echo=$ac_try;;
19304 esac
19305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19306 (eval "$ac_compile") 2>conftest.er1
19307 ac_status=$?
19308 grep -v '^ *+' conftest.er1 >conftest.err
19309 rm -f conftest.er1
19310 cat conftest.err >&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } && {
19313 test -z "$ac_c_werror_flag" ||
19314 test ! -s conftest.err
19315 } && test -s conftest.$ac_objext; then
19316 ac_cv_member_struct_mtget_mt_blksiz=yes
19317 else
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19321 ac_cv_member_struct_mtget_mt_blksiz=no
19324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19329 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19330 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19331 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19333 cat >>confdefs.h <<_ACEOF
19334 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19335 _ACEOF
19339 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19340 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19341 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19342 echo $ECHO_N "(cached) $ECHO_C" >&6
19343 else
19344 cat >conftest.$ac_ext <<_ACEOF
19345 /* confdefs.h. */
19346 _ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 #include <sys/types.h>
19351 #ifdef HAVE_SYS_MTIO_H
19352 #include <sys/mtio.h>
19353 #endif
19356 main ()
19358 static struct mtget ac_aggr;
19359 if (ac_aggr.mt_gstat)
19360 return 0;
19362 return 0;
19364 _ACEOF
19365 rm -f conftest.$ac_objext
19366 if { (ac_try="$ac_compile"
19367 case "(($ac_try" in
19368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19369 *) ac_try_echo=$ac_try;;
19370 esac
19371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19372 (eval "$ac_compile") 2>conftest.er1
19373 ac_status=$?
19374 grep -v '^ *+' conftest.er1 >conftest.err
19375 rm -f conftest.er1
19376 cat conftest.err >&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); } && {
19379 test -z "$ac_c_werror_flag" ||
19380 test ! -s conftest.err
19381 } && test -s conftest.$ac_objext; then
19382 ac_cv_member_struct_mtget_mt_gstat=yes
19383 else
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19387 cat >conftest.$ac_ext <<_ACEOF
19388 /* confdefs.h. */
19389 _ACEOF
19390 cat confdefs.h >>conftest.$ac_ext
19391 cat >>conftest.$ac_ext <<_ACEOF
19392 /* end confdefs.h. */
19393 #include <sys/types.h>
19394 #ifdef HAVE_SYS_MTIO_H
19395 #include <sys/mtio.h>
19396 #endif
19399 main ()
19401 static struct mtget ac_aggr;
19402 if (sizeof ac_aggr.mt_gstat)
19403 return 0;
19405 return 0;
19407 _ACEOF
19408 rm -f conftest.$ac_objext
19409 if { (ac_try="$ac_compile"
19410 case "(($ac_try" in
19411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19412 *) ac_try_echo=$ac_try;;
19413 esac
19414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19415 (eval "$ac_compile") 2>conftest.er1
19416 ac_status=$?
19417 grep -v '^ *+' conftest.er1 >conftest.err
19418 rm -f conftest.er1
19419 cat conftest.err >&5
19420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19421 (exit $ac_status); } && {
19422 test -z "$ac_c_werror_flag" ||
19423 test ! -s conftest.err
19424 } && test -s conftest.$ac_objext; then
19425 ac_cv_member_struct_mtget_mt_gstat=yes
19426 else
19427 echo "$as_me: failed program was:" >&5
19428 sed 's/^/| /' conftest.$ac_ext >&5
19430 ac_cv_member_struct_mtget_mt_gstat=no
19433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19438 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19439 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19440 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19442 cat >>confdefs.h <<_ACEOF
19443 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19444 _ACEOF
19448 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19449 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19450 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19451 echo $ECHO_N "(cached) $ECHO_C" >&6
19452 else
19453 cat >conftest.$ac_ext <<_ACEOF
19454 /* confdefs.h. */
19455 _ACEOF
19456 cat confdefs.h >>conftest.$ac_ext
19457 cat >>conftest.$ac_ext <<_ACEOF
19458 /* end confdefs.h. */
19459 #include <sys/types.h>
19460 #ifdef HAVE_SYS_MTIO_H
19461 #include <sys/mtio.h>
19462 #endif
19465 main ()
19467 static struct mtget ac_aggr;
19468 if (ac_aggr.mt_blkno)
19469 return 0;
19471 return 0;
19473 _ACEOF
19474 rm -f conftest.$ac_objext
19475 if { (ac_try="$ac_compile"
19476 case "(($ac_try" in
19477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19478 *) ac_try_echo=$ac_try;;
19479 esac
19480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19481 (eval "$ac_compile") 2>conftest.er1
19482 ac_status=$?
19483 grep -v '^ *+' conftest.er1 >conftest.err
19484 rm -f conftest.er1
19485 cat conftest.err >&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } && {
19488 test -z "$ac_c_werror_flag" ||
19489 test ! -s conftest.err
19490 } && test -s conftest.$ac_objext; then
19491 ac_cv_member_struct_mtget_mt_blkno=yes
19492 else
19493 echo "$as_me: failed program was:" >&5
19494 sed 's/^/| /' conftest.$ac_ext >&5
19496 cat >conftest.$ac_ext <<_ACEOF
19497 /* confdefs.h. */
19498 _ACEOF
19499 cat confdefs.h >>conftest.$ac_ext
19500 cat >>conftest.$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19502 #include <sys/types.h>
19503 #ifdef HAVE_SYS_MTIO_H
19504 #include <sys/mtio.h>
19505 #endif
19508 main ()
19510 static struct mtget ac_aggr;
19511 if (sizeof ac_aggr.mt_blkno)
19512 return 0;
19514 return 0;
19516 _ACEOF
19517 rm -f conftest.$ac_objext
19518 if { (ac_try="$ac_compile"
19519 case "(($ac_try" in
19520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19521 *) ac_try_echo=$ac_try;;
19522 esac
19523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19524 (eval "$ac_compile") 2>conftest.er1
19525 ac_status=$?
19526 grep -v '^ *+' conftest.er1 >conftest.err
19527 rm -f conftest.er1
19528 cat conftest.err >&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); } && {
19531 test -z "$ac_c_werror_flag" ||
19532 test ! -s conftest.err
19533 } && test -s conftest.$ac_objext; then
19534 ac_cv_member_struct_mtget_mt_blkno=yes
19535 else
19536 echo "$as_me: failed program was:" >&5
19537 sed 's/^/| /' conftest.$ac_ext >&5
19539 ac_cv_member_struct_mtget_mt_blkno=no
19542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19547 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19548 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19549 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19551 cat >>confdefs.h <<_ACEOF
19552 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19553 _ACEOF
19559 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19560 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19561 if test "${ac_cv_member_struct_option_name+set}" = set; then
19562 echo $ECHO_N "(cached) $ECHO_C" >&6
19563 else
19564 cat >conftest.$ac_ext <<_ACEOF
19565 /* confdefs.h. */
19566 _ACEOF
19567 cat confdefs.h >>conftest.$ac_ext
19568 cat >>conftest.$ac_ext <<_ACEOF
19569 /* end confdefs.h. */
19570 #ifdef HAVE_GETOPT_H
19571 #include <getopt.h>
19572 #endif
19575 main ()
19577 static struct option ac_aggr;
19578 if (ac_aggr.name)
19579 return 0;
19581 return 0;
19583 _ACEOF
19584 rm -f conftest.$ac_objext
19585 if { (ac_try="$ac_compile"
19586 case "(($ac_try" in
19587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19588 *) ac_try_echo=$ac_try;;
19589 esac
19590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19591 (eval "$ac_compile") 2>conftest.er1
19592 ac_status=$?
19593 grep -v '^ *+' conftest.er1 >conftest.err
19594 rm -f conftest.er1
19595 cat conftest.err >&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } && {
19598 test -z "$ac_c_werror_flag" ||
19599 test ! -s conftest.err
19600 } && test -s conftest.$ac_objext; then
19601 ac_cv_member_struct_option_name=yes
19602 else
19603 echo "$as_me: failed program was:" >&5
19604 sed 's/^/| /' conftest.$ac_ext >&5
19606 cat >conftest.$ac_ext <<_ACEOF
19607 /* confdefs.h. */
19608 _ACEOF
19609 cat confdefs.h >>conftest.$ac_ext
19610 cat >>conftest.$ac_ext <<_ACEOF
19611 /* end confdefs.h. */
19612 #ifdef HAVE_GETOPT_H
19613 #include <getopt.h>
19614 #endif
19617 main ()
19619 static struct option ac_aggr;
19620 if (sizeof ac_aggr.name)
19621 return 0;
19623 return 0;
19625 _ACEOF
19626 rm -f conftest.$ac_objext
19627 if { (ac_try="$ac_compile"
19628 case "(($ac_try" in
19629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19630 *) ac_try_echo=$ac_try;;
19631 esac
19632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19633 (eval "$ac_compile") 2>conftest.er1
19634 ac_status=$?
19635 grep -v '^ *+' conftest.er1 >conftest.err
19636 rm -f conftest.er1
19637 cat conftest.err >&5
19638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19639 (exit $ac_status); } && {
19640 test -z "$ac_c_werror_flag" ||
19641 test ! -s conftest.err
19642 } && test -s conftest.$ac_objext; then
19643 ac_cv_member_struct_option_name=yes
19644 else
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 ac_cv_member_struct_option_name=no
19651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19657 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19658 if test $ac_cv_member_struct_option_name = yes; then
19660 cat >>confdefs.h <<_ACEOF
19661 #define HAVE_STRUCT_OPTION_NAME 1
19662 _ACEOF
19668 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19669 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19670 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19671 echo $ECHO_N "(cached) $ECHO_C" >&6
19672 else
19673 cat >conftest.$ac_ext <<_ACEOF
19674 /* confdefs.h. */
19675 _ACEOF
19676 cat confdefs.h >>conftest.$ac_ext
19677 cat >>conftest.$ac_ext <<_ACEOF
19678 /* end confdefs.h. */
19679 $ac_includes_default
19681 main ()
19683 static struct stat ac_aggr;
19684 if (ac_aggr.st_blocks)
19685 return 0;
19687 return 0;
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19695 esac
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.$ac_objext; then
19707 ac_cv_member_struct_stat_st_blocks=yes
19708 else
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19712 cat >conftest.$ac_ext <<_ACEOF
19713 /* confdefs.h. */
19714 _ACEOF
19715 cat confdefs.h >>conftest.$ac_ext
19716 cat >>conftest.$ac_ext <<_ACEOF
19717 /* end confdefs.h. */
19718 $ac_includes_default
19720 main ()
19722 static struct stat ac_aggr;
19723 if (sizeof ac_aggr.st_blocks)
19724 return 0;
19726 return 0;
19728 _ACEOF
19729 rm -f conftest.$ac_objext
19730 if { (ac_try="$ac_compile"
19731 case "(($ac_try" in
19732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19733 *) ac_try_echo=$ac_try;;
19734 esac
19735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19736 (eval "$ac_compile") 2>conftest.er1
19737 ac_status=$?
19738 grep -v '^ *+' conftest.er1 >conftest.err
19739 rm -f conftest.er1
19740 cat conftest.err >&5
19741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19742 (exit $ac_status); } && {
19743 test -z "$ac_c_werror_flag" ||
19744 test ! -s conftest.err
19745 } && test -s conftest.$ac_objext; then
19746 ac_cv_member_struct_stat_st_blocks=yes
19747 else
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 ac_cv_member_struct_stat_st_blocks=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19760 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19761 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19763 cat >>confdefs.h <<_ACEOF
19764 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19765 _ACEOF
19771 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19772 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19773 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19774 echo $ECHO_N "(cached) $ECHO_C" >&6
19775 else
19776 cat >conftest.$ac_ext <<_ACEOF
19777 /* confdefs.h. */
19778 _ACEOF
19779 cat confdefs.h >>conftest.$ac_ext
19780 cat >>conftest.$ac_ext <<_ACEOF
19781 /* end confdefs.h. */
19782 #ifdef HAVE_SYS_TYPES_H
19783 #include <sys/types.h>
19784 #endif
19785 #ifdef HAVE_NETINET_IN_H
19786 #include <netinet/in.h>
19787 #endif
19790 main ()
19792 static struct sockaddr_in6 ac_aggr;
19793 if (ac_aggr.sin6_scope_id)
19794 return 0;
19796 return 0;
19798 _ACEOF
19799 rm -f conftest.$ac_objext
19800 if { (ac_try="$ac_compile"
19801 case "(($ac_try" in
19802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19803 *) ac_try_echo=$ac_try;;
19804 esac
19805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19806 (eval "$ac_compile") 2>conftest.er1
19807 ac_status=$?
19808 grep -v '^ *+' conftest.er1 >conftest.err
19809 rm -f conftest.er1
19810 cat conftest.err >&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); } && {
19813 test -z "$ac_c_werror_flag" ||
19814 test ! -s conftest.err
19815 } && test -s conftest.$ac_objext; then
19816 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19817 else
19818 echo "$as_me: failed program was:" >&5
19819 sed 's/^/| /' conftest.$ac_ext >&5
19821 cat >conftest.$ac_ext <<_ACEOF
19822 /* confdefs.h. */
19823 _ACEOF
19824 cat confdefs.h >>conftest.$ac_ext
19825 cat >>conftest.$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19827 #ifdef HAVE_SYS_TYPES_H
19828 #include <sys/types.h>
19829 #endif
19830 #ifdef HAVE_NETINET_IN_H
19831 #include <netinet/in.h>
19832 #endif
19835 main ()
19837 static struct sockaddr_in6 ac_aggr;
19838 if (sizeof ac_aggr.sin6_scope_id)
19839 return 0;
19841 return 0;
19843 _ACEOF
19844 rm -f conftest.$ac_objext
19845 if { (ac_try="$ac_compile"
19846 case "(($ac_try" in
19847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19848 *) ac_try_echo=$ac_try;;
19849 esac
19850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19851 (eval "$ac_compile") 2>conftest.er1
19852 ac_status=$?
19853 grep -v '^ *+' conftest.er1 >conftest.err
19854 rm -f conftest.er1
19855 cat conftest.err >&5
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); } && {
19858 test -z "$ac_c_werror_flag" ||
19859 test ! -s conftest.err
19860 } && test -s conftest.$ac_objext; then
19861 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19862 else
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19866 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19874 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19875 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19876 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19878 cat >>confdefs.h <<_ACEOF
19879 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19880 _ACEOF
19886 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19887 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19888 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19889 echo $ECHO_N "(cached) $ECHO_C" >&6
19890 else
19891 cat >conftest.$ac_ext <<_ACEOF
19892 /* confdefs.h. */
19893 _ACEOF
19894 cat confdefs.h >>conftest.$ac_ext
19895 cat >>conftest.$ac_ext <<_ACEOF
19896 /* end confdefs.h. */
19897 #ifdef HAVE_SYS_TYPES_H
19898 #include <sys/types.h>
19899 #endif
19900 #ifdef HAVE_NETINET_IN_H
19901 # include <netinet/in.h>
19902 #endif
19903 #ifdef HAVE_ARPA_NAMESER_H
19904 # include <arpa/nameser.h>
19905 #endif
19908 main ()
19910 static ns_msg ac_aggr;
19911 if (ac_aggr._msg_ptr)
19912 return 0;
19914 return 0;
19916 _ACEOF
19917 rm -f conftest.$ac_objext
19918 if { (ac_try="$ac_compile"
19919 case "(($ac_try" in
19920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19921 *) ac_try_echo=$ac_try;;
19922 esac
19923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19924 (eval "$ac_compile") 2>conftest.er1
19925 ac_status=$?
19926 grep -v '^ *+' conftest.er1 >conftest.err
19927 rm -f conftest.er1
19928 cat conftest.err >&5
19929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19930 (exit $ac_status); } && {
19931 test -z "$ac_c_werror_flag" ||
19932 test ! -s conftest.err
19933 } && test -s conftest.$ac_objext; then
19934 ac_cv_member_ns_msg__msg_ptr=yes
19935 else
19936 echo "$as_me: failed program was:" >&5
19937 sed 's/^/| /' conftest.$ac_ext >&5
19939 cat >conftest.$ac_ext <<_ACEOF
19940 /* confdefs.h. */
19941 _ACEOF
19942 cat confdefs.h >>conftest.$ac_ext
19943 cat >>conftest.$ac_ext <<_ACEOF
19944 /* end confdefs.h. */
19945 #ifdef HAVE_SYS_TYPES_H
19946 #include <sys/types.h>
19947 #endif
19948 #ifdef HAVE_NETINET_IN_H
19949 # include <netinet/in.h>
19950 #endif
19951 #ifdef HAVE_ARPA_NAMESER_H
19952 # include <arpa/nameser.h>
19953 #endif
19956 main ()
19958 static ns_msg ac_aggr;
19959 if (sizeof ac_aggr._msg_ptr)
19960 return 0;
19962 return 0;
19964 _ACEOF
19965 rm -f conftest.$ac_objext
19966 if { (ac_try="$ac_compile"
19967 case "(($ac_try" in
19968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19969 *) ac_try_echo=$ac_try;;
19970 esac
19971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19972 (eval "$ac_compile") 2>conftest.er1
19973 ac_status=$?
19974 grep -v '^ *+' conftest.er1 >conftest.err
19975 rm -f conftest.er1
19976 cat conftest.err >&5
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); } && {
19979 test -z "$ac_c_werror_flag" ||
19980 test ! -s conftest.err
19981 } && test -s conftest.$ac_objext; then
19982 ac_cv_member_ns_msg__msg_ptr=yes
19983 else
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 ac_cv_member_ns_msg__msg_ptr=no
19990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19995 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
19996 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
19997 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
19999 cat >>confdefs.h <<_ACEOF
20000 #define HAVE_NS_MSG__MSG_PTR 1
20001 _ACEOF
20007 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20008 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20009 if test "${ac_cv_have_timezone+set}" = set; then
20010 echo $ECHO_N "(cached) $ECHO_C" >&6
20011 else
20012 cat >conftest.$ac_ext <<_ACEOF
20013 /* confdefs.h. */
20014 _ACEOF
20015 cat confdefs.h >>conftest.$ac_ext
20016 cat >>conftest.$ac_ext <<_ACEOF
20017 /* end confdefs.h. */
20018 #include <time.h>
20020 main ()
20022 timezone = 1
20024 return 0;
20026 _ACEOF
20027 rm -f conftest.$ac_objext conftest$ac_exeext
20028 if { (ac_try="$ac_link"
20029 case "(($ac_try" in
20030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20031 *) ac_try_echo=$ac_try;;
20032 esac
20033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20034 (eval "$ac_link") 2>conftest.er1
20035 ac_status=$?
20036 grep -v '^ *+' conftest.er1 >conftest.err
20037 rm -f conftest.er1
20038 cat conftest.err >&5
20039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20040 (exit $ac_status); } && {
20041 test -z "$ac_c_werror_flag" ||
20042 test ! -s conftest.err
20043 } && test -s conftest$ac_exeext &&
20044 $as_test_x conftest$ac_exeext; then
20045 ac_cv_have_timezone="yes"
20046 else
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20050 ac_cv_have_timezone="no"
20053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20054 conftest$ac_exeext conftest.$ac_ext
20056 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20057 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20058 if test "$ac_cv_have_timezone" = "yes"
20059 then
20061 cat >>confdefs.h <<\_ACEOF
20062 #define HAVE_TIMEZONE 1
20063 _ACEOF
20066 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20067 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20068 if test "${ac_cv_have_daylight+set}" = set; then
20069 echo $ECHO_N "(cached) $ECHO_C" >&6
20070 else
20071 cat >conftest.$ac_ext <<_ACEOF
20072 /* confdefs.h. */
20073 _ACEOF
20074 cat confdefs.h >>conftest.$ac_ext
20075 cat >>conftest.$ac_ext <<_ACEOF
20076 /* end confdefs.h. */
20077 #include <time.h>
20079 main ()
20081 daylight = 1
20083 return 0;
20085 _ACEOF
20086 rm -f conftest.$ac_objext conftest$ac_exeext
20087 if { (ac_try="$ac_link"
20088 case "(($ac_try" in
20089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20090 *) ac_try_echo=$ac_try;;
20091 esac
20092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20093 (eval "$ac_link") 2>conftest.er1
20094 ac_status=$?
20095 grep -v '^ *+' conftest.er1 >conftest.err
20096 rm -f conftest.er1
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } && {
20100 test -z "$ac_c_werror_flag" ||
20101 test ! -s conftest.err
20102 } && test -s conftest$ac_exeext &&
20103 $as_test_x conftest$ac_exeext; then
20104 ac_cv_have_daylight="yes"
20105 else
20106 echo "$as_me: failed program was:" >&5
20107 sed 's/^/| /' conftest.$ac_ext >&5
20109 ac_cv_have_daylight="no"
20112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20113 conftest$ac_exeext conftest.$ac_ext
20115 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20116 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20117 if test "$ac_cv_have_daylight" = "yes"
20118 then
20120 cat >>confdefs.h <<\_ACEOF
20121 #define HAVE_DAYLIGHT 1
20122 _ACEOF
20127 case $host_cpu in
20128 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20129 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20130 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20131 echo $ECHO_N "(cached) $ECHO_C" >&6
20132 else
20133 cat >conftest.$ac_ext <<_ACEOF
20134 /* confdefs.h. */
20135 _ACEOF
20136 cat confdefs.h >>conftest.$ac_ext
20137 cat >>conftest.$ac_ext <<_ACEOF
20138 /* end confdefs.h. */
20139 #ifndef __i386__
20141 #endif
20142 _ACEOF
20143 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20144 $EGREP "yes" >/dev/null 2>&1; then
20145 ac_cv_cpp_def___i386__=yes
20146 else
20147 ac_cv_cpp_def___i386__=no
20149 rm -f conftest*
20152 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20153 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20154 if test $ac_cv_cpp_def___i386__ = yes; then
20155 CFLAGS="$CFLAGS -D__i386__"
20156 LINTFLAGS="$LINTFLAGS -D__i386__"
20159 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20160 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20161 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 else
20164 cat >conftest.$ac_ext <<_ACEOF
20165 /* confdefs.h. */
20166 _ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 #ifndef __x86_64__
20172 #endif
20173 _ACEOF
20174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20175 $EGREP "yes" >/dev/null 2>&1; then
20176 ac_cv_cpp_def___x86_64__=yes
20177 else
20178 ac_cv_cpp_def___x86_64__=no
20180 rm -f conftest*
20183 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20184 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20185 if test $ac_cv_cpp_def___x86_64__ = yes; then
20186 CFLAGS="$CFLAGS -D__x86_64__"
20187 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20190 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20191 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20192 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20193 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 else
20195 cat >conftest.$ac_ext <<_ACEOF
20196 /* confdefs.h. */
20197 _ACEOF
20198 cat confdefs.h >>conftest.$ac_ext
20199 cat >>conftest.$ac_ext <<_ACEOF
20200 /* end confdefs.h. */
20201 #ifndef __ALPHA__
20203 #endif
20204 _ACEOF
20205 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20206 $EGREP "yes" >/dev/null 2>&1; then
20207 ac_cv_cpp_def___ALPHA__=yes
20208 else
20209 ac_cv_cpp_def___ALPHA__=no
20211 rm -f conftest*
20214 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20215 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20216 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20217 CFLAGS="$CFLAGS -D__ALPHA__"
20218 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20221 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20222 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20223 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20224 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 else
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 #ifndef __sparc__
20234 #endif
20235 _ACEOF
20236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20237 $EGREP "yes" >/dev/null 2>&1; then
20238 ac_cv_cpp_def___sparc__=yes
20239 else
20240 ac_cv_cpp_def___sparc__=no
20242 rm -f conftest*
20245 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20246 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20247 if test $ac_cv_cpp_def___sparc__ = yes; then
20248 CFLAGS="$CFLAGS -D__sparc__"
20249 LINTFLAGS="$LINTFLAGS -D__sparc__"
20252 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20253 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20254 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20255 echo $ECHO_N "(cached) $ECHO_C" >&6
20256 else
20257 cat >conftest.$ac_ext <<_ACEOF
20258 /* confdefs.h. */
20259 _ACEOF
20260 cat confdefs.h >>conftest.$ac_ext
20261 cat >>conftest.$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 #ifndef __powerpc__
20265 #endif
20266 _ACEOF
20267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20268 $EGREP "yes" >/dev/null 2>&1; then
20269 ac_cv_cpp_def___powerpc__=yes
20270 else
20271 ac_cv_cpp_def___powerpc__=no
20273 rm -f conftest*
20276 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20277 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20278 if test $ac_cv_cpp_def___powerpc__ = yes; then
20279 CFLAGS="$CFLAGS -D__powerpc__"
20280 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20283 esac
20285 case $host_vendor in
20286 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20287 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20288 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20289 echo $ECHO_N "(cached) $ECHO_C" >&6
20290 else
20291 cat >conftest.$ac_ext <<_ACEOF
20292 /* confdefs.h. */
20293 _ACEOF
20294 cat confdefs.h >>conftest.$ac_ext
20295 cat >>conftest.$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 #ifndef __sun__
20299 #endif
20300 _ACEOF
20301 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20302 $EGREP "yes" >/dev/null 2>&1; then
20303 ac_cv_cpp_def___sun__=yes
20304 else
20305 ac_cv_cpp_def___sun__=no
20307 rm -f conftest*
20310 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20311 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20312 if test $ac_cv_cpp_def___sun__ = yes; then
20313 CFLAGS="$CFLAGS -D__sun__"
20314 LINTFLAGS="$LINTFLAGS -D__sun__"
20317 esac
20320 DEPENDENCIES="### Dependencies:
20322 .INIT: Makefile
20323 .BEGIN: Makefile
20324 Makefile: dummy
20325 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20327 \$(OBJS): \$(IDL_GEN_HEADERS)
20328 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20329 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20330 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20336 ac_config_commands="$ac_config_commands include/stamp-h"
20339 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20341 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20343 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20345 ac_config_commands="$ac_config_commands dlls/user32/resources"
20347 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20349 ac_config_commands="$ac_config_commands include/wine"
20352 MAKE_RULES=Make.rules
20355 MAKE_DLL_RULES=dlls/Makedll.rules
20358 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20361 MAKE_TEST_RULES=dlls/Maketest.rules
20364 MAKE_PROG_RULES=programs/Makeprog.rules
20367 ac_config_files="$ac_config_files Make.rules"
20369 ac_config_files="$ac_config_files dlls/Makedll.rules"
20371 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20373 ac_config_files="$ac_config_files dlls/Maketest.rules"
20375 ac_config_files="$ac_config_files programs/Makeprog.rules"
20377 ac_config_files="$ac_config_files Makefile"
20379 ac_config_files="$ac_config_files dlls/Makefile"
20381 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20383 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20385 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20387 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20389 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20391 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20393 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20395 ac_config_files="$ac_config_files dlls/atl/Makefile"
20397 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20399 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20401 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20403 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20405 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20407 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20409 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20411 ac_config_files="$ac_config_files dlls/cards/Makefile"
20413 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20415 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20417 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20419 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20421 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20423 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20425 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20427 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20429 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20431 ac_config_files="$ac_config_files dlls/credui/Makefile"
20433 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20435 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20437 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20439 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20441 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20443 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20445 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20447 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20449 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20451 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20453 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20455 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20457 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20459 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20461 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20463 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20465 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20467 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20469 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20471 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20473 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20475 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20477 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20479 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20481 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20483 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20485 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20487 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20489 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20491 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20493 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20495 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20497 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20499 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20501 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20503 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20505 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20507 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20509 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20511 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20513 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20515 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20517 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20519 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20521 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20523 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20525 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20527 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20529 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20531 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20533 ac_config_files="$ac_config_files dlls/gdiplus/Makefile"
20535 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20537 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20539 ac_config_files="$ac_config_files dlls/hal/Makefile"
20541 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20543 ac_config_files="$ac_config_files dlls/hid/Makefile"
20545 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20547 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20549 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20551 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20553 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20555 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20557 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20559 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20561 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20563 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20565 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20567 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20569 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20571 ac_config_files="$ac_config_files dlls/itss/Makefile"
20573 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20575 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20577 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20579 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20581 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20583 ac_config_files="$ac_config_files dlls/localui/Makefile"
20585 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20587 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20589 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20591 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20593 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20595 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20597 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20599 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20601 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20603 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20605 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20607 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20609 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20611 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20613 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20615 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20617 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20619 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20621 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20623 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20625 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20627 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20629 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20631 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20633 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20635 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20637 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20639 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20641 ac_config_files="$ac_config_files dlls/msi/Makefile"
20643 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20645 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20647 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20649 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20651 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20653 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20655 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20657 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20659 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20661 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20663 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20665 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20667 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20669 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20671 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20673 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20675 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20677 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20679 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20681 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20683 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20685 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20687 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20689 ac_config_files="$ac_config_files dlls/ntoskrnl.exe/Makefile"
20691 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20693 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20695 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20697 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20699 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20701 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20703 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20705 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20707 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20709 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20711 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20713 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20715 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20717 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20719 ac_config_files="$ac_config_files dlls/pdh/Makefile"
20721 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20723 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20725 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20727 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20729 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20731 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20733 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20735 ac_config_files="$ac_config_files dlls/query/Makefile"
20737 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20739 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20741 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20743 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20745 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20747 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20749 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20751 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20753 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20755 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20757 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20759 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20761 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20763 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20765 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20767 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20769 ac_config_files="$ac_config_files dlls/security/Makefile"
20771 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20773 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20775 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20777 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20779 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20781 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20783 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20785 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20787 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20789 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20791 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20793 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20795 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20797 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20799 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20801 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20803 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20805 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20807 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20809 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20811 ac_config_files="$ac_config_files dlls/sti/Makefile"
20813 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20815 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20817 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20819 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20821 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20823 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20825 ac_config_files="$ac_config_files dlls/url/Makefile"
20827 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20829 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20831 ac_config_files="$ac_config_files dlls/user32/Makefile"
20833 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20835 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20837 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20839 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20841 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20843 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20845 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20847 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20849 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20851 ac_config_files="$ac_config_files dlls/version/Makefile"
20853 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20855 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20857 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20859 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20861 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20863 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20865 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20867 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20869 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20871 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20873 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20875 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20877 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20879 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20881 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20883 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20885 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20887 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20889 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20891 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20893 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20895 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20897 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20899 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20901 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20903 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20905 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20907 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20909 ac_config_files="$ac_config_files dlls/winscard/Makefile"
20911 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20913 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20915 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20917 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20919 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20921 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20923 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20925 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20927 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20929 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20931 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20933 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20935 ac_config_files="$ac_config_files documentation/Makefile"
20937 ac_config_files="$ac_config_files fonts/Makefile"
20939 ac_config_files="$ac_config_files include/Makefile"
20941 ac_config_files="$ac_config_files libs/Makefile"
20943 ac_config_files="$ac_config_files libs/port/Makefile"
20945 ac_config_files="$ac_config_files libs/wine/Makefile"
20947 ac_config_files="$ac_config_files libs/wpp/Makefile"
20949 ac_config_files="$ac_config_files loader/Makefile"
20951 ac_config_files="$ac_config_files programs/Makefile"
20953 ac_config_files="$ac_config_files programs/clock/Makefile"
20955 ac_config_files="$ac_config_files programs/cmd/Makefile"
20957 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20959 ac_config_files="$ac_config_files programs/control/Makefile"
20961 ac_config_files="$ac_config_files programs/eject/Makefile"
20963 ac_config_files="$ac_config_files programs/expand/Makefile"
20965 ac_config_files="$ac_config_files programs/explorer/Makefile"
20967 ac_config_files="$ac_config_files programs/hh/Makefile"
20969 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20971 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20973 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20975 ac_config_files="$ac_config_files programs/net/Makefile"
20977 ac_config_files="$ac_config_files programs/notepad/Makefile"
20979 ac_config_files="$ac_config_files programs/oleview/Makefile"
20981 ac_config_files="$ac_config_files programs/progman/Makefile"
20983 ac_config_files="$ac_config_files programs/regedit/Makefile"
20985 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20987 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20989 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20991 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20993 ac_config_files="$ac_config_files programs/start/Makefile"
20995 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20997 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20999 ac_config_files="$ac_config_files programs/view/Makefile"
21001 ac_config_files="$ac_config_files programs/wineboot/Makefile"
21003 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21005 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21007 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21009 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21011 ac_config_files="$ac_config_files programs/winedevice/Makefile"
21013 ac_config_files="$ac_config_files programs/winefile/Makefile"
21015 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21017 ac_config_files="$ac_config_files programs/winemine/Makefile"
21019 ac_config_files="$ac_config_files programs/winepath/Makefile"
21021 ac_config_files="$ac_config_files programs/winetest/Makefile"
21023 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21025 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21027 ac_config_files="$ac_config_files programs/winver/Makefile"
21029 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21031 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21033 ac_config_files="$ac_config_files server/Makefile"
21035 ac_config_files="$ac_config_files tools/Makefile"
21037 ac_config_files="$ac_config_files tools/widl/Makefile"
21039 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21041 ac_config_files="$ac_config_files tools/winedump/Makefile"
21043 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21045 ac_config_files="$ac_config_files tools/wmc/Makefile"
21047 ac_config_files="$ac_config_files tools/wrc/Makefile"
21050 cat >confcache <<\_ACEOF
21051 # This file is a shell script that caches the results of configure
21052 # tests run on this system so they can be shared between configure
21053 # scripts and configure runs, see configure's option --config-cache.
21054 # It is not useful on other systems. If it contains results you don't
21055 # want to keep, you may remove or edit it.
21057 # config.status only pays attention to the cache file if you give it
21058 # the --recheck option to rerun configure.
21060 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21061 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21062 # following values.
21064 _ACEOF
21066 # The following way of writing the cache mishandles newlines in values,
21067 # but we know of no workaround that is simple, portable, and efficient.
21068 # So, we kill variables containing newlines.
21069 # Ultrix sh set writes to stderr and can't be redirected directly,
21070 # and sets the high bit in the cache file unless we assign to the vars.
21072 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21073 eval ac_val=\$$ac_var
21074 case $ac_val in #(
21075 *${as_nl}*)
21076 case $ac_var in #(
21077 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21078 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21079 esac
21080 case $ac_var in #(
21081 _ | IFS | as_nl) ;; #(
21082 *) $as_unset $ac_var ;;
21083 esac ;;
21084 esac
21085 done
21087 (set) 2>&1 |
21088 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21089 *${as_nl}ac_space=\ *)
21090 # `set' does not quote correctly, so add quotes (double-quote
21091 # substitution turns \\\\ into \\, and sed turns \\ into \).
21092 sed -n \
21093 "s/'/'\\\\''/g;
21094 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21095 ;; #(
21097 # `set' quotes correctly as required by POSIX, so do not add quotes.
21098 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21100 esac |
21101 sort
21103 sed '
21104 /^ac_cv_env_/b end
21105 t clear
21106 :clear
21107 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21108 t end
21109 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21110 :end' >>confcache
21111 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21112 if test -w "$cache_file"; then
21113 test "x$cache_file" != "x/dev/null" &&
21114 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21115 echo "$as_me: updating cache $cache_file" >&6;}
21116 cat confcache >$cache_file
21117 else
21118 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21119 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21122 rm -f confcache
21124 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21125 # Let make expand exec_prefix.
21126 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21128 DEFS=-DHAVE_CONFIG_H
21130 ac_libobjs=
21131 ac_ltlibobjs=
21132 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21133 # 1. Remove the extension, and $U if already installed.
21134 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21135 ac_i=`echo "$ac_i" | sed "$ac_script"`
21136 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21137 # will be set to the directory where LIBOBJS objects are built.
21138 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21139 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21140 done
21141 LIBOBJS=$ac_libobjs
21143 LTLIBOBJS=$ac_ltlibobjs
21147 : ${CONFIG_STATUS=./config.status}
21148 ac_clean_files_save=$ac_clean_files
21149 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21150 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21151 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21152 cat >$CONFIG_STATUS <<_ACEOF
21153 #! $SHELL
21154 # Generated by $as_me.
21155 # Run this file to recreate the current configuration.
21156 # Compiler output produced by configure, useful for debugging
21157 # configure, is in config.log if it exists.
21159 debug=false
21160 ac_cs_recheck=false
21161 ac_cs_silent=false
21162 SHELL=\${CONFIG_SHELL-$SHELL}
21163 _ACEOF
21165 cat >>$CONFIG_STATUS <<\_ACEOF
21166 ## --------------------- ##
21167 ## M4sh Initialization. ##
21168 ## --------------------- ##
21170 # Be more Bourne compatible
21171 DUALCASE=1; export DUALCASE # for MKS sh
21172 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21173 emulate sh
21174 NULLCMD=:
21175 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21176 # is contrary to our usage. Disable this feature.
21177 alias -g '${1+"$@"}'='"$@"'
21178 setopt NO_GLOB_SUBST
21179 else
21180 case `(set -o) 2>/dev/null` in
21181 *posix*) set -o posix ;;
21182 esac
21189 # PATH needs CR
21190 # Avoid depending upon Character Ranges.
21191 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21192 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21193 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21194 as_cr_digits='0123456789'
21195 as_cr_alnum=$as_cr_Letters$as_cr_digits
21197 # The user is always right.
21198 if test "${PATH_SEPARATOR+set}" != set; then
21199 echo "#! /bin/sh" >conf$$.sh
21200 echo "exit 0" >>conf$$.sh
21201 chmod +x conf$$.sh
21202 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21203 PATH_SEPARATOR=';'
21204 else
21205 PATH_SEPARATOR=:
21207 rm -f conf$$.sh
21210 # Support unset when possible.
21211 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21212 as_unset=unset
21213 else
21214 as_unset=false
21218 # IFS
21219 # We need space, tab and new line, in precisely that order. Quoting is
21220 # there to prevent editors from complaining about space-tab.
21221 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21222 # splitting by setting IFS to empty value.)
21223 as_nl='
21225 IFS=" "" $as_nl"
21227 # Find who we are. Look in the path if we contain no directory separator.
21228 case $0 in
21229 *[\\/]* ) as_myself=$0 ;;
21230 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21231 for as_dir in $PATH
21233 IFS=$as_save_IFS
21234 test -z "$as_dir" && as_dir=.
21235 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21236 done
21237 IFS=$as_save_IFS
21240 esac
21241 # We did not find ourselves, most probably we were run as `sh COMMAND'
21242 # in which case we are not to be found in the path.
21243 if test "x$as_myself" = x; then
21244 as_myself=$0
21246 if test ! -f "$as_myself"; then
21247 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21248 { (exit 1); exit 1; }
21251 # Work around bugs in pre-3.0 UWIN ksh.
21252 for as_var in ENV MAIL MAILPATH
21253 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21254 done
21255 PS1='$ '
21256 PS2='> '
21257 PS4='+ '
21259 # NLS nuisances.
21260 for as_var in \
21261 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21262 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21263 LC_TELEPHONE LC_TIME
21265 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21266 eval $as_var=C; export $as_var
21267 else
21268 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21270 done
21272 # Required to use basename.
21273 if expr a : '\(a\)' >/dev/null 2>&1 &&
21274 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21275 as_expr=expr
21276 else
21277 as_expr=false
21280 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21281 as_basename=basename
21282 else
21283 as_basename=false
21287 # Name of the executable.
21288 as_me=`$as_basename -- "$0" ||
21289 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21290 X"$0" : 'X\(//\)$' \| \
21291 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21292 echo X/"$0" |
21293 sed '/^.*\/\([^/][^/]*\)\/*$/{
21294 s//\1/
21297 /^X\/\(\/\/\)$/{
21298 s//\1/
21301 /^X\/\(\/\).*/{
21302 s//\1/
21305 s/.*/./; q'`
21307 # CDPATH.
21308 $as_unset CDPATH
21312 as_lineno_1=$LINENO
21313 as_lineno_2=$LINENO
21314 test "x$as_lineno_1" != "x$as_lineno_2" &&
21315 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21317 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21318 # uniformly replaced by the line number. The first 'sed' inserts a
21319 # line-number line after each line using $LINENO; the second 'sed'
21320 # does the real work. The second script uses 'N' to pair each
21321 # line-number line with the line containing $LINENO, and appends
21322 # trailing '-' during substitution so that $LINENO is not a special
21323 # case at line end.
21324 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21325 # scripts with optimization help from Paolo Bonzini. Blame Lee
21326 # E. McMahon (1931-1989) for sed's syntax. :-)
21327 sed -n '
21329 /[$]LINENO/=
21330 ' <$as_myself |
21331 sed '
21332 s/[$]LINENO.*/&-/
21333 t lineno
21335 :lineno
21337 :loop
21338 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21339 t loop
21340 s/-\n.*//
21341 ' >$as_me.lineno &&
21342 chmod +x "$as_me.lineno" ||
21343 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21344 { (exit 1); exit 1; }; }
21346 # Don't try to exec as it changes $[0], causing all sort of problems
21347 # (the dirname of $[0] is not the place where we might find the
21348 # original and so on. Autoconf is especially sensitive to this).
21349 . "./$as_me.lineno"
21350 # Exit status is that of the last command.
21351 exit
21355 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21356 as_dirname=dirname
21357 else
21358 as_dirname=false
21361 ECHO_C= ECHO_N= ECHO_T=
21362 case `echo -n x` in
21363 -n*)
21364 case `echo 'x\c'` in
21365 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21366 *) ECHO_C='\c';;
21367 esac;;
21369 ECHO_N='-n';;
21370 esac
21372 if expr a : '\(a\)' >/dev/null 2>&1 &&
21373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21374 as_expr=expr
21375 else
21376 as_expr=false
21379 rm -f conf$$ conf$$.exe conf$$.file
21380 if test -d conf$$.dir; then
21381 rm -f conf$$.dir/conf$$.file
21382 else
21383 rm -f conf$$.dir
21384 mkdir conf$$.dir
21386 echo >conf$$.file
21387 if ln -s conf$$.file conf$$ 2>/dev/null; then
21388 as_ln_s='ln -s'
21389 # ... but there are two gotchas:
21390 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21391 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21392 # In both cases, we have to default to `cp -p'.
21393 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21394 as_ln_s='cp -p'
21395 elif ln conf$$.file conf$$ 2>/dev/null; then
21396 as_ln_s=ln
21397 else
21398 as_ln_s='cp -p'
21400 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21401 rmdir conf$$.dir 2>/dev/null
21403 if mkdir -p . 2>/dev/null; then
21404 as_mkdir_p=:
21405 else
21406 test -d ./-p && rmdir ./-p
21407 as_mkdir_p=false
21410 if test -x / >/dev/null 2>&1; then
21411 as_test_x='test -x'
21412 else
21413 if ls -dL / >/dev/null 2>&1; then
21414 as_ls_L_option=L
21415 else
21416 as_ls_L_option=
21418 as_test_x='
21419 eval sh -c '\''
21420 if test -d "$1"; then
21421 test -d "$1/.";
21422 else
21423 case $1 in
21424 -*)set "./$1";;
21425 esac;
21426 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21427 ???[sx]*):;;*)false;;esac;fi
21428 '\'' sh
21431 as_executable_p=$as_test_x
21433 # Sed expression to map a string onto a valid CPP name.
21434 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21436 # Sed expression to map a string onto a valid variable name.
21437 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21440 exec 6>&1
21442 # Save the log message, to keep $[0] and so on meaningful, and to
21443 # report actual input values of CONFIG_FILES etc. instead of their
21444 # values after options handling.
21445 ac_log="
21446 This file was extended by Wine $as_me 0.9.38, which was
21447 generated by GNU Autoconf 2.61. Invocation command line was
21449 CONFIG_FILES = $CONFIG_FILES
21450 CONFIG_HEADERS = $CONFIG_HEADERS
21451 CONFIG_LINKS = $CONFIG_LINKS
21452 CONFIG_COMMANDS = $CONFIG_COMMANDS
21453 $ $0 $@
21455 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21458 _ACEOF
21460 cat >>$CONFIG_STATUS <<_ACEOF
21461 # Files that config.status was made for.
21462 config_files="$ac_config_files"
21463 config_headers="$ac_config_headers"
21464 config_commands="$ac_config_commands"
21466 _ACEOF
21468 cat >>$CONFIG_STATUS <<\_ACEOF
21469 ac_cs_usage="\
21470 \`$as_me' instantiates files from templates according to the
21471 current configuration.
21473 Usage: $0 [OPTIONS] [FILE]...
21475 -h, --help print this help, then exit
21476 -V, --version print version number and configuration settings, then exit
21477 -q, --quiet do not print progress messages
21478 -d, --debug don't remove temporary files
21479 --recheck update $as_me by reconfiguring in the same conditions
21480 --file=FILE[:TEMPLATE]
21481 instantiate the configuration file FILE
21482 --header=FILE[:TEMPLATE]
21483 instantiate the configuration header FILE
21485 Configuration files:
21486 $config_files
21488 Configuration headers:
21489 $config_headers
21491 Configuration commands:
21492 $config_commands
21494 Report bugs to <bug-autoconf@gnu.org>."
21496 _ACEOF
21497 cat >>$CONFIG_STATUS <<_ACEOF
21498 ac_cs_version="\\
21499 Wine config.status 0.9.38
21500 configured by $0, generated by GNU Autoconf 2.61,
21501 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21503 Copyright (C) 2006 Free Software Foundation, Inc.
21504 This config.status script is free software; the Free Software Foundation
21505 gives unlimited permission to copy, distribute and modify it."
21507 ac_pwd='$ac_pwd'
21508 srcdir='$srcdir'
21509 INSTALL='$INSTALL'
21510 _ACEOF
21512 cat >>$CONFIG_STATUS <<\_ACEOF
21513 # If no file are specified by the user, then we need to provide default
21514 # value. By we need to know if files were specified by the user.
21515 ac_need_defaults=:
21516 while test $# != 0
21518 case $1 in
21519 --*=*)
21520 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21521 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21522 ac_shift=:
21525 ac_option=$1
21526 ac_optarg=$2
21527 ac_shift=shift
21529 esac
21531 case $ac_option in
21532 # Handling of the options.
21533 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21534 ac_cs_recheck=: ;;
21535 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21536 echo "$ac_cs_version"; exit ;;
21537 --debug | --debu | --deb | --de | --d | -d )
21538 debug=: ;;
21539 --file | --fil | --fi | --f )
21540 $ac_shift
21541 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21542 ac_need_defaults=false;;
21543 --header | --heade | --head | --hea )
21544 $ac_shift
21545 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21546 ac_need_defaults=false;;
21547 --he | --h)
21548 # Conflict between --help and --header
21549 { echo "$as_me: error: ambiguous option: $1
21550 Try \`$0 --help' for more information." >&2
21551 { (exit 1); exit 1; }; };;
21552 --help | --hel | -h )
21553 echo "$ac_cs_usage"; exit ;;
21554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21555 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21556 ac_cs_silent=: ;;
21558 # This is an error.
21559 -*) { echo "$as_me: error: unrecognized option: $1
21560 Try \`$0 --help' for more information." >&2
21561 { (exit 1); exit 1; }; } ;;
21563 *) ac_config_targets="$ac_config_targets $1"
21564 ac_need_defaults=false ;;
21566 esac
21567 shift
21568 done
21570 ac_configure_extra_args=
21572 if $ac_cs_silent; then
21573 exec 6>/dev/null
21574 ac_configure_extra_args="$ac_configure_extra_args --silent"
21577 _ACEOF
21578 cat >>$CONFIG_STATUS <<_ACEOF
21579 if \$ac_cs_recheck; then
21580 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21581 CONFIG_SHELL=$SHELL
21582 export CONFIG_SHELL
21583 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21586 _ACEOF
21587 cat >>$CONFIG_STATUS <<\_ACEOF
21588 exec 5>>config.log
21590 echo
21591 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21592 ## Running $as_me. ##
21593 _ASBOX
21594 echo "$ac_log"
21595 } >&5
21597 _ACEOF
21598 cat >>$CONFIG_STATUS <<_ACEOF
21599 _ACEOF
21601 cat >>$CONFIG_STATUS <<\_ACEOF
21603 # Handling of arguments.
21604 for ac_config_target in $ac_config_targets
21606 case $ac_config_target in
21607 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21608 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21609 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21610 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21611 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21612 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21613 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21614 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21615 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21616 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21617 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21618 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21619 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21620 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21621 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21622 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21623 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21624 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21625 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21626 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21627 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21628 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21629 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21630 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21631 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21632 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21633 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21634 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21635 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21636 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21637 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21638 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21639 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21640 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21641 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21642 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21643 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21644 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21645 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21646 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21647 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21648 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21649 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21650 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21651 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21652 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21653 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21654 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21655 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21656 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21657 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21658 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21659 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21660 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21661 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21662 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21663 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21664 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21665 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21666 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21667 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21668 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21669 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21670 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21671 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21672 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21673 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21674 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21675 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21676 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21677 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21678 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21679 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21680 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21681 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21682 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21683 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21684 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21685 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21686 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21687 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21688 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21689 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21690 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21691 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21692 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21693 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21694 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21695 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21696 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21697 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21698 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
21699 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21700 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21701 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
21702 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21703 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21704 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21705 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21706 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21707 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21708 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21709 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21710 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21711 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21712 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21713 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21714 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21715 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21716 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21717 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21718 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21719 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21720 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21721 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21722 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21723 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21724 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21725 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21726 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21727 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21728 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21729 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21730 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21731 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21732 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21733 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21734 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21735 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21736 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21737 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21738 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21739 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21740 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21741 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21742 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21743 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21744 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21745 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21746 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21747 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21748 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21749 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21750 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21751 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21752 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21753 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21754 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21755 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21756 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21757 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21758 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21759 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21760 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21761 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21762 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21763 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21764 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21765 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21766 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21767 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21768 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21769 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21770 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21771 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21772 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21773 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21774 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21775 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21776 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
21777 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21778 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21779 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21780 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21781 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21782 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21783 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21784 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21785 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21786 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21787 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21788 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21789 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21790 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21791 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
21792 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21793 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21794 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21795 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21796 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21797 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21798 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21799 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21800 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21801 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21802 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21803 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21804 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21805 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21806 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21807 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21808 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21809 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21810 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21811 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21812 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21813 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21814 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21815 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21816 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21817 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21818 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21819 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21820 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21821 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21822 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21823 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21824 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21825 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21826 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21827 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21828 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21829 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21830 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21831 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21832 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21833 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21834 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21835 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21836 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21837 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21838 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21839 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21840 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21841 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21842 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21843 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21844 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21845 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21846 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21847 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21848 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21849 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21850 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21851 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21852 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21853 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21854 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21855 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21856 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21857 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21858 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21859 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21860 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21861 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21862 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21863 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21864 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21865 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21866 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21867 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21868 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21869 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21870 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21871 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21872 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21873 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21874 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21875 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21876 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21877 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21878 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21879 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21880 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21881 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21882 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21883 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21884 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21885 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21886 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
21887 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21888 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21889 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21890 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21891 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21892 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21893 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21894 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21895 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21896 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21897 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21898 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21899 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21900 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21901 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21902 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21903 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21904 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21905 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21906 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21907 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21908 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21909 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21910 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21911 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21912 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21913 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21914 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21915 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21916 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21917 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21918 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21919 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21920 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21921 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21922 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21923 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21924 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21925 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21926 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21927 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21928 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21929 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21930 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21931 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21932 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21933 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21934 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21935 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21936 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21937 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
21938 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21939 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21940 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21941 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21942 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21943 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21944 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21945 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21946 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21947 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21948 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21949 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21950 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21951 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21952 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21953 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21954 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21955 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21957 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21958 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21959 { (exit 1); exit 1; }; };;
21960 esac
21961 done
21964 # If the user did not use the arguments to specify the items to instantiate,
21965 # then the envvar interface is used. Set only those that are not.
21966 # We use the long form for the default assignment because of an extremely
21967 # bizarre bug on SunOS 4.1.3.
21968 if $ac_need_defaults; then
21969 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21970 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21971 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21974 # Have a temporary directory for convenience. Make it in the build tree
21975 # simply because there is no reason against having it here, and in addition,
21976 # creating and moving files from /tmp can sometimes cause problems.
21977 # Hook for its removal unless debugging.
21978 # Note that there is a small window in which the directory will not be cleaned:
21979 # after its creation but before its name has been assigned to `$tmp'.
21980 $debug ||
21982 tmp=
21983 trap 'exit_status=$?
21984 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21986 trap '{ (exit 1); exit 1; }' 1 2 13 15
21988 # Create a (secure) tmp directory for tmp files.
21991 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21992 test -n "$tmp" && test -d "$tmp"
21993 } ||
21995 tmp=./conf$$-$RANDOM
21996 (umask 077 && mkdir "$tmp")
21997 } ||
21999 echo "$me: cannot create a temporary directory in ." >&2
22000 { (exit 1); exit 1; }
22004 # Set up the sed scripts for CONFIG_FILES section.
22007 # No need to generate the scripts if there are no CONFIG_FILES.
22008 # This happens for instance when ./config.status config.h
22009 if test -n "$CONFIG_FILES"; then
22011 _ACEOF
22013 # Create sed commands to just substitute file output variables.
22015 # Remaining file output variables are in a fragment that also has non-file
22016 # output varibles.
22020 ac_delim='%!_!# '
22021 for ac_last_try in false false false false false :; do
22022 cat >conf$$subs.sed <<_ACEOF
22023 SHELL!$SHELL$ac_delim
22024 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22025 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22026 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22027 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22028 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22029 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22030 exec_prefix!$exec_prefix$ac_delim
22031 prefix!$prefix$ac_delim
22032 program_transform_name!$program_transform_name$ac_delim
22033 bindir!$bindir$ac_delim
22034 sbindir!$sbindir$ac_delim
22035 libexecdir!$libexecdir$ac_delim
22036 datarootdir!$datarootdir$ac_delim
22037 datadir!$datadir$ac_delim
22038 sysconfdir!$sysconfdir$ac_delim
22039 sharedstatedir!$sharedstatedir$ac_delim
22040 localstatedir!$localstatedir$ac_delim
22041 includedir!$includedir$ac_delim
22042 oldincludedir!$oldincludedir$ac_delim
22043 docdir!$docdir$ac_delim
22044 infodir!$infodir$ac_delim
22045 htmldir!$htmldir$ac_delim
22046 dvidir!$dvidir$ac_delim
22047 pdfdir!$pdfdir$ac_delim
22048 psdir!$psdir$ac_delim
22049 libdir!$libdir$ac_delim
22050 localedir!$localedir$ac_delim
22051 mandir!$mandir$ac_delim
22052 DEFS!$DEFS$ac_delim
22053 ECHO_C!$ECHO_C$ac_delim
22054 ECHO_N!$ECHO_N$ac_delim
22055 ECHO_T!$ECHO_T$ac_delim
22056 LIBS!$LIBS$ac_delim
22057 build_alias!$build_alias$ac_delim
22058 host_alias!$host_alias$ac_delim
22059 target_alias!$target_alias$ac_delim
22060 build!$build$ac_delim
22061 build_cpu!$build_cpu$ac_delim
22062 build_vendor!$build_vendor$ac_delim
22063 build_os!$build_os$ac_delim
22064 host!$host$ac_delim
22065 host_cpu!$host_cpu$ac_delim
22066 host_vendor!$host_vendor$ac_delim
22067 host_os!$host_os$ac_delim
22068 WIN16_FILES!$WIN16_FILES$ac_delim
22069 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22070 SET_MAKE!$SET_MAKE$ac_delim
22071 CC!$CC$ac_delim
22072 CFLAGS!$CFLAGS$ac_delim
22073 LDFLAGS!$LDFLAGS$ac_delim
22074 CPPFLAGS!$CPPFLAGS$ac_delim
22075 ac_ct_CC!$ac_ct_CC$ac_delim
22076 EXEEXT!$EXEEXT$ac_delim
22077 OBJEXT!$OBJEXT$ac_delim
22078 CXX!$CXX$ac_delim
22079 CXXFLAGS!$CXXFLAGS$ac_delim
22080 ac_ct_CXX!$ac_ct_CXX$ac_delim
22081 CPPBIN!$CPPBIN$ac_delim
22082 TOOLSDIR!$TOOLSDIR$ac_delim
22083 XMKMF!$XMKMF$ac_delim
22084 CPP!$CPP$ac_delim
22085 X_CFLAGS!$X_CFLAGS$ac_delim
22086 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22087 X_LIBS!$X_LIBS$ac_delim
22088 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22089 FLEX!$FLEX$ac_delim
22090 BISON!$BISON$ac_delim
22091 AS!$AS$ac_delim
22092 ac_ct_AS!$ac_ct_AS$ac_delim
22093 LD!$LD$ac_delim
22094 AR!$AR$ac_delim
22095 RANLIB!$RANLIB$ac_delim
22096 STRIP!$STRIP$ac_delim
22097 WINDRES!$WINDRES$ac_delim
22098 LN_S!$LN_S$ac_delim
22099 LN!$LN$ac_delim
22100 GREP!$GREP$ac_delim
22101 EGREP!$EGREP$ac_delim
22102 LDCONFIG!$LDCONFIG$ac_delim
22103 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22104 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22105 _ACEOF
22107 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22108 break
22109 elif $ac_last_try; then
22110 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22111 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22112 { (exit 1); exit 1; }; }
22113 else
22114 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22116 done
22118 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22119 if test -n "$ac_eof"; then
22120 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22121 ac_eof=`expr $ac_eof + 1`
22124 cat >>$CONFIG_STATUS <<_ACEOF
22125 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22126 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22127 /^[ ]*@MAKE_RULES@[ ]*$/{
22128 r $MAKE_RULES
22131 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22132 r $MAKE_DLL_RULES
22135 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22136 r $MAKE_IMPLIB_RULES
22139 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22140 r $MAKE_TEST_RULES
22143 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22144 r $MAKE_PROG_RULES
22147 _ACEOF
22148 sed '
22149 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22150 s/^/s,@/; s/!/@,|#_!!_#|/
22153 s/'"$ac_delim"'$/,g/; t
22154 s/$/\\/; p
22155 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22156 ' >>$CONFIG_STATUS <conf$$subs.sed
22157 rm -f conf$$subs.sed
22158 cat >>$CONFIG_STATUS <<_ACEOF
22159 CEOF$ac_eof
22160 _ACEOF
22163 ac_delim='%!_!# '
22164 for ac_last_try in false false false false false :; do
22165 cat >conf$$subs.sed <<_ACEOF
22166 INSTALL_DATA!$INSTALL_DATA$ac_delim
22167 LINT!$LINT$ac_delim
22168 LINTFLAGS!$LINTFLAGS$ac_delim
22169 FONTFORGE!$FONTFORGE$ac_delim
22170 PKG_CONFIG!$PKG_CONFIG$ac_delim
22171 PRELINK!$PRELINK$ac_delim
22172 LIBPTHREAD!$LIBPTHREAD$ac_delim
22173 XLIB!$XLIB$ac_delim
22174 XFILES!$XFILES$ac_delim
22175 OPENGLFILES!$OPENGLFILES$ac_delim
22176 GLU32FILES!$GLU32FILES$ac_delim
22177 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22178 QUARTZFILES!$QUARTZFILES$ac_delim
22179 NASLIBS!$NASLIBS$ac_delim
22180 XML2LIBS!$XML2LIBS$ac_delim
22181 XML2INCL!$XML2INCL$ac_delim
22182 XSLTLIBS!$XSLTLIBS$ac_delim
22183 XSLTINCL!$XSLTINCL$ac_delim
22184 HALINCL!$HALINCL$ac_delim
22185 sane_devel!$sane_devel$ac_delim
22186 SANEINCL!$SANEINCL$ac_delim
22187 gphoto2_devel!$gphoto2_devel$ac_delim
22188 gphoto2port_devel!$gphoto2port_devel$ac_delim
22189 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22190 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22191 ICULIBS!$ICULIBS$ac_delim
22192 RESOLVLIBS!$RESOLVLIBS$ac_delim
22193 LCMSLIBS!$LCMSLIBS$ac_delim
22194 LDAPLIBS!$LDAPLIBS$ac_delim
22195 FREETYPELIBS!$FREETYPELIBS$ac_delim
22196 FREETYPEINCL!$FREETYPEINCL$ac_delim
22197 ft_devel!$ft_devel$ac_delim
22198 ft_devel2!$ft_devel2$ac_delim
22199 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22200 ESDCONFIG!$ESDCONFIG$ac_delim
22201 ESDLIBS!$ESDLIBS$ac_delim
22202 ESDINCL!$ESDINCL$ac_delim
22203 ALSALIBS!$ALSALIBS$ac_delim
22204 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22205 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22206 BUILTINFLAG!$BUILTINFLAG$ac_delim
22207 DLLEXT!$DLLEXT$ac_delim
22208 DLLFLAGS!$DLLFLAGS$ac_delim
22209 LDSHARED!$LDSHARED$ac_delim
22210 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22211 LIBEXT!$LIBEXT$ac_delim
22212 IMPLIBEXT!$IMPLIBEXT$ac_delim
22213 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22214 DLLTOOL!$DLLTOOL$ac_delim
22215 DLLWRAP!$DLLWRAP$ac_delim
22216 MINGWAR!$MINGWAR$ac_delim
22217 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22218 IOKITLIB!$IOKITLIB$ac_delim
22219 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22220 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22221 COREAUDIO!$COREAUDIO$ac_delim
22222 CARBONLIB!$CARBONLIB$ac_delim
22223 CROSSTEST!$CROSSTEST$ac_delim
22224 CROSSCC!$CROSSCC$ac_delim
22225 CROSSWINDRES!$CROSSWINDRES$ac_delim
22226 LDPATH!$LDPATH$ac_delim
22227 CRTLIBS!$CRTLIBS$ac_delim
22228 SOCKETLIBS!$SOCKETLIBS$ac_delim
22229 MAIN_BINARY!$MAIN_BINARY$ac_delim
22230 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22231 LDD!$LDD$ac_delim
22232 LIBDL!$LIBDL$ac_delim
22233 LIBPOLL!$LIBPOLL$ac_delim
22234 DEPENDENCIES!$DEPENDENCIES$ac_delim
22235 LIBOBJS!$LIBOBJS$ac_delim
22236 LTLIBOBJS!$LTLIBOBJS$ac_delim
22237 _ACEOF
22239 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22240 break
22241 elif $ac_last_try; then
22242 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22243 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22244 { (exit 1); exit 1; }; }
22245 else
22246 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22248 done
22250 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22251 if test -n "$ac_eof"; then
22252 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22253 ac_eof=`expr $ac_eof + 1`
22256 cat >>$CONFIG_STATUS <<_ACEOF
22257 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22259 _ACEOF
22260 sed '
22261 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22262 s/^/s,@/; s/!/@,|#_!!_#|/
22265 s/'"$ac_delim"'$/,g/; t
22266 s/$/\\/; p
22267 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22268 ' >>$CONFIG_STATUS <conf$$subs.sed
22269 rm -f conf$$subs.sed
22270 cat >>$CONFIG_STATUS <<_ACEOF
22271 :end
22272 s/|#_!!_#|//g
22273 CEOF$ac_eof
22274 _ACEOF
22277 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22278 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22279 # trailing colons and then remove the whole line if VPATH becomes empty
22280 # (actually we leave an empty line to preserve line numbers).
22281 if test "x$srcdir" = x.; then
22282 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22283 s/:*\$(srcdir):*/:/
22284 s/:*\${srcdir}:*/:/
22285 s/:*@srcdir@:*/:/
22286 s/^\([^=]*=[ ]*\):*/\1/
22287 s/:*$//
22288 s/^[^=]*=[ ]*$//
22292 cat >>$CONFIG_STATUS <<\_ACEOF
22293 fi # test -n "$CONFIG_FILES"
22296 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22298 case $ac_tag in
22299 :[FHLC]) ac_mode=$ac_tag; continue;;
22300 esac
22301 case $ac_mode$ac_tag in
22302 :[FHL]*:*);;
22303 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22304 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22305 { (exit 1); exit 1; }; };;
22306 :[FH]-) ac_tag=-:-;;
22307 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22308 esac
22309 ac_save_IFS=$IFS
22310 IFS=:
22311 set x $ac_tag
22312 IFS=$ac_save_IFS
22313 shift
22314 ac_file=$1
22315 shift
22317 case $ac_mode in
22318 :L) ac_source=$1;;
22319 :[FH])
22320 ac_file_inputs=
22321 for ac_f
22323 case $ac_f in
22324 -) ac_f="$tmp/stdin";;
22325 *) # Look for the file first in the build tree, then in the source tree
22326 # (if the path is not absolute). The absolute path cannot be DOS-style,
22327 # because $ac_f cannot contain `:'.
22328 test -f "$ac_f" ||
22329 case $ac_f in
22330 [\\/$]*) false;;
22331 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22332 esac ||
22333 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22334 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22335 { (exit 1); exit 1; }; };;
22336 esac
22337 ac_file_inputs="$ac_file_inputs $ac_f"
22338 done
22340 # Let's still pretend it is `configure' which instantiates (i.e., don't
22341 # use $as_me), people would be surprised to read:
22342 # /* config.h. Generated by config.status. */
22343 configure_input="Generated from "`IFS=:
22344 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22345 if test x"$ac_file" != x-; then
22346 configure_input="$ac_file. $configure_input"
22347 { echo "$as_me:$LINENO: creating $ac_file" >&5
22348 echo "$as_me: creating $ac_file" >&6;}
22351 case $ac_tag in
22352 *:-:* | *:-) cat >"$tmp/stdin";;
22353 esac
22355 esac
22357 ac_dir=`$as_dirname -- "$ac_file" ||
22358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22359 X"$ac_file" : 'X\(//\)[^/]' \| \
22360 X"$ac_file" : 'X\(//\)$' \| \
22361 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22362 echo X"$ac_file" |
22363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22364 s//\1/
22367 /^X\(\/\/\)[^/].*/{
22368 s//\1/
22371 /^X\(\/\/\)$/{
22372 s//\1/
22375 /^X\(\/\).*/{
22376 s//\1/
22379 s/.*/./; q'`
22380 { as_dir="$ac_dir"
22381 case $as_dir in #(
22382 -*) as_dir=./$as_dir;;
22383 esac
22384 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22385 as_dirs=
22386 while :; do
22387 case $as_dir in #(
22388 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22389 *) as_qdir=$as_dir;;
22390 esac
22391 as_dirs="'$as_qdir' $as_dirs"
22392 as_dir=`$as_dirname -- "$as_dir" ||
22393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22394 X"$as_dir" : 'X\(//\)[^/]' \| \
22395 X"$as_dir" : 'X\(//\)$' \| \
22396 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22397 echo X"$as_dir" |
22398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22399 s//\1/
22402 /^X\(\/\/\)[^/].*/{
22403 s//\1/
22406 /^X\(\/\/\)$/{
22407 s//\1/
22410 /^X\(\/\).*/{
22411 s//\1/
22414 s/.*/./; q'`
22415 test -d "$as_dir" && break
22416 done
22417 test -z "$as_dirs" || eval "mkdir $as_dirs"
22418 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22419 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22420 { (exit 1); exit 1; }; }; }
22421 ac_builddir=.
22423 case "$ac_dir" in
22424 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22426 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22427 # A ".." for each directory in $ac_dir_suffix.
22428 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22429 case $ac_top_builddir_sub in
22430 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22431 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22432 esac ;;
22433 esac
22434 ac_abs_top_builddir=$ac_pwd
22435 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22436 # for backward compatibility:
22437 ac_top_builddir=$ac_top_build_prefix
22439 case $srcdir in
22440 .) # We are building in place.
22441 ac_srcdir=.
22442 ac_top_srcdir=$ac_top_builddir_sub
22443 ac_abs_top_srcdir=$ac_pwd ;;
22444 [\\/]* | ?:[\\/]* ) # Absolute name.
22445 ac_srcdir=$srcdir$ac_dir_suffix;
22446 ac_top_srcdir=$srcdir
22447 ac_abs_top_srcdir=$srcdir ;;
22448 *) # Relative name.
22449 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22450 ac_top_srcdir=$ac_top_build_prefix$srcdir
22451 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22452 esac
22453 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22456 case $ac_mode in
22459 # CONFIG_FILE
22462 case $INSTALL in
22463 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22464 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22465 esac
22466 _ACEOF
22468 cat >>$CONFIG_STATUS <<\_ACEOF
22469 # If the template does not know about datarootdir, expand it.
22470 # FIXME: This hack should be removed a few years after 2.60.
22471 ac_datarootdir_hack=; ac_datarootdir_seen=
22473 case `sed -n '/datarootdir/ {
22477 /@datadir@/p
22478 /@docdir@/p
22479 /@infodir@/p
22480 /@localedir@/p
22481 /@mandir@/p
22482 ' $ac_file_inputs` in
22483 *datarootdir*) ac_datarootdir_seen=yes;;
22484 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22485 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22486 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22487 _ACEOF
22488 cat >>$CONFIG_STATUS <<_ACEOF
22489 ac_datarootdir_hack='
22490 s&@datadir@&$datadir&g
22491 s&@docdir@&$docdir&g
22492 s&@infodir@&$infodir&g
22493 s&@localedir@&$localedir&g
22494 s&@mandir@&$mandir&g
22495 s&\\\${datarootdir}&$datarootdir&g' ;;
22496 esac
22497 _ACEOF
22499 # Neutralize VPATH when `$srcdir' = `.'.
22500 # Shell code in configure.ac might set extrasub.
22501 # FIXME: do we really want to maintain this feature?
22502 cat >>$CONFIG_STATUS <<_ACEOF
22503 sed "$ac_vpsub
22504 $extrasub
22505 _ACEOF
22506 cat >>$CONFIG_STATUS <<\_ACEOF
22508 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22509 s&@configure_input@&$configure_input&;t t
22510 s&@top_builddir@&$ac_top_builddir_sub&;t t
22511 s&@srcdir@&$ac_srcdir&;t t
22512 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22513 s&@top_srcdir@&$ac_top_srcdir&;t t
22514 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22515 s&@builddir@&$ac_builddir&;t t
22516 s&@abs_builddir@&$ac_abs_builddir&;t t
22517 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22518 s&@INSTALL@&$ac_INSTALL&;t t
22519 $ac_datarootdir_hack
22520 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22522 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22523 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22524 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22525 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22526 which seems to be undefined. Please make sure it is defined." >&5
22527 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22528 which seems to be undefined. Please make sure it is defined." >&2;}
22530 rm -f "$tmp/stdin"
22531 case $ac_file in
22532 -) cat "$tmp/out"; rm -f "$tmp/out";;
22533 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22534 esac
22538 # CONFIG_HEADER
22540 _ACEOF
22542 # Transform confdefs.h into a sed script `conftest.defines', that
22543 # substitutes the proper values into config.h.in to produce config.h.
22544 rm -f conftest.defines conftest.tail
22545 # First, append a space to every undef/define line, to ease matching.
22546 echo 's/$/ /' >conftest.defines
22547 # Then, protect against being on the right side of a sed subst, or in
22548 # an unquoted here document, in config.status. If some macros were
22549 # called several times there might be several #defines for the same
22550 # symbol, which is useless. But do not sort them, since the last
22551 # AC_DEFINE must be honored.
22552 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22553 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22554 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22555 # PARAMS is the parameter list in the macro definition--in most cases, it's
22556 # just an empty string.
22557 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22558 ac_dB='\\)[ (].*,\\1define\\2'
22559 ac_dC=' '
22560 ac_dD=' ,'
22562 uniq confdefs.h |
22563 sed -n '
22564 t rset
22565 :rset
22566 s/^[ ]*#[ ]*define[ ][ ]*//
22567 t ok
22570 s/[\\&,]/\\&/g
22571 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22572 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22573 ' >>conftest.defines
22575 # Remove the space that was appended to ease matching.
22576 # Then replace #undef with comments. This is necessary, for
22577 # example, in the case of _POSIX_SOURCE, which is predefined and required
22578 # on some systems where configure will not decide to define it.
22579 # (The regexp can be short, since the line contains either #define or #undef.)
22580 echo 's/ $//
22581 s,^[ #]*u.*,/* & */,' >>conftest.defines
22583 # Break up conftest.defines:
22584 ac_max_sed_lines=50
22586 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22587 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22588 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22589 # et cetera.
22590 ac_in='$ac_file_inputs'
22591 ac_out='"$tmp/out1"'
22592 ac_nxt='"$tmp/out2"'
22594 while :
22596 # Write a here document:
22597 cat >>$CONFIG_STATUS <<_ACEOF
22598 # First, check the format of the line:
22599 cat >"\$tmp/defines.sed" <<\\CEOF
22600 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22601 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22603 :def
22604 _ACEOF
22605 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22606 echo 'CEOF
22607 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22608 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22609 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22610 grep . conftest.tail >/dev/null || break
22611 rm -f conftest.defines
22612 mv conftest.tail conftest.defines
22613 done
22614 rm -f conftest.defines conftest.tail
22616 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22617 cat >>$CONFIG_STATUS <<\_ACEOF
22618 if test x"$ac_file" != x-; then
22619 echo "/* $configure_input */" >"$tmp/config.h"
22620 cat "$ac_result" >>"$tmp/config.h"
22621 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22622 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22623 echo "$as_me: $ac_file is unchanged" >&6;}
22624 else
22625 rm -f $ac_file
22626 mv "$tmp/config.h" $ac_file
22628 else
22629 echo "/* $configure_input */"
22630 cat "$ac_result"
22632 rm -f "$tmp/out12"
22635 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22636 echo "$as_me: executing $ac_file commands" >&6;}
22638 esac
22641 case $ac_file$ac_mode in
22642 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22643 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22644 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22645 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22646 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22647 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22648 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22649 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22650 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22651 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22652 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22653 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22654 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22656 esac
22657 done # for ac_tag
22660 { (exit 0); exit 0; }
22661 _ACEOF
22662 chmod +x $CONFIG_STATUS
22663 ac_clean_files=$ac_clean_files_save
22666 # configure is writing to config.log, and then calls config.status.
22667 # config.status does its own redirection, appending to config.log.
22668 # Unfortunately, on DOS this fails, as config.log is still kept open
22669 # by configure, so config.status won't be able to write to it; its
22670 # output is simply discarded. So we exec the FD to /dev/null,
22671 # effectively closing config.log, so it can be properly (re)opened and
22672 # appended to by config.status. When coming back to configure, we
22673 # need to make the FD available again.
22674 if test "$no_create" != yes; then
22675 ac_cs_success=:
22676 ac_config_status_args=
22677 test "$silent" = yes &&
22678 ac_config_status_args="$ac_config_status_args --quiet"
22679 exec 5>/dev/null
22680 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22681 exec 5>>config.log
22682 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22683 # would make configure fail if this is the last instruction.
22684 $ac_cs_success || { (exit 1); exit 1; }
22689 if test "$no_create" = "yes"
22690 then
22691 exit 0
22694 if test "$verbose" = "yes"
22695 then
22696 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22697 then
22698 echo >&2
22699 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22700 echo "$as_me: libcapi20 development files not found." >&6;}
22701 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22702 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22705 if test "$ac_cv_header_cups_cups_h" != "yes"
22706 then
22707 echo >&2
22708 { echo "$as_me:$LINENO: libcups development files not found." >&5
22709 echo "$as_me: libcups development files not found." >&6;}
22710 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22711 echo "$as_me: Wine will be built without CUPS support." >&6;}
22715 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22716 then
22717 echo >&2
22718 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22719 echo "$as_me: libgphoto2 development files not found." >&6;}
22720 if test "$ac_cv_header_sane_sane_h" = "yes"
22721 then
22722 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22723 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22724 else
22725 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22726 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22730 if test "$ac_cv_header_hal_libhal_h" != "yes"
22731 then
22732 echo >&2
22733 { echo "$as_me:$LINENO: libhal development files not found." >&5
22734 echo "$as_me: libhal development files not found." >&6;}
22735 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22736 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22739 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22740 then
22741 echo >&2
22742 { echo "$as_me:$LINENO: libicu development files not found." >&5
22743 echo "$as_me: libicu development files not found." >&6;}
22744 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22745 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22748 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22749 then
22750 echo >&2
22751 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22752 echo "$as_me: liblcms development files not found." >&6;}
22753 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22754 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22757 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22758 then
22759 echo >&2
22760 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22761 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22762 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22763 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22766 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22767 then
22768 echo >&2
22769 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22770 echo "$as_me: lib(n)curses development files not found." >&6;}
22771 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22772 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22775 if test "$ac_cv_header_sane_sane_h" != "yes"
22776 then
22777 echo >&2
22778 { echo "$as_me:$LINENO: libsane development files not found." >&5
22779 echo "$as_me: libsane development files not found." >&6;}
22780 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22781 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22784 if test "$have_x" = "yes"
22785 then
22786 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22787 then
22788 echo >&2
22789 { echo "$as_me:$LINENO: libxext development files not found." >&5
22790 echo "$as_me: libxext development files not found." >&6;}
22791 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22792 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22795 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22796 then
22797 echo >&2
22798 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22799 echo "$as_me: libXrandr development files not found." >&6;}
22800 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22801 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22804 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22805 then
22806 echo >&2
22807 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22808 echo "$as_me: libXrender development files not found." >&6;}
22809 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22810 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22813 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22814 then
22815 echo >&2
22816 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22817 echo "$as_me: libXxf86vm development files not found." >&6;}
22818 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22819 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22823 if test "$ac_cv_header_libxml_parser_h" != "yes"
22824 then
22825 echo >&2
22826 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22827 echo "$as_me: libxml2 development files not found." >&6;}
22828 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22829 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22832 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22833 then
22834 echo >&2
22835 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22836 echo "$as_me: libxslt development files not found." >&6;}
22837 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22838 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22843 if test "$have_x" = "no"
22844 then
22845 echo >&2
22846 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22847 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22848 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22849 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22850 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22851 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22852 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22853 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22856 if test -z "$OPENGLFILES"
22857 then
22858 echo >&2
22859 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22860 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22861 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22862 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22863 if test "$wine_cv_opengl_headers_found" = "no"
22864 then
22865 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22866 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22868 if test "$wine_cv_opengl_header_version_OK" = "no"
22869 then
22870 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22871 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22872 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22873 then
22874 if test -f /usr/X11R6/lib/libGL.a
22875 then
22876 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22877 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22878 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22879 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22880 else
22881 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22882 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22887 if test "$wine_cv_msg_freetype" = "yes"
22888 then
22889 echo >&2
22890 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22891 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22892 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22893 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22894 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22895 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22896 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22897 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22900 if test -z "$FONTSSUBDIRS"
22901 then
22902 echo >&2
22903 if test "$FONTFORGE" = "false"
22904 then
22905 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22906 echo "$as_me: WARNING: FontForge is missing." >&2;}
22907 else
22908 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22909 echo "$as_me: WARNING: FreeType is missing." >&2;}
22911 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22912 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22915 if test -z "$ALSALIBS" -a \
22916 -z "$AUDIOIOLIBS" -a \
22917 -z "$NASLIBS" -a \
22918 -z "$ESD_LIBS" -a \
22919 -z "$ac_cv_lib_soname_jack" -a \
22920 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22921 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22922 "$ac_cv_header_soundcard_h" != "yes"
22923 then
22924 echo >&2
22925 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22926 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22927 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22928 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22929 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22930 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22933 echo
22934 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22935 echo