msi/tests: Properly cleanup after each test.
[wine.git] / configure
blob4bfe0226a3bdcd76c0324074983c4681eaf2c1cf
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.36.
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.36'
578 PACKAGE_STRING='Wine 0.9.36'
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.36 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.36:";;
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.36
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.36, 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"
8327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8330 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8331 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8333 if test "$wine_cv_opengl_header_version_OK" = "yes"
8334 then
8335 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8336 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8337 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8339 else
8340 ac_check_lib_save_LIBS=$LIBS
8341 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8342 cat >conftest.$ac_ext <<_ACEOF
8343 /* confdefs.h. */
8344 _ACEOF
8345 cat confdefs.h >>conftest.$ac_ext
8346 cat >>conftest.$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8349 /* Override any GCC internal prototype to avoid an error.
8350 Use char because int might match the return type of a GCC
8351 builtin and then its argument prototype would still apply. */
8352 #ifdef __cplusplus
8353 extern "C"
8354 #endif
8355 char glXCreateContext ();
8357 main ()
8359 return glXCreateContext ();
8361 return 0;
8363 _ACEOF
8364 rm -f conftest.$ac_objext conftest$ac_exeext
8365 if { (ac_try="$ac_link"
8366 case "(($ac_try" in
8367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8368 *) ac_try_echo=$ac_try;;
8369 esac
8370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8371 (eval "$ac_link") 2>conftest.er1
8372 ac_status=$?
8373 grep -v '^ *+' conftest.er1 >conftest.err
8374 rm -f conftest.er1
8375 cat conftest.err >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } && {
8378 test -z "$ac_c_werror_flag" ||
8379 test ! -s conftest.err
8380 } && test -s conftest$ac_exeext &&
8381 $as_test_x conftest$ac_exeext; then
8382 ac_cv_lib_GL_glXCreateContext=yes
8383 else
8384 echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.$ac_ext >&5
8387 ac_cv_lib_GL_glXCreateContext=no
8390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8391 conftest$ac_exeext conftest.$ac_ext
8392 LIBS=$ac_check_lib_save_LIBS
8394 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8395 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8396 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8397 OPENGL_LIBS="-lGL"
8398 OPENGLFILES='$(OPENGLFILES)'
8400 cat >>confdefs.h <<\_ACEOF
8401 #define HAVE_OPENGL 1
8402 _ACEOF
8408 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8409 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8410 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8412 else
8413 ac_check_lib_save_LIBS=$LIBS
8414 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8415 $LIBS"
8416 cat >conftest.$ac_ext <<_ACEOF
8417 /* confdefs.h. */
8418 _ACEOF
8419 cat confdefs.h >>conftest.$ac_ext
8420 cat >>conftest.$ac_ext <<_ACEOF
8421 /* end confdefs.h. */
8423 /* Override any GCC internal prototype to avoid an error.
8424 Use char because int might match the return type of a GCC
8425 builtin and then its argument prototype would still apply. */
8426 #ifdef __cplusplus
8427 extern "C"
8428 #endif
8429 char gluLookAt ();
8431 main ()
8433 return gluLookAt ();
8435 return 0;
8437 _ACEOF
8438 rm -f conftest.$ac_objext conftest$ac_exeext
8439 if { (ac_try="$ac_link"
8440 case "(($ac_try" in
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8443 esac
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8445 (eval "$ac_link") 2>conftest.er1
8446 ac_status=$?
8447 grep -v '^ *+' conftest.er1 >conftest.err
8448 rm -f conftest.er1
8449 cat conftest.err >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); } && {
8452 test -z "$ac_c_werror_flag" ||
8453 test ! -s conftest.err
8454 } && test -s conftest$ac_exeext &&
8455 $as_test_x conftest$ac_exeext; then
8456 ac_cv_lib_GLU_gluLookAt=yes
8457 else
8458 echo "$as_me: failed program was:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8461 ac_cv_lib_GLU_gluLookAt=no
8464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8465 conftest$ac_exeext conftest.$ac_ext
8466 LIBS=$ac_check_lib_save_LIBS
8468 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8469 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8470 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8471 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8472 GLU32FILES='$(GLU32FILES)'
8477 else
8478 wine_cv_opengl_headers_found="no"
8481 NASLIBS=""
8484 for ac_header in audio/audiolib.h
8486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8487 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8491 echo $ECHO_N "(cached) $ECHO_C" >&6
8493 ac_res=`eval echo '${'$as_ac_Header'}'`
8494 { echo "$as_me:$LINENO: result: $ac_res" >&5
8495 echo "${ECHO_T}$ac_res" >&6; }
8496 else
8497 # Is the header compilable?
8498 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8499 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8500 cat >conftest.$ac_ext <<_ACEOF
8501 /* confdefs.h. */
8502 _ACEOF
8503 cat confdefs.h >>conftest.$ac_ext
8504 cat >>conftest.$ac_ext <<_ACEOF
8505 /* end confdefs.h. */
8506 $ac_includes_default
8507 #include <$ac_header>
8508 _ACEOF
8509 rm -f conftest.$ac_objext
8510 if { (ac_try="$ac_compile"
8511 case "(($ac_try" in
8512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8513 *) ac_try_echo=$ac_try;;
8514 esac
8515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8516 (eval "$ac_compile") 2>conftest.er1
8517 ac_status=$?
8518 grep -v '^ *+' conftest.er1 >conftest.err
8519 rm -f conftest.er1
8520 cat conftest.err >&5
8521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522 (exit $ac_status); } && {
8523 test -z "$ac_c_werror_flag" ||
8524 test ! -s conftest.err
8525 } && test -s conftest.$ac_objext; then
8526 ac_header_compiler=yes
8527 else
8528 echo "$as_me: failed program was:" >&5
8529 sed 's/^/| /' conftest.$ac_ext >&5
8531 ac_header_compiler=no
8534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8535 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8536 echo "${ECHO_T}$ac_header_compiler" >&6; }
8538 # Is the header present?
8539 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8540 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8541 cat >conftest.$ac_ext <<_ACEOF
8542 /* confdefs.h. */
8543 _ACEOF
8544 cat confdefs.h >>conftest.$ac_ext
8545 cat >>conftest.$ac_ext <<_ACEOF
8546 /* end confdefs.h. */
8547 #include <$ac_header>
8548 _ACEOF
8549 if { (ac_try="$ac_cpp conftest.$ac_ext"
8550 case "(($ac_try" in
8551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8552 *) ac_try_echo=$ac_try;;
8553 esac
8554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8556 ac_status=$?
8557 grep -v '^ *+' conftest.er1 >conftest.err
8558 rm -f conftest.er1
8559 cat conftest.err >&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); } >/dev/null && {
8562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8563 test ! -s conftest.err
8564 }; then
8565 ac_header_preproc=yes
8566 else
8567 echo "$as_me: failed program was:" >&5
8568 sed 's/^/| /' conftest.$ac_ext >&5
8570 ac_header_preproc=no
8573 rm -f conftest.err conftest.$ac_ext
8574 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8575 echo "${ECHO_T}$ac_header_preproc" >&6; }
8577 # So? What about this header?
8578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8579 yes:no: )
8580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8584 ac_header_preproc=yes
8586 no:yes:* )
8587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8599 ( cat <<\_ASBOX
8600 ## ------------------------------------ ##
8601 ## Report this to wine-devel@winehq.org ##
8602 ## ------------------------------------ ##
8603 _ASBOX
8604 ) | sed "s/^/$as_me: WARNING: /" >&2
8606 esac
8607 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8609 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8611 else
8612 eval "$as_ac_Header=\$ac_header_preproc"
8614 ac_res=`eval echo '${'$as_ac_Header'}'`
8615 { echo "$as_me:$LINENO: result: $ac_res" >&5
8616 echo "${ECHO_T}$ac_res" >&6; }
8619 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8620 cat >>confdefs.h <<_ACEOF
8621 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8622 _ACEOF
8624 for ac_header in audio/soundlib.h
8626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8627 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8629 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8630 echo $ECHO_N "(cached) $ECHO_C" >&6
8631 else
8632 cat >conftest.$ac_ext <<_ACEOF
8633 /* confdefs.h. */
8634 _ACEOF
8635 cat confdefs.h >>conftest.$ac_ext
8636 cat >>conftest.$ac_ext <<_ACEOF
8637 /* end confdefs.h. */
8638 #include <audio/audiolib.h>
8640 #include <$ac_header>
8641 _ACEOF
8642 rm -f conftest.$ac_objext
8643 if { (ac_try="$ac_compile"
8644 case "(($ac_try" in
8645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8646 *) ac_try_echo=$ac_try;;
8647 esac
8648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8649 (eval "$ac_compile") 2>conftest.er1
8650 ac_status=$?
8651 grep -v '^ *+' conftest.er1 >conftest.err
8652 rm -f conftest.er1
8653 cat conftest.err >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } && {
8656 test -z "$ac_c_werror_flag" ||
8657 test ! -s conftest.err
8658 } && test -s conftest.$ac_objext; then
8659 eval "$as_ac_Header=yes"
8660 else
8661 echo "$as_me: failed program was:" >&5
8662 sed 's/^/| /' conftest.$ac_ext >&5
8664 eval "$as_ac_Header=no"
8667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8669 ac_res=`eval echo '${'$as_ac_Header'}'`
8670 { echo "$as_me:$LINENO: result: $ac_res" >&5
8671 echo "${ECHO_T}$ac_res" >&6; }
8672 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8673 cat >>confdefs.h <<_ACEOF
8674 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8675 _ACEOF
8679 done
8681 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8682 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8683 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 else
8686 ac_check_lib_save_LIBS=$LIBS
8687 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8688 cat >conftest.$ac_ext <<_ACEOF
8689 /* confdefs.h. */
8690 _ACEOF
8691 cat confdefs.h >>conftest.$ac_ext
8692 cat >>conftest.$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8695 /* Override any GCC internal prototype to avoid an error.
8696 Use char because int might match the return type of a GCC
8697 builtin and then its argument prototype would still apply. */
8698 #ifdef __cplusplus
8699 extern "C"
8700 #endif
8701 char AuCreateFlow ();
8703 main ()
8705 return AuCreateFlow ();
8707 return 0;
8709 _ACEOF
8710 rm -f conftest.$ac_objext conftest$ac_exeext
8711 if { (ac_try="$ac_link"
8712 case "(($ac_try" in
8713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8714 *) ac_try_echo=$ac_try;;
8715 esac
8716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8717 (eval "$ac_link") 2>conftest.er1
8718 ac_status=$?
8719 grep -v '^ *+' conftest.er1 >conftest.err
8720 rm -f conftest.er1
8721 cat conftest.err >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } && {
8724 test -z "$ac_c_werror_flag" ||
8725 test ! -s conftest.err
8726 } && test -s conftest$ac_exeext &&
8727 $as_test_x conftest$ac_exeext; then
8728 ac_cv_lib_audio_AuCreateFlow=yes
8729 else
8730 echo "$as_me: failed program was:" >&5
8731 sed 's/^/| /' conftest.$ac_ext >&5
8733 ac_cv_lib_audio_AuCreateFlow=no
8736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8737 conftest$ac_exeext conftest.$ac_ext
8738 LIBS=$ac_check_lib_save_LIBS
8740 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8741 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8742 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8744 cat >>confdefs.h <<\_ACEOF
8745 #define HAVE_NAS 1
8746 _ACEOF
8748 { echo "$as_me:$LINENO: checking for XauGetBestAuthByAddr in -lXau" >&5
8749 echo $ECHO_N "checking for XauGetBestAuthByAddr in -lXau... $ECHO_C" >&6; }
8750 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then
8751 echo $ECHO_N "(cached) $ECHO_C" >&6
8752 else
8753 ac_check_lib_save_LIBS=$LIBS
8754 LIBS="-lXau $X_LIBS $LIBS"
8755 cat >conftest.$ac_ext <<_ACEOF
8756 /* confdefs.h. */
8757 _ACEOF
8758 cat confdefs.h >>conftest.$ac_ext
8759 cat >>conftest.$ac_ext <<_ACEOF
8760 /* end confdefs.h. */
8762 /* Override any GCC internal prototype to avoid an error.
8763 Use char because int might match the return type of a GCC
8764 builtin and then its argument prototype would still apply. */
8765 #ifdef __cplusplus
8766 extern "C"
8767 #endif
8768 char XauGetBestAuthByAddr ();
8770 main ()
8772 return XauGetBestAuthByAddr ();
8774 return 0;
8776 _ACEOF
8777 rm -f conftest.$ac_objext conftest$ac_exeext
8778 if { (ac_try="$ac_link"
8779 case "(($ac_try" in
8780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8781 *) ac_try_echo=$ac_try;;
8782 esac
8783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8784 (eval "$ac_link") 2>conftest.er1
8785 ac_status=$?
8786 grep -v '^ *+' conftest.er1 >conftest.err
8787 rm -f conftest.er1
8788 cat conftest.err >&5
8789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8790 (exit $ac_status); } && {
8791 test -z "$ac_c_werror_flag" ||
8792 test ! -s conftest.err
8793 } && test -s conftest$ac_exeext &&
8794 $as_test_x conftest$ac_exeext; then
8795 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8796 else
8797 echo "$as_me: failed program was:" >&5
8798 sed 's/^/| /' conftest.$ac_ext >&5
8800 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
8803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8804 conftest$ac_exeext conftest.$ac_ext
8805 LIBS=$ac_check_lib_save_LIBS
8807 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8808 echo "${ECHO_T}$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8809 if test $ac_cv_lib_Xau_XauGetBestAuthByAddr = yes; then
8810 NASLIBS="-lXau -laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8811 else
8812 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8820 done
8823 CPPFLAGS="$ac_save_CPPFLAGS"
8824 XFILES='$(XFILES)'
8825 else
8826 XLIB=""
8827 X_CFLAGS=""
8828 X_LIBS=""
8832 XML2LIBS=""
8834 XML2INCL=""
8836 XSLTLIBS=""
8838 XSLTINCL=""
8840 if test "$PKG_CONFIG" != "false"
8841 then
8842 ac_save_CPPFLAGS="$CPPFLAGS"
8843 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8844 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8845 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8847 for ac_header in libxml/parser.h
8849 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8850 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8851 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8852 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8853 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8854 echo $ECHO_N "(cached) $ECHO_C" >&6
8856 ac_res=`eval echo '${'$as_ac_Header'}'`
8857 { echo "$as_me:$LINENO: result: $ac_res" >&5
8858 echo "${ECHO_T}$ac_res" >&6; }
8859 else
8860 # Is the header compilable?
8861 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8863 cat >conftest.$ac_ext <<_ACEOF
8864 /* confdefs.h. */
8865 _ACEOF
8866 cat confdefs.h >>conftest.$ac_ext
8867 cat >>conftest.$ac_ext <<_ACEOF
8868 /* end confdefs.h. */
8869 $ac_includes_default
8870 #include <$ac_header>
8871 _ACEOF
8872 rm -f conftest.$ac_objext
8873 if { (ac_try="$ac_compile"
8874 case "(($ac_try" in
8875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8876 *) ac_try_echo=$ac_try;;
8877 esac
8878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8879 (eval "$ac_compile") 2>conftest.er1
8880 ac_status=$?
8881 grep -v '^ *+' conftest.er1 >conftest.err
8882 rm -f conftest.er1
8883 cat conftest.err >&5
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } && {
8886 test -z "$ac_c_werror_flag" ||
8887 test ! -s conftest.err
8888 } && test -s conftest.$ac_objext; then
8889 ac_header_compiler=yes
8890 else
8891 echo "$as_me: failed program was:" >&5
8892 sed 's/^/| /' conftest.$ac_ext >&5
8894 ac_header_compiler=no
8897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8898 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8899 echo "${ECHO_T}$ac_header_compiler" >&6; }
8901 # Is the header present?
8902 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8903 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8904 cat >conftest.$ac_ext <<_ACEOF
8905 /* confdefs.h. */
8906 _ACEOF
8907 cat confdefs.h >>conftest.$ac_ext
8908 cat >>conftest.$ac_ext <<_ACEOF
8909 /* end confdefs.h. */
8910 #include <$ac_header>
8911 _ACEOF
8912 if { (ac_try="$ac_cpp conftest.$ac_ext"
8913 case "(($ac_try" in
8914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8915 *) ac_try_echo=$ac_try;;
8916 esac
8917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8918 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8919 ac_status=$?
8920 grep -v '^ *+' conftest.er1 >conftest.err
8921 rm -f conftest.er1
8922 cat conftest.err >&5
8923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8924 (exit $ac_status); } >/dev/null && {
8925 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8926 test ! -s conftest.err
8927 }; then
8928 ac_header_preproc=yes
8929 else
8930 echo "$as_me: failed program was:" >&5
8931 sed 's/^/| /' conftest.$ac_ext >&5
8933 ac_header_preproc=no
8936 rm -f conftest.err conftest.$ac_ext
8937 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8938 echo "${ECHO_T}$ac_header_preproc" >&6; }
8940 # So? What about this header?
8941 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8942 yes:no: )
8943 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8944 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8946 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8947 ac_header_preproc=yes
8949 no:yes:* )
8950 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8951 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8952 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8953 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8954 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8955 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8956 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8957 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8958 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8959 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8960 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8961 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8962 ( cat <<\_ASBOX
8963 ## ------------------------------------ ##
8964 ## Report this to wine-devel@winehq.org ##
8965 ## ------------------------------------ ##
8966 _ASBOX
8967 ) | sed "s/^/$as_me: WARNING: /" >&2
8969 esac
8970 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8972 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8973 echo $ECHO_N "(cached) $ECHO_C" >&6
8974 else
8975 eval "$as_ac_Header=\$ac_header_preproc"
8977 ac_res=`eval echo '${'$as_ac_Header'}'`
8978 { echo "$as_me:$LINENO: result: $ac_res" >&5
8979 echo "${ECHO_T}$ac_res" >&6; }
8982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8983 cat >>confdefs.h <<_ACEOF
8984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8985 _ACEOF
8986 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8987 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
8988 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8990 else
8991 ac_check_lib_save_LIBS=$LIBS
8992 LIBS="-lxml2 $ac_xml_libs $LIBS"
8993 cat >conftest.$ac_ext <<_ACEOF
8994 /* confdefs.h. */
8995 _ACEOF
8996 cat confdefs.h >>conftest.$ac_ext
8997 cat >>conftest.$ac_ext <<_ACEOF
8998 /* end confdefs.h. */
9000 /* Override any GCC internal prototype to avoid an error.
9001 Use char because int might match the return type of a GCC
9002 builtin and then its argument prototype would still apply. */
9003 #ifdef __cplusplus
9004 extern "C"
9005 #endif
9006 char xmlParseMemory ();
9008 main ()
9010 return xmlParseMemory ();
9012 return 0;
9014 _ACEOF
9015 rm -f conftest.$ac_objext conftest$ac_exeext
9016 if { (ac_try="$ac_link"
9017 case "(($ac_try" in
9018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9019 *) ac_try_echo=$ac_try;;
9020 esac
9021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9022 (eval "$ac_link") 2>conftest.er1
9023 ac_status=$?
9024 grep -v '^ *+' conftest.er1 >conftest.err
9025 rm -f conftest.er1
9026 cat conftest.err >&5
9027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9028 (exit $ac_status); } && {
9029 test -z "$ac_c_werror_flag" ||
9030 test ! -s conftest.err
9031 } && test -s conftest$ac_exeext &&
9032 $as_test_x conftest$ac_exeext; then
9033 ac_cv_lib_xml2_xmlParseMemory=yes
9034 else
9035 echo "$as_me: failed program was:" >&5
9036 sed 's/^/| /' conftest.$ac_ext >&5
9038 ac_cv_lib_xml2_xmlParseMemory=no
9041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9042 conftest$ac_exeext conftest.$ac_ext
9043 LIBS=$ac_check_lib_save_LIBS
9045 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9046 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9047 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9049 cat >>confdefs.h <<\_ACEOF
9050 #define HAVE_LIBXML2 1
9051 _ACEOF
9053 XML2LIBS="$ac_xml_libs"
9054 XML2INCL="$ac_xml_cflags"
9057 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9058 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9059 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9060 echo $ECHO_N "(cached) $ECHO_C" >&6
9061 else
9062 ac_check_lib_save_LIBS=$LIBS
9063 LIBS="-lxml2 $ac_xml_libs $LIBS"
9064 cat >conftest.$ac_ext <<_ACEOF
9065 /* confdefs.h. */
9066 _ACEOF
9067 cat confdefs.h >>conftest.$ac_ext
9068 cat >>conftest.$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9071 /* Override any GCC internal prototype to avoid an error.
9072 Use char because int might match the return type of a GCC
9073 builtin and then its argument prototype would still apply. */
9074 #ifdef __cplusplus
9075 extern "C"
9076 #endif
9077 char xmlReadMemory ();
9079 main ()
9081 return xmlReadMemory ();
9083 return 0;
9085 _ACEOF
9086 rm -f conftest.$ac_objext conftest$ac_exeext
9087 if { (ac_try="$ac_link"
9088 case "(($ac_try" in
9089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9090 *) ac_try_echo=$ac_try;;
9091 esac
9092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9093 (eval "$ac_link") 2>conftest.er1
9094 ac_status=$?
9095 grep -v '^ *+' conftest.er1 >conftest.err
9096 rm -f conftest.er1
9097 cat conftest.err >&5
9098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); } && {
9100 test -z "$ac_c_werror_flag" ||
9101 test ! -s conftest.err
9102 } && test -s conftest$ac_exeext &&
9103 $as_test_x conftest$ac_exeext; then
9104 ac_cv_lib_xml2_xmlReadMemory=yes
9105 else
9106 echo "$as_me: failed program was:" >&5
9107 sed 's/^/| /' conftest.$ac_ext >&5
9109 ac_cv_lib_xml2_xmlReadMemory=no
9112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9113 conftest$ac_exeext conftest.$ac_ext
9114 LIBS=$ac_check_lib_save_LIBS
9116 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9117 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9118 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9120 cat >>confdefs.h <<\_ACEOF
9121 #define HAVE_XMLREADMEMORY 1
9122 _ACEOF
9126 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9127 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9128 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9129 echo $ECHO_N "(cached) $ECHO_C" >&6
9130 else
9131 ac_check_lib_save_LIBS=$LIBS
9132 LIBS="-lxml2 $ac_xml_libs $LIBS"
9133 cat >conftest.$ac_ext <<_ACEOF
9134 /* confdefs.h. */
9135 _ACEOF
9136 cat confdefs.h >>conftest.$ac_ext
9137 cat >>conftest.$ac_ext <<_ACEOF
9138 /* end confdefs.h. */
9140 /* Override any GCC internal prototype to avoid an error.
9141 Use char because int might match the return type of a GCC
9142 builtin and then its argument prototype would still apply. */
9143 #ifdef __cplusplus
9144 extern "C"
9145 #endif
9146 char xmlNewDocPI ();
9148 main ()
9150 return xmlNewDocPI ();
9152 return 0;
9154 _ACEOF
9155 rm -f conftest.$ac_objext conftest$ac_exeext
9156 if { (ac_try="$ac_link"
9157 case "(($ac_try" in
9158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9160 esac
9161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9162 (eval "$ac_link") 2>conftest.er1
9163 ac_status=$?
9164 grep -v '^ *+' conftest.er1 >conftest.err
9165 rm -f conftest.er1
9166 cat conftest.err >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } && {
9169 test -z "$ac_c_werror_flag" ||
9170 test ! -s conftest.err
9171 } && test -s conftest$ac_exeext &&
9172 $as_test_x conftest$ac_exeext; then
9173 ac_cv_lib_xml2_xmlNewDocPI=yes
9174 else
9175 echo "$as_me: failed program was:" >&5
9176 sed 's/^/| /' conftest.$ac_ext >&5
9178 ac_cv_lib_xml2_xmlNewDocPI=no
9181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9182 conftest$ac_exeext conftest.$ac_ext
9183 LIBS=$ac_check_lib_save_LIBS
9185 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9186 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9187 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9189 cat >>confdefs.h <<\_ACEOF
9190 #define HAVE_XMLNEWDOCPI 1
9191 _ACEOF
9198 done
9200 CPPFLAGS="$ac_save_CPPFLAGS"
9201 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9202 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9203 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9206 for ac_header in libxslt/pattern.h libxslt/transform.h
9208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9209 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9211 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9212 echo $ECHO_N "(cached) $ECHO_C" >&6
9213 else
9214 cat >conftest.$ac_ext <<_ACEOF
9215 /* confdefs.h. */
9216 _ACEOF
9217 cat confdefs.h >>conftest.$ac_ext
9218 cat >>conftest.$ac_ext <<_ACEOF
9219 /* end confdefs.h. */
9220 #ifdef HAVE_LIBXSLT_PATTERN_H
9221 # include <libxslt/pattern.h>
9222 #endif
9224 #include <$ac_header>
9225 _ACEOF
9226 rm -f conftest.$ac_objext
9227 if { (ac_try="$ac_compile"
9228 case "(($ac_try" in
9229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9230 *) ac_try_echo=$ac_try;;
9231 esac
9232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9233 (eval "$ac_compile") 2>conftest.er1
9234 ac_status=$?
9235 grep -v '^ *+' conftest.er1 >conftest.err
9236 rm -f conftest.er1
9237 cat conftest.err >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); } && {
9240 test -z "$ac_c_werror_flag" ||
9241 test ! -s conftest.err
9242 } && test -s conftest.$ac_objext; then
9243 eval "$as_ac_Header=yes"
9244 else
9245 echo "$as_me: failed program was:" >&5
9246 sed 's/^/| /' conftest.$ac_ext >&5
9248 eval "$as_ac_Header=no"
9251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9253 ac_res=`eval echo '${'$as_ac_Header'}'`
9254 { echo "$as_me:$LINENO: result: $ac_res" >&5
9255 echo "${ECHO_T}$ac_res" >&6; }
9256 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9257 cat >>confdefs.h <<_ACEOF
9258 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9259 _ACEOF
9260 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9261 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9262 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9263 echo $ECHO_N "(cached) $ECHO_C" >&6
9264 else
9265 ac_check_lib_save_LIBS=$LIBS
9266 LIBS="-lxslt $ac_xslt_libs $LIBS"
9267 cat >conftest.$ac_ext <<_ACEOF
9268 /* confdefs.h. */
9269 _ACEOF
9270 cat confdefs.h >>conftest.$ac_ext
9271 cat >>conftest.$ac_ext <<_ACEOF
9272 /* end confdefs.h. */
9274 /* Override any GCC internal prototype to avoid an error.
9275 Use char because int might match the return type of a GCC
9276 builtin and then its argument prototype would still apply. */
9277 #ifdef __cplusplus
9278 extern "C"
9279 #endif
9280 char xsltCompilePattern ();
9282 main ()
9284 return xsltCompilePattern ();
9286 return 0;
9288 _ACEOF
9289 rm -f conftest.$ac_objext conftest$ac_exeext
9290 if { (ac_try="$ac_link"
9291 case "(($ac_try" in
9292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9293 *) ac_try_echo=$ac_try;;
9294 esac
9295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9296 (eval "$ac_link") 2>conftest.er1
9297 ac_status=$?
9298 grep -v '^ *+' conftest.er1 >conftest.err
9299 rm -f conftest.er1
9300 cat conftest.err >&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 (exit $ac_status); } && {
9303 test -z "$ac_c_werror_flag" ||
9304 test ! -s conftest.err
9305 } && test -s conftest$ac_exeext &&
9306 $as_test_x conftest$ac_exeext; then
9307 ac_cv_lib_xslt_xsltCompilePattern=yes
9308 else
9309 echo "$as_me: failed program was:" >&5
9310 sed 's/^/| /' conftest.$ac_ext >&5
9312 ac_cv_lib_xslt_xsltCompilePattern=no
9315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9316 conftest$ac_exeext conftest.$ac_ext
9317 LIBS=$ac_check_lib_save_LIBS
9319 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9320 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9321 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9323 cat >>confdefs.h <<\_ACEOF
9324 #define HAVE_LIBXSLT 1
9325 _ACEOF
9327 XSLTLIBS="$ac_xslt_libs"
9328 XSLTINCL="$ac_xslt_cflags"
9334 done
9336 CPPFLAGS="$ac_save_CPPFLAGS"
9339 HALINCL=""
9341 if test "$PKG_CONFIG" != "false"
9342 then
9343 ac_save_CPPFLAGS="$CPPFLAGS"
9344 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9345 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9346 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9349 for ac_header in dbus/dbus.h hal/libhal.h
9351 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9353 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9356 echo $ECHO_N "(cached) $ECHO_C" >&6
9358 ac_res=`eval echo '${'$as_ac_Header'}'`
9359 { echo "$as_me:$LINENO: result: $ac_res" >&5
9360 echo "${ECHO_T}$ac_res" >&6; }
9361 else
9362 # Is the header compilable?
9363 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9364 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9365 cat >conftest.$ac_ext <<_ACEOF
9366 /* confdefs.h. */
9367 _ACEOF
9368 cat confdefs.h >>conftest.$ac_ext
9369 cat >>conftest.$ac_ext <<_ACEOF
9370 /* end confdefs.h. */
9371 $ac_includes_default
9372 #include <$ac_header>
9373 _ACEOF
9374 rm -f conftest.$ac_objext
9375 if { (ac_try="$ac_compile"
9376 case "(($ac_try" in
9377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9378 *) ac_try_echo=$ac_try;;
9379 esac
9380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9381 (eval "$ac_compile") 2>conftest.er1
9382 ac_status=$?
9383 grep -v '^ *+' conftest.er1 >conftest.err
9384 rm -f conftest.er1
9385 cat conftest.err >&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); } && {
9388 test -z "$ac_c_werror_flag" ||
9389 test ! -s conftest.err
9390 } && test -s conftest.$ac_objext; then
9391 ac_header_compiler=yes
9392 else
9393 echo "$as_me: failed program was:" >&5
9394 sed 's/^/| /' conftest.$ac_ext >&5
9396 ac_header_compiler=no
9399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9400 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9401 echo "${ECHO_T}$ac_header_compiler" >&6; }
9403 # Is the header present?
9404 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9405 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9406 cat >conftest.$ac_ext <<_ACEOF
9407 /* confdefs.h. */
9408 _ACEOF
9409 cat confdefs.h >>conftest.$ac_ext
9410 cat >>conftest.$ac_ext <<_ACEOF
9411 /* end confdefs.h. */
9412 #include <$ac_header>
9413 _ACEOF
9414 if { (ac_try="$ac_cpp conftest.$ac_ext"
9415 case "(($ac_try" in
9416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9417 *) ac_try_echo=$ac_try;;
9418 esac
9419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9420 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9421 ac_status=$?
9422 grep -v '^ *+' conftest.er1 >conftest.err
9423 rm -f conftest.er1
9424 cat conftest.err >&5
9425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9426 (exit $ac_status); } >/dev/null && {
9427 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9428 test ! -s conftest.err
9429 }; then
9430 ac_header_preproc=yes
9431 else
9432 echo "$as_me: failed program was:" >&5
9433 sed 's/^/| /' conftest.$ac_ext >&5
9435 ac_header_preproc=no
9438 rm -f conftest.err conftest.$ac_ext
9439 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9440 echo "${ECHO_T}$ac_header_preproc" >&6; }
9442 # So? What about this header?
9443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9444 yes:no: )
9445 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9446 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9447 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9448 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9449 ac_header_preproc=yes
9451 no:yes:* )
9452 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9453 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9454 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9455 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9456 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9457 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9458 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9459 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9460 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9461 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9462 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9463 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9464 ( cat <<\_ASBOX
9465 ## ------------------------------------ ##
9466 ## Report this to wine-devel@winehq.org ##
9467 ## ------------------------------------ ##
9468 _ASBOX
9469 ) | sed "s/^/$as_me: WARNING: /" >&2
9471 esac
9472 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9475 echo $ECHO_N "(cached) $ECHO_C" >&6
9476 else
9477 eval "$as_ac_Header=\$ac_header_preproc"
9479 ac_res=`eval echo '${'$as_ac_Header'}'`
9480 { echo "$as_me:$LINENO: result: $ac_res" >&5
9481 echo "${ECHO_T}$ac_res" >&6; }
9484 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9485 cat >>confdefs.h <<_ACEOF
9486 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9487 _ACEOF
9491 done
9493 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9494 then
9495 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9496 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9497 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9499 else
9500 ac_check_lib_save_LIBS=$LIBS
9501 LIBS="-lhal $LIBS"
9502 cat >conftest.$ac_ext <<_ACEOF
9503 /* confdefs.h. */
9504 _ACEOF
9505 cat confdefs.h >>conftest.$ac_ext
9506 cat >>conftest.$ac_ext <<_ACEOF
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9512 #ifdef __cplusplus
9513 extern "C"
9514 #endif
9515 char libhal_ctx_new ();
9517 main ()
9519 return libhal_ctx_new ();
9521 return 0;
9523 _ACEOF
9524 rm -f conftest.$ac_objext conftest$ac_exeext
9525 if { (ac_try="$ac_link"
9526 case "(($ac_try" in
9527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9528 *) ac_try_echo=$ac_try;;
9529 esac
9530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9531 (eval "$ac_link") 2>conftest.er1
9532 ac_status=$?
9533 grep -v '^ *+' conftest.er1 >conftest.err
9534 rm -f conftest.er1
9535 cat conftest.err >&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); } && {
9538 test -z "$ac_c_werror_flag" ||
9539 test ! -s conftest.err
9540 } && test -s conftest$ac_exeext &&
9541 $as_test_x conftest$ac_exeext; then
9542 ac_cv_lib_hal_libhal_ctx_new=yes
9543 else
9544 echo "$as_me: failed program was:" >&5
9545 sed 's/^/| /' conftest.$ac_ext >&5
9547 ac_cv_lib_hal_libhal_ctx_new=no
9550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9551 conftest$ac_exeext conftest.$ac_ext
9552 LIBS=$ac_check_lib_save_LIBS
9554 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9555 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9556 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9557 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9558 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9559 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9562 ac_check_lib_save_LIBS=$LIBS
9563 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9564 cat >conftest.$ac_ext <<_ACEOF
9565 /* confdefs.h. */
9566 _ACEOF
9567 cat confdefs.h >>conftest.$ac_ext
9568 cat >>conftest.$ac_ext <<_ACEOF
9569 /* end confdefs.h. */
9571 /* Override any GCC internal prototype to avoid an error.
9572 Use char because int might match the return type of a GCC
9573 builtin and then its argument prototype would still apply. */
9574 #ifdef __cplusplus
9575 extern "C"
9576 #endif
9577 char dbus_connection_close ();
9579 main ()
9581 return dbus_connection_close ();
9583 return 0;
9585 _ACEOF
9586 rm -f conftest.$ac_objext conftest$ac_exeext
9587 if { (ac_try="$ac_link"
9588 case "(($ac_try" in
9589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9590 *) ac_try_echo=$ac_try;;
9591 esac
9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9593 (eval "$ac_link") 2>conftest.er1
9594 ac_status=$?
9595 grep -v '^ *+' conftest.er1 >conftest.err
9596 rm -f conftest.er1
9597 cat conftest.err >&5
9598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9599 (exit $ac_status); } && {
9600 test -z "$ac_c_werror_flag" ||
9601 test ! -s conftest.err
9602 } && test -s conftest$ac_exeext &&
9603 $as_test_x conftest$ac_exeext; then
9604 ac_cv_lib_dbus_1_dbus_connection_close=yes
9605 else
9606 echo "$as_me: failed program was:" >&5
9607 sed 's/^/| /' conftest.$ac_ext >&5
9609 ac_cv_lib_dbus_1_dbus_connection_close=no
9612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9613 conftest$ac_exeext conftest.$ac_ext
9614 LIBS=$ac_check_lib_save_LIBS
9616 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9617 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9618 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9620 cat >>confdefs.h <<\_ACEOF
9621 #define HAVE_LIBHAL 1
9622 _ACEOF
9624 HALINCL="$ac_hal_cflags"
9630 CPPFLAGS="$ac_save_CPPFLAGS"
9633 CURSESLIBS=""
9634 if test "$ac_cv_header_ncurses_h" = "yes"
9635 then
9636 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9637 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9638 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9639 echo $ECHO_N "(cached) $ECHO_C" >&6
9640 else
9641 ac_check_lib_save_LIBS=$LIBS
9642 LIBS="-lncurses $LIBS"
9643 cat >conftest.$ac_ext <<_ACEOF
9644 /* confdefs.h. */
9645 _ACEOF
9646 cat confdefs.h >>conftest.$ac_ext
9647 cat >>conftest.$ac_ext <<_ACEOF
9648 /* end confdefs.h. */
9650 /* Override any GCC internal prototype to avoid an error.
9651 Use char because int might match the return type of a GCC
9652 builtin and then its argument prototype would still apply. */
9653 #ifdef __cplusplus
9654 extern "C"
9655 #endif
9656 char waddch ();
9658 main ()
9660 return waddch ();
9662 return 0;
9664 _ACEOF
9665 rm -f conftest.$ac_objext conftest$ac_exeext
9666 if { (ac_try="$ac_link"
9667 case "(($ac_try" in
9668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9669 *) ac_try_echo=$ac_try;;
9670 esac
9671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9672 (eval "$ac_link") 2>conftest.er1
9673 ac_status=$?
9674 grep -v '^ *+' conftest.er1 >conftest.err
9675 rm -f conftest.er1
9676 cat conftest.err >&5
9677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678 (exit $ac_status); } && {
9679 test -z "$ac_c_werror_flag" ||
9680 test ! -s conftest.err
9681 } && test -s conftest$ac_exeext &&
9682 $as_test_x conftest$ac_exeext; then
9683 ac_cv_lib_ncurses_waddch=yes
9684 else
9685 echo "$as_me: failed program was:" >&5
9686 sed 's/^/| /' conftest.$ac_ext >&5
9688 ac_cv_lib_ncurses_waddch=no
9691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9692 conftest$ac_exeext conftest.$ac_ext
9693 LIBS=$ac_check_lib_save_LIBS
9695 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9696 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9697 if test $ac_cv_lib_ncurses_waddch = yes; then
9698 CURSESLIBS="-lncurses"
9701 elif test "$ac_cv_header_curses_h" = "yes"
9702 then
9703 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9704 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9705 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9706 echo $ECHO_N "(cached) $ECHO_C" >&6
9707 else
9708 ac_check_lib_save_LIBS=$LIBS
9709 LIBS="-lcurses $LIBS"
9710 cat >conftest.$ac_ext <<_ACEOF
9711 /* confdefs.h. */
9712 _ACEOF
9713 cat confdefs.h >>conftest.$ac_ext
9714 cat >>conftest.$ac_ext <<_ACEOF
9715 /* end confdefs.h. */
9717 /* Override any GCC internal prototype to avoid an error.
9718 Use char because int might match the return type of a GCC
9719 builtin and then its argument prototype would still apply. */
9720 #ifdef __cplusplus
9721 extern "C"
9722 #endif
9723 char waddch ();
9725 main ()
9727 return waddch ();
9729 return 0;
9731 _ACEOF
9732 rm -f conftest.$ac_objext conftest$ac_exeext
9733 if { (ac_try="$ac_link"
9734 case "(($ac_try" in
9735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9736 *) ac_try_echo=$ac_try;;
9737 esac
9738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9739 (eval "$ac_link") 2>conftest.er1
9740 ac_status=$?
9741 grep -v '^ *+' conftest.er1 >conftest.err
9742 rm -f conftest.er1
9743 cat conftest.err >&5
9744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9745 (exit $ac_status); } && {
9746 test -z "$ac_c_werror_flag" ||
9747 test ! -s conftest.err
9748 } && test -s conftest$ac_exeext &&
9749 $as_test_x conftest$ac_exeext; then
9750 ac_cv_lib_curses_waddch=yes
9751 else
9752 echo "$as_me: failed program was:" >&5
9753 sed 's/^/| /' conftest.$ac_ext >&5
9755 ac_cv_lib_curses_waddch=no
9758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9759 conftest$ac_exeext conftest.$ac_ext
9760 LIBS=$ac_check_lib_save_LIBS
9762 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9763 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9764 if test $ac_cv_lib_curses_waddch = yes; then
9765 CURSESLIBS="-lcurses"
9769 ac_save_LIBS="$LIBS"
9770 LIBS="$LIBS $CURSESLIBS"
9772 for ac_func in mousemask
9774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9775 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9777 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9778 echo $ECHO_N "(cached) $ECHO_C" >&6
9779 else
9780 cat >conftest.$ac_ext <<_ACEOF
9781 /* confdefs.h. */
9782 _ACEOF
9783 cat confdefs.h >>conftest.$ac_ext
9784 cat >>conftest.$ac_ext <<_ACEOF
9785 /* end confdefs.h. */
9786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9788 #define $ac_func innocuous_$ac_func
9790 /* System header to define __stub macros and hopefully few prototypes,
9791 which can conflict with char $ac_func (); below.
9792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9793 <limits.h> exists even on freestanding compilers. */
9795 #ifdef __STDC__
9796 # include <limits.h>
9797 #else
9798 # include <assert.h>
9799 #endif
9801 #undef $ac_func
9803 /* Override any GCC internal prototype to avoid an error.
9804 Use char because int might match the return type of a GCC
9805 builtin and then its argument prototype would still apply. */
9806 #ifdef __cplusplus
9807 extern "C"
9808 #endif
9809 char $ac_func ();
9810 /* The GNU C library defines this for functions which it implements
9811 to always fail with ENOSYS. Some functions are actually named
9812 something starting with __ and the normal name is an alias. */
9813 #if defined __stub_$ac_func || defined __stub___$ac_func
9814 choke me
9815 #endif
9818 main ()
9820 return $ac_func ();
9822 return 0;
9824 _ACEOF
9825 rm -f conftest.$ac_objext conftest$ac_exeext
9826 if { (ac_try="$ac_link"
9827 case "(($ac_try" in
9828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9829 *) ac_try_echo=$ac_try;;
9830 esac
9831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9832 (eval "$ac_link") 2>conftest.er1
9833 ac_status=$?
9834 grep -v '^ *+' conftest.er1 >conftest.err
9835 rm -f conftest.er1
9836 cat conftest.err >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } && {
9839 test -z "$ac_c_werror_flag" ||
9840 test ! -s conftest.err
9841 } && test -s conftest$ac_exeext &&
9842 $as_test_x conftest$ac_exeext; then
9843 eval "$as_ac_var=yes"
9844 else
9845 echo "$as_me: failed program was:" >&5
9846 sed 's/^/| /' conftest.$ac_ext >&5
9848 eval "$as_ac_var=no"
9851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9852 conftest$ac_exeext conftest.$ac_ext
9854 ac_res=`eval echo '${'$as_ac_var'}'`
9855 { echo "$as_me:$LINENO: result: $ac_res" >&5
9856 echo "${ECHO_T}$ac_res" >&6; }
9857 if test `eval echo '${'$as_ac_var'}'` = yes; then
9858 cat >>confdefs.h <<_ACEOF
9859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9860 _ACEOF
9863 done
9865 LIBS="$ac_save_LIBS"
9867 # Extract the first word of "sane-config", so it can be a program name with args.
9868 set dummy sane-config; ac_word=$2
9869 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9871 if test "${ac_cv_prog_sane_devel+set}" = set; then
9872 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 else
9874 if test -n "$sane_devel"; then
9875 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9876 else
9877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9878 for as_dir in $PATH
9880 IFS=$as_save_IFS
9881 test -z "$as_dir" && as_dir=.
9882 for ac_exec_ext in '' $ac_executable_extensions; do
9883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9884 ac_cv_prog_sane_devel="sane-config"
9885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9886 break 2
9888 done
9889 done
9890 IFS=$as_save_IFS
9892 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9895 sane_devel=$ac_cv_prog_sane_devel
9896 if test -n "$sane_devel"; then
9897 { echo "$as_me:$LINENO: result: $sane_devel" >&5
9898 echo "${ECHO_T}$sane_devel" >&6; }
9899 else
9900 { echo "$as_me:$LINENO: result: no" >&5
9901 echo "${ECHO_T}no" >&6; }
9905 SANEINCL=""
9907 if test "$sane_devel" != "no"
9908 then
9909 SANEINCL="`$sane_devel --cflags`"
9910 ac_save_CPPFLAGS="$CPPFLAGS"
9911 CPPFLAGS="$CPPFLAGS $SANEINCL"
9912 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9913 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9914 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
9915 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9919 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
9920 else
9921 # Is the header compilable?
9922 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9923 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
9924 cat >conftest.$ac_ext <<_ACEOF
9925 /* confdefs.h. */
9926 _ACEOF
9927 cat confdefs.h >>conftest.$ac_ext
9928 cat >>conftest.$ac_ext <<_ACEOF
9929 /* end confdefs.h. */
9930 $ac_includes_default
9931 #include <sane/sane.h>
9932 _ACEOF
9933 rm -f conftest.$ac_objext
9934 if { (ac_try="$ac_compile"
9935 case "(($ac_try" in
9936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9937 *) ac_try_echo=$ac_try;;
9938 esac
9939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9940 (eval "$ac_compile") 2>conftest.er1
9941 ac_status=$?
9942 grep -v '^ *+' conftest.er1 >conftest.err
9943 rm -f conftest.er1
9944 cat conftest.err >&5
9945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9946 (exit $ac_status); } && {
9947 test -z "$ac_c_werror_flag" ||
9948 test ! -s conftest.err
9949 } && test -s conftest.$ac_objext; then
9950 ac_header_compiler=yes
9951 else
9952 echo "$as_me: failed program was:" >&5
9953 sed 's/^/| /' conftest.$ac_ext >&5
9955 ac_header_compiler=no
9958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9959 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9960 echo "${ECHO_T}$ac_header_compiler" >&6; }
9962 # Is the header present?
9963 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9964 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
9965 cat >conftest.$ac_ext <<_ACEOF
9966 /* confdefs.h. */
9967 _ACEOF
9968 cat confdefs.h >>conftest.$ac_ext
9969 cat >>conftest.$ac_ext <<_ACEOF
9970 /* end confdefs.h. */
9971 #include <sane/sane.h>
9972 _ACEOF
9973 if { (ac_try="$ac_cpp conftest.$ac_ext"
9974 case "(($ac_try" in
9975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9976 *) ac_try_echo=$ac_try;;
9977 esac
9978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9979 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9980 ac_status=$?
9981 grep -v '^ *+' conftest.er1 >conftest.err
9982 rm -f conftest.er1
9983 cat conftest.err >&5
9984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9985 (exit $ac_status); } >/dev/null && {
9986 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9987 test ! -s conftest.err
9988 }; then
9989 ac_header_preproc=yes
9990 else
9991 echo "$as_me: failed program was:" >&5
9992 sed 's/^/| /' conftest.$ac_ext >&5
9994 ac_header_preproc=no
9997 rm -f conftest.err conftest.$ac_ext
9998 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9999 echo "${ECHO_T}$ac_header_preproc" >&6; }
10001 # So? What about this header?
10002 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10003 yes:no: )
10004 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10005 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10006 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10007 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10008 ac_header_preproc=yes
10010 no:yes:* )
10011 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10012 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10013 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10014 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10015 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10016 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10017 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10018 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10019 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10020 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10021 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10022 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10023 ( cat <<\_ASBOX
10024 ## ------------------------------------ ##
10025 ## Report this to wine-devel@winehq.org ##
10026 ## ------------------------------------ ##
10027 _ASBOX
10028 ) | sed "s/^/$as_me: WARNING: /" >&2
10030 esac
10031 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10032 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10033 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10034 echo $ECHO_N "(cached) $ECHO_C" >&6
10035 else
10036 ac_cv_header_sane_sane_h=$ac_header_preproc
10038 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10039 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10042 if test $ac_cv_header_sane_sane_h = yes; then
10044 cat >>confdefs.h <<\_ACEOF
10045 #define HAVE_SANE 1
10046 _ACEOF
10048 else
10049 SANEINCL=""
10053 CPPFLAGS="$ac_save_CPPFLAGS"
10056 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10057 set dummy gphoto2-config; ac_word=$2
10058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10060 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10061 echo $ECHO_N "(cached) $ECHO_C" >&6
10062 else
10063 if test -n "$gphoto2_devel"; then
10064 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10065 else
10066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10067 for as_dir in $PATH
10069 IFS=$as_save_IFS
10070 test -z "$as_dir" && as_dir=.
10071 for ac_exec_ext in '' $ac_executable_extensions; do
10072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10073 ac_cv_prog_gphoto2_devel="gphoto2-config"
10074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10075 break 2
10077 done
10078 done
10079 IFS=$as_save_IFS
10081 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10084 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10085 if test -n "$gphoto2_devel"; then
10086 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10087 echo "${ECHO_T}$gphoto2_devel" >&6; }
10088 else
10089 { echo "$as_me:$LINENO: result: no" >&5
10090 echo "${ECHO_T}no" >&6; }
10094 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10095 set dummy gphoto2-port-config; ac_word=$2
10096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10098 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10099 echo $ECHO_N "(cached) $ECHO_C" >&6
10100 else
10101 if test -n "$gphoto2port_devel"; then
10102 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10103 else
10104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10105 for as_dir in $PATH
10107 IFS=$as_save_IFS
10108 test -z "$as_dir" && as_dir=.
10109 for ac_exec_ext in '' $ac_executable_extensions; do
10110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10111 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10113 break 2
10115 done
10116 done
10117 IFS=$as_save_IFS
10119 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10122 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10123 if test -n "$gphoto2port_devel"; then
10124 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10125 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10126 else
10127 { echo "$as_me:$LINENO: result: no" >&5
10128 echo "${ECHO_T}no" >&6; }
10132 GPHOTO2LIBS=""
10134 GPHOTO2INCL=""
10136 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10137 then
10138 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10139 GPHOTO2LIBS=""
10140 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10142 case "$i" in
10143 -L/usr/lib|-L/usr/lib64) ;;
10144 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10145 esac
10146 done
10147 ac_save_CPPFLAGS="$CPPFLAGS"
10148 ac_save_LIBS="$LIBS"
10149 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10150 LIBS="$LIBS $GPHOTO2LIBS"
10151 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10152 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10153 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10154 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10155 echo $ECHO_N "(cached) $ECHO_C" >&6
10157 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10158 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10159 else
10160 # Is the header compilable?
10161 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10162 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10163 cat >conftest.$ac_ext <<_ACEOF
10164 /* confdefs.h. */
10165 _ACEOF
10166 cat confdefs.h >>conftest.$ac_ext
10167 cat >>conftest.$ac_ext <<_ACEOF
10168 /* end confdefs.h. */
10169 $ac_includes_default
10170 #include <gphoto2-camera.h>
10171 _ACEOF
10172 rm -f conftest.$ac_objext
10173 if { (ac_try="$ac_compile"
10174 case "(($ac_try" in
10175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10176 *) ac_try_echo=$ac_try;;
10177 esac
10178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10179 (eval "$ac_compile") 2>conftest.er1
10180 ac_status=$?
10181 grep -v '^ *+' conftest.er1 >conftest.err
10182 rm -f conftest.er1
10183 cat conftest.err >&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); } && {
10186 test -z "$ac_c_werror_flag" ||
10187 test ! -s conftest.err
10188 } && test -s conftest.$ac_objext; then
10189 ac_header_compiler=yes
10190 else
10191 echo "$as_me: failed program was:" >&5
10192 sed 's/^/| /' conftest.$ac_ext >&5
10194 ac_header_compiler=no
10197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10198 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10199 echo "${ECHO_T}$ac_header_compiler" >&6; }
10201 # Is the header present?
10202 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10203 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10204 cat >conftest.$ac_ext <<_ACEOF
10205 /* confdefs.h. */
10206 _ACEOF
10207 cat confdefs.h >>conftest.$ac_ext
10208 cat >>conftest.$ac_ext <<_ACEOF
10209 /* end confdefs.h. */
10210 #include <gphoto2-camera.h>
10211 _ACEOF
10212 if { (ac_try="$ac_cpp conftest.$ac_ext"
10213 case "(($ac_try" in
10214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10215 *) ac_try_echo=$ac_try;;
10216 esac
10217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10219 ac_status=$?
10220 grep -v '^ *+' conftest.er1 >conftest.err
10221 rm -f conftest.er1
10222 cat conftest.err >&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); } >/dev/null && {
10225 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10226 test ! -s conftest.err
10227 }; then
10228 ac_header_preproc=yes
10229 else
10230 echo "$as_me: failed program was:" >&5
10231 sed 's/^/| /' conftest.$ac_ext >&5
10233 ac_header_preproc=no
10236 rm -f conftest.err conftest.$ac_ext
10237 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10238 echo "${ECHO_T}$ac_header_preproc" >&6; }
10240 # So? What about this header?
10241 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10242 yes:no: )
10243 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10244 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10245 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10246 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10247 ac_header_preproc=yes
10249 no:yes:* )
10250 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10251 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10252 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10253 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10254 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10255 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10256 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10257 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10258 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10259 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10260 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10261 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10262 ( cat <<\_ASBOX
10263 ## ------------------------------------ ##
10264 ## Report this to wine-devel@winehq.org ##
10265 ## ------------------------------------ ##
10266 _ASBOX
10267 ) | sed "s/^/$as_me: WARNING: /" >&2
10269 esac
10270 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10271 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10272 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10273 echo $ECHO_N "(cached) $ECHO_C" >&6
10274 else
10275 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10277 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10278 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10281 if test $ac_cv_header_gphoto2_camera_h = yes; then
10282 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10283 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10284 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10285 echo $ECHO_N "(cached) $ECHO_C" >&6
10286 else
10287 ac_check_lib_save_LIBS=$LIBS
10288 LIBS="-lgphoto2 $LIBS"
10289 cat >conftest.$ac_ext <<_ACEOF
10290 /* confdefs.h. */
10291 _ACEOF
10292 cat confdefs.h >>conftest.$ac_ext
10293 cat >>conftest.$ac_ext <<_ACEOF
10294 /* end confdefs.h. */
10296 /* Override any GCC internal prototype to avoid an error.
10297 Use char because int might match the return type of a GCC
10298 builtin and then its argument prototype would still apply. */
10299 #ifdef __cplusplus
10300 extern "C"
10301 #endif
10302 char gp_camera_new ();
10304 main ()
10306 return gp_camera_new ();
10308 return 0;
10310 _ACEOF
10311 rm -f conftest.$ac_objext conftest$ac_exeext
10312 if { (ac_try="$ac_link"
10313 case "(($ac_try" in
10314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10315 *) ac_try_echo=$ac_try;;
10316 esac
10317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10318 (eval "$ac_link") 2>conftest.er1
10319 ac_status=$?
10320 grep -v '^ *+' conftest.er1 >conftest.err
10321 rm -f conftest.er1
10322 cat conftest.err >&5
10323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10324 (exit $ac_status); } && {
10325 test -z "$ac_c_werror_flag" ||
10326 test ! -s conftest.err
10327 } && test -s conftest$ac_exeext &&
10328 $as_test_x conftest$ac_exeext; then
10329 ac_cv_lib_gphoto2_gp_camera_new=yes
10330 else
10331 echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.$ac_ext >&5
10334 ac_cv_lib_gphoto2_gp_camera_new=no
10337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_lib_save_LIBS
10341 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10342 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10343 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10345 cat >>confdefs.h <<\_ACEOF
10346 #define HAVE_GPHOTO2 1
10347 _ACEOF
10349 else
10350 GPHOTO2LIBS=""
10351 GPHOTO2INCL=""
10354 else
10355 GPHOTO2LIBS=""
10356 GPHOTO2INCL=""
10360 LIBS="$ac_save_LIBS"
10361 CPPFLAGS="$ac_save_CPPFLAGS"
10364 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10365 then
10366 saved_libs="$LIBS"
10367 icu_libs="-lsicuuc -lsicudata -lstdc++ -lgcc_s"
10368 if test -n "$ICU_LIB_DIR"
10369 then
10370 icu_libs="-L$ICU_LIB_DIR $icu_libs"
10372 { echo "$as_me:$LINENO: checking whether can link with ICU libraries" >&5
10373 echo $ECHO_N "checking whether can link with ICU libraries... $ECHO_C" >&6; }
10374 LIBS="$saved_libs $icu_libs"
10375 if test "$cross_compiling" = yes; then
10376 { echo "$as_me:$LINENO: result: no" >&5
10377 echo "${ECHO_T}no" >&6; }
10378 else
10379 cat >conftest.$ac_ext <<_ACEOF
10380 /* confdefs.h. */
10381 _ACEOF
10382 cat confdefs.h >>conftest.$ac_ext
10383 cat >>conftest.$ac_ext <<_ACEOF
10384 /* end confdefs.h. */
10385 #include <unicode/ubidi.h>
10386 main () { ubidi_open(); return 0; }
10387 _ACEOF
10388 rm -f conftest$ac_exeext
10389 if { (ac_try="$ac_link"
10390 case "(($ac_try" in
10391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10392 *) ac_try_echo=$ac_try;;
10393 esac
10394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10395 (eval "$ac_link") 2>&5
10396 ac_status=$?
10397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10399 { (case "(($ac_try" in
10400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10401 *) ac_try_echo=$ac_try;;
10402 esac
10403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10404 (eval "$ac_try") 2>&5
10405 ac_status=$?
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); }; }; then
10409 cat >>confdefs.h <<\_ACEOF
10410 #define HAVE_ICU 1
10411 _ACEOF
10413 ICULIBS="$icu_libs"
10415 { echo "$as_me:$LINENO: result: yes" >&5
10416 echo "${ECHO_T}yes" >&6; }
10417 else
10418 echo "$as_me: program exited with status $ac_status" >&5
10419 echo "$as_me: failed program was:" >&5
10420 sed 's/^/| /' conftest.$ac_ext >&5
10422 ( exit $ac_status )
10423 { echo "$as_me:$LINENO: result: no" >&5
10424 echo "${ECHO_T}no" >&6; }
10426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10430 LIBS="$saved_libs"
10433 RESOLVLIBS=""
10435 if test "$ac_cv_header_resolv_h" = "yes"
10436 then
10437 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10438 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10439 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10440 echo $ECHO_N "(cached) $ECHO_C" >&6
10441 else
10442 ac_check_lib_save_LIBS=$LIBS
10443 LIBS="-lresolv $LIBS"
10444 cat >conftest.$ac_ext <<_ACEOF
10445 /* confdefs.h. */
10446 _ACEOF
10447 cat confdefs.h >>conftest.$ac_ext
10448 cat >>conftest.$ac_ext <<_ACEOF
10449 /* end confdefs.h. */
10451 /* Override any GCC internal prototype to avoid an error.
10452 Use char because int might match the return type of a GCC
10453 builtin and then its argument prototype would still apply. */
10454 #ifdef __cplusplus
10455 extern "C"
10456 #endif
10457 char res_query ();
10459 main ()
10461 return res_query ();
10463 return 0;
10465 _ACEOF
10466 rm -f conftest.$ac_objext conftest$ac_exeext
10467 if { (ac_try="$ac_link"
10468 case "(($ac_try" in
10469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10470 *) ac_try_echo=$ac_try;;
10471 esac
10472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10473 (eval "$ac_link") 2>conftest.er1
10474 ac_status=$?
10475 grep -v '^ *+' conftest.er1 >conftest.err
10476 rm -f conftest.er1
10477 cat conftest.err >&5
10478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10479 (exit $ac_status); } && {
10480 test -z "$ac_c_werror_flag" ||
10481 test ! -s conftest.err
10482 } && test -s conftest$ac_exeext &&
10483 $as_test_x conftest$ac_exeext; then
10484 ac_cv_lib_resolv_res_query=yes
10485 else
10486 echo "$as_me: failed program was:" >&5
10487 sed 's/^/| /' conftest.$ac_ext >&5
10489 ac_cv_lib_resolv_res_query=no
10492 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10493 conftest$ac_exeext conftest.$ac_ext
10494 LIBS=$ac_check_lib_save_LIBS
10496 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10497 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10498 if test $ac_cv_lib_resolv_res_query = yes; then
10500 cat >>confdefs.h <<\_ACEOF
10501 #define HAVE_RESOLV 1
10502 _ACEOF
10504 RESOLVLIBS="-lresolv"
10509 LCMSLIBS=""
10511 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10512 then
10513 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10514 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10515 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10516 echo $ECHO_N "(cached) $ECHO_C" >&6
10517 else
10518 ac_check_lib_save_LIBS=$LIBS
10519 LIBS="-llcms $LIBS"
10520 cat >conftest.$ac_ext <<_ACEOF
10521 /* confdefs.h. */
10522 _ACEOF
10523 cat confdefs.h >>conftest.$ac_ext
10524 cat >>conftest.$ac_ext <<_ACEOF
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10530 #ifdef __cplusplus
10531 extern "C"
10532 #endif
10533 char cmsOpenProfileFromFile ();
10535 main ()
10537 return cmsOpenProfileFromFile ();
10539 return 0;
10541 _ACEOF
10542 rm -f conftest.$ac_objext conftest$ac_exeext
10543 if { (ac_try="$ac_link"
10544 case "(($ac_try" in
10545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10546 *) ac_try_echo=$ac_try;;
10547 esac
10548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10549 (eval "$ac_link") 2>conftest.er1
10550 ac_status=$?
10551 grep -v '^ *+' conftest.er1 >conftest.err
10552 rm -f conftest.er1
10553 cat conftest.err >&5
10554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10555 (exit $ac_status); } && {
10556 test -z "$ac_c_werror_flag" ||
10557 test ! -s conftest.err
10558 } && test -s conftest$ac_exeext &&
10559 $as_test_x conftest$ac_exeext; then
10560 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10561 else
10562 echo "$as_me: failed program was:" >&5
10563 sed 's/^/| /' conftest.$ac_ext >&5
10565 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10569 conftest$ac_exeext conftest.$ac_ext
10570 LIBS=$ac_check_lib_save_LIBS
10572 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10573 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10574 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10576 cat >>confdefs.h <<\_ACEOF
10577 #define HAVE_LCMS 1
10578 _ACEOF
10580 LCMSLIBS="-llcms"
10585 LDAPLIBS=""
10587 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10588 then
10589 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10590 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10591 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10592 echo $ECHO_N "(cached) $ECHO_C" >&6
10593 else
10594 ac_check_lib_save_LIBS=$LIBS
10595 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10596 cat >conftest.$ac_ext <<_ACEOF
10597 /* confdefs.h. */
10598 _ACEOF
10599 cat confdefs.h >>conftest.$ac_ext
10600 cat >>conftest.$ac_ext <<_ACEOF
10601 /* end confdefs.h. */
10603 /* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10606 #ifdef __cplusplus
10607 extern "C"
10608 #endif
10609 char ldap_initialize ();
10611 main ()
10613 return ldap_initialize ();
10615 return 0;
10617 _ACEOF
10618 rm -f conftest.$ac_objext conftest$ac_exeext
10619 if { (ac_try="$ac_link"
10620 case "(($ac_try" in
10621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10622 *) ac_try_echo=$ac_try;;
10623 esac
10624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10625 (eval "$ac_link") 2>conftest.er1
10626 ac_status=$?
10627 grep -v '^ *+' conftest.er1 >conftest.err
10628 rm -f conftest.er1
10629 cat conftest.err >&5
10630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10631 (exit $ac_status); } && {
10632 test -z "$ac_c_werror_flag" ||
10633 test ! -s conftest.err
10634 } && test -s conftest$ac_exeext &&
10635 $as_test_x conftest$ac_exeext; then
10636 ac_cv_lib_ldap_r_ldap_initialize=yes
10637 else
10638 echo "$as_me: failed program was:" >&5
10639 sed 's/^/| /' conftest.$ac_ext >&5
10641 ac_cv_lib_ldap_r_ldap_initialize=no
10644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10645 conftest$ac_exeext conftest.$ac_ext
10646 LIBS=$ac_check_lib_save_LIBS
10648 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10649 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10650 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10651 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10652 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10653 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10654 echo $ECHO_N "(cached) $ECHO_C" >&6
10655 else
10656 ac_check_lib_save_LIBS=$LIBS
10657 LIBS="-llber $LIBPTHREAD $LIBS"
10658 cat >conftest.$ac_ext <<_ACEOF
10659 /* confdefs.h. */
10660 _ACEOF
10661 cat confdefs.h >>conftest.$ac_ext
10662 cat >>conftest.$ac_ext <<_ACEOF
10663 /* end confdefs.h. */
10665 /* Override any GCC internal prototype to avoid an error.
10666 Use char because int might match the return type of a GCC
10667 builtin and then its argument prototype would still apply. */
10668 #ifdef __cplusplus
10669 extern "C"
10670 #endif
10671 char ber_init ();
10673 main ()
10675 return ber_init ();
10677 return 0;
10679 _ACEOF
10680 rm -f conftest.$ac_objext conftest$ac_exeext
10681 if { (ac_try="$ac_link"
10682 case "(($ac_try" in
10683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10684 *) ac_try_echo=$ac_try;;
10685 esac
10686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10687 (eval "$ac_link") 2>conftest.er1
10688 ac_status=$?
10689 grep -v '^ *+' conftest.er1 >conftest.err
10690 rm -f conftest.er1
10691 cat conftest.err >&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); } && {
10694 test -z "$ac_c_werror_flag" ||
10695 test ! -s conftest.err
10696 } && test -s conftest$ac_exeext &&
10697 $as_test_x conftest$ac_exeext; then
10698 ac_cv_lib_lber_ber_init=yes
10699 else
10700 echo "$as_me: failed program was:" >&5
10701 sed 's/^/| /' conftest.$ac_ext >&5
10703 ac_cv_lib_lber_ber_init=no
10706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10707 conftest$ac_exeext conftest.$ac_ext
10708 LIBS=$ac_check_lib_save_LIBS
10710 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10711 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10712 if test $ac_cv_lib_lber_ber_init = yes; then
10714 cat >>confdefs.h <<\_ACEOF
10715 #define HAVE_LDAP 1
10716 _ACEOF
10718 LDAPLIBS="-lldap_r -llber"
10723 ac_wine_check_funcs_save_LIBS="$LIBS"
10724 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10729 for ac_func in \
10730 ldap_count_references \
10731 ldap_first_reference \
10732 ldap_next_reference \
10733 ldap_parse_reference
10735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10736 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10738 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10739 echo $ECHO_N "(cached) $ECHO_C" >&6
10740 else
10741 cat >conftest.$ac_ext <<_ACEOF
10742 /* confdefs.h. */
10743 _ACEOF
10744 cat confdefs.h >>conftest.$ac_ext
10745 cat >>conftest.$ac_ext <<_ACEOF
10746 /* end confdefs.h. */
10747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10749 #define $ac_func innocuous_$ac_func
10751 /* System header to define __stub macros and hopefully few prototypes,
10752 which can conflict with char $ac_func (); below.
10753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10754 <limits.h> exists even on freestanding compilers. */
10756 #ifdef __STDC__
10757 # include <limits.h>
10758 #else
10759 # include <assert.h>
10760 #endif
10762 #undef $ac_func
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10767 #ifdef __cplusplus
10768 extern "C"
10769 #endif
10770 char $ac_func ();
10771 /* The GNU C library defines this for functions which it implements
10772 to always fail with ENOSYS. Some functions are actually named
10773 something starting with __ and the normal name is an alias. */
10774 #if defined __stub_$ac_func || defined __stub___$ac_func
10775 choke me
10776 #endif
10779 main ()
10781 return $ac_func ();
10783 return 0;
10785 _ACEOF
10786 rm -f conftest.$ac_objext conftest$ac_exeext
10787 if { (ac_try="$ac_link"
10788 case "(($ac_try" in
10789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10790 *) ac_try_echo=$ac_try;;
10791 esac
10792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10793 (eval "$ac_link") 2>conftest.er1
10794 ac_status=$?
10795 grep -v '^ *+' conftest.er1 >conftest.err
10796 rm -f conftest.er1
10797 cat conftest.err >&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); } && {
10800 test -z "$ac_c_werror_flag" ||
10801 test ! -s conftest.err
10802 } && test -s conftest$ac_exeext &&
10803 $as_test_x conftest$ac_exeext; then
10804 eval "$as_ac_var=yes"
10805 else
10806 echo "$as_me: failed program was:" >&5
10807 sed 's/^/| /' conftest.$ac_ext >&5
10809 eval "$as_ac_var=no"
10812 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10813 conftest$ac_exeext conftest.$ac_ext
10815 ac_res=`eval echo '${'$as_ac_var'}'`
10816 { echo "$as_me:$LINENO: result: $ac_res" >&5
10817 echo "${ECHO_T}$ac_res" >&6; }
10818 if test `eval echo '${'$as_ac_var'}'` = yes; then
10819 cat >>confdefs.h <<_ACEOF
10820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10821 _ACEOF
10824 done
10826 LIBS="$ac_wine_check_funcs_save_LIBS"
10829 FREETYPELIBS=""
10831 FREETYPEINCL=""
10833 # Extract the first word of "freetype-config", so it can be a program name with args.
10834 set dummy freetype-config; ac_word=$2
10835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10837 if test "${ac_cv_prog_ft_devel+set}" = set; then
10838 echo $ECHO_N "(cached) $ECHO_C" >&6
10839 else
10840 if test -n "$ft_devel"; then
10841 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
10842 else
10843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10844 for as_dir in $PATH
10846 IFS=$as_save_IFS
10847 test -z "$as_dir" && as_dir=.
10848 for ac_exec_ext in '' $ac_executable_extensions; do
10849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10850 ac_cv_prog_ft_devel="freetype-config"
10851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10852 break 2
10854 done
10855 done
10856 IFS=$as_save_IFS
10858 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
10861 ft_devel=$ac_cv_prog_ft_devel
10862 if test -n "$ft_devel"; then
10863 { echo "$as_me:$LINENO: result: $ft_devel" >&5
10864 echo "${ECHO_T}$ft_devel" >&6; }
10865 else
10866 { echo "$as_me:$LINENO: result: no" >&5
10867 echo "${ECHO_T}no" >&6; }
10871 if test "$ft_devel" = "no"
10872 then
10873 # Extract the first word of "freetype2-config", so it can be a program name with args.
10874 set dummy freetype2-config; ac_word=$2
10875 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10877 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10879 else
10880 if test -n "$ft_devel2"; then
10881 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
10882 else
10883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10884 for as_dir in $PATH
10886 IFS=$as_save_IFS
10887 test -z "$as_dir" && as_dir=.
10888 for ac_exec_ext in '' $ac_executable_extensions; do
10889 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10890 ac_cv_prog_ft_devel2="freetype2-config"
10891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10892 break 2
10894 done
10895 done
10896 IFS=$as_save_IFS
10898 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
10901 ft_devel2=$ac_cv_prog_ft_devel2
10902 if test -n "$ft_devel2"; then
10903 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
10904 echo "${ECHO_T}$ft_devel2" >&6; }
10905 else
10906 { echo "$as_me:$LINENO: result: no" >&5
10907 echo "${ECHO_T}no" >&6; }
10911 if test "$ft_devel2" = "freetype2-config"
10912 then
10913 ft_devel=$ft_devel2
10917 if test "$ft_devel" = "no"
10918 then
10919 wine_cv_msg_freetype=yes
10920 else
10921 FREETYPELIBS=`$ft_devel --libs`
10922 FREETYPEINCL=`$ft_devel --cflags`
10923 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10924 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
10925 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10926 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 else
10928 ac_check_lib_save_LIBS=$LIBS
10929 LIBS="-lfreetype $FREETYPELIBS $LIBS"
10930 cat >conftest.$ac_ext <<_ACEOF
10931 /* confdefs.h. */
10932 _ACEOF
10933 cat confdefs.h >>conftest.$ac_ext
10934 cat >>conftest.$ac_ext <<_ACEOF
10935 /* end confdefs.h. */
10937 /* Override any GCC internal prototype to avoid an error.
10938 Use char because int might match the return type of a GCC
10939 builtin and then its argument prototype would still apply. */
10940 #ifdef __cplusplus
10941 extern "C"
10942 #endif
10943 char FT_Init_FreeType ();
10945 main ()
10947 return FT_Init_FreeType ();
10949 return 0;
10951 _ACEOF
10952 rm -f conftest.$ac_objext conftest$ac_exeext
10953 if { (ac_try="$ac_link"
10954 case "(($ac_try" in
10955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10956 *) ac_try_echo=$ac_try;;
10957 esac
10958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10959 (eval "$ac_link") 2>conftest.er1
10960 ac_status=$?
10961 grep -v '^ *+' conftest.er1 >conftest.err
10962 rm -f conftest.er1
10963 cat conftest.err >&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); } && {
10966 test -z "$ac_c_werror_flag" ||
10967 test ! -s conftest.err
10968 } && test -s conftest$ac_exeext &&
10969 $as_test_x conftest$ac_exeext; then
10970 ac_cv_lib_freetype_FT_Init_FreeType=yes
10971 else
10972 echo "$as_me: failed program was:" >&5
10973 sed 's/^/| /' conftest.$ac_ext >&5
10975 ac_cv_lib_freetype_FT_Init_FreeType=no
10978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10979 conftest$ac_exeext conftest.$ac_ext
10980 LIBS=$ac_check_lib_save_LIBS
10982 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10983 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
10984 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10985 ft_lib=yes
10986 else
10987 ft_lib=no
10990 if test "$ft_lib" = "no"
10991 then
10992 wine_cv_msg_freetype=yes
10993 FREETYPELIBS=""
10994 FREETYPEINCL=""
10995 else
10996 ac_save_CPPFLAGS="$CPPFLAGS"
10997 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11009 for ac_header in ft2build.h \
11010 freetype/freetype.h \
11011 freetype/ftglyph.h \
11012 freetype/tttables.h \
11013 freetype/ftnames.h \
11014 freetype/ftsnames.h \
11015 freetype/ttnameid.h \
11016 freetype/ftoutln.h \
11017 freetype/ftwinfnt.h \
11018 freetype/ftmodapi.h \
11019 freetype/internal/sfnt.h
11021 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11022 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11024 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11025 echo $ECHO_N "(cached) $ECHO_C" >&6
11026 else
11027 cat >conftest.$ac_ext <<_ACEOF
11028 /* confdefs.h. */
11029 _ACEOF
11030 cat confdefs.h >>conftest.$ac_ext
11031 cat >>conftest.$ac_ext <<_ACEOF
11032 /* end confdefs.h. */
11033 #if HAVE_FT2BUILD_H
11034 #include <ft2build.h>
11035 #endif
11037 #include <$ac_header>
11038 _ACEOF
11039 rm -f conftest.$ac_objext
11040 if { (ac_try="$ac_compile"
11041 case "(($ac_try" in
11042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11043 *) ac_try_echo=$ac_try;;
11044 esac
11045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11046 (eval "$ac_compile") 2>conftest.er1
11047 ac_status=$?
11048 grep -v '^ *+' conftest.er1 >conftest.err
11049 rm -f conftest.er1
11050 cat conftest.err >&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } && {
11053 test -z "$ac_c_werror_flag" ||
11054 test ! -s conftest.err
11055 } && test -s conftest.$ac_objext; then
11056 eval "$as_ac_Header=yes"
11057 else
11058 echo "$as_me: failed program was:" >&5
11059 sed 's/^/| /' conftest.$ac_ext >&5
11061 eval "$as_ac_Header=no"
11064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11066 ac_res=`eval echo '${'$as_ac_Header'}'`
11067 { echo "$as_me:$LINENO: result: $ac_res" >&5
11068 echo "${ECHO_T}$ac_res" >&6; }
11069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11070 cat >>confdefs.h <<_ACEOF
11071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11072 _ACEOF
11076 done
11078 cat >conftest.$ac_ext <<_ACEOF
11079 /* confdefs.h. */
11080 _ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h. */
11084 #include <ft2build.h>
11085 #include <freetype/fttrigon.h>
11086 _ACEOF
11087 if { (ac_try="$ac_cpp conftest.$ac_ext"
11088 case "(($ac_try" in
11089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11090 *) ac_try_echo=$ac_try;;
11091 esac
11092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11093 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11094 ac_status=$?
11095 grep -v '^ *+' conftest.er1 >conftest.err
11096 rm -f conftest.er1
11097 cat conftest.err >&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); } >/dev/null && {
11100 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11101 test ! -s conftest.err
11102 }; then
11104 cat >>confdefs.h <<\_ACEOF
11105 #define HAVE_FREETYPE_FTTRIGON_H 1
11106 _ACEOF
11108 wine_cv_fttrigon=yes
11109 else
11110 echo "$as_me: failed program was:" >&5
11111 sed 's/^/| /' conftest.$ac_ext >&5
11113 wine_cv_fttrigon=no
11116 rm -f conftest.err conftest.$ac_ext
11117 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11118 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11119 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11120 echo $ECHO_N "(cached) $ECHO_C" >&6
11121 else
11122 cat >conftest.$ac_ext <<_ACEOF
11123 /* confdefs.h. */
11124 _ACEOF
11125 cat confdefs.h >>conftest.$ac_ext
11126 cat >>conftest.$ac_ext <<_ACEOF
11127 /* end confdefs.h. */
11128 #include <freetype/ftmodapi.h>
11130 typedef FT_TrueTypeEngineType ac__type_new_;
11132 main ()
11134 if ((ac__type_new_ *) 0)
11135 return 0;
11136 if (sizeof (ac__type_new_))
11137 return 0;
11139 return 0;
11141 _ACEOF
11142 rm -f conftest.$ac_objext
11143 if { (ac_try="$ac_compile"
11144 case "(($ac_try" in
11145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11146 *) ac_try_echo=$ac_try;;
11147 esac
11148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11149 (eval "$ac_compile") 2>conftest.er1
11150 ac_status=$?
11151 grep -v '^ *+' conftest.er1 >conftest.err
11152 rm -f conftest.er1
11153 cat conftest.err >&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } && {
11156 test -z "$ac_c_werror_flag" ||
11157 test ! -s conftest.err
11158 } && test -s conftest.$ac_objext; then
11159 ac_cv_type_FT_TrueTypeEngineType=yes
11160 else
11161 echo "$as_me: failed program was:" >&5
11162 sed 's/^/| /' conftest.$ac_ext >&5
11164 ac_cv_type_FT_TrueTypeEngineType=no
11167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11169 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11170 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11171 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11173 cat >>confdefs.h <<_ACEOF
11174 #define HAVE_FT_TRUETYPEENGINETYPE 1
11175 _ACEOF
11180 ac_save_CFLAGS="$CFLAGS"
11181 CFLAGS="$CFLAGS $FREETYPELIBS"
11183 for ac_func in FT_Load_Sfnt_Table
11185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11186 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11188 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 else
11191 cat >conftest.$ac_ext <<_ACEOF
11192 /* confdefs.h. */
11193 _ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11199 #define $ac_func innocuous_$ac_func
11201 /* System header to define __stub macros and hopefully few prototypes,
11202 which can conflict with char $ac_func (); below.
11203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11204 <limits.h> exists even on freestanding compilers. */
11206 #ifdef __STDC__
11207 # include <limits.h>
11208 #else
11209 # include <assert.h>
11210 #endif
11212 #undef $ac_func
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11217 #ifdef __cplusplus
11218 extern "C"
11219 #endif
11220 char $ac_func ();
11221 /* The GNU C library defines this for functions which it implements
11222 to always fail with ENOSYS. Some functions are actually named
11223 something starting with __ and the normal name is an alias. */
11224 #if defined __stub_$ac_func || defined __stub___$ac_func
11225 choke me
11226 #endif
11229 main ()
11231 return $ac_func ();
11233 return 0;
11235 _ACEOF
11236 rm -f conftest.$ac_objext conftest$ac_exeext
11237 if { (ac_try="$ac_link"
11238 case "(($ac_try" in
11239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11240 *) ac_try_echo=$ac_try;;
11241 esac
11242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11243 (eval "$ac_link") 2>conftest.er1
11244 ac_status=$?
11245 grep -v '^ *+' conftest.er1 >conftest.err
11246 rm -f conftest.er1
11247 cat conftest.err >&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } && {
11250 test -z "$ac_c_werror_flag" ||
11251 test ! -s conftest.err
11252 } && test -s conftest$ac_exeext &&
11253 $as_test_x conftest$ac_exeext; then
11254 eval "$as_ac_var=yes"
11255 else
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11259 eval "$as_ac_var=no"
11262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11263 conftest$ac_exeext conftest.$ac_ext
11265 ac_res=`eval echo '${'$as_ac_var'}'`
11266 { echo "$as_me:$LINENO: result: $ac_res" >&5
11267 echo "${ECHO_T}$ac_res" >&6; }
11268 if test `eval echo '${'$as_ac_var'}'` = yes; then
11269 cat >>confdefs.h <<_ACEOF
11270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11271 _ACEOF
11274 done
11276 CFLAGS="$ac_save_CFLAGS"
11277 CPPFLAGS="$ac_save_CPPFLAGS"
11278 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11279 then
11281 cat >>confdefs.h <<\_ACEOF
11282 #define HAVE_FREETYPE 1
11283 _ACEOF
11285 wine_cv_msg_freetype=no
11286 else
11287 FREETYPELIBS=""
11288 FREETYPEINCL=""
11289 wine_cv_msg_freetype=yes
11294 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11295 then
11296 FONTSSUBDIRS="fonts"
11300 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11301 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11302 if test "${ac_cv_c_ppdev+set}" = set; then
11303 echo $ECHO_N "(cached) $ECHO_C" >&6
11304 else
11305 cat >conftest.$ac_ext <<_ACEOF
11306 /* confdefs.h. */
11307 _ACEOF
11308 cat confdefs.h >>conftest.$ac_ext
11309 cat >>conftest.$ac_ext <<_ACEOF
11310 /* end confdefs.h. */
11311 #include <linux/ppdev.h>
11313 main ()
11315 ioctl (1,PPCLAIM,0)
11317 return 0;
11319 _ACEOF
11320 rm -f conftest.$ac_objext
11321 if { (ac_try="$ac_compile"
11322 case "(($ac_try" in
11323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11324 *) ac_try_echo=$ac_try;;
11325 esac
11326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11327 (eval "$ac_compile") 2>conftest.er1
11328 ac_status=$?
11329 grep -v '^ *+' conftest.er1 >conftest.err
11330 rm -f conftest.er1
11331 cat conftest.err >&5
11332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11333 (exit $ac_status); } && {
11334 test -z "$ac_c_werror_flag" ||
11335 test ! -s conftest.err
11336 } && test -s conftest.$ac_objext; then
11337 ac_cv_c_ppdev="yes"
11338 else
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11342 ac_cv_c_ppdev="no"
11345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11348 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11349 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11350 if test "$ac_cv_c_ppdev" = "yes"
11351 then
11353 cat >>confdefs.h <<\_ACEOF
11354 #define HAVE_PPDEV 1
11355 _ACEOF
11359 { echo "$as_me:$LINENO: checking for va_copy" >&5
11360 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11361 if test "${ac_cv_c_va_copy+set}" = set; then
11362 echo $ECHO_N "(cached) $ECHO_C" >&6
11363 else
11364 cat >conftest.$ac_ext <<_ACEOF
11365 /* confdefs.h. */
11366 _ACEOF
11367 cat confdefs.h >>conftest.$ac_ext
11368 cat >>conftest.$ac_ext <<_ACEOF
11369 /* end confdefs.h. */
11370 #include <stdarg.h>
11372 main ()
11374 va_list ap1, ap2;
11375 va_copy(ap1,ap2);
11378 return 0;
11380 _ACEOF
11381 rm -f conftest.$ac_objext conftest$ac_exeext
11382 if { (ac_try="$ac_link"
11383 case "(($ac_try" in
11384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11385 *) ac_try_echo=$ac_try;;
11386 esac
11387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11388 (eval "$ac_link") 2>conftest.er1
11389 ac_status=$?
11390 grep -v '^ *+' conftest.er1 >conftest.err
11391 rm -f conftest.er1
11392 cat conftest.err >&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); } && {
11395 test -z "$ac_c_werror_flag" ||
11396 test ! -s conftest.err
11397 } && test -s conftest$ac_exeext &&
11398 $as_test_x conftest$ac_exeext; then
11399 ac_cv_c_va_copy="yes"
11400 else
11401 echo "$as_me: failed program was:" >&5
11402 sed 's/^/| /' conftest.$ac_ext >&5
11404 ac_cv_c_va_copy="no"
11407 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11408 conftest$ac_exeext conftest.$ac_ext
11411 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11412 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11413 if test "$ac_cv_c_va_copy" = "yes"
11414 then
11416 cat >>confdefs.h <<\_ACEOF
11417 #define HAVE_VA_COPY 1
11418 _ACEOF
11421 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11422 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11423 if test "${ac_cv_c___va_copy+set}" = set; then
11424 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 else
11426 cat >conftest.$ac_ext <<_ACEOF
11427 /* confdefs.h. */
11428 _ACEOF
11429 cat confdefs.h >>conftest.$ac_ext
11430 cat >>conftest.$ac_ext <<_ACEOF
11431 /* end confdefs.h. */
11432 #include <stdarg.h>
11434 main ()
11436 va_list ap1, ap2;
11437 __va_copy(ap1,ap2);
11440 return 0;
11442 _ACEOF
11443 rm -f conftest.$ac_objext conftest$ac_exeext
11444 if { (ac_try="$ac_link"
11445 case "(($ac_try" in
11446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11447 *) ac_try_echo=$ac_try;;
11448 esac
11449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11450 (eval "$ac_link") 2>conftest.er1
11451 ac_status=$?
11452 grep -v '^ *+' conftest.er1 >conftest.err
11453 rm -f conftest.er1
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } && {
11457 test -z "$ac_c_werror_flag" ||
11458 test ! -s conftest.err
11459 } && test -s conftest$ac_exeext &&
11460 $as_test_x conftest$ac_exeext; then
11461 ac_cv_c___va_copy="yes"
11462 else
11463 echo "$as_me: failed program was:" >&5
11464 sed 's/^/| /' conftest.$ac_ext >&5
11466 ac_cv_c___va_copy="no"
11469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11470 conftest$ac_exeext conftest.$ac_ext
11473 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11474 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11475 if test "$ac_cv_c___va_copy" = "yes"
11476 then
11478 cat >>confdefs.h <<\_ACEOF
11479 #define HAVE___VA_COPY 1
11480 _ACEOF
11484 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11485 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11486 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11487 echo $ECHO_N "(cached) $ECHO_C" >&6
11488 else
11489 cat >conftest.$ac_ext <<_ACEOF
11490 /* confdefs.h. */
11491 _ACEOF
11492 cat confdefs.h >>conftest.$ac_ext
11493 cat >>conftest.$ac_ext <<_ACEOF
11494 /* end confdefs.h. */
11495 #include <setjmp.h>
11497 main ()
11499 sigjmp_buf buf;
11500 sigsetjmp( buf, 1 );
11501 siglongjmp( buf, 1 );
11503 return 0;
11505 _ACEOF
11506 rm -f conftest.$ac_objext conftest$ac_exeext
11507 if { (ac_try="$ac_link"
11508 case "(($ac_try" in
11509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11510 *) ac_try_echo=$ac_try;;
11511 esac
11512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11513 (eval "$ac_link") 2>conftest.er1
11514 ac_status=$?
11515 grep -v '^ *+' conftest.er1 >conftest.err
11516 rm -f conftest.er1
11517 cat conftest.err >&5
11518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519 (exit $ac_status); } && {
11520 test -z "$ac_c_werror_flag" ||
11521 test ! -s conftest.err
11522 } && test -s conftest$ac_exeext &&
11523 $as_test_x conftest$ac_exeext; then
11524 ac_cv_c_sigsetjmp="yes"
11525 else
11526 echo "$as_me: failed program was:" >&5
11527 sed 's/^/| /' conftest.$ac_ext >&5
11529 ac_cv_c_sigsetjmp="no"
11532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11533 conftest$ac_exeext conftest.$ac_ext
11536 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11537 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11538 if test "$ac_cv_c_sigsetjmp" = "yes"
11539 then
11541 cat >>confdefs.h <<\_ACEOF
11542 #define HAVE_SIGSETJMP 1
11543 _ACEOF
11547 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11548 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11549 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11550 echo $ECHO_N "(cached) $ECHO_C" >&6
11551 else
11552 cat >conftest.$ac_ext <<_ACEOF
11553 /* confdefs.h. */
11554 _ACEOF
11555 cat confdefs.h >>conftest.$ac_ext
11556 cat >>conftest.$ac_ext <<_ACEOF
11557 /* end confdefs.h. */
11558 #define _GNU_SOURCE
11559 #include <pthread.h>
11561 typedef pthread_rwlock_t ac__type_new_;
11563 main ()
11565 if ((ac__type_new_ *) 0)
11566 return 0;
11567 if (sizeof (ac__type_new_))
11568 return 0;
11570 return 0;
11572 _ACEOF
11573 rm -f conftest.$ac_objext
11574 if { (ac_try="$ac_compile"
11575 case "(($ac_try" in
11576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11577 *) ac_try_echo=$ac_try;;
11578 esac
11579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11580 (eval "$ac_compile") 2>conftest.er1
11581 ac_status=$?
11582 grep -v '^ *+' conftest.er1 >conftest.err
11583 rm -f conftest.er1
11584 cat conftest.err >&5
11585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11586 (exit $ac_status); } && {
11587 test -z "$ac_c_werror_flag" ||
11588 test ! -s conftest.err
11589 } && test -s conftest.$ac_objext; then
11590 ac_cv_type_pthread_rwlock_t=yes
11591 else
11592 echo "$as_me: failed program was:" >&5
11593 sed 's/^/| /' conftest.$ac_ext >&5
11595 ac_cv_type_pthread_rwlock_t=no
11598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11600 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11601 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11602 if test $ac_cv_type_pthread_rwlock_t = yes; then
11604 cat >>confdefs.h <<_ACEOF
11605 #define HAVE_PTHREAD_RWLOCK_T 1
11606 _ACEOF
11610 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11611 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11612 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11614 else
11615 cat >conftest.$ac_ext <<_ACEOF
11616 /* confdefs.h. */
11617 _ACEOF
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11621 #define _GNU_SOURCE
11622 #include <pthread.h>
11624 typedef pthread_rwlockattr_t ac__type_new_;
11626 main ()
11628 if ((ac__type_new_ *) 0)
11629 return 0;
11630 if (sizeof (ac__type_new_))
11631 return 0;
11633 return 0;
11635 _ACEOF
11636 rm -f conftest.$ac_objext
11637 if { (ac_try="$ac_compile"
11638 case "(($ac_try" in
11639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11640 *) ac_try_echo=$ac_try;;
11641 esac
11642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11643 (eval "$ac_compile") 2>conftest.er1
11644 ac_status=$?
11645 grep -v '^ *+' conftest.er1 >conftest.err
11646 rm -f conftest.er1
11647 cat conftest.err >&5
11648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11649 (exit $ac_status); } && {
11650 test -z "$ac_c_werror_flag" ||
11651 test ! -s conftest.err
11652 } && test -s conftest.$ac_objext; then
11653 ac_cv_type_pthread_rwlockattr_t=yes
11654 else
11655 echo "$as_me: failed program was:" >&5
11656 sed 's/^/| /' conftest.$ac_ext >&5
11658 ac_cv_type_pthread_rwlockattr_t=no
11661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11663 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11664 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11665 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11667 cat >>confdefs.h <<_ACEOF
11668 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11669 _ACEOF
11675 ac_wine_check_funcs_save_LIBS="$LIBS"
11676 LIBS="$LIBS $LIBPTHREAD"
11681 for ac_func in \
11682 pthread_attr_get_np \
11683 pthread_getattr_np \
11684 pthread_get_stackaddr_np \
11685 pthread_get_stacksize_np
11687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11688 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11690 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 else
11693 cat >conftest.$ac_ext <<_ACEOF
11694 /* confdefs.h. */
11695 _ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11701 #define $ac_func innocuous_$ac_func
11703 /* System header to define __stub macros and hopefully few prototypes,
11704 which can conflict with char $ac_func (); below.
11705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11706 <limits.h> exists even on freestanding compilers. */
11708 #ifdef __STDC__
11709 # include <limits.h>
11710 #else
11711 # include <assert.h>
11712 #endif
11714 #undef $ac_func
11716 /* Override any GCC internal prototype to avoid an error.
11717 Use char because int might match the return type of a GCC
11718 builtin and then its argument prototype would still apply. */
11719 #ifdef __cplusplus
11720 extern "C"
11721 #endif
11722 char $ac_func ();
11723 /* The GNU C library defines this for functions which it implements
11724 to always fail with ENOSYS. Some functions are actually named
11725 something starting with __ and the normal name is an alias. */
11726 #if defined __stub_$ac_func || defined __stub___$ac_func
11727 choke me
11728 #endif
11731 main ()
11733 return $ac_func ();
11735 return 0;
11737 _ACEOF
11738 rm -f conftest.$ac_objext conftest$ac_exeext
11739 if { (ac_try="$ac_link"
11740 case "(($ac_try" in
11741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11742 *) ac_try_echo=$ac_try;;
11743 esac
11744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11745 (eval "$ac_link") 2>conftest.er1
11746 ac_status=$?
11747 grep -v '^ *+' conftest.er1 >conftest.err
11748 rm -f conftest.er1
11749 cat conftest.err >&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); } && {
11752 test -z "$ac_c_werror_flag" ||
11753 test ! -s conftest.err
11754 } && test -s conftest$ac_exeext &&
11755 $as_test_x conftest$ac_exeext; then
11756 eval "$as_ac_var=yes"
11757 else
11758 echo "$as_me: failed program was:" >&5
11759 sed 's/^/| /' conftest.$ac_ext >&5
11761 eval "$as_ac_var=no"
11764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11765 conftest$ac_exeext conftest.$ac_ext
11767 ac_res=`eval echo '${'$as_ac_var'}'`
11768 { echo "$as_me:$LINENO: result: $ac_res" >&5
11769 echo "${ECHO_T}$ac_res" >&6; }
11770 if test `eval echo '${'$as_ac_var'}'` = yes; then
11771 cat >>confdefs.h <<_ACEOF
11772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11773 _ACEOF
11776 done
11778 LIBS="$ac_wine_check_funcs_save_LIBS"
11780 # Extract the first word of "esd-config", so it can be a program name with args.
11781 set dummy esd-config; ac_word=$2
11782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11784 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
11785 echo $ECHO_N "(cached) $ECHO_C" >&6
11786 else
11787 case $ESDCONFIG in
11788 [\\/]* | ?:[\\/]*)
11789 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
11792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11793 for as_dir in $PATH
11795 IFS=$as_save_IFS
11796 test -z "$as_dir" && as_dir=.
11797 for ac_exec_ext in '' $ac_executable_extensions; do
11798 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11799 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
11800 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11801 break 2
11803 done
11804 done
11805 IFS=$as_save_IFS
11808 esac
11810 ESDCONFIG=$ac_cv_path_ESDCONFIG
11811 if test -n "$ESDCONFIG"; then
11812 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
11813 echo "${ECHO_T}$ESDCONFIG" >&6; }
11814 else
11815 { echo "$as_me:$LINENO: result: no" >&5
11816 echo "${ECHO_T}no" >&6; }
11820 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
11821 then
11822 ESD_CFLAGS=""
11823 for i in `$ESDCONFIG --cflags`
11825 case "$i" in
11826 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
11827 esac
11828 done
11829 ESD_LIBS=`$ESDCONFIG --libs`
11830 save_CFLAGS="$CFLAGS"
11831 CFLAGS="$CFLAGS $ESD_CFLAGS"
11832 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
11833 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
11834 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
11835 echo $ECHO_N "(cached) $ECHO_C" >&6
11836 else
11837 ac_check_lib_save_LIBS=$LIBS
11838 LIBS="-lesd $LIBS"
11839 cat >conftest.$ac_ext <<_ACEOF
11840 /* confdefs.h. */
11841 _ACEOF
11842 cat confdefs.h >>conftest.$ac_ext
11843 cat >>conftest.$ac_ext <<_ACEOF
11844 /* end confdefs.h. */
11846 /* Override any GCC internal prototype to avoid an error.
11847 Use char because int might match the return type of a GCC
11848 builtin and then its argument prototype would still apply. */
11849 #ifdef __cplusplus
11850 extern "C"
11851 #endif
11852 char esd_open_sound ();
11854 main ()
11856 return esd_open_sound ();
11858 return 0;
11860 _ACEOF
11861 rm -f conftest.$ac_objext conftest$ac_exeext
11862 if { (ac_try="$ac_link"
11863 case "(($ac_try" in
11864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11865 *) ac_try_echo=$ac_try;;
11866 esac
11867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11868 (eval "$ac_link") 2>conftest.er1
11869 ac_status=$?
11870 grep -v '^ *+' conftest.er1 >conftest.err
11871 rm -f conftest.er1
11872 cat conftest.err >&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); } && {
11875 test -z "$ac_c_werror_flag" ||
11876 test ! -s conftest.err
11877 } && test -s conftest$ac_exeext &&
11878 $as_test_x conftest$ac_exeext; then
11879 ac_cv_lib_esd_esd_open_sound=yes
11880 else
11881 echo "$as_me: failed program was:" >&5
11882 sed 's/^/| /' conftest.$ac_ext >&5
11884 ac_cv_lib_esd_esd_open_sound=no
11887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11888 conftest$ac_exeext conftest.$ac_ext
11889 LIBS=$ac_check_lib_save_LIBS
11891 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
11892 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
11893 if test $ac_cv_lib_esd_esd_open_sound = yes; then
11894 ESDLIBS=$ESD_LIBS
11896 ESDINCL=$ESD_CFLAGS
11899 cat >>confdefs.h <<\_ACEOF
11900 #define HAVE_ESD 1
11901 _ACEOF
11905 CFLAGS="$save_CFLAGS"
11908 ALSALIBS=""
11910 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11911 then
11912 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
11913 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
11914 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
11915 echo $ECHO_N "(cached) $ECHO_C" >&6
11916 else
11917 ac_check_lib_save_LIBS=$LIBS
11918 LIBS="-lasound $LIBS"
11919 cat >conftest.$ac_ext <<_ACEOF
11920 /* confdefs.h. */
11921 _ACEOF
11922 cat confdefs.h >>conftest.$ac_ext
11923 cat >>conftest.$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11926 /* Override any GCC internal prototype to avoid an error.
11927 Use char because int might match the return type of a GCC
11928 builtin and then its argument prototype would still apply. */
11929 #ifdef __cplusplus
11930 extern "C"
11931 #endif
11932 char snd_pcm_hw_params_get_access ();
11934 main ()
11936 return snd_pcm_hw_params_get_access ();
11938 return 0;
11940 _ACEOF
11941 rm -f conftest.$ac_objext conftest$ac_exeext
11942 if { (ac_try="$ac_link"
11943 case "(($ac_try" in
11944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11945 *) ac_try_echo=$ac_try;;
11946 esac
11947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11948 (eval "$ac_link") 2>conftest.er1
11949 ac_status=$?
11950 grep -v '^ *+' conftest.er1 >conftest.err
11951 rm -f conftest.er1
11952 cat conftest.err >&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); } && {
11955 test -z "$ac_c_werror_flag" ||
11956 test ! -s conftest.err
11957 } && test -s conftest$ac_exeext &&
11958 $as_test_x conftest$ac_exeext; then
11959 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
11960 else
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.$ac_ext >&5
11964 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
11967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11968 conftest$ac_exeext conftest.$ac_ext
11969 LIBS=$ac_check_lib_save_LIBS
11971 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
11972 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
11973 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
11974 cat >conftest.$ac_ext <<_ACEOF
11975 /* confdefs.h. */
11976 _ACEOF
11977 cat confdefs.h >>conftest.$ac_ext
11978 cat >>conftest.$ac_ext <<_ACEOF
11979 /* end confdefs.h. */
11980 #ifdef HAVE_ALSA_ASOUNDLIB_H
11981 #include <alsa/asoundlib.h>
11982 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11983 #include <sys/asoundlib.h>
11984 #endif
11986 main ()
11988 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
11990 return 0;
11992 _ACEOF
11993 rm -f conftest.$ac_objext
11994 if { (ac_try="$ac_compile"
11995 case "(($ac_try" in
11996 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11997 *) ac_try_echo=$ac_try;;
11998 esac
11999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12000 (eval "$ac_compile") 2>conftest.er1
12001 ac_status=$?
12002 grep -v '^ *+' conftest.er1 >conftest.err
12003 rm -f conftest.er1
12004 cat conftest.err >&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); } && {
12007 test -z "$ac_c_werror_flag" ||
12008 test ! -s conftest.err
12009 } && test -s conftest.$ac_objext; then
12011 cat >>confdefs.h <<\_ACEOF
12012 #define HAVE_ALSA 1
12013 _ACEOF
12015 ALSALIBS="-lasound"
12016 else
12017 echo "$as_me: failed program was:" >&5
12018 sed 's/^/| /' conftest.$ac_ext >&5
12023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12029 AUDIOIOLIBS=""
12031 if test "$ac_cv_header_libaudioio_h" = "yes"
12032 then
12033 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12034 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12035 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12036 echo $ECHO_N "(cached) $ECHO_C" >&6
12037 else
12038 ac_check_lib_save_LIBS=$LIBS
12039 LIBS="-laudioio $LIBS"
12040 cat >conftest.$ac_ext <<_ACEOF
12041 /* confdefs.h. */
12042 _ACEOF
12043 cat confdefs.h >>conftest.$ac_ext
12044 cat >>conftest.$ac_ext <<_ACEOF
12045 /* end confdefs.h. */
12047 /* Override any GCC internal prototype to avoid an error.
12048 Use char because int might match the return type of a GCC
12049 builtin and then its argument prototype would still apply. */
12050 #ifdef __cplusplus
12051 extern "C"
12052 #endif
12053 char AudioIOGetVersion ();
12055 main ()
12057 return AudioIOGetVersion ();
12059 return 0;
12061 _ACEOF
12062 rm -f conftest.$ac_objext conftest$ac_exeext
12063 if { (ac_try="$ac_link"
12064 case "(($ac_try" in
12065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12066 *) ac_try_echo=$ac_try;;
12067 esac
12068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12069 (eval "$ac_link") 2>conftest.er1
12070 ac_status=$?
12071 grep -v '^ *+' conftest.er1 >conftest.err
12072 rm -f conftest.er1
12073 cat conftest.err >&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); } && {
12076 test -z "$ac_c_werror_flag" ||
12077 test ! -s conftest.err
12078 } && test -s conftest$ac_exeext &&
12079 $as_test_x conftest$ac_exeext; then
12080 ac_cv_lib_audioio_AudioIOGetVersion=yes
12081 else
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.$ac_ext >&5
12085 ac_cv_lib_audioio_AudioIOGetVersion=no
12088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12089 conftest$ac_exeext conftest.$ac_ext
12090 LIBS=$ac_check_lib_save_LIBS
12092 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12093 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12094 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12095 AUDIOIOLIBS="-laudioio"
12097 cat >>confdefs.h <<\_ACEOF
12098 #define HAVE_LIBAUDIOIO 1
12099 _ACEOF
12106 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12107 then
12108 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12109 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12110 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12112 else
12113 ac_check_lib_save_LIBS=$LIBS
12114 LIBS="-lcapi20 $LIBS"
12115 cat >conftest.$ac_ext <<_ACEOF
12116 /* confdefs.h. */
12117 _ACEOF
12118 cat confdefs.h >>conftest.$ac_ext
12119 cat >>conftest.$ac_ext <<_ACEOF
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12125 #ifdef __cplusplus
12126 extern "C"
12127 #endif
12128 char capi20_register ();
12130 main ()
12132 return capi20_register ();
12134 return 0;
12136 _ACEOF
12137 rm -f conftest.$ac_objext conftest$ac_exeext
12138 if { (ac_try="$ac_link"
12139 case "(($ac_try" in
12140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12141 *) ac_try_echo=$ac_try;;
12142 esac
12143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12144 (eval "$ac_link") 2>conftest.er1
12145 ac_status=$?
12146 grep -v '^ *+' conftest.er1 >conftest.err
12147 rm -f conftest.er1
12148 cat conftest.err >&5
12149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150 (exit $ac_status); } && {
12151 test -z "$ac_c_werror_flag" ||
12152 test ! -s conftest.err
12153 } && test -s conftest$ac_exeext &&
12154 $as_test_x conftest$ac_exeext; then
12155 ac_cv_lib_capi20_capi20_register=yes
12156 else
12157 echo "$as_me: failed program was:" >&5
12158 sed 's/^/| /' conftest.$ac_ext >&5
12160 ac_cv_lib_capi20_capi20_register=no
12163 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12164 conftest$ac_exeext conftest.$ac_ext
12165 LIBS=$ac_check_lib_save_LIBS
12167 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12168 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12169 if test $ac_cv_lib_capi20_capi20_register = yes; then
12171 cat >>confdefs.h <<\_ACEOF
12172 #define HAVE_CAPI4LINUX 1
12173 _ACEOF
12180 EXTRACFLAGS=""
12182 if test "x${GCC}" = "xyes"
12183 then
12184 EXTRACFLAGS="-Wall -pipe"
12186 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12187 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12188 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 else
12191 if test "$cross_compiling" = yes; then
12192 ac_cv_c_gcc_strength_bug="yes"
12193 else
12194 cat >conftest.$ac_ext <<_ACEOF
12195 /* confdefs.h. */
12196 _ACEOF
12197 cat confdefs.h >>conftest.$ac_ext
12198 cat >>conftest.$ac_ext <<_ACEOF
12199 /* end confdefs.h. */
12201 int L[4] = {0,1,2,3};
12202 int main(void) {
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;
12210 exit( Array[1] != -2 || L[2] != 3);
12212 _ACEOF
12213 rm -f conftest$ac_exeext
12214 if { (ac_try="$ac_link"
12215 case "(($ac_try" in
12216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12217 *) ac_try_echo=$ac_try;;
12218 esac
12219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12220 (eval "$ac_link") 2>&5
12221 ac_status=$?
12222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12223 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12224 { (case "(($ac_try" in
12225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12226 *) ac_try_echo=$ac_try;;
12227 esac
12228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12229 (eval "$ac_try") 2>&5
12230 ac_status=$?
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); }; }; then
12233 ac_cv_c_gcc_strength_bug="no"
12234 else
12235 echo "$as_me: program exited with status $ac_status" >&5
12236 echo "$as_me: failed program was:" >&5
12237 sed 's/^/| /' conftest.$ac_ext >&5
12239 ( exit $ac_status )
12240 ac_cv_c_gcc_strength_bug="yes"
12242 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12247 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12248 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12249 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12250 then
12251 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12255 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12256 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12257 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12258 echo $ECHO_N "(cached) $ECHO_C" >&6
12259 else
12260 ac_wine_try_cflags_saved=$CFLAGS
12261 CFLAGS="$CFLAGS -fshort-wchar"
12262 cat >conftest.$ac_ext <<_ACEOF
12263 /* confdefs.h. */
12264 _ACEOF
12265 cat confdefs.h >>conftest.$ac_ext
12266 cat >>conftest.$ac_ext <<_ACEOF
12267 /* end confdefs.h. */
12270 main ()
12274 return 0;
12276 _ACEOF
12277 rm -f conftest.$ac_objext conftest$ac_exeext
12278 if { (ac_try="$ac_link"
12279 case "(($ac_try" in
12280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12281 *) ac_try_echo=$ac_try;;
12282 esac
12283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12284 (eval "$ac_link") 2>conftest.er1
12285 ac_status=$?
12286 grep -v '^ *+' conftest.er1 >conftest.err
12287 rm -f conftest.er1
12288 cat conftest.err >&5
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); } && {
12291 test -z "$ac_c_werror_flag" ||
12292 test ! -s conftest.err
12293 } && test -s conftest$ac_exeext &&
12294 $as_test_x conftest$ac_exeext; then
12295 ac_cv_cflags__fshort_wchar=yes
12296 else
12297 echo "$as_me: failed program was:" >&5
12298 sed 's/^/| /' conftest.$ac_ext >&5
12300 ac_cv_cflags__fshort_wchar=no
12303 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12304 conftest$ac_exeext conftest.$ac_ext
12305 CFLAGS=$ac_wine_try_cflags_saved
12307 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12308 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12309 if test $ac_cv_cflags__fshort_wchar = yes; then
12311 cat >>confdefs.h <<\_ACEOF
12312 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12313 _ACEOF
12317 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12318 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12319 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12320 echo $ECHO_N "(cached) $ECHO_C" >&6
12321 else
12322 ac_wine_try_cflags_saved=$CFLAGS
12323 CFLAGS="$CFLAGS -fno-strict-aliasing"
12324 cat >conftest.$ac_ext <<_ACEOF
12325 /* confdefs.h. */
12326 _ACEOF
12327 cat confdefs.h >>conftest.$ac_ext
12328 cat >>conftest.$ac_ext <<_ACEOF
12329 /* end confdefs.h. */
12332 main ()
12336 return 0;
12338 _ACEOF
12339 rm -f conftest.$ac_objext conftest$ac_exeext
12340 if { (ac_try="$ac_link"
12341 case "(($ac_try" in
12342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12343 *) ac_try_echo=$ac_try;;
12344 esac
12345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12346 (eval "$ac_link") 2>conftest.er1
12347 ac_status=$?
12348 grep -v '^ *+' conftest.er1 >conftest.err
12349 rm -f conftest.er1
12350 cat conftest.err >&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); } && {
12353 test -z "$ac_c_werror_flag" ||
12354 test ! -s conftest.err
12355 } && test -s conftest$ac_exeext &&
12356 $as_test_x conftest$ac_exeext; then
12357 ac_cv_cflags__fno_strict_aliasing=yes
12358 else
12359 echo "$as_me: failed program was:" >&5
12360 sed 's/^/| /' conftest.$ac_ext >&5
12362 ac_cv_cflags__fno_strict_aliasing=no
12365 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12366 conftest$ac_exeext conftest.$ac_ext
12367 CFLAGS=$ac_wine_try_cflags_saved
12369 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12370 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12371 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12372 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12375 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12376 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12377 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12378 echo $ECHO_N "(cached) $ECHO_C" >&6
12379 else
12380 ac_wine_try_cflags_saved=$CFLAGS
12381 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12382 cat >conftest.$ac_ext <<_ACEOF
12383 /* confdefs.h. */
12384 _ACEOF
12385 cat confdefs.h >>conftest.$ac_ext
12386 cat >>conftest.$ac_ext <<_ACEOF
12387 /* end confdefs.h. */
12390 main ()
12394 return 0;
12396 _ACEOF
12397 rm -f conftest.$ac_objext conftest$ac_exeext
12398 if { (ac_try="$ac_link"
12399 case "(($ac_try" in
12400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12401 *) ac_try_echo=$ac_try;;
12402 esac
12403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12404 (eval "$ac_link") 2>conftest.er1
12405 ac_status=$?
12406 grep -v '^ *+' conftest.er1 >conftest.err
12407 rm -f conftest.er1
12408 cat conftest.err >&5
12409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410 (exit $ac_status); } && {
12411 test -z "$ac_c_werror_flag" ||
12412 test ! -s conftest.err
12413 } && test -s conftest$ac_exeext &&
12414 $as_test_x conftest$ac_exeext; then
12415 ac_cv_cflags__Wdeclaration_after_statement=yes
12416 else
12417 echo "$as_me: failed program was:" >&5
12418 sed 's/^/| /' conftest.$ac_ext >&5
12420 ac_cv_cflags__Wdeclaration_after_statement=no
12423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12424 conftest$ac_exeext conftest.$ac_ext
12425 CFLAGS=$ac_wine_try_cflags_saved
12427 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12428 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12429 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12430 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12433 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12434 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12435 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12436 echo $ECHO_N "(cached) $ECHO_C" >&6
12437 else
12438 ac_wine_try_cflags_saved=$CFLAGS
12439 CFLAGS="$CFLAGS -Wwrite-strings"
12440 cat >conftest.$ac_ext <<_ACEOF
12441 /* confdefs.h. */
12442 _ACEOF
12443 cat confdefs.h >>conftest.$ac_ext
12444 cat >>conftest.$ac_ext <<_ACEOF
12445 /* end confdefs.h. */
12448 main ()
12452 return 0;
12454 _ACEOF
12455 rm -f conftest.$ac_objext conftest$ac_exeext
12456 if { (ac_try="$ac_link"
12457 case "(($ac_try" in
12458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12459 *) ac_try_echo=$ac_try;;
12460 esac
12461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12462 (eval "$ac_link") 2>conftest.er1
12463 ac_status=$?
12464 grep -v '^ *+' conftest.er1 >conftest.err
12465 rm -f conftest.er1
12466 cat conftest.err >&5
12467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12468 (exit $ac_status); } && {
12469 test -z "$ac_c_werror_flag" ||
12470 test ! -s conftest.err
12471 } && test -s conftest$ac_exeext &&
12472 $as_test_x conftest$ac_exeext; then
12473 ac_cv_cflags__Wwrite_strings=yes
12474 else
12475 echo "$as_me: failed program was:" >&5
12476 sed 's/^/| /' conftest.$ac_ext >&5
12478 ac_cv_cflags__Wwrite_strings=no
12481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12482 conftest$ac_exeext conftest.$ac_ext
12483 CFLAGS=$ac_wine_try_cflags_saved
12485 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12486 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12487 if test $ac_cv_cflags__Wwrite_strings = yes; then
12488 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12492 saved_CFLAGS="$CFLAGS"
12493 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12494 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12495 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12496 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6
12498 else
12499 cat >conftest.$ac_ext <<_ACEOF
12500 /* confdefs.h. */
12501 _ACEOF
12502 cat confdefs.h >>conftest.$ac_ext
12503 cat >>conftest.$ac_ext <<_ACEOF
12504 /* end confdefs.h. */
12505 #include <string.h>
12507 main ()
12511 return 0;
12513 _ACEOF
12514 rm -f conftest.$ac_objext
12515 if { (ac_try="$ac_compile"
12516 case "(($ac_try" in
12517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12518 *) ac_try_echo=$ac_try;;
12519 esac
12520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12521 (eval "$ac_compile") 2>conftest.er1
12522 ac_status=$?
12523 grep -v '^ *+' conftest.er1 >conftest.err
12524 rm -f conftest.er1
12525 cat conftest.err >&5
12526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527 (exit $ac_status); } && {
12528 test -z "$ac_c_werror_flag" ||
12529 test ! -s conftest.err
12530 } && test -s conftest.$ac_objext; then
12531 ac_cv_c_string_h_warnings=no
12532 else
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.$ac_ext >&5
12536 ac_cv_c_string_h_warnings=yes
12539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12541 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12542 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12543 CFLAGS="$saved_CFLAGS"
12544 if test "$ac_cv_c_string_h_warnings" = "no"
12545 then
12546 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12549 BUILTINFLAG=""
12551 saved_CFLAGS="$CFLAGS"
12552 CFLAGS="$CFLAGS -Werror"
12553 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12554 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12555 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12556 echo $ECHO_N "(cached) $ECHO_C" >&6
12557 else
12558 cat >conftest.$ac_ext <<_ACEOF
12559 /* confdefs.h. */
12560 _ACEOF
12561 cat confdefs.h >>conftest.$ac_ext
12562 cat >>conftest.$ac_ext <<_ACEOF
12563 /* end confdefs.h. */
12566 main ()
12568 int iswlower(unsigned short);
12570 return 0;
12572 _ACEOF
12573 rm -f conftest.$ac_objext
12574 if { (ac_try="$ac_compile"
12575 case "(($ac_try" in
12576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12577 *) ac_try_echo=$ac_try;;
12578 esac
12579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12580 (eval "$ac_compile") 2>conftest.er1
12581 ac_status=$?
12582 grep -v '^ *+' conftest.er1 >conftest.err
12583 rm -f conftest.er1
12584 cat conftest.err >&5
12585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12586 (exit $ac_status); } && {
12587 test -z "$ac_c_werror_flag" ||
12588 test ! -s conftest.err
12589 } && test -s conftest.$ac_objext; then
12590 ac_cv_c_builtin_wchar_ctype=no
12591 else
12592 echo "$as_me: failed program was:" >&5
12593 sed 's/^/| /' conftest.$ac_ext >&5
12595 ac_cv_c_builtin_wchar_ctype=yes
12598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12600 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12601 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12602 CFLAGS="$saved_CFLAGS"
12603 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12604 then
12605 BUILTINFLAG="-fno-builtin"
12610 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12611 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
12612 if test "${ac_cv_asm_func_def+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 else
12615 cat >conftest.$ac_ext <<_ACEOF
12616 /* confdefs.h. */
12617 _ACEOF
12618 cat confdefs.h >>conftest.$ac_ext
12619 cat >>conftest.$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12621 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
12624 main ()
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. */
12660 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12663 main ()
12667 return 0;
12669 _ACEOF
12670 rm -f conftest.$ac_objext conftest$ac_exeext
12671 if { (ac_try="$ac_link"
12672 case "(($ac_try" in
12673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12674 *) ac_try_echo=$ac_try;;
12675 esac
12676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12677 (eval "$ac_link") 2>conftest.er1
12678 ac_status=$?
12679 grep -v '^ *+' conftest.er1 >conftest.err
12680 rm -f conftest.er1
12681 cat conftest.err >&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); } && {
12684 test -z "$ac_c_werror_flag" ||
12685 test ! -s conftest.err
12686 } && test -s conftest$ac_exeext &&
12687 $as_test_x conftest$ac_exeext; then
12688 ac_cv_asm_func_def=".type @function"
12689 else
12690 echo "$as_me: failed program was:" >&5
12691 sed 's/^/| /' conftest.$ac_ext >&5
12693 cat >conftest.$ac_ext <<_ACEOF
12694 /* confdefs.h. */
12695 _ACEOF
12696 cat confdefs.h >>conftest.$ac_ext
12697 cat >>conftest.$ac_ext <<_ACEOF
12698 /* end confdefs.h. */
12699 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12702 main ()
12706 return 0;
12708 _ACEOF
12709 rm -f conftest.$ac_objext conftest$ac_exeext
12710 if { (ac_try="$ac_link"
12711 case "(($ac_try" in
12712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12713 *) ac_try_echo=$ac_try;;
12714 esac
12715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12716 (eval "$ac_link") 2>conftest.er1
12717 ac_status=$?
12718 grep -v '^ *+' conftest.er1 >conftest.err
12719 rm -f conftest.er1
12720 cat conftest.err >&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } && {
12723 test -z "$ac_c_werror_flag" ||
12724 test ! -s conftest.err
12725 } && test -s conftest$ac_exeext &&
12726 $as_test_x conftest$ac_exeext; then
12727 ac_cv_asm_func_def=".type 2"
12728 else
12729 echo "$as_me: failed program was:" >&5
12730 sed 's/^/| /' conftest.$ac_ext >&5
12732 ac_cv_asm_func_def="unknown"
12735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12736 conftest$ac_exeext conftest.$ac_ext
12739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12740 conftest$ac_exeext conftest.$ac_ext
12743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12744 conftest$ac_exeext conftest.$ac_ext
12746 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12747 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
12751 case "$ac_cv_asm_func_def" in
12752 ".def")
12753 cat >>confdefs.h <<\_ACEOF
12754 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12755 _ACEOF
12757 ".type @function")
12758 cat >>confdefs.h <<\_ACEOF
12759 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12760 _ACEOF
12762 ".type 2")
12763 cat >>confdefs.h <<\_ACEOF
12764 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12765 _ACEOF
12768 cat >>confdefs.h <<\_ACEOF
12769 #define __ASM_FUNC(name) ""
12770 _ACEOF
12772 esac
12775 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12776 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
12777 if test "${ac_cv_c_extern_prefix+set}" = set; then
12778 echo $ECHO_N "(cached) $ECHO_C" >&6
12779 else
12780 cat >conftest.$ac_ext <<_ACEOF
12781 /* confdefs.h. */
12782 _ACEOF
12783 cat confdefs.h >>conftest.$ac_ext
12784 cat >>conftest.$ac_ext <<_ACEOF
12785 /* end confdefs.h. */
12786 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12787 extern int ac_test;
12789 main ()
12791 if (ac_test) return 1
12793 return 0;
12795 _ACEOF
12796 rm -f conftest.$ac_objext conftest$ac_exeext
12797 if { (ac_try="$ac_link"
12798 case "(($ac_try" in
12799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12800 *) ac_try_echo=$ac_try;;
12801 esac
12802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12803 (eval "$ac_link") 2>conftest.er1
12804 ac_status=$?
12805 grep -v '^ *+' conftest.er1 >conftest.err
12806 rm -f conftest.er1
12807 cat conftest.err >&5
12808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12809 (exit $ac_status); } && {
12810 test -z "$ac_c_werror_flag" ||
12811 test ! -s conftest.err
12812 } && test -s conftest$ac_exeext &&
12813 $as_test_x conftest$ac_exeext; then
12814 ac_cv_c_extern_prefix="yes"
12815 else
12816 echo "$as_me: failed program was:" >&5
12817 sed 's/^/| /' conftest.$ac_ext >&5
12819 ac_cv_c_extern_prefix="no"
12822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12823 conftest$ac_exeext conftest.$ac_ext
12825 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12826 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
12830 if test "$ac_cv_c_extern_prefix" = "yes"
12831 then
12832 cat >>confdefs.h <<\_ACEOF
12833 #define __ASM_NAME(name) "_" name
12834 _ACEOF
12836 else
12837 cat >>confdefs.h <<\_ACEOF
12838 #define __ASM_NAME(name) name
12839 _ACEOF
12844 DLLEXT=""
12846 DLLFLAGS="-D_REENTRANT"
12848 LDSHARED=""
12850 LDDLLFLAGS=""
12852 LIBEXT="so"
12854 IMPLIBEXT="def"
12856 LIBWINE_LDFLAGS=""
12859 case $host_os in
12860 cygwin*|mingw32*)
12861 if test -n "$ac_tool_prefix"; then
12862 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
12863 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
12864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12866 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12867 echo $ECHO_N "(cached) $ECHO_C" >&6
12868 else
12869 if test -n "$DLLTOOL"; then
12870 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12871 else
12872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12873 for as_dir in $PATH
12875 IFS=$as_save_IFS
12876 test -z "$as_dir" && as_dir=.
12877 for ac_exec_ext in '' $ac_executable_extensions; do
12878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12879 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
12880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12881 break 2
12883 done
12884 done
12885 IFS=$as_save_IFS
12889 DLLTOOL=$ac_cv_prog_DLLTOOL
12890 if test -n "$DLLTOOL"; then
12891 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12892 echo "${ECHO_T}$DLLTOOL" >&6; }
12893 else
12894 { echo "$as_me:$LINENO: result: no" >&5
12895 echo "${ECHO_T}no" >&6; }
12900 if test -z "$ac_cv_prog_DLLTOOL"; then
12901 ac_ct_DLLTOOL=$DLLTOOL
12902 # Extract the first word of "dlltool", so it can be a program name with args.
12903 set dummy dlltool; ac_word=$2
12904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12906 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
12907 echo $ECHO_N "(cached) $ECHO_C" >&6
12908 else
12909 if test -n "$ac_ct_DLLTOOL"; then
12910 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
12911 else
12912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12913 for as_dir in $PATH
12915 IFS=$as_save_IFS
12916 test -z "$as_dir" && as_dir=.
12917 for ac_exec_ext in '' $ac_executable_extensions; do
12918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12919 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
12920 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12921 break 2
12923 done
12924 done
12925 IFS=$as_save_IFS
12929 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
12930 if test -n "$ac_ct_DLLTOOL"; then
12931 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
12932 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
12933 else
12934 { echo "$as_me:$LINENO: result: no" >&5
12935 echo "${ECHO_T}no" >&6; }
12938 if test "x$ac_ct_DLLTOOL" = x; then
12939 DLLTOOL="false"
12940 else
12941 case $cross_compiling:$ac_tool_warned in
12942 yes:)
12943 { echo "$as_me:$LINENO: 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." >&5
12946 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12947 whose name does not start with the host triplet. If you think this
12948 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12949 ac_tool_warned=yes ;;
12950 esac
12951 DLLTOOL=$ac_ct_DLLTOOL
12953 else
12954 DLLTOOL="$ac_cv_prog_DLLTOOL"
12957 if test -n "$ac_tool_prefix"; then
12958 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
12959 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
12960 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12962 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
12963 echo $ECHO_N "(cached) $ECHO_C" >&6
12964 else
12965 if test -n "$DLLWRAP"; then
12966 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
12967 else
12968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12969 for as_dir in $PATH
12971 IFS=$as_save_IFS
12972 test -z "$as_dir" && as_dir=.
12973 for ac_exec_ext in '' $ac_executable_extensions; do
12974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12975 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
12976 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12977 break 2
12979 done
12980 done
12981 IFS=$as_save_IFS
12985 DLLWRAP=$ac_cv_prog_DLLWRAP
12986 if test -n "$DLLWRAP"; then
12987 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
12988 echo "${ECHO_T}$DLLWRAP" >&6; }
12989 else
12990 { echo "$as_me:$LINENO: result: no" >&5
12991 echo "${ECHO_T}no" >&6; }
12996 if test -z "$ac_cv_prog_DLLWRAP"; then
12997 ac_ct_DLLWRAP=$DLLWRAP
12998 # Extract the first word of "dllwrap", so it can be a program name with args.
12999 set dummy dllwrap; ac_word=$2
13000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13002 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 else
13005 if test -n "$ac_ct_DLLWRAP"; then
13006 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13007 else
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13011 IFS=$as_save_IFS
13012 test -z "$as_dir" && as_dir=.
13013 for ac_exec_ext in '' $ac_executable_extensions; do
13014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13015 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13017 break 2
13019 done
13020 done
13021 IFS=$as_save_IFS
13025 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13026 if test -n "$ac_ct_DLLWRAP"; then
13027 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13028 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13029 else
13030 { echo "$as_me:$LINENO: result: no" >&5
13031 echo "${ECHO_T}no" >&6; }
13034 if test "x$ac_ct_DLLWRAP" = x; then
13035 DLLWRAP="false"
13036 else
13037 case $cross_compiling:$ac_tool_warned in
13038 yes:)
13039 { echo "$as_me:$LINENO: 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." >&5
13042 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13043 whose name does not start with the host triplet. If you think this
13044 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13045 ac_tool_warned=yes ;;
13046 esac
13047 DLLWRAP=$ac_ct_DLLWRAP
13049 else
13050 DLLWRAP="$ac_cv_prog_DLLWRAP"
13053 if test -n "$ac_tool_prefix"; then
13054 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13055 set dummy ${ac_tool_prefix}ar; ac_word=$2
13056 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13058 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13059 echo $ECHO_N "(cached) $ECHO_C" >&6
13060 else
13061 if test -n "$MINGWAR"; then
13062 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13063 else
13064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13065 for as_dir in $PATH
13067 IFS=$as_save_IFS
13068 test -z "$as_dir" && as_dir=.
13069 for ac_exec_ext in '' $ac_executable_extensions; do
13070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13071 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13073 break 2
13075 done
13076 done
13077 IFS=$as_save_IFS
13081 MINGWAR=$ac_cv_prog_MINGWAR
13082 if test -n "$MINGWAR"; then
13083 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13084 echo "${ECHO_T}$MINGWAR" >&6; }
13085 else
13086 { echo "$as_me:$LINENO: result: no" >&5
13087 echo "${ECHO_T}no" >&6; }
13092 if test -z "$ac_cv_prog_MINGWAR"; then
13093 ac_ct_MINGWAR=$MINGWAR
13094 # Extract the first word of "ar", so it can be a program name with args.
13095 set dummy ar; ac_word=$2
13096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13098 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13099 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 else
13101 if test -n "$ac_ct_MINGWAR"; then
13102 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13103 else
13104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13105 for as_dir in $PATH
13107 IFS=$as_save_IFS
13108 test -z "$as_dir" && as_dir=.
13109 for ac_exec_ext in '' $ac_executable_extensions; do
13110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13111 ac_cv_prog_ac_ct_MINGWAR="ar"
13112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13113 break 2
13115 done
13116 done
13117 IFS=$as_save_IFS
13121 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13122 if test -n "$ac_ct_MINGWAR"; then
13123 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13124 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13125 else
13126 { echo "$as_me:$LINENO: result: no" >&5
13127 echo "${ECHO_T}no" >&6; }
13130 if test "x$ac_ct_MINGWAR" = x; then
13131 MINGWAR="false"
13132 else
13133 case $cross_compiling:$ac_tool_warned in
13134 yes:)
13135 { echo "$as_me:$LINENO: 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." >&5
13138 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13139 whose name does not start with the host triplet. If you think this
13140 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13141 ac_tool_warned=yes ;;
13142 esac
13143 MINGWAR=$ac_ct_MINGWAR
13145 else
13146 MINGWAR="$ac_cv_prog_MINGWAR"
13149 if test "$DLLWRAP" = "false"; then
13150 LIBEXT="a"
13151 else
13152 LIBEXT="dll"
13154 IMPLIBEXT="a"
13155 WIN16_FILES=""
13156 WIN16_INSTALL=""
13158 darwin*|macosx*)
13159 DLLEXT=".so"
13160 LIBEXT="dylib"
13161 DLLFLAGS="$DLLFLAGS -fPIC"
13162 LDDLLFLAGS="-bundle -multiply_defined suppress"
13163 LIBWINE_LDFLAGS="-multiply_defined suppress"
13164 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13165 STRIP="$STRIP -u -r"
13166 COREFOUNDATIONLIB="-framework CoreFoundation"
13168 IOKITLIB="-framework IOKit -framework CoreFoundation"
13170 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13172 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13173 then
13174 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13177 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13178 then
13179 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
13182 case $host_cpu in
13183 *powerpc*)
13184 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13185 esac
13186 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13187 then
13188 CARBONLIB="-framework Carbon"
13190 QUARTZFILES='$(QUARTZFILES)'
13194 DLLFLAGS="$DLLFLAGS -fPIC"
13195 DLLEXT=".so"
13196 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13197 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13198 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13199 echo $ECHO_N "(cached) $ECHO_C" >&6
13200 else
13201 ac_wine_try_cflags_saved=$CFLAGS
13202 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13203 cat >conftest.$ac_ext <<_ACEOF
13204 void myfunc() {}
13205 _ACEOF
13206 rm -f conftest.$ac_objext conftest$ac_exeext
13207 if { (ac_try="$ac_link"
13208 case "(($ac_try" in
13209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13210 *) ac_try_echo=$ac_try;;
13211 esac
13212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13213 (eval "$ac_link") 2>conftest.er1
13214 ac_status=$?
13215 grep -v '^ *+' conftest.er1 >conftest.err
13216 rm -f conftest.er1
13217 cat conftest.err >&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } && {
13220 test -z "$ac_c_werror_flag" ||
13221 test ! -s conftest.err
13222 } && test -s conftest$ac_exeext &&
13223 $as_test_x conftest$ac_exeext; then
13224 ac_cv_c_dll_gnuelf="yes"
13225 else
13226 echo "$as_me: failed program was:" >&5
13227 sed 's/^/| /' conftest.$ac_ext >&5
13229 ac_cv_c_dll_gnuelf="no"
13232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13233 conftest$ac_exeext conftest.$ac_ext
13234 CFLAGS=$ac_wine_try_cflags_saved
13236 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13237 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13238 if test "$ac_cv_c_dll_gnuelf" = "yes"
13239 then
13240 LDSHARED="\$(CC) -shared"
13241 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13242 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13243 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13244 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13245 echo $ECHO_N "(cached) $ECHO_C" >&6
13246 else
13247 ac_wine_try_cflags_saved=$CFLAGS
13248 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13249 cat >conftest.$ac_ext <<_ACEOF
13250 /* confdefs.h. */
13251 _ACEOF
13252 cat confdefs.h >>conftest.$ac_ext
13253 cat >>conftest.$ac_ext <<_ACEOF
13254 /* end confdefs.h. */
13257 main ()
13261 return 0;
13263 _ACEOF
13264 rm -f conftest.$ac_objext conftest$ac_exeext
13265 if { (ac_try="$ac_link"
13266 case "(($ac_try" in
13267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13268 *) ac_try_echo=$ac_try;;
13269 esac
13270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13271 (eval "$ac_link") 2>conftest.er1
13272 ac_status=$?
13273 grep -v '^ *+' conftest.er1 >conftest.err
13274 rm -f conftest.er1
13275 cat conftest.err >&5
13276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13277 (exit $ac_status); } && {
13278 test -z "$ac_c_werror_flag" ||
13279 test ! -s conftest.err
13280 } && test -s conftest$ac_exeext &&
13281 $as_test_x conftest$ac_exeext; then
13282 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13283 else
13284 echo "$as_me: failed program was:" >&5
13285 sed 's/^/| /' conftest.$ac_ext >&5
13287 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13291 conftest$ac_exeext conftest.$ac_ext
13292 CFLAGS=$ac_wine_try_cflags_saved
13294 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13295 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13296 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13297 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13298 else
13299 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13300 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13301 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13302 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 else
13304 ac_wine_try_cflags_saved=$CFLAGS
13305 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13306 cat >conftest.$ac_ext <<_ACEOF
13307 /* confdefs.h. */
13308 _ACEOF
13309 cat confdefs.h >>conftest.$ac_ext
13310 cat >>conftest.$ac_ext <<_ACEOF
13311 /* end confdefs.h. */
13314 main ()
13318 return 0;
13320 _ACEOF
13321 rm -f conftest.$ac_objext conftest$ac_exeext
13322 if { (ac_try="$ac_link"
13323 case "(($ac_try" in
13324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13325 *) ac_try_echo=$ac_try;;
13326 esac
13327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13328 (eval "$ac_link") 2>conftest.er1
13329 ac_status=$?
13330 grep -v '^ *+' conftest.er1 >conftest.err
13331 rm -f conftest.er1
13332 cat conftest.err >&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); } && {
13335 test -z "$ac_c_werror_flag" ||
13336 test ! -s conftest.err
13337 } && test -s conftest$ac_exeext &&
13338 $as_test_x conftest$ac_exeext; then
13339 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13340 else
13341 echo "$as_me: failed program was:" >&5
13342 sed 's/^/| /' conftest.$ac_ext >&5
13344 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13347 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13348 conftest$ac_exeext conftest.$ac_ext
13349 CFLAGS=$ac_wine_try_cflags_saved
13351 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13352 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13353 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13354 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13360 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13361 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13362 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13363 echo $ECHO_N "(cached) $ECHO_C" >&6
13364 else
13365 ac_wine_try_cflags_saved=$CFLAGS
13366 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13367 cat >conftest.$ac_ext <<_ACEOF
13368 /* confdefs.h. */
13369 _ACEOF
13370 cat confdefs.h >>conftest.$ac_ext
13371 cat >>conftest.$ac_ext <<_ACEOF
13372 /* end confdefs.h. */
13375 main ()
13379 return 0;
13381 _ACEOF
13382 rm -f conftest.$ac_objext conftest$ac_exeext
13383 if { (ac_try="$ac_link"
13384 case "(($ac_try" in
13385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13386 *) ac_try_echo=$ac_try;;
13387 esac
13388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13389 (eval "$ac_link") 2>conftest.er1
13390 ac_status=$?
13391 grep -v '^ *+' conftest.er1 >conftest.err
13392 rm -f conftest.er1
13393 cat conftest.err >&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); } && {
13396 test -z "$ac_c_werror_flag" ||
13397 test ! -s conftest.err
13398 } && test -s conftest$ac_exeext &&
13399 $as_test_x conftest$ac_exeext; then
13400 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13401 else
13402 echo "$as_me: failed program was:" >&5
13403 sed 's/^/| /' conftest.$ac_ext >&5
13405 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13409 conftest$ac_exeext conftest.$ac_ext
13410 CFLAGS=$ac_wine_try_cflags_saved
13412 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13413 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13414 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13415 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13419 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13420 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13421 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13422 echo $ECHO_N "(cached) $ECHO_C" >&6
13423 else
13424 ac_wine_try_cflags_saved=$CFLAGS
13425 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13426 cat >conftest.$ac_ext <<_ACEOF
13427 /* confdefs.h. */
13428 _ACEOF
13429 cat confdefs.h >>conftest.$ac_ext
13430 cat >>conftest.$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13434 main ()
13438 return 0;
13440 _ACEOF
13441 rm -f conftest.$ac_objext conftest$ac_exeext
13442 if { (ac_try="$ac_link"
13443 case "(($ac_try" in
13444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13445 *) ac_try_echo=$ac_try;;
13446 esac
13447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13448 (eval "$ac_link") 2>conftest.er1
13449 ac_status=$?
13450 grep -v '^ *+' conftest.er1 >conftest.err
13451 rm -f conftest.er1
13452 cat conftest.err >&5
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); } && {
13455 test -z "$ac_c_werror_flag" ||
13456 test ! -s conftest.err
13457 } && test -s conftest$ac_exeext &&
13458 $as_test_x conftest$ac_exeext; then
13459 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13460 else
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.$ac_ext >&5
13464 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13468 conftest$ac_exeext conftest.$ac_ext
13469 CFLAGS=$ac_wine_try_cflags_saved
13471 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13472 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13473 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13474 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13478 echo '{ global: *; };' >conftest.map
13479 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13480 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13481 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13482 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 else
13484 ac_wine_try_cflags_saved=$CFLAGS
13485 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13486 cat >conftest.$ac_ext <<_ACEOF
13487 /* confdefs.h. */
13488 _ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13494 main ()
13498 return 0;
13500 _ACEOF
13501 rm -f conftest.$ac_objext conftest$ac_exeext
13502 if { (ac_try="$ac_link"
13503 case "(($ac_try" in
13504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13505 *) ac_try_echo=$ac_try;;
13506 esac
13507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13508 (eval "$ac_link") 2>conftest.er1
13509 ac_status=$?
13510 grep -v '^ *+' conftest.er1 >conftest.err
13511 rm -f conftest.er1
13512 cat conftest.err >&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } && {
13515 test -z "$ac_c_werror_flag" ||
13516 test ! -s conftest.err
13517 } && test -s conftest$ac_exeext &&
13518 $as_test_x conftest$ac_exeext; then
13519 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13520 else
13521 echo "$as_me: failed program was:" >&5
13522 sed 's/^/| /' conftest.$ac_ext >&5
13524 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13528 conftest$ac_exeext conftest.$ac_ext
13529 CFLAGS=$ac_wine_try_cflags_saved
13531 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13532 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13533 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13534 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13537 rm -f conftest.map
13539 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13540 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13541 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13542 echo $ECHO_N "(cached) $ECHO_C" >&6
13543 else
13544 ac_wine_try_cflags_saved=$CFLAGS
13545 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13546 cat >conftest.$ac_ext <<_ACEOF
13547 /* confdefs.h. */
13548 _ACEOF
13549 cat confdefs.h >>conftest.$ac_ext
13550 cat >>conftest.$ac_ext <<_ACEOF
13551 /* end confdefs.h. */
13554 main ()
13558 return 0;
13560 _ACEOF
13561 rm -f conftest.$ac_objext conftest$ac_exeext
13562 if { (ac_try="$ac_link"
13563 case "(($ac_try" in
13564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13565 *) ac_try_echo=$ac_try;;
13566 esac
13567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13568 (eval "$ac_link") 2>conftest.er1
13569 ac_status=$?
13570 grep -v '^ *+' conftest.er1 >conftest.err
13571 rm -f conftest.er1
13572 cat conftest.err >&5
13573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13574 (exit $ac_status); } && {
13575 test -z "$ac_c_werror_flag" ||
13576 test ! -s conftest.err
13577 } && test -s conftest$ac_exeext &&
13578 $as_test_x conftest$ac_exeext; then
13579 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13580 else
13581 echo "$as_me: failed program was:" >&5
13582 sed 's/^/| /' conftest.$ac_ext >&5
13584 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13588 conftest$ac_exeext conftest.$ac_ext
13589 CFLAGS=$ac_wine_try_cflags_saved
13591 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13592 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13593 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13594 LDEXECFLAGS="-Wl,--export-dynamic"
13599 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13600 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13601 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13602 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13603 echo $ECHO_N "(cached) $ECHO_C" >&6
13604 else
13605 ac_wine_try_cflags_saved=$CFLAGS
13606 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13607 cat >conftest.$ac_ext <<_ACEOF
13608 /* confdefs.h. */
13609 _ACEOF
13610 cat confdefs.h >>conftest.$ac_ext
13611 cat >>conftest.$ac_ext <<_ACEOF
13612 /* end confdefs.h. */
13615 main ()
13619 return 0;
13621 _ACEOF
13622 rm -f conftest.$ac_objext conftest$ac_exeext
13623 if { (ac_try="$ac_link"
13624 case "(($ac_try" in
13625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13626 *) ac_try_echo=$ac_try;;
13627 esac
13628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13629 (eval "$ac_link") 2>conftest.er1
13630 ac_status=$?
13631 grep -v '^ *+' conftest.er1 >conftest.err
13632 rm -f conftest.er1
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } && {
13636 test -z "$ac_c_werror_flag" ||
13637 test ! -s conftest.err
13638 } && test -s conftest$ac_exeext &&
13639 $as_test_x conftest$ac_exeext; then
13640 eval "$as_ac_var=yes"
13641 else
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.$ac_ext >&5
13645 eval "$as_ac_var=no"
13648 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13649 conftest$ac_exeext conftest.$ac_ext
13650 CFLAGS=$ac_wine_try_cflags_saved
13652 ac_res=`eval echo '${'$as_ac_var'}'`
13653 { echo "$as_me:$LINENO: result: $ac_res" >&5
13654 echo "${ECHO_T}$ac_res" >&6; }
13655 if test `eval echo '${'$as_ac_var'}'` = yes; then
13656 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13657 else
13658 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,-R,\$ORIGIN/../lib" | $as_tr_sh`
13659 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
13660 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... $ECHO_C" >&6; }
13661 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13662 echo $ECHO_N "(cached) $ECHO_C" >&6
13663 else
13664 ac_wine_try_cflags_saved=$CFLAGS
13665 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
13666 cat >conftest.$ac_ext <<_ACEOF
13667 /* confdefs.h. */
13668 _ACEOF
13669 cat confdefs.h >>conftest.$ac_ext
13670 cat >>conftest.$ac_ext <<_ACEOF
13671 /* end confdefs.h. */
13674 main ()
13678 return 0;
13680 _ACEOF
13681 rm -f conftest.$ac_objext conftest$ac_exeext
13682 if { (ac_try="$ac_link"
13683 case "(($ac_try" in
13684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13685 *) ac_try_echo=$ac_try;;
13686 esac
13687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13688 (eval "$ac_link") 2>conftest.er1
13689 ac_status=$?
13690 grep -v '^ *+' conftest.er1 >conftest.err
13691 rm -f conftest.er1
13692 cat conftest.err >&5
13693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13694 (exit $ac_status); } && {
13695 test -z "$ac_c_werror_flag" ||
13696 test ! -s conftest.err
13697 } && test -s conftest$ac_exeext &&
13698 $as_test_x conftest$ac_exeext; then
13699 eval "$as_ac_var=yes"
13700 else
13701 echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.$ac_ext >&5
13704 eval "$as_ac_var=no"
13707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13708 conftest$ac_exeext conftest.$ac_ext
13709 CFLAGS=$ac_wine_try_cflags_saved
13711 ac_res=`eval echo '${'$as_ac_var'}'`
13712 { echo "$as_me:$LINENO: result: $ac_res" >&5
13713 echo "${ECHO_T}$ac_res" >&6; }
13714 if test `eval echo '${'$as_ac_var'}'` = yes; then
13715 LIBWINE_LDFLAGS="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
13721 case $host_cpu in
13722 *i[3456789]86* | x86_64)
13723 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
13724 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
13725 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
13726 echo $ECHO_N "(cached) $ECHO_C" >&6
13727 else
13728 ac_wine_try_cflags_saved=$CFLAGS
13729 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
13730 cat >conftest.$ac_ext <<_ACEOF
13731 /* confdefs.h. */
13732 _ACEOF
13733 cat confdefs.h >>conftest.$ac_ext
13734 cat >>conftest.$ac_ext <<_ACEOF
13735 /* end confdefs.h. */
13738 main ()
13742 return 0;
13744 _ACEOF
13745 rm -f conftest.$ac_objext conftest$ac_exeext
13746 if { (ac_try="$ac_link"
13747 case "(($ac_try" in
13748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13749 *) ac_try_echo=$ac_try;;
13750 esac
13751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13752 (eval "$ac_link") 2>conftest.er1
13753 ac_status=$?
13754 grep -v '^ *+' conftest.er1 >conftest.err
13755 rm -f conftest.er1
13756 cat conftest.err >&5
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); } && {
13759 test -z "$ac_c_werror_flag" ||
13760 test ! -s conftest.err
13761 } && test -s conftest$ac_exeext &&
13762 $as_test_x conftest$ac_exeext; then
13763 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
13764 else
13765 echo "$as_me: failed program was:" >&5
13766 sed 's/^/| /' conftest.$ac_ext >&5
13768 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
13771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13772 conftest$ac_exeext conftest.$ac_ext
13773 CFLAGS=$ac_wine_try_cflags_saved
13775 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
13776 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
13777 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
13778 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
13782 esac
13784 else
13785 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13786 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
13787 if test "${ac_cv_c_dll_unixware+set}" = set; then
13788 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 else
13790 ac_wine_try_cflags_saved=$CFLAGS
13791 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13792 cat >conftest.$ac_ext <<_ACEOF
13793 void myfunc() {}
13794 _ACEOF
13795 rm -f conftest.$ac_objext conftest$ac_exeext
13796 if { (ac_try="$ac_link"
13797 case "(($ac_try" in
13798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13799 *) ac_try_echo=$ac_try;;
13800 esac
13801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13802 (eval "$ac_link") 2>conftest.er1
13803 ac_status=$?
13804 grep -v '^ *+' conftest.er1 >conftest.err
13805 rm -f conftest.er1
13806 cat conftest.err >&5
13807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13808 (exit $ac_status); } && {
13809 test -z "$ac_c_werror_flag" ||
13810 test ! -s conftest.err
13811 } && test -s conftest$ac_exeext &&
13812 $as_test_x conftest$ac_exeext; then
13813 ac_cv_c_dll_unixware="yes"
13814 else
13815 echo "$as_me: failed program was:" >&5
13816 sed 's/^/| /' conftest.$ac_ext >&5
13818 ac_cv_c_dll_unixware="no"
13821 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13822 conftest$ac_exeext conftest.$ac_ext
13823 CFLAGS=$ac_wine_try_cflags_saved
13825 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13826 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
13827 if test "$ac_cv_c_dll_unixware" = "yes"
13828 then
13829 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13830 LDDLLFLAGS="-Wl,-G,-B,symbolic"
13832 else
13833 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
13834 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
13835 if test "${ac_cv_c_dll_hpux+set}" = set; then
13836 echo $ECHO_N "(cached) $ECHO_C" >&6
13837 else
13838 ac_wine_try_cflags_saved=$CFLAGS
13839 CFLAGS="$CFLAGS -shared"
13840 cat >conftest.$ac_ext <<_ACEOF
13841 void myfunc() {}
13842 _ACEOF
13843 rm -f conftest.$ac_objext conftest$ac_exeext
13844 if { (ac_try="$ac_link"
13845 case "(($ac_try" in
13846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13847 *) ac_try_echo=$ac_try;;
13848 esac
13849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13850 (eval "$ac_link") 2>conftest.er1
13851 ac_status=$?
13852 grep -v '^ *+' conftest.er1 >conftest.err
13853 rm -f conftest.er1
13854 cat conftest.err >&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 (exit $ac_status); } && {
13857 test -z "$ac_c_werror_flag" ||
13858 test ! -s conftest.err
13859 } && test -s conftest$ac_exeext &&
13860 $as_test_x conftest$ac_exeext; then
13861 ac_cv_c_dll_hpux="yes"
13862 else
13863 echo "$as_me: failed program was:" >&5
13864 sed 's/^/| /' conftest.$ac_ext >&5
13866 ac_cv_c_dll_hpux="no"
13869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13870 conftest$ac_exeext conftest.$ac_ext
13871 CFLAGS=$ac_wine_try_cflags_saved
13873 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
13874 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
13875 if test "$ac_cv_c_dll_hpux" = "yes"
13876 then
13877 LIBEXT="sl"
13878 DLLEXT=".sl"
13879 LDDLLFLAGS="-shared -fPIC"
13880 LDSHARED="\$(CC) -shared"
13885 CROSSTEST=""
13887 if test "$cross_compiling" = "no"
13888 then
13889 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
13891 # Extract the first word of "$ac_prog", so it can be a program name with args.
13892 set dummy $ac_prog; ac_word=$2
13893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13895 if test "${ac_cv_prog_CROSSCC+set}" = set; then
13896 echo $ECHO_N "(cached) $ECHO_C" >&6
13897 else
13898 if test -n "$CROSSCC"; then
13899 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
13900 else
13901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13902 for as_dir in $PATH
13904 IFS=$as_save_IFS
13905 test -z "$as_dir" && as_dir=.
13906 for ac_exec_ext in '' $ac_executable_extensions; do
13907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13908 ac_cv_prog_CROSSCC="$ac_prog"
13909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13910 break 2
13912 done
13913 done
13914 IFS=$as_save_IFS
13918 CROSSCC=$ac_cv_prog_CROSSCC
13919 if test -n "$CROSSCC"; then
13920 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
13921 echo "${ECHO_T}$CROSSCC" >&6; }
13922 else
13923 { echo "$as_me:$LINENO: result: no" >&5
13924 echo "${ECHO_T}no" >&6; }
13928 test -n "$CROSSCC" && break
13929 done
13930 test -n "$CROSSCC" || CROSSCC="false"
13932 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
13934 # Extract the first word of "$ac_prog", so it can be a program name with args.
13935 set dummy $ac_prog; ac_word=$2
13936 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13938 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13939 echo $ECHO_N "(cached) $ECHO_C" >&6
13940 else
13941 if test -n "$DLLTOOL"; then
13942 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13943 else
13944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13945 for as_dir in $PATH
13947 IFS=$as_save_IFS
13948 test -z "$as_dir" && as_dir=.
13949 for ac_exec_ext in '' $ac_executable_extensions; do
13950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13951 ac_cv_prog_DLLTOOL="$ac_prog"
13952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13953 break 2
13955 done
13956 done
13957 IFS=$as_save_IFS
13961 DLLTOOL=$ac_cv_prog_DLLTOOL
13962 if test -n "$DLLTOOL"; then
13963 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13964 echo "${ECHO_T}$DLLTOOL" >&6; }
13965 else
13966 { echo "$as_me:$LINENO: result: no" >&5
13967 echo "${ECHO_T}no" >&6; }
13971 test -n "$DLLTOOL" && break
13972 done
13973 test -n "$DLLTOOL" || DLLTOOL="false"
13975 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
13977 # Extract the first word of "$ac_prog", so it can be a program name with args.
13978 set dummy $ac_prog; ac_word=$2
13979 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13980 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13981 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
13982 echo $ECHO_N "(cached) $ECHO_C" >&6
13983 else
13984 if test -n "$CROSSWINDRES"; then
13985 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
13986 else
13987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13988 for as_dir in $PATH
13990 IFS=$as_save_IFS
13991 test -z "$as_dir" && as_dir=.
13992 for ac_exec_ext in '' $ac_executable_extensions; do
13993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13994 ac_cv_prog_CROSSWINDRES="$ac_prog"
13995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13996 break 2
13998 done
13999 done
14000 IFS=$as_save_IFS
14004 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14005 if test -n "$CROSSWINDRES"; then
14006 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14007 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14008 else
14009 { echo "$as_me:$LINENO: result: no" >&5
14010 echo "${ECHO_T}no" >&6; }
14014 test -n "$CROSSWINDRES" && break
14015 done
14016 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14018 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14020 # Extract the first word of "$ac_prog", so it can be a program name with args.
14021 set dummy $ac_prog; ac_word=$2
14022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14024 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14025 echo $ECHO_N "(cached) $ECHO_C" >&6
14026 else
14027 if test -n "$MINGWAR"; then
14028 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14029 else
14030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14031 for as_dir in $PATH
14033 IFS=$as_save_IFS
14034 test -z "$as_dir" && as_dir=.
14035 for ac_exec_ext in '' $ac_executable_extensions; do
14036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14037 ac_cv_prog_MINGWAR="$ac_prog"
14038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14039 break 2
14041 done
14042 done
14043 IFS=$as_save_IFS
14047 MINGWAR=$ac_cv_prog_MINGWAR
14048 if test -n "$MINGWAR"; then
14049 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14050 echo "${ECHO_T}$MINGWAR" >&6; }
14051 else
14052 { echo "$as_me:$LINENO: result: no" >&5
14053 echo "${ECHO_T}no" >&6; }
14057 test -n "$MINGWAR" && break
14058 done
14059 test -n "$MINGWAR" || MINGWAR="false"
14061 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14064 esac
14066 if test "$LIBEXT" = "a"; then
14067 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14068 It is currently not possible to build Wine without shared library
14069 (.so) support to allow transparent switch between .so and .dll files.
14070 If you are using Linux, you will need a newer binutils.
14071 " >&5
14072 echo "$as_me: error: could not find a way to build shared libraries.
14073 It is currently not possible to build Wine without shared library
14074 (.so) support to allow transparent switch between .so and .dll files.
14075 If you are using Linux, you will need a newer binutils.
14076 " >&2;}
14077 { (exit 1); exit 1; }; }
14080 case $build_os in
14081 cygwin*|mingw32*)
14082 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14084 darwin*|macosx*)
14085 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14088 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14090 esac
14092 case $host_os in
14093 mingw32*)
14094 CRTLIBS="-lmsvcrt"
14096 SOCKETLIBS="-lws2_32"
14099 esac
14101 MAIN_BINARY="wine-pthread"
14102 case $host_cpu in
14103 *i[3456789]86*)
14104 case $host_os in
14105 linux* | k*bsd*-gnu)
14106 MAIN_BINARY="wine-glibc"
14108 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14110 esac
14112 esac
14115 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14116 then
14117 # Extract the first word of "ldd", so it can be a program name with args.
14118 set dummy ldd; ac_word=$2
14119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14121 if test "${ac_cv_path_LDD+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14123 else
14124 case $LDD in
14125 [\\/]* | ?:[\\/]*)
14126 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14130 as_dummy="/sbin:/usr/sbin:$PATH"
14131 for as_dir in $as_dummy
14133 IFS=$as_save_IFS
14134 test -z "$as_dir" && as_dir=.
14135 for ac_exec_ext in '' $ac_executable_extensions; do
14136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14137 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14139 break 2
14141 done
14142 done
14143 IFS=$as_save_IFS
14145 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14147 esac
14149 LDD=$ac_cv_path_LDD
14150 if test -n "$LDD"; then
14151 { echo "$as_me:$LINENO: result: $LDD" >&5
14152 echo "${ECHO_T}$LDD" >&6; }
14153 else
14154 { echo "$as_me:$LINENO: result: no" >&5
14155 echo "${ECHO_T}no" >&6; }
14159 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14160 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14161 if test "${ac_cv_lib_soname_X11+set}" = set; then
14162 echo $ECHO_N "(cached) $ECHO_C" >&6
14163 else
14164 ac_get_soname_save_LIBS=$LIBS
14165 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14166 cat >conftest.$ac_ext <<_ACEOF
14167 /* confdefs.h. */
14168 _ACEOF
14169 cat confdefs.h >>conftest.$ac_ext
14170 cat >>conftest.$ac_ext <<_ACEOF
14171 /* end confdefs.h. */
14173 /* Override any GCC internal prototype to avoid an error.
14174 Use char because int might match the return type of a GCC
14175 builtin and then its argument prototype would still apply. */
14176 #ifdef __cplusplus
14177 extern "C"
14178 #endif
14179 char XCreateWindow ();
14181 main ()
14183 return XCreateWindow ();
14185 return 0;
14187 _ACEOF
14188 rm -f conftest.$ac_objext conftest$ac_exeext
14189 if { (ac_try="$ac_link"
14190 case "(($ac_try" in
14191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14192 *) ac_try_echo=$ac_try;;
14193 esac
14194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14195 (eval "$ac_link") 2>conftest.er1
14196 ac_status=$?
14197 grep -v '^ *+' conftest.er1 >conftest.err
14198 rm -f conftest.er1
14199 cat conftest.err >&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); } && {
14202 test -z "$ac_c_werror_flag" ||
14203 test ! -s conftest.err
14204 } && test -s conftest$ac_exeext &&
14205 $as_test_x conftest$ac_exeext; then
14206 case "$LIBEXT" in
14207 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'` ;;
14208 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14209 esac
14210 if test "x$ac_cv_lib_soname_X11" = "x"
14211 then
14212 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14214 else
14215 echo "$as_me: failed program was:" >&5
14216 sed 's/^/| /' conftest.$ac_ext >&5
14218 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14222 conftest$ac_exeext conftest.$ac_ext
14223 LIBS=$ac_get_soname_save_LIBS
14225 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14226 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14227 if test "${ac_cv_lib_soname_X11+set}" = set; then
14229 cat >>confdefs.h <<_ACEOF
14230 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14231 _ACEOF
14235 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14236 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14237 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14238 echo $ECHO_N "(cached) $ECHO_C" >&6
14239 else
14240 ac_get_soname_save_LIBS=$LIBS
14241 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14242 cat >conftest.$ac_ext <<_ACEOF
14243 /* confdefs.h. */
14244 _ACEOF
14245 cat confdefs.h >>conftest.$ac_ext
14246 cat >>conftest.$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14249 /* Override any GCC internal prototype to avoid an error.
14250 Use char because int might match the return type of a GCC
14251 builtin and then its argument prototype would still apply. */
14252 #ifdef __cplusplus
14253 extern "C"
14254 #endif
14255 char XextCreateExtension ();
14257 main ()
14259 return XextCreateExtension ();
14261 return 0;
14263 _ACEOF
14264 rm -f conftest.$ac_objext conftest$ac_exeext
14265 if { (ac_try="$ac_link"
14266 case "(($ac_try" in
14267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14268 *) ac_try_echo=$ac_try;;
14269 esac
14270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14271 (eval "$ac_link") 2>conftest.er1
14272 ac_status=$?
14273 grep -v '^ *+' conftest.er1 >conftest.err
14274 rm -f conftest.er1
14275 cat conftest.err >&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } && {
14278 test -z "$ac_c_werror_flag" ||
14279 test ! -s conftest.err
14280 } && test -s conftest$ac_exeext &&
14281 $as_test_x conftest$ac_exeext; then
14282 case "$LIBEXT" in
14283 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'` ;;
14284 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14285 esac
14286 if test "x$ac_cv_lib_soname_Xext" = "x"
14287 then
14288 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14290 else
14291 echo "$as_me: failed program was:" >&5
14292 sed 's/^/| /' conftest.$ac_ext >&5
14294 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14298 conftest$ac_exeext conftest.$ac_ext
14299 LIBS=$ac_get_soname_save_LIBS
14301 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14302 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14303 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14305 cat >>confdefs.h <<_ACEOF
14306 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14307 _ACEOF
14311 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14312 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14313 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14314 echo $ECHO_N "(cached) $ECHO_C" >&6
14315 else
14316 ac_get_soname_save_LIBS=$LIBS
14317 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14318 cat >conftest.$ac_ext <<_ACEOF
14319 /* confdefs.h. */
14320 _ACEOF
14321 cat confdefs.h >>conftest.$ac_ext
14322 cat >>conftest.$ac_ext <<_ACEOF
14323 /* end confdefs.h. */
14325 /* Override any GCC internal prototype to avoid an error.
14326 Use char because int might match the return type of a GCC
14327 builtin and then its argument prototype would still apply. */
14328 #ifdef __cplusplus
14329 extern "C"
14330 #endif
14331 char XOpenDevice ();
14333 main ()
14335 return XOpenDevice ();
14337 return 0;
14339 _ACEOF
14340 rm -f conftest.$ac_objext conftest$ac_exeext
14341 if { (ac_try="$ac_link"
14342 case "(($ac_try" in
14343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14344 *) ac_try_echo=$ac_try;;
14345 esac
14346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14347 (eval "$ac_link") 2>conftest.er1
14348 ac_status=$?
14349 grep -v '^ *+' conftest.er1 >conftest.err
14350 rm -f conftest.er1
14351 cat conftest.err >&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); } && {
14354 test -z "$ac_c_werror_flag" ||
14355 test ! -s conftest.err
14356 } && test -s conftest$ac_exeext &&
14357 $as_test_x conftest$ac_exeext; then
14358 case "$LIBEXT" in
14359 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'` ;;
14360 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14361 esac
14362 if test "x$ac_cv_lib_soname_Xi" = "x"
14363 then
14364 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14366 else
14367 echo "$as_me: failed program was:" >&5
14368 sed 's/^/| /' conftest.$ac_ext >&5
14370 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14374 conftest$ac_exeext conftest.$ac_ext
14375 LIBS=$ac_get_soname_save_LIBS
14377 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14378 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14379 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14381 cat >>confdefs.h <<_ACEOF
14382 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14383 _ACEOF
14387 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14388 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14389 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14390 echo $ECHO_N "(cached) $ECHO_C" >&6
14391 else
14392 ac_get_soname_save_LIBS=$LIBS
14393 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14394 cat >conftest.$ac_ext <<_ACEOF
14395 /* confdefs.h. */
14396 _ACEOF
14397 cat confdefs.h >>conftest.$ac_ext
14398 cat >>conftest.$ac_ext <<_ACEOF
14399 /* end confdefs.h. */
14401 /* Override any GCC internal prototype to avoid an error.
14402 Use char because int might match the return type of a GCC
14403 builtin and then its argument prototype would still apply. */
14404 #ifdef __cplusplus
14405 extern "C"
14406 #endif
14407 char XineramaQueryScreens ();
14409 main ()
14411 return XineramaQueryScreens ();
14413 return 0;
14415 _ACEOF
14416 rm -f conftest.$ac_objext conftest$ac_exeext
14417 if { (ac_try="$ac_link"
14418 case "(($ac_try" in
14419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14420 *) ac_try_echo=$ac_try;;
14421 esac
14422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14423 (eval "$ac_link") 2>conftest.er1
14424 ac_status=$?
14425 grep -v '^ *+' conftest.er1 >conftest.err
14426 rm -f conftest.er1
14427 cat conftest.err >&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); } && {
14430 test -z "$ac_c_werror_flag" ||
14431 test ! -s conftest.err
14432 } && test -s conftest$ac_exeext &&
14433 $as_test_x conftest$ac_exeext; then
14434 case "$LIBEXT" in
14435 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'` ;;
14436 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14437 esac
14438 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14439 then
14440 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14442 else
14443 echo "$as_me: failed program was:" >&5
14444 sed 's/^/| /' conftest.$ac_ext >&5
14446 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14450 conftest$ac_exeext conftest.$ac_ext
14451 LIBS=$ac_get_soname_save_LIBS
14453 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14454 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14455 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14457 cat >>confdefs.h <<_ACEOF
14458 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14459 _ACEOF
14463 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14464 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14465 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14466 echo $ECHO_N "(cached) $ECHO_C" >&6
14467 else
14468 ac_get_soname_save_LIBS=$LIBS
14469 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14470 cat >conftest.$ac_ext <<_ACEOF
14471 /* confdefs.h. */
14472 _ACEOF
14473 cat confdefs.h >>conftest.$ac_ext
14474 cat >>conftest.$ac_ext <<_ACEOF
14475 /* end confdefs.h. */
14477 /* Override any GCC internal prototype to avoid an error.
14478 Use char because int might match the return type of a GCC
14479 builtin and then its argument prototype would still apply. */
14480 #ifdef __cplusplus
14481 extern "C"
14482 #endif
14483 char XRenderQueryExtension ();
14485 main ()
14487 return XRenderQueryExtension ();
14489 return 0;
14491 _ACEOF
14492 rm -f conftest.$ac_objext conftest$ac_exeext
14493 if { (ac_try="$ac_link"
14494 case "(($ac_try" in
14495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14496 *) ac_try_echo=$ac_try;;
14497 esac
14498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14499 (eval "$ac_link") 2>conftest.er1
14500 ac_status=$?
14501 grep -v '^ *+' conftest.er1 >conftest.err
14502 rm -f conftest.er1
14503 cat conftest.err >&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } && {
14506 test -z "$ac_c_werror_flag" ||
14507 test ! -s conftest.err
14508 } && test -s conftest$ac_exeext &&
14509 $as_test_x conftest$ac_exeext; then
14510 case "$LIBEXT" in
14511 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'` ;;
14512 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14513 esac
14514 if test "x$ac_cv_lib_soname_Xrender" = "x"
14515 then
14516 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14518 else
14519 echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14522 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14526 conftest$ac_exeext conftest.$ac_ext
14527 LIBS=$ac_get_soname_save_LIBS
14529 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14530 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14531 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14533 cat >>confdefs.h <<_ACEOF
14534 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14535 _ACEOF
14539 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14540 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14541 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14542 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 else
14544 ac_get_soname_save_LIBS=$LIBS
14545 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14546 cat >conftest.$ac_ext <<_ACEOF
14547 /* confdefs.h. */
14548 _ACEOF
14549 cat confdefs.h >>conftest.$ac_ext
14550 cat >>conftest.$ac_ext <<_ACEOF
14551 /* end confdefs.h. */
14553 /* Override any GCC internal prototype to avoid an error.
14554 Use char because int might match the return type of a GCC
14555 builtin and then its argument prototype would still apply. */
14556 #ifdef __cplusplus
14557 extern "C"
14558 #endif
14559 char XRRQueryExtension ();
14561 main ()
14563 return XRRQueryExtension ();
14565 return 0;
14567 _ACEOF
14568 rm -f conftest.$ac_objext conftest$ac_exeext
14569 if { (ac_try="$ac_link"
14570 case "(($ac_try" in
14571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14572 *) ac_try_echo=$ac_try;;
14573 esac
14574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14575 (eval "$ac_link") 2>conftest.er1
14576 ac_status=$?
14577 grep -v '^ *+' conftest.er1 >conftest.err
14578 rm -f conftest.er1
14579 cat conftest.err >&5
14580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14581 (exit $ac_status); } && {
14582 test -z "$ac_c_werror_flag" ||
14583 test ! -s conftest.err
14584 } && test -s conftest$ac_exeext &&
14585 $as_test_x conftest$ac_exeext; then
14586 case "$LIBEXT" in
14587 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'` ;;
14588 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14589 esac
14590 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14591 then
14592 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14594 else
14595 echo "$as_me: failed program was:" >&5
14596 sed 's/^/| /' conftest.$ac_ext >&5
14598 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14601 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14602 conftest$ac_exeext conftest.$ac_ext
14603 LIBS=$ac_get_soname_save_LIBS
14605 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14606 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14607 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14609 cat >>confdefs.h <<_ACEOF
14610 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14611 _ACEOF
14615 { echo "$as_me:$LINENO: checking for -lXcursor soname" >&5
14616 echo $ECHO_N "checking for -lXcursor soname... $ECHO_C" >&6; }
14617 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14618 echo $ECHO_N "(cached) $ECHO_C" >&6
14619 else
14620 ac_get_soname_save_LIBS=$LIBS
14621 LIBS="-lXcursor $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14632 #ifdef __cplusplus
14633 extern "C"
14634 #endif
14635 char XcursorImageLoadCursor ();
14637 main ()
14639 return XcursorImageLoadCursor ();
14641 return 0;
14643 _ACEOF
14644 rm -f conftest.$ac_objext conftest$ac_exeext
14645 if { (ac_try="$ac_link"
14646 case "(($ac_try" in
14647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14648 *) ac_try_echo=$ac_try;;
14649 esac
14650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14651 (eval "$ac_link") 2>conftest.er1
14652 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } && {
14658 test -z "$ac_c_werror_flag" ||
14659 test ! -s conftest.err
14660 } && test -s conftest$ac_exeext &&
14661 $as_test_x conftest$ac_exeext; then
14662 case "$LIBEXT" in
14663 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'` ;;
14664 so) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep libXcursor\\.so | sed -e "s/^.*\(libXcursor\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14665 esac
14666 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14667 then
14668 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14670 else
14671 echo "$as_me: failed program was:" >&5
14672 sed 's/^/| /' conftest.$ac_ext >&5
14674 ac_cv_lib_soname_Xcursor="libXcursor.$LIBEXT"
14677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14678 conftest$ac_exeext conftest.$ac_ext
14679 LIBS=$ac_get_soname_save_LIBS
14681 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xcursor" >&5
14682 echo "${ECHO_T}$ac_cv_lib_soname_Xcursor" >&6; }
14683 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then
14685 cat >>confdefs.h <<_ACEOF
14686 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
14687 _ACEOF
14691 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14692 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14693 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14694 echo $ECHO_N "(cached) $ECHO_C" >&6
14695 else
14696 ac_get_soname_save_LIBS=$LIBS
14697 LIBS="-lfreetype $X_LIBS $LIBS"
14698 cat >conftest.$ac_ext <<_ACEOF
14699 /* confdefs.h. */
14700 _ACEOF
14701 cat confdefs.h >>conftest.$ac_ext
14702 cat >>conftest.$ac_ext <<_ACEOF
14703 /* end confdefs.h. */
14705 /* Override any GCC internal prototype to avoid an error.
14706 Use char because int might match the return type of a GCC
14707 builtin and then its argument prototype would still apply. */
14708 #ifdef __cplusplus
14709 extern "C"
14710 #endif
14711 char FT_Init_FreeType ();
14713 main ()
14715 return FT_Init_FreeType ();
14717 return 0;
14719 _ACEOF
14720 rm -f conftest.$ac_objext conftest$ac_exeext
14721 if { (ac_try="$ac_link"
14722 case "(($ac_try" in
14723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14724 *) ac_try_echo=$ac_try;;
14725 esac
14726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14727 (eval "$ac_link") 2>conftest.er1
14728 ac_status=$?
14729 grep -v '^ *+' conftest.er1 >conftest.err
14730 rm -f conftest.er1
14731 cat conftest.err >&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 (exit $ac_status); } && {
14734 test -z "$ac_c_werror_flag" ||
14735 test ! -s conftest.err
14736 } && test -s conftest$ac_exeext &&
14737 $as_test_x conftest$ac_exeext; then
14738 case "$LIBEXT" in
14739 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'` ;;
14740 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14741 esac
14742 if test "x$ac_cv_lib_soname_freetype" = "x"
14743 then
14744 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14746 else
14747 echo "$as_me: failed program was:" >&5
14748 sed 's/^/| /' conftest.$ac_ext >&5
14750 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14754 conftest$ac_exeext conftest.$ac_ext
14755 LIBS=$ac_get_soname_save_LIBS
14757 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14758 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
14759 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14761 cat >>confdefs.h <<_ACEOF
14762 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14763 _ACEOF
14767 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
14768 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
14769 if test "${ac_cv_lib_soname_GL+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 else
14772 ac_get_soname_save_LIBS=$LIBS
14773 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14774 cat >conftest.$ac_ext <<_ACEOF
14775 /* confdefs.h. */
14776 _ACEOF
14777 cat confdefs.h >>conftest.$ac_ext
14778 cat >>conftest.$ac_ext <<_ACEOF
14779 /* end confdefs.h. */
14781 /* Override any GCC internal prototype to avoid an error.
14782 Use char because int might match the return type of a GCC
14783 builtin and then its argument prototype would still apply. */
14784 #ifdef __cplusplus
14785 extern "C"
14786 #endif
14787 char glXQueryExtension ();
14789 main ()
14791 return glXQueryExtension ();
14793 return 0;
14795 _ACEOF
14796 rm -f conftest.$ac_objext conftest$ac_exeext
14797 if { (ac_try="$ac_link"
14798 case "(($ac_try" in
14799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14800 *) ac_try_echo=$ac_try;;
14801 esac
14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14803 (eval "$ac_link") 2>conftest.er1
14804 ac_status=$?
14805 grep -v '^ *+' conftest.er1 >conftest.err
14806 rm -f conftest.er1
14807 cat conftest.err >&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } && {
14810 test -z "$ac_c_werror_flag" ||
14811 test ! -s conftest.err
14812 } && test -s conftest$ac_exeext &&
14813 $as_test_x conftest$ac_exeext; then
14814 case "$LIBEXT" in
14815 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'` ;;
14816 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14817 esac
14818 if test "x$ac_cv_lib_soname_GL" = "x"
14819 then
14820 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14822 else
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.$ac_ext >&5
14826 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14830 conftest$ac_exeext conftest.$ac_ext
14831 LIBS=$ac_get_soname_save_LIBS
14833 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14834 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
14835 if test "${ac_cv_lib_soname_GL+set}" = set; then
14837 cat >>confdefs.h <<_ACEOF
14838 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14839 _ACEOF
14843 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
14844 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
14845 if test "${ac_cv_lib_soname_hal+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 else
14848 ac_get_soname_save_LIBS=$LIBS
14849 LIBS="-lhal $LIBS"
14850 cat >conftest.$ac_ext <<_ACEOF
14851 /* confdefs.h. */
14852 _ACEOF
14853 cat confdefs.h >>conftest.$ac_ext
14854 cat >>conftest.$ac_ext <<_ACEOF
14855 /* end confdefs.h. */
14857 /* Override any GCC internal prototype to avoid an error.
14858 Use char because int might match the return type of a GCC
14859 builtin and then its argument prototype would still apply. */
14860 #ifdef __cplusplus
14861 extern "C"
14862 #endif
14863 char libhal_ctx_new ();
14865 main ()
14867 return libhal_ctx_new ();
14869 return 0;
14871 _ACEOF
14872 rm -f conftest.$ac_objext conftest$ac_exeext
14873 if { (ac_try="$ac_link"
14874 case "(($ac_try" in
14875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14876 *) ac_try_echo=$ac_try;;
14877 esac
14878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14879 (eval "$ac_link") 2>conftest.er1
14880 ac_status=$?
14881 grep -v '^ *+' conftest.er1 >conftest.err
14882 rm -f conftest.er1
14883 cat conftest.err >&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } && {
14886 test -z "$ac_c_werror_flag" ||
14887 test ! -s conftest.err
14888 } && test -s conftest$ac_exeext &&
14889 $as_test_x conftest$ac_exeext; then
14890 case "$LIBEXT" in
14891 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'` ;;
14892 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14893 esac
14894 if test "x$ac_cv_lib_soname_hal" = "x"
14895 then
14896 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14898 else
14899 echo "$as_me: failed program was:" >&5
14900 sed 's/^/| /' conftest.$ac_ext >&5
14902 ac_cv_lib_soname_hal="libhal.$LIBEXT"
14905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14906 conftest$ac_exeext conftest.$ac_ext
14907 LIBS=$ac_get_soname_save_LIBS
14909 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
14910 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
14911 if test "${ac_cv_lib_soname_hal+set}" = set; then
14913 cat >>confdefs.h <<_ACEOF
14914 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
14915 _ACEOF
14919 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14920 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
14921 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14922 echo $ECHO_N "(cached) $ECHO_C" >&6
14923 else
14924 ac_get_soname_save_LIBS=$LIBS
14925 LIBS="-ltxc_dxtn $LIBS"
14926 cat >conftest.$ac_ext <<_ACEOF
14927 /* confdefs.h. */
14928 _ACEOF
14929 cat confdefs.h >>conftest.$ac_ext
14930 cat >>conftest.$ac_ext <<_ACEOF
14931 /* end confdefs.h. */
14933 /* Override any GCC internal prototype to avoid an error.
14934 Use char because int might match the return type of a GCC
14935 builtin and then its argument prototype would still apply. */
14936 #ifdef __cplusplus
14937 extern "C"
14938 #endif
14939 char fetch_2d_texel_rgba_dxt1 ();
14941 main ()
14943 return fetch_2d_texel_rgba_dxt1 ();
14945 return 0;
14947 _ACEOF
14948 rm -f conftest.$ac_objext conftest$ac_exeext
14949 if { (ac_try="$ac_link"
14950 case "(($ac_try" in
14951 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14952 *) ac_try_echo=$ac_try;;
14953 esac
14954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14955 (eval "$ac_link") 2>conftest.er1
14956 ac_status=$?
14957 grep -v '^ *+' conftest.er1 >conftest.err
14958 rm -f conftest.er1
14959 cat conftest.err >&5
14960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14961 (exit $ac_status); } && {
14962 test -z "$ac_c_werror_flag" ||
14963 test ! -s conftest.err
14964 } && test -s conftest$ac_exeext &&
14965 $as_test_x conftest$ac_exeext; then
14966 case "$LIBEXT" in
14967 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'` ;;
14968 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'` ;;
14969 esac
14970 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14971 then
14972 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14974 else
14975 echo "$as_me: failed program was:" >&5
14976 sed 's/^/| /' conftest.$ac_ext >&5
14978 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
14981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14982 conftest$ac_exeext conftest.$ac_ext
14983 LIBS=$ac_get_soname_save_LIBS
14985 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14986 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
14987 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14989 cat >>confdefs.h <<_ACEOF
14990 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14991 _ACEOF
14995 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
14996 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
14997 if test "${ac_cv_lib_soname_cups+set}" = set; then
14998 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 else
15000 ac_get_soname_save_LIBS=$LIBS
15001 LIBS="-lcups $LIBS"
15002 cat >conftest.$ac_ext <<_ACEOF
15003 /* confdefs.h. */
15004 _ACEOF
15005 cat confdefs.h >>conftest.$ac_ext
15006 cat >>conftest.$ac_ext <<_ACEOF
15007 /* end confdefs.h. */
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15012 #ifdef __cplusplus
15013 extern "C"
15014 #endif
15015 char cupsGetDefault ();
15017 main ()
15019 return cupsGetDefault ();
15021 return 0;
15023 _ACEOF
15024 rm -f conftest.$ac_objext conftest$ac_exeext
15025 if { (ac_try="$ac_link"
15026 case "(($ac_try" in
15027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15028 *) ac_try_echo=$ac_try;;
15029 esac
15030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15031 (eval "$ac_link") 2>conftest.er1
15032 ac_status=$?
15033 grep -v '^ *+' conftest.er1 >conftest.err
15034 rm -f conftest.er1
15035 cat conftest.err >&5
15036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15037 (exit $ac_status); } && {
15038 test -z "$ac_c_werror_flag" ||
15039 test ! -s conftest.err
15040 } && test -s conftest$ac_exeext &&
15041 $as_test_x conftest$ac_exeext; then
15042 case "$LIBEXT" in
15043 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'` ;;
15044 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15045 esac
15046 if test "x$ac_cv_lib_soname_cups" = "x"
15047 then
15048 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15050 else
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15054 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15058 conftest$ac_exeext conftest.$ac_ext
15059 LIBS=$ac_get_soname_save_LIBS
15061 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15062 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15063 if test "${ac_cv_lib_soname_cups+set}" = set; then
15065 cat >>confdefs.h <<_ACEOF
15066 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15067 _ACEOF
15071 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15072 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15073 if test "${ac_cv_lib_soname_jack+set}" = set; then
15074 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 else
15076 ac_get_soname_save_LIBS=$LIBS
15077 LIBS="-ljack $LIBS"
15078 cat >conftest.$ac_ext <<_ACEOF
15079 /* confdefs.h. */
15080 _ACEOF
15081 cat confdefs.h >>conftest.$ac_ext
15082 cat >>conftest.$ac_ext <<_ACEOF
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15088 #ifdef __cplusplus
15089 extern "C"
15090 #endif
15091 char jack_client_new ();
15093 main ()
15095 return jack_client_new ();
15097 return 0;
15099 _ACEOF
15100 rm -f conftest.$ac_objext conftest$ac_exeext
15101 if { (ac_try="$ac_link"
15102 case "(($ac_try" in
15103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15104 *) ac_try_echo=$ac_try;;
15105 esac
15106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15107 (eval "$ac_link") 2>conftest.er1
15108 ac_status=$?
15109 grep -v '^ *+' conftest.er1 >conftest.err
15110 rm -f conftest.er1
15111 cat conftest.err >&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); } && {
15114 test -z "$ac_c_werror_flag" ||
15115 test ! -s conftest.err
15116 } && test -s conftest$ac_exeext &&
15117 $as_test_x conftest$ac_exeext; then
15118 case "$LIBEXT" in
15119 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'` ;;
15120 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15121 esac
15122 if test "x$ac_cv_lib_soname_jack" = "x"
15123 then
15124 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15126 else
15127 echo "$as_me: failed program was:" >&5
15128 sed 's/^/| /' conftest.$ac_ext >&5
15130 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15134 conftest$ac_exeext conftest.$ac_ext
15135 LIBS=$ac_get_soname_save_LIBS
15137 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15138 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15139 if test "${ac_cv_lib_soname_jack+set}" = set; then
15141 cat >>confdefs.h <<_ACEOF
15142 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15143 _ACEOF
15147 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15148 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15149 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15150 echo $ECHO_N "(cached) $ECHO_C" >&6
15151 else
15152 ac_get_soname_save_LIBS=$LIBS
15153 LIBS="-lfontconfig $LIBS"
15154 cat >conftest.$ac_ext <<_ACEOF
15155 /* confdefs.h. */
15156 _ACEOF
15157 cat confdefs.h >>conftest.$ac_ext
15158 cat >>conftest.$ac_ext <<_ACEOF
15159 /* end confdefs.h. */
15161 /* Override any GCC internal prototype to avoid an error.
15162 Use char because int might match the return type of a GCC
15163 builtin and then its argument prototype would still apply. */
15164 #ifdef __cplusplus
15165 extern "C"
15166 #endif
15167 char FcInit ();
15169 main ()
15171 return FcInit ();
15173 return 0;
15175 _ACEOF
15176 rm -f conftest.$ac_objext conftest$ac_exeext
15177 if { (ac_try="$ac_link"
15178 case "(($ac_try" in
15179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15180 *) ac_try_echo=$ac_try;;
15181 esac
15182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15183 (eval "$ac_link") 2>conftest.er1
15184 ac_status=$?
15185 grep -v '^ *+' conftest.er1 >conftest.err
15186 rm -f conftest.er1
15187 cat conftest.err >&5
15188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15189 (exit $ac_status); } && {
15190 test -z "$ac_c_werror_flag" ||
15191 test ! -s conftest.err
15192 } && test -s conftest$ac_exeext &&
15193 $as_test_x conftest$ac_exeext; then
15194 case "$LIBEXT" in
15195 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'` ;;
15196 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15197 esac
15198 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15199 then
15200 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15202 else
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.$ac_ext >&5
15206 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15209 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15210 conftest$ac_exeext conftest.$ac_ext
15211 LIBS=$ac_get_soname_save_LIBS
15213 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15214 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15215 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15217 cat >>confdefs.h <<_ACEOF
15218 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15219 _ACEOF
15223 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15224 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15225 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15226 echo $ECHO_N "(cached) $ECHO_C" >&6
15227 else
15228 ac_get_soname_save_LIBS=$LIBS
15229 LIBS="-lssl $LIBS"
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15237 /* Override any GCC internal prototype to avoid an error.
15238 Use char because int might match the return type of a GCC
15239 builtin and then its argument prototype would still apply. */
15240 #ifdef __cplusplus
15241 extern "C"
15242 #endif
15243 char SSL_library_init ();
15245 main ()
15247 return SSL_library_init ();
15249 return 0;
15251 _ACEOF
15252 rm -f conftest.$ac_objext conftest$ac_exeext
15253 if { (ac_try="$ac_link"
15254 case "(($ac_try" in
15255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15256 *) ac_try_echo=$ac_try;;
15257 esac
15258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15259 (eval "$ac_link") 2>conftest.er1
15260 ac_status=$?
15261 grep -v '^ *+' conftest.er1 >conftest.err
15262 rm -f conftest.er1
15263 cat conftest.err >&5
15264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); } && {
15266 test -z "$ac_c_werror_flag" ||
15267 test ! -s conftest.err
15268 } && test -s conftest$ac_exeext &&
15269 $as_test_x conftest$ac_exeext; then
15270 case "$LIBEXT" in
15271 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'` ;;
15272 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15273 esac
15274 if test "x$ac_cv_lib_soname_ssl" = "x"
15275 then
15276 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15278 else
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15282 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15286 conftest$ac_exeext conftest.$ac_ext
15287 LIBS=$ac_get_soname_save_LIBS
15289 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15290 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15291 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15293 cat >>confdefs.h <<_ACEOF
15294 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15295 _ACEOF
15299 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15300 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15301 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15302 echo $ECHO_N "(cached) $ECHO_C" >&6
15303 else
15304 ac_get_soname_save_LIBS=$LIBS
15305 LIBS="-lcrypto $LIBS"
15306 cat >conftest.$ac_ext <<_ACEOF
15307 /* confdefs.h. */
15308 _ACEOF
15309 cat confdefs.h >>conftest.$ac_ext
15310 cat >>conftest.$ac_ext <<_ACEOF
15311 /* end confdefs.h. */
15313 /* Override any GCC internal prototype to avoid an error.
15314 Use char because int might match the return type of a GCC
15315 builtin and then its argument prototype would still apply. */
15316 #ifdef __cplusplus
15317 extern "C"
15318 #endif
15319 char BIO_new_socket ();
15321 main ()
15323 return BIO_new_socket ();
15325 return 0;
15327 _ACEOF
15328 rm -f conftest.$ac_objext conftest$ac_exeext
15329 if { (ac_try="$ac_link"
15330 case "(($ac_try" in
15331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15332 *) ac_try_echo=$ac_try;;
15333 esac
15334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15335 (eval "$ac_link") 2>conftest.er1
15336 ac_status=$?
15337 grep -v '^ *+' conftest.er1 >conftest.err
15338 rm -f conftest.er1
15339 cat conftest.err >&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); } && {
15342 test -z "$ac_c_werror_flag" ||
15343 test ! -s conftest.err
15344 } && test -s conftest$ac_exeext &&
15345 $as_test_x conftest$ac_exeext; then
15346 case "$LIBEXT" in
15347 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'` ;;
15348 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15349 esac
15350 if test "x$ac_cv_lib_soname_crypto" = "x"
15351 then
15352 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15354 else
15355 echo "$as_me: failed program was:" >&5
15356 sed 's/^/| /' conftest.$ac_ext >&5
15358 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15362 conftest$ac_exeext conftest.$ac_ext
15363 LIBS=$ac_get_soname_save_LIBS
15365 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15366 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15367 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15369 cat >>confdefs.h <<_ACEOF
15370 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15371 _ACEOF
15375 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15376 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15377 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15378 echo $ECHO_N "(cached) $ECHO_C" >&6
15379 else
15380 ac_get_soname_save_LIBS=$LIBS
15381 LIBS="-lncurses $LIBS"
15382 cat >conftest.$ac_ext <<_ACEOF
15383 /* confdefs.h. */
15384 _ACEOF
15385 cat confdefs.h >>conftest.$ac_ext
15386 cat >>conftest.$ac_ext <<_ACEOF
15387 /* end confdefs.h. */
15389 /* Override any GCC internal prototype to avoid an error.
15390 Use char because int might match the return type of a GCC
15391 builtin and then its argument prototype would still apply. */
15392 #ifdef __cplusplus
15393 extern "C"
15394 #endif
15395 char waddch ();
15397 main ()
15399 return waddch ();
15401 return 0;
15403 _ACEOF
15404 rm -f conftest.$ac_objext conftest$ac_exeext
15405 if { (ac_try="$ac_link"
15406 case "(($ac_try" in
15407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15408 *) ac_try_echo=$ac_try;;
15409 esac
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_link") 2>conftest.er1
15412 ac_status=$?
15413 grep -v '^ *+' conftest.er1 >conftest.err
15414 rm -f conftest.er1
15415 cat conftest.err >&5
15416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); } && {
15418 test -z "$ac_c_werror_flag" ||
15419 test ! -s conftest.err
15420 } && test -s conftest$ac_exeext &&
15421 $as_test_x conftest$ac_exeext; then
15422 case "$LIBEXT" in
15423 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'` ;;
15424 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15425 esac
15426 if test "x$ac_cv_lib_soname_ncurses" = "x"
15427 then
15428 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15430 else
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15437 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15438 conftest$ac_exeext conftest.$ac_ext
15439 LIBS=$ac_get_soname_save_LIBS
15441 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15442 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15443 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15445 cat >>confdefs.h <<_ACEOF
15446 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15447 _ACEOF
15451 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15452 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15453 if test "${ac_cv_lib_soname_curses+set}" = set; then
15454 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 else
15456 ac_get_soname_save_LIBS=$LIBS
15457 LIBS="-lcurses $LIBS"
15458 cat >conftest.$ac_ext <<_ACEOF
15459 /* confdefs.h. */
15460 _ACEOF
15461 cat confdefs.h >>conftest.$ac_ext
15462 cat >>conftest.$ac_ext <<_ACEOF
15463 /* end confdefs.h. */
15465 /* Override any GCC internal prototype to avoid an error.
15466 Use char because int might match the return type of a GCC
15467 builtin and then its argument prototype would still apply. */
15468 #ifdef __cplusplus
15469 extern "C"
15470 #endif
15471 char waddch ();
15473 main ()
15475 return waddch ();
15477 return 0;
15479 _ACEOF
15480 rm -f conftest.$ac_objext conftest$ac_exeext
15481 if { (ac_try="$ac_link"
15482 case "(($ac_try" in
15483 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15484 *) ac_try_echo=$ac_try;;
15485 esac
15486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15487 (eval "$ac_link") 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } && {
15494 test -z "$ac_c_werror_flag" ||
15495 test ! -s conftest.err
15496 } && test -s conftest$ac_exeext &&
15497 $as_test_x conftest$ac_exeext; then
15498 case "$LIBEXT" in
15499 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'` ;;
15500 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15501 esac
15502 if test "x$ac_cv_lib_soname_curses" = "x"
15503 then
15504 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15506 else
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.$ac_ext >&5
15510 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15513 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15514 conftest$ac_exeext conftest.$ac_ext
15515 LIBS=$ac_get_soname_save_LIBS
15517 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15518 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15519 if test "${ac_cv_lib_soname_curses+set}" = set; then
15521 cat >>confdefs.h <<_ACEOF
15522 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15523 _ACEOF
15527 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15528 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15529 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15530 echo $ECHO_N "(cached) $ECHO_C" >&6
15531 else
15532 ac_get_soname_save_LIBS=$LIBS
15533 LIBS="-ljpeg $LIBS"
15534 cat >conftest.$ac_ext <<_ACEOF
15535 /* confdefs.h. */
15536 _ACEOF
15537 cat confdefs.h >>conftest.$ac_ext
15538 cat >>conftest.$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15541 /* Override any GCC internal prototype to avoid an error.
15542 Use char because int might match the return type of a GCC
15543 builtin and then its argument prototype would still apply. */
15544 #ifdef __cplusplus
15545 extern "C"
15546 #endif
15547 char jpeg_start_decompress ();
15549 main ()
15551 return jpeg_start_decompress ();
15553 return 0;
15555 _ACEOF
15556 rm -f conftest.$ac_objext conftest$ac_exeext
15557 if { (ac_try="$ac_link"
15558 case "(($ac_try" in
15559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15560 *) ac_try_echo=$ac_try;;
15561 esac
15562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15563 (eval "$ac_link") 2>conftest.er1
15564 ac_status=$?
15565 grep -v '^ *+' conftest.er1 >conftest.err
15566 rm -f conftest.er1
15567 cat conftest.err >&5
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); } && {
15570 test -z "$ac_c_werror_flag" ||
15571 test ! -s conftest.err
15572 } && test -s conftest$ac_exeext &&
15573 $as_test_x conftest$ac_exeext; then
15574 case "$LIBEXT" in
15575 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'` ;;
15576 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15577 esac
15578 if test "x$ac_cv_lib_soname_jpeg" = "x"
15579 then
15580 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15582 else
15583 echo "$as_me: failed program was:" >&5
15584 sed 's/^/| /' conftest.$ac_ext >&5
15586 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15590 conftest$ac_exeext conftest.$ac_ext
15591 LIBS=$ac_get_soname_save_LIBS
15593 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15594 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15595 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15597 cat >>confdefs.h <<_ACEOF
15598 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15599 _ACEOF
15603 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15604 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15605 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15606 echo $ECHO_N "(cached) $ECHO_C" >&6
15607 else
15608 ac_get_soname_save_LIBS=$LIBS
15609 LIBS="-lcapi20 $LIBS"
15610 cat >conftest.$ac_ext <<_ACEOF
15611 /* confdefs.h. */
15612 _ACEOF
15613 cat confdefs.h >>conftest.$ac_ext
15614 cat >>conftest.$ac_ext <<_ACEOF
15615 /* end confdefs.h. */
15617 /* Override any GCC internal prototype to avoid an error.
15618 Use char because int might match the return type of a GCC
15619 builtin and then its argument prototype would still apply. */
15620 #ifdef __cplusplus
15621 extern "C"
15622 #endif
15623 char capi20_isinstalled ();
15625 main ()
15627 return capi20_isinstalled ();
15629 return 0;
15631 _ACEOF
15632 rm -f conftest.$ac_objext conftest$ac_exeext
15633 if { (ac_try="$ac_link"
15634 case "(($ac_try" in
15635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15636 *) ac_try_echo=$ac_try;;
15637 esac
15638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15639 (eval "$ac_link") 2>conftest.er1
15640 ac_status=$?
15641 grep -v '^ *+' conftest.er1 >conftest.err
15642 rm -f conftest.er1
15643 cat conftest.err >&5
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); } && {
15646 test -z "$ac_c_werror_flag" ||
15647 test ! -s conftest.err
15648 } && test -s conftest$ac_exeext &&
15649 $as_test_x conftest$ac_exeext; then
15650 case "$LIBEXT" in
15651 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'` ;;
15652 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15653 esac
15654 if test "x$ac_cv_lib_soname_capi20" = "x"
15655 then
15656 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15658 else
15659 echo "$as_me: failed program was:" >&5
15660 sed 's/^/| /' conftest.$ac_ext >&5
15662 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15666 conftest$ac_exeext conftest.$ac_ext
15667 LIBS=$ac_get_soname_save_LIBS
15669 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15670 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15671 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15673 cat >>confdefs.h <<_ACEOF
15674 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15675 _ACEOF
15679 { echo "$as_me:$LINENO: checking for -lsane soname" >&5
15680 echo $ECHO_N "checking for -lsane soname... $ECHO_C" >&6; }
15681 if test "${ac_cv_lib_soname_sane+set}" = set; then
15682 echo $ECHO_N "(cached) $ECHO_C" >&6
15683 else
15684 ac_get_soname_save_LIBS=$LIBS
15685 LIBS="-lsane $LIBS"
15686 cat >conftest.$ac_ext <<_ACEOF
15687 /* confdefs.h. */
15688 _ACEOF
15689 cat confdefs.h >>conftest.$ac_ext
15690 cat >>conftest.$ac_ext <<_ACEOF
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 #ifdef __cplusplus
15697 extern "C"
15698 #endif
15699 char sane_init ();
15701 main ()
15703 return sane_init ();
15705 return 0;
15707 _ACEOF
15708 rm -f conftest.$ac_objext conftest$ac_exeext
15709 if { (ac_try="$ac_link"
15710 case "(($ac_try" in
15711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15712 *) ac_try_echo=$ac_try;;
15713 esac
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715 (eval "$ac_link") 2>conftest.er1
15716 ac_status=$?
15717 grep -v '^ *+' conftest.er1 >conftest.err
15718 rm -f conftest.er1
15719 cat conftest.err >&5
15720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15721 (exit $ac_status); } && {
15722 test -z "$ac_c_werror_flag" ||
15723 test ! -s conftest.err
15724 } && test -s conftest$ac_exeext &&
15725 $as_test_x conftest$ac_exeext; then
15726 case "$LIBEXT" in
15727 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'` ;;
15728 so) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep libsane\\.so | sed -e "s/^.*\(libsane\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15729 esac
15730 if test "x$ac_cv_lib_soname_sane" = "x"
15731 then
15732 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15734 else
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15738 ac_cv_lib_soname_sane="libsane.$LIBEXT"
15741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15742 conftest$ac_exeext conftest.$ac_ext
15743 LIBS=$ac_get_soname_save_LIBS
15745 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_sane" >&5
15746 echo "${ECHO_T}$ac_cv_lib_soname_sane" >&6; }
15747 if test "${ac_cv_lib_soname_sane+set}" = set; then
15749 cat >>confdefs.h <<_ACEOF
15750 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
15751 _ACEOF
15819 for ac_func in \
15820 _pclose \
15821 _popen \
15822 _snprintf \
15823 _spawnvp \
15824 _stricmp \
15825 _strnicmp \
15826 _vsnprintf \
15827 asctime_r \
15828 chsize \
15829 clone \
15830 dlopen \
15831 epoll_create \
15832 ffs \
15833 finite \
15834 fork \
15835 fpclass \
15836 fstatfs \
15837 fstatvfs \
15838 ftruncate \
15839 futimes \
15840 futimesat \
15841 getdirentries \
15842 getopt_long \
15843 getpagesize \
15844 getpwuid \
15845 gettid \
15846 gettimeofday \
15847 getuid \
15848 kqueue \
15849 lstat \
15850 memmove \
15851 mmap \
15852 pclose \
15853 poll \
15854 popen \
15855 prctl \
15856 pread \
15857 pwrite \
15858 readlink \
15859 rfork \
15860 sched_yield \
15861 select \
15862 setrlimit \
15863 settimeofday \
15864 sigaltstack \
15865 sigprocmask \
15866 snprintf \
15867 spawnvp \
15868 statfs \
15869 statvfs \
15870 strcasecmp \
15871 strerror \
15872 strncasecmp \
15873 strtold \
15874 tcgetattr \
15875 timegm \
15876 usleep \
15877 vsnprintf \
15878 wait4 \
15879 waitpid \
15882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15883 { echo "$as_me:$LINENO: checking for $ac_func" >&5
15884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
15885 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15886 echo $ECHO_N "(cached) $ECHO_C" >&6
15887 else
15888 cat >conftest.$ac_ext <<_ACEOF
15889 /* confdefs.h. */
15890 _ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15896 #define $ac_func innocuous_$ac_func
15898 /* System header to define __stub macros and hopefully few prototypes,
15899 which can conflict with char $ac_func (); below.
15900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15901 <limits.h> exists even on freestanding compilers. */
15903 #ifdef __STDC__
15904 # include <limits.h>
15905 #else
15906 # include <assert.h>
15907 #endif
15909 #undef $ac_func
15911 /* Override any GCC internal prototype to avoid an error.
15912 Use char because int might match the return type of a GCC
15913 builtin and then its argument prototype would still apply. */
15914 #ifdef __cplusplus
15915 extern "C"
15916 #endif
15917 char $ac_func ();
15918 /* The GNU C library defines this for functions which it implements
15919 to always fail with ENOSYS. Some functions are actually named
15920 something starting with __ and the normal name is an alias. */
15921 #if defined __stub_$ac_func || defined __stub___$ac_func
15922 choke me
15923 #endif
15926 main ()
15928 return $ac_func ();
15930 return 0;
15932 _ACEOF
15933 rm -f conftest.$ac_objext conftest$ac_exeext
15934 if { (ac_try="$ac_link"
15935 case "(($ac_try" in
15936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15937 *) ac_try_echo=$ac_try;;
15938 esac
15939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15940 (eval "$ac_link") 2>conftest.er1
15941 ac_status=$?
15942 grep -v '^ *+' conftest.er1 >conftest.err
15943 rm -f conftest.er1
15944 cat conftest.err >&5
15945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15946 (exit $ac_status); } && {
15947 test -z "$ac_c_werror_flag" ||
15948 test ! -s conftest.err
15949 } && test -s conftest$ac_exeext &&
15950 $as_test_x conftest$ac_exeext; then
15951 eval "$as_ac_var=yes"
15952 else
15953 echo "$as_me: failed program was:" >&5
15954 sed 's/^/| /' conftest.$ac_ext >&5
15956 eval "$as_ac_var=no"
15959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15960 conftest$ac_exeext conftest.$ac_ext
15962 ac_res=`eval echo '${'$as_ac_var'}'`
15963 { echo "$as_me:$LINENO: result: $ac_res" >&5
15964 echo "${ECHO_T}$ac_res" >&6; }
15965 if test `eval echo '${'$as_ac_var'}'` = yes; then
15966 cat >>confdefs.h <<_ACEOF
15967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15968 _ACEOF
15971 done
15974 if test "$ac_cv_func_dlopen" = no
15975 then
15976 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
15977 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
15978 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
15979 echo $ECHO_N "(cached) $ECHO_C" >&6
15980 else
15981 ac_check_lib_save_LIBS=$LIBS
15982 LIBS="-ldl $LIBS"
15983 cat >conftest.$ac_ext <<_ACEOF
15984 /* confdefs.h. */
15985 _ACEOF
15986 cat confdefs.h >>conftest.$ac_ext
15987 cat >>conftest.$ac_ext <<_ACEOF
15988 /* end confdefs.h. */
15990 /* Override any GCC internal prototype to avoid an error.
15991 Use char because int might match the return type of a GCC
15992 builtin and then its argument prototype would still apply. */
15993 #ifdef __cplusplus
15994 extern "C"
15995 #endif
15996 char dlopen ();
15998 main ()
16000 return dlopen ();
16002 return 0;
16004 _ACEOF
16005 rm -f conftest.$ac_objext conftest$ac_exeext
16006 if { (ac_try="$ac_link"
16007 case "(($ac_try" in
16008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16009 *) ac_try_echo=$ac_try;;
16010 esac
16011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16012 (eval "$ac_link") 2>conftest.er1
16013 ac_status=$?
16014 grep -v '^ *+' conftest.er1 >conftest.err
16015 rm -f conftest.er1
16016 cat conftest.err >&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } && {
16019 test -z "$ac_c_werror_flag" ||
16020 test ! -s conftest.err
16021 } && test -s conftest$ac_exeext &&
16022 $as_test_x conftest$ac_exeext; then
16023 ac_cv_lib_dl_dlopen=yes
16024 else
16025 echo "$as_me: failed program was:" >&5
16026 sed 's/^/| /' conftest.$ac_ext >&5
16028 ac_cv_lib_dl_dlopen=no
16031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16032 conftest$ac_exeext conftest.$ac_ext
16033 LIBS=$ac_check_lib_save_LIBS
16035 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16036 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16037 if test $ac_cv_lib_dl_dlopen = yes; then
16038 cat >>confdefs.h <<\_ACEOF
16039 #define HAVE_DLOPEN 1
16040 _ACEOF
16041 LIBDL="-ldl"
16046 ac_wine_check_funcs_save_LIBS="$LIBS"
16047 LIBS="$LIBS $LIBDL"
16049 for ac_func in dladdr
16051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16052 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16054 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16055 echo $ECHO_N "(cached) $ECHO_C" >&6
16056 else
16057 cat >conftest.$ac_ext <<_ACEOF
16058 /* confdefs.h. */
16059 _ACEOF
16060 cat confdefs.h >>conftest.$ac_ext
16061 cat >>conftest.$ac_ext <<_ACEOF
16062 /* end confdefs.h. */
16063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16065 #define $ac_func innocuous_$ac_func
16067 /* System header to define __stub macros and hopefully few prototypes,
16068 which can conflict with char $ac_func (); below.
16069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16070 <limits.h> exists even on freestanding compilers. */
16072 #ifdef __STDC__
16073 # include <limits.h>
16074 #else
16075 # include <assert.h>
16076 #endif
16078 #undef $ac_func
16080 /* Override any GCC internal prototype to avoid an error.
16081 Use char because int might match the return type of a GCC
16082 builtin and then its argument prototype would still apply. */
16083 #ifdef __cplusplus
16084 extern "C"
16085 #endif
16086 char $ac_func ();
16087 /* The GNU C library defines this for functions which it implements
16088 to always fail with ENOSYS. Some functions are actually named
16089 something starting with __ and the normal name is an alias. */
16090 #if defined __stub_$ac_func || defined __stub___$ac_func
16091 choke me
16092 #endif
16095 main ()
16097 return $ac_func ();
16099 return 0;
16101 _ACEOF
16102 rm -f conftest.$ac_objext conftest$ac_exeext
16103 if { (ac_try="$ac_link"
16104 case "(($ac_try" in
16105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16106 *) ac_try_echo=$ac_try;;
16107 esac
16108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16109 (eval "$ac_link") 2>conftest.er1
16110 ac_status=$?
16111 grep -v '^ *+' conftest.er1 >conftest.err
16112 rm -f conftest.er1
16113 cat conftest.err >&5
16114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } && {
16116 test -z "$ac_c_werror_flag" ||
16117 test ! -s conftest.err
16118 } && test -s conftest$ac_exeext &&
16119 $as_test_x conftest$ac_exeext; then
16120 eval "$as_ac_var=yes"
16121 else
16122 echo "$as_me: failed program was:" >&5
16123 sed 's/^/| /' conftest.$ac_ext >&5
16125 eval "$as_ac_var=no"
16128 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16129 conftest$ac_exeext conftest.$ac_ext
16131 ac_res=`eval echo '${'$as_ac_var'}'`
16132 { echo "$as_me:$LINENO: result: $ac_res" >&5
16133 echo "${ECHO_T}$ac_res" >&6; }
16134 if test `eval echo '${'$as_ac_var'}'` = yes; then
16135 cat >>confdefs.h <<_ACEOF
16136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16137 _ACEOF
16140 done
16142 LIBS="$ac_wine_check_funcs_save_LIBS"
16144 if test "$ac_cv_func_poll" = no
16145 then
16146 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16147 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16148 if test "${ac_cv_lib_poll_poll+set}" = set; then
16149 echo $ECHO_N "(cached) $ECHO_C" >&6
16150 else
16151 ac_check_lib_save_LIBS=$LIBS
16152 LIBS="-lpoll $LIBS"
16153 cat >conftest.$ac_ext <<_ACEOF
16154 /* confdefs.h. */
16155 _ACEOF
16156 cat confdefs.h >>conftest.$ac_ext
16157 cat >>conftest.$ac_ext <<_ACEOF
16158 /* end confdefs.h. */
16160 /* Override any GCC internal prototype to avoid an error.
16161 Use char because int might match the return type of a GCC
16162 builtin and then its argument prototype would still apply. */
16163 #ifdef __cplusplus
16164 extern "C"
16165 #endif
16166 char poll ();
16168 main ()
16170 return poll ();
16172 return 0;
16174 _ACEOF
16175 rm -f conftest.$ac_objext conftest$ac_exeext
16176 if { (ac_try="$ac_link"
16177 case "(($ac_try" in
16178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16179 *) ac_try_echo=$ac_try;;
16180 esac
16181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16182 (eval "$ac_link") 2>conftest.er1
16183 ac_status=$?
16184 grep -v '^ *+' conftest.er1 >conftest.err
16185 rm -f conftest.er1
16186 cat conftest.err >&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } && {
16189 test -z "$ac_c_werror_flag" ||
16190 test ! -s conftest.err
16191 } && test -s conftest$ac_exeext &&
16192 $as_test_x conftest$ac_exeext; then
16193 ac_cv_lib_poll_poll=yes
16194 else
16195 echo "$as_me: failed program was:" >&5
16196 sed 's/^/| /' conftest.$ac_ext >&5
16198 ac_cv_lib_poll_poll=no
16201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16202 conftest$ac_exeext conftest.$ac_ext
16203 LIBS=$ac_check_lib_save_LIBS
16205 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16206 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16207 if test $ac_cv_lib_poll_poll = yes; then
16208 cat >>confdefs.h <<\_ACEOF
16209 #define HAVE_POLL 1
16210 _ACEOF
16211 LIBPOLL="-lpoll"
16217 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
16218 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
16219 if test "${ac_cv_search_gethostbyname+set}" = set; then
16220 echo $ECHO_N "(cached) $ECHO_C" >&6
16221 else
16222 ac_func_search_save_LIBS=$LIBS
16223 cat >conftest.$ac_ext <<_ACEOF
16224 /* confdefs.h. */
16225 _ACEOF
16226 cat confdefs.h >>conftest.$ac_ext
16227 cat >>conftest.$ac_ext <<_ACEOF
16228 /* end confdefs.h. */
16230 /* Override any GCC internal prototype to avoid an error.
16231 Use char because int might match the return type of a GCC
16232 builtin and then its argument prototype would still apply. */
16233 #ifdef __cplusplus
16234 extern "C"
16235 #endif
16236 char gethostbyname ();
16238 main ()
16240 return gethostbyname ();
16242 return 0;
16244 _ACEOF
16245 for ac_lib in '' nsl; do
16246 if test -z "$ac_lib"; then
16247 ac_res="none required"
16248 else
16249 ac_res=-l$ac_lib
16250 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16252 rm -f conftest.$ac_objext conftest$ac_exeext
16253 if { (ac_try="$ac_link"
16254 case "(($ac_try" in
16255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16256 *) ac_try_echo=$ac_try;;
16257 esac
16258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16259 (eval "$ac_link") 2>conftest.er1
16260 ac_status=$?
16261 grep -v '^ *+' conftest.er1 >conftest.err
16262 rm -f conftest.er1
16263 cat conftest.err >&5
16264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16265 (exit $ac_status); } && {
16266 test -z "$ac_c_werror_flag" ||
16267 test ! -s conftest.err
16268 } && test -s conftest$ac_exeext &&
16269 $as_test_x conftest$ac_exeext; then
16270 ac_cv_search_gethostbyname=$ac_res
16271 else
16272 echo "$as_me: failed program was:" >&5
16273 sed 's/^/| /' conftest.$ac_ext >&5
16278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16279 conftest$ac_exeext
16280 if test "${ac_cv_search_gethostbyname+set}" = set; then
16281 break
16283 done
16284 if test "${ac_cv_search_gethostbyname+set}" = set; then
16286 else
16287 ac_cv_search_gethostbyname=no
16289 rm conftest.$ac_ext
16290 LIBS=$ac_func_search_save_LIBS
16292 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
16293 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
16294 ac_res=$ac_cv_search_gethostbyname
16295 if test "$ac_res" != no; then
16296 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16301 { echo "$as_me:$LINENO: checking for library containing connect" >&5
16302 echo $ECHO_N "checking for library containing connect... $ECHO_C" >&6; }
16303 if test "${ac_cv_search_connect+set}" = set; then
16304 echo $ECHO_N "(cached) $ECHO_C" >&6
16305 else
16306 ac_func_search_save_LIBS=$LIBS
16307 cat >conftest.$ac_ext <<_ACEOF
16308 /* confdefs.h. */
16309 _ACEOF
16310 cat confdefs.h >>conftest.$ac_ext
16311 cat >>conftest.$ac_ext <<_ACEOF
16312 /* end confdefs.h. */
16314 /* Override any GCC internal prototype to avoid an error.
16315 Use char because int might match the return type of a GCC
16316 builtin and then its argument prototype would still apply. */
16317 #ifdef __cplusplus
16318 extern "C"
16319 #endif
16320 char connect ();
16322 main ()
16324 return connect ();
16326 return 0;
16328 _ACEOF
16329 for ac_lib in '' socket; do
16330 if test -z "$ac_lib"; then
16331 ac_res="none required"
16332 else
16333 ac_res=-l$ac_lib
16334 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16336 rm -f conftest.$ac_objext conftest$ac_exeext
16337 if { (ac_try="$ac_link"
16338 case "(($ac_try" in
16339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16340 *) ac_try_echo=$ac_try;;
16341 esac
16342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16343 (eval "$ac_link") 2>conftest.er1
16344 ac_status=$?
16345 grep -v '^ *+' conftest.er1 >conftest.err
16346 rm -f conftest.er1
16347 cat conftest.err >&5
16348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16349 (exit $ac_status); } && {
16350 test -z "$ac_c_werror_flag" ||
16351 test ! -s conftest.err
16352 } && test -s conftest$ac_exeext &&
16353 $as_test_x conftest$ac_exeext; then
16354 ac_cv_search_connect=$ac_res
16355 else
16356 echo "$as_me: failed program was:" >&5
16357 sed 's/^/| /' conftest.$ac_ext >&5
16362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16363 conftest$ac_exeext
16364 if test "${ac_cv_search_connect+set}" = set; then
16365 break
16367 done
16368 if test "${ac_cv_search_connect+set}" = set; then
16370 else
16371 ac_cv_search_connect=no
16373 rm conftest.$ac_ext
16374 LIBS=$ac_func_search_save_LIBS
16376 { echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
16377 echo "${ECHO_T}$ac_cv_search_connect" >&6; }
16378 ac_res=$ac_cv_search_connect
16379 if test "$ac_res" != no; then
16380 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16385 { echo "$as_me:$LINENO: checking for library containing inet_aton" >&5
16386 echo $ECHO_N "checking for library containing inet_aton... $ECHO_C" >&6; }
16387 if test "${ac_cv_search_inet_aton+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 else
16390 ac_func_search_save_LIBS=$LIBS
16391 cat >conftest.$ac_ext <<_ACEOF
16392 /* confdefs.h. */
16393 _ACEOF
16394 cat confdefs.h >>conftest.$ac_ext
16395 cat >>conftest.$ac_ext <<_ACEOF
16396 /* end confdefs.h. */
16398 /* Override any GCC internal prototype to avoid an error.
16399 Use char because int might match the return type of a GCC
16400 builtin and then its argument prototype would still apply. */
16401 #ifdef __cplusplus
16402 extern "C"
16403 #endif
16404 char inet_aton ();
16406 main ()
16408 return inet_aton ();
16410 return 0;
16412 _ACEOF
16413 for ac_lib in '' resolv; do
16414 if test -z "$ac_lib"; then
16415 ac_res="none required"
16416 else
16417 ac_res=-l$ac_lib
16418 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16420 rm -f conftest.$ac_objext conftest$ac_exeext
16421 if { (ac_try="$ac_link"
16422 case "(($ac_try" in
16423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16424 *) ac_try_echo=$ac_try;;
16425 esac
16426 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16427 (eval "$ac_link") 2>conftest.er1
16428 ac_status=$?
16429 grep -v '^ *+' conftest.er1 >conftest.err
16430 rm -f conftest.er1
16431 cat conftest.err >&5
16432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433 (exit $ac_status); } && {
16434 test -z "$ac_c_werror_flag" ||
16435 test ! -s conftest.err
16436 } && test -s conftest$ac_exeext &&
16437 $as_test_x conftest$ac_exeext; then
16438 ac_cv_search_inet_aton=$ac_res
16439 else
16440 echo "$as_me: failed program was:" >&5
16441 sed 's/^/| /' conftest.$ac_ext >&5
16446 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16447 conftest$ac_exeext
16448 if test "${ac_cv_search_inet_aton+set}" = set; then
16449 break
16451 done
16452 if test "${ac_cv_search_inet_aton+set}" = set; then
16454 else
16455 ac_cv_search_inet_aton=no
16457 rm conftest.$ac_ext
16458 LIBS=$ac_func_search_save_LIBS
16460 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_aton" >&5
16461 echo "${ECHO_T}$ac_cv_search_inet_aton" >&6; }
16462 ac_res=$ac_cv_search_inet_aton
16463 if test "$ac_res" != no; then
16464 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16477 for ac_func in \
16478 getaddrinfo \
16479 getnameinfo \
16480 getnetbyname \
16481 getprotobyname \
16482 getprotobynumber \
16483 getservbyport \
16484 inet_network \
16485 sendmsg \
16488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16489 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16491 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16492 echo $ECHO_N "(cached) $ECHO_C" >&6
16493 else
16494 cat >conftest.$ac_ext <<_ACEOF
16495 /* confdefs.h. */
16496 _ACEOF
16497 cat confdefs.h >>conftest.$ac_ext
16498 cat >>conftest.$ac_ext <<_ACEOF
16499 /* end confdefs.h. */
16500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16502 #define $ac_func innocuous_$ac_func
16504 /* System header to define __stub macros and hopefully few prototypes,
16505 which can conflict with char $ac_func (); below.
16506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16507 <limits.h> exists even on freestanding compilers. */
16509 #ifdef __STDC__
16510 # include <limits.h>
16511 #else
16512 # include <assert.h>
16513 #endif
16515 #undef $ac_func
16517 /* Override any GCC internal prototype to avoid an error.
16518 Use char because int might match the return type of a GCC
16519 builtin and then its argument prototype would still apply. */
16520 #ifdef __cplusplus
16521 extern "C"
16522 #endif
16523 char $ac_func ();
16524 /* The GNU C library defines this for functions which it implements
16525 to always fail with ENOSYS. Some functions are actually named
16526 something starting with __ and the normal name is an alias. */
16527 #if defined __stub_$ac_func || defined __stub___$ac_func
16528 choke me
16529 #endif
16532 main ()
16534 return $ac_func ();
16536 return 0;
16538 _ACEOF
16539 rm -f conftest.$ac_objext conftest$ac_exeext
16540 if { (ac_try="$ac_link"
16541 case "(($ac_try" in
16542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16543 *) ac_try_echo=$ac_try;;
16544 esac
16545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16546 (eval "$ac_link") 2>conftest.er1
16547 ac_status=$?
16548 grep -v '^ *+' conftest.er1 >conftest.err
16549 rm -f conftest.er1
16550 cat conftest.err >&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); } && {
16553 test -z "$ac_c_werror_flag" ||
16554 test ! -s conftest.err
16555 } && test -s conftest$ac_exeext &&
16556 $as_test_x conftest$ac_exeext; then
16557 eval "$as_ac_var=yes"
16558 else
16559 echo "$as_me: failed program was:" >&5
16560 sed 's/^/| /' conftest.$ac_ext >&5
16562 eval "$as_ac_var=no"
16565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16566 conftest$ac_exeext conftest.$ac_ext
16568 ac_res=`eval echo '${'$as_ac_var'}'`
16569 { echo "$as_me:$LINENO: result: $ac_res" >&5
16570 echo "${ECHO_T}$ac_res" >&6; }
16571 if test `eval echo '${'$as_ac_var'}'` = yes; then
16572 cat >>confdefs.h <<_ACEOF
16573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16574 _ACEOF
16577 done
16581 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16582 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16583 if test "${ac_cv_c_const+set}" = set; then
16584 echo $ECHO_N "(cached) $ECHO_C" >&6
16585 else
16586 cat >conftest.$ac_ext <<_ACEOF
16587 /* confdefs.h. */
16588 _ACEOF
16589 cat confdefs.h >>conftest.$ac_ext
16590 cat >>conftest.$ac_ext <<_ACEOF
16591 /* end confdefs.h. */
16594 main ()
16596 /* FIXME: Include the comments suggested by Paul. */
16597 #ifndef __cplusplus
16598 /* Ultrix mips cc rejects this. */
16599 typedef int charset[2];
16600 const charset cs;
16601 /* SunOS 4.1.1 cc rejects this. */
16602 char const *const *pcpcc;
16603 char **ppc;
16604 /* NEC SVR4.0.2 mips cc rejects this. */
16605 struct point {int x, y;};
16606 static struct point const zero = {0,0};
16607 /* AIX XL C 1.02.0.0 rejects this.
16608 It does not let you subtract one const X* pointer from another in
16609 an arm of an if-expression whose if-part is not a constant
16610 expression */
16611 const char *g = "string";
16612 pcpcc = &g + (g ? g-g : 0);
16613 /* HPUX 7.0 cc rejects these. */
16614 ++pcpcc;
16615 ppc = (char**) pcpcc;
16616 pcpcc = (char const *const *) ppc;
16617 { /* SCO 3.2v4 cc rejects this. */
16618 char *t;
16619 char const *s = 0 ? (char *) 0 : (char const *) 0;
16621 *t++ = 0;
16622 if (s) return 0;
16624 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16625 int x[] = {25, 17};
16626 const int *foo = &x[0];
16627 ++foo;
16629 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16630 typedef const int *iptr;
16631 iptr p = 0;
16632 ++p;
16634 { /* AIX XL C 1.02.0.0 rejects this saying
16635 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16636 struct s { int j; const int *ap[3]; };
16637 struct s *b; b->j = 5;
16639 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16640 const int foo = 10;
16641 if (!foo) return 0;
16643 return !cs[0] && !zero.x;
16644 #endif
16647 return 0;
16649 _ACEOF
16650 rm -f conftest.$ac_objext
16651 if { (ac_try="$ac_compile"
16652 case "(($ac_try" in
16653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16654 *) ac_try_echo=$ac_try;;
16655 esac
16656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16657 (eval "$ac_compile") 2>conftest.er1
16658 ac_status=$?
16659 grep -v '^ *+' conftest.er1 >conftest.err
16660 rm -f conftest.er1
16661 cat conftest.err >&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } && {
16664 test -z "$ac_c_werror_flag" ||
16665 test ! -s conftest.err
16666 } && test -s conftest.$ac_objext; then
16667 ac_cv_c_const=yes
16668 else
16669 echo "$as_me: failed program was:" >&5
16670 sed 's/^/| /' conftest.$ac_ext >&5
16672 ac_cv_c_const=no
16675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16677 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16678 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16679 if test $ac_cv_c_const = no; then
16681 cat >>confdefs.h <<\_ACEOF
16682 #define const
16683 _ACEOF
16687 { echo "$as_me:$LINENO: checking for inline" >&5
16688 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16689 if test "${ac_cv_c_inline+set}" = set; then
16690 echo $ECHO_N "(cached) $ECHO_C" >&6
16691 else
16692 ac_cv_c_inline=no
16693 for ac_kw in inline __inline__ __inline; do
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 #ifndef __cplusplus
16701 typedef int foo_t;
16702 static $ac_kw foo_t static_foo () {return 0; }
16703 $ac_kw foo_t foo () {return 0; }
16704 #endif
16706 _ACEOF
16707 rm -f conftest.$ac_objext
16708 if { (ac_try="$ac_compile"
16709 case "(($ac_try" in
16710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16711 *) ac_try_echo=$ac_try;;
16712 esac
16713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16714 (eval "$ac_compile") 2>conftest.er1
16715 ac_status=$?
16716 grep -v '^ *+' conftest.er1 >conftest.err
16717 rm -f conftest.er1
16718 cat conftest.err >&5
16719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16720 (exit $ac_status); } && {
16721 test -z "$ac_c_werror_flag" ||
16722 test ! -s conftest.err
16723 } && test -s conftest.$ac_objext; then
16724 ac_cv_c_inline=$ac_kw
16725 else
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16733 test "$ac_cv_c_inline" != no && break
16734 done
16737 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16738 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16741 case $ac_cv_c_inline in
16742 inline | yes) ;;
16744 case $ac_cv_c_inline in
16745 no) ac_val=;;
16746 *) ac_val=$ac_cv_c_inline;;
16747 esac
16748 cat >>confdefs.h <<_ACEOF
16749 #ifndef __cplusplus
16750 #define inline $ac_val
16751 #endif
16752 _ACEOF
16754 esac
16756 { echo "$as_me:$LINENO: checking for mode_t" >&5
16757 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16758 if test "${ac_cv_type_mode_t+set}" = set; then
16759 echo $ECHO_N "(cached) $ECHO_C" >&6
16760 else
16761 cat >conftest.$ac_ext <<_ACEOF
16762 /* confdefs.h. */
16763 _ACEOF
16764 cat confdefs.h >>conftest.$ac_ext
16765 cat >>conftest.$ac_ext <<_ACEOF
16766 /* end confdefs.h. */
16767 $ac_includes_default
16768 typedef mode_t ac__type_new_;
16770 main ()
16772 if ((ac__type_new_ *) 0)
16773 return 0;
16774 if (sizeof (ac__type_new_))
16775 return 0;
16777 return 0;
16779 _ACEOF
16780 rm -f conftest.$ac_objext
16781 if { (ac_try="$ac_compile"
16782 case "(($ac_try" in
16783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16784 *) ac_try_echo=$ac_try;;
16785 esac
16786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16787 (eval "$ac_compile") 2>conftest.er1
16788 ac_status=$?
16789 grep -v '^ *+' conftest.er1 >conftest.err
16790 rm -f conftest.er1
16791 cat conftest.err >&5
16792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); } && {
16794 test -z "$ac_c_werror_flag" ||
16795 test ! -s conftest.err
16796 } && test -s conftest.$ac_objext; then
16797 ac_cv_type_mode_t=yes
16798 else
16799 echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.$ac_ext >&5
16802 ac_cv_type_mode_t=no
16805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16807 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16808 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16809 if test $ac_cv_type_mode_t = yes; then
16811 cat >>confdefs.h <<_ACEOF
16812 #define HAVE_MODE_T 1
16813 _ACEOF
16817 { echo "$as_me:$LINENO: checking for off_t" >&5
16818 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16819 if test "${ac_cv_type_off_t+set}" = set; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 else
16822 cat >conftest.$ac_ext <<_ACEOF
16823 /* confdefs.h. */
16824 _ACEOF
16825 cat confdefs.h >>conftest.$ac_ext
16826 cat >>conftest.$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 $ac_includes_default
16829 typedef off_t ac__type_new_;
16831 main ()
16833 if ((ac__type_new_ *) 0)
16834 return 0;
16835 if (sizeof (ac__type_new_))
16836 return 0;
16838 return 0;
16840 _ACEOF
16841 rm -f conftest.$ac_objext
16842 if { (ac_try="$ac_compile"
16843 case "(($ac_try" in
16844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16845 *) ac_try_echo=$ac_try;;
16846 esac
16847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16848 (eval "$ac_compile") 2>conftest.er1
16849 ac_status=$?
16850 grep -v '^ *+' conftest.er1 >conftest.err
16851 rm -f conftest.er1
16852 cat conftest.err >&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); } && {
16855 test -z "$ac_c_werror_flag" ||
16856 test ! -s conftest.err
16857 } && test -s conftest.$ac_objext; then
16858 ac_cv_type_off_t=yes
16859 else
16860 echo "$as_me: failed program was:" >&5
16861 sed 's/^/| /' conftest.$ac_ext >&5
16863 ac_cv_type_off_t=no
16866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16868 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16869 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16870 if test $ac_cv_type_off_t = yes; then
16872 cat >>confdefs.h <<_ACEOF
16873 #define HAVE_OFF_T 1
16874 _ACEOF
16878 { echo "$as_me:$LINENO: checking for pid_t" >&5
16879 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16880 if test "${ac_cv_type_pid_t+set}" = set; then
16881 echo $ECHO_N "(cached) $ECHO_C" >&6
16882 else
16883 cat >conftest.$ac_ext <<_ACEOF
16884 /* confdefs.h. */
16885 _ACEOF
16886 cat confdefs.h >>conftest.$ac_ext
16887 cat >>conftest.$ac_ext <<_ACEOF
16888 /* end confdefs.h. */
16889 $ac_includes_default
16890 typedef pid_t ac__type_new_;
16892 main ()
16894 if ((ac__type_new_ *) 0)
16895 return 0;
16896 if (sizeof (ac__type_new_))
16897 return 0;
16899 return 0;
16901 _ACEOF
16902 rm -f conftest.$ac_objext
16903 if { (ac_try="$ac_compile"
16904 case "(($ac_try" in
16905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16906 *) ac_try_echo=$ac_try;;
16907 esac
16908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16909 (eval "$ac_compile") 2>conftest.er1
16910 ac_status=$?
16911 grep -v '^ *+' conftest.er1 >conftest.err
16912 rm -f conftest.er1
16913 cat conftest.err >&5
16914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915 (exit $ac_status); } && {
16916 test -z "$ac_c_werror_flag" ||
16917 test ! -s conftest.err
16918 } && test -s conftest.$ac_objext; then
16919 ac_cv_type_pid_t=yes
16920 else
16921 echo "$as_me: failed program was:" >&5
16922 sed 's/^/| /' conftest.$ac_ext >&5
16924 ac_cv_type_pid_t=no
16927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16930 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16931 if test $ac_cv_type_pid_t = yes; then
16933 cat >>confdefs.h <<_ACEOF
16934 #define HAVE_PID_T 1
16935 _ACEOF
16939 { echo "$as_me:$LINENO: checking for size_t" >&5
16940 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
16941 if test "${ac_cv_type_size_t+set}" = set; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16943 else
16944 cat >conftest.$ac_ext <<_ACEOF
16945 /* confdefs.h. */
16946 _ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16951 typedef size_t ac__type_new_;
16953 main ()
16955 if ((ac__type_new_ *) 0)
16956 return 0;
16957 if (sizeof (ac__type_new_))
16958 return 0;
16960 return 0;
16962 _ACEOF
16963 rm -f conftest.$ac_objext
16964 if { (ac_try="$ac_compile"
16965 case "(($ac_try" in
16966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16967 *) ac_try_echo=$ac_try;;
16968 esac
16969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16970 (eval "$ac_compile") 2>conftest.er1
16971 ac_status=$?
16972 grep -v '^ *+' conftest.er1 >conftest.err
16973 rm -f conftest.er1
16974 cat conftest.err >&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); } && {
16977 test -z "$ac_c_werror_flag" ||
16978 test ! -s conftest.err
16979 } && test -s conftest.$ac_objext; then
16980 ac_cv_type_size_t=yes
16981 else
16982 echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16985 ac_cv_type_size_t=no
16988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16990 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16991 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
16992 if test $ac_cv_type_size_t = yes; then
16994 cat >>confdefs.h <<_ACEOF
16995 #define HAVE_SIZE_T 1
16996 _ACEOF
17000 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17001 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17002 if test "${ac_cv_type_ssize_t+set}" = set; then
17003 echo $ECHO_N "(cached) $ECHO_C" >&6
17004 else
17005 cat >conftest.$ac_ext <<_ACEOF
17006 /* confdefs.h. */
17007 _ACEOF
17008 cat confdefs.h >>conftest.$ac_ext
17009 cat >>conftest.$ac_ext <<_ACEOF
17010 /* end confdefs.h. */
17011 $ac_includes_default
17012 typedef ssize_t ac__type_new_;
17014 main ()
17016 if ((ac__type_new_ *) 0)
17017 return 0;
17018 if (sizeof (ac__type_new_))
17019 return 0;
17021 return 0;
17023 _ACEOF
17024 rm -f conftest.$ac_objext
17025 if { (ac_try="$ac_compile"
17026 case "(($ac_try" in
17027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17028 *) ac_try_echo=$ac_try;;
17029 esac
17030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17031 (eval "$ac_compile") 2>conftest.er1
17032 ac_status=$?
17033 grep -v '^ *+' conftest.er1 >conftest.err
17034 rm -f conftest.er1
17035 cat conftest.err >&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); } && {
17038 test -z "$ac_c_werror_flag" ||
17039 test ! -s conftest.err
17040 } && test -s conftest.$ac_objext; then
17041 ac_cv_type_ssize_t=yes
17042 else
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.$ac_ext >&5
17046 ac_cv_type_ssize_t=no
17049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17051 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17052 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17053 if test $ac_cv_type_ssize_t = yes; then
17055 cat >>confdefs.h <<_ACEOF
17056 #define HAVE_SSIZE_T 1
17057 _ACEOF
17061 { echo "$as_me:$LINENO: checking for long long" >&5
17062 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17063 if test "${ac_cv_type_long_long+set}" = set; then
17064 echo $ECHO_N "(cached) $ECHO_C" >&6
17065 else
17066 cat >conftest.$ac_ext <<_ACEOF
17067 /* confdefs.h. */
17068 _ACEOF
17069 cat confdefs.h >>conftest.$ac_ext
17070 cat >>conftest.$ac_ext <<_ACEOF
17071 /* end confdefs.h. */
17072 $ac_includes_default
17073 typedef long long ac__type_new_;
17075 main ()
17077 if ((ac__type_new_ *) 0)
17078 return 0;
17079 if (sizeof (ac__type_new_))
17080 return 0;
17082 return 0;
17084 _ACEOF
17085 rm -f conftest.$ac_objext
17086 if { (ac_try="$ac_compile"
17087 case "(($ac_try" in
17088 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17089 *) ac_try_echo=$ac_try;;
17090 esac
17091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17092 (eval "$ac_compile") 2>conftest.er1
17093 ac_status=$?
17094 grep -v '^ *+' conftest.er1 >conftest.err
17095 rm -f conftest.er1
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } && {
17099 test -z "$ac_c_werror_flag" ||
17100 test ! -s conftest.err
17101 } && test -s conftest.$ac_objext; then
17102 ac_cv_type_long_long=yes
17103 else
17104 echo "$as_me: failed program was:" >&5
17105 sed 's/^/| /' conftest.$ac_ext >&5
17107 ac_cv_type_long_long=no
17110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17112 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17113 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17114 if test $ac_cv_type_long_long = yes; then
17116 cat >>confdefs.h <<_ACEOF
17117 #define HAVE_LONG_LONG 1
17118 _ACEOF
17122 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17123 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17124 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17126 else
17127 cat >conftest.$ac_ext <<_ACEOF
17128 /* confdefs.h. */
17129 _ACEOF
17130 cat confdefs.h >>conftest.$ac_ext
17131 cat >>conftest.$ac_ext <<_ACEOF
17132 /* end confdefs.h. */
17133 $ac_includes_default
17134 typedef fsblkcnt_t ac__type_new_;
17136 main ()
17138 if ((ac__type_new_ *) 0)
17139 return 0;
17140 if (sizeof (ac__type_new_))
17141 return 0;
17143 return 0;
17145 _ACEOF
17146 rm -f conftest.$ac_objext
17147 if { (ac_try="$ac_compile"
17148 case "(($ac_try" in
17149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17150 *) ac_try_echo=$ac_try;;
17151 esac
17152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17153 (eval "$ac_compile") 2>conftest.er1
17154 ac_status=$?
17155 grep -v '^ *+' conftest.er1 >conftest.err
17156 rm -f conftest.er1
17157 cat conftest.err >&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); } && {
17160 test -z "$ac_c_werror_flag" ||
17161 test ! -s conftest.err
17162 } && test -s conftest.$ac_objext; then
17163 ac_cv_type_fsblkcnt_t=yes
17164 else
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17168 ac_cv_type_fsblkcnt_t=no
17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17174 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17175 if test $ac_cv_type_fsblkcnt_t = yes; then
17177 cat >>confdefs.h <<_ACEOF
17178 #define HAVE_FSBLKCNT_T 1
17179 _ACEOF
17183 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17184 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17185 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17187 else
17188 cat >conftest.$ac_ext <<_ACEOF
17189 /* confdefs.h. */
17190 _ACEOF
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17195 typedef fsfilcnt_t ac__type_new_;
17197 main ()
17199 if ((ac__type_new_ *) 0)
17200 return 0;
17201 if (sizeof (ac__type_new_))
17202 return 0;
17204 return 0;
17206 _ACEOF
17207 rm -f conftest.$ac_objext
17208 if { (ac_try="$ac_compile"
17209 case "(($ac_try" in
17210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17211 *) ac_try_echo=$ac_try;;
17212 esac
17213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17214 (eval "$ac_compile") 2>conftest.er1
17215 ac_status=$?
17216 grep -v '^ *+' conftest.er1 >conftest.err
17217 rm -f conftest.er1
17218 cat conftest.err >&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } && {
17221 test -z "$ac_c_werror_flag" ||
17222 test ! -s conftest.err
17223 } && test -s conftest.$ac_objext; then
17224 ac_cv_type_fsfilcnt_t=yes
17225 else
17226 echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17229 ac_cv_type_fsfilcnt_t=no
17232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17234 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17235 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17236 if test $ac_cv_type_fsfilcnt_t = yes; then
17238 cat >>confdefs.h <<_ACEOF
17239 #define HAVE_FSFILCNT_T 1
17240 _ACEOF
17245 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17246 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17247 if test "${ac_cv_type_sigset_t+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17249 else
17250 cat >conftest.$ac_ext <<_ACEOF
17251 /* confdefs.h. */
17252 _ACEOF
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17256 #include <signal.h>
17258 typedef sigset_t ac__type_new_;
17260 main ()
17262 if ((ac__type_new_ *) 0)
17263 return 0;
17264 if (sizeof (ac__type_new_))
17265 return 0;
17267 return 0;
17269 _ACEOF
17270 rm -f conftest.$ac_objext
17271 if { (ac_try="$ac_compile"
17272 case "(($ac_try" in
17273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17274 *) ac_try_echo=$ac_try;;
17275 esac
17276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17277 (eval "$ac_compile") 2>conftest.er1
17278 ac_status=$?
17279 grep -v '^ *+' conftest.er1 >conftest.err
17280 rm -f conftest.er1
17281 cat conftest.err >&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); } && {
17284 test -z "$ac_c_werror_flag" ||
17285 test ! -s conftest.err
17286 } && test -s conftest.$ac_objext; then
17287 ac_cv_type_sigset_t=yes
17288 else
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17292 ac_cv_type_sigset_t=no
17295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17297 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17298 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17299 if test $ac_cv_type_sigset_t = yes; then
17301 cat >>confdefs.h <<_ACEOF
17302 #define HAVE_SIGSET_T 1
17303 _ACEOF
17308 { echo "$as_me:$LINENO: checking for request_sense" >&5
17309 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17310 if test "${ac_cv_type_request_sense+set}" = set; then
17311 echo $ECHO_N "(cached) $ECHO_C" >&6
17312 else
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319 #include <linux/cdrom.h>
17321 typedef request_sense ac__type_new_;
17323 main ()
17325 if ((ac__type_new_ *) 0)
17326 return 0;
17327 if (sizeof (ac__type_new_))
17328 return 0;
17330 return 0;
17332 _ACEOF
17333 rm -f conftest.$ac_objext
17334 if { (ac_try="$ac_compile"
17335 case "(($ac_try" in
17336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17337 *) ac_try_echo=$ac_try;;
17338 esac
17339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17340 (eval "$ac_compile") 2>conftest.er1
17341 ac_status=$?
17342 grep -v '^ *+' conftest.er1 >conftest.err
17343 rm -f conftest.er1
17344 cat conftest.err >&5
17345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17346 (exit $ac_status); } && {
17347 test -z "$ac_c_werror_flag" ||
17348 test ! -s conftest.err
17349 } && test -s conftest.$ac_objext; then
17350 ac_cv_type_request_sense=yes
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 ac_cv_type_request_sense=no
17358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17360 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17361 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17362 if test $ac_cv_type_request_sense = yes; then
17364 cat >>confdefs.h <<_ACEOF
17365 #define HAVE_REQUEST_SENSE 1
17366 _ACEOF
17372 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17373 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17374 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17375 echo $ECHO_N "(cached) $ECHO_C" >&6
17376 else
17377 cat >conftest.$ac_ext <<_ACEOF
17378 /* confdefs.h. */
17379 _ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 #ifdef HAVE_LINUX_INPUT_H
17384 #include <linux/input.h>
17385 #endif
17388 main ()
17390 static struct ff_effect ac_aggr;
17391 if (ac_aggr.direction)
17392 return 0;
17394 return 0;
17396 _ACEOF
17397 rm -f conftest.$ac_objext
17398 if { (ac_try="$ac_compile"
17399 case "(($ac_try" in
17400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17401 *) ac_try_echo=$ac_try;;
17402 esac
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_compile") 2>conftest.er1
17405 ac_status=$?
17406 grep -v '^ *+' conftest.er1 >conftest.err
17407 rm -f conftest.er1
17408 cat conftest.err >&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); } && {
17411 test -z "$ac_c_werror_flag" ||
17412 test ! -s conftest.err
17413 } && test -s conftest.$ac_objext; then
17414 ac_cv_member_struct_ff_effect_direction=yes
17415 else
17416 echo "$as_me: failed program was:" >&5
17417 sed 's/^/| /' conftest.$ac_ext >&5
17419 cat >conftest.$ac_ext <<_ACEOF
17420 /* confdefs.h. */
17421 _ACEOF
17422 cat confdefs.h >>conftest.$ac_ext
17423 cat >>conftest.$ac_ext <<_ACEOF
17424 /* end confdefs.h. */
17425 #ifdef HAVE_LINUX_INPUT_H
17426 #include <linux/input.h>
17427 #endif
17430 main ()
17432 static struct ff_effect ac_aggr;
17433 if (sizeof ac_aggr.direction)
17434 return 0;
17436 return 0;
17438 _ACEOF
17439 rm -f conftest.$ac_objext
17440 if { (ac_try="$ac_compile"
17441 case "(($ac_try" in
17442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17443 *) ac_try_echo=$ac_try;;
17444 esac
17445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17446 (eval "$ac_compile") 2>conftest.er1
17447 ac_status=$?
17448 grep -v '^ *+' conftest.er1 >conftest.err
17449 rm -f conftest.er1
17450 cat conftest.err >&5
17451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } && {
17453 test -z "$ac_c_werror_flag" ||
17454 test ! -s conftest.err
17455 } && test -s conftest.$ac_objext; then
17456 ac_cv_member_struct_ff_effect_direction=yes
17457 else
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17461 ac_cv_member_struct_ff_effect_direction=no
17464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17469 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17470 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17471 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17473 cat >>confdefs.h <<_ACEOF
17474 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17475 _ACEOF
17481 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17482 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17483 if test "${wine_cv_have_sigaddset+set}" = set; then
17484 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 else
17486 cat >conftest.$ac_ext <<_ACEOF
17487 /* confdefs.h. */
17488 _ACEOF
17489 cat confdefs.h >>conftest.$ac_ext
17490 cat >>conftest.$ac_ext <<_ACEOF
17491 /* end confdefs.h. */
17492 #include <signal.h>
17494 main ()
17496 sigset_t set; sigaddset(&set,SIGTERM);
17498 return 0;
17500 _ACEOF
17501 rm -f conftest.$ac_objext conftest$ac_exeext
17502 if { (ac_try="$ac_link"
17503 case "(($ac_try" in
17504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17505 *) ac_try_echo=$ac_try;;
17506 esac
17507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17508 (eval "$ac_link") 2>conftest.er1
17509 ac_status=$?
17510 grep -v '^ *+' conftest.er1 >conftest.err
17511 rm -f conftest.er1
17512 cat conftest.err >&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); } && {
17515 test -z "$ac_c_werror_flag" ||
17516 test ! -s conftest.err
17517 } && test -s conftest$ac_exeext &&
17518 $as_test_x conftest$ac_exeext; then
17519 wine_cv_have_sigaddset=yes
17520 else
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.$ac_ext >&5
17524 wine_cv_have_sigaddset=no
17527 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17528 conftest$ac_exeext conftest.$ac_ext
17530 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17531 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17532 if test "$wine_cv_have_sigaddset" = "yes"
17533 then
17535 cat >>confdefs.h <<\_ACEOF
17536 #define HAVE_SIGADDSET 1
17537 _ACEOF
17542 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17543 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17544 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17545 echo $ECHO_N "(cached) $ECHO_C" >&6
17546 else
17547 cat >conftest.$ac_ext <<_ACEOF
17548 /* confdefs.h. */
17549 _ACEOF
17550 cat confdefs.h >>conftest.$ac_ext
17551 cat >>conftest.$ac_ext <<_ACEOF
17552 /* end confdefs.h. */
17554 #include <netdb.h>
17557 main ()
17560 char *name=NULL;
17561 struct hostent he;
17562 struct hostent *result;
17563 char *buf=NULL;
17564 int bufsize=0;
17565 int res,errnr;
17566 char *addr=NULL;
17567 int addrlen=0;
17568 int addrtype=0;
17569 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17570 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17573 return 0;
17575 _ACEOF
17576 rm -f conftest.$ac_objext conftest$ac_exeext
17577 if { (ac_try="$ac_link"
17578 case "(($ac_try" in
17579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17580 *) ac_try_echo=$ac_try;;
17581 esac
17582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17583 (eval "$ac_link") 2>conftest.er1
17584 ac_status=$?
17585 grep -v '^ *+' conftest.er1 >conftest.err
17586 rm -f conftest.er1
17587 cat conftest.err >&5
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); } && {
17590 test -z "$ac_c_werror_flag" ||
17591 test ! -s conftest.err
17592 } && test -s conftest$ac_exeext &&
17593 $as_test_x conftest$ac_exeext; then
17594 wine_cv_linux_gethostbyname_r_6=yes
17595 else
17596 echo "$as_me: failed program was:" >&5
17597 sed 's/^/| /' conftest.$ac_ext >&5
17599 wine_cv_linux_gethostbyname_r_6=no
17603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17604 conftest$ac_exeext conftest.$ac_ext
17607 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17608 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17609 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17610 then
17612 cat >>confdefs.h <<\_ACEOF
17613 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17614 _ACEOF
17618 if test "$ac_cv_header_linux_joystick_h" = "yes"
17619 then
17620 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17621 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17622 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17623 echo $ECHO_N "(cached) $ECHO_C" >&6
17624 else
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17632 #include <sys/ioctl.h>
17633 #include <sys/types.h>
17634 #include <linux/joystick.h>
17636 struct js_event blub;
17637 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17638 #error "no 2.2 header"
17639 #endif
17642 main ()
17644 /*empty*/
17646 return 0;
17648 _ACEOF
17649 rm -f conftest.$ac_objext
17650 if { (ac_try="$ac_compile"
17651 case "(($ac_try" in
17652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17653 *) ac_try_echo=$ac_try;;
17654 esac
17655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17656 (eval "$ac_compile") 2>conftest.er1
17657 ac_status=$?
17658 grep -v '^ *+' conftest.er1 >conftest.err
17659 rm -f conftest.er1
17660 cat conftest.err >&5
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); } && {
17663 test -z "$ac_c_werror_flag" ||
17664 test ! -s conftest.err
17665 } && test -s conftest.$ac_objext; then
17666 wine_cv_linux_joystick_22_api=yes
17667 else
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17671 wine_cv_linux_joystick_22_api=no
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17677 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17678 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17679 if test "$wine_cv_linux_joystick_22_api" = "yes"
17680 then
17682 cat >>confdefs.h <<\_ACEOF
17683 #define HAVE_LINUX_22_JOYSTICK_API 1
17684 _ACEOF
17690 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17691 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17692 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17693 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 else
17695 cat >conftest.$ac_ext <<_ACEOF
17696 /* confdefs.h. */
17697 _ACEOF
17698 cat confdefs.h >>conftest.$ac_ext
17699 cat >>conftest.$ac_ext <<_ACEOF
17700 /* end confdefs.h. */
17701 #include <sys/types.h>
17702 #ifdef HAVE_SYS_PARAM_H
17703 # include <sys/param.h>
17704 #endif
17705 #ifdef HAVE_SYS_MOUNT_H
17706 # include <sys/mount.h>
17707 #endif
17708 #ifdef HAVE_SYS_VFS_H
17709 # include <sys/vfs.h>
17710 #endif
17711 #ifdef HAVE_SYS_STATFS_H
17712 # include <sys/statfs.h>
17713 #endif
17716 main ()
17718 static struct statfs ac_aggr;
17719 if (ac_aggr.f_bfree)
17720 return 0;
17722 return 0;
17724 _ACEOF
17725 rm -f conftest.$ac_objext
17726 if { (ac_try="$ac_compile"
17727 case "(($ac_try" in
17728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17729 *) ac_try_echo=$ac_try;;
17730 esac
17731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17732 (eval "$ac_compile") 2>conftest.er1
17733 ac_status=$?
17734 grep -v '^ *+' conftest.er1 >conftest.err
17735 rm -f conftest.er1
17736 cat conftest.err >&5
17737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17738 (exit $ac_status); } && {
17739 test -z "$ac_c_werror_flag" ||
17740 test ! -s conftest.err
17741 } && test -s conftest.$ac_objext; then
17742 ac_cv_member_struct_statfs_f_bfree=yes
17743 else
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17747 cat >conftest.$ac_ext <<_ACEOF
17748 /* confdefs.h. */
17749 _ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753 #include <sys/types.h>
17754 #ifdef HAVE_SYS_PARAM_H
17755 # include <sys/param.h>
17756 #endif
17757 #ifdef HAVE_SYS_MOUNT_H
17758 # include <sys/mount.h>
17759 #endif
17760 #ifdef HAVE_SYS_VFS_H
17761 # include <sys/vfs.h>
17762 #endif
17763 #ifdef HAVE_SYS_STATFS_H
17764 # include <sys/statfs.h>
17765 #endif
17768 main ()
17770 static struct statfs ac_aggr;
17771 if (sizeof ac_aggr.f_bfree)
17772 return 0;
17774 return 0;
17776 _ACEOF
17777 rm -f conftest.$ac_objext
17778 if { (ac_try="$ac_compile"
17779 case "(($ac_try" in
17780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17781 *) ac_try_echo=$ac_try;;
17782 esac
17783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17784 (eval "$ac_compile") 2>conftest.er1
17785 ac_status=$?
17786 grep -v '^ *+' conftest.er1 >conftest.err
17787 rm -f conftest.er1
17788 cat conftest.err >&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); } && {
17791 test -z "$ac_c_werror_flag" ||
17792 test ! -s conftest.err
17793 } && test -s conftest.$ac_objext; then
17794 ac_cv_member_struct_statfs_f_bfree=yes
17795 else
17796 echo "$as_me: failed program was:" >&5
17797 sed 's/^/| /' conftest.$ac_ext >&5
17799 ac_cv_member_struct_statfs_f_bfree=no
17802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17808 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17809 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17811 cat >>confdefs.h <<_ACEOF
17812 #define HAVE_STRUCT_STATFS_F_BFREE 1
17813 _ACEOF
17817 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17818 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17819 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17820 echo $ECHO_N "(cached) $ECHO_C" >&6
17821 else
17822 cat >conftest.$ac_ext <<_ACEOF
17823 /* confdefs.h. */
17824 _ACEOF
17825 cat confdefs.h >>conftest.$ac_ext
17826 cat >>conftest.$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17828 #include <sys/types.h>
17829 #ifdef HAVE_SYS_PARAM_H
17830 # include <sys/param.h>
17831 #endif
17832 #ifdef HAVE_SYS_MOUNT_H
17833 # include <sys/mount.h>
17834 #endif
17835 #ifdef HAVE_SYS_VFS_H
17836 # include <sys/vfs.h>
17837 #endif
17838 #ifdef HAVE_SYS_STATFS_H
17839 # include <sys/statfs.h>
17840 #endif
17843 main ()
17845 static struct statfs ac_aggr;
17846 if (ac_aggr.f_bavail)
17847 return 0;
17849 return 0;
17851 _ACEOF
17852 rm -f conftest.$ac_objext
17853 if { (ac_try="$ac_compile"
17854 case "(($ac_try" in
17855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17856 *) ac_try_echo=$ac_try;;
17857 esac
17858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17859 (eval "$ac_compile") 2>conftest.er1
17860 ac_status=$?
17861 grep -v '^ *+' conftest.er1 >conftest.err
17862 rm -f conftest.er1
17863 cat conftest.err >&5
17864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17865 (exit $ac_status); } && {
17866 test -z "$ac_c_werror_flag" ||
17867 test ! -s conftest.err
17868 } && test -s conftest.$ac_objext; then
17869 ac_cv_member_struct_statfs_f_bavail=yes
17870 else
17871 echo "$as_me: failed program was:" >&5
17872 sed 's/^/| /' conftest.$ac_ext >&5
17874 cat >conftest.$ac_ext <<_ACEOF
17875 /* confdefs.h. */
17876 _ACEOF
17877 cat confdefs.h >>conftest.$ac_ext
17878 cat >>conftest.$ac_ext <<_ACEOF
17879 /* end confdefs.h. */
17880 #include <sys/types.h>
17881 #ifdef HAVE_SYS_PARAM_H
17882 # include <sys/param.h>
17883 #endif
17884 #ifdef HAVE_SYS_MOUNT_H
17885 # include <sys/mount.h>
17886 #endif
17887 #ifdef HAVE_SYS_VFS_H
17888 # include <sys/vfs.h>
17889 #endif
17890 #ifdef HAVE_SYS_STATFS_H
17891 # include <sys/statfs.h>
17892 #endif
17895 main ()
17897 static struct statfs ac_aggr;
17898 if (sizeof ac_aggr.f_bavail)
17899 return 0;
17901 return 0;
17903 _ACEOF
17904 rm -f conftest.$ac_objext
17905 if { (ac_try="$ac_compile"
17906 case "(($ac_try" in
17907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17908 *) ac_try_echo=$ac_try;;
17909 esac
17910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17911 (eval "$ac_compile") 2>conftest.er1
17912 ac_status=$?
17913 grep -v '^ *+' conftest.er1 >conftest.err
17914 rm -f conftest.er1
17915 cat conftest.err >&5
17916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17917 (exit $ac_status); } && {
17918 test -z "$ac_c_werror_flag" ||
17919 test ! -s conftest.err
17920 } && test -s conftest.$ac_objext; then
17921 ac_cv_member_struct_statfs_f_bavail=yes
17922 else
17923 echo "$as_me: failed program was:" >&5
17924 sed 's/^/| /' conftest.$ac_ext >&5
17926 ac_cv_member_struct_statfs_f_bavail=no
17929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17935 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17936 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17938 cat >>confdefs.h <<_ACEOF
17939 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17940 _ACEOF
17944 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17945 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
17946 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17947 echo $ECHO_N "(cached) $ECHO_C" >&6
17948 else
17949 cat >conftest.$ac_ext <<_ACEOF
17950 /* confdefs.h. */
17951 _ACEOF
17952 cat confdefs.h >>conftest.$ac_ext
17953 cat >>conftest.$ac_ext <<_ACEOF
17954 /* end confdefs.h. */
17955 #include <sys/types.h>
17956 #ifdef HAVE_SYS_PARAM_H
17957 # include <sys/param.h>
17958 #endif
17959 #ifdef HAVE_SYS_MOUNT_H
17960 # include <sys/mount.h>
17961 #endif
17962 #ifdef HAVE_SYS_VFS_H
17963 # include <sys/vfs.h>
17964 #endif
17965 #ifdef HAVE_SYS_STATFS_H
17966 # include <sys/statfs.h>
17967 #endif
17970 main ()
17972 static struct statfs ac_aggr;
17973 if (ac_aggr.f_frsize)
17974 return 0;
17976 return 0;
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17984 esac
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17987 ac_status=$?
17988 grep -v '^ *+' conftest.er1 >conftest.err
17989 rm -f conftest.er1
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 ac_cv_member_struct_statfs_f_frsize=yes
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18001 cat >conftest.$ac_ext <<_ACEOF
18002 /* confdefs.h. */
18003 _ACEOF
18004 cat confdefs.h >>conftest.$ac_ext
18005 cat >>conftest.$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18007 #include <sys/types.h>
18008 #ifdef HAVE_SYS_PARAM_H
18009 # include <sys/param.h>
18010 #endif
18011 #ifdef HAVE_SYS_MOUNT_H
18012 # include <sys/mount.h>
18013 #endif
18014 #ifdef HAVE_SYS_VFS_H
18015 # include <sys/vfs.h>
18016 #endif
18017 #ifdef HAVE_SYS_STATFS_H
18018 # include <sys/statfs.h>
18019 #endif
18022 main ()
18024 static struct statfs ac_aggr;
18025 if (sizeof ac_aggr.f_frsize)
18026 return 0;
18028 return 0;
18030 _ACEOF
18031 rm -f conftest.$ac_objext
18032 if { (ac_try="$ac_compile"
18033 case "(($ac_try" in
18034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18035 *) ac_try_echo=$ac_try;;
18036 esac
18037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18038 (eval "$ac_compile") 2>conftest.er1
18039 ac_status=$?
18040 grep -v '^ *+' conftest.er1 >conftest.err
18041 rm -f conftest.er1
18042 cat conftest.err >&5
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); } && {
18045 test -z "$ac_c_werror_flag" ||
18046 test ! -s conftest.err
18047 } && test -s conftest.$ac_objext; then
18048 ac_cv_member_struct_statfs_f_frsize=yes
18049 else
18050 echo "$as_me: failed program was:" >&5
18051 sed 's/^/| /' conftest.$ac_ext >&5
18053 ac_cv_member_struct_statfs_f_frsize=no
18056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18062 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18063 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18065 cat >>confdefs.h <<_ACEOF
18066 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18067 _ACEOF
18071 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18072 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18073 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18074 echo $ECHO_N "(cached) $ECHO_C" >&6
18075 else
18076 cat >conftest.$ac_ext <<_ACEOF
18077 /* confdefs.h. */
18078 _ACEOF
18079 cat confdefs.h >>conftest.$ac_ext
18080 cat >>conftest.$ac_ext <<_ACEOF
18081 /* end confdefs.h. */
18082 #include <sys/types.h>
18083 #ifdef HAVE_SYS_PARAM_H
18084 # include <sys/param.h>
18085 #endif
18086 #ifdef HAVE_SYS_MOUNT_H
18087 # include <sys/mount.h>
18088 #endif
18089 #ifdef HAVE_SYS_VFS_H
18090 # include <sys/vfs.h>
18091 #endif
18092 #ifdef HAVE_SYS_STATFS_H
18093 # include <sys/statfs.h>
18094 #endif
18097 main ()
18099 static struct statfs ac_aggr;
18100 if (ac_aggr.f_ffree)
18101 return 0;
18103 return 0;
18105 _ACEOF
18106 rm -f conftest.$ac_objext
18107 if { (ac_try="$ac_compile"
18108 case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18111 esac
18112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_compile") 2>conftest.er1
18114 ac_status=$?
18115 grep -v '^ *+' conftest.er1 >conftest.err
18116 rm -f conftest.er1
18117 cat conftest.err >&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } && {
18120 test -z "$ac_c_werror_flag" ||
18121 test ! -s conftest.err
18122 } && test -s conftest.$ac_objext; then
18123 ac_cv_member_struct_statfs_f_ffree=yes
18124 else
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18128 cat >conftest.$ac_ext <<_ACEOF
18129 /* confdefs.h. */
18130 _ACEOF
18131 cat confdefs.h >>conftest.$ac_ext
18132 cat >>conftest.$ac_ext <<_ACEOF
18133 /* end confdefs.h. */
18134 #include <sys/types.h>
18135 #ifdef HAVE_SYS_PARAM_H
18136 # include <sys/param.h>
18137 #endif
18138 #ifdef HAVE_SYS_MOUNT_H
18139 # include <sys/mount.h>
18140 #endif
18141 #ifdef HAVE_SYS_VFS_H
18142 # include <sys/vfs.h>
18143 #endif
18144 #ifdef HAVE_SYS_STATFS_H
18145 # include <sys/statfs.h>
18146 #endif
18149 main ()
18151 static struct statfs ac_aggr;
18152 if (sizeof ac_aggr.f_ffree)
18153 return 0;
18155 return 0;
18157 _ACEOF
18158 rm -f conftest.$ac_objext
18159 if { (ac_try="$ac_compile"
18160 case "(($ac_try" in
18161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18162 *) ac_try_echo=$ac_try;;
18163 esac
18164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18165 (eval "$ac_compile") 2>conftest.er1
18166 ac_status=$?
18167 grep -v '^ *+' conftest.er1 >conftest.err
18168 rm -f conftest.er1
18169 cat conftest.err >&5
18170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18171 (exit $ac_status); } && {
18172 test -z "$ac_c_werror_flag" ||
18173 test ! -s conftest.err
18174 } && test -s conftest.$ac_objext; then
18175 ac_cv_member_struct_statfs_f_ffree=yes
18176 else
18177 echo "$as_me: failed program was:" >&5
18178 sed 's/^/| /' conftest.$ac_ext >&5
18180 ac_cv_member_struct_statfs_f_ffree=no
18183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18188 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18189 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18190 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18192 cat >>confdefs.h <<_ACEOF
18193 #define HAVE_STRUCT_STATFS_F_FFREE 1
18194 _ACEOF
18198 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18199 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18200 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18201 echo $ECHO_N "(cached) $ECHO_C" >&6
18202 else
18203 cat >conftest.$ac_ext <<_ACEOF
18204 /* confdefs.h. */
18205 _ACEOF
18206 cat confdefs.h >>conftest.$ac_ext
18207 cat >>conftest.$ac_ext <<_ACEOF
18208 /* end confdefs.h. */
18209 #include <sys/types.h>
18210 #ifdef HAVE_SYS_PARAM_H
18211 # include <sys/param.h>
18212 #endif
18213 #ifdef HAVE_SYS_MOUNT_H
18214 # include <sys/mount.h>
18215 #endif
18216 #ifdef HAVE_SYS_VFS_H
18217 # include <sys/vfs.h>
18218 #endif
18219 #ifdef HAVE_SYS_STATFS_H
18220 # include <sys/statfs.h>
18221 #endif
18224 main ()
18226 static struct statfs ac_aggr;
18227 if (ac_aggr.f_favail)
18228 return 0;
18230 return 0;
18232 _ACEOF
18233 rm -f conftest.$ac_objext
18234 if { (ac_try="$ac_compile"
18235 case "(($ac_try" in
18236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18237 *) ac_try_echo=$ac_try;;
18238 esac
18239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18240 (eval "$ac_compile") 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } && {
18247 test -z "$ac_c_werror_flag" ||
18248 test ! -s conftest.err
18249 } && test -s conftest.$ac_objext; then
18250 ac_cv_member_struct_statfs_f_favail=yes
18251 else
18252 echo "$as_me: failed program was:" >&5
18253 sed 's/^/| /' conftest.$ac_ext >&5
18255 cat >conftest.$ac_ext <<_ACEOF
18256 /* confdefs.h. */
18257 _ACEOF
18258 cat confdefs.h >>conftest.$ac_ext
18259 cat >>conftest.$ac_ext <<_ACEOF
18260 /* end confdefs.h. */
18261 #include <sys/types.h>
18262 #ifdef HAVE_SYS_PARAM_H
18263 # include <sys/param.h>
18264 #endif
18265 #ifdef HAVE_SYS_MOUNT_H
18266 # include <sys/mount.h>
18267 #endif
18268 #ifdef HAVE_SYS_VFS_H
18269 # include <sys/vfs.h>
18270 #endif
18271 #ifdef HAVE_SYS_STATFS_H
18272 # include <sys/statfs.h>
18273 #endif
18276 main ()
18278 static struct statfs ac_aggr;
18279 if (sizeof ac_aggr.f_favail)
18280 return 0;
18282 return 0;
18284 _ACEOF
18285 rm -f conftest.$ac_objext
18286 if { (ac_try="$ac_compile"
18287 case "(($ac_try" in
18288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18289 *) ac_try_echo=$ac_try;;
18290 esac
18291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18292 (eval "$ac_compile") 2>conftest.er1
18293 ac_status=$?
18294 grep -v '^ *+' conftest.er1 >conftest.err
18295 rm -f conftest.er1
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } && {
18299 test -z "$ac_c_werror_flag" ||
18300 test ! -s conftest.err
18301 } && test -s conftest.$ac_objext; then
18302 ac_cv_member_struct_statfs_f_favail=yes
18303 else
18304 echo "$as_me: failed program was:" >&5
18305 sed 's/^/| /' conftest.$ac_ext >&5
18307 ac_cv_member_struct_statfs_f_favail=no
18310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18315 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18316 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18317 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18319 cat >>confdefs.h <<_ACEOF
18320 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18321 _ACEOF
18325 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18326 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18327 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 else
18330 cat >conftest.$ac_ext <<_ACEOF
18331 /* confdefs.h. */
18332 _ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336 #include <sys/types.h>
18337 #ifdef HAVE_SYS_PARAM_H
18338 # include <sys/param.h>
18339 #endif
18340 #ifdef HAVE_SYS_MOUNT_H
18341 # include <sys/mount.h>
18342 #endif
18343 #ifdef HAVE_SYS_VFS_H
18344 # include <sys/vfs.h>
18345 #endif
18346 #ifdef HAVE_SYS_STATFS_H
18347 # include <sys/statfs.h>
18348 #endif
18351 main ()
18353 static struct statfs ac_aggr;
18354 if (ac_aggr.f_namelen)
18355 return 0;
18357 return 0;
18359 _ACEOF
18360 rm -f conftest.$ac_objext
18361 if { (ac_try="$ac_compile"
18362 case "(($ac_try" in
18363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18364 *) ac_try_echo=$ac_try;;
18365 esac
18366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_compile") 2>conftest.er1
18368 ac_status=$?
18369 grep -v '^ *+' conftest.er1 >conftest.err
18370 rm -f conftest.er1
18371 cat conftest.err >&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } && {
18374 test -z "$ac_c_werror_flag" ||
18375 test ! -s conftest.err
18376 } && test -s conftest.$ac_objext; then
18377 ac_cv_member_struct_statfs_f_namelen=yes
18378 else
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.$ac_ext >&5
18382 cat >conftest.$ac_ext <<_ACEOF
18383 /* confdefs.h. */
18384 _ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388 #include <sys/types.h>
18389 #ifdef HAVE_SYS_PARAM_H
18390 # include <sys/param.h>
18391 #endif
18392 #ifdef HAVE_SYS_MOUNT_H
18393 # include <sys/mount.h>
18394 #endif
18395 #ifdef HAVE_SYS_VFS_H
18396 # include <sys/vfs.h>
18397 #endif
18398 #ifdef HAVE_SYS_STATFS_H
18399 # include <sys/statfs.h>
18400 #endif
18403 main ()
18405 static struct statfs ac_aggr;
18406 if (sizeof ac_aggr.f_namelen)
18407 return 0;
18409 return 0;
18411 _ACEOF
18412 rm -f conftest.$ac_objext
18413 if { (ac_try="$ac_compile"
18414 case "(($ac_try" in
18415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18416 *) ac_try_echo=$ac_try;;
18417 esac
18418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18419 (eval "$ac_compile") 2>conftest.er1
18420 ac_status=$?
18421 grep -v '^ *+' conftest.er1 >conftest.err
18422 rm -f conftest.er1
18423 cat conftest.err >&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } && {
18426 test -z "$ac_c_werror_flag" ||
18427 test ! -s conftest.err
18428 } && test -s conftest.$ac_objext; then
18429 ac_cv_member_struct_statfs_f_namelen=yes
18430 else
18431 echo "$as_me: failed program was:" >&5
18432 sed 's/^/| /' conftest.$ac_ext >&5
18434 ac_cv_member_struct_statfs_f_namelen=no
18437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18442 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18443 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18444 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18446 cat >>confdefs.h <<_ACEOF
18447 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18448 _ACEOF
18454 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18455 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18456 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18457 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 else
18459 cat >conftest.$ac_ext <<_ACEOF
18460 /* confdefs.h. */
18461 _ACEOF
18462 cat confdefs.h >>conftest.$ac_ext
18463 cat >>conftest.$ac_ext <<_ACEOF
18464 /* end confdefs.h. */
18465 #ifdef HAVE_SYS_STATVFS_H
18466 #include <sys/statvfs.h>
18467 #endif
18470 main ()
18472 static struct statvfs ac_aggr;
18473 if (ac_aggr.f_blocks)
18474 return 0;
18476 return 0;
18478 _ACEOF
18479 rm -f conftest.$ac_objext
18480 if { (ac_try="$ac_compile"
18481 case "(($ac_try" in
18482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18483 *) ac_try_echo=$ac_try;;
18484 esac
18485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18486 (eval "$ac_compile") 2>conftest.er1
18487 ac_status=$?
18488 grep -v '^ *+' conftest.er1 >conftest.err
18489 rm -f conftest.er1
18490 cat conftest.err >&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && {
18493 test -z "$ac_c_werror_flag" ||
18494 test ! -s conftest.err
18495 } && test -s conftest.$ac_objext; then
18496 ac_cv_member_struct_statvfs_f_blocks=yes
18497 else
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.$ac_ext >&5
18501 cat >conftest.$ac_ext <<_ACEOF
18502 /* confdefs.h. */
18503 _ACEOF
18504 cat confdefs.h >>conftest.$ac_ext
18505 cat >>conftest.$ac_ext <<_ACEOF
18506 /* end confdefs.h. */
18507 #ifdef HAVE_SYS_STATVFS_H
18508 #include <sys/statvfs.h>
18509 #endif
18512 main ()
18514 static struct statvfs ac_aggr;
18515 if (sizeof ac_aggr.f_blocks)
18516 return 0;
18518 return 0;
18520 _ACEOF
18521 rm -f conftest.$ac_objext
18522 if { (ac_try="$ac_compile"
18523 case "(($ac_try" in
18524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18525 *) ac_try_echo=$ac_try;;
18526 esac
18527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18528 (eval "$ac_compile") 2>conftest.er1
18529 ac_status=$?
18530 grep -v '^ *+' conftest.er1 >conftest.err
18531 rm -f conftest.er1
18532 cat conftest.err >&5
18533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18534 (exit $ac_status); } && {
18535 test -z "$ac_c_werror_flag" ||
18536 test ! -s conftest.err
18537 } && test -s conftest.$ac_objext; then
18538 ac_cv_member_struct_statvfs_f_blocks=yes
18539 else
18540 echo "$as_me: failed program was:" >&5
18541 sed 's/^/| /' conftest.$ac_ext >&5
18543 ac_cv_member_struct_statvfs_f_blocks=no
18546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18551 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18552 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18553 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18555 cat >>confdefs.h <<_ACEOF
18556 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18557 _ACEOF
18563 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18564 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18565 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18566 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 else
18568 cat >conftest.$ac_ext <<_ACEOF
18569 /* confdefs.h. */
18570 _ACEOF
18571 cat confdefs.h >>conftest.$ac_ext
18572 cat >>conftest.$ac_ext <<_ACEOF
18573 /* end confdefs.h. */
18574 #include <sys/types.h>
18575 #ifdef HAVE_SYS_SOCKET_H
18576 # include <sys/socket.h>
18577 #endif
18578 #ifdef HAVE_SYS_UN_H
18579 # include <sys/un.h>
18580 #endif
18583 main ()
18585 static struct msghdr ac_aggr;
18586 if (ac_aggr.msg_accrights)
18587 return 0;
18589 return 0;
18591 _ACEOF
18592 rm -f conftest.$ac_objext
18593 if { (ac_try="$ac_compile"
18594 case "(($ac_try" in
18595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18596 *) ac_try_echo=$ac_try;;
18597 esac
18598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18599 (eval "$ac_compile") 2>conftest.er1
18600 ac_status=$?
18601 grep -v '^ *+' conftest.er1 >conftest.err
18602 rm -f conftest.er1
18603 cat conftest.err >&5
18604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18605 (exit $ac_status); } && {
18606 test -z "$ac_c_werror_flag" ||
18607 test ! -s conftest.err
18608 } && test -s conftest.$ac_objext; then
18609 ac_cv_member_struct_msghdr_msg_accrights=yes
18610 else
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.$ac_ext >&5
18614 cat >conftest.$ac_ext <<_ACEOF
18615 /* confdefs.h. */
18616 _ACEOF
18617 cat confdefs.h >>conftest.$ac_ext
18618 cat >>conftest.$ac_ext <<_ACEOF
18619 /* end confdefs.h. */
18620 #include <sys/types.h>
18621 #ifdef HAVE_SYS_SOCKET_H
18622 # include <sys/socket.h>
18623 #endif
18624 #ifdef HAVE_SYS_UN_H
18625 # include <sys/un.h>
18626 #endif
18629 main ()
18631 static struct msghdr ac_aggr;
18632 if (sizeof ac_aggr.msg_accrights)
18633 return 0;
18635 return 0;
18637 _ACEOF
18638 rm -f conftest.$ac_objext
18639 if { (ac_try="$ac_compile"
18640 case "(($ac_try" in
18641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18642 *) ac_try_echo=$ac_try;;
18643 esac
18644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18645 (eval "$ac_compile") 2>conftest.er1
18646 ac_status=$?
18647 grep -v '^ *+' conftest.er1 >conftest.err
18648 rm -f conftest.er1
18649 cat conftest.err >&5
18650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18651 (exit $ac_status); } && {
18652 test -z "$ac_c_werror_flag" ||
18653 test ! -s conftest.err
18654 } && test -s conftest.$ac_objext; then
18655 ac_cv_member_struct_msghdr_msg_accrights=yes
18656 else
18657 echo "$as_me: failed program was:" >&5
18658 sed 's/^/| /' conftest.$ac_ext >&5
18660 ac_cv_member_struct_msghdr_msg_accrights=no
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18668 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18669 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18670 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18672 cat >>confdefs.h <<_ACEOF
18673 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18674 _ACEOF
18678 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18679 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18680 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18681 echo $ECHO_N "(cached) $ECHO_C" >&6
18682 else
18683 cat >conftest.$ac_ext <<_ACEOF
18684 /* confdefs.h. */
18685 _ACEOF
18686 cat confdefs.h >>conftest.$ac_ext
18687 cat >>conftest.$ac_ext <<_ACEOF
18688 /* end confdefs.h. */
18689 #include <sys/types.h>
18690 #ifdef HAVE_SYS_SOCKET_H
18691 # include <sys/socket.h>
18692 #endif
18693 #ifdef HAVE_SYS_UN_H
18694 # include <sys/un.h>
18695 #endif
18698 main ()
18700 static struct sockaddr ac_aggr;
18701 if (ac_aggr.sa_len)
18702 return 0;
18704 return 0;
18706 _ACEOF
18707 rm -f conftest.$ac_objext
18708 if { (ac_try="$ac_compile"
18709 case "(($ac_try" in
18710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18711 *) ac_try_echo=$ac_try;;
18712 esac
18713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18714 (eval "$ac_compile") 2>conftest.er1
18715 ac_status=$?
18716 grep -v '^ *+' conftest.er1 >conftest.err
18717 rm -f conftest.er1
18718 cat conftest.err >&5
18719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18720 (exit $ac_status); } && {
18721 test -z "$ac_c_werror_flag" ||
18722 test ! -s conftest.err
18723 } && test -s conftest.$ac_objext; then
18724 ac_cv_member_struct_sockaddr_sa_len=yes
18725 else
18726 echo "$as_me: failed program was:" >&5
18727 sed 's/^/| /' conftest.$ac_ext >&5
18729 cat >conftest.$ac_ext <<_ACEOF
18730 /* confdefs.h. */
18731 _ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18735 #include <sys/types.h>
18736 #ifdef HAVE_SYS_SOCKET_H
18737 # include <sys/socket.h>
18738 #endif
18739 #ifdef HAVE_SYS_UN_H
18740 # include <sys/un.h>
18741 #endif
18744 main ()
18746 static struct sockaddr ac_aggr;
18747 if (sizeof ac_aggr.sa_len)
18748 return 0;
18750 return 0;
18752 _ACEOF
18753 rm -f conftest.$ac_objext
18754 if { (ac_try="$ac_compile"
18755 case "(($ac_try" in
18756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18757 *) ac_try_echo=$ac_try;;
18758 esac
18759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18760 (eval "$ac_compile") 2>conftest.er1
18761 ac_status=$?
18762 grep -v '^ *+' conftest.er1 >conftest.err
18763 rm -f conftest.er1
18764 cat conftest.err >&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); } && {
18767 test -z "$ac_c_werror_flag" ||
18768 test ! -s conftest.err
18769 } && test -s conftest.$ac_objext; then
18770 ac_cv_member_struct_sockaddr_sa_len=yes
18771 else
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18775 ac_cv_member_struct_sockaddr_sa_len=no
18778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18783 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18784 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18785 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18787 cat >>confdefs.h <<_ACEOF
18788 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18789 _ACEOF
18793 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18794 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18795 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18796 echo $ECHO_N "(cached) $ECHO_C" >&6
18797 else
18798 cat >conftest.$ac_ext <<_ACEOF
18799 /* confdefs.h. */
18800 _ACEOF
18801 cat confdefs.h >>conftest.$ac_ext
18802 cat >>conftest.$ac_ext <<_ACEOF
18803 /* end confdefs.h. */
18804 #include <sys/types.h>
18805 #ifdef HAVE_SYS_SOCKET_H
18806 # include <sys/socket.h>
18807 #endif
18808 #ifdef HAVE_SYS_UN_H
18809 # include <sys/un.h>
18810 #endif
18813 main ()
18815 static struct sockaddr_un ac_aggr;
18816 if (ac_aggr.sun_len)
18817 return 0;
18819 return 0;
18821 _ACEOF
18822 rm -f conftest.$ac_objext
18823 if { (ac_try="$ac_compile"
18824 case "(($ac_try" in
18825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18826 *) ac_try_echo=$ac_try;;
18827 esac
18828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18829 (eval "$ac_compile") 2>conftest.er1
18830 ac_status=$?
18831 grep -v '^ *+' conftest.er1 >conftest.err
18832 rm -f conftest.er1
18833 cat conftest.err >&5
18834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18835 (exit $ac_status); } && {
18836 test -z "$ac_c_werror_flag" ||
18837 test ! -s conftest.err
18838 } && test -s conftest.$ac_objext; then
18839 ac_cv_member_struct_sockaddr_un_sun_len=yes
18840 else
18841 echo "$as_me: failed program was:" >&5
18842 sed 's/^/| /' conftest.$ac_ext >&5
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 #include <sys/types.h>
18851 #ifdef HAVE_SYS_SOCKET_H
18852 # include <sys/socket.h>
18853 #endif
18854 #ifdef HAVE_SYS_UN_H
18855 # include <sys/un.h>
18856 #endif
18859 main ()
18861 static struct sockaddr_un ac_aggr;
18862 if (sizeof ac_aggr.sun_len)
18863 return 0;
18865 return 0;
18867 _ACEOF
18868 rm -f conftest.$ac_objext
18869 if { (ac_try="$ac_compile"
18870 case "(($ac_try" in
18871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18872 *) ac_try_echo=$ac_try;;
18873 esac
18874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18875 (eval "$ac_compile") 2>conftest.er1
18876 ac_status=$?
18877 grep -v '^ *+' conftest.er1 >conftest.err
18878 rm -f conftest.er1
18879 cat conftest.err >&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } && {
18882 test -z "$ac_c_werror_flag" ||
18883 test ! -s conftest.err
18884 } && test -s conftest.$ac_objext; then
18885 ac_cv_member_struct_sockaddr_un_sun_len=yes
18886 else
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.$ac_ext >&5
18890 ac_cv_member_struct_sockaddr_un_sun_len=no
18893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18898 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18899 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18900 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18902 cat >>confdefs.h <<_ACEOF
18903 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18904 _ACEOF
18910 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18911 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18912 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18913 echo $ECHO_N "(cached) $ECHO_C" >&6
18914 else
18915 cat >conftest.$ac_ext <<_ACEOF
18916 /* confdefs.h. */
18917 _ACEOF
18918 cat confdefs.h >>conftest.$ac_ext
18919 cat >>conftest.$ac_ext <<_ACEOF
18920 /* end confdefs.h. */
18921 #include <sys/types.h>
18922 #ifdef HAVE_SCSI_SG_H
18923 #include <scsi/sg.h>
18924 #endif
18927 main ()
18929 static scsireq_t ac_aggr;
18930 if (ac_aggr.cmd)
18931 return 0;
18933 return 0;
18935 _ACEOF
18936 rm -f conftest.$ac_objext
18937 if { (ac_try="$ac_compile"
18938 case "(($ac_try" in
18939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18940 *) ac_try_echo=$ac_try;;
18941 esac
18942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18943 (eval "$ac_compile") 2>conftest.er1
18944 ac_status=$?
18945 grep -v '^ *+' conftest.er1 >conftest.err
18946 rm -f conftest.er1
18947 cat conftest.err >&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } && {
18950 test -z "$ac_c_werror_flag" ||
18951 test ! -s conftest.err
18952 } && test -s conftest.$ac_objext; then
18953 ac_cv_member_scsireq_t_cmd=yes
18954 else
18955 echo "$as_me: failed program was:" >&5
18956 sed 's/^/| /' conftest.$ac_ext >&5
18958 cat >conftest.$ac_ext <<_ACEOF
18959 /* confdefs.h. */
18960 _ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964 #include <sys/types.h>
18965 #ifdef HAVE_SCSI_SG_H
18966 #include <scsi/sg.h>
18967 #endif
18970 main ()
18972 static scsireq_t ac_aggr;
18973 if (sizeof ac_aggr.cmd)
18974 return 0;
18976 return 0;
18978 _ACEOF
18979 rm -f conftest.$ac_objext
18980 if { (ac_try="$ac_compile"
18981 case "(($ac_try" in
18982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18983 *) ac_try_echo=$ac_try;;
18984 esac
18985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18986 (eval "$ac_compile") 2>conftest.er1
18987 ac_status=$?
18988 grep -v '^ *+' conftest.er1 >conftest.err
18989 rm -f conftest.er1
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } && {
18993 test -z "$ac_c_werror_flag" ||
18994 test ! -s conftest.err
18995 } && test -s conftest.$ac_objext; then
18996 ac_cv_member_scsireq_t_cmd=yes
18997 else
18998 echo "$as_me: failed program was:" >&5
18999 sed 's/^/| /' conftest.$ac_ext >&5
19001 ac_cv_member_scsireq_t_cmd=no
19004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19009 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19010 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19011 if test $ac_cv_member_scsireq_t_cmd = yes; then
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_SCSIREQ_T_CMD 1
19015 _ACEOF
19019 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19020 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19021 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 else
19024 cat >conftest.$ac_ext <<_ACEOF
19025 /* confdefs.h. */
19026 _ACEOF
19027 cat confdefs.h >>conftest.$ac_ext
19028 cat >>conftest.$ac_ext <<_ACEOF
19029 /* end confdefs.h. */
19030 #include <sys/types.h>
19031 #ifdef HAVE_SCSI_SG_H
19032 #include <scsi/sg.h>
19033 #endif
19036 main ()
19038 static sg_io_hdr_t ac_aggr;
19039 if (ac_aggr.interface_id)
19040 return 0;
19042 return 0;
19044 _ACEOF
19045 rm -f conftest.$ac_objext
19046 if { (ac_try="$ac_compile"
19047 case "(($ac_try" in
19048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19049 *) ac_try_echo=$ac_try;;
19050 esac
19051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19052 (eval "$ac_compile") 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } && {
19059 test -z "$ac_c_werror_flag" ||
19060 test ! -s conftest.err
19061 } && test -s conftest.$ac_objext; then
19062 ac_cv_member_sg_io_hdr_t_interface_id=yes
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19067 cat >conftest.$ac_ext <<_ACEOF
19068 /* confdefs.h. */
19069 _ACEOF
19070 cat confdefs.h >>conftest.$ac_ext
19071 cat >>conftest.$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 #include <sys/types.h>
19074 #ifdef HAVE_SCSI_SG_H
19075 #include <scsi/sg.h>
19076 #endif
19079 main ()
19081 static sg_io_hdr_t ac_aggr;
19082 if (sizeof ac_aggr.interface_id)
19083 return 0;
19085 return 0;
19087 _ACEOF
19088 rm -f conftest.$ac_objext
19089 if { (ac_try="$ac_compile"
19090 case "(($ac_try" in
19091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19092 *) ac_try_echo=$ac_try;;
19093 esac
19094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19095 (eval "$ac_compile") 2>conftest.er1
19096 ac_status=$?
19097 grep -v '^ *+' conftest.er1 >conftest.err
19098 rm -f conftest.er1
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } && {
19102 test -z "$ac_c_werror_flag" ||
19103 test ! -s conftest.err
19104 } && test -s conftest.$ac_objext; then
19105 ac_cv_member_sg_io_hdr_t_interface_id=yes
19106 else
19107 echo "$as_me: failed program was:" >&5
19108 sed 's/^/| /' conftest.$ac_ext >&5
19110 ac_cv_member_sg_io_hdr_t_interface_id=no
19113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19118 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19119 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19120 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19122 cat >>confdefs.h <<_ACEOF
19123 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19124 _ACEOF
19130 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19131 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19132 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19133 echo $ECHO_N "(cached) $ECHO_C" >&6
19134 else
19135 cat >conftest.$ac_ext <<_ACEOF
19136 /* confdefs.h. */
19137 _ACEOF
19138 cat confdefs.h >>conftest.$ac_ext
19139 cat >>conftest.$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19141 #include <signal.h>
19144 main ()
19146 static siginfo_t ac_aggr;
19147 if (ac_aggr.si_fd)
19148 return 0;
19150 return 0;
19152 _ACEOF
19153 rm -f conftest.$ac_objext
19154 if { (ac_try="$ac_compile"
19155 case "(($ac_try" in
19156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19157 *) ac_try_echo=$ac_try;;
19158 esac
19159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19160 (eval "$ac_compile") 2>conftest.er1
19161 ac_status=$?
19162 grep -v '^ *+' conftest.er1 >conftest.err
19163 rm -f conftest.er1
19164 cat conftest.err >&5
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); } && {
19167 test -z "$ac_c_werror_flag" ||
19168 test ! -s conftest.err
19169 } && test -s conftest.$ac_objext; then
19170 ac_cv_member_siginfo_t_si_fd=yes
19171 else
19172 echo "$as_me: failed program was:" >&5
19173 sed 's/^/| /' conftest.$ac_ext >&5
19175 cat >conftest.$ac_ext <<_ACEOF
19176 /* confdefs.h. */
19177 _ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 #include <signal.h>
19184 main ()
19186 static siginfo_t ac_aggr;
19187 if (sizeof ac_aggr.si_fd)
19188 return 0;
19190 return 0;
19192 _ACEOF
19193 rm -f conftest.$ac_objext
19194 if { (ac_try="$ac_compile"
19195 case "(($ac_try" in
19196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19197 *) ac_try_echo=$ac_try;;
19198 esac
19199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19200 (eval "$ac_compile") 2>conftest.er1
19201 ac_status=$?
19202 grep -v '^ *+' conftest.er1 >conftest.err
19203 rm -f conftest.er1
19204 cat conftest.err >&5
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); } && {
19207 test -z "$ac_c_werror_flag" ||
19208 test ! -s conftest.err
19209 } && test -s conftest.$ac_objext; then
19210 ac_cv_member_siginfo_t_si_fd=yes
19211 else
19212 echo "$as_me: failed program was:" >&5
19213 sed 's/^/| /' conftest.$ac_ext >&5
19215 ac_cv_member_siginfo_t_si_fd=no
19218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19223 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19224 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19225 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19227 cat >>confdefs.h <<_ACEOF
19228 #define HAVE_SIGINFO_T_SI_FD 1
19229 _ACEOF
19235 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19236 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19237 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19239 else
19240 cat >conftest.$ac_ext <<_ACEOF
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 #include <sys/types.h>
19247 #ifdef HAVE_SYS_MTIO_H
19248 #include <sys/mtio.h>
19249 #endif
19252 main ()
19254 static struct mtget ac_aggr;
19255 if (ac_aggr.mt_blksiz)
19256 return 0;
19258 return 0;
19260 _ACEOF
19261 rm -f conftest.$ac_objext
19262 if { (ac_try="$ac_compile"
19263 case "(($ac_try" in
19264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19265 *) ac_try_echo=$ac_try;;
19266 esac
19267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19268 (eval "$ac_compile") 2>conftest.er1
19269 ac_status=$?
19270 grep -v '^ *+' conftest.er1 >conftest.err
19271 rm -f conftest.er1
19272 cat conftest.err >&5
19273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19274 (exit $ac_status); } && {
19275 test -z "$ac_c_werror_flag" ||
19276 test ! -s conftest.err
19277 } && test -s conftest.$ac_objext; then
19278 ac_cv_member_struct_mtget_mt_blksiz=yes
19279 else
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 cat >conftest.$ac_ext <<_ACEOF
19284 /* confdefs.h. */
19285 _ACEOF
19286 cat confdefs.h >>conftest.$ac_ext
19287 cat >>conftest.$ac_ext <<_ACEOF
19288 /* end confdefs.h. */
19289 #include <sys/types.h>
19290 #ifdef HAVE_SYS_MTIO_H
19291 #include <sys/mtio.h>
19292 #endif
19295 main ()
19297 static struct mtget ac_aggr;
19298 if (sizeof ac_aggr.mt_blksiz)
19299 return 0;
19301 return 0;
19303 _ACEOF
19304 rm -f conftest.$ac_objext
19305 if { (ac_try="$ac_compile"
19306 case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19309 esac
19310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_compile") 2>conftest.er1
19312 ac_status=$?
19313 grep -v '^ *+' conftest.er1 >conftest.err
19314 rm -f conftest.er1
19315 cat conftest.err >&5
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); } && {
19318 test -z "$ac_c_werror_flag" ||
19319 test ! -s conftest.err
19320 } && test -s conftest.$ac_objext; then
19321 ac_cv_member_struct_mtget_mt_blksiz=yes
19322 else
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19326 ac_cv_member_struct_mtget_mt_blksiz=no
19329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19334 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19335 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19336 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19338 cat >>confdefs.h <<_ACEOF
19339 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19340 _ACEOF
19344 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19345 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19346 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19347 echo $ECHO_N "(cached) $ECHO_C" >&6
19348 else
19349 cat >conftest.$ac_ext <<_ACEOF
19350 /* confdefs.h. */
19351 _ACEOF
19352 cat confdefs.h >>conftest.$ac_ext
19353 cat >>conftest.$ac_ext <<_ACEOF
19354 /* end confdefs.h. */
19355 #include <sys/types.h>
19356 #ifdef HAVE_SYS_MTIO_H
19357 #include <sys/mtio.h>
19358 #endif
19361 main ()
19363 static struct mtget ac_aggr;
19364 if (ac_aggr.mt_gstat)
19365 return 0;
19367 return 0;
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (ac_try="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19378 ac_status=$?
19379 grep -v '^ *+' conftest.er1 >conftest.err
19380 rm -f conftest.er1
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_cv_member_struct_mtget_mt_gstat=yes
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 cat >conftest.$ac_ext <<_ACEOF
19393 /* confdefs.h. */
19394 _ACEOF
19395 cat confdefs.h >>conftest.$ac_ext
19396 cat >>conftest.$ac_ext <<_ACEOF
19397 /* end confdefs.h. */
19398 #include <sys/types.h>
19399 #ifdef HAVE_SYS_MTIO_H
19400 #include <sys/mtio.h>
19401 #endif
19404 main ()
19406 static struct mtget ac_aggr;
19407 if (sizeof ac_aggr.mt_gstat)
19408 return 0;
19410 return 0;
19412 _ACEOF
19413 rm -f conftest.$ac_objext
19414 if { (ac_try="$ac_compile"
19415 case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19418 esac
19419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_compile") 2>conftest.er1
19421 ac_status=$?
19422 grep -v '^ *+' conftest.er1 >conftest.err
19423 rm -f conftest.er1
19424 cat conftest.err >&5
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); } && {
19427 test -z "$ac_c_werror_flag" ||
19428 test ! -s conftest.err
19429 } && test -s conftest.$ac_objext; then
19430 ac_cv_member_struct_mtget_mt_gstat=yes
19431 else
19432 echo "$as_me: failed program was:" >&5
19433 sed 's/^/| /' conftest.$ac_ext >&5
19435 ac_cv_member_struct_mtget_mt_gstat=no
19438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19443 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19444 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19445 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19447 cat >>confdefs.h <<_ACEOF
19448 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19449 _ACEOF
19453 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19454 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19455 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19456 echo $ECHO_N "(cached) $ECHO_C" >&6
19457 else
19458 cat >conftest.$ac_ext <<_ACEOF
19459 /* confdefs.h. */
19460 _ACEOF
19461 cat confdefs.h >>conftest.$ac_ext
19462 cat >>conftest.$ac_ext <<_ACEOF
19463 /* end confdefs.h. */
19464 #include <sys/types.h>
19465 #ifdef HAVE_SYS_MTIO_H
19466 #include <sys/mtio.h>
19467 #endif
19470 main ()
19472 static struct mtget ac_aggr;
19473 if (ac_aggr.mt_blkno)
19474 return 0;
19476 return 0;
19478 _ACEOF
19479 rm -f conftest.$ac_objext
19480 if { (ac_try="$ac_compile"
19481 case "(($ac_try" in
19482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19484 esac
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_compile") 2>conftest.er1
19487 ac_status=$?
19488 grep -v '^ *+' conftest.er1 >conftest.err
19489 rm -f conftest.er1
19490 cat conftest.err >&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); } && {
19493 test -z "$ac_c_werror_flag" ||
19494 test ! -s conftest.err
19495 } && test -s conftest.$ac_objext; then
19496 ac_cv_member_struct_mtget_mt_blkno=yes
19497 else
19498 echo "$as_me: failed program was:" >&5
19499 sed 's/^/| /' conftest.$ac_ext >&5
19501 cat >conftest.$ac_ext <<_ACEOF
19502 /* confdefs.h. */
19503 _ACEOF
19504 cat confdefs.h >>conftest.$ac_ext
19505 cat >>conftest.$ac_ext <<_ACEOF
19506 /* end confdefs.h. */
19507 #include <sys/types.h>
19508 #ifdef HAVE_SYS_MTIO_H
19509 #include <sys/mtio.h>
19510 #endif
19513 main ()
19515 static struct mtget ac_aggr;
19516 if (sizeof ac_aggr.mt_blkno)
19517 return 0;
19519 return 0;
19521 _ACEOF
19522 rm -f conftest.$ac_objext
19523 if { (ac_try="$ac_compile"
19524 case "(($ac_try" in
19525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19526 *) ac_try_echo=$ac_try;;
19527 esac
19528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19529 (eval "$ac_compile") 2>conftest.er1
19530 ac_status=$?
19531 grep -v '^ *+' conftest.er1 >conftest.err
19532 rm -f conftest.er1
19533 cat conftest.err >&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); } && {
19536 test -z "$ac_c_werror_flag" ||
19537 test ! -s conftest.err
19538 } && test -s conftest.$ac_objext; then
19539 ac_cv_member_struct_mtget_mt_blkno=yes
19540 else
19541 echo "$as_me: failed program was:" >&5
19542 sed 's/^/| /' conftest.$ac_ext >&5
19544 ac_cv_member_struct_mtget_mt_blkno=no
19547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19552 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19553 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19554 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19556 cat >>confdefs.h <<_ACEOF
19557 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19558 _ACEOF
19564 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19565 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19566 if test "${ac_cv_member_struct_option_name+set}" = set; then
19567 echo $ECHO_N "(cached) $ECHO_C" >&6
19568 else
19569 cat >conftest.$ac_ext <<_ACEOF
19570 /* confdefs.h. */
19571 _ACEOF
19572 cat confdefs.h >>conftest.$ac_ext
19573 cat >>conftest.$ac_ext <<_ACEOF
19574 /* end confdefs.h. */
19575 #ifdef HAVE_GETOPT_H
19576 #include <getopt.h>
19577 #endif
19580 main ()
19582 static struct option ac_aggr;
19583 if (ac_aggr.name)
19584 return 0;
19586 return 0;
19588 _ACEOF
19589 rm -f conftest.$ac_objext
19590 if { (ac_try="$ac_compile"
19591 case "(($ac_try" in
19592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19593 *) ac_try_echo=$ac_try;;
19594 esac
19595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19596 (eval "$ac_compile") 2>conftest.er1
19597 ac_status=$?
19598 grep -v '^ *+' conftest.er1 >conftest.err
19599 rm -f conftest.er1
19600 cat conftest.err >&5
19601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602 (exit $ac_status); } && {
19603 test -z "$ac_c_werror_flag" ||
19604 test ! -s conftest.err
19605 } && test -s conftest.$ac_objext; then
19606 ac_cv_member_struct_option_name=yes
19607 else
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19611 cat >conftest.$ac_ext <<_ACEOF
19612 /* confdefs.h. */
19613 _ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 #ifdef HAVE_GETOPT_H
19618 #include <getopt.h>
19619 #endif
19622 main ()
19624 static struct option ac_aggr;
19625 if (sizeof ac_aggr.name)
19626 return 0;
19628 return 0;
19630 _ACEOF
19631 rm -f conftest.$ac_objext
19632 if { (ac_try="$ac_compile"
19633 case "(($ac_try" in
19634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19635 *) ac_try_echo=$ac_try;;
19636 esac
19637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19638 (eval "$ac_compile") 2>conftest.er1
19639 ac_status=$?
19640 grep -v '^ *+' conftest.er1 >conftest.err
19641 rm -f conftest.er1
19642 cat conftest.err >&5
19643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19644 (exit $ac_status); } && {
19645 test -z "$ac_c_werror_flag" ||
19646 test ! -s conftest.err
19647 } && test -s conftest.$ac_objext; then
19648 ac_cv_member_struct_option_name=yes
19649 else
19650 echo "$as_me: failed program was:" >&5
19651 sed 's/^/| /' conftest.$ac_ext >&5
19653 ac_cv_member_struct_option_name=no
19656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19662 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19663 if test $ac_cv_member_struct_option_name = yes; then
19665 cat >>confdefs.h <<_ACEOF
19666 #define HAVE_STRUCT_OPTION_NAME 1
19667 _ACEOF
19673 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19674 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19675 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19676 echo $ECHO_N "(cached) $ECHO_C" >&6
19677 else
19678 cat >conftest.$ac_ext <<_ACEOF
19679 /* confdefs.h. */
19680 _ACEOF
19681 cat confdefs.h >>conftest.$ac_ext
19682 cat >>conftest.$ac_ext <<_ACEOF
19683 /* end confdefs.h. */
19684 $ac_includes_default
19686 main ()
19688 static struct stat ac_aggr;
19689 if (ac_aggr.st_blocks)
19690 return 0;
19692 return 0;
19694 _ACEOF
19695 rm -f conftest.$ac_objext
19696 if { (ac_try="$ac_compile"
19697 case "(($ac_try" in
19698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19699 *) ac_try_echo=$ac_try;;
19700 esac
19701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19702 (eval "$ac_compile") 2>conftest.er1
19703 ac_status=$?
19704 grep -v '^ *+' conftest.er1 >conftest.err
19705 rm -f conftest.er1
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } && {
19709 test -z "$ac_c_werror_flag" ||
19710 test ! -s conftest.err
19711 } && test -s conftest.$ac_objext; then
19712 ac_cv_member_struct_stat_st_blocks=yes
19713 else
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19717 cat >conftest.$ac_ext <<_ACEOF
19718 /* confdefs.h. */
19719 _ACEOF
19720 cat confdefs.h >>conftest.$ac_ext
19721 cat >>conftest.$ac_ext <<_ACEOF
19722 /* end confdefs.h. */
19723 $ac_includes_default
19725 main ()
19727 static struct stat ac_aggr;
19728 if (sizeof ac_aggr.st_blocks)
19729 return 0;
19731 return 0;
19733 _ACEOF
19734 rm -f conftest.$ac_objext
19735 if { (ac_try="$ac_compile"
19736 case "(($ac_try" in
19737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19738 *) ac_try_echo=$ac_try;;
19739 esac
19740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19741 (eval "$ac_compile") 2>conftest.er1
19742 ac_status=$?
19743 grep -v '^ *+' conftest.er1 >conftest.err
19744 rm -f conftest.er1
19745 cat conftest.err >&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); } && {
19748 test -z "$ac_c_werror_flag" ||
19749 test ! -s conftest.err
19750 } && test -s conftest.$ac_objext; then
19751 ac_cv_member_struct_stat_st_blocks=yes
19752 else
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19756 ac_cv_member_struct_stat_st_blocks=no
19759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19764 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19765 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19766 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19768 cat >>confdefs.h <<_ACEOF
19769 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19770 _ACEOF
19776 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19777 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19778 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19779 echo $ECHO_N "(cached) $ECHO_C" >&6
19780 else
19781 cat >conftest.$ac_ext <<_ACEOF
19782 /* confdefs.h. */
19783 _ACEOF
19784 cat confdefs.h >>conftest.$ac_ext
19785 cat >>conftest.$ac_ext <<_ACEOF
19786 /* end confdefs.h. */
19787 #ifdef HAVE_SYS_TYPES_H
19788 #include <sys/types.h>
19789 #endif
19790 #ifdef HAVE_NETINET_IN_H
19791 #include <netinet/in.h>
19792 #endif
19795 main ()
19797 static struct sockaddr_in6 ac_aggr;
19798 if (ac_aggr.sin6_scope_id)
19799 return 0;
19801 return 0;
19803 _ACEOF
19804 rm -f conftest.$ac_objext
19805 if { (ac_try="$ac_compile"
19806 case "(($ac_try" in
19807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19808 *) ac_try_echo=$ac_try;;
19809 esac
19810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19811 (eval "$ac_compile") 2>conftest.er1
19812 ac_status=$?
19813 grep -v '^ *+' conftest.er1 >conftest.err
19814 rm -f conftest.er1
19815 cat conftest.err >&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); } && {
19818 test -z "$ac_c_werror_flag" ||
19819 test ! -s conftest.err
19820 } && test -s conftest.$ac_objext; then
19821 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19822 else
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19826 cat >conftest.$ac_ext <<_ACEOF
19827 /* confdefs.h. */
19828 _ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h. */
19832 #ifdef HAVE_SYS_TYPES_H
19833 #include <sys/types.h>
19834 #endif
19835 #ifdef HAVE_NETINET_IN_H
19836 #include <netinet/in.h>
19837 #endif
19840 main ()
19842 static struct sockaddr_in6 ac_aggr;
19843 if (sizeof ac_aggr.sin6_scope_id)
19844 return 0;
19846 return 0;
19848 _ACEOF
19849 rm -f conftest.$ac_objext
19850 if { (ac_try="$ac_compile"
19851 case "(($ac_try" in
19852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19853 *) ac_try_echo=$ac_try;;
19854 esac
19855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19856 (eval "$ac_compile") 2>conftest.er1
19857 ac_status=$?
19858 grep -v '^ *+' conftest.er1 >conftest.err
19859 rm -f conftest.er1
19860 cat conftest.err >&5
19861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19862 (exit $ac_status); } && {
19863 test -z "$ac_c_werror_flag" ||
19864 test ! -s conftest.err
19865 } && test -s conftest.$ac_objext; then
19866 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19867 else
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19879 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19880 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19881 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19883 cat >>confdefs.h <<_ACEOF
19884 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19885 _ACEOF
19891 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19892 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19893 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19895 else
19896 cat >conftest.$ac_ext <<_ACEOF
19897 /* confdefs.h. */
19898 _ACEOF
19899 cat confdefs.h >>conftest.$ac_ext
19900 cat >>conftest.$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19902 #ifdef HAVE_SYS_TYPES_H
19903 #include <sys/types.h>
19904 #endif
19905 #ifdef HAVE_NETINET_IN_H
19906 # include <netinet/in.h>
19907 #endif
19908 #ifdef HAVE_ARPA_NAMESER_H
19909 # include <arpa/nameser.h>
19910 #endif
19913 main ()
19915 static ns_msg ac_aggr;
19916 if (ac_aggr._msg_ptr)
19917 return 0;
19919 return 0;
19921 _ACEOF
19922 rm -f conftest.$ac_objext
19923 if { (ac_try="$ac_compile"
19924 case "(($ac_try" in
19925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19926 *) ac_try_echo=$ac_try;;
19927 esac
19928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19929 (eval "$ac_compile") 2>conftest.er1
19930 ac_status=$?
19931 grep -v '^ *+' conftest.er1 >conftest.err
19932 rm -f conftest.er1
19933 cat conftest.err >&5
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); } && {
19936 test -z "$ac_c_werror_flag" ||
19937 test ! -s conftest.err
19938 } && test -s conftest.$ac_objext; then
19939 ac_cv_member_ns_msg__msg_ptr=yes
19940 else
19941 echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.$ac_ext >&5
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 #ifdef HAVE_SYS_TYPES_H
19951 #include <sys/types.h>
19952 #endif
19953 #ifdef HAVE_NETINET_IN_H
19954 # include <netinet/in.h>
19955 #endif
19956 #ifdef HAVE_ARPA_NAMESER_H
19957 # include <arpa/nameser.h>
19958 #endif
19961 main ()
19963 static ns_msg ac_aggr;
19964 if (sizeof ac_aggr._msg_ptr)
19965 return 0;
19967 return 0;
19969 _ACEOF
19970 rm -f conftest.$ac_objext
19971 if { (ac_try="$ac_compile"
19972 case "(($ac_try" in
19973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19974 *) ac_try_echo=$ac_try;;
19975 esac
19976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19977 (eval "$ac_compile") 2>conftest.er1
19978 ac_status=$?
19979 grep -v '^ *+' conftest.er1 >conftest.err
19980 rm -f conftest.er1
19981 cat conftest.err >&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); } && {
19984 test -z "$ac_c_werror_flag" ||
19985 test ! -s conftest.err
19986 } && test -s conftest.$ac_objext; then
19987 ac_cv_member_ns_msg__msg_ptr=yes
19988 else
19989 echo "$as_me: failed program was:" >&5
19990 sed 's/^/| /' conftest.$ac_ext >&5
19992 ac_cv_member_ns_msg__msg_ptr=no
19995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20000 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20001 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20002 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20004 cat >>confdefs.h <<_ACEOF
20005 #define HAVE_NS_MSG__MSG_PTR 1
20006 _ACEOF
20012 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20013 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20014 if test "${ac_cv_have_timezone+set}" = set; then
20015 echo $ECHO_N "(cached) $ECHO_C" >&6
20016 else
20017 cat >conftest.$ac_ext <<_ACEOF
20018 /* confdefs.h. */
20019 _ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 #include <time.h>
20025 main ()
20027 timezone = 1
20029 return 0;
20031 _ACEOF
20032 rm -f conftest.$ac_objext conftest$ac_exeext
20033 if { (ac_try="$ac_link"
20034 case "(($ac_try" in
20035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20036 *) ac_try_echo=$ac_try;;
20037 esac
20038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20039 (eval "$ac_link") 2>conftest.er1
20040 ac_status=$?
20041 grep -v '^ *+' conftest.er1 >conftest.err
20042 rm -f conftest.er1
20043 cat conftest.err >&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } && {
20046 test -z "$ac_c_werror_flag" ||
20047 test ! -s conftest.err
20048 } && test -s conftest$ac_exeext &&
20049 $as_test_x conftest$ac_exeext; then
20050 ac_cv_have_timezone="yes"
20051 else
20052 echo "$as_me: failed program was:" >&5
20053 sed 's/^/| /' conftest.$ac_ext >&5
20055 ac_cv_have_timezone="no"
20058 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20059 conftest$ac_exeext conftest.$ac_ext
20061 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20062 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20063 if test "$ac_cv_have_timezone" = "yes"
20064 then
20066 cat >>confdefs.h <<\_ACEOF
20067 #define HAVE_TIMEZONE 1
20068 _ACEOF
20071 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20072 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20073 if test "${ac_cv_have_daylight+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 #include <time.h>
20084 main ()
20086 daylight = 1
20088 return 0;
20090 _ACEOF
20091 rm -f conftest.$ac_objext conftest$ac_exeext
20092 if { (ac_try="$ac_link"
20093 case "(($ac_try" in
20094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20095 *) ac_try_echo=$ac_try;;
20096 esac
20097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20098 (eval "$ac_link") 2>conftest.er1
20099 ac_status=$?
20100 grep -v '^ *+' conftest.er1 >conftest.err
20101 rm -f conftest.er1
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } && {
20105 test -z "$ac_c_werror_flag" ||
20106 test ! -s conftest.err
20107 } && test -s conftest$ac_exeext &&
20108 $as_test_x conftest$ac_exeext; then
20109 ac_cv_have_daylight="yes"
20110 else
20111 echo "$as_me: failed program was:" >&5
20112 sed 's/^/| /' conftest.$ac_ext >&5
20114 ac_cv_have_daylight="no"
20117 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20118 conftest$ac_exeext conftest.$ac_ext
20120 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20121 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20122 if test "$ac_cv_have_daylight" = "yes"
20123 then
20125 cat >>confdefs.h <<\_ACEOF
20126 #define HAVE_DAYLIGHT 1
20127 _ACEOF
20132 case $host_cpu in
20133 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20134 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20135 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20137 else
20138 cat >conftest.$ac_ext <<_ACEOF
20139 /* confdefs.h. */
20140 _ACEOF
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 #ifndef __i386__
20146 #endif
20147 _ACEOF
20148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20149 $EGREP "yes" >/dev/null 2>&1; then
20150 ac_cv_cpp_def___i386__=yes
20151 else
20152 ac_cv_cpp_def___i386__=no
20154 rm -f conftest*
20157 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20158 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20159 if test $ac_cv_cpp_def___i386__ = yes; then
20160 CFLAGS="$CFLAGS -D__i386__"
20161 LINTFLAGS="$LINTFLAGS -D__i386__"
20164 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20165 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20166 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20167 echo $ECHO_N "(cached) $ECHO_C" >&6
20168 else
20169 cat >conftest.$ac_ext <<_ACEOF
20170 /* confdefs.h. */
20171 _ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 #ifndef __x86_64__
20177 #endif
20178 _ACEOF
20179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20180 $EGREP "yes" >/dev/null 2>&1; then
20181 ac_cv_cpp_def___x86_64__=yes
20182 else
20183 ac_cv_cpp_def___x86_64__=no
20185 rm -f conftest*
20188 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20189 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20190 if test $ac_cv_cpp_def___x86_64__ = yes; then
20191 CFLAGS="$CFLAGS -D__x86_64__"
20192 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20195 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20196 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20197 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 else
20200 cat >conftest.$ac_ext <<_ACEOF
20201 /* confdefs.h. */
20202 _ACEOF
20203 cat confdefs.h >>conftest.$ac_ext
20204 cat >>conftest.$ac_ext <<_ACEOF
20205 /* end confdefs.h. */
20206 #ifndef __ALPHA__
20208 #endif
20209 _ACEOF
20210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20211 $EGREP "yes" >/dev/null 2>&1; then
20212 ac_cv_cpp_def___ALPHA__=yes
20213 else
20214 ac_cv_cpp_def___ALPHA__=no
20216 rm -f conftest*
20219 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20220 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20221 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20222 CFLAGS="$CFLAGS -D__ALPHA__"
20223 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20226 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20227 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20228 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20229 echo $ECHO_N "(cached) $ECHO_C" >&6
20230 else
20231 cat >conftest.$ac_ext <<_ACEOF
20232 /* confdefs.h. */
20233 _ACEOF
20234 cat confdefs.h >>conftest.$ac_ext
20235 cat >>conftest.$ac_ext <<_ACEOF
20236 /* end confdefs.h. */
20237 #ifndef __sparc__
20239 #endif
20240 _ACEOF
20241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20242 $EGREP "yes" >/dev/null 2>&1; then
20243 ac_cv_cpp_def___sparc__=yes
20244 else
20245 ac_cv_cpp_def___sparc__=no
20247 rm -f conftest*
20250 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20251 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20252 if test $ac_cv_cpp_def___sparc__ = yes; then
20253 CFLAGS="$CFLAGS -D__sparc__"
20254 LINTFLAGS="$LINTFLAGS -D__sparc__"
20257 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20258 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20259 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20260 echo $ECHO_N "(cached) $ECHO_C" >&6
20261 else
20262 cat >conftest.$ac_ext <<_ACEOF
20263 /* confdefs.h. */
20264 _ACEOF
20265 cat confdefs.h >>conftest.$ac_ext
20266 cat >>conftest.$ac_ext <<_ACEOF
20267 /* end confdefs.h. */
20268 #ifndef __powerpc__
20270 #endif
20271 _ACEOF
20272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20273 $EGREP "yes" >/dev/null 2>&1; then
20274 ac_cv_cpp_def___powerpc__=yes
20275 else
20276 ac_cv_cpp_def___powerpc__=no
20278 rm -f conftest*
20281 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20282 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20283 if test $ac_cv_cpp_def___powerpc__ = yes; then
20284 CFLAGS="$CFLAGS -D__powerpc__"
20285 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20288 esac
20290 case $host_vendor in
20291 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20292 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20293 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20294 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 else
20296 cat >conftest.$ac_ext <<_ACEOF
20297 /* confdefs.h. */
20298 _ACEOF
20299 cat confdefs.h >>conftest.$ac_ext
20300 cat >>conftest.$ac_ext <<_ACEOF
20301 /* end confdefs.h. */
20302 #ifndef __sun__
20304 #endif
20305 _ACEOF
20306 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20307 $EGREP "yes" >/dev/null 2>&1; then
20308 ac_cv_cpp_def___sun__=yes
20309 else
20310 ac_cv_cpp_def___sun__=no
20312 rm -f conftest*
20315 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20316 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20317 if test $ac_cv_cpp_def___sun__ = yes; then
20318 CFLAGS="$CFLAGS -D__sun__"
20319 LINTFLAGS="$LINTFLAGS -D__sun__"
20322 esac
20325 DEPENDENCIES="### Dependencies:
20327 .INIT: Makefile
20328 .BEGIN: Makefile
20329 Makefile: dummy
20330 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20332 \$(OBJS): \$(IDL_GEN_HEADERS)
20333 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20334 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20335 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20341 ac_config_commands="$ac_config_commands include/stamp-h"
20344 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20346 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20348 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20350 ac_config_commands="$ac_config_commands dlls/user32/resources"
20352 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20354 ac_config_commands="$ac_config_commands include/wine"
20357 MAKE_RULES=Make.rules
20360 MAKE_DLL_RULES=dlls/Makedll.rules
20363 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20366 MAKE_TEST_RULES=dlls/Maketest.rules
20369 MAKE_PROG_RULES=programs/Makeprog.rules
20372 ac_config_files="$ac_config_files Make.rules"
20374 ac_config_files="$ac_config_files dlls/Makedll.rules"
20376 ac_config_files="$ac_config_files dlls/Makeimplib.rules"
20378 ac_config_files="$ac_config_files dlls/Maketest.rules"
20380 ac_config_files="$ac_config_files programs/Makeprog.rules"
20382 ac_config_files="$ac_config_files Makefile"
20384 ac_config_files="$ac_config_files dlls/Makefile"
20386 ac_config_files="$ac_config_files dlls/acledit/Makefile"
20388 ac_config_files="$ac_config_files dlls/activeds/Makefile"
20390 ac_config_files="$ac_config_files dlls/advapi32/Makefile"
20392 ac_config_files="$ac_config_files dlls/advapi32/tests/Makefile"
20394 ac_config_files="$ac_config_files dlls/advpack/Makefile"
20396 ac_config_files="$ac_config_files dlls/advpack/tests/Makefile"
20398 ac_config_files="$ac_config_files dlls/amstream/Makefile"
20400 ac_config_files="$ac_config_files dlls/atl/Makefile"
20402 ac_config_files="$ac_config_files dlls/avicap32/Makefile"
20404 ac_config_files="$ac_config_files dlls/avifil32/Makefile"
20406 ac_config_files="$ac_config_files dlls/browseui/Makefile"
20408 ac_config_files="$ac_config_files dlls/browseui/tests/Makefile"
20410 ac_config_files="$ac_config_files dlls/cabinet/Makefile"
20412 ac_config_files="$ac_config_files dlls/cabinet/tests/Makefile"
20414 ac_config_files="$ac_config_files dlls/capi2032/Makefile"
20416 ac_config_files="$ac_config_files dlls/cards/Makefile"
20418 ac_config_files="$ac_config_files dlls/cfgmgr32/Makefile"
20420 ac_config_files="$ac_config_files dlls/clusapi/Makefile"
20422 ac_config_files="$ac_config_files dlls/comcat/Makefile"
20424 ac_config_files="$ac_config_files dlls/comcat/tests/Makefile"
20426 ac_config_files="$ac_config_files dlls/comctl32/Makefile"
20428 ac_config_files="$ac_config_files dlls/comctl32/tests/Makefile"
20430 ac_config_files="$ac_config_files dlls/comdlg32/Makefile"
20432 ac_config_files="$ac_config_files dlls/comdlg32/tests/Makefile"
20434 ac_config_files="$ac_config_files dlls/compstui/Makefile"
20436 ac_config_files="$ac_config_files dlls/credui/Makefile"
20438 ac_config_files="$ac_config_files dlls/crtdll/Makefile"
20440 ac_config_files="$ac_config_files dlls/crypt32/Makefile"
20442 ac_config_files="$ac_config_files dlls/crypt32/tests/Makefile"
20444 ac_config_files="$ac_config_files dlls/cryptdll/Makefile"
20446 ac_config_files="$ac_config_files dlls/cryptnet/Makefile"
20448 ac_config_files="$ac_config_files dlls/ctl3d32/Makefile"
20450 ac_config_files="$ac_config_files dlls/d3d8/Makefile"
20452 ac_config_files="$ac_config_files dlls/d3d8/tests/Makefile"
20454 ac_config_files="$ac_config_files dlls/d3d9/Makefile"
20456 ac_config_files="$ac_config_files dlls/d3d9/tests/Makefile"
20458 ac_config_files="$ac_config_files dlls/d3dim/Makefile"
20460 ac_config_files="$ac_config_files dlls/d3drm/Makefile"
20462 ac_config_files="$ac_config_files dlls/d3drm/tests/Makefile"
20464 ac_config_files="$ac_config_files dlls/d3dx8/Makefile"
20466 ac_config_files="$ac_config_files dlls/d3dxof/Makefile"
20468 ac_config_files="$ac_config_files dlls/dbghelp/Makefile"
20470 ac_config_files="$ac_config_files dlls/dciman32/Makefile"
20472 ac_config_files="$ac_config_files dlls/ddraw/Makefile"
20474 ac_config_files="$ac_config_files dlls/ddraw/tests/Makefile"
20476 ac_config_files="$ac_config_files dlls/ddrawex/Makefile"
20478 ac_config_files="$ac_config_files dlls/devenum/Makefile"
20480 ac_config_files="$ac_config_files dlls/dinput/Makefile"
20482 ac_config_files="$ac_config_files dlls/dinput/tests/Makefile"
20484 ac_config_files="$ac_config_files dlls/dinput8/Makefile"
20486 ac_config_files="$ac_config_files dlls/dmband/Makefile"
20488 ac_config_files="$ac_config_files dlls/dmcompos/Makefile"
20490 ac_config_files="$ac_config_files dlls/dmime/Makefile"
20492 ac_config_files="$ac_config_files dlls/dmloader/Makefile"
20494 ac_config_files="$ac_config_files dlls/dmscript/Makefile"
20496 ac_config_files="$ac_config_files dlls/dmstyle/Makefile"
20498 ac_config_files="$ac_config_files dlls/dmsynth/Makefile"
20500 ac_config_files="$ac_config_files dlls/dmusic/Makefile"
20502 ac_config_files="$ac_config_files dlls/dmusic32/Makefile"
20504 ac_config_files="$ac_config_files dlls/dnsapi/Makefile"
20506 ac_config_files="$ac_config_files dlls/dnsapi/tests/Makefile"
20508 ac_config_files="$ac_config_files dlls/dplay/Makefile"
20510 ac_config_files="$ac_config_files dlls/dplayx/Makefile"
20512 ac_config_files="$ac_config_files dlls/dplayx/tests/Makefile"
20514 ac_config_files="$ac_config_files dlls/dpnaddr/Makefile"
20516 ac_config_files="$ac_config_files dlls/dpnet/Makefile"
20518 ac_config_files="$ac_config_files dlls/dpnhpast/Makefile"
20520 ac_config_files="$ac_config_files dlls/dsound/Makefile"
20522 ac_config_files="$ac_config_files dlls/dsound/tests/Makefile"
20524 ac_config_files="$ac_config_files dlls/dswave/Makefile"
20526 ac_config_files="$ac_config_files dlls/dxdiagn/Makefile"
20528 ac_config_files="$ac_config_files dlls/dxerr8/Makefile"
20530 ac_config_files="$ac_config_files dlls/dxerr9/Makefile"
20532 ac_config_files="$ac_config_files dlls/dxguid/Makefile"
20534 ac_config_files="$ac_config_files dlls/gdi32/Makefile"
20536 ac_config_files="$ac_config_files dlls/gdi32/tests/Makefile"
20538 ac_config_files="$ac_config_files dlls/glu32/Makefile"
20540 ac_config_files="$ac_config_files dlls/gphoto2.ds/Makefile"
20542 ac_config_files="$ac_config_files dlls/hhctrl.ocx/Makefile"
20544 ac_config_files="$ac_config_files dlls/hid/Makefile"
20546 ac_config_files="$ac_config_files dlls/hlink/Makefile"
20548 ac_config_files="$ac_config_files dlls/hlink/tests/Makefile"
20550 ac_config_files="$ac_config_files dlls/iccvid/Makefile"
20552 ac_config_files="$ac_config_files dlls/icmp/Makefile"
20554 ac_config_files="$ac_config_files dlls/ifsmgr.vxd/Makefile"
20556 ac_config_files="$ac_config_files dlls/imaadp32.acm/Makefile"
20558 ac_config_files="$ac_config_files dlls/imagehlp/Makefile"
20560 ac_config_files="$ac_config_files dlls/imm32/Makefile"
20562 ac_config_files="$ac_config_files dlls/infosoft/Makefile"
20564 ac_config_files="$ac_config_files dlls/infosoft/tests/Makefile"
20566 ac_config_files="$ac_config_files dlls/inseng/Makefile"
20568 ac_config_files="$ac_config_files dlls/iphlpapi/Makefile"
20570 ac_config_files="$ac_config_files dlls/iphlpapi/tests/Makefile"
20572 ac_config_files="$ac_config_files dlls/itss/Makefile"
20574 ac_config_files="$ac_config_files dlls/itss/tests/Makefile"
20576 ac_config_files="$ac_config_files dlls/kernel32/Makefile"
20578 ac_config_files="$ac_config_files dlls/kernel32/tests/Makefile"
20580 ac_config_files="$ac_config_files dlls/localspl/Makefile"
20582 ac_config_files="$ac_config_files dlls/localspl/tests/Makefile"
20584 ac_config_files="$ac_config_files dlls/localui/Makefile"
20586 ac_config_files="$ac_config_files dlls/localui/tests/Makefile"
20588 ac_config_files="$ac_config_files dlls/lz32/Makefile"
20590 ac_config_files="$ac_config_files dlls/lz32/tests/Makefile"
20592 ac_config_files="$ac_config_files dlls/mapi32/Makefile"
20594 ac_config_files="$ac_config_files dlls/mapi32/tests/Makefile"
20596 ac_config_files="$ac_config_files dlls/mciavi32/Makefile"
20598 ac_config_files="$ac_config_files dlls/mcicda/Makefile"
20600 ac_config_files="$ac_config_files dlls/mciseq/Makefile"
20602 ac_config_files="$ac_config_files dlls/mciwave/Makefile"
20604 ac_config_files="$ac_config_files dlls/midimap/Makefile"
20606 ac_config_files="$ac_config_files dlls/mlang/Makefile"
20608 ac_config_files="$ac_config_files dlls/mlang/tests/Makefile"
20610 ac_config_files="$ac_config_files dlls/mmdevldr.vxd/Makefile"
20612 ac_config_files="$ac_config_files dlls/monodebg.vxd/Makefile"
20614 ac_config_files="$ac_config_files dlls/mpr/Makefile"
20616 ac_config_files="$ac_config_files dlls/mprapi/Makefile"
20618 ac_config_files="$ac_config_files dlls/msacm32.drv/Makefile"
20620 ac_config_files="$ac_config_files dlls/msacm32/Makefile"
20622 ac_config_files="$ac_config_files dlls/msacm32/tests/Makefile"
20624 ac_config_files="$ac_config_files dlls/msadp32.acm/Makefile"
20626 ac_config_files="$ac_config_files dlls/mscms/Makefile"
20628 ac_config_files="$ac_config_files dlls/mscms/tests/Makefile"
20630 ac_config_files="$ac_config_files dlls/mscoree/Makefile"
20632 ac_config_files="$ac_config_files dlls/msdmo/Makefile"
20634 ac_config_files="$ac_config_files dlls/msftedit/Makefile"
20636 ac_config_files="$ac_config_files dlls/msg711.acm/Makefile"
20638 ac_config_files="$ac_config_files dlls/mshtml/Makefile"
20640 ac_config_files="$ac_config_files dlls/mshtml/tests/Makefile"
20642 ac_config_files="$ac_config_files dlls/msi/Makefile"
20644 ac_config_files="$ac_config_files dlls/msi/tests/Makefile"
20646 ac_config_files="$ac_config_files dlls/msimg32/Makefile"
20648 ac_config_files="$ac_config_files dlls/msisys.ocx/Makefile"
20650 ac_config_files="$ac_config_files dlls/msnet32/Makefile"
20652 ac_config_files="$ac_config_files dlls/msrle32/Makefile"
20654 ac_config_files="$ac_config_files dlls/msvcrt/Makefile"
20656 ac_config_files="$ac_config_files dlls/msvcrt/tests/Makefile"
20658 ac_config_files="$ac_config_files dlls/msvcrt20/Makefile"
20660 ac_config_files="$ac_config_files dlls/msvcrt40/Makefile"
20662 ac_config_files="$ac_config_files dlls/msvcrtd/Makefile"
20664 ac_config_files="$ac_config_files dlls/msvcrtd/tests/Makefile"
20666 ac_config_files="$ac_config_files dlls/msvfw32/Makefile"
20668 ac_config_files="$ac_config_files dlls/msvidc32/Makefile"
20670 ac_config_files="$ac_config_files dlls/mswsock/Makefile"
20672 ac_config_files="$ac_config_files dlls/msxml3/Makefile"
20674 ac_config_files="$ac_config_files dlls/msxml3/tests/Makefile"
20676 ac_config_files="$ac_config_files dlls/nddeapi/Makefile"
20678 ac_config_files="$ac_config_files dlls/netapi32/Makefile"
20680 ac_config_files="$ac_config_files dlls/netapi32/tests/Makefile"
20682 ac_config_files="$ac_config_files dlls/newdev/Makefile"
20684 ac_config_files="$ac_config_files dlls/ntdll/Makefile"
20686 ac_config_files="$ac_config_files dlls/ntdll/tests/Makefile"
20688 ac_config_files="$ac_config_files dlls/ntdsapi/Makefile"
20690 ac_config_files="$ac_config_files dlls/objsel/Makefile"
20692 ac_config_files="$ac_config_files dlls/odbc32/Makefile"
20694 ac_config_files="$ac_config_files dlls/odbccp32/Makefile"
20696 ac_config_files="$ac_config_files dlls/odbccp32/tests/Makefile"
20698 ac_config_files="$ac_config_files dlls/ole32/Makefile"
20700 ac_config_files="$ac_config_files dlls/ole32/tests/Makefile"
20702 ac_config_files="$ac_config_files dlls/oleacc/Makefile"
20704 ac_config_files="$ac_config_files dlls/oleaut32/Makefile"
20706 ac_config_files="$ac_config_files dlls/oleaut32/tests/Makefile"
20708 ac_config_files="$ac_config_files dlls/olecli32/Makefile"
20710 ac_config_files="$ac_config_files dlls/oledlg/Makefile"
20712 ac_config_files="$ac_config_files dlls/olepro32/Makefile"
20714 ac_config_files="$ac_config_files dlls/olesvr32/Makefile"
20716 ac_config_files="$ac_config_files dlls/opengl32/Makefile"
20718 ac_config_files="$ac_config_files dlls/powrprof/Makefile"
20720 ac_config_files="$ac_config_files dlls/psapi/Makefile"
20722 ac_config_files="$ac_config_files dlls/psapi/tests/Makefile"
20724 ac_config_files="$ac_config_files dlls/pstorec/Makefile"
20726 ac_config_files="$ac_config_files dlls/qcap/Makefile"
20728 ac_config_files="$ac_config_files dlls/quartz/Makefile"
20730 ac_config_files="$ac_config_files dlls/quartz/tests/Makefile"
20732 ac_config_files="$ac_config_files dlls/query/Makefile"
20734 ac_config_files="$ac_config_files dlls/rasapi32/Makefile"
20736 ac_config_files="$ac_config_files dlls/resutils/Makefile"
20738 ac_config_files="$ac_config_files dlls/riched20/Makefile"
20740 ac_config_files="$ac_config_files dlls/riched20/tests/Makefile"
20742 ac_config_files="$ac_config_files dlls/riched32/Makefile"
20744 ac_config_files="$ac_config_files dlls/rpcrt4/Makefile"
20746 ac_config_files="$ac_config_files dlls/rpcrt4/tests/Makefile"
20748 ac_config_files="$ac_config_files dlls/rsabase/Makefile"
20750 ac_config_files="$ac_config_files dlls/rsabase/tests/Makefile"
20752 ac_config_files="$ac_config_files dlls/rsaenh/Makefile"
20754 ac_config_files="$ac_config_files dlls/rsaenh/tests/Makefile"
20756 ac_config_files="$ac_config_files dlls/sane.ds/Makefile"
20758 ac_config_files="$ac_config_files dlls/schannel/Makefile"
20760 ac_config_files="$ac_config_files dlls/schannel/tests/Makefile"
20762 ac_config_files="$ac_config_files dlls/secur32/Makefile"
20764 ac_config_files="$ac_config_files dlls/secur32/tests/Makefile"
20766 ac_config_files="$ac_config_files dlls/security/Makefile"
20768 ac_config_files="$ac_config_files dlls/sensapi/Makefile"
20770 ac_config_files="$ac_config_files dlls/serialui/Makefile"
20772 ac_config_files="$ac_config_files dlls/serialui/tests/Makefile"
20774 ac_config_files="$ac_config_files dlls/setupapi/Makefile"
20776 ac_config_files="$ac_config_files dlls/setupapi/tests/Makefile"
20778 ac_config_files="$ac_config_files dlls/sfc/Makefile"
20780 ac_config_files="$ac_config_files dlls/sfc_os/Makefile"
20782 ac_config_files="$ac_config_files dlls/shdoclc/Makefile"
20784 ac_config_files="$ac_config_files dlls/shdocvw/Makefile"
20786 ac_config_files="$ac_config_files dlls/shdocvw/tests/Makefile"
20788 ac_config_files="$ac_config_files dlls/shell32/Makefile"
20790 ac_config_files="$ac_config_files dlls/shell32/tests/Makefile"
20792 ac_config_files="$ac_config_files dlls/shfolder/Makefile"
20794 ac_config_files="$ac_config_files dlls/shlwapi/Makefile"
20796 ac_config_files="$ac_config_files dlls/shlwapi/tests/Makefile"
20798 ac_config_files="$ac_config_files dlls/snmpapi/Makefile"
20800 ac_config_files="$ac_config_files dlls/snmpapi/tests/Makefile"
20802 ac_config_files="$ac_config_files dlls/spoolss/Makefile"
20804 ac_config_files="$ac_config_files dlls/stdole2.tlb/Makefile"
20806 ac_config_files="$ac_config_files dlls/stdole32.tlb/Makefile"
20808 ac_config_files="$ac_config_files dlls/sti/Makefile"
20810 ac_config_files="$ac_config_files dlls/strmiids/Makefile"
20812 ac_config_files="$ac_config_files dlls/svrapi/Makefile"
20814 ac_config_files="$ac_config_files dlls/sxs/Makefile"
20816 ac_config_files="$ac_config_files dlls/tapi32/Makefile"
20818 ac_config_files="$ac_config_files dlls/twain_32/Makefile"
20820 ac_config_files="$ac_config_files dlls/unicows/Makefile"
20822 ac_config_files="$ac_config_files dlls/url/Makefile"
20824 ac_config_files="$ac_config_files dlls/urlmon/Makefile"
20826 ac_config_files="$ac_config_files dlls/urlmon/tests/Makefile"
20828 ac_config_files="$ac_config_files dlls/user32/Makefile"
20830 ac_config_files="$ac_config_files dlls/user32/tests/Makefile"
20832 ac_config_files="$ac_config_files dlls/userenv/Makefile"
20834 ac_config_files="$ac_config_files dlls/usp10/Makefile"
20836 ac_config_files="$ac_config_files dlls/usp10/tests/Makefile"
20838 ac_config_files="$ac_config_files dlls/uuid/Makefile"
20840 ac_config_files="$ac_config_files dlls/uxtheme/Makefile"
20842 ac_config_files="$ac_config_files dlls/uxtheme/tests/Makefile"
20844 ac_config_files="$ac_config_files dlls/vdhcp.vxd/Makefile"
20846 ac_config_files="$ac_config_files dlls/vdmdbg/Makefile"
20848 ac_config_files="$ac_config_files dlls/version/Makefile"
20850 ac_config_files="$ac_config_files dlls/version/tests/Makefile"
20852 ac_config_files="$ac_config_files dlls/vmm.vxd/Makefile"
20854 ac_config_files="$ac_config_files dlls/vnbt.vxd/Makefile"
20856 ac_config_files="$ac_config_files dlls/vnetbios.vxd/Makefile"
20858 ac_config_files="$ac_config_files dlls/vtdapi.vxd/Makefile"
20860 ac_config_files="$ac_config_files dlls/vwin32.vxd/Makefile"
20862 ac_config_files="$ac_config_files dlls/w32skrnl/Makefile"
20864 ac_config_files="$ac_config_files dlls/winealsa.drv/Makefile"
20866 ac_config_files="$ac_config_files dlls/wineaudioio.drv/Makefile"
20868 ac_config_files="$ac_config_files dlls/winecoreaudio.drv/Makefile"
20870 ac_config_files="$ac_config_files dlls/winecrt0/Makefile"
20872 ac_config_files="$ac_config_files dlls/wined3d/Makefile"
20874 ac_config_files="$ac_config_files dlls/winedos/Makefile"
20876 ac_config_files="$ac_config_files dlls/wineesd.drv/Makefile"
20878 ac_config_files="$ac_config_files dlls/winejack.drv/Makefile"
20880 ac_config_files="$ac_config_files dlls/winejoystick.drv/Makefile"
20882 ac_config_files="$ac_config_files dlls/winemp3.acm/Makefile"
20884 ac_config_files="$ac_config_files dlls/winenas.drv/Makefile"
20886 ac_config_files="$ac_config_files dlls/wineoss.drv/Makefile"
20888 ac_config_files="$ac_config_files dlls/wineps.drv/Makefile"
20890 ac_config_files="$ac_config_files dlls/winequartz.drv/Makefile"
20892 ac_config_files="$ac_config_files dlls/winex11.drv/Makefile"
20894 ac_config_files="$ac_config_files dlls/wing32/Makefile"
20896 ac_config_files="$ac_config_files dlls/wininet/Makefile"
20898 ac_config_files="$ac_config_files dlls/wininet/tests/Makefile"
20900 ac_config_files="$ac_config_files dlls/winmm/Makefile"
20902 ac_config_files="$ac_config_files dlls/winmm/tests/Makefile"
20904 ac_config_files="$ac_config_files dlls/winnls32/Makefile"
20906 ac_config_files="$ac_config_files dlls/winspool.drv/Makefile"
20908 ac_config_files="$ac_config_files dlls/winspool.drv/tests/Makefile"
20910 ac_config_files="$ac_config_files dlls/wintab32/Makefile"
20912 ac_config_files="$ac_config_files dlls/wintrust/Makefile"
20914 ac_config_files="$ac_config_files dlls/wintrust/tests/Makefile"
20916 ac_config_files="$ac_config_files dlls/wldap32/Makefile"
20918 ac_config_files="$ac_config_files dlls/wnaspi32/Makefile"
20920 ac_config_files="$ac_config_files dlls/wow32/Makefile"
20922 ac_config_files="$ac_config_files dlls/ws2_32/Makefile"
20924 ac_config_files="$ac_config_files dlls/ws2_32/tests/Makefile"
20926 ac_config_files="$ac_config_files dlls/wsock32/Makefile"
20928 ac_config_files="$ac_config_files dlls/wtsapi32/Makefile"
20930 ac_config_files="$ac_config_files documentation/Makefile"
20932 ac_config_files="$ac_config_files fonts/Makefile"
20934 ac_config_files="$ac_config_files include/Makefile"
20936 ac_config_files="$ac_config_files libs/Makefile"
20938 ac_config_files="$ac_config_files libs/port/Makefile"
20940 ac_config_files="$ac_config_files libs/wine/Makefile"
20942 ac_config_files="$ac_config_files libs/wpp/Makefile"
20944 ac_config_files="$ac_config_files loader/Makefile"
20946 ac_config_files="$ac_config_files programs/Makefile"
20948 ac_config_files="$ac_config_files programs/clock/Makefile"
20950 ac_config_files="$ac_config_files programs/cmd/Makefile"
20952 ac_config_files="$ac_config_files programs/cmdlgtst/Makefile"
20954 ac_config_files="$ac_config_files programs/control/Makefile"
20956 ac_config_files="$ac_config_files programs/eject/Makefile"
20958 ac_config_files="$ac_config_files programs/expand/Makefile"
20960 ac_config_files="$ac_config_files programs/explorer/Makefile"
20962 ac_config_files="$ac_config_files programs/hh/Makefile"
20964 ac_config_files="$ac_config_files programs/icinfo/Makefile"
20966 ac_config_files="$ac_config_files programs/iexplore/Makefile"
20968 ac_config_files="$ac_config_files programs/msiexec/Makefile"
20970 ac_config_files="$ac_config_files programs/net/Makefile"
20972 ac_config_files="$ac_config_files programs/notepad/Makefile"
20974 ac_config_files="$ac_config_files programs/oleview/Makefile"
20976 ac_config_files="$ac_config_files programs/progman/Makefile"
20978 ac_config_files="$ac_config_files programs/regedit/Makefile"
20980 ac_config_files="$ac_config_files programs/regsvr32/Makefile"
20982 ac_config_files="$ac_config_files programs/rpcss/Makefile"
20984 ac_config_files="$ac_config_files programs/rundll32/Makefile"
20986 ac_config_files="$ac_config_files programs/spoolsv/Makefile"
20988 ac_config_files="$ac_config_files programs/start/Makefile"
20990 ac_config_files="$ac_config_files programs/taskmgr/Makefile"
20992 ac_config_files="$ac_config_files programs/uninstaller/Makefile"
20994 ac_config_files="$ac_config_files programs/view/Makefile"
20996 ac_config_files="$ac_config_files programs/wineboot/Makefile"
20998 ac_config_files="$ac_config_files programs/winebrowser/Makefile"
21000 ac_config_files="$ac_config_files programs/winecfg/Makefile"
21002 ac_config_files="$ac_config_files programs/wineconsole/Makefile"
21004 ac_config_files="$ac_config_files programs/winedbg/Makefile"
21006 ac_config_files="$ac_config_files programs/winefile/Makefile"
21008 ac_config_files="$ac_config_files programs/winemenubuilder/Makefile"
21010 ac_config_files="$ac_config_files programs/winemine/Makefile"
21012 ac_config_files="$ac_config_files programs/winepath/Makefile"
21014 ac_config_files="$ac_config_files programs/winetest/Makefile"
21016 ac_config_files="$ac_config_files programs/winevdm/Makefile"
21018 ac_config_files="$ac_config_files programs/winhelp/Makefile"
21020 ac_config_files="$ac_config_files programs/winver/Makefile"
21022 ac_config_files="$ac_config_files programs/wordpad/Makefile"
21024 ac_config_files="$ac_config_files programs/xcopy/Makefile"
21026 ac_config_files="$ac_config_files server/Makefile"
21028 ac_config_files="$ac_config_files tools/Makefile"
21030 ac_config_files="$ac_config_files tools/widl/Makefile"
21032 ac_config_files="$ac_config_files tools/winebuild/Makefile"
21034 ac_config_files="$ac_config_files tools/winedump/Makefile"
21036 ac_config_files="$ac_config_files tools/winegcc/Makefile"
21038 ac_config_files="$ac_config_files tools/wmc/Makefile"
21040 ac_config_files="$ac_config_files tools/wrc/Makefile"
21043 cat >confcache <<\_ACEOF
21044 # This file is a shell script that caches the results of configure
21045 # tests run on this system so they can be shared between configure
21046 # scripts and configure runs, see configure's option --config-cache.
21047 # It is not useful on other systems. If it contains results you don't
21048 # want to keep, you may remove or edit it.
21050 # config.status only pays attention to the cache file if you give it
21051 # the --recheck option to rerun configure.
21053 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21054 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21055 # following values.
21057 _ACEOF
21059 # The following way of writing the cache mishandles newlines in values,
21060 # but we know of no workaround that is simple, portable, and efficient.
21061 # So, we kill variables containing newlines.
21062 # Ultrix sh set writes to stderr and can't be redirected directly,
21063 # and sets the high bit in the cache file unless we assign to the vars.
21065 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21066 eval ac_val=\$$ac_var
21067 case $ac_val in #(
21068 *${as_nl}*)
21069 case $ac_var in #(
21070 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
21071 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
21072 esac
21073 case $ac_var in #(
21074 _ | IFS | as_nl) ;; #(
21075 *) $as_unset $ac_var ;;
21076 esac ;;
21077 esac
21078 done
21080 (set) 2>&1 |
21081 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21082 *${as_nl}ac_space=\ *)
21083 # `set' does not quote correctly, so add quotes (double-quote
21084 # substitution turns \\\\ into \\, and sed turns \\ into \).
21085 sed -n \
21086 "s/'/'\\\\''/g;
21087 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21088 ;; #(
21090 # `set' quotes correctly as required by POSIX, so do not add quotes.
21091 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21093 esac |
21094 sort
21096 sed '
21097 /^ac_cv_env_/b end
21098 t clear
21099 :clear
21100 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21101 t end
21102 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21103 :end' >>confcache
21104 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21105 if test -w "$cache_file"; then
21106 test "x$cache_file" != "x/dev/null" &&
21107 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
21108 echo "$as_me: updating cache $cache_file" >&6;}
21109 cat confcache >$cache_file
21110 else
21111 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
21112 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21115 rm -f confcache
21117 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21118 # Let make expand exec_prefix.
21119 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21121 DEFS=-DHAVE_CONFIG_H
21123 ac_libobjs=
21124 ac_ltlibobjs=
21125 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21126 # 1. Remove the extension, and $U if already installed.
21127 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21128 ac_i=`echo "$ac_i" | sed "$ac_script"`
21129 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21130 # will be set to the directory where LIBOBJS objects are built.
21131 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21132 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
21133 done
21134 LIBOBJS=$ac_libobjs
21136 LTLIBOBJS=$ac_ltlibobjs
21140 : ${CONFIG_STATUS=./config.status}
21141 ac_clean_files_save=$ac_clean_files
21142 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21143 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
21144 echo "$as_me: creating $CONFIG_STATUS" >&6;}
21145 cat >$CONFIG_STATUS <<_ACEOF
21146 #! $SHELL
21147 # Generated by $as_me.
21148 # Run this file to recreate the current configuration.
21149 # Compiler output produced by configure, useful for debugging
21150 # configure, is in config.log if it exists.
21152 debug=false
21153 ac_cs_recheck=false
21154 ac_cs_silent=false
21155 SHELL=\${CONFIG_SHELL-$SHELL}
21156 _ACEOF
21158 cat >>$CONFIG_STATUS <<\_ACEOF
21159 ## --------------------- ##
21160 ## M4sh Initialization. ##
21161 ## --------------------- ##
21163 # Be more Bourne compatible
21164 DUALCASE=1; export DUALCASE # for MKS sh
21165 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21166 emulate sh
21167 NULLCMD=:
21168 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21169 # is contrary to our usage. Disable this feature.
21170 alias -g '${1+"$@"}'='"$@"'
21171 setopt NO_GLOB_SUBST
21172 else
21173 case `(set -o) 2>/dev/null` in
21174 *posix*) set -o posix ;;
21175 esac
21182 # PATH needs CR
21183 # Avoid depending upon Character Ranges.
21184 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21185 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21186 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21187 as_cr_digits='0123456789'
21188 as_cr_alnum=$as_cr_Letters$as_cr_digits
21190 # The user is always right.
21191 if test "${PATH_SEPARATOR+set}" != set; then
21192 echo "#! /bin/sh" >conf$$.sh
21193 echo "exit 0" >>conf$$.sh
21194 chmod +x conf$$.sh
21195 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21196 PATH_SEPARATOR=';'
21197 else
21198 PATH_SEPARATOR=:
21200 rm -f conf$$.sh
21203 # Support unset when possible.
21204 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
21205 as_unset=unset
21206 else
21207 as_unset=false
21211 # IFS
21212 # We need space, tab and new line, in precisely that order. Quoting is
21213 # there to prevent editors from complaining about space-tab.
21214 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21215 # splitting by setting IFS to empty value.)
21216 as_nl='
21218 IFS=" "" $as_nl"
21220 # Find who we are. Look in the path if we contain no directory separator.
21221 case $0 in
21222 *[\\/]* ) as_myself=$0 ;;
21223 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21224 for as_dir in $PATH
21226 IFS=$as_save_IFS
21227 test -z "$as_dir" && as_dir=.
21228 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21229 done
21230 IFS=$as_save_IFS
21233 esac
21234 # We did not find ourselves, most probably we were run as `sh COMMAND'
21235 # in which case we are not to be found in the path.
21236 if test "x$as_myself" = x; then
21237 as_myself=$0
21239 if test ! -f "$as_myself"; then
21240 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21241 { (exit 1); exit 1; }
21244 # Work around bugs in pre-3.0 UWIN ksh.
21245 for as_var in ENV MAIL MAILPATH
21246 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21247 done
21248 PS1='$ '
21249 PS2='> '
21250 PS4='+ '
21252 # NLS nuisances.
21253 for as_var in \
21254 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
21255 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
21256 LC_TELEPHONE LC_TIME
21258 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
21259 eval $as_var=C; export $as_var
21260 else
21261 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
21263 done
21265 # Required to use basename.
21266 if expr a : '\(a\)' >/dev/null 2>&1 &&
21267 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21268 as_expr=expr
21269 else
21270 as_expr=false
21273 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21274 as_basename=basename
21275 else
21276 as_basename=false
21280 # Name of the executable.
21281 as_me=`$as_basename -- "$0" ||
21282 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21283 X"$0" : 'X\(//\)$' \| \
21284 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21285 echo X/"$0" |
21286 sed '/^.*\/\([^/][^/]*\)\/*$/{
21287 s//\1/
21290 /^X\/\(\/\/\)$/{
21291 s//\1/
21294 /^X\/\(\/\).*/{
21295 s//\1/
21298 s/.*/./; q'`
21300 # CDPATH.
21301 $as_unset CDPATH
21305 as_lineno_1=$LINENO
21306 as_lineno_2=$LINENO
21307 test "x$as_lineno_1" != "x$as_lineno_2" &&
21308 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21310 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21311 # uniformly replaced by the line number. The first 'sed' inserts a
21312 # line-number line after each line using $LINENO; the second 'sed'
21313 # does the real work. The second script uses 'N' to pair each
21314 # line-number line with the line containing $LINENO, and appends
21315 # trailing '-' during substitution so that $LINENO is not a special
21316 # case at line end.
21317 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21318 # scripts with optimization help from Paolo Bonzini. Blame Lee
21319 # E. McMahon (1931-1989) for sed's syntax. :-)
21320 sed -n '
21322 /[$]LINENO/=
21323 ' <$as_myself |
21324 sed '
21325 s/[$]LINENO.*/&-/
21326 t lineno
21328 :lineno
21330 :loop
21331 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21332 t loop
21333 s/-\n.*//
21334 ' >$as_me.lineno &&
21335 chmod +x "$as_me.lineno" ||
21336 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21337 { (exit 1); exit 1; }; }
21339 # Don't try to exec as it changes $[0], causing all sort of problems
21340 # (the dirname of $[0] is not the place where we might find the
21341 # original and so on. Autoconf is especially sensitive to this).
21342 . "./$as_me.lineno"
21343 # Exit status is that of the last command.
21344 exit
21348 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21349 as_dirname=dirname
21350 else
21351 as_dirname=false
21354 ECHO_C= ECHO_N= ECHO_T=
21355 case `echo -n x` in
21356 -n*)
21357 case `echo 'x\c'` in
21358 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21359 *) ECHO_C='\c';;
21360 esac;;
21362 ECHO_N='-n';;
21363 esac
21365 if expr a : '\(a\)' >/dev/null 2>&1 &&
21366 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21367 as_expr=expr
21368 else
21369 as_expr=false
21372 rm -f conf$$ conf$$.exe conf$$.file
21373 if test -d conf$$.dir; then
21374 rm -f conf$$.dir/conf$$.file
21375 else
21376 rm -f conf$$.dir
21377 mkdir conf$$.dir
21379 echo >conf$$.file
21380 if ln -s conf$$.file conf$$ 2>/dev/null; then
21381 as_ln_s='ln -s'
21382 # ... but there are two gotchas:
21383 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21384 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21385 # In both cases, we have to default to `cp -p'.
21386 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21387 as_ln_s='cp -p'
21388 elif ln conf$$.file conf$$ 2>/dev/null; then
21389 as_ln_s=ln
21390 else
21391 as_ln_s='cp -p'
21393 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21394 rmdir conf$$.dir 2>/dev/null
21396 if mkdir -p . 2>/dev/null; then
21397 as_mkdir_p=:
21398 else
21399 test -d ./-p && rmdir ./-p
21400 as_mkdir_p=false
21403 if test -x / >/dev/null 2>&1; then
21404 as_test_x='test -x'
21405 else
21406 if ls -dL / >/dev/null 2>&1; then
21407 as_ls_L_option=L
21408 else
21409 as_ls_L_option=
21411 as_test_x='
21412 eval sh -c '\''
21413 if test -d "$1"; then
21414 test -d "$1/.";
21415 else
21416 case $1 in
21417 -*)set "./$1";;
21418 esac;
21419 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
21420 ???[sx]*):;;*)false;;esac;fi
21421 '\'' sh
21424 as_executable_p=$as_test_x
21426 # Sed expression to map a string onto a valid CPP name.
21427 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21429 # Sed expression to map a string onto a valid variable name.
21430 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21433 exec 6>&1
21435 # Save the log message, to keep $[0] and so on meaningful, and to
21436 # report actual input values of CONFIG_FILES etc. instead of their
21437 # values after options handling.
21438 ac_log="
21439 This file was extended by Wine $as_me 0.9.36, which was
21440 generated by GNU Autoconf 2.61. Invocation command line was
21442 CONFIG_FILES = $CONFIG_FILES
21443 CONFIG_HEADERS = $CONFIG_HEADERS
21444 CONFIG_LINKS = $CONFIG_LINKS
21445 CONFIG_COMMANDS = $CONFIG_COMMANDS
21446 $ $0 $@
21448 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21451 _ACEOF
21453 cat >>$CONFIG_STATUS <<_ACEOF
21454 # Files that config.status was made for.
21455 config_files="$ac_config_files"
21456 config_headers="$ac_config_headers"
21457 config_commands="$ac_config_commands"
21459 _ACEOF
21461 cat >>$CONFIG_STATUS <<\_ACEOF
21462 ac_cs_usage="\
21463 \`$as_me' instantiates files from templates according to the
21464 current configuration.
21466 Usage: $0 [OPTIONS] [FILE]...
21468 -h, --help print this help, then exit
21469 -V, --version print version number and configuration settings, then exit
21470 -q, --quiet do not print progress messages
21471 -d, --debug don't remove temporary files
21472 --recheck update $as_me by reconfiguring in the same conditions
21473 --file=FILE[:TEMPLATE]
21474 instantiate the configuration file FILE
21475 --header=FILE[:TEMPLATE]
21476 instantiate the configuration header FILE
21478 Configuration files:
21479 $config_files
21481 Configuration headers:
21482 $config_headers
21484 Configuration commands:
21485 $config_commands
21487 Report bugs to <bug-autoconf@gnu.org>."
21489 _ACEOF
21490 cat >>$CONFIG_STATUS <<_ACEOF
21491 ac_cs_version="\\
21492 Wine config.status 0.9.36
21493 configured by $0, generated by GNU Autoconf 2.61,
21494 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
21496 Copyright (C) 2006 Free Software Foundation, Inc.
21497 This config.status script is free software; the Free Software Foundation
21498 gives unlimited permission to copy, distribute and modify it."
21500 ac_pwd='$ac_pwd'
21501 srcdir='$srcdir'
21502 INSTALL='$INSTALL'
21503 _ACEOF
21505 cat >>$CONFIG_STATUS <<\_ACEOF
21506 # If no file are specified by the user, then we need to provide default
21507 # value. By we need to know if files were specified by the user.
21508 ac_need_defaults=:
21509 while test $# != 0
21511 case $1 in
21512 --*=*)
21513 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21514 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21515 ac_shift=:
21518 ac_option=$1
21519 ac_optarg=$2
21520 ac_shift=shift
21522 esac
21524 case $ac_option in
21525 # Handling of the options.
21526 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21527 ac_cs_recheck=: ;;
21528 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21529 echo "$ac_cs_version"; exit ;;
21530 --debug | --debu | --deb | --de | --d | -d )
21531 debug=: ;;
21532 --file | --fil | --fi | --f )
21533 $ac_shift
21534 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
21535 ac_need_defaults=false;;
21536 --header | --heade | --head | --hea )
21537 $ac_shift
21538 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
21539 ac_need_defaults=false;;
21540 --he | --h)
21541 # Conflict between --help and --header
21542 { echo "$as_me: error: ambiguous option: $1
21543 Try \`$0 --help' for more information." >&2
21544 { (exit 1); exit 1; }; };;
21545 --help | --hel | -h )
21546 echo "$ac_cs_usage"; exit ;;
21547 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21548 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21549 ac_cs_silent=: ;;
21551 # This is an error.
21552 -*) { echo "$as_me: error: unrecognized option: $1
21553 Try \`$0 --help' for more information." >&2
21554 { (exit 1); exit 1; }; } ;;
21556 *) ac_config_targets="$ac_config_targets $1"
21557 ac_need_defaults=false ;;
21559 esac
21560 shift
21561 done
21563 ac_configure_extra_args=
21565 if $ac_cs_silent; then
21566 exec 6>/dev/null
21567 ac_configure_extra_args="$ac_configure_extra_args --silent"
21570 _ACEOF
21571 cat >>$CONFIG_STATUS <<_ACEOF
21572 if \$ac_cs_recheck; then
21573 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
21574 CONFIG_SHELL=$SHELL
21575 export CONFIG_SHELL
21576 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21579 _ACEOF
21580 cat >>$CONFIG_STATUS <<\_ACEOF
21581 exec 5>>config.log
21583 echo
21584 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21585 ## Running $as_me. ##
21586 _ASBOX
21587 echo "$ac_log"
21588 } >&5
21590 _ACEOF
21591 cat >>$CONFIG_STATUS <<_ACEOF
21592 _ACEOF
21594 cat >>$CONFIG_STATUS <<\_ACEOF
21596 # Handling of arguments.
21597 for ac_config_target in $ac_config_targets
21599 case $ac_config_target in
21600 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21601 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21602 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
21603 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
21604 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
21605 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
21606 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
21607 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
21608 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
21609 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21610 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21611 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21612 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21613 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21614 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21615 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
21616 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21617 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21618 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21619 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21620 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21621 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21622 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21623 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21624 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21625 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
21626 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
21627 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21628 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21629 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21630 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21631 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21632 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21633 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21634 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21635 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21636 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21637 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21638 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21639 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21640 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21641 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21642 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21643 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21644 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21645 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21646 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21647 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21648 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21649 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21650 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21651 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21652 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21653 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
21654 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21655 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21656 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21657 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21658 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21659 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21660 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21661 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21662 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21663 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21664 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21665 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21666 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21667 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21668 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21669 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21670 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21671 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21672 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21673 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21674 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21675 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21676 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21677 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21678 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
21679 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
21680 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21681 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21682 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21683 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21684 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21685 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21686 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21687 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21688 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21689 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21690 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21691 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21692 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21693 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21694 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21695 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21696 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21697 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21698 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21699 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21700 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21701 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21702 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21703 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21704 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21705 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21706 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21707 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21708 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21709 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21710 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21711 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21712 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21713 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21714 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
21715 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
21716 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21717 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21718 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21719 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21720 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21721 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21722 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21723 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21724 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21725 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21726 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21727 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21728 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21729 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21730 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21731 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21732 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21733 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21734 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21735 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21736 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21737 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21738 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21739 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21740 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21741 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21742 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21743 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21744 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21745 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21746 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21747 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21748 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21749 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21750 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21751 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21752 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21753 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21754 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21755 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21756 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21757 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21758 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21759 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21760 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21761 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21762 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21763 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21764 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21765 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21766 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21767 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21768 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21769 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21770 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21771 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21772 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21773 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21774 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21775 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21776 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21777 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21778 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21779 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21780 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21781 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21782 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21783 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21784 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21785 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21786 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21787 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21788 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21789 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21790 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21791 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21792 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21793 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21794 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21795 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21796 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21797 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21798 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21799 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21800 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21801 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
21802 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
21803 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21804 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21805 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21806 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21807 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21808 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
21809 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21810 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21811 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21812 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21813 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21814 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21815 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21816 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21817 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21818 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21819 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21820 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21821 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21822 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21823 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21824 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21825 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21826 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21827 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21828 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21829 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
21830 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21831 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21832 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21833 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21834 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21835 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21836 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21837 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21838 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21839 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21840 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21841 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21842 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21843 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21844 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21845 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21846 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21847 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21848 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21849 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21850 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21851 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21852 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21853 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21854 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21855 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21856 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21857 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21858 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21859 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21860 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21861 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21862 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21863 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21864 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21865 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21866 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21867 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21868 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21869 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
21870 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21871 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21872 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21873 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21874 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21875 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21876 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21877 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21878 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21879 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21880 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21881 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21882 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21883 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21884 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21885 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21886 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21887 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21888 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21889 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21890 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21891 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21892 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21893 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21894 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21895 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21896 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21897 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21898 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21899 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21900 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21901 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21902 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21903 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21904 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21905 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21906 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21907 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
21908 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21909 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21910 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21911 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21912 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21913 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21914 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21915 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
21916 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21917 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21918 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21919 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21920 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21921 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21922 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21923 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21924 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21925 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21926 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21927 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21928 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21929 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21930 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21931 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21932 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21933 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21934 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
21935 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21936 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21937 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21938 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21939 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21940 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21941 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21942 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21944 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21945 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21946 { (exit 1); exit 1; }; };;
21947 esac
21948 done
21951 # If the user did not use the arguments to specify the items to instantiate,
21952 # then the envvar interface is used. Set only those that are not.
21953 # We use the long form for the default assignment because of an extremely
21954 # bizarre bug on SunOS 4.1.3.
21955 if $ac_need_defaults; then
21956 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21957 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21958 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21961 # Have a temporary directory for convenience. Make it in the build tree
21962 # simply because there is no reason against having it here, and in addition,
21963 # creating and moving files from /tmp can sometimes cause problems.
21964 # Hook for its removal unless debugging.
21965 # Note that there is a small window in which the directory will not be cleaned:
21966 # after its creation but before its name has been assigned to `$tmp'.
21967 $debug ||
21969 tmp=
21970 trap 'exit_status=$?
21971 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21973 trap '{ (exit 1); exit 1; }' 1 2 13 15
21975 # Create a (secure) tmp directory for tmp files.
21978 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21979 test -n "$tmp" && test -d "$tmp"
21980 } ||
21982 tmp=./conf$$-$RANDOM
21983 (umask 077 && mkdir "$tmp")
21984 } ||
21986 echo "$me: cannot create a temporary directory in ." >&2
21987 { (exit 1); exit 1; }
21991 # Set up the sed scripts for CONFIG_FILES section.
21994 # No need to generate the scripts if there are no CONFIG_FILES.
21995 # This happens for instance when ./config.status config.h
21996 if test -n "$CONFIG_FILES"; then
21998 _ACEOF
22000 # Create sed commands to just substitute file output variables.
22002 # Remaining file output variables are in a fragment that also has non-file
22003 # output varibles.
22007 ac_delim='%!_!# '
22008 for ac_last_try in false false false false false :; do
22009 cat >conf$$subs.sed <<_ACEOF
22010 SHELL!$SHELL$ac_delim
22011 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22012 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22013 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22014 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22015 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22016 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22017 exec_prefix!$exec_prefix$ac_delim
22018 prefix!$prefix$ac_delim
22019 program_transform_name!$program_transform_name$ac_delim
22020 bindir!$bindir$ac_delim
22021 sbindir!$sbindir$ac_delim
22022 libexecdir!$libexecdir$ac_delim
22023 datarootdir!$datarootdir$ac_delim
22024 datadir!$datadir$ac_delim
22025 sysconfdir!$sysconfdir$ac_delim
22026 sharedstatedir!$sharedstatedir$ac_delim
22027 localstatedir!$localstatedir$ac_delim
22028 includedir!$includedir$ac_delim
22029 oldincludedir!$oldincludedir$ac_delim
22030 docdir!$docdir$ac_delim
22031 infodir!$infodir$ac_delim
22032 htmldir!$htmldir$ac_delim
22033 dvidir!$dvidir$ac_delim
22034 pdfdir!$pdfdir$ac_delim
22035 psdir!$psdir$ac_delim
22036 libdir!$libdir$ac_delim
22037 localedir!$localedir$ac_delim
22038 mandir!$mandir$ac_delim
22039 DEFS!$DEFS$ac_delim
22040 ECHO_C!$ECHO_C$ac_delim
22041 ECHO_N!$ECHO_N$ac_delim
22042 ECHO_T!$ECHO_T$ac_delim
22043 LIBS!$LIBS$ac_delim
22044 build_alias!$build_alias$ac_delim
22045 host_alias!$host_alias$ac_delim
22046 target_alias!$target_alias$ac_delim
22047 build!$build$ac_delim
22048 build_cpu!$build_cpu$ac_delim
22049 build_vendor!$build_vendor$ac_delim
22050 build_os!$build_os$ac_delim
22051 host!$host$ac_delim
22052 host_cpu!$host_cpu$ac_delim
22053 host_vendor!$host_vendor$ac_delim
22054 host_os!$host_os$ac_delim
22055 WIN16_FILES!$WIN16_FILES$ac_delim
22056 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
22057 SET_MAKE!$SET_MAKE$ac_delim
22058 CC!$CC$ac_delim
22059 CFLAGS!$CFLAGS$ac_delim
22060 LDFLAGS!$LDFLAGS$ac_delim
22061 CPPFLAGS!$CPPFLAGS$ac_delim
22062 ac_ct_CC!$ac_ct_CC$ac_delim
22063 EXEEXT!$EXEEXT$ac_delim
22064 OBJEXT!$OBJEXT$ac_delim
22065 CXX!$CXX$ac_delim
22066 CXXFLAGS!$CXXFLAGS$ac_delim
22067 ac_ct_CXX!$ac_ct_CXX$ac_delim
22068 CPPBIN!$CPPBIN$ac_delim
22069 TOOLSDIR!$TOOLSDIR$ac_delim
22070 XMKMF!$XMKMF$ac_delim
22071 CPP!$CPP$ac_delim
22072 X_CFLAGS!$X_CFLAGS$ac_delim
22073 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
22074 X_LIBS!$X_LIBS$ac_delim
22075 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
22076 FLEX!$FLEX$ac_delim
22077 BISON!$BISON$ac_delim
22078 AS!$AS$ac_delim
22079 ac_ct_AS!$ac_ct_AS$ac_delim
22080 LD!$LD$ac_delim
22081 AR!$AR$ac_delim
22082 RANLIB!$RANLIB$ac_delim
22083 STRIP!$STRIP$ac_delim
22084 WINDRES!$WINDRES$ac_delim
22085 LN_S!$LN_S$ac_delim
22086 LN!$LN$ac_delim
22087 GREP!$GREP$ac_delim
22088 EGREP!$EGREP$ac_delim
22089 LDCONFIG!$LDCONFIG$ac_delim
22090 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22091 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22092 _ACEOF
22094 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
22095 break
22096 elif $ac_last_try; then
22097 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22098 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22099 { (exit 1); exit 1; }; }
22100 else
22101 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22103 done
22105 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22106 if test -n "$ac_eof"; then
22107 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22108 ac_eof=`expr $ac_eof + 1`
22111 cat >>$CONFIG_STATUS <<_ACEOF
22112 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22113 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22114 /^[ ]*@MAKE_RULES@[ ]*$/{
22115 r $MAKE_RULES
22118 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
22119 r $MAKE_DLL_RULES
22122 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
22123 r $MAKE_IMPLIB_RULES
22126 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
22127 r $MAKE_TEST_RULES
22130 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
22131 r $MAKE_PROG_RULES
22134 _ACEOF
22135 sed '
22136 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22137 s/^/s,@/; s/!/@,|#_!!_#|/
22140 s/'"$ac_delim"'$/,g/; t
22141 s/$/\\/; p
22142 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22143 ' >>$CONFIG_STATUS <conf$$subs.sed
22144 rm -f conf$$subs.sed
22145 cat >>$CONFIG_STATUS <<_ACEOF
22146 CEOF$ac_eof
22147 _ACEOF
22150 ac_delim='%!_!# '
22151 for ac_last_try in false false false false false :; do
22152 cat >conf$$subs.sed <<_ACEOF
22153 INSTALL_DATA!$INSTALL_DATA$ac_delim
22154 LINT!$LINT$ac_delim
22155 LINTFLAGS!$LINTFLAGS$ac_delim
22156 FONTFORGE!$FONTFORGE$ac_delim
22157 PKG_CONFIG!$PKG_CONFIG$ac_delim
22158 PRELINK!$PRELINK$ac_delim
22159 LIBPTHREAD!$LIBPTHREAD$ac_delim
22160 XLIB!$XLIB$ac_delim
22161 XFILES!$XFILES$ac_delim
22162 OPENGLFILES!$OPENGLFILES$ac_delim
22163 GLU32FILES!$GLU32FILES$ac_delim
22164 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
22165 QUARTZFILES!$QUARTZFILES$ac_delim
22166 NASLIBS!$NASLIBS$ac_delim
22167 XML2LIBS!$XML2LIBS$ac_delim
22168 XML2INCL!$XML2INCL$ac_delim
22169 XSLTLIBS!$XSLTLIBS$ac_delim
22170 XSLTINCL!$XSLTINCL$ac_delim
22171 HALINCL!$HALINCL$ac_delim
22172 sane_devel!$sane_devel$ac_delim
22173 SANEINCL!$SANEINCL$ac_delim
22174 gphoto2_devel!$gphoto2_devel$ac_delim
22175 gphoto2port_devel!$gphoto2port_devel$ac_delim
22176 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
22177 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
22178 ICULIBS!$ICULIBS$ac_delim
22179 RESOLVLIBS!$RESOLVLIBS$ac_delim
22180 LCMSLIBS!$LCMSLIBS$ac_delim
22181 LDAPLIBS!$LDAPLIBS$ac_delim
22182 FREETYPELIBS!$FREETYPELIBS$ac_delim
22183 FREETYPEINCL!$FREETYPEINCL$ac_delim
22184 ft_devel!$ft_devel$ac_delim
22185 ft_devel2!$ft_devel2$ac_delim
22186 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
22187 ESDCONFIG!$ESDCONFIG$ac_delim
22188 ESDLIBS!$ESDLIBS$ac_delim
22189 ESDINCL!$ESDINCL$ac_delim
22190 ALSALIBS!$ALSALIBS$ac_delim
22191 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
22192 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
22193 BUILTINFLAG!$BUILTINFLAG$ac_delim
22194 DLLEXT!$DLLEXT$ac_delim
22195 DLLFLAGS!$DLLFLAGS$ac_delim
22196 LDSHARED!$LDSHARED$ac_delim
22197 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
22198 LIBEXT!$LIBEXT$ac_delim
22199 IMPLIBEXT!$IMPLIBEXT$ac_delim
22200 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
22201 DLLTOOL!$DLLTOOL$ac_delim
22202 DLLWRAP!$DLLWRAP$ac_delim
22203 MINGWAR!$MINGWAR$ac_delim
22204 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
22205 IOKITLIB!$IOKITLIB$ac_delim
22206 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
22207 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
22208 COREAUDIO!$COREAUDIO$ac_delim
22209 CARBONLIB!$CARBONLIB$ac_delim
22210 CROSSTEST!$CROSSTEST$ac_delim
22211 CROSSCC!$CROSSCC$ac_delim
22212 CROSSWINDRES!$CROSSWINDRES$ac_delim
22213 LDPATH!$LDPATH$ac_delim
22214 CRTLIBS!$CRTLIBS$ac_delim
22215 SOCKETLIBS!$SOCKETLIBS$ac_delim
22216 MAIN_BINARY!$MAIN_BINARY$ac_delim
22217 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
22218 LDD!$LDD$ac_delim
22219 LIBDL!$LIBDL$ac_delim
22220 LIBPOLL!$LIBPOLL$ac_delim
22221 DEPENDENCIES!$DEPENDENCIES$ac_delim
22222 LIBOBJS!$LIBOBJS$ac_delim
22223 LTLIBOBJS!$LTLIBOBJS$ac_delim
22224 _ACEOF
22226 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 71; then
22227 break
22228 elif $ac_last_try; then
22229 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22230 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22231 { (exit 1); exit 1; }; }
22232 else
22233 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22235 done
22237 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22238 if test -n "$ac_eof"; then
22239 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22240 ac_eof=`expr $ac_eof + 1`
22243 cat >>$CONFIG_STATUS <<_ACEOF
22244 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22245 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22246 _ACEOF
22247 sed '
22248 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22249 s/^/s,@/; s/!/@,|#_!!_#|/
22252 s/'"$ac_delim"'$/,g/; t
22253 s/$/\\/; p
22254 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22255 ' >>$CONFIG_STATUS <conf$$subs.sed
22256 rm -f conf$$subs.sed
22257 cat >>$CONFIG_STATUS <<_ACEOF
22258 :end
22259 s/|#_!!_#|//g
22260 CEOF$ac_eof
22261 _ACEOF
22264 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22265 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22266 # trailing colons and then remove the whole line if VPATH becomes empty
22267 # (actually we leave an empty line to preserve line numbers).
22268 if test "x$srcdir" = x.; then
22269 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22270 s/:*\$(srcdir):*/:/
22271 s/:*\${srcdir}:*/:/
22272 s/:*@srcdir@:*/:/
22273 s/^\([^=]*=[ ]*\):*/\1/
22274 s/:*$//
22275 s/^[^=]*=[ ]*$//
22279 cat >>$CONFIG_STATUS <<\_ACEOF
22280 fi # test -n "$CONFIG_FILES"
22283 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22285 case $ac_tag in
22286 :[FHLC]) ac_mode=$ac_tag; continue;;
22287 esac
22288 case $ac_mode$ac_tag in
22289 :[FHL]*:*);;
22290 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22291 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22292 { (exit 1); exit 1; }; };;
22293 :[FH]-) ac_tag=-:-;;
22294 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22295 esac
22296 ac_save_IFS=$IFS
22297 IFS=:
22298 set x $ac_tag
22299 IFS=$ac_save_IFS
22300 shift
22301 ac_file=$1
22302 shift
22304 case $ac_mode in
22305 :L) ac_source=$1;;
22306 :[FH])
22307 ac_file_inputs=
22308 for ac_f
22310 case $ac_f in
22311 -) ac_f="$tmp/stdin";;
22312 *) # Look for the file first in the build tree, then in the source tree
22313 # (if the path is not absolute). The absolute path cannot be DOS-style,
22314 # because $ac_f cannot contain `:'.
22315 test -f "$ac_f" ||
22316 case $ac_f in
22317 [\\/$]*) false;;
22318 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22319 esac ||
22320 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22321 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22322 { (exit 1); exit 1; }; };;
22323 esac
22324 ac_file_inputs="$ac_file_inputs $ac_f"
22325 done
22327 # Let's still pretend it is `configure' which instantiates (i.e., don't
22328 # use $as_me), people would be surprised to read:
22329 # /* config.h. Generated by config.status. */
22330 configure_input="Generated from "`IFS=:
22331 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22332 if test x"$ac_file" != x-; then
22333 configure_input="$ac_file. $configure_input"
22334 { echo "$as_me:$LINENO: creating $ac_file" >&5
22335 echo "$as_me: creating $ac_file" >&6;}
22338 case $ac_tag in
22339 *:-:* | *:-) cat >"$tmp/stdin";;
22340 esac
22342 esac
22344 ac_dir=`$as_dirname -- "$ac_file" ||
22345 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22346 X"$ac_file" : 'X\(//\)[^/]' \| \
22347 X"$ac_file" : 'X\(//\)$' \| \
22348 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22349 echo X"$ac_file" |
22350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22351 s//\1/
22354 /^X\(\/\/\)[^/].*/{
22355 s//\1/
22358 /^X\(\/\/\)$/{
22359 s//\1/
22362 /^X\(\/\).*/{
22363 s//\1/
22366 s/.*/./; q'`
22367 { as_dir="$ac_dir"
22368 case $as_dir in #(
22369 -*) as_dir=./$as_dir;;
22370 esac
22371 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22372 as_dirs=
22373 while :; do
22374 case $as_dir in #(
22375 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22376 *) as_qdir=$as_dir;;
22377 esac
22378 as_dirs="'$as_qdir' $as_dirs"
22379 as_dir=`$as_dirname -- "$as_dir" ||
22380 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22381 X"$as_dir" : 'X\(//\)[^/]' \| \
22382 X"$as_dir" : 'X\(//\)$' \| \
22383 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22384 echo X"$as_dir" |
22385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22386 s//\1/
22389 /^X\(\/\/\)[^/].*/{
22390 s//\1/
22393 /^X\(\/\/\)$/{
22394 s//\1/
22397 /^X\(\/\).*/{
22398 s//\1/
22401 s/.*/./; q'`
22402 test -d "$as_dir" && break
22403 done
22404 test -z "$as_dirs" || eval "mkdir $as_dirs"
22405 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22406 echo "$as_me: error: cannot create directory $as_dir" >&2;}
22407 { (exit 1); exit 1; }; }; }
22408 ac_builddir=.
22410 case "$ac_dir" in
22411 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22413 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22414 # A ".." for each directory in $ac_dir_suffix.
22415 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22416 case $ac_top_builddir_sub in
22417 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22418 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22419 esac ;;
22420 esac
22421 ac_abs_top_builddir=$ac_pwd
22422 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22423 # for backward compatibility:
22424 ac_top_builddir=$ac_top_build_prefix
22426 case $srcdir in
22427 .) # We are building in place.
22428 ac_srcdir=.
22429 ac_top_srcdir=$ac_top_builddir_sub
22430 ac_abs_top_srcdir=$ac_pwd ;;
22431 [\\/]* | ?:[\\/]* ) # Absolute name.
22432 ac_srcdir=$srcdir$ac_dir_suffix;
22433 ac_top_srcdir=$srcdir
22434 ac_abs_top_srcdir=$srcdir ;;
22435 *) # Relative name.
22436 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22437 ac_top_srcdir=$ac_top_build_prefix$srcdir
22438 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22439 esac
22440 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22443 case $ac_mode in
22446 # CONFIG_FILE
22449 case $INSTALL in
22450 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22451 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22452 esac
22453 _ACEOF
22455 cat >>$CONFIG_STATUS <<\_ACEOF
22456 # If the template does not know about datarootdir, expand it.
22457 # FIXME: This hack should be removed a few years after 2.60.
22458 ac_datarootdir_hack=; ac_datarootdir_seen=
22460 case `sed -n '/datarootdir/ {
22464 /@datadir@/p
22465 /@docdir@/p
22466 /@infodir@/p
22467 /@localedir@/p
22468 /@mandir@/p
22469 ' $ac_file_inputs` in
22470 *datarootdir*) ac_datarootdir_seen=yes;;
22471 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22472 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22473 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22474 _ACEOF
22475 cat >>$CONFIG_STATUS <<_ACEOF
22476 ac_datarootdir_hack='
22477 s&@datadir@&$datadir&g
22478 s&@docdir@&$docdir&g
22479 s&@infodir@&$infodir&g
22480 s&@localedir@&$localedir&g
22481 s&@mandir@&$mandir&g
22482 s&\\\${datarootdir}&$datarootdir&g' ;;
22483 esac
22484 _ACEOF
22486 # Neutralize VPATH when `$srcdir' = `.'.
22487 # Shell code in configure.ac might set extrasub.
22488 # FIXME: do we really want to maintain this feature?
22489 cat >>$CONFIG_STATUS <<_ACEOF
22490 sed "$ac_vpsub
22491 $extrasub
22492 _ACEOF
22493 cat >>$CONFIG_STATUS <<\_ACEOF
22495 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22496 s&@configure_input@&$configure_input&;t t
22497 s&@top_builddir@&$ac_top_builddir_sub&;t t
22498 s&@srcdir@&$ac_srcdir&;t t
22499 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22500 s&@top_srcdir@&$ac_top_srcdir&;t t
22501 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22502 s&@builddir@&$ac_builddir&;t t
22503 s&@abs_builddir@&$ac_abs_builddir&;t t
22504 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22505 s&@INSTALL@&$ac_INSTALL&;t t
22506 $ac_datarootdir_hack
22507 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22509 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22510 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22511 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22512 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22513 which seems to be undefined. Please make sure it is defined." >&5
22514 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22515 which seems to be undefined. Please make sure it is defined." >&2;}
22517 rm -f "$tmp/stdin"
22518 case $ac_file in
22519 -) cat "$tmp/out"; rm -f "$tmp/out";;
22520 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22521 esac
22525 # CONFIG_HEADER
22527 _ACEOF
22529 # Transform confdefs.h into a sed script `conftest.defines', that
22530 # substitutes the proper values into config.h.in to produce config.h.
22531 rm -f conftest.defines conftest.tail
22532 # First, append a space to every undef/define line, to ease matching.
22533 echo 's/$/ /' >conftest.defines
22534 # Then, protect against being on the right side of a sed subst, or in
22535 # an unquoted here document, in config.status. If some macros were
22536 # called several times there might be several #defines for the same
22537 # symbol, which is useless. But do not sort them, since the last
22538 # AC_DEFINE must be honored.
22539 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22540 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22541 # NAME is the cpp macro being defined, VALUE is the value it is being given.
22542 # PARAMS is the parameter list in the macro definition--in most cases, it's
22543 # just an empty string.
22544 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22545 ac_dB='\\)[ (].*,\\1define\\2'
22546 ac_dC=' '
22547 ac_dD=' ,'
22549 uniq confdefs.h |
22550 sed -n '
22551 t rset
22552 :rset
22553 s/^[ ]*#[ ]*define[ ][ ]*//
22554 t ok
22557 s/[\\&,]/\\&/g
22558 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22559 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22560 ' >>conftest.defines
22562 # Remove the space that was appended to ease matching.
22563 # Then replace #undef with comments. This is necessary, for
22564 # example, in the case of _POSIX_SOURCE, which is predefined and required
22565 # on some systems where configure will not decide to define it.
22566 # (The regexp can be short, since the line contains either #define or #undef.)
22567 echo 's/ $//
22568 s,^[ #]*u.*,/* & */,' >>conftest.defines
22570 # Break up conftest.defines:
22571 ac_max_sed_lines=50
22573 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22574 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22575 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22576 # et cetera.
22577 ac_in='$ac_file_inputs'
22578 ac_out='"$tmp/out1"'
22579 ac_nxt='"$tmp/out2"'
22581 while :
22583 # Write a here document:
22584 cat >>$CONFIG_STATUS <<_ACEOF
22585 # First, check the format of the line:
22586 cat >"\$tmp/defines.sed" <<\\CEOF
22587 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22588 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22590 :def
22591 _ACEOF
22592 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22593 echo 'CEOF
22594 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22595 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22596 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22597 grep . conftest.tail >/dev/null || break
22598 rm -f conftest.defines
22599 mv conftest.tail conftest.defines
22600 done
22601 rm -f conftest.defines conftest.tail
22603 echo "ac_result=$ac_in" >>$CONFIG_STATUS
22604 cat >>$CONFIG_STATUS <<\_ACEOF
22605 if test x"$ac_file" != x-; then
22606 echo "/* $configure_input */" >"$tmp/config.h"
22607 cat "$ac_result" >>"$tmp/config.h"
22608 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22609 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22610 echo "$as_me: $ac_file is unchanged" >&6;}
22611 else
22612 rm -f $ac_file
22613 mv "$tmp/config.h" $ac_file
22615 else
22616 echo "/* $configure_input */"
22617 cat "$ac_result"
22619 rm -f "$tmp/out12"
22622 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22623 echo "$as_me: executing $ac_file commands" >&6;}
22625 esac
22628 case $ac_file$ac_mode in
22629 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22630 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22631 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22632 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22633 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22634 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22635 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22636 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22637 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22638 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22639 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22640 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22641 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22643 esac
22644 done # for ac_tag
22647 { (exit 0); exit 0; }
22648 _ACEOF
22649 chmod +x $CONFIG_STATUS
22650 ac_clean_files=$ac_clean_files_save
22653 # configure is writing to config.log, and then calls config.status.
22654 # config.status does its own redirection, appending to config.log.
22655 # Unfortunately, on DOS this fails, as config.log is still kept open
22656 # by configure, so config.status won't be able to write to it; its
22657 # output is simply discarded. So we exec the FD to /dev/null,
22658 # effectively closing config.log, so it can be properly (re)opened and
22659 # appended to by config.status. When coming back to configure, we
22660 # need to make the FD available again.
22661 if test "$no_create" != yes; then
22662 ac_cs_success=:
22663 ac_config_status_args=
22664 test "$silent" = yes &&
22665 ac_config_status_args="$ac_config_status_args --quiet"
22666 exec 5>/dev/null
22667 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22668 exec 5>>config.log
22669 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22670 # would make configure fail if this is the last instruction.
22671 $ac_cs_success || { (exit 1); exit 1; }
22676 if test "$no_create" = "yes"
22677 then
22678 exit 0
22681 if test "$verbose" = "yes"
22682 then
22683 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22684 then
22685 echo >&2
22686 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22687 echo "$as_me: libcapi20 development files not found." >&6;}
22688 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22689 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22692 if test "$ac_cv_header_cups_cups_h" != "yes"
22693 then
22694 echo >&2
22695 { echo "$as_me:$LINENO: libcups development files not found." >&5
22696 echo "$as_me: libcups development files not found." >&6;}
22697 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22698 echo "$as_me: Wine will be built without CUPS support." >&6;}
22702 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22703 then
22704 echo >&2
22705 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22706 echo "$as_me: libgphoto2 development files not found." >&6;}
22707 if test "$ac_cv_header_sane_sane_h" = "yes"
22708 then
22709 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22710 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22711 else
22712 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22713 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22717 if test "$ac_cv_header_hal_libhal_h" != "yes"
22718 then
22719 echo >&2
22720 { echo "$as_me:$LINENO: libhal development files not found." >&5
22721 echo "$as_me: libhal development files not found." >&6;}
22722 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22723 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22726 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22727 then
22728 echo >&2
22729 { echo "$as_me:$LINENO: libicu development files not found." >&5
22730 echo "$as_me: libicu development files not found." >&6;}
22731 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22732 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22735 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22736 then
22737 echo >&2
22738 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22739 echo "$as_me: liblcms development files not found." >&6;}
22740 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22741 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22744 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22745 then
22746 echo >&2
22747 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22748 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22749 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22750 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22753 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22754 then
22755 echo >&2
22756 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22757 echo "$as_me: lib(n)curses development files not found." >&6;}
22758 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22759 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22762 if test "$ac_cv_header_sane_sane_h" != "yes"
22763 then
22764 echo >&2
22765 { echo "$as_me:$LINENO: libsane development files not found." >&5
22766 echo "$as_me: libsane development files not found." >&6;}
22767 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22768 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22771 if test "$have_x" = "yes"
22772 then
22773 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22774 then
22775 echo >&2
22776 { echo "$as_me:$LINENO: libxext development files not found." >&5
22777 echo "$as_me: libxext development files not found." >&6;}
22778 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22779 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22782 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22783 then
22784 echo >&2
22785 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22786 echo "$as_me: libXrandr development files not found." >&6;}
22787 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22788 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22791 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22792 then
22793 echo >&2
22794 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22795 echo "$as_me: libXrender development files not found." >&6;}
22796 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22797 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22800 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22801 then
22802 echo >&2
22803 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22804 echo "$as_me: libXxf86vm development files not found." >&6;}
22805 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22806 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22810 if test "$ac_cv_header_libxml_parser_h" != "yes"
22811 then
22812 echo >&2
22813 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22814 echo "$as_me: libxml2 development files not found." >&6;}
22815 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22816 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22819 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22820 then
22821 echo >&2
22822 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22823 echo "$as_me: libxslt development files not found." >&6;}
22824 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22825 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22830 if test "$have_x" = "no"
22831 then
22832 echo >&2
22833 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22834 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22835 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22836 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22837 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22838 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22839 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22840 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22843 if test -z "$OPENGLFILES"
22844 then
22845 echo >&2
22846 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22847 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22848 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22849 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22850 if test "$wine_cv_opengl_headers_found" = "no"
22851 then
22852 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22853 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22855 if test "$wine_cv_opengl_header_version_OK" = "no"
22856 then
22857 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22858 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22859 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22860 then
22861 if test -f /usr/X11R6/lib/libGL.a
22862 then
22863 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22864 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22865 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22866 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22867 else
22868 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22869 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22874 if test "$wine_cv_msg_freetype" = "yes"
22875 then
22876 echo >&2
22877 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22878 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22879 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22880 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22881 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22882 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22883 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22884 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22887 if test -z "$FONTSSUBDIRS"
22888 then
22889 echo >&2
22890 if test "$FONTFORGE" = "false"
22891 then
22892 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22893 echo "$as_me: WARNING: FontForge is missing." >&2;}
22894 else
22895 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22896 echo "$as_me: WARNING: FreeType is missing." >&2;}
22898 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22899 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22902 if test -z "$ALSALIBS" -a \
22903 -z "$AUDIOIOLIBS" -a \
22904 -z "$NASLIBS" -a \
22905 -z "$ESD_LIBS" -a \
22906 -z "$ac_cv_lib_soname_jack" -a \
22907 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22908 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22909 "$ac_cv_header_soundcard_h" != "yes"
22910 then
22911 echo >&2
22912 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22913 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22914 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22915 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22916 { echo "$as_me:$LINENO: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&5
22917 echo "$as_me: WARNING: ALSA, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22920 echo
22921 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
22922 echo