2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.27.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
26 BIN_SH=xpg4; export BIN_SH # for Tru64
27 DUALCASE=1; export DUALCASE # for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits='0123456789'
36 as_cr_alnum=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51 # Support unset when possible.
52 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
121 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev/null; then
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
249 BIN_SH=xpg4; export BIN_SH # for Tru64
250 DUALCASE=1; export DUALCASE # for MKS sh
255 CONFIG_SHELL=$as_shell
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
269 BIN_SH=xpg4; export BIN_SH # for Tru64
270 DUALCASE=1; export DUALCASE # for MKS sh
282 as_func_ret_success () {
285 as_func_ret_failure () {
290 if as_func_success; then
294 echo as_func_success failed.
297 if as_func_failure; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure; then
311 echo as_func_ret_failure succeeded.
314 if ( set x; as_func_ret_success y && test x = "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) || { (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
468 ECHO_C= ECHO_N= ECHO_T=
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
479 if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
486 rm -f conf$$ conf$$.exe conf$$.file
487 if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
494 if ln -s conf$$.file conf$$ 2>/dev/null; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
502 elif ln conf$$.file conf$$ 2>/dev/null; then
507 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508 rmdir conf$$.dir 2>/dev/null
510 if mkdir -p . 2>/dev/null; then
513 test -d ./-p && rmdir ./-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.file <<_ASEOF
524 if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev/null 6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix=/usr/local
551 ac_config_libobj_dir=.
557 SHELL=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
561 PACKAGE_TARNAME='wine'
562 PACKAGE_VERSION='0.9.27'
563 PACKAGE_STRING='Wine 0.9.27'
564 PACKAGE_BUGREPORT='wine-devel@winehq.org'
566 ac_unique_file="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
612 program_transform_name
762 ac_subst_files='MAKE_RULES
767 ac_precious_vars='build_alias
781 # Initialize some variables set by options.
783 ac_init_version=false
784 # The variables have the same names as the options, with
785 # dashes changed to underlines.
793 program_transform_name=s,x,x,
801 # Installation directory options.
802 # These are left unexpanded so users can "make install exec_prefix=/foo"
803 # and all the variables that are supposed to be based on exec_prefix
804 # by default will actually change.
805 # Use braces instead of parens because sh, perl, etc. also accept them.
806 # (The list follows the same order as the GNU Coding Standards.)
807 bindir='${exec_prefix}/bin'
808 sbindir='${exec_prefix}/sbin'
809 libexecdir='${exec_prefix}/libexec'
810 datarootdir='${prefix}/share'
811 datadir='${datarootdir}'
812 sysconfdir='${prefix}/etc'
813 sharedstatedir='${prefix}/com'
814 localstatedir='${prefix}/var'
815 includedir='${prefix}/include'
816 oldincludedir='/usr/include'
817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
818 infodir='${datarootdir}/info'
823 libdir='${exec_prefix}/lib'
824 localedir='${datarootdir}/locale'
825 mandir='${datarootdir}/man'
831 # If the previous option needs an argument, assign it.
832 if test -n "$ac_prev"; then
833 eval $ac_prev=\$ac_option
839 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
843 # Accept the important Cygnus configure options, so we can diagnose typos.
845 case $ac_dashdash$ac_option in
849 -bindir | --bindir | --bindi | --bind | --bin | --bi)
851 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
854 -build | --build | --buil | --bui | --bu)
855 ac_prev=build_alias ;;
856 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
857 build_alias=$ac_optarg ;;
859 -cache-file | --cache-file | --cache-fil | --cache-fi \
860 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
861 ac_prev=cache_file ;;
862 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
863 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
864 cache_file=$ac_optarg ;;
867 cache_file=config.cache ;;
869 -datadir | --datadir | --datadi | --datad)
871 -datadir=* | --datadir=* | --datadi=* | --datad=*)
872 datadir=$ac_optarg ;;
874 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
875 | --dataroo | --dataro | --datar)
876 ac_prev=datarootdir ;;
877 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
878 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
879 datarootdir=$ac_optarg ;;
881 -disable-* | --disable-*)
882 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
883 # Reject names that are not valid shell variable names.
884 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
885 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
886 { (exit 1); exit 1; }; }
887 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
888 eval enable_$ac_feature=no ;;
890 -docdir | --docdir | --docdi | --doc | --do)
892 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
895 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
897 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
900 -enable-* | --enable-*)
901 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
902 # Reject names that are not valid shell variable names.
903 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
904 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
905 { (exit 1); exit 1; }; }
906 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
907 eval enable_$ac_feature=\$ac_optarg ;;
909 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
910 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
911 | --exec | --exe | --ex)
912 ac_prev=exec_prefix ;;
913 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
914 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
915 | --exec=* | --exe=* | --ex=*)
916 exec_prefix=$ac_optarg ;;
918 -gas | --gas | --ga | --g)
919 # Obsolete; use --with-gas.
922 -help | --help | --hel | --he | -h)
924 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
925 ac_init_help=recursive ;;
926 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
927 ac_init_help=short ;;
929 -host | --host | --hos | --ho)
930 ac_prev=host_alias ;;
931 -host=* | --host=* | --hos=* | --ho=*)
932 host_alias=$ac_optarg ;;
934 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
936 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
938 htmldir=$ac_optarg ;;
940 -includedir | --includedir | --includedi | --included | --include \
941 | --includ | --inclu | --incl | --inc)
942 ac_prev=includedir ;;
943 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
944 | --includ=* | --inclu=* | --incl=* | --inc=*)
945 includedir=$ac_optarg ;;
947 -infodir | --infodir | --infodi | --infod | --info | --inf)
949 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
950 infodir=$ac_optarg ;;
952 -libdir | --libdir | --libdi | --libd)
954 -libdir=* | --libdir=* | --libdi=* | --libd=*)
957 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
958 | --libexe | --libex | --libe)
959 ac_prev=libexecdir ;;
960 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
961 | --libexe=* | --libex=* | --libe=*)
962 libexecdir=$ac_optarg ;;
964 -localedir | --localedir | --localedi | --localed | --locale)
966 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
967 localedir=$ac_optarg ;;
969 -localstatedir | --localstatedir | --localstatedi | --localstated \
970 | --localstate | --localstat | --localsta | --localst | --locals)
971 ac_prev=localstatedir ;;
972 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
973 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
974 localstatedir=$ac_optarg ;;
976 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
978 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
982 # Obsolete; use --without-fp.
985 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
986 | --no-cr | --no-c | -n)
989 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
990 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
993 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
994 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
995 | --oldin | --oldi | --old | --ol | --o)
996 ac_prev=oldincludedir ;;
997 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
998 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
999 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1000 oldincludedir=$ac_optarg ;;
1002 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1004 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1005 prefix=$ac_optarg ;;
1007 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1008 | --program-pre | --program-pr | --program-p)
1009 ac_prev=program_prefix ;;
1010 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1011 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1012 program_prefix=$ac_optarg ;;
1014 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1015 | --program-suf | --program-su | --program-s)
1016 ac_prev=program_suffix ;;
1017 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1018 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1019 program_suffix=$ac_optarg ;;
1021 -program-transform-name | --program-transform-name \
1022 | --program-transform-nam | --program-transform-na \
1023 | --program-transform-n | --program-transform- \
1024 | --program-transform | --program-transfor \
1025 | --program-transfo | --program-transf \
1026 | --program-trans | --program-tran \
1027 | --progr-tra | --program-tr | --program-t)
1028 ac_prev=program_transform_name ;;
1029 -program-transform-name=* | --program-transform-name=* \
1030 | --program-transform-nam=* | --program-transform-na=* \
1031 | --program-transform-n=* | --program-transform-=* \
1032 | --program-transform=* | --program-transfor=* \
1033 | --program-transfo=* | --program-transf=* \
1034 | --program-trans=* | --program-tran=* \
1035 | --progr-tra=* | --program-tr=* | --program-t=*)
1036 program_transform_name=$ac_optarg ;;
1038 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1040 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1041 pdfdir=$ac_optarg ;;
1043 -psdir | --psdir | --psdi | --psd | --ps)
1045 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1048 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1049 | -silent | --silent | --silen | --sile | --sil)
1052 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1054 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1056 sbindir=$ac_optarg ;;
1058 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1059 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1060 | --sharedst | --shareds | --shared | --share | --shar \
1062 ac_prev=sharedstatedir ;;
1063 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1064 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1065 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1067 sharedstatedir=$ac_optarg ;;
1069 -site | --site | --sit)
1071 -site=* | --site=* | --sit=*)
1074 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1076 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1077 srcdir=$ac_optarg ;;
1079 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1080 | --syscon | --sysco | --sysc | --sys | --sy)
1081 ac_prev=sysconfdir ;;
1082 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1083 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1084 sysconfdir=$ac_optarg ;;
1086 -target | --target | --targe | --targ | --tar | --ta | --t)
1087 ac_prev=target_alias ;;
1088 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1089 target_alias=$ac_optarg ;;
1091 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1094 -version | --version | --versio | --versi | --vers | -V)
1095 ac_init_version=: ;;
1098 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1099 # Reject names that are not valid shell variable names.
1100 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1101 { echo "$as_me: error: invalid package name: $ac_package" >&2
1102 { (exit 1); exit 1; }; }
1103 ac_package=`echo $ac_package| sed 's/-/_/g'`
1104 eval with_$ac_package=\$ac_optarg ;;
1106 -without-* | --without-*)
1107 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1110 { echo "$as_me: error: invalid package name: $ac_package" >&2
1111 { (exit 1); exit 1; }; }
1112 ac_package=`echo $ac_package | sed 's/-/_/g'`
1113 eval with_$ac_package=no ;;
1116 # Obsolete; use --with-x.
1119 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1120 | --x-incl | --x-inc | --x-in | --x-i)
1121 ac_prev=x_includes ;;
1122 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1123 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1124 x_includes=$ac_optarg ;;
1126 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1127 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1128 ac_prev=x_libraries ;;
1129 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1130 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1131 x_libraries=$ac_optarg ;;
1133 -*) { echo "$as_me: error: unrecognized option: $ac_option
1134 Try \`$0 --help' for more information." >&2
1135 { (exit 1); exit 1; }; }
1139 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1140 # Reject names that are not valid shell variable names.
1141 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1142 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1143 { (exit 1); exit 1; }; }
1144 eval $ac_envvar=\$ac_optarg
1145 export $ac_envvar ;;
1148 # FIXME: should be removed in autoconf 3.0.
1149 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1150 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1151 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1152 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1158 if test -n "$ac_prev"; then
1159 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1160 { echo "$as_me: error: missing argument to $ac_option" >&2
1161 { (exit 1); exit 1; }; }
1164 # Be sure to have absolute directory names.
1165 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1166 datadir sysconfdir sharedstatedir localstatedir includedir \
1167 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1168 libdir localedir mandir
1170 eval ac_val=\$$ac_var
1172 [\\/$]* | ?:[\\/]* ) continue;;
1173 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1175 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1176 { (exit 1); exit 1; }; }
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1184 target=$target_alias
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x; then
1188 if test "x$build_alias" = x; then
1189 cross_compiling=maybe
1190 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1191 If a cross compiler is detected then cross compile mode will be used." >&2
1192 elif test "x$build_alias" != "x$host_alias"; then
1198 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1200 test "$silent" = yes && exec 6>/dev/null
1203 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1204 ac_ls_di=`ls -di .` &&
1205 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1206 { echo "$as_me: error: Working directory cannot be determined" >&2
1207 { (exit 1); exit 1; }; }
1208 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1209 { echo "$as_me: error: pwd does not report name of working directory" >&2
1210 { (exit 1); exit 1; }; }
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$0" ||
1218 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$0" : 'X\(//\)[^/]' \| \
1220 X"$0" : 'X\(//\)$' \| \
1221 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1250 { (exit 1); exit 1; }; }
1252 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1254 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1255 { (exit 1); exit 1; }; }
1257 # When building in place, set srcdir=.
1258 if test "$ac_abs_confdir" = "$ac_pwd"; then
1261 # Remove unnecessary trailing slashes from srcdir.
1262 # Double slashes in file names in object file debugging info
1263 # mess up M-x gdb in Emacs.
1265 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1267 for ac_var in $ac_precious_vars; do
1268 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_env_${ac_var}_value=\$${ac_var}
1270 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1271 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1275 # Report the --help message.
1277 if test "$ac_init_help" = "long"; then
1278 # Omit some internal or obsolete options to make the list less imposing.
1279 # This message is too long to be a string in the A/UX 3.1 sh.
1281 \`configure' configures Wine 0.9.27 to adapt to many kinds of systems.
1283 Usage: $0 [OPTION]... [VAR=VALUE]...
1285 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1286 VAR=VALUE. See below for descriptions of some of the useful variables.
1288 Defaults for the options are specified in brackets.
1291 -h, --help display this help and exit
1292 --help=short display options specific to this package
1293 --help=recursive display the short help of all the included packages
1294 -V, --version display version information and exit
1295 -q, --quiet, --silent do not print \`checking...' messages
1296 --cache-file=FILE cache test results in FILE [disabled]
1297 -C, --config-cache alias for \`--cache-file=config.cache'
1298 -n, --no-create do not create output files
1299 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1301 Installation directories:
1302 --prefix=PREFIX install architecture-independent files in PREFIX
1303 [$ac_default_prefix]
1304 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1307 By default, \`make install' will install all the files in
1308 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1309 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1310 for instance \`--prefix=\$HOME'.
1312 For better control, use the options below.
1314 Fine tuning of the installation directories:
1315 --bindir=DIR user executables [EPREFIX/bin]
1316 --sbindir=DIR system admin executables [EPREFIX/sbin]
1317 --libexecdir=DIR program executables [EPREFIX/libexec]
1318 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1319 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1320 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1321 --libdir=DIR object code libraries [EPREFIX/lib]
1322 --includedir=DIR C header files [PREFIX/include]
1323 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1324 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1325 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1326 --infodir=DIR info documentation [DATAROOTDIR/info]
1327 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1328 --mandir=DIR man documentation [DATAROOTDIR/man]
1329 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1330 --htmldir=DIR html documentation [DOCDIR]
1331 --dvidir=DIR dvi documentation [DOCDIR]
1332 --pdfdir=DIR pdf documentation [DOCDIR]
1333 --psdir=DIR ps documentation [DOCDIR]
1339 --x-includes=DIR X include files are in DIR
1340 --x-libraries=DIR X library files are in DIR
1343 --build=BUILD configure for building on BUILD [guessed]
1344 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1348 if test -n "$ac_init_help"; then
1349 case $ac_init_help in
1350 short | recursive ) echo "Configuration of Wine 0.9.27:";;
1355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1357 --disable-win16 do not include Win16 support
1358 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1362 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1363 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1364 --without-opengl do not use OpenGL
1365 --without-curses do not use curses
1366 --with-wine-tools=<dir> use Wine tools from directory <dir>
1367 --with-x use the X Window System
1369 Some influential environment variables:
1370 CC C compiler command
1371 CFLAGS C compiler flags
1372 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1373 nonstandard directory <lib dir>
1374 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1376 CXX C++ compiler command
1377 CXXFLAGS C++ compiler flags
1378 XMKMF Path to xmkmf, Makefile generator for X Window System
1381 Use these variables to override the choices made by `configure' or to help
1382 it to find libraries and programs with nonstandard names/locations.
1384 Report bugs to <wine-devel@winehq.org>.
1389 if test "$ac_init_help" = "recursive"; then
1390 # If there are subdirs, report their specific --help.
1391 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1392 test -d "$ac_dir" || continue
1396 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1398 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1399 # A ".." for each directory in $ac_dir_suffix.
1400 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1401 case $ac_top_builddir_sub in
1402 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1403 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1406 ac_abs_top_builddir=$ac_pwd
1407 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1408 # for backward compatibility:
1409 ac_top_builddir=$ac_top_build_prefix
1412 .) # We are building in place.
1414 ac_top_srcdir=$ac_top_builddir_sub
1415 ac_abs_top_srcdir=$ac_pwd ;;
1416 [\\/]* | ?:[\\/]* ) # Absolute name.
1417 ac_srcdir=$srcdir$ac_dir_suffix;
1418 ac_top_srcdir=$srcdir
1419 ac_abs_top_srcdir=$srcdir ;;
1421 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1422 ac_top_srcdir=$ac_top_build_prefix$srcdir
1423 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1425 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1427 cd "$ac_dir" || { ac_status=$?; continue; }
1428 # Check for guested configure.
1429 if test -f "$ac_srcdir/configure.gnu"; then
1431 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1432 elif test -f "$ac_srcdir/configure"; then
1434 $SHELL "$ac_srcdir/configure" --help=recursive
1436 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1438 cd "$ac_pwd" || { ac_status=$?; break; }
1442 test -n "$ac_init_help" && exit $ac_status
1443 if $ac_init_version; then
1445 Wine configure 0.9.27
1446 generated by GNU Autoconf 2.60a
1448 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1449 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1450 This configure script is free software; the Free Software Foundation
1451 gives unlimited permission to copy, distribute and modify it.
1455 cat >config.log <<_ACEOF
1456 This file contains any messages produced by compilers while
1457 running configure, to aid debugging if configure makes a mistake.
1459 It was created by Wine $as_me 0.9.27, which was
1460 generated by GNU Autoconf 2.60a. Invocation command line was
1472 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1473 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1474 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1475 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1476 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1478 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1479 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1481 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1482 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1483 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1484 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1485 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1486 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1487 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1495 test -z "$as_dir" && as_dir=.
1496 echo "PATH: $as_dir"
1512 # Keep a trace of the command line.
1513 # Strip out --no-create and --no-recursion so they do not pile up.
1514 # Strip out --silent because we don't want to record it for future runs.
1515 # Also quote any args containing shell meta-characters.
1516 # Make two passes to allow for proper duplicate-argument suppression.
1520 ac_must_keep_next=false
1526 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1527 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1528 | -silent | --silent | --silen | --sile | --sil)
1531 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1534 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1536 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1537 if test $ac_must_keep_next = true; then
1538 ac_must_keep_next=false # Got value, back to normal.
1541 *=* | --config-cache | -C | -disable-* | --disable-* \
1542 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1543 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1544 | -with-* | --with-* | -without-* | --without-* | --x)
1545 case "$ac_configure_args0 " in
1546 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1549 -* ) ac_must_keep_next=true ;;
1552 ac_configure_args="$ac_configure_args '$ac_arg'"
1557 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1558 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1560 # When interrupted or exit'd, cleanup temporary files, and complete
1561 # config.log. We remove comments because anyway the quotes in there
1562 # would cause problems or look ugly.
1563 # WARNING: Use '\'' to represent an apostrophe within the trap.
1564 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1565 trap 'exit_status=$?
1566 # Save into config.log some information that might help in debugging.
1571 ## ---------------- ##
1572 ## Cache variables. ##
1573 ## ---------------- ##
1576 # The following way of writing the cache mishandles newlines in values,
1578 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1579 eval ac_val=\$$ac_var
1583 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1584 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1587 _ | IFS | as_nl) ;; #(
1588 *) $as_unset $ac_var ;;
1593 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1594 *${as_nl}ac_space=\ *)
1596 "s/'\''/'\''\\\\'\'''\''/g;
1597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1600 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1608 ## ----------------- ##
1609 ## Output variables. ##
1610 ## ----------------- ##
1613 for ac_var in $ac_subst_vars
1615 eval ac_val=\$$ac_var
1617 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1619 echo "$ac_var='\''$ac_val'\''"
1623 if test -n "$ac_subst_files"; then
1625 ## ------------------- ##
1626 ## File substitutions. ##
1627 ## ------------------- ##
1630 for ac_var in $ac_subst_files
1632 eval ac_val=\$$ac_var
1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 echo "$ac_var='\''$ac_val'\''"
1641 if test -s confdefs.h; then
1651 test "$ac_signal" != 0 &&
1652 echo "$as_me: caught signal $ac_signal"
1653 echo "$as_me: exit $exit_status"
1655 rm -f core *.core core.conftest.* &&
1656 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1659 for ac_signal in 1 2 13 15; do
1660 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1664 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1665 rm -f -r conftest* confdefs.h
1667 # Predefined preprocessor variables.
1669 cat >>confdefs.h <<_ACEOF
1670 #define PACKAGE_NAME "$PACKAGE_NAME"
1674 cat >>confdefs.h <<_ACEOF
1675 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1679 cat >>confdefs.h <<_ACEOF
1680 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1684 cat >>confdefs.h <<_ACEOF
1685 #define PACKAGE_STRING "$PACKAGE_STRING"
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1694 # Let the site file select an alternate cache file if it wants to.
1695 # Prefer explicitly selected file to automatically selected ones.
1696 if test -n "$CONFIG_SITE"; then
1697 set x "$CONFIG_SITE"
1698 elif test "x$prefix" != xNONE; then
1699 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1701 set x "$ac_default_prefix/share/config.site" \
1702 "$ac_default_prefix/etc/config.site"
1707 if test -r "$ac_site_file"; then
1708 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1709 echo "$as_me: loading site script $ac_site_file" >&6;}
1710 sed 's/^/| /' "$ac_site_file" >&5
1715 if test -r "$cache_file"; then
1716 # Some versions of bash will fail to source /dev/null (special
1717 # files actually), so we avoid doing that.
1718 if test -f "$cache_file"; then
1719 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1720 echo "$as_me: loading cache $cache_file" >&6;}
1722 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1723 *) . "./$cache_file";;
1727 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1728 echo "$as_me: creating cache $cache_file" >&6;}
1732 # Check that the precious variables saved in the cache have kept the same
1734 ac_cache_corrupted=false
1735 for ac_var in $ac_precious_vars; do
1736 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1737 eval ac_new_set=\$ac_env_${ac_var}_set
1738 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1739 eval ac_new_val=\$ac_env_${ac_var}_value
1740 case $ac_old_set,$ac_new_set in
1742 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1743 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1744 ac_cache_corrupted=: ;;
1746 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1747 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1748 ac_cache_corrupted=: ;;
1751 if test "x$ac_old_val" != "x$ac_new_val"; then
1752 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1753 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1754 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1755 echo "$as_me: former value: $ac_old_val" >&2;}
1756 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1757 echo "$as_me: current value: $ac_new_val" >&2;}
1758 ac_cache_corrupted=:
1761 # Pass precious variables to config.status.
1762 if test "$ac_new_set" = set; then
1764 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1765 *) ac_arg=$ac_var=$ac_new_val ;;
1767 case " $ac_configure_args " in
1768 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1769 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1773 if $ac_cache_corrupted; then
1774 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1775 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1776 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1777 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1778 { (exit 1); exit 1; }; }
1806 ac_cpp='$CPP $CPPFLAGS'
1807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1813 ac_config_headers="$ac_config_headers include/config.h"
1816 for ac_dir in tools "$srcdir"/tools; do
1817 if test -f "$ac_dir/install-sh"; then
1819 ac_install_sh="$ac_aux_dir/install-sh -c"
1821 elif test -f "$ac_dir/install.sh"; then
1823 ac_install_sh="$ac_aux_dir/install.sh -c"
1825 elif test -f "$ac_dir/shtool"; then
1827 ac_install_sh="$ac_aux_dir/shtool install -c"
1831 if test -z "$ac_aux_dir"; then
1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1833 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1834 { (exit 1); exit 1; }; }
1837 # These three variables are undocumented and unsupported,
1838 # and are intended to be withdrawn in a future Autoconf release.
1839 # They can cause serious problems if a builder's source tree is in a directory
1840 # whose full name contains unusual characters.
1841 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1848 # Check whether --enable-win16 was given.
1849 if test "${enable_win16+set}" = set; then
1850 enableval=$enable_win16;
1853 # Check whether --enable-win64 was given.
1854 if test "${enable_win64+set}" = set; then
1855 enableval=$enable_win64;
1860 # Check whether --with-opengl was given.
1861 if test "${with_opengl+set}" = set; then
1862 withval=$with_opengl;
1866 # Check whether --with-curses was given.
1867 if test "${with_curses+set}" = set; then
1868 withval=$with_curses;
1872 # Check whether --with-wine-tools was given.
1873 if test "${with_wine_tools+set}" = set; then
1874 withval=$with_wine_tools;
1878 # Make sure we can run config.sub.
1879 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1880 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1881 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1882 { (exit 1); exit 1; }; }
1884 { echo "$as_me:$LINENO: checking build system type" >&5
1885 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1886 if test "${ac_cv_build+set}" = set; then
1887 echo $ECHO_N "(cached) $ECHO_C" >&6
1889 ac_build_alias=$build_alias
1890 test "x$ac_build_alias" = x &&
1891 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1892 test "x$ac_build_alias" = x &&
1893 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1894 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1895 { (exit 1); exit 1; }; }
1896 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1897 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1898 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1899 { (exit 1); exit 1; }; }
1902 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1903 echo "${ECHO_T}$ac_cv_build" >&6; }
1904 case $ac_cv_build in
1906 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1907 echo "$as_me: error: invalid value of canonical build" >&2;}
1908 { (exit 1); exit 1; }; };;
1911 ac_save_IFS=$IFS; IFS='-'
1917 # Remember, the first character of IFS is used to create $*,
1918 # except with old shells:
1921 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1924 { echo "$as_me:$LINENO: checking host system type" >&5
1925 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1926 if test "${ac_cv_host+set}" = set; then
1927 echo $ECHO_N "(cached) $ECHO_C" >&6
1929 if test "x$host_alias" = x; then
1930 ac_cv_host=$ac_cv_build
1932 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1933 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1934 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1935 { (exit 1); exit 1; }; }
1939 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1940 echo "${ECHO_T}$ac_cv_host" >&6; }
1943 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1944 echo "$as_me: error: invalid value of canonical host" >&2;}
1945 { (exit 1); exit 1; }; };;
1948 ac_save_IFS=$IFS; IFS='-'
1954 # Remember, the first character of IFS is used to create $*,
1955 # except with old shells:
1958 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1963 if test "x$enable_win64" != "xyes"
1965 test -n "$CC" || CC="gcc -m32"
1966 test -n "$LD" || LD="ld -m elf_i386"
1967 test -n "$AS" || AS="as --32"
1975 if test "x$enable_win16" != "xno"
1982 WIN16_FILES="\$(WIN16_FILES)"
1984 WIN16_INSTALL="\$(WIN16_INSTALL)"
1986 if test "x$enable_win16" != "xyes"
1993 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1994 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1995 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1996 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1997 echo $ECHO_N "(cached) $ECHO_C" >&6
1999 cat >conftest.make <<\_ACEOF
2002 @echo '@@@%%%=$(MAKE)=@@@%%%'
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2007 eval ac_cv_prog_make_${ac_make}_set=yes;;
2009 eval ac_cv_prog_make_${ac_make}_set=no;;
2013 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2014 { echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6; }
2018 { echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6; }
2020 SET_MAKE="MAKE=${MAKE-make}"
2024 ac_cpp='$CPP $CPPFLAGS'
2025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2028 if test -n "$ac_tool_prefix"; then
2029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2030 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2033 if test "${ac_cv_prog_CC+set}" = set; then
2034 echo $ECHO_N "(cached) $ECHO_C" >&6
2036 if test -n "$CC"; then
2037 ac_cv_prog_CC="$CC" # Let the user override the test.
2039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043 test -z "$as_dir" && as_dir=.
2044 for ac_exec_ext in '' $ac_executable_extensions; do
2045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 if test -n "$CC"; then
2058 { echo "$as_me:$LINENO: result: $CC" >&5
2059 echo "${ECHO_T}$CC" >&6; }
2061 { echo "$as_me:$LINENO: result: no" >&5
2062 echo "${ECHO_T}no" >&6; }
2067 if test -z "$ac_cv_prog_CC"; then
2069 # Extract the first word of "gcc", so it can be a program name with args.
2070 set dummy gcc; ac_word=$2
2071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2073 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 if test -n "$ac_ct_CC"; then
2077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_ac_ct_CC="gcc"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2097 if test -n "$ac_ct_CC"; then
2098 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2099 echo "${ECHO_T}$ac_ct_CC" >&6; }
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
2105 if test "x$ac_ct_CC" = x; then
2108 case $cross_compiling:$ac_tool_warned in
2110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2111 whose name does not start with the host triplet. If you think this
2112 configuration is useful to you, please write to autoconf@gnu.org." >&5
2113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2114 whose name does not start with the host triplet. If you think this
2115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2116 ac_tool_warned=yes ;;
2124 if test -z "$CC"; then
2125 if test -n "$ac_tool_prefix"; then
2126 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2127 set dummy ${ac_tool_prefix}cc; ac_word=$2
2128 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2130 if test "${ac_cv_prog_CC+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 if test -n "$CC"; then
2134 ac_cv_prog_CC="$CC" # Let the user override the test.
2136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir=.
2141 for ac_exec_ext in '' $ac_executable_extensions; do
2142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2143 ac_cv_prog_CC="${ac_tool_prefix}cc"
2144 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 if test -n "$CC"; then
2155 { echo "$as_me:$LINENO: result: $CC" >&5
2156 echo "${ECHO_T}$CC" >&6; }
2158 { echo "$as_me:$LINENO: result: no" >&5
2159 echo "${ECHO_T}no" >&6; }
2165 if test -z "$CC"; then
2166 # Extract the first word of "cc", so it can be a program name with args.
2167 set dummy cc; ac_word=$2
2168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2170 if test "${ac_cv_prog_CC+set}" = set; then
2171 echo $ECHO_N "(cached) $ECHO_C" >&6
2173 if test -n "$CC"; then
2174 ac_cv_prog_CC="$CC" # Let the user override the test.
2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2185 ac_prog_rejected=yes
2189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test $ac_prog_rejected = yes; then
2197 # We found a bogon in the path, so make sure we never use it.
2198 set dummy $ac_cv_prog_CC
2200 if test $# != 0; then
2201 # We chose a different compiler from the bogus one.
2202 # However, it has the same basename, so the bogon will be chosen
2203 # first if we set CC to just the basename; use the full file name.
2205 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2211 if test -n "$CC"; then
2212 { echo "$as_me:$LINENO: result: $CC" >&5
2213 echo "${ECHO_T}$CC" >&6; }
2215 { echo "$as_me:$LINENO: result: no" >&5
2216 echo "${ECHO_T}no" >&6; }
2221 if test -z "$CC"; then
2222 if test -n "$ac_tool_prefix"; then
2223 for ac_prog in cl.exe
2225 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2227 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2229 if test "${ac_cv_prog_CC+set}" = set; then
2230 echo $ECHO_N "(cached) $ECHO_C" >&6
2232 if test -n "$CC"; then
2233 ac_cv_prog_CC="$CC" # Let the user override the test.
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2253 if test -n "$CC"; then
2254 { echo "$as_me:$LINENO: result: $CC" >&5
2255 echo "${ECHO_T}$CC" >&6; }
2257 { echo "$as_me:$LINENO: result: no" >&5
2258 echo "${ECHO_T}no" >&6; }
2262 test -n "$CC" && break
2265 if test -z "$CC"; then
2267 for ac_prog in cl.exe
2269 # Extract the first word of "$ac_prog", so it can be a program name with args.
2270 set dummy $ac_prog; ac_word=$2
2271 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2273 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$ac_ct_CC"; then
2277 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2286 ac_cv_prog_ac_ct_CC="$ac_prog"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2297 if test -n "$ac_ct_CC"; then
2298 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2299 echo "${ECHO_T}$ac_ct_CC" >&6; }
2301 { echo "$as_me:$LINENO: result: no" >&5
2302 echo "${ECHO_T}no" >&6; }
2306 test -n "$ac_ct_CC" && break
2309 if test "x$ac_ct_CC" = x; then
2312 case $cross_compiling:$ac_tool_warned in
2314 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2315 whose name does not start with the host triplet. If you think this
2316 configuration is useful to you, please write to autoconf@gnu.org." >&5
2317 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2320 ac_tool_warned=yes ;;
2329 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2330 See \`config.log' for more details." >&5
2331 echo "$as_me: error: no acceptable C compiler found in \$PATH
2332 See \`config.log' for more details." >&2;}
2333 { (exit 1); exit 1; }; }
2335 # Provide some information about the compiler.
2336 echo "$as_me:$LINENO: checking for C compiler version" >&5
2337 ac_compiler=`set X $ac_compile; echo $2`
2338 { (ac_try="$ac_compiler --version >&5"
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2344 (eval "$ac_compiler --version >&5") 2>&5
2346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }
2348 { (ac_try="$ac_compiler -v >&5"
2350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2351 *) ac_try_echo=$ac_try;;
2353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2354 (eval "$ac_compiler -v >&5") 2>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }
2358 { (ac_try="$ac_compiler -V >&5"
2360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2361 *) ac_try_echo=$ac_try;;
2363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2364 (eval "$ac_compiler -V >&5") 2>&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); }
2369 cat >conftest.$ac_ext <<_ACEOF
2372 cat confdefs.h >>conftest.$ac_ext
2373 cat >>conftest.$ac_ext <<_ACEOF
2374 /* end confdefs.h. */
2384 ac_clean_files_save=$ac_clean_files
2385 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2386 # Try to create an executable without -o first, disregard a.out.
2387 # It will help us diagnose broken compilers, and finding out an intuition
2389 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2390 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2391 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2393 # List of possible output files, starting from the most likely.
2394 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2395 # only as a last resort. b.out is created by i960 compilers.
2396 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2398 # The IRIX 6 linker writes into existing files which may not be
2399 # executable, retaining their permissions. Remove them first so a
2400 # subsequent execution test works.
2402 for ac_file in $ac_files
2405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2406 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2411 if { (ac_try="$ac_link_default"
2413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2414 *) ac_try_echo=$ac_try;;
2416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2417 (eval "$ac_link_default") 2>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); }; then
2421 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2422 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2423 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2424 # so that the user can short-circuit this test for compilers unknown to
2426 for ac_file in $ac_files ''
2428 test -f "$ac_file" || continue
2430 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2433 # We found the default executable, but exeext='' is most
2437 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2439 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2441 # We set ac_cv_exeext here because the later test for it is not
2442 # safe: cross compilers may not add the suffix if given an `-o'
2443 # argument, so we may need to know it at that point already.
2444 # Even if this section looks crufty: it has the advantage of
2451 test "$ac_cv_exeext" = no && ac_cv_exeext=
2457 { echo "$as_me:$LINENO: result: $ac_file" >&5
2458 echo "${ECHO_T}$ac_file" >&6; }
2459 if test -z "$ac_file"; then
2460 echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.$ac_ext >&5
2463 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2464 See \`config.log' for more details." >&5
2465 echo "$as_me: error: C compiler cannot create executables
2466 See \`config.log' for more details." >&2;}
2467 { (exit 77); exit 77; }; }
2470 ac_exeext=$ac_cv_exeext
2472 # Check that the compiler produces executables we can run. If not, either
2473 # the compiler is broken, or we cross compile.
2474 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2475 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2476 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2477 # If not cross compiling, check that we can run a simple program.
2478 if test "$cross_compiling" != yes; then
2479 if { ac_try='./$ac_file'
2480 { (case "(($ac_try" in
2481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2482 *) ac_try_echo=$ac_try;;
2484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2485 (eval "$ac_try") 2>&5
2487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2488 (exit $ac_status); }; }; then
2491 if test "$cross_compiling" = maybe; then
2494 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2495 If you meant to cross compile, use \`--host'.
2496 See \`config.log' for more details." >&5
2497 echo "$as_me: error: cannot run C compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \`config.log' for more details." >&2;}
2500 { (exit 1); exit 1; }; }
2504 { echo "$as_me:$LINENO: result: yes" >&5
2505 echo "${ECHO_T}yes" >&6; }
2507 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2508 ac_clean_files=$ac_clean_files_save
2509 # Check that the compiler produces executables we can run. If not, either
2510 # the compiler is broken, or we cross compile.
2511 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2512 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2513 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2514 echo "${ECHO_T}$cross_compiling" >&6; }
2516 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2517 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2518 if { (ac_try="$ac_link"
2520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2521 *) ac_try_echo=$ac_try;;
2523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2524 (eval "$ac_link") 2>&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); }; then
2528 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2529 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2530 # work properly (i.e., refer to `conftest.exe'), while it won't with
2532 for ac_file in conftest.exe conftest conftest.*; do
2533 test -f "$ac_file" || continue
2535 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2536 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2542 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2543 See \`config.log' for more details." >&5
2544 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2545 See \`config.log' for more details." >&2;}
2546 { (exit 1); exit 1; }; }
2549 rm -f conftest$ac_cv_exeext
2550 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2551 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2553 rm -f conftest.$ac_ext
2554 EXEEXT=$ac_cv_exeext
2556 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2557 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2558 if test "${ac_cv_objext+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 cat >conftest.$ac_ext <<_ACEOF
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2576 rm -f conftest.o conftest.obj
2577 if { (ac_try="$ac_compile"
2579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2580 *) ac_try_echo=$ac_try;;
2582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2583 (eval "$ac_compile") 2>&5
2585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2586 (exit $ac_status); }; then
2587 for ac_file in conftest.o conftest.obj conftest.*; do
2588 test -f "$ac_file" || continue;
2590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2596 echo "$as_me: failed program was:" >&5
2597 sed 's/^/| /' conftest.$ac_ext >&5
2599 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2600 See \`config.log' for more details." >&5
2601 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }
2606 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2608 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2609 echo "${ECHO_T}$ac_cv_objext" >&6; }
2610 OBJEXT=$ac_cv_objext
2612 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2613 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2614 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6
2617 cat >conftest.$ac_ext <<_ACEOF
2620 cat confdefs.h >>conftest.$ac_ext
2621 cat >>conftest.$ac_ext <<_ACEOF
2622 /* end confdefs.h. */
2635 rm -f conftest.$ac_objext
2636 if { (ac_try="$ac_compile"
2638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2639 *) ac_try_echo=$ac_try;;
2641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2642 (eval "$ac_compile") 2>conftest.er1
2644 grep -v '^ *+' conftest.er1 >conftest.err
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2650 { (case "(($ac_try" in
2651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2652 *) ac_try_echo=$ac_try;;
2654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2655 (eval "$ac_try") 2>&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); }; } &&
2659 { ac_try='test -s conftest.$ac_objext'
2660 { (case "(($ac_try" in
2661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2662 *) ac_try_echo=$ac_try;;
2664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2665 (eval "$ac_try") 2>&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; }; then
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2678 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2681 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2682 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2683 GCC=`test $ac_compiler_gnu = yes && echo yes`
2684 ac_test_CFLAGS=${CFLAGS+set}
2685 ac_save_CFLAGS=$CFLAGS
2686 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2687 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2688 if test "${ac_cv_prog_cc_g+set}" = set; then
2689 echo $ECHO_N "(cached) $ECHO_C" >&6
2691 ac_save_c_werror_flag=$ac_c_werror_flag
2692 ac_c_werror_flag=yes
2695 cat >conftest.$ac_ext <<_ACEOF
2698 cat confdefs.h >>conftest.$ac_ext
2699 cat >>conftest.$ac_ext <<_ACEOF
2700 /* end confdefs.h. */
2710 rm -f conftest.$ac_objext
2711 if { (ac_try="$ac_compile"
2713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2714 *) ac_try_echo=$ac_try;;
2716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2717 (eval "$ac_compile") 2>conftest.er1
2719 grep -v '^ *+' conftest.er1 >conftest.err
2721 cat conftest.err >&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2725 { (case "(($ac_try" in
2726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2727 *) ac_try_echo=$ac_try;;
2729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2730 (eval "$ac_try") 2>&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); }; } &&
2734 { ac_try='test -s conftest.$ac_objext'
2735 { (case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_try") 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; }; then
2746 echo "$as_me: failed program was:" >&5
2747 sed 's/^/| /' conftest.$ac_ext >&5
2750 cat >conftest.$ac_ext <<_ACEOF
2753 cat confdefs.h >>conftest.$ac_ext
2754 cat >>conftest.$ac_ext <<_ACEOF
2755 /* end confdefs.h. */
2765 rm -f conftest.$ac_objext
2766 if { (ac_try="$ac_compile"
2768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2769 *) ac_try_echo=$ac_try;;
2771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772 (eval "$ac_compile") 2>conftest.er1
2774 grep -v '^ *+' conftest.er1 >conftest.err
2776 cat conftest.err >&5
2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } &&
2779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2780 { (case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2785 (eval "$ac_try") 2>&5
2787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2788 (exit $ac_status); }; } &&
2789 { ac_try='test -s conftest.$ac_objext'
2790 { (case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2795 (eval "$ac_try") 2>&5
2797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2798 (exit $ac_status); }; }; then
2801 echo "$as_me: failed program was:" >&5
2802 sed 's/^/| /' conftest.$ac_ext >&5
2804 ac_c_werror_flag=$ac_save_c_werror_flag
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_compile") 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2834 (exit $ac_status); } &&
2835 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2836 { (case "(($ac_try" in
2837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2838 *) ac_try_echo=$ac_try;;
2840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2841 (eval "$ac_try") 2>&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); }; } &&
2845 { ac_try='test -s conftest.$ac_objext'
2846 { (case "(($ac_try" in
2847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2848 *) ac_try_echo=$ac_try;;
2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2851 (eval "$ac_try") 2>&5
2853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2854 (exit $ac_status); }; }; then
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 ac_c_werror_flag=$ac_save_c_werror_flag
2872 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2873 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2874 if test "$ac_test_CFLAGS" = set; then
2875 CFLAGS=$ac_save_CFLAGS
2876 elif test $ac_cv_prog_cc_g = yes; then
2877 if test "$GCC" = yes; then
2883 if test "$GCC" = yes; then
2889 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2890 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2891 if test "${ac_cv_prog_cc_c89+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2894 ac_cv_prog_cc_c89=no
2896 cat >conftest.$ac_ext <<_ACEOF
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2904 #include <sys/types.h>
2905 #include <sys/stat.h>
2906 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2907 struct buf { int x; };
2908 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2909 static char *e (p, i)
2915 static char *f (char * (*g) (char **, int), char **p, ...)
2920 s = g (p, va_arg (v,int));
2925 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2926 function prototypes and stuff, but not '\xHH' hex character constants.
2927 These don't provoke an error unfortunately, instead are silently treated
2928 as 'x'. The following induces an error, until -std is added to get
2929 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2930 array size at least. It's necessary to write '\x00'==0 to get something
2931 that's true only with -std. */
2932 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2934 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2935 inside strings and character constants. */
2937 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2939 int test (int i, double x);
2940 struct s1 {int (*f) (int a);};
2941 struct s2 {int (*f) (double a);};
2942 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2948 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2953 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2954 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2956 CC="$ac_save_CC $ac_arg"
2957 rm -f conftest.$ac_objext
2958 if { (ac_try="$ac_compile"
2960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2961 *) ac_try_echo=$ac_try;;
2963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2964 (eval "$ac_compile") 2>conftest.er1
2966 grep -v '^ *+' conftest.er1 >conftest.err
2968 cat conftest.err >&5
2969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970 (exit $ac_status); } &&
2971 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2972 { (case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2977 (eval "$ac_try") 2>&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try='test -s conftest.$ac_objext'
2982 { (case "(($ac_try" in
2983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2984 *) ac_try_echo=$ac_try;;
2986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2987 (eval "$ac_try") 2>&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; }; then
2991 ac_cv_prog_cc_c89=$ac_arg
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2999 rm -f core conftest.err conftest.$ac_objext
3000 test "x$ac_cv_prog_cc_c89" != "xno" && break
3002 rm -f conftest.$ac_ext
3007 case "x$ac_cv_prog_cc_c89" in
3009 { echo "$as_me:$LINENO: result: none needed" >&5
3010 echo "${ECHO_T}none needed" >&6; } ;;
3012 { echo "$as_me:$LINENO: result: unsupported" >&5
3013 echo "${ECHO_T}unsupported" >&6; } ;;
3015 CC="$CC $ac_cv_prog_cc_c89"
3016 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3017 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028 ac_cpp='$CXXCPP $CPPFLAGS'
3029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3032 if test -z "$CXX"; then
3033 if test -n "$CCC"; then
3036 if test -n "$ac_tool_prefix"; then
3037 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3039 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3040 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3041 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3043 if test "${ac_cv_prog_CXX+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 if test -n "$CXX"; then
3047 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3056 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 if test -n "$CXX"; then
3068 { echo "$as_me:$LINENO: result: $CXX" >&5
3069 echo "${ECHO_T}$CXX" >&6; }
3071 { echo "$as_me:$LINENO: result: no" >&5
3072 echo "${ECHO_T}no" >&6; }
3076 test -n "$CXX" && break
3079 if test -z "$CXX"; then
3081 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3083 # Extract the first word of "$ac_prog", so it can be a program name with args.
3084 set dummy $ac_prog; ac_word=$2
3085 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3086 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3087 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 if test -n "$ac_ct_CXX"; then
3091 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir=.
3098 for ac_exec_ext in '' $ac_executable_extensions; do
3099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3100 ac_cv_prog_ac_ct_CXX="$ac_prog"
3101 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3111 if test -n "$ac_ct_CXX"; then
3112 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3113 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3115 { echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6; }
3120 test -n "$ac_ct_CXX" && break
3123 if test "x$ac_ct_CXX" = x; then
3126 case $cross_compiling:$ac_tool_warned in
3128 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3129 whose name does not start with the host triplet. If you think this
3130 configuration is useful to you, please write to autoconf@gnu.org." >&5
3131 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3132 whose name does not start with the host triplet. If you think this
3133 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3134 ac_tool_warned=yes ;;
3142 # Provide some information about the compiler.
3143 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3144 ac_compiler=`set X $ac_compile; echo $2`
3145 { (ac_try="$ac_compiler --version >&5"
3147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3148 *) ac_try_echo=$ac_try;;
3150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3151 (eval "$ac_compiler --version >&5") 2>&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }
3155 { (ac_try="$ac_compiler -v >&5"
3157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3158 *) ac_try_echo=$ac_try;;
3160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3161 (eval "$ac_compiler -v >&5") 2>&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }
3165 { (ac_try="$ac_compiler -V >&5"
3167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3168 *) ac_try_echo=$ac_try;;
3170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3171 (eval "$ac_compiler -V >&5") 2>&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }
3176 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3177 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3178 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 cat >conftest.$ac_ext <<_ACEOF
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3199 rm -f conftest.$ac_objext
3200 if { (ac_try="$ac_compile"
3202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3203 *) ac_try_echo=$ac_try;;
3205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3206 (eval "$ac_compile") 2>conftest.er1
3208 grep -v '^ *+' conftest.er1 >conftest.err
3210 cat conftest.err >&5
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); } &&
3213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3214 { (case "(($ac_try" in
3215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3216 *) ac_try_echo=$ac_try;;
3218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3219 (eval "$ac_try") 2>&5
3221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222 (exit $ac_status); }; } &&
3223 { ac_try='test -s conftest.$ac_objext'
3224 { (case "(($ac_try" in
3225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3229 (eval "$ac_try") 2>&5
3231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3232 (exit $ac_status); }; }; then
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3245 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3246 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3247 GXX=`test $ac_compiler_gnu = yes && echo yes`
3248 ac_test_CXXFLAGS=${CXXFLAGS+set}
3249 ac_save_CXXFLAGS=$CXXFLAGS
3250 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3251 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3252 if test "${ac_cv_prog_cxx_g+set}" = set; then
3253 echo $ECHO_N "(cached) $ECHO_C" >&6
3255 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3256 ac_cxx_werror_flag=yes
3259 cat >conftest.$ac_ext <<_ACEOF
3262 cat confdefs.h >>conftest.$ac_ext
3263 cat >>conftest.$ac_ext <<_ACEOF
3264 /* end confdefs.h. */
3274 rm -f conftest.$ac_objext
3275 if { (ac_try="$ac_compile"
3277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3278 *) ac_try_echo=$ac_try;;
3280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3281 (eval "$ac_compile") 2>conftest.er1
3283 grep -v '^ *+' conftest.er1 >conftest.err
3285 cat conftest.err >&5
3286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3287 (exit $ac_status); } &&
3288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3289 { (case "(($ac_try" in
3290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3291 *) ac_try_echo=$ac_try;;
3293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3294 (eval "$ac_try") 2>&5
3296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3297 (exit $ac_status); }; } &&
3298 { ac_try='test -s conftest.$ac_objext'
3299 { (case "(($ac_try" in
3300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3301 *) ac_try_echo=$ac_try;;
3303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3304 (eval "$ac_try") 2>&5
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; }; then
3308 ac_cv_prog_cxx_g=yes
3310 echo "$as_me: failed program was:" >&5
3311 sed 's/^/| /' conftest.$ac_ext >&5
3314 cat >conftest.$ac_ext <<_ACEOF
3317 cat confdefs.h >>conftest.$ac_ext
3318 cat >>conftest.$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3329 rm -f conftest.$ac_objext
3330 if { (ac_try="$ac_compile"
3332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3333 *) ac_try_echo=$ac_try;;
3335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3336 (eval "$ac_compile") 2>conftest.er1
3338 grep -v '^ *+' conftest.er1 >conftest.err
3340 cat conftest.err >&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3344 { (case "(($ac_try" in
3345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3346 *) ac_try_echo=$ac_try;;
3348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3349 (eval "$ac_try") 2>&5
3351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; } &&
3353 { ac_try='test -s conftest.$ac_objext'
3354 { (case "(($ac_try" in
3355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3356 *) ac_try_echo=$ac_try;;
3358 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3359 (eval "$ac_try") 2>&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3370 cat >conftest.$ac_ext <<_ACEOF
3373 cat confdefs.h >>conftest.$ac_ext
3374 cat >>conftest.$ac_ext <<_ACEOF
3375 /* end confdefs.h. */
3385 rm -f conftest.$ac_objext
3386 if { (ac_try="$ac_compile"
3388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389 *) ac_try_echo=$ac_try;;
3391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392 (eval "$ac_compile") 2>conftest.er1
3394 grep -v '^ *+' conftest.er1 >conftest.err
3396 cat conftest.err >&5
3397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398 (exit $ac_status); } &&
3399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3400 { (case "(($ac_try" in
3401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402 *) ac_try_echo=$ac_try;;
3404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405 (eval "$ac_try") 2>&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (case "(($ac_try" in
3411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412 *) ac_try_echo=$ac_try;;
3414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3415 (eval "$ac_try") 2>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 ac_cv_prog_cxx_g=yes
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.$ac_ext >&5
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3436 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3437 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3438 if test "$ac_test_CXXFLAGS" = set; then
3439 CXXFLAGS=$ac_save_CXXFLAGS
3440 elif test $ac_cv_prog_cxx_g = yes; then
3441 if test "$GXX" = yes; then
3447 if test "$GXX" = yes; then
3454 ac_cpp='$CPP $CPPFLAGS'
3455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3459 if test -n "$ac_tool_prefix"; then
3460 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3461 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3464 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3465 echo $ECHO_N "(cached) $ECHO_C" >&6
3467 if test -n "$CPPBIN"; then
3468 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3474 test -z "$as_dir" && as_dir=.
3475 for ac_exec_ext in '' $ac_executable_extensions; do
3476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3477 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487 CPPBIN=$ac_cv_prog_CPPBIN
3488 if test -n "$CPPBIN"; then
3489 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3490 echo "${ECHO_T}$CPPBIN" >&6; }
3492 { echo "$as_me:$LINENO: result: no" >&5
3493 echo "${ECHO_T}no" >&6; }
3498 if test -z "$ac_cv_prog_CPPBIN"; then
3499 ac_ct_CPPBIN=$CPPBIN
3500 # Extract the first word of "cpp", so it can be a program name with args.
3501 set dummy cpp; ac_word=$2
3502 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3504 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3505 echo $ECHO_N "(cached) $ECHO_C" >&6
3507 if test -n "$ac_ct_CPPBIN"; then
3508 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3514 test -z "$as_dir" && as_dir=.
3515 for ac_exec_ext in '' $ac_executable_extensions; do
3516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3517 ac_cv_prog_ac_ct_CPPBIN="cpp"
3518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3527 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3528 if test -n "$ac_ct_CPPBIN"; then
3529 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3530 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3532 { echo "$as_me:$LINENO: result: no" >&5
3533 echo "${ECHO_T}no" >&6; }
3536 if test "x$ac_ct_CPPBIN" = x; then
3539 case $cross_compiling:$ac_tool_warned in
3541 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3542 whose name does not start with the host triplet. If you think this
3543 configuration is useful to you, please write to autoconf@gnu.org." >&5
3544 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3545 whose name does not start with the host triplet. If you think this
3546 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3547 ac_tool_warned=yes ;;
3549 CPPBIN=$ac_ct_CPPBIN
3552 CPPBIN="$ac_cv_prog_CPPBIN"
3556 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3557 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3558 if test "${wine_cv_toolsdir+set}" = set; then
3559 echo $ECHO_N "(cached) $ECHO_C" >&6
3561 if test -z "$with_wine_tools"; then
3562 if test "$cross_compiling" = "yes"; then
3563 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3564 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3565 { (exit 1); exit 1; }; }
3567 wine_cv_toolsdir="\$(TOPOBJDIR)"
3569 elif test -d "$with_wine_tools/tools/winebuild"; then
3570 case $with_wine_tools in
3571 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3572 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3575 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3576 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3577 { (exit 1); exit 1; }; }
3580 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3581 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3582 TOOLSDIR=$wine_cv_toolsdir
3587 ac_cpp='$CPP $CPPFLAGS'
3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3591 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3592 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3593 # On Suns, sometimes $CPP names a directory.
3594 if test -n "$CPP" && test -d "$CPP"; then
3597 if test -z "$CPP"; then
3598 if test "${ac_cv_prog_CPP+set}" = set; then
3599 echo $ECHO_N "(cached) $ECHO_C" >&6
3601 # Double quotes because CPP needs to be expanded
3602 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3605 for ac_c_preproc_warn_flag in '' yes
3607 # Use a header file that comes with gcc, so configuring glibc
3608 # with a fresh cross-compiler works.
3609 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3610 # <limits.h> exists even on freestanding compilers.
3611 # On the NeXT, cc -E runs the code through the compiler's parser,
3612 # not just through cpp. "Syntax error" is here to catch this case.
3613 cat >conftest.$ac_ext <<_ACEOF
3616 cat confdefs.h >>conftest.$ac_ext
3617 cat >>conftest.$ac_ext <<_ACEOF
3618 /* end confdefs.h. */
3620 # include <limits.h>
3622 # include <assert.h>
3626 if { (ac_try="$ac_cpp conftest.$ac_ext"
3628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3629 *) ac_try_echo=$ac_try;;
3631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3632 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3634 grep -v '^ *+' conftest.er1 >conftest.err
3636 cat conftest.err >&5
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); } >/dev/null; then
3639 if test -s conftest.err; then
3640 ac_cpp_err=$ac_c_preproc_warn_flag
3641 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3648 if test -z "$ac_cpp_err"; then
3651 echo "$as_me: failed program was:" >&5
3652 sed 's/^/| /' conftest.$ac_ext >&5
3654 # Broken: fails on valid input.
3658 rm -f conftest.err conftest.$ac_ext
3660 # OK, works on sane cases. Now check whether nonexistent headers
3661 # can be detected and how.
3662 cat >conftest.$ac_ext <<_ACEOF
3665 cat confdefs.h >>conftest.$ac_ext
3666 cat >>conftest.$ac_ext <<_ACEOF
3667 /* end confdefs.h. */
3668 #include <ac_nonexistent.h>
3670 if { (ac_try="$ac_cpp conftest.$ac_ext"
3672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3673 *) ac_try_echo=$ac_try;;
3675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3678 grep -v '^ *+' conftest.er1 >conftest.err
3680 cat conftest.err >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); } >/dev/null; then
3683 if test -s conftest.err; then
3684 ac_cpp_err=$ac_c_preproc_warn_flag
3685 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3692 if test -z "$ac_cpp_err"; then
3693 # Broken: success on invalid input.
3696 echo "$as_me: failed program was:" >&5
3697 sed 's/^/| /' conftest.$ac_ext >&5
3699 # Passes both tests.
3704 rm -f conftest.err conftest.$ac_ext
3707 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3708 rm -f conftest.err conftest.$ac_ext
3709 if $ac_preproc_ok; then
3721 { echo "$as_me:$LINENO: result: $CPP" >&5
3722 echo "${ECHO_T}$CPP" >&6; }
3724 for ac_c_preproc_warn_flag in '' yes
3726 # Use a header file that comes with gcc, so configuring glibc
3727 # with a fresh cross-compiler works.
3728 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3729 # <limits.h> exists even on freestanding compilers.
3730 # On the NeXT, cc -E runs the code through the compiler's parser,
3731 # not just through cpp. "Syntax error" is here to catch this case.
3732 cat >conftest.$ac_ext <<_ACEOF
3735 cat confdefs.h >>conftest.$ac_ext
3736 cat >>conftest.$ac_ext <<_ACEOF
3737 /* end confdefs.h. */
3739 # include <limits.h>
3741 # include <assert.h>
3745 if { (ac_try="$ac_cpp conftest.$ac_ext"
3747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3748 *) ac_try_echo=$ac_try;;
3750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3751 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3753 grep -v '^ *+' conftest.er1 >conftest.err
3755 cat conftest.err >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } >/dev/null; then
3758 if test -s conftest.err; then
3759 ac_cpp_err=$ac_c_preproc_warn_flag
3760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3767 if test -z "$ac_cpp_err"; then
3770 echo "$as_me: failed program was:" >&5
3771 sed 's/^/| /' conftest.$ac_ext >&5
3773 # Broken: fails on valid input.
3777 rm -f conftest.err conftest.$ac_ext
3779 # OK, works on sane cases. Now check whether nonexistent headers
3780 # can be detected and how.
3781 cat >conftest.$ac_ext <<_ACEOF
3784 cat confdefs.h >>conftest.$ac_ext
3785 cat >>conftest.$ac_ext <<_ACEOF
3786 /* end confdefs.h. */
3787 #include <ac_nonexistent.h>
3789 if { (ac_try="$ac_cpp conftest.$ac_ext"
3791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3792 *) ac_try_echo=$ac_try;;
3794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3795 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3797 grep -v '^ *+' conftest.er1 >conftest.err
3799 cat conftest.err >&5
3800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3801 (exit $ac_status); } >/dev/null; then
3802 if test -s conftest.err; then
3803 ac_cpp_err=$ac_c_preproc_warn_flag
3804 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3811 if test -z "$ac_cpp_err"; then
3812 # Broken: success on invalid input.
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 # Passes both tests.
3823 rm -f conftest.err conftest.$ac_ext
3826 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3827 rm -f conftest.err conftest.$ac_ext
3828 if $ac_preproc_ok; then
3831 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3832 See \`config.log' for more details." >&5
3833 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3834 See \`config.log' for more details." >&2;}
3835 { (exit 1); exit 1; }; }
3839 ac_cpp='$CPP $CPPFLAGS'
3840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 { echo "$as_me:$LINENO: checking for X" >&5
3846 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3849 # Check whether --with-x was given.
3850 if test "${with_x+set}" = set; then
3854 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3855 if test "x$with_x" = xno; then
3856 # The user explicitly disabled X.
3859 case $x_includes,$x_libraries in #(
3860 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3861 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3862 { (exit 1); exit 1; }; };; #(
3863 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3864 echo $ECHO_N "(cached) $ECHO_C" >&6
3866 # One or both of the vars are not set, and there is no cached value.
3867 ac_x_includes=no ac_x_libraries=no
3868 rm -f -r conftest.dir
3869 if mkdir conftest.dir; then
3871 cat >Imakefile <<'_ACEOF'
3873 @echo incroot='${INCROOT}'
3875 @echo usrlibdir='${USRLIBDIR}'
3877 @echo libdir='${LIBDIR}'
3879 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3880 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3881 for ac_var in incroot usrlibdir libdir; do
3882 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3884 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3885 for ac_extension in a so sl; do
3886 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3887 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3888 ac_im_usrlibdir=$ac_im_libdir; break
3891 # Screen out bogus values from the imake configuration. They are
3892 # bogus both because they are the default anyway, and because
3893 # using them would break gcc on systems where it needs fixed includes.
3894 case $ac_im_incroot in
3895 /usr/include) ac_x_includes= ;;
3896 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3898 case $ac_im_usrlibdir in
3900 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3904 rm -f -r conftest.dir
3907 # Standard set of common directories for X headers.
3908 # Check X11 before X11Rn because it is often a symlink to the current release.
3920 /usr/local/X11/include
3921 /usr/local/X11R6/include
3922 /usr/local/X11R5/include
3923 /usr/local/X11R4/include
3925 /usr/local/include/X11
3926 /usr/local/include/X11R6
3927 /usr/local/include/X11R5
3928 /usr/local/include/X11R4
3932 /usr/XFree86/include/X11
3936 /usr/unsupported/include
3938 /usr/local/x11r5/include
3939 /usr/lpp/Xamples/include
3941 /usr/openwin/include
3942 /usr/openwin/share/include'
3944 if test "$ac_x_includes" = no; then
3945 # Guess where to find include files, by looking for Xlib.h.
3946 # First, try using that file with no special directory specified.
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3953 #include <X11/Xlib.h>
3955 if { (ac_try="$ac_cpp conftest.$ac_ext"
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3963 grep -v '^ *+' conftest.er1 >conftest.err
3965 cat conftest.err >&5
3966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3967 (exit $ac_status); } >/dev/null; then
3968 if test -s conftest.err; then
3969 ac_cpp_err=$ac_c_preproc_warn_flag
3970 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3977 if test -z "$ac_cpp_err"; then
3978 # We can compile using X headers with no special include directory.
3981 echo "$as_me: failed program was:" >&5
3982 sed 's/^/| /' conftest.$ac_ext >&5
3984 for ac_dir in $ac_x_header_dirs; do
3985 if test -r "$ac_dir/X11/Xlib.h"; then
3986 ac_x_includes=$ac_dir
3992 rm -f conftest.err conftest.$ac_ext
3993 fi # $ac_x_includes = no
3995 if test "$ac_x_libraries" = no; then
3996 # Check for the libraries.
3997 # See if we find them without any special options.
3998 # Don't add to $LIBS permanently.
4001 cat >conftest.$ac_ext <<_ACEOF
4004 cat confdefs.h >>conftest.$ac_ext
4005 cat >>conftest.$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4007 #include <X11/Xlib.h>
4016 rm -f conftest.$ac_objext conftest$ac_exeext
4017 if { (ac_try="$ac_link"
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4023 (eval "$ac_link") 2>conftest.er1
4025 grep -v '^ *+' conftest.er1 >conftest.err
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4031 { (case "(($ac_try" in
4032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4033 *) ac_try_echo=$ac_try;;
4035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4036 (eval "$ac_try") 2>&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); }; } &&
4040 { ac_try='test -s conftest$ac_exeext'
4041 { (case "(($ac_try" in
4042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043 *) ac_try_echo=$ac_try;;
4045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046 (eval "$ac_try") 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; }; then
4051 # We can link X programs with no special library path.
4054 echo "$as_me: failed program was:" >&5
4055 sed 's/^/| /' conftest.$ac_ext >&5
4058 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
4060 # Don't even attempt the hair of trying to link an X program!
4061 for ac_extension in a so sl; do
4062 if test -r "$ac_dir/libX11.$ac_extension"; then
4063 ac_x_libraries=$ac_dir
4070 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4071 conftest$ac_exeext conftest.$ac_ext
4072 fi # $ac_x_libraries = no
4074 case $ac_x_includes,$ac_x_libraries in #(
4076 # Didn't find X, or a directory has "'" in its name.
4077 ac_cv_have_x="have_x=no";; #(
4079 # Record where we found X for the cache.
4080 ac_cv_have_x="have_x=yes\
4081 ac_x_includes='$ac_x_includes'\
4082 ac_x_libraries='$ac_x_libraries'"
4088 eval "$ac_cv_have_x"
4091 if test "$have_x" != yes; then
4092 { echo "$as_me:$LINENO: result: $have_x" >&5
4093 echo "${ECHO_T}$have_x" >&6; }
4096 # If each of the values was on the command line, it overrides each guess.
4097 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4098 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4099 # Update the cache value to reflect the command line values.
4100 ac_cv_have_x="have_x=yes\
4101 ac_x_includes='$x_includes'\
4102 ac_x_libraries='$x_libraries'"
4103 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4104 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4107 if test "$no_x" = yes; then
4108 # Not all programs may use this symbol, but it does not hurt to define it.
4110 cat >>confdefs.h <<\_ACEOF
4111 #define X_DISPLAY_MISSING 1
4114 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4116 if test -n "$x_includes"; then
4117 X_CFLAGS="$X_CFLAGS -I$x_includes"
4120 # It would also be nice to do this for all -L options, not just this one.
4121 if test -n "$x_libraries"; then
4122 X_LIBS="$X_LIBS -L$x_libraries"
4123 # For Solaris; some versions of Sun CC require a space after -R and
4124 # others require no space. Words are not sufficient . . . .
4125 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4126 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4127 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4128 ac_xsave_c_werror_flag=$ac_c_werror_flag
4129 ac_c_werror_flag=yes
4130 cat >conftest.$ac_ext <<_ACEOF
4133 cat confdefs.h >>conftest.$ac_ext
4134 cat >>conftest.$ac_ext <<_ACEOF
4135 /* end confdefs.h. */
4145 rm -f conftest.$ac_objext conftest$ac_exeext
4146 if { (ac_try="$ac_link"
4148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4149 *) ac_try_echo=$ac_try;;
4151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4152 (eval "$ac_link") 2>conftest.er1
4154 grep -v '^ *+' conftest.er1 >conftest.err
4156 cat conftest.err >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); } &&
4159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4160 { (case "(($ac_try" in
4161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4162 *) ac_try_echo=$ac_try;;
4164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4165 (eval "$ac_try") 2>&5
4167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4168 (exit $ac_status); }; } &&
4169 { ac_try='test -s conftest$ac_exeext'
4170 { (case "(($ac_try" in
4171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4172 *) ac_try_echo=$ac_try;;
4174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4175 (eval "$ac_try") 2>&5
4177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4178 (exit $ac_status); }; }; then
4179 { echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6; }
4181 X_LIBS="$X_LIBS -R$x_libraries"
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.$ac_ext >&5
4186 LIBS="$ac_xsave_LIBS -R $x_libraries"
4187 cat >conftest.$ac_ext <<_ACEOF
4190 cat confdefs.h >>conftest.$ac_ext
4191 cat >>conftest.$ac_ext <<_ACEOF
4192 /* end confdefs.h. */
4202 rm -f conftest.$ac_objext conftest$ac_exeext
4203 if { (ac_try="$ac_link"
4205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4206 *) ac_try_echo=$ac_try;;
4208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4209 (eval "$ac_link") 2>conftest.er1
4211 grep -v '^ *+' conftest.er1 >conftest.err
4213 cat conftest.err >&5
4214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4215 (exit $ac_status); } &&
4216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4217 { (case "(($ac_try" in
4218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4219 *) ac_try_echo=$ac_try;;
4221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4222 (eval "$ac_try") 2>&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; } &&
4226 { ac_try='test -s conftest$ac_exeext'
4227 { (case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4232 (eval "$ac_try") 2>&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; }; then
4236 { echo "$as_me:$LINENO: result: yes" >&5
4237 echo "${ECHO_T}yes" >&6; }
4238 X_LIBS="$X_LIBS -R $x_libraries"
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 { echo "$as_me:$LINENO: result: neither works" >&5
4244 echo "${ECHO_T}neither works" >&6; }
4247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4248 conftest$ac_exeext conftest.$ac_ext
4251 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4252 conftest$ac_exeext conftest.$ac_ext
4253 ac_c_werror_flag=$ac_xsave_c_werror_flag
4257 # Check for system-dependent libraries X programs must link with.
4258 # Do this before checking for the system-independent R6 libraries
4259 # (-lICE), since we may need -lsocket or whatever for X linking.
4261 if test "$ISC" = yes; then
4262 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4264 # Martyn Johnson says this is needed for Ultrix, if the X
4265 # libraries were built with DECnet support. And Karl Berry says
4266 # the Alpha needs dnet_stub (dnet does not exist).
4267 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4268 cat >conftest.$ac_ext <<_ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4275 /* Override any GCC internal prototype to avoid an error.
4276 Use char because int might match the return type of a GCC
4277 builtin and then its argument prototype would still apply. */
4281 char XOpenDisplay ();
4285 return XOpenDisplay ();
4290 rm -f conftest.$ac_objext conftest$ac_exeext
4291 if { (ac_try="$ac_link"
4293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4294 *) ac_try_echo=$ac_try;;
4296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4297 (eval "$ac_link") 2>conftest.er1
4299 grep -v '^ *+' conftest.er1 >conftest.err
4301 cat conftest.err >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); } &&
4304 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4305 { (case "(($ac_try" in
4306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4307 *) ac_try_echo=$ac_try;;
4309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4310 (eval "$ac_try") 2>&5
4312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4313 (exit $ac_status); }; } &&
4314 { ac_try='test -s conftest$ac_exeext'
4315 { (case "(($ac_try" in
4316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4317 *) ac_try_echo=$ac_try;;
4319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4320 (eval "$ac_try") 2>&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }; }; then
4326 echo "$as_me: failed program was:" >&5
4327 sed 's/^/| /' conftest.$ac_ext >&5
4329 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4330 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4331 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4332 echo $ECHO_N "(cached) $ECHO_C" >&6
4334 ac_check_lib_save_LIBS=$LIBS
4336 cat >conftest.$ac_ext <<_ACEOF
4339 cat confdefs.h >>conftest.$ac_ext
4340 cat >>conftest.$ac_ext <<_ACEOF
4341 /* end confdefs.h. */
4343 /* Override any GCC internal prototype to avoid an error.
4344 Use char because int might match the return type of a GCC
4345 builtin and then its argument prototype would still apply. */
4353 return dnet_ntoa ();
4358 rm -f conftest.$ac_objext conftest$ac_exeext
4359 if { (ac_try="$ac_link"
4361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4362 *) ac_try_echo=$ac_try;;
4364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4365 (eval "$ac_link") 2>conftest.er1
4367 grep -v '^ *+' conftest.er1 >conftest.err
4369 cat conftest.err >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4373 { (case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4378 (eval "$ac_try") 2>&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; } &&
4382 { ac_try='test -s conftest$ac_exeext'
4383 { (case "(($ac_try" in
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4388 (eval "$ac_try") 2>&5
4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391 (exit $ac_status); }; }; then
4392 ac_cv_lib_dnet_dnet_ntoa=yes
4394 echo "$as_me: failed program was:" >&5
4395 sed 's/^/| /' conftest.$ac_ext >&5
4397 ac_cv_lib_dnet_dnet_ntoa=no
4400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4401 conftest$ac_exeext conftest.$ac_ext
4402 LIBS=$ac_check_lib_save_LIBS
4404 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4405 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4406 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4407 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4410 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4411 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4412 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4413 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4414 echo $ECHO_N "(cached) $ECHO_C" >&6
4416 ac_check_lib_save_LIBS=$LIBS
4417 LIBS="-ldnet_stub $LIBS"
4418 cat >conftest.$ac_ext <<_ACEOF
4421 cat confdefs.h >>conftest.$ac_ext
4422 cat >>conftest.$ac_ext <<_ACEOF
4423 /* end confdefs.h. */
4425 /* Override any GCC internal prototype to avoid an error.
4426 Use char because int might match the return type of a GCC
4427 builtin and then its argument prototype would still apply. */
4435 return dnet_ntoa ();
4440 rm -f conftest.$ac_objext conftest$ac_exeext
4441 if { (ac_try="$ac_link"
4443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4444 *) ac_try_echo=$ac_try;;
4446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4447 (eval "$ac_link") 2>conftest.er1
4449 grep -v '^ *+' conftest.er1 >conftest.err
4451 cat conftest.err >&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); } &&
4454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4455 { (case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4460 (eval "$ac_try") 2>&5
4462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4463 (exit $ac_status); }; } &&
4464 { ac_try='test -s conftest$ac_exeext'
4465 { (case "(($ac_try" in
4466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4467 *) ac_try_echo=$ac_try;;
4469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4470 (eval "$ac_try") 2>&5
4472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4473 (exit $ac_status); }; }; then
4474 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4476 echo "$as_me: failed program was:" >&5
4477 sed 's/^/| /' conftest.$ac_ext >&5
4479 ac_cv_lib_dnet_stub_dnet_ntoa=no
4482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4483 conftest$ac_exeext conftest.$ac_ext
4484 LIBS=$ac_check_lib_save_LIBS
4486 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4487 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4488 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4489 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4496 conftest$ac_exeext conftest.$ac_ext
4497 LIBS="$ac_xsave_LIBS"
4499 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4500 # to get the SysV transport functions.
4501 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4503 # The nsl library prevents programs from opening the X display
4504 # on Irix 5.2, according to T.E. Dickey.
4505 # The functions gethostbyname, getservbyname, and inet_addr are
4506 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4507 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4508 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4509 if test "${ac_cv_func_gethostbyname+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 cat >conftest.$ac_ext <<_ACEOF
4515 cat confdefs.h >>conftest.$ac_ext
4516 cat >>conftest.$ac_ext <<_ACEOF
4517 /* end confdefs.h. */
4518 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4520 #define gethostbyname innocuous_gethostbyname
4522 /* System header to define __stub macros and hopefully few prototypes,
4523 which can conflict with char gethostbyname (); below.
4524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4525 <limits.h> exists even on freestanding compilers. */
4528 # include <limits.h>
4530 # include <assert.h>
4533 #undef gethostbyname
4535 /* Override any GCC internal prototype to avoid an error.
4536 Use char because int might match the return type of a GCC
4537 builtin and then its argument prototype would still apply. */
4541 char gethostbyname ();
4542 /* The GNU C library defines this for functions which it implements
4543 to always fail with ENOSYS. Some functions are actually named
4544 something starting with __ and the normal name is an alias. */
4545 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4552 return gethostbyname ();
4557 rm -f conftest.$ac_objext conftest$ac_exeext
4558 if { (ac_try="$ac_link"
4560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4561 *) ac_try_echo=$ac_try;;
4563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4564 (eval "$ac_link") 2>conftest.er1
4566 grep -v '^ *+' conftest.er1 >conftest.err
4568 cat conftest.err >&5
4569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4570 (exit $ac_status); } &&
4571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4572 { (case "(($ac_try" in
4573 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4574 *) ac_try_echo=$ac_try;;
4576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4577 (eval "$ac_try") 2>&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try='test -s conftest$ac_exeext'
4582 { (case "(($ac_try" in
4583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4584 *) ac_try_echo=$ac_try;;
4586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4587 (eval "$ac_try") 2>&5
4589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4590 (exit $ac_status); }; }; then
4591 ac_cv_func_gethostbyname=yes
4593 echo "$as_me: failed program was:" >&5
4594 sed 's/^/| /' conftest.$ac_ext >&5
4596 ac_cv_func_gethostbyname=no
4599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4600 conftest$ac_exeext conftest.$ac_ext
4602 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4603 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4605 if test $ac_cv_func_gethostbyname = no; then
4606 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4607 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4608 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4609 echo $ECHO_N "(cached) $ECHO_C" >&6
4611 ac_check_lib_save_LIBS=$LIBS
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4620 /* Override any GCC internal prototype to avoid an error.
4621 Use char because int might match the return type of a GCC
4622 builtin and then its argument prototype would still apply. */
4626 char gethostbyname ();
4630 return gethostbyname ();
4635 rm -f conftest.$ac_objext conftest$ac_exeext
4636 if { (ac_try="$ac_link"
4638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4639 *) ac_try_echo=$ac_try;;
4641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4642 (eval "$ac_link") 2>conftest.er1
4644 grep -v '^ *+' conftest.er1 >conftest.err
4646 cat conftest.err >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); } &&
4649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4650 { (case "(($ac_try" in
4651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4652 *) ac_try_echo=$ac_try;;
4654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4655 (eval "$ac_try") 2>&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; } &&
4659 { ac_try='test -s conftest$ac_exeext'
4660 { (case "(($ac_try" in
4661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4662 *) ac_try_echo=$ac_try;;
4664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4665 (eval "$ac_try") 2>&5
4667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4668 (exit $ac_status); }; }; then
4669 ac_cv_lib_nsl_gethostbyname=yes
4671 echo "$as_me: failed program was:" >&5
4672 sed 's/^/| /' conftest.$ac_ext >&5
4674 ac_cv_lib_nsl_gethostbyname=no
4677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4678 conftest$ac_exeext conftest.$ac_ext
4679 LIBS=$ac_check_lib_save_LIBS
4681 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4682 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4683 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4684 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4687 if test $ac_cv_lib_nsl_gethostbyname = no; then
4688 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4689 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4690 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 ac_check_lib_save_LIBS=$LIBS
4695 cat >conftest.$ac_ext <<_ACEOF
4698 cat confdefs.h >>conftest.$ac_ext
4699 cat >>conftest.$ac_ext <<_ACEOF
4700 /* end confdefs.h. */
4702 /* Override any GCC internal prototype to avoid an error.
4703 Use char because int might match the return type of a GCC
4704 builtin and then its argument prototype would still apply. */
4708 char gethostbyname ();
4712 return gethostbyname ();
4717 rm -f conftest.$ac_objext conftest$ac_exeext
4718 if { (ac_try="$ac_link"
4720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4721 *) ac_try_echo=$ac_try;;
4723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4724 (eval "$ac_link") 2>conftest.er1
4726 grep -v '^ *+' conftest.er1 >conftest.err
4728 cat conftest.err >&5
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); } &&
4731 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4732 { (case "(($ac_try" in
4733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4734 *) ac_try_echo=$ac_try;;
4736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4737 (eval "$ac_try") 2>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try='test -s conftest$ac_exeext'
4742 { (case "(($ac_try" in
4743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4744 *) ac_try_echo=$ac_try;;
4746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4747 (eval "$ac_try") 2>&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4751 ac_cv_lib_bsd_gethostbyname=yes
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.$ac_ext >&5
4756 ac_cv_lib_bsd_gethostbyname=no
4759 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4760 conftest$ac_exeext conftest.$ac_ext
4761 LIBS=$ac_check_lib_save_LIBS
4763 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4764 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4765 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4766 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4772 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4773 # socket/setsockopt and other routines are undefined under SCO ODT
4774 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4775 # on later versions), says Simon Leinen: it contains gethostby*
4776 # variants that don't use the name server (or something). -lsocket
4777 # must be given before -lnsl if both are needed. We assume that
4778 # if connect needs -lnsl, so does gethostbyname.
4779 { echo "$as_me:$LINENO: checking for connect" >&5
4780 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4781 if test "${ac_cv_func_connect+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4790 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4792 #define connect innocuous_connect
4794 /* System header to define __stub macros and hopefully few prototypes,
4795 which can conflict with char connect (); below.
4796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4797 <limits.h> exists even on freestanding compilers. */
4800 # include <limits.h>
4802 # include <assert.h>
4807 /* Override any GCC internal prototype to avoid an error.
4808 Use char because int might match the return type of a GCC
4809 builtin and then its argument prototype would still apply. */
4814 /* The GNU C library defines this for functions which it implements
4815 to always fail with ENOSYS. Some functions are actually named
4816 something starting with __ and the normal name is an alias. */
4817 #if defined __stub_connect || defined __stub___connect
4829 rm -f conftest.$ac_objext conftest$ac_exeext
4830 if { (ac_try="$ac_link"
4832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4833 *) ac_try_echo=$ac_try;;
4835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4836 (eval "$ac_link") 2>conftest.er1
4838 grep -v '^ *+' conftest.er1 >conftest.err
4840 cat conftest.err >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); } &&
4843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4844 { (case "(($ac_try" in
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4849 (eval "$ac_try") 2>&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try='test -s conftest$ac_exeext'
4854 { (case "(($ac_try" in
4855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4856 *) ac_try_echo=$ac_try;;
4858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4859 (eval "$ac_try") 2>&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); }; }; then
4863 ac_cv_func_connect=yes
4865 echo "$as_me: failed program was:" >&5
4866 sed 's/^/| /' conftest.$ac_ext >&5
4868 ac_cv_func_connect=no
4871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4872 conftest$ac_exeext conftest.$ac_ext
4874 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4875 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4877 if test $ac_cv_func_connect = no; then
4878 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4879 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4880 if test "${ac_cv_lib_socket_connect+set}" = set; then
4881 echo $ECHO_N "(cached) $ECHO_C" >&6
4883 ac_check_lib_save_LIBS=$LIBS
4884 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4885 cat >conftest.$ac_ext <<_ACEOF
4888 cat confdefs.h >>conftest.$ac_ext
4889 cat >>conftest.$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4892 /* Override any GCC internal prototype to avoid an error.
4893 Use char because int might match the return type of a GCC
4894 builtin and then its argument prototype would still apply. */
4907 rm -f conftest.$ac_objext conftest$ac_exeext
4908 if { (ac_try="$ac_link"
4910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4911 *) ac_try_echo=$ac_try;;
4913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4914 (eval "$ac_link") 2>conftest.er1
4916 grep -v '^ *+' conftest.er1 >conftest.err
4918 cat conftest.err >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4922 { (case "(($ac_try" in
4923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4924 *) ac_try_echo=$ac_try;;
4926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4927 (eval "$ac_try") 2>&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; } &&
4931 { ac_try='test -s conftest$ac_exeext'
4932 { (case "(($ac_try" in
4933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4934 *) ac_try_echo=$ac_try;;
4936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4937 (eval "$ac_try") 2>&5
4939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4940 (exit $ac_status); }; }; then
4941 ac_cv_lib_socket_connect=yes
4943 echo "$as_me: failed program was:" >&5
4944 sed 's/^/| /' conftest.$ac_ext >&5
4946 ac_cv_lib_socket_connect=no
4949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4950 conftest$ac_exeext conftest.$ac_ext
4951 LIBS=$ac_check_lib_save_LIBS
4953 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4954 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4955 if test $ac_cv_lib_socket_connect = yes; then
4956 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4961 # Guillermo Gomez says -lposix is necessary on A/UX.
4962 { echo "$as_me:$LINENO: checking for remove" >&5
4963 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4964 if test "${ac_cv_func_remove+set}" = set; then
4965 echo $ECHO_N "(cached) $ECHO_C" >&6
4967 cat >conftest.$ac_ext <<_ACEOF
4970 cat confdefs.h >>conftest.$ac_ext
4971 cat >>conftest.$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4973 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4975 #define remove innocuous_remove
4977 /* System header to define __stub macros and hopefully few prototypes,
4978 which can conflict with char remove (); below.
4979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4980 <limits.h> exists even on freestanding compilers. */
4983 # include <limits.h>
4985 # include <assert.h>
4990 /* Override any GCC internal prototype to avoid an error.
4991 Use char because int might match the return type of a GCC
4992 builtin and then its argument prototype would still apply. */
4997 /* The GNU C library defines this for functions which it implements
4998 to always fail with ENOSYS. Some functions are actually named
4999 something starting with __ and the normal name is an alias. */
5000 #if defined __stub_remove || defined __stub___remove
5012 rm -f conftest.$ac_objext conftest$ac_exeext
5013 if { (ac_try="$ac_link"
5015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5016 *) ac_try_echo=$ac_try;;
5018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5019 (eval "$ac_link") 2>conftest.er1
5021 grep -v '^ *+' conftest.er1 >conftest.err
5023 cat conftest.err >&5
5024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5025 (exit $ac_status); } &&
5026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5027 { (case "(($ac_try" in
5028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5029 *) ac_try_echo=$ac_try;;
5031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5032 (eval "$ac_try") 2>&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; } &&
5036 { ac_try='test -s conftest$ac_exeext'
5037 { (case "(($ac_try" in
5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039 *) ac_try_echo=$ac_try;;
5041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5042 (eval "$ac_try") 2>&5
5044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5045 (exit $ac_status); }; }; then
5046 ac_cv_func_remove=yes
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5051 ac_cv_func_remove=no
5054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5055 conftest$ac_exeext conftest.$ac_ext
5057 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5058 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5060 if test $ac_cv_func_remove = no; then
5061 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5062 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5063 if test "${ac_cv_lib_posix_remove+set}" = set; then
5064 echo $ECHO_N "(cached) $ECHO_C" >&6
5066 ac_check_lib_save_LIBS=$LIBS
5067 LIBS="-lposix $LIBS"
5068 cat >conftest.$ac_ext <<_ACEOF
5071 cat confdefs.h >>conftest.$ac_ext
5072 cat >>conftest.$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5075 /* Override any GCC internal prototype to avoid an error.
5076 Use char because int might match the return type of a GCC
5077 builtin and then its argument prototype would still apply. */
5090 rm -f conftest.$ac_objext conftest$ac_exeext
5091 if { (ac_try="$ac_link"
5093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5094 *) ac_try_echo=$ac_try;;
5096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5097 (eval "$ac_link") 2>conftest.er1
5099 grep -v '^ *+' conftest.er1 >conftest.err
5101 cat conftest.err >&5
5102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5103 (exit $ac_status); } &&
5104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5105 { (case "(($ac_try" in
5106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5107 *) ac_try_echo=$ac_try;;
5109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5110 (eval "$ac_try") 2>&5
5112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5113 (exit $ac_status); }; } &&
5114 { ac_try='test -s conftest$ac_exeext'
5115 { (case "(($ac_try" in
5116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5117 *) ac_try_echo=$ac_try;;
5119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5120 (eval "$ac_try") 2>&5
5122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5123 (exit $ac_status); }; }; then
5124 ac_cv_lib_posix_remove=yes
5126 echo "$as_me: failed program was:" >&5
5127 sed 's/^/| /' conftest.$ac_ext >&5
5129 ac_cv_lib_posix_remove=no
5132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5133 conftest$ac_exeext conftest.$ac_ext
5134 LIBS=$ac_check_lib_save_LIBS
5136 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5137 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5138 if test $ac_cv_lib_posix_remove = yes; then
5139 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5144 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5145 { echo "$as_me:$LINENO: checking for shmat" >&5
5146 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5147 if test "${ac_cv_func_shmat+set}" = set; then
5148 echo $ECHO_N "(cached) $ECHO_C" >&6
5150 cat >conftest.$ac_ext <<_ACEOF
5153 cat confdefs.h >>conftest.$ac_ext
5154 cat >>conftest.$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5156 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5158 #define shmat innocuous_shmat
5160 /* System header to define __stub macros and hopefully few prototypes,
5161 which can conflict with char shmat (); below.
5162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5163 <limits.h> exists even on freestanding compilers. */
5166 # include <limits.h>
5168 # include <assert.h>
5173 /* Override any GCC internal prototype to avoid an error.
5174 Use char because int might match the return type of a GCC
5175 builtin and then its argument prototype would still apply. */
5180 /* The GNU C library defines this for functions which it implements
5181 to always fail with ENOSYS. Some functions are actually named
5182 something starting with __ and the normal name is an alias. */
5183 #if defined __stub_shmat || defined __stub___shmat
5195 rm -f conftest.$ac_objext conftest$ac_exeext
5196 if { (ac_try="$ac_link"
5198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5199 *) ac_try_echo=$ac_try;;
5201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5202 (eval "$ac_link") 2>conftest.er1
5204 grep -v '^ *+' conftest.er1 >conftest.err
5206 cat conftest.err >&5
5207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5208 (exit $ac_status); } &&
5209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5210 { (case "(($ac_try" in
5211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5212 *) ac_try_echo=$ac_try;;
5214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5215 (eval "$ac_try") 2>&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); }; } &&
5219 { ac_try='test -s conftest$ac_exeext'
5220 { (case "(($ac_try" in
5221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5222 *) ac_try_echo=$ac_try;;
5224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5225 (eval "$ac_try") 2>&5
5227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5228 (exit $ac_status); }; }; then
5229 ac_cv_func_shmat=yes
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.$ac_ext >&5
5237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5238 conftest$ac_exeext conftest.$ac_ext
5240 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5241 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5243 if test $ac_cv_func_shmat = no; then
5244 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5245 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5246 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5247 echo $ECHO_N "(cached) $ECHO_C" >&6
5249 ac_check_lib_save_LIBS=$LIBS
5251 cat >conftest.$ac_ext <<_ACEOF
5254 cat confdefs.h >>conftest.$ac_ext
5255 cat >>conftest.$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5258 /* Override any GCC internal prototype to avoid an error.
5259 Use char because int might match the return type of a GCC
5260 builtin and then its argument prototype would still apply. */
5273 rm -f conftest.$ac_objext conftest$ac_exeext
5274 if { (ac_try="$ac_link"
5276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5277 *) ac_try_echo=$ac_try;;
5279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5280 (eval "$ac_link") 2>conftest.er1
5282 grep -v '^ *+' conftest.er1 >conftest.err
5284 cat conftest.err >&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } &&
5287 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5288 { (case "(($ac_try" in
5289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5290 *) ac_try_echo=$ac_try;;
5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5293 (eval "$ac_try") 2>&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; } &&
5297 { ac_try='test -s conftest$ac_exeext'
5298 { (case "(($ac_try" in
5299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5300 *) ac_try_echo=$ac_try;;
5302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5303 (eval "$ac_try") 2>&5
5305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5306 (exit $ac_status); }; }; then
5307 ac_cv_lib_ipc_shmat=yes
5309 echo "$as_me: failed program was:" >&5
5310 sed 's/^/| /' conftest.$ac_ext >&5
5312 ac_cv_lib_ipc_shmat=no
5315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5316 conftest$ac_exeext conftest.$ac_ext
5317 LIBS=$ac_check_lib_save_LIBS
5319 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5320 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5321 if test $ac_cv_lib_ipc_shmat = yes; then
5322 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5328 # Check for libraries that X11R6 Xt/Xaw programs need.
5329 ac_save_LDFLAGS=$LDFLAGS
5330 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5331 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5332 # check for ICE first), but we must link in the order -lSM -lICE or
5333 # we get undefined symbols. So assume we have SM if we have ICE.
5334 # These have to be linked with before -lX11, unlike the other
5335 # libraries we check for below, so use a different variable.
5336 # John Interrante, Karl Berry
5337 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5338 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5339 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 ac_check_lib_save_LIBS=$LIBS
5343 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5344 cat >conftest.$ac_ext <<_ACEOF
5347 cat confdefs.h >>conftest.$ac_ext
5348 cat >>conftest.$ac_ext <<_ACEOF
5349 /* end confdefs.h. */
5351 /* Override any GCC internal prototype to avoid an error.
5352 Use char because int might match the return type of a GCC
5353 builtin and then its argument prototype would still apply. */
5357 char IceConnectionNumber ();
5361 return IceConnectionNumber ();
5366 rm -f conftest.$ac_objext conftest$ac_exeext
5367 if { (ac_try="$ac_link"
5369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5370 *) ac_try_echo=$ac_try;;
5372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5373 (eval "$ac_link") 2>conftest.er1
5375 grep -v '^ *+' conftest.er1 >conftest.err
5377 cat conftest.err >&5
5378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5379 (exit $ac_status); } &&
5380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5381 { (case "(($ac_try" in
5382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5383 *) ac_try_echo=$ac_try;;
5385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5386 (eval "$ac_try") 2>&5
5388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5389 (exit $ac_status); }; } &&
5390 { ac_try='test -s conftest$ac_exeext'
5391 { (case "(($ac_try" in
5392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5393 *) ac_try_echo=$ac_try;;
5395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5396 (eval "$ac_try") 2>&5
5398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5399 (exit $ac_status); }; }; then
5400 ac_cv_lib_ICE_IceConnectionNumber=yes
5402 echo "$as_me: failed program was:" >&5
5403 sed 's/^/| /' conftest.$ac_ext >&5
5405 ac_cv_lib_ICE_IceConnectionNumber=no
5408 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5409 conftest$ac_exeext conftest.$ac_ext
5410 LIBS=$ac_check_lib_save_LIBS
5412 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5413 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5414 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5415 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
5418 LDFLAGS=$ac_save_LDFLAGS
5422 for ac_prog in flex lex
5424 # Extract the first word of "$ac_prog", so it can be a program name with args.
5425 set dummy $ac_prog; ac_word=$2
5426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5428 if test "${ac_cv_prog_LEX+set}" = set; then
5429 echo $ECHO_N "(cached) $ECHO_C" >&6
5431 if test -n "$LEX"; then
5432 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5438 test -z "$as_dir" && as_dir=.
5439 for ac_exec_ext in '' $ac_executable_extensions; do
5440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5441 ac_cv_prog_LEX="$ac_prog"
5442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 if test -n "$LEX"; then
5453 { echo "$as_me:$LINENO: result: $LEX" >&5
5454 echo "${ECHO_T}$LEX" >&6; }
5456 { echo "$as_me:$LINENO: result: no" >&5
5457 echo "${ECHO_T}no" >&6; }
5461 test -n "$LEX" && break
5463 test -n "$LEX" || LEX=":"
5465 if test "x$LEX" != "x:"; then
5466 cat >conftest.l <<_ACEOF
5472 e { yyless (input () != 0); }
5473 f { unput (yytext[0]); }
5474 . { BEGIN INITIAL; }
5476 #ifdef YYTEXT_POINTER
5477 extern char *yytext;
5482 return ! yylex () + ! yywrap ();
5485 { (ac_try="$LEX conftest.l"
5487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5488 *) ac_try_echo=$ac_try;;
5490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5491 (eval "$LEX conftest.l") 2>&5
5493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5494 (exit $ac_status); }
5495 { echo "$as_me:$LINENO: checking lex output file root" >&5
5496 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5497 if test "${ac_cv_prog_lex_root+set}" = set; then
5498 echo $ECHO_N "(cached) $ECHO_C" >&6
5501 if test -f lex.yy.c; then
5502 ac_cv_prog_lex_root=lex.yy
5503 elif test -f lexyy.c; then
5504 ac_cv_prog_lex_root=lexyy
5506 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5507 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5508 { (exit 1); exit 1; }; }
5511 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5512 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5513 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5515 if test -z "${LEXLIB+set}"; then
5516 { echo "$as_me:$LINENO: checking lex library" >&5
5517 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5518 if test "${ac_cv_lib_lex+set}" = set; then
5519 echo $ECHO_N "(cached) $ECHO_C" >&6
5523 ac_cv_lib_lex='none needed'
5524 for ac_lib in '' -lfl -ll; do
5525 LIBS="$ac_lib $ac_save_LIBS"
5526 cat >conftest.$ac_ext <<_ACEOF
5527 `cat $LEX_OUTPUT_ROOT.c`
5529 rm -f conftest.$ac_objext conftest$ac_exeext
5530 if { (ac_try="$ac_link"
5532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5533 *) ac_try_echo=$ac_try;;
5535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5536 (eval "$ac_link") 2>conftest.er1
5538 grep -v '^ *+' conftest.er1 >conftest.err
5540 cat conftest.err >&5
5541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5542 (exit $ac_status); } &&
5543 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5544 { (case "(($ac_try" in
5545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5546 *) ac_try_echo=$ac_try;;
5548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5549 (eval "$ac_try") 2>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); }; } &&
5553 { ac_try='test -s conftest$ac_exeext'
5554 { (case "(($ac_try" in
5555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5556 *) ac_try_echo=$ac_try;;
5558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559 (eval "$ac_try") 2>&5
5561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5562 (exit $ac_status); }; }; then
5563 ac_cv_lib_lex=$ac_lib
5565 echo "$as_me: failed program was:" >&5
5566 sed 's/^/| /' conftest.$ac_ext >&5
5571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5572 conftest$ac_exeext conftest.$ac_ext
5573 test "$ac_cv_lib_lex" != 'none needed' && break
5578 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5579 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5580 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5584 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5585 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5586 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5587 echo $ECHO_N "(cached) $ECHO_C" >&6
5589 # POSIX says lex can declare yytext either as a pointer or an array; the
5590 # default is implementation-dependent. Figure out which it is, since
5591 # not all implementations provide the %pointer and %array declarations.
5592 ac_cv_prog_lex_yytext_pointer=no
5594 LIBS="$LEXLIB $ac_save_LIBS"
5595 cat >conftest.$ac_ext <<_ACEOF
5596 #define YYTEXT_POINTER 1
5597 `cat $LEX_OUTPUT_ROOT.c`
5599 rm -f conftest.$ac_objext conftest$ac_exeext
5600 if { (ac_try="$ac_link"
5602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5603 *) ac_try_echo=$ac_try;;
5605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606 (eval "$ac_link") 2>conftest.er1
5608 grep -v '^ *+' conftest.er1 >conftest.err
5610 cat conftest.err >&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } &&
5613 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5614 { (case "(($ac_try" in
5615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5616 *) ac_try_echo=$ac_try;;
5618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5619 (eval "$ac_try") 2>&5
5621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622 (exit $ac_status); }; } &&
5623 { ac_try='test -s conftest$ac_exeext'
5624 { (case "(($ac_try" in
5625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5626 *) ac_try_echo=$ac_try;;
5628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5629 (eval "$ac_try") 2>&5
5631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632 (exit $ac_status); }; }; then
5633 ac_cv_prog_lex_yytext_pointer=yes
5635 echo "$as_me: failed program was:" >&5
5636 sed 's/^/| /' conftest.$ac_ext >&5
5641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5642 conftest$ac_exeext conftest.$ac_ext
5646 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5647 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5648 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5650 cat >>confdefs.h <<\_ACEOF
5651 #define YYTEXT_POINTER 1
5655 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5659 for ac_prog in $LEX flex lex
5661 # Extract the first word of "$ac_prog", so it can be a program name with args.
5662 set dummy $ac_prog; ac_word=$2
5663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5665 if test "${ac_cv_prog_XLEX+set}" = set; then
5666 echo $ECHO_N "(cached) $ECHO_C" >&6
5668 if test -n "$XLEX"; then
5669 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5678 ac_cv_prog_XLEX="$ac_prog"
5679 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 XLEX=$ac_cv_prog_XLEX
5689 if test -n "$XLEX"; then
5690 { echo "$as_me:$LINENO: result: $XLEX" >&5
5691 echo "${ECHO_T}$XLEX" >&6; }
5693 { echo "$as_me:$LINENO: result: no" >&5
5694 echo "${ECHO_T}no" >&6; }
5698 test -n "$XLEX" && break
5700 test -n "$XLEX" || XLEX="none"
5702 if test "$XLEX" = "none"
5704 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5705 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5706 { (exit 1); exit 1; }; }
5709 for ac_prog in bison
5711 # Extract the first word of "$ac_prog", so it can be a program name with args.
5712 set dummy $ac_prog; ac_word=$2
5713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5715 if test "${ac_cv_prog_BISON+set}" = set; then
5716 echo $ECHO_N "(cached) $ECHO_C" >&6
5718 if test -n "$BISON"; then
5719 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 test -z "$as_dir" && as_dir=.
5726 for ac_exec_ext in '' $ac_executable_extensions; do
5727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5728 ac_cv_prog_BISON="$ac_prog"
5729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5738 BISON=$ac_cv_prog_BISON
5739 if test -n "$BISON"; then
5740 { echo "$as_me:$LINENO: result: $BISON" >&5
5741 echo "${ECHO_T}$BISON" >&6; }
5743 { echo "$as_me:$LINENO: result: no" >&5
5744 echo "${ECHO_T}no" >&6; }
5748 test -n "$BISON" && break
5750 test -n "$BISON" || BISON="none"
5752 if test "$BISON" = "none"
5754 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5755 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5756 { (exit 1); exit 1; }; }
5759 if test -n "$ac_tool_prefix"; then
5760 for ac_prog in gas as
5762 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5763 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5766 if test "${ac_cv_prog_AS+set}" = set; then
5767 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 if test -n "$AS"; then
5770 ac_cv_prog_AS="$AS" # Let the user override the test.
5772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5776 test -z "$as_dir" && as_dir=.
5777 for ac_exec_ext in '' $ac_executable_extensions; do
5778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5779 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5790 if test -n "$AS"; then
5791 { echo "$as_me:$LINENO: result: $AS" >&5
5792 echo "${ECHO_T}$AS" >&6; }
5794 { echo "$as_me:$LINENO: result: no" >&5
5795 echo "${ECHO_T}no" >&6; }
5799 test -n "$AS" && break
5802 if test -z "$AS"; then
5804 for ac_prog in gas as
5806 # Extract the first word of "$ac_prog", so it can be a program name with args.
5807 set dummy $ac_prog; ac_word=$2
5808 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5810 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 if test -n "$ac_ct_AS"; then
5814 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5823 ac_cv_prog_ac_ct_AS="$ac_prog"
5824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5834 if test -n "$ac_ct_AS"; then
5835 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5836 echo "${ECHO_T}$ac_ct_AS" >&6; }
5838 { echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6; }
5843 test -n "$ac_ct_AS" && break
5846 if test "x$ac_ct_AS" = x; then
5849 case $cross_compiling:$ac_tool_warned in
5851 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5852 whose name does not start with the host triplet. If you think this
5853 configuration is useful to you, please write to autoconf@gnu.org." >&5
5854 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5855 whose name does not start with the host triplet. If you think this
5856 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5857 ac_tool_warned=yes ;;
5863 if test -n "$ac_tool_prefix"; then
5864 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5865 set dummy ${ac_tool_prefix}ld; ac_word=$2
5866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5868 if test "${ac_cv_prog_LD+set}" = set; then
5869 echo $ECHO_N "(cached) $ECHO_C" >&6
5871 if test -n "$LD"; then
5872 ac_cv_prog_LD="$LD" # Let the user override the test.
5874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5878 test -z "$as_dir" && as_dir=.
5879 for ac_exec_ext in '' $ac_executable_extensions; do
5880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5881 ac_cv_prog_LD="${ac_tool_prefix}ld"
5882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5892 if test -n "$LD"; then
5893 { echo "$as_me:$LINENO: result: $LD" >&5
5894 echo "${ECHO_T}$LD" >&6; }
5896 { echo "$as_me:$LINENO: result: no" >&5
5897 echo "${ECHO_T}no" >&6; }
5902 if test -z "$ac_cv_prog_LD"; then
5904 # Extract the first word of "ld", so it can be a program name with args.
5905 set dummy ld; ac_word=$2
5906 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5908 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5909 echo $ECHO_N "(cached) $ECHO_C" >&6
5911 if test -n "$ac_ct_LD"; then
5912 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5918 test -z "$as_dir" && as_dir=.
5919 for ac_exec_ext in '' $ac_executable_extensions; do
5920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5921 ac_cv_prog_ac_ct_LD="ld"
5922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5932 if test -n "$ac_ct_LD"; then
5933 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5934 echo "${ECHO_T}$ac_ct_LD" >&6; }
5936 { echo "$as_me:$LINENO: result: no" >&5
5937 echo "${ECHO_T}no" >&6; }
5940 if test "x$ac_ct_LD" = x; then
5943 case $cross_compiling:$ac_tool_warned in
5945 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5946 whose name does not start with the host triplet. If you think this
5947 configuration is useful to you, please write to autoconf@gnu.org." >&5
5948 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5949 whose name does not start with the host triplet. If you think this
5950 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5951 ac_tool_warned=yes ;;
5959 if test -n "$ac_tool_prefix"; then
5960 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5961 set dummy ${ac_tool_prefix}ar; ac_word=$2
5962 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5964 if test "${ac_cv_prog_AR+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 if test -n "$AR"; then
5968 ac_cv_prog_AR="$AR" # Let the user override the test.
5970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5974 test -z "$as_dir" && as_dir=.
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5977 ac_cv_prog_AR="${ac_tool_prefix}ar"
5978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5988 if test -n "$AR"; then
5989 { echo "$as_me:$LINENO: result: $AR" >&5
5990 echo "${ECHO_T}$AR" >&6; }
5992 { echo "$as_me:$LINENO: result: no" >&5
5993 echo "${ECHO_T}no" >&6; }
5998 if test -z "$ac_cv_prog_AR"; then
6000 # Extract the first word of "ar", so it can be a program name with args.
6001 set dummy ar; ac_word=$2
6002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6004 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6005 echo $ECHO_N "(cached) $ECHO_C" >&6
6007 if test -n "$ac_ct_AR"; then
6008 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6017 ac_cv_prog_ac_ct_AR="ar"
6018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6027 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6028 if test -n "$ac_ct_AR"; then
6029 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6030 echo "${ECHO_T}$ac_ct_AR" >&6; }
6032 { echo "$as_me:$LINENO: result: no" >&5
6033 echo "${ECHO_T}no" >&6; }
6036 if test "x$ac_ct_AR" = x; then
6039 case $cross_compiling:$ac_tool_warned in
6041 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6042 whose name does not start with the host triplet. If you think this
6043 configuration is useful to you, please write to autoconf@gnu.org." >&5
6044 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6045 whose name does not start with the host triplet. If you think this
6046 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6047 ac_tool_warned=yes ;;
6055 if test -n "$ac_tool_prefix"; then
6056 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6057 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6058 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6060 if test "${ac_cv_prog_RANLIB+set}" = set; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 if test -n "$RANLIB"; then
6064 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6073 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6083 RANLIB=$ac_cv_prog_RANLIB
6084 if test -n "$RANLIB"; then
6085 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6086 echo "${ECHO_T}$RANLIB" >&6; }
6088 { echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6; }
6094 if test -z "$ac_cv_prog_RANLIB"; then
6095 ac_ct_RANLIB=$RANLIB
6096 # Extract the first word of "ranlib", so it can be a program name with args.
6097 set dummy ranlib; ac_word=$2
6098 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6099 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6100 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6101 echo $ECHO_N "(cached) $ECHO_C" >&6
6103 if test -n "$ac_ct_RANLIB"; then
6104 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 test -z "$as_dir" && as_dir=.
6111 for ac_exec_ext in '' $ac_executable_extensions; do
6112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6113 ac_cv_prog_ac_ct_RANLIB="ranlib"
6114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6123 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6124 if test -n "$ac_ct_RANLIB"; then
6125 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6126 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6128 { echo "$as_me:$LINENO: result: no" >&5
6129 echo "${ECHO_T}no" >&6; }
6132 if test "x$ac_ct_RANLIB" = x; then
6135 case $cross_compiling:$ac_tool_warned in
6137 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6138 whose name does not start with the host triplet. If you think this
6139 configuration is useful to you, please write to autoconf@gnu.org." >&5
6140 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6141 whose name does not start with the host triplet. If you think this
6142 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6143 ac_tool_warned=yes ;;
6145 RANLIB=$ac_ct_RANLIB
6148 RANLIB="$ac_cv_prog_RANLIB"
6151 if test -n "$ac_tool_prefix"; then
6152 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6153 set dummy ${ac_tool_prefix}strip; ac_word=$2
6154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6156 if test "${ac_cv_prog_STRIP+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 if test -n "$STRIP"; then
6160 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6179 STRIP=$ac_cv_prog_STRIP
6180 if test -n "$STRIP"; then
6181 { echo "$as_me:$LINENO: result: $STRIP" >&5
6182 echo "${ECHO_T}$STRIP" >&6; }
6184 { echo "$as_me:$LINENO: result: no" >&5
6185 echo "${ECHO_T}no" >&6; }
6190 if test -z "$ac_cv_prog_STRIP"; then
6192 # Extract the first word of "strip", so it can be a program name with args.
6193 set dummy strip; ac_word=$2
6194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6196 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6197 echo $ECHO_N "(cached) $ECHO_C" >&6
6199 if test -n "$ac_ct_STRIP"; then
6200 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6206 test -z "$as_dir" && as_dir=.
6207 for ac_exec_ext in '' $ac_executable_extensions; do
6208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6209 ac_cv_prog_ac_ct_STRIP="strip"
6210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6219 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6220 if test -n "$ac_ct_STRIP"; then
6221 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6222 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6224 { echo "$as_me:$LINENO: result: no" >&5
6225 echo "${ECHO_T}no" >&6; }
6228 if test "x$ac_ct_STRIP" = x; then
6231 case $cross_compiling:$ac_tool_warned in
6233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6234 whose name does not start with the host triplet. If you think this
6235 configuration is useful to you, please write to autoconf@gnu.org." >&5
6236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6237 whose name does not start with the host triplet. If you think this
6238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6239 ac_tool_warned=yes ;;
6244 STRIP="$ac_cv_prog_STRIP"
6247 if test -n "$ac_tool_prefix"; then
6248 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6249 set dummy ${ac_tool_prefix}windres; ac_word=$2
6250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6252 if test "${ac_cv_prog_WINDRES+set}" = set; then
6253 echo $ECHO_N "(cached) $ECHO_C" >&6
6255 if test -n "$WINDRES"; then
6256 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6262 test -z "$as_dir" && as_dir=.
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6265 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6275 WINDRES=$ac_cv_prog_WINDRES
6276 if test -n "$WINDRES"; then
6277 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6278 echo "${ECHO_T}$WINDRES" >&6; }
6280 { echo "$as_me:$LINENO: result: no" >&5
6281 echo "${ECHO_T}no" >&6; }
6286 if test -z "$ac_cv_prog_WINDRES"; then
6287 ac_ct_WINDRES=$WINDRES
6288 # Extract the first word of "windres", so it can be a program name with args.
6289 set dummy windres; ac_word=$2
6290 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6292 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6293 echo $ECHO_N "(cached) $ECHO_C" >&6
6295 if test -n "$ac_ct_WINDRES"; then
6296 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6302 test -z "$as_dir" && as_dir=.
6303 for ac_exec_ext in '' $ac_executable_extensions; do
6304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 ac_cv_prog_ac_ct_WINDRES="windres"
6306 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6315 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6316 if test -n "$ac_ct_WINDRES"; then
6317 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6318 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6320 { echo "$as_me:$LINENO: result: no" >&5
6321 echo "${ECHO_T}no" >&6; }
6324 if test "x$ac_ct_WINDRES" = x; then
6327 case $cross_compiling:$ac_tool_warned in
6329 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6330 whose name does not start with the host triplet. If you think this
6331 configuration is useful to you, please write to autoconf@gnu.org." >&5
6332 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6333 whose name does not start with the host triplet. If you think this
6334 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6335 ac_tool_warned=yes ;;
6337 WINDRES=$ac_ct_WINDRES
6340 WINDRES="$ac_cv_prog_WINDRES"
6343 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6344 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6346 if test "$LN_S" = "ln -s"; then
6347 { echo "$as_me:$LINENO: result: yes" >&5
6348 echo "${ECHO_T}yes" >&6; }
6350 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6351 echo "${ECHO_T}no, using $LN_S" >&6; }
6354 { echo "$as_me:$LINENO: checking whether ln works" >&5
6355 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6356 rm -f conf$$ conf$$.file
6358 if ln conf$$.file conf$$ 2>/dev/null; then
6361 { echo "$as_me:$LINENO: result: yes" >&5
6362 echo "${ECHO_T}yes" >&6; }
6366 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6367 echo "${ECHO_T}no, using $LN" >&6; }
6369 rm -f conf$$ conf$$.file
6370 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6371 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6372 if test "${ac_cv_path_GREP+set}" = set; then
6373 echo $ECHO_N "(cached) $ECHO_C" >&6
6375 # Extract the first word of "grep ggrep" to use in msg output
6376 if test -z "$GREP"; then
6377 set dummy grep ggrep; ac_prog_name=$2
6378 if test "${ac_cv_path_GREP+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 ac_path_GREP_found=false
6382 # Loop through the user's path and test for each of PROGNAME-LIST
6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6384 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6387 test -z "$as_dir" && as_dir=.
6388 for ac_prog in grep ggrep; do
6389 for ac_exec_ext in '' $ac_executable_extensions; do
6390 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6391 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6392 # Check for GNU ac_path_GREP and select it if it is found.
6393 # Check for GNU $ac_path_GREP
6394 case `"$ac_path_GREP" --version 2>&1` in
6396 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6399 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6402 cat "conftest.in" "conftest.in" >"conftest.tmp"
6403 mv "conftest.tmp" "conftest.in"
6404 cp "conftest.in" "conftest.nl"
6405 echo 'GREP' >> "conftest.nl"
6406 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6407 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6408 ac_count=`expr $ac_count + 1`
6409 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6410 # Best one so far, save it but keep looking for a better one
6411 ac_cv_path_GREP="$ac_path_GREP"
6412 ac_path_GREP_max=$ac_count
6414 # 10*(2^10) chars as input seems more than enough
6415 test $ac_count -gt 10 && break
6417 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6421 $ac_path_GREP_found && break 3
6431 GREP="$ac_cv_path_GREP"
6432 if test -z "$GREP"; then
6433 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6434 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6435 { (exit 1); exit 1; }; }
6439 ac_cv_path_GREP=$GREP
6444 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6445 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6446 GREP="$ac_cv_path_GREP"
6449 { echo "$as_me:$LINENO: checking for egrep" >&5
6450 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6451 if test "${ac_cv_path_EGREP+set}" = set; then
6452 echo $ECHO_N "(cached) $ECHO_C" >&6
6454 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6455 then ac_cv_path_EGREP="$GREP -E"
6457 # Extract the first word of "egrep" to use in msg output
6458 if test -z "$EGREP"; then
6459 set dummy egrep; ac_prog_name=$2
6460 if test "${ac_cv_path_EGREP+set}" = set; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 ac_path_EGREP_found=false
6464 # Loop through the user's path and test for each of PROGNAME-LIST
6465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6469 test -z "$as_dir" && as_dir=.
6470 for ac_prog in egrep; do
6471 for ac_exec_ext in '' $ac_executable_extensions; do
6472 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6473 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6474 # Check for GNU ac_path_EGREP and select it if it is found.
6475 # Check for GNU $ac_path_EGREP
6476 case `"$ac_path_EGREP" --version 2>&1` in
6478 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6481 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6484 cat "conftest.in" "conftest.in" >"conftest.tmp"
6485 mv "conftest.tmp" "conftest.in"
6486 cp "conftest.in" "conftest.nl"
6487 echo 'EGREP' >> "conftest.nl"
6488 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6490 ac_count=`expr $ac_count + 1`
6491 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6492 # Best one so far, save it but keep looking for a better one
6493 ac_cv_path_EGREP="$ac_path_EGREP"
6494 ac_path_EGREP_max=$ac_count
6496 # 10*(2^10) chars as input seems more than enough
6497 test $ac_count -gt 10 && break
6499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6503 $ac_path_EGREP_found && break 3
6513 EGREP="$ac_cv_path_EGREP"
6514 if test -z "$EGREP"; then
6515 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6516 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6517 { (exit 1); exit 1; }; }
6521 ac_cv_path_EGREP=$EGREP
6527 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6528 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6529 EGREP="$ac_cv_path_EGREP"
6532 # Extract the first word of "ldconfig", so it can be a program name with args.
6533 set dummy ldconfig; ac_word=$2
6534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6536 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6537 echo $ECHO_N "(cached) $ECHO_C" >&6
6541 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6545 for as_dir in /sbin /usr/sbin $PATH
6548 test -z "$as_dir" && as_dir=.
6549 for ac_exec_ext in '' $ac_executable_extensions; do
6550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6551 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6563 LDCONFIG=$ac_cv_path_LDCONFIG
6564 if test -n "$LDCONFIG"; then
6565 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6566 echo "${ECHO_T}$LDCONFIG" >&6; }
6568 { echo "$as_me:$LINENO: result: no" >&5
6569 echo "${ECHO_T}no" >&6; }
6573 # Find a good install program. We prefer a C program (faster),
6574 # so one script is as good as another. But avoid the broken or
6575 # incompatible versions:
6576 # SysV /etc/install, /usr/sbin/install
6577 # SunOS /usr/etc/install
6578 # IRIX /sbin/install
6580 # AmigaOS /C/install, which installs bootblocks on floppy discs
6581 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6582 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6583 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6584 # OS/2's system install, which has a completely different semantic
6585 # ./install, which can be erroneously created by make from ./install.sh.
6586 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6587 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6588 if test -z "$INSTALL"; then
6589 if test "${ac_cv_path_install+set}" = set; then
6590 echo $ECHO_N "(cached) $ECHO_C" >&6
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6596 test -z "$as_dir" && as_dir=.
6597 # Account for people who put trailing slashes in PATH elements.
6599 ./ | .// | /cC/* | \
6600 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6601 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6604 # OSF1 and SCO ODT 3.0 have their own names for install.
6605 # Don't use installbsd from OSF since it installs stuff as root
6607 for ac_prog in ginstall scoinst install; do
6608 for ac_exec_ext in '' $ac_executable_extensions; do
6609 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6610 if test $ac_prog = install &&
6611 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6612 # AIX install. It has an incompatible calling convention.
6614 elif test $ac_prog = install &&
6615 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6616 # program-specific install script used by HP pwplus--don't use.
6619 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6632 if test "${ac_cv_path_install+set}" = set; then
6633 INSTALL=$ac_cv_path_install
6635 # As a last resort, use the slow shell script. Don't cache a
6636 # value for INSTALL within a source directory, because that will
6637 # break other packages using the cache if that directory is
6638 # removed, or if the value is a relative name.
6639 INSTALL=$ac_install_sh
6642 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6643 echo "${ECHO_T}$INSTALL" >&6; }
6645 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6646 # It thinks the first close brace ends the variable substitution.
6647 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6649 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6651 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6654 [\\/$]* | ?:[\\/]* ) ;;
6655 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6658 for ac_prog in lclint lint
6660 # Extract the first word of "$ac_prog", so it can be a program name with args.
6661 set dummy $ac_prog; ac_word=$2
6662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6664 if test "${ac_cv_prog_LINT+set}" = set; then
6665 echo $ECHO_N "(cached) $ECHO_C" >&6
6667 if test -n "$LINT"; then
6668 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6674 test -z "$as_dir" && as_dir=.
6675 for ac_exec_ext in '' $ac_executable_extensions; do
6676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6677 ac_cv_prog_LINT="$ac_prog"
6678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6687 LINT=$ac_cv_prog_LINT
6688 if test -n "$LINT"; then
6689 { echo "$as_me:$LINENO: result: $LINT" >&5
6690 echo "${ECHO_T}$LINT" >&6; }
6692 { echo "$as_me:$LINENO: result: no" >&5
6693 echo "${ECHO_T}no" >&6; }
6697 test -n "$LINT" && break
6700 if test "$LINT" = "lint"
6702 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6707 for ac_prog in fontforge
6709 # Extract the first word of "$ac_prog", so it can be a program name with args.
6710 set dummy $ac_prog; ac_word=$2
6711 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6713 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6716 if test -n "$FONTFORGE"; then
6717 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6723 test -z "$as_dir" && as_dir=.
6724 for ac_exec_ext in '' $ac_executable_extensions; do
6725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6726 ac_cv_prog_FONTFORGE="$ac_prog"
6727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6736 FONTFORGE=$ac_cv_prog_FONTFORGE
6737 if test -n "$FONTFORGE"; then
6738 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6739 echo "${ECHO_T}$FONTFORGE" >&6; }
6741 { echo "$as_me:$LINENO: result: no" >&5
6742 echo "${ECHO_T}no" >&6; }
6746 test -n "$FONTFORGE" && break
6748 test -n "$FONTFORGE" || FONTFORGE="false"
6750 for ac_prog in pkg-config
6752 # Extract the first word of "$ac_prog", so it can be a program name with args.
6753 set dummy $ac_prog; ac_word=$2
6754 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6756 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6757 echo $ECHO_N "(cached) $ECHO_C" >&6
6759 if test -n "$PKG_CONFIG"; then
6760 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6769 ac_cv_prog_PKG_CONFIG="$ac_prog"
6770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6780 if test -n "$PKG_CONFIG"; then
6781 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6782 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6784 { echo "$as_me:$LINENO: result: no" >&5
6785 echo "${ECHO_T}no" >&6; }
6789 test -n "$PKG_CONFIG" && break
6791 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6796 # Extract the first word of "prelink", so it can be a program name with args.
6797 set dummy prelink; ac_word=$2
6798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6800 if test "${ac_cv_path_PRELINK+set}" = set; then
6801 echo $ECHO_N "(cached) $ECHO_C" >&6
6805 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 for as_dir in /sbin /usr/sbin $PATH
6812 test -z "$as_dir" && as_dir=.
6813 for ac_exec_ext in '' $ac_executable_extensions; do
6814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6815 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6823 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6827 PRELINK=$ac_cv_path_PRELINK
6828 if test -n "$PRELINK"; then
6829 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6830 echo "${ECHO_T}$PRELINK" >&6; }
6832 { echo "$as_me:$LINENO: result: no" >&5
6833 echo "${ECHO_T}no" >&6; }
6842 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6843 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6844 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6845 echo $ECHO_N "(cached) $ECHO_C" >&6
6847 ac_check_lib_save_LIBS=$LIBS
6849 cat >conftest.$ac_ext <<_ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6856 /* Override any GCC internal prototype to avoid an error.
6857 Use char because int might match the return type of a GCC
6858 builtin and then its argument prototype would still apply. */
6862 char i386_set_ldt ();
6866 return i386_set_ldt ();
6871 rm -f conftest.$ac_objext conftest$ac_exeext
6872 if { (ac_try="$ac_link"
6874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6875 *) ac_try_echo=$ac_try;;
6877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6878 (eval "$ac_link") 2>conftest.er1
6880 grep -v '^ *+' conftest.er1 >conftest.err
6882 cat conftest.err >&5
6883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6884 (exit $ac_status); } &&
6885 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6886 { (case "(($ac_try" in
6887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6888 *) ac_try_echo=$ac_try;;
6890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6891 (eval "$ac_try") 2>&5
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; } &&
6895 { ac_try='test -s conftest$ac_exeext'
6896 { (case "(($ac_try" in
6897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6898 *) ac_try_echo=$ac_try;;
6900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6901 (eval "$ac_try") 2>&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); }; }; then
6905 ac_cv_lib_i386_i386_set_ldt=yes
6907 echo "$as_me: failed program was:" >&5
6908 sed 's/^/| /' conftest.$ac_ext >&5
6910 ac_cv_lib_i386_i386_set_ldt=no
6913 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6914 conftest$ac_exeext conftest.$ac_ext
6915 LIBS=$ac_check_lib_save_LIBS
6917 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6918 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6919 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6920 cat >>confdefs.h <<_ACEOF
6921 #define HAVE_LIBI386 1
6929 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6930 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6931 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6932 echo $ECHO_N "(cached) $ECHO_C" >&6
6934 ac_check_lib_save_LIBS=$LIBS
6935 LIBS="-lossaudio $LIBS"
6936 cat >conftest.$ac_ext <<_ACEOF
6939 cat confdefs.h >>conftest.$ac_ext
6940 cat >>conftest.$ac_ext <<_ACEOF
6941 /* end confdefs.h. */
6943 /* Override any GCC internal prototype to avoid an error.
6944 Use char because int might match the return type of a GCC
6945 builtin and then its argument prototype would still apply. */
6953 return _oss_ioctl ();
6958 rm -f conftest.$ac_objext conftest$ac_exeext
6959 if { (ac_try="$ac_link"
6961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6962 *) ac_try_echo=$ac_try;;
6964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6965 (eval "$ac_link") 2>conftest.er1
6967 grep -v '^ *+' conftest.er1 >conftest.err
6969 cat conftest.err >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); } &&
6972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6973 { (case "(($ac_try" in
6974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6975 *) ac_try_echo=$ac_try;;
6977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6978 (eval "$ac_try") 2>&5
6980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981 (exit $ac_status); }; } &&
6982 { ac_try='test -s conftest$ac_exeext'
6983 { (case "(($ac_try" in
6984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6985 *) ac_try_echo=$ac_try;;
6987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6988 (eval "$ac_try") 2>&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; }; then
6992 ac_cv_lib_ossaudio__oss_ioctl=yes
6994 echo "$as_me: failed program was:" >&5
6995 sed 's/^/| /' conftest.$ac_ext >&5
6997 ac_cv_lib_ossaudio__oss_ioctl=no
7000 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7001 conftest$ac_exeext conftest.$ac_ext
7002 LIBS=$ac_check_lib_save_LIBS
7004 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
7005 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
7006 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
7007 cat >>confdefs.h <<_ACEOF
7008 #define HAVE_LIBOSSAUDIO 1
7011 LIBS="-lossaudio $LIBS"
7016 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7017 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7018 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7019 echo $ECHO_N "(cached) $ECHO_C" >&6
7021 ac_check_lib_save_LIBS=$LIBS
7023 cat >conftest.$ac_ext <<_ACEOF
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7030 /* Override any GCC internal prototype to avoid an error.
7031 Use char because int might match the return type of a GCC
7032 builtin and then its argument prototype would still apply. */
7036 char _xpg4_setrunelocale ();
7040 return _xpg4_setrunelocale ();
7045 rm -f conftest.$ac_objext conftest$ac_exeext
7046 if { (ac_try="$ac_link"
7048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7049 *) ac_try_echo=$ac_try;;
7051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7052 (eval "$ac_link") 2>conftest.er1
7054 grep -v '^ *+' conftest.er1 >conftest.err
7056 cat conftest.err >&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } &&
7059 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7060 { (case "(($ac_try" in
7061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7062 *) ac_try_echo=$ac_try;;
7064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7065 (eval "$ac_try") 2>&5
7067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7068 (exit $ac_status); }; } &&
7069 { ac_try='test -s conftest$ac_exeext'
7070 { (case "(($ac_try" in
7071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7072 *) ac_try_echo=$ac_try;;
7074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7075 (eval "$ac_try") 2>&5
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7079 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 ac_cv_lib_xpg4__xpg4_setrunelocale=no
7087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7088 conftest$ac_exeext conftest.$ac_ext
7089 LIBS=$ac_check_lib_save_LIBS
7091 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7092 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7093 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7094 cat >>confdefs.h <<_ACEOF
7095 #define HAVE_LIBXPG4 1
7102 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7103 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7104 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 ac_check_lib_save_LIBS=$LIBS
7108 LIBS="-lpthread $LIBS"
7109 cat >conftest.$ac_ext <<_ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7116 /* Override any GCC internal prototype to avoid an error.
7117 Use char because int might match the return type of a GCC
7118 builtin and then its argument prototype would still apply. */
7122 char pthread_create ();
7126 return pthread_create ();
7131 rm -f conftest.$ac_objext conftest$ac_exeext
7132 if { (ac_try="$ac_link"
7134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7135 *) ac_try_echo=$ac_try;;
7137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7138 (eval "$ac_link") 2>conftest.er1
7140 grep -v '^ *+' conftest.er1 >conftest.err
7142 cat conftest.err >&5
7143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144 (exit $ac_status); } &&
7145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7146 { (case "(($ac_try" in
7147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148 *) ac_try_echo=$ac_try;;
7150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7151 (eval "$ac_try") 2>&5
7153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7154 (exit $ac_status); }; } &&
7155 { ac_try='test -s conftest$ac_exeext'
7156 { (case "(($ac_try" in
7157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7158 *) ac_try_echo=$ac_try;;
7160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7161 (eval "$ac_try") 2>&5
7163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7164 (exit $ac_status); }; }; then
7165 ac_cv_lib_pthread_pthread_create=yes
7167 echo "$as_me: failed program was:" >&5
7168 sed 's/^/| /' conftest.$ac_ext >&5
7170 ac_cv_lib_pthread_pthread_create=no
7173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7174 conftest$ac_exeext conftest.$ac_ext
7175 LIBS=$ac_check_lib_save_LIBS
7177 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7178 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7179 if test $ac_cv_lib_pthread_pthread_create = yes; then
7180 LIBPTHREAD="-lpthread"
7199 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7200 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7201 if test "${ac_cv_header_stdc+set}" = set; then
7202 echo $ECHO_N "(cached) $ECHO_C" >&6
7204 cat >conftest.$ac_ext <<_ACEOF
7207 cat confdefs.h >>conftest.$ac_ext
7208 cat >>conftest.$ac_ext <<_ACEOF
7209 /* end confdefs.h. */
7223 rm -f conftest.$ac_objext
7224 if { (ac_try="$ac_compile"
7226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7227 *) ac_try_echo=$ac_try;;
7229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7230 (eval "$ac_compile") 2>conftest.er1
7232 grep -v '^ *+' conftest.er1 >conftest.err
7234 cat conftest.err >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); } &&
7237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7238 { (case "(($ac_try" in
7239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7240 *) ac_try_echo=$ac_try;;
7242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7243 (eval "$ac_try") 2>&5
7245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7246 (exit $ac_status); }; } &&
7247 { ac_try='test -s conftest.$ac_objext'
7248 { (case "(($ac_try" in
7249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7250 *) ac_try_echo=$ac_try;;
7252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7253 (eval "$ac_try") 2>&5
7255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); }; }; then
7257 ac_cv_header_stdc=yes
7259 echo "$as_me: failed program was:" >&5
7260 sed 's/^/| /' conftest.$ac_ext >&5
7262 ac_cv_header_stdc=no
7265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7267 if test $ac_cv_header_stdc = yes; then
7268 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7269 cat >conftest.$ac_ext <<_ACEOF
7272 cat confdefs.h >>conftest.$ac_ext
7273 cat >>conftest.$ac_ext <<_ACEOF
7274 /* end confdefs.h. */
7278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7279 $EGREP "memchr" >/dev/null 2>&1; then
7282 ac_cv_header_stdc=no
7288 if test $ac_cv_header_stdc = yes; then
7289 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7290 cat >conftest.$ac_ext <<_ACEOF
7293 cat confdefs.h >>conftest.$ac_ext
7294 cat >>conftest.$ac_ext <<_ACEOF
7295 /* end confdefs.h. */
7299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7300 $EGREP "free" >/dev/null 2>&1; then
7303 ac_cv_header_stdc=no
7309 if test $ac_cv_header_stdc = yes; then
7310 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7311 if test "$cross_compiling" = yes; then
7314 cat >conftest.$ac_ext <<_ACEOF
7317 cat confdefs.h >>conftest.$ac_ext
7318 cat >>conftest.$ac_ext <<_ACEOF
7319 /* end confdefs.h. */
7322 #if ((' ' & 0x0FF) == 0x020)
7323 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7324 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7326 # define ISLOWER(c) \
7327 (('a' <= (c) && (c) <= 'i') \
7328 || ('j' <= (c) && (c) <= 'r') \
7329 || ('s' <= (c) && (c) <= 'z'))
7330 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7333 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7338 for (i = 0; i < 256; i++)
7339 if (XOR (islower (i), ISLOWER (i))
7340 || toupper (i) != TOUPPER (i))
7345 rm -f conftest$ac_exeext
7346 if { (ac_try="$ac_link"
7348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7349 *) ac_try_echo=$ac_try;;
7351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7352 (eval "$ac_link") 2>&5
7354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7355 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7356 { (case "(($ac_try" in
7357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7358 *) ac_try_echo=$ac_try;;
7360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7361 (eval "$ac_try") 2>&5
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; }; then
7367 echo "$as_me: program exited with status $ac_status" >&5
7368 echo "$as_me: failed program was:" >&5
7369 sed 's/^/| /' conftest.$ac_ext >&5
7372 ac_cv_header_stdc=no
7374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7380 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7381 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7382 if test $ac_cv_header_stdc = yes; then
7384 cat >>confdefs.h <<\_ACEOF
7385 #define STDC_HEADERS 1
7390 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7400 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7401 inttypes.h stdint.h unistd.h
7403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7404 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7407 echo $ECHO_N "(cached) $ECHO_C" >&6
7409 cat >conftest.$ac_ext <<_ACEOF
7412 cat confdefs.h >>conftest.$ac_ext
7413 cat >>conftest.$ac_ext <<_ACEOF
7414 /* end confdefs.h. */
7415 $ac_includes_default
7417 #include <$ac_header>
7419 rm -f conftest.$ac_objext
7420 if { (ac_try="$ac_compile"
7422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7423 *) ac_try_echo=$ac_try;;
7425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7426 (eval "$ac_compile") 2>conftest.er1
7428 grep -v '^ *+' conftest.er1 >conftest.err
7430 cat conftest.err >&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); } &&
7433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7434 { (case "(($ac_try" in
7435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7436 *) ac_try_echo=$ac_try;;
7438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7439 (eval "$ac_try") 2>&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); }; } &&
7443 { ac_try='test -s conftest.$ac_objext'
7444 { (case "(($ac_try" in
7445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7446 *) ac_try_echo=$ac_try;;
7448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7449 (eval "$ac_try") 2>&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); }; }; then
7453 eval "$as_ac_Header=yes"
7455 echo "$as_me: failed program was:" >&5
7456 sed 's/^/| /' conftest.$ac_ext >&5
7458 eval "$as_ac_Header=no"
7461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7463 ac_res=`eval echo '${'$as_ac_Header'}'`
7464 { echo "$as_me:$LINENO: result: $ac_res" >&5
7465 echo "${ECHO_T}$ac_res" >&6; }
7466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7467 cat >>confdefs.h <<_ACEOF
7468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7585 AudioUnit/AudioUnit.h \
7587 CoreAudio/CoreAudio.h \
7588 DiskArbitration/DiskArbitration.h \
7601 fontconfig/fontconfig.h \
7626 machine/soundcard.h \
7631 netinet/in_systm.h \
7695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7700 echo $ECHO_N "(cached) $ECHO_C" >&6
7702 ac_res=`eval echo '${'$as_ac_Header'}'`
7703 { echo "$as_me:$LINENO: result: $ac_res" >&5
7704 echo "${ECHO_T}$ac_res" >&6; }
7706 # Is the header compilable?
7707 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7709 cat >conftest.$ac_ext <<_ACEOF
7712 cat confdefs.h >>conftest.$ac_ext
7713 cat >>conftest.$ac_ext <<_ACEOF
7714 /* end confdefs.h. */
7715 $ac_includes_default
7716 #include <$ac_header>
7718 rm -f conftest.$ac_objext
7719 if { (ac_try="$ac_compile"
7721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7722 *) ac_try_echo=$ac_try;;
7724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7725 (eval "$ac_compile") 2>conftest.er1
7727 grep -v '^ *+' conftest.er1 >conftest.err
7729 cat conftest.err >&5
7730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7731 (exit $ac_status); } &&
7732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7733 { (case "(($ac_try" in
7734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7735 *) ac_try_echo=$ac_try;;
7737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7738 (eval "$ac_try") 2>&5
7740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7741 (exit $ac_status); }; } &&
7742 { ac_try='test -s conftest.$ac_objext'
7743 { (case "(($ac_try" in
7744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7745 *) ac_try_echo=$ac_try;;
7747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7748 (eval "$ac_try") 2>&5
7750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7751 (exit $ac_status); }; }; then
7752 ac_header_compiler=yes
7754 echo "$as_me: failed program was:" >&5
7755 sed 's/^/| /' conftest.$ac_ext >&5
7757 ac_header_compiler=no
7760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7761 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7762 echo "${ECHO_T}$ac_header_compiler" >&6; }
7764 # Is the header present?
7765 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7766 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7767 cat >conftest.$ac_ext <<_ACEOF
7770 cat confdefs.h >>conftest.$ac_ext
7771 cat >>conftest.$ac_ext <<_ACEOF
7772 /* end confdefs.h. */
7773 #include <$ac_header>
7775 if { (ac_try="$ac_cpp conftest.$ac_ext"
7777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7778 *) ac_try_echo=$ac_try;;
7780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7783 grep -v '^ *+' conftest.er1 >conftest.err
7785 cat conftest.err >&5
7786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7787 (exit $ac_status); } >/dev/null; then
7788 if test -s conftest.err; then
7789 ac_cpp_err=$ac_c_preproc_warn_flag
7790 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7797 if test -z "$ac_cpp_err"; then
7798 ac_header_preproc=yes
7800 echo "$as_me: failed program was:" >&5
7801 sed 's/^/| /' conftest.$ac_ext >&5
7803 ac_header_preproc=no
7806 rm -f conftest.err conftest.$ac_ext
7807 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7808 echo "${ECHO_T}$ac_header_preproc" >&6; }
7810 # So? What about this header?
7811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7816 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7817 ac_header_preproc=yes
7820 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7821 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7822 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7823 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7824 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7825 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7826 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7827 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7828 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7829 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7830 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7831 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7833 ## ------------------------------------ ##
7834 ## Report this to wine-devel@winehq.org ##
7835 ## ------------------------------------ ##
7837 ) | sed "s/^/$as_me: WARNING: /" >&2
7840 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7842 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7843 echo $ECHO_N "(cached) $ECHO_C" >&6
7845 eval "$as_ac_Header=\$ac_header_preproc"
7847 ac_res=`eval echo '${'$as_ac_Header'}'`
7848 { echo "$as_me:$LINENO: result: $ac_res" >&5
7849 echo "${ECHO_T}$ac_res" >&6; }
7852 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7853 cat >>confdefs.h <<_ACEOF
7854 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7861 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7862 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7863 if test "${ac_cv_header_stat_broken+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7866 cat >conftest.$ac_ext <<_ACEOF
7869 cat confdefs.h >>conftest.$ac_ext
7870 cat >>conftest.$ac_ext <<_ACEOF
7871 /* end confdefs.h. */
7872 #include <sys/types.h>
7873 #include <sys/stat.h>
7875 #if defined S_ISBLK && defined S_IFDIR
7876 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7879 #if defined S_ISBLK && defined S_IFCHR
7880 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7883 #if defined S_ISLNK && defined S_IFREG
7884 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7887 #if defined S_ISSOCK && defined S_IFREG
7888 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7892 rm -f conftest.$ac_objext
7893 if { (ac_try="$ac_compile"
7895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7896 *) ac_try_echo=$ac_try;;
7898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7899 (eval "$ac_compile") 2>conftest.er1
7901 grep -v '^ *+' conftest.er1 >conftest.err
7903 cat conftest.err >&5
7904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7905 (exit $ac_status); } &&
7906 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7907 { (case "(($ac_try" in
7908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7909 *) ac_try_echo=$ac_try;;
7911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7912 (eval "$ac_try") 2>&5
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); }; } &&
7916 { ac_try='test -s conftest.$ac_objext'
7917 { (case "(($ac_try" in
7918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7919 *) ac_try_echo=$ac_try;;
7921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7922 (eval "$ac_try") 2>&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); }; }; then
7926 ac_cv_header_stat_broken=no
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.$ac_ext >&5
7931 ac_cv_header_stat_broken=yes
7934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7936 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7937 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7938 if test $ac_cv_header_stat_broken = yes; then
7940 cat >>confdefs.h <<\_ACEOF
7941 #define STAT_MACROS_BROKEN 1
7952 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7954 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7955 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7957 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7960 cat >conftest.$ac_ext <<_ACEOF
7963 cat confdefs.h >>conftest.$ac_ext
7964 cat >>conftest.$ac_ext <<_ACEOF
7965 /* end confdefs.h. */
7966 #include <sys/types.h>
7967 #if HAVE_SYS_PARAM_H
7968 # include <sys/param.h>
7971 #include <$ac_header>
7973 rm -f conftest.$ac_objext
7974 if { (ac_try="$ac_compile"
7976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7977 *) ac_try_echo=$ac_try;;
7979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7980 (eval "$ac_compile") 2>conftest.er1
7982 grep -v '^ *+' conftest.er1 >conftest.err
7984 cat conftest.err >&5
7985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7986 (exit $ac_status); } &&
7987 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7988 { (case "(($ac_try" in
7989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7990 *) ac_try_echo=$ac_try;;
7992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7993 (eval "$ac_try") 2>&5
7995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7996 (exit $ac_status); }; } &&
7997 { ac_try='test -s conftest.$ac_objext'
7998 { (case "(($ac_try" in
7999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8000 *) ac_try_echo=$ac_try;;
8002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8003 (eval "$ac_try") 2>&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); }; }; then
8007 eval "$as_ac_Header=yes"
8009 echo "$as_me: failed program was:" >&5
8010 sed 's/^/| /' conftest.$ac_ext >&5
8012 eval "$as_ac_Header=no"
8015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8017 ac_res=`eval echo '${'$as_ac_Header'}'`
8018 { echo "$as_me:$LINENO: result: $ac_res" >&5
8019 echo "${ECHO_T}$ac_res" >&6; }
8020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8021 cat >>confdefs.h <<_ACEOF
8022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8036 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
8038 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8039 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8041 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8042 echo $ECHO_N "(cached) $ECHO_C" >&6
8044 cat >conftest.$ac_ext <<_ACEOF
8047 cat confdefs.h >>conftest.$ac_ext
8048 cat >>conftest.$ac_ext <<_ACEOF
8049 /* end confdefs.h. */
8050 #include <sys/types.h>
8051 #if HAVE_SYS_SOCKET_H
8052 # include <sys/socket.h>
8055 #include <$ac_header>
8057 rm -f conftest.$ac_objext
8058 if { (ac_try="$ac_compile"
8060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8061 *) ac_try_echo=$ac_try;;
8063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8064 (eval "$ac_compile") 2>conftest.er1
8066 grep -v '^ *+' conftest.er1 >conftest.err
8068 cat conftest.err >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } &&
8071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8072 { (case "(($ac_try" in
8073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8074 *) ac_try_echo=$ac_try;;
8076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8077 (eval "$ac_try") 2>&5
8079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8080 (exit $ac_status); }; } &&
8081 { ac_try='test -s conftest.$ac_objext'
8082 { (case "(($ac_try" in
8083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8084 *) ac_try_echo=$ac_try;;
8086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8087 (eval "$ac_try") 2>&5
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; }; then
8091 eval "$as_ac_Header=yes"
8093 echo "$as_me: failed program was:" >&5
8094 sed 's/^/| /' conftest.$ac_ext >&5
8096 eval "$as_ac_Header=no"
8099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8101 ac_res=`eval echo '${'$as_ac_Header'}'`
8102 { echo "$as_me:$LINENO: result: $ac_res" >&5
8103 echo "${ECHO_T}$ac_res" >&6; }
8104 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8105 cat >>confdefs.h <<_ACEOF
8106 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8115 for ac_header in linux/ipx.h
8117 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8118 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8120 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8121 echo $ECHO_N "(cached) $ECHO_C" >&6
8123 cat >conftest.$ac_ext <<_ACEOF
8126 cat confdefs.h >>conftest.$ac_ext
8127 cat >>conftest.$ac_ext <<_ACEOF
8128 /* end confdefs.h. */
8129 #include <sys/types.h>
8130 #ifdef HAVE_ASM_TYPES_H
8131 # include <asm/types.h>
8133 #if HAVE_SYS_SOCKET_H
8134 # include <sys/socket.h>
8137 #include <$ac_header>
8139 rm -f conftest.$ac_objext
8140 if { (ac_try="$ac_compile"
8142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8143 *) ac_try_echo=$ac_try;;
8145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8146 (eval "$ac_compile") 2>conftest.er1
8148 grep -v '^ *+' conftest.er1 >conftest.err
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8154 { (case "(($ac_try" in
8155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8156 *) ac_try_echo=$ac_try;;
8158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8159 (eval "$ac_try") 2>&5
8161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8162 (exit $ac_status); }; } &&
8163 { ac_try='test -s conftest.$ac_objext'
8164 { (case "(($ac_try" in
8165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8166 *) ac_try_echo=$ac_try;;
8168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8169 (eval "$ac_try") 2>&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); }; }; then
8173 eval "$as_ac_Header=yes"
8175 echo "$as_me: failed program was:" >&5
8176 sed 's/^/| /' conftest.$ac_ext >&5
8178 eval "$as_ac_Header=no"
8181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8183 ac_res=`eval echo '${'$as_ac_Header'}'`
8184 { echo "$as_me:$LINENO: result: $ac_res" >&5
8185 echo "${ECHO_T}$ac_res" >&6; }
8186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8187 cat >>confdefs.h <<_ACEOF
8188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8197 for ac_header in resolv.h
8199 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8200 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8201 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8202 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 cat >conftest.$ac_ext <<_ACEOF
8208 cat confdefs.h >>conftest.$ac_ext
8209 cat >>conftest.$ac_ext <<_ACEOF
8210 /* end confdefs.h. */
8211 #include <sys/types.h>
8212 #if HAVE_SYS_SOCKET_H
8213 # include <sys/socket.h>
8215 #if HAVE_NETINET_IN_H
8216 # include <netinet/in.h>
8218 #if HAVE_ARPA_NAMESER_H
8219 # include <arpa/nameser.h>
8222 #include <$ac_header>
8224 rm -f conftest.$ac_objext
8225 if { (ac_try="$ac_compile"
8227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8228 *) ac_try_echo=$ac_try;;
8230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8231 (eval "$ac_compile") 2>conftest.er1
8233 grep -v '^ *+' conftest.er1 >conftest.err
8235 cat conftest.err >&5
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); } &&
8238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8239 { (case "(($ac_try" in
8240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8241 *) ac_try_echo=$ac_try;;
8243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8244 (eval "$ac_try") 2>&5
8246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8247 (exit $ac_status); }; } &&
8248 { ac_try='test -s conftest.$ac_objext'
8249 { (case "(($ac_try" in
8250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8251 *) ac_try_echo=$ac_try;;
8253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8254 (eval "$ac_try") 2>&5
8256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8257 (exit $ac_status); }; }; then
8258 eval "$as_ac_Header=yes"
8260 echo "$as_me: failed program was:" >&5
8261 sed 's/^/| /' conftest.$ac_ext >&5
8263 eval "$as_ac_Header=no"
8266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8268 ac_res=`eval echo '${'$as_ac_Header'}'`
8269 { echo "$as_me:$LINENO: result: $ac_res" >&5
8270 echo "${ECHO_T}$ac_res" >&6; }
8271 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8272 cat >>confdefs.h <<_ACEOF
8273 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8282 for ac_header in ucontext.h
8284 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8285 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8287 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8288 echo $ECHO_N "(cached) $ECHO_C" >&6
8290 cat >conftest.$ac_ext <<_ACEOF
8293 cat confdefs.h >>conftest.$ac_ext
8294 cat >>conftest.$ac_ext <<_ACEOF
8295 /* end confdefs.h. */
8298 #include <$ac_header>
8300 rm -f conftest.$ac_objext
8301 if { (ac_try="$ac_compile"
8303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8304 *) ac_try_echo=$ac_try;;
8306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8307 (eval "$ac_compile") 2>conftest.er1
8309 grep -v '^ *+' conftest.er1 >conftest.err
8311 cat conftest.err >&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); } &&
8314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8315 { (case "(($ac_try" in
8316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8317 *) ac_try_echo=$ac_try;;
8319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8320 (eval "$ac_try") 2>&5
8322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8323 (exit $ac_status); }; } &&
8324 { ac_try='test -s conftest.$ac_objext'
8325 { (case "(($ac_try" in
8326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8327 *) ac_try_echo=$ac_try;;
8329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8330 (eval "$ac_try") 2>&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); }; }; then
8334 eval "$as_ac_Header=yes"
8336 echo "$as_me: failed program was:" >&5
8337 sed 's/^/| /' conftest.$ac_ext >&5
8339 eval "$as_ac_Header=no"
8342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8344 ac_res=`eval echo '${'$as_ac_Header'}'`
8345 { echo "$as_me:$LINENO: result: $ac_res" >&5
8346 echo "${ECHO_T}$ac_res" >&6; }
8347 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8348 cat >>confdefs.h <<_ACEOF
8349 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8358 for ac_header in pthread_np.h
8360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8364 echo $ECHO_N "(cached) $ECHO_C" >&6
8366 cat >conftest.$ac_ext <<_ACEOF
8369 cat confdefs.h >>conftest.$ac_ext
8370 cat >>conftest.$ac_ext <<_ACEOF
8371 /* end confdefs.h. */
8372 #ifdef HAVE_PTHREAD_H
8373 #include <pthread.h>
8376 #include <$ac_header>
8378 rm -f conftest.$ac_objext
8379 if { (ac_try="$ac_compile"
8381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8382 *) ac_try_echo=$ac_try;;
8384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8385 (eval "$ac_compile") 2>conftest.er1
8387 grep -v '^ *+' conftest.er1 >conftest.err
8389 cat conftest.err >&5
8390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8391 (exit $ac_status); } &&
8392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8393 { (case "(($ac_try" in
8394 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8395 *) ac_try_echo=$ac_try;;
8397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8398 (eval "$ac_try") 2>&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; } &&
8402 { ac_try='test -s conftest.$ac_objext'
8403 { (case "(($ac_try" in
8404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8405 *) ac_try_echo=$ac_try;;
8407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8408 (eval "$ac_try") 2>&5
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); }; }; then
8412 eval "$as_ac_Header=yes"
8414 echo "$as_me: failed program was:" >&5
8415 sed 's/^/| /' conftest.$ac_ext >&5
8417 eval "$as_ac_Header=no"
8420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8422 ac_res=`eval echo '${'$as_ac_Header'}'`
8423 { echo "$as_me:$LINENO: result: $ac_res" >&5
8424 echo "${ECHO_T}$ac_res" >&6; }
8425 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8426 cat >>confdefs.h <<_ACEOF
8427 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8436 for ac_header in linux/videodev.h
8438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8439 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8441 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8442 echo $ECHO_N "(cached) $ECHO_C" >&6
8444 cat >conftest.$ac_ext <<_ACEOF
8447 cat confdefs.h >>conftest.$ac_ext
8448 cat >>conftest.$ac_ext <<_ACEOF
8449 /* end confdefs.h. */
8450 #ifdef HAVE_SYS_TIME_H
8451 #include <sys/time.h>
8453 #include <sys/types.h>
8454 #ifdef HAVE_ASM_TYPES_H
8455 #include <asm/types.h>
8458 #include <$ac_header>
8460 rm -f conftest.$ac_objext
8461 if { (ac_try="$ac_compile"
8463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8464 *) ac_try_echo=$ac_try;;
8466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8467 (eval "$ac_compile") 2>conftest.er1
8469 grep -v '^ *+' conftest.er1 >conftest.err
8471 cat conftest.err >&5
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); } &&
8474 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8475 { (case "(($ac_try" in
8476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8477 *) ac_try_echo=$ac_try;;
8479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8480 (eval "$ac_try") 2>&5
8482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8483 (exit $ac_status); }; } &&
8484 { ac_try='test -s conftest.$ac_objext'
8485 { (case "(($ac_try" in
8486 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8487 *) ac_try_echo=$ac_try;;
8489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8490 (eval "$ac_try") 2>&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); }; }; then
8494 eval "$as_ac_Header=yes"
8496 echo "$as_me: failed program was:" >&5
8497 sed 's/^/| /' conftest.$ac_ext >&5
8499 eval "$as_ac_Header=no"
8502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8504 ac_res=`eval echo '${'$as_ac_Header'}'`
8505 { echo "$as_me:$LINENO: result: $ac_res" >&5
8506 echo "${ECHO_T}$ac_res" >&6; }
8507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8508 cat >>confdefs.h <<_ACEOF
8509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8518 for ac_header in linux/capi.h
8520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8521 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8524 echo $ECHO_N "(cached) $ECHO_C" >&6
8526 cat >conftest.$ac_ext <<_ACEOF
8529 cat confdefs.h >>conftest.$ac_ext
8530 cat >>conftest.$ac_ext <<_ACEOF
8531 /* end confdefs.h. */
8534 #include <$ac_header>
8536 rm -f conftest.$ac_objext
8537 if { (ac_try="$ac_compile"
8539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8540 *) ac_try_echo=$ac_try;;
8542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8543 (eval "$ac_compile") 2>conftest.er1
8545 grep -v '^ *+' conftest.er1 >conftest.err
8547 cat conftest.err >&5
8548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549 (exit $ac_status); } &&
8550 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8551 { (case "(($ac_try" in
8552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8553 *) ac_try_echo=$ac_try;;
8555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8556 (eval "$ac_try") 2>&5
8558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8559 (exit $ac_status); }; } &&
8560 { ac_try='test -s conftest.$ac_objext'
8561 { (case "(($ac_try" in
8562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8563 *) ac_try_echo=$ac_try;;
8565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8566 (eval "$ac_try") 2>&5
8568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8569 (exit $ac_status); }; }; then
8570 eval "$as_ac_Header=yes"
8572 echo "$as_me: failed program was:" >&5
8573 sed 's/^/| /' conftest.$ac_ext >&5
8575 eval "$as_ac_Header=no"
8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8580 ac_res=`eval echo '${'$as_ac_Header'}'`
8581 { echo "$as_me:$LINENO: result: $ac_res" >&5
8582 echo "${ECHO_T}$ac_res" >&6; }
8583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8584 cat >>confdefs.h <<_ACEOF
8585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8594 if test "$have_x" = "yes"
8597 ac_save_CPPFLAGS="$CPPFLAGS"
8598 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
8610 for ac_header in X11/Xlib.h \
8613 X11/extensions/shape.h \
8614 X11/extensions/XInput.h \
8615 X11/extensions/XShm.h \
8616 X11/extensions/Xinerama.h \
8617 X11/extensions/Xrandr.h \
8618 X11/extensions/Xrender.h \
8619 X11/extensions/xf86vmode.h
8621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8622 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8624 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8625 echo $ECHO_N "(cached) $ECHO_C" >&6
8627 cat >conftest.$ac_ext <<_ACEOF
8630 cat confdefs.h >>conftest.$ac_ext
8631 cat >>conftest.$ac_ext <<_ACEOF
8632 /* end confdefs.h. */
8633 #ifdef HAVE_X11_XLIB_H
8634 # include <X11/Xlib.h>
8636 #ifdef HAVE_X11_XUTIL_H
8637 # include <X11/Xutil.h>
8640 #include <$ac_header>
8642 rm -f conftest.$ac_objext
8643 if { (ac_try="$ac_compile"
8645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8646 *) ac_try_echo=$ac_try;;
8648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8649 (eval "$ac_compile") 2>conftest.er1
8651 grep -v '^ *+' conftest.er1 >conftest.err
8653 cat conftest.err >&5
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); } &&
8656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8657 { (case "(($ac_try" in
8658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8659 *) ac_try_echo=$ac_try;;
8661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8662 (eval "$ac_try") 2>&5
8664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8665 (exit $ac_status); }; } &&
8666 { ac_try='test -s conftest.$ac_objext'
8667 { (case "(($ac_try" in
8668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8669 *) ac_try_echo=$ac_try;;
8671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8672 (eval "$ac_try") 2>&5
8674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8675 (exit $ac_status); }; }; then
8676 eval "$as_ac_Header=yes"
8678 echo "$as_me: failed program was:" >&5
8679 sed 's/^/| /' conftest.$ac_ext >&5
8681 eval "$as_ac_Header=no"
8684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8686 ac_res=`eval echo '${'$as_ac_Header'}'`
8687 { echo "$as_me:$LINENO: result: $ac_res" >&5
8688 echo "${ECHO_T}$ac_res" >&6; }
8689 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8690 cat >>confdefs.h <<_ACEOF
8691 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8699 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8701 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8702 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8703 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8704 echo $ECHO_N "(cached) $ECHO_C" >&6
8706 ac_check_lib_save_LIBS=$LIBS
8707 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8708 cat >conftest.$ac_ext <<_ACEOF
8711 cat confdefs.h >>conftest.$ac_ext
8712 cat >>conftest.$ac_ext <<_ACEOF
8713 /* end confdefs.h. */
8715 /* Override any GCC internal prototype to avoid an error.
8716 Use char because int might match the return type of a GCC
8717 builtin and then its argument prototype would still apply. */
8721 char XkbQueryExtension ();
8725 return XkbQueryExtension ();
8730 rm -f conftest.$ac_objext conftest$ac_exeext
8731 if { (ac_try="$ac_link"
8733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8734 *) ac_try_echo=$ac_try;;
8736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8737 (eval "$ac_link") 2>conftest.er1
8739 grep -v '^ *+' conftest.er1 >conftest.err
8741 cat conftest.err >&5
8742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8743 (exit $ac_status); } &&
8744 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8745 { (case "(($ac_try" in
8746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8747 *) ac_try_echo=$ac_try;;
8749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8750 (eval "$ac_try") 2>&5
8752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8753 (exit $ac_status); }; } &&
8754 { ac_try='test -s conftest$ac_exeext'
8755 { (case "(($ac_try" in
8756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8757 *) ac_try_echo=$ac_try;;
8759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8760 (eval "$ac_try") 2>&5
8762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8763 (exit $ac_status); }; }; then
8764 ac_cv_lib_X11_XkbQueryExtension=yes
8766 echo "$as_me: failed program was:" >&5
8767 sed 's/^/| /' conftest.$ac_ext >&5
8769 ac_cv_lib_X11_XkbQueryExtension=no
8772 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8773 conftest$ac_exeext conftest.$ac_ext
8774 LIBS=$ac_check_lib_save_LIBS
8776 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8777 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8778 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8780 cat >>confdefs.h <<\_ACEOF
8788 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8790 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8791 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8792 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8793 echo $ECHO_N "(cached) $ECHO_C" >&6
8795 ac_check_lib_save_LIBS=$LIBS
8796 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8797 cat >conftest.$ac_ext <<_ACEOF
8800 cat confdefs.h >>conftest.$ac_ext
8801 cat >>conftest.$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8804 /* Override any GCC internal prototype to avoid an error.
8805 Use char because int might match the return type of a GCC
8806 builtin and then its argument prototype would still apply. */
8810 char XShmQueryExtension ();
8814 return XShmQueryExtension ();
8819 rm -f conftest.$ac_objext conftest$ac_exeext
8820 if { (ac_try="$ac_link"
8822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8823 *) ac_try_echo=$ac_try;;
8825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8826 (eval "$ac_link") 2>conftest.er1
8828 grep -v '^ *+' conftest.er1 >conftest.err
8830 cat conftest.err >&5
8831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8832 (exit $ac_status); } &&
8833 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8834 { (case "(($ac_try" in
8835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8836 *) ac_try_echo=$ac_try;;
8838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8839 (eval "$ac_try") 2>&5
8841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8842 (exit $ac_status); }; } &&
8843 { ac_try='test -s conftest$ac_exeext'
8844 { (case "(($ac_try" in
8845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8846 *) ac_try_echo=$ac_try;;
8848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8849 (eval "$ac_try") 2>&5
8851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8852 (exit $ac_status); }; }; then
8853 ac_cv_lib_Xext_XShmQueryExtension=yes
8855 echo "$as_me: failed program was:" >&5
8856 sed 's/^/| /' conftest.$ac_ext >&5
8858 ac_cv_lib_Xext_XShmQueryExtension=no
8861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8862 conftest$ac_exeext conftest.$ac_ext
8863 LIBS=$ac_check_lib_save_LIBS
8865 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8866 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8867 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8869 cat >>confdefs.h <<\_ACEOF
8870 #define HAVE_LIBXXSHM 1
8877 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8879 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8880 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8881 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8882 echo $ECHO_N "(cached) $ECHO_C" >&6
8884 ac_check_lib_save_LIBS=$LIBS
8885 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8886 cat >conftest.$ac_ext <<_ACEOF
8889 cat confdefs.h >>conftest.$ac_ext
8890 cat >>conftest.$ac_ext <<_ACEOF
8891 /* end confdefs.h. */
8893 /* Override any GCC internal prototype to avoid an error.
8894 Use char because int might match the return type of a GCC
8895 builtin and then its argument prototype would still apply. */
8899 char XShapeQueryExtension ();
8903 return XShapeQueryExtension ();
8908 rm -f conftest.$ac_objext conftest$ac_exeext
8909 if { (ac_try="$ac_link"
8911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8912 *) ac_try_echo=$ac_try;;
8914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8915 (eval "$ac_link") 2>conftest.er1
8917 grep -v '^ *+' conftest.er1 >conftest.err
8919 cat conftest.err >&5
8920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8921 (exit $ac_status); } &&
8922 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8923 { (case "(($ac_try" in
8924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8925 *) ac_try_echo=$ac_try;;
8927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8928 (eval "$ac_try") 2>&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); }; } &&
8932 { ac_try='test -s conftest$ac_exeext'
8933 { (case "(($ac_try" in
8934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8935 *) ac_try_echo=$ac_try;;
8937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8938 (eval "$ac_try") 2>&5
8940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8941 (exit $ac_status); }; }; then
8942 ac_cv_lib_Xext_XShapeQueryExtension=yes
8944 echo "$as_me: failed program was:" >&5
8945 sed 's/^/| /' conftest.$ac_ext >&5
8947 ac_cv_lib_Xext_XShapeQueryExtension=no
8950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8951 conftest$ac_exeext conftest.$ac_ext
8952 LIBS=$ac_check_lib_save_LIBS
8954 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8955 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8956 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8958 cat >>confdefs.h <<\_ACEOF
8959 #define HAVE_LIBXSHAPE 1
8966 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8968 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8969 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8970 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8971 echo $ECHO_N "(cached) $ECHO_C" >&6
8973 ac_check_lib_save_LIBS=$LIBS
8974 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8975 cat >conftest.$ac_ext <<_ACEOF
8978 cat confdefs.h >>conftest.$ac_ext
8979 cat >>conftest.$ac_ext <<_ACEOF
8980 /* end confdefs.h. */
8982 /* Override any GCC internal prototype to avoid an error.
8983 Use char because int might match the return type of a GCC
8984 builtin and then its argument prototype would still apply. */
8988 char XF86VidModeQueryExtension ();
8992 return XF86VidModeQueryExtension ();
8997 rm -f conftest.$ac_objext conftest$ac_exeext
8998 if { (ac_try="$ac_link"
9000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9001 *) ac_try_echo=$ac_try;;
9003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9004 (eval "$ac_link") 2>conftest.er1
9006 grep -v '^ *+' conftest.er1 >conftest.err
9008 cat conftest.err >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } &&
9011 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9012 { (case "(($ac_try" in
9013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9014 *) ac_try_echo=$ac_try;;
9016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9017 (eval "$ac_try") 2>&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); }; } &&
9021 { ac_try='test -s conftest$ac_exeext'
9022 { (case "(($ac_try" in
9023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9024 *) ac_try_echo=$ac_try;;
9026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9027 (eval "$ac_try") 2>&5
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; }; then
9031 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9040 conftest$ac_exeext conftest.$ac_ext
9041 LIBS=$ac_check_lib_save_LIBS
9043 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9044 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9045 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9047 cat >>confdefs.h <<\_ACEOF
9048 #define HAVE_LIBXXF86VM 1
9051 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9057 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9059 cat >conftest.$ac_ext <<_ACEOF
9062 cat confdefs.h >>conftest.$ac_ext
9063 cat >>conftest.$ac_ext <<_ACEOF
9064 /* end confdefs.h. */
9065 #include <X11/Xlib.h>
9066 #include <X11/extensions/Xrandr.h>
9070 static typeof(XRRSetScreenConfigAndRate) * func;
9075 rm -f conftest.$ac_objext
9076 if { (ac_try="$ac_compile"
9078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9079 *) ac_try_echo=$ac_try;;
9081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9082 (eval "$ac_compile") 2>conftest.er1
9084 grep -v '^ *+' conftest.er1 >conftest.err
9086 cat conftest.err >&5
9087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9088 (exit $ac_status); } &&
9089 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9090 { (case "(($ac_try" in
9091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9092 *) ac_try_echo=$ac_try;;
9094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9095 (eval "$ac_try") 2>&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); }; } &&
9099 { ac_try='test -s conftest.$ac_objext'
9100 { (case "(($ac_try" in
9101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9102 *) ac_try_echo=$ac_try;;
9104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9105 (eval "$ac_try") 2>&5
9107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108 (exit $ac_status); }; }; then
9110 cat >>confdefs.h <<\_ACEOF
9111 #define HAVE_LIBXRANDR 1
9115 echo "$as_me: failed program was:" >&5
9116 sed 's/^/| /' conftest.$ac_ext >&5
9121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9124 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9126 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9127 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9128 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9129 echo $ECHO_N "(cached) $ECHO_C" >&6
9131 ac_check_lib_save_LIBS=$LIBS
9132 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9133 cat >conftest.$ac_ext <<_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. */
9146 char XRenderSetPictureTransform ();
9150 return XRenderSetPictureTransform ();
9155 rm -f conftest.$ac_objext conftest$ac_exeext
9156 if { (ac_try="$ac_link"
9158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9159 *) ac_try_echo=$ac_try;;
9161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9162 (eval "$ac_link") 2>conftest.er1
9164 grep -v '^ *+' conftest.er1 >conftest.err
9166 cat conftest.err >&5
9167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9168 (exit $ac_status); } &&
9169 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9170 { (case "(($ac_try" in
9171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9172 *) ac_try_echo=$ac_try;;
9174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9175 (eval "$ac_try") 2>&5
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; } &&
9179 { ac_try='test -s conftest$ac_exeext'
9180 { (case "(($ac_try" in
9181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9182 *) ac_try_echo=$ac_try;;
9184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9185 (eval "$ac_try") 2>&5
9187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9188 (exit $ac_status); }; }; then
9189 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9191 echo "$as_me: failed program was:" >&5
9192 sed 's/^/| /' conftest.$ac_ext >&5
9194 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9198 conftest$ac_exeext conftest.$ac_ext
9199 LIBS=$ac_check_lib_save_LIBS
9201 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9202 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9203 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9205 cat >>confdefs.h <<\_ACEOF
9206 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9213 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9215 cat >conftest.$ac_ext <<_ACEOF
9218 cat confdefs.h >>conftest.$ac_ext
9219 cat >>conftest.$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9221 #include <X11/Xlib.h>
9222 #include <X11/extensions/Xinerama.h>
9226 static typeof(XineramaQueryScreens) * func;
9231 rm -f conftest.$ac_objext
9232 if { (ac_try="$ac_compile"
9234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9235 *) ac_try_echo=$ac_try;;
9237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9238 (eval "$ac_compile") 2>conftest.er1
9240 grep -v '^ *+' conftest.er1 >conftest.err
9242 cat conftest.err >&5
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); } &&
9245 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9246 { (case "(($ac_try" in
9247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9248 *) ac_try_echo=$ac_try;;
9250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9251 (eval "$ac_try") 2>&5
9253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254 (exit $ac_status); }; } &&
9255 { ac_try='test -s conftest.$ac_objext'
9256 { (case "(($ac_try" in
9257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9258 *) ac_try_echo=$ac_try;;
9260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9261 (eval "$ac_try") 2>&5
9263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9264 (exit $ac_status); }; }; then
9266 cat >>confdefs.h <<\_ACEOF
9267 #define HAVE_LIBXINERAMA 1
9271 echo "$as_me: failed program was:" >&5
9272 sed 's/^/| /' conftest.$ac_ext >&5
9277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9281 if test "x$with_opengl" != "xno"
9287 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
9289 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9290 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9292 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9293 echo $ECHO_N "(cached) $ECHO_C" >&6
9295 cat >conftest.$ac_ext <<_ACEOF
9298 cat confdefs.h >>conftest.$ac_ext
9299 cat >>conftest.$ac_ext <<_ACEOF
9300 /* end confdefs.h. */
9301 #ifdef HAVE_GL_GLX_H
9302 # include <GL/glx.h>
9305 #include <$ac_header>
9307 rm -f conftest.$ac_objext
9308 if { (ac_try="$ac_compile"
9310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9311 *) ac_try_echo=$ac_try;;
9313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9314 (eval "$ac_compile") 2>conftest.er1
9316 grep -v '^ *+' conftest.er1 >conftest.err
9318 cat conftest.err >&5
9319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9320 (exit $ac_status); } &&
9321 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9322 { (case "(($ac_try" in
9323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9324 *) ac_try_echo=$ac_try;;
9326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9327 (eval "$ac_try") 2>&5
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; } &&
9331 { ac_try='test -s conftest.$ac_objext'
9332 { (case "(($ac_try" in
9333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9334 *) ac_try_echo=$ac_try;;
9336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9337 (eval "$ac_try") 2>&5
9339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9340 (exit $ac_status); }; }; then
9341 eval "$as_ac_Header=yes"
9343 echo "$as_me: failed program was:" >&5
9344 sed 's/^/| /' conftest.$ac_ext >&5
9346 eval "$as_ac_Header=no"
9349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9351 ac_res=`eval echo '${'$as_ac_Header'}'`
9352 { echo "$as_me:$LINENO: result: $ac_res" >&5
9353 echo "${ECHO_T}$ac_res" >&6; }
9354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9355 cat >>confdefs.h <<_ACEOF
9356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9363 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9365 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9366 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9367 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9368 echo $ECHO_N "(cached) $ECHO_C" >&6
9370 cat >conftest.$ac_ext <<_ACEOF
9373 cat confdefs.h >>conftest.$ac_ext
9374 cat >>conftest.$ac_ext <<_ACEOF
9375 /* end confdefs.h. */
9380 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9385 rm -f conftest.$ac_objext
9386 if { (ac_try="$ac_compile"
9388 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9389 *) ac_try_echo=$ac_try;;
9391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9392 (eval "$ac_compile") 2>conftest.er1
9394 grep -v '^ *+' conftest.er1 >conftest.err
9396 cat conftest.err >&5
9397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9398 (exit $ac_status); } &&
9399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9400 { (case "(($ac_try" in
9401 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9402 *) ac_try_echo=$ac_try;;
9404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9405 (eval "$ac_try") 2>&5
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); }; } &&
9409 { ac_try='test -s conftest.$ac_objext'
9410 { (case "(($ac_try" in
9411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9412 *) ac_try_echo=$ac_try;;
9414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9415 (eval "$ac_try") 2>&5
9417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9418 (exit $ac_status); }; }; then
9419 wine_cv_opengl_header_version_OK="yes"
9421 echo "$as_me: failed program was:" >&5
9422 sed 's/^/| /' conftest.$ac_ext >&5
9424 wine_cv_opengl_header_version_OK="no"
9428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9431 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9432 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9434 if test "$wine_cv_opengl_header_version_OK" = "yes"
9436 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9437 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9438 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9439 echo $ECHO_N "(cached) $ECHO_C" >&6
9441 ac_check_lib_save_LIBS=$LIBS
9442 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9443 cat >conftest.$ac_ext <<_ACEOF
9446 cat confdefs.h >>conftest.$ac_ext
9447 cat >>conftest.$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9450 /* Override any GCC internal prototype to avoid an error.
9451 Use char because int might match the return type of a GCC
9452 builtin and then its argument prototype would still apply. */
9456 char glXCreateContext ();
9460 return glXCreateContext ();
9465 rm -f conftest.$ac_objext conftest$ac_exeext
9466 if { (ac_try="$ac_link"
9468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9469 *) ac_try_echo=$ac_try;;
9471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9472 (eval "$ac_link") 2>conftest.er1
9474 grep -v '^ *+' conftest.er1 >conftest.err
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9480 { (case "(($ac_try" in
9481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9482 *) ac_try_echo=$ac_try;;
9484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9485 (eval "$ac_try") 2>&5
9487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9488 (exit $ac_status); }; } &&
9489 { ac_try='test -s conftest$ac_exeext'
9490 { (case "(($ac_try" in
9491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9492 *) ac_try_echo=$ac_try;;
9494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9495 (eval "$ac_try") 2>&5
9497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9498 (exit $ac_status); }; }; then
9499 ac_cv_lib_GL_glXCreateContext=yes
9501 echo "$as_me: failed program was:" >&5
9502 sed 's/^/| /' conftest.$ac_ext >&5
9504 ac_cv_lib_GL_glXCreateContext=no
9507 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9508 conftest$ac_exeext conftest.$ac_ext
9509 LIBS=$ac_check_lib_save_LIBS
9511 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9512 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9513 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9515 OPENGLFILES='$(OPENGLFILES)'
9517 cat >>confdefs.h <<\_ACEOF
9518 #define HAVE_OPENGL 1
9525 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9526 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9527 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9528 echo $ECHO_N "(cached) $ECHO_C" >&6
9530 ac_check_lib_save_LIBS=$LIBS
9531 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9533 cat >conftest.$ac_ext <<_ACEOF
9536 cat confdefs.h >>conftest.$ac_ext
9537 cat >>conftest.$ac_ext <<_ACEOF
9538 /* end confdefs.h. */
9540 /* Override any GCC internal prototype to avoid an error.
9541 Use char because int might match the return type of a GCC
9542 builtin and then its argument prototype would still apply. */
9550 return gluLookAt ();
9555 rm -f conftest.$ac_objext conftest$ac_exeext
9556 if { (ac_try="$ac_link"
9558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9559 *) ac_try_echo=$ac_try;;
9561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9562 (eval "$ac_link") 2>conftest.er1
9564 grep -v '^ *+' conftest.er1 >conftest.err
9566 cat conftest.err >&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); } &&
9569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9570 { (case "(($ac_try" in
9571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9572 *) ac_try_echo=$ac_try;;
9574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9575 (eval "$ac_try") 2>&5
9577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9578 (exit $ac_status); }; } &&
9579 { ac_try='test -s conftest$ac_exeext'
9580 { (case "(($ac_try" in
9581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9582 *) ac_try_echo=$ac_try;;
9584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9585 (eval "$ac_try") 2>&5
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); }; }; then
9589 ac_cv_lib_GLU_gluLookAt=yes
9591 echo "$as_me: failed program was:" >&5
9592 sed 's/^/| /' conftest.$ac_ext >&5
9594 ac_cv_lib_GLU_gluLookAt=no
9597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9598 conftest$ac_exeext conftest.$ac_ext
9599 LIBS=$ac_check_lib_save_LIBS
9601 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9602 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9603 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9604 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
9605 GLU32FILES='$(GLU32FILES)'
9611 wine_cv_opengl_headers_found="no"
9617 for ac_header in audio/audiolib.h
9619 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9620 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9621 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9622 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9623 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9624 echo $ECHO_N "(cached) $ECHO_C" >&6
9626 ac_res=`eval echo '${'$as_ac_Header'}'`
9627 { echo "$as_me:$LINENO: result: $ac_res" >&5
9628 echo "${ECHO_T}$ac_res" >&6; }
9630 # Is the header compilable?
9631 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9632 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9633 cat >conftest.$ac_ext <<_ACEOF
9636 cat confdefs.h >>conftest.$ac_ext
9637 cat >>conftest.$ac_ext <<_ACEOF
9638 /* end confdefs.h. */
9639 $ac_includes_default
9640 #include <$ac_header>
9642 rm -f conftest.$ac_objext
9643 if { (ac_try="$ac_compile"
9645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9646 *) ac_try_echo=$ac_try;;
9648 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9649 (eval "$ac_compile") 2>conftest.er1
9651 grep -v '^ *+' conftest.er1 >conftest.err
9653 cat conftest.err >&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } &&
9656 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9657 { (case "(($ac_try" in
9658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9659 *) ac_try_echo=$ac_try;;
9661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9662 (eval "$ac_try") 2>&5
9664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665 (exit $ac_status); }; } &&
9666 { ac_try='test -s conftest.$ac_objext'
9667 { (case "(($ac_try" in
9668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9669 *) ac_try_echo=$ac_try;;
9671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9672 (eval "$ac_try") 2>&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); }; }; then
9676 ac_header_compiler=yes
9678 echo "$as_me: failed program was:" >&5
9679 sed 's/^/| /' conftest.$ac_ext >&5
9681 ac_header_compiler=no
9684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9685 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9686 echo "${ECHO_T}$ac_header_compiler" >&6; }
9688 # Is the header present?
9689 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9690 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9691 cat >conftest.$ac_ext <<_ACEOF
9694 cat confdefs.h >>conftest.$ac_ext
9695 cat >>conftest.$ac_ext <<_ACEOF
9696 /* end confdefs.h. */
9697 #include <$ac_header>
9699 if { (ac_try="$ac_cpp conftest.$ac_ext"
9701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9702 *) ac_try_echo=$ac_try;;
9704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9707 grep -v '^ *+' conftest.er1 >conftest.err
9709 cat conftest.err >&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); } >/dev/null; then
9712 if test -s conftest.err; then
9713 ac_cpp_err=$ac_c_preproc_warn_flag
9714 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9721 if test -z "$ac_cpp_err"; then
9722 ac_header_preproc=yes
9724 echo "$as_me: failed program was:" >&5
9725 sed 's/^/| /' conftest.$ac_ext >&5
9727 ac_header_preproc=no
9730 rm -f conftest.err conftest.$ac_ext
9731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9732 echo "${ECHO_T}$ac_header_preproc" >&6; }
9734 # So? What about this header?
9735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9737 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9738 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9739 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9740 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9741 ac_header_preproc=yes
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9745 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9747 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9748 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9749 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9750 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9751 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9752 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9753 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9754 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9755 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9757 ## ------------------------------------ ##
9758 ## Report this to wine-devel@winehq.org ##
9759 ## ------------------------------------ ##
9761 ) | sed "s/^/$as_me: WARNING: /" >&2
9764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9767 echo $ECHO_N "(cached) $ECHO_C" >&6
9769 eval "$as_ac_Header=\$ac_header_preproc"
9771 ac_res=`eval echo '${'$as_ac_Header'}'`
9772 { echo "$as_me:$LINENO: result: $ac_res" >&5
9773 echo "${ECHO_T}$ac_res" >&6; }
9776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9777 cat >>confdefs.h <<_ACEOF
9778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9781 for ac_header in audio/soundlib.h
9783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9784 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9786 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9787 echo $ECHO_N "(cached) $ECHO_C" >&6
9789 cat >conftest.$ac_ext <<_ACEOF
9792 cat confdefs.h >>conftest.$ac_ext
9793 cat >>conftest.$ac_ext <<_ACEOF
9794 /* end confdefs.h. */
9795 #include <audio/audiolib.h>
9797 #include <$ac_header>
9799 rm -f conftest.$ac_objext
9800 if { (ac_try="$ac_compile"
9802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9803 *) ac_try_echo=$ac_try;;
9805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9806 (eval "$ac_compile") 2>conftest.er1
9808 grep -v '^ *+' conftest.er1 >conftest.err
9810 cat conftest.err >&5
9811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9812 (exit $ac_status); } &&
9813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9814 { (case "(($ac_try" in
9815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9816 *) ac_try_echo=$ac_try;;
9818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9819 (eval "$ac_try") 2>&5
9821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9822 (exit $ac_status); }; } &&
9823 { ac_try='test -s conftest.$ac_objext'
9824 { (case "(($ac_try" in
9825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9826 *) ac_try_echo=$ac_try;;
9828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9829 (eval "$ac_try") 2>&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); }; }; then
9833 eval "$as_ac_Header=yes"
9835 echo "$as_me: failed program was:" >&5
9836 sed 's/^/| /' conftest.$ac_ext >&5
9838 eval "$as_ac_Header=no"
9841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9843 ac_res=`eval echo '${'$as_ac_Header'}'`
9844 { echo "$as_me:$LINENO: result: $ac_res" >&5
9845 echo "${ECHO_T}$ac_res" >&6; }
9846 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9847 cat >>confdefs.h <<_ACEOF
9848 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9855 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9856 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9857 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9858 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 ac_check_lib_save_LIBS=$LIBS
9861 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9862 cat >conftest.$ac_ext <<_ACEOF
9865 cat confdefs.h >>conftest.$ac_ext
9866 cat >>conftest.$ac_ext <<_ACEOF
9867 /* end confdefs.h. */
9869 /* Override any GCC internal prototype to avoid an error.
9870 Use char because int might match the return type of a GCC
9871 builtin and then its argument prototype would still apply. */
9875 char AuCreateFlow ();
9879 return AuCreateFlow ();
9884 rm -f conftest.$ac_objext conftest$ac_exeext
9885 if { (ac_try="$ac_link"
9887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9888 *) ac_try_echo=$ac_try;;
9890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9891 (eval "$ac_link") 2>conftest.er1
9893 grep -v '^ *+' conftest.er1 >conftest.err
9895 cat conftest.err >&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); } &&
9898 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9899 { (case "(($ac_try" in
9900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9904 (eval "$ac_try") 2>&5
9906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9907 (exit $ac_status); }; } &&
9908 { ac_try='test -s conftest$ac_exeext'
9909 { (case "(($ac_try" in
9910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9911 *) ac_try_echo=$ac_try;;
9913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9914 (eval "$ac_try") 2>&5
9916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9917 (exit $ac_status); }; }; then
9918 ac_cv_lib_audio_AuCreateFlow=yes
9920 echo "$as_me: failed program was:" >&5
9921 sed 's/^/| /' conftest.$ac_ext >&5
9923 ac_cv_lib_audio_AuCreateFlow=no
9926 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9927 conftest$ac_exeext conftest.$ac_ext
9928 LIBS=$ac_check_lib_save_LIBS
9930 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9931 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9932 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9934 cat >>confdefs.h <<\_ACEOF
9938 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9946 CPPFLAGS="$ac_save_CPPFLAGS"
9963 if test "$PKG_CONFIG" != "false"
9965 ac_save_CPPFLAGS="$CPPFLAGS"
9966 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9967 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9968 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
9970 for ac_header in libxml/parser.h
9972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9974 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9976 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9977 echo $ECHO_N "(cached) $ECHO_C" >&6
9979 ac_res=`eval echo '${'$as_ac_Header'}'`
9980 { echo "$as_me:$LINENO: result: $ac_res" >&5
9981 echo "${ECHO_T}$ac_res" >&6; }
9983 # Is the header compilable?
9984 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9986 cat >conftest.$ac_ext <<_ACEOF
9989 cat confdefs.h >>conftest.$ac_ext
9990 cat >>conftest.$ac_ext <<_ACEOF
9991 /* end confdefs.h. */
9992 $ac_includes_default
9993 #include <$ac_header>
9995 rm -f conftest.$ac_objext
9996 if { (ac_try="$ac_compile"
9998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9999 *) ac_try_echo=$ac_try;;
10001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10002 (eval "$ac_compile") 2>conftest.er1
10004 grep -v '^ *+' conftest.er1 >conftest.err
10006 cat conftest.err >&5
10007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10008 (exit $ac_status); } &&
10009 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10010 { (case "(($ac_try" in
10011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10012 *) ac_try_echo=$ac_try;;
10014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10015 (eval "$ac_try") 2>&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); }; } &&
10019 { ac_try='test -s conftest.$ac_objext'
10020 { (case "(($ac_try" in
10021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10022 *) ac_try_echo=$ac_try;;
10024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10025 (eval "$ac_try") 2>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); }; }; then
10029 ac_header_compiler=yes
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.$ac_ext >&5
10034 ac_header_compiler=no
10037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10038 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10039 echo "${ECHO_T}$ac_header_compiler" >&6; }
10041 # Is the header present?
10042 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10044 cat >conftest.$ac_ext <<_ACEOF
10047 cat confdefs.h >>conftest.$ac_ext
10048 cat >>conftest.$ac_ext <<_ACEOF
10049 /* end confdefs.h. */
10050 #include <$ac_header>
10052 if { (ac_try="$ac_cpp conftest.$ac_ext"
10053 case "(($ac_try" in
10054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10055 *) ac_try_echo=$ac_try;;
10057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10060 grep -v '^ *+' conftest.er1 >conftest.err
10062 cat conftest.err >&5
10063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10064 (exit $ac_status); } >/dev/null; then
10065 if test -s conftest.err; then
10066 ac_cpp_err=$ac_c_preproc_warn_flag
10067 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10074 if test -z "$ac_cpp_err"; then
10075 ac_header_preproc=yes
10077 echo "$as_me: failed program was:" >&5
10078 sed 's/^/| /' conftest.$ac_ext >&5
10080 ac_header_preproc=no
10083 rm -f conftest.err conftest.$ac_ext
10084 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10085 echo "${ECHO_T}$ac_header_preproc" >&6; }
10087 # So? What about this header?
10088 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10090 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10091 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10092 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10093 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10094 ac_header_preproc=yes
10097 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10098 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10099 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10100 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10101 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10102 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10103 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10104 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10105 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10106 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10107 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10108 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10110 ## ------------------------------------ ##
10111 ## Report this to wine-devel@winehq.org ##
10112 ## ------------------------------------ ##
10114 ) | sed "s/^/$as_me: WARNING: /" >&2
10117 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10120 echo $ECHO_N "(cached) $ECHO_C" >&6
10122 eval "$as_ac_Header=\$ac_header_preproc"
10124 ac_res=`eval echo '${'$as_ac_Header'}'`
10125 { echo "$as_me:$LINENO: result: $ac_res" >&5
10126 echo "${ECHO_T}$ac_res" >&6; }
10129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10130 cat >>confdefs.h <<_ACEOF
10131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10133 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10134 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10135 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10136 echo $ECHO_N "(cached) $ECHO_C" >&6
10138 ac_check_lib_save_LIBS=$LIBS
10139 LIBS="-lxml2 $ac_xml_libs $LIBS"
10140 cat >conftest.$ac_ext <<_ACEOF
10143 cat confdefs.h >>conftest.$ac_ext
10144 cat >>conftest.$ac_ext <<_ACEOF
10145 /* end confdefs.h. */
10147 /* Override any GCC internal prototype to avoid an error.
10148 Use char because int might match the return type of a GCC
10149 builtin and then its argument prototype would still apply. */
10153 char xmlParseMemory ();
10157 return xmlParseMemory ();
10162 rm -f conftest.$ac_objext conftest$ac_exeext
10163 if { (ac_try="$ac_link"
10164 case "(($ac_try" in
10165 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10166 *) ac_try_echo=$ac_try;;
10168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10169 (eval "$ac_link") 2>conftest.er1
10171 grep -v '^ *+' conftest.er1 >conftest.err
10173 cat conftest.err >&5
10174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10175 (exit $ac_status); } &&
10176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10177 { (case "(($ac_try" in
10178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10179 *) ac_try_echo=$ac_try;;
10181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10182 (eval "$ac_try") 2>&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); }; } &&
10186 { ac_try='test -s conftest$ac_exeext'
10187 { (case "(($ac_try" in
10188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10189 *) ac_try_echo=$ac_try;;
10191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10192 (eval "$ac_try") 2>&5
10194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10195 (exit $ac_status); }; }; then
10196 ac_cv_lib_xml2_xmlParseMemory=yes
10198 echo "$as_me: failed program was:" >&5
10199 sed 's/^/| /' conftest.$ac_ext >&5
10201 ac_cv_lib_xml2_xmlParseMemory=no
10204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10205 conftest$ac_exeext conftest.$ac_ext
10206 LIBS=$ac_check_lib_save_LIBS
10208 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10209 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10210 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10212 cat >>confdefs.h <<\_ACEOF
10213 #define HAVE_LIBXML2 1
10216 XML2LIBS="$ac_xml_libs"
10217 XML2INCL="$ac_xml_cflags"
10220 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10221 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10222 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10223 echo $ECHO_N "(cached) $ECHO_C" >&6
10225 ac_check_lib_save_LIBS=$LIBS
10226 LIBS="-lxml2 $ac_xml_libs $LIBS"
10227 cat >conftest.$ac_ext <<_ACEOF
10230 cat confdefs.h >>conftest.$ac_ext
10231 cat >>conftest.$ac_ext <<_ACEOF
10232 /* end confdefs.h. */
10234 /* Override any GCC internal prototype to avoid an error.
10235 Use char because int might match the return type of a GCC
10236 builtin and then its argument prototype would still apply. */
10240 char xmlReadMemory ();
10244 return xmlReadMemory ();
10249 rm -f conftest.$ac_objext conftest$ac_exeext
10250 if { (ac_try="$ac_link"
10251 case "(($ac_try" in
10252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10253 *) ac_try_echo=$ac_try;;
10255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10256 (eval "$ac_link") 2>conftest.er1
10258 grep -v '^ *+' conftest.er1 >conftest.err
10260 cat conftest.err >&5
10261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10262 (exit $ac_status); } &&
10263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10264 { (case "(($ac_try" in
10265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10266 *) ac_try_echo=$ac_try;;
10268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10269 (eval "$ac_try") 2>&5
10271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10272 (exit $ac_status); }; } &&
10273 { ac_try='test -s conftest$ac_exeext'
10274 { (case "(($ac_try" in
10275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10276 *) ac_try_echo=$ac_try;;
10278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10279 (eval "$ac_try") 2>&5
10281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10282 (exit $ac_status); }; }; then
10283 ac_cv_lib_xml2_xmlReadMemory=yes
10285 echo "$as_me: failed program was:" >&5
10286 sed 's/^/| /' conftest.$ac_ext >&5
10288 ac_cv_lib_xml2_xmlReadMemory=no
10291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10292 conftest$ac_exeext conftest.$ac_ext
10293 LIBS=$ac_check_lib_save_LIBS
10295 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10296 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10297 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10299 cat >>confdefs.h <<\_ACEOF
10300 #define HAVE_XMLREADMEMORY 1
10305 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10306 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10307 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 ac_check_lib_save_LIBS=$LIBS
10311 LIBS="-lxml2 $ac_xml_libs $LIBS"
10312 cat >conftest.$ac_ext <<_ACEOF
10315 cat confdefs.h >>conftest.$ac_ext
10316 cat >>conftest.$ac_ext <<_ACEOF
10317 /* end confdefs.h. */
10319 /* Override any GCC internal prototype to avoid an error.
10320 Use char because int might match the return type of a GCC
10321 builtin and then its argument prototype would still apply. */
10325 char xmlNewDocPI ();
10329 return xmlNewDocPI ();
10334 rm -f conftest.$ac_objext conftest$ac_exeext
10335 if { (ac_try="$ac_link"
10336 case "(($ac_try" in
10337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10338 *) ac_try_echo=$ac_try;;
10340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10341 (eval "$ac_link") 2>conftest.er1
10343 grep -v '^ *+' conftest.er1 >conftest.err
10345 cat conftest.err >&5
10346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10347 (exit $ac_status); } &&
10348 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10349 { (case "(($ac_try" in
10350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10351 *) ac_try_echo=$ac_try;;
10353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10354 (eval "$ac_try") 2>&5
10356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357 (exit $ac_status); }; } &&
10358 { ac_try='test -s conftest$ac_exeext'
10359 { (case "(($ac_try" in
10360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10361 *) ac_try_echo=$ac_try;;
10363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10364 (eval "$ac_try") 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; }; then
10368 ac_cv_lib_xml2_xmlNewDocPI=yes
10370 echo "$as_me: failed program was:" >&5
10371 sed 's/^/| /' conftest.$ac_ext >&5
10373 ac_cv_lib_xml2_xmlNewDocPI=no
10376 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10377 conftest$ac_exeext conftest.$ac_ext
10378 LIBS=$ac_check_lib_save_LIBS
10380 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10381 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10382 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10384 cat >>confdefs.h <<\_ACEOF
10385 #define HAVE_XMLNEWDOCPI 1
10395 CPPFLAGS="$ac_save_CPPFLAGS"
10396 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
10397 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
10398 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10401 for ac_header in libxslt/pattern.h libxslt/transform.h
10403 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10404 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10405 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10407 echo $ECHO_N "(cached) $ECHO_C" >&6
10409 cat >conftest.$ac_ext <<_ACEOF
10412 cat confdefs.h >>conftest.$ac_ext
10413 cat >>conftest.$ac_ext <<_ACEOF
10414 /* end confdefs.h. */
10415 #ifdef HAVE_LIBXSLT_PATTERN_H
10416 # include <libxslt/pattern.h>
10419 #include <$ac_header>
10421 rm -f conftest.$ac_objext
10422 if { (ac_try="$ac_compile"
10423 case "(($ac_try" in
10424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10425 *) ac_try_echo=$ac_try;;
10427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10428 (eval "$ac_compile") 2>conftest.er1
10430 grep -v '^ *+' conftest.er1 >conftest.err
10432 cat conftest.err >&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); } &&
10435 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10436 { (case "(($ac_try" in
10437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10438 *) ac_try_echo=$ac_try;;
10440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10441 (eval "$ac_try") 2>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; } &&
10445 { ac_try='test -s conftest.$ac_objext'
10446 { (case "(($ac_try" in
10447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10448 *) ac_try_echo=$ac_try;;
10450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10451 (eval "$ac_try") 2>&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); }; }; then
10455 eval "$as_ac_Header=yes"
10457 echo "$as_me: failed program was:" >&5
10458 sed 's/^/| /' conftest.$ac_ext >&5
10460 eval "$as_ac_Header=no"
10463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10465 ac_res=`eval echo '${'$as_ac_Header'}'`
10466 { echo "$as_me:$LINENO: result: $ac_res" >&5
10467 echo "${ECHO_T}$ac_res" >&6; }
10468 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10469 cat >>confdefs.h <<_ACEOF
10470 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10472 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10473 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10474 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10475 echo $ECHO_N "(cached) $ECHO_C" >&6
10477 ac_check_lib_save_LIBS=$LIBS
10478 LIBS="-lxslt $ac_xslt_libs $LIBS"
10479 cat >conftest.$ac_ext <<_ACEOF
10482 cat confdefs.h >>conftest.$ac_ext
10483 cat >>conftest.$ac_ext <<_ACEOF
10484 /* end confdefs.h. */
10486 /* Override any GCC internal prototype to avoid an error.
10487 Use char because int might match the return type of a GCC
10488 builtin and then its argument prototype would still apply. */
10492 char xsltCompilePattern ();
10496 return xsltCompilePattern ();
10501 rm -f conftest.$ac_objext conftest$ac_exeext
10502 if { (ac_try="$ac_link"
10503 case "(($ac_try" in
10504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10505 *) ac_try_echo=$ac_try;;
10507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10508 (eval "$ac_link") 2>conftest.er1
10510 grep -v '^ *+' conftest.er1 >conftest.err
10512 cat conftest.err >&5
10513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10514 (exit $ac_status); } &&
10515 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10516 { (case "(($ac_try" in
10517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10518 *) ac_try_echo=$ac_try;;
10520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10521 (eval "$ac_try") 2>&5
10523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10524 (exit $ac_status); }; } &&
10525 { ac_try='test -s conftest$ac_exeext'
10526 { (case "(($ac_try" in
10527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10528 *) ac_try_echo=$ac_try;;
10530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10531 (eval "$ac_try") 2>&5
10533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10534 (exit $ac_status); }; }; then
10535 ac_cv_lib_xslt_xsltCompilePattern=yes
10537 echo "$as_me: failed program was:" >&5
10538 sed 's/^/| /' conftest.$ac_ext >&5
10540 ac_cv_lib_xslt_xsltCompilePattern=no
10543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10544 conftest$ac_exeext conftest.$ac_ext
10545 LIBS=$ac_check_lib_save_LIBS
10547 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10548 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10549 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10551 cat >>confdefs.h <<\_ACEOF
10552 #define HAVE_LIBXSLT 1
10555 XSLTLIBS="$ac_xslt_libs"
10556 XSLTINCL="$ac_xslt_cflags"
10564 CPPFLAGS="$ac_save_CPPFLAGS"
10569 if test "$PKG_CONFIG" != "false"
10571 ac_save_CPPFLAGS="$CPPFLAGS"
10572 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
10573 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10574 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10577 for ac_header in dbus/dbus.h hal/libhal.h
10579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10581 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10583 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10584 echo $ECHO_N "(cached) $ECHO_C" >&6
10586 ac_res=`eval echo '${'$as_ac_Header'}'`
10587 { echo "$as_me:$LINENO: result: $ac_res" >&5
10588 echo "${ECHO_T}$ac_res" >&6; }
10590 # Is the header compilable?
10591 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10593 cat >conftest.$ac_ext <<_ACEOF
10596 cat confdefs.h >>conftest.$ac_ext
10597 cat >>conftest.$ac_ext <<_ACEOF
10598 /* end confdefs.h. */
10599 $ac_includes_default
10600 #include <$ac_header>
10602 rm -f conftest.$ac_objext
10603 if { (ac_try="$ac_compile"
10604 case "(($ac_try" in
10605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10606 *) ac_try_echo=$ac_try;;
10608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10609 (eval "$ac_compile") 2>conftest.er1
10611 grep -v '^ *+' conftest.er1 >conftest.err
10613 cat conftest.err >&5
10614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10615 (exit $ac_status); } &&
10616 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10617 { (case "(($ac_try" in
10618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10619 *) ac_try_echo=$ac_try;;
10621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10622 (eval "$ac_try") 2>&5
10624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10625 (exit $ac_status); }; } &&
10626 { ac_try='test -s conftest.$ac_objext'
10627 { (case "(($ac_try" in
10628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10629 *) ac_try_echo=$ac_try;;
10631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10632 (eval "$ac_try") 2>&5
10634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635 (exit $ac_status); }; }; then
10636 ac_header_compiler=yes
10638 echo "$as_me: failed program was:" >&5
10639 sed 's/^/| /' conftest.$ac_ext >&5
10641 ac_header_compiler=no
10644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10645 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10646 echo "${ECHO_T}$ac_header_compiler" >&6; }
10648 # Is the header present?
10649 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10651 cat >conftest.$ac_ext <<_ACEOF
10654 cat confdefs.h >>conftest.$ac_ext
10655 cat >>conftest.$ac_ext <<_ACEOF
10656 /* end confdefs.h. */
10657 #include <$ac_header>
10659 if { (ac_try="$ac_cpp conftest.$ac_ext"
10660 case "(($ac_try" in
10661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10662 *) ac_try_echo=$ac_try;;
10664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10665 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10667 grep -v '^ *+' conftest.er1 >conftest.err
10669 cat conftest.err >&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } >/dev/null; then
10672 if test -s conftest.err; then
10673 ac_cpp_err=$ac_c_preproc_warn_flag
10674 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10681 if test -z "$ac_cpp_err"; then
10682 ac_header_preproc=yes
10684 echo "$as_me: failed program was:" >&5
10685 sed 's/^/| /' conftest.$ac_ext >&5
10687 ac_header_preproc=no
10690 rm -f conftest.err conftest.$ac_ext
10691 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10692 echo "${ECHO_T}$ac_header_preproc" >&6; }
10694 # So? What about this header?
10695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10697 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10701 ac_header_preproc=yes
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10708 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10710 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10711 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10712 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10714 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10717 ## ------------------------------------ ##
10718 ## Report this to wine-devel@winehq.org ##
10719 ## ------------------------------------ ##
10721 ) | sed "s/^/$as_me: WARNING: /" >&2
10724 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10726 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 eval "$as_ac_Header=\$ac_header_preproc"
10731 ac_res=`eval echo '${'$as_ac_Header'}'`
10732 { echo "$as_me:$LINENO: result: $ac_res" >&5
10733 echo "${ECHO_T}$ac_res" >&6; }
10736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10737 cat >>confdefs.h <<_ACEOF
10738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10745 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10747 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10748 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10749 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10750 echo $ECHO_N "(cached) $ECHO_C" >&6
10752 ac_check_lib_save_LIBS=$LIBS
10754 cat >conftest.$ac_ext <<_ACEOF
10757 cat confdefs.h >>conftest.$ac_ext
10758 cat >>conftest.$ac_ext <<_ACEOF
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10767 char libhal_ctx_new ();
10771 return libhal_ctx_new ();
10776 rm -f conftest.$ac_objext conftest$ac_exeext
10777 if { (ac_try="$ac_link"
10778 case "(($ac_try" in
10779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10780 *) ac_try_echo=$ac_try;;
10782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10783 (eval "$ac_link") 2>conftest.er1
10785 grep -v '^ *+' conftest.er1 >conftest.err
10787 cat conftest.err >&5
10788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10789 (exit $ac_status); } &&
10790 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10791 { (case "(($ac_try" in
10792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10793 *) ac_try_echo=$ac_try;;
10795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10796 (eval "$ac_try") 2>&5
10798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10799 (exit $ac_status); }; } &&
10800 { ac_try='test -s conftest$ac_exeext'
10801 { (case "(($ac_try" in
10802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10803 *) ac_try_echo=$ac_try;;
10805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10806 (eval "$ac_try") 2>&5
10808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10809 (exit $ac_status); }; }; then
10810 ac_cv_lib_hal_libhal_ctx_new=yes
10812 echo "$as_me: failed program was:" >&5
10813 sed 's/^/| /' conftest.$ac_ext >&5
10815 ac_cv_lib_hal_libhal_ctx_new=no
10818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10819 conftest$ac_exeext conftest.$ac_ext
10820 LIBS=$ac_check_lib_save_LIBS
10822 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10823 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10824 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10825 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10826 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10827 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10828 echo $ECHO_N "(cached) $ECHO_C" >&6
10830 ac_check_lib_save_LIBS=$LIBS
10831 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
10832 cat >conftest.$ac_ext <<_ACEOF
10835 cat confdefs.h >>conftest.$ac_ext
10836 cat >>conftest.$ac_ext <<_ACEOF
10837 /* end confdefs.h. */
10839 /* Override any GCC internal prototype to avoid an error.
10840 Use char because int might match the return type of a GCC
10841 builtin and then its argument prototype would still apply. */
10845 char dbus_connection_close ();
10849 return dbus_connection_close ();
10854 rm -f conftest.$ac_objext conftest$ac_exeext
10855 if { (ac_try="$ac_link"
10856 case "(($ac_try" in
10857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10858 *) ac_try_echo=$ac_try;;
10860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10861 (eval "$ac_link") 2>conftest.er1
10863 grep -v '^ *+' conftest.er1 >conftest.err
10865 cat conftest.err >&5
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); } &&
10868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10869 { (case "(($ac_try" in
10870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10871 *) ac_try_echo=$ac_try;;
10873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10874 (eval "$ac_try") 2>&5
10876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10877 (exit $ac_status); }; } &&
10878 { ac_try='test -s conftest$ac_exeext'
10879 { (case "(($ac_try" in
10880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10881 *) ac_try_echo=$ac_try;;
10883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10884 (eval "$ac_try") 2>&5
10886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10887 (exit $ac_status); }; }; then
10888 ac_cv_lib_dbus_1_dbus_connection_close=yes
10890 echo "$as_me: failed program was:" >&5
10891 sed 's/^/| /' conftest.$ac_ext >&5
10893 ac_cv_lib_dbus_1_dbus_connection_close=no
10896 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10897 conftest$ac_exeext conftest.$ac_ext
10898 LIBS=$ac_check_lib_save_LIBS
10900 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10901 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10902 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10904 cat >>confdefs.h <<\_ACEOF
10905 #define HAVE_LIBHAL 1
10908 HALINCL="$ac_hal_cflags"
10914 CPPFLAGS="$ac_save_CPPFLAGS"
10918 if test "x$with_curses" != "xno"
10920 if test "$ac_cv_header_ncurses_h" = "yes"
10922 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10923 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10924 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6
10927 ac_check_lib_save_LIBS=$LIBS
10928 LIBS="-lncurses $LIBS"
10929 cat >conftest.$ac_ext <<_ACEOF
10932 cat confdefs.h >>conftest.$ac_ext
10933 cat >>conftest.$ac_ext <<_ACEOF
10934 /* end confdefs.h. */
10936 /* Override any GCC internal prototype to avoid an error.
10937 Use char because int might match the return type of a GCC
10938 builtin and then its argument prototype would still apply. */
10951 rm -f conftest.$ac_objext conftest$ac_exeext
10952 if { (ac_try="$ac_link"
10953 case "(($ac_try" in
10954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10955 *) ac_try_echo=$ac_try;;
10957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10958 (eval "$ac_link") 2>conftest.er1
10960 grep -v '^ *+' conftest.er1 >conftest.err
10962 cat conftest.err >&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); } &&
10965 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10966 { (case "(($ac_try" in
10967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10968 *) ac_try_echo=$ac_try;;
10970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10971 (eval "$ac_try") 2>&5
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; } &&
10975 { ac_try='test -s conftest$ac_exeext'
10976 { (case "(($ac_try" in
10977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10978 *) ac_try_echo=$ac_try;;
10980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10981 (eval "$ac_try") 2>&5
10983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10984 (exit $ac_status); }; }; then
10985 ac_cv_lib_ncurses_waddch=yes
10987 echo "$as_me: failed program was:" >&5
10988 sed 's/^/| /' conftest.$ac_ext >&5
10990 ac_cv_lib_ncurses_waddch=no
10993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_lib_save_LIBS
10997 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10998 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10999 if test $ac_cv_lib_ncurses_waddch = yes; then
11001 cat >>confdefs.h <<\_ACEOF
11002 #define HAVE_LIBNCURSES 1
11005 CURSESLIBS="-lncurses"
11008 elif test "$ac_cv_header_curses_h" = "yes"
11010 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
11011 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
11012 if test "${ac_cv_lib_curses_waddch+set}" = set; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lcurses $LIBS"
11017 cat >conftest.$ac_ext <<_ACEOF
11020 cat confdefs.h >>conftest.$ac_ext
11021 cat >>conftest.$ac_ext <<_ACEOF
11022 /* end confdefs.h. */
11024 /* Override any GCC internal prototype to avoid an error.
11025 Use char because int might match the return type of a GCC
11026 builtin and then its argument prototype would still apply. */
11039 rm -f conftest.$ac_objext conftest$ac_exeext
11040 if { (ac_try="$ac_link"
11041 case "(($ac_try" in
11042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11043 *) ac_try_echo=$ac_try;;
11045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11046 (eval "$ac_link") 2>conftest.er1
11048 grep -v '^ *+' conftest.er1 >conftest.err
11050 cat conftest.err >&5
11051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11052 (exit $ac_status); } &&
11053 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11054 { (case "(($ac_try" in
11055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11056 *) ac_try_echo=$ac_try;;
11058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11059 (eval "$ac_try") 2>&5
11061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11062 (exit $ac_status); }; } &&
11063 { ac_try='test -s conftest$ac_exeext'
11064 { (case "(($ac_try" in
11065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11066 *) ac_try_echo=$ac_try;;
11068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11069 (eval "$ac_try") 2>&5
11071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11072 (exit $ac_status); }; }; then
11073 ac_cv_lib_curses_waddch=yes
11075 echo "$as_me: failed program was:" >&5
11076 sed 's/^/| /' conftest.$ac_ext >&5
11078 ac_cv_lib_curses_waddch=no
11081 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11086 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11087 if test $ac_cv_lib_curses_waddch = yes; then
11089 cat >>confdefs.h <<\_ACEOF
11090 #define HAVE_LIBCURSES 1
11093 CURSESLIBS="-lcurses"
11097 ac_save_LIBS="$LIBS"
11098 LIBS="$LIBS $CURSESLIBS"
11100 for ac_func in mousemask
11102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11103 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11105 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11106 echo $ECHO_N "(cached) $ECHO_C" >&6
11108 cat >conftest.$ac_ext <<_ACEOF
11111 cat confdefs.h >>conftest.$ac_ext
11112 cat >>conftest.$ac_ext <<_ACEOF
11113 /* end confdefs.h. */
11114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11116 #define $ac_func innocuous_$ac_func
11118 /* System header to define __stub macros and hopefully few prototypes,
11119 which can conflict with char $ac_func (); below.
11120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11121 <limits.h> exists even on freestanding compilers. */
11124 # include <limits.h>
11126 # include <assert.h>
11131 /* Override any GCC internal prototype to avoid an error.
11132 Use char because int might match the return type of a GCC
11133 builtin and then its argument prototype would still apply. */
11138 /* The GNU C library defines this for functions which it implements
11139 to always fail with ENOSYS. Some functions are actually named
11140 something starting with __ and the normal name is an alias. */
11141 #if defined __stub_$ac_func || defined __stub___$ac_func
11148 return $ac_func ();
11153 rm -f conftest.$ac_objext conftest$ac_exeext
11154 if { (ac_try="$ac_link"
11155 case "(($ac_try" in
11156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11157 *) ac_try_echo=$ac_try;;
11159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11160 (eval "$ac_link") 2>conftest.er1
11162 grep -v '^ *+' conftest.er1 >conftest.err
11164 cat conftest.err >&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); } &&
11167 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11168 { (case "(($ac_try" in
11169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11170 *) ac_try_echo=$ac_try;;
11172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11173 (eval "$ac_try") 2>&5
11175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11176 (exit $ac_status); }; } &&
11177 { ac_try='test -s conftest$ac_exeext'
11178 { (case "(($ac_try" in
11179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11180 *) ac_try_echo=$ac_try;;
11182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11183 (eval "$ac_try") 2>&5
11185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11186 (exit $ac_status); }; }; then
11187 eval "$as_ac_var=yes"
11189 echo "$as_me: failed program was:" >&5
11190 sed 's/^/| /' conftest.$ac_ext >&5
11192 eval "$as_ac_var=no"
11195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11196 conftest$ac_exeext conftest.$ac_ext
11198 ac_res=`eval echo '${'$as_ac_var'}'`
11199 { echo "$as_me:$LINENO: result: $ac_res" >&5
11200 echo "${ECHO_T}$ac_res" >&6; }
11201 if test `eval echo '${'$as_ac_var'}'` = yes; then
11202 cat >>confdefs.h <<_ACEOF
11203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11209 LIBS="$ac_save_LIBS"
11213 # Extract the first word of "sane-config", so it can be a program name with args.
11214 set dummy sane-config; ac_word=$2
11215 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11217 if test "${ac_cv_prog_sane_devel+set}" = set; then
11218 echo $ECHO_N "(cached) $ECHO_C" >&6
11220 if test -n "$sane_devel"; then
11221 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
11223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11224 for as_dir in $PATH
11227 test -z "$as_dir" && as_dir=.
11228 for ac_exec_ext in '' $ac_executable_extensions; do
11229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11230 ac_cv_prog_sane_devel="sane-config"
11231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11238 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
11241 sane_devel=$ac_cv_prog_sane_devel
11242 if test -n "$sane_devel"; then
11243 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11244 echo "${ECHO_T}$sane_devel" >&6; }
11246 { echo "$as_me:$LINENO: result: no" >&5
11247 echo "${ECHO_T}no" >&6; }
11255 if test "$sane_devel" != "no"
11257 SANELIBS="`$sane_devel --libs`"
11258 SANEINCL="`$sane_devel --cflags`"
11259 ac_save_CPPFLAGS="$CPPFLAGS"
11260 ac_save_LIBS="$LIBS"
11261 CPPFLAGS="$CPPFLAGS $SANEINCL"
11262 LIBS="$LIBS $SANELIBS"
11263 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11264 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11265 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11266 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11267 echo $ECHO_N "(cached) $ECHO_C" >&6
11269 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11270 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11272 # Is the header compilable?
11273 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11274 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11275 cat >conftest.$ac_ext <<_ACEOF
11278 cat confdefs.h >>conftest.$ac_ext
11279 cat >>conftest.$ac_ext <<_ACEOF
11280 /* end confdefs.h. */
11281 $ac_includes_default
11282 #include <sane/sane.h>
11284 rm -f conftest.$ac_objext
11285 if { (ac_try="$ac_compile"
11286 case "(($ac_try" in
11287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11288 *) ac_try_echo=$ac_try;;
11290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11291 (eval "$ac_compile") 2>conftest.er1
11293 grep -v '^ *+' conftest.er1 >conftest.err
11295 cat conftest.err >&5
11296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11297 (exit $ac_status); } &&
11298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11299 { (case "(($ac_try" in
11300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11301 *) ac_try_echo=$ac_try;;
11303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11304 (eval "$ac_try") 2>&5
11306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11307 (exit $ac_status); }; } &&
11308 { ac_try='test -s conftest.$ac_objext'
11309 { (case "(($ac_try" in
11310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11311 *) ac_try_echo=$ac_try;;
11313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11314 (eval "$ac_try") 2>&5
11316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11317 (exit $ac_status); }; }; then
11318 ac_header_compiler=yes
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11323 ac_header_compiler=no
11326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11327 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11328 echo "${ECHO_T}$ac_header_compiler" >&6; }
11330 # Is the header present?
11331 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11332 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11333 cat >conftest.$ac_ext <<_ACEOF
11336 cat confdefs.h >>conftest.$ac_ext
11337 cat >>conftest.$ac_ext <<_ACEOF
11338 /* end confdefs.h. */
11339 #include <sane/sane.h>
11341 if { (ac_try="$ac_cpp conftest.$ac_ext"
11342 case "(($ac_try" in
11343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11344 *) ac_try_echo=$ac_try;;
11346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11347 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11349 grep -v '^ *+' conftest.er1 >conftest.err
11351 cat conftest.err >&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); } >/dev/null; then
11354 if test -s conftest.err; then
11355 ac_cpp_err=$ac_c_preproc_warn_flag
11356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11363 if test -z "$ac_cpp_err"; then
11364 ac_header_preproc=yes
11366 echo "$as_me: failed program was:" >&5
11367 sed 's/^/| /' conftest.$ac_ext >&5
11369 ac_header_preproc=no
11372 rm -f conftest.err conftest.$ac_ext
11373 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11374 echo "${ECHO_T}$ac_header_preproc" >&6; }
11376 # So? What about this header?
11377 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11379 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11380 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11381 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11382 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11383 ac_header_preproc=yes
11386 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11387 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11388 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11389 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11390 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11391 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11392 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11393 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11394 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11395 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11396 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11397 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11399 ## ------------------------------------ ##
11400 ## Report this to wine-devel@winehq.org ##
11401 ## ------------------------------------ ##
11403 ) | sed "s/^/$as_me: WARNING: /" >&2
11406 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11407 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11408 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11409 echo $ECHO_N "(cached) $ECHO_C" >&6
11411 ac_cv_header_sane_sane_h=$ac_header_preproc
11413 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11414 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11417 if test $ac_cv_header_sane_sane_h = yes; then
11418 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11419 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11420 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11421 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 ac_check_lib_save_LIBS=$LIBS
11424 LIBS="-lsane $LIBS"
11425 cat >conftest.$ac_ext <<_ACEOF
11428 cat confdefs.h >>conftest.$ac_ext
11429 cat >>conftest.$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11442 return sane_open ();
11447 rm -f conftest.$ac_objext conftest$ac_exeext
11448 if { (ac_try="$ac_link"
11449 case "(($ac_try" in
11450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11451 *) ac_try_echo=$ac_try;;
11453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11454 (eval "$ac_link") 2>conftest.er1
11456 grep -v '^ *+' conftest.er1 >conftest.err
11458 cat conftest.err >&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } &&
11461 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11462 { (case "(($ac_try" in
11463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11464 *) ac_try_echo=$ac_try;;
11466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11467 (eval "$ac_try") 2>&5
11469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11470 (exit $ac_status); }; } &&
11471 { ac_try='test -s conftest$ac_exeext'
11472 { (case "(($ac_try" in
11473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11474 *) ac_try_echo=$ac_try;;
11476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11477 (eval "$ac_try") 2>&5
11479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11480 (exit $ac_status); }; }; then
11481 ac_cv_lib_sane_sane_open=yes
11483 echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.$ac_ext >&5
11486 ac_cv_lib_sane_sane_open=no
11489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_lib_save_LIBS
11493 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11494 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11495 if test $ac_cv_lib_sane_sane_open = yes; then
11497 cat >>confdefs.h <<\_ACEOF
11498 #define HAVE_SANE 1
11512 LIBS="$ac_save_LIBS"
11513 CPPFLAGS="$ac_save_CPPFLAGS"
11516 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11517 set dummy gphoto2-config; ac_word=$2
11518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11520 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11521 echo $ECHO_N "(cached) $ECHO_C" >&6
11523 if test -n "$gphoto2_devel"; then
11524 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11527 for as_dir in $PATH
11530 test -z "$as_dir" && as_dir=.
11531 for ac_exec_ext in '' $ac_executable_extensions; do
11532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11533 ac_cv_prog_gphoto2_devel="gphoto2-config"
11534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11541 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11544 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11545 if test -n "$gphoto2_devel"; then
11546 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11547 echo "${ECHO_T}$gphoto2_devel" >&6; }
11549 { echo "$as_me:$LINENO: result: no" >&5
11550 echo "${ECHO_T}no" >&6; }
11554 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11555 set dummy gphoto2-port-config; ac_word=$2
11556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11558 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11559 echo $ECHO_N "(cached) $ECHO_C" >&6
11561 if test -n "$gphoto2port_devel"; then
11562 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11565 for as_dir in $PATH
11568 test -z "$as_dir" && as_dir=.
11569 for ac_exec_ext in '' $ac_executable_extensions; do
11570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11571 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11579 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11582 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11583 if test -n "$gphoto2port_devel"; then
11584 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11585 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11587 { echo "$as_me:$LINENO: result: no" >&5
11588 echo "${ECHO_T}no" >&6; }
11596 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11598 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11600 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11603 -L/usr/lib|-L/usr/lib64) ;;
11604 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11607 ac_save_CPPFLAGS="$CPPFLAGS"
11608 ac_save_LIBS="$LIBS"
11609 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11610 LIBS="$LIBS $GPHOTO2LIBS"
11611 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11612 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11613 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11614 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11618 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11620 # Is the header compilable?
11621 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11622 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11623 cat >conftest.$ac_ext <<_ACEOF
11626 cat confdefs.h >>conftest.$ac_ext
11627 cat >>conftest.$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11629 $ac_includes_default
11630 #include <gphoto2-camera.h>
11632 rm -f conftest.$ac_objext
11633 if { (ac_try="$ac_compile"
11634 case "(($ac_try" in
11635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11636 *) ac_try_echo=$ac_try;;
11638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11639 (eval "$ac_compile") 2>conftest.er1
11641 grep -v '^ *+' conftest.er1 >conftest.err
11643 cat conftest.err >&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); } &&
11646 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11647 { (case "(($ac_try" in
11648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11649 *) ac_try_echo=$ac_try;;
11651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11652 (eval "$ac_try") 2>&5
11654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11655 (exit $ac_status); }; } &&
11656 { ac_try='test -s conftest.$ac_objext'
11657 { (case "(($ac_try" in
11658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11659 *) ac_try_echo=$ac_try;;
11661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11662 (eval "$ac_try") 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); }; }; then
11666 ac_header_compiler=yes
11668 echo "$as_me: failed program was:" >&5
11669 sed 's/^/| /' conftest.$ac_ext >&5
11671 ac_header_compiler=no
11674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11675 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11676 echo "${ECHO_T}$ac_header_compiler" >&6; }
11678 # Is the header present?
11679 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11680 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11681 cat >conftest.$ac_ext <<_ACEOF
11684 cat confdefs.h >>conftest.$ac_ext
11685 cat >>conftest.$ac_ext <<_ACEOF
11686 /* end confdefs.h. */
11687 #include <gphoto2-camera.h>
11689 if { (ac_try="$ac_cpp conftest.$ac_ext"
11690 case "(($ac_try" in
11691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11692 *) ac_try_echo=$ac_try;;
11694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11695 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11697 grep -v '^ *+' conftest.er1 >conftest.err
11699 cat conftest.err >&5
11700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11701 (exit $ac_status); } >/dev/null; then
11702 if test -s conftest.err; then
11703 ac_cpp_err=$ac_c_preproc_warn_flag
11704 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11711 if test -z "$ac_cpp_err"; then
11712 ac_header_preproc=yes
11714 echo "$as_me: failed program was:" >&5
11715 sed 's/^/| /' conftest.$ac_ext >&5
11717 ac_header_preproc=no
11720 rm -f conftest.err conftest.$ac_ext
11721 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11722 echo "${ECHO_T}$ac_header_preproc" >&6; }
11724 # So? What about this header?
11725 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11727 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11728 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11729 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11730 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11731 ac_header_preproc=yes
11734 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11735 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11736 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11737 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11738 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11739 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11740 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11741 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11742 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11743 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11744 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11745 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11747 ## ------------------------------------ ##
11748 ## Report this to wine-devel@winehq.org ##
11749 ## ------------------------------------ ##
11751 ) | sed "s/^/$as_me: WARNING: /" >&2
11754 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11755 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11756 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11761 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11762 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11765 if test $ac_cv_header_gphoto2_camera_h = yes; then
11766 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11767 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11768 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11769 echo $ECHO_N "(cached) $ECHO_C" >&6
11771 ac_check_lib_save_LIBS=$LIBS
11772 LIBS="-lgphoto2 $LIBS"
11773 cat >conftest.$ac_ext <<_ACEOF
11776 cat confdefs.h >>conftest.$ac_ext
11777 cat >>conftest.$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11780 /* Override any GCC internal prototype to avoid an error.
11781 Use char because int might match the return type of a GCC
11782 builtin and then its argument prototype would still apply. */
11786 char gp_camera_new ();
11790 return gp_camera_new ();
11795 rm -f conftest.$ac_objext conftest$ac_exeext
11796 if { (ac_try="$ac_link"
11797 case "(($ac_try" in
11798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11799 *) ac_try_echo=$ac_try;;
11801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11802 (eval "$ac_link") 2>conftest.er1
11804 grep -v '^ *+' conftest.er1 >conftest.err
11806 cat conftest.err >&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); } &&
11809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11810 { (case "(($ac_try" in
11811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11812 *) ac_try_echo=$ac_try;;
11814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11815 (eval "$ac_try") 2>&5
11817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11818 (exit $ac_status); }; } &&
11819 { ac_try='test -s conftest$ac_exeext'
11820 { (case "(($ac_try" in
11821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11822 *) ac_try_echo=$ac_try;;
11824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11825 (eval "$ac_try") 2>&5
11827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11828 (exit $ac_status); }; }; then
11829 ac_cv_lib_gphoto2_gp_camera_new=yes
11831 echo "$as_me: failed program was:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11834 ac_cv_lib_gphoto2_gp_camera_new=no
11837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11838 conftest$ac_exeext conftest.$ac_ext
11839 LIBS=$ac_check_lib_save_LIBS
11841 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11842 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11843 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11845 cat >>confdefs.h <<\_ACEOF
11846 #define HAVE_GPHOTO2 1
11860 LIBS="$ac_save_LIBS"
11861 CPPFLAGS="$ac_save_CPPFLAGS"
11864 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11867 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
11869 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
11870 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
11871 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11872 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11873 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11874 cat >conftest.$ac_ext <<_ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 #include <unicode/ubidi.h>
11889 rm -f conftest.$ac_objext conftest$ac_exeext
11890 if { (ac_try="$ac_link"
11891 case "(($ac_try" in
11892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11893 *) ac_try_echo=$ac_try;;
11895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11896 (eval "$ac_link") 2>conftest.er1
11898 grep -v '^ *+' conftest.er1 >conftest.err
11900 cat conftest.err >&5
11901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11902 (exit $ac_status); } &&
11903 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11904 { (case "(($ac_try" in
11905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11906 *) ac_try_echo=$ac_try;;
11908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11909 (eval "$ac_try") 2>&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 (exit $ac_status); }; } &&
11913 { ac_try='test -s conftest$ac_exeext'
11914 { (case "(($ac_try" in
11915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11916 *) ac_try_echo=$ac_try;;
11918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11919 (eval "$ac_try") 2>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11924 cat >>confdefs.h <<\_ACEOF
11928 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11930 { echo "$as_me:$LINENO: result: yes" >&5
11931 echo "${ECHO_T}yes" >&6; }
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11936 { echo "$as_me:$LINENO: result: no" >&5
11937 echo "${ECHO_T}no" >&6; }
11940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11941 conftest$ac_exeext conftest.$ac_ext
11948 if test "$ac_cv_header_resolv_h" = "yes"
11950 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11951 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11952 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11953 echo $ECHO_N "(cached) $ECHO_C" >&6
11955 ac_check_lib_save_LIBS=$LIBS
11956 LIBS="-lresolv $LIBS"
11957 cat >conftest.$ac_ext <<_ACEOF
11960 cat confdefs.h >>conftest.$ac_ext
11961 cat >>conftest.$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11964 /* Override any GCC internal prototype to avoid an error.
11965 Use char because int might match the return type of a GCC
11966 builtin and then its argument prototype would still apply. */
11974 return res_query ();
11979 rm -f conftest.$ac_objext conftest$ac_exeext
11980 if { (ac_try="$ac_link"
11981 case "(($ac_try" in
11982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11983 *) ac_try_echo=$ac_try;;
11985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11986 (eval "$ac_link") 2>conftest.er1
11988 grep -v '^ *+' conftest.er1 >conftest.err
11990 cat conftest.err >&5
11991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11992 (exit $ac_status); } &&
11993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11994 { (case "(($ac_try" in
11995 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11996 *) ac_try_echo=$ac_try;;
11998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11999 (eval "$ac_try") 2>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; } &&
12003 { ac_try='test -s conftest$ac_exeext'
12004 { (case "(($ac_try" in
12005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12006 *) ac_try_echo=$ac_try;;
12008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12009 (eval "$ac_try") 2>&5
12011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12012 (exit $ac_status); }; }; then
12013 ac_cv_lib_resolv_res_query=yes
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.$ac_ext >&5
12018 ac_cv_lib_resolv_res_query=no
12021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12022 conftest$ac_exeext conftest.$ac_ext
12023 LIBS=$ac_check_lib_save_LIBS
12025 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12026 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12027 if test $ac_cv_lib_resolv_res_query = yes; then
12029 cat >>confdefs.h <<\_ACEOF
12030 #define HAVE_RESOLV 1
12033 RESOLVLIBS="-lresolv"
12040 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12042 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12043 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12044 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 ac_check_lib_save_LIBS=$LIBS
12048 LIBS="-llcms $LIBS"
12049 cat >conftest.$ac_ext <<_ACEOF
12052 cat confdefs.h >>conftest.$ac_ext
12053 cat >>conftest.$ac_ext <<_ACEOF
12054 /* end confdefs.h. */
12056 /* Override any GCC internal prototype to avoid an error.
12057 Use char because int might match the return type of a GCC
12058 builtin and then its argument prototype would still apply. */
12062 char cmsOpenProfileFromFile ();
12066 return cmsOpenProfileFromFile ();
12071 rm -f conftest.$ac_objext conftest$ac_exeext
12072 if { (ac_try="$ac_link"
12073 case "(($ac_try" in
12074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12075 *) ac_try_echo=$ac_try;;
12077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12078 (eval "$ac_link") 2>conftest.er1
12080 grep -v '^ *+' conftest.er1 >conftest.err
12082 cat conftest.err >&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); } &&
12085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12086 { (case "(($ac_try" in
12087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12088 *) ac_try_echo=$ac_try;;
12090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12091 (eval "$ac_try") 2>&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); }; } &&
12095 { ac_try='test -s conftest$ac_exeext'
12096 { (case "(($ac_try" in
12097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12098 *) ac_try_echo=$ac_try;;
12100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12101 (eval "$ac_try") 2>&5
12103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12104 (exit $ac_status); }; }; then
12105 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12107 echo "$as_me: failed program was:" >&5
12108 sed 's/^/| /' conftest.$ac_ext >&5
12110 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12114 conftest$ac_exeext conftest.$ac_ext
12115 LIBS=$ac_check_lib_save_LIBS
12117 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12118 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12119 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12121 cat >>confdefs.h <<\_ACEOF
12122 #define HAVE_LCMS 1
12132 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12134 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12135 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12136 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12137 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 ac_check_lib_save_LIBS=$LIBS
12140 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12141 cat >conftest.$ac_ext <<_ACEOF
12144 cat confdefs.h >>conftest.$ac_ext
12145 cat >>conftest.$ac_ext <<_ACEOF
12146 /* end confdefs.h. */
12148 /* Override any GCC internal prototype to avoid an error.
12149 Use char because int might match the return type of a GCC
12150 builtin and then its argument prototype would still apply. */
12154 char ldap_initialize ();
12158 return ldap_initialize ();
12163 rm -f conftest.$ac_objext conftest$ac_exeext
12164 if { (ac_try="$ac_link"
12165 case "(($ac_try" in
12166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12167 *) ac_try_echo=$ac_try;;
12169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12170 (eval "$ac_link") 2>conftest.er1
12172 grep -v '^ *+' conftest.er1 >conftest.err
12174 cat conftest.err >&5
12175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12176 (exit $ac_status); } &&
12177 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12178 { (case "(($ac_try" in
12179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12180 *) ac_try_echo=$ac_try;;
12182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12183 (eval "$ac_try") 2>&5
12185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12186 (exit $ac_status); }; } &&
12187 { ac_try='test -s conftest$ac_exeext'
12188 { (case "(($ac_try" in
12189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12190 *) ac_try_echo=$ac_try;;
12192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12193 (eval "$ac_try") 2>&5
12195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12196 (exit $ac_status); }; }; then
12197 ac_cv_lib_ldap_r_ldap_initialize=yes
12199 echo "$as_me: failed program was:" >&5
12200 sed 's/^/| /' conftest.$ac_ext >&5
12202 ac_cv_lib_ldap_r_ldap_initialize=no
12205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12206 conftest$ac_exeext conftest.$ac_ext
12207 LIBS=$ac_check_lib_save_LIBS
12209 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12210 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12211 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12212 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12213 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12214 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12215 echo $ECHO_N "(cached) $ECHO_C" >&6
12217 ac_check_lib_save_LIBS=$LIBS
12218 LIBS="-llber $LIBPTHREAD $LIBS"
12219 cat >conftest.$ac_ext <<_ACEOF
12222 cat confdefs.h >>conftest.$ac_ext
12223 cat >>conftest.$ac_ext <<_ACEOF
12224 /* end confdefs.h. */
12226 /* Override any GCC internal prototype to avoid an error.
12227 Use char because int might match the return type of a GCC
12228 builtin and then its argument prototype would still apply. */
12236 return ber_init ();
12241 rm -f conftest.$ac_objext conftest$ac_exeext
12242 if { (ac_try="$ac_link"
12243 case "(($ac_try" in
12244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12245 *) ac_try_echo=$ac_try;;
12247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12248 (eval "$ac_link") 2>conftest.er1
12250 grep -v '^ *+' conftest.er1 >conftest.err
12252 cat conftest.err >&5
12253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12254 (exit $ac_status); } &&
12255 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12256 { (case "(($ac_try" in
12257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12258 *) ac_try_echo=$ac_try;;
12260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12261 (eval "$ac_try") 2>&5
12263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12264 (exit $ac_status); }; } &&
12265 { ac_try='test -s conftest$ac_exeext'
12266 { (case "(($ac_try" in
12267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12268 *) ac_try_echo=$ac_try;;
12270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12271 (eval "$ac_try") 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12275 ac_cv_lib_lber_ber_init=yes
12277 echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.$ac_ext >&5
12280 ac_cv_lib_lber_ber_init=no
12283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12284 conftest$ac_exeext conftest.$ac_ext
12285 LIBS=$ac_check_lib_save_LIBS
12287 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12288 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12289 if test $ac_cv_lib_lber_ber_init = yes; then
12291 cat >>confdefs.h <<\_ACEOF
12292 #define HAVE_LDAP 1
12295 LDAPLIBS="-lldap_r -llber"
12300 ac_wine_check_funcs_save_LIBS="$LIBS"
12301 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12307 ldap_count_references \
12308 ldap_first_reference \
12309 ldap_next_reference \
12310 ldap_parse_reference
12312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12313 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12315 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12316 echo $ECHO_N "(cached) $ECHO_C" >&6
12318 cat >conftest.$ac_ext <<_ACEOF
12321 cat confdefs.h >>conftest.$ac_ext
12322 cat >>conftest.$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12326 #define $ac_func innocuous_$ac_func
12328 /* System header to define __stub macros and hopefully few prototypes,
12329 which can conflict with char $ac_func (); below.
12330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12331 <limits.h> exists even on freestanding compilers. */
12334 # include <limits.h>
12336 # include <assert.h>
12341 /* Override any GCC internal prototype to avoid an error.
12342 Use char because int might match the return type of a GCC
12343 builtin and then its argument prototype would still apply. */
12348 /* The GNU C library defines this for functions which it implements
12349 to always fail with ENOSYS. Some functions are actually named
12350 something starting with __ and the normal name is an alias. */
12351 #if defined __stub_$ac_func || defined __stub___$ac_func
12358 return $ac_func ();
12363 rm -f conftest.$ac_objext conftest$ac_exeext
12364 if { (ac_try="$ac_link"
12365 case "(($ac_try" in
12366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12367 *) ac_try_echo=$ac_try;;
12369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12370 (eval "$ac_link") 2>conftest.er1
12372 grep -v '^ *+' conftest.er1 >conftest.err
12374 cat conftest.err >&5
12375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12376 (exit $ac_status); } &&
12377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12378 { (case "(($ac_try" in
12379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12380 *) ac_try_echo=$ac_try;;
12382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12383 (eval "$ac_try") 2>&5
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; } &&
12387 { ac_try='test -s conftest$ac_exeext'
12388 { (case "(($ac_try" in
12389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12390 *) ac_try_echo=$ac_try;;
12392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12393 (eval "$ac_try") 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 eval "$as_ac_var=yes"
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.$ac_ext >&5
12402 eval "$as_ac_var=no"
12405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12406 conftest$ac_exeext conftest.$ac_ext
12408 ac_res=`eval echo '${'$as_ac_var'}'`
12409 { echo "$as_me:$LINENO: result: $ac_res" >&5
12410 echo "${ECHO_T}$ac_res" >&6; }
12411 if test `eval echo '${'$as_ac_var'}'` = yes; then
12412 cat >>confdefs.h <<_ACEOF
12413 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12419 LIBS="$ac_wine_check_funcs_save_LIBS"
12426 # Extract the first word of "freetype-config", so it can be a program name with args.
12427 set dummy freetype-config; ac_word=$2
12428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12430 if test "${ac_cv_prog_ft_devel+set}" = set; then
12431 echo $ECHO_N "(cached) $ECHO_C" >&6
12433 if test -n "$ft_devel"; then
12434 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
12436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12437 for as_dir in $PATH
12440 test -z "$as_dir" && as_dir=.
12441 for ac_exec_ext in '' $ac_executable_extensions; do
12442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12443 ac_cv_prog_ft_devel="freetype-config"
12444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12451 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
12454 ft_devel=$ac_cv_prog_ft_devel
12455 if test -n "$ft_devel"; then
12456 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12457 echo "${ECHO_T}$ft_devel" >&6; }
12459 { echo "$as_me:$LINENO: result: no" >&5
12460 echo "${ECHO_T}no" >&6; }
12464 if test "$ft_devel" = "no"
12466 # Extract the first word of "freetype2-config", so it can be a program name with args.
12467 set dummy freetype2-config; ac_word=$2
12468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12470 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12471 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 if test -n "$ft_devel2"; then
12474 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
12476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12477 for as_dir in $PATH
12480 test -z "$as_dir" && as_dir=.
12481 for ac_exec_ext in '' $ac_executable_extensions; do
12482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12483 ac_cv_prog_ft_devel2="freetype2-config"
12484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12491 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
12494 ft_devel2=$ac_cv_prog_ft_devel2
12495 if test -n "$ft_devel2"; then
12496 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12497 echo "${ECHO_T}$ft_devel2" >&6; }
12499 { echo "$as_me:$LINENO: result: no" >&5
12500 echo "${ECHO_T}no" >&6; }
12504 if test "$ft_devel2" = "freetype2-config"
12506 ft_devel=$ft_devel2
12510 if test "$ft_devel" = "no"
12512 wine_cv_msg_freetype=yes
12514 FREETYPELIBS=`$ft_devel --libs`
12515 FREETYPEINCL=`$ft_devel --cflags`
12516 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12517 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12518 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12519 echo $ECHO_N "(cached) $ECHO_C" >&6
12521 ac_check_lib_save_LIBS=$LIBS
12522 LIBS="-lfreetype $FREETYPELIBS $LIBS"
12523 cat >conftest.$ac_ext <<_ACEOF
12526 cat confdefs.h >>conftest.$ac_ext
12527 cat >>conftest.$ac_ext <<_ACEOF
12528 /* end confdefs.h. */
12530 /* Override any GCC internal prototype to avoid an error.
12531 Use char because int might match the return type of a GCC
12532 builtin and then its argument prototype would still apply. */
12536 char FT_Init_FreeType ();
12540 return FT_Init_FreeType ();
12545 rm -f conftest.$ac_objext conftest$ac_exeext
12546 if { (ac_try="$ac_link"
12547 case "(($ac_try" in
12548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12549 *) ac_try_echo=$ac_try;;
12551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12552 (eval "$ac_link") 2>conftest.er1
12554 grep -v '^ *+' conftest.er1 >conftest.err
12556 cat conftest.err >&5
12557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } &&
12559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12560 { (case "(($ac_try" in
12561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12562 *) ac_try_echo=$ac_try;;
12564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12565 (eval "$ac_try") 2>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); }; } &&
12569 { ac_try='test -s conftest$ac_exeext'
12570 { (case "(($ac_try" in
12571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12572 *) ac_try_echo=$ac_try;;
12574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12575 (eval "$ac_try") 2>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); }; }; then
12579 ac_cv_lib_freetype_FT_Init_FreeType=yes
12581 echo "$as_me: failed program was:" >&5
12582 sed 's/^/| /' conftest.$ac_ext >&5
12584 ac_cv_lib_freetype_FT_Init_FreeType=no
12587 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12588 conftest$ac_exeext conftest.$ac_ext
12589 LIBS=$ac_check_lib_save_LIBS
12591 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12592 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12593 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12599 if test "$ft_lib" = "no"
12601 wine_cv_msg_freetype=yes
12605 ac_save_CPPFLAGS="$CPPFLAGS"
12606 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12618 for ac_header in ft2build.h \
12619 freetype/freetype.h \
12620 freetype/ftglyph.h \
12621 freetype/tttables.h \
12622 freetype/ftnames.h \
12623 freetype/ftsnames.h \
12624 freetype/ttnameid.h \
12625 freetype/ftoutln.h \
12626 freetype/ftwinfnt.h \
12627 freetype/ftmodapi.h \
12628 freetype/internal/sfnt.h
12630 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12631 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12632 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12633 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12636 cat >conftest.$ac_ext <<_ACEOF
12639 cat confdefs.h >>conftest.$ac_ext
12640 cat >>conftest.$ac_ext <<_ACEOF
12641 /* end confdefs.h. */
12642 #if HAVE_FT2BUILD_H
12643 #include <ft2build.h>
12646 #include <$ac_header>
12648 rm -f conftest.$ac_objext
12649 if { (ac_try="$ac_compile"
12650 case "(($ac_try" in
12651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12652 *) ac_try_echo=$ac_try;;
12654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12655 (eval "$ac_compile") 2>conftest.er1
12657 grep -v '^ *+' conftest.er1 >conftest.err
12659 cat conftest.err >&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); } &&
12662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12663 { (case "(($ac_try" in
12664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12665 *) ac_try_echo=$ac_try;;
12667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12668 (eval "$ac_try") 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; } &&
12672 { ac_try='test -s conftest.$ac_objext'
12673 { (case "(($ac_try" in
12674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12675 *) ac_try_echo=$ac_try;;
12677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12678 (eval "$ac_try") 2>&5
12680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12681 (exit $ac_status); }; }; then
12682 eval "$as_ac_Header=yes"
12684 echo "$as_me: failed program was:" >&5
12685 sed 's/^/| /' conftest.$ac_ext >&5
12687 eval "$as_ac_Header=no"
12690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12692 ac_res=`eval echo '${'$as_ac_Header'}'`
12693 { echo "$as_me:$LINENO: result: $ac_res" >&5
12694 echo "${ECHO_T}$ac_res" >&6; }
12695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12696 cat >>confdefs.h <<_ACEOF
12697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12704 cat >conftest.$ac_ext <<_ACEOF
12707 cat confdefs.h >>conftest.$ac_ext
12708 cat >>conftest.$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12710 #include <ft2build.h>
12711 #include <freetype/fttrigon.h>
12713 if { (ac_try="$ac_cpp conftest.$ac_ext"
12714 case "(($ac_try" in
12715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12716 *) ac_try_echo=$ac_try;;
12718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12721 grep -v '^ *+' conftest.er1 >conftest.err
12723 cat conftest.err >&5
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); } >/dev/null; then
12726 if test -s conftest.err; then
12727 ac_cpp_err=$ac_c_preproc_warn_flag
12728 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12735 if test -z "$ac_cpp_err"; then
12737 cat >>confdefs.h <<\_ACEOF
12738 #define HAVE_FREETYPE_FTTRIGON_H 1
12741 wine_cv_fttrigon=yes
12743 echo "$as_me: failed program was:" >&5
12744 sed 's/^/| /' conftest.$ac_ext >&5
12746 wine_cv_fttrigon=no
12749 rm -f conftest.err conftest.$ac_ext
12750 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12751 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12752 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12753 echo $ECHO_N "(cached) $ECHO_C" >&6
12755 cat >conftest.$ac_ext <<_ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12761 #include <freetype/ftmodapi.h>
12763 typedef FT_TrueTypeEngineType ac__type_new_;
12767 if ((ac__type_new_ *) 0)
12769 if (sizeof (ac__type_new_))
12775 rm -f conftest.$ac_objext
12776 if { (ac_try="$ac_compile"
12777 case "(($ac_try" in
12778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12779 *) ac_try_echo=$ac_try;;
12781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12782 (eval "$ac_compile") 2>conftest.er1
12784 grep -v '^ *+' conftest.er1 >conftest.err
12786 cat conftest.err >&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } &&
12789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12790 { (case "(($ac_try" in
12791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12792 *) ac_try_echo=$ac_try;;
12794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12795 (eval "$ac_try") 2>&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); }; } &&
12799 { ac_try='test -s conftest.$ac_objext'
12800 { (case "(($ac_try" in
12801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12802 *) ac_try_echo=$ac_try;;
12804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12805 (eval "$ac_try") 2>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; }; then
12809 ac_cv_type_FT_TrueTypeEngineType=yes
12811 echo "$as_me: failed program was:" >&5
12812 sed 's/^/| /' conftest.$ac_ext >&5
12814 ac_cv_type_FT_TrueTypeEngineType=no
12817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12819 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12820 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12821 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12823 cat >>confdefs.h <<_ACEOF
12824 #define HAVE_FT_TRUETYPEENGINETYPE 1
12830 ac_save_CFLAGS="$CFLAGS"
12831 CFLAGS="$CFLAGS $FREETYPELIBS"
12833 for ac_func in FT_Load_Sfnt_Table
12835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12836 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12838 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12839 echo $ECHO_N "(cached) $ECHO_C" >&6
12841 cat >conftest.$ac_ext <<_ACEOF
12844 cat confdefs.h >>conftest.$ac_ext
12845 cat >>conftest.$ac_ext <<_ACEOF
12846 /* end confdefs.h. */
12847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12849 #define $ac_func innocuous_$ac_func
12851 /* System header to define __stub macros and hopefully few prototypes,
12852 which can conflict with char $ac_func (); below.
12853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12854 <limits.h> exists even on freestanding compilers. */
12857 # include <limits.h>
12859 # include <assert.h>
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12871 /* The GNU C library defines this for functions which it implements
12872 to always fail with ENOSYS. Some functions are actually named
12873 something starting with __ and the normal name is an alias. */
12874 #if defined __stub_$ac_func || defined __stub___$ac_func
12881 return $ac_func ();
12886 rm -f conftest.$ac_objext conftest$ac_exeext
12887 if { (ac_try="$ac_link"
12888 case "(($ac_try" in
12889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12890 *) ac_try_echo=$ac_try;;
12892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12893 (eval "$ac_link") 2>conftest.er1
12895 grep -v '^ *+' conftest.er1 >conftest.err
12897 cat conftest.err >&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12901 { (case "(($ac_try" in
12902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12903 *) ac_try_echo=$ac_try;;
12905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12906 (eval "$ac_try") 2>&5
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try='test -s conftest$ac_exeext'
12911 { (case "(($ac_try" in
12912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12913 *) ac_try_echo=$ac_try;;
12915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12916 (eval "$ac_try") 2>&5
12918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12919 (exit $ac_status); }; }; then
12920 eval "$as_ac_var=yes"
12922 echo "$as_me: failed program was:" >&5
12923 sed 's/^/| /' conftest.$ac_ext >&5
12925 eval "$as_ac_var=no"
12928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12929 conftest$ac_exeext conftest.$ac_ext
12931 ac_res=`eval echo '${'$as_ac_var'}'`
12932 { echo "$as_me:$LINENO: result: $ac_res" >&5
12933 echo "${ECHO_T}$ac_res" >&6; }
12934 if test `eval echo '${'$as_ac_var'}'` = yes; then
12935 cat >>confdefs.h <<_ACEOF
12936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12942 CFLAGS="$ac_save_CFLAGS"
12943 CPPFLAGS="$ac_save_CPPFLAGS"
12944 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12947 cat >>confdefs.h <<\_ACEOF
12948 #define HAVE_FREETYPE 1
12951 wine_cv_msg_freetype=no
12955 wine_cv_msg_freetype=yes
12960 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12962 FONTSSUBDIRS="fonts"
12966 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12967 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12968 if test "${ac_cv_c_ppdev+set}" = set; then
12969 echo $ECHO_N "(cached) $ECHO_C" >&6
12971 cat >conftest.$ac_ext <<_ACEOF
12974 cat confdefs.h >>conftest.$ac_ext
12975 cat >>conftest.$ac_ext <<_ACEOF
12976 /* end confdefs.h. */
12977 #include <linux/ppdev.h>
12981 ioctl (1,PPCLAIM,0)
12986 rm -f conftest.$ac_objext
12987 if { (ac_try="$ac_compile"
12988 case "(($ac_try" in
12989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12990 *) ac_try_echo=$ac_try;;
12992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12993 (eval "$ac_compile") 2>conftest.er1
12995 grep -v '^ *+' conftest.er1 >conftest.err
12997 cat conftest.err >&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); } &&
13000 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13001 { (case "(($ac_try" in
13002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13003 *) ac_try_echo=$ac_try;;
13005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13006 (eval "$ac_try") 2>&5
13008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13009 (exit $ac_status); }; } &&
13010 { ac_try='test -s conftest.$ac_objext'
13011 { (case "(($ac_try" in
13012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13013 *) ac_try_echo=$ac_try;;
13015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13016 (eval "$ac_try") 2>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; }; then
13020 ac_cv_c_ppdev="yes"
13022 echo "$as_me: failed program was:" >&5
13023 sed 's/^/| /' conftest.$ac_ext >&5
13028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13031 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13032 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13033 if test "$ac_cv_c_ppdev" = "yes"
13036 cat >>confdefs.h <<\_ACEOF
13037 #define HAVE_PPDEV 1
13042 { echo "$as_me:$LINENO: checking for va_copy" >&5
13043 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13044 if test "${ac_cv_c_va_copy+set}" = set; then
13045 echo $ECHO_N "(cached) $ECHO_C" >&6
13047 cat >conftest.$ac_ext <<_ACEOF
13050 cat confdefs.h >>conftest.$ac_ext
13051 cat >>conftest.$ac_ext <<_ACEOF
13052 /* end confdefs.h. */
13053 #include <stdarg.h>
13064 rm -f conftest.$ac_objext conftest$ac_exeext
13065 if { (ac_try="$ac_link"
13066 case "(($ac_try" in
13067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13068 *) ac_try_echo=$ac_try;;
13070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13071 (eval "$ac_link") 2>conftest.er1
13073 grep -v '^ *+' conftest.er1 >conftest.err
13075 cat conftest.err >&5
13076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13077 (exit $ac_status); } &&
13078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13079 { (case "(($ac_try" in
13080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13081 *) ac_try_echo=$ac_try;;
13083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13084 (eval "$ac_try") 2>&5
13086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13087 (exit $ac_status); }; } &&
13088 { ac_try='test -s conftest$ac_exeext'
13089 { (case "(($ac_try" in
13090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13091 *) ac_try_echo=$ac_try;;
13093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13094 (eval "$ac_try") 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 ac_cv_c_va_copy="yes"
13100 echo "$as_me: failed program was:" >&5
13101 sed 's/^/| /' conftest.$ac_ext >&5
13103 ac_cv_c_va_copy="no"
13106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13107 conftest$ac_exeext conftest.$ac_ext
13110 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13111 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13112 if test "$ac_cv_c_va_copy" = "yes"
13115 cat >>confdefs.h <<\_ACEOF
13116 #define HAVE_VA_COPY 1
13120 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13121 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13122 if test "${ac_cv_c___va_copy+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 cat >conftest.$ac_ext <<_ACEOF
13128 cat confdefs.h >>conftest.$ac_ext
13129 cat >>conftest.$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 #include <stdarg.h>
13136 __va_copy(ap1,ap2);
13142 rm -f conftest.$ac_objext conftest$ac_exeext
13143 if { (ac_try="$ac_link"
13144 case "(($ac_try" in
13145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13146 *) ac_try_echo=$ac_try;;
13148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13149 (eval "$ac_link") 2>conftest.er1
13151 grep -v '^ *+' conftest.er1 >conftest.err
13153 cat conftest.err >&5
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); } &&
13156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13157 { (case "(($ac_try" in
13158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13159 *) ac_try_echo=$ac_try;;
13161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13162 (eval "$ac_try") 2>&5
13164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13165 (exit $ac_status); }; } &&
13166 { ac_try='test -s conftest$ac_exeext'
13167 { (case "(($ac_try" in
13168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13169 *) ac_try_echo=$ac_try;;
13171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13172 (eval "$ac_try") 2>&5
13174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13175 (exit $ac_status); }; }; then
13176 ac_cv_c___va_copy="yes"
13178 echo "$as_me: failed program was:" >&5
13179 sed 's/^/| /' conftest.$ac_ext >&5
13181 ac_cv_c___va_copy="no"
13184 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13185 conftest$ac_exeext conftest.$ac_ext
13188 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13189 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13190 if test "$ac_cv_c___va_copy" = "yes"
13193 cat >>confdefs.h <<\_ACEOF
13194 #define HAVE___VA_COPY 1
13199 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13200 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13201 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13202 echo $ECHO_N "(cached) $ECHO_C" >&6
13204 cat >conftest.$ac_ext <<_ACEOF
13207 cat confdefs.h >>conftest.$ac_ext
13208 cat >>conftest.$ac_ext <<_ACEOF
13209 /* end confdefs.h. */
13210 #include <setjmp.h>
13215 sigsetjmp( buf, 1 );
13216 siglongjmp( buf, 1 );
13221 rm -f conftest.$ac_objext conftest$ac_exeext
13222 if { (ac_try="$ac_link"
13223 case "(($ac_try" in
13224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13225 *) ac_try_echo=$ac_try;;
13227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13228 (eval "$ac_link") 2>conftest.er1
13230 grep -v '^ *+' conftest.er1 >conftest.err
13232 cat conftest.err >&5
13233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13234 (exit $ac_status); } &&
13235 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13236 { (case "(($ac_try" in
13237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13241 (eval "$ac_try") 2>&5
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }; } &&
13245 { ac_try='test -s conftest$ac_exeext'
13246 { (case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_try") 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; }; then
13255 ac_cv_c_sigsetjmp="yes"
13257 echo "$as_me: failed program was:" >&5
13258 sed 's/^/| /' conftest.$ac_ext >&5
13260 ac_cv_c_sigsetjmp="no"
13263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13264 conftest$ac_exeext conftest.$ac_ext
13267 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13268 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13269 if test "$ac_cv_c_sigsetjmp" = "yes"
13272 cat >>confdefs.h <<\_ACEOF
13273 #define HAVE_SIGSETJMP 1
13278 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13279 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13280 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13281 echo $ECHO_N "(cached) $ECHO_C" >&6
13283 cat >conftest.$ac_ext <<_ACEOF
13286 cat confdefs.h >>conftest.$ac_ext
13287 cat >>conftest.$ac_ext <<_ACEOF
13288 /* end confdefs.h. */
13289 #define _GNU_SOURCE
13290 #include <pthread.h>
13292 typedef pthread_rwlock_t ac__type_new_;
13296 if ((ac__type_new_ *) 0)
13298 if (sizeof (ac__type_new_))
13304 rm -f conftest.$ac_objext
13305 if { (ac_try="$ac_compile"
13306 case "(($ac_try" in
13307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13308 *) ac_try_echo=$ac_try;;
13310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13311 (eval "$ac_compile") 2>conftest.er1
13313 grep -v '^ *+' conftest.er1 >conftest.err
13315 cat conftest.err >&5
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); } &&
13318 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13319 { (case "(($ac_try" in
13320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13321 *) ac_try_echo=$ac_try;;
13323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13324 (eval "$ac_try") 2>&5
13326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13327 (exit $ac_status); }; } &&
13328 { ac_try='test -s conftest.$ac_objext'
13329 { (case "(($ac_try" in
13330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13331 *) ac_try_echo=$ac_try;;
13333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13334 (eval "$ac_try") 2>&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; }; then
13338 ac_cv_type_pthread_rwlock_t=yes
13340 echo "$as_me: failed program was:" >&5
13341 sed 's/^/| /' conftest.$ac_ext >&5
13343 ac_cv_type_pthread_rwlock_t=no
13346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13348 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13349 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13350 if test $ac_cv_type_pthread_rwlock_t = yes; then
13352 cat >>confdefs.h <<_ACEOF
13353 #define HAVE_PTHREAD_RWLOCK_T 1
13358 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13359 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13360 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13361 echo $ECHO_N "(cached) $ECHO_C" >&6
13363 cat >conftest.$ac_ext <<_ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13369 #define _GNU_SOURCE
13370 #include <pthread.h>
13372 typedef pthread_rwlockattr_t ac__type_new_;
13376 if ((ac__type_new_ *) 0)
13378 if (sizeof (ac__type_new_))
13384 rm -f conftest.$ac_objext
13385 if { (ac_try="$ac_compile"
13386 case "(($ac_try" in
13387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13388 *) ac_try_echo=$ac_try;;
13390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13391 (eval "$ac_compile") 2>conftest.er1
13393 grep -v '^ *+' conftest.er1 >conftest.err
13395 cat conftest.err >&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13399 { (case "(($ac_try" in
13400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13401 *) ac_try_echo=$ac_try;;
13403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13404 (eval "$ac_try") 2>&5
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; } &&
13408 { ac_try='test -s conftest.$ac_objext'
13409 { (case "(($ac_try" in
13410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13411 *) ac_try_echo=$ac_try;;
13413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13414 (eval "$ac_try") 2>&5
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 ac_cv_type_pthread_rwlockattr_t=yes
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13423 ac_cv_type_pthread_rwlockattr_t=no
13426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13428 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13429 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13430 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13432 cat >>confdefs.h <<_ACEOF
13433 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13440 ac_wine_check_funcs_save_LIBS="$LIBS"
13441 LIBS="$LIBS $LIBPTHREAD"
13447 pthread_attr_get_np \
13448 pthread_getattr_np \
13449 pthread_get_stackaddr_np \
13450 pthread_get_stacksize_np
13452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13453 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13455 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13458 cat >conftest.$ac_ext <<_ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13466 #define $ac_func innocuous_$ac_func
13468 /* System header to define __stub macros and hopefully few prototypes,
13469 which can conflict with char $ac_func (); below.
13470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13471 <limits.h> exists even on freestanding compilers. */
13474 # include <limits.h>
13476 # include <assert.h>
13481 /* Override any GCC internal prototype to avoid an error.
13482 Use char because int might match the return type of a GCC
13483 builtin and then its argument prototype would still apply. */
13488 /* The GNU C library defines this for functions which it implements
13489 to always fail with ENOSYS. Some functions are actually named
13490 something starting with __ and the normal name is an alias. */
13491 #if defined __stub_$ac_func || defined __stub___$ac_func
13498 return $ac_func ();
13503 rm -f conftest.$ac_objext conftest$ac_exeext
13504 if { (ac_try="$ac_link"
13505 case "(($ac_try" in
13506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13507 *) ac_try_echo=$ac_try;;
13509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13510 (eval "$ac_link") 2>conftest.er1
13512 grep -v '^ *+' conftest.er1 >conftest.err
13514 cat conftest.err >&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13518 { (case "(($ac_try" in
13519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13520 *) ac_try_echo=$ac_try;;
13522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13523 (eval "$ac_try") 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; } &&
13527 { ac_try='test -s conftest$ac_exeext'
13528 { (case "(($ac_try" in
13529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13530 *) ac_try_echo=$ac_try;;
13532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13533 (eval "$ac_try") 2>&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); }; }; then
13537 eval "$as_ac_var=yes"
13539 echo "$as_me: failed program was:" >&5
13540 sed 's/^/| /' conftest.$ac_ext >&5
13542 eval "$as_ac_var=no"
13545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13546 conftest$ac_exeext conftest.$ac_ext
13548 ac_res=`eval echo '${'$as_ac_var'}'`
13549 { echo "$as_me:$LINENO: result: $ac_res" >&5
13550 echo "${ECHO_T}$ac_res" >&6; }
13551 if test `eval echo '${'$as_ac_var'}'` = yes; then
13552 cat >>confdefs.h <<_ACEOF
13553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13559 LIBS="$ac_wine_check_funcs_save_LIBS"
13561 # Extract the first word of "artsc-config", so it can be a program name with args.
13562 set dummy artsc-config; ac_word=$2
13563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13565 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13566 echo $ECHO_N "(cached) $ECHO_C" >&6
13568 case $ARTSCCONFIG in
13570 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
13573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13574 for as_dir in $PATH
13577 test -z "$as_dir" && as_dir=.
13578 for ac_exec_ext in '' $ac_executable_extensions; do
13579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13580 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
13581 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13591 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
13592 if test -n "$ARTSCCONFIG"; then
13593 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13594 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13596 { echo "$as_me:$LINENO: result: no" >&5
13597 echo "${ECHO_T}no" >&6; }
13601 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
13604 for i in `$ARTSCCONFIG --cflags`
13607 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
13611 for i in `$ARTSCCONFIG --libs`
13614 -L/usr/lib|-L/usr/lib64) ;;
13615 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
13618 save_CFLAGS="$CFLAGS"
13619 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
13620 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13621 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13622 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13623 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 ac_check_lib_save_LIBS=$LIBS
13626 LIBS="-lartsc $ARTSC_LIBS $LIBS"
13627 cat >conftest.$ac_ext <<_ACEOF
13630 cat confdefs.h >>conftest.$ac_ext
13631 cat >>conftest.$ac_ext <<_ACEOF
13632 /* end confdefs.h. */
13634 /* Override any GCC internal prototype to avoid an error.
13635 Use char because int might match the return type of a GCC
13636 builtin and then its argument prototype would still apply. */
13644 return arts_init ();
13649 rm -f conftest.$ac_objext conftest$ac_exeext
13650 if { (ac_try="$ac_link"
13651 case "(($ac_try" in
13652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13653 *) ac_try_echo=$ac_try;;
13655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13656 (eval "$ac_link") 2>conftest.er1
13658 grep -v '^ *+' conftest.er1 >conftest.err
13660 cat conftest.err >&5
13661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13662 (exit $ac_status); } &&
13663 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13664 { (case "(($ac_try" in
13665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13666 *) ac_try_echo=$ac_try;;
13668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13669 (eval "$ac_try") 2>&5
13671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13672 (exit $ac_status); }; } &&
13673 { ac_try='test -s conftest$ac_exeext'
13674 { (case "(($ac_try" in
13675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13676 *) ac_try_echo=$ac_try;;
13678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13679 (eval "$ac_try") 2>&5
13681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13682 (exit $ac_status); }; }; then
13683 ac_cv_lib_artsc_arts_init=yes
13685 echo "$as_me: failed program was:" >&5
13686 sed 's/^/| /' conftest.$ac_ext >&5
13688 ac_cv_lib_artsc_arts_init=no
13691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13692 conftest$ac_exeext conftest.$ac_ext
13693 LIBS=$ac_check_lib_save_LIBS
13695 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13696 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13697 if test $ac_cv_lib_artsc_arts_init = yes; then
13698 cat >conftest.$ac_ext <<_ACEOF
13701 cat confdefs.h >>conftest.$ac_ext
13702 cat >>conftest.$ac_ext <<_ACEOF
13703 /* end confdefs.h. */
13708 arts_stream_t stream;
13713 rm -f conftest.$ac_objext
13714 if { (ac_try="$ac_compile"
13715 case "(($ac_try" in
13716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13717 *) ac_try_echo=$ac_try;;
13719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13720 (eval "$ac_compile") 2>conftest.er1
13722 grep -v '^ *+' conftest.er1 >conftest.err
13724 cat conftest.err >&5
13725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13726 (exit $ac_status); } &&
13727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13728 { (case "(($ac_try" in
13729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13730 *) ac_try_echo=$ac_try;;
13732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13733 (eval "$ac_try") 2>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); }; } &&
13737 { ac_try='test -s conftest.$ac_objext'
13738 { (case "(($ac_try" in
13739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13740 *) ac_try_echo=$ac_try;;
13742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13743 (eval "$ac_try") 2>&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); }; }; then
13747 ARTSLIBS=$ARTSC_LIBS
13749 ARTSINCL=$ARTSC_CFLAGS
13752 cat >>confdefs.h <<\_ACEOF
13753 #define HAVE_ARTS 1
13757 echo "$as_me: failed program was:" >&5
13758 sed 's/^/| /' conftest.$ac_ext >&5
13763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13766 CFLAGS="$save_CFLAGS"
13769 # Extract the first word of "esd-config", so it can be a program name with args.
13770 set dummy esd-config; ac_word=$2
13771 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13772 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13773 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13774 echo $ECHO_N "(cached) $ECHO_C" >&6
13778 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
13781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13782 for as_dir in $PATH
13785 test -z "$as_dir" && as_dir=.
13786 for ac_exec_ext in '' $ac_executable_extensions; do
13787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13788 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
13789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13799 ESDCONFIG=$ac_cv_path_ESDCONFIG
13800 if test -n "$ESDCONFIG"; then
13801 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13802 echo "${ECHO_T}$ESDCONFIG" >&6; }
13804 { echo "$as_me:$LINENO: result: no" >&5
13805 echo "${ECHO_T}no" >&6; }
13809 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
13812 for i in `$ESDCONFIG --cflags`
13815 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
13818 ESD_LIBS=`$ESDCONFIG --libs`
13819 save_CFLAGS="$CFLAGS"
13820 CFLAGS="$CFLAGS $ESD_CFLAGS"
13821 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13822 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13823 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13824 echo $ECHO_N "(cached) $ECHO_C" >&6
13826 ac_check_lib_save_LIBS=$LIBS
13828 cat >conftest.$ac_ext <<_ACEOF
13831 cat confdefs.h >>conftest.$ac_ext
13832 cat >>conftest.$ac_ext <<_ACEOF
13833 /* end confdefs.h. */
13835 /* Override any GCC internal prototype to avoid an error.
13836 Use char because int might match the return type of a GCC
13837 builtin and then its argument prototype would still apply. */
13841 char esd_open_sound ();
13845 return esd_open_sound ();
13850 rm -f conftest.$ac_objext conftest$ac_exeext
13851 if { (ac_try="$ac_link"
13852 case "(($ac_try" in
13853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13854 *) ac_try_echo=$ac_try;;
13856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13857 (eval "$ac_link") 2>conftest.er1
13859 grep -v '^ *+' conftest.er1 >conftest.err
13861 cat conftest.err >&5
13862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13863 (exit $ac_status); } &&
13864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13865 { (case "(($ac_try" in
13866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13867 *) ac_try_echo=$ac_try;;
13869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13870 (eval "$ac_try") 2>&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); }; } &&
13874 { ac_try='test -s conftest$ac_exeext'
13875 { (case "(($ac_try" in
13876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13877 *) ac_try_echo=$ac_try;;
13879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13880 (eval "$ac_try") 2>&5
13882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13883 (exit $ac_status); }; }; then
13884 ac_cv_lib_esd_esd_open_sound=yes
13886 echo "$as_me: failed program was:" >&5
13887 sed 's/^/| /' conftest.$ac_ext >&5
13889 ac_cv_lib_esd_esd_open_sound=no
13892 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13893 conftest$ac_exeext conftest.$ac_ext
13894 LIBS=$ac_check_lib_save_LIBS
13896 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13897 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13898 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13901 ESDINCL=$ESD_CFLAGS
13904 cat >>confdefs.h <<\_ACEOF
13910 CFLAGS="$save_CFLAGS"
13915 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13917 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13918 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13919 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13920 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 ac_check_lib_save_LIBS=$LIBS
13923 LIBS="-lasound $LIBS"
13924 cat >conftest.$ac_ext <<_ACEOF
13927 cat confdefs.h >>conftest.$ac_ext
13928 cat >>conftest.$ac_ext <<_ACEOF
13929 /* end confdefs.h. */
13931 /* Override any GCC internal prototype to avoid an error.
13932 Use char because int might match the return type of a GCC
13933 builtin and then its argument prototype would still apply. */
13937 char snd_pcm_hw_params_get_access ();
13941 return snd_pcm_hw_params_get_access ();
13946 rm -f conftest.$ac_objext conftest$ac_exeext
13947 if { (ac_try="$ac_link"
13948 case "(($ac_try" in
13949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13950 *) ac_try_echo=$ac_try;;
13952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13953 (eval "$ac_link") 2>conftest.er1
13955 grep -v '^ *+' conftest.er1 >conftest.err
13957 cat conftest.err >&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
13960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13961 { (case "(($ac_try" in
13962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13963 *) ac_try_echo=$ac_try;;
13965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13966 (eval "$ac_try") 2>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); }; } &&
13970 { ac_try='test -s conftest$ac_exeext'
13971 { (case "(($ac_try" in
13972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13973 *) ac_try_echo=$ac_try;;
13975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13976 (eval "$ac_try") 2>&5
13978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13979 (exit $ac_status); }; }; then
13980 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
13982 echo "$as_me: failed program was:" >&5
13983 sed 's/^/| /' conftest.$ac_ext >&5
13985 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
13988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13989 conftest$ac_exeext conftest.$ac_ext
13990 LIBS=$ac_check_lib_save_LIBS
13992 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13993 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13994 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13995 cat >conftest.$ac_ext <<_ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14001 #ifdef HAVE_ALSA_ASOUNDLIB_H
14002 #include <alsa/asoundlib.h>
14003 #elif defined(HAVE_SYS_ASOUNDLIB_H)
14004 #include <sys/asoundlib.h>
14009 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
14014 rm -f conftest.$ac_objext
14015 if { (ac_try="$ac_compile"
14016 case "(($ac_try" in
14017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14018 *) ac_try_echo=$ac_try;;
14020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14021 (eval "$ac_compile") 2>conftest.er1
14023 grep -v '^ *+' conftest.er1 >conftest.err
14025 cat conftest.err >&5
14026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14027 (exit $ac_status); } &&
14028 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14029 { (case "(($ac_try" in
14030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14031 *) ac_try_echo=$ac_try;;
14033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14034 (eval "$ac_try") 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; } &&
14038 { ac_try='test -s conftest.$ac_objext'
14039 { (case "(($ac_try" in
14040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14041 *) ac_try_echo=$ac_try;;
14043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14044 (eval "$ac_try") 2>&5
14046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14047 (exit $ac_status); }; }; then
14049 cat >>confdefs.h <<\_ACEOF
14050 #define HAVE_ALSA 1
14053 ALSALIBS="-lasound"
14055 echo "$as_me: failed program was:" >&5
14056 sed 's/^/| /' conftest.$ac_ext >&5
14061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14069 if test "$ac_cv_header_libaudioio_h" = "yes"
14071 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14072 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14073 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14074 echo $ECHO_N "(cached) $ECHO_C" >&6
14076 ac_check_lib_save_LIBS=$LIBS
14077 LIBS="-laudioio $LIBS"
14078 cat >conftest.$ac_ext <<_ACEOF
14081 cat confdefs.h >>conftest.$ac_ext
14082 cat >>conftest.$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14085 /* Override any GCC internal prototype to avoid an error.
14086 Use char because int might match the return type of a GCC
14087 builtin and then its argument prototype would still apply. */
14091 char AudioIOGetVersion ();
14095 return AudioIOGetVersion ();
14100 rm -f conftest.$ac_objext conftest$ac_exeext
14101 if { (ac_try="$ac_link"
14102 case "(($ac_try" in
14103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14104 *) ac_try_echo=$ac_try;;
14106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14107 (eval "$ac_link") 2>conftest.er1
14109 grep -v '^ *+' conftest.er1 >conftest.err
14111 cat conftest.err >&5
14112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14113 (exit $ac_status); } &&
14114 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14115 { (case "(($ac_try" in
14116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14117 *) ac_try_echo=$ac_try;;
14119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14120 (eval "$ac_try") 2>&5
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; } &&
14124 { ac_try='test -s conftest$ac_exeext'
14125 { (case "(($ac_try" in
14126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14127 *) ac_try_echo=$ac_try;;
14129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14130 (eval "$ac_try") 2>&5
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 ac_cv_lib_audioio_AudioIOGetVersion=yes
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.$ac_ext >&5
14139 ac_cv_lib_audioio_AudioIOGetVersion=no
14142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14143 conftest$ac_exeext conftest.$ac_ext
14144 LIBS=$ac_check_lib_save_LIBS
14146 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14147 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14148 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14149 AUDIOIOLIBS="-laudioio"
14151 cat >>confdefs.h <<\_ACEOF
14152 #define HAVE_LIBAUDIOIO 1
14160 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14162 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14163 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14164 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14165 echo $ECHO_N "(cached) $ECHO_C" >&6
14167 ac_check_lib_save_LIBS=$LIBS
14168 LIBS="-lcapi20 $LIBS"
14169 cat >conftest.$ac_ext <<_ACEOF
14172 cat confdefs.h >>conftest.$ac_ext
14173 cat >>conftest.$ac_ext <<_ACEOF
14174 /* end confdefs.h. */
14176 /* Override any GCC internal prototype to avoid an error.
14177 Use char because int might match the return type of a GCC
14178 builtin and then its argument prototype would still apply. */
14182 char capi20_register ();
14186 return capi20_register ();
14191 rm -f conftest.$ac_objext conftest$ac_exeext
14192 if { (ac_try="$ac_link"
14193 case "(($ac_try" in
14194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14195 *) ac_try_echo=$ac_try;;
14197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14198 (eval "$ac_link") 2>conftest.er1
14200 grep -v '^ *+' conftest.er1 >conftest.err
14202 cat conftest.err >&5
14203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14204 (exit $ac_status); } &&
14205 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14206 { (case "(($ac_try" in
14207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14208 *) ac_try_echo=$ac_try;;
14210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14211 (eval "$ac_try") 2>&5
14213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214 (exit $ac_status); }; } &&
14215 { ac_try='test -s conftest$ac_exeext'
14216 { (case "(($ac_try" in
14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14218 *) ac_try_echo=$ac_try;;
14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14221 (eval "$ac_try") 2>&5
14223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14224 (exit $ac_status); }; }; then
14225 ac_cv_lib_capi20_capi20_register=yes
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.$ac_ext >&5
14230 ac_cv_lib_capi20_capi20_register=no
14233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14234 conftest$ac_exeext conftest.$ac_ext
14235 LIBS=$ac_check_lib_save_LIBS
14237 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14238 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14239 if test $ac_cv_lib_capi20_capi20_register = yes; then
14241 cat >>confdefs.h <<\_ACEOF
14242 #define HAVE_CAPI4LINUX 1
14252 if test "x${GCC}" = "xyes"
14254 EXTRACFLAGS="-Wall -pipe"
14256 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14257 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14258 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14259 echo $ECHO_N "(cached) $ECHO_C" >&6
14261 if test "$cross_compiling" = yes; then
14262 ac_cv_c_gcc_strength_bug="yes"
14264 cat >conftest.$ac_ext <<_ACEOF
14267 cat confdefs.h >>conftest.$ac_ext
14268 cat >>conftest.$ac_ext <<_ACEOF
14269 /* end confdefs.h. */
14271 int L[4] = {0,1,2,3};
14273 static int Array[3];
14274 unsigned int B = 3;
14276 for(i=0; i<B; i++) Array[i] = i - 3;
14277 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14280 exit( Array[1] != -2 || L[2] != 3);
14283 rm -f conftest$ac_exeext
14284 if { (ac_try="$ac_link"
14285 case "(($ac_try" in
14286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14287 *) ac_try_echo=$ac_try;;
14289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14290 (eval "$ac_link") 2>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14294 { (case "(($ac_try" in
14295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14296 *) ac_try_echo=$ac_try;;
14298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14299 (eval "$ac_try") 2>&5
14301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14302 (exit $ac_status); }; }; then
14303 ac_cv_c_gcc_strength_bug="no"
14305 echo "$as_me: program exited with status $ac_status" >&5
14306 echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.$ac_ext >&5
14309 ( exit $ac_status )
14310 ac_cv_c_gcc_strength_bug="yes"
14312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14317 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14318 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14319 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14321 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14325 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14326 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14327 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14328 echo $ECHO_N "(cached) $ECHO_C" >&6
14330 ac_wine_try_cflags_saved=$CFLAGS
14331 CFLAGS="$CFLAGS -fshort-wchar"
14332 cat >conftest.$ac_ext <<_ACEOF
14335 cat confdefs.h >>conftest.$ac_ext
14336 cat >>conftest.$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14347 rm -f conftest.$ac_objext conftest$ac_exeext
14348 if { (ac_try="$ac_link"
14349 case "(($ac_try" in
14350 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14351 *) ac_try_echo=$ac_try;;
14353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14354 (eval "$ac_link") 2>conftest.er1
14356 grep -v '^ *+' conftest.er1 >conftest.err
14358 cat conftest.err >&5
14359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14360 (exit $ac_status); } &&
14361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14362 { (case "(($ac_try" in
14363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14364 *) ac_try_echo=$ac_try;;
14366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14367 (eval "$ac_try") 2>&5
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try='test -s conftest$ac_exeext'
14372 { (case "(($ac_try" in
14373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14374 *) ac_try_echo=$ac_try;;
14376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14377 (eval "$ac_try") 2>&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14381 ac_cv_cflags__fshort_wchar=yes
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14386 ac_cv_cflags__fshort_wchar=no
14389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14390 conftest$ac_exeext conftest.$ac_ext
14391 CFLAGS=$ac_wine_try_cflags_saved
14393 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14394 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14395 if test $ac_cv_cflags__fshort_wchar = yes; then
14397 cat >>confdefs.h <<\_ACEOF
14398 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14403 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14404 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14405 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14406 echo $ECHO_N "(cached) $ECHO_C" >&6
14408 ac_wine_try_cflags_saved=$CFLAGS
14409 CFLAGS="$CFLAGS -fno-strict-aliasing"
14410 cat >conftest.$ac_ext <<_ACEOF
14413 cat confdefs.h >>conftest.$ac_ext
14414 cat >>conftest.$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14425 rm -f conftest.$ac_objext conftest$ac_exeext
14426 if { (ac_try="$ac_link"
14427 case "(($ac_try" in
14428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14429 *) ac_try_echo=$ac_try;;
14431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14432 (eval "$ac_link") 2>conftest.er1
14434 grep -v '^ *+' conftest.er1 >conftest.err
14436 cat conftest.err >&5
14437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14438 (exit $ac_status); } &&
14439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14440 { (case "(($ac_try" in
14441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14442 *) ac_try_echo=$ac_try;;
14444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14445 (eval "$ac_try") 2>&5
14447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14448 (exit $ac_status); }; } &&
14449 { ac_try='test -s conftest$ac_exeext'
14450 { (case "(($ac_try" in
14451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14452 *) ac_try_echo=$ac_try;;
14454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14455 (eval "$ac_try") 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; }; then
14459 ac_cv_cflags__fno_strict_aliasing=yes
14461 echo "$as_me: failed program was:" >&5
14462 sed 's/^/| /' conftest.$ac_ext >&5
14464 ac_cv_cflags__fno_strict_aliasing=no
14467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14468 conftest$ac_exeext conftest.$ac_ext
14469 CFLAGS=$ac_wine_try_cflags_saved
14471 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14472 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14473 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14474 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14477 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14478 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14479 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14480 echo $ECHO_N "(cached) $ECHO_C" >&6
14482 ac_wine_try_cflags_saved=$CFLAGS
14483 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14484 cat >conftest.$ac_ext <<_ACEOF
14487 cat confdefs.h >>conftest.$ac_ext
14488 cat >>conftest.$ac_ext <<_ACEOF
14489 /* end confdefs.h. */
14499 rm -f conftest.$ac_objext conftest$ac_exeext
14500 if { (ac_try="$ac_link"
14501 case "(($ac_try" in
14502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14503 *) ac_try_echo=$ac_try;;
14505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14506 (eval "$ac_link") 2>conftest.er1
14508 grep -v '^ *+' conftest.er1 >conftest.err
14510 cat conftest.err >&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); } &&
14513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14514 { (case "(($ac_try" in
14515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14516 *) ac_try_echo=$ac_try;;
14518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14519 (eval "$ac_try") 2>&5
14521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522 (exit $ac_status); }; } &&
14523 { ac_try='test -s conftest$ac_exeext'
14524 { (case "(($ac_try" in
14525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14526 *) ac_try_echo=$ac_try;;
14528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14529 (eval "$ac_try") 2>&5
14531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14532 (exit $ac_status); }; }; then
14533 ac_cv_cflags__Wdeclaration_after_statement=yes
14535 echo "$as_me: failed program was:" >&5
14536 sed 's/^/| /' conftest.$ac_ext >&5
14538 ac_cv_cflags__Wdeclaration_after_statement=no
14541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14542 conftest$ac_exeext conftest.$ac_ext
14543 CFLAGS=$ac_wine_try_cflags_saved
14545 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14546 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14547 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14548 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14551 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14552 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14553 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 ac_wine_try_cflags_saved=$CFLAGS
14557 CFLAGS="$CFLAGS -Wwrite-strings"
14558 cat >conftest.$ac_ext <<_ACEOF
14561 cat confdefs.h >>conftest.$ac_ext
14562 cat >>conftest.$ac_ext <<_ACEOF
14563 /* end confdefs.h. */
14573 rm -f conftest.$ac_objext conftest$ac_exeext
14574 if { (ac_try="$ac_link"
14575 case "(($ac_try" in
14576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14577 *) ac_try_echo=$ac_try;;
14579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14580 (eval "$ac_link") 2>conftest.er1
14582 grep -v '^ *+' conftest.er1 >conftest.err
14584 cat conftest.err >&5
14585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14586 (exit $ac_status); } &&
14587 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14588 { (case "(($ac_try" in
14589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14590 *) ac_try_echo=$ac_try;;
14592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14593 (eval "$ac_try") 2>&5
14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14596 (exit $ac_status); }; } &&
14597 { ac_try='test -s conftest$ac_exeext'
14598 { (case "(($ac_try" in
14599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14600 *) ac_try_echo=$ac_try;;
14602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14603 (eval "$ac_try") 2>&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); }; }; then
14607 ac_cv_cflags__Wwrite_strings=yes
14609 echo "$as_me: failed program was:" >&5
14610 sed 's/^/| /' conftest.$ac_ext >&5
14612 ac_cv_cflags__Wwrite_strings=no
14615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14616 conftest$ac_exeext conftest.$ac_ext
14617 CFLAGS=$ac_wine_try_cflags_saved
14619 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14620 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14621 if test $ac_cv_cflags__Wwrite_strings = yes; then
14622 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14626 saved_CFLAGS="$CFLAGS"
14627 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14628 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14629 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14630 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14633 cat >conftest.$ac_ext <<_ACEOF
14636 cat confdefs.h >>conftest.$ac_ext
14637 cat >>conftest.$ac_ext <<_ACEOF
14638 /* end confdefs.h. */
14639 #include <string.h>
14648 rm -f conftest.$ac_objext
14649 if { (ac_try="$ac_compile"
14650 case "(($ac_try" in
14651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14652 *) ac_try_echo=$ac_try;;
14654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14655 (eval "$ac_compile") 2>conftest.er1
14657 grep -v '^ *+' conftest.er1 >conftest.err
14659 cat conftest.err >&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); } &&
14662 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14663 { (case "(($ac_try" in
14664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14665 *) ac_try_echo=$ac_try;;
14667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14668 (eval "$ac_try") 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; } &&
14672 { ac_try='test -s conftest.$ac_objext'
14673 { (case "(($ac_try" in
14674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14675 *) ac_try_echo=$ac_try;;
14677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14678 (eval "$ac_try") 2>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; }; then
14682 ac_cv_c_string_h_warnings=no
14684 echo "$as_me: failed program was:" >&5
14685 sed 's/^/| /' conftest.$ac_ext >&5
14687 ac_cv_c_string_h_warnings=yes
14690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14692 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14693 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14694 CFLAGS="$saved_CFLAGS"
14695 if test "$ac_cv_c_string_h_warnings" = "no"
14697 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
14702 saved_CFLAGS="$CFLAGS"
14703 CFLAGS="$CFLAGS -Werror"
14704 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14705 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14706 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14707 echo $ECHO_N "(cached) $ECHO_C" >&6
14709 cat >conftest.$ac_ext <<_ACEOF
14712 cat confdefs.h >>conftest.$ac_ext
14713 cat >>conftest.$ac_ext <<_ACEOF
14714 /* end confdefs.h. */
14719 int iswlower(unsigned short);
14724 rm -f conftest.$ac_objext
14725 if { (ac_try="$ac_compile"
14726 case "(($ac_try" in
14727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14728 *) ac_try_echo=$ac_try;;
14730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14731 (eval "$ac_compile") 2>conftest.er1
14733 grep -v '^ *+' conftest.er1 >conftest.err
14735 cat conftest.err >&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14739 { (case "(($ac_try" in
14740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14741 *) ac_try_echo=$ac_try;;
14743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14744 (eval "$ac_try") 2>&5
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; } &&
14748 { ac_try='test -s conftest.$ac_objext'
14749 { (case "(($ac_try" in
14750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14751 *) ac_try_echo=$ac_try;;
14753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14754 (eval "$ac_try") 2>&5
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14758 ac_cv_c_builtin_wchar_ctype=no
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14763 ac_cv_c_builtin_wchar_ctype=yes
14766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14768 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14769 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14770 CFLAGS="$saved_CFLAGS"
14771 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14773 BUILTINFLAG="-fno-builtin"
14778 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14779 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14780 if test "${ac_cv_asm_func_def+set}" = set; then
14781 echo $ECHO_N "(cached) $ECHO_C" >&6
14783 cat >conftest.$ac_ext <<_ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14789 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"); }
14799 rm -f conftest.$ac_objext conftest$ac_exeext
14800 if { (ac_try="$ac_link"
14801 case "(($ac_try" in
14802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14803 *) ac_try_echo=$ac_try;;
14805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14806 (eval "$ac_link") 2>conftest.er1
14808 grep -v '^ *+' conftest.er1 >conftest.err
14810 cat conftest.err >&5
14811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14812 (exit $ac_status); } &&
14813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14814 { (case "(($ac_try" in
14815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14816 *) ac_try_echo=$ac_try;;
14818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14819 (eval "$ac_try") 2>&5
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; } &&
14823 { ac_try='test -s conftest$ac_exeext'
14824 { (case "(($ac_try" in
14825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14826 *) ac_try_echo=$ac_try;;
14828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14829 (eval "$ac_try") 2>&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); }; }; then
14833 ac_cv_asm_func_def=".def"
14835 echo "$as_me: failed program was:" >&5
14836 sed 's/^/| /' conftest.$ac_ext >&5
14838 cat >conftest.$ac_ext <<_ACEOF
14841 cat confdefs.h >>conftest.$ac_ext
14842 cat >>conftest.$ac_ext <<_ACEOF
14843 /* end confdefs.h. */
14844 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14854 rm -f conftest.$ac_objext conftest$ac_exeext
14855 if { (ac_try="$ac_link"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;;
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_link") 2>conftest.er1
14863 grep -v '^ *+' conftest.er1 >conftest.err
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } &&
14868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14869 { (case "(($ac_try" in
14870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14871 *) ac_try_echo=$ac_try;;
14873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14874 (eval "$ac_try") 2>&5
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; } &&
14878 { ac_try='test -s conftest$ac_exeext'
14879 { (case "(($ac_try" in
14880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14881 *) ac_try_echo=$ac_try;;
14883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14884 (eval "$ac_try") 2>&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); }; }; then
14888 ac_cv_asm_func_def=".type @function"
14890 echo "$as_me: failed program was:" >&5
14891 sed 's/^/| /' conftest.$ac_ext >&5
14893 cat >conftest.$ac_ext <<_ACEOF
14896 cat confdefs.h >>conftest.$ac_ext
14897 cat >>conftest.$ac_ext <<_ACEOF
14898 /* end confdefs.h. */
14899 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14909 rm -f conftest.$ac_objext conftest$ac_exeext
14910 if { (ac_try="$ac_link"
14911 case "(($ac_try" in
14912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14913 *) ac_try_echo=$ac_try;;
14915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14916 (eval "$ac_link") 2>conftest.er1
14918 grep -v '^ *+' conftest.er1 >conftest.err
14920 cat conftest.err >&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); } &&
14923 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14924 { (case "(($ac_try" in
14925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14926 *) ac_try_echo=$ac_try;;
14928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14929 (eval "$ac_try") 2>&5
14931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14932 (exit $ac_status); }; } &&
14933 { ac_try='test -s conftest$ac_exeext'
14934 { (case "(($ac_try" in
14935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14936 *) ac_try_echo=$ac_try;;
14938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14939 (eval "$ac_try") 2>&5
14941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14942 (exit $ac_status); }; }; then
14943 ac_cv_asm_func_def=".type 2"
14945 echo "$as_me: failed program was:" >&5
14946 sed 's/^/| /' conftest.$ac_ext >&5
14948 ac_cv_asm_func_def="unknown"
14951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14952 conftest$ac_exeext conftest.$ac_ext
14955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14956 conftest$ac_exeext conftest.$ac_ext
14959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14960 conftest$ac_exeext conftest.$ac_ext
14962 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14963 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14967 case "$ac_cv_asm_func_def" in
14969 cat >>confdefs.h <<\_ACEOF
14970 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14974 cat >>confdefs.h <<\_ACEOF
14975 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14979 cat >>confdefs.h <<\_ACEOF
14980 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14984 cat >>confdefs.h <<\_ACEOF
14985 #define __ASM_FUNC(name) ""
14991 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14992 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14993 if test "${ac_cv_c_extern_prefix+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 cat >conftest.$ac_ext <<_ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
15003 extern int ac_test;
15007 if (ac_test) return 1
15012 rm -f conftest.$ac_objext conftest$ac_exeext
15013 if { (ac_try="$ac_link"
15014 case "(($ac_try" in
15015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15016 *) ac_try_echo=$ac_try;;
15018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15019 (eval "$ac_link") 2>conftest.er1
15021 grep -v '^ *+' conftest.er1 >conftest.err
15023 cat conftest.err >&5
15024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15025 (exit $ac_status); } &&
15026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15027 { (case "(($ac_try" in
15028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15029 *) ac_try_echo=$ac_try;;
15031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15032 (eval "$ac_try") 2>&5
15034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035 (exit $ac_status); }; } &&
15036 { ac_try='test -s conftest$ac_exeext'
15037 { (case "(($ac_try" in
15038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15039 *) ac_try_echo=$ac_try;;
15041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15042 (eval "$ac_try") 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; }; then
15046 ac_cv_c_extern_prefix="yes"
15048 echo "$as_me: failed program was:" >&5
15049 sed 's/^/| /' conftest.$ac_ext >&5
15051 ac_cv_c_extern_prefix="no"
15054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15055 conftest$ac_exeext conftest.$ac_ext
15057 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15058 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15062 if test "$ac_cv_c_extern_prefix" = "yes"
15064 cat >>confdefs.h <<\_ACEOF
15065 #define __ASM_NAME(name) "_" name
15069 cat >>confdefs.h <<\_ACEOF
15070 #define __ASM_NAME(name) name
15078 DLLFLAGS="-D_REENTRANT"
15093 if test -n "$ac_tool_prefix"; then
15094 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15095 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15096 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15098 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15099 echo $ECHO_N "(cached) $ECHO_C" >&6
15101 if test -n "$DLLTOOL"; then
15102 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15105 for as_dir in $PATH
15108 test -z "$as_dir" && as_dir=.
15109 for ac_exec_ext in '' $ac_executable_extensions; do
15110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15111 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15121 DLLTOOL=$ac_cv_prog_DLLTOOL
15122 if test -n "$DLLTOOL"; then
15123 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15124 echo "${ECHO_T}$DLLTOOL" >&6; }
15126 { echo "$as_me:$LINENO: result: no" >&5
15127 echo "${ECHO_T}no" >&6; }
15132 if test -z "$ac_cv_prog_DLLTOOL"; then
15133 ac_ct_DLLTOOL=$DLLTOOL
15134 # Extract the first word of "dlltool", so it can be a program name with args.
15135 set dummy dlltool; ac_word=$2
15136 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15138 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15139 echo $ECHO_N "(cached) $ECHO_C" >&6
15141 if test -n "$ac_ct_DLLTOOL"; then
15142 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15145 for as_dir in $PATH
15148 test -z "$as_dir" && as_dir=.
15149 for ac_exec_ext in '' $ac_executable_extensions; do
15150 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15151 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15152 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15161 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15162 if test -n "$ac_ct_DLLTOOL"; then
15163 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15164 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15166 { echo "$as_me:$LINENO: result: no" >&5
15167 echo "${ECHO_T}no" >&6; }
15170 if test "x$ac_ct_DLLTOOL" = x; then
15173 case $cross_compiling:$ac_tool_warned in
15175 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15176 whose name does not start with the host triplet. If you think this
15177 configuration is useful to you, please write to autoconf@gnu.org." >&5
15178 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15179 whose name does not start with the host triplet. If you think this
15180 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15181 ac_tool_warned=yes ;;
15183 DLLTOOL=$ac_ct_DLLTOOL
15186 DLLTOOL="$ac_cv_prog_DLLTOOL"
15189 if test -n "$ac_tool_prefix"; then
15190 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15191 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15194 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 if test -n "$DLLWRAP"; then
15198 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15201 for as_dir in $PATH
15204 test -z "$as_dir" && as_dir=.
15205 for ac_exec_ext in '' $ac_executable_extensions; do
15206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15207 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15217 DLLWRAP=$ac_cv_prog_DLLWRAP
15218 if test -n "$DLLWRAP"; then
15219 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15220 echo "${ECHO_T}$DLLWRAP" >&6; }
15222 { echo "$as_me:$LINENO: result: no" >&5
15223 echo "${ECHO_T}no" >&6; }
15228 if test -z "$ac_cv_prog_DLLWRAP"; then
15229 ac_ct_DLLWRAP=$DLLWRAP
15230 # Extract the first word of "dllwrap", so it can be a program name with args.
15231 set dummy dllwrap; ac_word=$2
15232 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15234 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15235 echo $ECHO_N "(cached) $ECHO_C" >&6
15237 if test -n "$ac_ct_DLLWRAP"; then
15238 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15241 for as_dir in $PATH
15244 test -z "$as_dir" && as_dir=.
15245 for ac_exec_ext in '' $ac_executable_extensions; do
15246 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15247 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15257 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15258 if test -n "$ac_ct_DLLWRAP"; then
15259 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15260 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15262 { echo "$as_me:$LINENO: result: no" >&5
15263 echo "${ECHO_T}no" >&6; }
15266 if test "x$ac_ct_DLLWRAP" = x; then
15269 case $cross_compiling:$ac_tool_warned in
15271 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15272 whose name does not start with the host triplet. If you think this
15273 configuration is useful to you, please write to autoconf@gnu.org." >&5
15274 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15275 whose name does not start with the host triplet. If you think this
15276 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15277 ac_tool_warned=yes ;;
15279 DLLWRAP=$ac_ct_DLLWRAP
15282 DLLWRAP="$ac_cv_prog_DLLWRAP"
15285 if test "$DLLWRAP" = "false"; then
15297 DLLFLAGS="$DLLFLAGS -fPIC"
15298 LDDLLFLAGS="-bundle -multiply_defined suppress"
15299 LIBWINE_LDFLAGS="-multiply_defined suppress"
15300 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
15301 STRIP="$STRIP -u -r"
15302 COREFOUNDATIONLIB="-framework CoreFoundation"
15304 IOKITLIB="-framework IOKit -framework CoreFoundation"
15306 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15308 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
15310 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15313 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15315 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15320 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15322 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
15324 QUARTZFILES='$(QUARTZFILES)'
15328 DLLFLAGS="$DLLFLAGS -fPIC"
15330 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15331 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15332 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15333 echo $ECHO_N "(cached) $ECHO_C" >&6
15335 ac_wine_try_cflags_saved=$CFLAGS
15336 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15337 cat >conftest.$ac_ext <<_ACEOF
15340 rm -f conftest.$ac_objext conftest$ac_exeext
15341 if { (ac_try="$ac_link"
15342 case "(($ac_try" in
15343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15344 *) ac_try_echo=$ac_try;;
15346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15347 (eval "$ac_link") 2>conftest.er1
15349 grep -v '^ *+' conftest.er1 >conftest.err
15351 cat conftest.err >&5
15352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15353 (exit $ac_status); } &&
15354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15355 { (case "(($ac_try" in
15356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15357 *) ac_try_echo=$ac_try;;
15359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15360 (eval "$ac_try") 2>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; } &&
15364 { ac_try='test -s conftest$ac_exeext'
15365 { (case "(($ac_try" in
15366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15367 *) ac_try_echo=$ac_try;;
15369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15370 (eval "$ac_try") 2>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; }; then
15374 ac_cv_c_dll_gnuelf="yes"
15376 echo "$as_me: failed program was:" >&5
15377 sed 's/^/| /' conftest.$ac_ext >&5
15379 ac_cv_c_dll_gnuelf="no"
15382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15383 conftest$ac_exeext conftest.$ac_ext
15384 CFLAGS=$ac_wine_try_cflags_saved
15386 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15387 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15388 if test "$ac_cv_c_dll_gnuelf" = "yes"
15390 LDSHARED="\$(CC) -shared"
15391 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
15392 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15393 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15394 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15395 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 ac_wine_try_cflags_saved=$CFLAGS
15398 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15399 cat >conftest.$ac_ext <<_ACEOF
15402 cat confdefs.h >>conftest.$ac_ext
15403 cat >>conftest.$ac_ext <<_ACEOF
15404 /* end confdefs.h. */
15414 rm -f conftest.$ac_objext conftest$ac_exeext
15415 if { (ac_try="$ac_link"
15416 case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_link") 2>conftest.er1
15423 grep -v '^ *+' conftest.er1 >conftest.err
15425 cat conftest.err >&5
15426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15427 (exit $ac_status); } &&
15428 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15429 { (case "(($ac_try" in
15430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15431 *) ac_try_echo=$ac_try;;
15433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15434 (eval "$ac_try") 2>&5
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; } &&
15438 { ac_try='test -s conftest$ac_exeext'
15439 { (case "(($ac_try" in
15440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15441 *) ac_try_echo=$ac_try;;
15443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15444 (eval "$ac_try") 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; }; then
15448 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15456 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15457 conftest$ac_exeext conftest.$ac_ext
15458 CFLAGS=$ac_wine_try_cflags_saved
15460 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15461 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15462 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15463 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15465 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15466 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15467 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15468 echo $ECHO_N "(cached) $ECHO_C" >&6
15470 ac_wine_try_cflags_saved=$CFLAGS
15471 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15472 cat >conftest.$ac_ext <<_ACEOF
15475 cat confdefs.h >>conftest.$ac_ext
15476 cat >>conftest.$ac_ext <<_ACEOF
15477 /* end confdefs.h. */
15487 rm -f conftest.$ac_objext conftest$ac_exeext
15488 if { (ac_try="$ac_link"
15489 case "(($ac_try" in
15490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15491 *) ac_try_echo=$ac_try;;
15493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15494 (eval "$ac_link") 2>conftest.er1
15496 grep -v '^ *+' conftest.er1 >conftest.err
15498 cat conftest.err >&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); } &&
15501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15502 { (case "(($ac_try" in
15503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15504 *) ac_try_echo=$ac_try;;
15506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15507 (eval "$ac_try") 2>&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); }; } &&
15511 { ac_try='test -s conftest$ac_exeext'
15512 { (case "(($ac_try" in
15513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15514 *) ac_try_echo=$ac_try;;
15516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15517 (eval "$ac_try") 2>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }; }; then
15521 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
15523 echo "$as_me: failed program was:" >&5
15524 sed 's/^/| /' conftest.$ac_ext >&5
15526 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
15529 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15530 conftest$ac_exeext conftest.$ac_ext
15531 CFLAGS=$ac_wine_try_cflags_saved
15533 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15534 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15535 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15536 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15542 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15543 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15544 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15545 echo $ECHO_N "(cached) $ECHO_C" >&6
15547 ac_wine_try_cflags_saved=$CFLAGS
15548 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15549 cat >conftest.$ac_ext <<_ACEOF
15552 cat confdefs.h >>conftest.$ac_ext
15553 cat >>conftest.$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15564 rm -f conftest.$ac_objext conftest$ac_exeext
15565 if { (ac_try="$ac_link"
15566 case "(($ac_try" in
15567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15568 *) ac_try_echo=$ac_try;;
15570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15571 (eval "$ac_link") 2>conftest.er1
15573 grep -v '^ *+' conftest.er1 >conftest.err
15575 cat conftest.err >&5
15576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15577 (exit $ac_status); } &&
15578 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15579 { (case "(($ac_try" in
15580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15581 *) ac_try_echo=$ac_try;;
15583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15584 (eval "$ac_try") 2>&5
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } &&
15588 { ac_try='test -s conftest$ac_exeext'
15589 { (case "(($ac_try" in
15590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15591 *) ac_try_echo=$ac_try;;
15593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15594 (eval "$ac_try") 2>&5
15596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15597 (exit $ac_status); }; }; then
15598 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15603 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15607 conftest$ac_exeext conftest.$ac_ext
15608 CFLAGS=$ac_wine_try_cflags_saved
15610 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15611 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15612 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15613 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15617 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15618 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15619 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15620 echo $ECHO_N "(cached) $ECHO_C" >&6
15622 ac_wine_try_cflags_saved=$CFLAGS
15623 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15624 cat >conftest.$ac_ext <<_ACEOF
15627 cat confdefs.h >>conftest.$ac_ext
15628 cat >>conftest.$ac_ext <<_ACEOF
15629 /* end confdefs.h. */
15639 rm -f conftest.$ac_objext conftest$ac_exeext
15640 if { (ac_try="$ac_link"
15641 case "(($ac_try" in
15642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15643 *) ac_try_echo=$ac_try;;
15645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15646 (eval "$ac_link") 2>conftest.er1
15648 grep -v '^ *+' conftest.er1 >conftest.err
15650 cat conftest.err >&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15654 { (case "(($ac_try" in
15655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15656 *) ac_try_echo=$ac_try;;
15658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15659 (eval "$ac_try") 2>&5
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; } &&
15663 { ac_try='test -s conftest$ac_exeext'
15664 { (case "(($ac_try" in
15665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15666 *) ac_try_echo=$ac_try;;
15668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15669 (eval "$ac_try") 2>&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; }; then
15673 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15678 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
15681 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15682 conftest$ac_exeext conftest.$ac_ext
15683 CFLAGS=$ac_wine_try_cflags_saved
15685 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15686 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15687 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15688 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15692 echo '{ global: *; };' >conftest.map
15693 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15694 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15695 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 ac_wine_try_cflags_saved=$CFLAGS
15699 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15700 cat >conftest.$ac_ext <<_ACEOF
15703 cat confdefs.h >>conftest.$ac_ext
15704 cat >>conftest.$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15715 rm -f conftest.$ac_objext conftest$ac_exeext
15716 if { (ac_try="$ac_link"
15717 case "(($ac_try" in
15718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_link") 2>conftest.er1
15724 grep -v '^ *+' conftest.er1 >conftest.err
15726 cat conftest.err >&5
15727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15728 (exit $ac_status); } &&
15729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15730 { (case "(($ac_try" in
15731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15732 *) ac_try_echo=$ac_try;;
15734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15735 (eval "$ac_try") 2>&5
15737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15738 (exit $ac_status); }; } &&
15739 { ac_try='test -s conftest$ac_exeext'
15740 { (case "(($ac_try" in
15741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15742 *) ac_try_echo=$ac_try;;
15744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15745 (eval "$ac_try") 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; }; then
15749 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15754 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15758 conftest$ac_exeext conftest.$ac_ext
15759 CFLAGS=$ac_wine_try_cflags_saved
15761 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15762 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15763 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15764 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15769 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15770 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15771 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15772 echo $ECHO_N "(cached) $ECHO_C" >&6
15774 ac_wine_try_cflags_saved=$CFLAGS
15775 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15776 cat >conftest.$ac_ext <<_ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15791 rm -f conftest.$ac_objext conftest$ac_exeext
15792 if { (ac_try="$ac_link"
15793 case "(($ac_try" in
15794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15795 *) ac_try_echo=$ac_try;;
15797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15798 (eval "$ac_link") 2>conftest.er1
15800 grep -v '^ *+' conftest.er1 >conftest.err
15802 cat conftest.err >&5
15803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804 (exit $ac_status); } &&
15805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15806 { (case "(($ac_try" in
15807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15808 *) ac_try_echo=$ac_try;;
15810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15811 (eval "$ac_try") 2>&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); }; } &&
15815 { ac_try='test -s conftest$ac_exeext'
15816 { (case "(($ac_try" in
15817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15818 *) ac_try_echo=$ac_try;;
15820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15821 (eval "$ac_try") 2>&5
15823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15824 (exit $ac_status); }; }; then
15825 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
15827 echo "$as_me: failed program was:" >&5
15828 sed 's/^/| /' conftest.$ac_ext >&5
15830 ac_cv_cflags__fPIC__Wl___export_dynamic=no
15833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15834 conftest$ac_exeext conftest.$ac_ext
15835 CFLAGS=$ac_wine_try_cflags_saved
15837 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15838 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15839 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15840 LDEXECFLAGS="-Wl,--export-dynamic"
15845 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15846 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15847 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15848 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15851 ac_wine_try_cflags_saved=$CFLAGS
15852 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15853 cat >conftest.$ac_ext <<_ACEOF
15856 cat confdefs.h >>conftest.$ac_ext
15857 cat >>conftest.$ac_ext <<_ACEOF
15858 /* end confdefs.h. */
15868 rm -f conftest.$ac_objext conftest$ac_exeext
15869 if { (ac_try="$ac_link"
15870 case "(($ac_try" in
15871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15872 *) ac_try_echo=$ac_try;;
15874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15875 (eval "$ac_link") 2>conftest.er1
15877 grep -v '^ *+' conftest.er1 >conftest.err
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15883 { (case "(($ac_try" in
15884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15885 *) ac_try_echo=$ac_try;;
15887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15888 (eval "$ac_try") 2>&5
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; } &&
15892 { ac_try='test -s conftest$ac_exeext'
15893 { (case "(($ac_try" in
15894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15895 *) ac_try_echo=$ac_try;;
15897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15898 (eval "$ac_try") 2>&5
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15902 eval "$as_ac_var=yes"
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15907 eval "$as_ac_var=no"
15910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15911 conftest$ac_exeext conftest.$ac_ext
15912 CFLAGS=$ac_wine_try_cflags_saved
15914 ac_res=`eval echo '${'$as_ac_var'}'`
15915 { echo "$as_me:$LINENO: result: $ac_res" >&5
15916 echo "${ECHO_T}$ac_res" >&6; }
15917 if test `eval echo '${'$as_ac_var'}'` = yes; then
15918 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
15923 *i[3456789]86* | x86_64)
15924 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15925 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15926 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 ac_wine_try_cflags_saved=$CFLAGS
15930 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15931 cat >conftest.$ac_ext <<_ACEOF
15934 cat confdefs.h >>conftest.$ac_ext
15935 cat >>conftest.$ac_ext <<_ACEOF
15936 /* end confdefs.h. */
15946 rm -f conftest.$ac_objext conftest$ac_exeext
15947 if { (ac_try="$ac_link"
15948 case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_link") 2>conftest.er1
15955 grep -v '^ *+' conftest.er1 >conftest.err
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15959 (exit $ac_status); } &&
15960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15961 { (case "(($ac_try" in
15962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15963 *) ac_try_echo=$ac_try;;
15965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15966 (eval "$ac_try") 2>&5
15968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15969 (exit $ac_status); }; } &&
15970 { ac_try='test -s conftest$ac_exeext'
15971 { (case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_try") 2>&5
15978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15979 (exit $ac_status); }; }; then
15980 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
15982 echo "$as_me: failed program was:" >&5
15983 sed 's/^/| /' conftest.$ac_ext >&5
15985 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
15988 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15989 conftest$ac_exeext conftest.$ac_ext
15990 CFLAGS=$ac_wine_try_cflags_saved
15992 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
15993 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
15994 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
15995 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
16002 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
16003 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
16004 if test "${ac_cv_c_dll_unixware+set}" = set; then
16005 echo $ECHO_N "(cached) $ECHO_C" >&6
16007 ac_wine_try_cflags_saved=$CFLAGS
16008 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
16009 cat >conftest.$ac_ext <<_ACEOF
16012 rm -f conftest.$ac_objext conftest$ac_exeext
16013 if { (ac_try="$ac_link"
16014 case "(($ac_try" in
16015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16016 *) ac_try_echo=$ac_try;;
16018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16019 (eval "$ac_link") 2>conftest.er1
16021 grep -v '^ *+' conftest.er1 >conftest.err
16023 cat conftest.err >&5
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); } &&
16026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16027 { (case "(($ac_try" in
16028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16029 *) ac_try_echo=$ac_try;;
16031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16032 (eval "$ac_try") 2>&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; } &&
16036 { ac_try='test -s conftest$ac_exeext'
16037 { (case "(($ac_try" in
16038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16039 *) ac_try_echo=$ac_try;;
16041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16042 (eval "$ac_try") 2>&5
16044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16045 (exit $ac_status); }; }; then
16046 ac_cv_c_dll_unixware="yes"
16048 echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.$ac_ext >&5
16051 ac_cv_c_dll_unixware="no"
16054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16055 conftest$ac_exeext conftest.$ac_ext
16056 CFLAGS=$ac_wine_try_cflags_saved
16058 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16059 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16060 if test "$ac_cv_c_dll_unixware" = "yes"
16062 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16063 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16066 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16067 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16068 if test "${ac_cv_c_dll_hpux+set}" = set; then
16069 echo $ECHO_N "(cached) $ECHO_C" >&6
16071 ac_wine_try_cflags_saved=$CFLAGS
16072 CFLAGS="$CFLAGS -shared"
16073 cat >conftest.$ac_ext <<_ACEOF
16076 rm -f conftest.$ac_objext conftest$ac_exeext
16077 if { (ac_try="$ac_link"
16078 case "(($ac_try" in
16079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16080 *) ac_try_echo=$ac_try;;
16082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16083 (eval "$ac_link") 2>conftest.er1
16085 grep -v '^ *+' conftest.er1 >conftest.err
16087 cat conftest.err >&5
16088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16089 (exit $ac_status); } &&
16090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16091 { (case "(($ac_try" in
16092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16093 *) ac_try_echo=$ac_try;;
16095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16096 (eval "$ac_try") 2>&5
16098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16099 (exit $ac_status); }; } &&
16100 { ac_try='test -s conftest$ac_exeext'
16101 { (case "(($ac_try" in
16102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16103 *) ac_try_echo=$ac_try;;
16105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16106 (eval "$ac_try") 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 ac_cv_c_dll_hpux="yes"
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16115 ac_cv_c_dll_hpux="no"
16118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16119 conftest$ac_exeext conftest.$ac_ext
16120 CFLAGS=$ac_wine_try_cflags_saved
16122 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16123 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16124 if test "$ac_cv_c_dll_hpux" = "yes"
16128 LDDLLFLAGS="-shared -fPIC"
16129 LDSHARED="\$(CC) -shared"
16136 if test "$cross_compiling" = "no"
16138 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16140 # Extract the first word of "$ac_prog", so it can be a program name with args.
16141 set dummy $ac_prog; ac_word=$2
16142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16144 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16145 echo $ECHO_N "(cached) $ECHO_C" >&6
16147 if test -n "$CROSSCC"; then
16148 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
16150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16151 for as_dir in $PATH
16154 test -z "$as_dir" && as_dir=.
16155 for ac_exec_ext in '' $ac_executable_extensions; do
16156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16157 ac_cv_prog_CROSSCC="$ac_prog"
16158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16167 CROSSCC=$ac_cv_prog_CROSSCC
16168 if test -n "$CROSSCC"; then
16169 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16170 echo "${ECHO_T}$CROSSCC" >&6; }
16172 { echo "$as_me:$LINENO: result: no" >&5
16173 echo "${ECHO_T}no" >&6; }
16177 test -n "$CROSSCC" && break
16179 test -n "$CROSSCC" || CROSSCC="false"
16181 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16183 # Extract the first word of "$ac_prog", so it can be a program name with args.
16184 set dummy $ac_prog; ac_word=$2
16185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16187 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16188 echo $ECHO_N "(cached) $ECHO_C" >&6
16190 if test -n "$DLLTOOL"; then
16191 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16194 for as_dir in $PATH
16197 test -z "$as_dir" && as_dir=.
16198 for ac_exec_ext in '' $ac_executable_extensions; do
16199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16200 ac_cv_prog_DLLTOOL="$ac_prog"
16201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16210 DLLTOOL=$ac_cv_prog_DLLTOOL
16211 if test -n "$DLLTOOL"; then
16212 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16213 echo "${ECHO_T}$DLLTOOL" >&6; }
16215 { echo "$as_me:$LINENO: result: no" >&5
16216 echo "${ECHO_T}no" >&6; }
16220 test -n "$DLLTOOL" && break
16222 test -n "$DLLTOOL" || DLLTOOL="false"
16224 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16226 # Extract the first word of "$ac_prog", so it can be a program name with args.
16227 set dummy $ac_prog; ac_word=$2
16228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16230 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16231 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 if test -n "$CROSSWINDRES"; then
16234 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
16236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16237 for as_dir in $PATH
16240 test -z "$as_dir" && as_dir=.
16241 for ac_exec_ext in '' $ac_executable_extensions; do
16242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16243 ac_cv_prog_CROSSWINDRES="$ac_prog"
16244 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16253 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
16254 if test -n "$CROSSWINDRES"; then
16255 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16256 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16258 { echo "$as_me:$LINENO: result: no" >&5
16259 echo "${ECHO_T}no" >&6; }
16263 test -n "$CROSSWINDRES" && break
16265 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
16267 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
16272 if test "$LIBEXT" = "a"; then
16273 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16274 It is currently not possible to build Wine without shared library
16275 (.so) support to allow transparent switch between .so and .dll files.
16276 If you are using Linux, you will need a newer binutils.
16278 echo "$as_me: error: could not find a way to build shared libraries.
16279 It is currently not possible to build Wine without shared library
16280 (.so) support to allow transparent switch between .so and .dll files.
16281 If you are using Linux, you will need a newer binutils.
16283 { (exit 1); exit 1; }; }
16288 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16291 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16294 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16302 SOCKETLIBS="-lws2_32"
16307 MAIN_BINARY="wine-pthread"
16311 linux* | k*bsd*-gnu)
16312 MAIN_BINARY="wine-glibc"
16314 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
16321 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16323 # Extract the first word of "ldd", so it can be a program name with args.
16324 set dummy ldd; ac_word=$2
16325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16327 if test "${ac_cv_path_LDD+set}" = set; then
16328 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
16335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16336 as_dummy="/sbin:/usr/sbin:$PATH"
16337 for as_dir in $as_dummy
16340 test -z "$as_dir" && as_dir=.
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16351 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
16355 LDD=$ac_cv_path_LDD
16356 if test -n "$LDD"; then
16357 { echo "$as_me:$LINENO: result: $LDD" >&5
16358 echo "${ECHO_T}$LDD" >&6; }
16360 { echo "$as_me:$LINENO: result: no" >&5
16361 echo "${ECHO_T}no" >&6; }
16365 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16366 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16367 if test "${ac_cv_lib_soname_X11+set}" = set; then
16368 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 ac_get_soname_save_LIBS=$LIBS
16371 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16372 cat >conftest.$ac_ext <<_ACEOF
16375 cat confdefs.h >>conftest.$ac_ext
16376 cat >>conftest.$ac_ext <<_ACEOF
16377 /* end confdefs.h. */
16379 /* Override any GCC internal prototype to avoid an error.
16380 Use char because int might match the return type of a GCC
16381 builtin and then its argument prototype would still apply. */
16385 char XCreateWindow ();
16389 return XCreateWindow ();
16394 rm -f conftest.$ac_objext conftest$ac_exeext
16395 if { (ac_try="$ac_link"
16396 case "(($ac_try" in
16397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16398 *) ac_try_echo=$ac_try;;
16400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16401 (eval "$ac_link") 2>conftest.er1
16403 grep -v '^ *+' conftest.er1 >conftest.err
16405 cat conftest.err >&5
16406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16407 (exit $ac_status); } &&
16408 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16409 { (case "(($ac_try" in
16410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16411 *) ac_try_echo=$ac_try;;
16413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16414 (eval "$ac_try") 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; } &&
16418 { ac_try='test -s conftest$ac_exeext'
16419 { (case "(($ac_try" in
16420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16421 *) ac_try_echo=$ac_try;;
16423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16424 (eval "$ac_try") 2>&5
16426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16427 (exit $ac_status); }; }; then
16429 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'` ;;
16430 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16432 if test "x$ac_cv_lib_soname_X11" = "x"
16434 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16437 echo "$as_me: failed program was:" >&5
16438 sed 's/^/| /' conftest.$ac_ext >&5
16440 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16444 conftest$ac_exeext conftest.$ac_ext
16445 LIBS=$ac_get_soname_save_LIBS
16447 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16448 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16449 if test "${ac_cv_lib_soname_X11+set}" = set; then
16451 cat >>confdefs.h <<_ACEOF
16452 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16457 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16458 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16459 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16460 echo $ECHO_N "(cached) $ECHO_C" >&6
16462 ac_get_soname_save_LIBS=$LIBS
16463 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16464 cat >conftest.$ac_ext <<_ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16471 /* Override any GCC internal prototype to avoid an error.
16472 Use char because int might match the return type of a GCC
16473 builtin and then its argument prototype would still apply. */
16477 char XextCreateExtension ();
16481 return XextCreateExtension ();
16486 rm -f conftest.$ac_objext conftest$ac_exeext
16487 if { (ac_try="$ac_link"
16488 case "(($ac_try" in
16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490 *) ac_try_echo=$ac_try;;
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_link") 2>conftest.er1
16495 grep -v '^ *+' conftest.er1 >conftest.err
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } &&
16500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16501 { (case "(($ac_try" in
16502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16503 *) ac_try_echo=$ac_try;;
16505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16506 (eval "$ac_try") 2>&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); }; } &&
16510 { ac_try='test -s conftest$ac_exeext'
16511 { (case "(($ac_try" in
16512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16513 *) ac_try_echo=$ac_try;;
16515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16516 (eval "$ac_try") 2>&5
16518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16519 (exit $ac_status); }; }; then
16521 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'` ;;
16522 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16524 if test "x$ac_cv_lib_soname_Xext" = "x"
16526 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16529 echo "$as_me: failed program was:" >&5
16530 sed 's/^/| /' conftest.$ac_ext >&5
16532 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
16535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16536 conftest$ac_exeext conftest.$ac_ext
16537 LIBS=$ac_get_soname_save_LIBS
16539 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16540 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16541 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16543 cat >>confdefs.h <<_ACEOF
16544 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16549 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16550 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16551 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 ac_get_soname_save_LIBS=$LIBS
16555 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16556 cat >conftest.$ac_ext <<_ACEOF
16559 cat confdefs.h >>conftest.$ac_ext
16560 cat >>conftest.$ac_ext <<_ACEOF
16561 /* end confdefs.h. */
16563 /* Override any GCC internal prototype to avoid an error.
16564 Use char because int might match the return type of a GCC
16565 builtin and then its argument prototype would still apply. */
16569 char XOpenDevice ();
16573 return XOpenDevice ();
16578 rm -f conftest.$ac_objext conftest$ac_exeext
16579 if { (ac_try="$ac_link"
16580 case "(($ac_try" in
16581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16582 *) ac_try_echo=$ac_try;;
16584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16585 (eval "$ac_link") 2>conftest.er1
16587 grep -v '^ *+' conftest.er1 >conftest.err
16589 cat conftest.err >&5
16590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16591 (exit $ac_status); } &&
16592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16593 { (case "(($ac_try" in
16594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16595 *) ac_try_echo=$ac_try;;
16597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16598 (eval "$ac_try") 2>&5
16600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16601 (exit $ac_status); }; } &&
16602 { ac_try='test -s conftest$ac_exeext'
16603 { (case "(($ac_try" in
16604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16605 *) ac_try_echo=$ac_try;;
16607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16608 (eval "$ac_try") 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; }; then
16613 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'` ;;
16614 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16616 if test "x$ac_cv_lib_soname_Xi" = "x"
16618 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16621 echo "$as_me: failed program was:" >&5
16622 sed 's/^/| /' conftest.$ac_ext >&5
16624 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16628 conftest$ac_exeext conftest.$ac_ext
16629 LIBS=$ac_get_soname_save_LIBS
16631 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16632 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16633 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16635 cat >>confdefs.h <<_ACEOF
16636 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16641 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16642 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16643 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16644 echo $ECHO_N "(cached) $ECHO_C" >&6
16646 ac_get_soname_save_LIBS=$LIBS
16647 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16648 cat >conftest.$ac_ext <<_ACEOF
16651 cat confdefs.h >>conftest.$ac_ext
16652 cat >>conftest.$ac_ext <<_ACEOF
16653 /* end confdefs.h. */
16655 /* Override any GCC internal prototype to avoid an error.
16656 Use char because int might match the return type of a GCC
16657 builtin and then its argument prototype would still apply. */
16661 char XineramaQueryScreens ();
16665 return XineramaQueryScreens ();
16670 rm -f conftest.$ac_objext conftest$ac_exeext
16671 if { (ac_try="$ac_link"
16672 case "(($ac_try" in
16673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16674 *) ac_try_echo=$ac_try;;
16676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16677 (eval "$ac_link") 2>conftest.er1
16679 grep -v '^ *+' conftest.er1 >conftest.err
16681 cat conftest.err >&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); } &&
16684 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16685 { (case "(($ac_try" in
16686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16687 *) ac_try_echo=$ac_try;;
16689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16690 (eval "$ac_try") 2>&5
16692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16693 (exit $ac_status); }; } &&
16694 { ac_try='test -s conftest$ac_exeext'
16695 { (case "(($ac_try" in
16696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16697 *) ac_try_echo=$ac_try;;
16699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16700 (eval "$ac_try") 2>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; }; then
16705 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'` ;;
16706 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16708 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16710 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.$ac_ext >&5
16716 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
16719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16720 conftest$ac_exeext conftest.$ac_ext
16721 LIBS=$ac_get_soname_save_LIBS
16723 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16724 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16725 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16727 cat >>confdefs.h <<_ACEOF
16728 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16733 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16734 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16735 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 ac_get_soname_save_LIBS=$LIBS
16739 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16740 cat >conftest.$ac_ext <<_ACEOF
16743 cat confdefs.h >>conftest.$ac_ext
16744 cat >>conftest.$ac_ext <<_ACEOF
16745 /* end confdefs.h. */
16747 /* Override any GCC internal prototype to avoid an error.
16748 Use char because int might match the return type of a GCC
16749 builtin and then its argument prototype would still apply. */
16753 char XRenderQueryExtension ();
16757 return XRenderQueryExtension ();
16762 rm -f conftest.$ac_objext conftest$ac_exeext
16763 if { (ac_try="$ac_link"
16764 case "(($ac_try" in
16765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16766 *) ac_try_echo=$ac_try;;
16768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16769 (eval "$ac_link") 2>conftest.er1
16771 grep -v '^ *+' conftest.er1 >conftest.err
16773 cat conftest.err >&5
16774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775 (exit $ac_status); } &&
16776 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16777 { (case "(($ac_try" in
16778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16779 *) ac_try_echo=$ac_try;;
16781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16782 (eval "$ac_try") 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest$ac_exeext'
16787 { (case "(($ac_try" in
16788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16789 *) ac_try_echo=$ac_try;;
16791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16792 (eval "$ac_try") 2>&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); }; }; then
16797 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'` ;;
16798 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16800 if test "x$ac_cv_lib_soname_Xrender" = "x"
16802 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16805 echo "$as_me: failed program was:" >&5
16806 sed 's/^/| /' conftest.$ac_ext >&5
16808 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16812 conftest$ac_exeext conftest.$ac_ext
16813 LIBS=$ac_get_soname_save_LIBS
16815 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16816 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16817 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16819 cat >>confdefs.h <<_ACEOF
16820 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16825 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16826 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16827 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16828 echo $ECHO_N "(cached) $ECHO_C" >&6
16830 ac_get_soname_save_LIBS=$LIBS
16831 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16832 cat >conftest.$ac_ext <<_ACEOF
16835 cat confdefs.h >>conftest.$ac_ext
16836 cat >>conftest.$ac_ext <<_ACEOF
16837 /* end confdefs.h. */
16839 /* Override any GCC internal prototype to avoid an error.
16840 Use char because int might match the return type of a GCC
16841 builtin and then its argument prototype would still apply. */
16845 char XRRQueryExtension ();
16849 return XRRQueryExtension ();
16854 rm -f conftest.$ac_objext conftest$ac_exeext
16855 if { (ac_try="$ac_link"
16856 case "(($ac_try" in
16857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16858 *) ac_try_echo=$ac_try;;
16860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16861 (eval "$ac_link") 2>conftest.er1
16863 grep -v '^ *+' conftest.er1 >conftest.err
16865 cat conftest.err >&5
16866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16867 (exit $ac_status); } &&
16868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16869 { (case "(($ac_try" in
16870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16871 *) ac_try_echo=$ac_try;;
16873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16874 (eval "$ac_try") 2>&5
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try='test -s conftest$ac_exeext'
16879 { (case "(($ac_try" in
16880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16881 *) ac_try_echo=$ac_try;;
16883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16884 (eval "$ac_try") 2>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16889 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'` ;;
16890 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16892 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16894 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16897 echo "$as_me: failed program was:" >&5
16898 sed 's/^/| /' conftest.$ac_ext >&5
16900 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
16903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16904 conftest$ac_exeext conftest.$ac_ext
16905 LIBS=$ac_get_soname_save_LIBS
16907 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16908 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16909 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16911 cat >>confdefs.h <<_ACEOF
16912 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16917 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16918 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16919 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16922 ac_get_soname_save_LIBS=$LIBS
16923 LIBS="-lfreetype $X_LIBS $LIBS"
16924 cat >conftest.$ac_ext <<_ACEOF
16927 cat confdefs.h >>conftest.$ac_ext
16928 cat >>conftest.$ac_ext <<_ACEOF
16929 /* end confdefs.h. */
16931 /* Override any GCC internal prototype to avoid an error.
16932 Use char because int might match the return type of a GCC
16933 builtin and then its argument prototype would still apply. */
16937 char FT_Init_FreeType ();
16941 return FT_Init_FreeType ();
16946 rm -f conftest.$ac_objext conftest$ac_exeext
16947 if { (ac_try="$ac_link"
16948 case "(($ac_try" in
16949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16950 *) ac_try_echo=$ac_try;;
16952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16953 (eval "$ac_link") 2>conftest.er1
16955 grep -v '^ *+' conftest.er1 >conftest.err
16957 cat conftest.err >&5
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); } &&
16960 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16961 { (case "(($ac_try" in
16962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16963 *) ac_try_echo=$ac_try;;
16965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16966 (eval "$ac_try") 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); }; } &&
16970 { ac_try='test -s conftest$ac_exeext'
16971 { (case "(($ac_try" in
16972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_try") 2>&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); }; }; then
16981 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'` ;;
16982 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16984 if test "x$ac_cv_lib_soname_freetype" = "x"
16986 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16992 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16996 conftest$ac_exeext conftest.$ac_ext
16997 LIBS=$ac_get_soname_save_LIBS
16999 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
17000 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
17001 if test "${ac_cv_lib_soname_freetype+set}" = set; then
17003 cat >>confdefs.h <<_ACEOF
17004 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
17009 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
17010 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
17011 if test "${ac_cv_lib_soname_GL+set}" = set; then
17012 echo $ECHO_N "(cached) $ECHO_C" >&6
17014 ac_get_soname_save_LIBS=$LIBS
17015 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
17016 cat >conftest.$ac_ext <<_ACEOF
17019 cat confdefs.h >>conftest.$ac_ext
17020 cat >>conftest.$ac_ext <<_ACEOF
17021 /* end confdefs.h. */
17023 /* Override any GCC internal prototype to avoid an error.
17024 Use char because int might match the return type of a GCC
17025 builtin and then its argument prototype would still apply. */
17029 char glXQueryExtension ();
17033 return glXQueryExtension ();
17038 rm -f conftest.$ac_objext conftest$ac_exeext
17039 if { (ac_try="$ac_link"
17040 case "(($ac_try" in
17041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17042 *) ac_try_echo=$ac_try;;
17044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17045 (eval "$ac_link") 2>conftest.er1
17047 grep -v '^ *+' conftest.er1 >conftest.err
17049 cat conftest.err >&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } &&
17052 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17053 { (case "(($ac_try" in
17054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17055 *) ac_try_echo=$ac_try;;
17057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17058 (eval "$ac_try") 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try='test -s conftest$ac_exeext'
17063 { (case "(($ac_try" in
17064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17065 *) ac_try_echo=$ac_try;;
17067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17068 (eval "$ac_try") 2>&5
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; }; then
17073 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'` ;;
17074 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17076 if test "x$ac_cv_lib_soname_GL" = "x"
17078 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17081 echo "$as_me: failed program was:" >&5
17082 sed 's/^/| /' conftest.$ac_ext >&5
17084 ac_cv_lib_soname_GL="libGL.$LIBEXT"
17087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17088 conftest$ac_exeext conftest.$ac_ext
17089 LIBS=$ac_get_soname_save_LIBS
17091 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17092 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17093 if test "${ac_cv_lib_soname_GL+set}" = set; then
17095 cat >>confdefs.h <<_ACEOF
17096 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17101 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17102 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17103 if test "${ac_cv_lib_soname_hal+set}" = set; then
17104 echo $ECHO_N "(cached) $ECHO_C" >&6
17106 ac_get_soname_save_LIBS=$LIBS
17108 cat >conftest.$ac_ext <<_ACEOF
17111 cat confdefs.h >>conftest.$ac_ext
17112 cat >>conftest.$ac_ext <<_ACEOF
17113 /* end confdefs.h. */
17115 /* Override any GCC internal prototype to avoid an error.
17116 Use char because int might match the return type of a GCC
17117 builtin and then its argument prototype would still apply. */
17121 char libhal_ctx_new ();
17125 return libhal_ctx_new ();
17130 rm -f conftest.$ac_objext conftest$ac_exeext
17131 if { (ac_try="$ac_link"
17132 case "(($ac_try" in
17133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17134 *) ac_try_echo=$ac_try;;
17136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17137 (eval "$ac_link") 2>conftest.er1
17139 grep -v '^ *+' conftest.er1 >conftest.err
17141 cat conftest.err >&5
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); } &&
17144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17145 { (case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_try") 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); }; } &&
17154 { ac_try='test -s conftest$ac_exeext'
17155 { (case "(($ac_try" in
17156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17157 *) ac_try_echo=$ac_try;;
17159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17160 (eval "$ac_try") 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; }; then
17165 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'` ;;
17166 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17168 if test "x$ac_cv_lib_soname_hal" = "x"
17170 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17176 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17180 conftest$ac_exeext conftest.$ac_ext
17181 LIBS=$ac_get_soname_save_LIBS
17183 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17184 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17185 if test "${ac_cv_lib_soname_hal+set}" = set; then
17187 cat >>confdefs.h <<_ACEOF
17188 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17193 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17194 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17195 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17196 echo $ECHO_N "(cached) $ECHO_C" >&6
17198 ac_get_soname_save_LIBS=$LIBS
17199 LIBS="-ltxc_dxtn $LIBS"
17200 cat >conftest.$ac_ext <<_ACEOF
17203 cat confdefs.h >>conftest.$ac_ext
17204 cat >>conftest.$ac_ext <<_ACEOF
17205 /* end confdefs.h. */
17207 /* Override any GCC internal prototype to avoid an error.
17208 Use char because int might match the return type of a GCC
17209 builtin and then its argument prototype would still apply. */
17213 char fetch_2d_texel_rgba_dxt1 ();
17217 return fetch_2d_texel_rgba_dxt1 ();
17222 rm -f conftest.$ac_objext conftest$ac_exeext
17223 if { (ac_try="$ac_link"
17224 case "(($ac_try" in
17225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17226 *) ac_try_echo=$ac_try;;
17228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17229 (eval "$ac_link") 2>conftest.er1
17231 grep -v '^ *+' conftest.er1 >conftest.err
17233 cat conftest.err >&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } &&
17236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17237 { (case "(($ac_try" in
17238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17239 *) ac_try_echo=$ac_try;;
17241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17242 (eval "$ac_try") 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; } &&
17246 { ac_try='test -s conftest$ac_exeext'
17247 { (case "(($ac_try" in
17248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17249 *) ac_try_echo=$ac_try;;
17251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17252 (eval "$ac_try") 2>&5
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17257 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'` ;;
17258 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'` ;;
17260 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17262 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17265 echo "$as_me: failed program was:" >&5
17266 sed 's/^/| /' conftest.$ac_ext >&5
17268 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
17271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17272 conftest$ac_exeext conftest.$ac_ext
17273 LIBS=$ac_get_soname_save_LIBS
17275 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17276 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17277 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17279 cat >>confdefs.h <<_ACEOF
17280 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17285 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17286 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17287 if test "${ac_cv_lib_soname_cups+set}" = set; then
17288 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 ac_get_soname_save_LIBS=$LIBS
17291 LIBS="-lcups $LIBS"
17292 cat >conftest.$ac_ext <<_ACEOF
17295 cat confdefs.h >>conftest.$ac_ext
17296 cat >>conftest.$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17299 /* Override any GCC internal prototype to avoid an error.
17300 Use char because int might match the return type of a GCC
17301 builtin and then its argument prototype would still apply. */
17305 char cupsGetDefault ();
17309 return cupsGetDefault ();
17314 rm -f conftest.$ac_objext conftest$ac_exeext
17315 if { (ac_try="$ac_link"
17316 case "(($ac_try" in
17317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17318 *) ac_try_echo=$ac_try;;
17320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17321 (eval "$ac_link") 2>conftest.er1
17323 grep -v '^ *+' conftest.er1 >conftest.err
17325 cat conftest.err >&5
17326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17327 (exit $ac_status); } &&
17328 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17329 { (case "(($ac_try" in
17330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17331 *) ac_try_echo=$ac_try;;
17333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17334 (eval "$ac_try") 2>&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); }; } &&
17338 { ac_try='test -s conftest$ac_exeext'
17339 { (case "(($ac_try" in
17340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17341 *) ac_try_echo=$ac_try;;
17343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17344 (eval "$ac_try") 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17349 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'` ;;
17350 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17352 if test "x$ac_cv_lib_soname_cups" = "x"
17354 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17357 echo "$as_me: failed program was:" >&5
17358 sed 's/^/| /' conftest.$ac_ext >&5
17360 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17364 conftest$ac_exeext conftest.$ac_ext
17365 LIBS=$ac_get_soname_save_LIBS
17367 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17368 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17369 if test "${ac_cv_lib_soname_cups+set}" = set; then
17371 cat >>confdefs.h <<_ACEOF
17372 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17377 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17378 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17379 if test "${ac_cv_lib_soname_jack+set}" = set; then
17380 echo $ECHO_N "(cached) $ECHO_C" >&6
17382 ac_get_soname_save_LIBS=$LIBS
17383 LIBS="-ljack $LIBS"
17384 cat >conftest.$ac_ext <<_ACEOF
17387 cat confdefs.h >>conftest.$ac_ext
17388 cat >>conftest.$ac_ext <<_ACEOF
17389 /* end confdefs.h. */
17391 /* Override any GCC internal prototype to avoid an error.
17392 Use char because int might match the return type of a GCC
17393 builtin and then its argument prototype would still apply. */
17397 char jack_client_new ();
17401 return jack_client_new ();
17406 rm -f conftest.$ac_objext conftest$ac_exeext
17407 if { (ac_try="$ac_link"
17408 case "(($ac_try" in
17409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17410 *) ac_try_echo=$ac_try;;
17412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17413 (eval "$ac_link") 2>conftest.er1
17415 grep -v '^ *+' conftest.er1 >conftest.err
17417 cat conftest.err >&5
17418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17419 (exit $ac_status); } &&
17420 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17421 { (case "(($ac_try" in
17422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17423 *) ac_try_echo=$ac_try;;
17425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17426 (eval "$ac_try") 2>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); }; } &&
17430 { ac_try='test -s conftest$ac_exeext'
17431 { (case "(($ac_try" in
17432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17433 *) ac_try_echo=$ac_try;;
17435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17436 (eval "$ac_try") 2>&5
17438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17439 (exit $ac_status); }; }; then
17441 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'` ;;
17442 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17444 if test "x$ac_cv_lib_soname_jack" = "x"
17446 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17452 ac_cv_lib_soname_jack="libjack.$LIBEXT"
17455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17456 conftest$ac_exeext conftest.$ac_ext
17457 LIBS=$ac_get_soname_save_LIBS
17459 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17460 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17461 if test "${ac_cv_lib_soname_jack+set}" = set; then
17463 cat >>confdefs.h <<_ACEOF
17464 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17469 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17470 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17471 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17472 echo $ECHO_N "(cached) $ECHO_C" >&6
17474 ac_get_soname_save_LIBS=$LIBS
17475 LIBS="-lfontconfig $LIBS"
17476 cat >conftest.$ac_ext <<_ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17483 /* Override any GCC internal prototype to avoid an error.
17484 Use char because int might match the return type of a GCC
17485 builtin and then its argument prototype would still apply. */
17498 rm -f conftest.$ac_objext conftest$ac_exeext
17499 if { (ac_try="$ac_link"
17500 case "(($ac_try" in
17501 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17502 *) ac_try_echo=$ac_try;;
17504 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17505 (eval "$ac_link") 2>conftest.er1
17507 grep -v '^ *+' conftest.er1 >conftest.err
17509 cat conftest.err >&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17513 { (case "(($ac_try" in
17514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17515 *) ac_try_echo=$ac_try;;
17517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17518 (eval "$ac_try") 2>&5
17520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17521 (exit $ac_status); }; } &&
17522 { ac_try='test -s conftest$ac_exeext'
17523 { (case "(($ac_try" in
17524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17525 *) ac_try_echo=$ac_try;;
17527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17528 (eval "$ac_try") 2>&5
17530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17531 (exit $ac_status); }; }; then
17533 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'` ;;
17534 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17536 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17538 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17541 echo "$as_me: failed program was:" >&5
17542 sed 's/^/| /' conftest.$ac_ext >&5
17544 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17548 conftest$ac_exeext conftest.$ac_ext
17549 LIBS=$ac_get_soname_save_LIBS
17551 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17552 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17553 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17555 cat >>confdefs.h <<_ACEOF
17556 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17561 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17562 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17563 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17564 echo $ECHO_N "(cached) $ECHO_C" >&6
17566 ac_get_soname_save_LIBS=$LIBS
17568 cat >conftest.$ac_ext <<_ACEOF
17571 cat confdefs.h >>conftest.$ac_ext
17572 cat >>conftest.$ac_ext <<_ACEOF
17573 /* end confdefs.h. */
17575 /* Override any GCC internal prototype to avoid an error.
17576 Use char because int might match the return type of a GCC
17577 builtin and then its argument prototype would still apply. */
17581 char SSL_library_init ();
17585 return SSL_library_init ();
17590 rm -f conftest.$ac_objext conftest$ac_exeext
17591 if { (ac_try="$ac_link"
17592 case "(($ac_try" in
17593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17594 *) ac_try_echo=$ac_try;;
17596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17597 (eval "$ac_link") 2>conftest.er1
17599 grep -v '^ *+' conftest.er1 >conftest.err
17601 cat conftest.err >&5
17602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603 (exit $ac_status); } &&
17604 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17605 { (case "(($ac_try" in
17606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17607 *) ac_try_echo=$ac_try;;
17609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17610 (eval "$ac_try") 2>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); }; } &&
17614 { ac_try='test -s conftest$ac_exeext'
17615 { (case "(($ac_try" in
17616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17617 *) ac_try_echo=$ac_try;;
17619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17620 (eval "$ac_try") 2>&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); }; }; then
17625 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'` ;;
17626 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17628 if test "x$ac_cv_lib_soname_ssl" = "x"
17630 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17633 echo "$as_me: failed program was:" >&5
17634 sed 's/^/| /' conftest.$ac_ext >&5
17636 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
17639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17640 conftest$ac_exeext conftest.$ac_ext
17641 LIBS=$ac_get_soname_save_LIBS
17643 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17644 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17645 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17647 cat >>confdefs.h <<_ACEOF
17648 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17653 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17654 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17655 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17656 echo $ECHO_N "(cached) $ECHO_C" >&6
17658 ac_get_soname_save_LIBS=$LIBS
17659 LIBS="-lcrypto $LIBS"
17660 cat >conftest.$ac_ext <<_ACEOF
17663 cat confdefs.h >>conftest.$ac_ext
17664 cat >>conftest.$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17667 /* Override any GCC internal prototype to avoid an error.
17668 Use char because int might match the return type of a GCC
17669 builtin and then its argument prototype would still apply. */
17673 char BIO_new_socket ();
17677 return BIO_new_socket ();
17682 rm -f conftest.$ac_objext conftest$ac_exeext
17683 if { (ac_try="$ac_link"
17684 case "(($ac_try" in
17685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17686 *) ac_try_echo=$ac_try;;
17688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17689 (eval "$ac_link") 2>conftest.er1
17691 grep -v '^ *+' conftest.er1 >conftest.err
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17697 { (case "(($ac_try" in
17698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17699 *) ac_try_echo=$ac_try;;
17701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17702 (eval "$ac_try") 2>&5
17704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17705 (exit $ac_status); }; } &&
17706 { ac_try='test -s conftest$ac_exeext'
17707 { (case "(($ac_try" in
17708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17709 *) ac_try_echo=$ac_try;;
17711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17712 (eval "$ac_try") 2>&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); }; }; then
17717 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'` ;;
17718 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17720 if test "x$ac_cv_lib_soname_crypto" = "x"
17722 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17725 echo "$as_me: failed program was:" >&5
17726 sed 's/^/| /' conftest.$ac_ext >&5
17728 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17732 conftest$ac_exeext conftest.$ac_ext
17733 LIBS=$ac_get_soname_save_LIBS
17735 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17736 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17737 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17739 cat >>confdefs.h <<_ACEOF
17740 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17745 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17746 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17747 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 ac_get_soname_save_LIBS=$LIBS
17751 LIBS="-lncurses $LIBS"
17752 cat >conftest.$ac_ext <<_ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
17757 /* end confdefs.h. */
17759 /* Override any GCC internal prototype to avoid an error.
17760 Use char because int might match the return type of a GCC
17761 builtin and then its argument prototype would still apply. */
17774 rm -f conftest.$ac_objext conftest$ac_exeext
17775 if { (ac_try="$ac_link"
17776 case "(($ac_try" in
17777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17778 *) ac_try_echo=$ac_try;;
17780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17781 (eval "$ac_link") 2>conftest.er1
17783 grep -v '^ *+' conftest.er1 >conftest.err
17785 cat conftest.err >&5
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); } &&
17788 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17789 { (case "(($ac_try" in
17790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17791 *) ac_try_echo=$ac_try;;
17793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17794 (eval "$ac_try") 2>&5
17796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17797 (exit $ac_status); }; } &&
17798 { ac_try='test -s conftest$ac_exeext'
17799 { (case "(($ac_try" in
17800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17801 *) ac_try_echo=$ac_try;;
17803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17804 (eval "$ac_try") 2>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); }; }; then
17809 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'` ;;
17810 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17812 if test "x$ac_cv_lib_soname_ncurses" = "x"
17814 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17817 echo "$as_me: failed program was:" >&5
17818 sed 's/^/| /' conftest.$ac_ext >&5
17820 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
17823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17824 conftest$ac_exeext conftest.$ac_ext
17825 LIBS=$ac_get_soname_save_LIBS
17827 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17828 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17829 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17831 cat >>confdefs.h <<_ACEOF
17832 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17837 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17838 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17839 if test "${ac_cv_lib_soname_curses+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 ac_get_soname_save_LIBS=$LIBS
17843 LIBS="-lcurses $LIBS"
17844 cat >conftest.$ac_ext <<_ACEOF
17847 cat confdefs.h >>conftest.$ac_ext
17848 cat >>conftest.$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17851 /* Override any GCC internal prototype to avoid an error.
17852 Use char because int might match the return type of a GCC
17853 builtin and then its argument prototype would still apply. */
17866 rm -f conftest.$ac_objext conftest$ac_exeext
17867 if { (ac_try="$ac_link"
17868 case "(($ac_try" in
17869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17870 *) ac_try_echo=$ac_try;;
17872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17873 (eval "$ac_link") 2>conftest.er1
17875 grep -v '^ *+' conftest.er1 >conftest.err
17877 cat conftest.err >&5
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); } &&
17880 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17881 { (case "(($ac_try" in
17882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17883 *) ac_try_echo=$ac_try;;
17885 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17886 (eval "$ac_try") 2>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); }; } &&
17890 { ac_try='test -s conftest$ac_exeext'
17891 { (case "(($ac_try" in
17892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17893 *) ac_try_echo=$ac_try;;
17895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17896 (eval "$ac_try") 2>&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); }; }; then
17901 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'` ;;
17902 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17904 if test "x$ac_cv_lib_soname_curses" = "x"
17906 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.$ac_ext >&5
17912 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17916 conftest$ac_exeext conftest.$ac_ext
17917 LIBS=$ac_get_soname_save_LIBS
17919 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17920 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17921 if test "${ac_cv_lib_soname_curses+set}" = set; then
17923 cat >>confdefs.h <<_ACEOF
17924 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17929 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17930 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17931 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 ac_get_soname_save_LIBS=$LIBS
17935 LIBS="-ljpeg $LIBS"
17936 cat >conftest.$ac_ext <<_ACEOF
17939 cat confdefs.h >>conftest.$ac_ext
17940 cat >>conftest.$ac_ext <<_ACEOF
17941 /* end confdefs.h. */
17943 /* Override any GCC internal prototype to avoid an error.
17944 Use char because int might match the return type of a GCC
17945 builtin and then its argument prototype would still apply. */
17949 char jpeg_start_decompress ();
17953 return jpeg_start_decompress ();
17958 rm -f conftest.$ac_objext conftest$ac_exeext
17959 if { (ac_try="$ac_link"
17960 case "(($ac_try" in
17961 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17962 *) ac_try_echo=$ac_try;;
17964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17965 (eval "$ac_link") 2>conftest.er1
17967 grep -v '^ *+' conftest.er1 >conftest.err
17969 cat conftest.err >&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17973 { (case "(($ac_try" in
17974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17975 *) ac_try_echo=$ac_try;;
17977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17978 (eval "$ac_try") 2>&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); }; } &&
17982 { ac_try='test -s conftest$ac_exeext'
17983 { (case "(($ac_try" in
17984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17985 *) ac_try_echo=$ac_try;;
17987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17988 (eval "$ac_try") 2>&5
17990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17991 (exit $ac_status); }; }; then
17993 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'` ;;
17994 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17996 if test "x$ac_cv_lib_soname_jpeg" = "x"
17998 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18001 echo "$as_me: failed program was:" >&5
18002 sed 's/^/| /' conftest.$ac_ext >&5
18004 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
18007 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18008 conftest$ac_exeext conftest.$ac_ext
18009 LIBS=$ac_get_soname_save_LIBS
18011 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
18012 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
18013 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
18015 cat >>confdefs.h <<_ACEOF
18016 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
18021 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18022 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18023 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18024 echo $ECHO_N "(cached) $ECHO_C" >&6
18026 ac_get_soname_save_LIBS=$LIBS
18027 LIBS="-lcapi20 $LIBS"
18028 cat >conftest.$ac_ext <<_ACEOF
18031 cat confdefs.h >>conftest.$ac_ext
18032 cat >>conftest.$ac_ext <<_ACEOF
18033 /* end confdefs.h. */
18035 /* Override any GCC internal prototype to avoid an error.
18036 Use char because int might match the return type of a GCC
18037 builtin and then its argument prototype would still apply. */
18041 char capi20_isinstalled ();
18045 return capi20_isinstalled ();
18050 rm -f conftest.$ac_objext conftest$ac_exeext
18051 if { (ac_try="$ac_link"
18052 case "(($ac_try" in
18053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18054 *) ac_try_echo=$ac_try;;
18056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18057 (eval "$ac_link") 2>conftest.er1
18059 grep -v '^ *+' conftest.er1 >conftest.err
18061 cat conftest.err >&5
18062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18063 (exit $ac_status); } &&
18064 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18065 { (case "(($ac_try" in
18066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18067 *) ac_try_echo=$ac_try;;
18069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18070 (eval "$ac_try") 2>&5
18072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18073 (exit $ac_status); }; } &&
18074 { ac_try='test -s conftest$ac_exeext'
18075 { (case "(($ac_try" in
18076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18077 *) ac_try_echo=$ac_try;;
18079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18080 (eval "$ac_try") 2>&5
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; }; then
18085 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'` ;;
18086 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18088 if test "x$ac_cv_lib_soname_capi20" = "x"
18090 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18096 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18100 conftest$ac_exeext conftest.$ac_ext
18101 LIBS=$ac_get_soname_save_LIBS
18103 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18104 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18105 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18107 cat >>confdefs.h <<_ACEOF
18108 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18263 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18264 echo $ECHO_N "(cached) $ECHO_C" >&6
18266 cat >conftest.$ac_ext <<_ACEOF
18269 cat confdefs.h >>conftest.$ac_ext
18270 cat >>conftest.$ac_ext <<_ACEOF
18271 /* end confdefs.h. */
18272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18274 #define $ac_func innocuous_$ac_func
18276 /* System header to define __stub macros and hopefully few prototypes,
18277 which can conflict with char $ac_func (); below.
18278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18279 <limits.h> exists even on freestanding compilers. */
18282 # include <limits.h>
18284 # include <assert.h>
18289 /* Override any GCC internal prototype to avoid an error.
18290 Use char because int might match the return type of a GCC
18291 builtin and then its argument prototype would still apply. */
18296 /* The GNU C library defines this for functions which it implements
18297 to always fail with ENOSYS. Some functions are actually named
18298 something starting with __ and the normal name is an alias. */
18299 #if defined __stub_$ac_func || defined __stub___$ac_func
18306 return $ac_func ();
18311 rm -f conftest.$ac_objext conftest$ac_exeext
18312 if { (ac_try="$ac_link"
18313 case "(($ac_try" in
18314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18315 *) ac_try_echo=$ac_try;;
18317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18318 (eval "$ac_link") 2>conftest.er1
18320 grep -v '^ *+' conftest.er1 >conftest.err
18322 cat conftest.err >&5
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); } &&
18325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18326 { (case "(($ac_try" in
18327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18328 *) ac_try_echo=$ac_try;;
18330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18331 (eval "$ac_try") 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; } &&
18335 { ac_try='test -s conftest$ac_exeext'
18336 { (case "(($ac_try" in
18337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18338 *) ac_try_echo=$ac_try;;
18340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18341 (eval "$ac_try") 2>&5
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; }; then
18345 eval "$as_ac_var=yes"
18347 echo "$as_me: failed program was:" >&5
18348 sed 's/^/| /' conftest.$ac_ext >&5
18350 eval "$as_ac_var=no"
18353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18354 conftest$ac_exeext conftest.$ac_ext
18356 ac_res=`eval echo '${'$as_ac_var'}'`
18357 { echo "$as_me:$LINENO: result: $ac_res" >&5
18358 echo "${ECHO_T}$ac_res" >&6; }
18359 if test `eval echo '${'$as_ac_var'}'` = yes; then
18360 cat >>confdefs.h <<_ACEOF
18361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18368 if test "$ac_cv_func_dlopen" = no
18370 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18371 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18372 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18373 echo $ECHO_N "(cached) $ECHO_C" >&6
18375 ac_check_lib_save_LIBS=$LIBS
18377 cat >conftest.$ac_ext <<_ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18384 /* Override any GCC internal prototype to avoid an error.
18385 Use char because int might match the return type of a GCC
18386 builtin and then its argument prototype would still apply. */
18399 rm -f conftest.$ac_objext conftest$ac_exeext
18400 if { (ac_try="$ac_link"
18401 case "(($ac_try" in
18402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18403 *) ac_try_echo=$ac_try;;
18405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18406 (eval "$ac_link") 2>conftest.er1
18408 grep -v '^ *+' conftest.er1 >conftest.err
18410 cat conftest.err >&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } &&
18413 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18414 { (case "(($ac_try" in
18415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18416 *) ac_try_echo=$ac_try;;
18418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18419 (eval "$ac_try") 2>&5
18421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18422 (exit $ac_status); }; } &&
18423 { ac_try='test -s conftest$ac_exeext'
18424 { (case "(($ac_try" in
18425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18426 *) ac_try_echo=$ac_try;;
18428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18429 (eval "$ac_try") 2>&5
18431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18432 (exit $ac_status); }; }; then
18433 ac_cv_lib_dl_dlopen=yes
18435 echo "$as_me: failed program was:" >&5
18436 sed 's/^/| /' conftest.$ac_ext >&5
18438 ac_cv_lib_dl_dlopen=no
18441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18442 conftest$ac_exeext conftest.$ac_ext
18443 LIBS=$ac_check_lib_save_LIBS
18445 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18446 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18447 if test $ac_cv_lib_dl_dlopen = yes; then
18448 cat >>confdefs.h <<\_ACEOF
18449 #define HAVE_DLOPEN 1
18456 ac_wine_check_funcs_save_LIBS="$LIBS"
18457 LIBS="$LIBS $LIBDL"
18459 for ac_func in dladdr
18461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18465 echo $ECHO_N "(cached) $ECHO_C" >&6
18467 cat >conftest.$ac_ext <<_ACEOF
18470 cat confdefs.h >>conftest.$ac_ext
18471 cat >>conftest.$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18475 #define $ac_func innocuous_$ac_func
18477 /* System header to define __stub macros and hopefully few prototypes,
18478 which can conflict with char $ac_func (); below.
18479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18480 <limits.h> exists even on freestanding compilers. */
18483 # include <limits.h>
18485 # include <assert.h>
18490 /* Override any GCC internal prototype to avoid an error.
18491 Use char because int might match the return type of a GCC
18492 builtin and then its argument prototype would still apply. */
18497 /* The GNU C library defines this for functions which it implements
18498 to always fail with ENOSYS. Some functions are actually named
18499 something starting with __ and the normal name is an alias. */
18500 #if defined __stub_$ac_func || defined __stub___$ac_func
18507 return $ac_func ();
18512 rm -f conftest.$ac_objext conftest$ac_exeext
18513 if { (ac_try="$ac_link"
18514 case "(($ac_try" in
18515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18516 *) ac_try_echo=$ac_try;;
18518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18519 (eval "$ac_link") 2>conftest.er1
18521 grep -v '^ *+' conftest.er1 >conftest.err
18523 cat conftest.err >&5
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } &&
18526 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18527 { (case "(($ac_try" in
18528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18529 *) ac_try_echo=$ac_try;;
18531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18532 (eval "$ac_try") 2>&5
18534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18535 (exit $ac_status); }; } &&
18536 { ac_try='test -s conftest$ac_exeext'
18537 { (case "(($ac_try" in
18538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18539 *) ac_try_echo=$ac_try;;
18541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18542 (eval "$ac_try") 2>&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); }; }; then
18546 eval "$as_ac_var=yes"
18548 echo "$as_me: failed program was:" >&5
18549 sed 's/^/| /' conftest.$ac_ext >&5
18551 eval "$as_ac_var=no"
18554 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18555 conftest$ac_exeext conftest.$ac_ext
18557 ac_res=`eval echo '${'$as_ac_var'}'`
18558 { echo "$as_me:$LINENO: result: $ac_res" >&5
18559 echo "${ECHO_T}$ac_res" >&6; }
18560 if test `eval echo '${'$as_ac_var'}'` = yes; then
18561 cat >>confdefs.h <<_ACEOF
18562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18568 LIBS="$ac_wine_check_funcs_save_LIBS"
18570 if test "$ac_cv_func_poll" = no
18572 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18573 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18574 if test "${ac_cv_lib_poll_poll+set}" = set; then
18575 echo $ECHO_N "(cached) $ECHO_C" >&6
18577 ac_check_lib_save_LIBS=$LIBS
18578 LIBS="-lpoll $LIBS"
18579 cat >conftest.$ac_ext <<_ACEOF
18582 cat confdefs.h >>conftest.$ac_ext
18583 cat >>conftest.$ac_ext <<_ACEOF
18584 /* end confdefs.h. */
18586 /* Override any GCC internal prototype to avoid an error.
18587 Use char because int might match the return type of a GCC
18588 builtin and then its argument prototype would still apply. */
18601 rm -f conftest.$ac_objext conftest$ac_exeext
18602 if { (ac_try="$ac_link"
18603 case "(($ac_try" in
18604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18605 *) ac_try_echo=$ac_try;;
18607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18608 (eval "$ac_link") 2>conftest.er1
18610 grep -v '^ *+' conftest.er1 >conftest.err
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } &&
18615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18616 { (case "(($ac_try" in
18617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18618 *) ac_try_echo=$ac_try;;
18620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18621 (eval "$ac_try") 2>&5
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try='test -s conftest$ac_exeext'
18626 { (case "(($ac_try" in
18627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18628 *) ac_try_echo=$ac_try;;
18630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18631 (eval "$ac_try") 2>&5
18633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18634 (exit $ac_status); }; }; then
18635 ac_cv_lib_poll_poll=yes
18637 echo "$as_me: failed program was:" >&5
18638 sed 's/^/| /' conftest.$ac_ext >&5
18640 ac_cv_lib_poll_poll=no
18643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18644 conftest$ac_exeext conftest.$ac_ext
18645 LIBS=$ac_check_lib_save_LIBS
18647 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18648 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18649 if test $ac_cv_lib_poll_poll = yes; then
18650 cat >>confdefs.h <<\_ACEOF
18651 #define HAVE_POLL 1
18659 if test "$ac_cv_func_gethostbyname" = no
18662 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18663 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18664 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18665 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 ac_check_lib_save_LIBS=$LIBS
18669 cat >conftest.$ac_ext <<_ACEOF
18672 cat confdefs.h >>conftest.$ac_ext
18673 cat >>conftest.$ac_ext <<_ACEOF
18674 /* end confdefs.h. */
18676 /* Override any GCC internal prototype to avoid an error.
18677 Use char because int might match the return type of a GCC
18678 builtin and then its argument prototype would still apply. */
18682 char gethostbyname ();
18686 return gethostbyname ();
18691 rm -f conftest.$ac_objext conftest$ac_exeext
18692 if { (ac_try="$ac_link"
18693 case "(($ac_try" in
18694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18695 *) ac_try_echo=$ac_try;;
18697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18698 (eval "$ac_link") 2>conftest.er1
18700 grep -v '^ *+' conftest.er1 >conftest.err
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18706 { (case "(($ac_try" in
18707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18708 *) ac_try_echo=$ac_try;;
18710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18711 (eval "$ac_try") 2>&5
18713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18714 (exit $ac_status); }; } &&
18715 { ac_try='test -s conftest$ac_exeext'
18716 { (case "(($ac_try" in
18717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18718 *) ac_try_echo=$ac_try;;
18720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18721 (eval "$ac_try") 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; }; then
18725 ac_cv_lib_nsl_gethostbyname=yes
18727 echo "$as_me: failed program was:" >&5
18728 sed 's/^/| /' conftest.$ac_ext >&5
18730 ac_cv_lib_nsl_gethostbyname=no
18733 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18734 conftest$ac_exeext conftest.$ac_ext
18735 LIBS=$ac_check_lib_save_LIBS
18737 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18738 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18739 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18740 cat >>confdefs.h <<_ACEOF
18741 #define HAVE_LIBNSL 1
18750 if test "$ac_cv_func_connect" = no
18753 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18754 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18755 if test "${ac_cv_lib_socket_connect+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18758 ac_check_lib_save_LIBS=$LIBS
18759 LIBS="-lsocket $LIBS"
18760 cat >conftest.$ac_ext <<_ACEOF
18763 cat confdefs.h >>conftest.$ac_ext
18764 cat >>conftest.$ac_ext <<_ACEOF
18765 /* end confdefs.h. */
18767 /* Override any GCC internal prototype to avoid an error.
18768 Use char because int might match the return type of a GCC
18769 builtin and then its argument prototype would still apply. */
18782 rm -f conftest.$ac_objext conftest$ac_exeext
18783 if { (ac_try="$ac_link"
18784 case "(($ac_try" in
18785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18786 *) ac_try_echo=$ac_try;;
18788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18789 (eval "$ac_link") 2>conftest.er1
18791 grep -v '^ *+' conftest.er1 >conftest.err
18793 cat conftest.err >&5
18794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18795 (exit $ac_status); } &&
18796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18797 { (case "(($ac_try" in
18798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18799 *) ac_try_echo=$ac_try;;
18801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18802 (eval "$ac_try") 2>&5
18804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18805 (exit $ac_status); }; } &&
18806 { ac_try='test -s conftest$ac_exeext'
18807 { (case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_try") 2>&5
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18816 ac_cv_lib_socket_connect=yes
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.$ac_ext >&5
18821 ac_cv_lib_socket_connect=no
18824 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18825 conftest$ac_exeext conftest.$ac_ext
18826 LIBS=$ac_check_lib_save_LIBS
18828 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18829 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18830 if test $ac_cv_lib_socket_connect = yes; then
18831 cat >>confdefs.h <<_ACEOF
18832 #define HAVE_LIBSOCKET 1
18835 LIBS="-lsocket $LIBS"
18841 if test "$ac_cv_func_inet_aton" = no
18844 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18845 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18846 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18849 ac_check_lib_save_LIBS=$LIBS
18850 LIBS="-lresolv $LIBS"
18851 cat >conftest.$ac_ext <<_ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18858 /* Override any GCC internal prototype to avoid an error.
18859 Use char because int might match the return type of a GCC
18860 builtin and then its argument prototype would still apply. */
18868 return inet_aton ();
18873 rm -f conftest.$ac_objext conftest$ac_exeext
18874 if { (ac_try="$ac_link"
18875 case "(($ac_try" in
18876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18877 *) ac_try_echo=$ac_try;;
18879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18880 (eval "$ac_link") 2>conftest.er1
18882 grep -v '^ *+' conftest.er1 >conftest.err
18884 cat conftest.err >&5
18885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18886 (exit $ac_status); } &&
18887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18888 { (case "(($ac_try" in
18889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18890 *) ac_try_echo=$ac_try;;
18892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18893 (eval "$ac_try") 2>&5
18895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18896 (exit $ac_status); }; } &&
18897 { ac_try='test -s conftest$ac_exeext'
18898 { (case "(($ac_try" in
18899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18900 *) ac_try_echo=$ac_try;;
18902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18903 (eval "$ac_try") 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_cv_lib_resolv_inet_aton=yes
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.$ac_ext >&5
18912 ac_cv_lib_resolv_inet_aton=no
18915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18916 conftest$ac_exeext conftest.$ac_ext
18917 LIBS=$ac_check_lib_save_LIBS
18919 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18920 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18921 if test $ac_cv_lib_resolv_inet_aton = yes; then
18922 cat >>confdefs.h <<_ACEOF
18923 #define HAVE_LIBRESOLV 1
18926 LIBS="-lresolv $LIBS"
18933 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18934 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18935 if test "${ac_cv_c_const+set}" = set; then
18936 echo $ECHO_N "(cached) $ECHO_C" >&6
18938 cat >conftest.$ac_ext <<_ACEOF
18941 cat confdefs.h >>conftest.$ac_ext
18942 cat >>conftest.$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18948 /* FIXME: Include the comments suggested by Paul. */
18949 #ifndef __cplusplus
18950 /* Ultrix mips cc rejects this. */
18951 typedef int charset[2];
18953 /* SunOS 4.1.1 cc rejects this. */
18954 char const *const *pcpcc;
18956 /* NEC SVR4.0.2 mips cc rejects this. */
18957 struct point {int x, y;};
18958 static struct point const zero = {0,0};
18959 /* AIX XL C 1.02.0.0 rejects this.
18960 It does not let you subtract one const X* pointer from another in
18961 an arm of an if-expression whose if-part is not a constant
18963 const char *g = "string";
18964 pcpcc = &g + (g ? g-g : 0);
18965 /* HPUX 7.0 cc rejects these. */
18967 ppc = (char**) pcpcc;
18968 pcpcc = (char const *const *) ppc;
18969 { /* SCO 3.2v4 cc rejects this. */
18971 char const *s = 0 ? (char *) 0 : (char const *) 0;
18976 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18977 int x[] = {25, 17};
18978 const int *foo = &x[0];
18981 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18982 typedef const int *iptr;
18986 { /* AIX XL C 1.02.0.0 rejects this saying
18987 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18988 struct s { int j; const int *ap[3]; };
18989 struct s *b; b->j = 5;
18991 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18992 const int foo = 10;
18993 if (!foo) return 0;
18995 return !cs[0] && !zero.x;
19002 rm -f conftest.$ac_objext
19003 if { (ac_try="$ac_compile"
19004 case "(($ac_try" in
19005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19006 *) ac_try_echo=$ac_try;;
19008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19009 (eval "$ac_compile") 2>conftest.er1
19011 grep -v '^ *+' conftest.er1 >conftest.err
19013 cat conftest.err >&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); } &&
19016 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19017 { (case "(($ac_try" in
19018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19019 *) ac_try_echo=$ac_try;;
19021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19022 (eval "$ac_try") 2>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; } &&
19026 { ac_try='test -s conftest.$ac_objext'
19027 { (case "(($ac_try" in
19028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19029 *) ac_try_echo=$ac_try;;
19031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19032 (eval "$ac_try") 2>&5
19034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19035 (exit $ac_status); }; }; then
19038 echo "$as_me: failed program was:" >&5
19039 sed 's/^/| /' conftest.$ac_ext >&5
19044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19046 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19047 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19048 if test $ac_cv_c_const = no; then
19050 cat >>confdefs.h <<\_ACEOF
19056 { echo "$as_me:$LINENO: checking for inline" >&5
19057 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19058 if test "${ac_cv_c_inline+set}" = set; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 for ac_kw in inline __inline__ __inline; do
19063 cat >conftest.$ac_ext <<_ACEOF
19066 cat confdefs.h >>conftest.$ac_ext
19067 cat >>conftest.$ac_ext <<_ACEOF
19068 /* end confdefs.h. */
19069 #ifndef __cplusplus
19071 static $ac_kw foo_t static_foo () {return 0; }
19072 $ac_kw foo_t foo () {return 0; }
19076 rm -f conftest.$ac_objext
19077 if { (ac_try="$ac_compile"
19078 case "(($ac_try" in
19079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19080 *) ac_try_echo=$ac_try;;
19082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19083 (eval "$ac_compile") 2>conftest.er1
19085 grep -v '^ *+' conftest.er1 >conftest.err
19087 cat conftest.err >&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); } &&
19090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19091 { (case "(($ac_try" in
19092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19093 *) ac_try_echo=$ac_try;;
19095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19096 (eval "$ac_try") 2>&5
19098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19099 (exit $ac_status); }; } &&
19100 { ac_try='test -s conftest.$ac_objext'
19101 { (case "(($ac_try" in
19102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19103 *) ac_try_echo=$ac_try;;
19105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19106 (eval "$ac_try") 2>&5
19108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19109 (exit $ac_status); }; }; then
19110 ac_cv_c_inline=$ac_kw
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19119 test "$ac_cv_c_inline" != no && break
19123 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19124 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19127 case $ac_cv_c_inline in
19130 case $ac_cv_c_inline in
19132 *) ac_val=$ac_cv_c_inline;;
19134 cat >>confdefs.h <<_ACEOF
19135 #ifndef __cplusplus
19136 #define inline $ac_val
19142 { echo "$as_me:$LINENO: checking for mode_t" >&5
19143 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19144 if test "${ac_cv_type_mode_t+set}" = set; then
19145 echo $ECHO_N "(cached) $ECHO_C" >&6
19147 cat >conftest.$ac_ext <<_ACEOF
19150 cat confdefs.h >>conftest.$ac_ext
19151 cat >>conftest.$ac_ext <<_ACEOF
19152 /* end confdefs.h. */
19153 $ac_includes_default
19154 typedef mode_t ac__type_new_;
19158 if ((ac__type_new_ *) 0)
19160 if (sizeof (ac__type_new_))
19166 rm -f conftest.$ac_objext
19167 if { (ac_try="$ac_compile"
19168 case "(($ac_try" in
19169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19170 *) ac_try_echo=$ac_try;;
19172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19173 (eval "$ac_compile") 2>conftest.er1
19175 grep -v '^ *+' conftest.er1 >conftest.err
19177 cat conftest.err >&5
19178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19179 (exit $ac_status); } &&
19180 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19181 { (case "(($ac_try" in
19182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19183 *) ac_try_echo=$ac_try;;
19185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19186 (eval "$ac_try") 2>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); }; } &&
19190 { ac_try='test -s conftest.$ac_objext'
19191 { (case "(($ac_try" in
19192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19193 *) ac_try_echo=$ac_try;;
19195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19196 (eval "$ac_try") 2>&5
19198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19199 (exit $ac_status); }; }; then
19200 ac_cv_type_mode_t=yes
19202 echo "$as_me: failed program was:" >&5
19203 sed 's/^/| /' conftest.$ac_ext >&5
19205 ac_cv_type_mode_t=no
19208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19211 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19212 if test $ac_cv_type_mode_t = yes; then
19214 cat >>confdefs.h <<_ACEOF
19215 #define HAVE_MODE_T 1
19220 { echo "$as_me:$LINENO: checking for off_t" >&5
19221 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19222 if test "${ac_cv_type_off_t+set}" = set; then
19223 echo $ECHO_N "(cached) $ECHO_C" >&6
19225 cat >conftest.$ac_ext <<_ACEOF
19228 cat confdefs.h >>conftest.$ac_ext
19229 cat >>conftest.$ac_ext <<_ACEOF
19230 /* end confdefs.h. */
19231 $ac_includes_default
19232 typedef off_t ac__type_new_;
19236 if ((ac__type_new_ *) 0)
19238 if (sizeof (ac__type_new_))
19244 rm -f conftest.$ac_objext
19245 if { (ac_try="$ac_compile"
19246 case "(($ac_try" in
19247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19248 *) ac_try_echo=$ac_try;;
19250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19251 (eval "$ac_compile") 2>conftest.er1
19253 grep -v '^ *+' conftest.er1 >conftest.err
19255 cat conftest.err >&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); } &&
19258 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19259 { (case "(($ac_try" in
19260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19261 *) ac_try_echo=$ac_try;;
19263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19264 (eval "$ac_try") 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; } &&
19268 { ac_try='test -s conftest.$ac_objext'
19269 { (case "(($ac_try" in
19270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19271 *) ac_try_echo=$ac_try;;
19273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19274 (eval "$ac_try") 2>&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 ac_cv_type_off_t=yes
19280 echo "$as_me: failed program was:" >&5
19281 sed 's/^/| /' conftest.$ac_ext >&5
19283 ac_cv_type_off_t=no
19286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19288 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19289 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19290 if test $ac_cv_type_off_t = yes; then
19292 cat >>confdefs.h <<_ACEOF
19293 #define HAVE_OFF_T 1
19298 { echo "$as_me:$LINENO: checking for pid_t" >&5
19299 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19300 if test "${ac_cv_type_pid_t+set}" = set; then
19301 echo $ECHO_N "(cached) $ECHO_C" >&6
19303 cat >conftest.$ac_ext <<_ACEOF
19306 cat confdefs.h >>conftest.$ac_ext
19307 cat >>conftest.$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309 $ac_includes_default
19310 typedef pid_t ac__type_new_;
19314 if ((ac__type_new_ *) 0)
19316 if (sizeof (ac__type_new_))
19322 rm -f conftest.$ac_objext
19323 if { (ac_try="$ac_compile"
19324 case "(($ac_try" in
19325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19326 *) ac_try_echo=$ac_try;;
19328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19329 (eval "$ac_compile") 2>conftest.er1
19331 grep -v '^ *+' conftest.er1 >conftest.err
19333 cat conftest.err >&5
19334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19335 (exit $ac_status); } &&
19336 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19337 { (case "(($ac_try" in
19338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19339 *) ac_try_echo=$ac_try;;
19341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19342 (eval "$ac_try") 2>&5
19344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19345 (exit $ac_status); }; } &&
19346 { ac_try='test -s conftest.$ac_objext'
19347 { (case "(($ac_try" in
19348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19349 *) ac_try_echo=$ac_try;;
19351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19352 (eval "$ac_try") 2>&5
19354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19355 (exit $ac_status); }; }; then
19356 ac_cv_type_pid_t=yes
19358 echo "$as_me: failed program was:" >&5
19359 sed 's/^/| /' conftest.$ac_ext >&5
19361 ac_cv_type_pid_t=no
19364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19366 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19367 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19368 if test $ac_cv_type_pid_t = yes; then
19370 cat >>confdefs.h <<_ACEOF
19371 #define HAVE_PID_T 1
19376 { echo "$as_me:$LINENO: checking for size_t" >&5
19377 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19378 if test "${ac_cv_type_size_t+set}" = set; then
19379 echo $ECHO_N "(cached) $ECHO_C" >&6
19381 cat >conftest.$ac_ext <<_ACEOF
19384 cat confdefs.h >>conftest.$ac_ext
19385 cat >>conftest.$ac_ext <<_ACEOF
19386 /* end confdefs.h. */
19387 $ac_includes_default
19388 typedef size_t ac__type_new_;
19392 if ((ac__type_new_ *) 0)
19394 if (sizeof (ac__type_new_))
19400 rm -f conftest.$ac_objext
19401 if { (ac_try="$ac_compile"
19402 case "(($ac_try" in
19403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19404 *) ac_try_echo=$ac_try;;
19406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19407 (eval "$ac_compile") 2>conftest.er1
19409 grep -v '^ *+' conftest.er1 >conftest.err
19411 cat conftest.err >&5
19412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19413 (exit $ac_status); } &&
19414 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19415 { (case "(($ac_try" in
19416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19417 *) ac_try_echo=$ac_try;;
19419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19420 (eval "$ac_try") 2>&5
19422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19423 (exit $ac_status); }; } &&
19424 { ac_try='test -s conftest.$ac_objext'
19425 { (case "(($ac_try" in
19426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19427 *) ac_try_echo=$ac_try;;
19429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19430 (eval "$ac_try") 2>&5
19432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19433 (exit $ac_status); }; }; then
19434 ac_cv_type_size_t=yes
19436 echo "$as_me: failed program was:" >&5
19437 sed 's/^/| /' conftest.$ac_ext >&5
19439 ac_cv_type_size_t=no
19442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19445 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19446 if test $ac_cv_type_size_t = yes; then
19448 cat >>confdefs.h <<_ACEOF
19449 #define HAVE_SIZE_T 1
19454 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19455 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19456 if test "${ac_cv_type_ssize_t+set}" = set; then
19457 echo $ECHO_N "(cached) $ECHO_C" >&6
19459 cat >conftest.$ac_ext <<_ACEOF
19462 cat confdefs.h >>conftest.$ac_ext
19463 cat >>conftest.$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19465 $ac_includes_default
19466 typedef ssize_t ac__type_new_;
19470 if ((ac__type_new_ *) 0)
19472 if (sizeof (ac__type_new_))
19478 rm -f conftest.$ac_objext
19479 if { (ac_try="$ac_compile"
19480 case "(($ac_try" in
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19482 *) ac_try_echo=$ac_try;;
19484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19485 (eval "$ac_compile") 2>conftest.er1
19487 grep -v '^ *+' conftest.er1 >conftest.err
19489 cat conftest.err >&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); } &&
19492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19493 { (case "(($ac_try" in
19494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19495 *) ac_try_echo=$ac_try;;
19497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19498 (eval "$ac_try") 2>&5
19500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19501 (exit $ac_status); }; } &&
19502 { ac_try='test -s conftest.$ac_objext'
19503 { (case "(($ac_try" in
19504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19505 *) ac_try_echo=$ac_try;;
19507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19508 (eval "$ac_try") 2>&5
19510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19511 (exit $ac_status); }; }; then
19512 ac_cv_type_ssize_t=yes
19514 echo "$as_me: failed program was:" >&5
19515 sed 's/^/| /' conftest.$ac_ext >&5
19517 ac_cv_type_ssize_t=no
19520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19523 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19524 if test $ac_cv_type_ssize_t = yes; then
19526 cat >>confdefs.h <<_ACEOF
19527 #define HAVE_SSIZE_T 1
19532 { echo "$as_me:$LINENO: checking for long long" >&5
19533 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19534 if test "${ac_cv_type_long_long+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19537 cat >conftest.$ac_ext <<_ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19544 typedef long long ac__type_new_;
19548 if ((ac__type_new_ *) 0)
19550 if (sizeof (ac__type_new_))
19556 rm -f conftest.$ac_objext
19557 if { (ac_try="$ac_compile"
19558 case "(($ac_try" in
19559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19560 *) ac_try_echo=$ac_try;;
19562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19563 (eval "$ac_compile") 2>conftest.er1
19565 grep -v '^ *+' conftest.er1 >conftest.err
19567 cat conftest.err >&5
19568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19569 (exit $ac_status); } &&
19570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19571 { (case "(($ac_try" in
19572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19573 *) ac_try_echo=$ac_try;;
19575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19576 (eval "$ac_try") 2>&5
19578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19579 (exit $ac_status); }; } &&
19580 { ac_try='test -s conftest.$ac_objext'
19581 { (case "(($ac_try" in
19582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19583 *) ac_try_echo=$ac_try;;
19585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19586 (eval "$ac_try") 2>&5
19588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589 (exit $ac_status); }; }; then
19590 ac_cv_type_long_long=yes
19592 echo "$as_me: failed program was:" >&5
19593 sed 's/^/| /' conftest.$ac_ext >&5
19595 ac_cv_type_long_long=no
19598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19600 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19601 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19602 if test $ac_cv_type_long_long = yes; then
19604 cat >>confdefs.h <<_ACEOF
19605 #define HAVE_LONG_LONG 1
19610 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19611 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19612 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 cat >conftest.$ac_ext <<_ACEOF
19618 cat confdefs.h >>conftest.$ac_ext
19619 cat >>conftest.$ac_ext <<_ACEOF
19620 /* end confdefs.h. */
19621 $ac_includes_default
19622 typedef fsblkcnt_t ac__type_new_;
19626 if ((ac__type_new_ *) 0)
19628 if (sizeof (ac__type_new_))
19634 rm -f conftest.$ac_objext
19635 if { (ac_try="$ac_compile"
19636 case "(($ac_try" in
19637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19638 *) ac_try_echo=$ac_try;;
19640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19641 (eval "$ac_compile") 2>conftest.er1
19643 grep -v '^ *+' conftest.er1 >conftest.err
19645 cat conftest.err >&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); } &&
19648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19649 { (case "(($ac_try" in
19650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19651 *) ac_try_echo=$ac_try;;
19653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19654 (eval "$ac_try") 2>&5
19656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19657 (exit $ac_status); }; } &&
19658 { ac_try='test -s conftest.$ac_objext'
19659 { (case "(($ac_try" in
19660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19661 *) ac_try_echo=$ac_try;;
19663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19664 (eval "$ac_try") 2>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; }; then
19668 ac_cv_type_fsblkcnt_t=yes
19670 echo "$as_me: failed program was:" >&5
19671 sed 's/^/| /' conftest.$ac_ext >&5
19673 ac_cv_type_fsblkcnt_t=no
19676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19678 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19679 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19680 if test $ac_cv_type_fsblkcnt_t = yes; then
19682 cat >>confdefs.h <<_ACEOF
19683 #define HAVE_FSBLKCNT_T 1
19688 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19689 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19690 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19691 echo $ECHO_N "(cached) $ECHO_C" >&6
19693 cat >conftest.$ac_ext <<_ACEOF
19696 cat confdefs.h >>conftest.$ac_ext
19697 cat >>conftest.$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 $ac_includes_default
19700 typedef fsfilcnt_t ac__type_new_;
19704 if ((ac__type_new_ *) 0)
19706 if (sizeof (ac__type_new_))
19712 rm -f conftest.$ac_objext
19713 if { (ac_try="$ac_compile"
19714 case "(($ac_try" in
19715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19716 *) ac_try_echo=$ac_try;;
19718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19719 (eval "$ac_compile") 2>conftest.er1
19721 grep -v '^ *+' conftest.er1 >conftest.err
19723 cat conftest.err >&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); } &&
19726 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19727 { (case "(($ac_try" in
19728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19729 *) ac_try_echo=$ac_try;;
19731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19732 (eval "$ac_try") 2>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); }; } &&
19736 { ac_try='test -s conftest.$ac_objext'
19737 { (case "(($ac_try" in
19738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19739 *) ac_try_echo=$ac_try;;
19741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19742 (eval "$ac_try") 2>&5
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; }; then
19746 ac_cv_type_fsfilcnt_t=yes
19748 echo "$as_me: failed program was:" >&5
19749 sed 's/^/| /' conftest.$ac_ext >&5
19751 ac_cv_type_fsfilcnt_t=no
19754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19756 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19757 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19758 if test $ac_cv_type_fsfilcnt_t = yes; then
19760 cat >>confdefs.h <<_ACEOF
19761 #define HAVE_FSFILCNT_T 1
19767 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19768 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19769 if test "${ac_cv_type_sigset_t+set}" = set; then
19770 echo $ECHO_N "(cached) $ECHO_C" >&6
19772 cat >conftest.$ac_ext <<_ACEOF
19775 cat confdefs.h >>conftest.$ac_ext
19776 cat >>conftest.$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #include <signal.h>
19780 typedef sigset_t ac__type_new_;
19784 if ((ac__type_new_ *) 0)
19786 if (sizeof (ac__type_new_))
19792 rm -f conftest.$ac_objext
19793 if { (ac_try="$ac_compile"
19794 case "(($ac_try" in
19795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19796 *) ac_try_echo=$ac_try;;
19798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19799 (eval "$ac_compile") 2>conftest.er1
19801 grep -v '^ *+' conftest.er1 >conftest.err
19803 cat conftest.err >&5
19804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19805 (exit $ac_status); } &&
19806 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19807 { (case "(($ac_try" in
19808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19809 *) ac_try_echo=$ac_try;;
19811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19812 (eval "$ac_try") 2>&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); }; } &&
19816 { ac_try='test -s conftest.$ac_objext'
19817 { (case "(($ac_try" in
19818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19819 *) ac_try_echo=$ac_try;;
19821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19822 (eval "$ac_try") 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; }; then
19826 ac_cv_type_sigset_t=yes
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19831 ac_cv_type_sigset_t=no
19834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19836 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19837 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19838 if test $ac_cv_type_sigset_t = yes; then
19840 cat >>confdefs.h <<_ACEOF
19841 #define HAVE_SIGSET_T 1
19847 { echo "$as_me:$LINENO: checking for request_sense" >&5
19848 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19849 if test "${ac_cv_type_request_sense+set}" = set; then
19850 echo $ECHO_N "(cached) $ECHO_C" >&6
19852 cat >conftest.$ac_ext <<_ACEOF
19855 cat confdefs.h >>conftest.$ac_ext
19856 cat >>conftest.$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19858 #include <linux/cdrom.h>
19860 typedef request_sense ac__type_new_;
19864 if ((ac__type_new_ *) 0)
19866 if (sizeof (ac__type_new_))
19872 rm -f conftest.$ac_objext
19873 if { (ac_try="$ac_compile"
19874 case "(($ac_try" in
19875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19876 *) ac_try_echo=$ac_try;;
19878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19879 (eval "$ac_compile") 2>conftest.er1
19881 grep -v '^ *+' conftest.er1 >conftest.err
19883 cat conftest.err >&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); } &&
19886 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19887 { (case "(($ac_try" in
19888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19889 *) ac_try_echo=$ac_try;;
19891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19892 (eval "$ac_try") 2>&5
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try='test -s conftest.$ac_objext'
19897 { (case "(($ac_try" in
19898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19899 *) ac_try_echo=$ac_try;;
19901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19902 (eval "$ac_try") 2>&5
19904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19905 (exit $ac_status); }; }; then
19906 ac_cv_type_request_sense=yes
19908 echo "$as_me: failed program was:" >&5
19909 sed 's/^/| /' conftest.$ac_ext >&5
19911 ac_cv_type_request_sense=no
19914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19916 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19917 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19918 if test $ac_cv_type_request_sense = yes; then
19920 cat >>confdefs.h <<_ACEOF
19921 #define HAVE_REQUEST_SENSE 1
19928 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19929 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19930 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 cat >conftest.$ac_ext <<_ACEOF
19936 cat confdefs.h >>conftest.$ac_ext
19937 cat >>conftest.$ac_ext <<_ACEOF
19938 /* end confdefs.h. */
19939 #ifdef HAVE_LINUX_INPUT_H
19940 #include <linux/input.h>
19946 static struct ff_effect ac_aggr;
19947 if (ac_aggr.direction)
19953 rm -f conftest.$ac_objext
19954 if { (ac_try="$ac_compile"
19955 case "(($ac_try" in
19956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19957 *) ac_try_echo=$ac_try;;
19959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19960 (eval "$ac_compile") 2>conftest.er1
19962 grep -v '^ *+' conftest.er1 >conftest.err
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19968 { (case "(($ac_try" in
19969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19970 *) ac_try_echo=$ac_try;;
19972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19973 (eval "$ac_try") 2>&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); }; } &&
19977 { ac_try='test -s conftest.$ac_objext'
19978 { (case "(($ac_try" in
19979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_try") 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; }; then
19987 ac_cv_member_struct_ff_effect_direction=yes
19989 echo "$as_me: failed program was:" >&5
19990 sed 's/^/| /' conftest.$ac_ext >&5
19992 cat >conftest.$ac_ext <<_ACEOF
19995 cat confdefs.h >>conftest.$ac_ext
19996 cat >>conftest.$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
19998 #ifdef HAVE_LINUX_INPUT_H
19999 #include <linux/input.h>
20005 static struct ff_effect ac_aggr;
20006 if (sizeof ac_aggr.direction)
20012 rm -f conftest.$ac_objext
20013 if { (ac_try="$ac_compile"
20014 case "(($ac_try" in
20015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20016 *) ac_try_echo=$ac_try;;
20018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20019 (eval "$ac_compile") 2>conftest.er1
20021 grep -v '^ *+' conftest.er1 >conftest.err
20023 cat conftest.err >&5
20024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20025 (exit $ac_status); } &&
20026 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20027 { (case "(($ac_try" in
20028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20029 *) ac_try_echo=$ac_try;;
20031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20032 (eval "$ac_try") 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; } &&
20036 { ac_try='test -s conftest.$ac_objext'
20037 { (case "(($ac_try" in
20038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20039 *) ac_try_echo=$ac_try;;
20041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20042 (eval "$ac_try") 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046 ac_cv_member_struct_ff_effect_direction=yes
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20051 ac_cv_member_struct_ff_effect_direction=no
20054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20059 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20060 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20061 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20063 cat >>confdefs.h <<_ACEOF
20064 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20071 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20072 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20073 if test "${wine_cv_have_sigaddset+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20076 cat >conftest.$ac_ext <<_ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 #include <signal.h>
20086 sigset_t set; sigaddset(&set,SIGTERM);
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;;
20097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20098 (eval "$ac_link") 2>conftest.er1
20100 grep -v '^ *+' conftest.er1 >conftest.err
20102 cat conftest.err >&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20106 { (case "(($ac_try" in
20107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20108 *) ac_try_echo=$ac_try;;
20110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20111 (eval "$ac_try") 2>&5
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; } &&
20115 { ac_try='test -s conftest$ac_exeext'
20116 { (case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_try") 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 wine_cv_have_sigaddset=yes
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 wine_cv_have_sigaddset=no
20133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20134 conftest$ac_exeext conftest.$ac_ext
20136 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20137 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20138 if test "$wine_cv_have_sigaddset" = "yes"
20141 cat >>confdefs.h <<\_ACEOF
20142 #define HAVE_SIGADDSET 1
20148 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20149 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20150 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20151 echo $ECHO_N "(cached) $ECHO_C" >&6
20153 cat >conftest.$ac_ext <<_ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20168 struct hostent *result;
20175 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20176 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20182 rm -f conftest.$ac_objext conftest$ac_exeext
20183 if { (ac_try="$ac_link"
20184 case "(($ac_try" in
20185 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20186 *) ac_try_echo=$ac_try;;
20188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20189 (eval "$ac_link") 2>conftest.er1
20191 grep -v '^ *+' conftest.er1 >conftest.err
20193 cat conftest.err >&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); } &&
20196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20197 { (case "(($ac_try" in
20198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20199 *) ac_try_echo=$ac_try;;
20201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20202 (eval "$ac_try") 2>&5
20204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20205 (exit $ac_status); }; } &&
20206 { ac_try='test -s conftest$ac_exeext'
20207 { (case "(($ac_try" in
20208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20209 *) ac_try_echo=$ac_try;;
20211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20212 (eval "$ac_try") 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20216 wine_cv_linux_gethostbyname_r_6=yes
20218 echo "$as_me: failed program was:" >&5
20219 sed 's/^/| /' conftest.$ac_ext >&5
20221 wine_cv_linux_gethostbyname_r_6=no
20225 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20226 conftest$ac_exeext conftest.$ac_ext
20229 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20230 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20231 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20234 cat >>confdefs.h <<\_ACEOF
20235 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20240 if test "$ac_cv_header_linux_joystick_h" = "yes"
20242 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20243 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20244 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20245 echo $ECHO_N "(cached) $ECHO_C" >&6
20247 cat >conftest.$ac_ext <<_ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20254 #include <sys/ioctl.h>
20255 #include <linux/joystick.h>
20257 struct js_event blub;
20258 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20259 #error "no 2.2 header"
20270 rm -f conftest.$ac_objext
20271 if { (ac_try="$ac_compile"
20272 case "(($ac_try" in
20273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20274 *) ac_try_echo=$ac_try;;
20276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20277 (eval "$ac_compile") 2>conftest.er1
20279 grep -v '^ *+' conftest.er1 >conftest.err
20281 cat conftest.err >&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); } &&
20284 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20285 { (case "(($ac_try" in
20286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20287 *) ac_try_echo=$ac_try;;
20289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20290 (eval "$ac_try") 2>&5
20292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20293 (exit $ac_status); }; } &&
20294 { ac_try='test -s conftest.$ac_objext'
20295 { (case "(($ac_try" in
20296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20297 *) ac_try_echo=$ac_try;;
20299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20300 (eval "$ac_try") 2>&5
20302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20303 (exit $ac_status); }; }; then
20304 wine_cv_linux_joystick_22_api=yes
20306 echo "$as_me: failed program was:" >&5
20307 sed 's/^/| /' conftest.$ac_ext >&5
20309 wine_cv_linux_joystick_22_api=no
20312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20315 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20316 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20317 if test "$wine_cv_linux_joystick_22_api" = "yes"
20320 cat >>confdefs.h <<\_ACEOF
20321 #define HAVE_LINUX_22_JOYSTICK_API 1
20328 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20329 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20330 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20331 echo $ECHO_N "(cached) $ECHO_C" >&6
20333 cat >conftest.$ac_ext <<_ACEOF
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20339 #include <sys/types.h>
20340 #ifdef HAVE_SYS_PARAM_H
20341 # include <sys/param.h>
20343 #ifdef HAVE_SYS_MOUNT_H
20344 # include <sys/mount.h>
20346 #ifdef HAVE_SYS_VFS_H
20347 # include <sys/vfs.h>
20349 #ifdef HAVE_SYS_STATFS_H
20350 # include <sys/statfs.h>
20356 static struct statfs ac_aggr;
20357 if (ac_aggr.f_bfree)
20363 rm -f conftest.$ac_objext
20364 if { (ac_try="$ac_compile"
20365 case "(($ac_try" in
20366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20367 *) ac_try_echo=$ac_try;;
20369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20370 (eval "$ac_compile") 2>conftest.er1
20372 grep -v '^ *+' conftest.er1 >conftest.err
20374 cat conftest.err >&5
20375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20376 (exit $ac_status); } &&
20377 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20378 { (case "(($ac_try" in
20379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20380 *) ac_try_echo=$ac_try;;
20382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20383 (eval "$ac_try") 2>&5
20385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20386 (exit $ac_status); }; } &&
20387 { ac_try='test -s conftest.$ac_objext'
20388 { (case "(($ac_try" in
20389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20390 *) ac_try_echo=$ac_try;;
20392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20393 (eval "$ac_try") 2>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; }; then
20397 ac_cv_member_struct_statfs_f_bfree=yes
20399 echo "$as_me: failed program was:" >&5
20400 sed 's/^/| /' conftest.$ac_ext >&5
20402 cat >conftest.$ac_ext <<_ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 #include <sys/types.h>
20409 #ifdef HAVE_SYS_PARAM_H
20410 # include <sys/param.h>
20412 #ifdef HAVE_SYS_MOUNT_H
20413 # include <sys/mount.h>
20415 #ifdef HAVE_SYS_VFS_H
20416 # include <sys/vfs.h>
20418 #ifdef HAVE_SYS_STATFS_H
20419 # include <sys/statfs.h>
20425 static struct statfs ac_aggr;
20426 if (sizeof ac_aggr.f_bfree)
20432 rm -f conftest.$ac_objext
20433 if { (ac_try="$ac_compile"
20434 case "(($ac_try" in
20435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20436 *) ac_try_echo=$ac_try;;
20438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20439 (eval "$ac_compile") 2>conftest.er1
20441 grep -v '^ *+' conftest.er1 >conftest.err
20443 cat conftest.err >&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); } &&
20446 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20447 { (case "(($ac_try" in
20448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20449 *) ac_try_echo=$ac_try;;
20451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20452 (eval "$ac_try") 2>&5
20454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20455 (exit $ac_status); }; } &&
20456 { ac_try='test -s conftest.$ac_objext'
20457 { (case "(($ac_try" in
20458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20459 *) ac_try_echo=$ac_try;;
20461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20462 (eval "$ac_try") 2>&5
20464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20465 (exit $ac_status); }; }; then
20466 ac_cv_member_struct_statfs_f_bfree=yes
20468 echo "$as_me: failed program was:" >&5
20469 sed 's/^/| /' conftest.$ac_ext >&5
20471 ac_cv_member_struct_statfs_f_bfree=no
20474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20479 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20480 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20481 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20483 cat >>confdefs.h <<_ACEOF
20484 #define HAVE_STRUCT_STATFS_F_BFREE 1
20489 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20490 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20491 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20492 echo $ECHO_N "(cached) $ECHO_C" >&6
20494 cat >conftest.$ac_ext <<_ACEOF
20497 cat confdefs.h >>conftest.$ac_ext
20498 cat >>conftest.$ac_ext <<_ACEOF
20499 /* end confdefs.h. */
20500 #include <sys/types.h>
20501 #ifdef HAVE_SYS_PARAM_H
20502 # include <sys/param.h>
20504 #ifdef HAVE_SYS_MOUNT_H
20505 # include <sys/mount.h>
20507 #ifdef HAVE_SYS_VFS_H
20508 # include <sys/vfs.h>
20510 #ifdef HAVE_SYS_STATFS_H
20511 # include <sys/statfs.h>
20517 static struct statfs ac_aggr;
20518 if (ac_aggr.f_bavail)
20524 rm -f conftest.$ac_objext
20525 if { (ac_try="$ac_compile"
20526 case "(($ac_try" in
20527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20528 *) ac_try_echo=$ac_try;;
20530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20531 (eval "$ac_compile") 2>conftest.er1
20533 grep -v '^ *+' conftest.er1 >conftest.err
20535 cat conftest.err >&5
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); } &&
20538 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20539 { (case "(($ac_try" in
20540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20541 *) ac_try_echo=$ac_try;;
20543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20544 (eval "$ac_try") 2>&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); }; } &&
20548 { ac_try='test -s conftest.$ac_objext'
20549 { (case "(($ac_try" in
20550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20551 *) ac_try_echo=$ac_try;;
20553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20554 (eval "$ac_try") 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); }; }; then
20558 ac_cv_member_struct_statfs_f_bavail=yes
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20563 cat >conftest.$ac_ext <<_ACEOF
20566 cat confdefs.h >>conftest.$ac_ext
20567 cat >>conftest.$ac_ext <<_ACEOF
20568 /* end confdefs.h. */
20569 #include <sys/types.h>
20570 #ifdef HAVE_SYS_PARAM_H
20571 # include <sys/param.h>
20573 #ifdef HAVE_SYS_MOUNT_H
20574 # include <sys/mount.h>
20576 #ifdef HAVE_SYS_VFS_H
20577 # include <sys/vfs.h>
20579 #ifdef HAVE_SYS_STATFS_H
20580 # include <sys/statfs.h>
20586 static struct statfs ac_aggr;
20587 if (sizeof ac_aggr.f_bavail)
20593 rm -f conftest.$ac_objext
20594 if { (ac_try="$ac_compile"
20595 case "(($ac_try" in
20596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20597 *) ac_try_echo=$ac_try;;
20599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20600 (eval "$ac_compile") 2>conftest.er1
20602 grep -v '^ *+' conftest.er1 >conftest.err
20604 cat conftest.err >&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); } &&
20607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20608 { (case "(($ac_try" in
20609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20610 *) ac_try_echo=$ac_try;;
20612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20613 (eval "$ac_try") 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; } &&
20617 { ac_try='test -s conftest.$ac_objext'
20618 { (case "(($ac_try" in
20619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20620 *) ac_try_echo=$ac_try;;
20622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20623 (eval "$ac_try") 2>&5
20625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20626 (exit $ac_status); }; }; then
20627 ac_cv_member_struct_statfs_f_bavail=yes
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20632 ac_cv_member_struct_statfs_f_bavail=no
20635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20640 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20641 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20642 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20644 cat >>confdefs.h <<_ACEOF
20645 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20650 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20651 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20652 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20653 echo $ECHO_N "(cached) $ECHO_C" >&6
20655 cat >conftest.$ac_ext <<_ACEOF
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 #include <sys/types.h>
20662 #ifdef HAVE_SYS_PARAM_H
20663 # include <sys/param.h>
20665 #ifdef HAVE_SYS_MOUNT_H
20666 # include <sys/mount.h>
20668 #ifdef HAVE_SYS_VFS_H
20669 # include <sys/vfs.h>
20671 #ifdef HAVE_SYS_STATFS_H
20672 # include <sys/statfs.h>
20678 static struct statfs ac_aggr;
20679 if (ac_aggr.f_frsize)
20685 rm -f conftest.$ac_objext
20686 if { (ac_try="$ac_compile"
20687 case "(($ac_try" in
20688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20689 *) ac_try_echo=$ac_try;;
20691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20692 (eval "$ac_compile") 2>conftest.er1
20694 grep -v '^ *+' conftest.er1 >conftest.err
20696 cat conftest.err >&5
20697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698 (exit $ac_status); } &&
20699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20700 { (case "(($ac_try" in
20701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702 *) ac_try_echo=$ac_try;;
20704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705 (eval "$ac_try") 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; } &&
20709 { ac_try='test -s conftest.$ac_objext'
20710 { (case "(($ac_try" in
20711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20712 *) ac_try_echo=$ac_try;;
20714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20715 (eval "$ac_try") 2>&5
20717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20718 (exit $ac_status); }; }; then
20719 ac_cv_member_struct_statfs_f_frsize=yes
20721 echo "$as_me: failed program was:" >&5
20722 sed 's/^/| /' conftest.$ac_ext >&5
20724 cat >conftest.$ac_ext <<_ACEOF
20727 cat confdefs.h >>conftest.$ac_ext
20728 cat >>conftest.$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #include <sys/types.h>
20731 #ifdef HAVE_SYS_PARAM_H
20732 # include <sys/param.h>
20734 #ifdef HAVE_SYS_MOUNT_H
20735 # include <sys/mount.h>
20737 #ifdef HAVE_SYS_VFS_H
20738 # include <sys/vfs.h>
20740 #ifdef HAVE_SYS_STATFS_H
20741 # include <sys/statfs.h>
20747 static struct statfs ac_aggr;
20748 if (sizeof ac_aggr.f_frsize)
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20763 grep -v '^ *+' conftest.er1 >conftest.err
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } &&
20768 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20769 { (case "(($ac_try" in
20770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20771 *) ac_try_echo=$ac_try;;
20773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20774 (eval "$ac_try") 2>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); }; } &&
20778 { ac_try='test -s conftest.$ac_objext'
20779 { (case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_try") 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 ac_cv_member_struct_statfs_f_frsize=yes
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 ac_cv_member_struct_statfs_f_frsize=no
20796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20801 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20802 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20803 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20805 cat >>confdefs.h <<_ACEOF
20806 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20811 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20812 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20813 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20816 cat >conftest.$ac_ext <<_ACEOF
20819 cat confdefs.h >>conftest.$ac_ext
20820 cat >>conftest.$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 #include <sys/types.h>
20823 #ifdef HAVE_SYS_PARAM_H
20824 # include <sys/param.h>
20826 #ifdef HAVE_SYS_MOUNT_H
20827 # include <sys/mount.h>
20829 #ifdef HAVE_SYS_VFS_H
20830 # include <sys/vfs.h>
20832 #ifdef HAVE_SYS_STATFS_H
20833 # include <sys/statfs.h>
20839 static struct statfs ac_aggr;
20840 if (ac_aggr.f_ffree)
20846 rm -f conftest.$ac_objext
20847 if { (ac_try="$ac_compile"
20848 case "(($ac_try" in
20849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20850 *) ac_try_echo=$ac_try;;
20852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20853 (eval "$ac_compile") 2>conftest.er1
20855 grep -v '^ *+' conftest.er1 >conftest.err
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20861 { (case "(($ac_try" in
20862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20863 *) ac_try_echo=$ac_try;;
20865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20866 (eval "$ac_try") 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; } &&
20870 { ac_try='test -s conftest.$ac_objext'
20871 { (case "(($ac_try" in
20872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20873 *) ac_try_echo=$ac_try;;
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_try") 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20880 ac_cv_member_struct_statfs_f_ffree=yes
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.$ac_ext >&5
20885 cat >conftest.$ac_ext <<_ACEOF
20888 cat confdefs.h >>conftest.$ac_ext
20889 cat >>conftest.$ac_ext <<_ACEOF
20890 /* end confdefs.h. */
20891 #include <sys/types.h>
20892 #ifdef HAVE_SYS_PARAM_H
20893 # include <sys/param.h>
20895 #ifdef HAVE_SYS_MOUNT_H
20896 # include <sys/mount.h>
20898 #ifdef HAVE_SYS_VFS_H
20899 # include <sys/vfs.h>
20901 #ifdef HAVE_SYS_STATFS_H
20902 # include <sys/statfs.h>
20908 static struct statfs ac_aggr;
20909 if (sizeof ac_aggr.f_ffree)
20915 rm -f conftest.$ac_objext
20916 if { (ac_try="$ac_compile"
20917 case "(($ac_try" in
20918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20919 *) ac_try_echo=$ac_try;;
20921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20922 (eval "$ac_compile") 2>conftest.er1
20924 grep -v '^ *+' conftest.er1 >conftest.err
20926 cat conftest.err >&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } &&
20929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20930 { (case "(($ac_try" in
20931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20932 *) ac_try_echo=$ac_try;;
20934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20935 (eval "$ac_try") 2>&5
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try='test -s conftest.$ac_objext'
20940 { (case "(($ac_try" in
20941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20942 *) ac_try_echo=$ac_try;;
20944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20945 (eval "$ac_try") 2>&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); }; }; then
20949 ac_cv_member_struct_statfs_f_ffree=yes
20951 echo "$as_me: failed program was:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20954 ac_cv_member_struct_statfs_f_ffree=no
20957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20962 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20963 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20964 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20966 cat >>confdefs.h <<_ACEOF
20967 #define HAVE_STRUCT_STATFS_F_FFREE 1
20972 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20973 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20974 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20975 echo $ECHO_N "(cached) $ECHO_C" >&6
20977 cat >conftest.$ac_ext <<_ACEOF
20980 cat confdefs.h >>conftest.$ac_ext
20981 cat >>conftest.$ac_ext <<_ACEOF
20982 /* end confdefs.h. */
20983 #include <sys/types.h>
20984 #ifdef HAVE_SYS_PARAM_H
20985 # include <sys/param.h>
20987 #ifdef HAVE_SYS_MOUNT_H
20988 # include <sys/mount.h>
20990 #ifdef HAVE_SYS_VFS_H
20991 # include <sys/vfs.h>
20993 #ifdef HAVE_SYS_STATFS_H
20994 # include <sys/statfs.h>
21000 static struct statfs ac_aggr;
21001 if (ac_aggr.f_favail)
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21016 grep -v '^ *+' conftest.er1 >conftest.err
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21020 (exit $ac_status); } &&
21021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21022 { (case "(($ac_try" in
21023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21024 *) ac_try_echo=$ac_try;;
21026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21027 (eval "$ac_try") 2>&5
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; } &&
21031 { ac_try='test -s conftest.$ac_objext'
21032 { (case "(($ac_try" in
21033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21034 *) ac_try_echo=$ac_try;;
21036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21037 (eval "$ac_try") 2>&5
21039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21040 (exit $ac_status); }; }; then
21041 ac_cv_member_struct_statfs_f_favail=yes
21043 echo "$as_me: failed program was:" >&5
21044 sed 's/^/| /' conftest.$ac_ext >&5
21046 cat >conftest.$ac_ext <<_ACEOF
21049 cat confdefs.h >>conftest.$ac_ext
21050 cat >>conftest.$ac_ext <<_ACEOF
21051 /* end confdefs.h. */
21052 #include <sys/types.h>
21053 #ifdef HAVE_SYS_PARAM_H
21054 # include <sys/param.h>
21056 #ifdef HAVE_SYS_MOUNT_H
21057 # include <sys/mount.h>
21059 #ifdef HAVE_SYS_VFS_H
21060 # include <sys/vfs.h>
21062 #ifdef HAVE_SYS_STATFS_H
21063 # include <sys/statfs.h>
21069 static struct statfs ac_aggr;
21070 if (sizeof ac_aggr.f_favail)
21076 rm -f conftest.$ac_objext
21077 if { (ac_try="$ac_compile"
21078 case "(($ac_try" in
21079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21080 *) ac_try_echo=$ac_try;;
21082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21083 (eval "$ac_compile") 2>conftest.er1
21085 grep -v '^ *+' conftest.er1 >conftest.err
21087 cat conftest.err >&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } &&
21090 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21091 { (case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_try") 2>&5
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try='test -s conftest.$ac_objext'
21101 { (case "(($ac_try" in
21102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21103 *) ac_try_echo=$ac_try;;
21105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21106 (eval "$ac_try") 2>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 ac_cv_member_struct_statfs_f_favail=yes
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 ac_cv_member_struct_statfs_f_favail=no
21118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21123 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21124 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21125 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21127 cat >>confdefs.h <<_ACEOF
21128 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21133 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21134 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21135 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21136 echo $ECHO_N "(cached) $ECHO_C" >&6
21138 cat >conftest.$ac_ext <<_ACEOF
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 #include <sys/types.h>
21145 #ifdef HAVE_SYS_PARAM_H
21146 # include <sys/param.h>
21148 #ifdef HAVE_SYS_MOUNT_H
21149 # include <sys/mount.h>
21151 #ifdef HAVE_SYS_VFS_H
21152 # include <sys/vfs.h>
21154 #ifdef HAVE_SYS_STATFS_H
21155 # include <sys/statfs.h>
21161 static struct statfs ac_aggr;
21162 if (ac_aggr.f_namelen)
21168 rm -f conftest.$ac_objext
21169 if { (ac_try="$ac_compile"
21170 case "(($ac_try" in
21171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21172 *) ac_try_echo=$ac_try;;
21174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21175 (eval "$ac_compile") 2>conftest.er1
21177 grep -v '^ *+' conftest.er1 >conftest.err
21179 cat conftest.err >&5
21180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21181 (exit $ac_status); } &&
21182 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21183 { (case "(($ac_try" in
21184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21185 *) ac_try_echo=$ac_try;;
21187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21188 (eval "$ac_try") 2>&5
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; } &&
21192 { ac_try='test -s conftest.$ac_objext'
21193 { (case "(($ac_try" in
21194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21195 *) ac_try_echo=$ac_try;;
21197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21198 (eval "$ac_try") 2>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 ac_cv_member_struct_statfs_f_namelen=yes
21204 echo "$as_me: failed program was:" >&5
21205 sed 's/^/| /' conftest.$ac_ext >&5
21207 cat >conftest.$ac_ext <<_ACEOF
21210 cat confdefs.h >>conftest.$ac_ext
21211 cat >>conftest.$ac_ext <<_ACEOF
21212 /* end confdefs.h. */
21213 #include <sys/types.h>
21214 #ifdef HAVE_SYS_PARAM_H
21215 # include <sys/param.h>
21217 #ifdef HAVE_SYS_MOUNT_H
21218 # include <sys/mount.h>
21220 #ifdef HAVE_SYS_VFS_H
21221 # include <sys/vfs.h>
21223 #ifdef HAVE_SYS_STATFS_H
21224 # include <sys/statfs.h>
21230 static struct statfs ac_aggr;
21231 if (sizeof ac_aggr.f_namelen)
21237 rm -f conftest.$ac_objext
21238 if { (ac_try="$ac_compile"
21239 case "(($ac_try" in
21240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21241 *) ac_try_echo=$ac_try;;
21243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21244 (eval "$ac_compile") 2>conftest.er1
21246 grep -v '^ *+' conftest.er1 >conftest.err
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } &&
21251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21252 { (case "(($ac_try" in
21253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21254 *) ac_try_echo=$ac_try;;
21256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21257 (eval "$ac_try") 2>&5
21259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21260 (exit $ac_status); }; } &&
21261 { ac_try='test -s conftest.$ac_objext'
21262 { (case "(($ac_try" in
21263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21264 *) ac_try_echo=$ac_try;;
21266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21267 (eval "$ac_try") 2>&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); }; }; then
21271 ac_cv_member_struct_statfs_f_namelen=yes
21273 echo "$as_me: failed program was:" >&5
21274 sed 's/^/| /' conftest.$ac_ext >&5
21276 ac_cv_member_struct_statfs_f_namelen=no
21279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21284 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21285 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21286 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21288 cat >>confdefs.h <<_ACEOF
21289 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21296 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21297 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21298 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21301 cat >conftest.$ac_ext <<_ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 #ifdef HAVE_SYS_STATVFS_H
21308 #include <sys/statvfs.h>
21314 static struct statvfs ac_aggr;
21315 if (ac_aggr.f_blocks)
21321 rm -f conftest.$ac_objext
21322 if { (ac_try="$ac_compile"
21323 case "(($ac_try" in
21324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21325 *) ac_try_echo=$ac_try;;
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21330 grep -v '^ *+' conftest.er1 >conftest.err
21332 cat conftest.err >&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } &&
21335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21336 { (case "(($ac_try" in
21337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21338 *) ac_try_echo=$ac_try;;
21340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21341 (eval "$ac_try") 2>&5
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; } &&
21345 { ac_try='test -s conftest.$ac_objext'
21346 { (case "(($ac_try" in
21347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21348 *) ac_try_echo=$ac_try;;
21350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21351 (eval "$ac_try") 2>&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); }; }; then
21355 ac_cv_member_struct_statvfs_f_blocks=yes
21357 echo "$as_me: failed program was:" >&5
21358 sed 's/^/| /' conftest.$ac_ext >&5
21360 cat >conftest.$ac_ext <<_ACEOF
21363 cat confdefs.h >>conftest.$ac_ext
21364 cat >>conftest.$ac_ext <<_ACEOF
21365 /* end confdefs.h. */
21366 #ifdef HAVE_SYS_STATVFS_H
21367 #include <sys/statvfs.h>
21373 static struct statvfs ac_aggr;
21374 if (sizeof ac_aggr.f_blocks)
21380 rm -f conftest.$ac_objext
21381 if { (ac_try="$ac_compile"
21382 case "(($ac_try" in
21383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21384 *) ac_try_echo=$ac_try;;
21386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21387 (eval "$ac_compile") 2>conftest.er1
21389 grep -v '^ *+' conftest.er1 >conftest.err
21391 cat conftest.err >&5
21392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21393 (exit $ac_status); } &&
21394 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21395 { (case "(($ac_try" in
21396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21397 *) ac_try_echo=$ac_try;;
21399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21400 (eval "$ac_try") 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; } &&
21404 { ac_try='test -s conftest.$ac_objext'
21405 { (case "(($ac_try" in
21406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21407 *) ac_try_echo=$ac_try;;
21409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21410 (eval "$ac_try") 2>&5
21412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21413 (exit $ac_status); }; }; then
21414 ac_cv_member_struct_statvfs_f_blocks=yes
21416 echo "$as_me: failed program was:" >&5
21417 sed 's/^/| /' conftest.$ac_ext >&5
21419 ac_cv_member_struct_statvfs_f_blocks=no
21422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21427 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21428 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21429 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21431 cat >>confdefs.h <<_ACEOF
21432 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21439 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21440 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21441 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21442 echo $ECHO_N "(cached) $ECHO_C" >&6
21444 cat >conftest.$ac_ext <<_ACEOF
21447 cat confdefs.h >>conftest.$ac_ext
21448 cat >>conftest.$ac_ext <<_ACEOF
21449 /* end confdefs.h. */
21450 #include <sys/types.h>
21451 #ifdef HAVE_SYS_SOCKET_H
21452 # include <sys/socket.h>
21454 #ifdef HAVE_SYS_UN_H
21455 # include <sys/un.h>
21461 static struct msghdr ac_aggr;
21462 if (ac_aggr.msg_accrights)
21468 rm -f conftest.$ac_objext
21469 if { (ac_try="$ac_compile"
21470 case "(($ac_try" in
21471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21472 *) ac_try_echo=$ac_try;;
21474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21475 (eval "$ac_compile") 2>conftest.er1
21477 grep -v '^ *+' conftest.er1 >conftest.err
21479 cat conftest.err >&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); } &&
21482 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21483 { (case "(($ac_try" in
21484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21485 *) ac_try_echo=$ac_try;;
21487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21488 (eval "$ac_try") 2>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); }; } &&
21492 { ac_try='test -s conftest.$ac_objext'
21493 { (case "(($ac_try" in
21494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21495 *) ac_try_echo=$ac_try;;
21497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21498 (eval "$ac_try") 2>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 ac_cv_member_struct_msghdr_msg_accrights=yes
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.$ac_ext >&5
21507 cat >conftest.$ac_ext <<_ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 #include <sys/types.h>
21514 #ifdef HAVE_SYS_SOCKET_H
21515 # include <sys/socket.h>
21517 #ifdef HAVE_SYS_UN_H
21518 # include <sys/un.h>
21524 static struct msghdr ac_aggr;
21525 if (sizeof ac_aggr.msg_accrights)
21531 rm -f conftest.$ac_objext
21532 if { (ac_try="$ac_compile"
21533 case "(($ac_try" in
21534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21535 *) ac_try_echo=$ac_try;;
21537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21538 (eval "$ac_compile") 2>conftest.er1
21540 grep -v '^ *+' conftest.er1 >conftest.err
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21546 { (case "(($ac_try" in
21547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21548 *) ac_try_echo=$ac_try;;
21550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21551 (eval "$ac_try") 2>&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; } &&
21555 { ac_try='test -s conftest.$ac_objext'
21556 { (case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_try") 2>&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_cv_member_struct_msghdr_msg_accrights=yes
21567 echo "$as_me: failed program was:" >&5
21568 sed 's/^/| /' conftest.$ac_ext >&5
21570 ac_cv_member_struct_msghdr_msg_accrights=no
21573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21578 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21579 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21580 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21582 cat >>confdefs.h <<_ACEOF
21583 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21588 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21589 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21590 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21591 echo $ECHO_N "(cached) $ECHO_C" >&6
21593 cat >conftest.$ac_ext <<_ACEOF
21596 cat confdefs.h >>conftest.$ac_ext
21597 cat >>conftest.$ac_ext <<_ACEOF
21598 /* end confdefs.h. */
21599 #include <sys/types.h>
21600 #ifdef HAVE_SYS_SOCKET_H
21601 # include <sys/socket.h>
21603 #ifdef HAVE_SYS_UN_H
21604 # include <sys/un.h>
21610 static struct sockaddr ac_aggr;
21611 if (ac_aggr.sa_len)
21617 rm -f conftest.$ac_objext
21618 if { (ac_try="$ac_compile"
21619 case "(($ac_try" in
21620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21621 *) ac_try_echo=$ac_try;;
21623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21624 (eval "$ac_compile") 2>conftest.er1
21626 grep -v '^ *+' conftest.er1 >conftest.err
21628 cat conftest.err >&5
21629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21630 (exit $ac_status); } &&
21631 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21632 { (case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_try") 2>&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); }; } &&
21641 { ac_try='test -s conftest.$ac_objext'
21642 { (case "(($ac_try" in
21643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21644 *) ac_try_echo=$ac_try;;
21646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21647 (eval "$ac_try") 2>&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); }; }; then
21651 ac_cv_member_struct_sockaddr_sa_len=yes
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21656 cat >conftest.$ac_ext <<_ACEOF
21659 cat confdefs.h >>conftest.$ac_ext
21660 cat >>conftest.$ac_ext <<_ACEOF
21661 /* end confdefs.h. */
21662 #include <sys/types.h>
21663 #ifdef HAVE_SYS_SOCKET_H
21664 # include <sys/socket.h>
21666 #ifdef HAVE_SYS_UN_H
21667 # include <sys/un.h>
21673 static struct sockaddr ac_aggr;
21674 if (sizeof ac_aggr.sa_len)
21680 rm -f conftest.$ac_objext
21681 if { (ac_try="$ac_compile"
21682 case "(($ac_try" in
21683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21684 *) ac_try_echo=$ac_try;;
21686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21687 (eval "$ac_compile") 2>conftest.er1
21689 grep -v '^ *+' conftest.er1 >conftest.err
21691 cat conftest.err >&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } &&
21694 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21695 { (case "(($ac_try" in
21696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21697 *) ac_try_echo=$ac_try;;
21699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21700 (eval "$ac_try") 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; } &&
21704 { ac_try='test -s conftest.$ac_objext'
21705 { (case "(($ac_try" in
21706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21707 *) ac_try_echo=$ac_try;;
21709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21710 (eval "$ac_try") 2>&5
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 ac_cv_member_struct_sockaddr_sa_len=yes
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21719 ac_cv_member_struct_sockaddr_sa_len=no
21722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21727 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21728 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21729 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21731 cat >>confdefs.h <<_ACEOF
21732 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21737 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21738 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21739 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21740 echo $ECHO_N "(cached) $ECHO_C" >&6
21742 cat >conftest.$ac_ext <<_ACEOF
21745 cat confdefs.h >>conftest.$ac_ext
21746 cat >>conftest.$ac_ext <<_ACEOF
21747 /* end confdefs.h. */
21748 #include <sys/types.h>
21749 #ifdef HAVE_SYS_SOCKET_H
21750 # include <sys/socket.h>
21752 #ifdef HAVE_SYS_UN_H
21753 # include <sys/un.h>
21759 static struct sockaddr_un ac_aggr;
21760 if (ac_aggr.sun_len)
21766 rm -f conftest.$ac_objext
21767 if { (ac_try="$ac_compile"
21768 case "(($ac_try" in
21769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21770 *) ac_try_echo=$ac_try;;
21772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21773 (eval "$ac_compile") 2>conftest.er1
21775 grep -v '^ *+' conftest.er1 >conftest.err
21777 cat conftest.err >&5
21778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21779 (exit $ac_status); } &&
21780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21781 { (case "(($ac_try" in
21782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21783 *) ac_try_echo=$ac_try;;
21785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21786 (eval "$ac_try") 2>&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); }; } &&
21790 { ac_try='test -s conftest.$ac_objext'
21791 { (case "(($ac_try" in
21792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21793 *) ac_try_echo=$ac_try;;
21795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21796 (eval "$ac_try") 2>&5
21798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21799 (exit $ac_status); }; }; then
21800 ac_cv_member_struct_sockaddr_un_sun_len=yes
21802 echo "$as_me: failed program was:" >&5
21803 sed 's/^/| /' conftest.$ac_ext >&5
21805 cat >conftest.$ac_ext <<_ACEOF
21808 cat confdefs.h >>conftest.$ac_ext
21809 cat >>conftest.$ac_ext <<_ACEOF
21810 /* end confdefs.h. */
21811 #include <sys/types.h>
21812 #ifdef HAVE_SYS_SOCKET_H
21813 # include <sys/socket.h>
21815 #ifdef HAVE_SYS_UN_H
21816 # include <sys/un.h>
21822 static struct sockaddr_un ac_aggr;
21823 if (sizeof ac_aggr.sun_len)
21829 rm -f conftest.$ac_objext
21830 if { (ac_try="$ac_compile"
21831 case "(($ac_try" in
21832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21833 *) ac_try_echo=$ac_try;;
21835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21836 (eval "$ac_compile") 2>conftest.er1
21838 grep -v '^ *+' conftest.er1 >conftest.err
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21844 { (case "(($ac_try" in
21845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21846 *) ac_try_echo=$ac_try;;
21848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21849 (eval "$ac_try") 2>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); }; } &&
21853 { ac_try='test -s conftest.$ac_objext'
21854 { (case "(($ac_try" in
21855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21856 *) ac_try_echo=$ac_try;;
21858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21859 (eval "$ac_try") 2>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; }; then
21863 ac_cv_member_struct_sockaddr_un_sun_len=yes
21865 echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.$ac_ext >&5
21868 ac_cv_member_struct_sockaddr_un_sun_len=no
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21876 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21877 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21878 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21880 cat >>confdefs.h <<_ACEOF
21881 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21888 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21889 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21890 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21893 cat >conftest.$ac_ext <<_ACEOF
21896 cat confdefs.h >>conftest.$ac_ext
21897 cat >>conftest.$ac_ext <<_ACEOF
21898 /* end confdefs.h. */
21899 #include <sys/types.h>
21900 #ifdef HAVE_SCSI_SG_H
21901 #include <scsi/sg.h>
21907 static scsireq_t ac_aggr;
21914 rm -f conftest.$ac_objext
21915 if { (ac_try="$ac_compile"
21916 case "(($ac_try" in
21917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21918 *) ac_try_echo=$ac_try;;
21920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21921 (eval "$ac_compile") 2>conftest.er1
21923 grep -v '^ *+' conftest.er1 >conftest.err
21925 cat conftest.err >&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } &&
21928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21929 { (case "(($ac_try" in
21930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21931 *) ac_try_echo=$ac_try;;
21933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21934 (eval "$ac_try") 2>&5
21936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21937 (exit $ac_status); }; } &&
21938 { ac_try='test -s conftest.$ac_objext'
21939 { (case "(($ac_try" in
21940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21941 *) ac_try_echo=$ac_try;;
21943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21944 (eval "$ac_try") 2>&5
21946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21947 (exit $ac_status); }; }; then
21948 ac_cv_member_scsireq_t_cmd=yes
21950 echo "$as_me: failed program was:" >&5
21951 sed 's/^/| /' conftest.$ac_ext >&5
21953 cat >conftest.$ac_ext <<_ACEOF
21956 cat confdefs.h >>conftest.$ac_ext
21957 cat >>conftest.$ac_ext <<_ACEOF
21958 /* end confdefs.h. */
21959 #include <sys/types.h>
21960 #ifdef HAVE_SCSI_SG_H
21961 #include <scsi/sg.h>
21967 static scsireq_t ac_aggr;
21968 if (sizeof ac_aggr.cmd)
21974 rm -f conftest.$ac_objext
21975 if { (ac_try="$ac_compile"
21976 case "(($ac_try" in
21977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21978 *) ac_try_echo=$ac_try;;
21980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21981 (eval "$ac_compile") 2>conftest.er1
21983 grep -v '^ *+' conftest.er1 >conftest.err
21985 cat conftest.err >&5
21986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21987 (exit $ac_status); } &&
21988 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21989 { (case "(($ac_try" in
21990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21991 *) ac_try_echo=$ac_try;;
21993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21994 (eval "$ac_try") 2>&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; } &&
21998 { ac_try='test -s conftest.$ac_objext'
21999 { (case "(($ac_try" in
22000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22001 *) ac_try_echo=$ac_try;;
22003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22004 (eval "$ac_try") 2>&5
22006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22007 (exit $ac_status); }; }; then
22008 ac_cv_member_scsireq_t_cmd=yes
22010 echo "$as_me: failed program was:" >&5
22011 sed 's/^/| /' conftest.$ac_ext >&5
22013 ac_cv_member_scsireq_t_cmd=no
22016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22021 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22022 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22023 if test $ac_cv_member_scsireq_t_cmd = yes; then
22025 cat >>confdefs.h <<_ACEOF
22026 #define HAVE_SCSIREQ_T_CMD 1
22031 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22032 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22033 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22034 echo $ECHO_N "(cached) $ECHO_C" >&6
22036 cat >conftest.$ac_ext <<_ACEOF
22039 cat confdefs.h >>conftest.$ac_ext
22040 cat >>conftest.$ac_ext <<_ACEOF
22041 /* end confdefs.h. */
22042 #include <sys/types.h>
22043 #ifdef HAVE_SCSI_SG_H
22044 #include <scsi/sg.h>
22050 static sg_io_hdr_t ac_aggr;
22051 if (ac_aggr.interface_id)
22057 rm -f conftest.$ac_objext
22058 if { (ac_try="$ac_compile"
22059 case "(($ac_try" in
22060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22061 *) ac_try_echo=$ac_try;;
22063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22064 (eval "$ac_compile") 2>conftest.er1
22066 grep -v '^ *+' conftest.er1 >conftest.err
22068 cat conftest.err >&5
22069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22070 (exit $ac_status); } &&
22071 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22072 { (case "(($ac_try" in
22073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22074 *) ac_try_echo=$ac_try;;
22076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22077 (eval "$ac_try") 2>&5
22079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22080 (exit $ac_status); }; } &&
22081 { ac_try='test -s conftest.$ac_objext'
22082 { (case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_try") 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; }; then
22091 ac_cv_member_sg_io_hdr_t_interface_id=yes
22093 echo "$as_me: failed program was:" >&5
22094 sed 's/^/| /' conftest.$ac_ext >&5
22096 cat >conftest.$ac_ext <<_ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22102 #include <sys/types.h>
22103 #ifdef HAVE_SCSI_SG_H
22104 #include <scsi/sg.h>
22110 static sg_io_hdr_t ac_aggr;
22111 if (sizeof ac_aggr.interface_id)
22117 rm -f conftest.$ac_objext
22118 if { (ac_try="$ac_compile"
22119 case "(($ac_try" in
22120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22121 *) ac_try_echo=$ac_try;;
22123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22124 (eval "$ac_compile") 2>conftest.er1
22126 grep -v '^ *+' conftest.er1 >conftest.err
22128 cat conftest.err >&5
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); } &&
22131 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22132 { (case "(($ac_try" in
22133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22134 *) ac_try_echo=$ac_try;;
22136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22137 (eval "$ac_try") 2>&5
22139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140 (exit $ac_status); }; } &&
22141 { ac_try='test -s conftest.$ac_objext'
22142 { (case "(($ac_try" in
22143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22144 *) ac_try_echo=$ac_try;;
22146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22147 (eval "$ac_try") 2>&5
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; }; then
22151 ac_cv_member_sg_io_hdr_t_interface_id=yes
22153 echo "$as_me: failed program was:" >&5
22154 sed 's/^/| /' conftest.$ac_ext >&5
22156 ac_cv_member_sg_io_hdr_t_interface_id=no
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22164 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22165 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22166 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22168 cat >>confdefs.h <<_ACEOF
22169 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22176 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22177 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22178 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22179 echo $ECHO_N "(cached) $ECHO_C" >&6
22181 cat >conftest.$ac_ext <<_ACEOF
22184 cat confdefs.h >>conftest.$ac_ext
22185 cat >>conftest.$ac_ext <<_ACEOF
22186 /* end confdefs.h. */
22187 #include <signal.h>
22192 static siginfo_t ac_aggr;
22199 rm -f conftest.$ac_objext
22200 if { (ac_try="$ac_compile"
22201 case "(($ac_try" in
22202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22203 *) ac_try_echo=$ac_try;;
22205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22206 (eval "$ac_compile") 2>conftest.er1
22208 grep -v '^ *+' conftest.er1 >conftest.err
22210 cat conftest.err >&5
22211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22212 (exit $ac_status); } &&
22213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22214 { (case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22216 *) ac_try_echo=$ac_try;;
22218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_try") 2>&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); }; } &&
22223 { ac_try='test -s conftest.$ac_objext'
22224 { (case "(($ac_try" in
22225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22226 *) ac_try_echo=$ac_try;;
22228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22229 (eval "$ac_try") 2>&5
22231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22232 (exit $ac_status); }; }; then
22233 ac_cv_member_siginfo_t_si_fd=yes
22235 echo "$as_me: failed program was:" >&5
22236 sed 's/^/| /' conftest.$ac_ext >&5
22238 cat >conftest.$ac_ext <<_ACEOF
22241 cat confdefs.h >>conftest.$ac_ext
22242 cat >>conftest.$ac_ext <<_ACEOF
22243 /* end confdefs.h. */
22244 #include <signal.h>
22249 static siginfo_t ac_aggr;
22250 if (sizeof ac_aggr.si_fd)
22256 rm -f conftest.$ac_objext
22257 if { (ac_try="$ac_compile"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_compile") 2>conftest.er1
22265 grep -v '^ *+' conftest.er1 >conftest.err
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } &&
22270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22271 { (case "(($ac_try" in
22272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22273 *) ac_try_echo=$ac_try;;
22275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22276 (eval "$ac_try") 2>&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); }; } &&
22280 { ac_try='test -s conftest.$ac_objext'
22281 { (case "(($ac_try" in
22282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22283 *) ac_try_echo=$ac_try;;
22285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22286 (eval "$ac_try") 2>&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); }; }; then
22290 ac_cv_member_siginfo_t_si_fd=yes
22292 echo "$as_me: failed program was:" >&5
22293 sed 's/^/| /' conftest.$ac_ext >&5
22295 ac_cv_member_siginfo_t_si_fd=no
22298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22303 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22304 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22305 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22307 cat >>confdefs.h <<_ACEOF
22308 #define HAVE_SIGINFO_T_SI_FD 1
22315 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22316 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22317 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 cat >conftest.$ac_ext <<_ACEOF
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 #include <sys/types.h>
22327 #ifdef HAVE_SYS_MTIO_H
22328 #include <sys/mtio.h>
22334 static struct mtget ac_aggr;
22335 if (ac_aggr.mt_blksiz)
22341 rm -f conftest.$ac_objext
22342 if { (ac_try="$ac_compile"
22343 case "(($ac_try" in
22344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22345 *) ac_try_echo=$ac_try;;
22347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22348 (eval "$ac_compile") 2>conftest.er1
22350 grep -v '^ *+' conftest.er1 >conftest.err
22352 cat conftest.err >&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } &&
22355 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22356 { (case "(($ac_try" in
22357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22358 *) ac_try_echo=$ac_try;;
22360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22361 (eval "$ac_try") 2>&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try='test -s conftest.$ac_objext'
22366 { (case "(($ac_try" in
22367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22368 *) ac_try_echo=$ac_try;;
22370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22371 (eval "$ac_try") 2>&5
22373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22374 (exit $ac_status); }; }; then
22375 ac_cv_member_struct_mtget_mt_blksiz=yes
22377 echo "$as_me: failed program was:" >&5
22378 sed 's/^/| /' conftest.$ac_ext >&5
22380 cat >conftest.$ac_ext <<_ACEOF
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 #include <sys/types.h>
22387 #ifdef HAVE_SYS_MTIO_H
22388 #include <sys/mtio.h>
22394 static struct mtget ac_aggr;
22395 if (sizeof ac_aggr.mt_blksiz)
22401 rm -f conftest.$ac_objext
22402 if { (ac_try="$ac_compile"
22403 case "(($ac_try" in
22404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22405 *) ac_try_echo=$ac_try;;
22407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22408 (eval "$ac_compile") 2>conftest.er1
22410 grep -v '^ *+' conftest.er1 >conftest.err
22412 cat conftest.err >&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } &&
22415 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22416 { (case "(($ac_try" in
22417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22418 *) ac_try_echo=$ac_try;;
22420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22421 (eval "$ac_try") 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; } &&
22425 { ac_try='test -s conftest.$ac_objext'
22426 { (case "(($ac_try" in
22427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22428 *) ac_try_echo=$ac_try;;
22430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22431 (eval "$ac_try") 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_cv_member_struct_mtget_mt_blksiz=yes
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22440 ac_cv_member_struct_mtget_mt_blksiz=no
22443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22448 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22449 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22450 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22452 cat >>confdefs.h <<_ACEOF
22453 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22458 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22459 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22460 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22463 cat >conftest.$ac_ext <<_ACEOF
22466 cat confdefs.h >>conftest.$ac_ext
22467 cat >>conftest.$ac_ext <<_ACEOF
22468 /* end confdefs.h. */
22469 #include <sys/types.h>
22470 #ifdef HAVE_SYS_MTIO_H
22471 #include <sys/mtio.h>
22477 static struct mtget ac_aggr;
22478 if (ac_aggr.mt_gstat)
22484 rm -f conftest.$ac_objext
22485 if { (ac_try="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22493 grep -v '^ *+' conftest.er1 >conftest.err
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } &&
22498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22499 { (case "(($ac_try" in
22500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22501 *) ac_try_echo=$ac_try;;
22503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22504 (eval "$ac_try") 2>&5
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; } &&
22508 { ac_try='test -s conftest.$ac_objext'
22509 { (case "(($ac_try" in
22510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22511 *) ac_try_echo=$ac_try;;
22513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22514 (eval "$ac_try") 2>&5
22516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22517 (exit $ac_status); }; }; then
22518 ac_cv_member_struct_mtget_mt_gstat=yes
22520 echo "$as_me: failed program was:" >&5
22521 sed 's/^/| /' conftest.$ac_ext >&5
22523 cat >conftest.$ac_ext <<_ACEOF
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 #include <sys/types.h>
22530 #ifdef HAVE_SYS_MTIO_H
22531 #include <sys/mtio.h>
22537 static struct mtget ac_aggr;
22538 if (sizeof ac_aggr.mt_gstat)
22544 rm -f conftest.$ac_objext
22545 if { (ac_try="$ac_compile"
22546 case "(($ac_try" in
22547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22548 *) ac_try_echo=$ac_try;;
22550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22551 (eval "$ac_compile") 2>conftest.er1
22553 grep -v '^ *+' conftest.er1 >conftest.err
22555 cat conftest.err >&5
22556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22557 (exit $ac_status); } &&
22558 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22559 { (case "(($ac_try" in
22560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22561 *) ac_try_echo=$ac_try;;
22563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22564 (eval "$ac_try") 2>&5
22566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22567 (exit $ac_status); }; } &&
22568 { ac_try='test -s conftest.$ac_objext'
22569 { (case "(($ac_try" in
22570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22571 *) ac_try_echo=$ac_try;;
22573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22574 (eval "$ac_try") 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 ac_cv_member_struct_mtget_mt_gstat=yes
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.$ac_ext >&5
22583 ac_cv_member_struct_mtget_mt_gstat=no
22586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22591 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22592 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22593 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22595 cat >>confdefs.h <<_ACEOF
22596 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22601 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22602 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22603 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22604 echo $ECHO_N "(cached) $ECHO_C" >&6
22606 cat >conftest.$ac_ext <<_ACEOF
22609 cat confdefs.h >>conftest.$ac_ext
22610 cat >>conftest.$ac_ext <<_ACEOF
22611 /* end confdefs.h. */
22612 #include <sys/types.h>
22613 #ifdef HAVE_SYS_MTIO_H
22614 #include <sys/mtio.h>
22620 static struct mtget ac_aggr;
22621 if (ac_aggr.mt_blkno)
22627 rm -f conftest.$ac_objext
22628 if { (ac_try="$ac_compile"
22629 case "(($ac_try" in
22630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_compile") 2>conftest.er1
22636 grep -v '^ *+' conftest.er1 >conftest.err
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } &&
22641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22642 { (case "(($ac_try" in
22643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22644 *) ac_try_echo=$ac_try;;
22646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22647 (eval "$ac_try") 2>&5
22649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22650 (exit $ac_status); }; } &&
22651 { ac_try='test -s conftest.$ac_objext'
22652 { (case "(($ac_try" in
22653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22654 *) ac_try_echo=$ac_try;;
22656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22657 (eval "$ac_try") 2>&5
22659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22660 (exit $ac_status); }; }; then
22661 ac_cv_member_struct_mtget_mt_blkno=yes
22663 echo "$as_me: failed program was:" >&5
22664 sed 's/^/| /' conftest.$ac_ext >&5
22666 cat >conftest.$ac_ext <<_ACEOF
22669 cat confdefs.h >>conftest.$ac_ext
22670 cat >>conftest.$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 #include <sys/types.h>
22673 #ifdef HAVE_SYS_MTIO_H
22674 #include <sys/mtio.h>
22680 static struct mtget ac_aggr;
22681 if (sizeof ac_aggr.mt_blkno)
22687 rm -f conftest.$ac_objext
22688 if { (ac_try="$ac_compile"
22689 case "(($ac_try" in
22690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22691 *) ac_try_echo=$ac_try;;
22693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22694 (eval "$ac_compile") 2>conftest.er1
22696 grep -v '^ *+' conftest.er1 >conftest.err
22698 cat conftest.err >&5
22699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22700 (exit $ac_status); } &&
22701 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22702 { (case "(($ac_try" in
22703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22704 *) ac_try_echo=$ac_try;;
22706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22707 (eval "$ac_try") 2>&5
22709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22710 (exit $ac_status); }; } &&
22711 { ac_try='test -s conftest.$ac_objext'
22712 { (case "(($ac_try" in
22713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22714 *) ac_try_echo=$ac_try;;
22716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22717 (eval "$ac_try") 2>&5
22719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22720 (exit $ac_status); }; }; then
22721 ac_cv_member_struct_mtget_mt_blkno=yes
22723 echo "$as_me: failed program was:" >&5
22724 sed 's/^/| /' conftest.$ac_ext >&5
22726 ac_cv_member_struct_mtget_mt_blkno=no
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22734 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22735 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22736 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22738 cat >>confdefs.h <<_ACEOF
22739 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22746 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22747 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22748 if test "${ac_cv_member_struct_option_name+set}" = set; then
22749 echo $ECHO_N "(cached) $ECHO_C" >&6
22751 cat >conftest.$ac_ext <<_ACEOF
22754 cat confdefs.h >>conftest.$ac_ext
22755 cat >>conftest.$ac_ext <<_ACEOF
22756 /* end confdefs.h. */
22757 #ifdef HAVE_GETOPT_H
22758 #include <getopt.h>
22764 static struct option ac_aggr;
22771 rm -f conftest.$ac_objext
22772 if { (ac_try="$ac_compile"
22773 case "(($ac_try" in
22774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22775 *) ac_try_echo=$ac_try;;
22777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22778 (eval "$ac_compile") 2>conftest.er1
22780 grep -v '^ *+' conftest.er1 >conftest.err
22782 cat conftest.err >&5
22783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22784 (exit $ac_status); } &&
22785 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22786 { (case "(($ac_try" in
22787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22788 *) ac_try_echo=$ac_try;;
22790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22791 (eval "$ac_try") 2>&5
22793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22794 (exit $ac_status); }; } &&
22795 { ac_try='test -s conftest.$ac_objext'
22796 { (case "(($ac_try" in
22797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22798 *) ac_try_echo=$ac_try;;
22800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22801 (eval "$ac_try") 2>&5
22803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22804 (exit $ac_status); }; }; then
22805 ac_cv_member_struct_option_name=yes
22807 echo "$as_me: failed program was:" >&5
22808 sed 's/^/| /' conftest.$ac_ext >&5
22810 cat >conftest.$ac_ext <<_ACEOF
22813 cat confdefs.h >>conftest.$ac_ext
22814 cat >>conftest.$ac_ext <<_ACEOF
22815 /* end confdefs.h. */
22816 #ifdef HAVE_GETOPT_H
22817 #include <getopt.h>
22823 static struct option ac_aggr;
22824 if (sizeof ac_aggr.name)
22830 rm -f conftest.$ac_objext
22831 if { (ac_try="$ac_compile"
22832 case "(($ac_try" in
22833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22834 *) ac_try_echo=$ac_try;;
22836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22837 (eval "$ac_compile") 2>conftest.er1
22839 grep -v '^ *+' conftest.er1 >conftest.err
22841 cat conftest.err >&5
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); } &&
22844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22845 { (case "(($ac_try" in
22846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22847 *) ac_try_echo=$ac_try;;
22849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22850 (eval "$ac_try") 2>&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); }; } &&
22854 { ac_try='test -s conftest.$ac_objext'
22855 { (case "(($ac_try" in
22856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22857 *) ac_try_echo=$ac_try;;
22859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22860 (eval "$ac_try") 2>&5
22862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22863 (exit $ac_status); }; }; then
22864 ac_cv_member_struct_option_name=yes
22866 echo "$as_me: failed program was:" >&5
22867 sed 's/^/| /' conftest.$ac_ext >&5
22869 ac_cv_member_struct_option_name=no
22872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22878 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22879 if test $ac_cv_member_struct_option_name = yes; then
22881 cat >>confdefs.h <<_ACEOF
22882 #define HAVE_STRUCT_OPTION_NAME 1
22889 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22890 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22891 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22892 echo $ECHO_N "(cached) $ECHO_C" >&6
22894 cat >conftest.$ac_ext <<_ACEOF
22897 cat confdefs.h >>conftest.$ac_ext
22898 cat >>conftest.$ac_ext <<_ACEOF
22899 /* end confdefs.h. */
22900 $ac_includes_default
22904 static struct stat ac_aggr;
22905 if (ac_aggr.st_blocks)
22911 rm -f conftest.$ac_objext
22912 if { (ac_try="$ac_compile"
22913 case "(($ac_try" in
22914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22915 *) ac_try_echo=$ac_try;;
22917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22918 (eval "$ac_compile") 2>conftest.er1
22920 grep -v '^ *+' conftest.er1 >conftest.err
22922 cat conftest.err >&5
22923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22924 (exit $ac_status); } &&
22925 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22926 { (case "(($ac_try" in
22927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22928 *) ac_try_echo=$ac_try;;
22930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22931 (eval "$ac_try") 2>&5
22933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22934 (exit $ac_status); }; } &&
22935 { ac_try='test -s conftest.$ac_objext'
22936 { (case "(($ac_try" in
22937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22938 *) ac_try_echo=$ac_try;;
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_try") 2>&5
22943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22944 (exit $ac_status); }; }; then
22945 ac_cv_member_struct_stat_st_blocks=yes
22947 echo "$as_me: failed program was:" >&5
22948 sed 's/^/| /' conftest.$ac_ext >&5
22950 cat >conftest.$ac_ext <<_ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 $ac_includes_default
22960 static struct stat ac_aggr;
22961 if (sizeof ac_aggr.st_blocks)
22967 rm -f conftest.$ac_objext
22968 if { (ac_try="$ac_compile"
22969 case "(($ac_try" in
22970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22971 *) ac_try_echo=$ac_try;;
22973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22974 (eval "$ac_compile") 2>conftest.er1
22976 grep -v '^ *+' conftest.er1 >conftest.err
22978 cat conftest.err >&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); } &&
22981 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22982 { (case "(($ac_try" in
22983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22984 *) ac_try_echo=$ac_try;;
22986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22987 (eval "$ac_try") 2>&5
22989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22990 (exit $ac_status); }; } &&
22991 { ac_try='test -s conftest.$ac_objext'
22992 { (case "(($ac_try" in
22993 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22994 *) ac_try_echo=$ac_try;;
22996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22997 (eval "$ac_try") 2>&5
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_cv_member_struct_stat_st_blocks=yes
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23006 ac_cv_member_struct_stat_st_blocks=no
23009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23014 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
23015 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
23016 if test $ac_cv_member_struct_stat_st_blocks = yes; then
23018 cat >>confdefs.h <<_ACEOF
23019 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23026 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23027 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23028 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23029 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 cat >conftest.$ac_ext <<_ACEOF
23034 cat confdefs.h >>conftest.$ac_ext
23035 cat >>conftest.$ac_ext <<_ACEOF
23036 /* end confdefs.h. */
23037 #ifdef HAVE_SYS_TYPES_H
23038 #include <sys/types.h>
23040 #ifdef HAVE_NETINET_IN_H
23041 #include <netinet/in.h>
23047 static struct sockaddr_in6 ac_aggr;
23048 if (ac_aggr.sin6_scope_id)
23054 rm -f conftest.$ac_objext
23055 if { (ac_try="$ac_compile"
23056 case "(($ac_try" in
23057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23058 *) ac_try_echo=$ac_try;;
23060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23061 (eval "$ac_compile") 2>conftest.er1
23063 grep -v '^ *+' conftest.er1 >conftest.err
23065 cat conftest.err >&5
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } &&
23068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23069 { (case "(($ac_try" in
23070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23071 *) ac_try_echo=$ac_try;;
23073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23074 (eval "$ac_try") 2>&5
23076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23077 (exit $ac_status); }; } &&
23078 { ac_try='test -s conftest.$ac_objext'
23079 { (case "(($ac_try" in
23080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23081 *) ac_try_echo=$ac_try;;
23083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23084 (eval "$ac_try") 2>&5
23086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23087 (exit $ac_status); }; }; then
23088 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23090 echo "$as_me: failed program was:" >&5
23091 sed 's/^/| /' conftest.$ac_ext >&5
23093 cat >conftest.$ac_ext <<_ACEOF
23096 cat confdefs.h >>conftest.$ac_ext
23097 cat >>conftest.$ac_ext <<_ACEOF
23098 /* end confdefs.h. */
23099 #ifdef HAVE_SYS_TYPES_H
23100 #include <sys/types.h>
23102 #ifdef HAVE_NETINET_IN_H
23103 #include <netinet/in.h>
23109 static struct sockaddr_in6 ac_aggr;
23110 if (sizeof ac_aggr.sin6_scope_id)
23116 rm -f conftest.$ac_objext
23117 if { (ac_try="$ac_compile"
23118 case "(($ac_try" in
23119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23120 *) ac_try_echo=$ac_try;;
23122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23123 (eval "$ac_compile") 2>conftest.er1
23125 grep -v '^ *+' conftest.er1 >conftest.err
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } &&
23130 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23131 { (case "(($ac_try" in
23132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23133 *) ac_try_echo=$ac_try;;
23135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23136 (eval "$ac_try") 2>&5
23138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23139 (exit $ac_status); }; } &&
23140 { ac_try='test -s conftest.$ac_objext'
23141 { (case "(($ac_try" in
23142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_try") 2>&5
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; }; then
23150 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23152 echo "$as_me: failed program was:" >&5
23153 sed 's/^/| /' conftest.$ac_ext >&5
23155 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23164 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23165 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23167 cat >>confdefs.h <<_ACEOF
23168 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23175 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23176 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23177 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23178 echo $ECHO_N "(cached) $ECHO_C" >&6
23180 cat >conftest.$ac_ext <<_ACEOF
23183 cat confdefs.h >>conftest.$ac_ext
23184 cat >>conftest.$ac_ext <<_ACEOF
23185 /* end confdefs.h. */
23186 #ifdef HAVE_SYS_TYPES_H
23187 #include <sys/types.h>
23189 #ifdef HAVE_NETINET_IN_H
23190 # include <netinet/in.h>
23192 #ifdef HAVE_ARPA_NAMESER_H
23193 # include <arpa/nameser.h>
23199 static ns_msg ac_aggr;
23200 if (ac_aggr._msg_ptr)
23206 rm -f conftest.$ac_objext
23207 if { (ac_try="$ac_compile"
23208 case "(($ac_try" in
23209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23210 *) ac_try_echo=$ac_try;;
23212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23213 (eval "$ac_compile") 2>conftest.er1
23215 grep -v '^ *+' conftest.er1 >conftest.err
23217 cat conftest.err >&5
23218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23219 (exit $ac_status); } &&
23220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23221 { (case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_try") 2>&5
23228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23229 (exit $ac_status); }; } &&
23230 { ac_try='test -s conftest.$ac_objext'
23231 { (case "(($ac_try" in
23232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23233 *) ac_try_echo=$ac_try;;
23235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23236 (eval "$ac_try") 2>&5
23238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23239 (exit $ac_status); }; }; then
23240 ac_cv_member_ns_msg__msg_ptr=yes
23242 echo "$as_me: failed program was:" >&5
23243 sed 's/^/| /' conftest.$ac_ext >&5
23245 cat >conftest.$ac_ext <<_ACEOF
23248 cat confdefs.h >>conftest.$ac_ext
23249 cat >>conftest.$ac_ext <<_ACEOF
23250 /* end confdefs.h. */
23251 #ifdef HAVE_SYS_TYPES_H
23252 #include <sys/types.h>
23254 #ifdef HAVE_NETINET_IN_H
23255 # include <netinet/in.h>
23257 #ifdef HAVE_ARPA_NAMESER_H
23258 # include <arpa/nameser.h>
23264 static ns_msg ac_aggr;
23265 if (sizeof ac_aggr._msg_ptr)
23271 rm -f conftest.$ac_objext
23272 if { (ac_try="$ac_compile"
23273 case "(($ac_try" in
23274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23275 *) ac_try_echo=$ac_try;;
23277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23278 (eval "$ac_compile") 2>conftest.er1
23280 grep -v '^ *+' conftest.er1 >conftest.err
23282 cat conftest.err >&5
23283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23284 (exit $ac_status); } &&
23285 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23286 { (case "(($ac_try" in
23287 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23288 *) ac_try_echo=$ac_try;;
23290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23291 (eval "$ac_try") 2>&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); }; } &&
23295 { ac_try='test -s conftest.$ac_objext'
23296 { (case "(($ac_try" in
23297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23298 *) ac_try_echo=$ac_try;;
23300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23301 (eval "$ac_try") 2>&5
23303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23304 (exit $ac_status); }; }; then
23305 ac_cv_member_ns_msg__msg_ptr=yes
23307 echo "$as_me: failed program was:" >&5
23308 sed 's/^/| /' conftest.$ac_ext >&5
23310 ac_cv_member_ns_msg__msg_ptr=no
23313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23318 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23319 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23320 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23322 cat >>confdefs.h <<_ACEOF
23323 #define HAVE_NS_MSG__MSG_PTR 1
23330 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23331 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23332 if test "${ac_cv_have_timezone+set}" = set; then
23333 echo $ECHO_N "(cached) $ECHO_C" >&6
23335 cat >conftest.$ac_ext <<_ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23350 rm -f conftest.$ac_objext conftest$ac_exeext
23351 if { (ac_try="$ac_link"
23352 case "(($ac_try" in
23353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23354 *) ac_try_echo=$ac_try;;
23356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23357 (eval "$ac_link") 2>conftest.er1
23359 grep -v '^ *+' conftest.er1 >conftest.err
23361 cat conftest.err >&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); } &&
23364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23365 { (case "(($ac_try" in
23366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23367 *) ac_try_echo=$ac_try;;
23369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23370 (eval "$ac_try") 2>&5
23372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23373 (exit $ac_status); }; } &&
23374 { ac_try='test -s conftest$ac_exeext'
23375 { (case "(($ac_try" in
23376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23377 *) ac_try_echo=$ac_try;;
23379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23380 (eval "$ac_try") 2>&5
23382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23383 (exit $ac_status); }; }; then
23384 ac_cv_have_timezone="yes"
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.$ac_ext >&5
23389 ac_cv_have_timezone="no"
23392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23393 conftest$ac_exeext conftest.$ac_ext
23395 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23396 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23397 if test "$ac_cv_have_timezone" = "yes"
23400 cat >>confdefs.h <<\_ACEOF
23401 #define HAVE_TIMEZONE 1
23405 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23406 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23407 if test "${ac_cv_have_daylight+set}" = set; then
23408 echo $ECHO_N "(cached) $ECHO_C" >&6
23410 cat >conftest.$ac_ext <<_ACEOF
23413 cat confdefs.h >>conftest.$ac_ext
23414 cat >>conftest.$ac_ext <<_ACEOF
23415 /* end confdefs.h. */
23425 rm -f conftest.$ac_objext conftest$ac_exeext
23426 if { (ac_try="$ac_link"
23427 case "(($ac_try" in
23428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23429 *) ac_try_echo=$ac_try;;
23431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23432 (eval "$ac_link") 2>conftest.er1
23434 grep -v '^ *+' conftest.er1 >conftest.err
23436 cat conftest.err >&5
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); } &&
23439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23440 { (case "(($ac_try" in
23441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23442 *) ac_try_echo=$ac_try;;
23444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23445 (eval "$ac_try") 2>&5
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); }; } &&
23449 { ac_try='test -s conftest$ac_exeext'
23450 { (case "(($ac_try" in
23451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23452 *) ac_try_echo=$ac_try;;
23454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23455 (eval "$ac_try") 2>&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); }; }; then
23459 ac_cv_have_daylight="yes"
23461 echo "$as_me: failed program was:" >&5
23462 sed 's/^/| /' conftest.$ac_ext >&5
23464 ac_cv_have_daylight="no"
23467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23468 conftest$ac_exeext conftest.$ac_ext
23470 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23471 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23472 if test "$ac_cv_have_daylight" = "yes"
23475 cat >>confdefs.h <<\_ACEOF
23476 #define HAVE_DAYLIGHT 1
23483 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23484 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23485 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23486 echo $ECHO_N "(cached) $ECHO_C" >&6
23488 cat >conftest.$ac_ext <<_ACEOF
23491 cat confdefs.h >>conftest.$ac_ext
23492 cat >>conftest.$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23498 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23499 $EGREP "yes" >/dev/null 2>&1; then
23500 ac_cv_cpp_def___i386__=yes
23502 ac_cv_cpp_def___i386__=no
23507 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23508 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23509 if test $ac_cv_cpp_def___i386__ = yes; then
23510 CFLAGS="$CFLAGS -D__i386__"
23511 LINTFLAGS="$LINTFLAGS -D__i386__"
23514 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23515 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23516 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23517 echo $ECHO_N "(cached) $ECHO_C" >&6
23519 cat >conftest.$ac_ext <<_ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h. */
23529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23530 $EGREP "yes" >/dev/null 2>&1; then
23531 ac_cv_cpp_def___x86_64__=yes
23533 ac_cv_cpp_def___x86_64__=no
23538 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23539 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23540 if test $ac_cv_cpp_def___x86_64__ = yes; then
23541 CFLAGS="$CFLAGS -D__x86_64__"
23542 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23545 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23546 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23547 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23548 echo $ECHO_N "(cached) $ECHO_C" >&6
23550 cat >conftest.$ac_ext <<_ACEOF
23553 cat confdefs.h >>conftest.$ac_ext
23554 cat >>conftest.$ac_ext <<_ACEOF
23555 /* end confdefs.h. */
23560 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23561 $EGREP "yes" >/dev/null 2>&1; then
23562 ac_cv_cpp_def___ALPHA__=yes
23564 ac_cv_cpp_def___ALPHA__=no
23569 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23570 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23571 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23572 CFLAGS="$CFLAGS -D__ALPHA__"
23573 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23576 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23577 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23578 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23579 echo $ECHO_N "(cached) $ECHO_C" >&6
23581 cat >conftest.$ac_ext <<_ACEOF
23584 cat confdefs.h >>conftest.$ac_ext
23585 cat >>conftest.$ac_ext <<_ACEOF
23586 /* end confdefs.h. */
23591 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23592 $EGREP "yes" >/dev/null 2>&1; then
23593 ac_cv_cpp_def___sparc__=yes
23595 ac_cv_cpp_def___sparc__=no
23600 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23601 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23602 if test $ac_cv_cpp_def___sparc__ = yes; then
23603 CFLAGS="$CFLAGS -D__sparc__"
23604 LINTFLAGS="$LINTFLAGS -D__sparc__"
23607 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23608 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23609 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23610 echo $ECHO_N "(cached) $ECHO_C" >&6
23612 cat >conftest.$ac_ext <<_ACEOF
23615 cat confdefs.h >>conftest.$ac_ext
23616 cat >>conftest.$ac_ext <<_ACEOF
23617 /* end confdefs.h. */
23618 #ifndef __powerpc__
23622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23623 $EGREP "yes" >/dev/null 2>&1; then
23624 ac_cv_cpp_def___powerpc__=yes
23626 ac_cv_cpp_def___powerpc__=no
23631 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23632 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23633 if test $ac_cv_cpp_def___powerpc__ = yes; then
23634 CFLAGS="$CFLAGS -D__powerpc__"
23635 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23640 case $host_vendor in
23641 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23642 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23643 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23646 cat >conftest.$ac_ext <<_ACEOF
23649 cat confdefs.h >>conftest.$ac_ext
23650 cat >>conftest.$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23657 $EGREP "yes" >/dev/null 2>&1; then
23658 ac_cv_cpp_def___sun__=yes
23660 ac_cv_cpp_def___sun__=no
23665 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23666 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23667 if test $ac_cv_cpp_def___sun__ = yes; then
23668 CFLAGS="$CFLAGS -D__sun__"
23669 LINTFLAGS="$LINTFLAGS -D__sun__"
23675 DEPENDENCIES="### Dependencies:
23680 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23682 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23683 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23684 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23685 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23691 ac_config_commands="$ac_config_commands include/stamp-h"
23694 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23696 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23698 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23700 ac_config_commands="$ac_config_commands dlls/user32/resources"
23702 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23704 ac_config_commands="$ac_config_commands include/wine"
23707 MAKE_RULES=Make.rules
23710 MAKE_DLL_RULES=dlls/Makedll.rules
23713 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23716 MAKE_TEST_RULES=dlls/Maketest.rules
23719 MAKE_PROG_RULES=programs/Makeprog.rules
23722 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdoclc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user32/Makefile dlls/user32/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23725 cat >confcache <<\_ACEOF
23726 # This file is a shell script that caches the results of configure
23727 # tests run on this system so they can be shared between configure
23728 # scripts and configure runs, see configure's option --config-cache.
23729 # It is not useful on other systems. If it contains results you don't
23730 # want to keep, you may remove or edit it.
23732 # config.status only pays attention to the cache file if you give it
23733 # the --recheck option to rerun configure.
23735 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23736 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23737 # following values.
23741 # The following way of writing the cache mishandles newlines in values,
23742 # but we know of no workaround that is simple, portable, and efficient.
23743 # So, we kill variables containing newlines.
23744 # Ultrix sh set writes to stderr and can't be redirected directly,
23745 # and sets the high bit in the cache file unless we assign to the vars.
23747 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23748 eval ac_val=\$$ac_var
23752 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23753 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23756 _ | IFS | as_nl) ;; #(
23757 *) $as_unset $ac_var ;;
23763 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23764 *${as_nl}ac_space=\ *)
23765 # `set' does not quote correctly, so add quotes (double-quote
23766 # substitution turns \\\\ into \\, and sed turns \\ into \).
23769 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23772 # `set' quotes correctly as required by POSIX, so do not add quotes.
23773 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23782 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23784 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23786 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23787 if test -w "$cache_file"; then
23788 test "x$cache_file" != "x/dev/null" &&
23789 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23790 echo "$as_me: updating cache $cache_file" >&6;}
23791 cat confcache >$cache_file
23793 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23794 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23799 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23800 # Let make expand exec_prefix.
23801 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23803 DEFS=-DHAVE_CONFIG_H
23807 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23808 # 1. Remove the extension, and $U if already installed.
23809 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
23810 ac_i=`echo "$ac_i" | sed "$ac_script"`
23811 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23812 # will be set to the directory where LIBOBJS objects are built.
23813 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23814 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23816 LIBOBJS=$ac_libobjs
23818 LTLIBOBJS=$ac_ltlibobjs
23822 : ${CONFIG_STATUS=./config.status}
23823 ac_clean_files_save=$ac_clean_files
23824 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23825 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23826 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23827 cat >$CONFIG_STATUS <<_ACEOF
23829 # Generated by $as_me.
23830 # Run this file to recreate the current configuration.
23831 # Compiler output produced by configure, useful for debugging
23832 # configure, is in config.log if it exists.
23835 ac_cs_recheck=false
23837 SHELL=\${CONFIG_SHELL-$SHELL}
23840 cat >>$CONFIG_STATUS <<\_ACEOF
23841 ## --------------------- ##
23842 ## M4sh Initialization. ##
23843 ## --------------------- ##
23845 # Be Bourne compatible
23846 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23849 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23850 # is contrary to our usage. Disable this feature.
23851 alias -g '${1+"$@"}'='"$@"'
23852 setopt NO_GLOB_SUBST
23854 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
23856 BIN_SH=xpg4; export BIN_SH # for Tru64
23857 DUALCASE=1; export DUALCASE # for MKS sh
23861 # Avoid depending upon Character Ranges.
23862 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23863 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23864 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23865 as_cr_digits='0123456789'
23866 as_cr_alnum=$as_cr_Letters$as_cr_digits
23868 # The user is always right.
23869 if test "${PATH_SEPARATOR+set}" != set; then
23870 echo "#! /bin/sh" >conf$$.sh
23871 echo "exit 0" >>conf$$.sh
23873 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23881 # Support unset when possible.
23882 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
23890 # We need space, tab and new line, in precisely that order. Quoting is
23891 # there to prevent editors from complaining about space-tab.
23892 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23893 # splitting by setting IFS to empty value.)
23898 # Find who we are. Look in the path if we contain no directory separator.
23900 *[\\/]* ) as_myself=$0 ;;
23901 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23902 for as_dir in $PATH
23905 test -z "$as_dir" && as_dir=.
23906 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23912 # We did not find ourselves, most probably we were run as `sh COMMAND'
23913 # in which case we are not to be found in the path.
23914 if test "x$as_myself" = x; then
23917 if test ! -f "$as_myself"; then
23918 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23919 { (exit 1); exit 1; }
23922 # Work around bugs in pre-3.0 UWIN ksh.
23923 for as_var in ENV MAIL MAILPATH
23924 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23932 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23933 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23934 LC_TELEPHONE LC_TIME
23936 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23937 eval $as_var=C; export $as_var
23939 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
23943 # Required to use basename.
23944 if expr a : '\(a\)' >/dev/null 2>&1 &&
23945 test "X`expr 00001 : '.*\(...\)'`" = X001; then
23951 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23952 as_basename=basename
23958 # Name of the executable.
23959 as_me=`$as_basename -- "$0" ||
23960 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23961 X"$0" : 'X\(//\)$' \| \
23962 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23964 sed '/^.*\/\([^/][^/]*\)\/*$/{
23983 as_lineno_1=$LINENO
23984 as_lineno_2=$LINENO
23985 test "x$as_lineno_1" != "x$as_lineno_2" &&
23986 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
23988 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23989 # uniformly replaced by the line number. The first 'sed' inserts a
23990 # line-number line after each line using $LINENO; the second 'sed'
23991 # does the real work. The second script uses 'N' to pair each
23992 # line-number line with the line containing $LINENO, and appends
23993 # trailing '-' during substitution so that $LINENO is not a special
23994 # case at line end.
23995 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23996 # scripts with optimization help from Paolo Bonzini. Blame Lee
23997 # E. McMahon (1931-1989) for sed's syntax. :-)
24009 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
24012 ' >$as_me.lineno &&
24013 chmod +x "$as_me.lineno" ||
24014 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
24015 { (exit 1); exit 1; }; }
24017 # Don't try to exec as it changes $[0], causing all sort of problems
24018 # (the dirname of $[0] is not the place where we might find the
24019 # original and so on. Autoconf is especially sensitive to this).
24020 . "./$as_me.lineno"
24021 # Exit status is that of the last command.
24026 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
24032 ECHO_C= ECHO_N= ECHO_T=
24033 case `echo -n x` in
24035 case `echo 'x\c'` in
24036 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
24043 if expr a : '\(a\)' >/dev/null 2>&1 &&
24044 test "X`expr 00001 : '.*\(...\)'`" = X001; then
24050 rm -f conf$$ conf$$.exe conf$$.file
24051 if test -d conf$$.dir; then
24052 rm -f conf$$.dir/conf$$.file
24058 if ln -s conf$$.file conf$$ 2>/dev/null; then
24060 # ... but there are two gotchas:
24061 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24062 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24063 # In both cases, we have to default to `cp -p'.
24064 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
24066 elif ln conf$$.file conf$$ 2>/dev/null; then
24071 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
24072 rmdir conf$$.dir 2>/dev/null
24074 if mkdir -p . 2>/dev/null; then
24077 test -d ./-p && rmdir ./-p
24081 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24082 # systems may use methods other than mode bits to determine executability.
24083 cat >conf$$.file <<_ASEOF
24087 chmod +x conf$$.file
24088 if test -x conf$$.file >/dev/null 2>&1; then
24089 as_executable_p="test -x"
24095 # Sed expression to map a string onto a valid CPP name.
24096 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24098 # Sed expression to map a string onto a valid variable name.
24099 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24104 # Save the log message, to keep $[0] and so on meaningful, and to
24105 # report actual input values of CONFIG_FILES etc. instead of their
24106 # values after options handling.
24108 This file was extended by Wine $as_me 0.9.27, which was
24109 generated by GNU Autoconf 2.60a. Invocation command line was
24111 CONFIG_FILES = $CONFIG_FILES
24112 CONFIG_HEADERS = $CONFIG_HEADERS
24113 CONFIG_LINKS = $CONFIG_LINKS
24114 CONFIG_COMMANDS = $CONFIG_COMMANDS
24117 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24122 cat >>$CONFIG_STATUS <<_ACEOF
24123 # Files that config.status was made for.
24124 config_files="$ac_config_files"
24125 config_headers="$ac_config_headers"
24126 config_commands="$ac_config_commands"
24130 cat >>$CONFIG_STATUS <<\_ACEOF
24132 \`$as_me' instantiates files from templates according to the
24133 current configuration.
24135 Usage: $0 [OPTIONS] [FILE]...
24137 -h, --help print this help, then exit
24138 -V, --version print version number and configuration settings, then exit
24139 -q, --quiet do not print progress messages
24140 -d, --debug don't remove temporary files
24141 --recheck update $as_me by reconfiguring in the same conditions
24142 --file=FILE[:TEMPLATE]
24143 instantiate the configuration file FILE
24144 --header=FILE[:TEMPLATE]
24145 instantiate the configuration header FILE
24147 Configuration files:
24150 Configuration headers:
24153 Configuration commands:
24156 Report bugs to <bug-autoconf@gnu.org>."
24159 cat >>$CONFIG_STATUS <<_ACEOF
24161 Wine config.status 0.9.27
24162 configured by $0, generated by GNU Autoconf 2.60a,
24163 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24165 Copyright (C) 2006 Free Software Foundation, Inc.
24166 This config.status script is free software; the Free Software Foundation
24167 gives unlimited permission to copy, distribute and modify it."
24174 cat >>$CONFIG_STATUS <<\_ACEOF
24175 # If no file are specified by the user, then we need to provide default
24176 # value. By we need to know if files were specified by the user.
24182 ac_option=`expr "X$1" : 'X\([^=]*\)='`
24183 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
24194 # Handling of the options.
24195 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
24197 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
24198 echo "$ac_cs_version"; exit ;;
24199 --debug | --debu | --deb | --de | --d | -d )
24201 --file | --fil | --fi | --f )
24203 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
24204 ac_need_defaults=false;;
24205 --header | --heade | --head | --hea )
24207 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
24208 ac_need_defaults=false;;
24210 # Conflict between --help and --header
24211 { echo "$as_me: error: ambiguous option: $1
24212 Try \`$0 --help' for more information." >&2
24213 { (exit 1); exit 1; }; };;
24214 --help | --hel | -h )
24215 echo "$ac_cs_usage"; exit ;;
24216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
24217 | -silent | --silent | --silen | --sile | --sil | --si | --s)
24220 # This is an error.
24221 -*) { echo "$as_me: error: unrecognized option: $1
24222 Try \`$0 --help' for more information." >&2
24223 { (exit 1); exit 1; }; } ;;
24225 *) ac_config_targets="$ac_config_targets $1"
24226 ac_need_defaults=false ;;
24232 ac_configure_extra_args=
24234 if $ac_cs_silent; then
24236 ac_configure_extra_args="$ac_configure_extra_args --silent"
24240 cat >>$CONFIG_STATUS <<_ACEOF
24241 if \$ac_cs_recheck; then
24242 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24243 CONFIG_SHELL=$SHELL
24244 export CONFIG_SHELL
24245 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24249 cat >>$CONFIG_STATUS <<\_ACEOF
24253 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24254 ## Running $as_me. ##
24260 cat >>$CONFIG_STATUS <<_ACEOF
24263 cat >>$CONFIG_STATUS <<\_ACEOF
24265 # Handling of arguments.
24266 for ac_config_target in $ac_config_targets
24268 case $ac_config_target in
24269 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
24270 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
24271 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24272 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24273 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24274 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
24275 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24276 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
24277 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
24278 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
24279 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24280 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
24281 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
24282 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
24283 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
24284 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
24285 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24286 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24287 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
24288 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24289 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
24290 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
24291 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24292 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24293 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24294 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24295 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24296 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
24297 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24298 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24299 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
24300 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24301 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24302 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24303 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24304 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24305 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
24306 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24307 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24308 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24309 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24310 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24311 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24312 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24313 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24314 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24315 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24316 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24317 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24318 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24319 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24320 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24321 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24322 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24323 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24324 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
24325 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
24326 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24327 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24328 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
24329 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24330 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
24331 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24332 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24333 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24334 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24335 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24336 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24337 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24338 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24339 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
24340 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24341 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24342 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24343 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
24344 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24345 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
24346 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24347 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24348 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24349 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24350 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24351 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24352 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
24353 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24354 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24355 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
24356 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
24357 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24358 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24359 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
24360 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24361 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24362 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24363 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
24364 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24365 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24366 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
24367 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24368 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24369 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
24370 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24371 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24372 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
24373 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24374 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
24375 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24376 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24377 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24378 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24379 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24380 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24381 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24382 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
24383 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
24384 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24385 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24386 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24387 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
24388 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24389 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24390 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24391 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24392 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24393 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
24394 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24395 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24396 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24397 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24398 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24399 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24400 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24401 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
24402 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24403 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24404 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24405 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24406 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24407 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24408 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24409 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24410 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24411 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24412 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24413 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24414 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24415 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24416 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24417 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24418 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24419 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24420 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24421 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
24422 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24423 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24424 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24425 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
24426 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24427 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24428 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
24429 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24430 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24431 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24432 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24433 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24434 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24435 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24436 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24437 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24438 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24439 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
24440 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24441 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24442 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
24443 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
24444 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24445 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
24446 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24447 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
24448 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
24449 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24450 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
24451 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24452 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24453 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24454 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24455 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24456 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24457 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24458 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
24459 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24460 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
24461 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24462 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
24463 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24464 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24465 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
24466 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
24467 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24468 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24469 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
24470 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24471 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24472 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24473 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24474 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24475 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24476 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24477 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24478 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
24479 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24480 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24481 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24482 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24483 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
24484 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
24485 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24486 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24487 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
24488 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
24489 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
24490 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
24491 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24492 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
24493 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24494 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24495 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24496 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24497 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
24498 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24499 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24500 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24501 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24502 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24503 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24504 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24505 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24506 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24507 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
24508 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24509 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24510 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
24511 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24512 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
24513 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24514 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
24515 "dlls/winmm/joystick/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24516 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24517 "dlls/winmm/winealsa/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24518 "dlls/winmm/winearts/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24519 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24520 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24521 "dlls/winmm/wineesd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24522 "dlls/winmm/winejack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24523 "dlls/winmm/winenas/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24524 "dlls/winmm/wineoss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24525 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24526 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24527 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24528 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24529 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24530 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24531 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24532 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24533 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
24534 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24535 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24536 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24537 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24538 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
24539 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
24540 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
24541 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
24542 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
24543 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
24544 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
24545 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
24546 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
24547 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
24548 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
24549 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24550 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
24551 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
24552 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
24553 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
24554 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
24555 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
24556 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
24557 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
24558 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
24559 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
24560 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
24561 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
24562 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24563 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
24564 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
24565 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
24566 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24567 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24568 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
24569 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
24570 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24571 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
24572 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24573 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
24574 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
24575 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24576 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
24577 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
24578 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
24579 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
24580 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
24581 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
24582 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
24583 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
24584 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
24585 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
24586 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
24587 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
24588 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
24589 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
24590 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
24592 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24593 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24594 { (exit 1); exit 1; }; };;
24599 # If the user did not use the arguments to specify the items to instantiate,
24600 # then the envvar interface is used. Set only those that are not.
24601 # We use the long form for the default assignment because of an extremely
24602 # bizarre bug on SunOS 4.1.3.
24603 if $ac_need_defaults; then
24604 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24605 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24606 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24609 # Have a temporary directory for convenience. Make it in the build tree
24610 # simply because there is no reason against having it here, and in addition,
24611 # creating and moving files from /tmp can sometimes cause problems.
24612 # Hook for its removal unless debugging.
24613 # Note that there is a small window in which the directory will not be cleaned:
24614 # after its creation but before its name has been assigned to `$tmp'.
24618 trap 'exit_status=$?
24619 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24621 trap '{ (exit 1); exit 1; }' 1 2 13 15
24623 # Create a (secure) tmp directory for tmp files.
24626 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24627 test -n "$tmp" && test -d "$tmp"
24630 tmp=./conf$$-$RANDOM
24631 (umask 077 && mkdir "$tmp")
24634 echo "$me: cannot create a temporary directory in ." >&2
24635 { (exit 1); exit 1; }
24639 # Set up the sed scripts for CONFIG_FILES section.
24642 # No need to generate the scripts if there are no CONFIG_FILES.
24643 # This happens for instance when ./config.status config.h
24644 if test -n "$CONFIG_FILES"; then
24648 # Create sed commands to just substitute file output variables.
24650 # Remaining file output variables are in a fragment that also has non-file
24656 for ac_last_try in false false false false false :; do
24657 cat >conf$$subs.sed <<_ACEOF
24658 SHELL!$SHELL$ac_delim
24659 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24660 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24661 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24662 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24663 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24664 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24665 exec_prefix!$exec_prefix$ac_delim
24666 prefix!$prefix$ac_delim
24667 program_transform_name!$program_transform_name$ac_delim
24668 bindir!$bindir$ac_delim
24669 sbindir!$sbindir$ac_delim
24670 libexecdir!$libexecdir$ac_delim
24671 datarootdir!$datarootdir$ac_delim
24672 datadir!$datadir$ac_delim
24673 sysconfdir!$sysconfdir$ac_delim
24674 sharedstatedir!$sharedstatedir$ac_delim
24675 localstatedir!$localstatedir$ac_delim
24676 includedir!$includedir$ac_delim
24677 oldincludedir!$oldincludedir$ac_delim
24678 docdir!$docdir$ac_delim
24679 infodir!$infodir$ac_delim
24680 htmldir!$htmldir$ac_delim
24681 dvidir!$dvidir$ac_delim
24682 pdfdir!$pdfdir$ac_delim
24683 psdir!$psdir$ac_delim
24684 libdir!$libdir$ac_delim
24685 localedir!$localedir$ac_delim
24686 mandir!$mandir$ac_delim
24687 DEFS!$DEFS$ac_delim
24688 ECHO_C!$ECHO_C$ac_delim
24689 ECHO_N!$ECHO_N$ac_delim
24690 ECHO_T!$ECHO_T$ac_delim
24691 LIBS!$LIBS$ac_delim
24692 build_alias!$build_alias$ac_delim
24693 host_alias!$host_alias$ac_delim
24694 target_alias!$target_alias$ac_delim
24695 build!$build$ac_delim
24696 build_cpu!$build_cpu$ac_delim
24697 build_vendor!$build_vendor$ac_delim
24698 build_os!$build_os$ac_delim
24699 host!$host$ac_delim
24700 host_cpu!$host_cpu$ac_delim
24701 host_vendor!$host_vendor$ac_delim
24702 host_os!$host_os$ac_delim
24703 WIN16_FILES!$WIN16_FILES$ac_delim
24704 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24705 SET_MAKE!$SET_MAKE$ac_delim
24707 CFLAGS!$CFLAGS$ac_delim
24708 LDFLAGS!$LDFLAGS$ac_delim
24709 CPPFLAGS!$CPPFLAGS$ac_delim
24710 ac_ct_CC!$ac_ct_CC$ac_delim
24711 EXEEXT!$EXEEXT$ac_delim
24712 OBJEXT!$OBJEXT$ac_delim
24714 CXXFLAGS!$CXXFLAGS$ac_delim
24715 ac_ct_CXX!$ac_ct_CXX$ac_delim
24716 CPPBIN!$CPPBIN$ac_delim
24717 TOOLSDIR!$TOOLSDIR$ac_delim
24718 XMKMF!$XMKMF$ac_delim
24720 X_CFLAGS!$X_CFLAGS$ac_delim
24721 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24722 X_LIBS!$X_LIBS$ac_delim
24723 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24725 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24726 LEXLIB!$LEXLIB$ac_delim
24727 XLEX!$XLEX$ac_delim
24728 BISON!$BISON$ac_delim
24730 ac_ct_AS!$ac_ct_AS$ac_delim
24733 RANLIB!$RANLIB$ac_delim
24734 STRIP!$STRIP$ac_delim
24735 WINDRES!$WINDRES$ac_delim
24736 LN_S!$LN_S$ac_delim
24738 GREP!$GREP$ac_delim
24739 EGREP!$EGREP$ac_delim
24742 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24744 elif $ac_last_try; then
24745 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24746 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24747 { (exit 1); exit 1; }; }
24749 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24753 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24754 if test -n "$ac_eof"; then
24755 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24756 ac_eof=`expr $ac_eof + 1`
24759 cat >>$CONFIG_STATUS <<_ACEOF
24760 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24761 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24762 /^[ ]*@MAKE_RULES@[ ]*$/{
24766 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24770 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24771 r $MAKE_IMPLIB_RULES
24774 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24778 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24784 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24785 s/^/s,@/; s/!/@,|#_!!_#|/
24788 s/'"$ac_delim"'$/,g/; t
24790 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24791 ' >>$CONFIG_STATUS <conf$$subs.sed
24792 rm -f conf$$subs.sed
24793 cat >>$CONFIG_STATUS <<_ACEOF
24799 for ac_last_try in false false false false false :; do
24800 cat >conf$$subs.sed <<_ACEOF
24801 LDCONFIG!$LDCONFIG$ac_delim
24802 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24803 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24804 INSTALL_DATA!$INSTALL_DATA$ac_delim
24805 LINT!$LINT$ac_delim
24806 LINTFLAGS!$LINTFLAGS$ac_delim
24807 FONTFORGE!$FONTFORGE$ac_delim
24808 PKG_CONFIG!$PKG_CONFIG$ac_delim
24809 PRELINK!$PRELINK$ac_delim
24810 LIBPTHREAD!$LIBPTHREAD$ac_delim
24811 XLIB!$XLIB$ac_delim
24812 XFILES!$XFILES$ac_delim
24813 OPENGLFILES!$OPENGLFILES$ac_delim
24814 GLU32FILES!$GLU32FILES$ac_delim
24815 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24816 QUARTZFILES!$QUARTZFILES$ac_delim
24817 NASLIBS!$NASLIBS$ac_delim
24818 XML2LIBS!$XML2LIBS$ac_delim
24819 XML2INCL!$XML2INCL$ac_delim
24820 XSLTLIBS!$XSLTLIBS$ac_delim
24821 XSLTINCL!$XSLTINCL$ac_delim
24822 HALINCL!$HALINCL$ac_delim
24823 CURSESLIBS!$CURSESLIBS$ac_delim
24824 sane_devel!$sane_devel$ac_delim
24825 SANELIBS!$SANELIBS$ac_delim
24826 SANEINCL!$SANEINCL$ac_delim
24827 gphoto2_devel!$gphoto2_devel$ac_delim
24828 gphoto2port_devel!$gphoto2port_devel$ac_delim
24829 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24830 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24831 ICULIBS!$ICULIBS$ac_delim
24832 RESOLVLIBS!$RESOLVLIBS$ac_delim
24833 LCMSLIBS!$LCMSLIBS$ac_delim
24834 LDAPLIBS!$LDAPLIBS$ac_delim
24835 FREETYPELIBS!$FREETYPELIBS$ac_delim
24836 FREETYPEINCL!$FREETYPEINCL$ac_delim
24837 ft_devel!$ft_devel$ac_delim
24838 ft_devel2!$ft_devel2$ac_delim
24839 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24840 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24841 ARTSLIBS!$ARTSLIBS$ac_delim
24842 ARTSINCL!$ARTSINCL$ac_delim
24843 ESDCONFIG!$ESDCONFIG$ac_delim
24844 ESDLIBS!$ESDLIBS$ac_delim
24845 ESDINCL!$ESDINCL$ac_delim
24846 ALSALIBS!$ALSALIBS$ac_delim
24847 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24848 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24849 BUILTINFLAG!$BUILTINFLAG$ac_delim
24850 DLLEXT!$DLLEXT$ac_delim
24851 DLLFLAGS!$DLLFLAGS$ac_delim
24852 LDSHARED!$LDSHARED$ac_delim
24853 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24854 LIBEXT!$LIBEXT$ac_delim
24855 IMPLIBEXT!$IMPLIBEXT$ac_delim
24856 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24857 DLLTOOL!$DLLTOOL$ac_delim
24858 DLLWRAP!$DLLWRAP$ac_delim
24859 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24860 IOKITLIB!$IOKITLIB$ac_delim
24861 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24862 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24863 COREAUDIO!$COREAUDIO$ac_delim
24864 CROSSTEST!$CROSSTEST$ac_delim
24865 CROSSCC!$CROSSCC$ac_delim
24866 CROSSWINDRES!$CROSSWINDRES$ac_delim
24867 LDPATH!$LDPATH$ac_delim
24868 CRTLIBS!$CRTLIBS$ac_delim
24869 SOCKETLIBS!$SOCKETLIBS$ac_delim
24870 MAIN_BINARY!$MAIN_BINARY$ac_delim
24871 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24873 LIBDL!$LIBDL$ac_delim
24874 LIBPOLL!$LIBPOLL$ac_delim
24875 DEPENDENCIES!$DEPENDENCIES$ac_delim
24876 LIBOBJS!$LIBOBJS$ac_delim
24877 LTLIBOBJS!$LTLIBOBJS$ac_delim
24880 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 77; then
24882 elif $ac_last_try; then
24883 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24884 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24885 { (exit 1); exit 1; }; }
24887 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24891 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24892 if test -n "$ac_eof"; then
24893 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24894 ac_eof=`expr $ac_eof + 1`
24897 cat >>$CONFIG_STATUS <<_ACEOF
24898 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24899 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24902 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24903 s/^/s,@/; s/!/@,|#_!!_#|/
24906 s/'"$ac_delim"'$/,g/; t
24908 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24909 ' >>$CONFIG_STATUS <conf$$subs.sed
24910 rm -f conf$$subs.sed
24911 cat >>$CONFIG_STATUS <<_ACEOF
24918 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24919 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24920 # trailing colons and then remove the whole line if VPATH becomes empty
24921 # (actually we leave an empty line to preserve line numbers).
24922 if test "x$srcdir" = x.; then
24923 ac_vpsub='/^[ ]*VPATH[ ]*=/{
24924 s/:*\$(srcdir):*/:/
24925 s/:*\${srcdir}:*/:/
24927 s/^\([^=]*=[ ]*\):*/\1/
24933 cat >>$CONFIG_STATUS <<\_ACEOF
24934 fi # test -n "$CONFIG_FILES"
24937 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
24940 :[FHLC]) ac_mode=$ac_tag; continue;;
24942 case $ac_mode$ac_tag in
24944 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24945 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24946 { (exit 1); exit 1; }; };;
24947 :[FH]-) ac_tag=-:-;;
24948 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24965 -) ac_f="$tmp/stdin";;
24966 *) # Look for the file first in the build tree, then in the source tree
24967 # (if the path is not absolute). The absolute path cannot be DOS-style,
24968 # because $ac_f cannot contain `:'.
24972 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24974 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24975 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24976 { (exit 1); exit 1; }; };;
24978 ac_file_inputs="$ac_file_inputs $ac_f"
24981 # Let's still pretend it is `configure' which instantiates (i.e., don't
24982 # use $as_me), people would be surprised to read:
24983 # /* config.h. Generated by config.status. */
24984 configure_input="Generated from "`IFS=:
24985 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24986 if test x"$ac_file" != x-; then
24987 configure_input="$ac_file. $configure_input"
24988 { echo "$as_me:$LINENO: creating $ac_file" >&5
24989 echo "$as_me: creating $ac_file" >&6;}
24993 *:-:* | *:-) cat >"$tmp/stdin";;
24998 ac_dir=`$as_dirname -- "$ac_file" ||
24999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25000 X"$ac_file" : 'X\(//\)[^/]' \| \
25001 X"$ac_file" : 'X\(//\)$' \| \
25002 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
25004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25008 /^X\(\/\/\)[^/].*/{
25023 -*) as_dir=./$as_dir;;
25025 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
25029 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25030 *) as_qdir=$as_dir;;
25032 as_dirs="'$as_qdir' $as_dirs"
25033 as_dir=`$as_dirname -- "$as_dir" ||
25034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25035 X"$as_dir" : 'X\(//\)[^/]' \| \
25036 X"$as_dir" : 'X\(//\)$' \| \
25037 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25039 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25043 /^X\(\/\/\)[^/].*/{
25056 test -d "$as_dir" && break
25058 test -z "$as_dirs" || eval "mkdir $as_dirs"
25059 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25060 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25061 { (exit 1); exit 1; }; }; }
25065 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
25067 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25068 # A ".." for each directory in $ac_dir_suffix.
25069 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25070 case $ac_top_builddir_sub in
25071 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
25072 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
25075 ac_abs_top_builddir=$ac_pwd
25076 ac_abs_builddir=$ac_pwd$ac_dir_suffix
25077 # for backward compatibility:
25078 ac_top_builddir=$ac_top_build_prefix
25081 .) # We are building in place.
25083 ac_top_srcdir=$ac_top_builddir_sub
25084 ac_abs_top_srcdir=$ac_pwd ;;
25085 [\\/]* | ?:[\\/]* ) # Absolute name.
25086 ac_srcdir=$srcdir$ac_dir_suffix;
25087 ac_top_srcdir=$srcdir
25088 ac_abs_top_srcdir=$srcdir ;;
25089 *) # Relative name.
25090 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
25091 ac_top_srcdir=$ac_top_build_prefix$srcdir
25092 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
25094 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
25104 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
25105 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
25109 cat >>$CONFIG_STATUS <<\_ACEOF
25110 # If the template does not know about datarootdir, expand it.
25111 # FIXME: This hack should be removed a few years after 2.60.
25112 ac_datarootdir_hack=; ac_datarootdir_seen=
25114 case `sed -n '/datarootdir/ {
25123 ' $ac_file_inputs` in
25124 *datarootdir*) ac_datarootdir_seen=yes;;
25125 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
25126 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25127 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25129 cat >>$CONFIG_STATUS <<_ACEOF
25130 ac_datarootdir_hack='
25131 s&@datadir@&$datadir&g
25132 s&@docdir@&$docdir&g
25133 s&@infodir@&$infodir&g
25134 s&@localedir@&$localedir&g
25135 s&@mandir@&$mandir&g
25136 s&\\\${datarootdir}&$datarootdir&g' ;;
25140 # Neutralize VPATH when `$srcdir' = `.'.
25141 # Shell code in configure.ac might set extrasub.
25142 # FIXME: do we really want to maintain this feature?
25143 cat >>$CONFIG_STATUS <<_ACEOF
25147 cat >>$CONFIG_STATUS <<\_ACEOF
25149 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
25150 s&@configure_input@&$configure_input&;t t
25151 s&@top_builddir@&$ac_top_builddir_sub&;t t
25152 s&@srcdir@&$ac_srcdir&;t t
25153 s&@abs_srcdir@&$ac_abs_srcdir&;t t
25154 s&@top_srcdir@&$ac_top_srcdir&;t t
25155 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
25156 s&@builddir@&$ac_builddir&;t t
25157 s&@abs_builddir@&$ac_abs_builddir&;t t
25158 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
25159 s&@INSTALL@&$ac_INSTALL&;t t
25160 $ac_datarootdir_hack
25161 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
25163 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25164 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
25165 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
25166 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25167 which seems to be undefined. Please make sure it is defined." >&5
25168 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
25169 which seems to be undefined. Please make sure it is defined." >&2;}
25173 -) cat "$tmp/out"; rm -f "$tmp/out";;
25174 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25183 # Transform confdefs.h into a sed script `conftest.defines', that
25184 # substitutes the proper values into config.h.in to produce config.h.
25185 rm -f conftest.defines conftest.tail
25186 # First, append a space to every undef/define line, to ease matching.
25187 echo 's/$/ /' >conftest.defines
25188 # Then, protect against being on the right side of a sed subst, or in
25189 # an unquoted here document, in config.status. If some macros were
25190 # called several times there might be several #defines for the same
25191 # symbol, which is useless. But do not sort them, since the last
25192 # AC_DEFINE must be honored.
25193 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
25194 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25195 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25196 # PARAMS is the parameter list in the macro definition--in most cases, it's
25197 # just an empty string.
25198 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25199 ac_dB='\\)[ (].*,\\1define\\2'
25207 s/^[ ]*#[ ]*define[ ][ ]*//
25212 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25213 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25214 ' >>conftest.defines
25216 # Remove the space that was appended to ease matching.
25217 # Then replace #undef with comments. This is necessary, for
25218 # example, in the case of _POSIX_SOURCE, which is predefined and required
25219 # on some systems where configure will not decide to define it.
25220 # (The regexp can be short, since the line contains either #define or #undef.)
25222 s,^[ #]*u.*,/* & */,' >>conftest.defines
25224 # Break up conftest.defines:
25225 ac_max_sed_lines=50
25227 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25228 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25229 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25231 ac_in='$ac_file_inputs'
25232 ac_out='"$tmp/out1"'
25233 ac_nxt='"$tmp/out2"'
25237 # Write a here document:
25238 cat >>$CONFIG_STATUS <<_ACEOF
25239 # First, check the format of the line:
25240 cat >"\$tmp/defines.sed" <<\\CEOF
25241 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25242 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25246 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
25248 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25249 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
25250 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
25251 grep . conftest.tail >/dev/null || break
25252 rm -f conftest.defines
25253 mv conftest.tail conftest.defines
25255 rm -f conftest.defines conftest.tail
25257 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25258 cat >>$CONFIG_STATUS <<\_ACEOF
25259 if test x"$ac_file" != x-; then
25260 echo "/* $configure_input */" >"$tmp/config.h"
25261 cat "$ac_result" >>"$tmp/config.h"
25262 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
25263 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25264 echo "$as_me: $ac_file is unchanged" >&6;}
25267 mv "$tmp/config.h" $ac_file
25270 echo "/* $configure_input */"
25276 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25277 echo "$as_me: executing $ac_file commands" >&6;}
25282 case $ac_file$ac_mode in
25283 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
25284 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25285 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
25286 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25287 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
25288 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25289 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
25290 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
25291 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
25292 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25293 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
25294 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
25295 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
25301 { (exit 0); exit 0; }
25303 chmod +x $CONFIG_STATUS
25304 ac_clean_files=$ac_clean_files_save
25307 # configure is writing to config.log, and then calls config.status.
25308 # config.status does its own redirection, appending to config.log.
25309 # Unfortunately, on DOS this fails, as config.log is still kept open
25310 # by configure, so config.status won't be able to write to it; its
25311 # output is simply discarded. So we exec the FD to /dev/null,
25312 # effectively closing config.log, so it can be properly (re)opened and
25313 # appended to by config.status. When coming back to configure, we
25314 # need to make the FD available again.
25315 if test "$no_create" != yes; then
25317 ac_config_status_args=
25318 test "$silent" = yes &&
25319 ac_config_status_args="$ac_config_status_args --quiet"
25321 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25323 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25324 # would make configure fail if this is the last instruction.
25325 $ac_cs_success || { (exit 1); exit 1; }
25330 if test "$no_create" = "yes"
25335 if test "$verbose" = "yes"
25337 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25340 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25341 echo "$as_me: libcapi20 development files not found." >&6;}
25342 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25343 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25346 if test "$ac_cv_header_cups_cups_h" != "yes"
25349 { echo "$as_me:$LINENO: libcups development files not found." >&5
25350 echo "$as_me: libcups development files not found." >&6;}
25351 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25352 echo "$as_me: Wine will be built without CUPS support." >&6;}
25356 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25359 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25360 echo "$as_me: libgphoto2 development files not found." >&6;}
25361 if test "$ac_cv_header_sane_sane_h" = "yes"
25363 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25364 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25366 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25367 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25371 if test "$ac_cv_header_hal_libhal_h" != "yes"
25374 { echo "$as_me:$LINENO: libhal development files not found." >&5
25375 echo "$as_me: libhal development files not found." >&6;}
25376 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25377 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25380 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25383 { echo "$as_me:$LINENO: libicu development files not found." >&5
25384 echo "$as_me: libicu development files not found." >&6;}
25385 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25386 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25389 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25392 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25393 echo "$as_me: liblcms development files not found." >&6;}
25394 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25395 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25398 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25401 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25402 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25403 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25404 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25407 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25410 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25411 echo "$as_me: lib(n)curses development files not found." >&6;}
25412 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25413 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25416 if test "$ac_cv_header_sane_sane_h" != "yes"
25419 { echo "$as_me:$LINENO: libsane development files not found." >&5
25420 echo "$as_me: libsane development files not found." >&6;}
25421 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25422 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25425 if test "$have_x" = "yes"
25427 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25430 { echo "$as_me:$LINENO: libxext development files not found." >&5
25431 echo "$as_me: libxext development files not found." >&6;}
25432 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25433 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25436 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25439 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25440 echo "$as_me: libXrandr development files not found." >&6;}
25441 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25442 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25445 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25448 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25449 echo "$as_me: libXrender development files not found." >&6;}
25450 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25451 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25454 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25457 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25458 echo "$as_me: libXxf86vm development files not found." >&6;}
25459 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25460 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25464 if test "$ac_cv_header_libxml_parser_h" != "yes"
25467 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25468 echo "$as_me: libxml2 development files not found." >&6;}
25469 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25470 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25473 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25476 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25477 echo "$as_me: libxslt development files not found." >&6;}
25478 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25479 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25484 if test "$have_x" = "no"
25487 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25488 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25489 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25490 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25491 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25492 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25493 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25494 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25497 if test -z "$OPENGLFILES"
25500 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25501 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25502 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25503 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25504 if test "$wine_cv_opengl_headers_found" = "no"
25506 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25507 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25509 if test "$wine_cv_opengl_header_version_OK" = "no"
25511 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25512 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25513 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25515 if test -f /usr/X11R6/lib/libGL.a
25517 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25518 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25519 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25520 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25522 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25523 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25528 if test "$wine_cv_msg_freetype" = "yes"
25531 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25532 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25533 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25534 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25535 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25536 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25537 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25538 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25541 if test -z "$FONTSSUBDIRS"
25544 if test "$FONTFORGE" = "false"
25546 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25547 echo "$as_me: WARNING: FontForge is missing." >&2;}
25549 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25550 echo "$as_me: WARNING: FreeType is missing." >&2;}
25552 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25553 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25556 if test -z "$ALSALIBS" -a \
25557 -z "$ARTSC_LIBS" -a \
25558 -z "$AUDIOIOLIBS" -a \
25560 -z "$ESD_LIBS" -a \
25561 -z "$ac_cv_lib_soname_jack" -a \
25562 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25563 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25564 "$ac_cv_header_soundcard_h" != "yes"
25567 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25568 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25569 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25570 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25571 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25572 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25576 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."