2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for Wine 0.9.29.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix*) set -o posix ;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits='0123456789'
40 as_cr_alnum=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55 # Support unset when possible.
56 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself=$0 ;;
75 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir=.
80 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C; export $as_var
113 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a : '\(a\)' >/dev/null 2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
125 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x; then
157 if (eval ":") 2>/dev/null; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev/null; then
223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir=.
230 for as_base in sh bash ksh sh5; do
231 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
238 for as_shell in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev/null <<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix*) set -o posix ;;
260 CONFIG_SHELL=$as_shell
262 if { "$as_shell" 2> /dev/null <<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix*) set -o posix ;;
288 as_func_ret_success () {
291 as_func_ret_failure () {
296 if as_func_success; then
300 echo as_func_success failed.
303 if as_func_failure; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure; then
317 echo as_func_ret_failure succeeded.
320 if ( set x; as_func_ret_success y && test x = "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) || { (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x; then
345 for as_var in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no; then
354 echo This script requires a shell more modern than all the
355 echo shells that I found on your system. Please install a
356 echo modern shell, or manually run the script under such a
357 echo shell if you do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") || {
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x "$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474 ECHO_C= ECHO_N= ECHO_T=
478 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
485 if expr a : '\(a\)' >/dev/null 2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001; then
492 rm -f conf$$ conf$$.exe conf$$.file
493 if test -d conf$$.dir; then
494 rm -f conf$$.dir/conf$$.file
500 if ln -s conf$$.file conf$$ 2>/dev/null; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
508 elif ln conf$$.file conf$$ 2>/dev/null; then
513 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514 rmdir conf$$.dir 2>/dev/null
516 if mkdir -p . 2>/dev/null; then
519 test -d ./-p && rmdir ./-p
523 if test -x / >/dev/null 2>&1; then
526 if ls -dL / >/dev/null 2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev/null 6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix=/usr/local
566 ac_config_libobj_dir=.
572 SHELL=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
576 PACKAGE_TARNAME='wine'
577 PACKAGE_VERSION='0.9.29'
578 PACKAGE_STRING='Wine 0.9.29'
579 PACKAGE_BUGREPORT='wine-devel@winehq.org'
581 ac_unique_file="server/atom.c"
582 # Factoring default headers for most tests.
583 ac_includes_default="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
778 ac_subst_files='MAKE_RULES
783 ac_precious_vars='build_alias
798 # Initialize some variables set by options.
800 ac_init_version=false
801 # The variables have the same names as the options, with
802 # dashes changed to underlines.
810 program_transform_name=s,x,x,
818 # Installation directory options.
819 # These are left unexpanded so users can "make install exec_prefix=/foo"
820 # and all the variables that are supposed to be based on exec_prefix
821 # by default will actually change.
822 # Use braces instead of parens because sh, perl, etc. also accept them.
823 # (The list follows the same order as the GNU Coding Standards.)
824 bindir='${exec_prefix}/bin'
825 sbindir='${exec_prefix}/sbin'
826 libexecdir='${exec_prefix}/libexec'
827 datarootdir='${prefix}/share'
828 datadir='${datarootdir}'
829 sysconfdir='${prefix}/etc'
830 sharedstatedir='${prefix}/com'
831 localstatedir='${prefix}/var'
832 includedir='${prefix}/include'
833 oldincludedir='/usr/include'
834 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
835 infodir='${datarootdir}/info'
840 libdir='${exec_prefix}/lib'
841 localedir='${datarootdir}/locale'
842 mandir='${datarootdir}/man'
848 # If the previous option needs an argument, assign it.
849 if test -n "$ac_prev"; then
850 eval $ac_prev=\$ac_option
856 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
860 # Accept the important Cygnus configure options, so we can diagnose typos.
862 case $ac_dashdash$ac_option in
866 -bindir | --bindir | --bindi | --bind | --bin | --bi)
868 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
871 -build | --build | --buil | --bui | --bu)
872 ac_prev=build_alias ;;
873 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
874 build_alias=$ac_optarg ;;
876 -cache-file | --cache-file | --cache-fil | --cache-fi \
877 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
878 ac_prev=cache_file ;;
879 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
880 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
881 cache_file=$ac_optarg ;;
884 cache_file=config.cache ;;
886 -datadir | --datadir | --datadi | --datad)
888 -datadir=* | --datadir=* | --datadi=* | --datad=*)
889 datadir=$ac_optarg ;;
891 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
892 | --dataroo | --dataro | --datar)
893 ac_prev=datarootdir ;;
894 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
895 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
896 datarootdir=$ac_optarg ;;
898 -disable-* | --disable-*)
899 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
900 # Reject names that are not valid shell variable names.
901 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
902 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
903 { (exit 1); exit 1; }; }
904 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
905 eval enable_$ac_feature=no ;;
907 -docdir | --docdir | --docdi | --doc | --do)
909 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
912 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
914 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
917 -enable-* | --enable-*)
918 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
919 # Reject names that are not valid shell variable names.
920 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
921 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
922 { (exit 1); exit 1; }; }
923 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
924 eval enable_$ac_feature=\$ac_optarg ;;
926 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
927 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
928 | --exec | --exe | --ex)
929 ac_prev=exec_prefix ;;
930 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
931 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
932 | --exec=* | --exe=* | --ex=*)
933 exec_prefix=$ac_optarg ;;
935 -gas | --gas | --ga | --g)
936 # Obsolete; use --with-gas.
939 -help | --help | --hel | --he | -h)
941 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
942 ac_init_help=recursive ;;
943 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
944 ac_init_help=short ;;
946 -host | --host | --hos | --ho)
947 ac_prev=host_alias ;;
948 -host=* | --host=* | --hos=* | --ho=*)
949 host_alias=$ac_optarg ;;
951 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
953 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
955 htmldir=$ac_optarg ;;
957 -includedir | --includedir | --includedi | --included | --include \
958 | --includ | --inclu | --incl | --inc)
959 ac_prev=includedir ;;
960 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
961 | --includ=* | --inclu=* | --incl=* | --inc=*)
962 includedir=$ac_optarg ;;
964 -infodir | --infodir | --infodi | --infod | --info | --inf)
966 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
967 infodir=$ac_optarg ;;
969 -libdir | --libdir | --libdi | --libd)
971 -libdir=* | --libdir=* | --libdi=* | --libd=*)
974 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
975 | --libexe | --libex | --libe)
976 ac_prev=libexecdir ;;
977 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
978 | --libexe=* | --libex=* | --libe=*)
979 libexecdir=$ac_optarg ;;
981 -localedir | --localedir | --localedi | --localed | --locale)
983 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
984 localedir=$ac_optarg ;;
986 -localstatedir | --localstatedir | --localstatedi | --localstated \
987 | --localstate | --localstat | --localsta | --localst | --locals)
988 ac_prev=localstatedir ;;
989 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
990 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
991 localstatedir=$ac_optarg ;;
993 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
995 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
999 # Obsolete; use --without-fp.
1002 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1003 | --no-cr | --no-c | -n)
1006 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1007 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1010 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1011 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1012 | --oldin | --oldi | --old | --ol | --o)
1013 ac_prev=oldincludedir ;;
1014 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1015 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1016 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1017 oldincludedir=$ac_optarg ;;
1019 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1021 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1022 prefix=$ac_optarg ;;
1024 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1025 | --program-pre | --program-pr | --program-p)
1026 ac_prev=program_prefix ;;
1027 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1028 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1029 program_prefix=$ac_optarg ;;
1031 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1032 | --program-suf | --program-su | --program-s)
1033 ac_prev=program_suffix ;;
1034 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1035 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1036 program_suffix=$ac_optarg ;;
1038 -program-transform-name | --program-transform-name \
1039 | --program-transform-nam | --program-transform-na \
1040 | --program-transform-n | --program-transform- \
1041 | --program-transform | --program-transfor \
1042 | --program-transfo | --program-transf \
1043 | --program-trans | --program-tran \
1044 | --progr-tra | --program-tr | --program-t)
1045 ac_prev=program_transform_name ;;
1046 -program-transform-name=* | --program-transform-name=* \
1047 | --program-transform-nam=* | --program-transform-na=* \
1048 | --program-transform-n=* | --program-transform-=* \
1049 | --program-transform=* | --program-transfor=* \
1050 | --program-transfo=* | --program-transf=* \
1051 | --program-trans=* | --program-tran=* \
1052 | --progr-tra=* | --program-tr=* | --program-t=*)
1053 program_transform_name=$ac_optarg ;;
1055 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1057 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1058 pdfdir=$ac_optarg ;;
1060 -psdir | --psdir | --psdi | --psd | --ps)
1062 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1065 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1066 | -silent | --silent | --silen | --sile | --sil)
1069 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1071 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1073 sbindir=$ac_optarg ;;
1075 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1076 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1077 | --sharedst | --shareds | --shared | --share | --shar \
1079 ac_prev=sharedstatedir ;;
1080 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1081 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1082 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1084 sharedstatedir=$ac_optarg ;;
1086 -site | --site | --sit)
1088 -site=* | --site=* | --sit=*)
1091 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1093 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1094 srcdir=$ac_optarg ;;
1096 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1097 | --syscon | --sysco | --sysc | --sys | --sy)
1098 ac_prev=sysconfdir ;;
1099 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1100 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1101 sysconfdir=$ac_optarg ;;
1103 -target | --target | --targe | --targ | --tar | --ta | --t)
1104 ac_prev=target_alias ;;
1105 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1106 target_alias=$ac_optarg ;;
1108 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1111 -version | --version | --versio | --versi | --vers | -V)
1112 ac_init_version=: ;;
1115 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1118 { echo "$as_me: error: invalid package name: $ac_package" >&2
1119 { (exit 1); exit 1; }; }
1120 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1121 eval with_$ac_package=\$ac_optarg ;;
1123 -without-* | --without-*)
1124 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1127 { echo "$as_me: error: invalid package name: $ac_package" >&2
1128 { (exit 1); exit 1; }; }
1129 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1130 eval with_$ac_package=no ;;
1133 # Obsolete; use --with-x.
1136 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1137 | --x-incl | --x-inc | --x-in | --x-i)
1138 ac_prev=x_includes ;;
1139 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1140 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1141 x_includes=$ac_optarg ;;
1143 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1144 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1145 ac_prev=x_libraries ;;
1146 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1147 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1148 x_libraries=$ac_optarg ;;
1150 -*) { echo "$as_me: error: unrecognized option: $ac_option
1151 Try \`$0 --help' for more information." >&2
1152 { (exit 1); exit 1; }; }
1156 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1160 { (exit 1); exit 1; }; }
1161 eval $ac_envvar=\$ac_optarg
1162 export $ac_envvar ;;
1165 # FIXME: should be removed in autoconf 3.0.
1166 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1167 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1168 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1169 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1175 if test -n "$ac_prev"; then
1176 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1177 { echo "$as_me: error: missing argument to $ac_option" >&2
1178 { (exit 1); exit 1; }; }
1181 # Be sure to have absolute directory names.
1182 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1183 datadir sysconfdir sharedstatedir localstatedir includedir \
1184 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1185 libdir localedir mandir
1187 eval ac_val=\$$ac_var
1189 [\\/$]* | ?:[\\/]* ) continue;;
1190 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1192 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1193 { (exit 1); exit 1; }; }
1196 # There might be people who depend on the old broken behavior: `$host'
1197 # used to hold the argument of --host etc.
1198 # FIXME: To remove some day.
1201 target=$target_alias
1203 # FIXME: To remove some day.
1204 if test "x$host_alias" != x; then
1205 if test "x$build_alias" = x; then
1206 cross_compiling=maybe
1207 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1208 If a cross compiler is detected then cross compile mode will be used." >&2
1209 elif test "x$build_alias" != "x$host_alias"; then
1215 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1217 test "$silent" = yes && exec 6>/dev/null
1220 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1221 ac_ls_di=`ls -di .` &&
1222 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1223 { echo "$as_me: error: Working directory cannot be determined" >&2
1224 { (exit 1); exit 1; }; }
1225 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1226 { echo "$as_me: error: pwd does not report name of working directory" >&2
1227 { (exit 1); exit 1; }; }
1230 # Find the source files, if location was not specified.
1231 if test -z "$srcdir"; then
1232 ac_srcdir_defaulted=yes
1233 # Try the directory containing this script, then the parent directory.
1234 ac_confdir=`$as_dirname -- "$0" ||
1235 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1236 X"$0" : 'X\(//\)[^/]' \| \
1237 X"$0" : 'X\(//\)$' \| \
1238 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1258 if test ! -r "$srcdir/$ac_unique_file"; then
1262 ac_srcdir_defaulted=no
1264 if test ! -r "$srcdir/$ac_unique_file"; then
1265 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1266 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1267 { (exit 1); exit 1; }; }
1269 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1271 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1272 { (exit 1); exit 1; }; }
1274 # When building in place, set srcdir=.
1275 if test "$ac_abs_confdir" = "$ac_pwd"; then
1278 # Remove unnecessary trailing slashes from srcdir.
1279 # Double slashes in file names in object file debugging info
1280 # mess up M-x gdb in Emacs.
1282 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1284 for ac_var in $ac_precious_vars; do
1285 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1286 eval ac_env_${ac_var}_value=\$${ac_var}
1287 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1288 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1292 # Report the --help message.
1294 if test "$ac_init_help" = "long"; then
1295 # Omit some internal or obsolete options to make the list less imposing.
1296 # This message is too long to be a string in the A/UX 3.1 sh.
1298 \`configure' configures Wine 0.9.29 to adapt to many kinds of systems.
1300 Usage: $0 [OPTION]... [VAR=VALUE]...
1302 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1303 VAR=VALUE. See below for descriptions of some of the useful variables.
1305 Defaults for the options are specified in brackets.
1308 -h, --help display this help and exit
1309 --help=short display options specific to this package
1310 --help=recursive display the short help of all the included packages
1311 -V, --version display version information and exit
1312 -q, --quiet, --silent do not print \`checking...' messages
1313 --cache-file=FILE cache test results in FILE [disabled]
1314 -C, --config-cache alias for \`--cache-file=config.cache'
1315 -n, --no-create do not create output files
1316 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1318 Installation directories:
1319 --prefix=PREFIX install architecture-independent files in PREFIX
1320 [$ac_default_prefix]
1321 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1324 By default, \`make install' will install all the files in
1325 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1326 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1327 for instance \`--prefix=\$HOME'.
1329 For better control, use the options below.
1331 Fine tuning of the installation directories:
1332 --bindir=DIR user executables [EPREFIX/bin]
1333 --sbindir=DIR system admin executables [EPREFIX/sbin]
1334 --libexecdir=DIR program executables [EPREFIX/libexec]
1335 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1336 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1337 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1338 --libdir=DIR object code libraries [EPREFIX/lib]
1339 --includedir=DIR C header files [PREFIX/include]
1340 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1341 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1342 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1343 --infodir=DIR info documentation [DATAROOTDIR/info]
1344 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1345 --mandir=DIR man documentation [DATAROOTDIR/man]
1346 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1347 --htmldir=DIR html documentation [DOCDIR]
1348 --dvidir=DIR dvi documentation [DOCDIR]
1349 --pdfdir=DIR pdf documentation [DOCDIR]
1350 --psdir=DIR ps documentation [DOCDIR]
1356 --x-includes=DIR X include files are in DIR
1357 --x-libraries=DIR X library files are in DIR
1360 --build=BUILD configure for building on BUILD [guessed]
1361 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1365 if test -n "$ac_init_help"; then
1366 case $ac_init_help in
1367 short | recursive ) echo "Configuration of Wine 0.9.29:";;
1372 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1373 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1374 --disable-win16 do not include Win16 support
1375 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1379 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1380 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1381 --without-opengl do not use OpenGL
1382 --with-wine-tools=<dir> use Wine tools from directory <dir>
1383 --with-x use the X Window System
1385 Some influential environment variables:
1386 CC C compiler command
1387 CFLAGS C compiler flags
1388 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1389 nonstandard directory <lib dir>
1390 LIBS libraries to pass to the linker, e.g. -l<library>
1391 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1392 you have headers in a nonstandard directory <include dir>
1393 CXX C++ compiler command
1394 CXXFLAGS C++ compiler flags
1395 XMKMF Path to xmkmf, Makefile generator for X Window System
1398 Use these variables to override the choices made by `configure' or to help
1399 it to find libraries and programs with nonstandard names/locations.
1401 Report bugs to <wine-devel@winehq.org>.
1406 if test "$ac_init_help" = "recursive"; then
1407 # If there are subdirs, report their specific --help.
1408 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1409 test -d "$ac_dir" || continue
1413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1416 # A ".." for each directory in $ac_dir_suffix.
1417 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1418 case $ac_top_builddir_sub in
1419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1423 ac_abs_top_builddir=$ac_pwd
1424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1425 # for backward compatibility:
1426 ac_top_builddir=$ac_top_build_prefix
1429 .) # We are building in place.
1431 ac_top_srcdir=$ac_top_builddir_sub
1432 ac_abs_top_srcdir=$ac_pwd ;;
1433 [\\/]* | ?:[\\/]* ) # Absolute name.
1434 ac_srcdir=$srcdir$ac_dir_suffix;
1435 ac_top_srcdir=$srcdir
1436 ac_abs_top_srcdir=$srcdir ;;
1438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1439 ac_top_srcdir=$ac_top_build_prefix$srcdir
1440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1444 cd "$ac_dir" || { ac_status=$?; continue; }
1445 # Check for guested configure.
1446 if test -f "$ac_srcdir/configure.gnu"; then
1448 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1449 elif test -f "$ac_srcdir/configure"; then
1451 $SHELL "$ac_srcdir/configure" --help=recursive
1453 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1455 cd "$ac_pwd" || { ac_status=$?; break; }
1459 test -n "$ac_init_help" && exit $ac_status
1460 if $ac_init_version; then
1462 Wine configure 0.9.29
1463 generated by GNU Autoconf 2.61
1465 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1466 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1467 This configure script is free software; the Free Software Foundation
1468 gives unlimited permission to copy, distribute and modify it.
1472 cat >config.log <<_ACEOF
1473 This file contains any messages produced by compilers while
1474 running configure, to aid debugging if configure makes a mistake.
1476 It was created by Wine $as_me 0.9.29, which was
1477 generated by GNU Autoconf 2.61. Invocation command line was
1489 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1490 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1491 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1492 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1493 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1495 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1496 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1498 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1499 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1500 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1501 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1502 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1503 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1504 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1512 test -z "$as_dir" && as_dir=.
1513 echo "PATH: $as_dir"
1529 # Keep a trace of the command line.
1530 # Strip out --no-create and --no-recursion so they do not pile up.
1531 # Strip out --silent because we don't want to record it for future runs.
1532 # Also quote any args containing shell meta-characters.
1533 # Make two passes to allow for proper duplicate-argument suppression.
1537 ac_must_keep_next=false
1543 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1544 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1545 | -silent | --silent | --silen | --sile | --sil)
1548 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1551 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1553 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1554 if test $ac_must_keep_next = true; then
1555 ac_must_keep_next=false # Got value, back to normal.
1558 *=* | --config-cache | -C | -disable-* | --disable-* \
1559 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1560 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1561 | -with-* | --with-* | -without-* | --without-* | --x)
1562 case "$ac_configure_args0 " in
1563 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1566 -* ) ac_must_keep_next=true ;;
1569 ac_configure_args="$ac_configure_args '$ac_arg'"
1574 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1575 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1577 # When interrupted or exit'd, cleanup temporary files, and complete
1578 # config.log. We remove comments because anyway the quotes in there
1579 # would cause problems or look ugly.
1580 # WARNING: Use '\'' to represent an apostrophe within the trap.
1581 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1582 trap 'exit_status=$?
1583 # Save into config.log some information that might help in debugging.
1588 ## ---------------- ##
1589 ## Cache variables. ##
1590 ## ---------------- ##
1593 # The following way of writing the cache mishandles newlines in values,
1595 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1596 eval ac_val=\$$ac_var
1600 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1601 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1604 _ | IFS | as_nl) ;; #(
1605 *) $as_unset $ac_var ;;
1610 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1611 *${as_nl}ac_space=\ *)
1613 "s/'\''/'\''\\\\'\'''\''/g;
1614 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1617 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1625 ## ----------------- ##
1626 ## Output variables. ##
1627 ## ----------------- ##
1630 for ac_var in $ac_subst_vars
1632 eval ac_val=\$$ac_var
1634 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1636 echo "$ac_var='\''$ac_val'\''"
1640 if test -n "$ac_subst_files"; then
1642 ## ------------------- ##
1643 ## File substitutions. ##
1644 ## ------------------- ##
1647 for ac_var in $ac_subst_files
1649 eval ac_val=\$$ac_var
1651 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1653 echo "$ac_var='\''$ac_val'\''"
1658 if test -s confdefs.h; then
1668 test "$ac_signal" != 0 &&
1669 echo "$as_me: caught signal $ac_signal"
1670 echo "$as_me: exit $exit_status"
1672 rm -f core *.core core.conftest.* &&
1673 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1676 for ac_signal in 1 2 13 15; do
1677 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1681 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1682 rm -f -r conftest* confdefs.h
1684 # Predefined preprocessor variables.
1686 cat >>confdefs.h <<_ACEOF
1687 #define PACKAGE_NAME "$PACKAGE_NAME"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1696 cat >>confdefs.h <<_ACEOF
1697 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1701 cat >>confdefs.h <<_ACEOF
1702 #define PACKAGE_STRING "$PACKAGE_STRING"
1706 cat >>confdefs.h <<_ACEOF
1707 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1711 # Let the site file select an alternate cache file if it wants to.
1712 # Prefer explicitly selected file to automatically selected ones.
1713 if test -n "$CONFIG_SITE"; then
1714 set x "$CONFIG_SITE"
1715 elif test "x$prefix" != xNONE; then
1716 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1718 set x "$ac_default_prefix/share/config.site" \
1719 "$ac_default_prefix/etc/config.site"
1724 if test -r "$ac_site_file"; then
1725 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1726 echo "$as_me: loading site script $ac_site_file" >&6;}
1727 sed 's/^/| /' "$ac_site_file" >&5
1732 if test -r "$cache_file"; then
1733 # Some versions of bash will fail to source /dev/null (special
1734 # files actually), so we avoid doing that.
1735 if test -f "$cache_file"; then
1736 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1737 echo "$as_me: loading cache $cache_file" >&6;}
1739 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1740 *) . "./$cache_file";;
1744 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1745 echo "$as_me: creating cache $cache_file" >&6;}
1749 # Check that the precious variables saved in the cache have kept the same
1751 ac_cache_corrupted=false
1752 for ac_var in $ac_precious_vars; do
1753 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1754 eval ac_new_set=\$ac_env_${ac_var}_set
1755 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1756 eval ac_new_val=\$ac_env_${ac_var}_value
1757 case $ac_old_set,$ac_new_set in
1759 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1760 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1761 ac_cache_corrupted=: ;;
1763 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1764 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1765 ac_cache_corrupted=: ;;
1768 if test "x$ac_old_val" != "x$ac_new_val"; then
1769 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1770 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1771 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1772 echo "$as_me: former value: $ac_old_val" >&2;}
1773 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1774 echo "$as_me: current value: $ac_new_val" >&2;}
1775 ac_cache_corrupted=:
1778 # Pass precious variables to config.status.
1779 if test "$ac_new_set" = set; then
1781 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1782 *) ac_arg=$ac_var=$ac_new_val ;;
1784 case " $ac_configure_args " in
1785 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1786 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1790 if $ac_cache_corrupted; then
1791 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1792 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1793 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1794 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1795 { (exit 1); exit 1; }; }
1823 ac_cpp='$CPP $CPPFLAGS'
1824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1830 ac_config_headers="$ac_config_headers include/config.h"
1833 for ac_dir in tools "$srcdir"/tools; do
1834 if test -f "$ac_dir/install-sh"; then
1836 ac_install_sh="$ac_aux_dir/install-sh -c"
1838 elif test -f "$ac_dir/install.sh"; then
1840 ac_install_sh="$ac_aux_dir/install.sh -c"
1842 elif test -f "$ac_dir/shtool"; then
1844 ac_install_sh="$ac_aux_dir/shtool install -c"
1848 if test -z "$ac_aux_dir"; then
1849 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1850 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1851 { (exit 1); exit 1; }; }
1854 # These three variables are undocumented and unsupported,
1855 # and are intended to be withdrawn in a future Autoconf release.
1856 # They can cause serious problems if a builder's source tree is in a directory
1857 # whose full name contains unusual characters.
1858 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1859 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1860 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1865 # Check whether --enable-win16 was given.
1866 if test "${enable_win16+set}" = set; then
1867 enableval=$enable_win16;
1870 # Check whether --enable-win64 was given.
1871 if test "${enable_win64+set}" = set; then
1872 enableval=$enable_win64;
1877 # Check whether --with-opengl was given.
1878 if test "${with_opengl+set}" = set; then
1879 withval=$with_opengl;
1883 # Check whether --with-wine-tools was given.
1884 if test "${with_wine_tools+set}" = set; then
1885 withval=$with_wine_tools;
1889 # Make sure we can run config.sub.
1890 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1891 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1892 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1893 { (exit 1); exit 1; }; }
1895 { echo "$as_me:$LINENO: checking build system type" >&5
1896 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1897 if test "${ac_cv_build+set}" = set; then
1898 echo $ECHO_N "(cached) $ECHO_C" >&6
1900 ac_build_alias=$build_alias
1901 test "x$ac_build_alias" = x &&
1902 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1903 test "x$ac_build_alias" = x &&
1904 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1905 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1906 { (exit 1); exit 1; }; }
1907 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1908 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1909 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1910 { (exit 1); exit 1; }; }
1913 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1914 echo "${ECHO_T}$ac_cv_build" >&6; }
1915 case $ac_cv_build in
1917 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1918 echo "$as_me: error: invalid value of canonical build" >&2;}
1919 { (exit 1); exit 1; }; };;
1922 ac_save_IFS=$IFS; IFS='-'
1928 # Remember, the first character of IFS is used to create $*,
1929 # except with old shells:
1932 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1935 { echo "$as_me:$LINENO: checking host system type" >&5
1936 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1937 if test "${ac_cv_host+set}" = set; then
1938 echo $ECHO_N "(cached) $ECHO_C" >&6
1940 if test "x$host_alias" = x; then
1941 ac_cv_host=$ac_cv_build
1943 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1944 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1945 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1946 { (exit 1); exit 1; }; }
1950 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1951 echo "${ECHO_T}$ac_cv_host" >&6; }
1954 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1955 echo "$as_me: error: invalid value of canonical host" >&2;}
1956 { (exit 1); exit 1; }; };;
1959 ac_save_IFS=$IFS; IFS='-'
1965 # Remember, the first character of IFS is used to create $*,
1966 # except with old shells:
1969 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1974 if test "x$enable_win64" != "xyes"
1976 test -n "$CC" || CC="gcc -m32"
1977 test -n "$LD" || LD="ld -m elf_i386"
1978 test -n "$AS" || AS="as --32"
1986 if test "x$enable_win16" != "xno"
1993 WIN16_FILES="\$(WIN16_FILES)"
1995 WIN16_INSTALL="\$(WIN16_INSTALL)"
1997 if test "x$enable_win16" != "xyes"
2005 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2006 { { echo "$as_me:$LINENO: error: you are building out of the source tree, but the source tree contains object files.
2007 You need to run 'make distclean' in the source tree first." >&5
2008 echo "$as_me: error: you are building out of the source tree, but the source tree contains object files.
2009 You need to run 'make distclean' in the source tree first." >&2;}
2010 { (exit 1); exit 1; }; }
2015 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2016 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2017 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2018 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 cat >conftest.make <<\_ACEOF
2024 @echo '@@@%%%=$(MAKE)=@@@%%%'
2026 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2027 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2029 eval ac_cv_prog_make_${ac_make}_set=yes;;
2031 eval ac_cv_prog_make_${ac_make}_set=no;;
2035 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2036 { echo "$as_me:$LINENO: result: yes" >&5
2037 echo "${ECHO_T}yes" >&6; }
2040 { echo "$as_me:$LINENO: result: no" >&5
2041 echo "${ECHO_T}no" >&6; }
2042 SET_MAKE="MAKE=${MAKE-make}"
2046 ac_cpp='$CPP $CPPFLAGS'
2047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2050 if test -n "$ac_tool_prefix"; then
2051 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2052 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2055 if test "${ac_cv_prog_CC+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 if test -n "$CC"; then
2059 ac_cv_prog_CC="$CC" # Let the user override the test.
2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2065 test -z "$as_dir" && as_dir=.
2066 for ac_exec_ext in '' $ac_executable_extensions; do
2067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2068 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 if test -n "$CC"; then
2080 { echo "$as_me:$LINENO: result: $CC" >&5
2081 echo "${ECHO_T}$CC" >&6; }
2083 { echo "$as_me:$LINENO: result: no" >&5
2084 echo "${ECHO_T}no" >&6; }
2089 if test -z "$ac_cv_prog_CC"; then
2091 # Extract the first word of "gcc", so it can be a program name with args.
2092 set dummy gcc; ac_word=$2
2093 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$ac_ct_CC"; then
2099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_ac_ct_CC="gcc"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2118 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2119 if test -n "$ac_ct_CC"; then
2120 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2121 echo "${ECHO_T}$ac_ct_CC" >&6; }
2123 { echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6; }
2127 if test "x$ac_ct_CC" = x; then
2130 case $cross_compiling:$ac_tool_warned in
2132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2133 whose name does not start with the host triplet. If you think this
2134 configuration is useful to you, please write to autoconf@gnu.org." >&5
2135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2136 whose name does not start with the host triplet. If you think this
2137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2138 ac_tool_warned=yes ;;
2146 if test -z "$CC"; then
2147 if test -n "$ac_tool_prefix"; then
2148 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2149 set dummy ${ac_tool_prefix}cc; ac_word=$2
2150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2152 if test "${ac_cv_prog_CC+set}" = set; then
2153 echo $ECHO_N "(cached) $ECHO_C" >&6
2155 if test -n "$CC"; then
2156 ac_cv_prog_CC="$CC" # Let the user override the test.
2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2162 test -z "$as_dir" && as_dir=.
2163 for ac_exec_ext in '' $ac_executable_extensions; do
2164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2165 ac_cv_prog_CC="${ac_tool_prefix}cc"
2166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2176 if test -n "$CC"; then
2177 { echo "$as_me:$LINENO: result: $CC" >&5
2178 echo "${ECHO_T}$CC" >&6; }
2180 { echo "$as_me:$LINENO: result: no" >&5
2181 echo "${ECHO_T}no" >&6; }
2187 if test -z "$CC"; then
2188 # Extract the first word of "cc", so it can be a program name with args.
2189 set dummy cc; ac_word=$2
2190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2192 if test "${ac_cv_prog_CC+set}" = set; then
2193 echo $ECHO_N "(cached) $ECHO_C" >&6
2195 if test -n "$CC"; then
2196 ac_cv_prog_CC="$CC" # Let the user override the test.
2199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2203 test -z "$as_dir" && as_dir=.
2204 for ac_exec_ext in '' $ac_executable_extensions; do
2205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2206 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2207 ac_prog_rejected=yes
2211 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2218 if test $ac_prog_rejected = yes; then
2219 # We found a bogon in the path, so make sure we never use it.
2220 set dummy $ac_cv_prog_CC
2222 if test $# != 0; then
2223 # We chose a different compiler from the bogus one.
2224 # However, it has the same basename, so the bogon will be chosen
2225 # first if we set CC to just the basename; use the full file name.
2227 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2233 if test -n "$CC"; then
2234 { echo "$as_me:$LINENO: result: $CC" >&5
2235 echo "${ECHO_T}$CC" >&6; }
2237 { echo "$as_me:$LINENO: result: no" >&5
2238 echo "${ECHO_T}no" >&6; }
2243 if test -z "$CC"; then
2244 if test -n "$ac_tool_prefix"; then
2245 for ac_prog in cl.exe
2247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2251 if test "${ac_cv_prog_CC+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC="$CC" # Let the user override the test.
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 if test -n "$CC"; then
2276 { echo "$as_me:$LINENO: result: $CC" >&5
2277 echo "${ECHO_T}$CC" >&6; }
2279 { echo "$as_me:$LINENO: result: no" >&5
2280 echo "${ECHO_T}no" >&6; }
2284 test -n "$CC" && break
2287 if test -z "$CC"; then
2289 for ac_prog in cl.exe
2291 # Extract the first word of "$ac_prog", so it can be a program name with args.
2292 set dummy $ac_prog; ac_word=$2
2293 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2294 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2295 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2296 echo $ECHO_N "(cached) $ECHO_C" >&6
2298 if test -n "$ac_ct_CC"; then
2299 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2305 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2308 ac_cv_prog_ac_ct_CC="$ac_prog"
2309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2319 if test -n "$ac_ct_CC"; then
2320 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2321 echo "${ECHO_T}$ac_ct_CC" >&6; }
2323 { echo "$as_me:$LINENO: result: no" >&5
2324 echo "${ECHO_T}no" >&6; }
2328 test -n "$ac_ct_CC" && break
2331 if test "x$ac_ct_CC" = x; then
2334 case $cross_compiling:$ac_tool_warned in
2336 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2337 whose name does not start with the host triplet. If you think this
2338 configuration is useful to you, please write to autoconf@gnu.org." >&5
2339 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2340 whose name does not start with the host triplet. If you think this
2341 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2342 ac_tool_warned=yes ;;
2351 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2352 See \`config.log' for more details." >&5
2353 echo "$as_me: error: no acceptable C compiler found in \$PATH
2354 See \`config.log' for more details." >&2;}
2355 { (exit 1); exit 1; }; }
2357 # Provide some information about the compiler.
2358 echo "$as_me:$LINENO: checking for C compiler version" >&5
2359 ac_compiler=`set X $ac_compile; echo $2`
2360 { (ac_try="$ac_compiler --version >&5"
2362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2363 *) ac_try_echo=$ac_try;;
2365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2366 (eval "$ac_compiler --version >&5") 2>&5
2368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2369 (exit $ac_status); }
2370 { (ac_try="$ac_compiler -v >&5"
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2376 (eval "$ac_compiler -v >&5") 2>&5
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }
2380 { (ac_try="$ac_compiler -V >&5"
2382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2383 *) ac_try_echo=$ac_try;;
2385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2386 (eval "$ac_compiler -V >&5") 2>&5
2388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }
2391 cat >conftest.$ac_ext <<_ACEOF
2394 cat confdefs.h >>conftest.$ac_ext
2395 cat >>conftest.$ac_ext <<_ACEOF
2396 /* end confdefs.h. */
2406 ac_clean_files_save=$ac_clean_files
2407 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2408 # Try to create an executable without -o first, disregard a.out.
2409 # It will help us diagnose broken compilers, and finding out an intuition
2411 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2412 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2413 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2415 # List of possible output files, starting from the most likely.
2416 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2417 # only as a last resort. b.out is created by i960 compilers.
2418 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2420 # The IRIX 6 linker writes into existing files which may not be
2421 # executable, retaining their permissions. Remove them first so a
2422 # subsequent execution test works.
2424 for ac_file in $ac_files
2427 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2428 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2433 if { (ac_try="$ac_link_default"
2435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2436 *) ac_try_echo=$ac_try;;
2438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2439 (eval "$ac_link_default") 2>&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); }; then
2443 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2444 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2445 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2446 # so that the user can short-circuit this test for compilers unknown to
2448 for ac_file in $ac_files ''
2450 test -f "$ac_file" || continue
2452 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2455 # We found the default executable, but exeext='' is most
2459 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2461 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2463 # We set ac_cv_exeext here because the later test for it is not
2464 # safe: cross compilers may not add the suffix if given an `-o'
2465 # argument, so we may need to know it at that point already.
2466 # Even if this section looks crufty: it has the advantage of
2473 test "$ac_cv_exeext" = no && ac_cv_exeext=
2479 { echo "$as_me:$LINENO: result: $ac_file" >&5
2480 echo "${ECHO_T}$ac_file" >&6; }
2481 if test -z "$ac_file"; then
2482 echo "$as_me: failed program was:" >&5
2483 sed 's/^/| /' conftest.$ac_ext >&5
2485 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2486 See \`config.log' for more details." >&5
2487 echo "$as_me: error: C compiler cannot create executables
2488 See \`config.log' for more details." >&2;}
2489 { (exit 77); exit 77; }; }
2492 ac_exeext=$ac_cv_exeext
2494 # Check that the compiler produces executables we can run. If not, either
2495 # the compiler is broken, or we cross compile.
2496 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2497 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2498 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2499 # If not cross compiling, check that we can run a simple program.
2500 if test "$cross_compiling" != yes; then
2501 if { ac_try='./$ac_file'
2502 { (case "(($ac_try" in
2503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504 *) ac_try_echo=$ac_try;;
2506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2507 (eval "$ac_try") 2>&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); }; }; then
2513 if test "$cross_compiling" = maybe; then
2516 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2517 If you meant to cross compile, use \`--host'.
2518 See \`config.log' for more details." >&5
2519 echo "$as_me: error: cannot run C compiled programs.
2520 If you meant to cross compile, use \`--host'.
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2526 { echo "$as_me:$LINENO: result: yes" >&5
2527 echo "${ECHO_T}yes" >&6; }
2529 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2530 ac_clean_files=$ac_clean_files_save
2531 # Check that the compiler produces executables we can run. If not, either
2532 # the compiler is broken, or we cross compile.
2533 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2534 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2535 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2536 echo "${ECHO_T}$cross_compiling" >&6; }
2538 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2539 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2540 if { (ac_try="$ac_link"
2542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2543 *) ac_try_echo=$ac_try;;
2545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2546 (eval "$ac_link") 2>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; then
2550 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2551 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2552 # work properly (i.e., refer to `conftest.exe'), while it won't with
2554 for ac_file in conftest.exe conftest conftest.*; do
2555 test -f "$ac_file" || continue
2557 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2558 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2564 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2565 See \`config.log' for more details." >&5
2566 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2567 See \`config.log' for more details." >&2;}
2568 { (exit 1); exit 1; }; }
2571 rm -f conftest$ac_cv_exeext
2572 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2573 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2575 rm -f conftest.$ac_ext
2576 EXEEXT=$ac_cv_exeext
2578 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2579 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2580 if test "${ac_cv_objext+set}" = set; then
2581 echo $ECHO_N "(cached) $ECHO_C" >&6
2583 cat >conftest.$ac_ext <<_ACEOF
2586 cat confdefs.h >>conftest.$ac_ext
2587 cat >>conftest.$ac_ext <<_ACEOF
2588 /* end confdefs.h. */
2598 rm -f conftest.o conftest.obj
2599 if { (ac_try="$ac_compile"
2601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2602 *) ac_try_echo=$ac_try;;
2604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2605 (eval "$ac_compile") 2>&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; then
2609 for ac_file in conftest.o conftest.obj conftest.*; do
2610 test -f "$ac_file" || continue;
2612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2613 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2621 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2622 See \`config.log' for more details." >&5
2623 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2624 See \`config.log' for more details." >&2;}
2625 { (exit 1); exit 1; }; }
2628 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2630 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2631 echo "${ECHO_T}$ac_cv_objext" >&6; }
2632 OBJEXT=$ac_cv_objext
2634 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2635 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2636 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 cat >conftest.$ac_ext <<_ACEOF
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2657 rm -f conftest.$ac_objext
2658 if { (ac_try="$ac_compile"
2660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2661 *) ac_try_echo=$ac_try;;
2663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2664 (eval "$ac_compile") 2>conftest.er1
2666 grep -v '^ *+' conftest.er1 >conftest.err
2668 cat conftest.err >&5
2669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2670 (exit $ac_status); } && {
2671 test -z "$ac_c_werror_flag" ||
2672 test ! -s conftest.err
2673 } && test -s conftest.$ac_objext; then
2676 echo "$as_me: failed program was:" >&5
2677 sed 's/^/| /' conftest.$ac_ext >&5
2682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2683 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2686 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2687 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2688 GCC=`test $ac_compiler_gnu = yes && echo yes`
2689 ac_test_CFLAGS=${CFLAGS+set}
2690 ac_save_CFLAGS=$CFLAGS
2691 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2692 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2693 if test "${ac_cv_prog_cc_g+set}" = set; then
2694 echo $ECHO_N "(cached) $ECHO_C" >&6
2696 ac_save_c_werror_flag=$ac_c_werror_flag
2697 ac_c_werror_flag=yes
2700 cat >conftest.$ac_ext <<_ACEOF
2703 cat confdefs.h >>conftest.$ac_ext
2704 cat >>conftest.$ac_ext <<_ACEOF
2705 /* end confdefs.h. */
2715 rm -f conftest.$ac_objext
2716 if { (ac_try="$ac_compile"
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_compile") 2>conftest.er1
2724 grep -v '^ *+' conftest.er1 >conftest.err
2726 cat conftest.err >&5
2727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2728 (exit $ac_status); } && {
2729 test -z "$ac_c_werror_flag" ||
2730 test ! -s conftest.err
2731 } && test -s conftest.$ac_objext; then
2734 echo "$as_me: failed program was:" >&5
2735 sed 's/^/| /' conftest.$ac_ext >&5
2738 cat >conftest.$ac_ext <<_ACEOF
2741 cat confdefs.h >>conftest.$ac_ext
2742 cat >>conftest.$ac_ext <<_ACEOF
2743 /* end confdefs.h. */
2753 rm -f conftest.$ac_objext
2754 if { (ac_try="$ac_compile"
2756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2757 *) ac_try_echo=$ac_try;;
2759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2760 (eval "$ac_compile") 2>conftest.er1
2762 grep -v '^ *+' conftest.er1 >conftest.err
2764 cat conftest.err >&5
2765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2766 (exit $ac_status); } && {
2767 test -z "$ac_c_werror_flag" ||
2768 test ! -s conftest.err
2769 } && test -s conftest.$ac_objext; then
2772 echo "$as_me: failed program was:" >&5
2773 sed 's/^/| /' conftest.$ac_ext >&5
2775 ac_c_werror_flag=$ac_save_c_werror_flag
2777 cat >conftest.$ac_ext <<_ACEOF
2780 cat confdefs.h >>conftest.$ac_ext
2781 cat >>conftest.$ac_ext <<_ACEOF
2782 /* end confdefs.h. */
2792 rm -f conftest.$ac_objext
2793 if { (ac_try="$ac_compile"
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2799 (eval "$ac_compile") 2>conftest.er1
2801 grep -v '^ *+' conftest.er1 >conftest.err
2803 cat conftest.err >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); } && {
2806 test -z "$ac_c_werror_flag" ||
2807 test ! -s conftest.err
2808 } && test -s conftest.$ac_objext; then
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2824 ac_c_werror_flag=$ac_save_c_werror_flag
2826 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2827 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2828 if test "$ac_test_CFLAGS" = set; then
2829 CFLAGS=$ac_save_CFLAGS
2830 elif test $ac_cv_prog_cc_g = yes; then
2831 if test "$GCC" = yes; then
2837 if test "$GCC" = yes; then
2843 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2844 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2845 if test "${ac_cv_prog_cc_c89+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 ac_cv_prog_cc_c89=no
2850 cat >conftest.$ac_ext <<_ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2858 #include <sys/types.h>
2859 #include <sys/stat.h>
2860 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2861 struct buf { int x; };
2862 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2863 static char *e (p, i)
2869 static char *f (char * (*g) (char **, int), char **p, ...)
2874 s = g (p, va_arg (v,int));
2879 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2880 function prototypes and stuff, but not '\xHH' hex character constants.
2881 These don't provoke an error unfortunately, instead are silently treated
2882 as 'x'. The following induces an error, until -std is added to get
2883 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2884 array size at least. It's necessary to write '\x00'==0 to get something
2885 that's true only with -std. */
2886 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2888 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2889 inside strings and character constants. */
2891 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2893 int test (int i, double x);
2894 struct s1 {int (*f) (int a);};
2895 struct s2 {int (*f) (double a);};
2896 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2902 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2907 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2908 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2910 CC="$ac_save_CC $ac_arg"
2911 rm -f conftest.$ac_objext
2912 if { (ac_try="$ac_compile"
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2918 (eval "$ac_compile") 2>conftest.er1
2920 grep -v '^ *+' conftest.er1 >conftest.err
2922 cat conftest.err >&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); } && {
2925 test -z "$ac_c_werror_flag" ||
2926 test ! -s conftest.err
2927 } && test -s conftest.$ac_objext; then
2928 ac_cv_prog_cc_c89=$ac_arg
2930 echo "$as_me: failed program was:" >&5
2931 sed 's/^/| /' conftest.$ac_ext >&5
2936 rm -f core conftest.err conftest.$ac_objext
2937 test "x$ac_cv_prog_cc_c89" != "xno" && break
2939 rm -f conftest.$ac_ext
2944 case "x$ac_cv_prog_cc_c89" in
2946 { echo "$as_me:$LINENO: result: none needed" >&5
2947 echo "${ECHO_T}none needed" >&6; } ;;
2949 { echo "$as_me:$LINENO: result: unsupported" >&5
2950 echo "${ECHO_T}unsupported" >&6; } ;;
2952 CC="$CC $ac_cv_prog_cc_c89"
2953 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2954 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2959 ac_cpp='$CPP $CPPFLAGS'
2960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2965 ac_cpp='$CXXCPP $CPPFLAGS'
2966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2969 if test -z "$CXX"; then
2970 if test -n "$CCC"; then
2973 if test -n "$ac_tool_prefix"; then
2974 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2976 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2977 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2980 if test "${ac_cv_prog_CXX+set}" = set; then
2981 echo $ECHO_N "(cached) $ECHO_C" >&6
2983 if test -n "$CXX"; then
2984 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2990 test -z "$as_dir" && as_dir=.
2991 for ac_exec_ext in '' $ac_executable_extensions; do
2992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2993 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 if test -n "$CXX"; then
3005 { echo "$as_me:$LINENO: result: $CXX" >&5
3006 echo "${ECHO_T}$CXX" >&6; }
3008 { echo "$as_me:$LINENO: result: no" >&5
3009 echo "${ECHO_T}no" >&6; }
3013 test -n "$CXX" && break
3016 if test -z "$CXX"; then
3018 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3020 # Extract the first word of "$ac_prog", so it can be a program name with args.
3021 set dummy $ac_prog; ac_word=$2
3022 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3023 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3024 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3025 echo $ECHO_N "(cached) $ECHO_C" >&6
3027 if test -n "$ac_ct_CXX"; then
3028 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 test -z "$as_dir" && as_dir=.
3035 for ac_exec_ext in '' $ac_executable_extensions; do
3036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3037 ac_cv_prog_ac_ct_CXX="$ac_prog"
3038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3047 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3048 if test -n "$ac_ct_CXX"; then
3049 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3050 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3052 { echo "$as_me:$LINENO: result: no" >&5
3053 echo "${ECHO_T}no" >&6; }
3057 test -n "$ac_ct_CXX" && break
3060 if test "x$ac_ct_CXX" = x; then
3063 case $cross_compiling:$ac_tool_warned in
3065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3066 whose name does not start with the host triplet. If you think this
3067 configuration is useful to you, please write to autoconf@gnu.org." >&5
3068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3069 whose name does not start with the host triplet. If you think this
3070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3071 ac_tool_warned=yes ;;
3079 # Provide some information about the compiler.
3080 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
3081 ac_compiler=`set X $ac_compile; echo $2`
3082 { (ac_try="$ac_compiler --version >&5"
3084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3085 *) ac_try_echo=$ac_try;;
3087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3088 (eval "$ac_compiler --version >&5") 2>&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }
3092 { (ac_try="$ac_compiler -v >&5"
3094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3095 *) ac_try_echo=$ac_try;;
3097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3098 (eval "$ac_compiler -v >&5") 2>&5
3100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3101 (exit $ac_status); }
3102 { (ac_try="$ac_compiler -V >&5"
3104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3108 (eval "$ac_compiler -V >&5") 2>&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); }
3113 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3114 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
3115 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3116 echo $ECHO_N "(cached) $ECHO_C" >&6
3118 cat >conftest.$ac_ext <<_ACEOF
3121 cat confdefs.h >>conftest.$ac_ext
3122 cat >>conftest.$ac_ext <<_ACEOF
3123 /* end confdefs.h. */
3136 rm -f conftest.$ac_objext
3137 if { (ac_try="$ac_compile"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_compile") 2>conftest.er1
3145 grep -v '^ *+' conftest.er1 >conftest.err
3147 cat conftest.err >&5
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); } && {
3150 test -z "$ac_cxx_werror_flag" ||
3151 test ! -s conftest.err
3152 } && test -s conftest.$ac_objext; then
3155 echo "$as_me: failed program was:" >&5
3156 sed 's/^/| /' conftest.$ac_ext >&5
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3171 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
3172 if test "${ac_cv_prog_cxx_g+set}" = set; then
3173 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3176 ac_cxx_werror_flag=yes
3179 cat >conftest.$ac_ext <<_ACEOF
3182 cat confdefs.h >>conftest.$ac_ext
3183 cat >>conftest.$ac_ext <<_ACEOF
3184 /* end confdefs.h. */
3194 rm -f conftest.$ac_objext
3195 if { (ac_try="$ac_compile"
3197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3201 (eval "$ac_compile") 2>conftest.er1
3203 grep -v '^ *+' conftest.er1 >conftest.err
3205 cat conftest.err >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); } && {
3208 test -z "$ac_cxx_werror_flag" ||
3209 test ! -s conftest.err
3210 } && test -s conftest.$ac_objext; then
3211 ac_cv_prog_cxx_g=yes
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.$ac_ext >&5
3217 cat >conftest.$ac_ext <<_ACEOF
3220 cat confdefs.h >>conftest.$ac_ext
3221 cat >>conftest.$ac_ext <<_ACEOF
3222 /* end confdefs.h. */
3232 rm -f conftest.$ac_objext
3233 if { (ac_try="$ac_compile"
3235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3239 (eval "$ac_compile") 2>conftest.er1
3241 grep -v '^ *+' conftest.er1 >conftest.err
3243 cat conftest.err >&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); } && {
3246 test -z "$ac_cxx_werror_flag" ||
3247 test ! -s conftest.err
3248 } && test -s conftest.$ac_objext; then
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3256 cat >conftest.$ac_ext <<_ACEOF
3259 cat confdefs.h >>conftest.$ac_ext
3260 cat >>conftest.$ac_ext <<_ACEOF
3261 /* end confdefs.h. */
3271 rm -f conftest.$ac_objext
3272 if { (ac_try="$ac_compile"
3274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3275 *) ac_try_echo=$ac_try;;
3277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3278 (eval "$ac_compile") 2>conftest.er1
3280 grep -v '^ *+' conftest.er1 >conftest.err
3282 cat conftest.err >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } && {
3285 test -z "$ac_cxx_werror_flag" ||
3286 test ! -s conftest.err
3287 } && test -s conftest.$ac_objext; then
3288 ac_cv_prog_cxx_g=yes
3290 echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.$ac_ext >&5
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3303 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3305 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3306 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3307 if test "$ac_test_CXXFLAGS" = set; then
3308 CXXFLAGS=$ac_save_CXXFLAGS
3309 elif test $ac_cv_prog_cxx_g = yes; then
3310 if test "$GXX" = yes; then
3316 if test "$GXX" = yes; then
3323 ac_cpp='$CPP $CPPFLAGS'
3324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3328 if test -n "$ac_tool_prefix"; then
3329 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3330 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3331 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3332 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3333 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3334 echo $ECHO_N "(cached) $ECHO_C" >&6
3336 if test -n "$CPPBIN"; then
3337 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir=.
3344 for ac_exec_ext in '' $ac_executable_extensions; do
3345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3346 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
3347 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3356 CPPBIN=$ac_cv_prog_CPPBIN
3357 if test -n "$CPPBIN"; then
3358 { echo "$as_me:$LINENO: result: $CPPBIN" >&5
3359 echo "${ECHO_T}$CPPBIN" >&6; }
3361 { echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6; }
3367 if test -z "$ac_cv_prog_CPPBIN"; then
3368 ac_ct_CPPBIN=$CPPBIN
3369 # Extract the first word of "cpp", so it can be a program name with args.
3370 set dummy cpp; ac_word=$2
3371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3373 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3374 echo $ECHO_N "(cached) $ECHO_C" >&6
3376 if test -n "$ac_ct_CPPBIN"; then
3377 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 test -z "$as_dir" && as_dir=.
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3386 ac_cv_prog_ac_ct_CPPBIN="cpp"
3387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3396 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3397 if test -n "$ac_ct_CPPBIN"; then
3398 { echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
3399 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3401 { echo "$as_me:$LINENO: result: no" >&5
3402 echo "${ECHO_T}no" >&6; }
3405 if test "x$ac_ct_CPPBIN" = x; then
3408 case $cross_compiling:$ac_tool_warned in
3410 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3411 whose name does not start with the host triplet. If you think this
3412 configuration is useful to you, please write to autoconf@gnu.org." >&5
3413 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3414 whose name does not start with the host triplet. If you think this
3415 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3416 ac_tool_warned=yes ;;
3418 CPPBIN=$ac_ct_CPPBIN
3421 CPPBIN="$ac_cv_prog_CPPBIN"
3425 { echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
3426 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6; }
3427 if test "${wine_cv_toolsdir+set}" = set; then
3428 echo $ECHO_N "(cached) $ECHO_C" >&6
3430 if test -z "$with_wine_tools"; then
3431 if test "$cross_compiling" = "yes"; then
3432 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
3433 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
3434 { (exit 1); exit 1; }; }
3436 wine_cv_toolsdir="\$(TOPOBJDIR)"
3438 elif test -d "$with_wine_tools/tools/winebuild"; then
3439 case $with_wine_tools in
3440 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3441 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
3444 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
3445 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
3446 { (exit 1); exit 1; }; }
3449 { echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
3450 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3451 TOOLSDIR=$wine_cv_toolsdir
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3461 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3462 # On Suns, sometimes $CPP names a directory.
3463 if test -n "$CPP" && test -d "$CPP"; then
3466 if test -z "$CPP"; then
3467 if test "${ac_cv_prog_CPP+set}" = set; then
3468 echo $ECHO_N "(cached) $ECHO_C" >&6
3470 # Double quotes because CPP needs to be expanded
3471 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3474 for ac_c_preproc_warn_flag in '' yes
3476 # Use a header file that comes with gcc, so configuring glibc
3477 # with a fresh cross-compiler works.
3478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3479 # <limits.h> exists even on freestanding compilers.
3480 # On the NeXT, cc -E runs the code through the compiler's parser,
3481 # not just through cpp. "Syntax error" is here to catch this case.
3482 cat >conftest.$ac_ext <<_ACEOF
3485 cat confdefs.h >>conftest.$ac_ext
3486 cat >>conftest.$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3489 # include <limits.h>
3491 # include <assert.h>
3495 if { (ac_try="$ac_cpp conftest.$ac_ext"
3497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3498 *) ac_try_echo=$ac_try;;
3500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3503 grep -v '^ *+' conftest.er1 >conftest.err
3505 cat conftest.err >&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } >/dev/null && {
3508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3509 test ! -s conftest.err
3513 echo "$as_me: failed program was:" >&5
3514 sed 's/^/| /' conftest.$ac_ext >&5
3516 # Broken: fails on valid input.
3520 rm -f conftest.err conftest.$ac_ext
3522 # OK, works on sane cases. Now check whether nonexistent headers
3523 # can be detected and how.
3524 cat >conftest.$ac_ext <<_ACEOF
3527 cat confdefs.h >>conftest.$ac_ext
3528 cat >>conftest.$ac_ext <<_ACEOF
3529 /* end confdefs.h. */
3530 #include <ac_nonexistent.h>
3532 if { (ac_try="$ac_cpp conftest.$ac_ext"
3534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3535 *) ac_try_echo=$ac_try;;
3537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3538 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3540 grep -v '^ *+' conftest.er1 >conftest.err
3542 cat conftest.err >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); } >/dev/null && {
3545 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3546 test ! -s conftest.err
3548 # Broken: success on invalid input.
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3554 # Passes both tests.
3559 rm -f conftest.err conftest.$ac_ext
3562 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3563 rm -f conftest.err conftest.$ac_ext
3564 if $ac_preproc_ok; then
3576 { echo "$as_me:$LINENO: result: $CPP" >&5
3577 echo "${ECHO_T}$CPP" >&6; }
3579 for ac_c_preproc_warn_flag in '' yes
3581 # Use a header file that comes with gcc, so configuring glibc
3582 # with a fresh cross-compiler works.
3583 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3584 # <limits.h> exists even on freestanding compilers.
3585 # On the NeXT, cc -E runs the code through the compiler's parser,
3586 # not just through cpp. "Syntax error" is here to catch this case.
3587 cat >conftest.$ac_ext <<_ACEOF
3590 cat confdefs.h >>conftest.$ac_ext
3591 cat >>conftest.$ac_ext <<_ACEOF
3592 /* end confdefs.h. */
3594 # include <limits.h>
3596 # include <assert.h>
3600 if { (ac_try="$ac_cpp conftest.$ac_ext"
3602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3603 *) ac_try_echo=$ac_try;;
3605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3606 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3608 grep -v '^ *+' conftest.er1 >conftest.err
3610 cat conftest.err >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } >/dev/null && {
3613 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3614 test ! -s conftest.err
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3621 # Broken: fails on valid input.
3625 rm -f conftest.err conftest.$ac_ext
3627 # OK, works on sane cases. Now check whether nonexistent headers
3628 # can be detected and how.
3629 cat >conftest.$ac_ext <<_ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3635 #include <ac_nonexistent.h>
3637 if { (ac_try="$ac_cpp conftest.$ac_ext"
3639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3640 *) ac_try_echo=$ac_try;;
3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3643 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3645 grep -v '^ *+' conftest.er1 >conftest.err
3647 cat conftest.err >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } >/dev/null && {
3650 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3651 test ! -s conftest.err
3653 # Broken: success on invalid input.
3656 echo "$as_me: failed program was:" >&5
3657 sed 's/^/| /' conftest.$ac_ext >&5
3659 # Passes both tests.
3664 rm -f conftest.err conftest.$ac_ext
3667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3668 rm -f conftest.err conftest.$ac_ext
3669 if $ac_preproc_ok; then
3672 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3673 See \`config.log' for more details." >&5
3674 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3675 See \`config.log' for more details." >&2;}
3676 { (exit 1); exit 1; }; }
3680 ac_cpp='$CPP $CPPFLAGS'
3681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3686 { echo "$as_me:$LINENO: checking for X" >&5
3687 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3690 # Check whether --with-x was given.
3691 if test "${with_x+set}" = set; then
3695 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3696 if test "x$with_x" = xno; then
3697 # The user explicitly disabled X.
3700 case $x_includes,$x_libraries in #(
3701 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3702 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
3703 { (exit 1); exit 1; }; };; #(
3704 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 # One or both of the vars are not set, and there is no cached value.
3708 ac_x_includes=no ac_x_libraries=no
3709 rm -f -r conftest.dir
3710 if mkdir conftest.dir; then
3712 cat >Imakefile <<'_ACEOF'
3714 @echo incroot='${INCROOT}'
3716 @echo usrlibdir='${USRLIBDIR}'
3718 @echo libdir='${LIBDIR}'
3720 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3721 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3722 for ac_var in incroot usrlibdir libdir; do
3723 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3725 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3726 for ac_extension in a so sl; do
3727 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3728 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3729 ac_im_usrlibdir=$ac_im_libdir; break
3732 # Screen out bogus values from the imake configuration. They are
3733 # bogus both because they are the default anyway, and because
3734 # using them would break gcc on systems where it needs fixed includes.
3735 case $ac_im_incroot in
3736 /usr/include) ac_x_includes= ;;
3737 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3739 case $ac_im_usrlibdir in
3741 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3745 rm -f -r conftest.dir
3748 # Standard set of common directories for X headers.
3749 # Check X11 before X11Rn because it is often a symlink to the current release.
3761 /usr/local/X11/include
3762 /usr/local/X11R6/include
3763 /usr/local/X11R5/include
3764 /usr/local/X11R4/include
3766 /usr/local/include/X11
3767 /usr/local/include/X11R6
3768 /usr/local/include/X11R5
3769 /usr/local/include/X11R4
3773 /usr/XFree86/include/X11
3777 /usr/unsupported/include
3779 /usr/local/x11r5/include
3780 /usr/lpp/Xamples/include
3782 /usr/openwin/include
3783 /usr/openwin/share/include'
3785 if test "$ac_x_includes" = no; then
3786 # Guess where to find include files, by looking for Xlib.h.
3787 # First, try using that file with no special directory specified.
3788 cat >conftest.$ac_ext <<_ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3794 #include <X11/Xlib.h>
3796 if { (ac_try="$ac_cpp conftest.$ac_ext"
3798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3799 *) ac_try_echo=$ac_try;;
3801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3802 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3804 grep -v '^ *+' conftest.er1 >conftest.err
3806 cat conftest.err >&5
3807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808 (exit $ac_status); } >/dev/null && {
3809 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3810 test ! -s conftest.err
3812 # We can compile using X headers with no special include directory.
3815 echo "$as_me: failed program was:" >&5
3816 sed 's/^/| /' conftest.$ac_ext >&5
3818 for ac_dir in $ac_x_header_dirs; do
3819 if test -r "$ac_dir/X11/Xlib.h"; then
3820 ac_x_includes=$ac_dir
3826 rm -f conftest.err conftest.$ac_ext
3827 fi # $ac_x_includes = no
3829 if test "$ac_x_libraries" = no; then
3830 # Check for the libraries.
3831 # See if we find them without any special options.
3832 # Don't add to $LIBS permanently.
3835 cat >conftest.$ac_ext <<_ACEOF
3838 cat confdefs.h >>conftest.$ac_ext
3839 cat >>conftest.$ac_ext <<_ACEOF
3840 /* end confdefs.h. */
3841 #include <X11/Xlib.h>
3850 rm -f conftest.$ac_objext conftest$ac_exeext
3851 if { (ac_try="$ac_link"
3853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3854 *) ac_try_echo=$ac_try;;
3856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3857 (eval "$ac_link") 2>conftest.er1
3859 grep -v '^ *+' conftest.er1 >conftest.err
3861 cat conftest.err >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } && {
3864 test -z "$ac_c_werror_flag" ||
3865 test ! -s conftest.err
3866 } && test -s conftest$ac_exeext &&
3867 $as_test_x conftest$ac_exeext; then
3869 # We can link X programs with no special library path.
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3876 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3878 # Don't even attempt the hair of trying to link an X program!
3879 for ac_extension in a so sl; do
3880 if test -r "$ac_dir/libX11.$ac_extension"; then
3881 ac_x_libraries=$ac_dir
3888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3889 conftest$ac_exeext conftest.$ac_ext
3890 fi # $ac_x_libraries = no
3892 case $ac_x_includes,$ac_x_libraries in #(
3894 # Didn't find X, or a directory has "'" in its name.
3895 ac_cv_have_x="have_x=no";; #(
3897 # Record where we found X for the cache.
3898 ac_cv_have_x="have_x=yes\
3899 ac_x_includes='$ac_x_includes'\
3900 ac_x_libraries='$ac_x_libraries'"
3906 eval "$ac_cv_have_x"
3909 if test "$have_x" != yes; then
3910 { echo "$as_me:$LINENO: result: $have_x" >&5
3911 echo "${ECHO_T}$have_x" >&6; }
3914 # If each of the values was on the command line, it overrides each guess.
3915 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3916 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3917 # Update the cache value to reflect the command line values.
3918 ac_cv_have_x="have_x=yes\
3919 ac_x_includes='$x_includes'\
3920 ac_x_libraries='$x_libraries'"
3921 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3922 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
3925 if test "$no_x" = yes; then
3926 # Not all programs may use this symbol, but it does not hurt to define it.
3928 cat >>confdefs.h <<\_ACEOF
3929 #define X_DISPLAY_MISSING 1
3932 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3934 if test -n "$x_includes"; then
3935 X_CFLAGS="$X_CFLAGS -I$x_includes"
3938 # It would also be nice to do this for all -L options, not just this one.
3939 if test -n "$x_libraries"; then
3940 X_LIBS="$X_LIBS -L$x_libraries"
3941 # For Solaris; some versions of Sun CC require a space after -R and
3942 # others require no space. Words are not sufficient . . . .
3943 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3944 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
3945 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3946 ac_xsave_c_werror_flag=$ac_c_werror_flag
3947 ac_c_werror_flag=yes
3948 cat >conftest.$ac_ext <<_ACEOF
3951 cat confdefs.h >>conftest.$ac_ext
3952 cat >>conftest.$ac_ext <<_ACEOF
3953 /* end confdefs.h. */
3963 rm -f conftest.$ac_objext conftest$ac_exeext
3964 if { (ac_try="$ac_link"
3966 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3967 *) ac_try_echo=$ac_try;;
3969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3970 (eval "$ac_link") 2>conftest.er1
3972 grep -v '^ *+' conftest.er1 >conftest.err
3974 cat conftest.err >&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } && {
3977 test -z "$ac_c_werror_flag" ||
3978 test ! -s conftest.err
3979 } && test -s conftest$ac_exeext &&
3980 $as_test_x conftest$ac_exeext; then
3981 { echo "$as_me:$LINENO: result: no" >&5
3982 echo "${ECHO_T}no" >&6; }
3983 X_LIBS="$X_LIBS -R$x_libraries"
3985 echo "$as_me: failed program was:" >&5
3986 sed 's/^/| /' conftest.$ac_ext >&5
3988 LIBS="$ac_xsave_LIBS -R $x_libraries"
3989 cat >conftest.$ac_ext <<_ACEOF
3992 cat confdefs.h >>conftest.$ac_ext
3993 cat >>conftest.$ac_ext <<_ACEOF
3994 /* end confdefs.h. */
4004 rm -f conftest.$ac_objext conftest$ac_exeext
4005 if { (ac_try="$ac_link"
4007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4008 *) ac_try_echo=$ac_try;;
4010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4011 (eval "$ac_link") 2>conftest.er1
4013 grep -v '^ *+' conftest.er1 >conftest.err
4015 cat conftest.err >&5
4016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017 (exit $ac_status); } && {
4018 test -z "$ac_c_werror_flag" ||
4019 test ! -s conftest.err
4020 } && test -s conftest$ac_exeext &&
4021 $as_test_x conftest$ac_exeext; then
4022 { echo "$as_me:$LINENO: result: yes" >&5
4023 echo "${ECHO_T}yes" >&6; }
4024 X_LIBS="$X_LIBS -R $x_libraries"
4026 echo "$as_me: failed program was:" >&5
4027 sed 's/^/| /' conftest.$ac_ext >&5
4029 { echo "$as_me:$LINENO: result: neither works" >&5
4030 echo "${ECHO_T}neither works" >&6; }
4033 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4034 conftest$ac_exeext conftest.$ac_ext
4037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4038 conftest$ac_exeext conftest.$ac_ext
4039 ac_c_werror_flag=$ac_xsave_c_werror_flag
4043 # Check for system-dependent libraries X programs must link with.
4044 # Do this before checking for the system-independent R6 libraries
4045 # (-lICE), since we may need -lsocket or whatever for X linking.
4047 if test "$ISC" = yes; then
4048 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4050 # Martyn Johnson says this is needed for Ultrix, if the X
4051 # libraries were built with DECnet support. And Karl Berry says
4052 # the Alpha needs dnet_stub (dnet does not exist).
4053 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4054 cat >conftest.$ac_ext <<_ACEOF
4057 cat confdefs.h >>conftest.$ac_ext
4058 cat >>conftest.$ac_ext <<_ACEOF
4059 /* end confdefs.h. */
4061 /* Override any GCC internal prototype to avoid an error.
4062 Use char because int might match the return type of a GCC
4063 builtin and then its argument prototype would still apply. */
4067 char XOpenDisplay ();
4071 return XOpenDisplay ();
4076 rm -f conftest.$ac_objext conftest$ac_exeext
4077 if { (ac_try="$ac_link"
4079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4080 *) ac_try_echo=$ac_try;;
4082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4083 (eval "$ac_link") 2>conftest.er1
4085 grep -v '^ *+' conftest.er1 >conftest.err
4087 cat conftest.err >&5
4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4089 (exit $ac_status); } && {
4090 test -z "$ac_c_werror_flag" ||
4091 test ! -s conftest.err
4092 } && test -s conftest$ac_exeext &&
4093 $as_test_x conftest$ac_exeext; then
4096 echo "$as_me: failed program was:" >&5
4097 sed 's/^/| /' conftest.$ac_ext >&5
4099 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4100 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4101 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 ac_check_lib_save_LIBS=$LIBS
4106 cat >conftest.$ac_ext <<_ACEOF
4109 cat confdefs.h >>conftest.$ac_ext
4110 cat >>conftest.$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4113 /* Override any GCC internal prototype to avoid an error.
4114 Use char because int might match the return type of a GCC
4115 builtin and then its argument prototype would still apply. */
4123 return dnet_ntoa ();
4128 rm -f conftest.$ac_objext conftest$ac_exeext
4129 if { (ac_try="$ac_link"
4131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4132 *) ac_try_echo=$ac_try;;
4134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4135 (eval "$ac_link") 2>conftest.er1
4137 grep -v '^ *+' conftest.er1 >conftest.err
4139 cat conftest.err >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); } && {
4142 test -z "$ac_c_werror_flag" ||
4143 test ! -s conftest.err
4144 } && test -s conftest$ac_exeext &&
4145 $as_test_x conftest$ac_exeext; then
4146 ac_cv_lib_dnet_dnet_ntoa=yes
4148 echo "$as_me: failed program was:" >&5
4149 sed 's/^/| /' conftest.$ac_ext >&5
4151 ac_cv_lib_dnet_dnet_ntoa=no
4154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4155 conftest$ac_exeext conftest.$ac_ext
4156 LIBS=$ac_check_lib_save_LIBS
4158 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4159 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4160 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4161 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4164 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4165 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4166 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4167 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 ac_check_lib_save_LIBS=$LIBS
4171 LIBS="-ldnet_stub $LIBS"
4172 cat >conftest.$ac_ext <<_ACEOF
4175 cat confdefs.h >>conftest.$ac_ext
4176 cat >>conftest.$ac_ext <<_ACEOF
4177 /* end confdefs.h. */
4179 /* Override any GCC internal prototype to avoid an error.
4180 Use char because int might match the return type of a GCC
4181 builtin and then its argument prototype would still apply. */
4189 return dnet_ntoa ();
4194 rm -f conftest.$ac_objext conftest$ac_exeext
4195 if { (ac_try="$ac_link"
4197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4201 (eval "$ac_link") 2>conftest.er1
4203 grep -v '^ *+' conftest.er1 >conftest.err
4205 cat conftest.err >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } && {
4208 test -z "$ac_c_werror_flag" ||
4209 test ! -s conftest.err
4210 } && test -s conftest$ac_exeext &&
4211 $as_test_x conftest$ac_exeext; then
4212 ac_cv_lib_dnet_stub_dnet_ntoa=yes
4214 echo "$as_me: failed program was:" >&5
4215 sed 's/^/| /' conftest.$ac_ext >&5
4217 ac_cv_lib_dnet_stub_dnet_ntoa=no
4220 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4221 conftest$ac_exeext conftest.$ac_ext
4222 LIBS=$ac_check_lib_save_LIBS
4224 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4225 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4226 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4227 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
4233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4234 conftest$ac_exeext conftest.$ac_ext
4235 LIBS="$ac_xsave_LIBS"
4237 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4238 # to get the SysV transport functions.
4239 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4241 # The nsl library prevents programs from opening the X display
4242 # on Irix 5.2, according to T.E. Dickey.
4243 # The functions gethostbyname, getservbyname, and inet_addr are
4244 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4245 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4246 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4247 if test "${ac_cv_func_gethostbyname+set}" = set; then
4248 echo $ECHO_N "(cached) $ECHO_C" >&6
4250 cat >conftest.$ac_ext <<_ACEOF
4253 cat confdefs.h >>conftest.$ac_ext
4254 cat >>conftest.$ac_ext <<_ACEOF
4255 /* end confdefs.h. */
4256 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4258 #define gethostbyname innocuous_gethostbyname
4260 /* System header to define __stub macros and hopefully few prototypes,
4261 which can conflict with char gethostbyname (); below.
4262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4263 <limits.h> exists even on freestanding compilers. */
4266 # include <limits.h>
4268 # include <assert.h>
4271 #undef gethostbyname
4273 /* Override any GCC internal prototype to avoid an error.
4274 Use char because int might match the return type of a GCC
4275 builtin and then its argument prototype would still apply. */
4279 char gethostbyname ();
4280 /* The GNU C library defines this for functions which it implements
4281 to always fail with ENOSYS. Some functions are actually named
4282 something starting with __ and the normal name is an alias. */
4283 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4290 return gethostbyname ();
4295 rm -f conftest.$ac_objext conftest$ac_exeext
4296 if { (ac_try="$ac_link"
4298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4302 (eval "$ac_link") 2>conftest.er1
4304 grep -v '^ *+' conftest.er1 >conftest.err
4306 cat conftest.err >&5
4307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4308 (exit $ac_status); } && {
4309 test -z "$ac_c_werror_flag" ||
4310 test ! -s conftest.err
4311 } && test -s conftest$ac_exeext &&
4312 $as_test_x conftest$ac_exeext; then
4313 ac_cv_func_gethostbyname=yes
4315 echo "$as_me: failed program was:" >&5
4316 sed 's/^/| /' conftest.$ac_ext >&5
4318 ac_cv_func_gethostbyname=no
4321 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4322 conftest$ac_exeext conftest.$ac_ext
4324 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4325 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4327 if test $ac_cv_func_gethostbyname = no; then
4328 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4329 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4330 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 ac_check_lib_save_LIBS=$LIBS
4335 cat >conftest.$ac_ext <<_ACEOF
4338 cat confdefs.h >>conftest.$ac_ext
4339 cat >>conftest.$ac_ext <<_ACEOF
4340 /* end confdefs.h. */
4342 /* Override any GCC internal prototype to avoid an error.
4343 Use char because int might match the return type of a GCC
4344 builtin and then its argument prototype would still apply. */
4348 char gethostbyname ();
4352 return gethostbyname ();
4357 rm -f conftest.$ac_objext conftest$ac_exeext
4358 if { (ac_try="$ac_link"
4360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4361 *) ac_try_echo=$ac_try;;
4363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4364 (eval "$ac_link") 2>conftest.er1
4366 grep -v '^ *+' conftest.er1 >conftest.err
4368 cat conftest.err >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); } && {
4371 test -z "$ac_c_werror_flag" ||
4372 test ! -s conftest.err
4373 } && test -s conftest$ac_exeext &&
4374 $as_test_x conftest$ac_exeext; then
4375 ac_cv_lib_nsl_gethostbyname=yes
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.$ac_ext >&5
4380 ac_cv_lib_nsl_gethostbyname=no
4383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4384 conftest$ac_exeext conftest.$ac_ext
4385 LIBS=$ac_check_lib_save_LIBS
4387 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4388 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4389 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4390 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
4393 if test $ac_cv_lib_nsl_gethostbyname = no; then
4394 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4395 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4396 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 ac_check_lib_save_LIBS=$LIBS
4401 cat >conftest.$ac_ext <<_ACEOF
4404 cat confdefs.h >>conftest.$ac_ext
4405 cat >>conftest.$ac_ext <<_ACEOF
4406 /* end confdefs.h. */
4408 /* Override any GCC internal prototype to avoid an error.
4409 Use char because int might match the return type of a GCC
4410 builtin and then its argument prototype would still apply. */
4414 char gethostbyname ();
4418 return gethostbyname ();
4423 rm -f conftest.$ac_objext conftest$ac_exeext
4424 if { (ac_try="$ac_link"
4426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4427 *) ac_try_echo=$ac_try;;
4429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4430 (eval "$ac_link") 2>conftest.er1
4432 grep -v '^ *+' conftest.er1 >conftest.err
4434 cat conftest.err >&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); } && {
4437 test -z "$ac_c_werror_flag" ||
4438 test ! -s conftest.err
4439 } && test -s conftest$ac_exeext &&
4440 $as_test_x conftest$ac_exeext; then
4441 ac_cv_lib_bsd_gethostbyname=yes
4443 echo "$as_me: failed program was:" >&5
4444 sed 's/^/| /' conftest.$ac_ext >&5
4446 ac_cv_lib_bsd_gethostbyname=no
4449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4450 conftest$ac_exeext conftest.$ac_ext
4451 LIBS=$ac_check_lib_save_LIBS
4453 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4454 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4455 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4456 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4462 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4463 # socket/setsockopt and other routines are undefined under SCO ODT
4464 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4465 # on later versions), says Simon Leinen: it contains gethostby*
4466 # variants that don't use the name server (or something). -lsocket
4467 # must be given before -lnsl if both are needed. We assume that
4468 # if connect needs -lnsl, so does gethostbyname.
4469 { echo "$as_me:$LINENO: checking for connect" >&5
4470 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4471 if test "${ac_cv_func_connect+set}" = set; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 cat >conftest.$ac_ext <<_ACEOF
4477 cat confdefs.h >>conftest.$ac_ext
4478 cat >>conftest.$ac_ext <<_ACEOF
4479 /* end confdefs.h. */
4480 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4482 #define connect innocuous_connect
4484 /* System header to define __stub macros and hopefully few prototypes,
4485 which can conflict with char connect (); below.
4486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4487 <limits.h> exists even on freestanding compilers. */
4490 # include <limits.h>
4492 # include <assert.h>
4497 /* Override any GCC internal prototype to avoid an error.
4498 Use char because int might match the return type of a GCC
4499 builtin and then its argument prototype would still apply. */
4504 /* The GNU C library defines this for functions which it implements
4505 to always fail with ENOSYS. Some functions are actually named
4506 something starting with __ and the normal name is an alias. */
4507 #if defined __stub_connect || defined __stub___connect
4519 rm -f conftest.$ac_objext conftest$ac_exeext
4520 if { (ac_try="$ac_link"
4522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4523 *) ac_try_echo=$ac_try;;
4525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4526 (eval "$ac_link") 2>conftest.er1
4528 grep -v '^ *+' conftest.er1 >conftest.err
4530 cat conftest.err >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); } && {
4533 test -z "$ac_c_werror_flag" ||
4534 test ! -s conftest.err
4535 } && test -s conftest$ac_exeext &&
4536 $as_test_x conftest$ac_exeext; then
4537 ac_cv_func_connect=yes
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.$ac_ext >&5
4542 ac_cv_func_connect=no
4545 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4546 conftest$ac_exeext conftest.$ac_ext
4548 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4549 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4551 if test $ac_cv_func_connect = no; then
4552 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4553 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4554 if test "${ac_cv_lib_socket_connect+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 ac_check_lib_save_LIBS=$LIBS
4558 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4559 cat >conftest.$ac_ext <<_ACEOF
4562 cat confdefs.h >>conftest.$ac_ext
4563 cat >>conftest.$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4566 /* Override any GCC internal prototype to avoid an error.
4567 Use char because int might match the return type of a GCC
4568 builtin and then its argument prototype would still apply. */
4581 rm -f conftest.$ac_objext conftest$ac_exeext
4582 if { (ac_try="$ac_link"
4584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4585 *) ac_try_echo=$ac_try;;
4587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4588 (eval "$ac_link") 2>conftest.er1
4590 grep -v '^ *+' conftest.er1 >conftest.err
4592 cat conftest.err >&5
4593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4594 (exit $ac_status); } && {
4595 test -z "$ac_c_werror_flag" ||
4596 test ! -s conftest.err
4597 } && test -s conftest$ac_exeext &&
4598 $as_test_x conftest$ac_exeext; then
4599 ac_cv_lib_socket_connect=yes
4601 echo "$as_me: failed program was:" >&5
4602 sed 's/^/| /' conftest.$ac_ext >&5
4604 ac_cv_lib_socket_connect=no
4607 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4608 conftest$ac_exeext conftest.$ac_ext
4609 LIBS=$ac_check_lib_save_LIBS
4611 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4612 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4613 if test $ac_cv_lib_socket_connect = yes; then
4614 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4619 # Guillermo Gomez says -lposix is necessary on A/UX.
4620 { echo "$as_me:$LINENO: checking for remove" >&5
4621 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4622 if test "${ac_cv_func_remove+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 cat >conftest.$ac_ext <<_ACEOF
4628 cat confdefs.h >>conftest.$ac_ext
4629 cat >>conftest.$ac_ext <<_ACEOF
4630 /* end confdefs.h. */
4631 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4633 #define remove innocuous_remove
4635 /* System header to define __stub macros and hopefully few prototypes,
4636 which can conflict with char remove (); below.
4637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 <limits.h> exists even on freestanding compilers. */
4641 # include <limits.h>
4643 # include <assert.h>
4648 /* Override any GCC internal prototype to avoid an error.
4649 Use char because int might match the return type of a GCC
4650 builtin and then its argument prototype would still apply. */
4655 /* The GNU C library defines this for functions which it implements
4656 to always fail with ENOSYS. Some functions are actually named
4657 something starting with __ and the normal name is an alias. */
4658 #if defined __stub_remove || defined __stub___remove
4670 rm -f conftest.$ac_objext conftest$ac_exeext
4671 if { (ac_try="$ac_link"
4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677 (eval "$ac_link") 2>conftest.er1
4679 grep -v '^ *+' conftest.er1 >conftest.err
4681 cat conftest.err >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && {
4684 test -z "$ac_c_werror_flag" ||
4685 test ! -s conftest.err
4686 } && test -s conftest$ac_exeext &&
4687 $as_test_x conftest$ac_exeext; then
4688 ac_cv_func_remove=yes
4690 echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4693 ac_cv_func_remove=no
4696 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4697 conftest$ac_exeext conftest.$ac_ext
4699 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4700 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
4702 if test $ac_cv_func_remove = no; then
4703 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4704 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
4705 if test "${ac_cv_lib_posix_remove+set}" = set; then
4706 echo $ECHO_N "(cached) $ECHO_C" >&6
4708 ac_check_lib_save_LIBS=$LIBS
4709 LIBS="-lposix $LIBS"
4710 cat >conftest.$ac_ext <<_ACEOF
4713 cat confdefs.h >>conftest.$ac_ext
4714 cat >>conftest.$ac_ext <<_ACEOF
4715 /* end confdefs.h. */
4717 /* Override any GCC internal prototype to avoid an error.
4718 Use char because int might match the return type of a GCC
4719 builtin and then its argument prototype would still apply. */
4732 rm -f conftest.$ac_objext conftest$ac_exeext
4733 if { (ac_try="$ac_link"
4735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_link") 2>conftest.er1
4741 grep -v '^ *+' conftest.er1 >conftest.err
4743 cat conftest.err >&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } && {
4746 test -z "$ac_c_werror_flag" ||
4747 test ! -s conftest.err
4748 } && test -s conftest$ac_exeext &&
4749 $as_test_x conftest$ac_exeext; then
4750 ac_cv_lib_posix_remove=yes
4752 echo "$as_me: failed program was:" >&5
4753 sed 's/^/| /' conftest.$ac_ext >&5
4755 ac_cv_lib_posix_remove=no
4758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4759 conftest$ac_exeext conftest.$ac_ext
4760 LIBS=$ac_check_lib_save_LIBS
4762 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4763 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
4764 if test $ac_cv_lib_posix_remove = yes; then
4765 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4770 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4771 { echo "$as_me:$LINENO: checking for shmat" >&5
4772 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
4773 if test "${ac_cv_func_shmat+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 cat >conftest.$ac_ext <<_ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4782 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4784 #define shmat innocuous_shmat
4786 /* System header to define __stub macros and hopefully few prototypes,
4787 which can conflict with char shmat (); below.
4788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4789 <limits.h> exists even on freestanding compilers. */
4792 # include <limits.h>
4794 # include <assert.h>
4799 /* Override any GCC internal prototype to avoid an error.
4800 Use char because int might match the return type of a GCC
4801 builtin and then its argument prototype would still apply. */
4806 /* The GNU C library defines this for functions which it implements
4807 to always fail with ENOSYS. Some functions are actually named
4808 something starting with __ and the normal name is an alias. */
4809 #if defined __stub_shmat || defined __stub___shmat
4821 rm -f conftest.$ac_objext conftest$ac_exeext
4822 if { (ac_try="$ac_link"
4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4828 (eval "$ac_link") 2>conftest.er1
4830 grep -v '^ *+' conftest.er1 >conftest.err
4832 cat conftest.err >&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } && {
4835 test -z "$ac_c_werror_flag" ||
4836 test ! -s conftest.err
4837 } && test -s conftest$ac_exeext &&
4838 $as_test_x conftest$ac_exeext; then
4839 ac_cv_func_shmat=yes
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.$ac_ext >&5
4847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4848 conftest$ac_exeext conftest.$ac_ext
4850 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4851 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
4853 if test $ac_cv_func_shmat = no; then
4854 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4855 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
4856 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4857 echo $ECHO_N "(cached) $ECHO_C" >&6
4859 ac_check_lib_save_LIBS=$LIBS
4861 cat >conftest.$ac_ext <<_ACEOF
4864 cat confdefs.h >>conftest.$ac_ext
4865 cat >>conftest.$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4868 /* Override any GCC internal prototype to avoid an error.
4869 Use char because int might match the return type of a GCC
4870 builtin and then its argument prototype would still apply. */
4883 rm -f conftest.$ac_objext conftest$ac_exeext
4884 if { (ac_try="$ac_link"
4886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4887 *) ac_try_echo=$ac_try;;
4889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4890 (eval "$ac_link") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } && {
4897 test -z "$ac_c_werror_flag" ||
4898 test ! -s conftest.err
4899 } && test -s conftest$ac_exeext &&
4900 $as_test_x conftest$ac_exeext; then
4901 ac_cv_lib_ipc_shmat=yes
4903 echo "$as_me: failed program was:" >&5
4904 sed 's/^/| /' conftest.$ac_ext >&5
4906 ac_cv_lib_ipc_shmat=no
4909 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4910 conftest$ac_exeext conftest.$ac_ext
4911 LIBS=$ac_check_lib_save_LIBS
4913 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4914 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
4915 if test $ac_cv_lib_ipc_shmat = yes; then
4916 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4922 # Check for libraries that X11R6 Xt/Xaw programs need.
4923 ac_save_LDFLAGS=$LDFLAGS
4924 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4925 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4926 # check for ICE first), but we must link in the order -lSM -lICE or
4927 # we get undefined symbols. So assume we have SM if we have ICE.
4928 # These have to be linked with before -lX11, unlike the other
4929 # libraries we check for below, so use a different variable.
4930 # John Interrante, Karl Berry
4931 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4932 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
4933 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4936 ac_check_lib_save_LIBS=$LIBS
4937 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4938 cat >conftest.$ac_ext <<_ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4945 /* Override any GCC internal prototype to avoid an error.
4946 Use char because int might match the return type of a GCC
4947 builtin and then its argument prototype would still apply. */
4951 char IceConnectionNumber ();
4955 return IceConnectionNumber ();
4960 rm -f conftest.$ac_objext conftest$ac_exeext
4961 if { (ac_try="$ac_link"
4963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4964 *) ac_try_echo=$ac_try;;
4966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4967 (eval "$ac_link") 2>conftest.er1
4969 grep -v '^ *+' conftest.er1 >conftest.err
4971 cat conftest.err >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } && {
4974 test -z "$ac_c_werror_flag" ||
4975 test ! -s conftest.err
4976 } && test -s conftest$ac_exeext &&
4977 $as_test_x conftest$ac_exeext; then
4978 ac_cv_lib_ICE_IceConnectionNumber=yes
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.$ac_ext >&5
4983 ac_cv_lib_ICE_IceConnectionNumber=no
4986 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4987 conftest$ac_exeext conftest.$ac_ext
4988 LIBS=$ac_check_lib_save_LIBS
4990 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4991 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
4992 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4993 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4996 LDFLAGS=$ac_save_LDFLAGS
5000 for ac_prog in flex lex
5002 # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy $ac_prog; ac_word=$2
5004 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5005 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5006 if test "${ac_cv_prog_LEX+set}" = set; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 if test -n "$LEX"; then
5010 ac_cv_prog_LEX="$LEX" # Let the user override the test.
5012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir=.
5017 for ac_exec_ext in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_LEX="$ac_prog"
5020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 if test -n "$LEX"; then
5031 { echo "$as_me:$LINENO: result: $LEX" >&5
5032 echo "${ECHO_T}$LEX" >&6; }
5034 { echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6; }
5039 test -n "$LEX" && break
5041 test -n "$LEX" || LEX=":"
5043 if test "x$LEX" != "x:"; then
5044 cat >conftest.l <<_ACEOF
5050 e { yyless (input () != 0); }
5051 f { unput (yytext[0]); }
5052 . { BEGIN INITIAL; }
5054 #ifdef YYTEXT_POINTER
5055 extern char *yytext;
5060 return ! yylex () + ! yywrap ();
5063 { (ac_try="$LEX conftest.l"
5065 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5066 *) ac_try_echo=$ac_try;;
5068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5069 (eval "$LEX conftest.l") 2>&5
5071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5072 (exit $ac_status); }
5073 { echo "$as_me:$LINENO: checking lex output file root" >&5
5074 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5075 if test "${ac_cv_prog_lex_root+set}" = set; then
5076 echo $ECHO_N "(cached) $ECHO_C" >&6
5079 if test -f lex.yy.c; then
5080 ac_cv_prog_lex_root=lex.yy
5081 elif test -f lexyy.c; then
5082 ac_cv_prog_lex_root=lexyy
5084 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5085 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5086 { (exit 1); exit 1; }; }
5089 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5090 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5091 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5093 if test -z "${LEXLIB+set}"; then
5094 { echo "$as_me:$LINENO: checking lex library" >&5
5095 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5096 if test "${ac_cv_lib_lex+set}" = set; then
5097 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 ac_cv_lib_lex='none needed'
5102 for ac_lib in '' -lfl -ll; do
5103 LIBS="$ac_lib $ac_save_LIBS"
5104 cat >conftest.$ac_ext <<_ACEOF
5105 `cat $LEX_OUTPUT_ROOT.c`
5107 rm -f conftest.$ac_objext conftest$ac_exeext
5108 if { (ac_try="$ac_link"
5110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5111 *) ac_try_echo=$ac_try;;
5113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5114 (eval "$ac_link") 2>conftest.er1
5116 grep -v '^ *+' conftest.er1 >conftest.err
5118 cat conftest.err >&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } && {
5121 test -z "$ac_c_werror_flag" ||
5122 test ! -s conftest.err
5123 } && test -s conftest$ac_exeext &&
5124 $as_test_x conftest$ac_exeext; then
5125 ac_cv_lib_lex=$ac_lib
5127 echo "$as_me: failed program was:" >&5
5128 sed 's/^/| /' conftest.$ac_ext >&5
5133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5134 conftest$ac_exeext conftest.$ac_ext
5135 test "$ac_cv_lib_lex" != 'none needed' && break
5140 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5141 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5142 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
5146 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5147 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5148 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5149 echo $ECHO_N "(cached) $ECHO_C" >&6
5151 # POSIX says lex can declare yytext either as a pointer or an array; the
5152 # default is implementation-dependent. Figure out which it is, since
5153 # not all implementations provide the %pointer and %array declarations.
5154 ac_cv_prog_lex_yytext_pointer=no
5156 LIBS="$LEXLIB $ac_save_LIBS"
5157 cat >conftest.$ac_ext <<_ACEOF
5158 #define YYTEXT_POINTER 1
5159 `cat $LEX_OUTPUT_ROOT.c`
5161 rm -f conftest.$ac_objext conftest$ac_exeext
5162 if { (ac_try="$ac_link"
5164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5165 *) ac_try_echo=$ac_try;;
5167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5168 (eval "$ac_link") 2>conftest.er1
5170 grep -v '^ *+' conftest.er1 >conftest.err
5172 cat conftest.err >&5
5173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5174 (exit $ac_status); } && {
5175 test -z "$ac_c_werror_flag" ||
5176 test ! -s conftest.err
5177 } && test -s conftest$ac_exeext &&
5178 $as_test_x conftest$ac_exeext; then
5179 ac_cv_prog_lex_yytext_pointer=yes
5181 echo "$as_me: failed program was:" >&5
5182 sed 's/^/| /' conftest.$ac_ext >&5
5187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5188 conftest$ac_exeext conftest.$ac_ext
5192 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5193 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5194 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5196 cat >>confdefs.h <<\_ACEOF
5197 #define YYTEXT_POINTER 1
5201 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5205 for ac_prog in $LEX flex lex
5207 # Extract the first word of "$ac_prog", so it can be a program name with args.
5208 set dummy $ac_prog; ac_word=$2
5209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5211 if test "${ac_cv_prog_XLEX+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5214 if test -n "$XLEX"; then
5215 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5224 ac_cv_prog_XLEX="$ac_prog"
5225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 XLEX=$ac_cv_prog_XLEX
5235 if test -n "$XLEX"; then
5236 { echo "$as_me:$LINENO: result: $XLEX" >&5
5237 echo "${ECHO_T}$XLEX" >&6; }
5239 { echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6; }
5244 test -n "$XLEX" && break
5246 test -n "$XLEX" || XLEX="none"
5248 if test "$XLEX" = "none"
5250 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5251 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5252 { (exit 1); exit 1; }; }
5255 for ac_prog in bison
5257 # Extract the first word of "$ac_prog", so it can be a program name with args.
5258 set dummy $ac_prog; ac_word=$2
5259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5261 if test "${ac_cv_prog_BISON+set}" = set; then
5262 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 if test -n "$BISON"; then
5265 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5271 test -z "$as_dir" && as_dir=.
5272 for ac_exec_ext in '' $ac_executable_extensions; do
5273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5274 ac_cv_prog_BISON="$ac_prog"
5275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5284 BISON=$ac_cv_prog_BISON
5285 if test -n "$BISON"; then
5286 { echo "$as_me:$LINENO: result: $BISON" >&5
5287 echo "${ECHO_T}$BISON" >&6; }
5289 { echo "$as_me:$LINENO: result: no" >&5
5290 echo "${ECHO_T}no" >&6; }
5294 test -n "$BISON" && break
5296 test -n "$BISON" || BISON="none"
5298 if test "$BISON" = "none"
5300 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5301 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5302 { (exit 1); exit 1; }; }
5305 if test -n "$ac_tool_prefix"; then
5306 for ac_prog in gas as
5308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5309 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5310 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5311 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5312 if test "${ac_cv_prog_AS+set}" = set; then
5313 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 if test -n "$AS"; then
5316 ac_cv_prog_AS="$AS" # Let the user override the test.
5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5322 test -z "$as_dir" && as_dir=.
5323 for ac_exec_ext in '' $ac_executable_extensions; do
5324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5325 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5326 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5336 if test -n "$AS"; then
5337 { echo "$as_me:$LINENO: result: $AS" >&5
5338 echo "${ECHO_T}$AS" >&6; }
5340 { echo "$as_me:$LINENO: result: no" >&5
5341 echo "${ECHO_T}no" >&6; }
5345 test -n "$AS" && break
5348 if test -z "$AS"; then
5350 for ac_prog in gas as
5352 # Extract the first word of "$ac_prog", so it can be a program name with args.
5353 set dummy $ac_prog; ac_word=$2
5354 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5355 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5356 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5357 echo $ECHO_N "(cached) $ECHO_C" >&6
5359 if test -n "$ac_ct_AS"; then
5360 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 test -z "$as_dir" && as_dir=.
5367 for ac_exec_ext in '' $ac_executable_extensions; do
5368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5369 ac_cv_prog_ac_ct_AS="$ac_prog"
5370 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5380 if test -n "$ac_ct_AS"; then
5381 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5382 echo "${ECHO_T}$ac_ct_AS" >&6; }
5384 { echo "$as_me:$LINENO: result: no" >&5
5385 echo "${ECHO_T}no" >&6; }
5389 test -n "$ac_ct_AS" && break
5392 if test "x$ac_ct_AS" = x; then
5395 case $cross_compiling:$ac_tool_warned in
5397 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5398 whose name does not start with the host triplet. If you think this
5399 configuration is useful to you, please write to autoconf@gnu.org." >&5
5400 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5401 whose name does not start with the host triplet. If you think this
5402 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5403 ac_tool_warned=yes ;;
5409 if test -n "$ac_tool_prefix"; then
5410 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5411 set dummy ${ac_tool_prefix}ld; ac_word=$2
5412 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5414 if test "${ac_cv_prog_LD+set}" = set; then
5415 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 if test -n "$LD"; then
5418 ac_cv_prog_LD="$LD" # Let the user override the test.
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5427 ac_cv_prog_LD="${ac_tool_prefix}ld"
5428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5438 if test -n "$LD"; then
5439 { echo "$as_me:$LINENO: result: $LD" >&5
5440 echo "${ECHO_T}$LD" >&6; }
5442 { echo "$as_me:$LINENO: result: no" >&5
5443 echo "${ECHO_T}no" >&6; }
5448 if test -z "$ac_cv_prog_LD"; then
5450 # Extract the first word of "ld", so it can be a program name with args.
5451 set dummy ld; ac_word=$2
5452 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5453 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5454 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 if test -n "$ac_ct_LD"; then
5458 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5464 test -z "$as_dir" && as_dir=.
5465 for ac_exec_ext in '' $ac_executable_extensions; do
5466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5467 ac_cv_prog_ac_ct_LD="ld"
5468 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5477 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5478 if test -n "$ac_ct_LD"; then
5479 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5480 echo "${ECHO_T}$ac_ct_LD" >&6; }
5482 { echo "$as_me:$LINENO: result: no" >&5
5483 echo "${ECHO_T}no" >&6; }
5486 if test "x$ac_ct_LD" = x; then
5489 case $cross_compiling:$ac_tool_warned in
5491 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5492 whose name does not start with the host triplet. If you think this
5493 configuration is useful to you, please write to autoconf@gnu.org." >&5
5494 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5495 whose name does not start with the host triplet. If you think this
5496 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5497 ac_tool_warned=yes ;;
5505 if test -n "$ac_tool_prefix"; then
5506 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5507 set dummy ${ac_tool_prefix}ar; ac_word=$2
5508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5510 if test "${ac_cv_prog_AR+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5513 if test -n "$AR"; then
5514 ac_cv_prog_AR="$AR" # Let the user override the test.
5516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir=.
5521 for ac_exec_ext in '' $ac_executable_extensions; do
5522 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5523 ac_cv_prog_AR="${ac_tool_prefix}ar"
5524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5534 if test -n "$AR"; then
5535 { echo "$as_me:$LINENO: result: $AR" >&5
5536 echo "${ECHO_T}$AR" >&6; }
5538 { echo "$as_me:$LINENO: result: no" >&5
5539 echo "${ECHO_T}no" >&6; }
5544 if test -z "$ac_cv_prog_AR"; then
5546 # Extract the first word of "ar", so it can be a program name with args.
5547 set dummy ar; ac_word=$2
5548 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5550 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5551 echo $ECHO_N "(cached) $ECHO_C" >&6
5553 if test -n "$ac_ct_AR"; then
5554 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 test -z "$as_dir" && as_dir=.
5561 for ac_exec_ext in '' $ac_executable_extensions; do
5562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5563 ac_cv_prog_ac_ct_AR="ar"
5564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5573 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5574 if test -n "$ac_ct_AR"; then
5575 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5576 echo "${ECHO_T}$ac_ct_AR" >&6; }
5578 { echo "$as_me:$LINENO: result: no" >&5
5579 echo "${ECHO_T}no" >&6; }
5582 if test "x$ac_ct_AR" = x; then
5585 case $cross_compiling:$ac_tool_warned in
5587 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5588 whose name does not start with the host triplet. If you think this
5589 configuration is useful to you, please write to autoconf@gnu.org." >&5
5590 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5591 whose name does not start with the host triplet. If you think this
5592 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5593 ac_tool_warned=yes ;;
5601 if test -n "$ac_tool_prefix"; then
5602 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5603 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5606 if test "${ac_cv_prog_RANLIB+set}" = set; then
5607 echo $ECHO_N "(cached) $ECHO_C" >&6
5609 if test -n "$RANLIB"; then
5610 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5616 test -z "$as_dir" && as_dir=.
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5619 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5629 RANLIB=$ac_cv_prog_RANLIB
5630 if test -n "$RANLIB"; then
5631 { echo "$as_me:$LINENO: result: $RANLIB" >&5
5632 echo "${ECHO_T}$RANLIB" >&6; }
5634 { echo "$as_me:$LINENO: result: no" >&5
5635 echo "${ECHO_T}no" >&6; }
5640 if test -z "$ac_cv_prog_RANLIB"; then
5641 ac_ct_RANLIB=$RANLIB
5642 # Extract the first word of "ranlib", so it can be a program name with args.
5643 set dummy ranlib; ac_word=$2
5644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5646 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5647 echo $ECHO_N "(cached) $ECHO_C" >&6
5649 if test -n "$ac_ct_RANLIB"; then
5650 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 test -z "$as_dir" && as_dir=.
5657 for ac_exec_ext in '' $ac_executable_extensions; do
5658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5659 ac_cv_prog_ac_ct_RANLIB="ranlib"
5660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5670 if test -n "$ac_ct_RANLIB"; then
5671 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5672 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
5674 { echo "$as_me:$LINENO: result: no" >&5
5675 echo "${ECHO_T}no" >&6; }
5678 if test "x$ac_ct_RANLIB" = x; then
5681 case $cross_compiling:$ac_tool_warned in
5683 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5684 whose name does not start with the host triplet. If you think this
5685 configuration is useful to you, please write to autoconf@gnu.org." >&5
5686 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5687 whose name does not start with the host triplet. If you think this
5688 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5689 ac_tool_warned=yes ;;
5691 RANLIB=$ac_ct_RANLIB
5694 RANLIB="$ac_cv_prog_RANLIB"
5697 if test -n "$ac_tool_prefix"; then
5698 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5699 set dummy ${ac_tool_prefix}strip; ac_word=$2
5700 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5702 if test "${ac_cv_prog_STRIP+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 if test -n "$STRIP"; then
5706 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5715 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 STRIP=$ac_cv_prog_STRIP
5726 if test -n "$STRIP"; then
5727 { echo "$as_me:$LINENO: result: $STRIP" >&5
5728 echo "${ECHO_T}$STRIP" >&6; }
5730 { echo "$as_me:$LINENO: result: no" >&5
5731 echo "${ECHO_T}no" >&6; }
5736 if test -z "$ac_cv_prog_STRIP"; then
5738 # Extract the first word of "strip", so it can be a program name with args.
5739 set dummy strip; ac_word=$2
5740 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5742 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5743 echo $ECHO_N "(cached) $ECHO_C" >&6
5745 if test -n "$ac_ct_STRIP"; then
5746 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5752 test -z "$as_dir" && as_dir=.
5753 for ac_exec_ext in '' $ac_executable_extensions; do
5754 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5755 ac_cv_prog_ac_ct_STRIP="strip"
5756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5765 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5766 if test -n "$ac_ct_STRIP"; then
5767 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5768 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
5770 { echo "$as_me:$LINENO: result: no" >&5
5771 echo "${ECHO_T}no" >&6; }
5774 if test "x$ac_ct_STRIP" = x; then
5777 case $cross_compiling:$ac_tool_warned in
5779 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5780 whose name does not start with the host triplet. If you think this
5781 configuration is useful to you, please write to autoconf@gnu.org." >&5
5782 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5783 whose name does not start with the host triplet. If you think this
5784 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5785 ac_tool_warned=yes ;;
5790 STRIP="$ac_cv_prog_STRIP"
5793 if test -n "$ac_tool_prefix"; then
5794 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5795 set dummy ${ac_tool_prefix}windres; ac_word=$2
5796 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5798 if test "${ac_cv_prog_WINDRES+set}" = set; then
5799 echo $ECHO_N "(cached) $ECHO_C" >&6
5801 if test -n "$WINDRES"; then
5802 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5821 WINDRES=$ac_cv_prog_WINDRES
5822 if test -n "$WINDRES"; then
5823 { echo "$as_me:$LINENO: result: $WINDRES" >&5
5824 echo "${ECHO_T}$WINDRES" >&6; }
5826 { echo "$as_me:$LINENO: result: no" >&5
5827 echo "${ECHO_T}no" >&6; }
5832 if test -z "$ac_cv_prog_WINDRES"; then
5833 ac_ct_WINDRES=$WINDRES
5834 # Extract the first word of "windres", so it can be a program name with args.
5835 set dummy windres; ac_word=$2
5836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5838 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 if test -n "$ac_ct_WINDRES"; then
5842 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5851 ac_cv_prog_ac_ct_WINDRES="windres"
5852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5862 if test -n "$ac_ct_WINDRES"; then
5863 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5864 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
5866 { echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6; }
5870 if test "x$ac_ct_WINDRES" = x; then
5873 case $cross_compiling:$ac_tool_warned in
5875 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5876 whose name does not start with the host triplet. If you think this
5877 configuration is useful to you, please write to autoconf@gnu.org." >&5
5878 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5879 whose name does not start with the host triplet. If you think this
5880 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5881 ac_tool_warned=yes ;;
5883 WINDRES=$ac_ct_WINDRES
5886 WINDRES="$ac_cv_prog_WINDRES"
5889 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
5890 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
5892 if test "$LN_S" = "ln -s"; then
5893 { echo "$as_me:$LINENO: result: yes" >&5
5894 echo "${ECHO_T}yes" >&6; }
5896 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5897 echo "${ECHO_T}no, using $LN_S" >&6; }
5900 { echo "$as_me:$LINENO: checking whether ln works" >&5
5901 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
5902 rm -f conf$$ conf$$.file
5904 if ln conf$$.file conf$$ 2>/dev/null; then
5907 { echo "$as_me:$LINENO: result: yes" >&5
5908 echo "${ECHO_T}yes" >&6; }
5912 { echo "$as_me:$LINENO: result: no, using $LN" >&5
5913 echo "${ECHO_T}no, using $LN" >&6; }
5915 rm -f conf$$ conf$$.file
5916 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5917 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5918 if test "${ac_cv_path_GREP+set}" = set; then
5919 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 # Extract the first word of "grep ggrep" to use in msg output
5922 if test -z "$GREP"; then
5923 set dummy grep ggrep; ac_prog_name=$2
5924 if test "${ac_cv_path_GREP+set}" = set; then
5925 echo $ECHO_N "(cached) $ECHO_C" >&6
5927 ac_path_GREP_found=false
5928 # Loop through the user's path and test for each of PROGNAME-LIST
5929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5930 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5933 test -z "$as_dir" && as_dir=.
5934 for ac_prog in grep ggrep; do
5935 for ac_exec_ext in '' $ac_executable_extensions; do
5936 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5937 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
5938 # Check for GNU ac_path_GREP and select it if it is found.
5939 # Check for GNU $ac_path_GREP
5940 case `"$ac_path_GREP" --version 2>&1` in
5942 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5945 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5948 cat "conftest.in" "conftest.in" >"conftest.tmp"
5949 mv "conftest.tmp" "conftest.in"
5950 cp "conftest.in" "conftest.nl"
5951 echo 'GREP' >> "conftest.nl"
5952 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5953 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5954 ac_count=`expr $ac_count + 1`
5955 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5956 # Best one so far, save it but keep looking for a better one
5957 ac_cv_path_GREP="$ac_path_GREP"
5958 ac_path_GREP_max=$ac_count
5960 # 10*(2^10) chars as input seems more than enough
5961 test $ac_count -gt 10 && break
5963 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5967 $ac_path_GREP_found && break 3
5977 GREP="$ac_cv_path_GREP"
5978 if test -z "$GREP"; then
5979 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5980 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5981 { (exit 1); exit 1; }; }
5985 ac_cv_path_GREP=$GREP
5990 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5991 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5992 GREP="$ac_cv_path_GREP"
5995 { echo "$as_me:$LINENO: checking for egrep" >&5
5996 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5997 if test "${ac_cv_path_EGREP+set}" = set; then
5998 echo $ECHO_N "(cached) $ECHO_C" >&6
6000 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6001 then ac_cv_path_EGREP="$GREP -E"
6003 # Extract the first word of "egrep" to use in msg output
6004 if test -z "$EGREP"; then
6005 set dummy egrep; ac_prog_name=$2
6006 if test "${ac_cv_path_EGREP+set}" = set; then
6007 echo $ECHO_N "(cached) $ECHO_C" >&6
6009 ac_path_EGREP_found=false
6010 # Loop through the user's path and test for each of PROGNAME-LIST
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6015 test -z "$as_dir" && as_dir=.
6016 for ac_prog in egrep; do
6017 for ac_exec_ext in '' $ac_executable_extensions; do
6018 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6019 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6020 # Check for GNU ac_path_EGREP and select it if it is found.
6021 # Check for GNU $ac_path_EGREP
6022 case `"$ac_path_EGREP" --version 2>&1` in
6024 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6027 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6030 cat "conftest.in" "conftest.in" >"conftest.tmp"
6031 mv "conftest.tmp" "conftest.in"
6032 cp "conftest.in" "conftest.nl"
6033 echo 'EGREP' >> "conftest.nl"
6034 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6035 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6036 ac_count=`expr $ac_count + 1`
6037 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6038 # Best one so far, save it but keep looking for a better one
6039 ac_cv_path_EGREP="$ac_path_EGREP"
6040 ac_path_EGREP_max=$ac_count
6042 # 10*(2^10) chars as input seems more than enough
6043 test $ac_count -gt 10 && break
6045 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6049 $ac_path_EGREP_found && break 3
6059 EGREP="$ac_cv_path_EGREP"
6060 if test -z "$EGREP"; then
6061 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6062 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6063 { (exit 1); exit 1; }; }
6067 ac_cv_path_EGREP=$EGREP
6073 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6074 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6075 EGREP="$ac_cv_path_EGREP"
6078 # Extract the first word of "ldconfig", so it can be a program name with args.
6079 set dummy ldconfig; ac_word=$2
6080 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6082 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6087 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 for as_dir in /sbin /usr/sbin $PATH
6094 test -z "$as_dir" && as_dir=.
6095 for ac_exec_ext in '' $ac_executable_extensions; do
6096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6097 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6109 LDCONFIG=$ac_cv_path_LDCONFIG
6110 if test -n "$LDCONFIG"; then
6111 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6112 echo "${ECHO_T}$LDCONFIG" >&6; }
6114 { echo "$as_me:$LINENO: result: no" >&5
6115 echo "${ECHO_T}no" >&6; }
6119 # Find a good install program. We prefer a C program (faster),
6120 # so one script is as good as another. But avoid the broken or
6121 # incompatible versions:
6122 # SysV /etc/install, /usr/sbin/install
6123 # SunOS /usr/etc/install
6124 # IRIX /sbin/install
6126 # AmigaOS /C/install, which installs bootblocks on floppy discs
6127 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6128 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6129 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6130 # OS/2's system install, which has a completely different semantic
6131 # ./install, which can be erroneously created by make from ./install.sh.
6132 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6133 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6134 if test -z "$INSTALL"; then
6135 if test "${ac_cv_path_install+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 test -z "$as_dir" && as_dir=.
6143 # Account for people who put trailing slashes in PATH elements.
6145 ./ | .// | /cC/* | \
6146 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6147 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6150 # OSF1 and SCO ODT 3.0 have their own names for install.
6151 # Don't use installbsd from OSF since it installs stuff as root
6153 for ac_prog in ginstall scoinst install; do
6154 for ac_exec_ext in '' $ac_executable_extensions; do
6155 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
6156 if test $ac_prog = install &&
6157 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6158 # AIX install. It has an incompatible calling convention.
6160 elif test $ac_prog = install &&
6161 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6162 # program-specific install script used by HP pwplus--don't use.
6165 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6178 if test "${ac_cv_path_install+set}" = set; then
6179 INSTALL=$ac_cv_path_install
6181 # As a last resort, use the slow shell script. Don't cache a
6182 # value for INSTALL within a source directory, because that will
6183 # break other packages using the cache if that directory is
6184 # removed, or if the value is a relative name.
6185 INSTALL=$ac_install_sh
6188 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6189 echo "${ECHO_T}$INSTALL" >&6; }
6191 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6192 # It thinks the first close brace ends the variable substitution.
6193 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6195 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6197 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6200 [\\/$]* | ?:[\\/]* ) ;;
6201 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6204 for ac_prog in lclint lint
6206 # Extract the first word of "$ac_prog", so it can be a program name with args.
6207 set dummy $ac_prog; ac_word=$2
6208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6210 if test "${ac_cv_prog_LINT+set}" = set; then
6211 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 if test -n "$LINT"; then
6214 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6220 test -z "$as_dir" && as_dir=.
6221 for ac_exec_ext in '' $ac_executable_extensions; do
6222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6223 ac_cv_prog_LINT="$ac_prog"
6224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6233 LINT=$ac_cv_prog_LINT
6234 if test -n "$LINT"; then
6235 { echo "$as_me:$LINENO: result: $LINT" >&5
6236 echo "${ECHO_T}$LINT" >&6; }
6238 { echo "$as_me:$LINENO: result: no" >&5
6239 echo "${ECHO_T}no" >&6; }
6243 test -n "$LINT" && break
6246 if test "$LINT" = "lint"
6248 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6253 for ac_prog in fontforge
6255 # Extract the first word of "$ac_prog", so it can be a program name with args.
6256 set dummy $ac_prog; ac_word=$2
6257 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6259 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6260 echo $ECHO_N "(cached) $ECHO_C" >&6
6262 if test -n "$FONTFORGE"; then
6263 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6269 test -z "$as_dir" && as_dir=.
6270 for ac_exec_ext in '' $ac_executable_extensions; do
6271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6272 ac_cv_prog_FONTFORGE="$ac_prog"
6273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6282 FONTFORGE=$ac_cv_prog_FONTFORGE
6283 if test -n "$FONTFORGE"; then
6284 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6285 echo "${ECHO_T}$FONTFORGE" >&6; }
6287 { echo "$as_me:$LINENO: result: no" >&5
6288 echo "${ECHO_T}no" >&6; }
6292 test -n "$FONTFORGE" && break
6294 test -n "$FONTFORGE" || FONTFORGE="false"
6296 for ac_prog in pkg-config
6298 # Extract the first word of "$ac_prog", so it can be a program name with args.
6299 set dummy $ac_prog; ac_word=$2
6300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6302 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6303 echo $ECHO_N "(cached) $ECHO_C" >&6
6305 if test -n "$PKG_CONFIG"; then
6306 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6312 test -z "$as_dir" && as_dir=.
6313 for ac_exec_ext in '' $ac_executable_extensions; do
6314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6315 ac_cv_prog_PKG_CONFIG="$ac_prog"
6316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6325 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6326 if test -n "$PKG_CONFIG"; then
6327 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6328 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6330 { echo "$as_me:$LINENO: result: no" >&5
6331 echo "${ECHO_T}no" >&6; }
6335 test -n "$PKG_CONFIG" && break
6337 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6342 # Extract the first word of "prelink", so it can be a program name with args.
6343 set dummy prelink; ac_word=$2
6344 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6346 if test "${ac_cv_path_PRELINK+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
6351 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355 for as_dir in /sbin /usr/sbin $PATH
6358 test -z "$as_dir" && as_dir=.
6359 for ac_exec_ext in '' $ac_executable_extensions; do
6360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6361 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6369 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6373 PRELINK=$ac_cv_path_PRELINK
6374 if test -n "$PRELINK"; then
6375 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6376 echo "${ECHO_T}$PRELINK" >&6; }
6378 { echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6; }
6388 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6389 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6390 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 ac_check_lib_save_LIBS=$LIBS
6395 cat >conftest.$ac_ext <<_ACEOF
6398 cat confdefs.h >>conftest.$ac_ext
6399 cat >>conftest.$ac_ext <<_ACEOF
6400 /* end confdefs.h. */
6402 /* Override any GCC internal prototype to avoid an error.
6403 Use char because int might match the return type of a GCC
6404 builtin and then its argument prototype would still apply. */
6408 char i386_set_ldt ();
6412 return i386_set_ldt ();
6417 rm -f conftest.$ac_objext conftest$ac_exeext
6418 if { (ac_try="$ac_link"
6420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6421 *) ac_try_echo=$ac_try;;
6423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6424 (eval "$ac_link") 2>conftest.er1
6426 grep -v '^ *+' conftest.er1 >conftest.err
6428 cat conftest.err >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); } && {
6431 test -z "$ac_c_werror_flag" ||
6432 test ! -s conftest.err
6433 } && test -s conftest$ac_exeext &&
6434 $as_test_x conftest$ac_exeext; then
6435 ac_cv_lib_i386_i386_set_ldt=yes
6437 echo "$as_me: failed program was:" >&5
6438 sed 's/^/| /' conftest.$ac_ext >&5
6440 ac_cv_lib_i386_i386_set_ldt=no
6443 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6444 conftest$ac_exeext conftest.$ac_ext
6445 LIBS=$ac_check_lib_save_LIBS
6447 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6448 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6449 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6450 cat >>confdefs.h <<_ACEOF
6451 #define HAVE_LIBI386 1
6459 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6460 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6461 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6462 echo $ECHO_N "(cached) $ECHO_C" >&6
6464 ac_check_lib_save_LIBS=$LIBS
6465 LIBS="-lossaudio $LIBS"
6466 cat >conftest.$ac_ext <<_ACEOF
6469 cat confdefs.h >>conftest.$ac_ext
6470 cat >>conftest.$ac_ext <<_ACEOF
6471 /* end confdefs.h. */
6473 /* Override any GCC internal prototype to avoid an error.
6474 Use char because int might match the return type of a GCC
6475 builtin and then its argument prototype would still apply. */
6483 return _oss_ioctl ();
6488 rm -f conftest.$ac_objext conftest$ac_exeext
6489 if { (ac_try="$ac_link"
6491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6492 *) ac_try_echo=$ac_try;;
6494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6495 (eval "$ac_link") 2>conftest.er1
6497 grep -v '^ *+' conftest.er1 >conftest.err
6499 cat conftest.err >&5
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); } && {
6502 test -z "$ac_c_werror_flag" ||
6503 test ! -s conftest.err
6504 } && test -s conftest$ac_exeext &&
6505 $as_test_x conftest$ac_exeext; then
6506 ac_cv_lib_ossaudio__oss_ioctl=yes
6508 echo "$as_me: failed program was:" >&5
6509 sed 's/^/| /' conftest.$ac_ext >&5
6511 ac_cv_lib_ossaudio__oss_ioctl=no
6514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6515 conftest$ac_exeext conftest.$ac_ext
6516 LIBS=$ac_check_lib_save_LIBS
6518 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6519 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6520 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6521 cat >>confdefs.h <<_ACEOF
6522 #define HAVE_LIBOSSAUDIO 1
6525 LIBS="-lossaudio $LIBS"
6530 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6531 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
6532 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6533 echo $ECHO_N "(cached) $ECHO_C" >&6
6535 ac_check_lib_save_LIBS=$LIBS
6537 cat >conftest.$ac_ext <<_ACEOF
6540 cat confdefs.h >>conftest.$ac_ext
6541 cat >>conftest.$ac_ext <<_ACEOF
6542 /* end confdefs.h. */
6544 /* Override any GCC internal prototype to avoid an error.
6545 Use char because int might match the return type of a GCC
6546 builtin and then its argument prototype would still apply. */
6550 char _xpg4_setrunelocale ();
6554 return _xpg4_setrunelocale ();
6559 rm -f conftest.$ac_objext conftest$ac_exeext
6560 if { (ac_try="$ac_link"
6562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6563 *) ac_try_echo=$ac_try;;
6565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6566 (eval "$ac_link") 2>conftest.er1
6568 grep -v '^ *+' conftest.er1 >conftest.err
6570 cat conftest.err >&5
6571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } && {
6573 test -z "$ac_c_werror_flag" ||
6574 test ! -s conftest.err
6575 } && test -s conftest$ac_exeext &&
6576 $as_test_x conftest$ac_exeext; then
6577 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.$ac_ext >&5
6582 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6586 conftest$ac_exeext conftest.$ac_ext
6587 LIBS=$ac_check_lib_save_LIBS
6589 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6590 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
6591 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6592 cat >>confdefs.h <<_ACEOF
6593 #define HAVE_LIBXPG4 1
6600 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6601 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
6602 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6603 echo $ECHO_N "(cached) $ECHO_C" >&6
6605 ac_check_lib_save_LIBS=$LIBS
6606 LIBS="-lpthread $LIBS"
6607 cat >conftest.$ac_ext <<_ACEOF
6610 cat confdefs.h >>conftest.$ac_ext
6611 cat >>conftest.$ac_ext <<_ACEOF
6612 /* end confdefs.h. */
6614 /* Override any GCC internal prototype to avoid an error.
6615 Use char because int might match the return type of a GCC
6616 builtin and then its argument prototype would still apply. */
6620 char pthread_create ();
6624 return pthread_create ();
6629 rm -f conftest.$ac_objext conftest$ac_exeext
6630 if { (ac_try="$ac_link"
6632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6633 *) ac_try_echo=$ac_try;;
6635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6636 (eval "$ac_link") 2>conftest.er1
6638 grep -v '^ *+' conftest.er1 >conftest.err
6640 cat conftest.err >&5
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); } && {
6643 test -z "$ac_c_werror_flag" ||
6644 test ! -s conftest.err
6645 } && test -s conftest$ac_exeext &&
6646 $as_test_x conftest$ac_exeext; then
6647 ac_cv_lib_pthread_pthread_create=yes
6649 echo "$as_me: failed program was:" >&5
6650 sed 's/^/| /' conftest.$ac_ext >&5
6652 ac_cv_lib_pthread_pthread_create=no
6655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6656 conftest$ac_exeext conftest.$ac_ext
6657 LIBS=$ac_check_lib_save_LIBS
6659 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6660 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
6661 if test $ac_cv_lib_pthread_pthread_create = yes; then
6662 LIBPTHREAD="-lpthread"
6681 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6682 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
6683 if test "${ac_cv_header_stdc+set}" = set; then
6684 echo $ECHO_N "(cached) $ECHO_C" >&6
6686 cat >conftest.$ac_ext <<_ACEOF
6689 cat confdefs.h >>conftest.$ac_ext
6690 cat >>conftest.$ac_ext <<_ACEOF
6691 /* end confdefs.h. */
6705 rm -f conftest.$ac_objext
6706 if { (ac_try="$ac_compile"
6708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6709 *) ac_try_echo=$ac_try;;
6711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6712 (eval "$ac_compile") 2>conftest.er1
6714 grep -v '^ *+' conftest.er1 >conftest.err
6716 cat conftest.err >&5
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); } && {
6719 test -z "$ac_c_werror_flag" ||
6720 test ! -s conftest.err
6721 } && test -s conftest.$ac_objext; then
6722 ac_cv_header_stdc=yes
6724 echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6727 ac_cv_header_stdc=no
6730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6732 if test $ac_cv_header_stdc = yes; then
6733 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6734 cat >conftest.$ac_ext <<_ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6744 $EGREP "memchr" >/dev/null 2>&1; then
6747 ac_cv_header_stdc=no
6753 if test $ac_cv_header_stdc = yes; then
6754 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6755 cat >conftest.$ac_ext <<_ACEOF
6758 cat confdefs.h >>conftest.$ac_ext
6759 cat >>conftest.$ac_ext <<_ACEOF
6760 /* end confdefs.h. */
6764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6765 $EGREP "free" >/dev/null 2>&1; then
6768 ac_cv_header_stdc=no
6774 if test $ac_cv_header_stdc = yes; then
6775 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6776 if test "$cross_compiling" = yes; then
6779 cat >conftest.$ac_ext <<_ACEOF
6782 cat confdefs.h >>conftest.$ac_ext
6783 cat >>conftest.$ac_ext <<_ACEOF
6784 /* end confdefs.h. */
6787 #if ((' ' & 0x0FF) == 0x020)
6788 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6789 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6791 # define ISLOWER(c) \
6792 (('a' <= (c) && (c) <= 'i') \
6793 || ('j' <= (c) && (c) <= 'r') \
6794 || ('s' <= (c) && (c) <= 'z'))
6795 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6798 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6803 for (i = 0; i < 256; i++)
6804 if (XOR (islower (i), ISLOWER (i))
6805 || toupper (i) != TOUPPER (i))
6810 rm -f conftest$ac_exeext
6811 if { (ac_try="$ac_link"
6813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6814 *) ac_try_echo=$ac_try;;
6816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6817 (eval "$ac_link") 2>&5
6819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6820 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6821 { (case "(($ac_try" in
6822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6823 *) ac_try_echo=$ac_try;;
6825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6826 (eval "$ac_try") 2>&5
6828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829 (exit $ac_status); }; }; then
6832 echo "$as_me: program exited with status $ac_status" >&5
6833 echo "$as_me: failed program was:" >&5
6834 sed 's/^/| /' conftest.$ac_ext >&5
6837 ac_cv_header_stdc=no
6839 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6845 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6846 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6847 if test $ac_cv_header_stdc = yes; then
6849 cat >>confdefs.h <<\_ACEOF
6850 #define STDC_HEADERS 1
6855 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6865 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6866 inttypes.h stdint.h unistd.h
6868 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6869 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6871 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 cat >conftest.$ac_ext <<_ACEOF
6877 cat confdefs.h >>conftest.$ac_ext
6878 cat >>conftest.$ac_ext <<_ACEOF
6879 /* end confdefs.h. */
6880 $ac_includes_default
6882 #include <$ac_header>
6884 rm -f conftest.$ac_objext
6885 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
6893 grep -v '^ *+' conftest.er1 >conftest.err
6895 cat conftest.err >&5
6896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6897 (exit $ac_status); } && {
6898 test -z "$ac_c_werror_flag" ||
6899 test ! -s conftest.err
6900 } && test -s conftest.$ac_objext; then
6901 eval "$as_ac_Header=yes"
6903 echo "$as_me: failed program was:" >&5
6904 sed 's/^/| /' conftest.$ac_ext >&5
6906 eval "$as_ac_Header=no"
6909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6911 ac_res=`eval echo '${'$as_ac_Header'}'`
6912 { echo "$as_me:$LINENO: result: $ac_res" >&5
6913 echo "${ECHO_T}$ac_res" >&6; }
6914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6915 cat >>confdefs.h <<_ACEOF
6916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7034 AudioUnit/AudioUnit.h \
7036 CoreAudio/CoreAudio.h \
7037 DiskArbitration/DiskArbitration.h \
7050 fontconfig/fontconfig.h \
7076 machine/soundcard.h \
7081 netinet/in_systm.h \
7145 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7146 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7147 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7149 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7150 echo $ECHO_N "(cached) $ECHO_C" >&6
7152 ac_res=`eval echo '${'$as_ac_Header'}'`
7153 { echo "$as_me:$LINENO: result: $ac_res" >&5
7154 echo "${ECHO_T}$ac_res" >&6; }
7156 # Is the header compilable?
7157 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7158 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7159 cat >conftest.$ac_ext <<_ACEOF
7162 cat confdefs.h >>conftest.$ac_ext
7163 cat >>conftest.$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 $ac_includes_default
7166 #include <$ac_header>
7168 rm -f conftest.$ac_objext
7169 if { (ac_try="$ac_compile"
7171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7172 *) ac_try_echo=$ac_try;;
7174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7175 (eval "$ac_compile") 2>conftest.er1
7177 grep -v '^ *+' conftest.er1 >conftest.err
7179 cat conftest.err >&5
7180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7181 (exit $ac_status); } && {
7182 test -z "$ac_c_werror_flag" ||
7183 test ! -s conftest.err
7184 } && test -s conftest.$ac_objext; then
7185 ac_header_compiler=yes
7187 echo "$as_me: failed program was:" >&5
7188 sed 's/^/| /' conftest.$ac_ext >&5
7190 ac_header_compiler=no
7193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7194 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7195 echo "${ECHO_T}$ac_header_compiler" >&6; }
7197 # Is the header present?
7198 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7199 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7200 cat >conftest.$ac_ext <<_ACEOF
7203 cat confdefs.h >>conftest.$ac_ext
7204 cat >>conftest.$ac_ext <<_ACEOF
7205 /* end confdefs.h. */
7206 #include <$ac_header>
7208 if { (ac_try="$ac_cpp conftest.$ac_ext"
7210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7211 *) ac_try_echo=$ac_try;;
7213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7214 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7216 grep -v '^ *+' conftest.er1 >conftest.err
7218 cat conftest.err >&5
7219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7220 (exit $ac_status); } >/dev/null && {
7221 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7222 test ! -s conftest.err
7224 ac_header_preproc=yes
7226 echo "$as_me: failed program was:" >&5
7227 sed 's/^/| /' conftest.$ac_ext >&5
7229 ac_header_preproc=no
7232 rm -f conftest.err conftest.$ac_ext
7233 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7234 echo "${ECHO_T}$ac_header_preproc" >&6; }
7236 # So? What about this header?
7237 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7242 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7243 ac_header_preproc=yes
7246 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7247 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7248 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7249 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7250 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7251 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7252 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7253 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7255 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7257 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7259 ## ------------------------------------ ##
7260 ## Report this to wine-devel@winehq.org ##
7261 ## ------------------------------------ ##
7263 ) | sed "s/^/$as_me: WARNING: /" >&2
7266 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7269 echo $ECHO_N "(cached) $ECHO_C" >&6
7271 eval "$as_ac_Header=\$ac_header_preproc"
7273 ac_res=`eval echo '${'$as_ac_Header'}'`
7274 { echo "$as_me:$LINENO: result: $ac_res" >&5
7275 echo "${ECHO_T}$ac_res" >&6; }
7278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7279 cat >>confdefs.h <<_ACEOF
7280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7287 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7288 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7289 if test "${ac_cv_header_stat_broken+set}" = set; then
7290 echo $ECHO_N "(cached) $ECHO_C" >&6
7292 cat >conftest.$ac_ext <<_ACEOF
7295 cat confdefs.h >>conftest.$ac_ext
7296 cat >>conftest.$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 #include <sys/types.h>
7299 #include <sys/stat.h>
7301 #if defined S_ISBLK && defined S_IFDIR
7302 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7305 #if defined S_ISBLK && defined S_IFCHR
7306 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7309 #if defined S_ISLNK && defined S_IFREG
7310 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7313 #if defined S_ISSOCK && defined S_IFREG
7314 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7318 rm -f conftest.$ac_objext
7319 if { (ac_try="$ac_compile"
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7327 grep -v '^ *+' conftest.er1 >conftest.err
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } && {
7332 test -z "$ac_c_werror_flag" ||
7333 test ! -s conftest.err
7334 } && test -s conftest.$ac_objext; then
7335 ac_cv_header_stat_broken=no
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.$ac_ext >&5
7340 ac_cv_header_stat_broken=yes
7343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7345 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7346 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7347 if test $ac_cv_header_stat_broken = yes; then
7349 cat >>confdefs.h <<\_ACEOF
7350 #define STAT_MACROS_BROKEN 1
7361 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7364 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7366 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7367 echo $ECHO_N "(cached) $ECHO_C" >&6
7369 cat >conftest.$ac_ext <<_ACEOF
7372 cat confdefs.h >>conftest.$ac_ext
7373 cat >>conftest.$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7375 #include <sys/types.h>
7376 #if HAVE_SYS_PARAM_H
7377 # include <sys/param.h>
7380 #include <$ac_header>
7382 rm -f conftest.$ac_objext
7383 if { (ac_try="$ac_compile"
7385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7386 *) ac_try_echo=$ac_try;;
7388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7389 (eval "$ac_compile") 2>conftest.er1
7391 grep -v '^ *+' conftest.er1 >conftest.err
7393 cat conftest.err >&5
7394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7395 (exit $ac_status); } && {
7396 test -z "$ac_c_werror_flag" ||
7397 test ! -s conftest.err
7398 } && test -s conftest.$ac_objext; then
7399 eval "$as_ac_Header=yes"
7401 echo "$as_me: failed program was:" >&5
7402 sed 's/^/| /' conftest.$ac_ext >&5
7404 eval "$as_ac_Header=no"
7407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7409 ac_res=`eval echo '${'$as_ac_Header'}'`
7410 { echo "$as_me:$LINENO: result: $ac_res" >&5
7411 echo "${ECHO_T}$ac_res" >&6; }
7412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7413 cat >>confdefs.h <<_ACEOF
7414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7428 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
7430 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7433 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7434 echo $ECHO_N "(cached) $ECHO_C" >&6
7436 cat >conftest.$ac_ext <<_ACEOF
7439 cat confdefs.h >>conftest.$ac_ext
7440 cat >>conftest.$ac_ext <<_ACEOF
7441 /* end confdefs.h. */
7442 #include <sys/types.h>
7443 #if HAVE_SYS_SOCKET_H
7444 # include <sys/socket.h>
7447 #include <$ac_header>
7449 rm -f conftest.$ac_objext
7450 if { (ac_try="$ac_compile"
7452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7453 *) ac_try_echo=$ac_try;;
7455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7456 (eval "$ac_compile") 2>conftest.er1
7458 grep -v '^ *+' conftest.er1 >conftest.err
7460 cat conftest.err >&5
7461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7462 (exit $ac_status); } && {
7463 test -z "$ac_c_werror_flag" ||
7464 test ! -s conftest.err
7465 } && test -s conftest.$ac_objext; then
7466 eval "$as_ac_Header=yes"
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7471 eval "$as_ac_Header=no"
7474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7476 ac_res=`eval echo '${'$as_ac_Header'}'`
7477 { echo "$as_me:$LINENO: result: $ac_res" >&5
7478 echo "${ECHO_T}$ac_res" >&6; }
7479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7480 cat >>confdefs.h <<_ACEOF
7481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7490 for ac_header in linux/ipx.h
7492 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7493 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7494 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7495 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7496 echo $ECHO_N "(cached) $ECHO_C" >&6
7498 cat >conftest.$ac_ext <<_ACEOF
7501 cat confdefs.h >>conftest.$ac_ext
7502 cat >>conftest.$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7504 #include <sys/types.h>
7505 #ifdef HAVE_ASM_TYPES_H
7506 # include <asm/types.h>
7508 #if HAVE_SYS_SOCKET_H
7509 # include <sys/socket.h>
7512 #include <$ac_header>
7514 rm -f conftest.$ac_objext
7515 if { (ac_try="$ac_compile"
7517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7518 *) ac_try_echo=$ac_try;;
7520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7521 (eval "$ac_compile") 2>conftest.er1
7523 grep -v '^ *+' conftest.er1 >conftest.err
7525 cat conftest.err >&5
7526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7527 (exit $ac_status); } && {
7528 test -z "$ac_c_werror_flag" ||
7529 test ! -s conftest.err
7530 } && test -s conftest.$ac_objext; then
7531 eval "$as_ac_Header=yes"
7533 echo "$as_me: failed program was:" >&5
7534 sed 's/^/| /' conftest.$ac_ext >&5
7536 eval "$as_ac_Header=no"
7539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7541 ac_res=`eval echo '${'$as_ac_Header'}'`
7542 { echo "$as_me:$LINENO: result: $ac_res" >&5
7543 echo "${ECHO_T}$ac_res" >&6; }
7544 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7545 cat >>confdefs.h <<_ACEOF
7546 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7555 for ac_header in resolv.h
7557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7558 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7560 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7561 echo $ECHO_N "(cached) $ECHO_C" >&6
7563 cat >conftest.$ac_ext <<_ACEOF
7566 cat confdefs.h >>conftest.$ac_ext
7567 cat >>conftest.$ac_ext <<_ACEOF
7568 /* end confdefs.h. */
7569 #include <sys/types.h>
7570 #if HAVE_SYS_SOCKET_H
7571 # include <sys/socket.h>
7573 #if HAVE_NETINET_IN_H
7574 # include <netinet/in.h>
7576 #if HAVE_ARPA_NAMESER_H
7577 # include <arpa/nameser.h>
7580 #include <$ac_header>
7582 rm -f conftest.$ac_objext
7583 if { (ac_try="$ac_compile"
7585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7586 *) ac_try_echo=$ac_try;;
7588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7589 (eval "$ac_compile") 2>conftest.er1
7591 grep -v '^ *+' conftest.er1 >conftest.err
7593 cat conftest.err >&5
7594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7595 (exit $ac_status); } && {
7596 test -z "$ac_c_werror_flag" ||
7597 test ! -s conftest.err
7598 } && test -s conftest.$ac_objext; then
7599 eval "$as_ac_Header=yes"
7601 echo "$as_me: failed program was:" >&5
7602 sed 's/^/| /' conftest.$ac_ext >&5
7604 eval "$as_ac_Header=no"
7607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7609 ac_res=`eval echo '${'$as_ac_Header'}'`
7610 { echo "$as_me:$LINENO: result: $ac_res" >&5
7611 echo "${ECHO_T}$ac_res" >&6; }
7612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7613 cat >>confdefs.h <<_ACEOF
7614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7623 for ac_header in ucontext.h
7625 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7626 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7628 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7631 cat >conftest.$ac_ext <<_ACEOF
7634 cat confdefs.h >>conftest.$ac_ext
7635 cat >>conftest.$ac_ext <<_ACEOF
7636 /* end confdefs.h. */
7639 #include <$ac_header>
7641 rm -f conftest.$ac_objext
7642 if { (ac_try="$ac_compile"
7644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7645 *) ac_try_echo=$ac_try;;
7647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7648 (eval "$ac_compile") 2>conftest.er1
7650 grep -v '^ *+' conftest.er1 >conftest.err
7652 cat conftest.err >&5
7653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7654 (exit $ac_status); } && {
7655 test -z "$ac_c_werror_flag" ||
7656 test ! -s conftest.err
7657 } && test -s conftest.$ac_objext; then
7658 eval "$as_ac_Header=yes"
7660 echo "$as_me: failed program was:" >&5
7661 sed 's/^/| /' conftest.$ac_ext >&5
7663 eval "$as_ac_Header=no"
7666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7668 ac_res=`eval echo '${'$as_ac_Header'}'`
7669 { echo "$as_me:$LINENO: result: $ac_res" >&5
7670 echo "${ECHO_T}$ac_res" >&6; }
7671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7672 cat >>confdefs.h <<_ACEOF
7673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7682 for ac_header in pthread_np.h
7684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7685 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7687 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7688 echo $ECHO_N "(cached) $ECHO_C" >&6
7690 cat >conftest.$ac_ext <<_ACEOF
7693 cat confdefs.h >>conftest.$ac_ext
7694 cat >>conftest.$ac_ext <<_ACEOF
7695 /* end confdefs.h. */
7696 #ifdef HAVE_PTHREAD_H
7697 #include <pthread.h>
7700 #include <$ac_header>
7702 rm -f conftest.$ac_objext
7703 if { (ac_try="$ac_compile"
7705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7706 *) ac_try_echo=$ac_try;;
7708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7709 (eval "$ac_compile") 2>conftest.er1
7711 grep -v '^ *+' conftest.er1 >conftest.err
7713 cat conftest.err >&5
7714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7715 (exit $ac_status); } && {
7716 test -z "$ac_c_werror_flag" ||
7717 test ! -s conftest.err
7718 } && test -s conftest.$ac_objext; then
7719 eval "$as_ac_Header=yes"
7721 echo "$as_me: failed program was:" >&5
7722 sed 's/^/| /' conftest.$ac_ext >&5
7724 eval "$as_ac_Header=no"
7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7729 ac_res=`eval echo '${'$as_ac_Header'}'`
7730 { echo "$as_me:$LINENO: result: $ac_res" >&5
7731 echo "${ECHO_T}$ac_res" >&6; }
7732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7733 cat >>confdefs.h <<_ACEOF
7734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7743 for ac_header in linux/videodev.h
7745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7746 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7748 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7749 echo $ECHO_N "(cached) $ECHO_C" >&6
7751 cat >conftest.$ac_ext <<_ACEOF
7754 cat confdefs.h >>conftest.$ac_ext
7755 cat >>conftest.$ac_ext <<_ACEOF
7756 /* end confdefs.h. */
7757 #ifdef HAVE_SYS_TIME_H
7758 #include <sys/time.h>
7760 #include <sys/types.h>
7761 #ifdef HAVE_ASM_TYPES_H
7762 #include <asm/types.h>
7765 #include <$ac_header>
7767 rm -f conftest.$ac_objext
7768 if { (ac_try="$ac_compile"
7770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7771 *) ac_try_echo=$ac_try;;
7773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7774 (eval "$ac_compile") 2>conftest.er1
7776 grep -v '^ *+' conftest.er1 >conftest.err
7778 cat conftest.err >&5
7779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780 (exit $ac_status); } && {
7781 test -z "$ac_c_werror_flag" ||
7782 test ! -s conftest.err
7783 } && test -s conftest.$ac_objext; then
7784 eval "$as_ac_Header=yes"
7786 echo "$as_me: failed program was:" >&5
7787 sed 's/^/| /' conftest.$ac_ext >&5
7789 eval "$as_ac_Header=no"
7792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7794 ac_res=`eval echo '${'$as_ac_Header'}'`
7795 { echo "$as_me:$LINENO: result: $ac_res" >&5
7796 echo "${ECHO_T}$ac_res" >&6; }
7797 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7798 cat >>confdefs.h <<_ACEOF
7799 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7808 for ac_header in linux/capi.h
7810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7814 echo $ECHO_N "(cached) $ECHO_C" >&6
7816 cat >conftest.$ac_ext <<_ACEOF
7819 cat confdefs.h >>conftest.$ac_ext
7820 cat >>conftest.$ac_ext <<_ACEOF
7821 /* end confdefs.h. */
7824 #include <$ac_header>
7826 rm -f conftest.$ac_objext
7827 if { (ac_try="$ac_compile"
7829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7830 *) ac_try_echo=$ac_try;;
7832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7833 (eval "$ac_compile") 2>conftest.er1
7835 grep -v '^ *+' conftest.er1 >conftest.err
7837 cat conftest.err >&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); } && {
7840 test -z "$ac_c_werror_flag" ||
7841 test ! -s conftest.err
7842 } && test -s conftest.$ac_objext; then
7843 eval "$as_ac_Header=yes"
7845 echo "$as_me: failed program was:" >&5
7846 sed 's/^/| /' conftest.$ac_ext >&5
7848 eval "$as_ac_Header=no"
7851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7853 ac_res=`eval echo '${'$as_ac_Header'}'`
7854 { echo "$as_me:$LINENO: result: $ac_res" >&5
7855 echo "${ECHO_T}$ac_res" >&6; }
7856 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7857 cat >>confdefs.h <<_ACEOF
7858 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7867 if test "$have_x" = "yes"
7870 ac_save_CPPFLAGS="$CPPFLAGS"
7871 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7883 for ac_header in X11/Xlib.h \
7886 X11/extensions/shape.h \
7887 X11/extensions/XInput.h \
7888 X11/extensions/XShm.h \
7889 X11/extensions/Xinerama.h \
7890 X11/extensions/Xrandr.h \
7891 X11/extensions/Xrender.h \
7892 X11/extensions/xf86vmode.h
7894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7895 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7898 echo $ECHO_N "(cached) $ECHO_C" >&6
7900 cat >conftest.$ac_ext <<_ACEOF
7903 cat confdefs.h >>conftest.$ac_ext
7904 cat >>conftest.$ac_ext <<_ACEOF
7905 /* end confdefs.h. */
7906 #ifdef HAVE_X11_XLIB_H
7907 # include <X11/Xlib.h>
7909 #ifdef HAVE_X11_XUTIL_H
7910 # include <X11/Xutil.h>
7913 #include <$ac_header>
7915 rm -f conftest.$ac_objext
7916 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
7924 grep -v '^ *+' conftest.er1 >conftest.err
7926 cat conftest.err >&5
7927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } && {
7929 test -z "$ac_c_werror_flag" ||
7930 test ! -s conftest.err
7931 } && test -s conftest.$ac_objext; then
7932 eval "$as_ac_Header=yes"
7934 echo "$as_me: failed program was:" >&5
7935 sed 's/^/| /' conftest.$ac_ext >&5
7937 eval "$as_ac_Header=no"
7940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7942 ac_res=`eval echo '${'$as_ac_Header'}'`
7943 { echo "$as_me:$LINENO: result: $ac_res" >&5
7944 echo "${ECHO_T}$ac_res" >&6; }
7945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7946 cat >>confdefs.h <<_ACEOF
7947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7955 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7957 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7958 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
7959 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7960 echo $ECHO_N "(cached) $ECHO_C" >&6
7962 ac_check_lib_save_LIBS=$LIBS
7963 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7964 cat >conftest.$ac_ext <<_ACEOF
7967 cat confdefs.h >>conftest.$ac_ext
7968 cat >>conftest.$ac_ext <<_ACEOF
7969 /* end confdefs.h. */
7971 /* Override any GCC internal prototype to avoid an error.
7972 Use char because int might match the return type of a GCC
7973 builtin and then its argument prototype would still apply. */
7977 char XkbQueryExtension ();
7981 return XkbQueryExtension ();
7986 rm -f conftest.$ac_objext conftest$ac_exeext
7987 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
7995 grep -v '^ *+' conftest.er1 >conftest.err
7997 cat conftest.err >&5
7998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7999 (exit $ac_status); } && {
8000 test -z "$ac_c_werror_flag" ||
8001 test ! -s conftest.err
8002 } && test -s conftest$ac_exeext &&
8003 $as_test_x conftest$ac_exeext; then
8004 ac_cv_lib_X11_XkbQueryExtension=yes
8006 echo "$as_me: failed program was:" >&5
8007 sed 's/^/| /' conftest.$ac_ext >&5
8009 ac_cv_lib_X11_XkbQueryExtension=no
8012 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8013 conftest$ac_exeext conftest.$ac_ext
8014 LIBS=$ac_check_lib_save_LIBS
8016 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8017 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8018 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8020 cat >>confdefs.h <<\_ACEOF
8028 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8030 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8031 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8032 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8033 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 ac_check_lib_save_LIBS=$LIBS
8036 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8037 cat >conftest.$ac_ext <<_ACEOF
8040 cat confdefs.h >>conftest.$ac_ext
8041 cat >>conftest.$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8044 /* Override any GCC internal prototype to avoid an error.
8045 Use char because int might match the return type of a GCC
8046 builtin and then its argument prototype would still apply. */
8050 char XShmQueryExtension ();
8054 return XShmQueryExtension ();
8059 rm -f conftest.$ac_objext conftest$ac_exeext
8060 if { (ac_try="$ac_link"
8062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8063 *) ac_try_echo=$ac_try;;
8065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8066 (eval "$ac_link") 2>conftest.er1
8068 grep -v '^ *+' conftest.er1 >conftest.err
8070 cat conftest.err >&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); } && {
8073 test -z "$ac_c_werror_flag" ||
8074 test ! -s conftest.err
8075 } && test -s conftest$ac_exeext &&
8076 $as_test_x conftest$ac_exeext; then
8077 ac_cv_lib_Xext_XShmQueryExtension=yes
8079 echo "$as_me: failed program was:" >&5
8080 sed 's/^/| /' conftest.$ac_ext >&5
8082 ac_cv_lib_Xext_XShmQueryExtension=no
8085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8086 conftest$ac_exeext conftest.$ac_ext
8087 LIBS=$ac_check_lib_save_LIBS
8089 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8090 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8091 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8093 cat >>confdefs.h <<\_ACEOF
8094 #define HAVE_LIBXXSHM 1
8101 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8103 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8104 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8105 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8106 echo $ECHO_N "(cached) $ECHO_C" >&6
8108 ac_check_lib_save_LIBS=$LIBS
8109 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8110 cat >conftest.$ac_ext <<_ACEOF
8113 cat confdefs.h >>conftest.$ac_ext
8114 cat >>conftest.$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8117 /* Override any GCC internal prototype to avoid an error.
8118 Use char because int might match the return type of a GCC
8119 builtin and then its argument prototype would still apply. */
8123 char XShapeQueryExtension ();
8127 return XShapeQueryExtension ();
8132 rm -f conftest.$ac_objext conftest$ac_exeext
8133 if { (ac_try="$ac_link"
8135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8136 *) ac_try_echo=$ac_try;;
8138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8139 (eval "$ac_link") 2>conftest.er1
8141 grep -v '^ *+' conftest.er1 >conftest.err
8143 cat conftest.err >&5
8144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145 (exit $ac_status); } && {
8146 test -z "$ac_c_werror_flag" ||
8147 test ! -s conftest.err
8148 } && test -s conftest$ac_exeext &&
8149 $as_test_x conftest$ac_exeext; then
8150 ac_cv_lib_Xext_XShapeQueryExtension=yes
8152 echo "$as_me: failed program was:" >&5
8153 sed 's/^/| /' conftest.$ac_ext >&5
8155 ac_cv_lib_Xext_XShapeQueryExtension=no
8158 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8159 conftest$ac_exeext conftest.$ac_ext
8160 LIBS=$ac_check_lib_save_LIBS
8162 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8163 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8164 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8166 cat >>confdefs.h <<\_ACEOF
8167 #define HAVE_LIBXSHAPE 1
8174 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8176 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8177 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8178 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8179 echo $ECHO_N "(cached) $ECHO_C" >&6
8181 ac_check_lib_save_LIBS=$LIBS
8182 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8183 cat >conftest.$ac_ext <<_ACEOF
8186 cat confdefs.h >>conftest.$ac_ext
8187 cat >>conftest.$ac_ext <<_ACEOF
8188 /* end confdefs.h. */
8190 /* Override any GCC internal prototype to avoid an error.
8191 Use char because int might match the return type of a GCC
8192 builtin and then its argument prototype would still apply. */
8196 char XF86VidModeQueryExtension ();
8200 return XF86VidModeQueryExtension ();
8205 rm -f conftest.$ac_objext conftest$ac_exeext
8206 if { (ac_try="$ac_link"
8208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8209 *) ac_try_echo=$ac_try;;
8211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8212 (eval "$ac_link") 2>conftest.er1
8214 grep -v '^ *+' conftest.er1 >conftest.err
8216 cat conftest.err >&5
8217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8218 (exit $ac_status); } && {
8219 test -z "$ac_c_werror_flag" ||
8220 test ! -s conftest.err
8221 } && test -s conftest$ac_exeext &&
8222 $as_test_x conftest$ac_exeext; then
8223 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8225 echo "$as_me: failed program was:" >&5
8226 sed 's/^/| /' conftest.$ac_ext >&5
8228 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8232 conftest$ac_exeext conftest.$ac_ext
8233 LIBS=$ac_check_lib_save_LIBS
8235 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8236 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
8237 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8239 cat >>confdefs.h <<\_ACEOF
8240 #define HAVE_LIBXXF86VM 1
8243 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8249 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8251 cat >conftest.$ac_ext <<_ACEOF
8254 cat confdefs.h >>conftest.$ac_ext
8255 cat >>conftest.$ac_ext <<_ACEOF
8256 /* end confdefs.h. */
8257 #include <X11/Xlib.h>
8258 #include <X11/extensions/Xrandr.h>
8262 static typeof(XRRSetScreenConfigAndRate) * func;
8267 rm -f conftest.$ac_objext
8268 if { (ac_try="$ac_compile"
8270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8271 *) ac_try_echo=$ac_try;;
8273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8274 (eval "$ac_compile") 2>conftest.er1
8276 grep -v '^ *+' conftest.er1 >conftest.err
8278 cat conftest.err >&5
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); } && {
8281 test -z "$ac_c_werror_flag" ||
8282 test ! -s conftest.err
8283 } && test -s conftest.$ac_objext; then
8285 cat >>confdefs.h <<\_ACEOF
8286 #define HAVE_LIBXRANDR 1
8290 echo "$as_me: failed program was:" >&5
8291 sed 's/^/| /' conftest.$ac_ext >&5
8296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8299 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8301 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8302 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
8303 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8304 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 ac_check_lib_save_LIBS=$LIBS
8307 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8308 cat >conftest.$ac_ext <<_ACEOF
8311 cat confdefs.h >>conftest.$ac_ext
8312 cat >>conftest.$ac_ext <<_ACEOF
8313 /* end confdefs.h. */
8315 /* Override any GCC internal prototype to avoid an error.
8316 Use char because int might match the return type of a GCC
8317 builtin and then its argument prototype would still apply. */
8321 char XRenderSetPictureTransform ();
8325 return XRenderSetPictureTransform ();
8330 rm -f conftest.$ac_objext conftest$ac_exeext
8331 if { (ac_try="$ac_link"
8333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8334 *) ac_try_echo=$ac_try;;
8336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8337 (eval "$ac_link") 2>conftest.er1
8339 grep -v '^ *+' conftest.er1 >conftest.err
8341 cat conftest.err >&5
8342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8343 (exit $ac_status); } && {
8344 test -z "$ac_c_werror_flag" ||
8345 test ! -s conftest.err
8346 } && test -s conftest$ac_exeext &&
8347 $as_test_x conftest$ac_exeext; then
8348 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8350 echo "$as_me: failed program was:" >&5
8351 sed 's/^/| /' conftest.$ac_ext >&5
8353 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8357 conftest$ac_exeext conftest.$ac_ext
8358 LIBS=$ac_check_lib_save_LIBS
8360 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8361 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8362 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8364 cat >>confdefs.h <<\_ACEOF
8365 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8372 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8374 cat >conftest.$ac_ext <<_ACEOF
8377 cat confdefs.h >>conftest.$ac_ext
8378 cat >>conftest.$ac_ext <<_ACEOF
8379 /* end confdefs.h. */
8380 #include <X11/Xlib.h>
8381 #include <X11/extensions/Xinerama.h>
8385 static typeof(XineramaQueryScreens) * func;
8390 rm -f conftest.$ac_objext
8391 if { (ac_try="$ac_compile"
8393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8394 *) ac_try_echo=$ac_try;;
8396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8397 (eval "$ac_compile") 2>conftest.er1
8399 grep -v '^ *+' conftest.er1 >conftest.err
8401 cat conftest.err >&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); } && {
8404 test -z "$ac_c_werror_flag" ||
8405 test ! -s conftest.err
8406 } && test -s conftest.$ac_objext; then
8408 cat >>confdefs.h <<\_ACEOF
8409 #define HAVE_LIBXINERAMA 1
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8423 if test "x$with_opengl" != "xno"
8429 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8432 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8435 echo $ECHO_N "(cached) $ECHO_C" >&6
8437 cat >conftest.$ac_ext <<_ACEOF
8440 cat confdefs.h >>conftest.$ac_ext
8441 cat >>conftest.$ac_ext <<_ACEOF
8442 /* end confdefs.h. */
8443 #ifdef HAVE_GL_GLX_H
8444 # include <GL/glx.h>
8447 #include <$ac_header>
8449 rm -f conftest.$ac_objext
8450 if { (ac_try="$ac_compile"
8452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8453 *) ac_try_echo=$ac_try;;
8455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8456 (eval "$ac_compile") 2>conftest.er1
8458 grep -v '^ *+' conftest.er1 >conftest.err
8460 cat conftest.err >&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); } && {
8463 test -z "$ac_c_werror_flag" ||
8464 test ! -s conftest.err
8465 } && test -s conftest.$ac_objext; then
8466 eval "$as_ac_Header=yes"
8468 echo "$as_me: failed program was:" >&5
8469 sed 's/^/| /' conftest.$ac_ext >&5
8471 eval "$as_ac_Header=no"
8474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8476 ac_res=`eval echo '${'$as_ac_Header'}'`
8477 { echo "$as_me:$LINENO: result: $ac_res" >&5
8478 echo "${ECHO_T}$ac_res" >&6; }
8479 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8480 cat >>confdefs.h <<_ACEOF
8481 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8488 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8490 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8491 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
8492 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
8493 echo $ECHO_N "(cached) $ECHO_C" >&6
8495 cat >conftest.$ac_ext <<_ACEOF
8498 cat confdefs.h >>conftest.$ac_ext
8499 cat >>conftest.$ac_ext <<_ACEOF
8500 /* end confdefs.h. */
8505 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8510 rm -f conftest.$ac_objext
8511 if { (ac_try="$ac_compile"
8513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8514 *) ac_try_echo=$ac_try;;
8516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8517 (eval "$ac_compile") 2>conftest.er1
8519 grep -v '^ *+' conftest.er1 >conftest.err
8521 cat conftest.err >&5
8522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8523 (exit $ac_status); } && {
8524 test -z "$ac_c_werror_flag" ||
8525 test ! -s conftest.err
8526 } && test -s conftest.$ac_objext; then
8527 wine_cv_opengl_header_version_OK="yes"
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.$ac_ext >&5
8532 wine_cv_opengl_header_version_OK="no"
8536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8539 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
8540 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
8542 if test "$wine_cv_opengl_header_version_OK" = "yes"
8544 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8545 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
8546 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8547 echo $ECHO_N "(cached) $ECHO_C" >&6
8549 ac_check_lib_save_LIBS=$LIBS
8550 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8551 cat >conftest.$ac_ext <<_ACEOF
8554 cat confdefs.h >>conftest.$ac_ext
8555 cat >>conftest.$ac_ext <<_ACEOF
8556 /* end confdefs.h. */
8558 /* Override any GCC internal prototype to avoid an error.
8559 Use char because int might match the return type of a GCC
8560 builtin and then its argument prototype would still apply. */
8564 char glXCreateContext ();
8568 return glXCreateContext ();
8573 rm -f conftest.$ac_objext conftest$ac_exeext
8574 if { (ac_try="$ac_link"
8576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8577 *) ac_try_echo=$ac_try;;
8579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8580 (eval "$ac_link") 2>conftest.er1
8582 grep -v '^ *+' conftest.er1 >conftest.err
8584 cat conftest.err >&5
8585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8586 (exit $ac_status); } && {
8587 test -z "$ac_c_werror_flag" ||
8588 test ! -s conftest.err
8589 } && test -s conftest$ac_exeext &&
8590 $as_test_x conftest$ac_exeext; then
8591 ac_cv_lib_GL_glXCreateContext=yes
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.$ac_ext >&5
8596 ac_cv_lib_GL_glXCreateContext=no
8599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8600 conftest$ac_exeext conftest.$ac_ext
8601 LIBS=$ac_check_lib_save_LIBS
8603 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8604 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
8605 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8607 OPENGLFILES='$(OPENGLFILES)'
8609 cat >>confdefs.h <<\_ACEOF
8610 #define HAVE_OPENGL 1
8617 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8618 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
8619 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8620 echo $ECHO_N "(cached) $ECHO_C" >&6
8622 ac_check_lib_save_LIBS=$LIBS
8623 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8625 cat >conftest.$ac_ext <<_ACEOF
8628 cat confdefs.h >>conftest.$ac_ext
8629 cat >>conftest.$ac_ext <<_ACEOF
8630 /* end confdefs.h. */
8632 /* Override any GCC internal prototype to avoid an error.
8633 Use char because int might match the return type of a GCC
8634 builtin and then its argument prototype would still apply. */
8642 return gluLookAt ();
8647 rm -f conftest.$ac_objext conftest$ac_exeext
8648 if { (ac_try="$ac_link"
8650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8651 *) ac_try_echo=$ac_try;;
8653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8654 (eval "$ac_link") 2>conftest.er1
8656 grep -v '^ *+' conftest.er1 >conftest.err
8658 cat conftest.err >&5
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); } && {
8661 test -z "$ac_c_werror_flag" ||
8662 test ! -s conftest.err
8663 } && test -s conftest$ac_exeext &&
8664 $as_test_x conftest$ac_exeext; then
8665 ac_cv_lib_GLU_gluLookAt=yes
8667 echo "$as_me: failed program was:" >&5
8668 sed 's/^/| /' conftest.$ac_ext >&5
8670 ac_cv_lib_GLU_gluLookAt=no
8673 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8674 conftest$ac_exeext conftest.$ac_ext
8675 LIBS=$ac_check_lib_save_LIBS
8677 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8678 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
8679 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8680 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8681 GLU32FILES='$(GLU32FILES)'
8687 wine_cv_opengl_headers_found="no"
8693 for ac_header in audio/audiolib.h
8695 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8696 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8697 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8699 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 ac_res=`eval echo '${'$as_ac_Header'}'`
8703 { echo "$as_me:$LINENO: result: $ac_res" >&5
8704 echo "${ECHO_T}$ac_res" >&6; }
8706 # Is the header compilable?
8707 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
8708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8709 cat >conftest.$ac_ext <<_ACEOF
8712 cat confdefs.h >>conftest.$ac_ext
8713 cat >>conftest.$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8715 $ac_includes_default
8716 #include <$ac_header>
8718 rm -f conftest.$ac_objext
8719 if { (ac_try="$ac_compile"
8721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8722 *) ac_try_echo=$ac_try;;
8724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8725 (eval "$ac_compile") 2>conftest.er1
8727 grep -v '^ *+' conftest.er1 >conftest.err
8729 cat conftest.err >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); } && {
8732 test -z "$ac_c_werror_flag" ||
8733 test ! -s conftest.err
8734 } && test -s conftest.$ac_objext; then
8735 ac_header_compiler=yes
8737 echo "$as_me: failed program was:" >&5
8738 sed 's/^/| /' conftest.$ac_ext >&5
8740 ac_header_compiler=no
8743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8744 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8745 echo "${ECHO_T}$ac_header_compiler" >&6; }
8747 # Is the header present?
8748 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
8749 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8750 cat >conftest.$ac_ext <<_ACEOF
8753 cat confdefs.h >>conftest.$ac_ext
8754 cat >>conftest.$ac_ext <<_ACEOF
8755 /* end confdefs.h. */
8756 #include <$ac_header>
8758 if { (ac_try="$ac_cpp conftest.$ac_ext"
8760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8761 *) ac_try_echo=$ac_try;;
8763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8766 grep -v '^ *+' conftest.er1 >conftest.err
8768 cat conftest.err >&5
8769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8770 (exit $ac_status); } >/dev/null && {
8771 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
8772 test ! -s conftest.err
8774 ac_header_preproc=yes
8776 echo "$as_me: failed program was:" >&5
8777 sed 's/^/| /' conftest.$ac_ext >&5
8779 ac_header_preproc=no
8782 rm -f conftest.err conftest.$ac_ext
8783 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8784 echo "${ECHO_T}$ac_header_preproc" >&6; }
8786 # So? What about this header?
8787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8793 ac_header_preproc=yes
8796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8809 ## ------------------------------------ ##
8810 ## Report this to wine-devel@winehq.org ##
8811 ## ------------------------------------ ##
8813 ) | sed "s/^/$as_me: WARNING: /" >&2
8816 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8818 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8821 eval "$as_ac_Header=\$ac_header_preproc"
8823 ac_res=`eval echo '${'$as_ac_Header'}'`
8824 { echo "$as_me:$LINENO: result: $ac_res" >&5
8825 echo "${ECHO_T}$ac_res" >&6; }
8828 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8829 cat >>confdefs.h <<_ACEOF
8830 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8833 for ac_header in audio/soundlib.h
8835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8836 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8838 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8839 echo $ECHO_N "(cached) $ECHO_C" >&6
8841 cat >conftest.$ac_ext <<_ACEOF
8844 cat confdefs.h >>conftest.$ac_ext
8845 cat >>conftest.$ac_ext <<_ACEOF
8846 /* end confdefs.h. */
8847 #include <audio/audiolib.h>
8849 #include <$ac_header>
8851 rm -f conftest.$ac_objext
8852 if { (ac_try="$ac_compile"
8854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8855 *) ac_try_echo=$ac_try;;
8857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8858 (eval "$ac_compile") 2>conftest.er1
8860 grep -v '^ *+' conftest.er1 >conftest.err
8862 cat conftest.err >&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } && {
8865 test -z "$ac_c_werror_flag" ||
8866 test ! -s conftest.err
8867 } && test -s conftest.$ac_objext; then
8868 eval "$as_ac_Header=yes"
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.$ac_ext >&5
8873 eval "$as_ac_Header=no"
8876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8878 ac_res=`eval echo '${'$as_ac_Header'}'`
8879 { echo "$as_me:$LINENO: result: $ac_res" >&5
8880 echo "${ECHO_T}$ac_res" >&6; }
8881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8882 cat >>confdefs.h <<_ACEOF
8883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8890 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8891 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
8892 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8893 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 ac_check_lib_save_LIBS=$LIBS
8896 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8897 cat >conftest.$ac_ext <<_ACEOF
8900 cat confdefs.h >>conftest.$ac_ext
8901 cat >>conftest.$ac_ext <<_ACEOF
8902 /* end confdefs.h. */
8904 /* Override any GCC internal prototype to avoid an error.
8905 Use char because int might match the return type of a GCC
8906 builtin and then its argument prototype would still apply. */
8910 char AuCreateFlow ();
8914 return AuCreateFlow ();
8919 rm -f conftest.$ac_objext conftest$ac_exeext
8920 if { (ac_try="$ac_link"
8922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8923 *) ac_try_echo=$ac_try;;
8925 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8926 (eval "$ac_link") 2>conftest.er1
8928 grep -v '^ *+' conftest.er1 >conftest.err
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } && {
8933 test -z "$ac_c_werror_flag" ||
8934 test ! -s conftest.err
8935 } && test -s conftest$ac_exeext &&
8936 $as_test_x conftest$ac_exeext; then
8937 ac_cv_lib_audio_AuCreateFlow=yes
8939 echo "$as_me: failed program was:" >&5
8940 sed 's/^/| /' conftest.$ac_ext >&5
8942 ac_cv_lib_audio_AuCreateFlow=no
8945 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8946 conftest$ac_exeext conftest.$ac_ext
8947 LIBS=$ac_check_lib_save_LIBS
8949 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8950 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
8951 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8953 cat >>confdefs.h <<\_ACEOF
8957 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8965 CPPFLAGS="$ac_save_CPPFLAGS"
8982 if test "$PKG_CONFIG" != "false"
8984 ac_save_CPPFLAGS="$CPPFLAGS"
8985 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8986 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8987 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8989 for ac_header in libxml/parser.h
8991 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8998 ac_res=`eval echo '${'$as_ac_Header'}'`
8999 { echo "$as_me:$LINENO: result: $ac_res" >&5
9000 echo "${ECHO_T}$ac_res" >&6; }
9002 # Is the header compilable?
9003 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9005 cat >conftest.$ac_ext <<_ACEOF
9008 cat confdefs.h >>conftest.$ac_ext
9009 cat >>conftest.$ac_ext <<_ACEOF
9010 /* end confdefs.h. */
9011 $ac_includes_default
9012 #include <$ac_header>
9014 rm -f conftest.$ac_objext
9015 if { (ac_try="$ac_compile"
9017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9018 *) ac_try_echo=$ac_try;;
9020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9021 (eval "$ac_compile") 2>conftest.er1
9023 grep -v '^ *+' conftest.er1 >conftest.err
9025 cat conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } && {
9028 test -z "$ac_c_werror_flag" ||
9029 test ! -s conftest.err
9030 } && test -s conftest.$ac_objext; then
9031 ac_header_compiler=yes
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.$ac_ext >&5
9036 ac_header_compiler=no
9039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9040 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9041 echo "${ECHO_T}$ac_header_compiler" >&6; }
9043 # Is the header present?
9044 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9046 cat >conftest.$ac_ext <<_ACEOF
9049 cat confdefs.h >>conftest.$ac_ext
9050 cat >>conftest.$ac_ext <<_ACEOF
9051 /* end confdefs.h. */
9052 #include <$ac_header>
9054 if { (ac_try="$ac_cpp conftest.$ac_ext"
9056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9057 *) ac_try_echo=$ac_try;;
9059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9060 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9062 grep -v '^ *+' conftest.er1 >conftest.err
9064 cat conftest.err >&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } >/dev/null && {
9067 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9068 test ! -s conftest.err
9070 ac_header_preproc=yes
9072 echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.$ac_ext >&5
9075 ac_header_preproc=no
9078 rm -f conftest.err conftest.$ac_ext
9079 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9080 echo "${ECHO_T}$ac_header_preproc" >&6; }
9082 # So? What about this header?
9083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9085 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9086 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9088 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9089 ac_header_preproc=yes
9092 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9093 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9094 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9095 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9096 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9097 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9098 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9099 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9101 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9102 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9103 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9105 ## ------------------------------------ ##
9106 ## Report this to wine-devel@winehq.org ##
9107 ## ------------------------------------ ##
9109 ) | sed "s/^/$as_me: WARNING: /" >&2
9112 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9115 echo $ECHO_N "(cached) $ECHO_C" >&6
9117 eval "$as_ac_Header=\$ac_header_preproc"
9119 ac_res=`eval echo '${'$as_ac_Header'}'`
9120 { echo "$as_me:$LINENO: result: $ac_res" >&5
9121 echo "${ECHO_T}$ac_res" >&6; }
9124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9125 cat >>confdefs.h <<_ACEOF
9126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9128 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9129 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
9130 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9131 echo $ECHO_N "(cached) $ECHO_C" >&6
9133 ac_check_lib_save_LIBS=$LIBS
9134 LIBS="-lxml2 $ac_xml_libs $LIBS"
9135 cat >conftest.$ac_ext <<_ACEOF
9138 cat confdefs.h >>conftest.$ac_ext
9139 cat >>conftest.$ac_ext <<_ACEOF
9140 /* end confdefs.h. */
9142 /* Override any GCC internal prototype to avoid an error.
9143 Use char because int might match the return type of a GCC
9144 builtin and then its argument prototype would still apply. */
9148 char xmlParseMemory ();
9152 return xmlParseMemory ();
9157 rm -f conftest.$ac_objext conftest$ac_exeext
9158 if { (ac_try="$ac_link"
9160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9161 *) ac_try_echo=$ac_try;;
9163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9164 (eval "$ac_link") 2>conftest.er1
9166 grep -v '^ *+' conftest.er1 >conftest.err
9168 cat conftest.err >&5
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); } && {
9171 test -z "$ac_c_werror_flag" ||
9172 test ! -s conftest.err
9173 } && test -s conftest$ac_exeext &&
9174 $as_test_x conftest$ac_exeext; then
9175 ac_cv_lib_xml2_xmlParseMemory=yes
9177 echo "$as_me: failed program was:" >&5
9178 sed 's/^/| /' conftest.$ac_ext >&5
9180 ac_cv_lib_xml2_xmlParseMemory=no
9183 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9184 conftest$ac_exeext conftest.$ac_ext
9185 LIBS=$ac_check_lib_save_LIBS
9187 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9188 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9189 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9191 cat >>confdefs.h <<\_ACEOF
9192 #define HAVE_LIBXML2 1
9195 XML2LIBS="$ac_xml_libs"
9196 XML2INCL="$ac_xml_cflags"
9199 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9200 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
9201 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9202 echo $ECHO_N "(cached) $ECHO_C" >&6
9204 ac_check_lib_save_LIBS=$LIBS
9205 LIBS="-lxml2 $ac_xml_libs $LIBS"
9206 cat >conftest.$ac_ext <<_ACEOF
9209 cat confdefs.h >>conftest.$ac_ext
9210 cat >>conftest.$ac_ext <<_ACEOF
9211 /* end confdefs.h. */
9213 /* Override any GCC internal prototype to avoid an error.
9214 Use char because int might match the return type of a GCC
9215 builtin and then its argument prototype would still apply. */
9219 char xmlReadMemory ();
9223 return xmlReadMemory ();
9228 rm -f conftest.$ac_objext conftest$ac_exeext
9229 if { (ac_try="$ac_link"
9231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9232 *) ac_try_echo=$ac_try;;
9234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9235 (eval "$ac_link") 2>conftest.er1
9237 grep -v '^ *+' conftest.er1 >conftest.err
9239 cat conftest.err >&5
9240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9241 (exit $ac_status); } && {
9242 test -z "$ac_c_werror_flag" ||
9243 test ! -s conftest.err
9244 } && test -s conftest$ac_exeext &&
9245 $as_test_x conftest$ac_exeext; then
9246 ac_cv_lib_xml2_xmlReadMemory=yes
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.$ac_ext >&5
9251 ac_cv_lib_xml2_xmlReadMemory=no
9254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9255 conftest$ac_exeext conftest.$ac_ext
9256 LIBS=$ac_check_lib_save_LIBS
9258 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9259 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9260 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9262 cat >>confdefs.h <<\_ACEOF
9263 #define HAVE_XMLREADMEMORY 1
9268 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
9269 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
9270 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
9271 echo $ECHO_N "(cached) $ECHO_C" >&6
9273 ac_check_lib_save_LIBS=$LIBS
9274 LIBS="-lxml2 $ac_xml_libs $LIBS"
9275 cat >conftest.$ac_ext <<_ACEOF
9278 cat confdefs.h >>conftest.$ac_ext
9279 cat >>conftest.$ac_ext <<_ACEOF
9280 /* end confdefs.h. */
9282 /* Override any GCC internal prototype to avoid an error.
9283 Use char because int might match the return type of a GCC
9284 builtin and then its argument prototype would still apply. */
9288 char xmlNewDocPI ();
9292 return xmlNewDocPI ();
9297 rm -f conftest.$ac_objext conftest$ac_exeext
9298 if { (ac_try="$ac_link"
9300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9301 *) ac_try_echo=$ac_try;;
9303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9304 (eval "$ac_link") 2>conftest.er1
9306 grep -v '^ *+' conftest.er1 >conftest.err
9308 cat conftest.err >&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); } && {
9311 test -z "$ac_c_werror_flag" ||
9312 test ! -s conftest.err
9313 } && test -s conftest$ac_exeext &&
9314 $as_test_x conftest$ac_exeext; then
9315 ac_cv_lib_xml2_xmlNewDocPI=yes
9317 echo "$as_me: failed program was:" >&5
9318 sed 's/^/| /' conftest.$ac_ext >&5
9320 ac_cv_lib_xml2_xmlNewDocPI=no
9323 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9324 conftest$ac_exeext conftest.$ac_ext
9325 LIBS=$ac_check_lib_save_LIBS
9327 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9328 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9329 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
9331 cat >>confdefs.h <<\_ACEOF
9332 #define HAVE_XMLNEWDOCPI 1
9342 CPPFLAGS="$ac_save_CPPFLAGS"
9343 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9344 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9345 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9348 for ac_header in libxslt/pattern.h libxslt/transform.h
9350 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9351 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9353 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9354 echo $ECHO_N "(cached) $ECHO_C" >&6
9356 cat >conftest.$ac_ext <<_ACEOF
9359 cat confdefs.h >>conftest.$ac_ext
9360 cat >>conftest.$ac_ext <<_ACEOF
9361 /* end confdefs.h. */
9362 #ifdef HAVE_LIBXSLT_PATTERN_H
9363 # include <libxslt/pattern.h>
9366 #include <$ac_header>
9368 rm -f conftest.$ac_objext
9369 if { (ac_try="$ac_compile"
9371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9372 *) ac_try_echo=$ac_try;;
9374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9375 (eval "$ac_compile") 2>conftest.er1
9377 grep -v '^ *+' conftest.er1 >conftest.err
9379 cat conftest.err >&5
9380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9381 (exit $ac_status); } && {
9382 test -z "$ac_c_werror_flag" ||
9383 test ! -s conftest.err
9384 } && test -s conftest.$ac_objext; then
9385 eval "$as_ac_Header=yes"
9387 echo "$as_me: failed program was:" >&5
9388 sed 's/^/| /' conftest.$ac_ext >&5
9390 eval "$as_ac_Header=no"
9393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9395 ac_res=`eval echo '${'$as_ac_Header'}'`
9396 { echo "$as_me:$LINENO: result: $ac_res" >&5
9397 echo "${ECHO_T}$ac_res" >&6; }
9398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9399 cat >>confdefs.h <<_ACEOF
9400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9402 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9403 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
9404 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9405 echo $ECHO_N "(cached) $ECHO_C" >&6
9407 ac_check_lib_save_LIBS=$LIBS
9408 LIBS="-lxslt $ac_xslt_libs $LIBS"
9409 cat >conftest.$ac_ext <<_ACEOF
9412 cat confdefs.h >>conftest.$ac_ext
9413 cat >>conftest.$ac_ext <<_ACEOF
9414 /* end confdefs.h. */
9416 /* Override any GCC internal prototype to avoid an error.
9417 Use char because int might match the return type of a GCC
9418 builtin and then its argument prototype would still apply. */
9422 char xsltCompilePattern ();
9426 return xsltCompilePattern ();
9431 rm -f conftest.$ac_objext conftest$ac_exeext
9432 if { (ac_try="$ac_link"
9434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9435 *) ac_try_echo=$ac_try;;
9437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9438 (eval "$ac_link") 2>conftest.er1
9440 grep -v '^ *+' conftest.er1 >conftest.err
9442 cat conftest.err >&5
9443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9444 (exit $ac_status); } && {
9445 test -z "$ac_c_werror_flag" ||
9446 test ! -s conftest.err
9447 } && test -s conftest$ac_exeext &&
9448 $as_test_x conftest$ac_exeext; then
9449 ac_cv_lib_xslt_xsltCompilePattern=yes
9451 echo "$as_me: failed program was:" >&5
9452 sed 's/^/| /' conftest.$ac_ext >&5
9454 ac_cv_lib_xslt_xsltCompilePattern=no
9457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9458 conftest$ac_exeext conftest.$ac_ext
9459 LIBS=$ac_check_lib_save_LIBS
9461 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9462 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
9463 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9465 cat >>confdefs.h <<\_ACEOF
9466 #define HAVE_LIBXSLT 1
9469 XSLTLIBS="$ac_xslt_libs"
9470 XSLTINCL="$ac_xslt_cflags"
9478 CPPFLAGS="$ac_save_CPPFLAGS"
9483 if test "$PKG_CONFIG" != "false"
9485 ac_save_CPPFLAGS="$CPPFLAGS"
9486 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9487 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9488 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9491 for ac_header in dbus/dbus.h hal/libhal.h
9493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9494 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9495 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9498 echo $ECHO_N "(cached) $ECHO_C" >&6
9500 ac_res=`eval echo '${'$as_ac_Header'}'`
9501 { echo "$as_me:$LINENO: result: $ac_res" >&5
9502 echo "${ECHO_T}$ac_res" >&6; }
9504 # Is the header compilable?
9505 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9506 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9507 cat >conftest.$ac_ext <<_ACEOF
9510 cat confdefs.h >>conftest.$ac_ext
9511 cat >>conftest.$ac_ext <<_ACEOF
9512 /* end confdefs.h. */
9513 $ac_includes_default
9514 #include <$ac_header>
9516 rm -f conftest.$ac_objext
9517 if { (ac_try="$ac_compile"
9519 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9520 *) ac_try_echo=$ac_try;;
9522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9523 (eval "$ac_compile") 2>conftest.er1
9525 grep -v '^ *+' conftest.er1 >conftest.err
9527 cat conftest.err >&5
9528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9529 (exit $ac_status); } && {
9530 test -z "$ac_c_werror_flag" ||
9531 test ! -s conftest.err
9532 } && test -s conftest.$ac_objext; then
9533 ac_header_compiler=yes
9535 echo "$as_me: failed program was:" >&5
9536 sed 's/^/| /' conftest.$ac_ext >&5
9538 ac_header_compiler=no
9541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9542 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9543 echo "${ECHO_T}$ac_header_compiler" >&6; }
9545 # Is the header present?
9546 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9547 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9548 cat >conftest.$ac_ext <<_ACEOF
9551 cat confdefs.h >>conftest.$ac_ext
9552 cat >>conftest.$ac_ext <<_ACEOF
9553 /* end confdefs.h. */
9554 #include <$ac_header>
9556 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev/null && {
9569 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9570 test ! -s conftest.err
9572 ac_header_preproc=yes
9574 echo "$as_me: failed program was:" >&5
9575 sed 's/^/| /' conftest.$ac_ext >&5
9577 ac_header_preproc=no
9580 rm -f conftest.err conftest.$ac_ext
9581 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9582 echo "${ECHO_T}$ac_header_preproc" >&6; }
9584 # So? What about this header?
9585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9590 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9591 ac_header_preproc=yes
9594 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9595 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9596 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9597 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9598 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9599 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9600 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9601 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9604 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9605 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9607 ## ------------------------------------ ##
9608 ## Report this to wine-devel@winehq.org ##
9609 ## ------------------------------------ ##
9611 ) | sed "s/^/$as_me: WARNING: /" >&2
9614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9616 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9619 eval "$as_ac_Header=\$ac_header_preproc"
9621 ac_res=`eval echo '${'$as_ac_Header'}'`
9622 { echo "$as_me:$LINENO: result: $ac_res" >&5
9623 echo "${ECHO_T}$ac_res" >&6; }
9626 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9627 cat >>confdefs.h <<_ACEOF
9628 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9635 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9637 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9638 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
9639 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9640 echo $ECHO_N "(cached) $ECHO_C" >&6
9642 ac_check_lib_save_LIBS=$LIBS
9644 cat >conftest.$ac_ext <<_ACEOF
9647 cat confdefs.h >>conftest.$ac_ext
9648 cat >>conftest.$ac_ext <<_ACEOF
9649 /* end confdefs.h. */
9651 /* Override any GCC internal prototype to avoid an error.
9652 Use char because int might match the return type of a GCC
9653 builtin and then its argument prototype would still apply. */
9657 char libhal_ctx_new ();
9661 return libhal_ctx_new ();
9666 rm -f conftest.$ac_objext conftest$ac_exeext
9667 if { (ac_try="$ac_link"
9669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9670 *) ac_try_echo=$ac_try;;
9672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9673 (eval "$ac_link") 2>conftest.er1
9675 grep -v '^ *+' conftest.er1 >conftest.err
9677 cat conftest.err >&5
9678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679 (exit $ac_status); } && {
9680 test -z "$ac_c_werror_flag" ||
9681 test ! -s conftest.err
9682 } && test -s conftest$ac_exeext &&
9683 $as_test_x conftest$ac_exeext; then
9684 ac_cv_lib_hal_libhal_ctx_new=yes
9686 echo "$as_me: failed program was:" >&5
9687 sed 's/^/| /' conftest.$ac_ext >&5
9689 ac_cv_lib_hal_libhal_ctx_new=no
9692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9693 conftest$ac_exeext conftest.$ac_ext
9694 LIBS=$ac_check_lib_save_LIBS
9696 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9697 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
9698 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9699 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9700 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
9701 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9702 echo $ECHO_N "(cached) $ECHO_C" >&6
9704 ac_check_lib_save_LIBS=$LIBS
9705 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9706 cat >conftest.$ac_ext <<_ACEOF
9709 cat confdefs.h >>conftest.$ac_ext
9710 cat >>conftest.$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9713 /* Override any GCC internal prototype to avoid an error.
9714 Use char because int might match the return type of a GCC
9715 builtin and then its argument prototype would still apply. */
9719 char dbus_connection_close ();
9723 return dbus_connection_close ();
9728 rm -f conftest.$ac_objext conftest$ac_exeext
9729 if { (ac_try="$ac_link"
9731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9732 *) ac_try_echo=$ac_try;;
9734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9735 (eval "$ac_link") 2>conftest.er1
9737 grep -v '^ *+' conftest.er1 >conftest.err
9739 cat conftest.err >&5
9740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9741 (exit $ac_status); } && {
9742 test -z "$ac_c_werror_flag" ||
9743 test ! -s conftest.err
9744 } && test -s conftest$ac_exeext &&
9745 $as_test_x conftest$ac_exeext; then
9746 ac_cv_lib_dbus_1_dbus_connection_close=yes
9748 echo "$as_me: failed program was:" >&5
9749 sed 's/^/| /' conftest.$ac_ext >&5
9751 ac_cv_lib_dbus_1_dbus_connection_close=no
9754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9755 conftest$ac_exeext conftest.$ac_ext
9756 LIBS=$ac_check_lib_save_LIBS
9758 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9759 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9760 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9762 cat >>confdefs.h <<\_ACEOF
9763 #define HAVE_LIBHAL 1
9766 HALINCL="$ac_hal_cflags"
9772 CPPFLAGS="$ac_save_CPPFLAGS"
9776 if test "$ac_cv_header_ncurses_h" = "yes"
9778 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9779 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
9780 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9781 echo $ECHO_N "(cached) $ECHO_C" >&6
9783 ac_check_lib_save_LIBS=$LIBS
9784 LIBS="-lncurses $LIBS"
9785 cat >conftest.$ac_ext <<_ACEOF
9788 cat confdefs.h >>conftest.$ac_ext
9789 cat >>conftest.$ac_ext <<_ACEOF
9790 /* end confdefs.h. */
9792 /* Override any GCC internal prototype to avoid an error.
9793 Use char because int might match the return type of a GCC
9794 builtin and then its argument prototype would still apply. */
9807 rm -f conftest.$ac_objext conftest$ac_exeext
9808 if { (ac_try="$ac_link"
9810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9811 *) ac_try_echo=$ac_try;;
9813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9814 (eval "$ac_link") 2>conftest.er1
9816 grep -v '^ *+' conftest.er1 >conftest.err
9818 cat conftest.err >&5
9819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9820 (exit $ac_status); } && {
9821 test -z "$ac_c_werror_flag" ||
9822 test ! -s conftest.err
9823 } && test -s conftest$ac_exeext &&
9824 $as_test_x conftest$ac_exeext; then
9825 ac_cv_lib_ncurses_waddch=yes
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.$ac_ext >&5
9830 ac_cv_lib_ncurses_waddch=no
9833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9834 conftest$ac_exeext conftest.$ac_ext
9835 LIBS=$ac_check_lib_save_LIBS
9837 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9838 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
9839 if test $ac_cv_lib_ncurses_waddch = yes; then
9840 CURSESLIBS="-lncurses"
9843 elif test "$ac_cv_header_curses_h" = "yes"
9845 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9846 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
9847 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9848 echo $ECHO_N "(cached) $ECHO_C" >&6
9850 ac_check_lib_save_LIBS=$LIBS
9851 LIBS="-lcurses $LIBS"
9852 cat >conftest.$ac_ext <<_ACEOF
9855 cat confdefs.h >>conftest.$ac_ext
9856 cat >>conftest.$ac_ext <<_ACEOF
9857 /* end confdefs.h. */
9859 /* Override any GCC internal prototype to avoid an error.
9860 Use char because int might match the return type of a GCC
9861 builtin and then its argument prototype would still apply. */
9874 rm -f conftest.$ac_objext conftest$ac_exeext
9875 if { (ac_try="$ac_link"
9877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9878 *) ac_try_echo=$ac_try;;
9880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9881 (eval "$ac_link") 2>conftest.er1
9883 grep -v '^ *+' conftest.er1 >conftest.err
9885 cat conftest.err >&5
9886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9887 (exit $ac_status); } && {
9888 test -z "$ac_c_werror_flag" ||
9889 test ! -s conftest.err
9890 } && test -s conftest$ac_exeext &&
9891 $as_test_x conftest$ac_exeext; then
9892 ac_cv_lib_curses_waddch=yes
9894 echo "$as_me: failed program was:" >&5
9895 sed 's/^/| /' conftest.$ac_ext >&5
9897 ac_cv_lib_curses_waddch=no
9900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9901 conftest$ac_exeext conftest.$ac_ext
9902 LIBS=$ac_check_lib_save_LIBS
9904 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9905 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
9906 if test $ac_cv_lib_curses_waddch = yes; then
9907 CURSESLIBS="-lcurses"
9911 ac_save_LIBS="$LIBS"
9912 LIBS="$LIBS $CURSESLIBS"
9914 for ac_func in mousemask
9916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9917 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9919 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9920 echo $ECHO_N "(cached) $ECHO_C" >&6
9922 cat >conftest.$ac_ext <<_ACEOF
9925 cat confdefs.h >>conftest.$ac_ext
9926 cat >>conftest.$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9930 #define $ac_func innocuous_$ac_func
9932 /* System header to define __stub macros and hopefully few prototypes,
9933 which can conflict with char $ac_func (); below.
9934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9935 <limits.h> exists even on freestanding compilers. */
9938 # include <limits.h>
9940 # include <assert.h>
9945 /* Override any GCC internal prototype to avoid an error.
9946 Use char because int might match the return type of a GCC
9947 builtin and then its argument prototype would still apply. */
9952 /* The GNU C library defines this for functions which it implements
9953 to always fail with ENOSYS. Some functions are actually named
9954 something starting with __ and the normal name is an alias. */
9955 #if defined __stub_$ac_func || defined __stub___$ac_func
9967 rm -f conftest.$ac_objext conftest$ac_exeext
9968 if { (ac_try="$ac_link"
9970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9971 *) ac_try_echo=$ac_try;;
9973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9974 (eval "$ac_link") 2>conftest.er1
9976 grep -v '^ *+' conftest.er1 >conftest.err
9978 cat conftest.err >&5
9979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9980 (exit $ac_status); } && {
9981 test -z "$ac_c_werror_flag" ||
9982 test ! -s conftest.err
9983 } && test -s conftest$ac_exeext &&
9984 $as_test_x conftest$ac_exeext; then
9985 eval "$as_ac_var=yes"
9987 echo "$as_me: failed program was:" >&5
9988 sed 's/^/| /' conftest.$ac_ext >&5
9990 eval "$as_ac_var=no"
9993 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9994 conftest$ac_exeext conftest.$ac_ext
9996 ac_res=`eval echo '${'$as_ac_var'}'`
9997 { echo "$as_me:$LINENO: result: $ac_res" >&5
9998 echo "${ECHO_T}$ac_res" >&6; }
9999 if test `eval echo '${'$as_ac_var'}'` = yes; then
10000 cat >>confdefs.h <<_ACEOF
10001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10007 LIBS="$ac_save_LIBS"
10009 # Extract the first word of "sane-config", so it can be a program name with args.
10010 set dummy sane-config; ac_word=$2
10011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10013 if test "${ac_cv_prog_sane_devel+set}" = set; then
10014 echo $ECHO_N "(cached) $ECHO_C" >&6
10016 if test -n "$sane_devel"; then
10017 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
10019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10020 for as_dir in $PATH
10023 test -z "$as_dir" && as_dir=.
10024 for ac_exec_ext in '' $ac_executable_extensions; do
10025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10026 ac_cv_prog_sane_devel="sane-config"
10027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10034 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
10037 sane_devel=$ac_cv_prog_sane_devel
10038 if test -n "$sane_devel"; then
10039 { echo "$as_me:$LINENO: result: $sane_devel" >&5
10040 echo "${ECHO_T}$sane_devel" >&6; }
10042 { echo "$as_me:$LINENO: result: no" >&5
10043 echo "${ECHO_T}no" >&6; }
10051 if test "$sane_devel" != "no"
10053 SANELIBS="`$sane_devel --libs`"
10054 SANEINCL="`$sane_devel --cflags`"
10055 ac_save_CPPFLAGS="$CPPFLAGS"
10056 ac_save_LIBS="$LIBS"
10057 CPPFLAGS="$CPPFLAGS $SANEINCL"
10058 LIBS="$LIBS $SANELIBS"
10059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10060 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10061 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10062 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10063 echo $ECHO_N "(cached) $ECHO_C" >&6
10065 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10066 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10068 # Is the header compilable?
10069 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10070 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
10071 cat >conftest.$ac_ext <<_ACEOF
10074 cat confdefs.h >>conftest.$ac_ext
10075 cat >>conftest.$ac_ext <<_ACEOF
10076 /* end confdefs.h. */
10077 $ac_includes_default
10078 #include <sane/sane.h>
10080 rm -f conftest.$ac_objext
10081 if { (ac_try="$ac_compile"
10082 case "(($ac_try" in
10083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10084 *) ac_try_echo=$ac_try;;
10086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10087 (eval "$ac_compile") 2>conftest.er1
10089 grep -v '^ *+' conftest.er1 >conftest.err
10091 cat conftest.err >&5
10092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10093 (exit $ac_status); } && {
10094 test -z "$ac_c_werror_flag" ||
10095 test ! -s conftest.err
10096 } && test -s conftest.$ac_objext; then
10097 ac_header_compiler=yes
10099 echo "$as_me: failed program was:" >&5
10100 sed 's/^/| /' conftest.$ac_ext >&5
10102 ac_header_compiler=no
10105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10106 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10107 echo "${ECHO_T}$ac_header_compiler" >&6; }
10109 # Is the header present?
10110 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10111 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
10112 cat >conftest.$ac_ext <<_ACEOF
10115 cat confdefs.h >>conftest.$ac_ext
10116 cat >>conftest.$ac_ext <<_ACEOF
10117 /* end confdefs.h. */
10118 #include <sane/sane.h>
10120 if { (ac_try="$ac_cpp conftest.$ac_ext"
10121 case "(($ac_try" in
10122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123 *) ac_try_echo=$ac_try;;
10125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10128 grep -v '^ *+' conftest.er1 >conftest.err
10130 cat conftest.err >&5
10131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10132 (exit $ac_status); } >/dev/null && {
10133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10134 test ! -s conftest.err
10136 ac_header_preproc=yes
10138 echo "$as_me: failed program was:" >&5
10139 sed 's/^/| /' conftest.$ac_ext >&5
10141 ac_header_preproc=no
10144 rm -f conftest.err conftest.$ac_ext
10145 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10146 echo "${ECHO_T}$ac_header_preproc" >&6; }
10148 # So? What about this header?
10149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10151 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10152 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10153 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10154 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10155 ac_header_preproc=yes
10158 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10159 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10160 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10161 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10162 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10163 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10164 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10165 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10166 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10167 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10168 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10169 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10171 ## ------------------------------------ ##
10172 ## Report this to wine-devel@winehq.org ##
10173 ## ------------------------------------ ##
10175 ) | sed "s/^/$as_me: WARNING: /" >&2
10178 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10179 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
10180 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10181 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 ac_cv_header_sane_sane_h=$ac_header_preproc
10185 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10186 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
10189 if test $ac_cv_header_sane_sane_h = yes; then
10190 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10191 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
10192 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10193 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 ac_check_lib_save_LIBS=$LIBS
10196 LIBS="-lsane $LIBS"
10197 cat >conftest.$ac_ext <<_ACEOF
10200 cat confdefs.h >>conftest.$ac_ext
10201 cat >>conftest.$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10204 /* Override any GCC internal prototype to avoid an error.
10205 Use char because int might match the return type of a GCC
10206 builtin and then its argument prototype would still apply. */
10214 return sane_open ();
10219 rm -f conftest.$ac_objext conftest$ac_exeext
10220 if { (ac_try="$ac_link"
10221 case "(($ac_try" in
10222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10223 *) ac_try_echo=$ac_try;;
10225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10226 (eval "$ac_link") 2>conftest.er1
10228 grep -v '^ *+' conftest.er1 >conftest.err
10230 cat conftest.err >&5
10231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10232 (exit $ac_status); } && {
10233 test -z "$ac_c_werror_flag" ||
10234 test ! -s conftest.err
10235 } && test -s conftest$ac_exeext &&
10236 $as_test_x conftest$ac_exeext; then
10237 ac_cv_lib_sane_sane_open=yes
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10242 ac_cv_lib_sane_sane_open=no
10245 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10246 conftest$ac_exeext conftest.$ac_ext
10247 LIBS=$ac_check_lib_save_LIBS
10249 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10250 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
10251 if test $ac_cv_lib_sane_sane_open = yes; then
10253 cat >>confdefs.h <<\_ACEOF
10254 #define HAVE_SANE 1
10268 LIBS="$ac_save_LIBS"
10269 CPPFLAGS="$ac_save_CPPFLAGS"
10272 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10273 set dummy gphoto2-config; ac_word=$2
10274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10276 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10279 if test -n "$gphoto2_devel"; then
10280 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10283 for as_dir in $PATH
10286 test -z "$as_dir" && as_dir=.
10287 for ac_exec_ext in '' $ac_executable_extensions; do
10288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10289 ac_cv_prog_gphoto2_devel="gphoto2-config"
10290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10297 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10300 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10301 if test -n "$gphoto2_devel"; then
10302 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10303 echo "${ECHO_T}$gphoto2_devel" >&6; }
10305 { echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6; }
10310 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10311 set dummy gphoto2-port-config; ac_word=$2
10312 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10314 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10315 echo $ECHO_N "(cached) $ECHO_C" >&6
10317 if test -n "$gphoto2port_devel"; then
10318 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10321 for as_dir in $PATH
10324 test -z "$as_dir" && as_dir=.
10325 for ac_exec_ext in '' $ac_executable_extensions; do
10326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10327 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10338 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10339 if test -n "$gphoto2port_devel"; then
10340 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10341 echo "${ECHO_T}$gphoto2port_devel" >&6; }
10343 { echo "$as_me:$LINENO: result: no" >&5
10344 echo "${ECHO_T}no" >&6; }
10352 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10354 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10356 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10359 -L/usr/lib|-L/usr/lib64) ;;
10360 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10363 ac_save_CPPFLAGS="$CPPFLAGS"
10364 ac_save_LIBS="$LIBS"
10365 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10366 LIBS="$LIBS $GPHOTO2LIBS"
10367 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10368 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10369 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10370 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10371 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10374 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10376 # Is the header compilable?
10377 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10378 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
10379 cat >conftest.$ac_ext <<_ACEOF
10382 cat confdefs.h >>conftest.$ac_ext
10383 cat >>conftest.$ac_ext <<_ACEOF
10384 /* end confdefs.h. */
10385 $ac_includes_default
10386 #include <gphoto2-camera.h>
10388 rm -f conftest.$ac_objext
10389 if { (ac_try="$ac_compile"
10390 case "(($ac_try" in
10391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10392 *) ac_try_echo=$ac_try;;
10394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10395 (eval "$ac_compile") 2>conftest.er1
10397 grep -v '^ *+' conftest.er1 >conftest.err
10399 cat conftest.err >&5
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); } && {
10402 test -z "$ac_c_werror_flag" ||
10403 test ! -s conftest.err
10404 } && test -s conftest.$ac_objext; then
10405 ac_header_compiler=yes
10407 echo "$as_me: failed program was:" >&5
10408 sed 's/^/| /' conftest.$ac_ext >&5
10410 ac_header_compiler=no
10413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10414 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10415 echo "${ECHO_T}$ac_header_compiler" >&6; }
10417 # Is the header present?
10418 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10419 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
10420 cat >conftest.$ac_ext <<_ACEOF
10423 cat confdefs.h >>conftest.$ac_ext
10424 cat >>conftest.$ac_ext <<_ACEOF
10425 /* end confdefs.h. */
10426 #include <gphoto2-camera.h>
10428 if { (ac_try="$ac_cpp conftest.$ac_ext"
10429 case "(($ac_try" in
10430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10431 *) ac_try_echo=$ac_try;;
10433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10436 grep -v '^ *+' conftest.er1 >conftest.err
10438 cat conftest.err >&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); } >/dev/null && {
10441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10442 test ! -s conftest.err
10444 ac_header_preproc=yes
10446 echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10449 ac_header_preproc=no
10452 rm -f conftest.err conftest.$ac_ext
10453 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10454 echo "${ECHO_T}$ac_header_preproc" >&6; }
10456 # So? What about this header?
10457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10459 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10460 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10461 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10462 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10463 ac_header_preproc=yes
10466 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10467 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10468 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10469 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10470 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10471 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10472 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10473 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10474 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10475 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10476 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10477 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10479 ## ------------------------------------ ##
10480 ## Report this to wine-devel@winehq.org ##
10481 ## ------------------------------------ ##
10483 ) | sed "s/^/$as_me: WARNING: /" >&2
10486 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10487 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
10488 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10489 echo $ECHO_N "(cached) $ECHO_C" >&6
10491 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10493 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10494 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
10497 if test $ac_cv_header_gphoto2_camera_h = yes; then
10498 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10499 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
10500 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10501 echo $ECHO_N "(cached) $ECHO_C" >&6
10503 ac_check_lib_save_LIBS=$LIBS
10504 LIBS="-lgphoto2 $LIBS"
10505 cat >conftest.$ac_ext <<_ACEOF
10508 cat confdefs.h >>conftest.$ac_ext
10509 cat >>conftest.$ac_ext <<_ACEOF
10510 /* end confdefs.h. */
10512 /* Override any GCC internal prototype to avoid an error.
10513 Use char because int might match the return type of a GCC
10514 builtin and then its argument prototype would still apply. */
10518 char gp_camera_new ();
10522 return gp_camera_new ();
10527 rm -f conftest.$ac_objext conftest$ac_exeext
10528 if { (ac_try="$ac_link"
10529 case "(($ac_try" in
10530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10531 *) ac_try_echo=$ac_try;;
10533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10534 (eval "$ac_link") 2>conftest.er1
10536 grep -v '^ *+' conftest.er1 >conftest.err
10538 cat conftest.err >&5
10539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10540 (exit $ac_status); } && {
10541 test -z "$ac_c_werror_flag" ||
10542 test ! -s conftest.err
10543 } && test -s conftest$ac_exeext &&
10544 $as_test_x conftest$ac_exeext; then
10545 ac_cv_lib_gphoto2_gp_camera_new=yes
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10550 ac_cv_lib_gphoto2_gp_camera_new=no
10553 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10554 conftest$ac_exeext conftest.$ac_ext
10555 LIBS=$ac_check_lib_save_LIBS
10557 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10558 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10559 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10561 cat >>confdefs.h <<\_ACEOF
10562 #define HAVE_GPHOTO2 1
10576 LIBS="$ac_save_LIBS"
10577 CPPFLAGS="$ac_save_CPPFLAGS"
10580 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10583 for i in ${ICU_LIB_DIR-/usr/lib}/libsicu ${ICU_LIB_DIR-/usr/lib}/libicu
10585 TEST_ICUUC_LIB="${ICUUC_LIB-${i}uc.a}"
10586 TEST_ICUDATA_LIB="${ICUDATA_LIB-${i}data.a}"
10587 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
10588 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
10589 LIBS="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10590 cat >conftest.$ac_ext <<_ACEOF
10593 cat confdefs.h >>conftest.$ac_ext
10594 cat >>conftest.$ac_ext <<_ACEOF
10595 /* end confdefs.h. */
10596 #include <unicode/ubidi.h>
10605 rm -f conftest.$ac_objext conftest$ac_exeext
10606 if { (ac_try="$ac_link"
10607 case "(($ac_try" in
10608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10609 *) ac_try_echo=$ac_try;;
10611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10612 (eval "$ac_link") 2>conftest.er1
10614 grep -v '^ *+' conftest.er1 >conftest.err
10616 cat conftest.err >&5
10617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10618 (exit $ac_status); } && {
10619 test -z "$ac_c_werror_flag" ||
10620 test ! -s conftest.err
10621 } && test -s conftest$ac_exeext &&
10622 $as_test_x conftest$ac_exeext; then
10624 cat >>confdefs.h <<\_ACEOF
10628 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
10630 { echo "$as_me:$LINENO: result: yes" >&5
10631 echo "${ECHO_T}yes" >&6; }
10633 echo "$as_me: failed program was:" >&5
10634 sed 's/^/| /' conftest.$ac_ext >&5
10636 { echo "$as_me:$LINENO: result: no" >&5
10637 echo "${ECHO_T}no" >&6; }
10640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10641 conftest$ac_exeext conftest.$ac_ext
10648 if test "$ac_cv_header_resolv_h" = "yes"
10650 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10651 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
10652 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10653 echo $ECHO_N "(cached) $ECHO_C" >&6
10655 ac_check_lib_save_LIBS=$LIBS
10656 LIBS="-lresolv $LIBS"
10657 cat >conftest.$ac_ext <<_ACEOF
10660 cat confdefs.h >>conftest.$ac_ext
10661 cat >>conftest.$ac_ext <<_ACEOF
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10674 return res_query ();
10679 rm -f conftest.$ac_objext conftest$ac_exeext
10680 if { (ac_try="$ac_link"
10681 case "(($ac_try" in
10682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10683 *) ac_try_echo=$ac_try;;
10685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10686 (eval "$ac_link") 2>conftest.er1
10688 grep -v '^ *+' conftest.er1 >conftest.err
10690 cat conftest.err >&5
10691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10692 (exit $ac_status); } && {
10693 test -z "$ac_c_werror_flag" ||
10694 test ! -s conftest.err
10695 } && test -s conftest$ac_exeext &&
10696 $as_test_x conftest$ac_exeext; then
10697 ac_cv_lib_resolv_res_query=yes
10699 echo "$as_me: failed program was:" >&5
10700 sed 's/^/| /' conftest.$ac_ext >&5
10702 ac_cv_lib_resolv_res_query=no
10705 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10706 conftest$ac_exeext conftest.$ac_ext
10707 LIBS=$ac_check_lib_save_LIBS
10709 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10710 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
10711 if test $ac_cv_lib_resolv_res_query = yes; then
10713 cat >>confdefs.h <<\_ACEOF
10714 #define HAVE_RESOLV 1
10717 RESOLVLIBS="-lresolv"
10724 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10726 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10727 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
10728 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10729 echo $ECHO_N "(cached) $ECHO_C" >&6
10731 ac_check_lib_save_LIBS=$LIBS
10732 LIBS="-llcms $LIBS"
10733 cat >conftest.$ac_ext <<_ACEOF
10736 cat confdefs.h >>conftest.$ac_ext
10737 cat >>conftest.$ac_ext <<_ACEOF
10738 /* end confdefs.h. */
10740 /* Override any GCC internal prototype to avoid an error.
10741 Use char because int might match the return type of a GCC
10742 builtin and then its argument prototype would still apply. */
10746 char cmsOpenProfileFromFile ();
10750 return cmsOpenProfileFromFile ();
10755 rm -f conftest.$ac_objext conftest$ac_exeext
10756 if { (ac_try="$ac_link"
10757 case "(($ac_try" in
10758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10759 *) ac_try_echo=$ac_try;;
10761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10762 (eval "$ac_link") 2>conftest.er1
10764 grep -v '^ *+' conftest.er1 >conftest.err
10766 cat conftest.err >&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); } && {
10769 test -z "$ac_c_werror_flag" ||
10770 test ! -s conftest.err
10771 } && test -s conftest$ac_exeext &&
10772 $as_test_x conftest$ac_exeext; then
10773 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10775 echo "$as_me: failed program was:" >&5
10776 sed 's/^/| /' conftest.$ac_ext >&5
10778 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10782 conftest$ac_exeext conftest.$ac_ext
10783 LIBS=$ac_check_lib_save_LIBS
10785 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10786 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10787 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10789 cat >>confdefs.h <<\_ACEOF
10790 #define HAVE_LCMS 1
10800 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10802 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10803 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
10804 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10805 echo $ECHO_N "(cached) $ECHO_C" >&6
10807 ac_check_lib_save_LIBS=$LIBS
10808 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10809 cat >conftest.$ac_ext <<_ACEOF
10812 cat confdefs.h >>conftest.$ac_ext
10813 cat >>conftest.$ac_ext <<_ACEOF
10814 /* end confdefs.h. */
10816 /* Override any GCC internal prototype to avoid an error.
10817 Use char because int might match the return type of a GCC
10818 builtin and then its argument prototype would still apply. */
10822 char ldap_initialize ();
10826 return ldap_initialize ();
10831 rm -f conftest.$ac_objext conftest$ac_exeext
10832 if { (ac_try="$ac_link"
10833 case "(($ac_try" in
10834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10835 *) ac_try_echo=$ac_try;;
10837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10838 (eval "$ac_link") 2>conftest.er1
10840 grep -v '^ *+' conftest.er1 >conftest.err
10842 cat conftest.err >&5
10843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10844 (exit $ac_status); } && {
10845 test -z "$ac_c_werror_flag" ||
10846 test ! -s conftest.err
10847 } && test -s conftest$ac_exeext &&
10848 $as_test_x conftest$ac_exeext; then
10849 ac_cv_lib_ldap_r_ldap_initialize=yes
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.$ac_ext >&5
10854 ac_cv_lib_ldap_r_ldap_initialize=no
10857 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10858 conftest$ac_exeext conftest.$ac_ext
10859 LIBS=$ac_check_lib_save_LIBS
10861 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10862 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
10863 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10864 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10865 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
10866 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10867 echo $ECHO_N "(cached) $ECHO_C" >&6
10869 ac_check_lib_save_LIBS=$LIBS
10870 LIBS="-llber $LIBPTHREAD $LIBS"
10871 cat >conftest.$ac_ext <<_ACEOF
10874 cat confdefs.h >>conftest.$ac_ext
10875 cat >>conftest.$ac_ext <<_ACEOF
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10888 return ber_init ();
10893 rm -f conftest.$ac_objext conftest$ac_exeext
10894 if { (ac_try="$ac_link"
10895 case "(($ac_try" in
10896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10897 *) ac_try_echo=$ac_try;;
10899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10900 (eval "$ac_link") 2>conftest.er1
10902 grep -v '^ *+' conftest.er1 >conftest.err
10904 cat conftest.err >&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } && {
10907 test -z "$ac_c_werror_flag" ||
10908 test ! -s conftest.err
10909 } && test -s conftest$ac_exeext &&
10910 $as_test_x conftest$ac_exeext; then
10911 ac_cv_lib_lber_ber_init=yes
10913 echo "$as_me: failed program was:" >&5
10914 sed 's/^/| /' conftest.$ac_ext >&5
10916 ac_cv_lib_lber_ber_init=no
10919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LIBS=$ac_check_lib_save_LIBS
10923 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10924 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
10925 if test $ac_cv_lib_lber_ber_init = yes; then
10927 cat >>confdefs.h <<\_ACEOF
10928 #define HAVE_LDAP 1
10931 LDAPLIBS="-lldap_r -llber"
10936 ac_wine_check_funcs_save_LIBS="$LIBS"
10937 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10943 ldap_count_references \
10944 ldap_first_reference \
10945 ldap_next_reference \
10946 ldap_parse_reference
10948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10949 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10951 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10952 echo $ECHO_N "(cached) $ECHO_C" >&6
10954 cat >conftest.$ac_ext <<_ACEOF
10957 cat confdefs.h >>conftest.$ac_ext
10958 cat >>conftest.$ac_ext <<_ACEOF
10959 /* end confdefs.h. */
10960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10962 #define $ac_func innocuous_$ac_func
10964 /* System header to define __stub macros and hopefully few prototypes,
10965 which can conflict with char $ac_func (); below.
10966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10967 <limits.h> exists even on freestanding compilers. */
10970 # include <limits.h>
10972 # include <assert.h>
10977 /* Override any GCC internal prototype to avoid an error.
10978 Use char because int might match the return type of a GCC
10979 builtin and then its argument prototype would still apply. */
10984 /* The GNU C library defines this for functions which it implements
10985 to always fail with ENOSYS. Some functions are actually named
10986 something starting with __ and the normal name is an alias. */
10987 #if defined __stub_$ac_func || defined __stub___$ac_func
10994 return $ac_func ();
10999 rm -f conftest.$ac_objext conftest$ac_exeext
11000 if { (ac_try="$ac_link"
11001 case "(($ac_try" in
11002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11003 *) ac_try_echo=$ac_try;;
11005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11006 (eval "$ac_link") 2>conftest.er1
11008 grep -v '^ *+' conftest.er1 >conftest.err
11010 cat conftest.err >&5
11011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11012 (exit $ac_status); } && {
11013 test -z "$ac_c_werror_flag" ||
11014 test ! -s conftest.err
11015 } && test -s conftest$ac_exeext &&
11016 $as_test_x conftest$ac_exeext; then
11017 eval "$as_ac_var=yes"
11019 echo "$as_me: failed program was:" >&5
11020 sed 's/^/| /' conftest.$ac_ext >&5
11022 eval "$as_ac_var=no"
11025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11026 conftest$ac_exeext conftest.$ac_ext
11028 ac_res=`eval echo '${'$as_ac_var'}'`
11029 { echo "$as_me:$LINENO: result: $ac_res" >&5
11030 echo "${ECHO_T}$ac_res" >&6; }
11031 if test `eval echo '${'$as_ac_var'}'` = yes; then
11032 cat >>confdefs.h <<_ACEOF
11033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11039 LIBS="$ac_wine_check_funcs_save_LIBS"
11046 # Extract the first word of "freetype-config", so it can be a program name with args.
11047 set dummy freetype-config; ac_word=$2
11048 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11050 if test "${ac_cv_prog_ft_devel+set}" = set; then
11051 echo $ECHO_N "(cached) $ECHO_C" >&6
11053 if test -n "$ft_devel"; then
11054 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
11056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11057 for as_dir in $PATH
11060 test -z "$as_dir" && as_dir=.
11061 for ac_exec_ext in '' $ac_executable_extensions; do
11062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11063 ac_cv_prog_ft_devel="freetype-config"
11064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11071 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
11074 ft_devel=$ac_cv_prog_ft_devel
11075 if test -n "$ft_devel"; then
11076 { echo "$as_me:$LINENO: result: $ft_devel" >&5
11077 echo "${ECHO_T}$ft_devel" >&6; }
11079 { echo "$as_me:$LINENO: result: no" >&5
11080 echo "${ECHO_T}no" >&6; }
11084 if test "$ft_devel" = "no"
11086 # Extract the first word of "freetype2-config", so it can be a program name with args.
11087 set dummy freetype2-config; ac_word=$2
11088 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11090 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11091 echo $ECHO_N "(cached) $ECHO_C" >&6
11093 if test -n "$ft_devel2"; then
11094 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
11096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11097 for as_dir in $PATH
11100 test -z "$as_dir" && as_dir=.
11101 for ac_exec_ext in '' $ac_executable_extensions; do
11102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11103 ac_cv_prog_ft_devel2="freetype2-config"
11104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11111 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
11114 ft_devel2=$ac_cv_prog_ft_devel2
11115 if test -n "$ft_devel2"; then
11116 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
11117 echo "${ECHO_T}$ft_devel2" >&6; }
11119 { echo "$as_me:$LINENO: result: no" >&5
11120 echo "${ECHO_T}no" >&6; }
11124 if test "$ft_devel2" = "freetype2-config"
11126 ft_devel=$ft_devel2
11130 if test "$ft_devel" = "no"
11132 wine_cv_msg_freetype=yes
11134 FREETYPELIBS=`$ft_devel --libs`
11135 FREETYPEINCL=`$ft_devel --cflags`
11136 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
11137 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
11138 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
11139 echo $ECHO_N "(cached) $ECHO_C" >&6
11141 ac_check_lib_save_LIBS=$LIBS
11142 LIBS="-lfreetype $FREETYPELIBS $LIBS"
11143 cat >conftest.$ac_ext <<_ACEOF
11146 cat confdefs.h >>conftest.$ac_ext
11147 cat >>conftest.$ac_ext <<_ACEOF
11148 /* end confdefs.h. */
11150 /* Override any GCC internal prototype to avoid an error.
11151 Use char because int might match the return type of a GCC
11152 builtin and then its argument prototype would still apply. */
11156 char FT_Init_FreeType ();
11160 return FT_Init_FreeType ();
11165 rm -f conftest.$ac_objext conftest$ac_exeext
11166 if { (ac_try="$ac_link"
11167 case "(($ac_try" in
11168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11169 *) ac_try_echo=$ac_try;;
11171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11172 (eval "$ac_link") 2>conftest.er1
11174 grep -v '^ *+' conftest.er1 >conftest.err
11176 cat conftest.err >&5
11177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11178 (exit $ac_status); } && {
11179 test -z "$ac_c_werror_flag" ||
11180 test ! -s conftest.err
11181 } && test -s conftest$ac_exeext &&
11182 $as_test_x conftest$ac_exeext; then
11183 ac_cv_lib_freetype_FT_Init_FreeType=yes
11185 echo "$as_me: failed program was:" >&5
11186 sed 's/^/| /' conftest.$ac_ext >&5
11188 ac_cv_lib_freetype_FT_Init_FreeType=no
11191 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11192 conftest$ac_exeext conftest.$ac_ext
11193 LIBS=$ac_check_lib_save_LIBS
11195 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11196 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
11197 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11203 if test "$ft_lib" = "no"
11205 wine_cv_msg_freetype=yes
11209 ac_save_CPPFLAGS="$CPPFLAGS"
11210 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11222 for ac_header in ft2build.h \
11223 freetype/freetype.h \
11224 freetype/ftglyph.h \
11225 freetype/tttables.h \
11226 freetype/ftnames.h \
11227 freetype/ftsnames.h \
11228 freetype/ttnameid.h \
11229 freetype/ftoutln.h \
11230 freetype/ftwinfnt.h \
11231 freetype/ftmodapi.h \
11232 freetype/internal/sfnt.h
11234 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11235 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 cat >conftest.$ac_ext <<_ACEOF
11243 cat confdefs.h >>conftest.$ac_ext
11244 cat >>conftest.$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11246 #if HAVE_FT2BUILD_H
11247 #include <ft2build.h>
11250 #include <$ac_header>
11252 rm -f conftest.$ac_objext
11253 if { (ac_try="$ac_compile"
11254 case "(($ac_try" in
11255 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11256 *) ac_try_echo=$ac_try;;
11258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11259 (eval "$ac_compile") 2>conftest.er1
11261 grep -v '^ *+' conftest.er1 >conftest.err
11263 cat conftest.err >&5
11264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11265 (exit $ac_status); } && {
11266 test -z "$ac_c_werror_flag" ||
11267 test ! -s conftest.err
11268 } && test -s conftest.$ac_objext; then
11269 eval "$as_ac_Header=yes"
11271 echo "$as_me: failed program was:" >&5
11272 sed 's/^/| /' conftest.$ac_ext >&5
11274 eval "$as_ac_Header=no"
11277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11279 ac_res=`eval echo '${'$as_ac_Header'}'`
11280 { echo "$as_me:$LINENO: result: $ac_res" >&5
11281 echo "${ECHO_T}$ac_res" >&6; }
11282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11283 cat >>confdefs.h <<_ACEOF
11284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11291 cat >conftest.$ac_ext <<_ACEOF
11294 cat confdefs.h >>conftest.$ac_ext
11295 cat >>conftest.$ac_ext <<_ACEOF
11296 /* end confdefs.h. */
11297 #include <ft2build.h>
11298 #include <freetype/fttrigon.h>
11300 if { (ac_try="$ac_cpp conftest.$ac_ext"
11301 case "(($ac_try" in
11302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11303 *) ac_try_echo=$ac_try;;
11305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11306 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11308 grep -v '^ *+' conftest.er1 >conftest.err
11310 cat conftest.err >&5
11311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11312 (exit $ac_status); } >/dev/null && {
11313 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11314 test ! -s conftest.err
11317 cat >>confdefs.h <<\_ACEOF
11318 #define HAVE_FREETYPE_FTTRIGON_H 1
11321 wine_cv_fttrigon=yes
11323 echo "$as_me: failed program was:" >&5
11324 sed 's/^/| /' conftest.$ac_ext >&5
11326 wine_cv_fttrigon=no
11329 rm -f conftest.err conftest.$ac_ext
11330 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11331 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
11332 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11335 cat >conftest.$ac_ext <<_ACEOF
11338 cat confdefs.h >>conftest.$ac_ext
11339 cat >>conftest.$ac_ext <<_ACEOF
11340 /* end confdefs.h. */
11341 #include <freetype/ftmodapi.h>
11343 typedef FT_TrueTypeEngineType ac__type_new_;
11347 if ((ac__type_new_ *) 0)
11349 if (sizeof (ac__type_new_))
11355 rm -f conftest.$ac_objext
11356 if { (ac_try="$ac_compile"
11357 case "(($ac_try" in
11358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11359 *) ac_try_echo=$ac_try;;
11361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11362 (eval "$ac_compile") 2>conftest.er1
11364 grep -v '^ *+' conftest.er1 >conftest.err
11366 cat conftest.err >&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } && {
11369 test -z "$ac_c_werror_flag" ||
11370 test ! -s conftest.err
11371 } && test -s conftest.$ac_objext; then
11372 ac_cv_type_FT_TrueTypeEngineType=yes
11374 echo "$as_me: failed program was:" >&5
11375 sed 's/^/| /' conftest.$ac_ext >&5
11377 ac_cv_type_FT_TrueTypeEngineType=no
11380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11382 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11383 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
11384 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11386 cat >>confdefs.h <<_ACEOF
11387 #define HAVE_FT_TRUETYPEENGINETYPE 1
11393 ac_save_CFLAGS="$CFLAGS"
11394 CFLAGS="$CFLAGS $FREETYPELIBS"
11396 for ac_func in FT_Load_Sfnt_Table
11398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11399 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11401 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11402 echo $ECHO_N "(cached) $ECHO_C" >&6
11404 cat >conftest.$ac_ext <<_ACEOF
11407 cat confdefs.h >>conftest.$ac_ext
11408 cat >>conftest.$ac_ext <<_ACEOF
11409 /* end confdefs.h. */
11410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11412 #define $ac_func innocuous_$ac_func
11414 /* System header to define __stub macros and hopefully few prototypes,
11415 which can conflict with char $ac_func (); below.
11416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11417 <limits.h> exists even on freestanding compilers. */
11420 # include <limits.h>
11422 # include <assert.h>
11427 /* Override any GCC internal prototype to avoid an error.
11428 Use char because int might match the return type of a GCC
11429 builtin and then its argument prototype would still apply. */
11434 /* The GNU C library defines this for functions which it implements
11435 to always fail with ENOSYS. Some functions are actually named
11436 something starting with __ and the normal name is an alias. */
11437 #if defined __stub_$ac_func || defined __stub___$ac_func
11444 return $ac_func ();
11449 rm -f conftest.$ac_objext conftest$ac_exeext
11450 if { (ac_try="$ac_link"
11451 case "(($ac_try" in
11452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11453 *) ac_try_echo=$ac_try;;
11455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11456 (eval "$ac_link") 2>conftest.er1
11458 grep -v '^ *+' conftest.er1 >conftest.err
11460 cat conftest.err >&5
11461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11462 (exit $ac_status); } && {
11463 test -z "$ac_c_werror_flag" ||
11464 test ! -s conftest.err
11465 } && test -s conftest$ac_exeext &&
11466 $as_test_x conftest$ac_exeext; then
11467 eval "$as_ac_var=yes"
11469 echo "$as_me: failed program was:" >&5
11470 sed 's/^/| /' conftest.$ac_ext >&5
11472 eval "$as_ac_var=no"
11475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11476 conftest$ac_exeext conftest.$ac_ext
11478 ac_res=`eval echo '${'$as_ac_var'}'`
11479 { echo "$as_me:$LINENO: result: $ac_res" >&5
11480 echo "${ECHO_T}$ac_res" >&6; }
11481 if test `eval echo '${'$as_ac_var'}'` = yes; then
11482 cat >>confdefs.h <<_ACEOF
11483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11489 CFLAGS="$ac_save_CFLAGS"
11490 CPPFLAGS="$ac_save_CPPFLAGS"
11491 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11494 cat >>confdefs.h <<\_ACEOF
11495 #define HAVE_FREETYPE 1
11498 wine_cv_msg_freetype=no
11502 wine_cv_msg_freetype=yes
11507 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11509 FONTSSUBDIRS="fonts"
11513 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11514 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
11515 if test "${ac_cv_c_ppdev+set}" = set; then
11516 echo $ECHO_N "(cached) $ECHO_C" >&6
11518 cat >conftest.$ac_ext <<_ACEOF
11521 cat confdefs.h >>conftest.$ac_ext
11522 cat >>conftest.$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11524 #include <linux/ppdev.h>
11528 ioctl (1,PPCLAIM,0)
11533 rm -f conftest.$ac_objext
11534 if { (ac_try="$ac_compile"
11535 case "(($ac_try" in
11536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11537 *) ac_try_echo=$ac_try;;
11539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11540 (eval "$ac_compile") 2>conftest.er1
11542 grep -v '^ *+' conftest.er1 >conftest.err
11544 cat conftest.err >&5
11545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11546 (exit $ac_status); } && {
11547 test -z "$ac_c_werror_flag" ||
11548 test ! -s conftest.err
11549 } && test -s conftest.$ac_objext; then
11550 ac_cv_c_ppdev="yes"
11552 echo "$as_me: failed program was:" >&5
11553 sed 's/^/| /' conftest.$ac_ext >&5
11558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11561 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11562 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
11563 if test "$ac_cv_c_ppdev" = "yes"
11566 cat >>confdefs.h <<\_ACEOF
11567 #define HAVE_PPDEV 1
11572 { echo "$as_me:$LINENO: checking for va_copy" >&5
11573 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
11574 if test "${ac_cv_c_va_copy+set}" = set; then
11575 echo $ECHO_N "(cached) $ECHO_C" >&6
11577 cat >conftest.$ac_ext <<_ACEOF
11580 cat confdefs.h >>conftest.$ac_ext
11581 cat >>conftest.$ac_ext <<_ACEOF
11582 /* end confdefs.h. */
11583 #include <stdarg.h>
11594 rm -f conftest.$ac_objext conftest$ac_exeext
11595 if { (ac_try="$ac_link"
11596 case "(($ac_try" in
11597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11598 *) ac_try_echo=$ac_try;;
11600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11601 (eval "$ac_link") 2>conftest.er1
11603 grep -v '^ *+' conftest.er1 >conftest.err
11605 cat conftest.err >&5
11606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11607 (exit $ac_status); } && {
11608 test -z "$ac_c_werror_flag" ||
11609 test ! -s conftest.err
11610 } && test -s conftest$ac_exeext &&
11611 $as_test_x conftest$ac_exeext; then
11612 ac_cv_c_va_copy="yes"
11614 echo "$as_me: failed program was:" >&5
11615 sed 's/^/| /' conftest.$ac_ext >&5
11617 ac_cv_c_va_copy="no"
11620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11621 conftest$ac_exeext conftest.$ac_ext
11624 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11625 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
11626 if test "$ac_cv_c_va_copy" = "yes"
11629 cat >>confdefs.h <<\_ACEOF
11630 #define HAVE_VA_COPY 1
11634 { echo "$as_me:$LINENO: checking for __va_copy" >&5
11635 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
11636 if test "${ac_cv_c___va_copy+set}" = set; then
11637 echo $ECHO_N "(cached) $ECHO_C" >&6
11639 cat >conftest.$ac_ext <<_ACEOF
11642 cat confdefs.h >>conftest.$ac_ext
11643 cat >>conftest.$ac_ext <<_ACEOF
11644 /* end confdefs.h. */
11645 #include <stdarg.h>
11650 __va_copy(ap1,ap2);
11656 rm -f conftest.$ac_objext conftest$ac_exeext
11657 if { (ac_try="$ac_link"
11658 case "(($ac_try" in
11659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11660 *) ac_try_echo=$ac_try;;
11662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11663 (eval "$ac_link") 2>conftest.er1
11665 grep -v '^ *+' conftest.er1 >conftest.err
11667 cat conftest.err >&5
11668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11669 (exit $ac_status); } && {
11670 test -z "$ac_c_werror_flag" ||
11671 test ! -s conftest.err
11672 } && test -s conftest$ac_exeext &&
11673 $as_test_x conftest$ac_exeext; then
11674 ac_cv_c___va_copy="yes"
11676 echo "$as_me: failed program was:" >&5
11677 sed 's/^/| /' conftest.$ac_ext >&5
11679 ac_cv_c___va_copy="no"
11682 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11683 conftest$ac_exeext conftest.$ac_ext
11686 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11687 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
11688 if test "$ac_cv_c___va_copy" = "yes"
11691 cat >>confdefs.h <<\_ACEOF
11692 #define HAVE___VA_COPY 1
11697 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11698 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
11699 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11700 echo $ECHO_N "(cached) $ECHO_C" >&6
11702 cat >conftest.$ac_ext <<_ACEOF
11705 cat confdefs.h >>conftest.$ac_ext
11706 cat >>conftest.$ac_ext <<_ACEOF
11707 /* end confdefs.h. */
11708 #include <setjmp.h>
11713 sigsetjmp( buf, 1 );
11714 siglongjmp( buf, 1 );
11719 rm -f conftest.$ac_objext conftest$ac_exeext
11720 if { (ac_try="$ac_link"
11721 case "(($ac_try" in
11722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11723 *) ac_try_echo=$ac_try;;
11725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11726 (eval "$ac_link") 2>conftest.er1
11728 grep -v '^ *+' conftest.er1 >conftest.err
11730 cat conftest.err >&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } && {
11733 test -z "$ac_c_werror_flag" ||
11734 test ! -s conftest.err
11735 } && test -s conftest$ac_exeext &&
11736 $as_test_x conftest$ac_exeext; then
11737 ac_cv_c_sigsetjmp="yes"
11739 echo "$as_me: failed program was:" >&5
11740 sed 's/^/| /' conftest.$ac_ext >&5
11742 ac_cv_c_sigsetjmp="no"
11745 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11746 conftest$ac_exeext conftest.$ac_ext
11749 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11750 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
11751 if test "$ac_cv_c_sigsetjmp" = "yes"
11754 cat >>confdefs.h <<\_ACEOF
11755 #define HAVE_SIGSETJMP 1
11760 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11761 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
11762 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11763 echo $ECHO_N "(cached) $ECHO_C" >&6
11765 cat >conftest.$ac_ext <<_ACEOF
11768 cat confdefs.h >>conftest.$ac_ext
11769 cat >>conftest.$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11771 #define _GNU_SOURCE
11772 #include <pthread.h>
11774 typedef pthread_rwlock_t ac__type_new_;
11778 if ((ac__type_new_ *) 0)
11780 if (sizeof (ac__type_new_))
11786 rm -f conftest.$ac_objext
11787 if { (ac_try="$ac_compile"
11788 case "(($ac_try" in
11789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11790 *) ac_try_echo=$ac_try;;
11792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11793 (eval "$ac_compile") 2>conftest.er1
11795 grep -v '^ *+' conftest.er1 >conftest.err
11797 cat conftest.err >&5
11798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11799 (exit $ac_status); } && {
11800 test -z "$ac_c_werror_flag" ||
11801 test ! -s conftest.err
11802 } && test -s conftest.$ac_objext; then
11803 ac_cv_type_pthread_rwlock_t=yes
11805 echo "$as_me: failed program was:" >&5
11806 sed 's/^/| /' conftest.$ac_ext >&5
11808 ac_cv_type_pthread_rwlock_t=no
11811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11813 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11814 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
11815 if test $ac_cv_type_pthread_rwlock_t = yes; then
11817 cat >>confdefs.h <<_ACEOF
11818 #define HAVE_PTHREAD_RWLOCK_T 1
11823 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11824 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
11825 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11826 echo $ECHO_N "(cached) $ECHO_C" >&6
11828 cat >conftest.$ac_ext <<_ACEOF
11831 cat confdefs.h >>conftest.$ac_ext
11832 cat >>conftest.$ac_ext <<_ACEOF
11833 /* end confdefs.h. */
11834 #define _GNU_SOURCE
11835 #include <pthread.h>
11837 typedef pthread_rwlockattr_t ac__type_new_;
11841 if ((ac__type_new_ *) 0)
11843 if (sizeof (ac__type_new_))
11849 rm -f conftest.$ac_objext
11850 if { (ac_try="$ac_compile"
11851 case "(($ac_try" in
11852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11853 *) ac_try_echo=$ac_try;;
11855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11856 (eval "$ac_compile") 2>conftest.er1
11858 grep -v '^ *+' conftest.er1 >conftest.err
11860 cat conftest.err >&5
11861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11862 (exit $ac_status); } && {
11863 test -z "$ac_c_werror_flag" ||
11864 test ! -s conftest.err
11865 } && test -s conftest.$ac_objext; then
11866 ac_cv_type_pthread_rwlockattr_t=yes
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11871 ac_cv_type_pthread_rwlockattr_t=no
11874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11876 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11877 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
11878 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11880 cat >>confdefs.h <<_ACEOF
11881 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11888 ac_wine_check_funcs_save_LIBS="$LIBS"
11889 LIBS="$LIBS $LIBPTHREAD"
11895 pthread_attr_get_np \
11896 pthread_getattr_np \
11897 pthread_get_stackaddr_np \
11898 pthread_get_stacksize_np
11900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11901 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11906 cat >conftest.$ac_ext <<_ACEOF
11909 cat confdefs.h >>conftest.$ac_ext
11910 cat >>conftest.$ac_ext <<_ACEOF
11911 /* end confdefs.h. */
11912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11914 #define $ac_func innocuous_$ac_func
11916 /* System header to define __stub macros and hopefully few prototypes,
11917 which can conflict with char $ac_func (); below.
11918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11919 <limits.h> exists even on freestanding compilers. */
11922 # include <limits.h>
11924 # include <assert.h>
11929 /* Override any GCC internal prototype to avoid an error.
11930 Use char because int might match the return type of a GCC
11931 builtin and then its argument prototype would still apply. */
11936 /* The GNU C library defines this for functions which it implements
11937 to always fail with ENOSYS. Some functions are actually named
11938 something starting with __ and the normal name is an alias. */
11939 #if defined __stub_$ac_func || defined __stub___$ac_func
11946 return $ac_func ();
11951 rm -f conftest.$ac_objext conftest$ac_exeext
11952 if { (ac_try="$ac_link"
11953 case "(($ac_try" in
11954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11955 *) ac_try_echo=$ac_try;;
11957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11958 (eval "$ac_link") 2>conftest.er1
11960 grep -v '^ *+' conftest.er1 >conftest.err
11962 cat conftest.err >&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); } && {
11965 test -z "$ac_c_werror_flag" ||
11966 test ! -s conftest.err
11967 } && test -s conftest$ac_exeext &&
11968 $as_test_x conftest$ac_exeext; then
11969 eval "$as_ac_var=yes"
11971 echo "$as_me: failed program was:" >&5
11972 sed 's/^/| /' conftest.$ac_ext >&5
11974 eval "$as_ac_var=no"
11977 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11978 conftest$ac_exeext conftest.$ac_ext
11980 ac_res=`eval echo '${'$as_ac_var'}'`
11981 { echo "$as_me:$LINENO: result: $ac_res" >&5
11982 echo "${ECHO_T}$ac_res" >&6; }
11983 if test `eval echo '${'$as_ac_var'}'` = yes; then
11984 cat >>confdefs.h <<_ACEOF
11985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11991 LIBS="$ac_wine_check_funcs_save_LIBS"
11993 # Extract the first word of "artsc-config", so it can be a program name with args.
11994 set dummy artsc-config; ac_word=$2
11995 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11996 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11997 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 case $ARTSCCONFIG in
12002 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
12005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12006 for as_dir in $PATH
12009 test -z "$as_dir" && as_dir=.
12010 for ac_exec_ext in '' $ac_executable_extensions; do
12011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12012 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
12013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12023 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
12024 if test -n "$ARTSCCONFIG"; then
12025 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
12026 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
12028 { echo "$as_me:$LINENO: result: no" >&5
12029 echo "${ECHO_T}no" >&6; }
12033 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
12036 for i in `$ARTSCCONFIG --cflags`
12039 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
12043 for i in `$ARTSCCONFIG --libs`
12046 -L/usr/lib|-L/usr/lib64) ;;
12047 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
12050 save_CFLAGS="$CFLAGS"
12051 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
12052 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
12053 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
12054 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
12055 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 ac_check_lib_save_LIBS=$LIBS
12058 LIBS="-lartsc $ARTSC_LIBS $LIBS"
12059 cat >conftest.$ac_ext <<_ACEOF
12062 cat confdefs.h >>conftest.$ac_ext
12063 cat >>conftest.$ac_ext <<_ACEOF
12064 /* end confdefs.h. */
12066 /* Override any GCC internal prototype to avoid an error.
12067 Use char because int might match the return type of a GCC
12068 builtin and then its argument prototype would still apply. */
12076 return arts_init ();
12081 rm -f conftest.$ac_objext conftest$ac_exeext
12082 if { (ac_try="$ac_link"
12083 case "(($ac_try" in
12084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12085 *) ac_try_echo=$ac_try;;
12087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12088 (eval "$ac_link") 2>conftest.er1
12090 grep -v '^ *+' conftest.er1 >conftest.err
12092 cat conftest.err >&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); } && {
12095 test -z "$ac_c_werror_flag" ||
12096 test ! -s conftest.err
12097 } && test -s conftest$ac_exeext &&
12098 $as_test_x conftest$ac_exeext; then
12099 ac_cv_lib_artsc_arts_init=yes
12101 echo "$as_me: failed program was:" >&5
12102 sed 's/^/| /' conftest.$ac_ext >&5
12104 ac_cv_lib_artsc_arts_init=no
12107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12108 conftest$ac_exeext conftest.$ac_ext
12109 LIBS=$ac_check_lib_save_LIBS
12111 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12112 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
12113 if test $ac_cv_lib_artsc_arts_init = yes; then
12114 cat >conftest.$ac_ext <<_ACEOF
12117 cat confdefs.h >>conftest.$ac_ext
12118 cat >>conftest.$ac_ext <<_ACEOF
12119 /* end confdefs.h. */
12124 arts_stream_t stream;
12129 rm -f conftest.$ac_objext
12130 if { (ac_try="$ac_compile"
12131 case "(($ac_try" in
12132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12133 *) ac_try_echo=$ac_try;;
12135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12136 (eval "$ac_compile") 2>conftest.er1
12138 grep -v '^ *+' conftest.er1 >conftest.err
12140 cat conftest.err >&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } && {
12143 test -z "$ac_c_werror_flag" ||
12144 test ! -s conftest.err
12145 } && test -s conftest.$ac_objext; then
12146 ARTSLIBS=$ARTSC_LIBS
12148 ARTSINCL=$ARTSC_CFLAGS
12151 cat >>confdefs.h <<\_ACEOF
12152 #define HAVE_ARTS 1
12156 echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.$ac_ext >&5
12162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12165 CFLAGS="$save_CFLAGS"
12168 # Extract the first word of "esd-config", so it can be a program name with args.
12169 set dummy esd-config; ac_word=$2
12170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12172 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12173 echo $ECHO_N "(cached) $ECHO_C" >&6
12177 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
12180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12181 for as_dir in $PATH
12184 test -z "$as_dir" && as_dir=.
12185 for ac_exec_ext in '' $ac_executable_extensions; do
12186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12187 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
12188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12198 ESDCONFIG=$ac_cv_path_ESDCONFIG
12199 if test -n "$ESDCONFIG"; then
12200 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12201 echo "${ECHO_T}$ESDCONFIG" >&6; }
12203 { echo "$as_me:$LINENO: result: no" >&5
12204 echo "${ECHO_T}no" >&6; }
12208 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12211 for i in `$ESDCONFIG --cflags`
12214 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12217 ESD_LIBS=`$ESDCONFIG --libs`
12218 save_CFLAGS="$CFLAGS"
12219 CFLAGS="$CFLAGS $ESD_CFLAGS"
12220 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12221 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
12222 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12223 echo $ECHO_N "(cached) $ECHO_C" >&6
12225 ac_check_lib_save_LIBS=$LIBS
12227 cat >conftest.$ac_ext <<_ACEOF
12230 cat confdefs.h >>conftest.$ac_ext
12231 cat >>conftest.$ac_ext <<_ACEOF
12232 /* end confdefs.h. */
12234 /* Override any GCC internal prototype to avoid an error.
12235 Use char because int might match the return type of a GCC
12236 builtin and then its argument prototype would still apply. */
12240 char esd_open_sound ();
12244 return esd_open_sound ();
12249 rm -f conftest.$ac_objext conftest$ac_exeext
12250 if { (ac_try="$ac_link"
12251 case "(($ac_try" in
12252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12253 *) ac_try_echo=$ac_try;;
12255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12256 (eval "$ac_link") 2>conftest.er1
12258 grep -v '^ *+' conftest.er1 >conftest.err
12260 cat conftest.err >&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } && {
12263 test -z "$ac_c_werror_flag" ||
12264 test ! -s conftest.err
12265 } && test -s conftest$ac_exeext &&
12266 $as_test_x conftest$ac_exeext; then
12267 ac_cv_lib_esd_esd_open_sound=yes
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.$ac_ext >&5
12272 ac_cv_lib_esd_esd_open_sound=no
12275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12276 conftest$ac_exeext conftest.$ac_ext
12277 LIBS=$ac_check_lib_save_LIBS
12279 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12280 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
12281 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12284 ESDINCL=$ESD_CFLAGS
12287 cat >>confdefs.h <<\_ACEOF
12293 CFLAGS="$save_CFLAGS"
12298 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12300 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12301 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
12302 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12303 echo $ECHO_N "(cached) $ECHO_C" >&6
12305 ac_check_lib_save_LIBS=$LIBS
12306 LIBS="-lasound $LIBS"
12307 cat >conftest.$ac_ext <<_ACEOF
12310 cat confdefs.h >>conftest.$ac_ext
12311 cat >>conftest.$ac_ext <<_ACEOF
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12320 char snd_pcm_hw_params_get_access ();
12324 return snd_pcm_hw_params_get_access ();
12329 rm -f conftest.$ac_objext conftest$ac_exeext
12330 if { (ac_try="$ac_link"
12331 case "(($ac_try" in
12332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12333 *) ac_try_echo=$ac_try;;
12335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12336 (eval "$ac_link") 2>conftest.er1
12338 grep -v '^ *+' conftest.er1 >conftest.err
12340 cat conftest.err >&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } && {
12343 test -z "$ac_c_werror_flag" ||
12344 test ! -s conftest.err
12345 } && test -s conftest$ac_exeext &&
12346 $as_test_x conftest$ac_exeext; then
12347 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12349 echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.$ac_ext >&5
12352 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12356 conftest$ac_exeext conftest.$ac_ext
12357 LIBS=$ac_check_lib_save_LIBS
12359 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12360 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
12361 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12362 cat >conftest.$ac_ext <<_ACEOF
12365 cat confdefs.h >>conftest.$ac_ext
12366 cat >>conftest.$ac_ext <<_ACEOF
12367 /* end confdefs.h. */
12368 #ifdef HAVE_ALSA_ASOUNDLIB_H
12369 #include <alsa/asoundlib.h>
12370 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12371 #include <sys/asoundlib.h>
12376 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12381 rm -f conftest.$ac_objext
12382 if { (ac_try="$ac_compile"
12383 case "(($ac_try" in
12384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12385 *) ac_try_echo=$ac_try;;
12387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12388 (eval "$ac_compile") 2>conftest.er1
12390 grep -v '^ *+' conftest.er1 >conftest.err
12392 cat conftest.err >&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } && {
12395 test -z "$ac_c_werror_flag" ||
12396 test ! -s conftest.err
12397 } && test -s conftest.$ac_objext; then
12399 cat >>confdefs.h <<\_ACEOF
12400 #define HAVE_ALSA 1
12403 ALSALIBS="-lasound"
12405 echo "$as_me: failed program was:" >&5
12406 sed 's/^/| /' conftest.$ac_ext >&5
12411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12419 if test "$ac_cv_header_libaudioio_h" = "yes"
12421 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12422 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
12423 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12424 echo $ECHO_N "(cached) $ECHO_C" >&6
12426 ac_check_lib_save_LIBS=$LIBS
12427 LIBS="-laudioio $LIBS"
12428 cat >conftest.$ac_ext <<_ACEOF
12431 cat confdefs.h >>conftest.$ac_ext
12432 cat >>conftest.$ac_ext <<_ACEOF
12433 /* end confdefs.h. */
12435 /* Override any GCC internal prototype to avoid an error.
12436 Use char because int might match the return type of a GCC
12437 builtin and then its argument prototype would still apply. */
12441 char AudioIOGetVersion ();
12445 return AudioIOGetVersion ();
12450 rm -f conftest.$ac_objext conftest$ac_exeext
12451 if { (ac_try="$ac_link"
12452 case "(($ac_try" in
12453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12454 *) ac_try_echo=$ac_try;;
12456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12457 (eval "$ac_link") 2>conftest.er1
12459 grep -v '^ *+' conftest.er1 >conftest.err
12461 cat conftest.err >&5
12462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12463 (exit $ac_status); } && {
12464 test -z "$ac_c_werror_flag" ||
12465 test ! -s conftest.err
12466 } && test -s conftest$ac_exeext &&
12467 $as_test_x conftest$ac_exeext; then
12468 ac_cv_lib_audioio_AudioIOGetVersion=yes
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.$ac_ext >&5
12473 ac_cv_lib_audioio_AudioIOGetVersion=no
12476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12477 conftest$ac_exeext conftest.$ac_ext
12478 LIBS=$ac_check_lib_save_LIBS
12480 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12481 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
12482 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12483 AUDIOIOLIBS="-laudioio"
12485 cat >>confdefs.h <<\_ACEOF
12486 #define HAVE_LIBAUDIOIO 1
12494 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12496 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12497 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
12498 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12499 echo $ECHO_N "(cached) $ECHO_C" >&6
12501 ac_check_lib_save_LIBS=$LIBS
12502 LIBS="-lcapi20 $LIBS"
12503 cat >conftest.$ac_ext <<_ACEOF
12506 cat confdefs.h >>conftest.$ac_ext
12507 cat >>conftest.$ac_ext <<_ACEOF
12508 /* end confdefs.h. */
12510 /* Override any GCC internal prototype to avoid an error.
12511 Use char because int might match the return type of a GCC
12512 builtin and then its argument prototype would still apply. */
12516 char capi20_register ();
12520 return capi20_register ();
12525 rm -f conftest.$ac_objext conftest$ac_exeext
12526 if { (ac_try="$ac_link"
12527 case "(($ac_try" in
12528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12529 *) ac_try_echo=$ac_try;;
12531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12532 (eval "$ac_link") 2>conftest.er1
12534 grep -v '^ *+' conftest.er1 >conftest.err
12536 cat conftest.err >&5
12537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12538 (exit $ac_status); } && {
12539 test -z "$ac_c_werror_flag" ||
12540 test ! -s conftest.err
12541 } && test -s conftest$ac_exeext &&
12542 $as_test_x conftest$ac_exeext; then
12543 ac_cv_lib_capi20_capi20_register=yes
12545 echo "$as_me: failed program was:" >&5
12546 sed 's/^/| /' conftest.$ac_ext >&5
12548 ac_cv_lib_capi20_capi20_register=no
12551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12552 conftest$ac_exeext conftest.$ac_ext
12553 LIBS=$ac_check_lib_save_LIBS
12555 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12556 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
12557 if test $ac_cv_lib_capi20_capi20_register = yes; then
12559 cat >>confdefs.h <<\_ACEOF
12560 #define HAVE_CAPI4LINUX 1
12570 if test "x${GCC}" = "xyes"
12572 EXTRACFLAGS="-Wall -pipe"
12574 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12575 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
12576 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12577 echo $ECHO_N "(cached) $ECHO_C" >&6
12579 if test "$cross_compiling" = yes; then
12580 ac_cv_c_gcc_strength_bug="yes"
12582 cat >conftest.$ac_ext <<_ACEOF
12585 cat confdefs.h >>conftest.$ac_ext
12586 cat >>conftest.$ac_ext <<_ACEOF
12587 /* end confdefs.h. */
12589 int L[4] = {0,1,2,3};
12591 static int Array[3];
12592 unsigned int B = 3;
12594 for(i=0; i<B; i++) Array[i] = i - 3;
12595 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12598 exit( Array[1] != -2 || L[2] != 3);
12601 rm -f conftest$ac_exeext
12602 if { (ac_try="$ac_link"
12603 case "(($ac_try" in
12604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12605 *) ac_try_echo=$ac_try;;
12607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12608 (eval "$ac_link") 2>&5
12610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12611 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12612 { (case "(($ac_try" in
12613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12614 *) ac_try_echo=$ac_try;;
12616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12617 (eval "$ac_try") 2>&5
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_c_gcc_strength_bug="no"
12623 echo "$as_me: program exited with status $ac_status" >&5
12624 echo "$as_me: failed program was:" >&5
12625 sed 's/^/| /' conftest.$ac_ext >&5
12627 ( exit $ac_status )
12628 ac_cv_c_gcc_strength_bug="yes"
12630 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12635 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12636 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
12637 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12639 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12643 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
12644 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
12645 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
12646 echo $ECHO_N "(cached) $ECHO_C" >&6
12648 ac_wine_try_cflags_saved=$CFLAGS
12649 CFLAGS="$CFLAGS -fshort-wchar"
12650 cat >conftest.$ac_ext <<_ACEOF
12653 cat confdefs.h >>conftest.$ac_ext
12654 cat >>conftest.$ac_ext <<_ACEOF
12655 /* end confdefs.h. */
12665 rm -f conftest.$ac_objext conftest$ac_exeext
12666 if { (ac_try="$ac_link"
12667 case "(($ac_try" in
12668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12669 *) ac_try_echo=$ac_try;;
12671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12672 (eval "$ac_link") 2>conftest.er1
12674 grep -v '^ *+' conftest.er1 >conftest.err
12676 cat conftest.err >&5
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); } && {
12679 test -z "$ac_c_werror_flag" ||
12680 test ! -s conftest.err
12681 } && test -s conftest$ac_exeext &&
12682 $as_test_x conftest$ac_exeext; then
12683 ac_cv_cflags__fshort_wchar=yes
12685 echo "$as_me: failed program was:" >&5
12686 sed 's/^/| /' conftest.$ac_ext >&5
12688 ac_cv_cflags__fshort_wchar=no
12691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12692 conftest$ac_exeext conftest.$ac_ext
12693 CFLAGS=$ac_wine_try_cflags_saved
12695 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
12696 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
12697 if test $ac_cv_cflags__fshort_wchar = yes; then
12699 cat >>confdefs.h <<\_ACEOF
12700 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12705 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
12706 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
12707 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
12708 echo $ECHO_N "(cached) $ECHO_C" >&6
12710 ac_wine_try_cflags_saved=$CFLAGS
12711 CFLAGS="$CFLAGS -fno-strict-aliasing"
12712 cat >conftest.$ac_ext <<_ACEOF
12715 cat confdefs.h >>conftest.$ac_ext
12716 cat >>conftest.$ac_ext <<_ACEOF
12717 /* end confdefs.h. */
12727 rm -f conftest.$ac_objext conftest$ac_exeext
12728 if { (ac_try="$ac_link"
12729 case "(($ac_try" in
12730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12731 *) ac_try_echo=$ac_try;;
12733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12734 (eval "$ac_link") 2>conftest.er1
12736 grep -v '^ *+' conftest.er1 >conftest.err
12738 cat conftest.err >&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } && {
12741 test -z "$ac_c_werror_flag" ||
12742 test ! -s conftest.err
12743 } && test -s conftest$ac_exeext &&
12744 $as_test_x conftest$ac_exeext; then
12745 ac_cv_cflags__fno_strict_aliasing=yes
12747 echo "$as_me: failed program was:" >&5
12748 sed 's/^/| /' conftest.$ac_ext >&5
12750 ac_cv_cflags__fno_strict_aliasing=no
12753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12754 conftest$ac_exeext conftest.$ac_ext
12755 CFLAGS=$ac_wine_try_cflags_saved
12757 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12758 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
12759 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
12760 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12763 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12764 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
12765 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
12766 echo $ECHO_N "(cached) $ECHO_C" >&6
12768 ac_wine_try_cflags_saved=$CFLAGS
12769 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12770 cat >conftest.$ac_ext <<_ACEOF
12773 cat confdefs.h >>conftest.$ac_ext
12774 cat >>conftest.$ac_ext <<_ACEOF
12775 /* end confdefs.h. */
12785 rm -f conftest.$ac_objext conftest$ac_exeext
12786 if { (ac_try="$ac_link"
12787 case "(($ac_try" in
12788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12789 *) ac_try_echo=$ac_try;;
12791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12792 (eval "$ac_link") 2>conftest.er1
12794 grep -v '^ *+' conftest.er1 >conftest.err
12796 cat conftest.err >&5
12797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12798 (exit $ac_status); } && {
12799 test -z "$ac_c_werror_flag" ||
12800 test ! -s conftest.err
12801 } && test -s conftest$ac_exeext &&
12802 $as_test_x conftest$ac_exeext; then
12803 ac_cv_cflags__Wdeclaration_after_statement=yes
12805 echo "$as_me: failed program was:" >&5
12806 sed 's/^/| /' conftest.$ac_ext >&5
12808 ac_cv_cflags__Wdeclaration_after_statement=no
12811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12812 conftest$ac_exeext conftest.$ac_ext
12813 CFLAGS=$ac_wine_try_cflags_saved
12815 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12816 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12817 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
12818 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12821 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
12822 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
12823 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
12824 echo $ECHO_N "(cached) $ECHO_C" >&6
12826 ac_wine_try_cflags_saved=$CFLAGS
12827 CFLAGS="$CFLAGS -Wwrite-strings"
12828 cat >conftest.$ac_ext <<_ACEOF
12831 cat confdefs.h >>conftest.$ac_ext
12832 cat >>conftest.$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12843 rm -f conftest.$ac_objext conftest$ac_exeext
12844 if { (ac_try="$ac_link"
12845 case "(($ac_try" in
12846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12847 *) ac_try_echo=$ac_try;;
12849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12850 (eval "$ac_link") 2>conftest.er1
12852 grep -v '^ *+' conftest.er1 >conftest.err
12854 cat conftest.err >&5
12855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12856 (exit $ac_status); } && {
12857 test -z "$ac_c_werror_flag" ||
12858 test ! -s conftest.err
12859 } && test -s conftest$ac_exeext &&
12860 $as_test_x conftest$ac_exeext; then
12861 ac_cv_cflags__Wwrite_strings=yes
12863 echo "$as_me: failed program was:" >&5
12864 sed 's/^/| /' conftest.$ac_ext >&5
12866 ac_cv_cflags__Wwrite_strings=no
12869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12870 conftest$ac_exeext conftest.$ac_ext
12871 CFLAGS=$ac_wine_try_cflags_saved
12873 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
12874 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
12875 if test $ac_cv_cflags__Wwrite_strings = yes; then
12876 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
12880 saved_CFLAGS="$CFLAGS"
12881 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12882 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12883 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
12884 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12885 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 cat >conftest.$ac_ext <<_ACEOF
12890 cat confdefs.h >>conftest.$ac_ext
12891 cat >>conftest.$ac_ext <<_ACEOF
12892 /* end confdefs.h. */
12893 #include <string.h>
12902 rm -f conftest.$ac_objext
12903 if { (ac_try="$ac_compile"
12904 case "(($ac_try" in
12905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12906 *) ac_try_echo=$ac_try;;
12908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12909 (eval "$ac_compile") 2>conftest.er1
12911 grep -v '^ *+' conftest.er1 >conftest.err
12913 cat conftest.err >&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } && {
12916 test -z "$ac_c_werror_flag" ||
12917 test ! -s conftest.err
12918 } && test -s conftest.$ac_objext; then
12919 ac_cv_c_string_h_warnings=no
12921 echo "$as_me: failed program was:" >&5
12922 sed 's/^/| /' conftest.$ac_ext >&5
12924 ac_cv_c_string_h_warnings=yes
12927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12929 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12930 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
12931 CFLAGS="$saved_CFLAGS"
12932 if test "$ac_cv_c_string_h_warnings" = "no"
12934 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12939 saved_CFLAGS="$CFLAGS"
12940 CFLAGS="$CFLAGS -Werror"
12941 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12942 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
12943 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12944 echo $ECHO_N "(cached) $ECHO_C" >&6
12946 cat >conftest.$ac_ext <<_ACEOF
12949 cat confdefs.h >>conftest.$ac_ext
12950 cat >>conftest.$ac_ext <<_ACEOF
12951 /* end confdefs.h. */
12956 int iswlower(unsigned short);
12961 rm -f conftest.$ac_objext
12962 if { (ac_try="$ac_compile"
12963 case "(($ac_try" in
12964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12965 *) ac_try_echo=$ac_try;;
12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12968 (eval "$ac_compile") 2>conftest.er1
12970 grep -v '^ *+' conftest.er1 >conftest.err
12972 cat conftest.err >&5
12973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12974 (exit $ac_status); } && {
12975 test -z "$ac_c_werror_flag" ||
12976 test ! -s conftest.err
12977 } && test -s conftest.$ac_objext; then
12978 ac_cv_c_builtin_wchar_ctype=no
12980 echo "$as_me: failed program was:" >&5
12981 sed 's/^/| /' conftest.$ac_ext >&5
12983 ac_cv_c_builtin_wchar_ctype=yes
12986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12988 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12989 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
12990 CFLAGS="$saved_CFLAGS"
12991 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12993 BUILTINFLAG="-fno-builtin"
12998 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12999 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
13000 if test "${ac_cv_asm_func_def+set}" = set; then
13001 echo $ECHO_N "(cached) $ECHO_C" >&6
13003 cat >conftest.$ac_ext <<_ACEOF
13006 cat confdefs.h >>conftest.$ac_ext
13007 cat >>conftest.$ac_ext <<_ACEOF
13008 /* end confdefs.h. */
13009 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"); }
13019 rm -f conftest.$ac_objext conftest$ac_exeext
13020 if { (ac_try="$ac_link"
13021 case "(($ac_try" in
13022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13023 *) ac_try_echo=$ac_try;;
13025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13026 (eval "$ac_link") 2>conftest.er1
13028 grep -v '^ *+' conftest.er1 >conftest.err
13030 cat conftest.err >&5
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); } && {
13033 test -z "$ac_c_werror_flag" ||
13034 test ! -s conftest.err
13035 } && test -s conftest$ac_exeext &&
13036 $as_test_x conftest$ac_exeext; then
13037 ac_cv_asm_func_def=".def"
13039 echo "$as_me: failed program was:" >&5
13040 sed 's/^/| /' conftest.$ac_ext >&5
13042 cat >conftest.$ac_ext <<_ACEOF
13045 cat confdefs.h >>conftest.$ac_ext
13046 cat >>conftest.$ac_ext <<_ACEOF
13047 /* end confdefs.h. */
13048 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13058 rm -f conftest.$ac_objext conftest$ac_exeext
13059 if { (ac_try="$ac_link"
13060 case "(($ac_try" in
13061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13062 *) ac_try_echo=$ac_try;;
13064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13065 (eval "$ac_link") 2>conftest.er1
13067 grep -v '^ *+' conftest.er1 >conftest.err
13069 cat conftest.err >&5
13070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13071 (exit $ac_status); } && {
13072 test -z "$ac_c_werror_flag" ||
13073 test ! -s conftest.err
13074 } && test -s conftest$ac_exeext &&
13075 $as_test_x conftest$ac_exeext; then
13076 ac_cv_asm_func_def=".type @function"
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13081 cat >conftest.$ac_ext <<_ACEOF
13084 cat confdefs.h >>conftest.$ac_ext
13085 cat >>conftest.$ac_ext <<_ACEOF
13086 /* end confdefs.h. */
13087 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13097 rm -f conftest.$ac_objext conftest$ac_exeext
13098 if { (ac_try="$ac_link"
13099 case "(($ac_try" in
13100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13101 *) ac_try_echo=$ac_try;;
13103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13104 (eval "$ac_link") 2>conftest.er1
13106 grep -v '^ *+' conftest.er1 >conftest.err
13108 cat conftest.err >&5
13109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13110 (exit $ac_status); } && {
13111 test -z "$ac_c_werror_flag" ||
13112 test ! -s conftest.err
13113 } && test -s conftest$ac_exeext &&
13114 $as_test_x conftest$ac_exeext; then
13115 ac_cv_asm_func_def=".type 2"
13117 echo "$as_me: failed program was:" >&5
13118 sed 's/^/| /' conftest.$ac_ext >&5
13120 ac_cv_asm_func_def="unknown"
13123 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13124 conftest$ac_exeext conftest.$ac_ext
13127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13128 conftest$ac_exeext conftest.$ac_ext
13131 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13132 conftest$ac_exeext conftest.$ac_ext
13134 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13135 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
13139 case "$ac_cv_asm_func_def" in
13141 cat >>confdefs.h <<\_ACEOF
13142 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13146 cat >>confdefs.h <<\_ACEOF
13147 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13151 cat >>confdefs.h <<\_ACEOF
13152 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13156 cat >>confdefs.h <<\_ACEOF
13157 #define __ASM_FUNC(name) ""
13163 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13164 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
13165 if test "${ac_cv_c_extern_prefix+set}" = set; then
13166 echo $ECHO_N "(cached) $ECHO_C" >&6
13168 cat >conftest.$ac_ext <<_ACEOF
13171 cat confdefs.h >>conftest.$ac_ext
13172 cat >>conftest.$ac_ext <<_ACEOF
13173 /* end confdefs.h. */
13174 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13175 extern int ac_test;
13179 if (ac_test) return 1
13184 rm -f conftest.$ac_objext conftest$ac_exeext
13185 if { (ac_try="$ac_link"
13186 case "(($ac_try" in
13187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13188 *) ac_try_echo=$ac_try;;
13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13191 (eval "$ac_link") 2>conftest.er1
13193 grep -v '^ *+' conftest.er1 >conftest.err
13195 cat conftest.err >&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); } && {
13198 test -z "$ac_c_werror_flag" ||
13199 test ! -s conftest.err
13200 } && test -s conftest$ac_exeext &&
13201 $as_test_x conftest$ac_exeext; then
13202 ac_cv_c_extern_prefix="yes"
13204 echo "$as_me: failed program was:" >&5
13205 sed 's/^/| /' conftest.$ac_ext >&5
13207 ac_cv_c_extern_prefix="no"
13210 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13211 conftest$ac_exeext conftest.$ac_ext
13213 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13214 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
13218 if test "$ac_cv_c_extern_prefix" = "yes"
13220 cat >>confdefs.h <<\_ACEOF
13221 #define __ASM_NAME(name) "_" name
13225 cat >>confdefs.h <<\_ACEOF
13226 #define __ASM_NAME(name) name
13234 DLLFLAGS="-D_REENTRANT"
13249 if test -n "$ac_tool_prefix"; then
13250 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13251 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13254 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13255 echo $ECHO_N "(cached) $ECHO_C" >&6
13257 if test -n "$DLLTOOL"; then
13258 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13261 for as_dir in $PATH
13264 test -z "$as_dir" && as_dir=.
13265 for ac_exec_ext in '' $ac_executable_extensions; do
13266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13267 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13277 DLLTOOL=$ac_cv_prog_DLLTOOL
13278 if test -n "$DLLTOOL"; then
13279 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13280 echo "${ECHO_T}$DLLTOOL" >&6; }
13282 { echo "$as_me:$LINENO: result: no" >&5
13283 echo "${ECHO_T}no" >&6; }
13288 if test -z "$ac_cv_prog_DLLTOOL"; then
13289 ac_ct_DLLTOOL=$DLLTOOL
13290 # Extract the first word of "dlltool", so it can be a program name with args.
13291 set dummy dlltool; ac_word=$2
13292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13294 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13295 echo $ECHO_N "(cached) $ECHO_C" >&6
13297 if test -n "$ac_ct_DLLTOOL"; then
13298 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13301 for as_dir in $PATH
13304 test -z "$as_dir" && as_dir=.
13305 for ac_exec_ext in '' $ac_executable_extensions; do
13306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13307 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13317 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13318 if test -n "$ac_ct_DLLTOOL"; then
13319 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13320 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
13322 { echo "$as_me:$LINENO: result: no" >&5
13323 echo "${ECHO_T}no" >&6; }
13326 if test "x$ac_ct_DLLTOOL" = x; then
13329 case $cross_compiling:$ac_tool_warned in
13331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13332 whose name does not start with the host triplet. If you think this
13333 configuration is useful to you, please write to autoconf@gnu.org." >&5
13334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13335 whose name does not start with the host triplet. If you think this
13336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13337 ac_tool_warned=yes ;;
13339 DLLTOOL=$ac_ct_DLLTOOL
13342 DLLTOOL="$ac_cv_prog_DLLTOOL"
13345 if test -n "$ac_tool_prefix"; then
13346 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13347 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13348 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13349 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13350 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13351 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 if test -n "$DLLWRAP"; then
13354 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13357 for as_dir in $PATH
13360 test -z "$as_dir" && as_dir=.
13361 for ac_exec_ext in '' $ac_executable_extensions; do
13362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13363 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13364 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13373 DLLWRAP=$ac_cv_prog_DLLWRAP
13374 if test -n "$DLLWRAP"; then
13375 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13376 echo "${ECHO_T}$DLLWRAP" >&6; }
13378 { echo "$as_me:$LINENO: result: no" >&5
13379 echo "${ECHO_T}no" >&6; }
13384 if test -z "$ac_cv_prog_DLLWRAP"; then
13385 ac_ct_DLLWRAP=$DLLWRAP
13386 # Extract the first word of "dllwrap", so it can be a program name with args.
13387 set dummy dllwrap; ac_word=$2
13388 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13390 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13391 echo $ECHO_N "(cached) $ECHO_C" >&6
13393 if test -n "$ac_ct_DLLWRAP"; then
13394 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13397 for as_dir in $PATH
13400 test -z "$as_dir" && as_dir=.
13401 for ac_exec_ext in '' $ac_executable_extensions; do
13402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13403 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13413 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13414 if test -n "$ac_ct_DLLWRAP"; then
13415 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13416 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
13418 { echo "$as_me:$LINENO: result: no" >&5
13419 echo "${ECHO_T}no" >&6; }
13422 if test "x$ac_ct_DLLWRAP" = x; then
13425 case $cross_compiling:$ac_tool_warned in
13427 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13428 whose name does not start with the host triplet. If you think this
13429 configuration is useful to you, please write to autoconf@gnu.org." >&5
13430 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13431 whose name does not start with the host triplet. If you think this
13432 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13433 ac_tool_warned=yes ;;
13435 DLLWRAP=$ac_ct_DLLWRAP
13438 DLLWRAP="$ac_cv_prog_DLLWRAP"
13441 if test -n "$ac_tool_prefix"; then
13442 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
13443 set dummy ${ac_tool_prefix}ar; ac_word=$2
13444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13446 if test "${ac_cv_prog_MINGWAR+set}" = set; then
13447 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 if test -n "$MINGWAR"; then
13450 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
13452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13453 for as_dir in $PATH
13456 test -z "$as_dir" && as_dir=.
13457 for ac_exec_ext in '' $ac_executable_extensions; do
13458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13459 ac_cv_prog_MINGWAR="${ac_tool_prefix}ar"
13460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13469 MINGWAR=$ac_cv_prog_MINGWAR
13470 if test -n "$MINGWAR"; then
13471 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
13472 echo "${ECHO_T}$MINGWAR" >&6; }
13474 { echo "$as_me:$LINENO: result: no" >&5
13475 echo "${ECHO_T}no" >&6; }
13480 if test -z "$ac_cv_prog_MINGWAR"; then
13481 ac_ct_MINGWAR=$MINGWAR
13482 # Extract the first word of "ar", so it can be a program name with args.
13483 set dummy ar; ac_word=$2
13484 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13486 if test "${ac_cv_prog_ac_ct_MINGWAR+set}" = set; then
13487 echo $ECHO_N "(cached) $ECHO_C" >&6
13489 if test -n "$ac_ct_MINGWAR"; then
13490 ac_cv_prog_ac_ct_MINGWAR="$ac_ct_MINGWAR" # Let the user override the test.
13492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13493 for as_dir in $PATH
13496 test -z "$as_dir" && as_dir=.
13497 for ac_exec_ext in '' $ac_executable_extensions; do
13498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13499 ac_cv_prog_ac_ct_MINGWAR="ar"
13500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13509 ac_ct_MINGWAR=$ac_cv_prog_ac_ct_MINGWAR
13510 if test -n "$ac_ct_MINGWAR"; then
13511 { echo "$as_me:$LINENO: result: $ac_ct_MINGWAR" >&5
13512 echo "${ECHO_T}$ac_ct_MINGWAR" >&6; }
13514 { echo "$as_me:$LINENO: result: no" >&5
13515 echo "${ECHO_T}no" >&6; }
13518 if test "x$ac_ct_MINGWAR" = x; then
13521 case $cross_compiling:$ac_tool_warned in
13523 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13524 whose name does not start with the host triplet. If you think this
13525 configuration is useful to you, please write to autoconf@gnu.org." >&5
13526 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13527 whose name does not start with the host triplet. If you think this
13528 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13529 ac_tool_warned=yes ;;
13531 MINGWAR=$ac_ct_MINGWAR
13534 MINGWAR="$ac_cv_prog_MINGWAR"
13537 if test "$DLLWRAP" = "false"; then
13549 DLLFLAGS="$DLLFLAGS -fPIC"
13550 LDDLLFLAGS="-bundle -multiply_defined suppress"
13551 LIBWINE_LDFLAGS="-multiply_defined suppress"
13552 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/\$(DYNAME)"
13553 STRIP="$STRIP -u -r"
13554 COREFOUNDATIONLIB="-framework CoreFoundation"
13556 IOKITLIB="-framework IOKit -framework CoreFoundation"
13558 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
13560 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
13562 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
13565 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
13567 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
13572 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
13574 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
13576 CARBONLIB="-framework Carbon"
13578 QUARTZFILES='$(QUARTZFILES)'
13582 DLLFLAGS="$DLLFLAGS -fPIC"
13584 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13585 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
13586 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13587 echo $ECHO_N "(cached) $ECHO_C" >&6
13589 ac_wine_try_cflags_saved=$CFLAGS
13590 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
13591 cat >conftest.$ac_ext <<_ACEOF
13594 rm -f conftest.$ac_objext conftest$ac_exeext
13595 if { (ac_try="$ac_link"
13596 case "(($ac_try" in
13597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13598 *) ac_try_echo=$ac_try;;
13600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13601 (eval "$ac_link") 2>conftest.er1
13603 grep -v '^ *+' conftest.er1 >conftest.err
13605 cat conftest.err >&5
13606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13607 (exit $ac_status); } && {
13608 test -z "$ac_c_werror_flag" ||
13609 test ! -s conftest.err
13610 } && test -s conftest$ac_exeext &&
13611 $as_test_x conftest$ac_exeext; then
13612 ac_cv_c_dll_gnuelf="yes"
13614 echo "$as_me: failed program was:" >&5
13615 sed 's/^/| /' conftest.$ac_ext >&5
13617 ac_cv_c_dll_gnuelf="no"
13620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13621 conftest$ac_exeext conftest.$ac_ext
13622 CFLAGS=$ac_wine_try_cflags_saved
13624 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13625 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
13626 if test "$ac_cv_c_dll_gnuelf" = "yes"
13628 LDSHARED="\$(CC) -shared"
13629 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13630 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
13631 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
13632 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13635 ac_wine_try_cflags_saved=$CFLAGS
13636 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
13637 cat >conftest.$ac_ext <<_ACEOF
13640 cat confdefs.h >>conftest.$ac_ext
13641 cat >>conftest.$ac_ext <<_ACEOF
13642 /* end confdefs.h. */
13652 rm -f conftest.$ac_objext conftest$ac_exeext
13653 if { (ac_try="$ac_link"
13654 case "(($ac_try" in
13655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13656 *) ac_try_echo=$ac_try;;
13658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13659 (eval "$ac_link") 2>conftest.er1
13661 grep -v '^ *+' conftest.er1 >conftest.err
13663 cat conftest.err >&5
13664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13665 (exit $ac_status); } && {
13666 test -z "$ac_c_werror_flag" ||
13667 test ! -s conftest.err
13668 } && test -s conftest$ac_exeext &&
13669 $as_test_x conftest$ac_exeext; then
13670 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
13672 echo "$as_me: failed program was:" >&5
13673 sed 's/^/| /' conftest.$ac_ext >&5
13675 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
13678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13679 conftest$ac_exeext conftest.$ac_ext
13680 CFLAGS=$ac_wine_try_cflags_saved
13682 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
13683 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
13684 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
13685 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13687 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
13688 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
13689 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
13690 echo $ECHO_N "(cached) $ECHO_C" >&6
13692 ac_wine_try_cflags_saved=$CFLAGS
13693 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
13694 cat >conftest.$ac_ext <<_ACEOF
13697 cat confdefs.h >>conftest.$ac_ext
13698 cat >>conftest.$ac_ext <<_ACEOF
13699 /* end confdefs.h. */
13709 rm -f conftest.$ac_objext conftest$ac_exeext
13710 if { (ac_try="$ac_link"
13711 case "(($ac_try" in
13712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13713 *) ac_try_echo=$ac_try;;
13715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13716 (eval "$ac_link") 2>conftest.er1
13718 grep -v '^ *+' conftest.er1 >conftest.err
13720 cat conftest.err >&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } && {
13723 test -z "$ac_c_werror_flag" ||
13724 test ! -s conftest.err
13725 } && test -s conftest$ac_exeext &&
13726 $as_test_x conftest$ac_exeext; then
13727 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
13729 echo "$as_me: failed program was:" >&5
13730 sed 's/^/| /' conftest.$ac_ext >&5
13732 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
13735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13736 conftest$ac_exeext conftest.$ac_ext
13737 CFLAGS=$ac_wine_try_cflags_saved
13739 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
13740 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
13741 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
13742 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
13748 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
13749 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
13750 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
13751 echo $ECHO_N "(cached) $ECHO_C" >&6
13753 ac_wine_try_cflags_saved=$CFLAGS
13754 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13755 cat >conftest.$ac_ext <<_ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13770 rm -f conftest.$ac_objext conftest$ac_exeext
13771 if { (ac_try="$ac_link"
13772 case "(($ac_try" in
13773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13774 *) ac_try_echo=$ac_try;;
13776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13777 (eval "$ac_link") 2>conftest.er1
13779 grep -v '^ *+' conftest.er1 >conftest.err
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 (exit $ac_status); } && {
13784 test -z "$ac_c_werror_flag" ||
13785 test ! -s conftest.err
13786 } && test -s conftest$ac_exeext &&
13787 $as_test_x conftest$ac_exeext; then
13788 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
13790 echo "$as_me: failed program was:" >&5
13791 sed 's/^/| /' conftest.$ac_ext >&5
13793 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
13796 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13797 conftest$ac_exeext conftest.$ac_ext
13798 CFLAGS=$ac_wine_try_cflags_saved
13800 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
13801 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
13802 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
13803 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13807 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
13808 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
13809 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
13810 echo $ECHO_N "(cached) $ECHO_C" >&6
13812 ac_wine_try_cflags_saved=$CFLAGS
13813 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13814 cat >conftest.$ac_ext <<_ACEOF
13817 cat confdefs.h >>conftest.$ac_ext
13818 cat >>conftest.$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13829 rm -f conftest.$ac_objext conftest$ac_exeext
13830 if { (ac_try="$ac_link"
13831 case "(($ac_try" in
13832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13833 *) ac_try_echo=$ac_try;;
13835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13836 (eval "$ac_link") 2>conftest.er1
13838 grep -v '^ *+' conftest.er1 >conftest.err
13840 cat conftest.err >&5
13841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13842 (exit $ac_status); } && {
13843 test -z "$ac_c_werror_flag" ||
13844 test ! -s conftest.err
13845 } && test -s conftest$ac_exeext &&
13846 $as_test_x conftest$ac_exeext; then
13847 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.$ac_ext >&5
13852 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
13855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13856 conftest$ac_exeext conftest.$ac_ext
13857 CFLAGS=$ac_wine_try_cflags_saved
13859 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
13860 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
13861 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
13862 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13866 echo '{ global: *; };' >conftest.map
13867 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
13868 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
13869 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
13870 echo $ECHO_N "(cached) $ECHO_C" >&6
13872 ac_wine_try_cflags_saved=$CFLAGS
13873 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13874 cat >conftest.$ac_ext <<_ACEOF
13877 cat confdefs.h >>conftest.$ac_ext
13878 cat >>conftest.$ac_ext <<_ACEOF
13879 /* end confdefs.h. */
13889 rm -f conftest.$ac_objext conftest$ac_exeext
13890 if { (ac_try="$ac_link"
13891 case "(($ac_try" in
13892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13893 *) ac_try_echo=$ac_try;;
13895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13896 (eval "$ac_link") 2>conftest.er1
13898 grep -v '^ *+' conftest.er1 >conftest.err
13900 cat conftest.err >&5
13901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } && {
13903 test -z "$ac_c_werror_flag" ||
13904 test ! -s conftest.err
13905 } && test -s conftest$ac_exeext &&
13906 $as_test_x conftest$ac_exeext; then
13907 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
13909 echo "$as_me: failed program was:" >&5
13910 sed 's/^/| /' conftest.$ac_ext >&5
13912 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
13915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13916 conftest$ac_exeext conftest.$ac_ext
13917 CFLAGS=$ac_wine_try_cflags_saved
13919 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
13920 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
13921 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
13922 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13927 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
13928 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
13929 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
13930 echo $ECHO_N "(cached) $ECHO_C" >&6
13932 ac_wine_try_cflags_saved=$CFLAGS
13933 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13934 cat >conftest.$ac_ext <<_ACEOF
13937 cat confdefs.h >>conftest.$ac_ext
13938 cat >>conftest.$ac_ext <<_ACEOF
13939 /* end confdefs.h. */
13949 rm -f conftest.$ac_objext conftest$ac_exeext
13950 if { (ac_try="$ac_link"
13951 case "(($ac_try" in
13952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13953 *) ac_try_echo=$ac_try;;
13955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13956 (eval "$ac_link") 2>conftest.er1
13958 grep -v '^ *+' conftest.er1 >conftest.err
13960 cat conftest.err >&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); } && {
13963 test -z "$ac_c_werror_flag" ||
13964 test ! -s conftest.err
13965 } && test -s conftest$ac_exeext &&
13966 $as_test_x conftest$ac_exeext; then
13967 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
13969 echo "$as_me: failed program was:" >&5
13970 sed 's/^/| /' conftest.$ac_ext >&5
13972 ac_cv_cflags__fPIC__Wl___export_dynamic=no
13975 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13976 conftest$ac_exeext conftest.$ac_ext
13977 CFLAGS=$ac_wine_try_cflags_saved
13979 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
13980 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
13981 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
13982 LDEXECFLAGS="-Wl,--export-dynamic"
13987 as_ac_var=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
13988 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
13989 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
13990 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13991 echo $ECHO_N "(cached) $ECHO_C" >&6
13993 ac_wine_try_cflags_saved=$CFLAGS
13994 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13995 cat >conftest.$ac_ext <<_ACEOF
13998 cat confdefs.h >>conftest.$ac_ext
13999 cat >>conftest.$ac_ext <<_ACEOF
14000 /* end confdefs.h. */
14010 rm -f conftest.$ac_objext conftest$ac_exeext
14011 if { (ac_try="$ac_link"
14012 case "(($ac_try" in
14013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14014 *) ac_try_echo=$ac_try;;
14016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14017 (eval "$ac_link") 2>conftest.er1
14019 grep -v '^ *+' conftest.er1 >conftest.err
14021 cat conftest.err >&5
14022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14023 (exit $ac_status); } && {
14024 test -z "$ac_c_werror_flag" ||
14025 test ! -s conftest.err
14026 } && test -s conftest$ac_exeext &&
14027 $as_test_x conftest$ac_exeext; then
14028 eval "$as_ac_var=yes"
14030 echo "$as_me: failed program was:" >&5
14031 sed 's/^/| /' conftest.$ac_ext >&5
14033 eval "$as_ac_var=no"
14036 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14037 conftest$ac_exeext conftest.$ac_ext
14038 CFLAGS=$ac_wine_try_cflags_saved
14040 ac_res=`eval echo '${'$as_ac_var'}'`
14041 { echo "$as_me:$LINENO: result: $ac_res" >&5
14042 echo "${ECHO_T}$ac_res" >&6; }
14043 if test `eval echo '${'$as_ac_var'}'` = yes; then
14044 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
14049 *i[3456789]86* | x86_64)
14050 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
14051 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
14052 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
14053 echo $ECHO_N "(cached) $ECHO_C" >&6
14055 ac_wine_try_cflags_saved=$CFLAGS
14056 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
14057 cat >conftest.$ac_ext <<_ACEOF
14060 cat confdefs.h >>conftest.$ac_ext
14061 cat >>conftest.$ac_ext <<_ACEOF
14062 /* end confdefs.h. */
14072 rm -f conftest.$ac_objext conftest$ac_exeext
14073 if { (ac_try="$ac_link"
14074 case "(($ac_try" in
14075 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14076 *) ac_try_echo=$ac_try;;
14078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14079 (eval "$ac_link") 2>conftest.er1
14081 grep -v '^ *+' conftest.er1 >conftest.err
14083 cat conftest.err >&5
14084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14085 (exit $ac_status); } && {
14086 test -z "$ac_c_werror_flag" ||
14087 test ! -s conftest.err
14088 } && test -s conftest$ac_exeext &&
14089 $as_test_x conftest$ac_exeext; then
14090 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
14092 echo "$as_me: failed program was:" >&5
14093 sed 's/^/| /' conftest.$ac_ext >&5
14095 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
14098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14099 conftest$ac_exeext conftest.$ac_ext
14100 CFLAGS=$ac_wine_try_cflags_saved
14102 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
14103 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
14104 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
14105 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14112 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14113 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
14114 if test "${ac_cv_c_dll_unixware+set}" = set; then
14115 echo $ECHO_N "(cached) $ECHO_C" >&6
14117 ac_wine_try_cflags_saved=$CFLAGS
14118 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14119 cat >conftest.$ac_ext <<_ACEOF
14122 rm -f conftest.$ac_objext conftest$ac_exeext
14123 if { (ac_try="$ac_link"
14124 case "(($ac_try" in
14125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14126 *) ac_try_echo=$ac_try;;
14128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14129 (eval "$ac_link") 2>conftest.er1
14131 grep -v '^ *+' conftest.er1 >conftest.err
14133 cat conftest.err >&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); } && {
14136 test -z "$ac_c_werror_flag" ||
14137 test ! -s conftest.err
14138 } && test -s conftest$ac_exeext &&
14139 $as_test_x conftest$ac_exeext; then
14140 ac_cv_c_dll_unixware="yes"
14142 echo "$as_me: failed program was:" >&5
14143 sed 's/^/| /' conftest.$ac_ext >&5
14145 ac_cv_c_dll_unixware="no"
14148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14149 conftest$ac_exeext conftest.$ac_ext
14150 CFLAGS=$ac_wine_try_cflags_saved
14152 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14153 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
14154 if test "$ac_cv_c_dll_unixware" = "yes"
14156 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14157 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14160 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14161 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
14162 if test "${ac_cv_c_dll_hpux+set}" = set; then
14163 echo $ECHO_N "(cached) $ECHO_C" >&6
14165 ac_wine_try_cflags_saved=$CFLAGS
14166 CFLAGS="$CFLAGS -shared"
14167 cat >conftest.$ac_ext <<_ACEOF
14170 rm -f conftest.$ac_objext conftest$ac_exeext
14171 if { (ac_try="$ac_link"
14172 case "(($ac_try" in
14173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14174 *) ac_try_echo=$ac_try;;
14176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14177 (eval "$ac_link") 2>conftest.er1
14179 grep -v '^ *+' conftest.er1 >conftest.err
14181 cat conftest.err >&5
14182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14183 (exit $ac_status); } && {
14184 test -z "$ac_c_werror_flag" ||
14185 test ! -s conftest.err
14186 } && test -s conftest$ac_exeext &&
14187 $as_test_x conftest$ac_exeext; then
14188 ac_cv_c_dll_hpux="yes"
14190 echo "$as_me: failed program was:" >&5
14191 sed 's/^/| /' conftest.$ac_ext >&5
14193 ac_cv_c_dll_hpux="no"
14196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14197 conftest$ac_exeext conftest.$ac_ext
14198 CFLAGS=$ac_wine_try_cflags_saved
14200 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14201 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
14202 if test "$ac_cv_c_dll_hpux" = "yes"
14206 LDDLLFLAGS="-shared -fPIC"
14207 LDSHARED="\$(CC) -shared"
14214 if test "$cross_compiling" = "no"
14216 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
14218 # Extract the first word of "$ac_prog", so it can be a program name with args.
14219 set dummy $ac_prog; ac_word=$2
14220 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14221 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14222 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14223 echo $ECHO_N "(cached) $ECHO_C" >&6
14225 if test -n "$CROSSCC"; then
14226 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14228 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14229 for as_dir in $PATH
14232 test -z "$as_dir" && as_dir=.
14233 for ac_exec_ext in '' $ac_executable_extensions; do
14234 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14235 ac_cv_prog_CROSSCC="$ac_prog"
14236 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14245 CROSSCC=$ac_cv_prog_CROSSCC
14246 if test -n "$CROSSCC"; then
14247 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
14248 echo "${ECHO_T}$CROSSCC" >&6; }
14250 { echo "$as_me:$LINENO: result: no" >&5
14251 echo "${ECHO_T}no" >&6; }
14255 test -n "$CROSSCC" && break
14257 test -n "$CROSSCC" || CROSSCC="false"
14259 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
14261 # Extract the first word of "$ac_prog", so it can be a program name with args.
14262 set dummy $ac_prog; ac_word=$2
14263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14265 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14266 echo $ECHO_N "(cached) $ECHO_C" >&6
14268 if test -n "$DLLTOOL"; then
14269 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14272 for as_dir in $PATH
14275 test -z "$as_dir" && as_dir=.
14276 for ac_exec_ext in '' $ac_executable_extensions; do
14277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14278 ac_cv_prog_DLLTOOL="$ac_prog"
14279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 DLLTOOL=$ac_cv_prog_DLLTOOL
14289 if test -n "$DLLTOOL"; then
14290 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14291 echo "${ECHO_T}$DLLTOOL" >&6; }
14293 { echo "$as_me:$LINENO: result: no" >&5
14294 echo "${ECHO_T}no" >&6; }
14298 test -n "$DLLTOOL" && break
14300 test -n "$DLLTOOL" || DLLTOOL="false"
14302 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
14304 # Extract the first word of "$ac_prog", so it can be a program name with args.
14305 set dummy $ac_prog; ac_word=$2
14306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14308 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14309 echo $ECHO_N "(cached) $ECHO_C" >&6
14311 if test -n "$CROSSWINDRES"; then
14312 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14315 for as_dir in $PATH
14318 test -z "$as_dir" && as_dir=.
14319 for ac_exec_ext in '' $ac_executable_extensions; do
14320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14321 ac_cv_prog_CROSSWINDRES="$ac_prog"
14322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14331 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14332 if test -n "$CROSSWINDRES"; then
14333 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14334 echo "${ECHO_T}$CROSSWINDRES" >&6; }
14336 { echo "$as_me:$LINENO: result: no" >&5
14337 echo "${ECHO_T}no" >&6; }
14341 test -n "$CROSSWINDRES" && break
14343 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14345 for ac_prog in i586-mingw32msvc-ar i386-mingw32msvc-ar i386-mingw32-ar mingw32-ar mingw-ar
14347 # Extract the first word of "$ac_prog", so it can be a program name with args.
14348 set dummy $ac_prog; ac_word=$2
14349 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14351 if test "${ac_cv_prog_MINGWAR+set}" = set; then
14352 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 if test -n "$MINGWAR"; then
14355 ac_cv_prog_MINGWAR="$MINGWAR" # Let the user override the test.
14357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14358 for as_dir in $PATH
14361 test -z "$as_dir" && as_dir=.
14362 for ac_exec_ext in '' $ac_executable_extensions; do
14363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14364 ac_cv_prog_MINGWAR="$ac_prog"
14365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14374 MINGWAR=$ac_cv_prog_MINGWAR
14375 if test -n "$MINGWAR"; then
14376 { echo "$as_me:$LINENO: result: $MINGWAR" >&5
14377 echo "${ECHO_T}$MINGWAR" >&6; }
14379 { echo "$as_me:$LINENO: result: no" >&5
14380 echo "${ECHO_T}no" >&6; }
14384 test -n "$MINGWAR" && break
14386 test -n "$MINGWAR" || MINGWAR="false"
14388 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14393 if test "$LIBEXT" = "a"; then
14394 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14395 It is currently not possible to build Wine without shared library
14396 (.so) support to allow transparent switch between .so and .dll files.
14397 If you are using Linux, you will need a newer binutils.
14399 echo "$as_me: error: could not find a way to build shared libraries.
14400 It is currently not possible to build Wine without shared library
14401 (.so) support to allow transparent switch between .so and .dll files.
14402 If you are using Linux, you will need a newer binutils.
14404 { (exit 1); exit 1; }; }
14409 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
14412 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
14415 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
14423 SOCKETLIBS="-lws2_32"
14428 MAIN_BINARY="wine-pthread"
14432 linux* | k*bsd*-gnu)
14433 MAIN_BINARY="wine-glibc"
14435 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14442 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14444 # Extract the first word of "ldd", so it can be a program name with args.
14445 set dummy ldd; ac_word=$2
14446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14448 if test "${ac_cv_path_LDD+set}" = set; then
14449 echo $ECHO_N "(cached) $ECHO_C" >&6
14453 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14457 as_dummy="/sbin:/usr/sbin:$PATH"
14458 for as_dir in $as_dummy
14461 test -z "$as_dir" && as_dir=.
14462 for ac_exec_ext in '' $ac_executable_extensions; do
14463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14464 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14472 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14476 LDD=$ac_cv_path_LDD
14477 if test -n "$LDD"; then
14478 { echo "$as_me:$LINENO: result: $LDD" >&5
14479 echo "${ECHO_T}$LDD" >&6; }
14481 { echo "$as_me:$LINENO: result: no" >&5
14482 echo "${ECHO_T}no" >&6; }
14486 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14487 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
14488 if test "${ac_cv_lib_soname_X11+set}" = set; then
14489 echo $ECHO_N "(cached) $ECHO_C" >&6
14491 ac_get_soname_save_LIBS=$LIBS
14492 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14493 cat >conftest.$ac_ext <<_ACEOF
14496 cat confdefs.h >>conftest.$ac_ext
14497 cat >>conftest.$ac_ext <<_ACEOF
14498 /* end confdefs.h. */
14500 /* Override any GCC internal prototype to avoid an error.
14501 Use char because int might match the return type of a GCC
14502 builtin and then its argument prototype would still apply. */
14506 char XCreateWindow ();
14510 return XCreateWindow ();
14515 rm -f conftest.$ac_objext conftest$ac_exeext
14516 if { (ac_try="$ac_link"
14517 case "(($ac_try" in
14518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14519 *) ac_try_echo=$ac_try;;
14521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14522 (eval "$ac_link") 2>conftest.er1
14524 grep -v '^ *+' conftest.er1 >conftest.err
14526 cat conftest.err >&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); } && {
14529 test -z "$ac_c_werror_flag" ||
14530 test ! -s conftest.err
14531 } && test -s conftest$ac_exeext &&
14532 $as_test_x conftest$ac_exeext; then
14534 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'` ;;
14535 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14537 if test "x$ac_cv_lib_soname_X11" = "x"
14539 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14542 echo "$as_me: failed program was:" >&5
14543 sed 's/^/| /' conftest.$ac_ext >&5
14545 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14549 conftest$ac_exeext conftest.$ac_ext
14550 LIBS=$ac_get_soname_save_LIBS
14552 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14553 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
14554 if test "${ac_cv_lib_soname_X11+set}" = set; then
14556 cat >>confdefs.h <<_ACEOF
14557 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14562 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
14563 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
14564 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 ac_get_soname_save_LIBS=$LIBS
14568 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14569 cat >conftest.$ac_ext <<_ACEOF
14572 cat confdefs.h >>conftest.$ac_ext
14573 cat >>conftest.$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14576 /* Override any GCC internal prototype to avoid an error.
14577 Use char because int might match the return type of a GCC
14578 builtin and then its argument prototype would still apply. */
14582 char XextCreateExtension ();
14586 return XextCreateExtension ();
14591 rm -f conftest.$ac_objext conftest$ac_exeext
14592 if { (ac_try="$ac_link"
14593 case "(($ac_try" in
14594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14595 *) ac_try_echo=$ac_try;;
14597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14598 (eval "$ac_link") 2>conftest.er1
14600 grep -v '^ *+' conftest.er1 >conftest.err
14602 cat conftest.err >&5
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); } && {
14605 test -z "$ac_c_werror_flag" ||
14606 test ! -s conftest.err
14607 } && test -s conftest$ac_exeext &&
14608 $as_test_x conftest$ac_exeext; then
14610 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'` ;;
14611 so) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14613 if test "x$ac_cv_lib_soname_Xext" = "x"
14615 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.$ac_ext >&5
14621 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14625 conftest$ac_exeext conftest.$ac_ext
14626 LIBS=$ac_get_soname_save_LIBS
14628 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14629 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
14630 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14632 cat >>confdefs.h <<_ACEOF
14633 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14638 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
14639 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
14640 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14641 echo $ECHO_N "(cached) $ECHO_C" >&6
14643 ac_get_soname_save_LIBS=$LIBS
14644 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14645 cat >conftest.$ac_ext <<_ACEOF
14648 cat confdefs.h >>conftest.$ac_ext
14649 cat >>conftest.$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14658 char XOpenDevice ();
14662 return XOpenDevice ();
14667 rm -f conftest.$ac_objext conftest$ac_exeext
14668 if { (ac_try="$ac_link"
14669 case "(($ac_try" in
14670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14671 *) ac_try_echo=$ac_try;;
14673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14674 (eval "$ac_link") 2>conftest.er1
14676 grep -v '^ *+' conftest.er1 >conftest.err
14678 cat conftest.err >&5
14679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14680 (exit $ac_status); } && {
14681 test -z "$ac_c_werror_flag" ||
14682 test ! -s conftest.err
14683 } && test -s conftest$ac_exeext &&
14684 $as_test_x conftest$ac_exeext; then
14686 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'` ;;
14687 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14689 if test "x$ac_cv_lib_soname_Xi" = "x"
14691 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14694 echo "$as_me: failed program was:" >&5
14695 sed 's/^/| /' conftest.$ac_ext >&5
14697 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14701 conftest$ac_exeext conftest.$ac_ext
14702 LIBS=$ac_get_soname_save_LIBS
14704 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14705 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
14706 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14708 cat >>confdefs.h <<_ACEOF
14709 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14714 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
14715 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
14716 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14719 ac_get_soname_save_LIBS=$LIBS
14720 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14721 cat >conftest.$ac_ext <<_ACEOF
14724 cat confdefs.h >>conftest.$ac_ext
14725 cat >>conftest.$ac_ext <<_ACEOF
14726 /* end confdefs.h. */
14728 /* Override any GCC internal prototype to avoid an error.
14729 Use char because int might match the return type of a GCC
14730 builtin and then its argument prototype would still apply. */
14734 char XineramaQueryScreens ();
14738 return XineramaQueryScreens ();
14743 rm -f conftest.$ac_objext conftest$ac_exeext
14744 if { (ac_try="$ac_link"
14745 case "(($ac_try" in
14746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14747 *) ac_try_echo=$ac_try;;
14749 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14750 (eval "$ac_link") 2>conftest.er1
14752 grep -v '^ *+' conftest.er1 >conftest.err
14754 cat conftest.err >&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } && {
14757 test -z "$ac_c_werror_flag" ||
14758 test ! -s conftest.err
14759 } && test -s conftest$ac_exeext &&
14760 $as_test_x conftest$ac_exeext; then
14762 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'` ;;
14763 so) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14765 if test "x$ac_cv_lib_soname_Xinerama" = "x"
14767 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.$ac_ext >&5
14773 ac_cv_lib_soname_Xinerama="libXinerama.$LIBEXT"
14776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14777 conftest$ac_exeext conftest.$ac_ext
14778 LIBS=$ac_get_soname_save_LIBS
14780 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
14781 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
14782 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
14784 cat >>confdefs.h <<_ACEOF
14785 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
14790 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14791 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
14792 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14793 echo $ECHO_N "(cached) $ECHO_C" >&6
14795 ac_get_soname_save_LIBS=$LIBS
14796 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14797 cat >conftest.$ac_ext <<_ACEOF
14800 cat confdefs.h >>conftest.$ac_ext
14801 cat >>conftest.$ac_ext <<_ACEOF
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14810 char XRenderQueryExtension ();
14814 return XRenderQueryExtension ();
14819 rm -f conftest.$ac_objext conftest$ac_exeext
14820 if { (ac_try="$ac_link"
14821 case "(($ac_try" in
14822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14823 *) ac_try_echo=$ac_try;;
14825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14826 (eval "$ac_link") 2>conftest.er1
14828 grep -v '^ *+' conftest.er1 >conftest.err
14830 cat conftest.err >&5
14831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14832 (exit $ac_status); } && {
14833 test -z "$ac_c_werror_flag" ||
14834 test ! -s conftest.err
14835 } && test -s conftest$ac_exeext &&
14836 $as_test_x conftest$ac_exeext; then
14838 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'` ;;
14839 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14841 if test "x$ac_cv_lib_soname_Xrender" = "x"
14843 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.$ac_ext >&5
14849 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14853 conftest$ac_exeext conftest.$ac_ext
14854 LIBS=$ac_get_soname_save_LIBS
14856 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14857 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
14858 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14860 cat >>confdefs.h <<_ACEOF
14861 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14866 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14867 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
14868 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14869 echo $ECHO_N "(cached) $ECHO_C" >&6
14871 ac_get_soname_save_LIBS=$LIBS
14872 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14873 cat >conftest.$ac_ext <<_ACEOF
14876 cat confdefs.h >>conftest.$ac_ext
14877 cat >>conftest.$ac_ext <<_ACEOF
14878 /* end confdefs.h. */
14880 /* Override any GCC internal prototype to avoid an error.
14881 Use char because int might match the return type of a GCC
14882 builtin and then its argument prototype would still apply. */
14886 char XRRQueryExtension ();
14890 return XRRQueryExtension ();
14895 rm -f conftest.$ac_objext conftest$ac_exeext
14896 if { (ac_try="$ac_link"
14897 case "(($ac_try" in
14898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14899 *) ac_try_echo=$ac_try;;
14901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14902 (eval "$ac_link") 2>conftest.er1
14904 grep -v '^ *+' conftest.er1 >conftest.err
14906 cat conftest.err >&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); } && {
14909 test -z "$ac_c_werror_flag" ||
14910 test ! -s conftest.err
14911 } && test -s conftest$ac_exeext &&
14912 $as_test_x conftest$ac_exeext; then
14914 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'` ;;
14915 so) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14917 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14919 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14922 echo "$as_me: failed program was:" >&5
14923 sed 's/^/| /' conftest.$ac_ext >&5
14925 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14929 conftest$ac_exeext conftest.$ac_ext
14930 LIBS=$ac_get_soname_save_LIBS
14932 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14933 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
14934 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14936 cat >>confdefs.h <<_ACEOF
14937 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14942 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14943 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
14944 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14945 echo $ECHO_N "(cached) $ECHO_C" >&6
14947 ac_get_soname_save_LIBS=$LIBS
14948 LIBS="-lfreetype $X_LIBS $LIBS"
14949 cat >conftest.$ac_ext <<_ACEOF
14952 cat confdefs.h >>conftest.$ac_ext
14953 cat >>conftest.$ac_ext <<_ACEOF
14954 /* end confdefs.h. */
14956 /* Override any GCC internal prototype to avoid an error.
14957 Use char because int might match the return type of a GCC
14958 builtin and then its argument prototype would still apply. */
14962 char FT_Init_FreeType ();
14966 return FT_Init_FreeType ();
14971 rm -f conftest.$ac_objext conftest$ac_exeext
14972 if { (ac_try="$ac_link"
14973 case "(($ac_try" in
14974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14975 *) ac_try_echo=$ac_try;;
14977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14978 (eval "$ac_link") 2>conftest.er1
14980 grep -v '^ *+' conftest.er1 >conftest.err
14982 cat conftest.err >&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); } && {
14985 test -z "$ac_c_werror_flag" ||
14986 test ! -s conftest.err
14987 } && test -s conftest$ac_exeext &&
14988 $as_test_x conftest$ac_exeext; then
14990 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'` ;;
14991 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
14993 if test "x$ac_cv_lib_soname_freetype" = "x"
14995 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14998 echo "$as_me: failed program was:" >&5
14999 sed 's/^/| /' conftest.$ac_ext >&5
15001 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
15004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15005 conftest$ac_exeext conftest.$ac_ext
15006 LIBS=$ac_get_soname_save_LIBS
15008 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15009 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
15010 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15012 cat >>confdefs.h <<_ACEOF
15013 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15018 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
15019 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
15020 if test "${ac_cv_lib_soname_GL+set}" = set; then
15021 echo $ECHO_N "(cached) $ECHO_C" >&6
15023 ac_get_soname_save_LIBS=$LIBS
15024 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15025 cat >conftest.$ac_ext <<_ACEOF
15028 cat confdefs.h >>conftest.$ac_ext
15029 cat >>conftest.$ac_ext <<_ACEOF
15030 /* end confdefs.h. */
15032 /* Override any GCC internal prototype to avoid an error.
15033 Use char because int might match the return type of a GCC
15034 builtin and then its argument prototype would still apply. */
15038 char glXQueryExtension ();
15042 return glXQueryExtension ();
15047 rm -f conftest.$ac_objext conftest$ac_exeext
15048 if { (ac_try="$ac_link"
15049 case "(($ac_try" in
15050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15051 *) ac_try_echo=$ac_try;;
15053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15054 (eval "$ac_link") 2>conftest.er1
15056 grep -v '^ *+' conftest.er1 >conftest.err
15058 cat conftest.err >&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } && {
15061 test -z "$ac_c_werror_flag" ||
15062 test ! -s conftest.err
15063 } && test -s conftest$ac_exeext &&
15064 $as_test_x conftest$ac_exeext; then
15066 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'` ;;
15067 so) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15069 if test "x$ac_cv_lib_soname_GL" = "x"
15071 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15074 echo "$as_me: failed program was:" >&5
15075 sed 's/^/| /' conftest.$ac_ext >&5
15077 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_get_soname_save_LIBS
15084 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15085 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
15086 if test "${ac_cv_lib_soname_GL+set}" = set; then
15088 cat >>confdefs.h <<_ACEOF
15089 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15094 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
15095 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
15096 if test "${ac_cv_lib_soname_hal+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15099 ac_get_soname_save_LIBS=$LIBS
15101 cat >conftest.$ac_ext <<_ACEOF
15104 cat confdefs.h >>conftest.$ac_ext
15105 cat >>conftest.$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15108 /* Override any GCC internal prototype to avoid an error.
15109 Use char because int might match the return type of a GCC
15110 builtin and then its argument prototype would still apply. */
15114 char libhal_ctx_new ();
15118 return libhal_ctx_new ();
15123 rm -f conftest.$ac_objext conftest$ac_exeext
15124 if { (ac_try="$ac_link"
15125 case "(($ac_try" in
15126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15127 *) ac_try_echo=$ac_try;;
15129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15130 (eval "$ac_link") 2>conftest.er1
15132 grep -v '^ *+' conftest.er1 >conftest.err
15134 cat conftest.err >&5
15135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15136 (exit $ac_status); } && {
15137 test -z "$ac_c_werror_flag" ||
15138 test ! -s conftest.err
15139 } && test -s conftest$ac_exeext &&
15140 $as_test_x conftest$ac_exeext; then
15142 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'` ;;
15143 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.so | sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15145 if test "x$ac_cv_lib_soname_hal" = "x"
15147 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15153 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15157 conftest$ac_exeext conftest.$ac_ext
15158 LIBS=$ac_get_soname_save_LIBS
15160 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15161 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
15162 if test "${ac_cv_lib_soname_hal+set}" = set; then
15164 cat >>confdefs.h <<_ACEOF
15165 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15170 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15171 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
15172 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 ac_get_soname_save_LIBS=$LIBS
15176 LIBS="-ltxc_dxtn $LIBS"
15177 cat >conftest.$ac_ext <<_ACEOF
15180 cat confdefs.h >>conftest.$ac_ext
15181 cat >>conftest.$ac_ext <<_ACEOF
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15190 char fetch_2d_texel_rgba_dxt1 ();
15194 return fetch_2d_texel_rgba_dxt1 ();
15199 rm -f conftest.$ac_objext conftest$ac_exeext
15200 if { (ac_try="$ac_link"
15201 case "(($ac_try" in
15202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15203 *) ac_try_echo=$ac_try;;
15205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15206 (eval "$ac_link") 2>conftest.er1
15208 grep -v '^ *+' conftest.er1 >conftest.err
15210 cat conftest.err >&5
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); } && {
15213 test -z "$ac_c_werror_flag" ||
15214 test ! -s conftest.err
15215 } && test -s conftest$ac_exeext &&
15216 $as_test_x conftest$ac_exeext; then
15218 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'` ;;
15219 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'` ;;
15221 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15223 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15226 echo "$as_me: failed program was:" >&5
15227 sed 's/^/| /' conftest.$ac_ext >&5
15229 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15233 conftest$ac_exeext conftest.$ac_ext
15234 LIBS=$ac_get_soname_save_LIBS
15236 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15237 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
15238 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15240 cat >>confdefs.h <<_ACEOF
15241 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15246 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
15247 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
15248 if test "${ac_cv_lib_soname_cups+set}" = set; then
15249 echo $ECHO_N "(cached) $ECHO_C" >&6
15251 ac_get_soname_save_LIBS=$LIBS
15252 LIBS="-lcups $LIBS"
15253 cat >conftest.$ac_ext <<_ACEOF
15256 cat confdefs.h >>conftest.$ac_ext
15257 cat >>conftest.$ac_ext <<_ACEOF
15258 /* end confdefs.h. */
15260 /* Override any GCC internal prototype to avoid an error.
15261 Use char because int might match the return type of a GCC
15262 builtin and then its argument prototype would still apply. */
15266 char cupsGetDefault ();
15270 return cupsGetDefault ();
15275 rm -f conftest.$ac_objext conftest$ac_exeext
15276 if { (ac_try="$ac_link"
15277 case "(($ac_try" in
15278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15279 *) ac_try_echo=$ac_try;;
15281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15282 (eval "$ac_link") 2>conftest.er1
15284 grep -v '^ *+' conftest.er1 >conftest.err
15286 cat conftest.err >&5
15287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15288 (exit $ac_status); } && {
15289 test -z "$ac_c_werror_flag" ||
15290 test ! -s conftest.err
15291 } && test -s conftest$ac_exeext &&
15292 $as_test_x conftest$ac_exeext; then
15294 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'` ;;
15295 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15297 if test "x$ac_cv_lib_soname_cups" = "x"
15299 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15302 echo "$as_me: failed program was:" >&5
15303 sed 's/^/| /' conftest.$ac_ext >&5
15305 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15308 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15309 conftest$ac_exeext conftest.$ac_ext
15310 LIBS=$ac_get_soname_save_LIBS
15312 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15313 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
15314 if test "${ac_cv_lib_soname_cups+set}" = set; then
15316 cat >>confdefs.h <<_ACEOF
15317 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15322 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
15323 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
15324 if test "${ac_cv_lib_soname_jack+set}" = set; then
15325 echo $ECHO_N "(cached) $ECHO_C" >&6
15327 ac_get_soname_save_LIBS=$LIBS
15328 LIBS="-ljack $LIBS"
15329 cat >conftest.$ac_ext <<_ACEOF
15332 cat confdefs.h >>conftest.$ac_ext
15333 cat >>conftest.$ac_ext <<_ACEOF
15334 /* end confdefs.h. */
15336 /* Override any GCC internal prototype to avoid an error.
15337 Use char because int might match the return type of a GCC
15338 builtin and then its argument prototype would still apply. */
15342 char jack_client_new ();
15346 return jack_client_new ();
15351 rm -f conftest.$ac_objext conftest$ac_exeext
15352 if { (ac_try="$ac_link"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_link") 2>conftest.er1
15360 grep -v '^ *+' conftest.er1 >conftest.err
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_c_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest$ac_exeext &&
15368 $as_test_x conftest$ac_exeext; then
15370 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'` ;;
15371 so) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15373 if test "x$ac_cv_lib_soname_jack" = "x"
15375 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15378 echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.$ac_ext >&5
15381 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15384 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15385 conftest$ac_exeext conftest.$ac_ext
15386 LIBS=$ac_get_soname_save_LIBS
15388 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15389 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
15390 if test "${ac_cv_lib_soname_jack+set}" = set; then
15392 cat >>confdefs.h <<_ACEOF
15393 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15398 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15399 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
15400 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15403 ac_get_soname_save_LIBS=$LIBS
15404 LIBS="-lfontconfig $LIBS"
15405 cat >conftest.$ac_ext <<_ACEOF
15408 cat confdefs.h >>conftest.$ac_ext
15409 cat >>conftest.$ac_ext <<_ACEOF
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15427 rm -f conftest.$ac_objext conftest$ac_exeext
15428 if { (ac_try="$ac_link"
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_link") 2>conftest.er1
15436 grep -v '^ *+' conftest.er1 >conftest.err
15438 cat conftest.err >&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } && {
15441 test -z "$ac_c_werror_flag" ||
15442 test ! -s conftest.err
15443 } && test -s conftest$ac_exeext &&
15444 $as_test_x conftest$ac_exeext; then
15446 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'` ;;
15447 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15449 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15451 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15454 echo "$as_me: failed program was:" >&5
15455 sed 's/^/| /' conftest.$ac_ext >&5
15457 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15460 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15461 conftest$ac_exeext conftest.$ac_ext
15462 LIBS=$ac_get_soname_save_LIBS
15464 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15465 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
15466 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15468 cat >>confdefs.h <<_ACEOF
15469 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15474 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
15475 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
15476 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15477 echo $ECHO_N "(cached) $ECHO_C" >&6
15479 ac_get_soname_save_LIBS=$LIBS
15481 cat >conftest.$ac_ext <<_ACEOF
15484 cat confdefs.h >>conftest.$ac_ext
15485 cat >>conftest.$ac_ext <<_ACEOF
15486 /* end confdefs.h. */
15488 /* Override any GCC internal prototype to avoid an error.
15489 Use char because int might match the return type of a GCC
15490 builtin and then its argument prototype would still apply. */
15494 char SSL_library_init ();
15498 return SSL_library_init ();
15503 rm -f conftest.$ac_objext conftest$ac_exeext
15504 if { (ac_try="$ac_link"
15505 case "(($ac_try" in
15506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15507 *) ac_try_echo=$ac_try;;
15509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15510 (eval "$ac_link") 2>conftest.er1
15512 grep -v '^ *+' conftest.er1 >conftest.err
15514 cat conftest.err >&5
15515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516 (exit $ac_status); } && {
15517 test -z "$ac_c_werror_flag" ||
15518 test ! -s conftest.err
15519 } && test -s conftest$ac_exeext &&
15520 $as_test_x conftest$ac_exeext; then
15522 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'` ;;
15523 so) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15525 if test "x$ac_cv_lib_soname_ssl" = "x"
15527 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15530 echo "$as_me: failed program was:" >&5
15531 sed 's/^/| /' conftest.$ac_ext >&5
15533 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15536 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15537 conftest$ac_exeext conftest.$ac_ext
15538 LIBS=$ac_get_soname_save_LIBS
15540 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15541 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
15542 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15544 cat >>confdefs.h <<_ACEOF
15545 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15550 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15551 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
15552 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15553 echo $ECHO_N "(cached) $ECHO_C" >&6
15555 ac_get_soname_save_LIBS=$LIBS
15556 LIBS="-lcrypto $LIBS"
15557 cat >conftest.$ac_ext <<_ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h. */
15564 /* Override any GCC internal prototype to avoid an error.
15565 Use char because int might match the return type of a GCC
15566 builtin and then its argument prototype would still apply. */
15570 char BIO_new_socket ();
15574 return BIO_new_socket ();
15579 rm -f conftest.$ac_objext conftest$ac_exeext
15580 if { (ac_try="$ac_link"
15581 case "(($ac_try" in
15582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15583 *) ac_try_echo=$ac_try;;
15585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15586 (eval "$ac_link") 2>conftest.er1
15588 grep -v '^ *+' conftest.er1 >conftest.err
15590 cat conftest.err >&5
15591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15592 (exit $ac_status); } && {
15593 test -z "$ac_c_werror_flag" ||
15594 test ! -s conftest.err
15595 } && test -s conftest$ac_exeext &&
15596 $as_test_x conftest$ac_exeext; then
15598 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'` ;;
15599 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15601 if test "x$ac_cv_lib_soname_crypto" = "x"
15603 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15606 echo "$as_me: failed program was:" >&5
15607 sed 's/^/| /' conftest.$ac_ext >&5
15609 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15613 conftest$ac_exeext conftest.$ac_ext
15614 LIBS=$ac_get_soname_save_LIBS
15616 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15617 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
15618 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15620 cat >>confdefs.h <<_ACEOF
15621 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15626 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15627 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
15628 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15631 ac_get_soname_save_LIBS=$LIBS
15632 LIBS="-lncurses $LIBS"
15633 cat >conftest.$ac_ext <<_ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15640 /* Override any GCC internal prototype to avoid an error.
15641 Use char because int might match the return type of a GCC
15642 builtin and then its argument prototype would still apply. */
15655 rm -f conftest.$ac_objext conftest$ac_exeext
15656 if { (ac_try="$ac_link"
15657 case "(($ac_try" in
15658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15659 *) ac_try_echo=$ac_try;;
15661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15662 (eval "$ac_link") 2>conftest.er1
15664 grep -v '^ *+' conftest.er1 >conftest.err
15666 cat conftest.err >&5
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); } && {
15669 test -z "$ac_c_werror_flag" ||
15670 test ! -s conftest.err
15671 } && test -s conftest$ac_exeext &&
15672 $as_test_x conftest$ac_exeext; then
15674 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'` ;;
15675 so) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15677 if test "x$ac_cv_lib_soname_ncurses" = "x"
15679 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15685 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15689 conftest$ac_exeext conftest.$ac_ext
15690 LIBS=$ac_get_soname_save_LIBS
15692 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15693 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
15694 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15696 cat >>confdefs.h <<_ACEOF
15697 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15702 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15703 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
15704 if test "${ac_cv_lib_soname_curses+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 ac_get_soname_save_LIBS=$LIBS
15708 LIBS="-lcurses $LIBS"
15709 cat >conftest.$ac_ext <<_ACEOF
15712 cat confdefs.h >>conftest.$ac_ext
15713 cat >>conftest.$ac_ext <<_ACEOF
15714 /* end confdefs.h. */
15716 /* Override any GCC internal prototype to avoid an error.
15717 Use char because int might match the return type of a GCC
15718 builtin and then its argument prototype would still apply. */
15731 rm -f conftest.$ac_objext conftest$ac_exeext
15732 if { (ac_try="$ac_link"
15733 case "(($ac_try" in
15734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15735 *) ac_try_echo=$ac_try;;
15737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15738 (eval "$ac_link") 2>conftest.er1
15740 grep -v '^ *+' conftest.er1 >conftest.err
15742 cat conftest.err >&5
15743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15744 (exit $ac_status); } && {
15745 test -z "$ac_c_werror_flag" ||
15746 test ! -s conftest.err
15747 } && test -s conftest$ac_exeext &&
15748 $as_test_x conftest$ac_exeext; then
15750 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'` ;;
15751 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15753 if test "x$ac_cv_lib_soname_curses" = "x"
15755 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15758 echo "$as_me: failed program was:" >&5
15759 sed 's/^/| /' conftest.$ac_ext >&5
15761 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15765 conftest$ac_exeext conftest.$ac_ext
15766 LIBS=$ac_get_soname_save_LIBS
15768 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15769 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
15770 if test "${ac_cv_lib_soname_curses+set}" = set; then
15772 cat >>confdefs.h <<_ACEOF
15773 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15778 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15779 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
15780 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15781 echo $ECHO_N "(cached) $ECHO_C" >&6
15783 ac_get_soname_save_LIBS=$LIBS
15784 LIBS="-ljpeg $LIBS"
15785 cat >conftest.$ac_ext <<_ACEOF
15788 cat confdefs.h >>conftest.$ac_ext
15789 cat >>conftest.$ac_ext <<_ACEOF
15790 /* end confdefs.h. */
15792 /* Override any GCC internal prototype to avoid an error.
15793 Use char because int might match the return type of a GCC
15794 builtin and then its argument prototype would still apply. */
15798 char jpeg_start_decompress ();
15802 return jpeg_start_decompress ();
15807 rm -f conftest.$ac_objext conftest$ac_exeext
15808 if { (ac_try="$ac_link"
15809 case "(($ac_try" in
15810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15811 *) ac_try_echo=$ac_try;;
15813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15814 (eval "$ac_link") 2>conftest.er1
15816 grep -v '^ *+' conftest.er1 >conftest.err
15818 cat conftest.err >&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } && {
15821 test -z "$ac_c_werror_flag" ||
15822 test ! -s conftest.err
15823 } && test -s conftest$ac_exeext &&
15824 $as_test_x conftest$ac_exeext; then
15826 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'` ;;
15827 so) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15829 if test "x$ac_cv_lib_soname_jpeg" = "x"
15831 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15837 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15841 conftest$ac_exeext conftest.$ac_ext
15842 LIBS=$ac_get_soname_save_LIBS
15844 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15845 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
15846 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15848 cat >>confdefs.h <<_ACEOF
15849 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15854 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15855 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
15856 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15859 ac_get_soname_save_LIBS=$LIBS
15860 LIBS="-lcapi20 $LIBS"
15861 cat >conftest.$ac_ext <<_ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15868 /* Override any GCC internal prototype to avoid an error.
15869 Use char because int might match the return type of a GCC
15870 builtin and then its argument prototype would still apply. */
15874 char capi20_isinstalled ();
15878 return capi20_isinstalled ();
15883 rm -f conftest.$ac_objext conftest$ac_exeext
15884 if { (ac_try="$ac_link"
15885 case "(($ac_try" in
15886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15887 *) ac_try_echo=$ac_try;;
15889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15890 (eval "$ac_link") 2>conftest.er1
15892 grep -v '^ *+' conftest.er1 >conftest.err
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } && {
15897 test -z "$ac_c_werror_flag" ||
15898 test ! -s conftest.err
15899 } && test -s conftest$ac_exeext &&
15900 $as_test_x conftest$ac_exeext; then
15902 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'` ;;
15903 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.so | sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
15905 if test "x$ac_cv_lib_soname_capi20" = "x"
15907 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15910 echo "$as_me: failed program was:" >&5
15911 sed 's/^/| /' conftest.$ac_ext >&5
15913 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
15916 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15917 conftest$ac_exeext conftest.$ac_ext
15918 LIBS=$ac_get_soname_save_LIBS
15920 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
15921 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
15922 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15924 cat >>confdefs.h <<_ACEOF
15925 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
16079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16080 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16082 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16083 echo $ECHO_N "(cached) $ECHO_C" >&6
16085 cat >conftest.$ac_ext <<_ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16093 #define $ac_func innocuous_$ac_func
16095 /* System header to define __stub macros and hopefully few prototypes,
16096 which can conflict with char $ac_func (); below.
16097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16098 <limits.h> exists even on freestanding compilers. */
16101 # include <limits.h>
16103 # include <assert.h>
16108 /* Override any GCC internal prototype to avoid an error.
16109 Use char because int might match the return type of a GCC
16110 builtin and then its argument prototype would still apply. */
16115 /* The GNU C library defines this for functions which it implements
16116 to always fail with ENOSYS. Some functions are actually named
16117 something starting with __ and the normal name is an alias. */
16118 #if defined __stub_$ac_func || defined __stub___$ac_func
16125 return $ac_func ();
16130 rm -f conftest.$ac_objext conftest$ac_exeext
16131 if { (ac_try="$ac_link"
16132 case "(($ac_try" in
16133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16134 *) ac_try_echo=$ac_try;;
16136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16137 (eval "$ac_link") 2>conftest.er1
16139 grep -v '^ *+' conftest.er1 >conftest.err
16141 cat conftest.err >&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } && {
16144 test -z "$ac_c_werror_flag" ||
16145 test ! -s conftest.err
16146 } && test -s conftest$ac_exeext &&
16147 $as_test_x conftest$ac_exeext; then
16148 eval "$as_ac_var=yes"
16150 echo "$as_me: failed program was:" >&5
16151 sed 's/^/| /' conftest.$ac_ext >&5
16153 eval "$as_ac_var=no"
16156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16157 conftest$ac_exeext conftest.$ac_ext
16159 ac_res=`eval echo '${'$as_ac_var'}'`
16160 { echo "$as_me:$LINENO: result: $ac_res" >&5
16161 echo "${ECHO_T}$ac_res" >&6; }
16162 if test `eval echo '${'$as_ac_var'}'` = yes; then
16163 cat >>confdefs.h <<_ACEOF
16164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16171 if test "$ac_cv_func_dlopen" = no
16173 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16174 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
16175 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16178 ac_check_lib_save_LIBS=$LIBS
16180 cat >conftest.$ac_ext <<_ACEOF
16183 cat confdefs.h >>conftest.$ac_ext
16184 cat >>conftest.$ac_ext <<_ACEOF
16185 /* end confdefs.h. */
16187 /* Override any GCC internal prototype to avoid an error.
16188 Use char because int might match the return type of a GCC
16189 builtin and then its argument prototype would still apply. */
16202 rm -f conftest.$ac_objext conftest$ac_exeext
16203 if { (ac_try="$ac_link"
16204 case "(($ac_try" in
16205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16206 *) ac_try_echo=$ac_try;;
16208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16209 (eval "$ac_link") 2>conftest.er1
16211 grep -v '^ *+' conftest.er1 >conftest.err
16213 cat conftest.err >&5
16214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16215 (exit $ac_status); } && {
16216 test -z "$ac_c_werror_flag" ||
16217 test ! -s conftest.err
16218 } && test -s conftest$ac_exeext &&
16219 $as_test_x conftest$ac_exeext; then
16220 ac_cv_lib_dl_dlopen=yes
16222 echo "$as_me: failed program was:" >&5
16223 sed 's/^/| /' conftest.$ac_ext >&5
16225 ac_cv_lib_dl_dlopen=no
16228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16229 conftest$ac_exeext conftest.$ac_ext
16230 LIBS=$ac_check_lib_save_LIBS
16232 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16233 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
16234 if test $ac_cv_lib_dl_dlopen = yes; then
16235 cat >>confdefs.h <<\_ACEOF
16236 #define HAVE_DLOPEN 1
16243 ac_wine_check_funcs_save_LIBS="$LIBS"
16244 LIBS="$LIBS $LIBDL"
16246 for ac_func in dladdr
16248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16249 { echo "$as_me:$LINENO: checking for $ac_func" >&5
16250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
16251 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16252 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 cat >conftest.$ac_ext <<_ACEOF
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16262 #define $ac_func innocuous_$ac_func
16264 /* System header to define __stub macros and hopefully few prototypes,
16265 which can conflict with char $ac_func (); below.
16266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16267 <limits.h> exists even on freestanding compilers. */
16270 # include <limits.h>
16272 # include <assert.h>
16277 /* Override any GCC internal prototype to avoid an error.
16278 Use char because int might match the return type of a GCC
16279 builtin and then its argument prototype would still apply. */
16284 /* The GNU C library defines this for functions which it implements
16285 to always fail with ENOSYS. Some functions are actually named
16286 something starting with __ and the normal name is an alias. */
16287 #if defined __stub_$ac_func || defined __stub___$ac_func
16294 return $ac_func ();
16299 rm -f conftest.$ac_objext conftest$ac_exeext
16300 if { (ac_try="$ac_link"
16301 case "(($ac_try" in
16302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16303 *) ac_try_echo=$ac_try;;
16305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16306 (eval "$ac_link") 2>conftest.er1
16308 grep -v '^ *+' conftest.er1 >conftest.err
16310 cat conftest.err >&5
16311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16312 (exit $ac_status); } && {
16313 test -z "$ac_c_werror_flag" ||
16314 test ! -s conftest.err
16315 } && test -s conftest$ac_exeext &&
16316 $as_test_x conftest$ac_exeext; then
16317 eval "$as_ac_var=yes"
16319 echo "$as_me: failed program was:" >&5
16320 sed 's/^/| /' conftest.$ac_ext >&5
16322 eval "$as_ac_var=no"
16325 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16326 conftest$ac_exeext conftest.$ac_ext
16328 ac_res=`eval echo '${'$as_ac_var'}'`
16329 { echo "$as_me:$LINENO: result: $ac_res" >&5
16330 echo "${ECHO_T}$ac_res" >&6; }
16331 if test `eval echo '${'$as_ac_var'}'` = yes; then
16332 cat >>confdefs.h <<_ACEOF
16333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16339 LIBS="$ac_wine_check_funcs_save_LIBS"
16341 if test "$ac_cv_func_poll" = no
16343 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
16344 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
16345 if test "${ac_cv_lib_poll_poll+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 ac_check_lib_save_LIBS=$LIBS
16349 LIBS="-lpoll $LIBS"
16350 cat >conftest.$ac_ext <<_ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16357 /* Override any GCC internal prototype to avoid an error.
16358 Use char because int might match the return type of a GCC
16359 builtin and then its argument prototype would still apply. */
16372 rm -f conftest.$ac_objext conftest$ac_exeext
16373 if { (ac_try="$ac_link"
16374 case "(($ac_try" in
16375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16379 (eval "$ac_link") 2>conftest.er1
16381 grep -v '^ *+' conftest.er1 >conftest.err
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } && {
16386 test -z "$ac_c_werror_flag" ||
16387 test ! -s conftest.err
16388 } && test -s conftest$ac_exeext &&
16389 $as_test_x conftest$ac_exeext; then
16390 ac_cv_lib_poll_poll=yes
16392 echo "$as_me: failed program was:" >&5
16393 sed 's/^/| /' conftest.$ac_ext >&5
16395 ac_cv_lib_poll_poll=no
16398 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16399 conftest$ac_exeext conftest.$ac_ext
16400 LIBS=$ac_check_lib_save_LIBS
16402 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
16403 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
16404 if test $ac_cv_lib_poll_poll = yes; then
16405 cat >>confdefs.h <<\_ACEOF
16406 #define HAVE_POLL 1
16414 if test "$ac_cv_func_gethostbyname" = no
16417 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
16418 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
16419 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
16420 echo $ECHO_N "(cached) $ECHO_C" >&6
16422 ac_check_lib_save_LIBS=$LIBS
16424 cat >conftest.$ac_ext <<_ACEOF
16427 cat confdefs.h >>conftest.$ac_ext
16428 cat >>conftest.$ac_ext <<_ACEOF
16429 /* end confdefs.h. */
16431 /* Override any GCC internal prototype to avoid an error.
16432 Use char because int might match the return type of a GCC
16433 builtin and then its argument prototype would still apply. */
16437 char gethostbyname ();
16441 return gethostbyname ();
16446 rm -f conftest.$ac_objext conftest$ac_exeext
16447 if { (ac_try="$ac_link"
16448 case "(($ac_try" in
16449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16450 *) ac_try_echo=$ac_try;;
16452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16453 (eval "$ac_link") 2>conftest.er1
16455 grep -v '^ *+' conftest.er1 >conftest.err
16457 cat conftest.err >&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } && {
16460 test -z "$ac_c_werror_flag" ||
16461 test ! -s conftest.err
16462 } && test -s conftest$ac_exeext &&
16463 $as_test_x conftest$ac_exeext; then
16464 ac_cv_lib_nsl_gethostbyname=yes
16466 echo "$as_me: failed program was:" >&5
16467 sed 's/^/| /' conftest.$ac_ext >&5
16469 ac_cv_lib_nsl_gethostbyname=no
16472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16473 conftest$ac_exeext conftest.$ac_ext
16474 LIBS=$ac_check_lib_save_LIBS
16476 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
16477 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
16478 if test $ac_cv_lib_nsl_gethostbyname = yes; then
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_LIBNSL 1
16489 if test "$ac_cv_func_connect" = no
16492 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
16493 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
16494 if test "${ac_cv_lib_socket_connect+set}" = set; then
16495 echo $ECHO_N "(cached) $ECHO_C" >&6
16497 ac_check_lib_save_LIBS=$LIBS
16498 LIBS="-lsocket $LIBS"
16499 cat >conftest.$ac_ext <<_ACEOF
16502 cat confdefs.h >>conftest.$ac_ext
16503 cat >>conftest.$ac_ext <<_ACEOF
16504 /* end confdefs.h. */
16506 /* Override any GCC internal prototype to avoid an error.
16507 Use char because int might match the return type of a GCC
16508 builtin and then its argument prototype would still apply. */
16521 rm -f conftest.$ac_objext conftest$ac_exeext
16522 if { (ac_try="$ac_link"
16523 case "(($ac_try" in
16524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16525 *) ac_try_echo=$ac_try;;
16527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16528 (eval "$ac_link") 2>conftest.er1
16530 grep -v '^ *+' conftest.er1 >conftest.err
16532 cat conftest.err >&5
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); } && {
16535 test -z "$ac_c_werror_flag" ||
16536 test ! -s conftest.err
16537 } && test -s conftest$ac_exeext &&
16538 $as_test_x conftest$ac_exeext; then
16539 ac_cv_lib_socket_connect=yes
16541 echo "$as_me: failed program was:" >&5
16542 sed 's/^/| /' conftest.$ac_ext >&5
16544 ac_cv_lib_socket_connect=no
16547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16548 conftest$ac_exeext conftest.$ac_ext
16549 LIBS=$ac_check_lib_save_LIBS
16551 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
16552 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
16553 if test $ac_cv_lib_socket_connect = yes; then
16554 cat >>confdefs.h <<_ACEOF
16555 #define HAVE_LIBSOCKET 1
16558 LIBS="-lsocket $LIBS"
16564 if test "$ac_cv_func_inet_aton" = no
16567 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
16568 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
16569 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lresolv $LIBS"
16574 cat >conftest.$ac_ext <<_ACEOF
16577 cat confdefs.h >>conftest.$ac_ext
16578 cat >>conftest.$ac_ext <<_ACEOF
16579 /* end confdefs.h. */
16581 /* Override any GCC internal prototype to avoid an error.
16582 Use char because int might match the return type of a GCC
16583 builtin and then its argument prototype would still apply. */
16591 return inet_aton ();
16596 rm -f conftest.$ac_objext conftest$ac_exeext
16597 if { (ac_try="$ac_link"
16598 case "(($ac_try" in
16599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16600 *) ac_try_echo=$ac_try;;
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16603 (eval "$ac_link") 2>conftest.er1
16605 grep -v '^ *+' conftest.er1 >conftest.err
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } && {
16610 test -z "$ac_c_werror_flag" ||
16611 test ! -s conftest.err
16612 } && test -s conftest$ac_exeext &&
16613 $as_test_x conftest$ac_exeext; then
16614 ac_cv_lib_resolv_inet_aton=yes
16616 echo "$as_me: failed program was:" >&5
16617 sed 's/^/| /' conftest.$ac_ext >&5
16619 ac_cv_lib_resolv_inet_aton=no
16622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16623 conftest$ac_exeext conftest.$ac_ext
16624 LIBS=$ac_check_lib_save_LIBS
16626 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
16627 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
16628 if test $ac_cv_lib_resolv_inet_aton = yes; then
16629 cat >>confdefs.h <<_ACEOF
16630 #define HAVE_LIBRESOLV 1
16633 LIBS="-lresolv $LIBS"
16640 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16641 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
16642 if test "${ac_cv_c_const+set}" = set; then
16643 echo $ECHO_N "(cached) $ECHO_C" >&6
16645 cat >conftest.$ac_ext <<_ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h. */
16655 /* FIXME: Include the comments suggested by Paul. */
16656 #ifndef __cplusplus
16657 /* Ultrix mips cc rejects this. */
16658 typedef int charset[2];
16660 /* SunOS 4.1.1 cc rejects this. */
16661 char const *const *pcpcc;
16663 /* NEC SVR4.0.2 mips cc rejects this. */
16664 struct point {int x, y;};
16665 static struct point const zero = {0,0};
16666 /* AIX XL C 1.02.0.0 rejects this.
16667 It does not let you subtract one const X* pointer from another in
16668 an arm of an if-expression whose if-part is not a constant
16670 const char *g = "string";
16671 pcpcc = &g + (g ? g-g : 0);
16672 /* HPUX 7.0 cc rejects these. */
16674 ppc = (char**) pcpcc;
16675 pcpcc = (char const *const *) ppc;
16676 { /* SCO 3.2v4 cc rejects this. */
16678 char const *s = 0 ? (char *) 0 : (char const *) 0;
16683 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16684 int x[] = {25, 17};
16685 const int *foo = &x[0];
16688 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16689 typedef const int *iptr;
16693 { /* AIX XL C 1.02.0.0 rejects this saying
16694 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16695 struct s { int j; const int *ap[3]; };
16696 struct s *b; b->j = 5;
16698 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16699 const int foo = 10;
16700 if (!foo) return 0;
16702 return !cs[0] && !zero.x;
16709 rm -f conftest.$ac_objext
16710 if { (ac_try="$ac_compile"
16711 case "(($ac_try" in
16712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16713 *) ac_try_echo=$ac_try;;
16715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16716 (eval "$ac_compile") 2>conftest.er1
16718 grep -v '^ *+' conftest.er1 >conftest.err
16720 cat conftest.err >&5
16721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16722 (exit $ac_status); } && {
16723 test -z "$ac_c_werror_flag" ||
16724 test ! -s conftest.err
16725 } && test -s conftest.$ac_objext; then
16728 echo "$as_me: failed program was:" >&5
16729 sed 's/^/| /' conftest.$ac_ext >&5
16734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16736 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16737 echo "${ECHO_T}$ac_cv_c_const" >&6; }
16738 if test $ac_cv_c_const = no; then
16740 cat >>confdefs.h <<\_ACEOF
16746 { echo "$as_me:$LINENO: checking for inline" >&5
16747 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
16748 if test "${ac_cv_c_inline+set}" = set; then
16749 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 for ac_kw in inline __inline__ __inline; do
16753 cat >conftest.$ac_ext <<_ACEOF
16756 cat confdefs.h >>conftest.$ac_ext
16757 cat >>conftest.$ac_ext <<_ACEOF
16758 /* end confdefs.h. */
16759 #ifndef __cplusplus
16761 static $ac_kw foo_t static_foo () {return 0; }
16762 $ac_kw foo_t foo () {return 0; }
16766 rm -f conftest.$ac_objext
16767 if { (ac_try="$ac_compile"
16768 case "(($ac_try" in
16769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16770 *) ac_try_echo=$ac_try;;
16772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16773 (eval "$ac_compile") 2>conftest.er1
16775 grep -v '^ *+' conftest.er1 >conftest.err
16777 cat conftest.err >&5
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); } && {
16780 test -z "$ac_c_werror_flag" ||
16781 test ! -s conftest.err
16782 } && test -s conftest.$ac_objext; then
16783 ac_cv_c_inline=$ac_kw
16785 echo "$as_me: failed program was:" >&5
16786 sed 's/^/| /' conftest.$ac_ext >&5
16791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16792 test "$ac_cv_c_inline" != no && break
16796 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16797 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
16800 case $ac_cv_c_inline in
16803 case $ac_cv_c_inline in
16805 *) ac_val=$ac_cv_c_inline;;
16807 cat >>confdefs.h <<_ACEOF
16808 #ifndef __cplusplus
16809 #define inline $ac_val
16815 { echo "$as_me:$LINENO: checking for mode_t" >&5
16816 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
16817 if test "${ac_cv_type_mode_t+set}" = set; then
16818 echo $ECHO_N "(cached) $ECHO_C" >&6
16820 cat >conftest.$ac_ext <<_ACEOF
16823 cat confdefs.h >>conftest.$ac_ext
16824 cat >>conftest.$ac_ext <<_ACEOF
16825 /* end confdefs.h. */
16826 $ac_includes_default
16827 typedef mode_t ac__type_new_;
16831 if ((ac__type_new_ *) 0)
16833 if (sizeof (ac__type_new_))
16839 rm -f conftest.$ac_objext
16840 if { (ac_try="$ac_compile"
16841 case "(($ac_try" in
16842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16843 *) ac_try_echo=$ac_try;;
16845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16846 (eval "$ac_compile") 2>conftest.er1
16848 grep -v '^ *+' conftest.er1 >conftest.err
16850 cat conftest.err >&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); } && {
16853 test -z "$ac_c_werror_flag" ||
16854 test ! -s conftest.err
16855 } && test -s conftest.$ac_objext; then
16856 ac_cv_type_mode_t=yes
16858 echo "$as_me: failed program was:" >&5
16859 sed 's/^/| /' conftest.$ac_ext >&5
16861 ac_cv_type_mode_t=no
16864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16866 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16867 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
16868 if test $ac_cv_type_mode_t = yes; then
16870 cat >>confdefs.h <<_ACEOF
16871 #define HAVE_MODE_T 1
16876 { echo "$as_me:$LINENO: checking for off_t" >&5
16877 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
16878 if test "${ac_cv_type_off_t+set}" = set; then
16879 echo $ECHO_N "(cached) $ECHO_C" >&6
16881 cat >conftest.$ac_ext <<_ACEOF
16884 cat confdefs.h >>conftest.$ac_ext
16885 cat >>conftest.$ac_ext <<_ACEOF
16886 /* end confdefs.h. */
16887 $ac_includes_default
16888 typedef off_t ac__type_new_;
16892 if ((ac__type_new_ *) 0)
16894 if (sizeof (ac__type_new_))
16900 rm -f conftest.$ac_objext
16901 if { (ac_try="$ac_compile"
16902 case "(($ac_try" in
16903 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16904 *) ac_try_echo=$ac_try;;
16906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16907 (eval "$ac_compile") 2>conftest.er1
16909 grep -v '^ *+' conftest.er1 >conftest.err
16911 cat conftest.err >&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); } && {
16914 test -z "$ac_c_werror_flag" ||
16915 test ! -s conftest.err
16916 } && test -s conftest.$ac_objext; then
16917 ac_cv_type_off_t=yes
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16922 ac_cv_type_off_t=no
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16927 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16928 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
16929 if test $ac_cv_type_off_t = yes; then
16931 cat >>confdefs.h <<_ACEOF
16932 #define HAVE_OFF_T 1
16937 { echo "$as_me:$LINENO: checking for pid_t" >&5
16938 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
16939 if test "${ac_cv_type_pid_t+set}" = set; then
16940 echo $ECHO_N "(cached) $ECHO_C" >&6
16942 cat >conftest.$ac_ext <<_ACEOF
16945 cat confdefs.h >>conftest.$ac_ext
16946 cat >>conftest.$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 $ac_includes_default
16949 typedef pid_t ac__type_new_;
16953 if ((ac__type_new_ *) 0)
16955 if (sizeof (ac__type_new_))
16961 rm -f conftest.$ac_objext
16962 if { (ac_try="$ac_compile"
16963 case "(($ac_try" in
16964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16965 *) ac_try_echo=$ac_try;;
16967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16968 (eval "$ac_compile") 2>conftest.er1
16970 grep -v '^ *+' conftest.er1 >conftest.err
16972 cat conftest.err >&5
16973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16974 (exit $ac_status); } && {
16975 test -z "$ac_c_werror_flag" ||
16976 test ! -s conftest.err
16977 } && test -s conftest.$ac_objext; then
16978 ac_cv_type_pid_t=yes
16980 echo "$as_me: failed program was:" >&5
16981 sed 's/^/| /' conftest.$ac_ext >&5
16983 ac_cv_type_pid_t=no
16986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16988 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16989 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
16990 if test $ac_cv_type_pid_t = yes; then
16992 cat >>confdefs.h <<_ACEOF
16993 #define HAVE_PID_T 1
16998 { echo "$as_me:$LINENO: checking for size_t" >&5
16999 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
17000 if test "${ac_cv_type_size_t+set}" = set; then
17001 echo $ECHO_N "(cached) $ECHO_C" >&6
17003 cat >conftest.$ac_ext <<_ACEOF
17006 cat confdefs.h >>conftest.$ac_ext
17007 cat >>conftest.$ac_ext <<_ACEOF
17008 /* end confdefs.h. */
17009 $ac_includes_default
17010 typedef size_t ac__type_new_;
17014 if ((ac__type_new_ *) 0)
17016 if (sizeof (ac__type_new_))
17022 rm -f conftest.$ac_objext
17023 if { (ac_try="$ac_compile"
17024 case "(($ac_try" in
17025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17026 *) ac_try_echo=$ac_try;;
17028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17029 (eval "$ac_compile") 2>conftest.er1
17031 grep -v '^ *+' conftest.er1 >conftest.err
17033 cat conftest.err >&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); } && {
17036 test -z "$ac_c_werror_flag" ||
17037 test ! -s conftest.err
17038 } && test -s conftest.$ac_objext; then
17039 ac_cv_type_size_t=yes
17041 echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.$ac_ext >&5
17044 ac_cv_type_size_t=no
17047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17049 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17050 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
17051 if test $ac_cv_type_size_t = yes; then
17053 cat >>confdefs.h <<_ACEOF
17054 #define HAVE_SIZE_T 1
17059 { echo "$as_me:$LINENO: checking for ssize_t" >&5
17060 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
17061 if test "${ac_cv_type_ssize_t+set}" = set; then
17062 echo $ECHO_N "(cached) $ECHO_C" >&6
17064 cat >conftest.$ac_ext <<_ACEOF
17067 cat confdefs.h >>conftest.$ac_ext
17068 cat >>conftest.$ac_ext <<_ACEOF
17069 /* end confdefs.h. */
17070 $ac_includes_default
17071 typedef ssize_t ac__type_new_;
17075 if ((ac__type_new_ *) 0)
17077 if (sizeof (ac__type_new_))
17083 rm -f conftest.$ac_objext
17084 if { (ac_try="$ac_compile"
17085 case "(($ac_try" in
17086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17087 *) ac_try_echo=$ac_try;;
17089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17090 (eval "$ac_compile") 2>conftest.er1
17092 grep -v '^ *+' conftest.er1 >conftest.err
17094 cat conftest.err >&5
17095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17096 (exit $ac_status); } && {
17097 test -z "$ac_c_werror_flag" ||
17098 test ! -s conftest.err
17099 } && test -s conftest.$ac_objext; then
17100 ac_cv_type_ssize_t=yes
17102 echo "$as_me: failed program was:" >&5
17103 sed 's/^/| /' conftest.$ac_ext >&5
17105 ac_cv_type_ssize_t=no
17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17110 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17111 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
17112 if test $ac_cv_type_ssize_t = yes; then
17114 cat >>confdefs.h <<_ACEOF
17115 #define HAVE_SSIZE_T 1
17120 { echo "$as_me:$LINENO: checking for long long" >&5
17121 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
17122 if test "${ac_cv_type_long_long+set}" = set; then
17123 echo $ECHO_N "(cached) $ECHO_C" >&6
17125 cat >conftest.$ac_ext <<_ACEOF
17128 cat confdefs.h >>conftest.$ac_ext
17129 cat >>conftest.$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131 $ac_includes_default
17132 typedef long long ac__type_new_;
17136 if ((ac__type_new_ *) 0)
17138 if (sizeof (ac__type_new_))
17144 rm -f conftest.$ac_objext
17145 if { (ac_try="$ac_compile"
17146 case "(($ac_try" in
17147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17148 *) ac_try_echo=$ac_try;;
17150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17151 (eval "$ac_compile") 2>conftest.er1
17153 grep -v '^ *+' conftest.er1 >conftest.err
17155 cat conftest.err >&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } && {
17158 test -z "$ac_c_werror_flag" ||
17159 test ! -s conftest.err
17160 } && test -s conftest.$ac_objext; then
17161 ac_cv_type_long_long=yes
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17166 ac_cv_type_long_long=no
17169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17171 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17172 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
17173 if test $ac_cv_type_long_long = yes; then
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_LONG_LONG 1
17181 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17182 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
17183 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17184 echo $ECHO_N "(cached) $ECHO_C" >&6
17186 cat >conftest.$ac_ext <<_ACEOF
17189 cat confdefs.h >>conftest.$ac_ext
17190 cat >>conftest.$ac_ext <<_ACEOF
17191 /* end confdefs.h. */
17192 $ac_includes_default
17193 typedef fsblkcnt_t ac__type_new_;
17197 if ((ac__type_new_ *) 0)
17199 if (sizeof (ac__type_new_))
17205 rm -f conftest.$ac_objext
17206 if { (ac_try="$ac_compile"
17207 case "(($ac_try" in
17208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17209 *) ac_try_echo=$ac_try;;
17211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17212 (eval "$ac_compile") 2>conftest.er1
17214 grep -v '^ *+' conftest.er1 >conftest.err
17216 cat conftest.err >&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } && {
17219 test -z "$ac_c_werror_flag" ||
17220 test ! -s conftest.err
17221 } && test -s conftest.$ac_objext; then
17222 ac_cv_type_fsblkcnt_t=yes
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17227 ac_cv_type_fsblkcnt_t=no
17230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17232 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17233 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
17234 if test $ac_cv_type_fsblkcnt_t = yes; then
17236 cat >>confdefs.h <<_ACEOF
17237 #define HAVE_FSBLKCNT_T 1
17242 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17243 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
17244 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17245 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 cat >conftest.$ac_ext <<_ACEOF
17250 cat confdefs.h >>conftest.$ac_ext
17251 cat >>conftest.$ac_ext <<_ACEOF
17252 /* end confdefs.h. */
17253 $ac_includes_default
17254 typedef fsfilcnt_t ac__type_new_;
17258 if ((ac__type_new_ *) 0)
17260 if (sizeof (ac__type_new_))
17266 rm -f conftest.$ac_objext
17267 if { (ac_try="$ac_compile"
17268 case "(($ac_try" in
17269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17270 *) ac_try_echo=$ac_try;;
17272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17273 (eval "$ac_compile") 2>conftest.er1
17275 grep -v '^ *+' conftest.er1 >conftest.err
17277 cat conftest.err >&5
17278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17279 (exit $ac_status); } && {
17280 test -z "$ac_c_werror_flag" ||
17281 test ! -s conftest.err
17282 } && test -s conftest.$ac_objext; then
17283 ac_cv_type_fsfilcnt_t=yes
17285 echo "$as_me: failed program was:" >&5
17286 sed 's/^/| /' conftest.$ac_ext >&5
17288 ac_cv_type_fsfilcnt_t=no
17291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17293 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17294 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
17295 if test $ac_cv_type_fsfilcnt_t = yes; then
17297 cat >>confdefs.h <<_ACEOF
17298 #define HAVE_FSFILCNT_T 1
17304 { echo "$as_me:$LINENO: checking for sigset_t" >&5
17305 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
17306 if test "${ac_cv_type_sigset_t+set}" = set; then
17307 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 cat >conftest.$ac_ext <<_ACEOF
17312 cat confdefs.h >>conftest.$ac_ext
17313 cat >>conftest.$ac_ext <<_ACEOF
17314 /* end confdefs.h. */
17315 #include <signal.h>
17317 typedef sigset_t ac__type_new_;
17321 if ((ac__type_new_ *) 0)
17323 if (sizeof (ac__type_new_))
17329 rm -f conftest.$ac_objext
17330 if { (ac_try="$ac_compile"
17331 case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_compile") 2>conftest.er1
17338 grep -v '^ *+' conftest.er1 >conftest.err
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_c_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest.$ac_objext; then
17346 ac_cv_type_sigset_t=yes
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17351 ac_cv_type_sigset_t=no
17354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17357 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
17358 if test $ac_cv_type_sigset_t = yes; then
17360 cat >>confdefs.h <<_ACEOF
17361 #define HAVE_SIGSET_T 1
17367 { echo "$as_me:$LINENO: checking for request_sense" >&5
17368 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
17369 if test "${ac_cv_type_request_sense+set}" = set; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17372 cat >conftest.$ac_ext <<_ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h. */
17378 #include <linux/cdrom.h>
17380 typedef request_sense ac__type_new_;
17384 if ((ac__type_new_ *) 0)
17386 if (sizeof (ac__type_new_))
17392 rm -f conftest.$ac_objext
17393 if { (ac_try="$ac_compile"
17394 case "(($ac_try" in
17395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17396 *) ac_try_echo=$ac_try;;
17398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17399 (eval "$ac_compile") 2>conftest.er1
17401 grep -v '^ *+' conftest.er1 >conftest.err
17403 cat conftest.err >&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && {
17406 test -z "$ac_c_werror_flag" ||
17407 test ! -s conftest.err
17408 } && test -s conftest.$ac_objext; then
17409 ac_cv_type_request_sense=yes
17411 echo "$as_me: failed program was:" >&5
17412 sed 's/^/| /' conftest.$ac_ext >&5
17414 ac_cv_type_request_sense=no
17417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17419 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17420 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
17421 if test $ac_cv_type_request_sense = yes; then
17423 cat >>confdefs.h <<_ACEOF
17424 #define HAVE_REQUEST_SENSE 1
17431 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17432 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
17433 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17434 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 cat >conftest.$ac_ext <<_ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 #ifdef HAVE_LINUX_INPUT_H
17443 #include <linux/input.h>
17449 static struct ff_effect ac_aggr;
17450 if (ac_aggr.direction)
17456 rm -f conftest.$ac_objext
17457 if { (ac_try="$ac_compile"
17458 case "(($ac_try" in
17459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17460 *) ac_try_echo=$ac_try;;
17462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17463 (eval "$ac_compile") 2>conftest.er1
17465 grep -v '^ *+' conftest.er1 >conftest.err
17467 cat conftest.err >&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } && {
17470 test -z "$ac_c_werror_flag" ||
17471 test ! -s conftest.err
17472 } && test -s conftest.$ac_objext; then
17473 ac_cv_member_struct_ff_effect_direction=yes
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17478 cat >conftest.$ac_ext <<_ACEOF
17481 cat confdefs.h >>conftest.$ac_ext
17482 cat >>conftest.$ac_ext <<_ACEOF
17483 /* end confdefs.h. */
17484 #ifdef HAVE_LINUX_INPUT_H
17485 #include <linux/input.h>
17491 static struct ff_effect ac_aggr;
17492 if (sizeof ac_aggr.direction)
17498 rm -f conftest.$ac_objext
17499 if { (ac_try="$ac_compile"
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_compile") 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 test -z "$ac_c_werror_flag" ||
17513 test ! -s conftest.err
17514 } && test -s conftest.$ac_objext; then
17515 ac_cv_member_struct_ff_effect_direction=yes
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17520 ac_cv_member_struct_ff_effect_direction=no
17523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17528 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17529 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
17530 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17532 cat >>confdefs.h <<_ACEOF
17533 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17540 { echo "$as_me:$LINENO: checking for sigaddset" >&5
17541 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
17542 if test "${wine_cv_have_sigaddset+set}" = set; then
17543 echo $ECHO_N "(cached) $ECHO_C" >&6
17545 cat >conftest.$ac_ext <<_ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 #include <signal.h>
17555 sigset_t set; sigaddset(&set,SIGTERM);
17560 rm -f conftest.$ac_objext conftest$ac_exeext
17561 if { (ac_try="$ac_link"
17562 case "(($ac_try" in
17563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17564 *) ac_try_echo=$ac_try;;
17566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17567 (eval "$ac_link") 2>conftest.er1
17569 grep -v '^ *+' conftest.er1 >conftest.err
17571 cat conftest.err >&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); } && {
17574 test -z "$ac_c_werror_flag" ||
17575 test ! -s conftest.err
17576 } && test -s conftest$ac_exeext &&
17577 $as_test_x conftest$ac_exeext; then
17578 wine_cv_have_sigaddset=yes
17580 echo "$as_me: failed program was:" >&5
17581 sed 's/^/| /' conftest.$ac_ext >&5
17583 wine_cv_have_sigaddset=no
17586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17587 conftest$ac_exeext conftest.$ac_ext
17589 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17590 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
17591 if test "$wine_cv_have_sigaddset" = "yes"
17594 cat >>confdefs.h <<\_ACEOF
17595 #define HAVE_SIGADDSET 1
17601 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17602 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
17603 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17606 cat >conftest.$ac_ext <<_ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17621 struct hostent *result;
17628 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17629 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17635 rm -f conftest.$ac_objext conftest$ac_exeext
17636 if { (ac_try="$ac_link"
17637 case "(($ac_try" in
17638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17639 *) ac_try_echo=$ac_try;;
17641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17642 (eval "$ac_link") 2>conftest.er1
17644 grep -v '^ *+' conftest.er1 >conftest.err
17646 cat conftest.err >&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } && {
17649 test -z "$ac_c_werror_flag" ||
17650 test ! -s conftest.err
17651 } && test -s conftest$ac_exeext &&
17652 $as_test_x conftest$ac_exeext; then
17653 wine_cv_linux_gethostbyname_r_6=yes
17655 echo "$as_me: failed program was:" >&5
17656 sed 's/^/| /' conftest.$ac_ext >&5
17658 wine_cv_linux_gethostbyname_r_6=no
17662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17663 conftest$ac_exeext conftest.$ac_ext
17666 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17667 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
17668 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17671 cat >>confdefs.h <<\_ACEOF
17672 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17677 if test "$ac_cv_header_linux_joystick_h" = "yes"
17679 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17680 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
17681 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17682 echo $ECHO_N "(cached) $ECHO_C" >&6
17684 cat >conftest.$ac_ext <<_ACEOF
17687 cat confdefs.h >>conftest.$ac_ext
17688 cat >>conftest.$ac_ext <<_ACEOF
17689 /* end confdefs.h. */
17691 #include <sys/ioctl.h>
17692 #include <linux/joystick.h>
17694 struct js_event blub;
17695 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17696 #error "no 2.2 header"
17707 rm -f conftest.$ac_objext
17708 if { (ac_try="$ac_compile"
17709 case "(($ac_try" in
17710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17711 *) ac_try_echo=$ac_try;;
17713 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17714 (eval "$ac_compile") 2>conftest.er1
17716 grep -v '^ *+' conftest.er1 >conftest.err
17718 cat conftest.err >&5
17719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17720 (exit $ac_status); } && {
17721 test -z "$ac_c_werror_flag" ||
17722 test ! -s conftest.err
17723 } && test -s conftest.$ac_objext; then
17724 wine_cv_linux_joystick_22_api=yes
17726 echo "$as_me: failed program was:" >&5
17727 sed 's/^/| /' conftest.$ac_ext >&5
17729 wine_cv_linux_joystick_22_api=no
17732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17735 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17736 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
17737 if test "$wine_cv_linux_joystick_22_api" = "yes"
17740 cat >>confdefs.h <<\_ACEOF
17741 #define HAVE_LINUX_22_JOYSTICK_API 1
17748 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17749 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
17750 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17753 cat >conftest.$ac_ext <<_ACEOF
17756 cat confdefs.h >>conftest.$ac_ext
17757 cat >>conftest.$ac_ext <<_ACEOF
17758 /* end confdefs.h. */
17759 #include <sys/types.h>
17760 #ifdef HAVE_SYS_PARAM_H
17761 # include <sys/param.h>
17763 #ifdef HAVE_SYS_MOUNT_H
17764 # include <sys/mount.h>
17766 #ifdef HAVE_SYS_VFS_H
17767 # include <sys/vfs.h>
17769 #ifdef HAVE_SYS_STATFS_H
17770 # include <sys/statfs.h>
17776 static struct statfs ac_aggr;
17777 if (ac_aggr.f_bfree)
17783 rm -f conftest.$ac_objext
17784 if { (ac_try="$ac_compile"
17785 case "(($ac_try" in
17786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17787 *) ac_try_echo=$ac_try;;
17789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17790 (eval "$ac_compile") 2>conftest.er1
17792 grep -v '^ *+' conftest.er1 >conftest.err
17794 cat conftest.err >&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); } && {
17797 test -z "$ac_c_werror_flag" ||
17798 test ! -s conftest.err
17799 } && test -s conftest.$ac_objext; then
17800 ac_cv_member_struct_statfs_f_bfree=yes
17802 echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17805 cat >conftest.$ac_ext <<_ACEOF
17808 cat confdefs.h >>conftest.$ac_ext
17809 cat >>conftest.$ac_ext <<_ACEOF
17810 /* end confdefs.h. */
17811 #include <sys/types.h>
17812 #ifdef HAVE_SYS_PARAM_H
17813 # include <sys/param.h>
17815 #ifdef HAVE_SYS_MOUNT_H
17816 # include <sys/mount.h>
17818 #ifdef HAVE_SYS_VFS_H
17819 # include <sys/vfs.h>
17821 #ifdef HAVE_SYS_STATFS_H
17822 # include <sys/statfs.h>
17828 static struct statfs ac_aggr;
17829 if (sizeof ac_aggr.f_bfree)
17835 rm -f conftest.$ac_objext
17836 if { (ac_try="$ac_compile"
17837 case "(($ac_try" in
17838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17839 *) ac_try_echo=$ac_try;;
17841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17842 (eval "$ac_compile") 2>conftest.er1
17844 grep -v '^ *+' conftest.er1 >conftest.err
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } && {
17849 test -z "$ac_c_werror_flag" ||
17850 test ! -s conftest.err
17851 } && test -s conftest.$ac_objext; then
17852 ac_cv_member_struct_statfs_f_bfree=yes
17854 echo "$as_me: failed program was:" >&5
17855 sed 's/^/| /' conftest.$ac_ext >&5
17857 ac_cv_member_struct_statfs_f_bfree=no
17860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17865 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17866 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
17867 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17869 cat >>confdefs.h <<_ACEOF
17870 #define HAVE_STRUCT_STATFS_F_BFREE 1
17875 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17876 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
17877 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17878 echo $ECHO_N "(cached) $ECHO_C" >&6
17880 cat >conftest.$ac_ext <<_ACEOF
17883 cat confdefs.h >>conftest.$ac_ext
17884 cat >>conftest.$ac_ext <<_ACEOF
17885 /* end confdefs.h. */
17886 #include <sys/types.h>
17887 #ifdef HAVE_SYS_PARAM_H
17888 # include <sys/param.h>
17890 #ifdef HAVE_SYS_MOUNT_H
17891 # include <sys/mount.h>
17893 #ifdef HAVE_SYS_VFS_H
17894 # include <sys/vfs.h>
17896 #ifdef HAVE_SYS_STATFS_H
17897 # include <sys/statfs.h>
17903 static struct statfs ac_aggr;
17904 if (ac_aggr.f_bavail)
17910 rm -f conftest.$ac_objext
17911 if { (ac_try="$ac_compile"
17912 case "(($ac_try" in
17913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17914 *) ac_try_echo=$ac_try;;
17916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17917 (eval "$ac_compile") 2>conftest.er1
17919 grep -v '^ *+' conftest.er1 >conftest.err
17921 cat conftest.err >&5
17922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17923 (exit $ac_status); } && {
17924 test -z "$ac_c_werror_flag" ||
17925 test ! -s conftest.err
17926 } && test -s conftest.$ac_objext; then
17927 ac_cv_member_struct_statfs_f_bavail=yes
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.$ac_ext >&5
17932 cat >conftest.$ac_ext <<_ACEOF
17935 cat confdefs.h >>conftest.$ac_ext
17936 cat >>conftest.$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938 #include <sys/types.h>
17939 #ifdef HAVE_SYS_PARAM_H
17940 # include <sys/param.h>
17942 #ifdef HAVE_SYS_MOUNT_H
17943 # include <sys/mount.h>
17945 #ifdef HAVE_SYS_VFS_H
17946 # include <sys/vfs.h>
17948 #ifdef HAVE_SYS_STATFS_H
17949 # include <sys/statfs.h>
17955 static struct statfs ac_aggr;
17956 if (sizeof ac_aggr.f_bavail)
17962 rm -f conftest.$ac_objext
17963 if { (ac_try="$ac_compile"
17964 case "(($ac_try" in
17965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17966 *) ac_try_echo=$ac_try;;
17968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17969 (eval "$ac_compile") 2>conftest.er1
17971 grep -v '^ *+' conftest.er1 >conftest.err
17973 cat conftest.err >&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } && {
17976 test -z "$ac_c_werror_flag" ||
17977 test ! -s conftest.err
17978 } && test -s conftest.$ac_objext; then
17979 ac_cv_member_struct_statfs_f_bavail=yes
17981 echo "$as_me: failed program was:" >&5
17982 sed 's/^/| /' conftest.$ac_ext >&5
17984 ac_cv_member_struct_statfs_f_bavail=no
17987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17992 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17993 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
17994 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17996 cat >>confdefs.h <<_ACEOF
17997 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18002 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18003 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
18004 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18005 echo $ECHO_N "(cached) $ECHO_C" >&6
18007 cat >conftest.$ac_ext <<_ACEOF
18010 cat confdefs.h >>conftest.$ac_ext
18011 cat >>conftest.$ac_ext <<_ACEOF
18012 /* end confdefs.h. */
18013 #include <sys/types.h>
18014 #ifdef HAVE_SYS_PARAM_H
18015 # include <sys/param.h>
18017 #ifdef HAVE_SYS_MOUNT_H
18018 # include <sys/mount.h>
18020 #ifdef HAVE_SYS_VFS_H
18021 # include <sys/vfs.h>
18023 #ifdef HAVE_SYS_STATFS_H
18024 # include <sys/statfs.h>
18030 static struct statfs ac_aggr;
18031 if (ac_aggr.f_frsize)
18037 rm -f conftest.$ac_objext
18038 if { (ac_try="$ac_compile"
18039 case "(($ac_try" in
18040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18041 *) ac_try_echo=$ac_try;;
18043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18044 (eval "$ac_compile") 2>conftest.er1
18046 grep -v '^ *+' conftest.er1 >conftest.err
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } && {
18051 test -z "$ac_c_werror_flag" ||
18052 test ! -s conftest.err
18053 } && test -s conftest.$ac_objext; then
18054 ac_cv_member_struct_statfs_f_frsize=yes
18056 echo "$as_me: failed program was:" >&5
18057 sed 's/^/| /' conftest.$ac_ext >&5
18059 cat >conftest.$ac_ext <<_ACEOF
18062 cat confdefs.h >>conftest.$ac_ext
18063 cat >>conftest.$ac_ext <<_ACEOF
18064 /* end confdefs.h. */
18065 #include <sys/types.h>
18066 #ifdef HAVE_SYS_PARAM_H
18067 # include <sys/param.h>
18069 #ifdef HAVE_SYS_MOUNT_H
18070 # include <sys/mount.h>
18072 #ifdef HAVE_SYS_VFS_H
18073 # include <sys/vfs.h>
18075 #ifdef HAVE_SYS_STATFS_H
18076 # include <sys/statfs.h>
18082 static struct statfs ac_aggr;
18083 if (sizeof ac_aggr.f_frsize)
18089 rm -f conftest.$ac_objext
18090 if { (ac_try="$ac_compile"
18091 case "(($ac_try" in
18092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18093 *) ac_try_echo=$ac_try;;
18095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18096 (eval "$ac_compile") 2>conftest.er1
18098 grep -v '^ *+' conftest.er1 >conftest.err
18100 cat conftest.err >&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); } && {
18103 test -z "$ac_c_werror_flag" ||
18104 test ! -s conftest.err
18105 } && test -s conftest.$ac_objext; then
18106 ac_cv_member_struct_statfs_f_frsize=yes
18108 echo "$as_me: failed program was:" >&5
18109 sed 's/^/| /' conftest.$ac_ext >&5
18111 ac_cv_member_struct_statfs_f_frsize=no
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18119 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18120 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
18121 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18123 cat >>confdefs.h <<_ACEOF
18124 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18129 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18130 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
18131 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18132 echo $ECHO_N "(cached) $ECHO_C" >&6
18134 cat >conftest.$ac_ext <<_ACEOF
18137 cat confdefs.h >>conftest.$ac_ext
18138 cat >>conftest.$ac_ext <<_ACEOF
18139 /* end confdefs.h. */
18140 #include <sys/types.h>
18141 #ifdef HAVE_SYS_PARAM_H
18142 # include <sys/param.h>
18144 #ifdef HAVE_SYS_MOUNT_H
18145 # include <sys/mount.h>
18147 #ifdef HAVE_SYS_VFS_H
18148 # include <sys/vfs.h>
18150 #ifdef HAVE_SYS_STATFS_H
18151 # include <sys/statfs.h>
18157 static struct statfs ac_aggr;
18158 if (ac_aggr.f_ffree)
18164 rm -f conftest.$ac_objext
18165 if { (ac_try="$ac_compile"
18166 case "(($ac_try" in
18167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18168 *) ac_try_echo=$ac_try;;
18170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18171 (eval "$ac_compile") 2>conftest.er1
18173 grep -v '^ *+' conftest.er1 >conftest.err
18175 cat conftest.err >&5
18176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18177 (exit $ac_status); } && {
18178 test -z "$ac_c_werror_flag" ||
18179 test ! -s conftest.err
18180 } && test -s conftest.$ac_objext; then
18181 ac_cv_member_struct_statfs_f_ffree=yes
18183 echo "$as_me: failed program was:" >&5
18184 sed 's/^/| /' conftest.$ac_ext >&5
18186 cat >conftest.$ac_ext <<_ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 #include <sys/types.h>
18193 #ifdef HAVE_SYS_PARAM_H
18194 # include <sys/param.h>
18196 #ifdef HAVE_SYS_MOUNT_H
18197 # include <sys/mount.h>
18199 #ifdef HAVE_SYS_VFS_H
18200 # include <sys/vfs.h>
18202 #ifdef HAVE_SYS_STATFS_H
18203 # include <sys/statfs.h>
18209 static struct statfs ac_aggr;
18210 if (sizeof ac_aggr.f_ffree)
18216 rm -f conftest.$ac_objext
18217 if { (ac_try="$ac_compile"
18218 case "(($ac_try" in
18219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18220 *) ac_try_echo=$ac_try;;
18222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18223 (eval "$ac_compile") 2>conftest.er1
18225 grep -v '^ *+' conftest.er1 >conftest.err
18227 cat conftest.err >&5
18228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18229 (exit $ac_status); } && {
18230 test -z "$ac_c_werror_flag" ||
18231 test ! -s conftest.err
18232 } && test -s conftest.$ac_objext; then
18233 ac_cv_member_struct_statfs_f_ffree=yes
18235 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.$ac_ext >&5
18238 ac_cv_member_struct_statfs_f_ffree=no
18241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18246 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18247 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
18248 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18250 cat >>confdefs.h <<_ACEOF
18251 #define HAVE_STRUCT_STATFS_F_FFREE 1
18256 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18257 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
18258 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18259 echo $ECHO_N "(cached) $ECHO_C" >&6
18261 cat >conftest.$ac_ext <<_ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 #include <sys/types.h>
18268 #ifdef HAVE_SYS_PARAM_H
18269 # include <sys/param.h>
18271 #ifdef HAVE_SYS_MOUNT_H
18272 # include <sys/mount.h>
18274 #ifdef HAVE_SYS_VFS_H
18275 # include <sys/vfs.h>
18277 #ifdef HAVE_SYS_STATFS_H
18278 # include <sys/statfs.h>
18284 static struct statfs ac_aggr;
18285 if (ac_aggr.f_favail)
18291 rm -f conftest.$ac_objext
18292 if { (ac_try="$ac_compile"
18293 case "(($ac_try" in
18294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18295 *) ac_try_echo=$ac_try;;
18297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18298 (eval "$ac_compile") 2>conftest.er1
18300 grep -v '^ *+' conftest.er1 >conftest.err
18302 cat conftest.err >&5
18303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18304 (exit $ac_status); } && {
18305 test -z "$ac_c_werror_flag" ||
18306 test ! -s conftest.err
18307 } && test -s conftest.$ac_objext; then
18308 ac_cv_member_struct_statfs_f_favail=yes
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5
18313 cat >conftest.$ac_ext <<_ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 #include <sys/types.h>
18320 #ifdef HAVE_SYS_PARAM_H
18321 # include <sys/param.h>
18323 #ifdef HAVE_SYS_MOUNT_H
18324 # include <sys/mount.h>
18326 #ifdef HAVE_SYS_VFS_H
18327 # include <sys/vfs.h>
18329 #ifdef HAVE_SYS_STATFS_H
18330 # include <sys/statfs.h>
18336 static struct statfs ac_aggr;
18337 if (sizeof ac_aggr.f_favail)
18343 rm -f conftest.$ac_objext
18344 if { (ac_try="$ac_compile"
18345 case "(($ac_try" in
18346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18347 *) ac_try_echo=$ac_try;;
18349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18350 (eval "$ac_compile") 2>conftest.er1
18352 grep -v '^ *+' conftest.er1 >conftest.err
18354 cat conftest.err >&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } && {
18357 test -z "$ac_c_werror_flag" ||
18358 test ! -s conftest.err
18359 } && test -s conftest.$ac_objext; then
18360 ac_cv_member_struct_statfs_f_favail=yes
18362 echo "$as_me: failed program was:" >&5
18363 sed 's/^/| /' conftest.$ac_ext >&5
18365 ac_cv_member_struct_statfs_f_favail=no
18368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18374 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
18375 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18377 cat >>confdefs.h <<_ACEOF
18378 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18383 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18384 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
18385 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18386 echo $ECHO_N "(cached) $ECHO_C" >&6
18388 cat >conftest.$ac_ext <<_ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 #include <sys/types.h>
18395 #ifdef HAVE_SYS_PARAM_H
18396 # include <sys/param.h>
18398 #ifdef HAVE_SYS_MOUNT_H
18399 # include <sys/mount.h>
18401 #ifdef HAVE_SYS_VFS_H
18402 # include <sys/vfs.h>
18404 #ifdef HAVE_SYS_STATFS_H
18405 # include <sys/statfs.h>
18411 static struct statfs ac_aggr;
18412 if (ac_aggr.f_namelen)
18418 rm -f conftest.$ac_objext
18419 if { (ac_try="$ac_compile"
18420 case "(($ac_try" in
18421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18422 *) ac_try_echo=$ac_try;;
18424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18425 (eval "$ac_compile") 2>conftest.er1
18427 grep -v '^ *+' conftest.er1 >conftest.err
18429 cat conftest.err >&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); } && {
18432 test -z "$ac_c_werror_flag" ||
18433 test ! -s conftest.err
18434 } && test -s conftest.$ac_objext; then
18435 ac_cv_member_struct_statfs_f_namelen=yes
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18440 cat >conftest.$ac_ext <<_ACEOF
18443 cat confdefs.h >>conftest.$ac_ext
18444 cat >>conftest.$ac_ext <<_ACEOF
18445 /* end confdefs.h. */
18446 #include <sys/types.h>
18447 #ifdef HAVE_SYS_PARAM_H
18448 # include <sys/param.h>
18450 #ifdef HAVE_SYS_MOUNT_H
18451 # include <sys/mount.h>
18453 #ifdef HAVE_SYS_VFS_H
18454 # include <sys/vfs.h>
18456 #ifdef HAVE_SYS_STATFS_H
18457 # include <sys/statfs.h>
18463 static struct statfs ac_aggr;
18464 if (sizeof ac_aggr.f_namelen)
18470 rm -f conftest.$ac_objext
18471 if { (ac_try="$ac_compile"
18472 case "(($ac_try" in
18473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18474 *) ac_try_echo=$ac_try;;
18476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18477 (eval "$ac_compile") 2>conftest.er1
18479 grep -v '^ *+' conftest.er1 >conftest.err
18481 cat conftest.err >&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); } && {
18484 test -z "$ac_c_werror_flag" ||
18485 test ! -s conftest.err
18486 } && test -s conftest.$ac_objext; then
18487 ac_cv_member_struct_statfs_f_namelen=yes
18489 echo "$as_me: failed program was:" >&5
18490 sed 's/^/| /' conftest.$ac_ext >&5
18492 ac_cv_member_struct_statfs_f_namelen=no
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18500 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18501 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
18502 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18504 cat >>confdefs.h <<_ACEOF
18505 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18512 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18513 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
18514 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18515 echo $ECHO_N "(cached) $ECHO_C" >&6
18517 cat >conftest.$ac_ext <<_ACEOF
18520 cat confdefs.h >>conftest.$ac_ext
18521 cat >>conftest.$ac_ext <<_ACEOF
18522 /* end confdefs.h. */
18523 #ifdef HAVE_SYS_STATVFS_H
18524 #include <sys/statvfs.h>
18530 static struct statvfs ac_aggr;
18531 if (ac_aggr.f_blocks)
18537 rm -f conftest.$ac_objext
18538 if { (ac_try="$ac_compile"
18539 case "(($ac_try" in
18540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18541 *) ac_try_echo=$ac_try;;
18543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18544 (eval "$ac_compile") 2>conftest.er1
18546 grep -v '^ *+' conftest.er1 >conftest.err
18548 cat conftest.err >&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); } && {
18551 test -z "$ac_c_werror_flag" ||
18552 test ! -s conftest.err
18553 } && test -s conftest.$ac_objext; then
18554 ac_cv_member_struct_statvfs_f_blocks=yes
18556 echo "$as_me: failed program was:" >&5
18557 sed 's/^/| /' conftest.$ac_ext >&5
18559 cat >conftest.$ac_ext <<_ACEOF
18562 cat confdefs.h >>conftest.$ac_ext
18563 cat >>conftest.$ac_ext <<_ACEOF
18564 /* end confdefs.h. */
18565 #ifdef HAVE_SYS_STATVFS_H
18566 #include <sys/statvfs.h>
18572 static struct statvfs ac_aggr;
18573 if (sizeof ac_aggr.f_blocks)
18579 rm -f conftest.$ac_objext
18580 if { (ac_try="$ac_compile"
18581 case "(($ac_try" in
18582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_compile") 2>conftest.er1
18588 grep -v '^ *+' conftest.er1 >conftest.err
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } && {
18593 test -z "$ac_c_werror_flag" ||
18594 test ! -s conftest.err
18595 } && test -s conftest.$ac_objext; then
18596 ac_cv_member_struct_statvfs_f_blocks=yes
18598 echo "$as_me: failed program was:" >&5
18599 sed 's/^/| /' conftest.$ac_ext >&5
18601 ac_cv_member_struct_statvfs_f_blocks=no
18604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18609 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18610 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
18611 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18613 cat >>confdefs.h <<_ACEOF
18614 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18621 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18622 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
18623 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 cat >conftest.$ac_ext <<_ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18632 #include <sys/types.h>
18633 #ifdef HAVE_SYS_SOCKET_H
18634 # include <sys/socket.h>
18636 #ifdef HAVE_SYS_UN_H
18637 # include <sys/un.h>
18643 static struct msghdr ac_aggr;
18644 if (ac_aggr.msg_accrights)
18650 rm -f conftest.$ac_objext
18651 if { (ac_try="$ac_compile"
18652 case "(($ac_try" in
18653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18654 *) ac_try_echo=$ac_try;;
18656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18657 (eval "$ac_compile") 2>conftest.er1
18659 grep -v '^ *+' conftest.er1 >conftest.err
18661 cat conftest.err >&5
18662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18663 (exit $ac_status); } && {
18664 test -z "$ac_c_werror_flag" ||
18665 test ! -s conftest.err
18666 } && test -s conftest.$ac_objext; then
18667 ac_cv_member_struct_msghdr_msg_accrights=yes
18669 echo "$as_me: failed program was:" >&5
18670 sed 's/^/| /' conftest.$ac_ext >&5
18672 cat >conftest.$ac_ext <<_ACEOF
18675 cat confdefs.h >>conftest.$ac_ext
18676 cat >>conftest.$ac_ext <<_ACEOF
18677 /* end confdefs.h. */
18678 #include <sys/types.h>
18679 #ifdef HAVE_SYS_SOCKET_H
18680 # include <sys/socket.h>
18682 #ifdef HAVE_SYS_UN_H
18683 # include <sys/un.h>
18689 static struct msghdr ac_aggr;
18690 if (sizeof ac_aggr.msg_accrights)
18696 rm -f conftest.$ac_objext
18697 if { (ac_try="$ac_compile"
18698 case "(($ac_try" in
18699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18700 *) ac_try_echo=$ac_try;;
18702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18703 (eval "$ac_compile") 2>conftest.er1
18705 grep -v '^ *+' conftest.er1 >conftest.err
18707 cat conftest.err >&5
18708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18709 (exit $ac_status); } && {
18710 test -z "$ac_c_werror_flag" ||
18711 test ! -s conftest.err
18712 } && test -s conftest.$ac_objext; then
18713 ac_cv_member_struct_msghdr_msg_accrights=yes
18715 echo "$as_me: failed program was:" >&5
18716 sed 's/^/| /' conftest.$ac_ext >&5
18718 ac_cv_member_struct_msghdr_msg_accrights=no
18721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18726 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18727 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
18728 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18736 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18737 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
18738 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18739 echo $ECHO_N "(cached) $ECHO_C" >&6
18741 cat >conftest.$ac_ext <<_ACEOF
18744 cat confdefs.h >>conftest.$ac_ext
18745 cat >>conftest.$ac_ext <<_ACEOF
18746 /* end confdefs.h. */
18747 #include <sys/types.h>
18748 #ifdef HAVE_SYS_SOCKET_H
18749 # include <sys/socket.h>
18751 #ifdef HAVE_SYS_UN_H
18752 # include <sys/un.h>
18758 static struct sockaddr ac_aggr;
18759 if (ac_aggr.sa_len)
18765 rm -f conftest.$ac_objext
18766 if { (ac_try="$ac_compile"
18767 case "(($ac_try" in
18768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18769 *) ac_try_echo=$ac_try;;
18771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_compile") 2>conftest.er1
18774 grep -v '^ *+' conftest.er1 >conftest.err
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && {
18779 test -z "$ac_c_werror_flag" ||
18780 test ! -s conftest.err
18781 } && test -s conftest.$ac_objext; then
18782 ac_cv_member_struct_sockaddr_sa_len=yes
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.$ac_ext >&5
18787 cat >conftest.$ac_ext <<_ACEOF
18790 cat confdefs.h >>conftest.$ac_ext
18791 cat >>conftest.$ac_ext <<_ACEOF
18792 /* end confdefs.h. */
18793 #include <sys/types.h>
18794 #ifdef HAVE_SYS_SOCKET_H
18795 # include <sys/socket.h>
18797 #ifdef HAVE_SYS_UN_H
18798 # include <sys/un.h>
18804 static struct sockaddr ac_aggr;
18805 if (sizeof ac_aggr.sa_len)
18811 rm -f conftest.$ac_objext
18812 if { (ac_try="$ac_compile"
18813 case "(($ac_try" in
18814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18815 *) ac_try_echo=$ac_try;;
18817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18818 (eval "$ac_compile") 2>conftest.er1
18820 grep -v '^ *+' conftest.er1 >conftest.err
18822 cat conftest.err >&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } && {
18825 test -z "$ac_c_werror_flag" ||
18826 test ! -s conftest.err
18827 } && test -s conftest.$ac_objext; then
18828 ac_cv_member_struct_sockaddr_sa_len=yes
18830 echo "$as_me: failed program was:" >&5
18831 sed 's/^/| /' conftest.$ac_ext >&5
18833 ac_cv_member_struct_sockaddr_sa_len=no
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18841 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18842 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
18843 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18845 cat >>confdefs.h <<_ACEOF
18846 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18851 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18852 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
18853 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18854 echo $ECHO_N "(cached) $ECHO_C" >&6
18856 cat >conftest.$ac_ext <<_ACEOF
18859 cat confdefs.h >>conftest.$ac_ext
18860 cat >>conftest.$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 #include <sys/types.h>
18863 #ifdef HAVE_SYS_SOCKET_H
18864 # include <sys/socket.h>
18866 #ifdef HAVE_SYS_UN_H
18867 # include <sys/un.h>
18873 static struct sockaddr_un ac_aggr;
18874 if (ac_aggr.sun_len)
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18884 *) ac_try_echo=$ac_try;;
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18889 grep -v '^ *+' conftest.er1 >conftest.err
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.$ac_objext; then
18897 ac_cv_member_struct_sockaddr_un_sun_len=yes
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18902 cat >conftest.$ac_ext <<_ACEOF
18905 cat confdefs.h >>conftest.$ac_ext
18906 cat >>conftest.$ac_ext <<_ACEOF
18907 /* end confdefs.h. */
18908 #include <sys/types.h>
18909 #ifdef HAVE_SYS_SOCKET_H
18910 # include <sys/socket.h>
18912 #ifdef HAVE_SYS_UN_H
18913 # include <sys/un.h>
18919 static struct sockaddr_un ac_aggr;
18920 if (sizeof ac_aggr.sun_len)
18926 rm -f conftest.$ac_objext
18927 if { (ac_try="$ac_compile"
18928 case "(($ac_try" in
18929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18930 *) ac_try_echo=$ac_try;;
18932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18933 (eval "$ac_compile") 2>conftest.er1
18935 grep -v '^ *+' conftest.er1 >conftest.err
18937 cat conftest.err >&5
18938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18939 (exit $ac_status); } && {
18940 test -z "$ac_c_werror_flag" ||
18941 test ! -s conftest.err
18942 } && test -s conftest.$ac_objext; then
18943 ac_cv_member_struct_sockaddr_un_sun_len=yes
18945 echo "$as_me: failed program was:" >&5
18946 sed 's/^/| /' conftest.$ac_ext >&5
18948 ac_cv_member_struct_sockaddr_un_sun_len=no
18951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18956 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18957 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
18958 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18960 cat >>confdefs.h <<_ACEOF
18961 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18968 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18969 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
18970 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18971 echo $ECHO_N "(cached) $ECHO_C" >&6
18973 cat >conftest.$ac_ext <<_ACEOF
18976 cat confdefs.h >>conftest.$ac_ext
18977 cat >>conftest.$ac_ext <<_ACEOF
18978 /* end confdefs.h. */
18979 #include <sys/types.h>
18980 #ifdef HAVE_SCSI_SG_H
18981 #include <scsi/sg.h>
18987 static scsireq_t ac_aggr;
18994 rm -f conftest.$ac_objext
18995 if { (ac_try="$ac_compile"
18996 case "(($ac_try" in
18997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18998 *) ac_try_echo=$ac_try;;
19000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19001 (eval "$ac_compile") 2>conftest.er1
19003 grep -v '^ *+' conftest.er1 >conftest.err
19005 cat conftest.err >&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); } && {
19008 test -z "$ac_c_werror_flag" ||
19009 test ! -s conftest.err
19010 } && test -s conftest.$ac_objext; then
19011 ac_cv_member_scsireq_t_cmd=yes
19013 echo "$as_me: failed program was:" >&5
19014 sed 's/^/| /' conftest.$ac_ext >&5
19016 cat >conftest.$ac_ext <<_ACEOF
19019 cat confdefs.h >>conftest.$ac_ext
19020 cat >>conftest.$ac_ext <<_ACEOF
19021 /* end confdefs.h. */
19022 #include <sys/types.h>
19023 #ifdef HAVE_SCSI_SG_H
19024 #include <scsi/sg.h>
19030 static scsireq_t ac_aggr;
19031 if (sizeof ac_aggr.cmd)
19037 rm -f conftest.$ac_objext
19038 if { (ac_try="$ac_compile"
19039 case "(($ac_try" in
19040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19041 *) ac_try_echo=$ac_try;;
19043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19044 (eval "$ac_compile") 2>conftest.er1
19046 grep -v '^ *+' conftest.er1 >conftest.err
19048 cat conftest.err >&5
19049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19050 (exit $ac_status); } && {
19051 test -z "$ac_c_werror_flag" ||
19052 test ! -s conftest.err
19053 } && test -s conftest.$ac_objext; then
19054 ac_cv_member_scsireq_t_cmd=yes
19056 echo "$as_me: failed program was:" >&5
19057 sed 's/^/| /' conftest.$ac_ext >&5
19059 ac_cv_member_scsireq_t_cmd=no
19062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19067 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
19068 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
19069 if test $ac_cv_member_scsireq_t_cmd = yes; then
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_SCSIREQ_T_CMD 1
19077 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
19078 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
19079 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 cat >conftest.$ac_ext <<_ACEOF
19085 cat confdefs.h >>conftest.$ac_ext
19086 cat >>conftest.$ac_ext <<_ACEOF
19087 /* end confdefs.h. */
19088 #include <sys/types.h>
19089 #ifdef HAVE_SCSI_SG_H
19090 #include <scsi/sg.h>
19096 static sg_io_hdr_t ac_aggr;
19097 if (ac_aggr.interface_id)
19103 rm -f conftest.$ac_objext
19104 if { (ac_try="$ac_compile"
19105 case "(($ac_try" in
19106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19107 *) ac_try_echo=$ac_try;;
19109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19110 (eval "$ac_compile") 2>conftest.er1
19112 grep -v '^ *+' conftest.er1 >conftest.err
19114 cat conftest.err >&5
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); } && {
19117 test -z "$ac_c_werror_flag" ||
19118 test ! -s conftest.err
19119 } && test -s conftest.$ac_objext; then
19120 ac_cv_member_sg_io_hdr_t_interface_id=yes
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19125 cat >conftest.$ac_ext <<_ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 #include <sys/types.h>
19132 #ifdef HAVE_SCSI_SG_H
19133 #include <scsi/sg.h>
19139 static sg_io_hdr_t ac_aggr;
19140 if (sizeof ac_aggr.interface_id)
19146 rm -f conftest.$ac_objext
19147 if { (ac_try="$ac_compile"
19148 case "(($ac_try" in
19149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19150 *) ac_try_echo=$ac_try;;
19152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19153 (eval "$ac_compile") 2>conftest.er1
19155 grep -v '^ *+' conftest.er1 >conftest.err
19157 cat conftest.err >&5
19158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19159 (exit $ac_status); } && {
19160 test -z "$ac_c_werror_flag" ||
19161 test ! -s conftest.err
19162 } && test -s conftest.$ac_objext; then
19163 ac_cv_member_sg_io_hdr_t_interface_id=yes
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19168 ac_cv_member_sg_io_hdr_t_interface_id=no
19171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19176 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
19177 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
19178 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
19188 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19189 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
19190 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19191 echo $ECHO_N "(cached) $ECHO_C" >&6
19193 cat >conftest.$ac_ext <<_ACEOF
19196 cat confdefs.h >>conftest.$ac_ext
19197 cat >>conftest.$ac_ext <<_ACEOF
19198 /* end confdefs.h. */
19199 #include <signal.h>
19204 static siginfo_t ac_aggr;
19211 rm -f conftest.$ac_objext
19212 if { (ac_try="$ac_compile"
19213 case "(($ac_try" in
19214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19215 *) ac_try_echo=$ac_try;;
19217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19218 (eval "$ac_compile") 2>conftest.er1
19220 grep -v '^ *+' conftest.er1 >conftest.err
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } && {
19225 test -z "$ac_c_werror_flag" ||
19226 test ! -s conftest.err
19227 } && test -s conftest.$ac_objext; then
19228 ac_cv_member_siginfo_t_si_fd=yes
19230 echo "$as_me: failed program was:" >&5
19231 sed 's/^/| /' conftest.$ac_ext >&5
19233 cat >conftest.$ac_ext <<_ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 #include <signal.h>
19244 static siginfo_t ac_aggr;
19245 if (sizeof ac_aggr.si_fd)
19251 rm -f conftest.$ac_objext
19252 if { (ac_try="$ac_compile"
19253 case "(($ac_try" in
19254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19255 *) ac_try_echo=$ac_try;;
19257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19258 (eval "$ac_compile") 2>conftest.er1
19260 grep -v '^ *+' conftest.er1 >conftest.err
19262 cat conftest.err >&5
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); } && {
19265 test -z "$ac_c_werror_flag" ||
19266 test ! -s conftest.err
19267 } && test -s conftest.$ac_objext; then
19268 ac_cv_member_siginfo_t_si_fd=yes
19270 echo "$as_me: failed program was:" >&5
19271 sed 's/^/| /' conftest.$ac_ext >&5
19273 ac_cv_member_siginfo_t_si_fd=no
19276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19282 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
19283 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19285 cat >>confdefs.h <<_ACEOF
19286 #define HAVE_SIGINFO_T_SI_FD 1
19293 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19294 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
19295 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19298 cat >conftest.$ac_ext <<_ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 #include <sys/types.h>
19305 #ifdef HAVE_SYS_MTIO_H
19306 #include <sys/mtio.h>
19312 static struct mtget ac_aggr;
19313 if (ac_aggr.mt_blksiz)
19319 rm -f conftest.$ac_objext
19320 if { (ac_try="$ac_compile"
19321 case "(($ac_try" in
19322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19323 *) ac_try_echo=$ac_try;;
19325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19326 (eval "$ac_compile") 2>conftest.er1
19328 grep -v '^ *+' conftest.er1 >conftest.err
19330 cat conftest.err >&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } && {
19333 test -z "$ac_c_werror_flag" ||
19334 test ! -s conftest.err
19335 } && test -s conftest.$ac_objext; then
19336 ac_cv_member_struct_mtget_mt_blksiz=yes
19338 echo "$as_me: failed program was:" >&5
19339 sed 's/^/| /' conftest.$ac_ext >&5
19341 cat >conftest.$ac_ext <<_ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 #include <sys/types.h>
19348 #ifdef HAVE_SYS_MTIO_H
19349 #include <sys/mtio.h>
19355 static struct mtget ac_aggr;
19356 if (sizeof ac_aggr.mt_blksiz)
19362 rm -f conftest.$ac_objext
19363 if { (ac_try="$ac_compile"
19364 case "(($ac_try" in
19365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19366 *) ac_try_echo=$ac_try;;
19368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19369 (eval "$ac_compile") 2>conftest.er1
19371 grep -v '^ *+' conftest.er1 >conftest.err
19373 cat conftest.err >&5
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); } && {
19376 test -z "$ac_c_werror_flag" ||
19377 test ! -s conftest.err
19378 } && test -s conftest.$ac_objext; then
19379 ac_cv_member_struct_mtget_mt_blksiz=yes
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19384 ac_cv_member_struct_mtget_mt_blksiz=no
19387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19392 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19393 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
19394 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19402 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19403 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
19404 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 cat >conftest.$ac_ext <<_ACEOF
19410 cat confdefs.h >>conftest.$ac_ext
19411 cat >>conftest.$ac_ext <<_ACEOF
19412 /* end confdefs.h. */
19413 #include <sys/types.h>
19414 #ifdef HAVE_SYS_MTIO_H
19415 #include <sys/mtio.h>
19421 static struct mtget ac_aggr;
19422 if (ac_aggr.mt_gstat)
19428 rm -f conftest.$ac_objext
19429 if { (ac_try="$ac_compile"
19430 case "(($ac_try" in
19431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19432 *) ac_try_echo=$ac_try;;
19434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19435 (eval "$ac_compile") 2>conftest.er1
19437 grep -v '^ *+' conftest.er1 >conftest.err
19439 cat conftest.err >&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } && {
19442 test -z "$ac_c_werror_flag" ||
19443 test ! -s conftest.err
19444 } && test -s conftest.$ac_objext; then
19445 ac_cv_member_struct_mtget_mt_gstat=yes
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19450 cat >conftest.$ac_ext <<_ACEOF
19453 cat confdefs.h >>conftest.$ac_ext
19454 cat >>conftest.$ac_ext <<_ACEOF
19455 /* end confdefs.h. */
19456 #include <sys/types.h>
19457 #ifdef HAVE_SYS_MTIO_H
19458 #include <sys/mtio.h>
19464 static struct mtget ac_aggr;
19465 if (sizeof ac_aggr.mt_gstat)
19471 rm -f conftest.$ac_objext
19472 if { (ac_try="$ac_compile"
19473 case "(($ac_try" in
19474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19475 *) ac_try_echo=$ac_try;;
19477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19478 (eval "$ac_compile") 2>conftest.er1
19480 grep -v '^ *+' conftest.er1 >conftest.err
19482 cat conftest.err >&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } && {
19485 test -z "$ac_c_werror_flag" ||
19486 test ! -s conftest.err
19487 } && test -s conftest.$ac_objext; then
19488 ac_cv_member_struct_mtget_mt_gstat=yes
19490 echo "$as_me: failed program was:" >&5
19491 sed 's/^/| /' conftest.$ac_ext >&5
19493 ac_cv_member_struct_mtget_mt_gstat=no
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19501 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19502 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
19503 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19505 cat >>confdefs.h <<_ACEOF
19506 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19511 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19512 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
19513 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19514 echo $ECHO_N "(cached) $ECHO_C" >&6
19516 cat >conftest.$ac_ext <<_ACEOF
19519 cat confdefs.h >>conftest.$ac_ext
19520 cat >>conftest.$ac_ext <<_ACEOF
19521 /* end confdefs.h. */
19522 #include <sys/types.h>
19523 #ifdef HAVE_SYS_MTIO_H
19524 #include <sys/mtio.h>
19530 static struct mtget ac_aggr;
19531 if (ac_aggr.mt_blkno)
19537 rm -f conftest.$ac_objext
19538 if { (ac_try="$ac_compile"
19539 case "(($ac_try" in
19540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19541 *) ac_try_echo=$ac_try;;
19543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19544 (eval "$ac_compile") 2>conftest.er1
19546 grep -v '^ *+' conftest.er1 >conftest.err
19548 cat conftest.err >&5
19549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19550 (exit $ac_status); } && {
19551 test -z "$ac_c_werror_flag" ||
19552 test ! -s conftest.err
19553 } && test -s conftest.$ac_objext; then
19554 ac_cv_member_struct_mtget_mt_blkno=yes
19556 echo "$as_me: failed program was:" >&5
19557 sed 's/^/| /' conftest.$ac_ext >&5
19559 cat >conftest.$ac_ext <<_ACEOF
19562 cat confdefs.h >>conftest.$ac_ext
19563 cat >>conftest.$ac_ext <<_ACEOF
19564 /* end confdefs.h. */
19565 #include <sys/types.h>
19566 #ifdef HAVE_SYS_MTIO_H
19567 #include <sys/mtio.h>
19573 static struct mtget ac_aggr;
19574 if (sizeof ac_aggr.mt_blkno)
19580 rm -f conftest.$ac_objext
19581 if { (ac_try="$ac_compile"
19582 case "(($ac_try" in
19583 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19584 *) ac_try_echo=$ac_try;;
19586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19587 (eval "$ac_compile") 2>conftest.er1
19589 grep -v '^ *+' conftest.er1 >conftest.err
19591 cat conftest.err >&5
19592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19593 (exit $ac_status); } && {
19594 test -z "$ac_c_werror_flag" ||
19595 test ! -s conftest.err
19596 } && test -s conftest.$ac_objext; then
19597 ac_cv_member_struct_mtget_mt_blkno=yes
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19602 ac_cv_member_struct_mtget_mt_blkno=no
19605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19610 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19611 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
19612 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19614 cat >>confdefs.h <<_ACEOF
19615 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19622 { echo "$as_me:$LINENO: checking for struct option.name" >&5
19623 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
19624 if test "${ac_cv_member_struct_option_name+set}" = set; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19627 cat >conftest.$ac_ext <<_ACEOF
19630 cat confdefs.h >>conftest.$ac_ext
19631 cat >>conftest.$ac_ext <<_ACEOF
19632 /* end confdefs.h. */
19633 #ifdef HAVE_GETOPT_H
19634 #include <getopt.h>
19640 static struct option ac_aggr;
19647 rm -f conftest.$ac_objext
19648 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
19656 grep -v '^ *+' conftest.er1 >conftest.err
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } && {
19661 test -z "$ac_c_werror_flag" ||
19662 test ! -s conftest.err
19663 } && test -s conftest.$ac_objext; then
19664 ac_cv_member_struct_option_name=yes
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 cat >conftest.$ac_ext <<_ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 #ifdef HAVE_GETOPT_H
19676 #include <getopt.h>
19682 static struct option ac_aggr;
19683 if (sizeof ac_aggr.name)
19689 rm -f conftest.$ac_objext
19690 if { (ac_try="$ac_compile"
19691 case "(($ac_try" in
19692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19693 *) ac_try_echo=$ac_try;;
19695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19696 (eval "$ac_compile") 2>conftest.er1
19698 grep -v '^ *+' conftest.er1 >conftest.err
19700 cat conftest.err >&5
19701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19702 (exit $ac_status); } && {
19703 test -z "$ac_c_werror_flag" ||
19704 test ! -s conftest.err
19705 } && test -s conftest.$ac_objext; then
19706 ac_cv_member_struct_option_name=yes
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.$ac_ext >&5
19711 ac_cv_member_struct_option_name=no
19714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19719 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19720 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
19721 if test $ac_cv_member_struct_option_name = yes; then
19723 cat >>confdefs.h <<_ACEOF
19724 #define HAVE_STRUCT_OPTION_NAME 1
19731 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19732 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
19733 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19734 echo $ECHO_N "(cached) $ECHO_C" >&6
19736 cat >conftest.$ac_ext <<_ACEOF
19739 cat confdefs.h >>conftest.$ac_ext
19740 cat >>conftest.$ac_ext <<_ACEOF
19741 /* end confdefs.h. */
19742 $ac_includes_default
19746 static struct stat ac_aggr;
19747 if (ac_aggr.st_blocks)
19753 rm -f conftest.$ac_objext
19754 if { (ac_try="$ac_compile"
19755 case "(($ac_try" in
19756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19757 *) ac_try_echo=$ac_try;;
19759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19760 (eval "$ac_compile") 2>conftest.er1
19762 grep -v '^ *+' conftest.er1 >conftest.err
19764 cat conftest.err >&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); } && {
19767 test -z "$ac_c_werror_flag" ||
19768 test ! -s conftest.err
19769 } && test -s conftest.$ac_objext; then
19770 ac_cv_member_struct_stat_st_blocks=yes
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19775 cat >conftest.$ac_ext <<_ACEOF
19778 cat confdefs.h >>conftest.$ac_ext
19779 cat >>conftest.$ac_ext <<_ACEOF
19780 /* end confdefs.h. */
19781 $ac_includes_default
19785 static struct stat ac_aggr;
19786 if (sizeof ac_aggr.st_blocks)
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 test -z "$ac_c_werror_flag" ||
19807 test ! -s conftest.err
19808 } && test -s conftest.$ac_objext; then
19809 ac_cv_member_struct_stat_st_blocks=yes
19811 echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19814 ac_cv_member_struct_stat_st_blocks=no
19817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19823 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
19824 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19826 cat >>confdefs.h <<_ACEOF
19827 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19834 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19835 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
19836 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19837 echo $ECHO_N "(cached) $ECHO_C" >&6
19839 cat >conftest.$ac_ext <<_ACEOF
19842 cat confdefs.h >>conftest.$ac_ext
19843 cat >>conftest.$ac_ext <<_ACEOF
19844 /* end confdefs.h. */
19845 #ifdef HAVE_SYS_TYPES_H
19846 #include <sys/types.h>
19848 #ifdef HAVE_NETINET_IN_H
19849 #include <netinet/in.h>
19855 static struct sockaddr_in6 ac_aggr;
19856 if (ac_aggr.sin6_scope_id)
19862 rm -f conftest.$ac_objext
19863 if { (ac_try="$ac_compile"
19864 case "(($ac_try" in
19865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19866 *) ac_try_echo=$ac_try;;
19868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19869 (eval "$ac_compile") 2>conftest.er1
19871 grep -v '^ *+' conftest.er1 >conftest.err
19873 cat conftest.err >&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); } && {
19876 test -z "$ac_c_werror_flag" ||
19877 test ! -s conftest.err
19878 } && test -s conftest.$ac_objext; then
19879 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19884 cat >conftest.$ac_ext <<_ACEOF
19887 cat confdefs.h >>conftest.$ac_ext
19888 cat >>conftest.$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 #ifdef HAVE_SYS_TYPES_H
19891 #include <sys/types.h>
19893 #ifdef HAVE_NETINET_IN_H
19894 #include <netinet/in.h>
19900 static struct sockaddr_in6 ac_aggr;
19901 if (sizeof ac_aggr.sin6_scope_id)
19907 rm -f conftest.$ac_objext
19908 if { (ac_try="$ac_compile"
19909 case "(($ac_try" in
19910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19911 *) ac_try_echo=$ac_try;;
19913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19914 (eval "$ac_compile") 2>conftest.er1
19916 grep -v '^ *+' conftest.er1 >conftest.err
19918 cat conftest.err >&5
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); } && {
19921 test -z "$ac_c_werror_flag" ||
19922 test ! -s conftest.err
19923 } && test -s conftest.$ac_objext; then
19924 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19926 echo "$as_me: failed program was:" >&5
19927 sed 's/^/| /' conftest.$ac_ext >&5
19929 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19937 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19938 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
19939 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19941 cat >>confdefs.h <<_ACEOF
19942 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19949 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
19950 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
19951 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19954 cat >conftest.$ac_ext <<_ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 #ifdef HAVE_SYS_TYPES_H
19961 #include <sys/types.h>
19963 #ifdef HAVE_NETINET_IN_H
19964 # include <netinet/in.h>
19966 #ifdef HAVE_ARPA_NAMESER_H
19967 # include <arpa/nameser.h>
19973 static ns_msg ac_aggr;
19974 if (ac_aggr._msg_ptr)
19980 rm -f conftest.$ac_objext
19981 if { (ac_try="$ac_compile"
19982 case "(($ac_try" in
19983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19984 *) ac_try_echo=$ac_try;;
19986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19987 (eval "$ac_compile") 2>conftest.er1
19989 grep -v '^ *+' conftest.er1 >conftest.err
19991 cat conftest.err >&5
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); } && {
19994 test -z "$ac_c_werror_flag" ||
19995 test ! -s conftest.err
19996 } && test -s conftest.$ac_objext; then
19997 ac_cv_member_ns_msg__msg_ptr=yes
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20002 cat >conftest.$ac_ext <<_ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20008 #ifdef HAVE_SYS_TYPES_H
20009 #include <sys/types.h>
20011 #ifdef HAVE_NETINET_IN_H
20012 # include <netinet/in.h>
20014 #ifdef HAVE_ARPA_NAMESER_H
20015 # include <arpa/nameser.h>
20021 static ns_msg ac_aggr;
20022 if (sizeof ac_aggr._msg_ptr)
20028 rm -f conftest.$ac_objext
20029 if { (ac_try="$ac_compile"
20030 case "(($ac_try" in
20031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20032 *) ac_try_echo=$ac_try;;
20034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20035 (eval "$ac_compile") 2>conftest.er1
20037 grep -v '^ *+' conftest.er1 >conftest.err
20039 cat conftest.err >&5
20040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20041 (exit $ac_status); } && {
20042 test -z "$ac_c_werror_flag" ||
20043 test ! -s conftest.err
20044 } && test -s conftest.$ac_objext; then
20045 ac_cv_member_ns_msg__msg_ptr=yes
20047 echo "$as_me: failed program was:" >&5
20048 sed 's/^/| /' conftest.$ac_ext >&5
20050 ac_cv_member_ns_msg__msg_ptr=no
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20058 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
20059 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
20060 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
20062 cat >>confdefs.h <<_ACEOF
20063 #define HAVE_NS_MSG__MSG_PTR 1
20070 { echo "$as_me:$LINENO: checking for timezone variable" >&5
20071 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
20072 if test "${ac_cv_have_timezone+set}" = set; then
20073 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 cat >conftest.$ac_ext <<_ACEOF
20078 cat confdefs.h >>conftest.$ac_ext
20079 cat >>conftest.$ac_ext <<_ACEOF
20080 /* end confdefs.h. */
20090 rm -f conftest.$ac_objext conftest$ac_exeext
20091 if { (ac_try="$ac_link"
20092 case "(($ac_try" in
20093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20094 *) ac_try_echo=$ac_try;;
20096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20097 (eval "$ac_link") 2>conftest.er1
20099 grep -v '^ *+' conftest.er1 >conftest.err
20101 cat conftest.err >&5
20102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20103 (exit $ac_status); } && {
20104 test -z "$ac_c_werror_flag" ||
20105 test ! -s conftest.err
20106 } && test -s conftest$ac_exeext &&
20107 $as_test_x conftest$ac_exeext; then
20108 ac_cv_have_timezone="yes"
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20113 ac_cv_have_timezone="no"
20116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20117 conftest$ac_exeext conftest.$ac_ext
20119 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
20120 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
20121 if test "$ac_cv_have_timezone" = "yes"
20124 cat >>confdefs.h <<\_ACEOF
20125 #define HAVE_TIMEZONE 1
20129 { echo "$as_me:$LINENO: checking for daylight variable" >&5
20130 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
20131 if test "${ac_cv_have_daylight+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20134 cat >conftest.$ac_ext <<_ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20149 rm -f conftest.$ac_objext conftest$ac_exeext
20150 if { (ac_try="$ac_link"
20151 case "(($ac_try" in
20152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20153 *) ac_try_echo=$ac_try;;
20155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20156 (eval "$ac_link") 2>conftest.er1
20158 grep -v '^ *+' conftest.er1 >conftest.err
20160 cat conftest.err >&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); } && {
20163 test -z "$ac_c_werror_flag" ||
20164 test ! -s conftest.err
20165 } && test -s conftest$ac_exeext &&
20166 $as_test_x conftest$ac_exeext; then
20167 ac_cv_have_daylight="yes"
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20172 ac_cv_have_daylight="no"
20175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20176 conftest$ac_exeext conftest.$ac_ext
20178 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
20179 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
20180 if test "$ac_cv_have_daylight" = "yes"
20183 cat >>confdefs.h <<\_ACEOF
20184 #define HAVE_DAYLIGHT 1
20191 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
20192 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
20193 if test "${ac_cv_cpp_def___i386__+set}" = set; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20196 cat >conftest.$ac_ext <<_ACEOF
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20207 $EGREP "yes" >/dev/null 2>&1; then
20208 ac_cv_cpp_def___i386__=yes
20210 ac_cv_cpp_def___i386__=no
20215 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
20216 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
20217 if test $ac_cv_cpp_def___i386__ = yes; then
20218 CFLAGS="$CFLAGS -D__i386__"
20219 LINTFLAGS="$LINTFLAGS -D__i386__"
20222 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
20223 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
20224 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
20225 echo $ECHO_N "(cached) $ECHO_C" >&6
20227 cat >conftest.$ac_ext <<_ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20237 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20238 $EGREP "yes" >/dev/null 2>&1; then
20239 ac_cv_cpp_def___x86_64__=yes
20241 ac_cv_cpp_def___x86_64__=no
20246 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
20247 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
20248 if test $ac_cv_cpp_def___x86_64__ = yes; then
20249 CFLAGS="$CFLAGS -D__x86_64__"
20250 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20253 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
20254 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
20255 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
20256 echo $ECHO_N "(cached) $ECHO_C" >&6
20258 cat >conftest.$ac_ext <<_ACEOF
20261 cat confdefs.h >>conftest.$ac_ext
20262 cat >>conftest.$ac_ext <<_ACEOF
20263 /* end confdefs.h. */
20268 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20269 $EGREP "yes" >/dev/null 2>&1; then
20270 ac_cv_cpp_def___ALPHA__=yes
20272 ac_cv_cpp_def___ALPHA__=no
20277 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20278 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
20279 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20280 CFLAGS="$CFLAGS -D__ALPHA__"
20281 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
20284 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20285 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
20286 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20287 echo $ECHO_N "(cached) $ECHO_C" >&6
20289 cat >conftest.$ac_ext <<_ACEOF
20292 cat confdefs.h >>conftest.$ac_ext
20293 cat >>conftest.$ac_ext <<_ACEOF
20294 /* end confdefs.h. */
20299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20300 $EGREP "yes" >/dev/null 2>&1; then
20301 ac_cv_cpp_def___sparc__=yes
20303 ac_cv_cpp_def___sparc__=no
20308 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20309 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
20310 if test $ac_cv_cpp_def___sparc__ = yes; then
20311 CFLAGS="$CFLAGS -D__sparc__"
20312 LINTFLAGS="$LINTFLAGS -D__sparc__"
20315 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20316 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
20317 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20318 echo $ECHO_N "(cached) $ECHO_C" >&6
20320 cat >conftest.$ac_ext <<_ACEOF
20323 cat confdefs.h >>conftest.$ac_ext
20324 cat >>conftest.$ac_ext <<_ACEOF
20325 /* end confdefs.h. */
20326 #ifndef __powerpc__
20330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20331 $EGREP "yes" >/dev/null 2>&1; then
20332 ac_cv_cpp_def___powerpc__=yes
20334 ac_cv_cpp_def___powerpc__=no
20339 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20340 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
20341 if test $ac_cv_cpp_def___powerpc__ = yes; then
20342 CFLAGS="$CFLAGS -D__powerpc__"
20343 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20348 case $host_vendor in
20349 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20350 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
20351 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20352 echo $ECHO_N "(cached) $ECHO_C" >&6
20354 cat >conftest.$ac_ext <<_ACEOF
20357 cat confdefs.h >>conftest.$ac_ext
20358 cat >>conftest.$ac_ext <<_ACEOF
20359 /* end confdefs.h. */
20364 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20365 $EGREP "yes" >/dev/null 2>&1; then
20366 ac_cv_cpp_def___sun__=yes
20368 ac_cv_cpp_def___sun__=no
20373 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20374 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
20375 if test $ac_cv_cpp_def___sun__ = yes; then
20376 CFLAGS="$CFLAGS -D__sun__"
20377 LINTFLAGS="$LINTFLAGS -D__sun__"
20383 DEPENDENCIES="### Dependencies:
20388 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
20390 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
20391 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
20392 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
20393 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
20399 ac_config_commands="$ac_config_commands include/stamp-h"
20402 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
20404 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
20406 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
20408 ac_config_commands="$ac_config_commands dlls/user32/resources"
20410 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
20412 ac_config_commands="$ac_config_commands include/wine"
20415 MAKE_RULES=Make.rules
20418 MAKE_DLL_RULES=dlls/Makedll.rules
20421 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20424 MAKE_TEST_RULES=dlls/Maketest.rules
20427 MAKE_PROG_RULES=programs/Makeprog.rules
20430 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/credui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/ddrawex/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/itss/tests/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/odbccp32/tests/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/sfc_os/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/snmpapi/tests/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/winealsa.drv/Makefile dlls/winearts.drv/Makefile dlls/wineaudioio.drv/Makefile dlls/winecoreaudio.drv/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineesd.drv/Makefile dlls/winejack.drv/Makefile dlls/winejoystick.drv/Makefile dlls/winemp3.acm/Makefile dlls/winenas.drv/Makefile dlls/wineoss.drv/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/tests/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"
20433 cat >confcache <<\_ACEOF
20434 # This file is a shell script that caches the results of configure
20435 # tests run on this system so they can be shared between configure
20436 # scripts and configure runs, see configure's option --config-cache.
20437 # It is not useful on other systems. If it contains results you don't
20438 # want to keep, you may remove or edit it.
20440 # config.status only pays attention to the cache file if you give it
20441 # the --recheck option to rerun configure.
20443 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20444 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20445 # following values.
20449 # The following way of writing the cache mishandles newlines in values,
20450 # but we know of no workaround that is simple, portable, and efficient.
20451 # So, we kill variables containing newlines.
20452 # Ultrix sh set writes to stderr and can't be redirected directly,
20453 # and sets the high bit in the cache file unless we assign to the vars.
20455 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20456 eval ac_val=\$$ac_var
20460 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
20461 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
20464 _ | IFS | as_nl) ;; #(
20465 *) $as_unset $ac_var ;;
20471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20472 *${as_nl}ac_space=\ *)
20473 # `set' does not quote correctly, so add quotes (double-quote
20474 # substitution turns \\\\ into \\, and sed turns \\ into \).
20477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20480 # `set' quotes correctly as required by POSIX, so do not add quotes.
20481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20494 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20495 if test -w "$cache_file"; then
20496 test "x$cache_file" != "x/dev/null" &&
20497 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
20498 echo "$as_me: updating cache $cache_file" >&6;}
20499 cat confcache >$cache_file
20501 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
20502 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20507 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20508 # Let make expand exec_prefix.
20509 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20511 DEFS=-DHAVE_CONFIG_H
20515 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20516 # 1. Remove the extension, and $U if already installed.
20517 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20518 ac_i=`echo "$ac_i" | sed "$ac_script"`
20519 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20520 # will be set to the directory where LIBOBJS objects are built.
20521 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20522 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
20524 LIBOBJS=$ac_libobjs
20526 LTLIBOBJS=$ac_ltlibobjs
20530 : ${CONFIG_STATUS=./config.status}
20531 ac_clean_files_save=$ac_clean_files
20532 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20533 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20534 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20535 cat >$CONFIG_STATUS <<_ACEOF
20537 # Generated by $as_me.
20538 # Run this file to recreate the current configuration.
20539 # Compiler output produced by configure, useful for debugging
20540 # configure, is in config.log if it exists.
20543 ac_cs_recheck=false
20545 SHELL=\${CONFIG_SHELL-$SHELL}
20548 cat >>$CONFIG_STATUS <<\_ACEOF
20549 ## --------------------- ##
20550 ## M4sh Initialization. ##
20551 ## --------------------- ##
20553 # Be more Bourne compatible
20554 DUALCASE=1; export DUALCASE # for MKS sh
20555 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20558 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20559 # is contrary to our usage. Disable this feature.
20560 alias -g '${1+"$@"}'='"$@"'
20561 setopt NO_GLOB_SUBST
20563 case `(set -o) 2>/dev/null` in
20564 *posix*) set -o posix ;;
20573 # Avoid depending upon Character Ranges.
20574 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20575 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20576 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20577 as_cr_digits='0123456789'
20578 as_cr_alnum=$as_cr_Letters$as_cr_digits
20580 # The user is always right.
20581 if test "${PATH_SEPARATOR+set}" != set; then
20582 echo "#! /bin/sh" >conf$$.sh
20583 echo "exit 0" >>conf$$.sh
20585 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20593 # Support unset when possible.
20594 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20602 # We need space, tab and new line, in precisely that order. Quoting is
20603 # there to prevent editors from complaining about space-tab.
20604 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20605 # splitting by setting IFS to empty value.)
20610 # Find who we are. Look in the path if we contain no directory separator.
20612 *[\\/]* ) as_myself=$0 ;;
20613 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20614 for as_dir in $PATH
20617 test -z "$as_dir" && as_dir=.
20618 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20624 # We did not find ourselves, most probably we were run as `sh COMMAND'
20625 # in which case we are not to be found in the path.
20626 if test "x$as_myself" = x; then
20629 if test ! -f "$as_myself"; then
20630 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20631 { (exit 1); exit 1; }
20634 # Work around bugs in pre-3.0 UWIN ksh.
20635 for as_var in ENV MAIL MAILPATH
20636 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20644 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20645 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20646 LC_TELEPHONE LC_TIME
20648 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20649 eval $as_var=C; export $as_var
20651 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
20655 # Required to use basename.
20656 if expr a : '\(a\)' >/dev/null 2>&1 &&
20657 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20663 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20664 as_basename=basename
20670 # Name of the executable.
20671 as_me=`$as_basename -- "$0" ||
20672 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20673 X"$0" : 'X\(//\)$' \| \
20674 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20676 sed '/^.*\/\([^/][^/]*\)\/*$/{
20695 as_lineno_1=$LINENO
20696 as_lineno_2=$LINENO
20697 test "x$as_lineno_1" != "x$as_lineno_2" &&
20698 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
20700 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20701 # uniformly replaced by the line number. The first 'sed' inserts a
20702 # line-number line after each line using $LINENO; the second 'sed'
20703 # does the real work. The second script uses 'N' to pair each
20704 # line-number line with the line containing $LINENO, and appends
20705 # trailing '-' during substitution so that $LINENO is not a special
20706 # case at line end.
20707 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20708 # scripts with optimization help from Paolo Bonzini. Blame Lee
20709 # E. McMahon (1931-1989) for sed's syntax. :-)
20721 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
20724 ' >$as_me.lineno &&
20725 chmod +x "$as_me.lineno" ||
20726 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
20727 { (exit 1); exit 1; }; }
20729 # Don't try to exec as it changes $[0], causing all sort of problems
20730 # (the dirname of $[0] is not the place where we might find the
20731 # original and so on. Autoconf is especially sensitive to this).
20732 . "./$as_me.lineno"
20733 # Exit status is that of the last command.
20738 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20744 ECHO_C= ECHO_N= ECHO_T=
20745 case `echo -n x` in
20747 case `echo 'x\c'` in
20748 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20755 if expr a : '\(a\)' >/dev/null 2>&1 &&
20756 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20762 rm -f conf$$ conf$$.exe conf$$.file
20763 if test -d conf$$.dir; then
20764 rm -f conf$$.dir/conf$$.file
20770 if ln -s conf$$.file conf$$ 2>/dev/null; then
20772 # ... but there are two gotchas:
20773 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20774 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20775 # In both cases, we have to default to `cp -p'.
20776 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20778 elif ln conf$$.file conf$$ 2>/dev/null; then
20783 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20784 rmdir conf$$.dir 2>/dev/null
20786 if mkdir -p . 2>/dev/null; then
20789 test -d ./-p && rmdir ./-p
20793 if test -x / >/dev/null 2>&1; then
20794 as_test_x='test -x'
20796 if ls -dL / >/dev/null 2>&1; then
20803 if test -d "$1"; then
20809 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
20810 ???[sx]*):;;*)false;;esac;fi
20814 as_executable_p=$as_test_x
20816 # Sed expression to map a string onto a valid CPP name.
20817 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20819 # Sed expression to map a string onto a valid variable name.
20820 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20825 # Save the log message, to keep $[0] and so on meaningful, and to
20826 # report actual input values of CONFIG_FILES etc. instead of their
20827 # values after options handling.
20829 This file was extended by Wine $as_me 0.9.29, which was
20830 generated by GNU Autoconf 2.61. Invocation command line was
20832 CONFIG_FILES = $CONFIG_FILES
20833 CONFIG_HEADERS = $CONFIG_HEADERS
20834 CONFIG_LINKS = $CONFIG_LINKS
20835 CONFIG_COMMANDS = $CONFIG_COMMANDS
20838 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20843 cat >>$CONFIG_STATUS <<_ACEOF
20844 # Files that config.status was made for.
20845 config_files="$ac_config_files"
20846 config_headers="$ac_config_headers"
20847 config_commands="$ac_config_commands"
20851 cat >>$CONFIG_STATUS <<\_ACEOF
20853 \`$as_me' instantiates files from templates according to the
20854 current configuration.
20856 Usage: $0 [OPTIONS] [FILE]...
20858 -h, --help print this help, then exit
20859 -V, --version print version number and configuration settings, then exit
20860 -q, --quiet do not print progress messages
20861 -d, --debug don't remove temporary files
20862 --recheck update $as_me by reconfiguring in the same conditions
20863 --file=FILE[:TEMPLATE]
20864 instantiate the configuration file FILE
20865 --header=FILE[:TEMPLATE]
20866 instantiate the configuration header FILE
20868 Configuration files:
20871 Configuration headers:
20874 Configuration commands:
20877 Report bugs to <bug-autoconf@gnu.org>."
20880 cat >>$CONFIG_STATUS <<_ACEOF
20882 Wine config.status 0.9.29
20883 configured by $0, generated by GNU Autoconf 2.61,
20884 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
20886 Copyright (C) 2006 Free Software Foundation, Inc.
20887 This config.status script is free software; the Free Software Foundation
20888 gives unlimited permission to copy, distribute and modify it."
20895 cat >>$CONFIG_STATUS <<\_ACEOF
20896 # If no file are specified by the user, then we need to provide default
20897 # value. By we need to know if files were specified by the user.
20903 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20904 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20915 # Handling of the options.
20916 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20918 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20919 echo "$ac_cs_version"; exit ;;
20920 --debug | --debu | --deb | --de | --d | -d )
20922 --file | --fil | --fi | --f )
20924 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20925 ac_need_defaults=false;;
20926 --header | --heade | --head | --hea )
20928 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20929 ac_need_defaults=false;;
20931 # Conflict between --help and --header
20932 { echo "$as_me: error: ambiguous option: $1
20933 Try \`$0 --help' for more information." >&2
20934 { (exit 1); exit 1; }; };;
20935 --help | --hel | -h )
20936 echo "$ac_cs_usage"; exit ;;
20937 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20938 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20941 # This is an error.
20942 -*) { echo "$as_me: error: unrecognized option: $1
20943 Try \`$0 --help' for more information." >&2
20944 { (exit 1); exit 1; }; } ;;
20946 *) ac_config_targets="$ac_config_targets $1"
20947 ac_need_defaults=false ;;
20953 ac_configure_extra_args=
20955 if $ac_cs_silent; then
20957 ac_configure_extra_args="$ac_configure_extra_args --silent"
20961 cat >>$CONFIG_STATUS <<_ACEOF
20962 if \$ac_cs_recheck; then
20963 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20964 CONFIG_SHELL=$SHELL
20965 export CONFIG_SHELL
20966 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20970 cat >>$CONFIG_STATUS <<\_ACEOF
20974 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20975 ## Running $as_me. ##
20981 cat >>$CONFIG_STATUS <<_ACEOF
20984 cat >>$CONFIG_STATUS <<\_ACEOF
20986 # Handling of arguments.
20987 for ac_config_target in $ac_config_targets
20989 case $ac_config_target in
20990 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20991 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20992 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
20993 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
20994 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
20995 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
20996 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
20997 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20998 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20999 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
21000 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
21001 "dlls/Maketest.rules") CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
21002 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
21003 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21004 "dlls/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
21005 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
21006 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
21007 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
21008 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
21009 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
21010 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
21011 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
21012 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
21013 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
21014 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
21015 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
21016 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
21017 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
21018 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
21019 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
21020 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
21021 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
21022 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
21023 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
21024 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
21025 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
21026 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
21027 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
21028 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
21029 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
21030 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
21031 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
21032 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
21033 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
21034 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
21035 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
21036 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
21037 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
21038 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
21039 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
21040 "dlls/d3dx8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
21041 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
21042 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
21043 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
21044 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
21045 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
21046 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
21047 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
21048 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
21049 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
21050 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
21051 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
21052 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
21053 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
21054 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
21055 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
21056 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
21057 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
21058 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
21059 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
21060 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
21061 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
21062 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
21063 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
21064 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
21065 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
21066 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
21067 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
21068 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
21069 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
21070 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
21071 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
21072 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
21073 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
21074 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
21075 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
21076 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
21077 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
21078 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
21079 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
21080 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
21081 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
21082 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
21083 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
21084 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
21085 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
21086 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
21087 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
21088 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
21089 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
21090 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
21091 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
21092 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
21093 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
21094 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
21095 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
21096 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
21097 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
21098 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
21099 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
21100 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
21101 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
21102 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
21103 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
21104 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
21105 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
21106 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
21107 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
21108 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
21109 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
21110 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
21111 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
21112 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
21113 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
21114 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
21115 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
21116 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
21117 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
21118 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
21119 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
21120 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
21121 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
21122 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
21123 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
21124 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
21125 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
21126 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
21127 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
21128 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
21129 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
21130 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
21131 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
21132 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
21133 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
21134 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
21135 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
21136 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
21137 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
21138 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
21139 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
21140 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
21141 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
21142 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
21143 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
21144 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
21145 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
21146 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
21147 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
21148 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
21149 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
21150 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
21151 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
21152 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
21153 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
21154 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
21155 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
21156 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
21157 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
21158 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
21159 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
21160 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
21161 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
21162 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
21163 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
21164 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
21165 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
21166 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
21167 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
21168 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
21169 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
21170 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
21171 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
21172 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
21173 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
21174 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
21175 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
21176 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
21177 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
21178 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
21179 "dlls/rsabase/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
21180 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
21181 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
21182 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
21183 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
21184 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
21185 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
21186 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
21187 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
21188 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
21189 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
21190 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
21191 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
21192 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
21193 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
21194 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
21195 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
21196 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
21197 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
21198 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
21199 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
21200 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
21201 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
21202 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
21203 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
21204 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
21205 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
21206 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
21207 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
21208 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
21209 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
21210 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
21211 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
21212 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
21213 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
21214 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
21215 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
21216 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
21217 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
21218 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
21219 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
21220 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
21221 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
21222 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
21223 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
21224 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
21225 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
21226 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
21227 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
21228 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
21229 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
21230 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
21231 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
21232 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
21233 "dlls/winearts.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winearts.drv/Makefile" ;;
21234 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
21235 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
21236 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
21237 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
21238 "dlls/winedos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
21239 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
21240 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
21241 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
21242 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
21243 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
21244 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
21245 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
21246 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
21247 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
21248 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
21249 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
21250 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
21251 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
21252 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
21253 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
21254 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
21255 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
21256 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
21257 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
21258 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
21259 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
21260 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
21261 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
21262 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
21263 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
21264 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
21265 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
21266 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
21267 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
21268 "libs/Makefile") CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
21269 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
21270 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
21271 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
21272 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
21273 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
21274 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
21275 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
21276 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
21277 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
21278 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
21279 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
21280 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
21281 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
21282 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
21283 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
21284 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
21285 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
21286 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
21287 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
21288 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
21289 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
21290 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
21291 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
21292 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
21293 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
21294 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
21295 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
21296 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
21297 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
21298 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
21299 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
21300 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
21301 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
21302 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
21303 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
21304 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
21305 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
21306 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
21307 "programs/winhelp/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
21308 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
21309 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
21310 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
21311 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
21312 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
21313 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
21314 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
21315 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
21316 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
21317 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
21319 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
21320 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
21321 { (exit 1); exit 1; }; };;
21326 # If the user did not use the arguments to specify the items to instantiate,
21327 # then the envvar interface is used. Set only those that are not.
21328 # We use the long form for the default assignment because of an extremely
21329 # bizarre bug on SunOS 4.1.3.
21330 if $ac_need_defaults; then
21331 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21332 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21333 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21336 # Have a temporary directory for convenience. Make it in the build tree
21337 # simply because there is no reason against having it here, and in addition,
21338 # creating and moving files from /tmp can sometimes cause problems.
21339 # Hook for its removal unless debugging.
21340 # Note that there is a small window in which the directory will not be cleaned:
21341 # after its creation but before its name has been assigned to `$tmp'.
21345 trap 'exit_status=$?
21346 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21348 trap '{ (exit 1); exit 1; }' 1 2 13 15
21350 # Create a (secure) tmp directory for tmp files.
21353 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21354 test -n "$tmp" && test -d "$tmp"
21357 tmp=./conf$$-$RANDOM
21358 (umask 077 && mkdir "$tmp")
21361 echo "$me: cannot create a temporary directory in ." >&2
21362 { (exit 1); exit 1; }
21366 # Set up the sed scripts for CONFIG_FILES section.
21369 # No need to generate the scripts if there are no CONFIG_FILES.
21370 # This happens for instance when ./config.status config.h
21371 if test -n "$CONFIG_FILES"; then
21375 # Create sed commands to just substitute file output variables.
21377 # Remaining file output variables are in a fragment that also has non-file
21383 for ac_last_try in false false false false false :; do
21384 cat >conf$$subs.sed <<_ACEOF
21385 SHELL!$SHELL$ac_delim
21386 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
21387 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
21388 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
21389 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
21390 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
21391 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
21392 exec_prefix!$exec_prefix$ac_delim
21393 prefix!$prefix$ac_delim
21394 program_transform_name!$program_transform_name$ac_delim
21395 bindir!$bindir$ac_delim
21396 sbindir!$sbindir$ac_delim
21397 libexecdir!$libexecdir$ac_delim
21398 datarootdir!$datarootdir$ac_delim
21399 datadir!$datadir$ac_delim
21400 sysconfdir!$sysconfdir$ac_delim
21401 sharedstatedir!$sharedstatedir$ac_delim
21402 localstatedir!$localstatedir$ac_delim
21403 includedir!$includedir$ac_delim
21404 oldincludedir!$oldincludedir$ac_delim
21405 docdir!$docdir$ac_delim
21406 infodir!$infodir$ac_delim
21407 htmldir!$htmldir$ac_delim
21408 dvidir!$dvidir$ac_delim
21409 pdfdir!$pdfdir$ac_delim
21410 psdir!$psdir$ac_delim
21411 libdir!$libdir$ac_delim
21412 localedir!$localedir$ac_delim
21413 mandir!$mandir$ac_delim
21414 DEFS!$DEFS$ac_delim
21415 ECHO_C!$ECHO_C$ac_delim
21416 ECHO_N!$ECHO_N$ac_delim
21417 ECHO_T!$ECHO_T$ac_delim
21418 LIBS!$LIBS$ac_delim
21419 build_alias!$build_alias$ac_delim
21420 host_alias!$host_alias$ac_delim
21421 target_alias!$target_alias$ac_delim
21422 build!$build$ac_delim
21423 build_cpu!$build_cpu$ac_delim
21424 build_vendor!$build_vendor$ac_delim
21425 build_os!$build_os$ac_delim
21426 host!$host$ac_delim
21427 host_cpu!$host_cpu$ac_delim
21428 host_vendor!$host_vendor$ac_delim
21429 host_os!$host_os$ac_delim
21430 WIN16_FILES!$WIN16_FILES$ac_delim
21431 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
21432 SET_MAKE!$SET_MAKE$ac_delim
21434 CFLAGS!$CFLAGS$ac_delim
21435 LDFLAGS!$LDFLAGS$ac_delim
21436 CPPFLAGS!$CPPFLAGS$ac_delim
21437 ac_ct_CC!$ac_ct_CC$ac_delim
21438 EXEEXT!$EXEEXT$ac_delim
21439 OBJEXT!$OBJEXT$ac_delim
21441 CXXFLAGS!$CXXFLAGS$ac_delim
21442 ac_ct_CXX!$ac_ct_CXX$ac_delim
21443 CPPBIN!$CPPBIN$ac_delim
21444 TOOLSDIR!$TOOLSDIR$ac_delim
21445 XMKMF!$XMKMF$ac_delim
21447 X_CFLAGS!$X_CFLAGS$ac_delim
21448 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
21449 X_LIBS!$X_LIBS$ac_delim
21450 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
21452 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
21453 LEXLIB!$LEXLIB$ac_delim
21454 XLEX!$XLEX$ac_delim
21455 BISON!$BISON$ac_delim
21457 ac_ct_AS!$ac_ct_AS$ac_delim
21460 RANLIB!$RANLIB$ac_delim
21461 STRIP!$STRIP$ac_delim
21462 WINDRES!$WINDRES$ac_delim
21463 LN_S!$LN_S$ac_delim
21465 GREP!$GREP$ac_delim
21466 EGREP!$EGREP$ac_delim
21469 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
21471 elif $ac_last_try; then
21472 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21473 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21474 { (exit 1); exit 1; }; }
21476 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21480 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21481 if test -n "$ac_eof"; then
21482 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21483 ac_eof=`expr $ac_eof + 1`
21486 cat >>$CONFIG_STATUS <<_ACEOF
21487 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
21488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21489 /^[ ]*@MAKE_RULES@[ ]*$/{
21493 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
21497 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
21498 r $MAKE_IMPLIB_RULES
21501 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
21505 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
21511 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21512 s/^/s,@/; s/!/@,|#_!!_#|/
21515 s/'"$ac_delim"'$/,g/; t
21517 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21518 ' >>$CONFIG_STATUS <conf$$subs.sed
21519 rm -f conf$$subs.sed
21520 cat >>$CONFIG_STATUS <<_ACEOF
21526 for ac_last_try in false false false false false :; do
21527 cat >conf$$subs.sed <<_ACEOF
21528 LDCONFIG!$LDCONFIG$ac_delim
21529 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
21530 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
21531 INSTALL_DATA!$INSTALL_DATA$ac_delim
21532 LINT!$LINT$ac_delim
21533 LINTFLAGS!$LINTFLAGS$ac_delim
21534 FONTFORGE!$FONTFORGE$ac_delim
21535 PKG_CONFIG!$PKG_CONFIG$ac_delim
21536 PRELINK!$PRELINK$ac_delim
21537 LIBPTHREAD!$LIBPTHREAD$ac_delim
21538 XLIB!$XLIB$ac_delim
21539 XFILES!$XFILES$ac_delim
21540 OPENGLFILES!$OPENGLFILES$ac_delim
21541 GLU32FILES!$GLU32FILES$ac_delim
21542 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
21543 QUARTZFILES!$QUARTZFILES$ac_delim
21544 NASLIBS!$NASLIBS$ac_delim
21545 XML2LIBS!$XML2LIBS$ac_delim
21546 XML2INCL!$XML2INCL$ac_delim
21547 XSLTLIBS!$XSLTLIBS$ac_delim
21548 XSLTINCL!$XSLTINCL$ac_delim
21549 HALINCL!$HALINCL$ac_delim
21550 sane_devel!$sane_devel$ac_delim
21551 SANELIBS!$SANELIBS$ac_delim
21552 SANEINCL!$SANEINCL$ac_delim
21553 gphoto2_devel!$gphoto2_devel$ac_delim
21554 gphoto2port_devel!$gphoto2port_devel$ac_delim
21555 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
21556 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
21557 ICULIBS!$ICULIBS$ac_delim
21558 RESOLVLIBS!$RESOLVLIBS$ac_delim
21559 LCMSLIBS!$LCMSLIBS$ac_delim
21560 LDAPLIBS!$LDAPLIBS$ac_delim
21561 FREETYPELIBS!$FREETYPELIBS$ac_delim
21562 FREETYPEINCL!$FREETYPEINCL$ac_delim
21563 ft_devel!$ft_devel$ac_delim
21564 ft_devel2!$ft_devel2$ac_delim
21565 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
21566 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
21567 ARTSLIBS!$ARTSLIBS$ac_delim
21568 ARTSINCL!$ARTSINCL$ac_delim
21569 ESDCONFIG!$ESDCONFIG$ac_delim
21570 ESDLIBS!$ESDLIBS$ac_delim
21571 ESDINCL!$ESDINCL$ac_delim
21572 ALSALIBS!$ALSALIBS$ac_delim
21573 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
21574 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
21575 BUILTINFLAG!$BUILTINFLAG$ac_delim
21576 DLLEXT!$DLLEXT$ac_delim
21577 DLLFLAGS!$DLLFLAGS$ac_delim
21578 LDSHARED!$LDSHARED$ac_delim
21579 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
21580 LIBEXT!$LIBEXT$ac_delim
21581 IMPLIBEXT!$IMPLIBEXT$ac_delim
21582 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
21583 DLLTOOL!$DLLTOOL$ac_delim
21584 DLLWRAP!$DLLWRAP$ac_delim
21585 MINGWAR!$MINGWAR$ac_delim
21586 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
21587 IOKITLIB!$IOKITLIB$ac_delim
21588 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
21589 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
21590 COREAUDIO!$COREAUDIO$ac_delim
21591 CARBONLIB!$CARBONLIB$ac_delim
21592 CROSSTEST!$CROSSTEST$ac_delim
21593 CROSSCC!$CROSSCC$ac_delim
21594 CROSSWINDRES!$CROSSWINDRES$ac_delim
21595 LDPATH!$LDPATH$ac_delim
21596 CRTLIBS!$CRTLIBS$ac_delim
21597 SOCKETLIBS!$SOCKETLIBS$ac_delim
21598 MAIN_BINARY!$MAIN_BINARY$ac_delim
21599 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
21601 LIBDL!$LIBDL$ac_delim
21602 LIBPOLL!$LIBPOLL$ac_delim
21603 DEPENDENCIES!$DEPENDENCIES$ac_delim
21604 LIBOBJS!$LIBOBJS$ac_delim
21605 LTLIBOBJS!$LTLIBOBJS$ac_delim
21608 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 78; then
21610 elif $ac_last_try; then
21611 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
21612 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
21613 { (exit 1); exit 1; }; }
21615 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21619 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
21620 if test -n "$ac_eof"; then
21621 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
21622 ac_eof=`expr $ac_eof + 1`
21625 cat >>$CONFIG_STATUS <<_ACEOF
21626 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
21627 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
21630 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
21631 s/^/s,@/; s/!/@,|#_!!_#|/
21634 s/'"$ac_delim"'$/,g/; t
21636 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
21637 ' >>$CONFIG_STATUS <conf$$subs.sed
21638 rm -f conf$$subs.sed
21639 cat >>$CONFIG_STATUS <<_ACEOF
21646 # VPATH may cause trouble with some makes, so we remove $(srcdir),
21647 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
21648 # trailing colons and then remove the whole line if VPATH becomes empty
21649 # (actually we leave an empty line to preserve line numbers).
21650 if test "x$srcdir" = x.; then
21651 ac_vpsub='/^[ ]*VPATH[ ]*=/{
21652 s/:*\$(srcdir):*/:/
21653 s/:*\${srcdir}:*/:/
21655 s/^\([^=]*=[ ]*\):*/\1/
21661 cat >>$CONFIG_STATUS <<\_ACEOF
21662 fi # test -n "$CONFIG_FILES"
21665 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
21668 :[FHLC]) ac_mode=$ac_tag; continue;;
21670 case $ac_mode$ac_tag in
21672 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
21673 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
21674 { (exit 1); exit 1; }; };;
21675 :[FH]-) ac_tag=-:-;;
21676 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21693 -) ac_f="$tmp/stdin";;
21694 *) # Look for the file first in the build tree, then in the source tree
21695 # (if the path is not absolute). The absolute path cannot be DOS-style,
21696 # because $ac_f cannot contain `:'.
21700 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21702 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
21703 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
21704 { (exit 1); exit 1; }; };;
21706 ac_file_inputs="$ac_file_inputs $ac_f"
21709 # Let's still pretend it is `configure' which instantiates (i.e., don't
21710 # use $as_me), people would be surprised to read:
21711 # /* config.h. Generated by config.status. */
21712 configure_input="Generated from "`IFS=:
21713 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
21714 if test x"$ac_file" != x-; then
21715 configure_input="$ac_file. $configure_input"
21716 { echo "$as_me:$LINENO: creating $ac_file" >&5
21717 echo "$as_me: creating $ac_file" >&6;}
21721 *:-:* | *:-) cat >"$tmp/stdin";;
21726 ac_dir=`$as_dirname -- "$ac_file" ||
21727 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21728 X"$ac_file" : 'X\(//\)[^/]' \| \
21729 X"$ac_file" : 'X\(//\)$' \| \
21730 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21736 /^X\(\/\/\)[^/].*/{
21751 -*) as_dir=./$as_dir;;
21753 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21757 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
21758 *) as_qdir=$as_dir;;
21760 as_dirs="'$as_qdir' $as_dirs"
21761 as_dir=`$as_dirname -- "$as_dir" ||
21762 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21763 X"$as_dir" : 'X\(//\)[^/]' \| \
21764 X"$as_dir" : 'X\(//\)$' \| \
21765 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21767 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21771 /^X\(\/\/\)[^/].*/{
21784 test -d "$as_dir" && break
21786 test -z "$as_dirs" || eval "mkdir $as_dirs"
21787 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
21788 echo "$as_me: error: cannot create directory $as_dir" >&2;}
21789 { (exit 1); exit 1; }; }; }
21793 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21795 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21796 # A ".." for each directory in $ac_dir_suffix.
21797 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
21798 case $ac_top_builddir_sub in
21799 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21800 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21803 ac_abs_top_builddir=$ac_pwd
21804 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21805 # for backward compatibility:
21806 ac_top_builddir=$ac_top_build_prefix
21809 .) # We are building in place.
21811 ac_top_srcdir=$ac_top_builddir_sub
21812 ac_abs_top_srcdir=$ac_pwd ;;
21813 [\\/]* | ?:[\\/]* ) # Absolute name.
21814 ac_srcdir=$srcdir$ac_dir_suffix;
21815 ac_top_srcdir=$srcdir
21816 ac_abs_top_srcdir=$srcdir ;;
21817 *) # Relative name.
21818 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21819 ac_top_srcdir=$ac_top_build_prefix$srcdir
21820 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21822 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21832 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21833 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21837 cat >>$CONFIG_STATUS <<\_ACEOF
21838 # If the template does not know about datarootdir, expand it.
21839 # FIXME: This hack should be removed a few years after 2.60.
21840 ac_datarootdir_hack=; ac_datarootdir_seen=
21842 case `sed -n '/datarootdir/ {
21851 ' $ac_file_inputs` in
21852 *datarootdir*) ac_datarootdir_seen=yes;;
21853 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21854 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21855 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21857 cat >>$CONFIG_STATUS <<_ACEOF
21858 ac_datarootdir_hack='
21859 s&@datadir@&$datadir&g
21860 s&@docdir@&$docdir&g
21861 s&@infodir@&$infodir&g
21862 s&@localedir@&$localedir&g
21863 s&@mandir@&$mandir&g
21864 s&\\\${datarootdir}&$datarootdir&g' ;;
21868 # Neutralize VPATH when `$srcdir' = `.'.
21869 # Shell code in configure.ac might set extrasub.
21870 # FIXME: do we really want to maintain this feature?
21871 cat >>$CONFIG_STATUS <<_ACEOF
21875 cat >>$CONFIG_STATUS <<\_ACEOF
21877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21878 s&@configure_input@&$configure_input&;t t
21879 s&@top_builddir@&$ac_top_builddir_sub&;t t
21880 s&@srcdir@&$ac_srcdir&;t t
21881 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21882 s&@top_srcdir@&$ac_top_srcdir&;t t
21883 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21884 s&@builddir@&$ac_builddir&;t t
21885 s&@abs_builddir@&$ac_abs_builddir&;t t
21886 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21887 s&@INSTALL@&$ac_INSTALL&;t t
21888 $ac_datarootdir_hack
21889 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
21891 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21892 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
21893 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
21894 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21895 which seems to be undefined. Please make sure it is defined." >&5
21896 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21897 which seems to be undefined. Please make sure it is defined." >&2;}
21901 -) cat "$tmp/out"; rm -f "$tmp/out";;
21902 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21911 # Transform confdefs.h into a sed script `conftest.defines', that
21912 # substitutes the proper values into config.h.in to produce config.h.
21913 rm -f conftest.defines conftest.tail
21914 # First, append a space to every undef/define line, to ease matching.
21915 echo 's/$/ /' >conftest.defines
21916 # Then, protect against being on the right side of a sed subst, or in
21917 # an unquoted here document, in config.status. If some macros were
21918 # called several times there might be several #defines for the same
21919 # symbol, which is useless. But do not sort them, since the last
21920 # AC_DEFINE must be honored.
21921 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21922 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
21923 # NAME is the cpp macro being defined, VALUE is the value it is being given.
21924 # PARAMS is the parameter list in the macro definition--in most cases, it's
21925 # just an empty string.
21926 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
21927 ac_dB='\\)[ (].*,\\1define\\2'
21935 s/^[ ]*#[ ]*define[ ][ ]*//
21940 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
21941 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
21942 ' >>conftest.defines
21944 # Remove the space that was appended to ease matching.
21945 # Then replace #undef with comments. This is necessary, for
21946 # example, in the case of _POSIX_SOURCE, which is predefined and required
21947 # on some systems where configure will not decide to define it.
21948 # (The regexp can be short, since the line contains either #define or #undef.)
21950 s,^[ #]*u.*,/* & */,' >>conftest.defines
21952 # Break up conftest.defines:
21953 ac_max_sed_lines=50
21955 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
21956 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
21957 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
21959 ac_in='$ac_file_inputs'
21960 ac_out='"$tmp/out1"'
21961 ac_nxt='"$tmp/out2"'
21965 # Write a here document:
21966 cat >>$CONFIG_STATUS <<_ACEOF
21967 # First, check the format of the line:
21968 cat >"\$tmp/defines.sed" <<\\CEOF
21969 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
21970 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21974 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21976 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
21977 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
21978 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
21979 grep . conftest.tail >/dev/null || break
21980 rm -f conftest.defines
21981 mv conftest.tail conftest.defines
21983 rm -f conftest.defines conftest.tail
21985 echo "ac_result=$ac_in" >>$CONFIG_STATUS
21986 cat >>$CONFIG_STATUS <<\_ACEOF
21987 if test x"$ac_file" != x-; then
21988 echo "/* $configure_input */" >"$tmp/config.h"
21989 cat "$ac_result" >>"$tmp/config.h"
21990 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21991 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21992 echo "$as_me: $ac_file is unchanged" >&6;}
21995 mv "$tmp/config.h" $ac_file
21998 echo "/* $configure_input */"
22004 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
22005 echo "$as_me: executing $ac_file commands" >&6;}
22010 case $ac_file$ac_mode in
22011 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22012 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
22013 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir "dlls/gdi32/enhmfdrv") ;;
22014 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
22015 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir "dlls/gdi32/mfdrv") ;;
22016 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || ({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
22017 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir "dlls/kernel32/nls") ;;
22018 "dlls/user32/resources":C) test -d "dlls/user32/resources" || ({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
22019 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir "dlls/user32/resources") ;;
22020 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
22021 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir "dlls/wineps.drv/data") ;;
22022 "include/wine":C) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
22023 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
22029 { (exit 0); exit 0; }
22031 chmod +x $CONFIG_STATUS
22032 ac_clean_files=$ac_clean_files_save
22035 # configure is writing to config.log, and then calls config.status.
22036 # config.status does its own redirection, appending to config.log.
22037 # Unfortunately, on DOS this fails, as config.log is still kept open
22038 # by configure, so config.status won't be able to write to it; its
22039 # output is simply discarded. So we exec the FD to /dev/null,
22040 # effectively closing config.log, so it can be properly (re)opened and
22041 # appended to by config.status. When coming back to configure, we
22042 # need to make the FD available again.
22043 if test "$no_create" != yes; then
22045 ac_config_status_args=
22046 test "$silent" = yes &&
22047 ac_config_status_args="$ac_config_status_args --quiet"
22049 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22051 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22052 # would make configure fail if this is the last instruction.
22053 $ac_cs_success || { (exit 1); exit 1; }
22058 if test "$no_create" = "yes"
22063 if test "$verbose" = "yes"
22065 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
22068 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
22069 echo "$as_me: libcapi20 development files not found." >&6;}
22070 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
22071 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
22074 if test "$ac_cv_header_cups_cups_h" != "yes"
22077 { echo "$as_me:$LINENO: libcups development files not found." >&5
22078 echo "$as_me: libcups development files not found." >&6;}
22079 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
22080 echo "$as_me: Wine will be built without CUPS support." >&6;}
22084 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
22087 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
22088 echo "$as_me: libgphoto2 development files not found." >&6;}
22089 if test "$ac_cv_header_sane_sane_h" = "yes"
22091 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
22092 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
22094 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
22095 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
22099 if test "$ac_cv_header_hal_libhal_h" != "yes"
22102 { echo "$as_me:$LINENO: libhal development files not found." >&5
22103 echo "$as_me: libhal development files not found." >&6;}
22104 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
22105 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
22108 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
22111 { echo "$as_me:$LINENO: libicu development files not found." >&5
22112 echo "$as_me: libicu development files not found." >&6;}
22113 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
22114 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
22117 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
22120 { echo "$as_me:$LINENO: liblcms development files not found." >&5
22121 echo "$as_me: liblcms development files not found." >&6;}
22122 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
22123 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
22126 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
22129 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
22130 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
22131 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
22132 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
22135 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
22138 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
22139 echo "$as_me: lib(n)curses development files not found." >&6;}
22140 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
22141 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
22144 if test "$ac_cv_header_sane_sane_h" != "yes"
22147 { echo "$as_me:$LINENO: libsane development files not found." >&5
22148 echo "$as_me: libsane development files not found." >&6;}
22149 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
22150 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
22153 if test "$have_x" = "yes"
22155 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
22158 { echo "$as_me:$LINENO: libxext development files not found." >&5
22159 echo "$as_me: libxext development files not found." >&6;}
22160 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
22161 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
22164 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
22167 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
22168 echo "$as_me: libXrandr development files not found." >&6;}
22169 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
22170 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
22173 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
22176 { echo "$as_me:$LINENO: libXrender development files not found." >&5
22177 echo "$as_me: libXrender development files not found." >&6;}
22178 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
22179 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
22182 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
22185 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
22186 echo "$as_me: libXxf86vm development files not found." >&6;}
22187 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
22188 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
22192 if test "$ac_cv_header_libxml_parser_h" != "yes"
22195 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
22196 echo "$as_me: libxml2 development files not found." >&6;}
22197 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
22198 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
22201 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
22204 { echo "$as_me:$LINENO: libxslt development files not found." >&5
22205 echo "$as_me: libxslt development files not found." >&6;}
22206 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
22207 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
22212 if test "$have_x" = "no"
22215 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
22216 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
22217 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
22218 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
22219 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
22220 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
22221 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
22222 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
22225 if test -z "$OPENGLFILES"
22228 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
22229 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
22230 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
22231 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
22232 if test "$wine_cv_opengl_headers_found" = "no"
22234 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
22235 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
22237 if test "$wine_cv_opengl_header_version_OK" = "no"
22239 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
22240 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
22241 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
22243 if test -f /usr/X11R6/lib/libGL.a
22245 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22246 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
22247 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
22248 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
22250 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
22251 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
22256 if test "$wine_cv_msg_freetype" = "yes"
22259 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
22260 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
22261 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
22262 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
22263 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
22264 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
22265 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
22266 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
22269 if test -z "$FONTSSUBDIRS"
22272 if test "$FONTFORGE" = "false"
22274 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
22275 echo "$as_me: WARNING: FontForge is missing." >&2;}
22277 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
22278 echo "$as_me: WARNING: FreeType is missing." >&2;}
22280 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
22281 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
22284 if test -z "$ALSALIBS" -a \
22285 -z "$ARTSC_LIBS" -a \
22286 -z "$AUDIOIOLIBS" -a \
22288 -z "$ESD_LIBS" -a \
22289 -z "$ac_cv_lib_soname_jack" -a \
22290 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
22291 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
22292 "$ac_cv_header_soundcard_h" != "yes"
22295 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
22296 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
22297 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
22298 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
22299 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
22300 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
22304 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."